Active pen and sensor controller that use data generated from identification data

An active pen that is used together with a sensor controller includes: an electrode provided at a pen tip, a memory that stores identification data, and a processor connected to the electrode and the memory. The processor returns, as a response to a first uplink signal transmitted from the sensor controller, a response signal including the identification data stored by the memory, and decides, based on whether data corresponding to the identification data is included in a second uplink signal received after the response signal is transmitted, whether the active pen is detected by the sensor controller.

BACKGROUND

Technical Field

The present disclosure relates to an active pen and a sensor controller, and particularly to an active pen and a sensor controller between which pairing is performed before communication is started.

Background Art

In communication that is performed between an active pen and a sensor controller that configures a position detection system, a beacon signal is used in some cases. The beacon signal is a signal that is periodically supplied (or transmitted) from the sensor controller to the active pen, and the active pen is configured such that, in the case where it is not paired as yet but detects (or receives) a beacon signal supplied from the sensor controller, it transmits a response signal immediately after the detection (or reception) of a beacon signal. The sensor controller executes pairing with the active pen in response to reception of the response signal. U.S. Patent Publication No. 2016/0246390 discloses an example of a sensor controller that performs such operation as described above.

The transmission interval of the beacon signal is used as a period for transmitting a signal (including the response signal described above. Hereinafter referred to as a “pen signal”) from the active pen to the sensor controller. This period is configured from a combination of a plurality of time slots and a plurality of frequencies, and the active pen is configured to perform transmission of a pen signal using only those of the time slots and frequencies allocated thereto by the sensor controller.

BRIEF SUMMARY

A procedure of pairing performed between an active pen and a sensor controller is described in detail. The sensor controller that receives the response signal described above deploys, into a beacon signal to be transmitted next, a packet that designates a pen identifier (ID) that is not allocated to any active pen as yet and a time slot and a frequency within a beacon period. The active pen that receives this packet but is not paired as yet stores the pen ID deployed in the packet. Allocation of the pen ID by the sensor controller, namely, pairing between the sensor controller and the active pen, is completed therewith. This active pen thereafter uses the designated time slot and frequency to start transmission of a pen signal to the sensor controller.

However, such a procedure for pairing as described above has a subject that a same pen ID is allocated to a plurality of active pens in some cases. In the following, this subject is described in detail taking an example.

Since the sensor controller and the active pen have a difference in transmission power therebetween, usually the reach distance of the beacon signal is longer than the reach distance of the pen signal. If a case is considered in which an active pen A enters a range within which its pen signal reaches the sensor controller and another active pen B enters a range within which it can receive the beacon signal from the sensor controller although it is outside a region within which its pen signal reaches the sensor controller, since the beacon signal transmitted from the sensor controller is received by both of the active pens A and B, both of the active pens A and B transmit a response signal to the beacon signal. Although the response signal transmitted from the active pen A from between the two response signals transmitted in this manner reaches the sensor controller, the response signal transmitted from the active pen B is attenuated before it reaches the sensor controller and therefore does not reach the sensor controller. Accordingly, the sensor controller decides that the response signal is received from one active pen and transmits a beacon signal including one pen ID to be allocated to the one active pen. Since also this beacon signal is received by both of the active pens A and B, both of the active pens A and B store the same pen ID. The same pen ID is allocated to the active pens A and B in this manner.

Accordingly, one of objects of the present disclosure resides in provision of an active pen and a sensor controller by which, in pairing of the active pen and the sensor controller, it is possible to prevent a same pen ID from being allocated to a plurality of active pens.

Further, in some cases, the sensor controller transmits a command to an active pen that is currently paired therewith. In this case, the sensor controller deploys a packet indicative of the pen ID allocated to the active pen of the transmission designation of the command and contents of the command into a beacon signal. It is to be noted that each of the number of pen IDs and the number of commands that can be deployed into one beacon signal is one. The active pen compares the pen ID deployed in the received beacon signal and the pen ID stored therein with each other, and executes operation according to the command only in the case where the compared pen IDs coincide with each other. The command transmitted from the sensor controller includes a command for changing a time slot and a frequency to be allocated to an active pen with which it is paired already.

However, according to such a command transmission method as just described, when the sensor controller performs pairing with a new active pen, processing delay occurs in some cases. In particular, when the sensor controller performs pairing with a new active pen, in order to make it possible for the active pen to transmit a pen signal, it is necessary to change allocation of time slots and frequencies (hereinafter referred to as “transmission and reception schedule”) allocated to the other active pens with which the sensor controller is paired. Since it is necessary for this change to be performed before a time slot and a frequency are allocated to the new active pen, the sensor controller must transmit beacon signals for changing the transmission and reception schedules for the other active pens before it transmits a beacon signal for allocating a pen ID to the new active pen. Therefore, the timing for transmitting the beacon signal for allocating a pen ID to the new active pen is delayed, resulting in delay in pairing process.

Accordingly, another one of objects of the present disclosure resides in provision of an active pen and a sensor controller by which delay in pairing process between the active pen and the sensor controller can be prevented.

The active pen according to the present disclosure is an active pen that is used together with a sensor controller, including an electrode provided at a pen tip, a memory configured to store identification data, and a processor connected to the electrode and the memory, wherein the processor, in operation: returns, as a response to a first uplink signal transmitted from the sensor controller, a response signal including the identification data stored by the memory, and decides, based on whether data corresponding to the identification data is included in a second uplink signal received after the response signal is transmitted, whether the active pen is detected by the sensor controller.

According to another aspect of the present disclosure, the active pen described above determines a transmission rate of a downlink signal in response to a number of active pens currently detected by the sensor controller indicated by the second uplink signal.

A sensor controller according to the present disclosure is connected to a sensor and is configured to detect a plurality of active pens from which a plurality of signal is transmitted to the sensor, the sensor controller including: at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause the sensor controller to: transmit a first uplink signal, detect a response signal transmitted from one of the active pens that has detected the first uplink signal, extract identification data designated by the one of the active pens from the response signal, and transmit a second uplink signal including data corresponding to the identification data to the active pen.

According to the present disclosure, because identification data (for example, a pen ID) is determined by ab active pen, it can be prevented that, in pairing between the active pen and a sensor controller, the same identification data is allocated to a plurality of active pens.

Further, according to the other aspect of the present disclosure, because the active pen autonomously changes its transmission rate in response to a change of a number of active pens currently detected by the sensor controller, a delay of the pairing process between the active pen and the sensor controller can be prevented in comparison with that in an alternative case in which transmission and reception schedules are transmitted from the sensor controller to the individual active pens.

DETAILED DESCRIPTION

In the following, an embodiment of the present disclosure is described in detail with reference to the accompanying drawings.

FIG.1is a view depicting an entire position detection system1according to the present embodiment. As depicted inFIG.1, the position detection system1is configured including two active pens2aand2band an electronic apparatus4. The electronic apparatus4is configured including a sensor40, a sensor controller41, a panel42, a host processor43, and a liquid crystal display device44.

Both of the active pens2aand2bare electronic pens compatible with an active capacitive method and are used as indicators for indicting a position on the front face of the panel42(hereinafter referred to merely as “panel face”) to the electronic apparatus4simultaneously or separately by one or more users. In the position detection system1, also a finger3of a user is used additionally as an indicator. In the following description, in the case where there is no necessity to distinguish the active pens2aand2bfrom each other, each of them may be referred to as active pen2. Further, the following description is given assuming that the electronic apparatus4is ready for simultaneous use of two active pens2in the maximum. However, naturally the electronic apparatus4may be configured so as to allow simultaneous use of three or more active pens2.

For example, when the active pen2ais used, the user would gradually move the active pen2atoward the panel face (down: inFIG.1, represented as “DOWN”) until a pen tip of the active pen2ais finally brought into contact (touch) with the panel face. Then, if the user moves the pen tip on the panel face while keeping this contact state, then a locus st1of the movement is drawn on the liquid crystal display device44by a process of the electronic apparatus4hereinafter described. This drawing is continued until the user moves the pen tip of the active pen2aaway (up: inFIG.1, represented as “UP”) from the panel face. Thereafter, if the user carries out such down, touch, move, and up again, then a locus st2of the movement is drawn similarly on the panel face by a process of the electronic apparatus4. InFIG.1, also a locus st3created by down, touch, move, and up of the active pen2band a locus st4created by down, touch, move, and up of the finger3are depicted.

The active pen2is configured such that it performs communication mutually with the sensor controller41using an uplink signal US and a downlink signal DS as depicted inFIG.1. In particular, the active pen2is configured such that it detects an uplink signal US transmitted from the sensor controller41through the sensor40and transmits a predetermined downlink signal DS in response to the uplink signal US. The downlink signal DS is received by the sensor40and supplied from the sensor40to the sensor controller41.

FIGS.2A and2Bare views depicting different types of the uplink signal US. As depicted inFIGS.2A and2B, as the uplink signal US used in the present embodiment, two types of uplink signals US including a command signal C (first uplink signal) and a multi uplink signal M/U (second uplink signal) are available.

The command signal C is a signal including a command D1and an extension flag D2as depicted inFIG.2A. The command D1includes data of two bits indicative of a protocol (active capacitive method or the like) for which the sensor controller41is ready, data of three bits indicative of a frequency to be used by the active pen2to transmit a downlink signal DS, data of four bits indicative of deployment of time slots hereinafter described (time interval, duration, and time slot number in one frame), data of one bit indicative of contents (burst data or default data) of a downlink signal DS to be transmitted from the active pen2, and data of one bit for identifying two active pens2under detection from each other. It is to be noted that, although details of the default data are prescribed in the protocol, it is, for example, writing pressure data, switch data, and so forth, hereinafter described. The extension flag D2is data (flag information) of one bit indicative of whether or not a multi uplink signal M/U follows. In the case where one or more active pens2are under detection (in the case where the sensor controller41is in a full mode or a two-pen mode hereinafter described), the sensor controller41sets the extension flag D2to “1,” but sets the extension flag D2to “0” in any other case (in the case where the sensor controller41is in a global mode).

The multi uplink signal M/U is a signal including detected flags D3aand D3band corresponding data D4aand D4bas depicted inFIG.2B. Each of the detected flags D3aand D3bis data of one bit and is “0” in its initial state. Each of the corresponding data D4aand D4bis data of five bits and is “00000” in its initial state. The sensor controller41is configured such that, in the case where it detects a first active pen2, it changes the detected flag D3afrom “0” to “1” and sets corresponding data corresponding to the identification data of the first active pen2as the corresponding data D4ainto the multi uplink signal M/U. It is to be noted that the corresponding data may be the identification data itself or may be data obtained by performing predetermined arithmetic operation for the identification data. The predetermined arithmetic operation is an arithmetic operation set in advance in both of the active pen2and the sensor controller41(namely, an arithmetic operation shared in advance by the active pen2and the sensor controller41) as part of the protocol and may be, for example, four arithmetic operations or may be the surplus in the case where the identification data is divided by a predetermined value or else may be a cyclic shift of a bit string. Further, the bit length of the corresponding data may be equal to the bit length of the identification data or may be different from the bit length of the identification data. For example, the corresponding data may be data, for example, obtained by shortening or expending identification data of a first bit length supplied from the active pen2to data of a second bit length corresponding to the number of active pens2supported by the sensor controller41. Further, the sensor controller41is configured such that, in the case where it thereafter detects a second active pen2, it changes the detected flag D3bfrom “0” to “1” and sets corresponding data corresponding to the identification data of the second active pen2as the corresponding data D4ain the multi uplink signal M/U.

It is to be noted that, the sensor controller41may be configured otherwise such that it deploys data of one bit indicative of the number of active pens2being detected by the sensor controller41into the multi uplink signal M/U in place of the detected flags D3aand D3b. This makes it possible to reduce the size of the multi uplink signal M/U by one bit.

Further, the sensor controller41transmits a ping signal P (refer toFIGS.4to6hereinafter described) as the uplink signal US in addition to the command signal C and the multi uplink signal M/U in some cases. The ping signal P is a signal for notifying an active pen2of a transmission timing of a downlink signal DS and is, for example, a burst signal having a time length corresponding to one bit.

Referring back toFIG.1, the downlink signal DS is a signal configured from data whose transmission is instructed by the command signal C (burst data or default data) or a carrier signal modulated with identification data of the active pen2. In the following description, the downlink signal DS modulated with burst data is referred to as “burst signal,” the downlink signal DS modulated with default data is referred to as “data signal,” and the downlink signal DS modulated with identification data is referred to as “response signal.” Processes of the sensor controller41when it receives the signals mentioned are hereinafter described.

In order to make it possible for the downlink signal DS to be received by the sensor controller41, it is necessary that the active pen2to be positioned in the proximity of the panel face to such a degree that the downlink signal DS reaches the sensor controller41. A sensing range SR indicated by a broken line inFIG.1schematically indicates a range within which the downlink signal DS can be detected by the sensor controller41. In the case where the active pen2advances into the sensing range SR, the sensor controller41is enabled to detect the downlink signal DS through the sensor40. “Down” described above signifies, in regard to the active pen2, such a movement that it moves from the outside to the inside of the sensing range SR. A state in which, although the active pen2enters the sensing range SR by the down, it does not contact with the panel face as yet is called “hover state.”

On the other hand, even in the case where the active pen2is outside the sensing range SR, it can sometimes receive an uplink signal US transmitted from the sensor controller41. This is because the uplink signal US can be transmitted using all of the electrodes disposed in a matrix in parallel to the panel face or part of the electrodes in a wide area and can be transmitted with a high strength in comparison with the downlink signal DS transmitted from an active pen2using an electrode21hereinafter described. An uplink detection height AH depicted inFIG.1indicates a limit in height (distance from the panel face) at which the active pen2can receive the uplink signal US. The uplink detection height AH is a position higher than an upper limit of the sensing range SR (position farther from the panel face).

FIG.3is a view depicting a configuration of the active pen2. As depicted inFIG.3, the active pen2is configured including an electrode21provided at the pen tip, a memory22, a processor23, a switch24, and an indicator25. Though not depicted, the components are electrically connected to each other in the inside of the active pen2.

The electrode21is member formed from a conductor and functions as an antenna for allowing the active pen2to receive an uplink signal US hereinafter described and transmit a downlink signal DS hereinafter described. An electrode for receiving an uplink signal US and an electrode for transmitting a downlink signal DS may be provided separately from each other. As an alternative, a member that contacts directly with the panel face (pen tip member) may have conductivity such that it forms the electrode21, or a conductor member may be disposed in the proximity of a pen tip member to configure the electrode21.

The memory22is a storage device that stores various kinds of data relating to an active pen2. The data stored in the memory22include a program for controlling operation of the processor23, identification data for distinguishing an active pen2from the other active pens2, and data temporarily written in by the processor23(data to be transmitted by a downlink signal DS, data to be indicated by the indicator25, and so forth).

Here, the identification stored in the memory22may be any data with which active pens2used simultaneously on the same electronic apparatus4can be distinguished from each other. For example, the identification data may be a stylus unique ID of a given length allocated in advance to each active pen2or a value of a bit number equal to or smaller than a given number of bits determined based on the stylus unique ID (for example, a hash value obtained by substituting the stylus unique ID into a predetermined hash function). As an alternative, the identification data may be a numerical value determined at random by the processor23or may be color information hereinafter described or setting information set from the outside to the active pen2like a type of a brush.

The processor23is a microprocessor that operates by executing a program stored in the memory22. The processor23is configured such that it receives an uplink signal US arriving at the electrode21and executes a process according to the uplink signal US. This process includes a process for transmitting a downlink signal DS through the electrode21. Further, the processor23performs also a process according to an on/off state of the switch24(including an acquisition process of switch data indicative of an on/off state of the switch24), a control process of indication contents of the indicator25, a process for acquiring writing pressure data indicative of a pressure (voltage) applied to the pen tip from a writing pressure sensor, and so forth.

The switch24is a switch configured for on/off by a user. WhileFIG.2depicts an example in which the switch24is formed on a side face of the active pen2, the switch24may be provided at a different portion such as, for example, a terminal end portion. Further, not one but a plurality of switches24may be provided.

The indicator25is an apparatus ready for identification data and is used to notify the user of the active pen2of the identification data. WhileFIG.3depicts an example in which the indicator25is configured from a small-sized display, the indicator25may otherwise be configured from a mechanically controllable member.

What is indicated on the indicator25in the example ofFIG.3is identification data that is color information. In the following, identification data that is color information is described particularly.

A user usually performs inputting to the electronic apparatus4by an active pen2in a state in which some drawing application is activated. Some drawing application is configured such that it can set a drawing color different for each active pen2. For example, in the case where red is set in association with the active pen2aand blue is set in association with the active pen2b, the drawing application is configured such that a locus of the active pen2a(for example, the loci st1and st2depicted inFIG.1) is drawn in red and a locus of the active pen2b(for example, the locus st3depicted inFIG.1) is drawn in blue.

The color information is information indicative of this drawing color. The color information of each active pen2is acquired by the processor23from a notification from the electronic apparatus4with an uplink signal US or from a notification by an operation of the switch24by the user. The processor23is configured such that it notifies the user of the color information acquired in this manner through the indicator25. It is to be noted that, whileFIG.3depicts an example in which color information is notified by displaying a character indicative of the color on the indicator25, the display color of the indicator25may be used for the notification of the color information.

Now, referring back toFIG.1, a configuration of the electronic apparatus4is described in detail.

The liquid crystal display device44is an apparatus that includes, though not depicted, pluralities of pixel electrodes and liquid crystal layer disposed in a matrix, and a common electrode. The host processor43is configured such that it controls the potential of each pixel electrode in a state in which the potential of the common electrode is kept at a predetermined value (for example, a pixel driving potential Vcom depicted inFIG.3) to perform arbitrary display on the liquid crystal display device44.

FIG.5depicts an example of control of the liquid crystal display device44performed by the host processor43. As depicted inFIG.5, the host processor43is configured for generation, in the inside thereof, of a synchronizing signal Vsync that is activated in a predetermined interval VT and performs control of the liquid crystal display device44in a unit of a frame where the period of the synchronizing signal Vsync is one frame.FIG.5depicts two frames F1and F2.

In the first frame, a plurality of horizontal blanking periods HB are deployed. Within the front half of each horizontal blanking period HB, a driving process of pixels by the host processor43is executed. On the other hand, within the rear half of the horizontal blanking period HB, a process for returning a pixel of a driving target from the right end to the left end of a screen (or a predetermined region where the screen is divided into a plurality of regions) is performed. During this process, the driving process of pixels by the host processor43is placed in a dormant state. In the following description, a period within which the driving process is in a dormant state is referred to as blank period BP.

Referring back toFIG.1, the panel42is a transparent plate made of glass or plastics, and the sensor40is disposed between the panel42and the liquid crystal display device44. The sensor controller41is configured such that it executes communication with an active pen2and detection of a finger3through the sensor40.

FIG.4is a view depicting a configuration of the sensor40and the sensor controller41. In the following, a configuration and operation of the sensor40and the sensor controller41are described in detail with reference toFIG.4.

The sensor40is configured such that a plurality of sensor electrodes40X that are transparent conductors individually extending in a Y direction and disposed at equal distances in an X direction orthogonal to the Y direction and a plurality of sensor electrodes40Y that are transparent conductors individually extending in the X direction and disposed at equal distances in the Y direction are disposed in a matrix. The sensor40is configured such that a coupling capacitor is formed between any of the sensor electrodes40X and40Y and the active pen2or the finger3. It is to be noted that, although an example in which each of the sensor electrodes40X and40Y here is configured from a linear conductor is depicted, also it is possible to configure the sensor electrodes40X and40Y from conductors of some other shape. For example, the sensor electrodes40X or40Y may be configured from a plurality of rectangular conductors disposed two-dimensionally such that two-dimensional coordinates of a stylus can be detected.

The sensor electrodes40X or40Y can be used also as the common electrode of the liquid crystal display device44described hereinabove. The electronic apparatus4that uses the sensor electrodes40X or40Y as a common electrode of the liquid crystal display device44is called, for example, “in-cell type” electronic apparatus. On the other hand, the electronic apparatus4provided with the sensor electrodes40X and40Y and the common electrode of the liquid crystal display device44separately is called, for example, “out-cell type” electronic apparatus. Although the following description is given assuming that the electronic apparatus4is of the in-cell type, the present disclosure can be applied also to an electronic apparatus4of the out-cell type. Further, although the following description is given assuming that the sensor electrodes40X are used as a common electrode of the liquid crystal display device44, it is needless to say that the sensor electrodes40Y may be used as a common electrode of the liquid crystal display device44.

When the host processor43executes a driving process for the pixels, it is necessary to keep the potential of the common electrode to a predetermined value. Accordingly, in the electronic apparatus4of the in-cell type, while the host processor43is executing a driving process for the pixels, the sensor controller41cannot perform communication with an active pen2and detection of a finger3. Therefore, the host processor43uses the blank period BP depicted inFIG.5to cause the sensor controller41to execute communication with an active pen2and detection of a finger3. In particular, the sensor controller41assumes each of a plurality of blank periods BP existing in one frame as a time slot and controls the sensor controller41to execute communication with an active pen2and detection of a finger3within the time slot.

FIG.5depicts an example in which 16 blank periods BP exist in one frame. The sensor controller41assumes the 16 blank periods BP as 16 time slots T1to T16and utilizes the time slots T1to T16to execute communication with an active pen2and detection of a finger3. It is to be noted that, while description of the present embodiment is given taking a case in which 16 blank periods BP exist in one frame as an example, similar control is performed also in a case in which the number of blank periods BP in one frame is not 16.

Referring back toFIG.4, the sensor controller41is configured including microcontroller unit (MCU)50, a logic circuit51, transmitters52and53, a receiver54, and a selection device55.

The MCU50and the logic circuits51control transmission and reception operations of the sensor controller41by controlling the transmitters52and53, receiver54, and selection device55. In particular, the MCU50is a microprocessor that includes a read only memory (ROM) and a random access memory (RAM) in the inside thereof and operates by executing a program stored in them. The MCU50has a function also for outputting a pixel driving potential Vcom to be supplied to the sensor electrodes40X as a common electrode and data DATA to be supplied as an uplink signal US upon pixel driving of the liquid crystal display device44. Meanwhile, the logic circuit51is configured to output control signals ctrl_t1, ctrl_t2, and ctrL_r under the control of the MCU50.

The transmitter52is a device that generates a finger detection signal FDS to be used for detection of a finger3under the control of the MCU50. The finger detection signal FDS may be, for example, a non-modulated pulse train signal or sine wave signal.

The transmitter53is a device that generates an uplink signal US under the control of the MCU50and the logic circuit51and is configured including a code train retention circuit60, a spread processing circuit61, and a transmission guard circuit62as depicted inFIG.3.

The spread processing circuit61has two input terminals and one output terminal, and data DATA is supplied from the MCU50to one of the input terminals while a spread code PN is supplied from the code train retention circuit60to the other input terminal.

The data DATA is data of a plurality of bits deployed in the uplink signal US. When the MCU50is to transmit a command signal C, it generates a command D1and an extension flag D2depicted inFIG.2Aand supplies them as data DATA to the spread processing circuit61. On the other hand, when a multi uplink signal M/U is to be transmitted, the MCU50generates detected flags D3aand D3band corresponding data D4aand D4bdepicted inFIG.2Band supplies them as data DATA to the spread processing circuit61.

The spread code PN is data of a predetermined bit length having an autocorrelation characteristic. The code train retention circuit60has a function of generating and retaining the spread code PN under the control of the control signal ctrl_t1supplied from the logic circuit51.

The spread processing circuit61has a function for modulating, based on data DATA supplied to one of the input terminals thereof, the spread code PN supplied to the other input terminal thereof to acquire a transmission chip train of a predetermined chip length. The transmission chip train acquired by the spread processing circuit61is supplied to the transmission guard circuit62.

The transmission guard circuit62has a function for inserting a guard period (period within which neither transmission nor reception is performed), which is necessitated to perform switching between a transmission operation and a reception operation, between a transmission period of an uplink signal US and a reception period of a downlink signal DS under the control of the control signal ctrl_t2supplied thereto from the logic circuit51.

The receiver54is a device for receiving the downlink signal DS transmitted from an active pen2or a finger detection signal FDS transmitted from the transmitter52under the control of the control signal ctrl_r of the logic circuit51. In particular, the receiver54is configured including an amplification circuit65, a detection circuit66, and an analog to digital (AD) converter67.

The amplification circuit65amplifies and outputs the downlink signal DS or a finger detection signal FDS supplied from the selection device55. The detection circuit66is a circuit that generates a voltage corresponding to the level of an output signal of the amplification circuit65. The AD converter67is a circuit that samples a voltage outputted from the detection circuit66at predetermined intervals of time to generate a digital signal. The digital signal outputted from the AD converter67is supplied to the MCU50. The MCU50performs, based on the digital signal supplied thereto in this manner, position detection of an active pen2or a finger3and acquisition of data Res transmitted from the active pen2(identification data or default data described above or the like). The MCU50outputs coordinates x, y indicative of the detected position and the acquired data Res sequentially to the host processor43. Further, in the case where the MCU50acquires identification data, it performs a process for changing its own operation mode. This is hereinafter described in detail.

The selection device55is configured including switches68xand68yand conductor selection circuits69xand69y.

The switch68yis a switch element configured such that a common terminal and one of a terminal T and a terminal R thereof are connected to each other. The common terminal of the switch68yis connected to the conductor selection circuit69yand the terminal T is connected to an output terminal of the transmitter53while the terminal R is connected to an input terminal of the receiver54. Meanwhile, the switch68xis a switch element configured such that a common terminal and one of a terminal T1, a terminal T2, a terminal D, and a terminal R thereof are connected to each other. The common terminal of the switch68xis connected to the conductor selection circuit69xand the terminal T1is connected to an output terminal of the transmitter53; the terminal T2is connected to an output terminal of the transmitter52; the terminal D is connected to an output terminal of the MCU50from which the pixel driving potential Vcom is outputted; and the terminal R is connected to an input terminal of the receiver54.

The conductor selection circuit69xis a switch element for selectively connecting the plurality of sensor electrodes40X to the common terminal of the switch68x. The conductor selection circuit69xis configured such that also it can simultaneously connect part or all of the plurality of sensor electrodes40X to the common terminal of the switch68x.

The conductor selection circuit69yis a switch element for selectively connecting the plurality of sensor electrodes40Y to the common terminal of the switch68y. Also the conductor selection circuit69yis configured such that also it can simultaneously connect part or all of the plurality of sensor electrodes40Y to the common terminal of the switch68y.

To the selection device55, four control signals sTRx, sTRy, selX, and selY are supplied from the logic circuit51. In particular, the control signal sTRx is supplied to the switch68x; the control signal sTRy is supplied to the switch68y; the control signal selX is supplied to the conductor selection circuit69x; and the control signal selY is supplied to the conductor selection circuit69y. The logic circuit51controls the selection device55using the control signals sTRx, sTRy, selX, and selY to implement transmission of an uplink signal US or a finger detection signal FDS and application of a pixel driving potential Vcom as well as reception of a downlink signal DS or a finger detection signal FDS.

In the following, control contents of the selection device55by the logic circuit51and operation of the MCU50receiving the control contents are described in detail separately in regard to those upon execution of detection of a finger3, upon execution of pixel driving operation, upon transmission of an uplink signal US, and upon reception of a downlink signal DS.

First, upon detection of a finger3, the logic circuit51controls the switch68xsuch that the terminal T2is connected to the common terminal and controls the switch68ysuch that the terminal R is connected to the common terminal. Further, the logic circuit51controls the conductor selection circuits69xand69ysuch that combinations of pluralities of sensor electrodes40X and40Y are successively selected. By this control, the finger detection signals FDS that pass a plurality of cross points configured from the pluralities of sensor electrodes40X and40Y are successively received by the receiver54. The MCU50detects the position of the finger3on the panel face based on the reception strength of the finger detection signals FDS successively received in this manner.

Further, upon execution of pixel driving operation, the logic circuit51controls the switch68xsuch that the terminal D is connected to the common terminal and controls the conductor selection circuit69xsuch that all of the plurality of sensor electrodes40X are simultaneously connected to the switch68x. Consequently, the pixel driving potential Vcom is supplied from the MCU50to the sensor electrodes40X, and therefore, execution of pixel driving operation by the host processor43is enabled. It is to be noted that the MCU50causes the logic circuit51to perform the control described above at a timing based on a timing signal supplied from the host processor43.

Further, upon transmission of an uplink signal US, the logic circuit51controls the switch68xsuch that the terminal T1is connected to the common terminal and controls the switch68ysuch that the terminal T is connected to the common terminal. Furthermore, the logic circuit51controls the conductor selection circuits69xand69ysuch that all of the pluralities of sensor electrodes40X and40Y are selected simultaneously. Consequently, an uplink signal US is transmitted from all of the pluralities of sensor electrodes40X and40Y.

Finally, upon reception of a downlink signal DS, the logic circuit51controls the switches68xand68ysuch that the terminal R is connected to the common terminal. The control method for the conductor selection circuits69xand69ydiffers depending upon the type of a downlink signal DS to be received.

In particular, in the case where a downlink signal DS that is a burst signal or a response signal is to be received, the logic circuit51controls the conductor selection circuits69xand69ysuch that combinations of the pluralities of sensor electrodes40X and40Y are successively selected. In the following description, such a control method of the conductor selection circuits69xand69yas described above is referred to as “global scan.” By performing global scan, burst signals or response signals that individually pass the plurality of cross points configured from the pluralities of sensor electrodes40X and40Y are successively received by the receiver54. The MCU50detects the position of the active pen2on the panel face based on the reception strength of the burst signals successively received in this manner. Further, the MCU50decodes a response signal supplied from the receiver54to acquire identification data included in the response signal.

Meanwhile, in the case where a downlink signal DS that is a data signal is to be received, the logic circuit51controls the conductor selection circuits69xand69ysuch that only a predetermined number of ones (for example, one) of the pluralities of the sensor electrodes40X and40Y, which are located in the proximity of the latest position detected based on the burst signal transmitted from the active pen2that is a transmission source of the data signal. In the following description, such a control method of the conductor selection circuits69xand69yis referred to as “local scan.” A data signal received by the predetermined number of selected sensor electrodes is supplied to the MCU50through the receiver54. The MCU50decodes the data signal supplied in this manner to acquire data transmitted from an active pen2.

An overview of the entire position detection system1according to the present embodiment has been described. Now, a characteristic portion of the configuration of the position detection system1, which is characteristic to the present disclosure, is described in more detail.

FIGS.5to7individually depict control of the liquid crystal display device44performed by the host processor43and communication performed between the sensor controller41and an active pen2.FIG.5depicts a case in which the active pen2ais detected newly from a state in which no active pen2is detected by the sensor controller41;FIG.6depicts a case in which the active pen2bis detected further by the sensor controller41; andFIG.7depicts a case in which the active pens2aand2bare detected already by the sensor controller41.

First, operation modes of the sensor controller41are described.

As depicted inFIG.5, the sensor controller41that is in a state in which it detects no active pen2transmits a command signal C in a time slot T1, carries out transmission of a ping signal P and global scan (GS) in time slots T3and T4, and carries out a detection operation (TS) of a finger3in time slots T5to T7and T9to T11. In the following description, the operation mode of the sensor controller41in which it operates in such a transmission and reception schedule as just described is referred to as “global mode.”

Further, as depicted inFIG.6, the sensor controller41that is in a state in which it detects only one active pen2transmits a command signal C in a time slot T1, transmits a multi uplink signal M/U in a time slot T2, carries out transmission of a ping signal P and local scan (LS) in time slots T3, T4, T7, T8, T11, T12, T14, and T15, carries out transmission of a ping signal P and global scan (GS) in time slots T5and T6, and carries out a detection operation (TS) of a finger3in time slots T9, T10, and T13. In the following description, the operation mode of the sensor controller41in which it operates in such a transmission and reception schedule as just described is referred to as “full mode.”

Furthermore, as depicted inFIG.7, the sensor controller41that is in a state in which it detects two active pens2transmits a command signal C in the time slot T1, transmits a multi uplink signal M/U in a time slot T2, carries out transmission of a ping signal P and local scan (LSA) for a first active pen2in the time slots T3, T4, T11, and T12, carries out transmission of a ping signal P and local scan (LSB) for a second active pen2in the time slots T7, T8, T14, and T15, carries out transmission of a ping signal P and global scan (GS) in the time slots T5and T6, and carries out detection operation (TS) of a finger3in the time slots T9, T10, and T13. In the following description, the operation mode of the sensor controller41in which it operates in such a transmission and reception schedule as just described is referred to as “two-pen mode.”

Referring first toFIG.5, if the active pen2athat is not detected by the sensor controller41as yet receives a command signal C transmitted from the sensor controller41, then it acquires deployment of time slots from data included in the command signal C. Then, the active pen2atries to receive the multi uplink signal M/U at a timing corresponding to the time slot T2. In the example ofFIG.5, since the sensor controller41does not transmit the multi uplink signal M/U, the active pen2adoes not receive a multi uplink signal M/U.

The active pen2ahaving decided that a multi uplink signal M/U is not received in the time slot T2decides that the operation mode of the sensor controller41is the “global mode” and sets its own operation mode to the “global mode” in response to the decision. The global mode of an active pen2is a mode in which a command signal C is received in the time slot T1, a multi uplink signal M/U is received in the time slot T2, and transmission of a response signal and a burst signal are performed in the time slots T3and T4.

The active pen2ahaving set its own operation mode to the global mode performs transmission of a response signal and a burst signal using the time slots T3and T4(inFIGS.5to7, the burst signal and the response signal are collectively represented as “A”). It is to be noted that, although the active pen2aat this time performs transmission operation in response to reception of the ping signal P, even in the case where a ping signal P is not received, the active pen2amay perform transmission operation similarly. This is because, since the active pen2ahas acquired deployment of time slots already by reception of the command signal C, it can transmit a response signal and a burst signal in the time slots T3and T4without relying upon a ping signal P. This similarly applies also to a case in which transmission of a downlink signal DS is performed at a different timing.

The sensor controller41receives a response signal and a burst signal transmitted from the active pen2aby global scan. Then, the sensor controller41acquires identification data included in the response signal and detects the position of the active pen2aon the panel face based on reception strengths of the burst signal by the sensor electrodes. The sensor controller41registers the acquired identification data and the detected position in a mutually associated relationship into its own memory (not depicted) and outputs them to the host processor43. Further, the sensor controller41having detected the first active pen2ain this manner changes its own operation mode to the full mode described above.

The command signal C transmitted from the sensor controller41in the full mode is a signal to which “1” indicating that one or more active pens2are being detected is set to the extension flag D2. Meanwhile, the multi uplink signal M/U is a signal in which “1” is set to one of the detected flags D3aand D3bwhile “0” is set to the other one of the detected flags D3aand D3band, to the one of the corresponding data D4aand D4bcorresponding to “1,” corresponding data corresponding to the identification data of the active pen2being detected (acquired from the response signal) is set. To the other of the corresponding data D4aand D4b, an initial value “00000” is set.

The active pen2ain the global mode tries to receive a multi uplink signal M/U after it receives the command signal C in a frame next to the frame in which the response signal and the burst signal have been transmitted. In the example ofFIG.6, since the sensor controller41transmits a multi uplink signal M/U, the active pen2areceives the multi uplink signal M/U.

The active pen2areceiving the multi uplink signal M/U first refers to the detected flags D3aand D3bincluded in the multi uplink signal M/U to acquire the number of active pens2being detected by the sensor controller41. Then, in the case where the acquired number of active pens2is “1,” the active pen2adecides that the sensor controller41is in the full mode, but in the case where the acquired number of active pens2is “2,” the active pen2adecides that the sensor controller41is in the two-pen mode.

In the example ofFIG.6, the active pen2adecides that the sensor controller41is in the full mode. The active pen2ahaving made this decision changes its own operation mode to the “full mode.” The full mode of an active pen2is a mode in which a command signal C is received in the time slot T1and a multi uplink signal M/U is received in the time slot T2, whereafter a data signal is transmitted in the time slots T3, T4, T7, T8, T11, T12, T14, and T15(inFIGS.5to7, the data signal is denoted by “D”), and a burst signal is transmitted in the time slots T5and T6.

Further, the active pen2arefers to the corresponding data D4aand D4bin the multi uplink signal M/U to decide whether or not the active pen2aitself is detected by the sensor controller41. As a result, in the case where it is decided that the active pen2aitself is not detected, the active pen2aperforms re-transmission of a response signal and a burst signal in the time slots T5and T6(not depicted). At this time, although there is the possibility that a different active pen2may transmit a burst signal simultaneously in response to an instruction of the sensor controller41, since usually the different active pen2is located at a different position on the panel face, the sensor controller41can distinguish and receive the response signal and the burst signal transmitted from the active pen2aand the burst signal transmitted from the different active pen2.

In the case where the active pen2adecides that it itself is detected by the sensor controller41, it refers to the command signal C having received in the time slot T1to decide whether or not a command to the active pen2aitself has been transmitted. As a result, in the case where transmission of burst data is indicated, the time slots T5and T6are used to perform transmission of a burst signal. On the other hand, in the case where transmission of default data is indicated, the time slots T3, T4, T7, T8, T11, T12, T14, and T15are used to perform transmission of a data signal. In the case where the size of data to be transmitted is so great that the data cannot be transmitted fully in one frame, transmission of the data signal is continued also in a next frame. In the case where a command to the active pen2aitself has not been transmitted, the active pen2awaits for reception of a command signal C in a next frame.

The sensor controller41receives a burst signal transmitted from the active pen2aby global scan and re-detects the position of the active pen2aon the panel face based on the reception strength of the burst signal at the sensor electrodes. Then, the sensor controller41updates the position stored in the memory in an associated relationship with the identification data of the active pen2aand outputs the position to the host processor43. Further, the sensor controller41receives a data signal transmitted from the active pen2aby local scan and outputs the received data to the host processor43.

FIG.6depicts a case in which, while the sensor controller41is operating in the full mode, a second active pen2bcomes close to the panel face. In this case, the active pen2bfirst sets its own mode to the full mode similarly as in the case of the active pen2adescribed above. Then, as depicted inFIG.6, the active pen2btransmits a response signal and a burst signal in the time slots T5and T6. The sensor controller41receiving the response signal and the burst signal by global scan acquires identification data included in the response signal and detects the position of the active pen2bon the panel face of the reception strength of the burst signal at the sensor electrodes. The sensor controller41registers the identification data acquired and the position detected in this manner in an associated relationship with each other into its own memory and outputs them to the host processor43. Further, the sensor controller41having detected the second active pen2bin this manner changes its own operation mode to the two-pen mode.

The active pens2aand2bin the full mode individually try to receive a multi uplink signal M/U after they receive a command signal C in a next frame. In the example ofFIG.7, the active pens2aand2breceive a same multi uplink signal M/U.

The active pens2aand2bhaving received the multi uplink signal M/U first refer to the detected flags D3aand D3bincluded in the multi uplink signal M/U to acquire the number of active pens2being detected by the sensor controller41. Since, in the example ofFIG.7, the number of active pens2is “2,” each of the active pens2aand2bdecides that the sensor controller41is in the two-pen mode.

The active pens2aand2bfurther refer to the corresponding data D4aand D4bto decide whether or not they themselves are detected by the sensor controller41. As a result, if it is decided that they are not detected, then the active pens2aand2babandon the communication with the sensor controller41and notify the users of this using, for example, the indicator25. That two pieces of identification data other than its own identification data are notified by the multi uplink signal M/U signifies that the sensor controller41that is ready only for simultaneous use of two active pens2in the maximum already detects two active pens2other than the active pen2itself and it is disabled to cause the sensor controller41to detect the active pen2itself.

Each of the active pens2aand2bin the case where it decides that it itself is detected by the sensor controller41decides in which one of the corresponding data D4aand D4bcorresponding data corresponding to its own identification data is included. As a result, in the case where it is decided that it is included in the corresponding data D4a, its own operation mode is changed to the “half mode A,” but in the case where it is decided that the corresponding data is included in the corresponding data D4b, its own operation mode is changed to the “half mode B.” The half mode A is a mode in which a command signal C is received in the time slot T1, a multi uplink signal M/U is received in the time slot T2, a data signal is transmitted in the time slots T3, T4, T11, and T12, and a burst signal is transmitted in the time slots T5and T6. On the other hand, the half mode B is a mode in which a command signal C is received in the time slot T1, a multi uplink signal M/U is received in the time slot T2, a data signal is transmitted in the time slots T7, T8, T14, and T15, and a burst signal is transmitted in the time slots T5and T6.

Thereafter, each of the active pens2aand2brefers to the command signal C received in the time slot T1to decide whether or not a command to the active pen itself has been transmitted. As a result, in the case where transmission of burst data has been indicated, transmission of a burst signal is performed using the time slots T5and T6. On the other hand, in the case where transmission of default data has been indicted, transmission of a data signal is performed using corresponding time slots for data signal transmission (in the half mode A, the time slots T3, T4, T11, and T12, and in the half mode B, the time slots T7, T8, T14, and T15). In the case where the size of data to be transmitted is so great that the data cannot be transmitted fully in one frame, transmission of the data signal is continued also in a next frame. In the case where a command to each of the active pens2aand2bitself has not been transmitted, reception of a command signal C in a next frame is awaited.

If burst signals transmitted from the active pens2aand2bare received by a global scan, then the sensor controller41re-detects the positions of the active pens2, which are transmission sources of the burst signals, on the panel face based on the reception strength of the burst signals at the sensor electrodes. Then, the positions stored in an associated relationship with the identification data of the active pens2in the memory are updated and outputted to the host processor43. Further, the sensor controller41receives data signals transmitted from the active pens2aand2bby a local scan and outputs the received data to the host processor43.

As described above, according to the present embodiment, identification data is determined by the active pen2side, and a notification of identification data determined by an active pen2is issued to the sensor controller41by a response signal. Accordingly, it can be prevented that, in pairing between an active pen2and the sensor controller41, same identification data is allocated to a plurality of active pens2.

Further, according to the present embodiment, since each active pen2autonomously changes its own operation mode in response to a change of the number of active pens2detected by the sensor controller41, the delay of a pairing process between an active pen2and the sensor controller41can be prevented in comparison with that in an alternative case in which the sensor controller41instructs each active pen2of a transmission and reception schedule.

Now, such operations as described above by the present embodiment are described in more detail again with reference to processing flows of an active pen2and the sensor controller41. It is to be noted that the following description is given assuming the frame configuration described hereinabove with reference toFIGS.5to7.

FIGS.8and9are flow charts depicting processes performed by the processor23of an active pen2. Here, a value of a “response signal transmitted flag” depicted at S10ofFIG.8is data stored in the memory22. At a stage at which the power supply to the active pen2is made available, the response signal transmitted flag is in a state set to an initial value False (S10).

The processor23that starts its operation as the power supply is made available first performs a detection operation of a command signal C (S11). As a result, in the case where a command signal C is detected, the processor23decodes data included in the command signal C to acquire various information including deployment of time slots (S15). On the other hand, in the case where a command signal C is not detected, the processor23decides whether or not a predetermined period of time elapses in a state in which a command signal C is not detected (S12). Then, in the case where it is decided that the predetermined period of time does not elapse, the processing returns to S11, at which a detection operation of a command signal C is continuously performed. On the other hand, in the case where it is decided that the predetermined period of time elapses, the processor23sets the value False to the response signal transmitted flag (S13) and then returns the processing to S11to continuously perform the detection operation of a command signal C. The process at S13is a process for returning, when the active pen2is moved away from the panel face to such a degree that it cannot receive an uplink signal US, the response signal transmitted flag set to the value True at S24hereinafter described to the original value of False.

After S15is performed, the processor23performs a detection operation of a multi uplink signal M/U at a timing of the time slot T2(S16). As a result, if a multi uplink signal M/U is not detected, then the processor23sets its own operation mode to the global mode (S17) and uses the time slots T3and T4to transmit a response signal and a burst signal including its own identification data (S18). Further, the processor23sets the value True to the response signal transmitted flag (S24) and then returns the processing to S11.

The processor23in the case where it detects a multi uplink signal M/U at S16decides whether the value of the response signal transmitted flag is True or False (S19). As a result, in the case where it is decided that the value of the response signal transmitted flag is False, the processor23decides whether or not the multi uplink signal M/U includes data that is the same as corresponding data corresponding to its own identification data (S20). In the case where it is decided that the multi uplink signal M/U includes such data, the processor23changes the data retained as its own identification data in the memory22(S21). By the process at S21, it becomes possible to prevent that a plurality of active pens2transmit same identification data.

In the case where it is decided at S20that the multi uplink signal M/U does not include such data as described above, or in the case where the process at S21ends, the processor23sets its own operation mode to the full mode (S22) and uses the time slots T5and T6to transmit a response signal and a burst signal including its own identification data (S23). Further, the processor23sets the response signal transmitted flag to the value True (S24) and returns the processing to S11.

The processor23in the case where it is decided at S19that the value of the response signal transmitted flag is True decides whether or not the multi uplink signal M/U includes the corresponding data of its own identification data as depicted inFIG.9(S30). As a result, in the case where it is decided that the multi uplink signal M/U does not include such corresponding data, the processor23decides that the sensor controller41does not detect the processor23itself as yet and returns the processing to S11. On the other hand, in the case where it is decided that the multi uplink signal M/U includes the corresponding data, the processor23decides that the sensor controller41detects the processor23itself and refers to the detected flags D3aand D3bin the multi uplink signal M/U to acquire the number of active pens2being detected by the sensor controller41. Then, the processor23decides which one of 1 and 2 the acquired number is (S31).

In the case where it is decided at S31that the acquired number is 1, the processor23sets its own operation mode to the full mode (S32). On the other hand, in the case where it is decided at S31that the acquired number is 2, the processor23further decides in which one of the corresponding data D4aand D4bthe corresponding data corresponding to its own identification data is included (S33). In the case where the corresponding data is included in the corresponding data D4a, the processor23sets its own operation mode to the half mode A (S34), but in the case where the corresponding data is included in the corresponding data D4b, the processor23sets its own operation mode to the half mode B (S35).

Here, that the processor23sets its own operation mode in such a manner as described above is equivalent to that the sensor controller41determines a transmission rate of the downlink signal DS in response to the number of active pens2being detected by the sensor controller41. In particular, while, in the full mode, transmission of a downlink signal DS is performed using the eight time slots T3, T4, T7, T8, T11, T12, T14, and T15as described hereinabove, in the half mode A and the half mode B, only four time slots can be used for transmission of a downlink signal DS, and therefore, the transmission rate is one half that in the case of the full mode. Accordingly, that the processor23sets the operation mode to the half mode A and the half mode B is equivalent to that the transmission rate of a downlink signal DS is determined to a value one half that in the case where the operation mode is set to the full mode.

Further, it can be considered that, according to such a setting method of the operation mode as described above, in the case where the multi uplink signal M/U indicates increase of the number of active pens2under detection, the processor23decreases the transmission rate for the downlink signal DS, but in the case where the multi uplink signal M/U indicates decrease of the number of active pens2under detection, the processor23increases the transmission rate for the downlink signal DS.

The processor23entering one of the operation modes at S32, S34, or S35uses time slots according to the operation mode to carry out transmission of a downlink signal DS in accordance with a command in the command signal C and uses a period of time in which transmission is not performed to carry out detection of a command signal C (S36). While S36is being carried out, if a timing for the time slot T1of a next frame comes, then the processor23returns the processing to S11ofFIG.8(S37). Further, even before a timing for the time slot T1of a next frame comes, in the case where a command signal C is detected, the processor23advances the processing to S15ofFIG.8(S38). Processing for the next frame is started in this manner.

FIGS.10to13are flow charts depicting processing performed by the sensor controller41. The sensor controller41first sets its own operation mode to the global mode as depicted inFIG.10(S50). Then, the sensor controller41decides which one of the global mode, full mode, and two-pen mode the current operation mode is (S51).

FIG.11depicts processes for one frame in the case where it is decided at S51that the current operation mode is the global mode. The processes performed in the time slots by the sensor controller41in this case are such as described below (S60).

In particular, the sensor controller41first performs transmission of a command signal C in the time slot T1(S61: first uplink signal transmission).

Then, the sensor controller41carries out a global scan in the time slots T3and T4(S63: response signal detection). Then, the sensor controller41decides whether or not a response signal is received (S64), and only in the case where it is decided that a response signal is received, the sensor controller41extracts identification data (hereinafter referred to as identification data #1) included in the response signal and registers the identification data into its own memory (S65: identification data extraction) and also sets its own operation mode to the full mode (S67: transmission and reception schedule changing). Further, the sensor controller41decides whether or not a burst signal is received (S68), and only in the case where it is decided that a burst signal is received, the sensor controller41acquires the position of the active pen2on the panel face based on the reception strength of the burst signal at the pluralities of sensor electrodes40X and40Y and stores the position in an associated relationship with the identification data #1(S69). Though not depicted, the sensor controller41performs also a process for outputting the acquired identification data #1and position to the host processor43.

It is to be noted that, though not depicted, at S64, a case in which a response signal is received at two locations on the panel face possibly occurs. This is, for example, a case in which two active pens2approach the panel face simultaneously. In such a case as just described, it is sufficient if the sensor controller41registers identification data included in the individual response signals into its own memory at S65and sets its own operation mode to the two-pen mode at S66.

The sensor controller41further carries out a detection operation of a finger3in the time slots T5to T7and T9to T11(S70). Particular contents of this operation are such as described hereinabove, and therefore, description of them is omitted.

FIG.12depicts processes for one frame in the case where it is decided at S51that the current operation mode is the full mode. The processes performed in the time slots by the sensor controller41in this case are such as described below (S80).

In particular, the sensor controller41first performs transmission of a command signal C in the time slot T1(S81: first uplink signal transmission). Then in the time slot T2, the sensor controller41performs transmission of a multi uplink signal M/U including corresponding data of the identification data #1(S82: second uplink signal transmission).

The sensor controller41further carries out local scan in regard to the identification data #1in the time slots T3, T4, T7, T8, T11, T12, T14, and T15(S83).

FIG.14is a flow chart depicting details of the local scan carried out at S83and S103and S104(refer toFIG.13) hereinafter described. As depicted inFIG.14, the sensor controller41first performs a reception operation of a data signal (S110). This reception operation is performed using, from among the pluralities of the sensor electrodes40X and40Y, only a predetermined number of sensor electrodes in the proximity of the position of an active pen2of a scanning target (position stored in an associated relationship with identification data of the active pen2of the scanning target (such identification data is represented as identification data #k inFIG.14)).

The sensor controller41when it is decided at S110that a data signal is received acquires data transmitted from the active pen2of the scanning target (S111). Though not depicted, the data acquired in this manner is supplied in an associated relationship with the identification data #k from the sensor controller41to the host processor43.

On the other hand, the sensor controller41, when it is decided at S110that a state in which a data signal is not received, decides whether or not a state in which a data signal from the active pen2of the scanning target is not detected has continued for a predetermined period of time (S113). In the case where it is decided that the state has continued, the sensor controller41deletes the identification data #k from its own memory (S114). Then, the sensor controller41decides which one of 0 and 1 the number of active pens2under detection (number of the remaining active pens2) is (S115), and if the number is 1, then the sensor controller41sets its own operation mode to the full mode (S116), but if the number is 0, then the sensor controller41sets its own operation mode to the global mode (S117). Consequently, pairing with the active pen2having moved away from the panel face is cancelled.

After the process at S111, S116, or S117ends or in the case where it is decided at S113that the state has not continued, the sensor controller41ends the process for the local scan.

Referring back toFIG.12, the sensor controller41carries out a global scan in the time slots T5and T6(S84: response signal detection). Then, the sensor controller41decides whether or not a response signal is received (S85), and only in the case where it is decided that a response signal is received, the sensor controller41extracts identification data included in the response signal (such identification data is hereinafter referred to as identification data #2) and registers the identification data into its own memory (S86: identification data extraction) and sets its own operation mode to the two-pen mode (S87). Further, the sensor controller41decides whether or not a burst signal is received (S88), and only in the case where it is decided that a burst signal is received, the sensor controller41acquires the position of the active pen2on the panel face based on the reception strengths of the burst signal at the pluralities of sensor electrodes40X and40Y and stores the position in an associated relationship with the identification data #2(S69). Though not depicted, the sensor controller41performs also a process for outputting the acquired identification data #2and position to the host processor43.

It is to be noted that, at S88, there is the possibility that also a burst signal transmitted from the active pen2of the identification data #1may be received. In this case, the sensor controller41stores the position of the active pen2acquired based on the burst signal in an associated relationship with the identification data #1and outputs the position to the host processor43.

The sensor controller41further carries out a detection operation of a finger3in the time slots T9, T10, and T13(S90).

FIG.13depicts processes for one frame in the case where it is decided at S51that the current mode is the two-pen mode. The processes performed in the time slots by the sensor controller41in this case are such as described below (S100).

In particular, the sensor controller41first performs transmission of a command signal C in the time slot T1(S101: first uplink signal transmission). Then in the time slot T2, the sensor controller41performs transmission of a multi uplink signal M/U including corresponding data of the identification data #1and #2(S102: second uplink signal transmission).

The sensor controller41further carries out local scan for the identification data #1in the time slots T3, T4, T11, and T12(S103) and carries out local scan for the identification data #2in the time slots T7, T8, T14, and T15(S104). Detailed processing contents of the local scan are such as described hereinabove with reference toFIG.14.

Further, the sensor controller41carries out global scan in the time slots T5and T6(S105). Then, the sensor controller41decides whether or not a burst signal is received (S106), and only in the case where it is decided that a burst signal is received, the sensor controller41acquires the position of the active pen2based on the burst signal and stores the position in an associated relationship with the identification data of the active pen2of the transmission source (S107). Though not depicted, the sensor controller41performs also a process for outputting the acquired position together with the corresponding identification data to the host processor43.

Here, the sensor controller41in the two-pen mode does not perform a detection operation of a response signal. This is because the sensor controller41has already detected the maximum number (=2) of active pens2. In this case, even if a new active pen2approaches the panel face and transmits a response signal, this is ignored by the sensor controller41.

The sensor controller41further carries out a detection operation of a finger3in the time slots T9, T10, and T13(S108).

Operation of the active pen2and the sensor controller41in the present embodiment has been described in more detail with reference to the processing flows.

Although the preferred embodiment of the present disclosure has been described, the present disclosure is not at all restricted by the embodiment and it is a matter of course that the present disclosure can be carried out in various manners without departing from the subject matter thereof.

For example, while, in the embodiment described above, the number of active pens2that can be used simultaneously in the electronic apparatus4is 2 in the maximum, also it is possible to configure the electronic apparatus4and the active pens2such that three or more active pens2can be used simultaneously.

FIGS.15A,15B, and15Care views depicting a command signal C and a multi uplink signal M/U in the case where n active pens2can be used simultaneously in the electronic apparatus4.FIG.15Adepicts a case in which the mode of the sensor controller41is the global mode (in the case where zero active pen2is detected),FIG.15Bdepicts another case in which the sensor controller41detects two active pens2, andFIG.15Cdepicts a case in which the sensor controller41detects n active pens2. By increasing the number of multi uplink signals M/U to be transmitted as the detection number increases as in this case, it becomes possible to use three or more active pens2simultaneously in the electronic apparatus4.

It is to be noted that, while, in the examples ofFIG.15, a plurality of multi uplink signals M/U are configured by lining up sets, each of which includes two corresponding data after two detected flags in order, a plurality of multi uplink signals M/U may be configured by deploying n corresponding data after n detected flags, or a plurality of multi uplink signals M/U may be configured by lining up sets, each of which includes one corresponding data after one detected flag in order, or else a plurality of multi uplink signals M/U may be configured by lining up sets, each of which includes m (m is one of 3 to n−1) corresponding data after m detected flags. Further, corresponding data may be deployed before a detected flag.

Further, in the case where the number of active pens2under detection is only one, the sensor controller41may not perform transmission of a multi uplink signal M/U. In this case, it is sufficient if, in the case where a multi uplink signal M/U is not received from the sensor controller41, the active pen2having transmitted the response signal to the sensor controller41decides that only the active pen2itself is under detection by the sensor controller41.

Further, the uplink signal US including a multi uplink signal M/U may not necessarily be transmitted from sensor electrodes arranged in a matrix. For example, wireless communication of Bluetooth (registered trademark) may be used to transmit a transmission timing of a downlink signal DS to be transmitted from an electrode21and corresponding data to an active pen2.

Further, while the foregoing description of the embodiment is given taking a case in which an electronic pen ready for an active capacitive method is used as an example, the present disclosure can be applied widely to such a communication method that can detect a signal of an electronic pen in the case where the distance from the panel face to the electronic pen is short (for example, within 10 cm), for example, an electromagnetic induction method, an electromagnetic resonance method (EMR (registered trademark)), and so forth.