JP6867535B2 - Dual controllers and dual styli and how they are performed - Google Patents

Dual controllers and dual styli and how they are performed Download PDF

Info

Publication number
JP6867535B2
JP6867535B2 JP2020091517A JP2020091517A JP6867535B2 JP 6867535 B2 JP6867535 B2 JP 6867535B2 JP 2020091517 A JP2020091517 A JP 2020091517A JP 2020091517 A JP2020091517 A JP 2020091517A JP 6867535 B2 JP6867535 B2 JP 6867535B2
Authority
JP
Japan
Prior art keywords
stylus
signal
operation mode
sensor controller
dual
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
JP2020091517A
Other languages
Japanese (ja)
Other versions
JP2020129415A (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 JP2020091517A priority Critical patent/JP6867535B2/en
Publication of JP2020129415A publication Critical patent/JP2020129415A/en
Application granted granted Critical
Publication of JP6867535B2 publication Critical patent/JP6867535B2/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.

近年、入力デバイスとして、静電結合を利用して信号を送信するスタイラスを備えた電子機器が注目されている。この種の電子機器は、さらにタッチセンサ及びセンサコントローラを備えており、センサコントローラは、タッチセンサを通じて受信したスタイラスからの信号を受信し、受信した信号に基づいてスタイラスの位置検出や筆圧検出を行うよう構成される。 In recent years, as an input device, an electronic device having a stylus for transmitting a signal by using electrostatic coupling has been attracting attention. This type of electronic device is further equipped with a touch sensor and a sensor controller, which receives a signal from the stylus received through the touch sensor and detects the position and pressure of the stylus 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. Specific examples thereof are disclosed in Patent Documents 1 to 4.

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

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

特許文献3には、スタイラスからセンサコントローラへの一方向にのみ信号の送信が行われる他の例が開示され、特許文献4には、スタイラスとセンサコントローラの間で双方向に信号の送信が行われる他の例が開示されている。 Patent Document 3 discloses another example in which a signal is transmitted from the stylus to the sensor controller in only one direction, and Patent Document 4 discloses a signal is transmitted in both directions 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 there is no compatibility between the types. As a result, conventionally, for example, when a user tries to use an electronic device corresponding to only the first method and an electronic device corresponding to only the second method side by side and alternately, the stylus is changed every time the electronic device is moved. It was inconvenient because I had to do it.

国際公開第2015/111159号公報International Publication No. 2015/11159 特開2014−63249号公報Japanese Unexamined Patent Publication No. 2014-63249 米国特許第8536471号明細書U.S. Pat. No. 8,536,471 米国特許出願公開第2012−0105362号明細書U.S. Patent Application Publication No. 2012-0105362

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

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

第一に、デュアルスタイラスがタッチ面に接触してからデュアルスタイラスの動作モードが決定するまでに長い時間を要する場合がある、という課題がある。センサコントローラがタッチ面から信号を送信する機能を有する場合、デュアルスタイラスは、この信号を受信することにより、タッチ面に接触する前にセンサコントローラの種別を知ることができる。 First, there is a problem that it may take a long time from the contact of the dual stylus with 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 touch when the signal from the sensor controller has not been received yet, such as when the user's operation is quick. It may lead to contact with the surface. In such a case, for a while after touching the touch surface (until the timing of signal reception of the dual stylus and the timing of signal transmission of the sensor controller match), input by the dual stylus cannot be performed. As a result, the user feels uncomfortable.

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

しかしながら、例えばデュアルスタイラス及びデュアルコントローラの双方がそれぞれ間欠的に第1の方式及び第2の方式での信号の送受信を行うとすると、タイミングによって、相手は第2の方式に対応する機器であると双方が認識してしまう場合がある。このような場合、第2の方式による通信が開始され、第1の方式での通信が行われなくなってしまう。 However, if, for example, both the dual stylus and the dual controller intermittently transmit and receive signals in the first method and the second method, the other party is a device corresponding to 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の方式での通信が行われなくなってしまう。 Further, for example, when the first method having a high priority supports two-way communication and the second method having a low priority supports one-way communication from the stylus to the sensor controller, it is quick 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, as described above, the communication by the first method is not performed.

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

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

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

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

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

本発明のさらに他の一側面によるデュアルスタイラスは、第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されるとともに、少なくとも前記第1の方式による信号を検出可能に構成されたデュアルスタイラスであって、インジケータと、前記第1の方式による信号を送信する第1の動作モードで動作を行うか、又は、前記第2の方式による信号を送信する第2の動作モードで動作するかを決定し、決定した動作モードが前記第1の動作モードである場合と前記第2の動作モードである場合とで異なる表示を行うよう前記インジケータを制御する制御部とを含むデュアルスタイラスである。 The dual stylus according to still another aspect of the present invention is configured to be capable of transmitting both the signal according to the first method and the signal according to the second method, and at least the signal according to the first method can be detected. The dual stylus is operated in the indicator and the first operation mode for transmitting the signal according to the first method, or in the second operation mode for transmitting the signal according to the second method. A dual stylus that determines whether to operate and controls the indicator to display differently depending on whether the determined operation mode is the first operation mode or 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 by the second method. , The operation mode of the dual stylus can be switched to the first operation mode by the instruction of the dual controller which grasps that the dual stylus corresponds to the first method. Therefore, it is possible to start communication by 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のモード遷移図である。It is a mode transition diagram of the stylus 2 and the sensor controller 31 according to the 1st Embodiment of this invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 according to the 1st Embodiment of this invention perform the operation by the background technique of this invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted and received between the stylus 2 and the sensor controller 31 when the stylus 2 and the sensor controller 31 according to the 1st Embodiment of this invention perform the operation by the background technique of this invention. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted and 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 by this embodiment. 本発明の第1の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted and 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 by this embodiment. 本発明の第1の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the stylus 2 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the stylus 2 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the stylus 2 by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the sensor controller 31 by 1st Embodiment of this invention. 本発明の第1の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the sensor controller 31 by 1st Embodiment of this invention. 本発明の第1の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the sensor controller 31 by 1st Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31のモード遷移図である。It is a mode transition diagram of the stylus 2 and the sensor controller 31 according to the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal transmitted and 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 by the background technique of this invention. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal which is transmitted and 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 by this embodiment. 本発明の第2の実施の形態によるスタイラス2及びセンサコントローラ31が本実施の形態による動作を行うとした場合に、スタイラス2及びセンサコントローラ31の間で送受信される信号を示す図である。It is a figure which shows the signal which is transmitted and 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 by this embodiment. 本発明の第2の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the stylus 2 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the stylus 2 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるスタイラス2の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the stylus 2 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation of the sensor controller 31 by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるセンサコントローラ31の動作を示す処理フロー図である。It is a processing flow diagram which shows the operation 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 a 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 includes a stylus 2 and an electronic device 3. Among them, the electronic device 3 is, for example, a tablet-type computer, and has a sensor 30 constituting a touch surface 3t, a sensor controller 31, and a system controller 32 for controlling each part 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 dual stylus and dual controller corresponding to the method A (first method) and the 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. Priorities are given to the methods A and B, and a higher priority than the method B is set in the method A.

図1中の破線矢印C1〜C5は、ユーザがスタイラス2を操作する典型的なサイクルを示している。また、図1に示したセンシング範囲SRは、センサコントローラ31が送信するアップリンク信号USをスタイラス2が受信することにより、又は、スタイラス2が送信するダウンリンク信号DSをセンサコントローラ31が受信することにより、スタイラス2及びセンサコントローラ31のいずれか一方が他方を検出可能な範囲を示している。 Dashed arrow arrows C1 to C5 in FIG. 1 indicate a typical cycle in which the user operates the stylus 2. Further, in the sensing range SR shown in FIG. 1, the sensor controller 31 receives the uplink signal US transmitted by the sensor controller 31 by the stylus 2 or the downlink signal DS transmitted by the stylus 2. Therefore, one of the stylus 2 and the sensor controller 31 indicates a 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 drawing a line on the touch surface 3t using the stylus 2, the user moves (downs) the stylus 2 from outside the sensing range SR into the sensing range SR (C1, C2), and desires it on the touch surface 3t. After moving to draw the trajectory of (C3), the stylus is moved (up) from the inside of the sensing range SR to the outside of the sensing range SR (C4, C5), and the series of cycles is repeated. In the present 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 in contact with 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, an electrode 21, a pen pressure detecting 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 so that its longitudinal direction coincides with the pen axial 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 20 to form the electrode 21. The rear end portion of the core body 20 is brought into contact with the pen pressure detecting portion 22. The writing pressure detecting unit 22 is a brush corresponding to the pressure applied to the tip of the core body 20 (the 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. It detects the pressure level, and in a specific example, it is composed of a variable capacitance module whose 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 to the sensor controller 31, the downlink signal DS is supplied from the signal processing unit 24 to the electrode 21, and the content of the downlink signal DS is adjusted accordingly. The charge is guided to the electrode 21. As a result, the capacitance in the sensor 30, which will be described later, changes, 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 corresponding to the incoming uplink signal US is induced in the electrode 21. The signal processing unit 24 receives the uplink signal US by detecting the electric charge thus induced in the electrode 21.

スイッチ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 accept an operation by the user. Specifically, it is configured to output switch information indicating its own pressing state to the signal processing unit 24 according to the operation state (pressed state) by the user. The switch information is information indicating one of two states, for example, 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 has a function of receiving the uplink signal US transmitted by the sensor controller 31 by the method A or the method B via the electrode 21, and generates a downlink signal DS by the method A or the method B to generate the downlink signal DS, and the sensor controller 31 It has a function of transmitting through the electrode 21 and a function of detecting the second pen-down PD2 (contact with the touch surface 3t) based on the pen pressure level detected by the pen pressure detecting unit 22. Which of the methods A and B is used by the signal processing unit 24 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 will be described later, the uplink signal US may include various commands, and in that case, the signal processing unit 24 acquires a command by demodulating and decoding the received uplink signal US, and according to the acquired command. The downlink signal DS is generated. Specifically, a downlink signal DS including various information such as a pen pressure level detected by the pen pressure detection unit 22 and switch information output from the switch 23 is generated based on an instruction by a 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 that is commonly used in all of the plurality of methods (in this case, methods A and B) supported by the stylus 2, and is information indicating the plurality of methods supported by the stylus 2. Includes. The signal processing unit 24 voluntarily receives an instruction from the command included in the uplink signal US, or voluntarily at a timing corresponding to some trigger including reception of the uplink signal US and the second pen-down PD2. Includes functional information in the downlink signal DS that includes 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 method A). 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 about the stylus 2, and is composed of, for example, a light emitting diode. The indicator 26 will be described in detail in the 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 figure also shows the configuration of the sensor 30. 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 capacitance are arranged by these linear electrodes 30X and 30Y. Join. This sensor 30 is used not only for stylus 2 but also for finger detection. Further, the sensor controller 31 includes 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 an uplink signal US by the method A or the method B, and is, for example, a pattern supply unit 61, a switch 62, a diffusion processing unit 63, a code string holding unit 64, and a transmission guard. It is configured to include part 65. The specific configuration of the transmission unit 60 described here is an example, and may differ depending on the method. Further, when the methods A and B require transmission units 60 having different configurations, each configuration may be provided in one transmission unit 60 and selectively operated. Which of the methods A and B is used by the transmission unit 60 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, the signal (or signal) corresponding to the detection pattern c1 during a predetermined continuous transmission period (for example, 3 msec). It has a function to continuously and repeatedly output a bit string). Further, it also has a function of continuously outputting a predetermined delimiter pattern STP at least twice immediately after the end of this continuous transmission period or at the start of transmission of control information c2 described later. 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 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 in transmission processing (a unit of information expressed by a transmission signal), and is a unit of information obtained by demodulating one symbol which is a reception signal in reception processing. The symbol value is a value that is converted into a bit string (hereinafter referred to as "bit string compatible value") and a value that is not converted into a bit string by the stylus 2 that receives the symbol (hereinafter referred to as "bit string non-compatible value"). Can include. As shown in Table 1 described later, the symbol related to the former takes a value of the number of powers of 2 and can be associated with a bit string such as "0001". The bit length of each symbol represented by the bit string in this way is determined by the specifications of the diffusion processing unit 63. On the other hand, the symbol related to the latter takes one or more values (for example, two), and takes a value that cannot be associated with a bit string represented by "P", "M", etc. as shown in Table 1 described later. In the example shown in Table 1 described later, "P" and "M" are associated with a predetermined diffusion code string and its inversion code string, respectively.

検出パターンc1はビット列非対応値のパターンにより表される。具体的には、「PMPMPM・・・」のように2つのビット列非対応値「P」「M」の繰り返しにより構成される。 The detection pattern c1 is represented by a pattern of non-bit string compatible values. Specifically, it is composed of 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 the 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" like "PMPMPM ..." as described above, the delimiter pattern STP is 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, 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 output to the diffusion processing unit 63. When the switch 62 selects the pattern supply unit 61, the detection pattern c1 or the delimiter pattern STP is supplied to the diffusion processing unit 63. On the other hand, when the switch 62 selects the MCU 80, the control information c2 is supplied from the MCU 80 to the diffusion processing unit 63.

制御情報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 content of instruction to the stylus 2, and is generated by the MCU 80. The control information c2 is different from the detection pattern c1 in that the control information c2 includes a symbol value (for example, 0 to 15) associated with the variable length bit string, and the value is not shared in advance with the stylus 2. .. Further, the control information c2 is a detection pattern c1 including the values “P” and “M” at the point indicated by the value “D” indicating the value of the number of powers (8 values) of 2 of the predetermined bit length described above. It's different.

符号列保持部64は、ロジック部70から供給される制御信号ctrl_t3に基づき、自己相関特性を有する11チップ長の拡散符号PNを生成して保持する機能を有する。符号列保持部64が保持している拡散符号PNは、拡散処理部63に供給される。 The code sequence holding unit 64 has a function of generating and holding a diffusion code PN having an autocorrelation characteristic and having an 11-chip length based on the control signal ctrl_t3 supplied from the logic unit 70. The diffusion code PN held by the code string holding unit 64 is supplied to the diffusion 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 via the switch 62 (information expressed 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 sequence having a length of 12 chips. Hereinafter, this function will be described with reference to specific examples.

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

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

表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, the symbol value "P" is first converted into a transmission chip sequence in which "1" is added to the beginning of the diffusion code PN "00010010111". Further, each of the symbol values "0" to "7" is a transmission chip sequence in which the diffusion code PN "00010010111" is cyclically shifted by the shift amount shown in Table 1 and "1" is added to the beginning of the code string. Will be converted. The other symbol values "M" "8" to "15" are converted into transmission chip sequences obtained by inverting the transmission chip strings 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 processing and supply it to the transmission guard unit 65.

送信ガード部65は、ロジック部70から供給される制御信号ctrl_t4に基づき、アップリンク信号USの送信期間と、スタイラス2からの信号を受信する受信期間との間に、送信動作と受信動作を切り替えるために送信と受信の両方を行わない期間であるガード期間を挿入する機能を有する。 The transmission guard unit 65 switches between a transmission operation and a reception operation between the transmission period of the uplink signal US and the reception period for 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 to insert a guard period, which is a period during which both transmission and reception are not 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 between a transmission period for transmitting a signal from the sensor 30 and a reception period for receiving a signal by the sensor 30 based on 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 receiving unit 50. Based on the control signal sTRy supplied from the logic unit 70, 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, 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 receiving unit 50. The conductor selection circuit 41x operates 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 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 plurality of linear electrodes 30X or the plurality of linear electrodes 30Y are selected by the conductor selection circuits 41x and 41y when, for example, the uplink signal US is transmitted from the entire surface of the 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 by the method A or the method B according to the control signal ctrl_r of the logic unit 70. Specifically, the amplifier circuit 51, the detection circuit 52, and the analog digital are used. (AD) Consists of including a converter 53. The specific configuration of the receiving unit 50 described here is also an example, and may differ depending on the method. Further, when the methods A and B require the receiving units 50 having different configurations, each configuration may be arranged in one receiving unit 50 and selectively operated. Which of the methods A and B is used by the receiving unit 50 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 amplifier 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 by 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. 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 of the above-mentioned control signals based on 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, y, etc. to the system controller 32, and supplies the data from the AD converter 53. When the digital signal to be output 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, the operation mode A (first operation mode) for communicating in the method A, and the method B. It is configured to operate in any of the operation modes B (second operation mode). Of these, the unconfirmed mode P means a state in which the device as the communication partner has not yet been detected. In the undetermined mode P, which of the operation modes A and B should be operated is not determined, and as will be described later, the transmission and reception of signals by the methods A and B are alternately repeated. The undetermined mode P can also be called a dual mode in which the undetermined mode P operates alternately in a plurality of operation modes such as methods A and B, and the 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. 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 the third embodiment described later.

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

図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 operate according to the background technology 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. As shown in FIG. 4, the operation modes of the stylus 2 and the sensor controller 31 before the first pen-down PD1 occurs are, in principle, the undetermined mode P.

未確定モード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 by the method A and the operation of receiving the uplink signal US by the method B, and the sensor controller 31 alternately transmits the operation of receiving the uplink signal US by the method A. The operation, the operation of receiving the downlink signal DS by the method A, the operation of transmitting the uplink signal US by the method B, and the operation of receiving the downlink signal DS by the method B are repeated in this order. Here, the reception operation and the transmission operation of each signal are continuously executed for a predetermined time predetermined for each signal. This point is the same for the reception operation and the transmission operation of each signal described later. Further, for each method, the cycle of the uplink signal US transmission operation by the sensor controller 31 and the cycle of the uplink signal US reception operation by the stylus 2 are configured so that one of them is not a multiple of the other. This is to avoid the occurrence of a situation in which the stylus 2 cannot receive the uplink signal US transmitted by the sensor controller 31 indefinitely even though the uplink signal US has reached the stylus 2. Further, the duration of the reception operation (predetermined time) according to each method is at least the same as the duration of the reception operation of the uplink signal US executed by the stylus 2 from the time t1 in FIG. 6, which will be described later, at least the corresponding uplink signal US. It is preferable that the time is equal to or longer than the transmission cycle (transmission cycle by the sensor controller 31). Further, in order to save the power supply 25 (FIG. 1), the reception operation of the stylus 2 is preferably repeatedly executed with a pause 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 is because the sensor controller 31 receives the downlink signal DS transmitted by the stylus 2 in which the stylus 2 receives the uplink signal US according to the method A and thereby starts the operation in the operation mode A, thereby the sensor controller. 31 is also realized by performing a series of processes of starting the operation in the operation mode A between the time t0 and the 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 time t0 and time t1 becomes short, 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, the stylus 2 finally receives the uplink signal US transmitted by the method A at the time t2 after the time t1, and as a result, the stylus 2 enters the operation mode A, and at the subsequent time t3, the stylus 2 enters the operation mode A. The sensor controller 31 that has received 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 1 minute in time t3-t1 has occurred from the occurrence of the second pen-down PD2 at time t1 to the start of communication between the stylus 2 and the sensor controller 31 by the method A at time t3. There is. The occurrence of this delay is one of the problems in the background technology of the present 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 operate according to the background technology of the present invention. The example in the figure is different from the example shown in FIG. 4 in that 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 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 by the method B is started between the stylus 2 and the sensor controller 31 corresponding to both the methods A and B at an early stage. It is desirable to switch to communication by method A. This is one of the other issues in the background technology of this 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 operations 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 detecting the second pen-down PD2 at time t1, the stylus 2 immediately starts the operation of receiving the uplink signal US by the method A if its operation mode is still the undetermined mode P. To do. This reception operation is continued for at least a time equal to or longer than the transmission cycle of the sensor controller 31 (period SP1 shown) until the uplink signal US according to the method A is received. As a result, if the sensor controller 31 transmits the uplink signal US according to the method A, the stylus 2 reliably transmits the uplink signal US according to the method A unless it deviates from the sensing range SR (FIG. 1). You will be able to receive it. 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 second pen-down PD2 to the start of the communication by the method A 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 has been started. Such a situation occurs even when the stylus 2 and the sensor controller 31 operate 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. The first signal) including the unique ID at an arbitrary time t4. The 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 operating in the operation mode B. May be. When the sensor controller 31 receives the downlink signal DS (D1), it acquires the unique ID contained therein by demodulation and decoding. Then, it is determined whether or not the stylus 2 also supports the method A based on the acquired unique ID, and if it is determined that the stylus 2 also supports the method A, a command indicating an instruction to switch to the operation mode A at time t5. The uplink signal US (D2, the second signal) including the above is transmitted. When the stylus 2 receives the uplink signal US (D2) at time t6, the stylus 2 acquires the switching instruction included therein by demodulation and decoding. Then, according 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 for the stylus 2 to shift to the operation mode A after the sensor controller 31 transmits the uplink signal US (D2) can be determined in advance as part of the specifications of the stylus 2. Therefore, since the sensor controller 31 can know in advance the time t7 at which the stylus 2 that has received the switching instruction shifts to the operation mode A, the sensor controller 31 performs a process of switching its own operation mode to the operation mode A according to the time t7. As a result, 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 processing flow diagrams 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 figures.

図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 own 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 method A arrives and when the second pen-down occurs, the stylus 2 activates the reception operation of the uplink signal US by the method A (step S13). As described above, this reception operation when the second pen-down occurs takes at least a time longer than the transmission cycle of the sensor controller 31 (cycle SP1 shown in FIG. 6) until the uplink signal US by the method A is received. Will be continued. Further, when the reception start timing in the method B arrives, the stylus 2 activates the reception operation of the uplink signal US by the method 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 has been received by the reception operation started in step S13 or step S15 (step S16), and the uplink signal US has been received by the reception operation started in step S13. When it is determined (that is, when the uplink signal US by the method A is received), its 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. If it is determined that this has been done (that is, when the uplink signal US according to the method B is received), its own operation mode 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 the operation in the operation mode A is started. As shown in the figure, the stylus 2 detects each of 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 transmission operation of the downlink signal DS by the method A is activated (step S22), and when the reception start timing arrives, the reception operation of the uplink signal US by the method A is activated. (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), and if it is determined that the uplink signal US has been received, returns to step S21 and repeats the process. On the other hand, if it is determined that the signal has not been received, the operation mode of the player 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 is separated 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 the operation in the operation mode B is started. As shown in the figure, the stylus 2 detects each of 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 transmission operation of the downlink signal DS by the method B is activated (step S32), and when the reception start timing arrives, the reception operation of the uplink signal US by the method B is activated. (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 in the stylus 2. Is included or not (step S36). As a result, when it is determined that it is included, the operation mode of the player is switched to the operation mode A (step S37), and the process is shifted to the step S21 of FIG. On the other hand, if it is determined that it is not included, the process returns to step S31 and the process is repeated.

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

図11〜図13は、本実施の形態によるセンサコントローラ31が行う処理を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。 11 to 13 are processing flow charts showing the 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 figures.

図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 own operation mode to the undetermined mode P (step S41). Then, each of the arrival of the reception start timing in the method A, the arrival of the transmission start timing in the method A, the arrival of the reception start timing in the method B, and the arrival of the transmission start timing in the method B is detected (step S42, S44, S46, S48). When the reception start timing in the method A arrives, the sensor controller 31 activates the downlink signal DS reception operation by the method A (step S43). Similarly, when the transmission start timing in the method A arrives, the sensor controller 31 activates the transmission operation of the uplink signal US by the method A (step S45), and when the reception start timing in the method B arrives. The downlink signal DS reception operation by the method B is started (step S47), and when the transmission start timing by the method B is reached, the uplink signal US transmission operation by the method B is started (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 or not 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 has been received by the reception operation started in step S43 (that is, when the downlink signal DS by the method A is received), its own operation mode is switched to the operation mode A (that is, when the downlink signal DS is received). 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 by the method B is received), its own operation mode is set to the operation mode B. Switching (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 each of 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 transmission operation of the uplink signal US by the method A is activated (step S62), and when the reception start timing arrives, the reception operation of the downlink signal DS by the method A is activated. (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 if it is determined that the downlink signal DS has been received, returns to step S61 and repeats the process. On the other hand, if it is determined that the signal has not been received, the operation mode of the player 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 is separated 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 each of 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 transmission operation of the uplink signal US by the method B is activated (step S72), and when the reception start timing arrives, the reception operation of the downlink signal DS by the method B is activated. (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 is included in the uplink signal US and transmitted (step S75), and if it is determined that the transmission is transmitted, the stylus 2 is set to the operation mode A. The own operation mode is switched to the operation mode A according to the timing of the transition (step S76). After that, the process proceeds to step S61 in FIG. 12 to continue the process.

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

ステップ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 signal has been received in step S77, the sensor controller 31 determines whether or not the received downlink signal DS includes functional information indicating that the stylus 2 corresponds to the method A (step S79). .. Specifically, the functional information is information indicating all or a part of the unique ID of the stylus 2 as described above. When it is determined that the downlink signal DS contains functional information indicating that the stylus 2 corresponds to 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 for switching 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 executed by the stylus 2 according to the present embodiment, the stylus 2 can activate the signal receiving operation by 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 until the stylus 2 is set to 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 signals by the method B, the stylus 2 is the method. The operation mode of the stylus 2 can be switched to the operation mode A by the instruction of the sensor controller 31 which has grasped that it corresponds to A. Therefore, it is possible to start the communication by 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 first embodiment correspond to the method C corresponding to the one-way communication from the stylus 2 to the sensor controller 31 instead of the method B. And the sensor controller 31, and other points are the same. Therefore, the differences will be described below. Note that 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, the operation mode A (first operation mode) for communicating in the method A, and the method C. It is configured to operate in any of the operation modes C (second operation mode).

ここで、図15を参照しながら、方式A,Cに対応するスタイラス2及びセンサコントローラ31が本発明の背景技術による動作を行うとした場合に生ずる課題について説明する。なお、図15を参照して説明するスタイラス2及びセンサコントローラ31の動作は、後に特に説明する点を除き、本実施の形態による動作においても実行される。 Here, with reference to FIG. 15, problems that occur when the stylus 2 and the sensor controller 31 corresponding to the methods A and C are operated according to the background technique 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 operations according to the present embodiment, except for the points described later.

図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 operate according to the background technology of the present invention. In the example of FIG. 4, as in the example of FIG. 4, the first pen-down PD1 is generated at time t0, and the second pen-down PD2 is generated at time t1. As shown in FIG. 15, the operation modes of the stylus 2 and the sensor controller 31 before the first pen-down PD1 occurs are, in principle, both undetermined modes P.

未確定モード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 by the method C and the operation of receiving the uplink signal US by the method A. However, in the example of FIG. 15, in order to reduce power consumption, the operation of receiving the uplink signal US by the method A is omitted at a rate of once every two times. In the present invention, such an operation is also included in the operation of "alternately repeating the operation of transmitting the downlink signal DS by the method C and the operation of receiving the uplink signal US by the method A". Further, the sensor controller 31 is configured to sequentially repeat the transmission operation of the uplink signal US by the method A, the reception operation of the downlink signal DS by the method A, and the reception operation of the downlink signal DS by the method C. Here, the cycle in which the stylus 2 transmits the downlink signal DS by the method C and the cycle in which the sensor controller 31 receives the downlink signal DS by the method C are configured so that one of them is not a multiple of the other. To. The same applies to the cycle in which the stylus 2 receives the uplink signal US according to the method A and the cycle in which the sensor controller 31 transmits the uplink signal US according to the method A. This is to avoid the occurrence of a situation in which the signal transmitted by one device reaches the other device, but the other device cannot receive it indefinitely.

図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 time t0 and time t1 (that is, the second pen-down PD2 Before the occurrence), both the stylus 2 and the sensor controller 31 are in the operation mode A. As in the case of FIG. 4, the sensor controller 31 transmits the downlink signal DS transmitted by the stylus 2 in which the stylus 2 receives the uplink signal US according to the method A and thereby starts the operation in the operation mode A. Is received, and the sensor controller 31 also starts the operation in the operation mode A, which is realized by performing a series of processes between the time t0 and the 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 between time t0 and time t1 becomes short, or when the stylus 2 cannot detect the uplink signal US, the time is as illustrated 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 according to the background technique, the stylus 2 immediately switches its operation mode to the operation mode C when the time t1 elapses without shifting to the operation mode A. As a result, since the stylus 2 exclusively transmits the downlink signal DS by the method C, the sensor controller 31 will eventually shift to the operation mode C, and the communication between the stylus 2 and the sensor controller 31 by the method C will be performed. It will be started (time t2). Since 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, the communication by the method C is not started in the first place, or the communication by the method C is not started. 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 technology of this 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 operations according to the present embodiment. In particular, the figure shows the operation of the stylus 2 for preventing the communication by 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, after detecting the second pen-down PD2 at time t1, the stylus 2 immediately adopts the method without shifting to the operation mode C even if its operation mode is still the undetermined mode P. The operation of receiving the uplink signal US by A is activated. This reception operation is continued for at least a time equal to or longer than the transmission cycle of the sensor controller 31 (period SP2 shown) until the uplink signal US according to the method A is received. As a result, if the sensor controller 31 transmits the uplink signal US according to the method A, the stylus 2 reliably transmits the uplink signal US according to the method A unless it deviates from the sensing range SR (FIG. 1). You will be able to receive it. Therefore, the communication by the method C is not started, and the communication by 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 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 C having a low priority has been started. If the stylus 2 and the sensor controller 31 according to the present embodiment are used, the communication by the method C is not started as described with reference to FIG. 16, so basically the operation described here is necessary. However, it is possible that the stylus 2 fails to receive the uplink signal US for some reason, and as a result, communication by the method C is started (for example, in FIG. 18 described later). , When the stylus 2 fails to receive the uplink signal US according to the method A even though the sensor controller 31 transmits the uplink signal US in step S108, and determines its own operation mode as operation mode C in step S111. ) Therefore, the operation described here is required. Although it is assumed here that the stylus 2 is operating in the operation mode C, the operation described below is the same even 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 provides functional information (specifically, all or part of the unique ID) indicating that it corresponds to the methods A and C. The including downlink signal DS (D3, the first 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 the time t1 after the 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). Then, when it is determined that the stylus 2 corresponds to the method A, the sensor controller 31 temporarily switches its operation mode to the operation mode A every time the transmission of the downlink signal DS is interrupted, and the method A The uplink signal US (second signal) is transmitted by. The uplink signal US transmitted in this way has a role as an instruction for switching 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 by the method A at a timing at which the uplink signal US would be transmitted if the sensor controller 31 performs the above operation. Specifically, the uplink signal US may be received by the method A 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) is consumed significantly. 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 that the uplink signal US is received by the method A at the DS transmission interval (between time t3 and time t4). Of course, the uplink signal US may be received by the method A before the second pen-down PD2 is detected (including between the first pen-down PD1 and the second pen-down PD2), and the stylus may be operated by doing so. 2 makes it possible to detect the uplink signal US by the method A (the uplink signal US of the method 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 method A at time t4, the stylus 2 switches its operation mode to the operation mode A. On the other hand, the sensor controller 31 attempts to receive the downlink signal DS by the method A after transmitting the uplink signal US by the method A several times. In the example of FIG. 17, this trial is performed after the second transmission, but it may be executed after the first transmission or after the third and subsequent transmissions. Further, the reception of the downlink signal DS by the method A may be attempted a plurality of times. As a result of attempting to receive the downlink signal DS by the method A in this way, the sensor controller 31 that actually received the downlink signal DS by the method A at time t5 switches its operation mode to the operation mode A accordingly. After that, the operation is performed in the operation mode A. As a result, communication by the method A is started between the stylus 2 and the sensor controller 31.

図18〜図20は、本実施の形態によるスタイラス2の動作を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるスタイラス2の動作について、より詳しく説明する。 18 to 20 are processing flow diagrams 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 figures.

図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 method A and the arrival of the transmission start timing in the method C are detected (steps S102 and S104). When the reception start timing in the method A arrives, the stylus 2 activates the reception operation of the uplink signal US by the method A (step S103). Further, when the transmission start timing in the method C arrives, the stylus 2 activates the transmission operation of the downlink signal DS by the method 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 if it determines that the uplink signal US has been received (that is, the uplink signal US according to the method A is received). If), the operation mode 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 PD2 has occurred in parallel with the determination in step S106 (step S107), and if it determines that it has occurred, apart from the periodic reception operation in step S103, the stylus 2 also determines whether or not the second pen-down PD2 has occurred. The operation of receiving the uplink signal US by the method A is activated (step S108). As described above, this reception operation is continued for at least a time equal to or longer than the transmission cycle of the sensor controller 31 (cycle SP2 shown in FIG. 16) until the uplink signal US according to the method A is received. Then, it is determined whether or not the uplink signal US has been received by this reception operation (step S109), and if it is determined that the uplink signal US has been received, its own operation mode 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 the user is switched to the operation mode C (step S111). If it is determined in step S107 that the second pen-down PD2 has not occurred, the process returns to step S102 to continue the process.

図19は、動作モードAでの動作を開始した後のスタイラス2の動作を示している。同図に示すように、スタイラス2は、送信開始タイミングの到来、受信開始タイミングの到来のそれぞれを検出する(ステップS121,S123)。そして、送信開始タイミングが到来した場合には方式Aによるダウンリンク信号DSの送信動作を起動し(ステップS122)、受信開始タイミングが到来した場合には方式Aによるアップリンク信号USの受信動作を起動する(ステップS124)。 FIG. 19 shows the operation of the stylus 2 after the operation in the operation mode A is started. As shown in the figure, the stylus 2 detects each of 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 transmission operation of the downlink signal DS by the method A is activated (step S122), and when the reception start timing arrives, the reception operation of 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 is determined that the uplink signal US has been received, returns to step S121 and repeats the process. On the other hand, if it is determined that the signal has not been received, the operation mode of the player 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 is separated from the touch surface 3t.

図20は、動作モードCでの動作を開始した後のスタイラス2の動作を示している。同図に示すように、スタイラス2は、送信開始タイミングの到来の検出を行い(ステップS131)、送信開始タイミングが到来した場合に方式Cによるダウンリンク信号DSの送信動作を起動する(ステップS132)。 FIG. 20 shows the operation of the stylus 2 after the operation in the operation mode C is started. As shown in the figure, the stylus 2 detects the arrival of the transmission start timing (step S131), and activates the downlink signal DS transmission operation by the method C when the transmission start timing arrives (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 PD2 has occurred in parallel with the detection in step S131 (step S133), and if it determines that it has occurred, the sensor controller 31 transmits an uplink signal US. At the timing expected, the operation of receiving the uplink signal US by the method A is activated (step S134). This expected timing is, for example, the transmission interval of the downlink signal DS by the method C. Then, when the uplink signal US according to the method A is received, its own operation mode is switched to the operation mode A (step S136), and the process is shifted to the step S121 of FIG. If the uplink signal US according to the method A is not received, the process returns to step S131 to continue the process in the operation mode C. Even if it is determined in step S133 that the second pen-down PD2 has not occurred, the process returns to step S131 to continue the process.

図21〜図24は、本実施の形態によるセンサコントローラ31が行う処理を示す処理フロー図である。以下、これらの図を参照しながら、本実施の形態によるセンサコントローラ31の動作について、より詳しく説明する。 21 to 24 are processing flow charts showing the 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 figures.

図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 own operation mode as the undetermined mode P (step S141). Then, the arrival of the reception start timing in the method A, the arrival of the transmission start timing in the method A, and the arrival of the reception start timing in the method C are detected (steps S142, S144, S146). When the reception start timing in the method A arrives, the sensor controller 31 activates the downlink signal DS reception operation by the method A (step S143). Similarly, when the transmission start timing in the method A arrives, the sensor controller 31 activates the transmission operation of the uplink signal US by the method A (step S145), and when the reception start timing in the method C arrives. The operation of receiving the downlink signal DS by the method C is activated (step S147).

センサコントローラ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 has been 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. When it is determined (that is, when the downlink signal DS by the method A is received), its own operation mode 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 by the method C is received), its own operation mode is switched to the operation mode C. After that (step S150), whether or not the downlink signal DS includes functional information (specifically, all or part of the unique ID) indicating that the stylus 2 corresponds to the method A. Judgment (step S151). When it is determined that the downlink signal DS does not include the functional information indicating that the stylus 2 corresponds to the method A, the sensor controller 31 shifts the process to step S171 in FIG. 23 and performs the normal operation by the method C. Start. On the other hand, when it is determined that the stylus is included, the process is shifted to step S181 of 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 transmission operation of the uplink signal US by the method A is activated (step S162), and when the reception start timing arrives, the reception operation of the downlink signal DS by the method A is activated. (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), and if it is determined that the downlink signal DS has been received, returns to step S161 and repeats the process. On the other hand, if it is determined that the signal has not been received, the operation mode of the player 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 is separated 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 downlink signal DS reception operation by the method C is started (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 if it is determined that the downlink signal DS has been received, returns to step S171 and repeats the process. On the other hand, if it is determined that the signal has not been received, the operation mode of the player is returned to the undetermined mode P (step S174), and the process is returned to step S142 of FIG. Similar to step S166 of FIG. 22, this process is executed to return the sensor controller 31 to the undetermined mode P when the stylus 2 is separated from the touch surface 3t.

図24は、図21のステップS150で、スタイラス2が方式Cによって送信したダウンリンク信号DSにスタイラス2が方式Aに対応していることを示す機能情報(具体的には、スタイラス2が方式Aに対応していることを示す固有ID)が含まれていた場合のセンサコントローラ31の動作を示している。この場合、上述したように、センサコントローラ31はスタイラス2を動作モードAに移行させるための動作を行う。 FIG. 24 shows functional information indicating that the stylus 2 corresponds to the method A to the downlink signal DS transmitted by the stylus 2 by the method C in step S150 of FIG. 21 (specifically, the stylus 2 is the method A). The operation of the sensor controller 31 when the unique ID) indicating that the sensor controller 31 is included is shown. In this case, as described above, the sensor controller 31 performs an 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 by the method C (step S181). Then, when the reception start timing arrives, the downlink signal DS reception operation 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 is completed, and when there is a predetermined time or more before the reception start timing of the next downlink signal DS starts at that time, the sensor controller 31 makes this determination. 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 process. On the other hand, when it is determined that the transmission is interrupted, its own operation mode is switched to the operation mode A (step S184), and the uplink signal transmission operation by the method A is started (step S185). Then, it is determined whether or not the number of transmissions by this transmission operation has reached a predetermined number of times (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 predetermined number of times has been reached, the sensor controller 31 detects the arrival of the reception start timing of the downlink signal DS by 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 method A starts transmitting the downlink signal DS according to the method A. When the reception start timing arrives, the sensor controller 31 activates the downlink signal DS reception operation according to 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 has been received by the reception operation started in step S188 (step S189), and if it determines that the downlink signal DS has been received, sets its own operation mode to operation mode A. After switching to (step S192), the process shifts to step S161 of FIG. As a result, communication by the 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に戻って処理を継続する。 When it is determined in step S186 that the predetermined number of times has not been reached, or when it is determined that the sensor controller 31 has not been received in step S189, the sensor controller 31 switches its operation mode to operation mode C (step S190). Then, it is determined in step S188 whether or not the number of attempts for the reception operation has reached a predetermined number (step S191), and if it is determined that the number of attempts has been reached, the process is shifted to step S171 in FIG. This corresponds to the case where the sensor controller 31 abandons 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 the value has not been reached, the sensor controller 31 returns to step S181 and continues the process.

以上説明したように、本実施の形態によるスタイラス2により実行される方法によっても、スタイラス2は、タッチ面3tへの接触後直ちに、方式Aによる信号の受信動作を起動することができる。したがって、タッチ面3tに接触してからスタイラス2が動作モードAに設定されるまでの時間を短縮することが可能になる。 As described above, also by the method executed by the stylus 2 according to the present embodiment, the stylus 2 can activate the signal receiving operation by 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 until the stylus 2 is set to 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 the signal is transmitted in one direction by the method C, the stylus 2 is used. The operation mode of the stylus 2 can be switched to the operation mode A by the instruction of the sensor controller 31 (specifically, the transmission of the uplink signal US by the method A). Therefore, it is possible to start the communication by 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 is different 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 its own operation mode. Since other points and the configuration of the sensor controller 31 are the same as those in the first or second embodiment, the differences will be described below.

本実施の形態によるスタイラス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. That is, the indicator so as to display differently depending on whether the operation is performed in the first operation mode in which the signal by the first method is transmitted and the operation in the second operation mode in which the signal by the second method is transmitted. 26 is controlled. Further, in the stage before deciding whether to operate in the first operation mode or the second operation mode, that is, in the case of operating in the above-mentioned undetermined mode, the first and second operations are performed. The indicator 26 is controlled so as to display a display different from any of the operation modes of. According to this, for example, when the uplink signal US according to the first method is received, the signal processing unit 24 displays the display corresponding to the first operation mode by setting its own operation mode to the first operation mode. The indicator 26 will be controlled so as to perform the above.

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

インジケータ26の具体的な表示内容としては、種々のものが考えられる。例えば、インジケータ26が複数色で発光可能な発光ダイオードである場合であれば、未確定モードPのときに赤色点灯し、第1の動作モードのとき青色点灯し、第2の動作モードのときに緑色点灯する、というように動作モードごとに異なる色で点灯するようにインジケータ26の表示内容を制御することが考えられる。また、インジケータ26が単色で発光可能な発光ダイオードである場合であれば、未確定モードPのときには所定周期でオンオフを繰り返し、第1の動作モードのときには、第1の動作モードに切り替わったタイミングで上記所定周期より短い間隔で2回オンオフしてその後は消灯し、第2の動作モードのときには、第2の動作モードに切り替わったタイミングで1回だけオンオフしてその後は消灯する、というように、点滅と消灯を組み合わせてンジケータ26の表示内容を制御することが考えられる。 As the specific display content of the indicator 26, various things 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 blue 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. If the indicator 26 is a light emitting diode capable of emitting light in a single color, it repeats on / off at a predetermined cycle in the undetermined mode P, and at the timing of switching to the first operation mode in the first operation mode. It turns on and off twice at intervals shorter than the above predetermined cycle, then turns off, and in the second operation mode, it turns on and off only once at the timing of switching to the second operation mode, and then turns off. It is conceivable to control the display content of the diode 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 embodiments without departing from the gist thereof. Of course.

例えば、上記実施の形態においては、スタイラス2は電極21(図1)を通じてアップリンク信号USを受信するものとしたが、例えばBlueTooth(登録商標)等の別途の無線通信手段により、アップリンク信号USを受信するものとしてもよい。また、アップリンク信号US(第1の方式による信号)は、スタイラス2が検出できる信号であればよく、送信電極と受信電極との相互容量を利用した指タッチの検出を実行するセンサコントローラ31が送信電極に供給する送信信号をアップリンク信号USとして利用するような場合も含まれる。 For example, in the above embodiment, the stylus 2 receives the uplink signal US through the electrode 21 (FIG. 1), but the uplink signal US is received by another wireless communication means such as Bluetooth (registered trademark). May be received. Further, the uplink signal US (signal by the first method) may be a signal that can be detected by the stylus 2, and the sensor controller 31 that executes finger touch detection using the mutual capacitance between the transmitting electrode and the receiving electrode may be used. A 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 embodiment, the stylus 2 and the sensor controller 31 start operating in a certain operation mode, and then immediately return to the undetermined mode P when the signal to be received is not received (FIG. 9). Step S26, step S38 of FIG. 10, step S66 of FIG. 12, step S78 of FIG. 13, step S126 of FIG. 19, step S166 of FIG. 22, and step S174 of FIG. 23) may immediately return to the unconfirmed mode P. Instead, for example, the mode may be returned to the unconfirmed mode P when the signal is not received a predetermined number of times.

上記実施の形態では、複数の方式を最適化するように切り替えることを説明したが、本発明は、第2の方式として古いバージョンで動作する動作モードから、機能情報を用いてより新しいバージョンで動作する他の動作モードに切り替えるような場合にも適用可能であることは言うまでもない。 In the above embodiment, it has been described that a plurality of methods are switched to be optimized, but the present invention operates from an operation mode that operates in an old version as a second method to a newer version using functional information. Needless to say, it can also be applied when 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 equipment 3t Touch surface 20 Core body 21 Electrode 22 Pen pressure detection unit 23 Switch 24 Signal processing unit 25 Power supply 26 Indicator 30 Sensor 30X, 30Y Linear electrode 31 Sensor controller 32 System controller 40 Selection unit 41x , 41y Conductor selection circuit 44x, 44y Switch 50 Receiver 51 Amplifier circuit 52 Detection circuit 53 AD converter 60 Transmitter 61 Pattern supply 62 Switch 63 Diffusion 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の方式による信号及び第2の方式による信号の両方を受信可能に構成されたデュアルコントローラと、
ペン先の近傍に設けられた電極を介して前記第1の方式による信号及び前記第2の方式による信号の両方を送信可能に構成されたデュアルスタイラスとにより実行される方法であって、
前記デュアルコントローラが、前記デュアルスタイラスに対し、前記第1の方式による信号の送信を行う第1の動作モードへの切り替え指示を示す切り替え指示信号を送信するステップと、
前記デュアルスタイラスが、前記切り替え指示信号を受信したことに応じて、自己の動作モードを前記第1の動作モードに切り替えるステップと
を備える方法。
A dual controller connected to a sensor constituting the touch surface and capable of receiving both a signal according to the first method and a signal according to the second method through the sensor.
A method executed by a dual stylus configured to be capable of transmitting both a signal according to the first method and a signal according to the second method via an electrode provided near the pen tip.
A step in which the dual controller transmits a switching instruction signal indicating a switching instruction to the first operation mode in which the signal is transmitted by the first method to the dual stylus.
A method comprising the step of switching its own operation mode to the first operation mode in response to the dual stylus receiving the switching instruction signal.
前記デュアルスタイラスは、前記電極を介さない無線通信手段により前記切り替え指示信号を受信するよう構成される
請求項1に記載の方法。
The method according to claim 1, wherein the dual stylus is configured to receive the switching instruction signal by a wireless communication means that does not go through the electrodes.
前記無線通信手段は、Bluetooth(登録商標)である
請求項2に記載の方法。
The method according to claim 2, wherein the wireless communication means is Bluetooth (registered trademark).
前記デュアルスタイラスは、前記第2の方式による信号の送信を行う第2の動作モードで動作中に前記切り替え指示信号を受信したことに応じて、自己の動作モードを前記第1の動作モードに切り替える
請求項1乃至3のいずれか一項に記載の方法。
The dual stylus switches its own operation mode to the first operation mode in response to receiving the switching instruction signal during operation in the second operation mode in which the signal is transmitted by the second method. The method according to any one of claims 1 to 3.
前記デュアルコントローラが、前記デュアルスタイラスからの前記第2の方式による信号の送信が途切れるまで待機するステップをさらに備え、
前記デュアルコントローラは、前記デュアルスタイラスからの前記第2の方式による信号の送信が途切れた後、前記切り替え指示信号を送信する
請求項1乃至4のいずれか一項に記載の方法。
The dual controller further comprises a step of waiting until the transmission of the signal by the second method from the dual stylus is interrupted.
The method according to any one of claims 1 to 4, wherein the dual controller transmits the switching instruction signal after the transmission of the signal by the second method from the dual stylus is interrupted.
タッチ面を構成するセンサに接続され、該センサを介して、ペン先の近傍に設けられた電極を介して第1の方式による信号及び第2の方式による信号の両方を送信可能に構成されたデュアルスタイラスから前記第1の方式による信号及び前記第2の方式による信号の両方を受信可能に構成されたデュアルコントローラであって、
前記第1の方式による信号の送信を行う第1の動作モードへの切り替え指示を示す切り替え指示信号を前記デュアルスタイラスに対して送信することにより、前記デュアルスタイラスの動作モードを前記第1の動作モードに切り替える、
デュアルコントローラ。
It is connected to a sensor that constitutes the touch surface, and is configured to be able to transmit both a signal according to the first method and a signal according to the second method via an electrode provided near the pen tip via the sensor. A dual controller configured to be able to receive both the signal according to the first method and the signal according to the second method from the dual stylus.
By transmitting a switching instruction signal indicating a switching instruction to the first operation mode for transmitting the signal by the first method to the dual stylus, the operation mode of the dual stylus is changed to the first operation mode. Switch to,
Dual controller.
タッチ面を構成するセンサに接続され、該センサを介して第1の方式による信号及び第2の方式による信号の両方を受信可能に構成されたデュアルコントローラに対し、ペン先の近傍に設けられた電極を介して前記第1の方式による信号及び前記第2の方式による信号の両方を送信可能に構成されたデュアルスタイラスであって、
前記第1の方式による信号の送信を行う第1の動作モードへの切り替え指示を示す切り替え指示信号を前記デュアルコントローラから受信したことに応じて、自己の動作モードを前記第1の動作モードに切り替える、
デュアルスタイラス。
A dual controller connected to a sensor constituting the touch surface and capable of receiving both a signal according to the first method and a signal according to the second method via the sensor is provided near the pen tip. A dual stylus configured to be capable of transmitting both a signal according to the first method and a signal according to the second method via electrodes.
In response to receiving a switching instruction signal indicating a switching instruction to the first operation mode for transmitting the signal by the first method from the dual controller, the own operation mode is switched to the first operation mode. ,
Dual stylus.
JP2020091517A 2020-05-26 2020-05-26 Dual controllers and dual styli and how they are performed Active JP6867535B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2020129415A JP2020129415A (en) 2020-08-27
JP6867535B2 true JP6867535B2 (en) 2021-04-28

Family

ID=72175404

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP6867535B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6200691B2 (en) * 2013-05-21 2017-09-20 シャープ株式会社 Electronic information equipment and method of restricting its operating rights
US20170102826A1 (en) * 2014-06-30 2017-04-13 Sharp Kabushiki Kaisha Touch panel system and electronic equipment

Also Published As

Publication number Publication date
JP2020129415A (en) 2020-08-27

Similar Documents

Publication Publication Date Title
JP6280297B1 (en) Method implemented by stylus, method implemented by dual stylus and dual controller, and dual stylus
JP6929999B2 (en) The method, system, and stylus performed by the sensor controller
JP6110585B1 (en) Active stylus
US20230205333A1 (en) Position indicator
JP6749397B2 (en) Stylus and sensor controller
CN109643172A (en) Stylus and sensor controller
TWI728076B (en) Stylus and sensor controller
JP6603435B2 (en) Method, sensor controller, and active stylus implemented in a system including an active stylus and a sensor controller
JP6867535B2 (en) Dual controllers and dual styli and how they are performed
JP6363807B2 (en) Active stylus
JP6710244B2 (en) Stylus and method performed by the stylus
WO2023042322A1 (en) System including pen and touch controller, method executed by pen, pen, and touch controller
JP7159411B2 (en) Sensor controller, computer implemented method and electronics
JP7136940B2 (en) Stylus, control method and program executed by stylus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200526

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210303

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210408

R150 Certificate of patent or registration of utility model

Ref document number: 6867535

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250