Writing pressure value outputting method and pen state detecting circuit

The pen state detection circuit corrects tilt calculations at sensor edges and bends to prevent inaccuracies, providing precise pen position and tilt estimation in capacitive touch systems.

JP2024149758AActive Publication Date: 2024-10-18WACOM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024134746
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-18
Estimated Expiration
2039-04-22

AI Technical Summary

Technical Problem

Existing pen state detection systems using electronic pens with two electrodes can produce unexpected calculation results due to incorrect detection of electrode positions at the periphery or bent parts of capacitive touch sensors, leading to inaccurate estimation of pen tilt and position.

Method used

A pen state detection circuit and method that adjusts calculation rules based on the positional relationship between electrodes and the touch sensor edges or bends, using determination conditions to correct tilt values and ensure accurate pen state detection.

Benefits of technology

Prevents unexpected results by correcting tilt calculations at sensor edges or bends, ensuring precise pen position and tilt estimation, and smoothing time-series tilt values for improved accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024149758000001_ABST
    Figure 2024149758000001_ABST
Patent Text Reader

Abstract

To provide a writing pressure value outputting method and a pen state detecting circuit capable of outputting a writing pressure value that matches with the operation feeling of an electronic pen by a user.SOLUTION: A writing pressure value outputting method includes: a step (S13) for causing an electronic apparatus to obtain a first coordinate value representing the projected position of a first electrode and a second coordinate value representing the projected position of a second electrode both in a sensor coordinate system defined on the detection surface of a touch sensor; a step (S14) for causing the electronic apparatus to calculate an inclination value representing the inclination of an electronic pen relative to the normal line of the detection surface using both the first and second coordinate values; and a step (S15) for causing the electronic pen or the electronic apparatus to correct a writing pressure value representing writing pressure measured by a writing pressure sensor using a writing pressure correction characteristic in which a correction amount monotonically increases relative to the inclination value, and to output the corrected writing pressure value.SELECTED DRAWING: Figure 13
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a pen pressure value output method and a pen state detection circuit. [Background technology]

[0002] Patent document 1 discloses an electronic device that detects a first position on the detection surface of a touch sensor where a user's hand touches and a second position pointed to by an electronic pen, estimates the tilt direction of the electronic pen using the coordinate values ​​of the first position and the second position, and corrects the pointing position of the electronic pen according to this tilt direction. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-087785 A Summary of the Invention [Problem to be solved by the invention]

[0004] By using an electronic pen with two electrodes, it is possible to estimate the position and orientation of the electronic pen even when the user's hand is not touching the detection surface. However, since the two electrodes are physically separated, for example, at the periphery or bend of the touch sensor, the projection position of only one of the electrodes may not be detected, or a projection position that is different from the actual one may be detected. As a result, an unexpected calculation result regarding the state of the electronic pen may be output.

[0005] The object of the present invention is to provide a pen state detection circuit, a pen state detection method, and an electronic device that can prevent unexpected results from being obtained at the peripheral or curved parts of a touch sensor when calculating the tilt of an electronic pen having two electrodes. [Means for solving the problem]

[0006] The pen state detection circuit in the first aspect of the present invention is a circuit that is connected to a capacitive touch sensor consisting of a plurality of sensor electrodes arranged in a planar shape, and detects the state of an electronic pen having a first electrode and a second electrode based on an output signal from the touch sensor, and sequentially repeats an acquisition step of acquiring a first coordinate value indicating the projection position of the first electrode and a second coordinate value indicating the projection position of the second electrode in a sensor coordinate system defined on the detection surface of the touch sensor, and a tilt output step of calculating and outputting a tilt value indicating the tilt of the electronic pen from the acquired first coordinate value and second coordinate value in accordance with a calculation rule, and in the tilt output step, if a judgment condition is satisfied that indicates a situation in which at least one of the first electrode and the second electrode may be in a positional relationship in which it interferes with the peripheral portion or bent portion of the touch sensor when viewed from above the detection surface, a tilt value different from the value calculated in accordance with the normal calculation rule when the judgment condition is not satisfied is output.

[0007] A pen state detection method in a second aspect of the present invention is a method using a pen state detection circuit that is connected to a capacitive touch sensor consisting of a plurality of sensor electrodes arranged in a planar shape, and detects the state of an electronic pen having a first electrode and a second electrode based on an output signal from the touch sensor, in which the pen state detection circuit sequentially repeats an acquisition step of acquiring a first coordinate value indicating the projection position of the first electrode and a second coordinate value indicating the projection position of the second electrode in a sensor coordinate system defined on the detection surface of the touch sensor, and a tilt output step of calculating and outputting a tilt value indicating the tilt of the electronic pen from the acquired first coordinate value and second coordinate value in accordance with a calculation rule, in which, in the tilt output step, when a judgment condition is satisfied indicating a situation in which at least one of the first electrode and the second electrode may be in a positional relationship in which it interferes with the peripheral portion or bent portion of the touch sensor when viewed from above the detection surface, a tilt value different from the value calculated in accordance with the normal calculation rule when the judgment condition is not satisfied is output.

[0008] The pen state detection circuit in the third present invention is a circuit that is connected to a capacitive touch sensor consisting of a plurality of sensor electrodes arranged in a planar shape, and detects the state of an electronic pen having a first electrode and a second electrode based on an output signal from the touch sensor, and sequentially repeats an acquisition step of acquiring a first coordinate value indicating the projection position of the first electrode and a second coordinate value indicating the projection position of the second electrode in a sensor coordinate system defined on the detection surface of the touch sensor, and a tilt output step of calculating and outputting a tilt value indicating the tilt of the electronic pen from the acquired first coordinate value and second coordinate value, and in the tilt output step, during movement of the electronic pen, the time series of tilt values ​​sequentially output at the peripheral portion of the touch sensor are smoothed more than the time series of tilt values ​​sequentially output at the central portion of the touch sensor.

[0009] The pen state detection circuit in the fourth present invention is a circuit that is connected to a capacitive touch sensor consisting of a plurality of sensor electrodes arranged in a planar shape, and detects the state of an electronic pen having a first electrode and a second electrode based on an output signal from the touch sensor, and sequentially repeats an acquisition step of acquiring a first coordinate value indicating the projection position of the first electrode and a second coordinate value indicating the projection position of the second electrode in a sensor coordinate system defined on the detection surface of the touch sensor, and a tilt output step of calculating and outputting a tilt value indicating the tilt of the electronic pen from the acquired first coordinate value and second coordinate value, and in the tilt output step, during movement of the electronic pen, the time series of tilt values ​​sequentially output from the bent portion of the touch sensor are smoothed more than the time series of tilt values ​​sequentially output from the flat portion of the touch sensor. Effect of the Invention

[0010] According to the present invention, when calculating the tilt of an electronic pen having two electrodes, it is possible to prevent unexpected results from being obtained at the periphery or bend of the touch sensor. [Brief description of the drawings]

[0011] [Figure 1]1 is a diagram showing the overall configuration of an input system incorporating a pen state detection circuit according to a first embodiment of the present invention; [Diagram 2] FIG. 2 is a schematic diagram partially illustrating the electronic pen of FIG. [Diagram 3] FIG. 13 is a diagram showing an example of a signal distribution obtained when the electronic pen is in a contact state; [Figure 4] 2 is a schematic cross-sectional side view of the electronic device shown in FIG. 1. [Diagram 5] FIG. 2 is a diagram illustrating an example of a definition of a sensor area of ​​a touch sensor. [Figure 6] 2 is a block diagram showing a pen detection function of the touch IC shown in FIG. 1. [Figure 7] 5 is a flow chart relating to the execution of the pen detection function shown in FIG. 4. [Figure 8] FIG. 13 is a diagram illustrating an example of a combination of a determination condition and a calculation method. [Figure 9] FIG. 11 is a diagram showing a first example of a calculation result of an inclination angle. [Figure 10] FIG. 11 is a diagram showing a second example of the calculation result of the tilt angle. [Figure 11] FIG. 11 is an overall configuration diagram of an input system for performing a pen pressure value output method according to a second embodiment of the present invention. [Figure 12] 12 is a block diagram showing a pen detection function of the touch IC of FIG. 11. [Figure 13] 13 is a flow chart relating to the execution of the pen detection function shown in FIG. 12. [Figure 14] FIG. 12 is a schematic diagram partially illustrating the electronic pen of FIG. 11. [Figure 15] 11 is a diagram showing an example of writing pressure correction characteristics used for correcting a writing pressure value. FIG. [Figure 16] 13 is another flowchart showing a case where the electronic pen corrects the writing pressure value. [Figure 17] FIG. 13 is a diagram showing the overall configuration of an input system incorporating a pen state detection circuit according to a third embodiment of the present invention. [Figure 18] 18 is a block diagram showing a pen detection function of the touch IC of FIG. 17. [Figure 19] 19 is a flow chart relating to the execution of the pen detection function shown in FIG. 18. [Figure 20] 18 is a schematic cross-sectional side view of the electronic device shown in FIG. 17. [Figure 21] FIG. 13 is a diagram illustrating an example of a method for dividing a sensor area. [Figure 22] FIG. 11 is a diagram showing a first example of a result of determining a scan area. [Figure 23] FIG. 11 is a diagram showing a second example of a result of determining a scan area. [Figure 24] FIG. 11 is a diagram showing a third example of a result of determining a scan area. [Diagram 25] FIG. 13 is a diagram illustrating an example of another scanning operation by the scan control unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] The pen state detection circuit and the pen state detection method of the present invention will be described with reference to the accompanying drawings. Note that the present invention is not limited to the following embodiments and modifications, and can be freely modified without departing from the spirit of the present invention. Alternatively, each configuration can be arbitrarily combined within the scope of no technical contradiction.

[0013] [First embodiment] A pen state detection circuit and a pen state detection method in a first embodiment of the present invention will be described with reference to FIGS.

[0014] <Overall configuration of input system 10> 1 is a diagram showing the overall configuration of an input system 10 incorporating a pen state detection circuit according to a first embodiment of the present invention. The input system 10 basically comprises an electronic device 12 having a touch panel display, and an electronic pen 14 (also called a "stylus"), which is a pen-type pointing device.

[0015] The electronic device 12 is, for example, a tablet terminal, a smartphone, or a personal computer. A user can write pictures or characters on the electronic device 12 by holding the electronic pen 14 in one hand and moving the pen tip while pressing it against the detection surface 16 of the electronic device 12. In addition, the user can perform a desired operation via the user control being displayed by touching the detection surface 16 with his / her finger F.

[0016] The electronic device 12 includes a touch sensor 18, a touch IC (Integrated Circuit) 20 that is a pen state detection circuit, and a host processor 22. The touch sensor 18 is formed by combining a plurality of electrodes arranged on a display panel (not shown). The touch sensor 18 includes a plurality of sensor electrodes 18x for detecting a position on the X axis and a plurality of sensor electrodes 18y for detecting a position on the Y axis. The x and y directions shown in this figure correspond to the X and Y axes of a Cartesian coordinate system defined on the detection surface 16 formed by the touch sensor 18.

[0017] The strip-shaped sensor electrodes 18x extend in the y direction and are arranged at equal intervals along the x direction. The strip-shaped sensor electrodes 18y extend in the x direction and are arranged at equal intervals along the y direction. Hereinafter, the arrangement interval of the sensor electrodes 18x (or the sensor electrodes 18y) may be referred to as the "pitch." Note that the touch sensor 18 may be a self-capacitance sensor in which block-shaped electrodes are arranged in a two-dimensional lattice pattern, instead of the mutual capacitance sensor described above.

[0018] The touch IC 20 is an integrated circuit configured to be able to execute firmware 24, and is connected to each of a plurality of sensor electrodes 18x, 18y that constitute the touch sensor 18. The firmware 24 is configured to be able to realize a touch detection function 26 that detects a touch by a user's finger F or the like, and a pen detection function 28 that detects the state of the electronic pen 14.

[0019] The touch detection function 26 includes, for example, a function of scanning the touch sensor 18, a function of creating a heat map (two-dimensional distribution of detection levels) on the touch sensor 18, and a function of classifying areas on the heat map (for example, classification of fingers F and palm). The pen detection function 28 includes, for example, a function of scanning the touch sensor 18 (global scan or sector scan), a function of receiving and analyzing a downlink signal, a function of estimating the state of the electronic pen 14 (for example, position, tilt, writing pressure, etc.), and a function of generating and transmitting an uplink signal including a command for the electronic pen 14.

[0020] The host processor 22 is a processor including a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The host processor 22 reads and executes a program from a memory (not shown) to perform, for example, a process of generating digital ink using data from the touch IC 20, a rendering process for displaying drawing contents indicated by the digital ink, and the like.

[0021] <How to estimate pen state> Fig. 2 is a schematic diagram partially showing the electronic pen 14 of Fig. 1. The electronic pen 14 includes a tip electrode 30 and an upper electrode 32. The conical tip electrode 30 has a shape symmetrical with respect to the axis of the electronic pen 14, and is provided at the tip of the electronic pen 14. The tapered, annular upper electrode 32 has a shape symmetrical with respect to the axis of the electronic pen 14, and is provided on the base end side of the tip electrode 30.

[0022] The tip electrode 30 and the upper electrode 32 are electrodes for outputting a signal (so-called downlink signal) generated by the oscillation circuit 34. The oscillation circuit 34 changes the oscillation frequency and switches the transmission destination in a time-division manner, so that the electronic pen 14 can output two types of downlink signals via the tip electrode 30 and the upper electrode 32.

[0023] The touch IC 20 (FIG. 1) of the electronic device 12 acquires a signal distribution (hereinafter referred to as a "first signal distribution") indicating a change in capacitance (more specifically, mutual capacitance or self-capacitance) associated with the approach of the tip electrode 30 from the touch sensor 18. The first signal distribution typically has a shape with one peak at position Q1. Here, position Q1 corresponds to the position where the top of the tip electrode 30 (position P1) is projected onto the detection surface 16.

[0024] Similarly, the touch IC 20 (FIG. 1) of the electronic device 12 acquires a signal distribution (hereinafter referred to as a "second signal distribution") indicating a change in capacitance accompanying the approach of the upper electrode 32 from the touch sensor 18. The second signal distribution typically has a shape with one or two peaks at position Q2. Here, position Q2 corresponds to the position where the shoulder (position P2) of the upper electrode 32 is projected onto the detection surface 16. Note that position P3, which will be described later, corresponds to the center of the top surface of the upper electrode 32.

[0025] FIG. 3 is a diagram showing an example of a signal distribution obtained when the electronic pen 14 is in a contact state. More specifically, FIG. 3(a) shows a first signal distribution, and FIG. 3(b) shows a second signal distribution. The horizontal axis of the graph shows a relative position (unit: mm) based on the pointing position of the electronic pen 14, and the vertical axis of the graph shows a signal value (unit: none) normalized to [0,1]. The positive and negative signs of this signal value are defined so that it becomes "positive" when the electronic pen 14 approaches. The shape of each of the first and second signal distributions changes according to the inclination of the electronic pen 14 (hereinafter also referred to as "pen inclination"). In this figure, three curves obtained by changing the pen inclination are overlapped and shown.

[0026] As shown in Fig. 3(a), the first signal distribution has a generally similar shape regardless of the pen tilt. This is because, during use of the electronic pen 14, the top of the tip electrode 30 is usually located closest to the detection surface 16, and the position Q1 generally coincides with the position P1. On the other hand, as shown in Fig. 3(b), the second signal distribution has a large change in the position or number of peaks depending on the change in pen tilt. This is because, during use of the electronic pen 14, any point on the shoulder of the upper electrode 32 is usually located closest to the detection surface 16, and the distance between the positions Q1 and Q2 changes depending on the pen tilt.

[0027] The position and orientation of electronic pen 14 can be estimated using the coordinates of positions Q1 and Q2. For example, the indicated position corresponds to position Q1 shown in FIG. 2. The pen inclination corresponds to the angle between the normal to detection surface 16 and the axis of electronic pen 14 (hereinafter referred to as inclination angle θ). That is, when the pen is perpendicular to detection surface 16, θ=0°, and when the pen is parallel to detection surface 16, θ=90°. Note that the physical quantity indicating the inclination of electronic pen 14 may be an angle indicating the "magnitude" of the inclination, or an orientation indicating the "direction" of the inclination.

[0028] Fig. 4 is a schematic side cross-sectional view of the electronic device 12 shown in Fig. 1. Each of the linearly arranged rectangles is a schematic representation of the planarly arranged sensor electrodes 18x, 18y (Fig. 1). In the example of this figure, the flat electronic device 12 is folded in half so that the detection surface 16 faces outward and the non-detection surface 40 faces inward. This allows the user to perform input operations using the electronic pen 14 or a finger F even when the electronic device 12 is folded.

[0029] However, since the tip electrode 30 and the upper electrode 32 of the electronic pen 14 are provided physically separated, a situation may occur in which the positions Q1 and Q2 are not detected correctly depending on the relative positional relationship between the electronic pen 14 and the touch sensor 18. Examples of such a situation include: [1] when only the position Q2 is not detected in the peripheral portion 42; [2] when the detection accuracy of the positions Q1 and Q2 is reduced due to electromagnetic interference with the electronic components 45 including the camera unit in the peripheral portion 44; and [3] when detection skips for the position Q2 occur in the bent portion 46.

[0030] That is, if the positions Q1, Q2 cannot be detected or if the positions Q1, Q2 that deviate from the actual positions are detected, an unexpected calculation result is output regarding the state of the electronic pen 14. Therefore, a pen state detection method is proposed that can suppress unexpected results from being obtained at the peripheral portions 42, 44 or the bent portion 46 of the touch sensor 18 when calculating the tilt of the electronic pen 14 having the tip electrode 30 and the upper electrode 32.

[0031] <Operation of Touch IC20> FIG. 5 is a diagram showing an example of the definition of the sensor area 50 of the touch sensor 18. The sensor coordinate system is a two-dimensional orthogonal coordinate system having an origin O and an X axis and a Y axis. The origin O is a feature point (for example, the upper left vertex) on the detection surface 16. The XY plane coincides with the planar direction of the detection surface 16. The sensor area 50 includes at least one of the peripheral area 52 corresponding to the peripheral portion 42 (FIG. 4), the peripheral area 54 corresponding to the peripheral portion 44 (FIG. 4), and the bent area 56 corresponding to the bent area 56 (FIG. 4). The general area 58 is the remaining area of ​​the sensor area 50 and corresponds to the flat general portion 48 shown in FIG. 4. The shape of each area (for example, width, position, size, etc.) can be set in various ways depending on the electronic device 12 or the electronic pen 14.

[0032] Fig. 6 is a block diagram showing pen detection function 28 of touch IC 20 of Fig. 1. This pen detection function 28 includes a signal acquisition unit 60, a peak estimation unit 62, a tilt value calculation unit 64, and a coordinate value calculation unit 66. The operation of touch IC 20 when this pen detection function 28 is executed will be described with reference to the flowchart of Fig. 7.

[0033] 7, the signal acquiring unit 60 acquires a first signal distribution and a second signal distribution from the touch sensor 18 through a scanning operation for each of the sensor electrodes 18x and 18y. This signal distribution may be a one-dimensional signal distribution along the X-axis or Y-axis, or a two-dimensional signal distribution on the XY-axis plane.

[0034] In step S2, the peak estimation unit 62 estimates a peak of the first signal distribution acquired in step S1. Specifically, the peak estimation unit 62 creates a curve by interpolation or approximation for the discrete first signal distribution, and calculates a first coordinate value corresponding to the peak of the obtained curve. Similarly, the peak estimation unit 62 creates a curve by interpolation or approximation for the discrete second signal distribution, and calculates a second coordinate value corresponding to the peak of the obtained curve. This "first coordinate value" indicates the projection position of the tip electrode 30 (hereinafter, the first position), and this "second coordinate value" indicates the projection position of the upper electrode 32 (hereinafter, the second position).

[0035] In step S3, the inclination value calculation unit 64 acquires a parameter for determination necessary for a determination described later. The parameter for determination may be, for example, a parameter for specifying the position and shape of the peripheral regions 52, 54 or the bent region 56 (FIG. 5), or a parameter for specifying the state of the electronic pen 14.

[0036] In step S4, the inclination value calculation unit 64 checks whether a predetermined judgment condition is satisfied, using the first coordinate value or the second coordinate value acquired in step S2 and the judgment parameter acquired in step S3. This "judgment condition" is a condition that indicates a situation in which at least one of the tip electrode 30 and the upper electrode 32 may be in a positional relationship that interferes with the peripheral portions 42, 44 or the bent portion 46, as viewed from above the detection surface 16.

[0037] 8 is a diagram showing an example of a combination of judgment conditions and calculation methods. "First condition A" corresponds to (1) the first position being in the general portion 48, and (2) the second position being in the peripheral portion 42. In other words, it is determined that the first condition A is satisfied when (1) the first coordinate value indicates a position within the general region 58, and the second coordinate value indicates a position within the peripheral region 52.

[0038] Furthermore, the "first condition B" corresponds to (1) the first position moving from the inside to the outside of the touch sensor 18, and (2) the second position being in the peripheral portion 42. In other words, the first condition B is determined to be satisfied when (1) the first coordinate value moving from the inside to the outside of the sensor area 50, and (2) the second coordinate value indicating a position within the peripheral area 52.

[0039] The "second condition" corresponds to (1) the first position being detected and (2) the second position not being detected. In other words, the second condition is determined to be met when (1) the first coordinate value is obtainable and (2) the second coordinate value is not obtainable.

[0040] Moreover, the "third condition" corresponds to the first position or the second position being in a specific peripheral portion 44. In other words, when at least one of the first coordinate value and the second coordinate value indicates a position within the peripheral region 54, it is determined that the third condition is met.

[0041] Furthermore, the "fourth condition A" corresponds to (1) the first position or the second position being in the bending portion 46, and (2) the bending portion 46 forming a convex detection surface 16. In other words, the fourth condition A is determined to be satisfied when (1) at least one of the first coordinate value and the second coordinate value indicates a position within the bending region 56, and (2) the flag value related to the bending direction of the bending region 56 indicates "upward convex."

[0042] Furthermore, the "fourth condition B" corresponds to (1) the first position or the second position being in the bending portion 46, and (2) the bending portion 46 forming a concave detection surface 16. In other words, the fourth condition B is determined to be satisfied when (1) at least one of the first coordinate value and the second coordinate value indicates a position within the bending region 56, and (2) the flag value related to the bending direction of the bending region 56 indicates "downward convex."

[0043] In addition to the above-mentioned multiple judgment conditions, the tilt value calculation unit 64 may perform judgment by setting an additional condition related to "the electronic pen 14 being in a contact state." Here, the "contact state" refers to a state in which the tip electrode 30 of the electronic pen 14 is in contact with the detection surface 16 of the electronic device 12. Conversely, the "hover state" refers to a state in which the tip electrode 30 of the electronic pen 14 is not in contact with the detection surface 16 of the electronic device 12. For example, if the electronic pen 14 includes a pen pressure sensor 38 (FIG. 14), the touch IC 20 can distinguish between the above two states by analyzing a downlink signal transmitted from the electronic pen 14.

[0044] If none of the predetermined multiple determination conditions is satisfied (step S4: NO), the process proceeds to step S5. On the other hand, if any of the multiple determination conditions is satisfied (step S4: YES), the process proceeds to step S6.

[0045] When proceeding to step S5, the tilt value calculation unit 64 calculates a tilt value indicating the current pen tilt (hereinafter referred to as the "normal calculated value") according to a normal calculation rule using the first coordinate value and the second coordinate value acquired at the current time in step S2. This "normal calculation rule" is a rule for calculating the tilt value based on a geometric model constructed under the assumption that the detection surface 16 is flat. Specifically, when the distance between positions P1 and P3 is H and the distance between positions Q1 and Q2 is D, the tilt value calculation unit 64 calculates the tilt angle θ according to the following formula (1). Here, D0 is the distance between positions Q1 and Q2 when θ=0 [degrees]. θ=sin -1 (D / H)-sin -1 (D0 / H) (1)

[0046] On the other hand, when proceeding to step S6, the tilt value calculation unit 64 calculates the tilt value according to a calculation rule (hereinafter, referred to as a "special calculation rule") different from the normal calculation rule in step S5. In other words, the tilt value calculation unit 64 calculates a value different from the "normal calculation value" calculated according to the normal calculation rule from the first coordinate value and the second coordinate value acquired at the current time.

[0047] 8 is satisfied, the gradient value calculation unit 64 obtains a normal calculation value in the same manner as in step S5, and then corrects the normal calculation value. Specifically, the gradient value calculation unit 64 outputs a weighted sum between the gradient value at the current time point and one or more gradient values ​​calculated at a time point prior to the current time point (e.g., n times prior; n is a natural number).

[0048] For example, if the tilt angle indicated by the tilt value output immediately before (hereinafter referred to as the previous tilt value) is θprv and the tilt angle indicated by the normal calculation value is θcal, the tilt value calculation unit 64 calculates the tilt angle θ according to the following equation (2). θ=(1-α)·θcal+α·θprv ···(2)

[0049] Here, the coefficient α is a positive value that satisfies 0<α<1, and corresponds to a parameter that indicates the degree of smoothing. In other words, the larger the value of the coefficient α, the greater the degree of smoothing, whereas the smaller the value of the coefficient α, the smaller the degree of smoothing.

[0050] Furthermore, if the second condition is satisfied, the tilt value calculation unit 64 outputs the tilt value at a time point prior to the current time point. Specifically, if θprv is the most recent valid value, the tilt value calculation unit 64 calculates the tilt angle θ so that θ=θprv. This calculation formula is the same as formula (2) with α=1.

[0051] Furthermore, when the fourth condition B is satisfied, the tilt value calculation unit 64 outputs a tilt value indicating a state in which the electronic pen 14 is perpendicular to the detection surface 16. Specifically, the tilt value calculation unit 64 calculates the tilt angle θ so that θ=0. When the touch sensor 18 is configured to be bent or curved at a plurality of points, the tilt value calculation unit 64 may determine whether the fourth conditions A and B are satisfied only for the bending region 56 including the position of the bending portion 46 if the position of the bending portion 46 can be identified.

[0052] In step S7, coordinate value calculation unit 66 corrects the pointing position (i.e., the first coordinate value) of electronic pen 14 using the tilt value calculated in step S5 or step S6. This suppresses deviation of the pointing position according to the tilt angle θ. Note that pen detection function 28 may use this tilt value to correct a state value (e.g., a writing pressure value) other than the pointing position.

[0053] In step S8, the pen detection function 28 supplies data including state values ​​(specifically, coordinate values, tilt values, pen pressure values, etc.) indicating the state of the electronic pen 14 to the host processor 22. In this manner, the flowchart of Fig. 7 ends. The touch IC 20 can detect changes over time in the state of the electronic pen 14 by sequentially executing this flowchart at predetermined time intervals. An example of the calculation result of the tilt angle θ will be described below with reference to Figs. 9 and 10.

[0054] 9(a) is a diagram showing a first behavior of the electronic pen 14. For example, assume that the user oscillates the electronic pen 14 in the left-right direction around a fixed point with the tip of the electronic pen 14 fixed on the detection surface 16. Note that the amplitude and period of the oscillation are constant regardless of the position of the fixed point.

[0055] FIG. 9(b) is a diagram showing the change over time in the inclination angle θ that is calculated sequentially in association with the first behavior. The horizontal axis of the graph indicates time (unit: s), and the vertical axis of the graph indicates the inclination angle θ (unit: degrees). The solid line graph G1 corresponds to the inclination angle θ calculated in accordance with the normal calculation rule when the fixed point is in the general portion 48. On the other hand, the dashed line graph G2 corresponds to the inclination angle θ calculated in accordance with the special calculation rule ("first condition A" in FIG. 8) when the fixed point is in the peripheral portion 42. It should be noted that the graph G3 corresponds to the actual value of the inclination angle θ.

[0056] As can be seen from this figure, all of the graphs G1 to G3 show behavior that changes with approximately the same period centered on θ=0 [degrees]. The shape of the graph G1 roughly matches the shape of the graph G3. However, the shape of the graph G2 has a smaller fluctuation range of the tilt angle θ compared to the graph G1. In other words, the time series of the tilt angle θ is smoothed by using a special calculation rule.

[0057] 10(a) is a diagram showing a second behavior of the electronic pen 14. For example, assume that the user moves the electronic pen 14 so as to pass through the L-shaped bent portion 46. Here, the detection surface 16 of the electronic device 12 is curved in an L-shape so as to be convex downward at the position of the bent portion 46.

[0058] Fig. 10(b) is a diagram showing the change over time in the tilt angle θ that is calculated sequentially in association with the second behavior. The horizontal axis of the graph indicates time (unit: s), and the vertical axis of the graph indicates the tilt angle θ (unit: degrees). The solid line graph G1 indicates a comparative example, the dashed line graph G2 indicates an embodiment, and the thick solid line graph G3 indicates actual values. Here, the "comparative example" corresponds to a case where only the normal calculation rule is used, and the "embodiment" corresponds to a case where both the normal calculation rule and the special calculation rule ("fourth condition B" in Fig. 8) are used.

[0059] As shown in graph G3, the user tends to perform a writing operation while holding the electronic pen 14 perpendicular to the detection surface 16 so that the tip of the electronic pen 14 does not slip at the bent portion 46 having a concave curved surface. In this case, as shown in graph G1 (comparative example), a detection jump occurs at the position Q2 at the bent portion 46, and a pseudo state in which the electronic pen 14 is suddenly tilted may be detected. Therefore, as shown in graph G2 (embodiment), by using a calculation rule suitable for the bent portion 46, the time series of the tilt angle θ is partially smoothed, and a calculation result close to the actual behavior of the electronic pen 14 can be obtained.

[0060] <Summary of the First Embodiment> As described above, the touch IC 20 is connected to the capacitive touch sensor 18 having a plurality of sensor electrodes 18x, 18y arranged in a planar shape, and is a pen state detection circuit that detects the state of the electronic pen 14 having the tip electrode 30 (first electrode) and the upper electrode 32 (second electrode) based on an output signal from the touch sensor 18. The touch IC 20 sequentially and repeatedly executes a tilt output step (S5, S6, S8) of acquiring a first coordinate value indicating the projection position of the tip electrode 30 and a second coordinate value indicating the projection position of the upper electrode 32 in a sensor coordinate system defined on the detection surface 16 of the touch sensor 18 (S2), and calculating and outputting a tilt value indicating the tilt of the electronic pen 14 from the acquired first coordinate value and second coordinate value according to a calculation rule.

[0061] Then, in the tilt output steps (S6, S8), when a judgment condition is satisfied that indicates a situation in which at least one of the tip electrode 30 and the upper electrode 32 may be in a positional relationship that interferes with the peripheral portions 42, 44 or the bent portion 46 of the touch sensor 18 when viewed from above the detection surface 16, the touch IC 20 outputs a tilt value that is different from the value calculated according to the normal calculation rules when this judgment condition is not satisfied. This makes it possible to prevent unexpected results from being obtained at the peripheral portions 42, 44 or the bent portion 46 of the touch sensor 18 when calculating the tilt of the electronic pen 14 having two electrodes.

[0062] Furthermore, the touch IC 20 may operate so that, during the movement of the electronic pen 14, the time series of gradient values ​​sequentially output from the peripheral portions 42, 44 of the touch sensor 18 are smoother than the time series of gradient values ​​sequentially output from the general portion 48 (central portion) of the touch sensor 18. Alternatively, the touch IC 20 may operate so that, during the movement of the electronic pen 14, the time series of gradient values ​​sequentially output from the bent portion 46 of the touch sensor 18 are smoother than the time series of gradient values ​​sequentially output from the general portion 48 (flat portion) of the touch sensor 18.

[0063] [Second embodiment] A pen pressure value output method according to the second embodiment of the present invention will be described with reference to Fig. 11 to Fig. 16. Note that the same configurations or functions as those in the first embodiment are given the same reference symbols, and descriptions thereof may be omitted.

[0064] <Overall configuration of input system 10> 11 is an overall configuration diagram of an input system 80 for performing a pen pressure value output method in a second embodiment of the present invention. The input system 80 is basically composed of an electronic pen 14 and an electronic device 82. As in the first embodiment, this electronic device 82 is composed of a touch sensor 18, a touch IC 20, and a host processor 22. However, the firmware 24 of the touch IC 20 is configured to be able to realize a pen detection function 84 different from that in the first embodiment.

[0065] <Operation of Touch IC20> Fig. 12 is a block diagram showing a pen detection function 84 of the touch IC 20 of Fig. 11. This pen detection function 84 includes a tilt value calculation unit 86 and a writing pressure correction unit 88 in addition to the signal acquisition unit 60 and the peak estimation unit 62. The operation of the touch IC 20 when this pen detection function 84 is executed will be described with reference to the flowchart of Fig. 13.

[0066] 13, the signal acquiring unit 60 acquires the first signal distribution and the second signal distribution from the touch sensor 18 through a scanning operation for each of the sensor electrodes 18x and 18y. This acquisition is the same operation as in step S1 in FIG. 7, and therefore a detailed description thereof will be omitted.

[0067] In step S12, the signal acquisition unit 60 analyzes the downlink signal from the electronic pen 14 and acquires a writing pressure value indicating the writing pressure of the electronic pen 14. This writing pressure value is a value correlated with the writing pressure applied in the axial direction of the electronic pen 14, and is defined so that the value increases as the writing pressure increases, for example.

[0068] Fig. 14 is a schematic diagram partially showing the electronic pen 14 of Fig. 11. In addition to the tip electrode 30, the upper electrode 32, and the oscillator circuit 34, the electronic pen 14 includes a core body 36 and a writing pressure sensor 38. The tip electrode 30 is connected to one end of the core body 36, and the writing pressure sensor 38 is connected to the other end of the core body 36. The writing pressure sensor 38 is a pressure sensor capable of measuring pressure applied in the axial direction of the electronic pen 14. Specifically, the detection method of the pressure sensor may be any of a capacitance method, a diffused resistance method, a resistance wire method, a film formation method, and a mechanical method.

[0069] When the electronic pen 14 is perpendicular to the detection surface 16 (θ=0), all pressure applied by the user through the electronic pen 14 is transmitted to the pen pressure sensor 38 as a normal force from the detection surface 16. However, when the electronic pen 14 is tilted with respect to the normal line of the detection surface 16 (θ≠0), the pressure from the user is transmitted to the pen pressure sensor 38 in a state reduced by approximately cosθ times. Note that the pen pressure applied in the axial direction of the electronic pen 14 thus changes depending on the pen tilt.

[0070] In step S13, the peak estimation unit 62 estimates the peaks of the first and second signal distributions acquired in step S11, thereby acquiring the first and second coordinate values. This estimation is the same operation as in step S2 in Fig. 7, and therefore a detailed description thereof will be omitted.

[0071] In step S14, the tilt value calculation unit 86 calculates a tilt value indicating the pen tilt using the first coordinate value and the second coordinate value acquired in step S12. The tilt value calculation unit 86 may calculate the tilt value according to the above formula (1) or may calculate the tilt value according to the above formula (2).

[0072] In step S15, the writing pressure correction unit 88 corrects the writing pressure value acquired in step S12 by using the tilt value calculated in step S14. Specifically, the writing pressure correction unit 88 corrects the writing pressure value by multiplying the original writing pressure value by a correction multiplier M.

[0073] 15 is a diagram showing an example of a pen pressure correction characteristic 90 used to correct a pen pressure value. The horizontal axis of the graph indicates the tilt angle θ (unit: degrees), and the vertical axis of the graph indicates the correction multiplier M (unit: none). The pen pressure correction characteristic 90 is a function in which the correction multiplier M monotonically increases as the absolute value |θ| of the tilt angle θ increases. For example, when M(θ)=secθ=1 / cosθ, M(0)=1, M(45)=√2, and M(60)=√3.

[0074] 15, the pen pressure correction characteristic 90 may have a function shape according to the mechanical structure of the electronic pen 14 or the detection performance of the pen pressure sensor 38. The pen pressure value may be corrected by adding a correction amount ΔC in addition to the multiplication by the correction multiplier M described above.

[0075] In step S16, the pen detection function 84 supplies data including state values ​​(e.g., coordinate values, tilt values, corrected pen pressure values, etc.) indicating the state of the electronic pen 14 to the host processor 22. In this manner, the flowchart of Fig. 13 ends. The touch IC 20 can detect changes over time in the state of the electronic pen 14 by sequentially executing this flowchart at predetermined time intervals.

[0076] <Summary of the second embodiment> As described above, this writing pressure value output method is a method using an input system 80 including an electronic pen 14 having a writing pressure sensor 38 capable of measuring writing pressure applied in the axial direction, and an electronic device 82 having a detection surface 16 for detecting the state of the electronic pen 14, in which the electronic device 82 acquires an inclination value indicating the inclination of the electronic pen 14 with respect to the normal line of the detection surface 16 (S14), corrects the writing pressure value indicating the writing pressure measured by the writing pressure sensor 38 using a writing pressure correction characteristic 90 in which the correction amount increases monotonically with respect to the inclination value (S15), and outputs the corrected writing pressure value (S16). This makes it possible to suppress the tendency for the detection value of the writing pressure sensor 38 to become relatively smaller as the inclination of the electronic pen 14 with respect to the normal line of the detection surface 16 increases, and a writing pressure that matches the user's operating feeling of the electronic pen 14 is output.

[0077] <Another flowchart> In the above example, the touch IC 20 of the electronic device 82 performs the correction of the writing pressure value (S14), the correction of the writing pressure value (S15), and the output of the writing pressure value (S16), but these operations may be performed by the electronic pen 14. In this case, the input system 80 operates according to the flowchart shown in FIG.

[0078] The electronic device 82 acquires the first signal distribution and the second signal distribution (S21), calculates the first coordinate value and the second coordinate value (S22), and then calculates the tilt value (S23). Then, the electronic device 82 transmits an uplink signal including the tilt value calculated in step S23 toward the electronic pen 14. The electronic pen 14 acquires the tilt value included in the uplink signal received from the electronic device 82 (S24), acquires the writing pressure value from the writing pressure sensor 38 (S25), and corrects the writing pressure value using the tilt value (S26). Then, the electronic pen 14 outputs the tilt value corrected in step S26 as a downlink signal toward the electronic device 82. Even with this configuration, the same action and effect as the second embodiment, that is, a writing pressure output that matches the operation feeling, can be obtained.

[0079] [Third embodiment] A pen state detection circuit and a pen state detection method according to a third embodiment of the present invention will be described with reference to Fig. 17 to Fig. 25. Note that the same reference symbols are used for configurations or functions similar to those of the first embodiment, and descriptions thereof may be omitted.

[0080] <Overall configuration of input system 100> 17 is an overall configuration diagram of an input system 100 incorporating a pen state detection circuit according to a third embodiment of the present invention. The input system 100 is basically composed of an electronic pen 14 and an electronic device 102. The electronic device 102 is composed of a touch sensor 18, one or more distortion sensors 104, a touch IC 106 which is a pen state detection circuit, and a host processor 108.

[0081] The strain sensor 104 is a sensor for detecting a change in the shape of the touch sensor 18 due to the deformation function of the electronic device 102. For example, in the case of an electronic device 102 that does not have flexibility, the strain sensor 104 is provided around a position where the touch sensor 18 bends. Alternatively, in the case of an electronic device 102 that has flexibility, the strain sensor 104 is provided at a position that covers the entire surface of the touch sensor 18.

[0082] The touch IC 106 is an integrated circuit configured to be able to execute firmware 110, and is connected to each of the multiple sensor electrodes 18x, 18y. The firmware 110 is configured to be able to realize a touch detection function 112 that is the same as or different from the touch detection function 26 (FIG. 1), and a pen detection function 114, which will be described later.

[0083] The host processor 108 is a processor including a CPU or a GPU, and performs the same processing as the host processor 22. Note that the host processor 108 is connected to one or more of the above-mentioned strain sensors 104.

[0084] <Operation of touch IC106> Fig. 18 is a block diagram showing pen detection function 114 included in touch IC 106 of Fig. 17. This pen detection function 114 includes bending information acquisition unit 120, area division unit 122, area determination unit 124, scan control unit 126, and indication position detection unit 128. Hereinafter, the operation of touch IC 106 when this pen detection function 114 is executed will be described with reference to the flowchart of Fig. 19.

[0085] 19, the bending information acquisition unit 120 periodically or irregularly acquires information indicating the bending shape of the touch sensor 18 (hereinafter, referred to as "bending information") from the host processor 108. Prior to this acquisition, the host processor 108 generates bending information of the touch sensor 18 using a sensor signal output from one or more strain sensors 104.

[0086] Fig. 20 is a schematic cross-sectional side view of the electronic device 102 shown in Fig. 17. Each of the linearly arranged rectangles typically represents a planar array of sensor electrodes 18x, 18y (Fig. 1). In the example shown in the figure, the flat electronic device 102 is folded in a roughly Z-shape so that a part of the detection surface 16 faces outward.

[0087] In the example shown in the figure, the bending information includes various pieces of information for identifying the two bending portions 136, 138. Specifically, the bending information includes "2" indicating the number of bending portions 136, 138, "coordinate values ​​of bending lines L1, L2" indicating the positions of bending portions 136, 138, "mountain fold / valley fold" indicating the orientation of bending portions 136, 138, and "bending amount" indicating the degree of bending of bending portions 136, 138.

[0088] In step S32, the bending information acquisition unit 120 analyzes the bending information acquired in step S31 to check whether the touch sensor 18 has been deformed. If the touch sensor 18 has not been deformed (step S32: NO), the process returns to step S31 and repeats steps S31 and S32 in sequence until the touch sensor 18 is deformed. On the other hand, if the touch sensor 18 has been deformed (step S32: YES), the process proceeds to the next step S33.

[0089] In step S33, the region dividing unit 122 uses the bending information acquired in step S31 to divide the sensor region 140 of the touch sensor 18. Specifically, the region dividing unit 122 sets a plurality of sub-regions 141 to 144 partitioned by one or more bending lines indicated by the bending information.

[0090] Fig. 21 is a diagram showing an example of a method for dividing the sensor area 140. As shown in Fig. 21(a), when the touch sensor 18 is folded along two folding lines L1 and L2, the area dividing unit 122 divides the rectangular sensor area 140 into three sub-areas 141, 142, and 143 defined by the two folding lines L1 and L2. On the other hand, as shown in Fig. 21(b), when the touch sensor 18 is folded along one folding line L1, the area dividing unit 122 divides the rectangular sensor area 140 into two sub-areas 141 and 144 defined by one folding line L1.

[0091] In step S34, the area determination unit 124 determines one or more scan areas 146 from among the sub-areas 141 to 143 divided in step S33. Specifically, the area determination unit 124 determines one or more scan areas 146 adjacent to the position of the bending portion 136 specified by the bending information (i.e., bending lines L1, L2). The area determination unit 124 may also estimate the three-dimensional shape of the touch sensor 18 from the obtained bending information, and determine an area accessible by the electronic pen 14 (a part or all of the sensor area 140) as the scan area 146.

[0092] In step S35, the area determination unit 124 instructs the scan control unit 126 to change the scan area 134. As a result, the scan control unit 126 controls the driving of the touch sensor 18 so that the electronic pen 14 scans within the newly instructed scan area 146.

[0093] After that, the process returns to step S31 and the flow chart of Fig. 19 is repeatedly executed. That is, every time deformation of the touch sensor 18 is detected, the touch IC 106 detects a time change in the state of the electronic pen 14 while dynamically changing the scan area 146. Hereinafter, the determination results of the scan area 146 accompanying various deformations of the electronic device 102 will be described with reference to Figs. 22 to 24.

[0094] 22 is a diagram showing a first example of a result of determining the scan area 146. As shown in FIG. 22(a), the electronic device 102 is folded in a mountain direction at the folding line L1 and folded in a valley direction at the folding line L2, so that the electronic device 102 is deformed into a substantially Z-shape in a side view. That is, in the first deformed state, only a part (exposed portion 131) of the detection surface 16 is exposed. In this case, as shown in FIG. 22(b), one sub-area 141 corresponding to the exposed portion 131 is determined as the scan area 146.

[0095] 23 is a diagram showing a second example of the result of determining the scan area 146. As shown in FIG. 23(a), the electronic device 102 is folded in a valley at the folding line L1 and folded in a mountain at the folding line L2, so that the electronic device 102 is deformed into a substantially S-shape in a side view. That is, in the second deformed state, only a part (exposed portion 133) of the detection surface 16 is exposed. In this case, as shown in FIG. 23(b), one sub-area 143 corresponding to the exposed portion 133 is determined as the scan area 146.

[0096] Fig. 24 is a diagram showing a third example of the result of determining the scan area 146. As shown in Fig. 24(a), the electronic device 102 is bent into an L-shape at the bend line L1 and then bent into an L-shape at the bend line L2, so that the electronic device 102 is deformed into a substantially C-shape in side view. That is, in the third deformed state, all of the detection surface 16 (exposed portions 131, 132, 133) are exposed. In this case, three sub-areas 141 to 143 corresponding to the exposed portions 131 to 133 are determined as the scan area 146, as shown in Fig. 24(b).

[0097] <Summary of the third embodiment> As described above, the touch IC 106 is a pen state detection circuit that is connected to the capacitive touch sensor 18, which is configured by arranging a plurality of sensor electrodes 18x, 18y in a planar shape and is bendable or curveable at a plurality of points, and detects the state of the electronic pen 14 based on an output signal from the touch sensor 18. The touch IC 106 acquires bending information including the positions of the bending parts 136, 138 of the touch sensor 18 (S31), determines one or more scan areas 146 adjacent to the positions (bending lines L1, L2) of the bending parts 136, 138 specified by the bending information within the sensor area 140 of the touch sensor 18 (S34), and controls the driving of the touch sensor 18 so that the electronic pen 14 scans only within the determined scan area 146.

[0098] With this configuration, it is possible to determine the scan area 146 suitable for the curved shape of the touch sensor 18, and the frequency of scanning increases compared to the case where the entire sensor area 140 is always scanned. This improves the responsiveness when detecting the electronic pen 14.

[0099] The position information also includes bending directions corresponding to the positions of the bending portions 136, 138, and the touch IC 106 may estimate exposed portions 131-133 of the touch sensor 18 accessible to the electronic pen 14 using the positions and bending directions of the bending portions 136, 138 specified by the bending information, and determine sub-areas 141-143 corresponding to the exposed portions 131-133 as the scan area 146. This makes it possible to exclude from the scan area 146 unexposed areas that are likely not to be used with the current shape of the touch sensor 18.

[0100] <Another example of scanning> Incidentally, the scan control unit 126 may perform scanning in the entire area of ​​the specified scan area 146, or may temporarily stop scanning in a part of the scan area 146. As an example of the latter, the scan control unit 126 changes the scan control in response to the detection result of the electronic pen 14 by the pointed position detection unit 128.

[0101] Fig. 25 is a diagram showing an example of another scanning operation by the scan control unit 126. This electronic device 102 is deformed into a roughly C-shape in side view, similar to the case of Fig. 24(a). That is, the touch sensor 18 is bent so that a pair of exposed portions 131, 133 face opposite sides.

[0102] 25(a), while the electronic pen 14 is not detected by both exposed portions 131, 132, the scan control unit 126 continues scanning within all of the sub-areas 141 to 143 constituting the scan area 146. On the other hand, as shown in FIG 25(b), while the electronic pen 14 is detected only by one exposed portion 131, the scan control unit 126 temporarily stops scanning within the sub-area 143 corresponding to the other exposed portion 133.

[0103] In this way, when the touch sensor 18 is bent or curved so that the pair of exposed portions 131, 133 face opposite sides, the scan control unit 126 of the touch IC 106 may control the drive of the touch sensor 18 so as to temporarily stop scanning of the electronic pen 14 in the other sub-area 143 while the electronic pen 14 is detected only in one sub-area 141 of a pair of sub-areas 141, 143 corresponding to the pair of exposed portions 131, 133. [Explanation of symbols]

[0104] 10,80,100‥Input system, 12,82,102‥Electronic device, 14‥Electronic pen, 16‥Detection surface, 18‥Touch sensor, 18x,18y‥Sensor electrode, 20,106‥Touch IC (pen state detection circuit), 22,106‥Host processor, 28,84,114‥Pen detection function, 30‥Tip electrode (first electrode), 32‥Upper electrode (second electrode), 34‥Oscillation circuit, 36‥Core body, 38‥Pen pressure sensor, 42,44‥Periphery, 46,136,138‥Bending portion, 50,140‥Sensor area, 52,54‥Periphery, 56‥Bending area, 58‥General area, 131~133‥Exposed area, 141~144‥Sub-area, 146‥Scan area, F‥Finger, L1,L2‥Bending curve

Claims

1. an electronic pen including a first electrode, a second electrode provided at a position different from the first electrode, and a writing pressure sensor capable of measuring a writing pressure applied in an axial direction; an electronic device including a capacitive touch sensor having a plurality of sensor electrodes arranged in a planar shape, and a pen state detection circuit that detects a state of the electronic pen based on an output signal from the touch sensor; A pen pressure value output method using an input system comprising: a first acquisition step in which the electronic device acquires a first coordinate value indicating a projection position of the first electrode and a second coordinate value indicating a projection position of the second electrode in a sensor coordinate system defined on a detection surface of the touch sensor; a first calculation step in which the electronic device calculates a tilt value indicating a tilt of the electronic pen with respect to a normal line of the detection surface by using the first coordinate value and the second coordinate value; an output step in which the electronic pen or the electronic device corrects a writing pressure value indicating the writing pressure measured by the writing pressure sensor using a writing pressure correction characteristic in which a correction amount monotonically increases with respect to the tilt value, and outputs the corrected writing pressure value; A pen pressure value output method comprising:

2. The electronic device further includes a second calculation step of calculating an alternative value different from the tilt value calculated through the first calculation step when a predetermined judgment condition is satisfied, In the output step, after the second calculation step is executed, the electronic pen or the electronic device outputs the corrected writing pressure value using the alternative value. The method for outputting a pen pressure value according to claim 1 .

3. the determination condition is a condition indicating a situation in which at least one of the first electrode and the second electrode may be in a positional relationship in which the first electrode and the second electrode interfere with a peripheral portion or a bent portion of the touch sensor when viewed from above the detection surface. The pen pressure value output method according to claim 2 .

4. The alternative value is a pressure value smoothed using the time series of pressure values, a pressure value most recently calculated as a valid value, or a zero value indicating no tilt of the electronic pen. The pen pressure value output method according to claim 2 .

5. a second acquisition step of the electronic device acquiring the tilt value through communication with the electronic pen; In the output step, the electronic pen outputs the corrected writing pressure value by using the tilt value acquired through the second acquisition step. The method for outputting a pen pressure value according to claim 1 .

6. The pen pressure correction characteristic is described by a secant function that is the inverse of a cosine function of the slope value. The method for outputting a pen pressure value according to claim 1 .

7. A pen state detection circuit is connected to a capacitive touch sensor having a plurality of sensor electrodes arranged in a planar shape, and detects a state of an electronic pen based on an output signal from the touch sensor, The electronic pen includes a first electrode, a second electrode provided at a position different from that of the first electrode, and a writing pressure sensor capable of measuring a writing pressure applied in an axial direction; an acquiring step of acquiring a first coordinate value indicating a projection position of the first electrode and a second coordinate value indicating a projection position of the second electrode in a sensor coordinate system defined on a detection surface of the touch sensor; a calculation step of calculating an inclination value indicating an inclination of the electronic pen with respect to a normal line of the detection surface by using the first coordinate value and the second coordinate value; an output step of correcting a writing pressure value indicating the writing pressure measured by the writing pressure sensor using a writing pressure correction characteristic in which a correction amount increases monotonically with respect to the slope value, and outputting the corrected writing pressure value; A pen state detection circuit comprising:

Citation Information

Patent Citations

  • Pointer, position detection apparatus and position detection method

    JP2011164801A

  • Portable electronic device having digitizer, correction method, and computer program

    JP2015079281A

  • Touch sensing device for determining infomration associated with pen and method for controlling thereof and pen

    KR1020180015987A

  • Pointer, position detection apparatus and position detection method

    US20110193776A1

  • Touch control apparatus for detecting tilt angle and axial direction of stylus and control method thereof

    US20170262122A1