# US 2017/0293372 A1 · Mitigating active stylus/touch cross-coupling

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293372 A1
- Document ID: US20170293372A1
- Status: Published application
- Kind: A1
- Application number: 15/485,698
- Filed: 2017-04-12
- Published: 2017-10-12
- Earliest claimed: 2016-04-12
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Leah GUM; Wayne C. WESTERMAN; Seyed Mohammad NAVIDPOUR; Shahrooz SHAHPARNIA
- Web page: https://patentgrep.com/patent/US20170293372A1

## CPC

- G06F 3/0418: {for error correction or compensation, e.g. based on parallax, calibration or alignment}
- G06F 3/04186: {Touch location disambiguation}
- G06F 3/0442: {using active external devices, e.g. active pens, for transmitting changes in electrical potential to be received by the digitiser}
- G06F 3/0446: {using a grid-like structure of electrodes in at least two directions, e.g. using row and column electrodes}
- G06F 2203/04104: Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one aspect, the present disclosure relates to a method including determining which sense lines are potentially corrupted based on touch image information, measuring a sense signal on each sense line, and applying a trained best compensation factor to the measured sense signal on potentially corrupted sense lines in order to produce a corrected sense signal. The corrected sense signal eliminates active stylus signal that has cross-coupled to a touch contact (e.g., a finger or conductive stylus) and thereby mitigates errors in stylus location due to cross-coupled signal.

## Claims

### Claim 1

A method for mitigating cross-coupling in a device configured to receive input from an active stylus, comprising:
determining, by a processor circuit of the device, one or more corrupted sense lines in a touch sensor of the device comprising a plurality of sense lines based on touch image information;
measuring, by the processor circuit, a sense signal on each of the plurality of sense lines;
applying, by the processor circuit, a trained best compensation factor to the measured sense signal on each of the one or more corrupted sense lines to produce a corrected sense signal for each of the one or more corrupted sense lines;
determining, by the processor circuit, a stylus location based on the corrected sense signals, the stylus location being different from a detected stylus location detected by the touch sensor; and
generating, by the processor circuit, a stylus input made at the stylus location .

### Claim 2 (depends on 1)

The method of claim 1, further comprising training the trained best compensation factor by the processor circuit during a LCD module blanking interval of a touch screen display of the device.

### Claim 3 (depends on 2)

The method of claim 2, wherein the training comprises:
marking, by the processor circuit, a plurality of sense lines as training pixels;
measuring, by the processor circuit, a training sense signal on each of the training pixels;
calculating, by the processor circuit, a plurality of compensation factors, wherein each of the plurality of compensation factors is a best compensation factor for one of the training pixels; and
computing, by the processor circuit, the trained best compensation factor from the plurality of compensation factors.

### Claim 4 (depends on 3)

The method of claim 3, wherein each of the plurality of compensation factors is calculated by the processor circuit such that a dot product of the compensation factor and the touch image information for the training pixel equals the measured training sense signal on the training pixel.

### Claim 5 (depends on 4)

The method of claim 4, wherein the processor circuit uses a least squares fit to calculate each of the plurality of compensation factors.

### Claim 6 (depends on 4)

The method of claim 4, wherein the processor circuit uses a linear fit to calculate each of the plurality of compensation factors.

### Claim 7 (depends on 3)

The method of claim 3, wherein the processor circuit marks a sense line as a training pixel when a negative phase of the active stylus signal is present on the sense line and a touch contact is present on the sense line.

### Claim 8 (depends on 1)

The method of claim 1, wherein the trained best compensation factor comprises a magnitude portion and a phase portion.

### Claim 9 (depends on 1)

The method of claim 1, wherein the corrected sense signal is equal to a difference between the measured sense signal for each of the one or more corrupted sense lines and a dot product of the trained best compensation factor and the touch image information for each of the one or more corrupted sense lines.

### Claim 10 (depends on 1)

The method of claim 1, wherein the active stylus generates a plurality of stylus drive signals.

### Claim 11 (depends on 10)

The method of claim 10, wherein the plurality of stylus drive signals comprise a ring drive signal and a tip drive signal.

### Claim 12

A system for mitigating cross-coupling comprising:
an active stylus;
a touch screen display comprising a touch sensor with a plurality of sense lines;
a memory storing program instructions; and
a processor circuit coupled to the memory and configured to execute the program instructions causing the processor circuit to:
determine one or more corrupted sense lines based on touch image information determined by the touch sensor;
measure a sense signal on each of the plurality of sense lines;
apply a trained best compensation factor to the measured sense signal on each of the one or more corrupted sense lines to produce a corrected sense signal for each of the one or more corrupted sense lines;
determine a stylus location based on the corrected sense signals, the stylus location being different from a detected stylus location detected by the touch sensor; and
generate a stylus input made at the stylus location.

### Claim 13 (depends on 12)

The system of claim 12, wherein the program instructions further cause the processor circuit to train the trained best compensation factor during a LCD module blanking interval of the touch screen display.

### Claim 14 (depends on 13)

The system of claim 13, wherein the program instructions further cause the processor circuit to:
mark a plurality of sensed lines as training pixels;
measure a training sense signal on each of the training pixels;
calculate a plurality of compensation factors, wherein each compensation factor is a best compensation factor for one of the training pixels; and
compute the trained best compensation factor from the plurality of compensation factors.

### Claim 15 (depends on 14)

The system of claim 14, wherein the program instructions further cause the processor circuit to calculate each of the plurality of compensation factors such that a dot product of the compensation factor and the touch image information for the training pixel equals the measured training sense signal on the training pixel.

### Claim 16 (depends on 15)

The system of claim 15, wherein the program instructions further cause the processor circuit to use a least square fit to calculate each of the plurality of compensation factors.

### Claim 17 (depends on 15)

The system of claim 15, wherein the program instructions further cause the processor circuit to use a linear fit to calculate each of the plurality of compensation factors.

### Claim 18 (depends on 14)

The system of claim 14, wherein the program instructions further cause the processor circuit to mark a sense line as a training pixel when a negative phase of the active stylus signal is present on the sense line and a touch contact is present on the sense line.

### Claim 19 (depends on 12)

The system of claim 12, wherein the trained best compensation factor comprises a magnitude portion and a phase portion.

### Claim 20 (depends on 12)

The system of claim 12, wherein the corrected sense signal is equal to a difference between the measured sense signal for each of the one or more corrupted sense lines and a dot product of the trained best compensation factor and the touch image information for each of the one or more corrupted sense lines.

### Claim 21 (depends on 12)

The system of claim 12, wherein the active stylus generates a plurality of stylus drive signals.

### Claim 22 (depends on 21)

The system of claim 21, wherein the plurality of stylus drive signals comprise a ring drive signal and a tip drive signal.

### Claim 23 (depends on 12)

A touch-screen device comprising the system of claim 12.
