JP6710244B2 - Stylus and method performed by the stylus - Google Patents

Stylus and method performed by the stylus Download PDF

Info

Publication number
JP6710244B2
JP6710244B2 JP2018122646A JP2018122646A JP6710244B2 JP 6710244 B2 JP6710244 B2 JP 6710244B2 JP 2018122646 A JP2018122646 A JP 2018122646A JP 2018122646 A JP2018122646 A JP 2018122646A JP 6710244 B2 JP6710244 B2 JP 6710244B2
Authority
JP
Japan
Prior art keywords
stylus
signal
sensor controller
operation mode
transmission
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2018122646A
Other languages
Japanese (ja)
Other versions
JP2018165990A (en
Inventor
原 英之
英之 原
定雄 山本
定雄 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wacom Co Ltd
Original Assignee
Wacom Co Ltd
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 Wacom Co Ltd filed Critical Wacom Co Ltd
Priority to JP2018122646A priority Critical patent/JP6710244B2/en
Publication of JP2018165990A publication Critical patent/JP2018165990A/en
Application granted granted Critical
Publication of JP6710244B2 publication Critical patent/JP6710244B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Description

本発明は、スタイラスにより実行される方法、デュアルスタイラスとデュアルコントローラとにより実行される方法、及びデュアルスタイラスに関する。 The present invention relates to a method performed by a stylus, a method performed by a dual stylus and a dual controller, and a dual stylus.

近年、入力デバイスとして、静電結合を利用して信号を送信するスタイラスを備えた電子機器が注目されている。この種の電子機器は、さらにタッチセンサ及びセンサコントローラを備えており、センサコントローラは、タッチセンサを通じて受信したスタイラスからの信号を受信し、受信した信号に基づいてスタイラスの位置検出や筆圧検出を行うよう構成される。 2. Description of the Related Art In recent years, electronic devices equipped with a stylus that transmits a signal by using electrostatic coupling have been attracting attention as an input device. This type of electronic device further includes a touch sensor and a sensor controller. The sensor controller receives a signal from the stylus received through the touch sensor, and detects the position of the stylus and the pen pressure based on the received signal. Configured to do.

上記のような電子機器に関して、近年、様々な方式のものが登場してきている。特許文献1〜4には、その具体的な例が開示されている。 In recent years, various types of electronic devices such as those described above have appeared. Patent Documents 1 to 4 disclose specific examples thereof.

特許文献1には、指検出を行うためにタッチパネル内に用意された電極を利用してスタイラスの存在や位置を検出可能とした、いわゆるアクティブ静電方式の電子機器が開示されている。この例によるセンサコントローラは信号の送信機能を有しておらず、スタイラスからセンサコントローラへの一方向にのみ信号の送信が行われる。 Patent Document 1 discloses a so-called active electrostatic type electronic device capable of detecting the presence or position of a stylus by using an electrode prepared in a touch panel for detecting a finger. The sensor controller according to this example does not have a signal transmitting function, and the signal is transmitted from the stylus to the sensor controller only in one direction.

特許文献2にも、アクティブ静電方式の電子機器が開示されている。この例によるセンサコントローラは信号の送信機能を有しており、スタイラスとセンサコントローラの間で双方向に信号の送信が行われる。 Patent Document 2 also discloses an active electrostatic electronic device. The sensor controller according to this example has a signal transmitting function, and bidirectional signal transmission is performed between the stylus and the sensor controller.

特許文献3には、スタイラスからセンサコントローラへの一方向にのみ信号の送信が行われる他の例が開示され、特許文献4には、スタイラスとセンサコントローラの間で双方向に信号の送信が行われる他の例が開示されている。 Patent Document 3 discloses another example in which signals are transmitted from the stylus to the sensor controller only in one direction, and Patent Document 4 discloses that signals are transmitted bidirectionally between the stylus and the sensor controller. Other examples are disclosed.

このように、スタイラスを備えた電子機器には各種の方式のものが存在するが、各方式の間には互換性がないことが一般的である。その結果、従来は、例えばユーザが第1の方式のみに対応する電子機器と第2の方式のみに対応する電子機器とを並べて交互に使用しようとする場合、電子機器を移るたびにスタイラスを持ち替えねばならなくなっており、不便であった。 As described above, there are various types of electronic devices equipped with a stylus, but it is common that the types are not compatible with each other. As a result, conventionally, for example, when a user intends to use an electronic device compatible only with the first method and an electronic device compatible only with the second method side by side, the stylus is changed every time the electronic device is moved. It had to be done and it was inconvenient.

国際公開第2015/111159号公報International Publication No. 2015/111159 特開2014−63249号公報JP, 2014-63249, A 米国特許第8536471号明細書US Patent No. 8536471 米国特許出願公開第2012−0105362号明細書U.S. Patent Application Publication No. 2012-0105362

上記の現状に鑑み、出願人は、複数の方式に対応するスタイラス及びセンサコントローラの導入を検討している。以下、複数の方式に対応するスタイラス及びセンサコントローラをそれぞれデュアルスタイラス及びデュアルコントローラと称する。例えば上記の例では、第1の方式と第2の方式の両方に対応するデュアルスタイラスを用いることで、電子機器を移るたびにスタイラスを持ち替える必要がなくなる。 In view of the above situation, the applicant is considering introducing a stylus and a sensor controller compatible with a plurality of methods. Hereinafter, a stylus and a sensor controller corresponding to a plurality of methods will be referred to as a dual stylus and a dual controller, respectively. For example, in the above example, by using the dual stylus compatible with both the first method and the second method, it is not necessary to change the stylus each time the electronic device is moved.

しかしながら、出願人が検討を進める中で、デュアルスタイラス及びデュアルコントローラには次のような課題があることが判明した。以下、詳しく説明する。 However, as the applicant proceeded with the investigation, it was found that the dual stylus and the dual controller had the following problems. The details will be described below.

第一に、デュアルスタイラスがタッチ面に接触してからデュアルスタイラスの動作モードが決定するまでに長い時間を要する場合がある、という課題がある。センサコントローラがタッチ面から信号を送信する機能を有する場合、デュアルスタイラスは、この信号を受信することにより、タッチ面に接触する前にセンサコントローラの種別を知ることができる。 First, there is a problem that it may take a long time from when the dual stylus contacts the touch surface until the operation mode of the dual stylus is determined. When the sensor controller has a function of transmitting a signal from the touch surface, the dual stylus can know the type of the sensor controller before touching the touch surface by receiving this signal.

しかしながら、デュアルスタイラスの信号受信、センサコントローラの信号送信ともに間欠的なものにならざるを得ないため、ユーザの操作が素早かったときなど、センサコントローラからの信号をまだ受信できていない状態でタッチ面への接触に至る場合がある。そのような場合、タッチ面に接触してからしばらくの間(次にデュアルスタイラスの信号受信のタイミングとセンサコントローラの信号送信のタイミングとが一致するまでの間)、デュアルスタイラスによる入力ができないことになるので、ユーザに不快感を抱かせる結果となる。 However, both the signal reception of the dual stylus and the signal transmission of the sensor controller must be intermittent, so when the user's operation is quick, etc., touch the signal from the sensor controller before it is received. May come into contact with surfaces. In such a case, the input with the dual stylus cannot be performed for a while after the touch surface is touched (until the timing of signal reception of the dual stylus and the timing of signal transmission of the sensor controller match). As a result, the user is made uncomfortable.

第二に、デュアルスタイラスとデュアルコントローラを組み合わせて用いる場合、必ずしも最適な動作モードで動作しないという課題がある。デュアルスタイラスとデュアルコントローラが対応する複数の方式は、現実には完全に並列なものとして用意されているわけではなく、優先順位が付与される。つまり、第1の方式と第2の方式に対応するデュアルスタイラス及びデュアルコントローラがあったとして、例えば第1の方式に第2の方式より高い優先順位が設定されるとする。この場合、ともに第1の方式に対応しているデュアルスタイラスとデュアルコントローラの間で通信を行う場合には、第1の方式で通信が行われるべきということになる。 Secondly, when a dual stylus and a dual controller are used in combination, there is a problem that the dual stylus does not always operate in the optimum operation mode. The plurality of methods supported by the dual stylus and the dual controller are not provided as completely parallel ones in reality, and are given priority. That is, suppose that there is a dual stylus and a dual controller corresponding to the first method and the second method, for example, it is assumed that the first method has a higher priority than the second method. In this case, when communication is performed between the dual stylus and the dual controller that both support the first method, it means that the communication should be performed by the first method.

しかしながら、例えばデュアルスタイラス及びデュアルコントローラの双方がそれぞれ間欠的に第1の方式及び第2の方式での信号の送受信を行うとすると、タイミングによって、相手は第2の方式に対応する機器であると双方が認識してしまう場合がある。このような場合、第2の方式による通信が開始され、第1の方式での通信が行われなくなってしまう。 However, for example, if both the dual stylus and the dual controller respectively intermittently transmit and receive signals in the first method and the second method, the other party may be a device compatible with the second method depending on the timing. Both sides may recognize it. In such a case, the communication by the second method is started and the communication by the first method is not performed.

また、例えば優先順位の高い第1の方式が双方向通信に対応し、優先順位の低い第2の方式がスタイラスからセンサコントローラへの一方向通信に対応する場合、タッチ操作がなされたときに迅速に描画を実現するため、筆圧の検出と同時にデュアルスタイラスを第2の方式で動作させることが考えられる。すると、上記同様に第1の方式での通信が行われなくなってしまう。 In addition, for example, when the first method with high priority corresponds to the bidirectional communication and the second method with low priority corresponds to the one-way communication from the stylus to the sensor controller, quick operation is performed when a touch operation is performed. In order to realize drawing, it is conceivable to operate the dual stylus by the second method at the same time as detecting the pen pressure. Then, similarly to the above, communication by the first method will not be performed.

したがって、本発明の目的の一つは、上記のようなデュアルスタイラス及びデュアルコントローラに関わる課題を解決することのできる、スタイラスにより実行される方法、デュアルスタイラスとデュアルコントローラとにより実行される方法、及びデュアルスタイラスを提供することにある。 Therefore, one of the objects of the present invention is to solve the above-mentioned problems associated with the dual stylus and the dual controller, the method performed by the stylus, the method performed by the dual stylus and the dual controller, and To provide a dual stylus.

本発明によるデュアルスタイラスにより実行される方法は、第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されるとともに、少なくとも前記第1の方式による信号を受信可能に構成され、かつ、ペン先に印加される筆圧の検出機能を有するデュアルスタイラスにより実行される方法であって、前記検出機能により検出される筆圧に基づき、前記デュアルスタイラスによるタッチ面への接触を検出するステップと、前記デュアルスタイラスによるタッチ面への接触を検出したことに応じて、前記第1の方式による信号の受信動作を開始するステップと、前記受信動作により前記第1の方式による信号が受信された場合に、前記デュアルスタイラスの動作モードを前記第1の方式による信号の送受信を行う第1の動作モードに設定するステップとを備える。 A method implemented by a dual stylus according to the present invention is configured to be capable of transmitting both a signal according to a first scheme and a signal according to a second scheme, and at least capable of receiving a signal according to the first scheme. A method performed by a dual stylus having a function of detecting a writing pressure applied to a pen tip, wherein a touch on the touch surface by the dual stylus is detected based on the writing pressure detected by the detection function. And a step of starting a signal receiving operation according to the first method in response to detecting contact with the touch surface by the dual stylus, and receiving a signal according to the first method by the receiving operation. And the operation mode of the dual stylus is set to a first operation mode in which signals are transmitted and received according to the first method.

本発明によるデュアルスタイラスとデュアルコントローラとにより実行される方法は、第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されるとともに、少なくとも前記第1の方式による信号を受信可能に構成されたデュアルスタイラスと、前記第1の方式による信号及び前記第2の方式による信号の両方を受信可能に構成されるとともに、少なくとも前記第1の方式による信号を送信可能に構成されたデュアルコントローラとにより実行される方法であって、前記デュアルスタイラスが、自己が前記第1の方式に対応していることを示す機能情報を含む第1の信号を、前記第2の方式により送信するステップと、前記デュアルコントローラが、前記第1の信号を受信したことに応じて、前記第1の方式による信号の送受信を行う第1の動作モードへの切り替え指示を含む第2の信号を送信するステップと、前記デュアルスタイラスが、前記第2の信号を受信したことに応じて、自己の動作モードを前記第1の動作モードに切り替えるステップとを備える。 A method performed by a dual stylus and a dual controller according to the present invention is configured to be capable of transmitting both a signal according to a first method and a signal according to a second method, and at least receiving a signal according to the first method. A dual stylus configured to be capable of receiving both a signal according to the first method and a signal according to the second method, and at least a signal according to the first method can be transmitted. A method performed by a dual controller, wherein the dual stylus transmits a first signal including functional information indicating that the dual stylus is compatible with the first method by the second method. And a step in which the dual controller transmits a second signal including an instruction to switch to a first operation mode for transmitting and receiving a signal according to the first method in response to receiving the first signal. And a step in which the dual stylus switches its own operating mode to the first operating mode in response to receiving the second signal.

本発明の一側面によるデュアルスタイラスは、第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されるとともに、少なくとも前記第1の方式による信号を受信可能に構成され、かつ、ペン先に印加される筆圧の検出機能を有するデュアルスタイラスであって、前記検出機能により検出される筆圧に基づいて前記デュアルスタイラスによるタッチ面への接触を検出したことに応じて、前記第1の方式による信号の受信動作を所定時間にわたって起動し、前記所定時間内に前記第1の方式による信号が受信された場合に、自己の動作モードを前記第1の方式による信号の送受信を行う第1の動作モードに設定するデュアルスタイラスである。 A dual stylus according to one aspect of the present invention is configured to be capable of transmitting both a signal according to a first scheme and a signal according to a second scheme, and at least capable of receiving a signal according to the first scheme, and A dual stylus having a function of detecting a writing pressure applied to the pen tip, wherein the dual stylus detects contact with the touch surface based on the writing pressure detected by the detection function. When the signal receiving operation according to the first method is started for a predetermined time and the signal according to the first method is received within the predetermined time, the own operation mode is set to the transmission/reception of the signal according to the first method. It is a dual stylus set to the 1st operation mode to perform.

本発明の他の一側面によるデュアルスタイラスは、第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されるとともに、少なくとも前記第1の方式による信号を受信可能に構成されたデュアルスタイラスであって、自己が前記第1の方式に対応していることを示す機能情報を含む第1の信号を、前記第2の方式により送信し、前記第1の信号を送信した後、前記第1の方式による信号の送受信を行う第1の動作モードへの切り替え指示を示す第2の信号をセンサコントローラから受信したことに応じて、自己の動作モードを前記第1の動作モードに切り替えるデュアルスタイラスである。 A dual stylus according to another aspect of the present invention is configured to be capable of transmitting both a signal according to a first method and a signal according to a second method, and at least capable of receiving a signal according to the first method. A dual stylus, the first signal including function information indicating that the device is compatible with the first method is transmitted by the second method, and after the first signal is transmitted. , In response to receiving a second signal from the sensor controller indicating a switching instruction to the first operation mode for transmitting and receiving a signal according to the first method, setting its own operation mode to the first operation mode. It is a dual stylus that switches.

本発明のさらに他の一側面によるデュアルスタイラスは、第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されるとともに、少なくとも前記第1の方式による信号を検出可能に構成されたデュアルスタイラスであって、インジケータと、前記第1の方式による信号を送信する第1の動作モードで動作を行うか、又は、前記第2の方式による信号を送信する第2の動作モードで動作するかを決定し、決定した動作モードが前記第1の動作モードである場合と前記第2の動作モードである場合とで異なる表示を行うよう前記インジケータを制御する制御部とを含むデュアルスタイラスである。 A dual stylus according to still another aspect of the present invention is configured to be capable of transmitting both a signal according to a first method and a signal according to a second method, and at least capable of detecting a signal according to the first method. A dual stylus that is operated in a first operating mode for transmitting a signal according to the first method or a second operating mode for transmitting a signal according to the second method. A dual stylus including: a control unit that determines whether to operate, and controls the indicator to display differently when the determined operation mode is the first operation mode and the second operation mode. Is.

本発明によるスタイラスにより実行される方法によれば、スタイラスは、タッチ面への接触後直ちに、第1の方式による信号の受信動作を開始することができる。したがって、タッチ面に接触してからスタイラスが第1の動作モードに設定されるまでの時間を短縮することが可能になる。 According to the method performed by the stylus according to the present invention, the stylus can start the signal receiving operation according to the first method immediately after the contact with the touch surface. Therefore, it is possible to shorten the time from the contact with the touch surface until the stylus is set to the first operation mode.

また、本発明によるデュアルスタイラスとデュアルコントローラとにより実行される方法によれば、デュアルスタイラスの動作モードが第2の方式による信号の送(受)信を行う第2の動作モードであったとしても、デュアルスタイラスが第1の方式に対応していることを把握したデュアルコントローラの指示により、デュアルスタイラスの動作モードを第1の動作モードに切り替えることができる。したがって、デュアルスタイラスとデュアルコントローラの間で、第1の方式による通信を開始することが可能になる。 Further, according to the method executed by the dual stylus and the dual controller according to the present invention, even if the operation mode of the dual stylus is the second operation mode for transmitting (receiving) signals according to the second method. The operation mode of the dual stylus can be switched to the first operation mode according to an instruction from the dual controller that understands that the dual stylus is compatible with the first method. Therefore, it becomes possible to start communication according to the first method between the dual stylus and the dual controller.

本発明の実施の形態による位置検出システム1の構成を示す図である。It is a figure which shows the structure of the position detection system 1 by embodiment of this invention. 本発明の実施の形態によるセンサコントローラ31の構成を示す図である。It is a figure which shows the structure of the sensor controller 31 by embodiment of this invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31のモード遷移図である。FIG. 3 is a mode transition diagram of the stylus 2 and the sensor controller 31 according to the first embodiment of the present invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 1st Embodiment of this invention perform operation|movement by the background art of this invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 1st Embodiment of this invention perform operation|movement by the background art of this invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 1st Embodiment of this invention perform the operation|movement by this embodiment. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 1st Embodiment of this invention perform the operation|movement by this embodiment. 本発明の第1の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the stylus 2 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the stylus 2 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the stylus 2 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 1st Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31のモード遷移図である。It is a mode transition diagram of the stylus 2 and the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 2nd Embodiment of this invention perform operation|movement by the background art of this invention. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 2nd Embodiment of this invention perform the operation|movement by this embodiment. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted/received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 by the 2nd Embodiment of this invention perform the operation|movement by this embodiment. 本発明の第2の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the stylus 2 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the stylus 2 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the stylus 2 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow figure which shows operation|movement of the sensor controller 31 by the 2nd Embodiment of this invention.

以下、添付図面を参照しながら、本発明の実施の形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の第1の実施の形態による位置検出システム1の構成を示す図である。同図に示すように、位置検出システム1は、スタイラス2と、電子機器3とを備えて構成される。このうち電子機器3は例えばタブレット型のコンピュータであり、タッチ面3tを構成するセンサ30と、センサコントローラ31と、これらを含むセンサコントローラ31の各部を制御するシステムコントローラ32とを有している。 FIG. 1 is a diagram showing the configuration of a position detection system 1 according to the first embodiment of the present invention. As shown in the figure, the position detection system 1 is configured to include a stylus 2 and an electronic device 3. Of these, the electronic device 3 is, for example, a tablet computer, and includes a sensor 30 that configures the touch surface 3t, a sensor controller 31, and a system controller 32 that controls each unit of the sensor controller 31 including these.

スタイラス2及びセンサコントローラ31はそれぞれ、互いに互換性を有しない方式A(第1の方式)及び方式B(第2の方式)に対応するデュアルスタイラス及びデュアルコントローラである。方式A,Bはともに、スタイラス2とセンサコントローラ31の間の双方向通信に対応している。方式A,Bには優先順位が付与されており、方式Aに、方式Bより高い優先順位が設定される。 The stylus 2 and the sensor controller 31 are a dual stylus and a dual controller corresponding to method A (first method) and method B (second method) which are not compatible with each other, respectively. Both methods A and B support bidirectional communication between the stylus 2 and the sensor controller 31. The methods A and B are given priorities, and the method A is set to a higher priority than the method B.

図1中の破線矢印C1〜C5は、ユーザがスタイラス2を操作する典型的なサイクルを示している。また、図1に示したセンシング範囲SRは、センサコントローラ31が送信するアップリンク信号USをスタイラス2が受信することにより、又は、スタイラス2が送信するダウンリンク信号DSをセンサコントローラ31が受信することにより、スタイラス2及びセンサコントローラ31のいずれか一方が他方を検出可能な範囲を示している。 Dashed arrows C1 to C5 in FIG. 1 indicate a typical cycle in which the user operates the stylus 2. In the sensing range SR shown in FIG. 1, the stylus 2 receives the uplink signal US transmitted by the sensor controller 31, or the sensor controller 31 receives the downlink signal DS transmitted by the stylus 2. Thus, one of the stylus 2 and the sensor controller 31 indicates the range in which the other can be detected.

ユーザは、スタイラス2を使用してタッチ面3t上に線を描く際、スタイラス2をセンシング範囲SRの外からセンシング範囲SR内に移動(ダウン)させ(C1,C2)、タッチ面3t上で所望の軌跡を描くように動かした後(C3)、センシング範囲SR内からセンシング範囲SR外に移動(アップ)させる(C4,C5)、という一連のサイクルを繰り返す。本明細書では、ダウン操作中にスタイラス2がセンシング範囲SRに入ったことを第1ペンダウンPD1と称し、さらにスタイラス2がタッチ面3tに接触したことを第2ペンダウンPD2と称する。 When the user draws a line on the touch surface 3t using the stylus 2, the user moves (down) the stylus 2 from outside the sensing range SR to within the sensing range SR (C1, C2) and makes a desired touch on the touch surface 3t. After moving so as to draw the locus of (C3), a series of cycles of moving (up) from inside the sensing range SR to outside the sensing range SR (C4, C5) are repeated. In this specification, the stylus 2 entering the sensing range SR during the down operation is referred to as a first pen down PD1, and the stylus 2 contacting the touch surface 3t is referred to as a second pen down PD2.

スタイラス2は、図1に示すように、芯体20、電極21、筆圧検出部22、スイッチ23、信号処理部24、電源25、及びインジケータ26を有している。 As shown in FIG. 1, the stylus 2 has a core body 20, electrodes 21, a writing pressure detection unit 22, a switch 23, a signal processing unit 24, a power supply 25, and an indicator 26.

芯体20は、その長手方向がスタイラス2のペン軸方向と一致するように配置される棒状の部材であり、スタイラス2のペン先を構成する。芯体20の先端部の表面には導電性材料が塗布され、電極21を構成している。芯体20の後端部は、筆圧検出部22に当接される。筆圧検出部22は、センサコントローラ31のタッチ面3t等にスタイラス2のペン先を押し当てたときに芯体20の先端に加わる圧力(芯体20に加えられた筆圧)に応じた筆圧レベルを検出するもので、具体的な例では、筆圧に応じて静電容量の変化する可変容量モジュールにより構成される。 The core body 20 is a rod-shaped member arranged such that its longitudinal direction coincides with the pen axis direction of the stylus 2 and constitutes the pen tip of the stylus 2. A conductive material is applied to the surface of the tip of the core body 20 to form the electrode 21. The rear end of the core body 20 is brought into contact with the writing pressure detection unit 22. The writing pressure detection unit 22 responds to the pressure applied to the tip of the core body 20 (writing pressure applied to the core body 20) when the pen tip of the stylus 2 is pressed against the touch surface 3t or the like of the sensor controller 31. The pressure level is detected, and in a specific example, it is configured by a variable capacitance module whose electrostatic capacitance changes according to the writing pressure.

電極21は、芯体20の近傍に設けられる導電体であり、配線により信号処理部24と電気的に接続されている。スタイラス2がセンサコントローラ31に向けてダウンリンク信号DSを送信するとき、信号処理部24から電極21に対してダウンリンク信号DSが供給され、これに応じて、ダウンリンク信号DSの内容に応じた電荷が電極21に誘導される。これにより後述するセンサ30内の静電容量に変化が生じ、センサコントローラ31は、この変化を検出することによりダウンリンク信号DSを受信する。また、センサコントローラ31が送信しているアップリンク信号USが電極21に到来すると、電極21には、到来したアップリンク信号USに応じた電荷が誘導される。信号処理部24は、こうして電極21に誘導された電荷を検出することにより、アップリンク信号USを受信する。 The electrode 21 is a conductor provided in the vicinity of the core body 20, and is electrically connected to the signal processing unit 24 by wiring. When the stylus 2 transmits the downlink signal DS toward the sensor controller 31, the downlink signal DS is supplied from the signal processing unit 24 to the electrode 21, and accordingly, the downlink signal DS corresponding to the content of the downlink signal DS is supplied. Electric charges are induced in the electrode 21. This causes a change in the capacitance in the sensor 30 described later, and the sensor controller 31 receives the downlink signal DS by detecting this change. Further, when the uplink signal US transmitted by the sensor controller 31 arrives at the electrode 21, a charge according to the arrived uplink signal US is induced in the electrode 21. The signal processing unit 24 receives the uplink signal US by detecting the electric charge induced in the electrode 21 in this way.

スイッチ23は、例えばスタイラス2の筐体の側面に設けられたサイドスイッチであり、ユーザによる操作を受け付け可能に構成された入力部として機能する。具体的には、ユーザによる操作の状態(押下状態)に応じて、自身の押下状態を示すスイッチ情報を信号処理部24に出力するよう構成される。スイッチ情報は、例えばオンとオフの2つの状態のいずれか一方を示す情報である。 The switch 23 is, for example, a side switch provided on the side surface of the housing of the stylus 2 and functions as an input unit configured to be able to receive a user operation. Specifically, the switch information indicating the pressed state of the user is output to the signal processing unit 24 according to the state of the operation by the user (pressed state). The switch information is, for example, information indicating one of two states of ON and OFF.

信号処理部24は、センサコントローラ31が方式A又は方式Bによって送信するアップリンク信号USを電極21を介して受信する機能と、方式A又は方式Bによってダウンリンク信号DSを生成し、センサコントローラ31に向け、電極21を介して送信する機能と、筆圧検出部22によって検出される筆圧レベルに基づいて第2ペンダウンPD2(タッチ面3tへの接触)を検出する機能とを有する。信号処理部24が方式A,Bのいずれを用いるかはスタイラス2の動作モードに応じて決定されるが、この点については後述する。 The signal processing unit 24 generates a downlink signal DS by the method A or method B and a function of the sensor controller 31 receiving an uplink signal US transmitted by the method A or method B through the electrode 21, and the sensor controller 31. The second pen-down PD2 (contact with the touch surface 3t) based on the writing pressure level detected by the writing pressure detection unit 22. Which of the methods A and B the signal processing unit 24 uses is determined according to the operation mode of the stylus 2, and this point will be described later.

後述するように、アップリンク信号USは各種のコマンドを含む場合があり、その場合における信号処理部24は、受信したアップリンク信号USを復調及び復号することによってコマンドを取得し、取得したコマンドに従ってダウンリンク信号DSの生成を行う。具体的には、コマンドによる指示に基づき、筆圧検出部22によって検出される筆圧レベル、スイッチ23から出力されるスイッチ情報等の各種情報を含むダウンリンク信号DSを生成する。 As described later, the uplink signal US may include various commands, and the signal processing unit 24 in that case acquires the command by demodulating and decoding the received uplink signal US, and according to the acquired command. The downlink signal DS is generated. Specifically, the downlink signal DS including various information such as the writing pressure level detected by the writing pressure detection unit 22 and the switch information output from the switch 23 is generated based on the command.

また、信号処理部24は、図示しないメモリ内にスタイラス2の固有IDを保持している。固有IDは、スタイラス2が対応している複数の方式(この場合には方式A,B)のいずれにおいても共通に使用される情報であり、スタイラス2が対応している複数の方式を示す情報を含んでいる。信号処理部24は、アップリンク信号US内に含まれていたコマンドにより指示された場合に、又は、アップリンク信号USの受信や第2ペンダウンPD2を含む何らかの契機に応じたタイミングで自発的に、ダウンリンク信号DS内にこの固有IDの全部又は一部(少なくとも、スタイラス2が方式Aに対応していることをセンサコントローラ31が把握するために十分な情報を含む)を含む機能情報を含めて送信するよう構成される。 Further, the signal processing unit 24 holds the unique ID of the stylus 2 in a memory (not shown). The unique ID is information commonly used in any of the plurality of methods (methods A and B in this case) supported by the stylus 2, and information indicating the plurality of methods supported by the stylus 2. Is included. The signal processing unit 24, when instructed by a command included in the uplink signal US, or spontaneously at a timing according to some trigger including the reception of the uplink signal US and the second pen down PD2, In the downlink signal DS, the functional information including all or part of this unique ID (at least including sufficient information for the sensor controller 31 to know that the stylus 2 corresponds to the method A) is included. Configured to send.

電源25は、信号処理部24に動作電力(直流電圧)を供給するためのもので、例えば円筒型のAAAA電池により構成される。 The power supply 25 is for supplying operating power (DC voltage) to the signal processing unit 24, and is composed of, for example, a cylindrical AAAA battery.

インジケータ26は、スタイラス2に関する各種の情報をユーザに通知するための表示手段であり、例えば発光ダイオードにより構成される。このインジケータ26については、後述する第3の実施の形態で詳しく説明する。 The indicator 26 is a display means for notifying the user of various information regarding the stylus 2, and is composed of, for example, a light emitting diode. The indicator 26 will be described in detail in a third embodiment described later.

図2は、センサコントローラ31の構成を示す図である。同図には、センサ30の構成も示している。同図に示すように、センサ30は複数の線状電極30Xと複数の線状電極30Yとがマトリクス状に配置された構成を有しており、これら線状電極30X,30Yによってスタイラス2と容量結合する。このセンサ30は、スタイラス2だけでなく指の検出にも使用される。また、センサコントローラ31は、送信部60、選択部40、受信部50、ロジック部70、及びMCU80を有して構成される。 FIG. 2 is a diagram showing the configuration of the sensor controller 31. The configuration of the sensor 30 is also shown in FIG. As shown in the figure, the sensor 30 has a configuration in which a plurality of linear electrodes 30X and a plurality of linear electrodes 30Y are arranged in a matrix, and the stylus 2 and the capacitor are formed by these linear electrodes 30X and 30Y. Join. The sensor 30 is used not only for detecting the stylus 2 but also for detecting a finger. Further, the sensor controller 31 is configured to include a transmission unit 60, a selection unit 40, a reception unit 50, a logic unit 70, and an MCU 80.

送信部60は、方式A又は方式Bによってアップリンク信号USを生成し送信するための回路であり、例えば、パターン供給部61、スイッチ62、拡散処理部63、符号列保持部64、及び送信ガード部65を含んで構成される。なお、ここで説明する送信部60の具体的な構成は例示であり、方式によって異なる場合がある。また、方式A,Bが互いに異なる構成の送信部60を必要とする場合、それぞれの構成を1つの送信部60内に併設し、選択的に動作させることとすればよい。送信部60が方式A,Bのいずれを用いるかはセンサコントローラ31の動作モードに応じて決定されるが、この点については後述する。 The transmission unit 60 is a circuit for generating and transmitting the uplink signal US according to the scheme A or the scheme B, and for example, the pattern supply unit 61, the switch 62, the spreading processing unit 63, the code string holding unit 64, and the transmission guard. It is configured to include a section 65. Note that the specific configuration of the transmission unit 60 described here is an example, and may differ depending on the method. Further, when the schemes A and B require the transmission units 60 having different configurations, the respective configurations may be provided side by side in one transmission unit 60 and selectively operated. Which of the methods A and B the transmitter 60 uses is determined according to the operation mode of the sensor controller 31, and this point will be described later.

パターン供給部61は検出パターンc1を保持しており、ロジック部70から供給される制御信号ctrl_t1の指示に従って、所定の連続送信期間(例えば、3msec)の間、検出パターンc1に対応する信号(あるいはビット列)を連続して繰り返し出力する機能を有する。また、この連続送信期間の終了直後、あるいは、後述する制御情報c2の送信開始時に、所定の区切りパターンSTPを少なくとも2回連続して出力する機能も有している。なお、図2ではパターン供給部61を送信部60内に設けているが、MCU80内に設けることとしてもよい。 The pattern supply unit 61 holds the detection pattern c1, and according to the instruction of the control signal ctrl_t1 supplied from the logic unit 70, a signal (or a signal corresponding to the detection pattern c1 during a predetermined continuous transmission period (for example, 3 msec)). Bit string) is output continuously and repeatedly. Further, it also has a function of outputting the predetermined delimiter pattern STP at least twice in succession immediately after the end of the continuous transmission period or when the transmission of the control information c2 described later is started. Although the pattern supply unit 61 is provided in the transmission unit 60 in FIG. 2, it may be provided in the MCU 80.

検出パターンc1は、スタイラス2がセンサコントローラ31の存在を検出するために用いられるシンボルの値のパターンであり、事前に(スタイラス2がセンサコントローラ31を検出する前に)スタイラス2に既知にされている。シンボルは、送信処理においては変調に用いる情報の単位(送信信号が表現する情報の単位)であり、受信処理においては受信信号である1シンボルを復調して得られる情報の単位である。シンボルの値は、ビット列に変換される値(以下、「ビット列対応値」と称する)と、シンボルを受信したスタイラス2によってビット列に変換されない値(以下、「ビット列非対応値」と称する)とを含むことができる。後述の表1に示すように、前者にかかるシンボルは2のべき乗の個数の値をとり、「0001」などのビット列に対応付けることができる。こうしてビット列により表記される各シンボルのビット長は、拡散処理部63の仕様により決定される。一方、後者にかかるシンボルは1個以上(例えば2個)の値をとり、後述の表1に示すように「P」「M」などと表記されるビット列に対応付けられない値を取る。後述の表1に示す一例では、「P」と「M」はそれぞれ、所定の拡散符号列とその反転符号列とに対応付けられる。 The detection pattern c1 is a pattern of symbol values used by the stylus 2 to detect the presence of the sensor controller 31, and is made known to the stylus 2 in advance (before the stylus 2 detects the sensor controller 31). There is. A symbol is a unit of information used for modulation (unit of information represented by a transmission signal) in transmission processing, and is a unit of information obtained by demodulating one symbol which is a reception signal in reception processing. The value of the symbol includes a value that is converted into a bit string (hereinafter, referred to as “bit string corresponding value”) and a value that is not converted into a bit string by the stylus 2 that received the symbol (hereinafter, referred to as “bit string non-corresponding value”). Can be included. As shown in Table 1 described later, the former symbol takes a value of the number of powers of 2 and can be associated with a bit string such as "0001". In this way, the bit length of each symbol represented by the bit string is determined by the specifications of the spreading processing unit 63. On the other hand, the latter symbol has a value of 1 or more (for example, 2) and a value that is not associated with a bit string such as “P” or “M” as shown in Table 1 below. In an example shown in Table 1 described later, “P” and “M” are associated with a predetermined spreading code sequence and its inverted code sequence, respectively.

検出パターンc1はビット列非対応値のパターンにより表される。具体的には、「PMPMPM・・・」のように2つのビット列非対応値「P」「M」の繰り返しにより構成される。 The detection pattern c1 is represented by a pattern of bit string non-corresponding values. Specifically, it is formed by repeating two bit string non-corresponding values "P" and "M" such as "PMPMPM... ".

区切りパターンSTPは、上記連続送信期間の終了をスタイラス2に通知するためのシンボルのパターンであり、検出パターンc1の繰り返し中に現れないシンボルのパターンによって構成される。一例を挙げると、上記のように検出パターンc1を「PMPMPM・・・」のように2つのビット列非対応値「P」「M」の繰り返しで構成する場合、区切りパターンSTPは、ビット列非対応値「P」を2回連続させてなるパターン「PP」により構成することができる。区切りパターンSTPと検出パターンc1との構成を逆にして、区切りパターンを「PM」により構成して検出パターンc1を「PP」により構成してもよい。 The delimiter pattern STP is a symbol pattern for notifying the stylus 2 of the end of the continuous transmission period, and is composed of a symbol pattern that does not appear during repetition of the detection pattern c1. As an example, when the detection pattern c1 is configured by repeating two bit string non-corresponding values “P” and “M” such as “PMPMPM... ”As described above, the delimiter pattern STP has a bit string non-corresponding value. It can be configured by a pattern "PP" in which "P" is continuous twice. The configuration of the delimiter pattern STP and the detection pattern c1 may be reversed, and the delimiter pattern may be configured by “PM” and the detection pattern c1 may be configured by “PP”.

スイッチ62は、ロジック部70から供給される制御信号ctrl_t2に基づいてパターン供給部61及びMCU80のいずれか一方を選択し、選択した一方の出力を拡散処理部63に供給する機能を有する。スイッチ62がパターン供給部61を選択した場合、拡散処理部63には検出パターンc1又は区切りパターンSTPが供給される。一方、スイッチ62がMCU80を選択した場合、拡散処理部63には、MCU80から制御情報c2が供給される。 The switch 62 has a function of selecting one of the pattern supply unit 61 and the MCU 80 based on the control signal ctrl_t2 supplied from the logic unit 70, and supplying the selected one output to the diffusion processing unit 63. When the switch 62 selects the pattern supply unit 61, the diffusion processing unit 63 is supplied with the detection pattern c1 or the delimiter pattern STP. On the other hand, when the switch 62 selects the MCU 80, the spreading processor 63 is supplied with the control information c2 from the MCU 80.

制御情報c2は、スタイラス2への指示内容を示すコマンドを含む情報であり、MCU80によって生成される。制御情報c2は可変長のビット列に対応付けられるシンボルの値(例えば0〜15)を含み、スタイラス2との間でその値が事前に共有されていない点で、検出パターンc1とは異なっている。また、制御情報c2は、上述した所定ビット長の2のべき乗の個数(8値)の値を示す値「D」により示される点で、値「P」「M」とを含む検出パターンc1と異なっている。 The control information c2 is information including a command indicating the instruction content for the stylus 2, and is generated by the MCU 80. The control information c2 includes a symbol value (for example, 0 to 15) associated with a variable-length bit string, and is different from the detection pattern c1 in that the value is not shared in advance with the stylus 2. .. Further, the control information c2 is the detection pattern c1 including the values “P” and “M” in that it is indicated by the value “D” indicating the value of the number of powers of 2 (octal) of the above-described predetermined bit length. Different.

符号列保持部64は、ロジック部70から供給される制御信号ctrl_t3に基づき、自己相関特性を有する11チップ長の拡散符号PNを生成して保持する機能を有する。符号列保持部64が保持している拡散符号PNは、拡散処理部63に供給される。 The code string holding unit 64 has a function of generating and holding an 11-chip-long spreading code PN having an autocorrelation characteristic based on the control signal ctrl_t3 supplied from the logic unit 70. The spreading code PN held by the code string holding unit 64 is supplied to the spreading processing unit 63.

拡散処理部63は、スイッチ62を介して供給されるシンボルの値(拡散処理部63の処理により送信信号により表現される情報)に基づいて符号列保持部64によって保持される拡散符号PNを変調することにより、12チップ長の送信チップ列を得る機能を有する。以下、この機能について、具体例を挙げて説明する。 The spreading processing unit 63 modulates the spreading code PN held by the code string holding unit 64 based on the value of the symbol supplied through the switch 62 (information represented by the transmission signal by the processing of the spreading processing unit 63). By doing so, it has a function of obtaining a transmission chip string having a length of 12 chips. Hereinafter, this function will be described with a specific example.

以下で説明する例では、検出パターンc1、区切りパターンSTP、制御情報c2のそれぞれを、ビット列対応値0〜15(対応ビット列「0000」〜「1111」)及びビット列非対応値「P」「M」の組み合わせによって構成するものとする。また、符号列保持部64が保持している拡散符号PNは「00010010111」であるとする。この場合、拡散処理部63は、以下の表1に従って、各シンボルの値(0〜15並びにP及びM)を送信チップ列に変換する。

Figure 0006710244
In the example described below, each of the detection pattern c1, the delimiter pattern STP, and the control information c2 is assigned a bit string corresponding value 0 to 15 (corresponding bit string “0000” to “1111”) and a bit string non-corresponding value “P” “M”. It shall be configured by the combination of. Further, it is assumed that the spreading code PN held by the code string holding unit 64 is “00010010111”. In this case, the spreading processing unit 63 converts the value of each symbol (0 to 15 and P and M) into a transmission chip string according to Table 1 below.
Figure 0006710244

表1に示すように、この例では、まずシンボルの値「P」は、拡散符号PN「00010010111」の先頭に「1」を付けてなる送信チップ列に変換される。またシンボルの値「0」〜「7」はそれぞれ、拡散符号PN「00010010111」を表1に示したシフト量で巡回シフトさせてなる符号列の先頭に「1」を付けてなる送信チップ列に変換される。その他のシンボルの値「M」「8」〜「15」はそれぞれ、シンボルの値「P」「0」〜「7」に対応する送信チップ列を反転させてなる送信チップ列に変換される。 As shown in Table 1, in this example, first, the symbol value "P" is converted into a transmission chip sequence in which the spreading code PN "00010010111" is prefixed with "1". Further, the symbol values "0" to "7" are respectively transmitted to the transmission chip sequence formed by adding "1" to the head of the code sequence obtained by cyclically shifting the spread code PN "00010010111" by the shift amount shown in Table 1. To be converted. The other symbol values "M", "8" to "15" are converted into transmission chip sequences obtained by inverting the transmission chip sequences corresponding to the symbol values "P" "0" to "7", respectively.

拡散処理部63は、以上のような変換処理によって送信チップ列を取得し、送信ガード部65に供給するよう構成される。 The diffusion processing unit 63 is configured to acquire the transmission chip sequence by the above conversion process and supply it to the transmission guard unit 65.

送信ガード部65は、ロジック部70から供給される制御信号ctrl_t4に基づき、アップリンク信号USの送信期間と、スタイラス2からの信号を受信する受信期間との間に、送信動作と受信動作を切り替えるために送信と受信の両方を行わない期間であるガード期間を挿入する機能を有する。 The transmission guard unit 65 switches the transmission operation and the reception operation between the transmission period of the uplink signal US and the reception period of receiving the signal from the stylus 2 based on the control signal ctrl_t4 supplied from the logic unit 70. Therefore, it has a function of inserting a guard period which is a period during which neither transmission nor reception is performed.

選択部40は、ロジック部70の制御に基づいて、センサ30から信号を送信する送信期間と、センサ30により信号を受信する受信期間とを切り替えるスイッチである。具体的に説明すると、選択部40は、スイッチ44x,44yと、導体選択回路41x,41yとを含んで構成される。スイッチ44xは、ロジック部70から供給される制御信号sTRxに基づき、送信期間には、送信部60の出力端を導体選択回路41xの入力端に接続し、受信期間には、導体選択回路41xの出力端を受信部50の入力端に接続するよう動作する。スイッチ44yは、ロジック部70から供給される制御信号sTRyに基づき、送信期間には、送信部60の出力端を導体選択回路41yの入力端に接続し、受信期間には、導体選択回路41yの出力端を受信部50の入力端に接続するよう動作する。導体選択回路41xは、ロジック部70から供給される制御信号selXに基づき、複数の線状電極30Xのうちの1つ又は複数を選択し、選択したものをスイッチ44xに接続するよう動作する。導体選択回路41yは、ロジック部70から供給される制御信号selYに基づき、複数の線状電極30Yのうちの1つ又は複数を選択し、選択したものをスイッチ44yに接続するよう動作する。導体選択回路41x,41yによって複数の線状電極30X又は複数の線状電極30Yが選択されるのは、例えば、タッチ面3tの全面からアップリンク信号USを送信する場合である。 The selection unit 40 is a switch that switches a transmission period for transmitting a signal from the sensor 30 and a reception period for receiving a signal by the sensor 30 under the control of the logic unit 70. More specifically, the selection unit 40 includes switches 44x and 44y and conductor selection circuits 41x and 41y. Based on the control signal sTRx supplied from the logic unit 70, the switch 44x connects the output end of the transmission unit 60 to the input end of the conductor selection circuit 41x during the transmission period, and connects the output end of the conductor selection circuit 41x during the reception period. It operates so as to connect the output end to the input end of the receiver 50. The switch 44y connects the output end of the transmission unit 60 to the input end of the conductor selection circuit 41y during the transmission period based on the control signal sTRy supplied from the logic unit 70, and connects the output end of the conductor selection circuit 41y during the reception period. It operates so as to connect the output end to the input end of the receiver 50. The conductor selection circuit 41x operates so as to select one or more of the plurality of linear electrodes 30X based on the control signal selX supplied from the logic unit 70 and connect the selected one to the switch 44x. The conductor selection circuit 41y operates so as to select one or more of the plurality of linear electrodes 30Y based on the control signal selY supplied from the logic unit 70 and connect the selected one to the switch 44y. The conductor selection circuits 41x and 41y select the plurality of linear electrodes 30X or the plurality of linear electrodes 30Y when, for example, the uplink signal US is transmitted from the entire touch surface 3t.

受信部50は、ロジック部70の制御信号ctrl_rに従い、方式A又は方式Bによってダウンリンク信号DSを受信するための回路であり、具体的には、増幅回路51、検波回路52、及び、アナログデジタル(AD)変換器53を含んで構成される。なお、ここで説明する受信部50の具体的な構成も例示であり、方式によって異なる場合がある。また、方式A,Bが互いに異なる構成の受信部50を必要とする場合、それぞれの構成を1つの受信部50内に併設し、選択的に動作させることとすればよい。受信部50が方式A,Bのいずれを用いるかはセンサコントローラ31の動作モードに応じて決定されるが、この点については後述する。 The receiving unit 50 is a circuit for receiving the downlink signal DS according to the system A or the system B according to the control signal ctrl_r of the logic unit 70, and specifically, includes an amplifier circuit 51, a detection circuit 52, and an analog digital circuit. An (AD) converter 53 is included. Note that the specific configuration of the receiving unit 50 described here is also an example, and may differ depending on the method. Further, when the schemes A and B require the receiving units 50 having different configurations from each other, the respective configurations may be provided side by side in one receiving unit 50 and selectively operated. Which of the schemes A and B the receiving unit 50 uses is determined according to the operation mode of the sensor controller 31, and this point will be described later.

増幅回路51は、選択部40から供給されるダウンリンク信号DSを増幅して出力する。検波回路52は、増幅回路51の出力信号のレベルに対応した電圧を生成する回路である。AD変換器53は、検波回路52から出力される電圧を所定時間間隔でサンプリングすることによって、デジタル信号を生成する回路である。AD変換器53が出力するデジタル信号は、MCU80に供給される。 The amplifier circuit 51 amplifies and outputs the downlink signal DS supplied from the selection unit 40. The detection circuit 52 is a circuit that generates a voltage corresponding to the level of the output signal of the amplification circuit 51. The AD converter 53 is a circuit that generates a digital signal by sampling the voltage output from the detection circuit 52 at predetermined time intervals. The digital signal output from the AD converter 53 is supplied to the MCU 80.

ロジック部70及びMCU80は、送信部60及び受信部50等の送受信動作を制御する制御部である。具体的に説明すると、MCU80は、内部にROMおよびRAMを有し、所定のプログラムに基づき動作するマイクロプロセッサである。一方、ロジック部70は、MCU80の制御に基づき、上述した各制御信号を出力するよう構成される。MCU80はまた、AD変換器53から供給されるデジタル信号に基づいてスタイラス2の位置を示す座標データx,y等を導出し、システムコントローラ32に対して出力する処理と、AD変換器53から供給されるデジタル信号が何らかのデータを示している場合には、そのデータを取得し、システムコントローラ32に対して出力する処理とを行うよう構成される。 The logic unit 70 and the MCU 80 are control units that control transmission/reception operations of the transmission unit 60, the reception unit 50, and the like. More specifically, the MCU 80 is a microprocessor that has a ROM and a RAM inside and operates based on a predetermined program. On the other hand, the logic unit 70 is configured to output each control signal described above under the control of the MCU 80. The MCU 80 also derives coordinate data x, y, etc. indicating the position of the stylus 2 based on the digital signal supplied from the AD converter 53, outputs the coordinate data x to the system controller 32, and supplies the data from the AD converter 53. If the digital signal to be displayed indicates some data, the data is acquired and output to the system controller 32.

図3は、本実施の形態におけるスタイラス2及びセンサコントローラ31のモード遷移図である。同図に示すように、本実施の形態によるスタイラス2及びセンサコントローラ31は、未確定モードP、方式Aでの通信を行う動作モードA(第1の動作モード)、方式Bでの通信を行う動作モードB(第2の動作モード)のいずれかで動作するよう構成される。このうち未確定モードPは、通信相手となる装置を未だ検出していない状態を意味する。未確定モードPでは動作モードA,Bのいずれで動作すべきかが決定されておらず、後述するように、方式A,Bによる信号の送受信が交互に繰り返される。未確定モードPは、方式A,Bなどの複数の動作モードで交互に動作するデュアルモードと呼ぶこともできるし、いずれか1つのセンサコントローラ31又はスタイラス2を検出しているモードとしてディスカバリモードと呼ぶこともできる。なお、スタイラス2は、これら動作モードの遷移に応じてインジケータ26の表示を切り替える処理を行ってもよい。この点については、後述する第3の実施の形態で説明する。 FIG. 3 is a mode transition diagram of the stylus 2 and the sensor controller 31 in the present embodiment. As shown in the figure, the stylus 2 and the sensor controller 31 according to the present embodiment perform communication in the undetermined mode P, operation mode A (first operation mode) in which communication is performed in method A, and communication in method B. It is configured to operate in any one of operation modes B (second operation modes). Among them, the undetermined mode P means a state in which the device to be the communication partner has not been detected yet. In the undetermined mode P, which of the operation modes A and B should be operated is not determined, and as described later, transmission and reception of signals by methods A and B are alternately repeated. The undetermined mode P can also be called a dual mode in which a plurality of operation modes such as methods A and B are alternately operated, and a discovery mode is a mode in which any one of the sensor controllers 31 or the stylus 2 is detected. You can also call it. Note that the stylus 2 may perform a process of switching the display of the indicator 26 according to the transition of these operation modes. This point will be described in a third embodiment described later.

ここで、図4及び図5を参照しながら、方式A,Bに対応するスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に生ずる課題について説明する。なお、図4及び図5を参照して説明するスタイラス2及びセンサコントローラ31の動作は、後に特に説明する点を除き、本実施の形態による動作においても実行される。 Here, a problem that occurs when the stylus 2 and the sensor controller 31 corresponding to the methods A and B perform an operation according to the background art of the present invention will be described with reference to FIGS. 4 and 5. The operation of the stylus 2 and the sensor controller 31 described with reference to FIGS. 4 and 5 is also executed in the operation according to the present embodiment, except for the points described below.

図4は、スタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図の例では、時刻t0で第1ペンダウンPD1が発生し、時刻t1で第2ペンダウンPD2が発生している。第1ペンダウンPD1が発生する前の時点でのスタイラス2及びセンサコントローラ31それぞれの動作モードは、図4に示すように、原則としていずれも未確定モードPとなる。 FIG. 4 is a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 perform the operation according to the background art of the present invention. In the example of the figure, the first pen-down PD1 occurs at time t0, and the second pen-down PD2 occurs at time t1. The operation modes of the stylus 2 and the sensor controller 31 before the occurrence of the first pen-down PD1 are, in principle, the undetermined mode P as shown in FIG.

未確定モードPでは、スタイラス2は、方式Aによるアップリンク信号USの受信動作及び方式Bによるアップリンク信号USの受信動作を交互に繰り返し、センサコントローラ31は、方式Aによるアップリンク信号USの送信動作、方式Aによるダウンリンク信号DSの受信動作、方式Bによるアップリンク信号USの送信動作、及び方式Bによるダウンリンク信号DSの受信動作を順に繰り返す。ここで、各信号の受信動作及び送信動作は、それぞれについて予め定められた所定時間にわたって継続して実行される。この点は、後述する各信号の受信動作及び送信動作についても同様である。また、方式ごとに、センサコントローラ31によるアップリンク信号USの送信動作の周期とスタイラス2によるアップリンク信号USの受信動作の周期とは、いずれか一方が他方の倍数にならないように構成される。センサコントローラ31が送信したアップリンク信号USがスタイラス2に届いているにも関わらず、スタイラス2がいつまでもそれを受信できないという事態の発生を回避するためである。また、各方式による受信動作の継続時間(上記所定時間)は、後述する図6において時刻t1からスタイラス2が実行するアップリンク信号USの受信動作の継続時間と同じく、少なくとも対応するアップリンク信号USの送信周期(センサコントローラ31による送信の周期)以上の時間とすることが好ましい。また、スタイラス2の受信動作は、電源25(図1)の節約のため、図4にも示すように、受信動作が実行されない休止期間をおいて繰り返し実行されることが好ましい。 In the undetermined mode P, the stylus 2 alternately repeats the operation of receiving the uplink signal US according to the scheme A and the operation of receiving the uplink signal US according to the scheme B, and the sensor controller 31 transmits the uplink signal US according to the scheme A. The operation, the reception operation of the downlink signal DS according to the scheme A, the transmission operation of the uplink signal US according to the scheme B, and the reception operation of the downlink signal DS according to the scheme B are sequentially repeated. Here, the reception operation and the transmission operation of each signal are continuously executed for a predetermined time set in advance. This point is the same for the reception operation and the transmission operation of each signal described later. Further, for each method, one of the cycle of the operation of transmitting the uplink signal US by the sensor controller 31 and the cycle of the operation of receiving the uplink signal US by the stylus 2 is configured so as not to be a multiple of the other. This is to avoid a situation in which the stylus 2 cannot receive the stylus 2 forever, even though the uplink signal US transmitted by the sensor controller 31 reaches the stylus 2. Further, the duration of the reception operation by each method (the above-described predetermined time) is at least the same as the duration of the reception operation of the uplink signal US executed by the stylus 2 from time t1 in FIG. It is preferable that the time is equal to or longer than the transmission cycle (the cycle of transmission by the sensor controller 31) of. Further, as shown in FIG. 4, it is preferable that the reception operation of the stylus 2 is repeatedly executed with a rest period during which the reception operation is not executed, as shown in FIG.

第1ペンダウンPD1及び第2ペンダウンPD2が発生することによるスタイラス2及びセンサコントローラ31のモード遷移として最も好ましいのは、時刻t0と時刻t1の間(つまり、第2ペンダウンPD2が発生する前)に、スタイラス2及びセンサコントローラ31がともに動作モードAとなることである。これは、スタイラス2が方式Aによるアップリンク信号USを受信し、それによって動作モードAでの動作を開始したスタイラス2により送信されるダウンリンク信号DSをセンサコントローラ31が受信し、それによってセンサコントローラ31も動作モードAでの動作を開始する、という一連の処理が時刻t0と時刻t1の間になされることによって実現される。 The most preferable mode transition of the stylus 2 and the sensor controller 31 due to the occurrence of the first pen down PD1 and the second pen down PD2 is between time t0 and time t1 (that is, before the second pen down PD2 occurs). Both the stylus 2 and the sensor controller 31 are in the operation mode A. This means that the sensor controller 31 receives the downlink signal DS transmitted by the stylus 2 whose stylus 2 has received the uplink signal US according to scheme A and thus has started operating in operating mode A, whereby the sensor controller 31 A series of processing of starting the operation of the operation mode A also in 31 is realized by performing between time t0 and time t1.

しかしながら、ユーザがスタイラス2を素早く操作し、時刻t0と時刻t1の間が短くなった場合などには、図4に例示するように、時刻t1を過ぎてもしばらくの間、スタイラス2がアップリンク信号USを受信できないという事態が発生し得る。図4の例では、時刻t1後の時刻t2になってようやくスタイラス2が方式Aによって送信されたアップリンク信号USを受信し、その結果としてスタイラス2が動作モードAとなり、その後の時刻t3で、方式Aによって送信されたダウンリンク信号DSを受信したセンサコントローラ31が動作モードAとなって、方式Aによるスタイラス2とセンサコントローラ31の間の通信が開始される。つまり、時刻t1で第2ペンダウンPD2が発生してから時刻t3で方式Aによるスタイラス2とセンサコントローラ31の間の通信が開始されるまでに、時間t3−t1分の遅延が発生してしまっている。この遅延の発生が、本実施の形態の背景技術における課題のひとつである。 However, when the user operates the stylus 2 quickly and the time between the time t0 and the time t1 is shortened, the stylus 2 is uplinked for a while even after the time t1 as illustrated in FIG. A situation may occur in which the signal US cannot be received. In the example of FIG. 4, at time t2 after time t1, the stylus 2 finally receives the uplink signal US transmitted by the method A, and as a result, the stylus 2 enters the operation mode A, and at time t3 thereafter, The sensor controller 31 receiving the downlink signal DS transmitted by the method A enters the operation mode A, and the communication between the stylus 2 and the sensor controller 31 by the method A is started. That is, a delay of time t3-t1 occurs until the communication between the stylus 2 and the sensor controller 31 by the method A starts at the time t3 after the second pen down PD2 occurs at the time t1. There is. The occurrence of this delay is one of the problems in the background art of this embodiment.

図5も、スタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図の例は、スタイラス2の受信動作のタイミング(センサコントローラ31の送信動作に対する相対的なタイミング)の点で、図4に示した例と異なっている。 FIG. 5 is also a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 perform the operation according to the background art of the present invention. The example shown in the figure differs from the example shown in FIG. 4 in the timing of the reception operation of the stylus 2 (the timing relative to the transmission operation of the sensor controller 31).

上記相違の結果として、図5の例では、時刻t2でスタイラス2が方式Bによって送信されたアップリンク信号USを受信し、動作モードBとなっている。これを受け、時刻t3ではセンサコントローラ31も動作モードBとなり、方式Bによってスタイラス2とセンサコントローラ31の間の通信が開始される。方式Bは方式Aに比べ優先順位が低いため、方式A,Bの両方に対応するスタイラス2及びセンサコントローラ31の間でこのように方式Bによる通信が開始されてしまうことは好ましくなく、早期に方式Aによる通信に切り替えることが望まれる。これが、本実施の形態の背景技術における課題の他のひとつである。 As a result of the above difference, in the example of FIG. 5, the stylus 2 receives the uplink signal US transmitted by the method B at the time t2 and is in the operation mode B. In response to this, at time t3, the sensor controller 31 also enters the operation mode B, and the communication between the stylus 2 and the sensor controller 31 is started by the method B. Since the method B has a lower priority than the method A, it is not preferable that the communication according to the method B is started between the stylus 2 and the sensor controller 31 corresponding to both the methods A and B, and it is early. It is desired to switch to communication according to method A. This is another one of the problems in the background art of the present embodiment.

図6は、スタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図には特に、上述した遅延を回避するためのスタイラス2の動作を示している。 FIG. 6 is a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 perform the operation according to the present embodiment. In particular, the figure shows the operation of the stylus 2 for avoiding the above-mentioned delay.

図6に示すように、スタイラス2は、時刻t1で第2ペンダウンPD2を検出した後、自身の動作モードが未だ未確定モードPであれば、直ちに方式Aによるアップリンク信号USの受信動作を開始する。この受信動作は、方式Aによるアップリンク信号USを受信するまで、少なくともセンサコントローラ31の送信周期(図示した周期SP1)以上の時間にわたって継続される。これにより、もしセンサコントローラ31が方式Aによるアップリンク信号USを送信するものであるならば、スタイラス2は、センシング範囲SR(図1)から離脱しない限り、確実に方式Aによるアップリンク信号USを受信できることになる。しかも、第2ペンダウンPD2の発生後直ちに方式Aによるアップリンク信号USの受信動作を開始しているので、第2ペンダウンPD2から方式Aによる通信が開始されるまでの遅延も最小限に止めることができる。 As shown in FIG. 6, after the stylus 2 detects the second pen-down PD 2 at time t1, if the operation mode of the stylus 2 is still the undetermined mode P, the stylus 2 immediately starts the operation of receiving the uplink signal US by the method A. To do. This reception operation is continued for at least the transmission period (the illustrated period SP1) of the sensor controller 31 until the uplink signal US according to the scheme A is received. As a result, if the sensor controller 31 transmits the uplink signal US according to the scheme A, the stylus 2 reliably transmits the uplink signal US according to the scheme A unless the stylus 2 leaves the sensing range SR (FIG. 1). You will be able to receive. Moreover, since the reception operation of the uplink signal US by the method A is started immediately after the occurrence of the second pen-down PD2, the delay from the communication of the method A by the second pen-down PD2 can be minimized. it can.

図7も、本実施の形態によるスタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図には特に、優先順位の低い方式Bによる通信が開始されてしまった後、優先順位の高い方式Aによる通信への切り替えるためのスタイラス2及びセンサコントローラ31の動作を示している。このような事態は、スタイラス2及びセンサコントローラ31が本実施の形態による動作を行う場合においても、例えば、時刻t0と時刻t1の間にスタイラス2が方式Bによるアップリンク信号USを受信した場合などに発生し得る。 FIG. 7 is also a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 according to the present embodiment. In particular, the figure shows the operation of the stylus 2 and the sensor controller 31 for switching to the communication by the method A having a high priority after the communication by the method B having a low priority is started. In such a situation, even when the stylus 2 and the sensor controller 31 perform the operation according to the present embodiment, for example, when the stylus 2 receives the uplink signal US according to the method B between the time t0 and the time t1. Can occur in.

図7に示すように、動作モードBでの動作を開始したスタイラス2は、任意の時刻t4で固有IDを含むダウンリンク信号DS(D1。第1の信号)を送信する。この任意の時刻t4は、センサコントローラ31からのアップリンク信号US又はその中に含まれるコマンドに応じた時刻としてもよいし、スタイラス2が動作モードBでの動作を開始した時刻t2に応じた時刻としてもよい。センサコントローラ31は、このダウンリンク信号DS(D1)を受信すると、復調及び復号によってその中に含まれる固有IDを取得する。そして、取得した固有IDに基づいてスタイラス2が方式Aにも対応しているか否かを判定し、対応していると判定した場合に、時刻t5で、動作モードAへの切り替え指示を示すコマンドを含むアップリンク信号US(D2。第2の信号)を送信する。スタイラス2は、時刻t6でこのアップリンク信号US(D2)を受信すると、復調及び復号によってその中に含まれる上記切り替え指示を取得する。そして、取得した切り替え指示に応じて、時刻t7で自身の動作モードを動作モードAに切り替える。 As shown in FIG. 7, the stylus 2 that has started the operation in the operation mode B transmits a downlink signal DS (D1. first signal) including a unique ID at an arbitrary time t4. This arbitrary time t4 may be a time corresponding to the uplink signal US from the sensor controller 31 or a command included therein, or a time corresponding to the time t2 when the stylus 2 starts to operate in the operation mode B. May be When the sensor controller 31 receives this downlink signal DS(D1), it demodulates and decodes to acquire the unique ID contained therein. Then, based on the acquired unique ID, it is determined whether or not the stylus 2 is compatible with the method A as well. And transmits an uplink signal US (D2. second signal) including the. When the stylus 2 receives the uplink signal US(D2) at time t6, the stylus 2 obtains the switching instruction contained therein by demodulation and decoding. Then, in response to the acquired switching instruction, the own operation mode is switched to the operation mode A at time t7.

センサコントローラ31がアップリンク信号US(D2)を送信してからスタイラス2が動作モードAに移行するまでの所要時間は、スタイラス2の仕様の一部として予め決定しておくことができる。したがって、センサコントローラ31は、切り替え指示を受けたスタイラス2が動作モードAに移行する時刻t7を予め知ることができるので、時刻t7に合わせて自身の動作モードを動作モードAに切り替える処理を行う。これにより、スタイラス2とセンサコントローラ31の間で、優先順位の高い方式Aによる通信が開始される。 The time required from the sensor controller 31 transmitting the uplink signal US(D2) until the stylus 2 shifts to the operation mode A can be determined in advance as part of the specifications of the stylus 2. Therefore, the sensor controller 31 can know in advance the time t7 when the stylus 2 that has received the switching instruction shifts to the operation mode A, and therefore performs the process of switching its own operation mode to the operation mode A at the time t7. As a result, the communication by the method A having a high priority is started between the stylus 2 and the sensor controller 31.

図8〜図10は、本実施の形態によるスタイラス2の動作を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるスタイラス2の動作について、より詳しく説明する。 8 to 10 are process flow charts showing the operation of the stylus 2 according to the present embodiment. Hereinafter, the operation of the stylus 2 according to the present embodiment will be described in more detail with reference to these drawings.

図8に示すように、スタイラス2はまず、自身の動作モードを未確定モードPとする(ステップS11)。そして、方式Aでの受信開始タイミングの到来、方式Bでの受信開始タイミングの到来、第2ペンダウンの発生のそれぞれを検出する(ステップS12,S14)。方式Aでの受信開始タイミングが到来した場合、及び、第2ペンダウンが発生した場合、スタイラス2は、方式Aによるアップリンク信号USの受信動作を起動する(ステップS13)。第2ペンダウンが発生した場合のこの受信動作は、上述したように、方式Aによるアップリンク信号USを受信するまで、少なくともセンサコントローラ31の送信周期(図6に示した周期SP1)以上の時間にわたって継続される。また、方式Bでの受信開始タイミングが到来した場合には、スタイラス2は、方式Bによるアップリンク信号USの受信動作を起動する(ステップS15)。 As shown in FIG. 8, the stylus 2 first sets its operation mode to the undetermined mode P (step S11). Then, the arrival of the reception start timing in the method A, the arrival of the reception start timing in the method B, and the occurrence of the second pen down are detected (steps S12 and S14). When the reception start timing in the scheme A arrives and when the second pen down occurs, the stylus 2 activates the reception operation of the uplink signal US according to the scheme A (step S13). As described above, this reception operation when the second pen down occurs is at least the transmission cycle of the sensor controller 31 (cycle SP1 shown in FIG. 6) or more until the uplink signal US according to the method A is received. Will continue. Further, when the reception start timing in the scheme B arrives, the stylus 2 activates the reception operation of the uplink signal US in the scheme B (step S15).

スタイラス2はまた、ステップS13又はステップS15で開始した受信動作によりアップリンク信号USが受信されたか否かを判定し(ステップS16)、ステップS13で開始した受信動作によりアップリンク信号USが受信されたと判定した場合(すなわち、方式Aによるアップリンク信号USが受信された場合)には自身の動作モードを動作モードAに切り替え(ステップS17)、ステップS15で開始した受信動作によりアップリンク信号USが受信されたと判定した場合(すなわち、方式Bによるアップリンク信号USが受信された場合)には自身の動作モードを動作モードBに切り替える(ステップS18)。 The stylus 2 also determines whether or not the uplink signal US is received by the reception operation started in step S13 or step S15 (step S16), and the uplink signal US is received by the reception operation started in step S13. When the determination is made (that is, when the uplink signal US according to the scheme A is received), the own operation mode is switched to the operation mode A (step S17), and the uplink signal US is received by the reception operation started in step S15. When it is determined that the operation has been performed (that is, when the uplink signal US according to the scheme B is received), the operation mode of itself is switched to the operation mode B (step S18).

図9は、動作モードAでの動作を開始した後のスタイラス2の動作を示している。同図に示すように、スタイラス2は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS21,S23)。そして、送信開始タイミングが到来した場合には方式Aによるダウンリンク信号DSの送信動作を起動し(ステップS22)、受信開始タイミングが到来した場合には方式Aによるアップリンク信号USの受信動作を起動する(ステップS24)。 FIG. 9 shows the operation of the stylus 2 after starting the operation in the operation mode A. As shown in the figure, the stylus 2 detects the arrival of the transmission start timing and the arrival of the reception start timing (steps S21 and S23). Then, when the transmission start timing arrives, the operation of transmitting the downlink signal DS by the method A is activated (step S22), and when the reception start timing comes, the operation of receiving the uplink signal US by the method A is activated. Yes (step S24).

スタイラス2はまた、ステップS24で開始した受信動作によりアップリンク信号USが受信されたか否かを判定し(ステップS25)、受信されたと判定した場合には、ステップS21に戻って処理を繰り返す。一方、受信されなかったと判定した場合には、自身の動作モードを未確定モードPに戻すとともに(ステップS26)、処理を図8のステップS12に戻す。この処理は、スタイラス2がタッチ面3tから離れた場合に、スタイラス2を未確定モードPに戻すために実行されるものである。 The stylus 2 also determines whether or not the uplink signal US has been received by the reception operation started in step S24 (step S25). If it is determined that the uplink signal US has been received, the process returns to step S21 and repeats the processing. On the other hand, when it is determined that it has not been received, the operation mode of itself is returned to the undetermined mode P (step S26), and the process is returned to step S12 of FIG. This process is executed to return the stylus 2 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t.

図10は、動作モードBでの動作を開始した後のスタイラス2の動作を示している。同図に示すように、スタイラス2は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS31,S33)。そして、送信開始タイミングが到来した場合には方式Bによるダウンリンク信号DSの送信動作を起動し(ステップS32)、受信開始タイミングが到来した場合には方式Bによるアップリンク信号USの受信動作を起動する(ステップS34)。 FIG. 10 shows the operation of the stylus 2 after starting the operation in the operation mode B. As shown in the figure, the stylus 2 detects the arrival of the transmission start timing and the arrival of the reception start timing (steps S31 and S33). Then, when the transmission start timing arrives, the operation of transmitting the downlink signal DS by the method B is activated (step S32), and when the reception start timing arrives, the operation of receiving the uplink signal US by the method B is activated. Yes (step S34).

スタイラス2はまた、ステップS34で開始した受信動作によりアップリンク信号USが受信されたか否かを判定し(ステップS35)、受信されたと判定した場合には、その中に動作モードAへの切り替え指示が含まれているか否かを判定する(ステップS36)。その結果、含まれていると判定した場合には、自身の動作モードを動作モードAに切り替え(ステップS37)、処理を図9のステップS21に移す。一方、含まれていないと判定した場合には、ステップS31に戻って処理を繰り返す。 The stylus 2 also determines whether or not the uplink signal US has been received by the reception operation started in step S34 (step S35), and if it determines that the uplink signal US has been received, an instruction to switch to the operation mode A is included therein. It is determined whether or not is included (step S36). As a result, when it is determined that it is included, the own operation mode is switched to the operation mode A (step S37), and the process proceeds to step S21 of FIG. On the other hand, if it is determined that it is not included, the process returns to step S31 and is repeated.

ステップS35で受信されなかったと判定した場合には、スタイラス2は、自身の動作モードを未確定モードPに戻すとともに(ステップS38)、処理を図8のステップS12に戻す。この処理は、図9のステップS26と同様、スタイラス2がタッチ面3tから離れた場合に、スタイラス2を未確定モードPに戻すために実行されるものである。 If it is determined in step S35 that the stylus 2 has not been received, the stylus 2 returns its operation mode to the undetermined mode P (step S38) and returns the process to step S12 of FIG. This process is executed to return the stylus 2 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t, as in step S26 of FIG.

図11〜図13は、本実施の形態によるセンサコントローラ31が行う処理を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。 11 to 13 are processing flow charts showing processing performed by the sensor controller 31 according to the present embodiment. Hereinafter, the operation of the sensor controller 31 according to the present embodiment will be described in more detail with reference to these drawings.

図11に示すように、センサコントローラ31はまず、自身の動作モードを未確定モードPとする(ステップS41)。そして、方式Aでの受信開始タイミングの到来、方式Aでの送信開始タイミングの到来、方式Bでの受信開始タイミングの到来、方式Bでの送信開始タイミングの到来のそれぞれを検出する(ステップS42,S44,S46,S48)。方式Aでの受信開始タイミングが到来した場合、センサコントローラ31は、方式Aによるダウンリンク信号DSの受信動作を起動する(ステップS43)。同様に、センサコントローラ31は、方式Aでの送信開始タイミングが到来した場合には方式Aによるアップリンク信号USの送信動作を起動し(ステップS45)、方式Bでの受信開始タイミングが到来した場合には方式Bによるダウンリンク信号DSの受信動作を起動し(ステップS47)、方式Bでの送信開始タイミングが到来した場合には方式Bによるアップリンク信号USの送信動作を起動する(ステップS49)。 As shown in FIG. 11, the sensor controller 31 first sets its operation mode to the undetermined mode P (step S41). Then, the arrival of the reception start timing in the scheme A, the arrival of the transmission start timing in the scheme A, the arrival of the reception start timing in the scheme B, and the arrival of the transmission start timing in the scheme B are detected (step S42, S44, S46, S48). When the reception start timing in scheme A arrives, the sensor controller 31 activates the reception operation of the downlink signal DS according to scheme A (step S43). Similarly, when the transmission start timing of scheme A arrives, the sensor controller 31 activates the transmission operation of the uplink signal US according to scheme A (step S45), and when the reception start timing of scheme B arrives. In step S47, the reception operation of the downlink signal DS according to method B is activated, and when the transmission start timing in method B arrives, the operation of transmitting the uplink signal US according to method B is activated (step S49). ..

センサコントローラ31はまた、ステップS43又はステップS47で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定する(ステップS50)。そして、ステップS43で開始した受信動作によりダウンリンク信号DSが受信されたと判定した場合(すなわち、方式Aによるダウンリンク信号DSが受信された場合)には自身の動作モードを動作モードAに切り替え(ステップS51)、ステップS47で開始した受信動作によりダウンリンク信号DSが受信されたと判定した場合(すなわち、方式Bによるダウンリンク信号DSが受信された場合)には自身の動作モードを動作モードBに切り替える(ステップS52)。 The sensor controller 31 also determines whether the downlink signal DS has been received by the reception operation started in step S43 or step S47 (step S50). Then, when it is determined that the downlink signal DS is received by the reception operation started in step S43 (that is, when the downlink signal DS according to the scheme A is received), its own operation mode is switched to the operation mode A ( In step S51), when it is determined that the downlink signal DS is received by the reception operation started in step S47 (that is, when the downlink signal DS according to scheme B is received), the own operation mode is set to the operation mode B. Switch (step S52).

図12は、動作モードAでの動作を開始した後のセンサコントローラ31の動作を示している。同図に示すように、センサコントローラ31は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS61,S63)。そして、送信開始タイミングが到来した場合には方式Aによるアップリンク信号USの送信動作を起動し(ステップS62)、受信開始タイミングが到来した場合には方式Aによるダウンリンク信号DSの受信動作を起動する(ステップS64)。 FIG. 12 shows the operation of the sensor controller 31 after starting the operation in the operation mode A. As shown in the figure, the sensor controller 31 detects the arrival of the transmission start timing and the arrival of the reception start timing (steps S61 and S63). Then, when the transmission start timing arrives, the operation of transmitting the uplink signal US by the scheme A is started (step S62), and when the reception start timing arrives, the operation of receiving the downlink signal DS by the scheme A is started. Yes (step S64).

センサコントローラ31はまた、ステップS64で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定し(ステップS65)、受信されたと判定した場合には、ステップS61に戻って処理を繰り返す。一方、受信されなかったと判定した場合には、自身の動作モードを未確定モードPに戻すとともに(ステップS66)、処理を図11のステップS42に戻す。この処理は、スタイラス2がタッチ面3tから離れた場合に、センサコントローラ31を未確定モードPに戻すために実行されるものである。 The sensor controller 31 also determines whether or not the downlink signal DS has been received by the reception operation started in step S64 (step S65), and when it determines that the downlink signal DS has been received, returns to step S61 and repeats the processing. On the other hand, if it is determined that it has not been received, the operation mode of itself is returned to the undetermined mode P (step S66), and the process is returned to step S42 of FIG. This process is executed to return the sensor controller 31 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t.

図13は、動作モードBでの動作を開始した後のセンサコントローラ31の動作を示している。同図に示すように、センサコントローラ31は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS71,S73)。そして、送信開始タイミングが到来した場合には方式Bによるアップリンク信号USの送信動作を起動し(ステップS72)、受信開始タイミングが到来した場合には方式Bによるダウンリンク信号DSの受信動作を起動する(ステップS74)。 FIG. 13 shows the operation of the sensor controller 31 after starting the operation in the operation mode B. As shown in the figure, the sensor controller 31 detects the arrival of the transmission start timing and the arrival of the reception start timing (steps S71 and S73). Then, when the transmission start timing arrives, the operation of transmitting the uplink signal US by the scheme B is activated (step S72), and when the reception start timing arrives, the operation of receiving the downlink signal DS by the scheme B is activated. Yes (step S74).

センサコントローラ31はまた、動作モードAへの切り替え指示をアップリンク信号USに含めて送信したか否かを判定し(ステップS75)、送信したと判定した場合には、スタイラス2が動作モードAに移行するタイミングに合わせて、自身の動作モードを動作モードAに切り替える(ステップS76)。その後は、図12のステップS61に移って処理を継続する。 The sensor controller 31 also determines whether or not the instruction to switch to the operation mode A has been included in the uplink signal US and transmitted (step S75). If it is determined that the stylus 2 has transmitted, the stylus 2 is switched to the operation mode A. The operation mode of itself is switched to the operation mode A in accordance with the transition timing (step S76). After that, the process proceeds to step S61 of FIG. 12 to continue the process.

ステップS75で送信していないと判定した場合、次にセンサコントローラ31は、ステップS74で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定する(ステップS77)。ここで受信されなかったと判定した場合、センサコントローラ31は、自身の動作モードを未確定モードPに戻すとともに(ステップS78)、処理を図11のステップS42に戻す。この処理は、図12のステップS66と同様、スタイラス2がタッチ面3tから離れた場合に、センサコントローラ31を未確定モードPに戻すために実行されるものである。 If it is determined that the downlink signal DS is not transmitted in step S75, the sensor controller 31 next determines whether or not the downlink signal DS is received by the reception operation started in step S74 (step S77). If the sensor controller 31 determines that it has not been received, the sensor controller 31 returns its operation mode to the undetermined mode P (step S78) and returns the process to step S42 in FIG. This process is executed to return the sensor controller 31 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t, as in step S66 of FIG.

ステップS77で受信したと判定した場合、センサコントローラ31は、受信したダウンリンク信号DSにスタイラス2が方式Aに対応していることを示す機能情報が含まれるか否かを判定する(ステップS79)。機能情報は、具体的には、上述したようにスタイラス2の固有IDの全部又は一部を示す情報である。ダウンリンク信号DSにスタイラス2が方式Aに対応していることを示す機能情報が含まれていると判定した場合、センサコントローラ31は、アップリンク信号USにより送信する情報のひとつとして、動作モードAへの切り替え指示を含むコマンドを設定する(ステップS80)。こうして設定されたコマンドは、次にステップS72が実行されるときに送信されることになる。そして、その後のステップS75では、動作モードAへの切り替え指示をアップリンク信号USに含めて送信したと判定される。これらの処理の結果として、スタイラス2及びセンサコントローラ31の双方が動作モードAに移行することになる。 When it is determined that the stylus 2 is received in step S77, the sensor controller 31 determines whether the received downlink signal DS includes function information indicating that the stylus 2 corresponds to the method A (step S79). . Specifically, the function information is information indicating all or part of the unique ID of the stylus 2 as described above. When it is determined that the downlink signal DS includes the function information indicating that the stylus 2 is compatible with the method A, the sensor controller 31 uses the operation mode A as one of the information transmitted by the uplink signal US. A command including an instruction to switch to is set (step S80). The command set in this way will be transmitted the next time step S72 is executed. Then, in the subsequent step S75, it is determined that the instruction to switch to the operation mode A is included in the uplink signal US and transmitted. As a result of these processes, both the stylus 2 and the sensor controller 31 shift to the operation mode A.

以上説明したように、本実施の形態によるスタイラス2により実行される方法によれば、スタイラス2は、タッチ面3tへの接触後直ちに、方式Aによる信号の受信動作を起動することができる。したがって、タッチ面3tに接触してからスタイラス2が動作モードAに設定されるまでの時間を短縮することが可能になる。 As described above, according to the method performed by the stylus 2 according to the present embodiment, the stylus 2 can activate the signal receiving operation according to the method A immediately after the contact with the touch surface 3t. Therefore, it is possible to shorten the time from the contact with the touch surface 3t to the setting of the stylus 2 in the operation mode A.

また、本実施の形態によるスタイラス2とセンサコントローラ31とにより実行される方法によれば、スタイラス2の動作モードが方式Bによる信号の送受信を行う動作モードBであったとしても、スタイラス2が方式Aに対応していることを把握したセンサコントローラ31の指示により、スタイラス2の動作モードを動作モードAに切り替えることができる。したがって、スタイラス2とセンサコントローラ31の間で、方式Aによる通信を開始することが可能になる。 Further, according to the method executed by the stylus 2 and the sensor controller 31 according to the present embodiment, even if the operation mode of the stylus 2 is the operation mode B for transmitting and receiving the signal according to the method B, the stylus 2 uses the method. The operation mode of the stylus 2 can be switched to the operation mode A according to an instruction from the sensor controller 31 that is aware that it corresponds to A. Therefore, it is possible to start communication according to the method A between the stylus 2 and the sensor controller 31.

次に、本発明の第2の実施の形態について説明する。本実施の形態によるスタイラス2及びセンサコントローラ31は、方式Bに代え、スタイラス2からセンサコントローラ31への一方向通信に対応する方式Cに対応している点で第1の実施の形態によるスタイラス2及びセンサコントローラ31と異なり、その他の点では同様であるので、以下では相違点に着目して説明する。なお、方式Aには、方式Cより高い優先順位が設定される。 Next, a second embodiment of the present invention will be described. The stylus 2 and the sensor controller 31 according to the present embodiment correspond to the method C corresponding to one-way communication from the stylus 2 to the sensor controller 31 instead of the method B, and the stylus 2 according to the first embodiment. Since the sensor controller 31 is the same as the sensor controller 31 in other respects, it will be described below focusing on the difference. The method A has a higher priority than the method C.

図14は、本実施の形態におけるスタイラス2及びセンサコントローラ31のモード遷移図である。同図に示すように、本実施の形態によるスタイラス2及びセンサコントローラ31は、未確定モードP、方式Aでの通信を行う動作モードA(第1の動作モード)、方式Cでの通信を行う動作モードC(第2の動作モード)のいずれかで動作するよう構成される。 FIG. 14 is a mode transition diagram of the stylus 2 and the sensor controller 31 in the present embodiment. As shown in the figure, the stylus 2 and the sensor controller 31 according to the present embodiment perform communication in the undetermined mode P, operation mode A (first operation mode) in which communication is performed in method A, and communication in method C. It is configured to operate in any one of the operation modes C (second operation mode).

ここで、図15を参照しながら、方式A,Cに対応するスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に生ずる課題について説明する。なお、図15を参照して説明するスタイラス2及びセンサコントローラ31の動作は、後に特に説明する点を除き、本実施の形態による動作においても実行される。 Here, with reference to FIG. 15, a problem that occurs when the stylus 2 and the sensor controller 31 corresponding to the methods A and C perform an operation according to the background art of the present invention will be described. The operations of the stylus 2 and the sensor controller 31 described with reference to FIG. 15 are also executed in the operation according to the present embodiment, except for the points described below.

図15は、スタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図の例でも、図4等の例と同様、時刻t0で第1ペンダウンPD1が発生し、時刻t1で第2ペンダウンPD2が発生している。第1ペンダウンPD1が発生する前の時点でのスタイラス2及びセンサコントローラ31それぞれの動作モードは、図15に示すように、原則としていずれも未確定モードPとなる。 FIG. 15 is a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 perform the operation according to the background art of the present invention. In the example of the same figure, as in the example of FIG. 4 and the like, the first pen down PD1 occurs at time t0 and the second pen down PD2 occurs at time t1. As shown in FIG. 15, the operating modes of the stylus 2 and the sensor controller 31 before the occurrence of the first pen-down PD1 are in principle undetermined modes P as shown in FIG.

未確定モードPでは、スタイラス2は、方式Cによるダウンリンク信号DSの送信動作と、方式Aによるアップリンク信号USの受信動作とを交互に繰り返すよう構成される。ただし、図15の例では、消費電力低減のため、2回に1回の割合で、方式Aによるアップリンク信号USの受信動作が省略されている。本発明では、このような動作も「方式Cによるダウンリンク信号DSの送信動作と、方式Aによるアップリンク信号USの受信動作とを交互に繰り返す」動作に含まれる。また、センサコントローラ31は、方式Aによるアップリンク信号USの送信動作、方式Aによるダウンリンク信号DSの受信動作と、方式Cによるダウンリンク信号DSの受信動作とを順に繰り返すよう構成される。ここで、スタイラス2が方式Cによるダウンリンク信号DSを送信する周期と、センサコントローラ31が方式Cによるダウンリンク信号DSを受信する周期とは、いずれか一方が他方の倍数にならないように構成される。スタイラス2が方式Aによるアップリンク信号USを受信する周期と、センサコントローラ31が方式Aによるアップリンク信号USを送信する周期とについても同様である。これは、一方の装置が送信した信号が他方の装置に届いているにも関わらず、他方の装置がいつまでもそれを受信できないという事態の発生を回避するためである。 In the undetermined mode P, the stylus 2 is configured to alternately repeat the operation of transmitting the downlink signal DS according to the scheme C and the operation of receiving the uplink signal US according to the scheme A. However, in the example of FIG. 15, the reception operation of the uplink signal US by the method A is omitted once every two times in order to reduce power consumption. In the present invention, such an operation is also included in the operation of “alternately repeating the operation of transmitting the downlink signal DS according to the method C and the operation of receiving the uplink signal US according to the method A”. Further, the sensor controller 31 is configured to sequentially repeat the operation of transmitting the uplink signal US according to the method A, the operation of receiving the downlink signal DS according to the method A, and the operation of receiving the downlink signal DS according to the method C. Here, one of the cycle in which the stylus 2 transmits the downlink signal DS according to the method C and the cycle in which the sensor controller 31 receives the downlink signal DS according to the method C is configured so as not to be a multiple of the other. It The same applies to the cycle in which the stylus 2 receives the uplink signal US according to the scheme A and the cycle in which the sensor controller 31 transmits the uplink signal US according to the scheme A. This is to avoid a situation in which the signal transmitted by one device reaches the other device, but the other device cannot receive it forever.

図15の例でも、第1ペンダウンPD1及び第2ペンダウンPD2が発生することによるスタイラス2及びセンサコントローラ31のモード遷移として最も好ましいのは、時刻t0と時刻t1の間(つまり、第2ペンダウンPD2が発生する前)に、スタイラス2及びセンサコントローラ31がともに動作モードAとなることである。これは、図4の場合と同様に、スタイラス2が方式Aによるアップリンク信号USを受信し、それによって動作モードAでの動作を開始したスタイラス2により送信されるダウンリンク信号DSをセンサコントローラ31が受信し、それによってセンサコントローラ31も動作モードAでの動作を開始する、という一連の処理が時刻t0と時刻t1の間になされることによって実現される。 Also in the example of FIG. 15, the most preferable mode transition of the stylus 2 and the sensor controller 31 due to the occurrence of the first pen down PD1 and the second pen down PD2 is between the time t0 and the time t1 (that is, the second pen down PD2 is Before occurrence), both the stylus 2 and the sensor controller 31 are in the operation mode A. This is similar to the case of FIG. 4, in which the stylus 2 receives the uplink signal US according to the scheme A, and thereby the downlink signal DS transmitted by the stylus 2 which has started the operation in the operation mode A is transmitted to the sensor controller 31. Is received and thereby the sensor controller 31 also starts the operation in the operation mode A, which is realized by performing a series of processing between time t0 and time t1.

しかしながら、ユーザがスタイラス2を素早く操作し、時刻t0と時刻t1の間が短くなった場合やスタイラス2がアップリンク信号USを検出できなかった場合などには、図15に例示するように、時刻t1に至ってもスタイラス2がアップリンク信号USを受信できないままである、という事態が発生し得る。そこで、背景技術による動作によれば、スタイラス2は、動作モードAに移行しないまま時刻t1が経過した場合、直ちに自身の動作モードを動作モードCに切り替える。これにより、スタイラス2がもっぱら方式Cによるダウンリンク信号DSの送信動作を行うことになるので、センサコントローラ31もいずれ動作モードCに移行し、方式Cによるスタイラス2とセンサコントローラ31の間の通信が開始されることになる(時刻t2)。方式A,Cの両方に対応するスタイラス2及びセンサコントローラ31の間でこのように方式Cによる通信が開始されてしまうことは好ましくないので、そもそも方式Cによる通信が開始されないようにするか、又は、方式Cによる通信が開始されてしまったとしても早期に方式Aによる通信に切り替えることが望まれる。これらが、本実施の形態の背景技術における課題である。 However, when the user operates the stylus 2 quickly and the time t0 and the time t1 are shortened, or the stylus 2 cannot detect the uplink signal US, as shown in FIG. A situation may occur in which the stylus 2 remains unable to receive the uplink signal US even at t1. Therefore, according to the operation of the background art, the stylus 2 immediately switches its own operation mode to the operation mode C when the time t1 elapses without shifting to the operation mode A. As a result, the stylus 2 exclusively performs the operation of transmitting the downlink signal DS by the method C, so that the sensor controller 31 eventually shifts to the operation mode C, and the communication between the stylus 2 and the sensor controller 31 by the method C is performed. It will be started (time t2). It is not preferable that the communication by the method C is started between the stylus 2 and the sensor controller 31 corresponding to both the methods A and C, so that the communication by the method C is not started in the first place, or Even if the communication by the method C is started, it is desired to switch to the communication by the method A at an early stage. These are the problems in the background art of the present embodiment.

図16は、スタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図には特に、動作モードAに移行しないまま時刻t1が経過したとしても、方式Cによる通信が開始されないようにするためのスタイラス2の動作を示している。 FIG. 16 is a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 perform the operation according to the present embodiment. In particular, the figure shows the operation of the stylus 2 for preventing the communication according to the method C from being started even if the time t1 elapses without shifting to the operation mode A.

図16に示すように、スタイラス2は、時刻t1で第2ペンダウンPD2を検出した後、自身の動作モードが未だ未確定モードPであったとしても、動作モードCに移行することなく、直ちに方式Aによるアップリンク信号USの受信動作を起動する。この受信動作は、方式Aによるアップリンク信号USを受信するまで、少なくともセンサコントローラ31の送信周期(図示した周期SP2)以上の時間にわたって継続される。これにより、もしセンサコントローラ31が方式Aによるアップリンク信号USを送信するものであるならば、スタイラス2は、センシング範囲SR(図1)から離脱しない限り、確実に方式Aによるアップリンク信号USを受信できることになる。したがって、方式Cによる通信が開始されることはなく、方式Aによる通信を開始させることが可能になる。 As shown in FIG. 16, even if the stylus 2 detects the second pen-down PD 2 at time t1, even if the stylus 2 is still in the undetermined mode P, the stylus 2 does not shift to the operation mode C and immediately performs the method. The operation of receiving the uplink signal US by A is activated. This reception operation is continued for at least the transmission period (the illustrated period SP2) of the sensor controller 31 until the uplink signal US according to the scheme A is received. Accordingly, if the sensor controller 31 transmits the uplink signal US according to the scheme A, the stylus 2 can reliably transmit the uplink signal US according to the scheme A unless the stylus 2 leaves the sensing range SR (FIG. 1). You will be able to receive. Therefore, the communication according to the method C is not started, and the communication according to the method A can be started.

図17も、本実施の形態によるスタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。同図には特に、優先順位の低い方式Cによる通信が開始されてしまった後、優先順位の高い方式Aによる通信に切り替えるためのスタイラス2及びセンサコントローラ31の動作を示している。本実施の形態によるスタイラス2及びセンサコントローラ31を用いれば、図16を参照して説明したように方式Cによる通信が開始されることはないので、基本的にはここで説明する動作が必要となる場合はないはずであるが、何らかの理由によりスタイラス2がアップリンク信号USの受信に失敗してしまい、その結果として方式Cによる通信が開始されることもあり得る(例えば、後述する図18において、センサコントローラ31が方式Aによるアップリンク信号USを送信しているにも関わらず、スタイラス2がステップS108でその受信に失敗し、ステップS111で自身の動作モードを動作モードCと決定する場合など)ので、ここで説明する動作が必要となる。なお、ここではスタイラス2が動作モードCで動作していることを前提とするが、以下で説明する動作は、スタイラス2が未確定モードPで動作している場合においても同様である。 FIG. 17 is also a diagram showing signals transmitted and received between the stylus 2 and the sensor controller 31 according to this embodiment. In particular, the figure shows the operation of the stylus 2 and the sensor controller 31 for switching to the communication by the method A having a high priority after the communication by the method C having a low priority is started. If the stylus 2 and the sensor controller 31 according to the present embodiment are used, the communication according to the method C is not started as described with reference to FIG. 16, and thus basically the operation described here is required. However, the stylus 2 may fail to receive the uplink signal US for some reason, and as a result, the communication by the method C may be started (for example, in FIG. 18 described later). , The stylus 2 fails to receive it in step S108 even though the sensor controller 31 is transmitting the uplink signal US according to the method A, and determines its own operation mode as the operation mode C in step S111. ), so the operation described here is required. Although it is assumed here that the stylus 2 is operating in the operation mode C, the operations described below are the same when the stylus 2 is operating in the undetermined mode P.

図17に示すように、動作モードCで動作しているスタイラス2は、自身が方式A,Cに対応していることを示す機能情報(具体的には、固有IDの全部又は一部)を含むダウンリンク信号DS(D3。第1の信号)を継続的に送信する。 As shown in FIG. 17, the stylus 2 operating in the operation mode C has function information (specifically, all or part of the unique ID) indicating that the stylus 2 supports the methods A and C. The downlink signal DS (D3, the first signal) containing the signal is continuously transmitted.

第1ペンダウンPD1が発生した時刻t0の後の時刻t1でセンサコントローラ31がダウンリンク信号DS(D3)を受信すると、センサコントローラ31の動作モードが動作モードCに変化する。このとき、センサコントローラ31は、ダウンリンク信号DS(D3)内に含まれる固有IDに基づき、スタイラス2が対応している方式を判定する。そして、スタイラス2が方式Aに対応していると判定した場合、センサコントローラ31はそれ以後、ダウンリンク信号DSの送信が途切れる度に一時的に自身の動作モードを動作モードAに切り替え、方式Aによるアップリンク信号US(第2の信号)の送信を実行する。こうして送信されるアップリンク信号USは、動作モードAへの切り替え指示としての役割を有している。 When the sensor controller 31 receives the downlink signal DS(D3) at time t1 after time t0 when the first pen down PD1 occurs, the operation mode of the sensor controller 31 changes to the operation mode C. At this time, the sensor controller 31 determines the method supported by the stylus 2 based on the unique ID included in the downlink signal DS(D3). When it is determined that the stylus 2 is compatible with the method A, the sensor controller 31 thereafter temporarily switches its operation mode to the operation mode A each time the transmission of the downlink signal DS is interrupted. The transmission of the uplink signal US (second signal) by The uplink signal US thus transmitted serves as an instruction to switch to the operation mode A.

スタイラス2は、センサコントローラ31が上記動作を行うのであればアップリンク信号USを送信するであろうタイミングで、方式Aによるアップリンク信号USの受信を試みる。具体的には、ダウンリンク信号DSの送信インターバルで、方式Aによるアップリンク信号USの受信動作を行えばよい。ただし、送信インターバルで必ず受信動作を行うこととすると電源25(図1)の消耗が大きくなるので、図17に示すように、例えば第2ペンダウンPD2(時刻t2)を検出した直後のダウンリンク信号DSの送信インターバル(時刻t3と時刻t4の間)で、方式Aによるアップリンク信号USの受信動作を行うようにすることが好適である。もちろん、第2ペンダウンPD2を検出する前の段階(第1ペンダウンPD1と第2ペンダウンPD2の間を含む)で方式Aによるアップリンク信号USの受信動作を行うこととしてもよく、そうすることでスタイラス2は、時刻t2の到来前に方式Aによるアップリンク信号US(図17において時刻t1より後ろに位置する方式Aのアップリンク信号US)を検出することが可能になる。 The stylus 2 attempts to receive the uplink signal US according to the scheme A at a timing at which the sensor controller 31 will transmit the uplink signal US if the sensor controller 31 performs the above operation. Specifically, the reception operation of the uplink signal US by the method A may be performed at the transmission interval of the downlink signal DS. However, if the reception operation is always performed at the transmission interval, the power supply 25 (FIG. 1) will be consumed much. Therefore, as shown in FIG. 17, for example, the downlink signal immediately after the second pen down PD2 (time t2) is detected. It is preferable to perform the operation of receiving the uplink signal US according to the scheme A in the DS transmission interval (between time t3 and time t4). Of course, the reception operation of the uplink signal US by the method A may be performed in the stage before the detection of the second pen-down PD2 (including between the first pen-down PD1 and the second pen-down PD2). 2 becomes capable of detecting the uplink signal US according to the scheme A (uplink signal US of the scheme A located after the time t1 in FIG. 17) before the arrival of the time t2.

スタイラス2は、時刻t4で方式Aによるアップリンク信号USを受信すると、自身の動作モードを動作モードAに切り替える。一方、センサコントローラ31は、方式Aによるアップリンク信号USを何度か送信した後、方式Aによるダウンリンク信号DSの受信を試みる。図17の例では、2回目の送信の後にこの試行を実施しているが、1回目の送信の後に実行してもよいし、3回目以降の送信の後に実行してもよい。また、複数回にわたって、方式Aによるダウンリンク信号DSの受信を試みることとしてもよい。こうして方式Aによるダウンリンク信号DSの受信を試みた結果、時刻t5で実際に方式Aによるダウンリンク信号DSを受信したセンサコントローラ31は、それに応じて自身の動作モードを動作モードAに切り替え、それ以降、動作モードAで動作を行う。これにより、スタイラス2とセンサコントローラ31の間で方式Aによる通信が開始される。 When the stylus 2 receives the uplink signal US according to the scheme A at time t4, the stylus 2 switches its operation mode to the operation mode A. On the other hand, the sensor controller 31 tries to receive the downlink signal DS according to the scheme A after transmitting the uplink signal US according to the scheme A several times. In the example of FIG. 17, this trial is performed after the second transmission, but it may be performed after the first transmission or after the third and subsequent transmissions. In addition, the downlink signal DS according to the scheme A may be tried to be received a plurality of times. As a result of attempting to receive the downlink signal DS according to the method A in this way, the sensor controller 31 that actually receives the downlink signal DS according to the method A at time t5 switches its operation mode to the operation mode A accordingly, and After that, the operation is performed in the operation mode A. As a result, communication according to method A is started between the stylus 2 and the sensor controller 31.

図18〜図20は、本実施の形態によるスタイラス2の動作を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるスタイラス2の動作について、より詳しく説明する。 18 to 20 are process flow charts showing the operation of the stylus 2 according to the present embodiment. Hereinafter, the operation of the stylus 2 according to the present embodiment will be described in more detail with reference to these drawings.

図18に示すように、スタイラス2はまず、自身の動作モードを未確定モードPと決定する(ステップS101)。そして、方式Aでの受信開始タイミングの到来、方式Cでの送信開始タイミングの到来のそれぞれを検出する(ステップS102,S104)。方式Aでの受信開始タイミングが到来した場合、スタイラス2は、方式Aによるアップリンク信号USの受信動作を起動する(ステップS103)。また、方式Cでの送信開始タイミングが到来した場合、スタイラス2は、方式Cによるダウンリンク信号DSの送信動作を起動する(ステップS105)。 As shown in FIG. 18, the stylus 2 first determines its own operation mode as the undetermined mode P (step S101). Then, the arrival of the reception start timing in the scheme A and the arrival of the transmission start timing in the scheme C are detected (steps S102 and S104). When the reception start timing in scheme A arrives, the stylus 2 activates the reception operation of the uplink signal US according to scheme A (step S103). When the transmission start timing in scheme C arrives, the stylus 2 activates the transmission operation of the downlink signal DS in scheme C (step S105).

スタイラス2はまた、ステップS103で開始した受信動作によりアップリンク信号USが受信されたか否かを判定し(ステップS106)、受信されたと判定した場合(すなわち、方式Aによるアップリンク信号USが受信された場合)には自身の動作モードを動作モードAに切り替える(ステップS110)。 The stylus 2 also determines whether or not the uplink signal US has been received by the reception operation started in step S103 (step S106), and when it determines that the uplink signal US has been received (that is, the uplink signal US according to scheme A is received). If it does), the operation mode of itself is switched to the operation mode A (step S110).

スタイラス2は、ステップS106による判定と並行して第2ペンダウンPD2が発生したか否かも判定し(ステップS107)、発生したと判定した場合には、ステップS103における定期的な受信動作とは別に、方式Aによるアップリンク信号USの受信動作を起動する(ステップS108)。この受信動作は、上述したように、方式Aによるアップリンク信号USを受信するまで、少なくともセンサコントローラ31の送信周期(図16に示した周期SP2)以上の時間にわたって継続される。そして、この受信動作によりアップリンク信号USが受信されたか否かを判定し(ステップS109)、受信されたと判定した場合には、自身の動作モードを動作モードAに切り替える(ステップS110)一方、受信しなかったと判定した場合には、自身の動作モードを動作モードCに切り替える(ステップS111)。ステップS107で第2ペンダウンPD2が発生していないと判定した場合には、ステップS102に戻って処理を続ける。 The stylus 2 also determines whether or not the second pen-down PD 2 has occurred in parallel with the determination in step S106 (step S107), and if it determines that the second pen-down PD 2 has occurred, in addition to the regular receiving operation in step S103, The operation of receiving the uplink signal US according to the method A is activated (step S108). As described above, this reception operation is continued for at least the transmission cycle of the sensor controller 31 (cycle SP2 shown in FIG. 16) or more until the uplink signal US according to the scheme A is received. Then, it is determined whether or not the uplink signal US has been received by this receiving operation (step S109), and if it is determined that the uplink signal US has been received, the operation mode of itself is switched to the operation mode A (step S110), while receiving If it is determined that the operation has not been performed, the operation mode of itself is switched to the operation mode C (step S111). When it is determined in step S107 that the second pen-down PD2 has not occurred, the process returns to step S102 and continues.

図19は、動作モードAでの動作を開始した後のスタイラス2の動作を示している。同図に示すように、スタイラス2は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS121,S123)。そして、送信開始タイミングが到来した場合には方式Aによるダウンリンク信号DSの送信動作を起動し(ステップS122)、受信開始タイミングが到来した場合には方式Aによるアップリンク信号USの受信動作を起動する(ステップS124)。 FIG. 19 shows the operation of the stylus 2 after starting the operation in the operation mode A. As shown in the figure, the stylus 2 detects the arrival of the transmission start timing and the arrival of the reception start timing (steps S121 and S123). Then, when the transmission start timing arrives, the operation of transmitting the downlink signal DS by the method A is activated (step S122), and when the reception start timing comes, the operation of receiving the uplink signal US by the method A is activated. (Step S124).

スタイラス2はまた、ステップS124で開始した受信動作によりアップリンク信号USが受信されたか否かを判定し(ステップS125)、受信されたと判定した場合には、ステップS121に戻って処理を繰り返す。一方、受信されなかったと判定した場合には、自身の動作モードを未確定モードPに戻すとともに(ステップS126)、処理を図18のステップS102に戻す。この処理は、スタイラス2がタッチ面3tから離れた場合に、スタイラス2を未確定モードPに戻すために実行されるものである。 The stylus 2 also determines whether or not the uplink signal US has been received by the reception operation started in step S124 (step S125), and if it determines that the uplink signal US has been received, the process returns to step S121 and repeats the processing. On the other hand, when it is determined that it has not been received, the operation mode of itself is returned to the undetermined mode P (step S126), and the process is returned to step S102 of FIG. This process is executed to return the stylus 2 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t.

図20は、動作モードCでの動作を開始した後のスタイラス2の動作を示している。同図に示すように、スタイラス2は、送信開始タイミングの到来の検出を行い(ステップS131)、送信開始タイミングが到来した場合に方式Cによるダウンリンク信号DSの送信動作を起動する(ステップS132)。 FIG. 20 shows the operation of the stylus 2 after starting the operation in the operation mode C. As shown in the figure, the stylus 2 detects the arrival of the transmission start timing (step S131), and when the transmission start timing arrives, activates the transmission operation of the downlink signal DS by the method C (step S132). ..

スタイラス2はまた、ステップS131による検出と並行して第2ペンダウンPD2が発生したか否かの判定も行い(ステップS133)、発生したと判定した場合に、センサコントローラ31によるアップリンク信号USの送信が期待されるタイミングで、方式Aによるアップリンク信号USの受信動作を起動する(ステップS134)。この期待されるタイミングは、例えば方式Cによるダウンリンク信号DSの送信インターバルである。そして、方式Aによるアップリンク信号USを受信した場合には、自身の動作モードを動作モードAに切り替え(ステップS136)、処理を図19のステップS121に移す。方式Aによるアップリンク信号USを受信しなかった場合には、ステップS131に戻って動作モードCでの処理を続ける。ステップS133で第2ペンダウンPD2が発生していないと判定した場合にも、ステップS131に戻って処理を続ける。 The stylus 2 also determines whether or not the second pen-down PD 2 has occurred in parallel with the detection in step S131 (step S133), and when it determines that the second pen-down PD 2 has occurred, the sensor controller 31 transmits the uplink signal US. At the timing when is expected, the operation of receiving the uplink signal US according to the scheme A is activated (step S134). This expected timing is, for example, the transmission interval of the downlink signal DS according to scheme C. Then, when the uplink signal US according to the scheme A is received, the own operation mode is switched to the operation mode A (step S136), and the process proceeds to step S121 in FIG. If the uplink signal US according to the scheme A is not received, the process returns to step S131 and the processing in the operation mode C is continued. Even when it is determined in step S133 that the second pen-down PD2 has not occurred, the process returns to step S131 to continue the processing.

図21〜図24は、本実施の形態によるセンサコントローラ31が行う処理を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。 21 to 24 are processing flow charts showing processing performed by the sensor controller 31 according to the present embodiment. Hereinafter, the operation of the sensor controller 31 according to the present embodiment will be described in more detail with reference to these drawings.

図21に示すように、センサコントローラ31はまず、自身の動作モードを未確定モードPと決定する(ステップS141)。そして、方式Aでの受信開始タイミングの到来、方式Aでの送信開始タイミングの到来、方式Cでの受信開始タイミングの到来のそれぞれを検出する(ステップS142,S144,S146)。方式Aでの受信開始タイミングが到来した場合、センサコントローラ31は、方式Aによるダウンリンク信号DSの受信動作を起動する(ステップS143)。同様に、センサコントローラ31は、方式Aでの送信開始タイミングが到来した場合には方式Aによるアップリンク信号USの送信動作を起動し(ステップS145)、方式Cでの受信開始タイミングが到来した場合には方式Cによるダウンリンク信号DSの受信動作を起動する(ステップS147)。 As shown in FIG. 21, the sensor controller 31 first determines its operation mode as the undetermined mode P (step S141). Then, the arrival of the reception start timing in the scheme A, the arrival of the transmission start timing in the scheme A, and the arrival of the reception start timing in the scheme C are detected (steps S142, S144, S146). When the reception start timing in scheme A arrives, the sensor controller 31 activates the reception operation of the downlink signal DS according to scheme A (step S143). Similarly, when the transmission start timing of scheme A arrives, the sensor controller 31 activates the transmission operation of the uplink signal US according to scheme A (step S145), and when the reception start timing of scheme C arrives. In step S147, the receiving operation of the downlink signal DS according to method C is activated.

センサコントローラ31はまた、ステップS143又はステップS147で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定し(ステップS148)、ステップS143で開始した受信動作によりダウンリンク信号DSが受信されたと判定した場合(すなわち、方式Aによるダウンリンク信号DSが受信された場合)には、自身の動作モードを動作モードAに切り替える(ステップS149)。一方、ステップS147で開始した受信動作によりダウンリンク信号DSが受信されたと判定した場合(すなわち、方式Cによるダウンリンク信号DSが受信された場合)には、自身の動作モードを動作モードCに切り替えたうえで(ステップS150)、そのダウンリンク信号DSにスタイラス2が方式Aに対応していることを示す機能情報(具体的には、固有IDの全部又は一部)が含まれるか否かを判定する(ステップS151)。ダウンリンク信号DSにスタイラス2が方式Aに対応していることを示す機能情報が含まれていないと判定した場合、センサコントローラ31は処理を図23のステップS171に移し、方式Cによる通常動作を開始する。一方、含まれていると判定した場合には、処理を図24のステップS181に移し、スタイラス2を動作モードAに移行させるための処理を実行する。 The sensor controller 31 also determines whether or not the downlink signal DS is received by the reception operation started in step S143 or step S147 (step S148), and the downlink signal DS is received by the reception operation started in step S143. If it is determined that the downlink signal DS has been received (that is, the downlink signal DS according to the scheme A is received), the operation mode of itself is switched to the operation mode A (step S149). On the other hand, when it is determined that the downlink signal DS is received by the reception operation started in step S147 (that is, when the downlink signal DS according to the scheme C is received), the own operation mode is switched to the operation mode C. After that (step S150), it is determined whether or not the downlink signal DS includes the function information (specifically, all or part of the unique ID) indicating that the stylus 2 is compatible with the method A. The determination is made (step S151). When it is determined that the downlink signal DS does not include the function information indicating that the stylus 2 corresponds to the method A, the sensor controller 31 moves the process to step S171 in FIG. Start. On the other hand, if it is determined that the stylus 2 is included, the process proceeds to step S181 in FIG. 24, and the process for shifting the stylus 2 to the operation mode A is executed.

図22は、動作モードAでの動作を開始した後のセンサコントローラ31の動作を示している。同図に示すように、センサコントローラ31は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS161,S163)。そして、送信開始タイミングが到来した場合には方式Aによるアップリンク信号USの送信動作を起動し(ステップS162)、受信開始タイミングが到来した場合には方式Aによるダウンリンク信号DSの受信動作を起動する(ステップS164)。 FIG. 22 shows the operation of the sensor controller 31 after starting the operation in the operation mode A. As shown in the figure, the sensor controller 31 detects each of the arrival of the transmission start timing and the arrival of the reception start timing (steps S161 and S163). Then, when the transmission start timing arrives, the operation of transmitting the uplink signal US by the method A is activated (step S162), and when the reception start timing arrives, the operation of receiving the downlink signal DS by the method A is activated. Yes (step S164).

センサコントローラ31はまた、ステップS164で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定し(ステップS165)、受信されたと判定した場合には、ステップS161に戻って処理を繰り返す。一方、受信されなかったと判定した場合には、自身の動作モードを未確定モードPに戻すとともに(ステップS166)、処理を図21のステップS142に戻す。この処理は、スタイラス2がタッチ面3tから離れた場合に、センサコントローラ31を未確定モードPに戻すために実行されるものである。 The sensor controller 31 also determines whether or not the downlink signal DS has been received by the reception operation started in step S164 (step S165). If it is determined that the downlink signal DS has been received, the process returns to step S161 to repeat the processing. On the other hand, when it is determined that it has not been received, the operation mode of itself is returned to the undetermined mode P (step S166), and the process is returned to step S142 of FIG. This process is executed to return the sensor controller 31 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t.

図23は、動作モードCでの動作を開始した後のセンサコントローラ31の動作を示している。同図に示すように、センサコントローラ31は、受信開始タイミングの到来を検出する(ステップS171)。そして、受信開始タイミングが到来した場合に、方式Cによるダウンリンク信号DSの受信動作を起動する(ステップS172) FIG. 23 shows the operation of the sensor controller 31 after starting the operation in the operation mode C. As shown in the figure, the sensor controller 31 detects the arrival of the reception start timing (step S171). Then, when the reception start timing arrives, the operation of receiving the downlink signal DS by the scheme C is activated (step S172).

センサコントローラ31はまた、ステップS172で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定し(ステップS173)、受信されたと判定した場合には、ステップS171に戻って処理を繰り返す。一方、受信されなかったと判定した場合には、自身の動作モードを未確定モードPに戻すとともに(ステップS174)、処理を図21のステップS142に戻す。この処理は、図22のステップS166と同様、スタイラス2がタッチ面3tから離れた場合に、センサコントローラ31を未確定モードPに戻すために実行されるものである。 The sensor controller 31 also determines whether or not the downlink signal DS has been received by the reception operation started in step S172 (step S173), and when it determines that the downlink signal DS has been received, returns to step S171 and repeats the processing. On the other hand, when it is determined that it has not been received, the operation mode of itself is returned to the undetermined mode P (step S174), and the process is returned to step S142 of FIG. This process is executed to return the sensor controller 31 to the undetermined mode P when the stylus 2 moves away from the touch surface 3t, as in step S166 in FIG.

図24は、図21のステップS150で、スタイラス2が方式Cによって送信したダウンリンク信号DSにスタイラス2が方式Aに対応していることを示す機能情報(具体的には、スタイラス2が方式Aに対応していることを示す固有ID)が含まれていた場合のセンサコントローラ31の動作を示している。この場合、上述したように、センサコントローラ31はスタイラス2を動作モードAに移行させるための動作を行う。 FIG. 24 is functional information indicating that the stylus 2 corresponds to the method A to the downlink signal DS transmitted by the stylus 2 according to the method C in step S150 of FIG. 21 (specifically, the stylus 2 uses the method A. Shows the operation of the sensor controller 31 in the case where a unique ID indicating that it corresponds to is included. In this case, as described above, the sensor controller 31 performs the operation for shifting the stylus 2 to the operation mode A.

具体的には、センサコントローラ31はまず、方式Cによるダウンリンク信号DSの受信開始タイミングの到来を検出する(ステップS181)。そして、受信開始タイミングが到来した場合に、方式Cによるダウンリンク信号DSの受信動作を起動する(ステップS182)。 Specifically, the sensor controller 31 first detects the arrival of the reception start timing of the downlink signal DS according to the method C (step S181). Then, when the reception start timing arrives, the operation of receiving the downlink signal DS by the method C is activated (step S182).

センサコントローラ31はまた、ダウンリンク信号DSの送信が途切れたか否かについての判定を行う(ステップS183)。センサコントローラ31は、ダウンリンク信号DSの受信が終了したときにこの判定を行い、その時点で次のダウンリンク信号DSの受信開始タイミングが始まるまでの間に所定時間以上の間がある場合に、送信が途切れたと判定する。 The sensor controller 31 also determines whether or not the transmission of the downlink signal DS is interrupted (step S183). The sensor controller 31 makes this determination when the reception of the downlink signal DS ends, and if there is a predetermined time or more before the reception start timing of the next downlink signal DS starts at that time, It is determined that the transmission is interrupted.

ステップS183で送信が途切れていないと判定した場合、センサコントローラ31は、ステップS181に戻って処理を続ける。一方、送信が途切れたと判定した場合には、自身の動作モードを動作モードAに切り替え(ステップS184)、方式Aによるアップリンク信号の送信動作を起動する(ステップS185)。そして、この送信動作による送信回数が所定回数に達したか否かを判定する(ステップS186)。 If it is determined in step S183 that the transmission is not interrupted, the sensor controller 31 returns to step S181 and continues the processing. On the other hand, when it is determined that the transmission is interrupted, the own operation mode is switched to the operation mode A (step S184), and the uplink signal transmission operation according to the scheme A is activated (step S185). Then, it is determined whether or not the number of transmissions by this transmission operation has reached a predetermined number (step S186).

ステップS186で所定回数に達したと判定した場合、センサコントローラ31は、方式Aによるダウンリンク信号DSの受信開始タイミングの到来を検出する(ステップS187)。このタイミングは、方式Aによるアップリンク信号USを受信したスタイラス2が、方式Aによるダウンリンク信号DSの送信を開始するタイミングである。センサコントローラ31は、受信開始タイミングが到来した場合に、方式Aによるダウンリンク信号DSの受信動作を起動する(ステップS188)。 When it is determined in step S186 that the number of times has reached the predetermined number, the sensor controller 31 detects the arrival of the reception start timing of the downlink signal DS according to the method A (step S187). This timing is the timing at which the stylus 2 that has received the uplink signal US according to the scheme A starts transmitting the downlink signal DS according to the scheme A. When the reception start timing arrives, the sensor controller 31 activates the reception operation of the downlink signal DS by the method A (step S188).

続いてセンサコントローラ31は、ステップS188で開始した受信動作によりダウンリンク信号DSが受信されたか否かを判定し(ステップS189)、受信されたと判定した場合には、自身の動作モードを動作モードAに切り替えた後(ステップS192)、処理を図22のステップS161に移す。これにより、スタイラス2とセンサコントローラ31との間で方式Aによる通信が開始される。 Subsequently, the sensor controller 31 determines whether or not the downlink signal DS is received by the reception operation started in step S188 (step S189), and when it is determined that the downlink signal DS is received, sets its operation mode to the operation mode A. After switching to (step S192), the process proceeds to step S161 in FIG. As a result, communication according to method A is started between the stylus 2 and the sensor controller 31.

ステップS186で所定回数に達していないと判定した場合、又は、ステップS189で受信されなかったと判定した場合、センサコントローラ31は自身の動作モードを動作モードCに切り替える(ステップS190)。そして、ステップS188で受信動作を試みた回数が所定回数に達したか否かを判定し(ステップS191)、達したと判定した場合には、処理を図23のステップS171に移す。これは、いつまでも方式Aによるダウンリンク信号DSが受信されないことからセンサコントローラ31が方式Aによる通信を断念した場合に相当し、スタイラス2とセンサコントローラ31との間で方式Cによる通信が開始される。一方、ステップS190で達していないと判定した場合、センサコントローラ31はステップS181に戻って処理を継続する。 If it is determined in step S186 that the number of times has not reached the predetermined number, or if it is determined in step S189 that it has not been received, the sensor controller 31 switches its operation mode to the operation mode C (step S190). Then, in step S188, it is determined whether or not the number of times the reception operation has been attempted has reached a predetermined number (step S191), and when it is determined that the number has been reached, the process proceeds to step S171 in FIG. This corresponds to the case where the sensor controller 31 gives up the communication by the method A because the downlink signal DS by the method A is not received forever, and the communication by the method C is started between the stylus 2 and the sensor controller 31. .. On the other hand, if it is determined in step S190 that it has not reached, the sensor controller 31 returns to step S181 and continues the processing.

以上説明したように、本実施の形態によるスタイラス2により実行される方法によっても、スタイラス2は、タッチ面3tへの接触後直ちに、方式Aによる信号の受信動作を起動することができる。したがって、タッチ面3tに接触してからスタイラス2が動作モードAに設定されるまでの時間を短縮することが可能になる。 As described above, also by the method performed by the stylus 2 according to the present embodiment, the stylus 2 can activate the signal receiving operation according to the method A immediately after the contact with the touch surface 3t. Therefore, it is possible to shorten the time from the contact with the touch surface 3t to the setting of the stylus 2 in the operation mode A.

また、本実施の形態によるスタイラス2とセンサコントローラ31とにより実行される方法によれば、スタイラス2の動作モードが方式Cによる信号の一方向送信を行う動作モードCであったとしても、スタイラス2が方式Aに対応していることを把握したセンサコントローラ31の指示(具体的には、方式Aによるアップリンク信号USの送信)により、スタイラス2の動作モードを動作モードAに切り替えることができる。したがって、スタイラス2とセンサコントローラ31の間で、方式Aによる通信を開始することが可能になる。 Further, according to the method executed by the stylus 2 and the sensor controller 31 according to the present embodiment, even if the operation mode of the stylus 2 is the operation mode C in which one-way signal transmission by the method C is performed, the stylus 2 The operation mode of the stylus 2 can be switched to the operation mode A according to an instruction from the sensor controller 31 that recognizes that the method A corresponds to the method A (specifically, transmission of the uplink signal US according to the method A). Therefore, it is possible to start communication according to the method A between the stylus 2 and the sensor controller 31.

次に、本発明の第3の実施の形態について説明する。本実施の形態によるスタイラス2は、自身の動作モードに応じてインジケータ26の表示内容が制御可能とされている点で、第1及び第2の実施の形態によるスタイラス2と相違する。その他の点及びセンサコントローラ31の構成については第1又は第2の実施の形態と同様であるので、以下では相違点に着目して説明する。 Next, a third embodiment of the present invention will be described. The stylus 2 according to the present embodiment differs from the stylus 2 according to the first and second embodiments in that the display content of the indicator 26 can be controlled according to the operation mode of the stylus 2. The other points and the configuration of the sensor controller 31 are the same as those of the first or second embodiment, and therefore the following description will be given focusing on the differences.

本実施の形態によるスタイラス2の信号処理部24は、第1及び第2の実施の形態で説明したようにして決定した動作モードによって異なる表示を行うよう、インジケータ26を制御する。つまり、第1の方式による信号を送信する第1の動作モードで動作を行う場合と、第2の方式による信号を送信する第2の動作モードで動作する場合とで異なる表示を行うよう、インジケータ26を制御する。また、第1の動作モードで動作を行うか、又は、第2の動作モードで動作するかを決定する前の段階、すなわち、上述した未確定モードで動作する場合においては、第1及び第2の動作モードのいずれとも異なる表示を行うようにインジケータ26を制御する。これによれば、例えば第1の方式によるアップリンク信号USを受信した場合の信号処理部24は、自身の動作モードが第1の動作モードとなることによって、第1の動作モードに対応する表示を行うようにインジケータ26を制御することになる。 The signal processing unit 24 of the stylus 2 according to the present embodiment controls the indicator 26 so as to display differently depending on the operation mode determined as described in the first and second embodiments. In other words, the indicator is displayed so as to display differently when the operation is performed in the first operation mode in which the signal according to the first method is transmitted and when the operation is performed in the second operation mode in which the signal according to the second method is transmitted. Control 26. In addition, before deciding whether to operate in the first operation mode or the second operation mode, that is, in the case of operating in the undetermined mode described above, the first and second operations are performed. The indicator 26 is controlled so as to provide a display different from any of the operation modes. According to this, for example, when the signal processing unit 24 receives the uplink signal US according to the first method, the operation mode of the signal processing unit 24 becomes the first operation mode, and accordingly, the display corresponding to the first operation mode is performed. The indicator 26 will be controlled so that

第1及び第2の実施の形態で説明したようにスタイラス2の動作モードがアップリンク信号USや筆圧を検出する都度切り替わるとすれば、ユーザは、今どの動作モードで動いているのかを把握することが困難になる。例えば、電子機器3とスタイラス2とが同じ動作モードであるにもかかわらず動かない場合など、何が起こっているのか把握することができない。本実施の形態によるスタイラス2によれば、ユーザは、インジケータ26を確認することによって、スタイラス2(及びセンサコントローラ31)が今どの動作モードで動作しているのかを知ることが可能になる。 As described in the first and second embodiments, if the operation mode of the stylus 2 is switched every time the uplink signal US or the writing pressure is detected, the user knows which operation mode is currently active. Difficult to do. For example, when the electronic device 3 and the stylus 2 do not move even though they are in the same operation mode, it is impossible to understand what is happening. With the stylus 2 according to the present embodiment, the user can check the indicator 26 to know in which operation mode the stylus 2 (and the sensor controller 31) is currently operating.

インジケータ26の具体的な表示内容としては、種々のものが考えられる。例えば、インジケータ26が複数色で発光可能な発光ダイオードである場合であれば、未確定モードPのときに赤色点灯し、第1の動作モードのとき青色点灯し、第2の動作モードのときに緑色点灯する、というように動作モードごとに異なる色で点灯するようにインジケータ26の表示内容を制御することが考えられる。また、インジケータ26が単色で発光可能な発光ダイオードである場合であれば、未確定モードPのときには所定周期でオンオフを繰り返し、第1の動作モードのときには、第1の動作モードに切り替わったタイミングで上記所定周期より短い間隔で2回オンオフしてその後は消灯し、第2の動作モードのときには、第2の動作モードに切り替わったタイミングで1回だけオンオフしてその後は消灯する、というように、点滅と消灯を組み合わせてンジケータ26の表示内容を制御することが考えられる。 Various concrete display contents of the indicator 26 can be considered. For example, when the indicator 26 is a light emitting diode capable of emitting light in a plurality of colors, it lights in red in the undetermined mode P, lights in blue in the first operation mode, and lights in the second operation mode. It is conceivable to control the display content of the indicator 26 so that it lights in a different color for each operation mode, such as lighting in green. Further, if the indicator 26 is a light emitting diode capable of emitting light of a single color, the ON/OFF is repeated at a predetermined cycle in the undetermined mode P, and in the first operation mode, at the timing of switching to the first operation mode. It is turned on and off twice at intervals shorter than the predetermined cycle and then turned off, and when in the second operation mode, it is turned on and off only once at the timing of switching to the second operation mode and then turned off, and so on. It is conceivable to control the display contents of the indicator 26 by combining blinking and extinguishing.

以上、本発明の好ましい実施の形態について説明したが、本発明はこうした実施の形態に何等限定されるものではなく、本発明が、その要旨を逸脱しない範囲において、種々なる態様で実施され得ることは勿論である。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and the present invention can be implemented in various modes without departing from the scope of the invention. Of course.

例えば、上記実施の形態においては、スタイラス2は電極21(図1)を通じてアップリンク信号USを受信するものとしたが、例えばBlueTooth(登録商標)等の別途の無線通信手段により、アップリンク信号USを受信するものとしてもよい。また、アップリンク信号US(第1の方式による信号)は、スタイラス2が検出できる信号であればよく、送信電極と受信電極との相互容量を利用した指タッチの検出を実行するセンサコントローラ31が送信電極に供給する送信信号をアップリンク信号USとして利用するような場合も含まれる。 For example, although the stylus 2 receives the uplink signal US through the electrode 21 (FIG. 1) in the above-described embodiment, the uplink signal US may be received by a separate wireless communication means such as BlueTooth (registered trademark). May be received. Further, the uplink signal US (the signal according to the first method) may be any signal that can be detected by the stylus 2, and the sensor controller 31 that executes the detection of the finger touch using the mutual capacitance between the transmitting electrode and the receiving electrode. The case where the transmission signal supplied to the transmission electrode is used as the uplink signal US is also included.

また、上記実施の形態では、スタイラス2及びセンサコントローラ31は、ある動作モードで動作を始めた後、受信されるべき信号が受信されない場合に直ちに未確定モードPに戻ることとした(図9のステップS26、図10のステップS38、図12のステップS66、図13のステップS78、図19のステップS126、図22のステップS166、図23のステップS174)が、直ちに未確定モードPに戻るのではなく、例えば所定回数にわたって受信されない場合に未確定モードPに戻ることとしてもよい。 Further, in the above-described embodiment, the stylus 2 and the sensor controller 31 immediately return to the undetermined mode P when a signal to be received is not received after starting the operation in a certain operation mode (see FIG. 9). If step S26, step S38 in FIG. 10, step S66 in FIG. 12, step S78 in FIG. 13, step S126 in FIG. 19, step S166 in FIG. 22, step S174 in FIG. 23) immediately returns to the unconfirmed mode P, Alternatively, for example, the mode may be returned to the undetermined mode P when the reception is not performed for a predetermined number of times.

上記実施の形態では、複数の方式を最適化するように切り替えることを説明したが、本発明は、第2の方式として古いバージョンで動作する動作モードから、機能情報を用いてより新しいバージョンで動作する他の動作モードに切り替えるような場合にも適用可能であることは言うまでもない。 In the above-mentioned embodiment, it has been described that a plurality of methods are switched so as to be optimized. However, the present invention operates as a second method from an operation mode operating in an old version to a newer version using function information. It goes without saying that the present invention can be applied to the case of switching to another operation mode.

1 位置検出システム
2 スタイラス
3 電子機器
3t タッチ面
20 芯体
21 電極
22 筆圧検出部
23 スイッチ
24 信号処理部
25 電源
26 インジケータ
30 センサ
30X,30Y 線状電極
31 センサコントローラ
32 システムコントローラ
40 選択部
41x,41y 導体選択回路
44x,44y スイッチ
50 受信部
51 増幅回路
52 検波回路
53 AD変換器
60 送信部
61 パターン供給部
62 スイッチ
63 拡散処理部
64 符号列保持部
65 送信ガード部
70 ロジック部
80 MCU
DS ダウンリンク信号
PD1 第1ペンダウン
PD2 第2ペンダウン
SR センシング範囲
US アップリンク信号
1 Position Detection System 2 Stylus 3 Electronic Device 3t Touch Surface 20 Core 21 Electrode 22 Writing Pressure Detector 23 Switch 24 Signal Processor 25 Power Supply 26 Indicator 30 Sensor 30X, 30Y Linear Electrode 31 Sensor Controller 32 System Controller 40 Selector 41x , 41y Conductor selection circuit 44x, 44y Switch 50 Reception unit 51 Amplification circuit 52 Detection circuit 53 AD converter 60 Transmission unit 61 Pattern supply unit 62 Switch 63 Spreading processing unit 64 Code string holding unit 65 Transmission guard unit 70 Logic unit 80 MCU
DS Downlink signal PD1 1st pen down PD2 2nd pen down SR Sensing range US Uplink signal

Claims (7)

センサとの間で静電結合を介して信号を送受信するスタイラスであって、
ペン先の近傍に設けられた電極と、
前記ペン先がパネルに接触しているか否かを検出するための筆圧検出部と、
前記電極と前記筆圧検出部とに接続され、
所定の休止期間内に前記接触が前記筆圧検出部を介して検出された場合、前記電極と前記センサとの静電結合を介して前記センサから供給される第1の信号の受信動作を実行し、
所定の休止期間内に前記接触が検出されない場合、前記所定の休止期間をおいて前記受信動作を繰り返し実行する信号処理部と、
を備えるスタイラス。
A stylus that transmits and receives signals to and from a sensor via electrostatic coupling,
An electrode provided near the pen tip,
A writing pressure detection unit for detecting whether or not the pen tip is in contact with the panel,
Connected to the electrode and the writing pressure detection unit,
If the contact in a predetermined pause period is detected through the brush pressure detector, executes the receiving operation of the first signal supplied from said sensor via capacitive coupling between the said electrode sensor Then
If the contact is not detected within a predetermined rest period, a signal processing unit that repeatedly executes the reception operation after the predetermined rest period,
Stylus with.
前記信号処理部は、前記受信動作を、前記センサによる前記所定の信号の送信周期よりも長い時間にわたって継続する、
請求項1に記載のスタイラス。
The signal processing unit continues the reception operation for a time longer than a transmission cycle of the predetermined signal by the sensor,
The stylus according to claim 1.
前記信号処理部は、前記所定の信号が受信された場合に、該所定の信号に応じたダウンリンク信号の送信を行う、
請求項1に記載のスタイラス。
The signal processing unit, when the predetermined signal is received, transmits a downlink signal according to the predetermined signal,
The stylus according to claim 1.
前記第1の信号は、双方向通信に対応する第1の方式による信号であり、The first signal is a signal according to a first method compatible with bidirectional communication,
前記信号処理部は、前記所定の休止期間内に、前記スタイラスから前記センサへの一方向通信に対応する第2の方式による第2の信号の送信動作を実行する、The signal processing unit executes a second signal transmission operation by the second method corresponding to one-way communication from the stylus to the sensor during the predetermined rest period.
請求項1乃至3のいずれか一項に記載のスタイラス。The stylus according to any one of claims 1 to 3.
前記信号処理部は、前記接触が前記筆圧検出部を介して検出された後、前記送信動作を行うことなく前記受信動作を起動する、The signal processing unit activates the reception operation without performing the transmission operation after the contact is detected via the writing pressure detection unit,
請求項4に記載のスタイラス。The stylus according to claim 4.
前記信号処理部は、前記接触が前記筆圧検出部を介して検出された直後の前記送信動作のインターバルで、前記受信動作を実行する、The signal processing unit executes the reception operation at an interval of the transmission operation immediately after the contact is detected via the writing pressure detection unit,
請求項4に記載のスタイラス。The stylus according to claim 4.
ペン先の近傍に設けられた電極と、An electrode provided near the pen tip,
前記ペン先がパネルに接触しているか否かを検出するための筆圧検出部と、A writing pressure detection unit for detecting whether or not the pen tip is in contact with the panel,
前記電極と前記筆圧検出部とに接続された信号処理部とを有し、A signal processing unit connected to the electrode and the writing pressure detection unit,
センサとの間で信号の送受信を行うスタイラスにより実行される方法であって、A method performed by a stylus that sends and receives signals to and from a sensor,
前記信号処理部が、前記電極を介して前記センサから供給される第1の信号の受信動作を実行する第1のステップと、A first step in which the signal processing unit executes a receiving operation of a first signal supplied from the sensor via the electrode;
前記信号処理部が、所定の休止期間をおいて前記受信動作を繰り返し実行する第2のステップと、を含み、A second step in which the signal processing unit repeatedly executes the reception operation after a predetermined rest period,
前記信号処理部は、前記所定の休止期間内に前記接触が前記筆圧検出部を介して検出された場合に前記第1のステップを実行し、前記所定の休止期間内に前記接触が検出されない場合に前記第2のステップを実行する、The signal processing unit executes the first step when the contact is detected via the writing pressure detection unit within the predetermined rest period, and the contact is not detected within the predetermined rest period. If the second step is performed,
方法。Method.
JP2018122646A 2018-06-28 2018-06-28 Stylus and method performed by the stylus Active JP6710244B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018122646A JP6710244B2 (en) 2018-06-28 2018-06-28 Stylus and method performed by the stylus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018122646A JP6710244B2 (en) 2018-06-28 2018-06-28 Stylus and method performed by the stylus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018006511A Division JP6363807B2 (en) 2018-01-18 2018-01-18 Active stylus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020091517A Division JP6867535B2 (en) 2020-05-26 2020-05-26 Dual controllers and dual styli and how they are performed

Publications (2)

Publication Number Publication Date
JP2018165990A JP2018165990A (en) 2018-10-25
JP6710244B2 true JP6710244B2 (en) 2020-06-17

Family

ID=63922108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018122646A Active JP6710244B2 (en) 2018-06-28 2018-06-28 Stylus and method performed by the stylus

Country Status (1)

Country Link
JP (1) JP6710244B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6072989B2 (en) * 2014-06-30 2017-02-01 シャープ株式会社 Touch panel controller, touch panel system, and stylus pen
WO2016079776A1 (en) * 2014-11-17 2016-05-26 株式会社ワコム Position indicator

Also Published As

Publication number Publication date
JP2018165990A (en) 2018-10-25

Similar Documents

Publication Publication Date Title
JP6280297B1 (en) Method implemented by stylus, method implemented by dual stylus and dual controller, and dual stylus
JP6698583B2 (en) Active stylus
JP6749397B2 (en) Stylus and sensor controller
US11620008B2 (en) Position indicator
JP7064037B2 (en) Auxiliary devices and electronic devices
US10969914B2 (en) Method for sensor controller to detect stylus using repeated transmission of control signals, stylus, and system
US11385729B2 (en) Communication method, communication system, sensor controller, and stylus
JP7235685B2 (en) Sensor controller and active pen
JP6710244B2 (en) Stylus and method performed by the stylus
JP6363807B2 (en) Active stylus
JP6867535B2 (en) Dual controllers and dual styli and how they are performed
JP6487782B2 (en) Setting method of configuration type in position indicator
JP7159411B2 (en) Sensor controller, computer implemented method and electronics
WO2023042322A1 (en) System including pen and touch controller, method executed by pen, pen, and touch controller
JP7136940B2 (en) Stylus, control method and program executed by stylus
US20220035483A1 (en) Pen and sensor controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190613

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20190618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200428

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200526

R150 Certificate of patent or registration of utility model

Ref document number: 6710244

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250