Communication Method

The communication method addresses challenges in maintaining data periodicity and controlling output units by transmitting data type and value separately, using shortened pen pressure values, and controlling output units based on recognition information, achieving efficient and appropriate data transmission and control.

JP7653300B2Active Publication Date: 2025-03-28WACOM CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021082840
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-14
Publication Date
2025-03-28
Estimated Expiration
2041-05-14

AI Technical Summary

Technical Problem

Existing communication methods for bidirectional communication between an active pen and a sensor controller face challenges in maintaining the periodicity of normal data, managing large command sizes in uplink signals, and controlling output units within the pen appropriately.

Method used

The proposed communication method involves transmitting the type and value of data in separate frames within the uplink signal, using shortened pen pressure values, and controlling output units based on recognition information transmitted at appropriate intervals.

Benefits of technology

This method allows for efficient data setting in the pen while maintaining normal data periodicity, enables the transmission of response data without disrupting normal data periodicity, and ensures appropriate control of output units within the pen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007653300000001
    Figure 0007653300000001
  • Figure 0007653300000002
    Figure 0007653300000002
  • Figure 0007653300000003
    Figure 0007653300000003
Patent Text Reader

Abstract

To provide a communication method that can set data to a pen by a command in an uplink signal while maintaining periodicity of normal data.SOLUTION: A communication method for communication performed between an active pen and a sensor controller comprises steps in which: the sensor controller, in a first frame, transmits to the active pen a command SetDataType including an identifier indicating an attribute BrushColor whose value is scheduled to be transmitted in a next and a subsequent frame S20; and the sensor controller transmits, in a second frame which is a frame after the first frame, a command SetDataValue including a value of an attribute BrushColor S27.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication method, and more particularly to a communication method for bidirectional communication performed between an active pen and a sensor controller. [Background technology]

[0002] There is known a position detection system that includes a sensor controller and a pen and is configured to enable bidirectional communication between them. Hereinafter, a signal transmitted from the sensor controller to the pen will be referred to as an "uplink signal," and a signal transmitted from the pen to the sensor controller will be referred to as a "downlink signal."

[0003] The uplink signal is a signal that includes a command indicating an instruction from the sensor controller to the pen. The pen that receives the uplink signal performs an operation according to the command included in the uplink signal. On the other hand, the downlink signal is a signal that includes a position signal for causing the sensor controller to detect its position, and a data signal that is modulated by data transmitted from the pen to the sensor controller. The data transmitted by the data signal includes data that is periodically transmitted for drawing (such as pen pressure value, hereinafter referred to as "normal data"), and data that is transmitted in response to a command (hereinafter referred to as "response data").

[0004] The uplink signal also serves to inform the pen of the reference timing for the transmission and reception schedule of the uplink signal and the downlink signal (i.e., the transmission timing of the downlink signal and the reception timing of the next uplink signal), and the sensor controller is configured to periodically transmit the uplink signal. The pen determines the transmission and reception schedule of the uplink signal and the downlink signal based on the reception timing of the uplink signal, and transmits the downlink signal and receives the next uplink signal according to the determined transmission and reception schedule.

[0005] Patent Documents 1 and 2 disclose examples of position detection systems. In these examples, the size of the uplink signal is variable depending on the size of the command to be transmitted. This enables the sensor controller to transmit commands of various sizes to the pen. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Patent No. 6603435 [Patent Document 2] Patent No. 6644200 Summary of the Invention [Problem to be solved by the invention]

[0007] The applicant is considering making it possible to set data such as drawing color (BrushColor) in the pen using a command in the uplink signal. Specifically, the applicant is considering placing a command including the type and value of the setting data in the uplink signal and setting the data in the pen using this command.

[0008] However, since commands including the type and value of configuration data tend to be large in size, placing them in the uplink signal would increase the size of the uplink signal, which would reduce the time allocated to transmitting the downlink signal and affect the periodicity of normal data, so an improvement was needed.

[0009] Therefore, one object of the present invention is to provide a communication method that allows data to be set in the pen by commands in the uplink signal while maintaining the periodicity of normal data.

[0010] In addition, in recent years, the number of bits in the pen pressure value has increased (for example, 12 bits), making it difficult to place both the response data and the normal data in one downlink signal. This means that the normal data is lost when the response data is transmitted, so an improvement was needed.

[0011] Therefore, another object of the present invention is to provide a communication method capable of transmitting response data from a pen to a sensor controller while maintaining the periodicity of normal data.

[0012] The applicant is also considering providing a more realistic writing experience by arranging an output unit such as a haptic element, a light-emitting element, and an acoustic element in the pen and controlling the output unit according to the writing pressure value being detected by the pen. The control of the output unit includes vibration control of the haptic element, light emission control of the light-emitting element, and sound control of the acoustic element.

[0013] However, if the output unit is controlled according to the pen pressure value being detected by the pen, the output unit will be controlled even when the pen tip is pressed against a surface other than the touch surface, such as a wall. This means that the haptic element will vibrate, the light-emitting element will emit light, and the acoustic element will ring when it is not necessary, so improvements were needed.

[0014] Therefore, a further object of the present invention is to provide a communication method capable of controlling an output unit disposed within a pen at an appropriate timing.

[0015] In this regard, if the output unit of the pen is controlled from the sensor controller, it will be possible to control the output unit only when the sensor controller detects the pen, which is believed to enable control of the output unit disposed in the pen at an appropriate timing.Furthermore, if information on the pen that can be recognized by the sensor controller (hereinafter referred to as "recognition information"), such as the pen's moving speed, is transmitted to the pen via an uplink signal, it will be possible to achieve more advanced control of the output unit, such as vibrating the pen with an amount of vibration corresponding to the pen's moving speed.

[0016] However, since the data size of the recognition information is large, it is difficult to transmit the recognition information frequently. As a result, after transmitting the recognition information, the control of the output unit continues regardless of the state of the pen until the next transmission of the recognition information. For example, even after the pen is removed from the touch surface, the control of the output unit continues with the control amount according to the last transmitted recognition information until the next recognition information is transmitted by the sensor controller that recognizes the removal of the pen. This does not mean that the control of the output unit arranged in the pen is being executed appropriately, and improvement was necessary.

[0017] Therefore, a further object of the present invention is to provide a communication method capable of appropriately executing control based on recognition information of an output unit disposed within a pen. [Means for solving the problem]

[0018] A communication method according to a first aspect of the present invention is a communication method for communication performed between a pen and a sensor controller that transmits an uplink signal to the pen every frame period, the communication method including: a step of the sensor controller transmitting, in a first frame, a first uplink signal, the uplink signal including an identifier that identifies a type of data whose value is planned to be transmitted to the pen in a next or subsequent frame; and a step of the sensor controller transmitting, in a second frame that is the next or subsequent frame after the first frame, a second uplink signal, the uplink signal including a data value corresponding to the identifier.

[0019] A communication method according to a second aspect of the present invention is a communication method according to the first aspect of the present invention, further comprising a step in which the pen transmits a downlink signal including response data indicating that it is capable of setting data of the type indicated by the identifier in response to the first uplink signal, the downlink signal including an abbreviated pen pressure value consisting of a predetermined upper number of bits of the pen pressure value.

[0020] A communication method according to a third aspect of the present invention is a communication method for communication performed between a pen including an output unit and a sensor controller that transmits an uplink signal to the pen, the communication method including: when the sensor controller detects that the pen is in contact, a step of transmitting a first uplink signal, the uplink signal including control information for controlling the output unit; and a step of the pen controlling the output unit in response to receiving the first uplink signal.

[0021] A communication method according to a fourth aspect of the present invention is a communication method according to the third aspect of the present invention, wherein the sensor controller is configured to transmit the uplink signal to the pen every frame period, and includes a step of the sensor controller acquiring recognition information indicating a recognition result of the pen, and a step of the sensor controller transmitting a second uplink signal in a first frame, the second uplink signal being an uplink signal including the latest value of the recognition information, and the sensor controller transmits the first uplink signal in each of one or more second frames which are frames subsequent to the first frame. Effect of the Invention

[0022] According to the first aspect of the present invention, the data type and the data value are transmitted in separate frames, making it possible to set data in the pen using commands in the uplink signal while maintaining the periodicity of normal data.

[0023] According to a second aspect of the present invention, even if it is difficult to place a pen pressure value in a downlink signal, an abbreviated pen pressure value can be placed instead, making it possible to transmit response data from the pen to the sensor controller while maintaining the periodicity of normal data.

[0024] According to the third aspect of the present invention, the output unit is controlled in response to a first uplink signal including control information, making it possible to control the output unit disposed within the pen at an appropriate timing.

[0025] According to a fourth aspect of the present invention, control of the output unit can be switched on and off based on the latest recognition information without the need to transmit the recognition information every frame, making it possible to appropriately execute control based on the recognition information of the output unit located within the pen. [Brief description of the drawings]

[0026] [Figure 1]1 is a diagram showing a configuration of a position detection system 1 according to a first embodiment of the present invention. [Diagram 2] 1 is a diagram illustrating a transmission and reception schedule of an uplink signal US and a downlink signal DS. [Diagram 3] FIG. 2 is a diagram showing the configuration of an uplink signal US. [Figure 4] 3 is a diagram showing the configuration of a portion of the data signal of each of the downlink signals DS1 and DS2 shown in FIG. 2 when the bit length of the data signal is 16 bits. FIG. [Diagram 5] 3 is a diagram showing the configuration of a portion of the data signal of each of the downlink signals DS1 and DS2 shown in FIG. 2 when the bit length of the data signal is 12 bits. FIG. [Figure 6] 11 is a sequence diagram showing a process in which the sensor controller 31 acquires data from the active pen 2. FIG. [Figure 7] 11 is a sequence diagram showing a process for setting data from the sensor controller 31 to the active pen 2. FIG. [Figure 8] 11 is a sequence diagram showing a process for controlling the output section 26 of the active pen 2 from the sensor controller 31. FIG. [Figure 9] FIG. 13 is a diagram showing an output section control process performed by the active pen 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0028] 1 is a diagram showing the configuration of a position detection system 1 according to an embodiment of the present invention. As shown in the figure, the position detection system 1 includes an active pen 2 and an electronic device 3 which is a position detection device that detects the active pen 2.

[0029] The electronic device 3 is a computer having a touch surface 3a, such as a tablet computer or a digitizer. The electronic device 3 includes a sensor 30 disposed directly below the touch surface 3a, a sensor controller 31 connected to the sensor 30, a display 32 disposed overlapping the sensor 30, and a host processor 33 that controls each part of the electronic device 3 including these components.

[0030] The host processor 33 is a central processing unit of the electronic device 3, and is configured to read and execute various programs from a memory (not shown). The programs thus executed include the operating system of the electronic device 3 and various applications including a drawing application. Among these, the drawing application is a program for executing a process of generating digital ink based on the position and data supplied from the sensor controller 31 and storing it in a memory in the electronic device 3, and a process of rendering the generated digital ink, generating a video signal showing the result, and supplying it to the display 32. The display 32 is a device that displays the video signal supplied from the host processor 33, and is configured, for example, by a liquid crystal display or an organic EL display.

[0031] The sensor controller 31 is an integrated circuit having a function of deriving the position of the active pen 2 on the touch surface 3a by bidirectionally communicating with the active pen 2 via the sensor 30, acquiring data from the active pen 2, and supplying the derived position and acquired data to the host processor 33 each time. The sensor controller 31 is configured to be able to derive the position of each active pen 2 and acquire data from each active pen 2 by bidirectionally communicating with each of the multiple active pens 2 via the sensor 30.

[0032] The communication between the sensor controller 31 and the active pen 2 is realized by, for example, an active electrostatic method or an electromagnetic induction method. When the active electrostatic method is used, the sensor 30 includes a plurality of x-side linear electrodes each extending in the y direction and arranged at equal intervals in the x direction, and a plurality of y-side linear electrodes each extending in the x direction and arranged at equal intervals in the y direction. On the other hand, when the electromagnetic induction method is used, the sensor 30 includes a plurality of x-side loop coils each extending in the y direction, and a plurality of y-side loop coils each extending in the x direction. Hereinafter, a signal transmitted from the sensor controller 31 to the active pen 2 is referred to as an uplink signal US, and a signal transmitted from the active pen 2 to the sensor controller 31 is referred to as a downlink signal DS.

[0033] The sensor controller 31 is configured to transmit an uplink signal US at every predetermined frame period and receive a downlink signal DS at the interval of the uplink signal US. The uplink signal US has a role of notifying the active pen 2 of the timing that is the reference for the transmission / reception schedule of the uplink signal US and the downlink signal DS (i.e., the transmission timing of the downlink signal DS and the reception timing of the next uplink signal US). The active pen 2 determines the transmission / reception schedule of the uplink signal US and the downlink signal DS based on the reception timing of the uplink signal US, and transmits the downlink signal DS and receives the next uplink signal US according to the determined transmission / reception schedule. The transmission timing and transmission duration of the downlink signal DS within the interval of the uplink signal US are specified in advance by the communication protocol.

[0034] When communication between the sensor controller 31 and the active pen 2 is performed by an active electrostatic method, the electronic device 3 may be configured as a so-called "in-cell type" position detection device. In this case, one of the multiple x-side linear electrodes and multiple y-side linear electrodes constituting the sensor 30 also serves as a common electrode of the display 32 (an electrode for supplying a ground potential to each pixel in common). Therefore, the sensor controller 31 cannot transmit the uplink signal US or receive the downlink signal DS using the sensor 30 at the timing of driving the pixels in the display 32. Therefore, the sensor controller 31 is configured to obtain the timing of driving the pixels in the display 32 from the host processor 33, transmit the uplink signal US with a certain period determined by the pixel driving period as the frame period, set a plurality of time slots corresponding to the pixel driving intervals as the transmission interval of the uplink signal US, and receive the downlink signal DS from the active pen 2 using the time in each time slot.

[0035] To briefly explain the configurations of the uplink signal US and the downlink signal DS, the uplink signal US is a signal modulated by a command indicating an instruction to the active pen 2, and is composed of a pulse wave (rectangular wave) obtained by spreading each transmission bit by a predetermined chip sequence (spread code). On the other hand, the downlink signal DS is a signal including a position signal for causing the sensor controller 31 to detect the position of the active pen 2, and a data signal modulated by data to be transmitted to the sensor controller 31. The data transmitted by the data signal includes normal data, such as a pen pressure value, that is periodically transmitted for drawing, and response data that is transmitted in response to a command. However, transmission of the position signal is not essential, and the sensor controller 31 can also detect the position of the active pen 2 from the data signal.

[0036] The active pen 2 is composed of a core body 20, a pen tip electrode 21, a pressure sensor 22, a side switch 23, a battery 24, an integrated circuit 25, and an output section 26. The core body 20 is a member that constitutes the pen shaft of the active pen 2. The tip of the core body 20 constitutes the pen tip of the active pen 2, and the end abuts against the pressure sensor 22. The pen tip electrode 21 is a conductor provided at the pen tip, and is electrically connected to the integrated circuit 25.

[0037] The pressure sensor 22 is a sensor that detects pressure applied to the tip of the core body 20. The pressure detected by the pressure sensor 22 is supplied to the integrated circuit 25 as, for example, a 12-bit pen pressure value. When no pressure is applied to the tip of the core body 20, the pen pressure value supplied from the pressure sensor 22 to the integrated circuit 25 is 0. In the following description, this state in which the pen pressure value is 0 is referred to as "in hover." On the other hand, when pressure is applied to the tip of the core body 20, the pen pressure value supplied from the pressure sensor 22 to the integrated circuit 25 is a value greater than 0. In the following description, this state in which the pen pressure value is greater than 0 is referred to as "in contact."

[0038] The side switch 23 is a push button switch provided on the surface of the active pen 2, and is configured to be turned on and off by the user. The operational state (on / off state) of the side switch 23 is supplied to the integrated circuit 25 as, for example, 2-bit switch information. Although only one side switch 23 is illustrated in FIG. 1, multiple side switches 23 may be provided.

[0039] The integrated circuit 25 is an integrated circuit that operates using power supplied from the battery 24, and has a role of executing various processes including receiving the uplink signal US and generating and transmitting the downlink signal DS. Specifically, it receives the uplink signal US by detecting a change in the potential of the pen tip electrode 21, generates the downlink signal DS based on the received uplink signal US, and transmits the downlink signal DS by changing the potential of the pen tip electrode 21 based on the generated downlink signal DS. The processes that the integrated circuit 25 performs based on the uplink signal US also include a process of determining the above-mentioned transmission and reception schedule using the reception timing of the uplink signal US as a reference time.

[0040] The integrated circuit 25 is configured so that various data can be set by the sensor controller 31. This data includes, for example, an attribute BrushColor. The attribute BrushColor is an attribute that determines the drawing color when a drawing application renders digital ink, and is transmitted from the active pen 2 to the sensor controller 31 in response to a request from the sensor controller 31 (specifically, a command GetVersion or a command GetData, which will be described later) during pairing, which will be described later.

[0041] The output unit 26 is a device for providing sensory feedback to the user of the active pen 2, and is configured by, for example, a haptic element such as an actuator, a light-emitting element such as a light-emitting diode, or an acoustic element such as a speaker. The integrated circuit 25 also performs processing for providing sensory feedback to the user by controlling the output unit 26 in response to the recognition information and control information received from the sensor controller 31. This point will be described in detail later with reference to Figs. 8 and 9.

[0042] 2 is a diagram explaining a transmission / reception schedule of an uplink signal US and a downlink signal DS. As shown in the figure, the sensor controller 31 is configured to transmit an uplink signal US at a constant frame period F. The time length TL of each uplink signal US is a constant value. The sensor controller 31 is also configured to perform a receiving operation of a downlink signal DS (denoted as "R" in the figure) during the transmission interval of the uplink signal US.

[0043] The active pen 2 continuously or intermittently repeats the operation of receiving the uplink signal US until the uplink signal US is received. When the active pen 2 receives the uplink signal US as a result, the active pen 2 starts communication with the sensor controller 31 by pairing with the sensor controller 31. Although the details of the pairing will be described later, the pairing gives each active pen 2 a local identifier that enables the sensor controller 31 to identify each active pen 2 with which it is communicating.

[0044] The active pen 2 that has established pairing with the sensor controller 31 is configured to transmit a downlink signal DS in the transmission interval of the uplink signal US. The specific transmission timing of the downlink signal DS is predetermined for each local identifier in the communication protocol. FIG. 2 shows an example in which the communication protocol is determined such that the transmission of the first downlink signal DS (hereinafter, sometimes referred to as the "downlink signal DS1") is started after a time D has elapsed from the start of the transmission interval of the uplink signal US, and the transmission of the second downlink signal DS (hereinafter, sometimes referred to as the "downlink signal DS2") is started after a further time Intv has elapsed from that. In this example, the specific values ​​of the time D and the time Intv are preferably determined such that the elapsed time from the start of the transmission of the downlink signal DS2 to the start of the transmission of the downlink signal DS1 transmitted thereafter is equal to the time Intv, as shown in FIG. 2. This allows the sensor controller 31 to detect the position of the active pen 2 at a constant cycle and receive data transmitted by the active pen 2.

[0045] FIG. 3 is a diagram showing the configuration of an uplink signal US. First, referring to the upper diagram, the uplink signal US is configured to include, in this order, a local identifier LID, a command COM, a local identifier NLID, and an error detection code CS. Among these, the local identifiers LID and NLID are the local identifiers described above. The command COM is data indicating an instruction from the sensor controller 31 to the active pen 2. The local identifier LID in the uplink signal US has a role of indicating the destination of the command COM, and only the active pen 2 that stores the local identifier LID performs processing according to the command COM (such as generating a downlink signal DS according to the command COM). The error detection code CS is a code used by the active pen 2 that receives the uplink signal US to detect a bit error that occurs in the communication path.

[0046] Here, the pairing between the sensor controller 31 and the active pen 2 will be described in detail. First, the sensor controller 31, which is not paired with any active pen 2, sets the local identifier NLID in the uplink signal US as the local identifier to be assigned to the active pen 2 with which it is first paired. The active pen 2 that receives this uplink signal US extracts the local identifier NLID contained therein and stores it as its own local identifier LID, thereby establishing pairing with the sensor controller 31. Thereafter, the active pen 2 transmits a downlink signal DS at the timing assigned to the stored local identifier.

[0047] On the other hand, the sensor controller 31 determines whether or not a downlink signal DS is received at the timing assigned to the local identifier set in the local identifier NLID, and if it is received, stores the local identifier NLID as a paired local identifier, thereby establishing pairing with the active pen 2. The sensor controller 31 then starts two-way communication with the active pen 2 with which pairing has been established, and sets a new local identifier in the local identifier NLID in the uplink signal US. If a new active pen 2 that stores this local identifier NLID is generated, pairing is performed again in the same procedure as above. In addition, when establishing pairing, the sensor controller 31 transmits a command GetVersion or a command GetData to the active pen 2, which will be described below, to obtain various information from the active pen 2, such as its version and the above-mentioned attribute BrushColor, and performs processing to report the information to the host processor 33.

[0048] 3 also shows four types of commands COM: GetVersion, SetDataType, SetDataValue, and GetData. Although only four types of commands COM are shown here, in reality, many more types of commands COM exist. In the following explanation, the uplink signal US may be represented by the name of the command COM, for example, an uplink signal US including the command GetVersion may simply be referred to as the "command GetVersion."

[0049] As shown in FIG. 3, each command COM includes a header HD1, data COMType, and control information MOV. The header HD1 is 2-bit data indicating that this signal is a command COM. The data COMType is data indicating the type of the command COM. The active pen 2 first detects that the command COM is included in the received uplink signal US by referring to the header HD1, and then acquires the type of the command COM by referring to the data COMType. The control information MOV is 1-bit data for controlling the output unit 26 of the active pen 2 from the sensor controller 31. The control information MOV will be described in detail later with reference to FIG. 8 and FIG. 9.

[0050] The role and structure of each type of command COM will be explained below. First, the command GetVersion is a command for acquiring the version of the active pen 2 (for example, the version of the firmware loaded into the integrated circuit 25) or a global ID previously assigned to the active pen 2, and is configured to include 2-bit data Type indicating the type of data to be acquired. The command SetDataType is a command for notifying the active pen 2 of the type of data whose value is to be transmitted in the next or subsequent frames, and is configured to include a 4-bit identifier SetDataType. The command SetDataValue is a command for actually transmitting the value of the data notified by the command SetDataType, and is configured to include a data value SetDataValue corresponding to the identifier SetDataType. The number of bits of the data value SetDataValue is a maximum of 8 bits. The command GetData is a command for extracting any data from the active pen 2, and is configured to include 4-bit data GetDataType indicating the type of data to be extracted.

[0051] Figures 4 and 5 are diagrams showing the configuration of the above-mentioned data signal portion for each of the downlink signals DS1 and DS2 shown in Figure 2. Figure 4 shows the case where the bit length of the data signal is 16 bits, and Figure 5 shows the case where the bit length of the data signal is 12 bits.

[0052] As shown in Figures 4 and 5, the configuration of the downlink signals DS1 and DS2 differs between during contact and during hover, but in either case, the signal includes one of four types of data signals: Normal, DataType, Ack, and DataValue. Of these, the data signal Normal is a signal that includes normal data, and is transmitted when there is no need to transmit other types of data signals. On the other hand, the data signals DataType, Ack, and DataValue are signals that include response data that are transmitted in response to a command COM received by the uplink signal US. The data signals DataType, Ack, and DataValue also include normal data, with some exceptions described below.

[0053] 4 and 5, each type of data signal includes a 2-bit header HD2 and a 2-bit or 4-bit error detection code CS. The error detection code CS is a code used by the sensor controller 31 that receives the data signal to detect bit errors that occur in the communication path.

[0054] The header HD2 is data that takes any one of the values ​​"00", "01", or "10" when the active pen 2 is in contact, and takes the value "11" when it is in hover. The sensor controller 31 first refers to this header HD2 to obtain the contact state of the active pen 2 (specifically, either in contact or hover).

[0055] The header HD2 in the case of contact also has a role of indicating the pressed state of the side switch 23 shown in FIG. 1 or the active pen 2 being in an unpaired state. To explain this in detail by taking an example where the active pen 2 has two side switches 23, in one example, a state in which none of the two side switches 23 are pressed can be assigned to "00", a state in which the first side switch 23 is pressed can be assigned to "01", a state in which the second side switch 23 is pressed can be assigned to "10". In another example, a state in which none of the two side switches 23 are pressed can be assigned to "00" of the downlink signals DS1 and DS2, a state in which the first side switch 23 is pressed can be assigned to "01" of the downlink signal DS1, a state in which the second side switch 23 is pressed can be assigned to "01" of the downlink signal DS2, and a state in which the active pen 2 is in an unpaired state can be assigned to "10" of the downlink signals DS1 and DS2. The sensor controller 31, which detects that the active pen 2 is in contact by referring to the header HD2, acquires each of the above states by further referring to the header HD2.

[0056] The configuration of each type of data signal will be described in detail below. First, referring to Fig. 4, a case will be described in which the data signal is 16 bits and the active pen 2 is in contact. In this case, the data signal Normal, together with the downlink signals DS1 and DS2, is configured to include the entire 12-bit writing pressure value PRE supplied from the pressure sensor 22 to the integrated circuit 25. This enables the sensor controller 31 to obtain the writing pressure value PRE from the active pen 2 at a period of the time Intv shown in Fig. 2.

[0057] The data signal DataType is a signal transmitted in response to the command SetDataType shown in Fig. 3, and both the downlink signals DS1 and DS2 include an abbreviated pen pressure value CPRE1 consisting of the upper 8 bits of the pen pressure value PRE, and data TypeInfo equal to the identifier SetDataType included in the command SetDataType. The sensor controller 31 that receives the data signal DataType is configured to restore the 12-bit pen pressure value PRE by padding the abbreviated pen pressure value CPRE1 with four "0". The sensor controller 31 is also configured to compare the 10th to 13th bits of either one of the two data signals received in the frame in which the command SetDataType was transmitted with the transmitted identifier SetDataType, and determine that the active pen 2 has correctly received the command SetDataType if they match.

[0058] Here, even if the active pen 2 does not correctly receive the command SetDataType and transmits the data signal Normal, it is possible that the 10th to 13th bits of one of the two data signals transmitted in the same frame as the command SetDataType coincidentally match the identifier SetDataType. However, since this coincidence rarely occurs, the position detection system 1 tolerates this coincidence as an error. This also applies to other types of data signals that will be described below.

[0059] The data signal Ack is a signal transmitted in response to the command SetDataValue shown in Fig. 3, and both the downlink signals DS1 and DS2 include the abbreviated writing pressure value CPRE1 and the response Ack, which is a hash value of the data value SetDataValue included in the command SetDataValue. The sensor controller 31 that receives the data signal Ack restores the writing pressure value PRE from the abbreviated writing pressure value CPRE1, in the same manner as in the case of the data signal DataType.

[0060] The hash function for deriving the hash value is shared in advance between the active pen 2 and the sensor controller 31. The active pen 2 is configured to generate a response Ack by deriving a hash value of the received data value SetDataValue using this hash function. The sensor controller 31 also derives the hash value of the data value SetDataValue using this hash function. The sensor controller 31, which has transmitted the command SetDataValue, is configured to compare the hash value of the data value SetDataValue derived by itself with the 10th to 13th bits of one of the two data signals received in the frame in which the command SetDataValue was transmitted, and, if these match, determine that the active pen 2 has correctly received the command SetDataValue.

[0061] The data signal DataValue is a signal transmitted in response to the command GetData shown in Fig. 3, and is configured by including, in the downlink signals DS1 and DS2, an abbreviated writing pressure value CPRE2 consisting of the upper four bits of the writing pressure value PRE, and at least a part of the data Data requested to be transmitted by the command GetVersion or the command GetData. The sensor controller 31 that receives the data signal DataValue restores the 12-bit writing pressure value PRE by padding the abbreviated writing pressure value CPRE2 with eight "0".

[0062] The number of bits of data Data that can be transmitted within one frame is a maximum of 16 bits, with the lower 8 bits being placed in the data signal DataValue transmitted by the downlink signal DS1 and the upper 8 bits being placed in the data signal DataValue transmitted by the downlink signal DS2. The sensor controller 31 is configured to acquire the data Data transmitted by the active pen 2 by extracting the 6th to 13th bits from each of the two data signals received within the frame in which the command GetVersion or the command GetData was transmitted.

[0063] Next, still referring to Fig. 4, a case will be described in which the data signal is 16 bits and the active pen 2 is in hover. The data signal transmitted during hover differs from the data signal transmitted during contact in that it does not, at least directly, include either a pressure value or a reduced pressure value. However, the sensor controller 31 is indirectly notified that the pressure value is 0 by setting the header HD2 to "11".

[0064] In addition, the data signals Normal, DataType, and Ack during hover are configured so that the even-numbered bits and odd-numbered bits have the same value. This is a configuration for allowing the sensor controller 31 to receive the data signal normally even during hover when the distance between the sensor 30 and the pen tip electrode 21 is longer than during contact. By adopting this configuration, the number of bits that can be substantially transmitted by the data signals Normal, DataType, and Ack is halved to 8 bits. The error detection code CS in the data signals Normal, DataType, and Ack during hover is composed of 4-bit data, thereby substantially realizing a 2-bit error detection code CS. On the other hand, the data signal DataValue during hover is substantially composed of a 16-bit signal, similar to the data signal DataValue during contact.

[0065] The data signal Normal during hover, both of the downlink signals DS1 and DS2, includes substantially 1-bit data SW1, substantially 1-bit data SW2, and substantially 2-bit data BT. The data SW1 and SW2 are data indicating the on / off states of the first and second side switches 23, respectively. The data BT is data indicating the remaining amount of the battery 24. The sensor controller 31 is configured to acquire the data SW1, SW2, and BT by demodulating the received data signal Normal. This also applies to the other data signals DataType, Ack, and DataValue, which will be described later.

[0066] The data signal DataType during hover in the downlink signal DS2 has the same configuration as the data signal Normal during hover. On the other hand, the data signal DataType in the downlink signal DS1 transmitted during hover is configured to substantially include 4-bit data TypeInfo instead of the data SW1, SW2, and BT. As described above, the data TypeInfo is data equal to the identifier SetDataType included in the command SetDataType. The sensor controller 31 compares the 1st to 4th bits of the data signal in the downlink signal DS1 received in the frame in which the command SetDataType was transmitted with the transmitted identifier SetDataType, and if they match, determines that the active pen 2 has correctly received the command SetDataType.

[0067] The data signal Ack during hover also has the same configuration as the data signal Normal during hover in the downlink signal DS2. On the other hand, the data signal Ack in the downlink signal DS1 transmitted during hover is configured to include a 4-bit response Ack in place of the data SW1, SW2, and BT. As described above, the response Ack is a hash value of the data value SetDataValue included in the command SetDataValue. The sensor controller 31 compares the hash value of the data value SetDataValue derived by itself with the 1st to 4th bits of the data signal in the downlink signal DS1 received in the frame in which the command SetDataValue was transmitted, and if they match, determines that the active pen 2 has correctly received the command SetDataValue.

[0068] The data signal DataValue during hover, both in the downlink signals DS1 and DS2, is configured to include at least a part of the data Data requested to be transmitted by the command GetVersion or the command GetData. The number of bits of the data Data that can be transmitted within one frame is a maximum of 16 bits, the same as during contact, and the lower 8 bits are placed in the data signal DataValue transmitted by the downlink signal DS1, and the upper 8 bits are placed in the data signal DataValue transmitted by the downlink signal DS2. The sensor controller 31 obtains the data Data transmitted by the active pen 2 by extracting the 6th to 13th bits from each of the two data signals received within the frame in which the command GetVersion or the command GetData was transmitted. The data signal DataValue in the downlink signal DS2 is further configured to include the data SW1, SW2, and BT.

[0069] Next, referring to FIG. 5, a case where the data signal is 12 bits will be described, focusing on the difference from the case where the data signal shown in FIG. 4 is 16 bits. First, the data signal Normal during contact is configured to include a part of the writing pressure value PRE in both the downlink signals DS1 and DS2. Specifically, the lower 4 bits of the writing pressure value PRE are arranged in the data signal Normal transmitted by the downlink signal DS1, and the upper 8 bits of the writing pressure value PRE are arranged in the data signal Normal transmitted by the downlink signal DS2. The sensor controller 31 is configured to obtain the entire 12-bit writing pressure value PRE by combining these. Therefore, the period in which the sensor controller 31 obtains the writing pressure value PRE from the active pen 2 when the data signal is 12 bits is equal to the frame period F shown in FIG. 2, except when the data signal DataValue described later is transmitted.

[0070] The data signal DataType in the downlink signal DS1 transmitted during contact includes the above-mentioned data TypeInfo. The sensor controller 31 compares the 6th to 9th bits of the data signal in the downlink signal DS1 received in the frame in which the command SetDataType was transmitted with the transmitted identifier SetDataType, and if they match, determines that the active pen 2 has correctly received the command SetDataType.

[0071] On the other hand, the data signal DataType in the downlink signal DS2 transmitted during contact is configured to include the above-mentioned abbreviated writing pressure value CPRE1. The sensor controller 31 is configured to restore the writing pressure value PRE from the abbreviated writing pressure value CPRE1, as in the case where the data signal is 16 bits. Note that, by arranging the lower 4 bits of the writing pressure value PRE in the data signal DataType transmitted by the downlink signal DS1, the entire writing pressure value PRE may be transmitted in one frame even when the data signal DataType is transmitted.

[0072] The data signal Ack in the downlink signal DS1 transmitted during contact is configured to include the above-mentioned response Ack. The sensor controller 31 compares the hash value of the data value SetDataValue derived by itself with the 6th to 9th bits of the data signal in the downlink signal DS1 received in the frame in which the command SetDataValue was transmitted, and if they match, determines that the active pen 2 has correctly received the command SetDataValue.

[0073] On the other hand, the data signal Ack in the downlink signal DS2 transmitted during contact is configured to include the above-mentioned shortened writing pressure value CPRE1. The sensor controller 31 restores the writing pressure value PRE from this shortened writing pressure value CPRE1, and the entire writing pressure value PRE may be transmitted in one frame by arranging the lower 4 bits of the writing pressure value PRE in the data signal Ack transmitted by the downlink signal DS1, as in the case of the data signal DataType.

[0074] The data signal DataValue during contact includes at least a part of the above-mentioned data Data in both the downlink signals DS1 and DS2. Specifically, the lower 8 bits of the data Data are arranged in the data signal DataValue transmitted by the downlink signal DS1, and the upper 8 bits of the data Data are arranged in the data signal DataValue transmitted by the downlink signal DS2. The sensor controller 31 acquires the data Data transmitted by the active pen 2 by extracting the second to ninth bits from each of the two data signals received in the frame in which the command GetVersion or the command GetData was transmitted. In this case, the sensor controller 31 cannot acquire the writing pressure value or the shortened writing pressure value even once within one frame period F.

[0075] The data signals Normal, DataType, and Ack during hover are configured so that even-numbered bits and odd-numbered bits have the same value, as in the case of a 16-bit data signal. The error detection code CS in the data signals Normal, DataType, and Ack during hover is substantially composed of 1-bit data.

[0076] The data signal Normal during hover, including both the downlink signals DS1 and DS2, includes the above-mentioned data SW1, SW2, and BT.

[0077] The data signal DataType during hover, first, in the downlink signal DS2, has the same configuration as the data signal Normal during hover. On the other hand, the data signal DataType in the downlink signal DS1 transmitted during hover is configured to substantially include 4-bit data TypeInfo instead of the data SW1, SW2, and BT. The specific content of the data TypeInfo is the same as that during contact. The sensor controller 31 is configured to compare the 1st to 4th bits of the data signal in the downlink signal DS1 received in the frame in which the command SetDataType was transmitted with the transmitted identifier SetDataType, and to determine that the active pen 2 has correctly received the command SetDataType if they match.

[0078] The data signal Ack during hover also has the same configuration as the data signal Normal during hover in the downlink signal DS2. On the other hand, the data signal Ack in the downlink signal DS1 transmitted during hover is configured to include a 4-bit response Ack in place of the data SW1, SW2, and BT. The specific content of the response Ack is the same as that during contact. The sensor controller 31 is configured to compare the hash value of the data value SetDataValue derived by itself with the 1st to 4th bits of the data signal in the downlink signal DS1 received in the frame in which the command SetDataValue was transmitted, and determine that the active pen 2 has correctly received the command SetDataValue if they match.

[0079] The data signal DataValue during hover has the same configuration as the data signal DataValue during contact. Therefore, the sensor controller 31 obtains the data Data transmitted by the active pen 2 by extracting the second to ninth bits from each of the two data signals received in the frame in which the command GetVersion or the command GetData was transmitted. Even during hover, the data SW1, SW2, and BT are not transmitted even once in the frame in which the active pen 2 transmits the data signal DataValue.

[0080] 6 to 8, the processes performed by the sensor controller 31 and the active pen 2 will be described in detail. In the following description, the downlink signal DS may be expressed by the name of the data signal, for example, a downlink signal DS including a data signal Normal may be referred to as a "data signal Normal."

[0081] 6 is a sequence diagram showing the process when the sensor controller 31 acquires data from the active pen 2. Here, the case of acquiring the value of the attribute BrushColor set in the active pen 2 will be described as an example, but the same applies to the case of acquiring other data.

[0082] First, the sensor controller 31 transmits a command GetVersion (third uplink signal) to the active pen 2 (step S1). The active pen 2 then generates and transmits a data signal DataValue including data Data indicating its own version (step S2). The sensor controller 31 receives this data signal DataValue and extracts the version of the active pen 2 from the received data signal DataValue (step S3). This extraction is performed by first referring to the header HD2 to determine whether the active pen 2 is in a contact or hover state, and then extracting the data transmitted by the active pen 2 according to a format determined according to the state of the active pen 2. This point is also the same in the extraction of data from other data signals, which will be described later.

[0083] Although not shown, in step S3, the sensor controller 31 also extracts normal data such as the writing pressure value PRE, the shortened writing pressure values ​​CPRE1 and CPRE2, and the data SW1, SW2, and BT. When the shortened writing pressure values ​​CPRE1 and CPRE2 are extracted, the sensor controller 31 also performs a process of restoring the writing pressure value PRE by adding 0. The sensor controller 31 is configured to report the extracted or restored data to the host processor 33 each time. These points are also the same when extracting data from other data signals, which will be described later.

[0084] Next, the sensor controller 31 judges whether the extracted version is equal to or greater than a predetermined value (step S4). The predetermined value is determined according to the type of data to be acquired, and is a value indicating a version incorporating a BrushColor usable flag indicating whether the active pen 2 supports the BrushColor attribute.

[0085] If the sensor controller 31 determines in step S4 that the value is not equal to or greater than the predetermined value, it ends the process without acquiring data. On the other hand, if the sensor controller 31 determines that the value is equal to or greater than the predetermined value, it transmits a command GetData including data GetDataType indicating the BrushColor usable flag in the next frame (step S5). The active pen 2 that receives this command GetData generates and transmits a data signal DataValue including data Data indicating the value of the BrushColor usable flag stored in itself (step S6).

[0086] The sensor controller 31, which has received the data signal DataValue transmitted in step S6, extracts the value of the BrushColor available flag from the received data signal DataValue (step S7). Then, based on the extracted value, it determines whether or not the active pen 2 corresponds to the attribute BrushColor (step S8). If the sensor controller 31 determines that the attribute BrushColor is not supported as a result of the determination, it ends the process without acquiring data. On the other hand, if the sensor controller 31 determines that the attribute BrushColor is supported, it transmits the command GetData including the data GetDataType indicating the attribute BrushColor in the next frame (step S9).

[0087] Here, the sensor controller 31 may perform the processes of steps S1 to S8 in advance, and may start the process from step S9 only when it is known that the active pen 2 corresponds to the attribute BrushColor.

[0088] The active pen 2 that has received the command GetData sent in step S9 generates and sends a data signal DataValue including data Data indicating the value of the attribute BrushColor stored in itself (step S10).

[0089] The sensor controller 31, which has received the data signal DataValue transmitted in step S10, extracts the value of the attribute BrushColor from the received data signal DataValue (step S11). Then, it is determined whether or not the value of the attribute BrushColor has been successfully acquired (step S12). Examples of cases where this determination is negative include a case where the active pen 2 fails to receive the command GetData in step S9, or the first frame when the data Data to be transmitted is large in size and therefore needs to be transmitted over two or more frames.

[0090] If the sensor controller 31 determines in step S12 that the acquisition was successful, it returns the acquired value of the attribute BrushColor to the main routine (step S14) and ends the process. On the other hand, if the sensor controller 31 determines in step S12 that the acquisition was unsuccessful, it determines whether the number of attempts reaches a predetermined number n (step S13), and if it determines that the number has not been reached, it returns to step S9 and repeats the process, whereas if it determines that the number has been reached, it ends the process without acquiring data.

[0091] 7 is a sequence diagram showing the process of setting data from the sensor controller 31 to the active pen 2. Here, the case of setting the value of the attribute BrushColor to the active pen 2 will be described as an example, but the same applies to the case of setting other data.

[0092] The sensor controller 31 first executes the processes of steps S1 to S8 shown in Fig. 6. Then, if the active pen 2 corresponds to the attribute BrushColor, the sensor controller 31 executes the processes of step S20 and after. The processes of steps S1 to S8 may be executed in advance, as in the case of Fig. 6.

[0093] In step S20, the sensor controller 31 transmits a command SetDataType (first uplink signal) including an identifier SetDataType indicating the attribute BrushColor. The active pen 2 that receives this command SetDataType determines whether or not the attribute BrushColor can be set to itself (step S21), and if not, transmits a data signal Normal (second downlink signal) (step S22), while if possible, transmits a data signal DataType (first downlink signal) including data TypeInfo indicating the attribute BrushColor (response data indicating that the attribute BrushColor can be set) (step S23).

[0094] The sensor controller 31 regards the data signal received in the same frame as the command SetDataType transmitted in step S20 as the data signal DataType, and extracts the data TypeInfo (step S24). Then, it determines whether the extracted data TypeInfo matches the transmitted identifier SetDataType (step S25). If they match, the process proceeds to step S27, whereas if they do not match, it determines whether the number of trials has reached a predetermined number n (step S26). If it is determined that the number has not been reached, the process returns to step S20 and is repeated, whereas if it is determined that the number has been reached, the process ends without acquiring data.

[0095] Here, if it is determined in step S25 that they do not match, the sensor controller 31 preferably regards the data signal received in the same frame as the command SetDataType sent in step S20 as the data signal Normal, and extracts normal data again. This enables the sensor controller 31 to receive the entire pen pressure value PRE sent by the active pen 2.

[0096] The sensor controller 31, which has advanced the process to step S27, transmits a command SetDataValue (second uplink signal) including a value SetDataValue indicating the value of the attribute BrushColor, using the frame (second frame) following the frame (first frame) in which the uplink signal US was transmitted in step S20. The active pen 2, which has received this command SetDataValue, sets the received value of the attribute BrushColor in its own memory (step S28), and then generates and transmits a data signal Ack including a response Ack that is a hash value of the received value of the attribute BrushColor (step S29).

[0097] The sensor controller 31, which has received the data signal Ack transmitted in step S29, extracts the response Ack from the received data signal Ack (step S30). Then, it is determined whether the extracted response Ack matches the hash value of the transmitted value SetDataValue (step S31). If they match, the set value of the attribute BrushColor is returned to the main routine (step S33) and the process ends. On the other hand, if they do not match, it is determined whether the number of attempts has reached a predetermined number n (step S31). If it is determined that the number has not been reached, the process returns to step S27 and the process is repeated, whereas if it is determined that the number has been reached, the process ends without setting the data.

[0098] Fig. 8 is a sequence diagram showing a process for controlling the output unit 26 of the active pen 2 from the sensor controller 31. Note that in the process shown in the figure, the same process as in Fig. 7 is performed to set recognition information in the active pen 2, but in order to avoid overly complicating the drawing, some of the processes are omitted in Fig. 8.

[0099] The sensor controller 31 that has started the process shown in Fig. 8 first acquires the recognition information of the active pen 2 (step S40). The recognition information is information of the pen that can be recognized by the sensor controller 31, and step S40 is performed every time the sensor controller 31 receives the downlink signal DS, regardless of whether or not the output unit 26 is controlled. Specific examples of the recognition information include the pen pressure value of the active pen 2 indicated by the pen pressure value or the reduced pen pressure value received from the active pen 2, the position of the active pen 2, and the moving speed of the active pen 2 calculated from the change in the position of the active pen 2. In addition, if the sensor controller 31 can acquire the angle (tilt angle, etc.) of the active pen 2, the angle of the active pen 2 may be used as the recognition information.

[0100] Next, the sensor controller 31 judges whether or not control of the output unit 26 is necessary based on the recognition information acquired in step S40 (step S41). Specifically, it may be judged as necessary when the recognition information (in this case, for example, the value of the header HD2 described above) indicates that the active pen 2 is in contact, and it may be judged as unnecessary in other cases. It may also be judged as necessary when a series of recognition information including previously acquired recognition information indicates that the active pen 2 is moving on the touch surface 3a while maintaining a state of contact (i.e., the active pen 2 is sliding on the touch surface 3a), and it may be judged as unnecessary in other cases.

[0101] If the sensor controller 31 determines in step S41 that the recognition information is not required, it sets the control information MOV shown in Fig. 3 to 0 (step S42) and then returns the process to step S40. By setting the control information MOV to 0 in step S42, the control information MOV in the uplink signal US transmitted thereafter becomes 0. On the other hand, if the sensor controller 31 determines in step S41 that the recognition information is required, it next determines whether or not the transmission of the recognition information is required (step S43).

[0102] To explain step S43 in more detail, in order to control the output unit 26 using the recognition information, it is necessary to supply the recognition information to the active pen 2, but since the recognition information has a large data size, it cannot be transmitted frequently. Therefore, the sensor controller 31 transmits the recognition information infrequently, for example, every 10 frames, and when the recognition information is not being transmitted, it uses the control information MOV to inform the active pen 2 only of whether or not the output unit 26 needs to be controlled. In this way, it becomes possible to switch the control of the output unit 26 on and off based on the latest recognition information, even if the recognition information is not transmitted every frame.

[0103] Now, the sensor controller 31, which has determined in step S43 that the transmission of the recognition information is necessary, sets the recognition information acquired in step S40 in the active pen 2 by a process similar to that shown in Fig. 7. Specifically, the sensor controller 31 first determines whether or not the command SetDataType has been transmitted after determining in step S43 that the transmission is necessary (step S44). If the command SetDataType has not been transmitted, the sensor controller 31 transmits the command SetDataType including the identifier SetDataType indicating the recognition information (step S45). The active pen 2, which has received this command SetDataType, transmits a data signal DataType including data TypeInfo indicating the received identifier SetDataType (step S46), and executes an output unit control process (step S47).

[0104] FIG. 9 is a diagram showing the output unit control process performed by the active pen 2. As shown in the figure, the active pen 2 first acquires the control information MOV from the latest received uplink signal US (step S60), and judges whether the value is 1 or 0 (step S61). If it is judged to be 1, it starts the control of the output unit 26 based on the recognition information stored in step S50 described later (step S62). Specifically, if the output unit 26 is, for example, a haptic element, it starts vibration control, if it is, for example, a light-emitting element, it starts light emission control, and if it is, for example, an acoustic element, it starts ringing control. On the other hand, if the active pen 2 judges the value to be 0 in step S61, it stops the control if the output unit 26 is being controlled (step S63). As a result, while the sensor controller 31 sets the control information MOV to 1, the control of the output unit 26 is continued.

[0105] Returning to Fig. 8, the sensor controller 31, having received the data signal DataType transmitted in step S46, returns to step S40 and continues the process. The sensor controller 31, having determined in step S44 that the command SetDataType has been transmitted, sets 1 to the control information MOV (step S48), and then transmits the command SetDataValue (second uplink signal) including the value SetDataValue indicating the value of the recognition information (step S49).

[0106] The active pen 2 that has received the command SetDataValue transmitted in step S49 extracts the recognition information from the received command SetDataValue and stores it in memory (step S50). Next, the active pen 2 generates and transmits a downlink signal DS including a response Ack that is a hash value of the stored recognition information (step S51), and again executes the output unit control process described with reference to Fig. 9 (step S52). At this time, since the control information MOV is 1, step S62 in Fig. 9 is executed, and the output unit 26 enters a controlled state.

[0107] If the sensor controller 31 determines in step S43 that it is not necessary to transmit the recognition information, it transmits any uplink signal US (first uplink signal) that is required to be transmitted at that time (step S53). The active pen 2 that receives this uplink signal US again executes the output section control process described with reference to FIG. 9 (step S54).

[0108] When the transmission of step S53 is executed in one or more frames (second frames) following the frame (first frame) in which the command SetDataValue is transmitted in step S49 and before step S42 is executed, the control information MOV in the transmitted uplink signal US becomes 1. Therefore, in step S54, step S62 in Fig. 9 is executed, and the output unit 26 continues to be in the controlled state.

[0109] As described above, according to the communication method of this embodiment, the command SetDataType for notifying the data type and the command SetDataType for actually transmitting the data value are transmitted in separate frames, which makes it possible to prevent the size of the uplink signal US from becoming large. Therefore, it becomes possible to set data in the active pen 2 by the command in the uplink signal US while maintaining the periodicity of normal data such as the pen pressure value.

[0110] Furthermore, according to the communication method of this embodiment, even if it is difficult to place the pen pressure value PRE in the downlink signal DS, it is possible to place the abbreviated pen pressure value CPRE1 or the abbreviated pen pressure value CPRE2 instead, so that it becomes possible to transmit response data from the active pen 2 to the sensor controller 31 while maintaining the periodicity of normal data such as pen pressure values.

[0111] Furthermore, according to the communication method of this embodiment, the output unit 26 is controlled in response to the uplink signal US including the control information MOV, so that it becomes possible to control the output unit 26 disposed within the active pen 2 at an appropriate timing, i.e., to avoid the timing when the pen tip is pressed against a surface other than the touch surface 3a, such as a wall.

[0112] Furthermore, according to the communication method of this embodiment, it is possible to switch on / off the control of the output unit 26 based on the latest recognition information, even if the recognition information is not transmitted every frame. Therefore, it is possible to appropriately control the output unit 26 arranged in the active pen 2 based on the recognition information.

[0113] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and it goes without saying that the present invention can be embodied in various forms without departing from the spirit of the present invention.

[0114] For example, part of the processing described in the above embodiment as being performed by the sensor controller 31 may be performed by the host processor 33 . [Explanation of symbols]

[0115] 1 Position Detection System 2 Active Pen 3 Electronic equipment 3a Touch Surface 20 core body 21 Pen tip electrode 22 Pressure Sensor 23 Side Switch 24 Battery 25 Integrated Circuits 26 Output section 30 Sensors 31 Sensor Controller 32 Display 33 Host Processor Normal,DataType,Ack,DataValue Data signal COM, GetVersion, SetDataType, SetDataValue, GetData command CPRE1,CPRE2 Shortened pen pressure value CS Error Detection Code DS, DS1, DS2 downlink signals F Frame period HD1,HD2 header LID,NLID Local Identifier MOV control information PRE pressure value US uplink signal

Claims

1. A communication method for communication between a pen and a sensor controller transmitting an uplink signal to the pen every frame period, comprising: The sensor controller transmits, in a first frame, a first uplink signal, the uplink signal including an identifier for identifying a type of data whose value is to be transmitted to the pen in a subsequent frame; a step of transmitting a second uplink signal, the uplink signal including a data value corresponding to the identifier, in a second frame that is a frame subsequent to the first frame by the sensor controller; A communication method including:

2. a step of transmitting, in response to the first uplink signal, a downlink signal including response data indicating that the type of data indicated by the identifier can be set by the pen; The communication method of claim 1 further comprising:

3. The downlink signal includes an abbreviated writing pressure value consisting of a predetermined number of most significant bits of the writing pressure value. The communication method according to claim 2 .

4. the sensor controller reports to a host processor a pen pressure value recovered from the truncated pen pressure value received by the downlink signal; The communication method according to claim 3.

5. determining whether the pen is capable of setting data of a type indicated by the identifier in the first uplink signal; a step of transmitting, in response to the first uplink signal, a first downlink signal including response data indicating that the data type indicated by the identifier is configurable, when the pen determines in the determining step that the data type is configurable, and transmitting a second downlink signal not including the response data, when the pen determines in the determining step that the data type is not configurable; The communication method of claim 1 further comprising:

6. the first downlink signal includes an abbreviated writing pressure value consisting of a predetermined number of most significant bits of a writing pressure value; the second downlink signal includes the pen pressure value; The communication method according to claim 5.

7. when the sensor controller receives the second downlink signal in response to the first uplink signal, the sensor controller does not transmit the second uplink signal; The communication method according to claim 5 or 6.

8. the sensor controller transmitting, in a frame prior to the first frame, a third uplink signal, the third uplink signal including a command to obtain the pen version; The communication method of claim 1 further comprising:

9. said pen transmitting, in response to said third uplink signal, a downlink signal including information indicative of a version of said pen; The communication method of claim 8 further comprising:

10. the sensor controller does not transmit the first uplink signal when the version of the pen received by the downlink signal indicates that the type of data indicated by the identifier cannot be set in the pen; The communication method according to claim 9.

11. A communication method for communication between a pen including an output unit and a sensor controller transmitting an uplink signal to the pen, comprising: transmitting a first uplink signal, the first uplink signal including control information for controlling the output unit, when the sensor controller detects that the pen is in contact; said pen controlling said output in response to receiving said first uplink signal; A communication method including:

12. The sensor controller further includes detecting that the pen is sliding across a touch surface; the sensor controller transmits the first uplink signal when it is detected that the pen is sliding on the touch surface, but does not transmit the first uplink signal when it is not detected that the pen is sliding on the touch surface; The communication method according to claim 11.

13. the sensor controller is configured to transmit the uplink signal to the pen every frame period; The sensor controller acquires recognition information indicating a recognition result of the pen; the sensor controller transmitting, in a first frame, a second uplink signal, the second uplink signal being the uplink signal including the most recent value of the identity information; The sensor controller transmits the first uplink signal in each of one or more second frames that are frames subsequent to the first frame. The communication method according to claim 11.

14. The recognition information is a writing pressure value of the pen, a moving speed of the pen, or an angle of the pen. The communication method according to claim 13.

15. The output unit is a haptic element, a light-emitting element, or an acoustic element. A communication method according to claim 13 or 14.

Citation Information

Patent Citations

  • Sensor controller and active pen

    JP2020057437A

  • Communication method between host processor and active stylus, sensor controller, host processor, and system including host processor, active stylus, and sensor controller

    JP2020198137A

  • Touch controller and pen input system

    JP2021043640A

  • Method implemented in a system including an active stylus and a sensor controller, sensor controller, and active stylus

    JP6603435B2

  • Active Pen and Sensor Controller

    JP6644200B2