System including pen and sensor controller, pen, and sensor controller
11573660 · 2023-02-07
Assignee
Inventors
Cpc classification
G06F3/0441
PHYSICS
G06F2203/04105
PHYSICS
G06F3/04162
PHYSICS
G06F3/0442
PHYSICS
International classification
G06F3/038
PHYSICS
G06F3/041
PHYSICS
Abstract
A system includes a sensor controller, and a pen configured to periodically transmit a pen-pressure value of N bits to the sensor controller, in which the sensor controller and the pen perform pairing by bidirectionally communicating with each other. After processing for the pairing is completed, the pen periodically transmits the pen-pressure value, and, during a period before the processing for the pairing is completed, the pen transmits, instead of the pen-pressure value, a shortened pen-pressure value of high-order M bit(s) that are shorter than the N bits for the pen-pressure value.
Claims
1. A system comprising: a sensor controller; and a pen configured to periodically transmit a pen-pressure value of N bits to the sensor controller, wherein the sensor controller and the pen perform pairing by bidirectionally communicating with each other, after processing for the pairing is completed, the pen periodically transmits the pen-pressure value, and during a period before the processing for the pairing is completed, the pen transmits to the sensor controller, instead of the pen-pressure value, a shortened pen-pressure value of high-order M bit(s) that are shorter than the N bits for the pen-pressure value.
2. The system according to claim 1, wherein, when the sensor controller receives the shortened pen-pressure value from the pen, the sensor controller obtains the pen-pressure value by filling low-order N−M bit(s) with a predetermined value.
3. The system according to claim 2, wherein, after the processing for the pairing is completed, the sensor controller obtains the pen-pressure value by extracting the pen-pressure value from a data signal transmitted from the pen, and during the period before the processing for the pairing is completed, the sensor controller obtains the pen-pressure value by filling the low-order N−M bit(s) with the predetermined value, wherein the low-order N−M bit(s) are included in the data signal and are less significant than the high-order M bit(s) representing the shortened pen-pressure value.
4. The system according to claim 1, wherein, after the processing for the pairing is completed, the pen transmits a first data signal including the pen-pressure value, together with a position signal, and during the period before the processing for the pairing is completed, the pen transmits a second data signal including the shortened pen-pressure value, together with the position signal.
5. The system according to claim 4, wherein the second data signal includes at least part of a pen identification prewritten to the pen.
6. A pen configured to perform pairing with a sensor controller by bidirectionally communicating with the sensor controller and periodically transmit a pen-pressure value of N bits to the sensor controller, the pen comprising: a memory; and circuitry, wherein, after processing for the pairing is completed, the pen periodically transmits the pen-pressure value, and during a period before the processing for the pairing is completed, the pen transmits to the sensor controller, instead of the pen-pressure value, a shortened pen-pressure value of high-order M bit(s) that are shorter than the N bits for the pen-pressure value.
7. A sensor controller configured to perform pairing with a pen by bidirectionally communicating with the pen and periodically receive a pen-pressure value of N bits from the pen, the sensor controller comprising: a memory; and circuitry, wherein, after processing for the pairing is completed, the pen periodically transmits the pen-pressure value, and during a period before the processing for the pairing is completed, when the sensor controller receives, from the pen, a shortened pen-pressure value of high-order M bit(s) that are shorter than the N bits for the pen-pressure value, the sensor controller obtains the pen-pressure value by filling low-order N-M bit(s) with a predetermined value.
8. The sensor controller according to claim 7, wherein, after processing for the pairing is completed, the sensor controller obtains the pen-pressure value by extracting the pen-pressure value from a data signal transmitted from the pen, and during a period before the processing for the pairing is completed, the sensor controller obtains the pen-pressure value by filling the low-order N−M bit(s) with the predetermined value, wherein the low-order N−M bit(s) are included in the data signal and are less significant than the high-order M bit(s) representing the shortened pen-pressure value.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION
(12) An embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
(13)
(14) The pen 2 is a position indicator for performing pen input to the tablet terminal 3 and is used to indicate a position on a panel surface 3a of the tablet terminal 3. The user slides the pen tip of the pen 2 on the panel surface 3a to input various drawings and characters as illustrated in
(15) The tablet terminal 3 is a computer with a built-in display device such as a liquid crystal display or an organic electro-luminescence (EL) display, for example. Instead of the tablet terminal 3, a laptop or desktop personal computer, or a smartphone may be used. The panel surface 3a of the tablet terminal 3 serves as both a display surface of the display device and a touch surface for pen input. The display device visually outputs drawings and characters input by the user, using the pen 2 on the panel surface 3a, according to the control of a host processor 32 (see
(16) The tablet terminal 3 employs a method by which the pen 2 and a sensor controller 31 (see
(17)
(18) The pen 2 will be described first. As illustrated in
(19) The core 20 is a rod-shaped member disposed such that its longitudinal direction is aligned with a pen axis direction of the pen 2. The core 20 has a tip end portion whose surface is coated with a conductive material, constituting the pen-tip electrode 21. The core 20 has a rear end portion held against the pen-pressure detection sensor 22. The pen-pressure detection sensor 22 detects a pressure (pen pressure) applied to a tip end of the core 20.
(20) The circuitry 23 is an integrated circuit that performs various processes to be described later by reading and executing programs stored in a built-in memory, and has a function of receiving an uplink signal US transmitted from the panel surface 3a of the tablet terminal 3 via the pen-tip electrode 21 and a function of transmitting a downlink signal DS to the panel surface 3a of the tablet terminal 3 via the pen-tip electrode 21. In addition to the above-described programs, a pen ID pre-allocated to the pen 2 is also written to the built-in memory of the circuitry 23.
(21) Next, the tablet terminal 3 will be described. The tablet terminal 3 includes a sensor 30, the sensor controller 31, and the host processor 32.
(22) The sensor 30 is a touch sensor embedded under the panel surface 3a and includes a plurality of sensor electrodes 30X and 30Y, each of which is capacitively coupled to the pen-tip electrode 21. The plurality of sensor electrodes 30X extend in the Y direction and are arranged side by side at a fixed pitch in the X direction. The plurality of sensor electrodes 30Y extend in the X direction and are arranged side by side at a fixed pitch in the Y direction. As illustrated in
(23) The sensor controller 31 is an integrated circuit that performs various processes to be described later by reading and executing programs stored in a built-in memory and has a function of receiving the downlink signal DS transmitted from the pen 2 via the sensor 30 and a function of transmitting the uplink signal US to the pen 2 via the sensor 30. As illustrated in
(24) The uplink signal US is transmitted from the sensor controller 31 to the pen 2 to notify the pen 2 of a frame start timing and a command for controlling the pen 2. A frame is used to transmit and receive signals. The command includes, for example, a command that specifies a time slot in a frame (to be described later) and a command that specifies the data that the pen 2 needs to transmit. The pen 2 that has received the uplink signal US obtains a transmission and reception schedule for the uplink signal US and the downlink signal DS according to the command included in the uplink signal US and generates the downlink signal DS. Then, the pen 2 transmits the generated downlink signal DS and receives the next uplink signal US according to the obtained transmission and reception schedule.
(25) The downlink signal DS includes a position signal and a data signal. The position signal is an unmodulated carrier signal (burst signal). The data signal is a carrier signal modulated by the data to be transmitted to the sensor controller 31. The data transmitted using the data signal includes, for example, various types of data required for pairing (e.g., the above-described pen ID) and a pen-pressure value indicating the value of the pen pressure detected by the pen-pressure detection sensor 22. Hereinafter, the data required for pairing will be referred to as “pairing data.” The sensor controller 31 that has received the downlink signal DS derives the position of the pen 2 on the panel surface 3a on the basis of the reception strength of the position signal at each of the sensor electrodes 30X and 30Y and also obtains the data transmitted from the pen 2 by demodulating the data signal. The derived position and the obtained data are sequentially supplied from the sensor controller 31 to the host processor 32.
(26)
(27)
(28) The sensor controller 31 that has received the pairing data from the unpaired pen 2 stores the received pairing data and determines one or more time slots TS to be allocated to the pen 2. Then, the sensor controller 31 notifies the pen 2 of the determined one or more time slots TS, using the uplink signal US transmitted at the head of the frame F2 (time t2), for example. The pen 2 that has received this notification determines that pairing has been established and transmits the downlink signal DS, using the notified one or more time slots TS in and after the frame F2. The sensor controller 31 determines that the pairing has been established by receiving the downlink signal DS transmitted in this way.
(29) Since the pairing data is a large amount of data that exceeds, for example, 50 bits, the pen 2 may be unable to transmit the entire pairing data in a single time slot TS. In such a case, the pen 2 needs to transmit the downlink signal DS including the pairing data, using time slots TS2 of multiple frames F. In this case, after receiving the entire pairing data, the sensor controller 31 determines one or more time slots TS to be allocated to the pen 2 that has transmitted the pairing data and notifies the pen 2 of the determined one or more time slots TS, using the uplink signal US.
(30) Referring back to
(31) The applications executed by the host processor 32 include a drawing application. The drawing application generates stroke data according to the position and data (including the pen-pressure value) sequentially supplied from the sensor controller 31. Specifically, the drawing application generates a curve such as a Bezier curve or a Catmull-Rom curve on the basis of a series of positions and controls the line width or transparency of the generated curve according to the pen-pressure value. In this way, the drawing application generates the stroke data. The drawing application renders the generated stroke data and supplies the stroke data to the display device described above to draw a stroke on the panel surface 3a illustrated in
(32) The basic configurations of the pen 2 and the tablet terminal 3 and the basic processing performed by the pen 2 and the sensor controller 31 have been described above. In the following description, the processing performed by the pen 2 and the sensor controller 31 in order to minimize the unnatural appearance of the line width or transparency which would be caused by pairing at a time when a stroke starts to be drawn will be described in detail.
(33) First, challenges to be addressed by the present disclosure will be described with reference to
(34)
(35)
(36) If, in this case, the host processor 32 does not draw the stroke until the pen-pressure value can be obtained, the start position of the stroke that is actually drawn deviates (by a distance D illustrated in
(37)
(38) In order to address the above-described challenges, in the present embodiment, the pen 2 periodically transmits a pen-pressure value of N bits to the sensor controller 31 after the processing for pairing is completed, whereas the pen 2 transmits a shortened pen-pressure value of high-order M bit(s) that are shorter than the N bits for the pen-pressure value, to the sensor controller 31 during a period before the processing for pairing is completed. This processing will be described in detail below with reference to a processing flow of each of the pen 2 and the sensor controller 31.
(39)
(40) On the other hand, when the circuitry 23 determines in step S2 that the uplink signal US has been received, the circuitry 23 performs the operation corresponding to a command included in the uplink signal US (step S3). For example, if the command directs the transmission of certain data, the circuitry 23 performs an operation of generating the downlink signal DS including that data in step S3. If the command notifies the circuitry 23 of a local ID, the circuitry 23 performs an operation of storing the local ID in the memory in step S3. If the command specifies a time slot (or a frequency or spreading code), the circuitry 23 performs, in step S3, an operation of determining the transmission and reception schedule for the uplink signal US and the downlink signal DS, and then storing, in the memory, information indicating the determined transmission and reception schedule and information indicating that the pairing has been established.
(41) The circuitry 23 further obtains the frame start timing on the basis of the reception timing of the uplink signal US (step S4). On the basis of the timing obtained in step S4 and the transmission and reception schedule determined in step S3, the circuitry 23 performs the subsequent reception and transmission of the uplink signal US and the downlink signal DS.
(42) Next, the circuitry 23 determines whether or not the pairing has been established with the sensor controller 31 (step S5). When the circuitry 23 determines that the pairing has not been established with the sensor controller 31, the circuitry 23 transmits the downlink signal DS including the shortened pen-pressure value and the pairing data according to the obtained transmission and reception schedule and frame start timing (step S6). The shortened pen-pressure value will be described in detail later. On the other hand, when the circuitry 23 determines in step S5 that the pairing has been established with the sensor controller 31, the circuitry 23 transmits the downlink signal DS including the pen-pressure value according to the obtained transmission and reception schedule and frame start timing (step S7).
(43) After step S6 or S7, the circuitry 23 performs an operation of receiving the uplink signal US according to the obtained transmission and reception schedule and frame start timing (step S8). Depending on the result of this operation, the circuitry 23 determines whether or not a pairing cancellation condition, such as a condition that the uplink signal US has not been received for a predetermined period of time, has been satisfied (step S9). When the sensor controller 31 determines in step S9 that the pairing cancellation condition has been satisfied, the sensor controller 31 cancels the pairing (step S10) and returns to step S1 to continue the processing. On the other hand, when the sensor controller 31 determines in step S9 that the pairing cancellation condition has not been satisfied, the sensor controller 31 returns to step S3 to continue the processing.
(44)
(45) Specifically, the data signal DATA (a second data signal) transmitted in step S6 includes a shortened pen-pressure value SPRD and pairing data PAIRD. The data signal DATA (a first data signal) transmitted in step S7 includes a pen-pressure value PRD and other data. The other data includes, for example, data indicating the on/off state of a switch disposed on a surface of the pen 2.
(46)
(47)
(48) When the sensor controller 31 determines in step S22 that there is no pen 2 that satisfies the pairing cancellation condition, or when the processing of step S23 has been completed, the sensor controller 31 performs processing of steps S25 to S29 for each pen 2 from which the downlink signal DS has been received (step S24).
(49) Specifically, the sensor controller 31 first derives the position of the pen 2 to be processed on the basis of the reception strength of the position signal PS at each of the sensor electrodes 30X and 30Y (see
(50) When the sensor controller 31 determines in step S26 that the pairing has already been established, the sensor controller 31 obtains the pen-pressure value PRD by extracting the pen-pressure value PRD from the data signal DATA (step S27) and proceeds to the processing of step S29. On the other hand, when the sensor controller 31 determines in step S26 that the pairing has not been established, the sensor controller 31 performs a process of deriving the pen-pressure value PRD on the basis of the shortened pen-pressure value SPRD included in the data signal DATA (step S28) and proceeds to the processing of step S29.
(51)
(52) Referring back to
(53) As described above, with the system 1 according to the present embodiment, even when the pen 2 cannot transmit the N-bit pen-pressure value PRD, the pen 2 can transmit the shortened pen-pressure value SPRD represented by the high-order M bit(s) portion of the pen-pressure value PRD. Therefore, it is possible to minimize the unnatural appearance of the line width or transparency which would be caused by pairing in a portion where a stroke starts to be drawn.
(54) The various embodiments described above can be combined to provide further embodiments. All of the U.S. patents, U.S. patent application publications, U.S. patent applications, foreign patents, foreign patent applications and non-patent publications referred to in this specification and/or listed in the Application Data Sheet are incorporated herein by reference, in their entirety. Aspects of the embodiments can be modified, if necessary to employ concepts of the various patents, applications and publications to provide yet further embodiments.
(55) These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.