# US 2015/0177905 A1 · Correcting writing data generated by an electronic writing device

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

- Number: US 2015/0177905 A1
- Document ID: US20150177905A1
- Status: Published application
- Kind: A1
- Application number: 14/135,981
- Filed: 2013-12-20
- Published: 2015-06-25
- Earliest claimed: 2013-12-20
- Assignees: Google Technology Holdings LLC
- Applicants: Google Technology Holdings LLC
- Inventors: Swee M. Mok; Mary K. Hor-Lao; Jason Jae Hyun Koh; Douglas A. Lautner
- Web page: https://patentgrep.com/patent/US20150177905A1

## CPC

- G06V 30/32: Digital ink
- G06F 3/03545: {Pens or stylus}
- G06F 3/0383: {Signal control means within the pointing device}
- G06V 30/387: {using human interaction, e.g. selection of the best displayed recognition candidate}
- B43K 29/001: {with compasses}
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 2203/04106: Multi-sensing digitiser, i.e. digitiser using at least two different sensing technologies simultaneously or alternatively, e.g. for detecting pen and finger, for saving power or for improving position detection
- G06V 30/1423: {the instrument generating sequences of position coordinates corresponding to handwriting (preprocessing or recognising digital ink G06V30/32)}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- B43K: IMPLEMENTS FOR WRITING OR DRAWING (containers, casings or accessories for cosmetic substances, e.g. shaving soap, lipstick, make-up A45D34/00, A45D40/00)

## Abstract

In embodiments of correcting writing data generated by an electronic writing device, an electronic writing device includes a positional sensor configured to sense movement of the electronic writing device when the device is used to write on a writing surface, and to generate writing data corresponding to the movement of the electronic writing device. The device also includes a correction component that is configured to correct each sample of writing data using rotation data generated by a gyroscope. To do so, the correction component calculates an offset angle of the electronic writing device relative to a reference axis of the positional sensor based at least in part on the rotation data generated by the gyroscope. The correction component then determines a correction angle based on the offset angle, and adjusts the sample of writing data by applying the correction angle to the sample of the writing data.

## Claims

### Claim 1

An electronic writing device comprising:
a writing tip to enable writing on a writing surface;
a positional sensor configured to sense movement of the electronic writing device when writing on the writing surface, and generate writing data corresponding to the movement of the electronic writing device;
a gyroscope configured to sense rotation of the electronic writing device and generate rotation data corresponding to the rotation; and
at least a memory and a processor to implement a correction component, the correction component configured to, for each sample of the writing data generated by the positional sensor:
calculate an offset angle of the electronic writing device relative to a reference axis of the positional sensor based at least in part on the rotation data generated by the gyroscope;
determine a correction angle based on the offset angle; and
adjust the sample of writing data by applying the correction angle to the sample of the writing data.

### Claim 2 (depends on 1)

The electronic writing device of claim 1, wherein the gyroscope comprises a three-axis gyroscope that is configured to sense rotation of the electronic writing device along a longitudinal axis of the electronic writing device, and along an x-axis and y-axis of the electronic writing device which are orthogonal to the longitudinal axis.

### Claim 3 (depends on 2)

The electronic writing device of claim 2, wherein the correction component is configured to determine a roll angle of the electronic writing device based on the rotation data generated by the gyroscope, the roll angle corresponding to the rotation of the electronic writing device along the longitudinal axis of the electronic writing device.

### Claim 4 (depends on 3)

The electronic writing device of claim 3, wherein the electronic writing device further includes a three-axis accelerometer configured to sense acceleration of the electronic writing device in x, y, and z directions, and generate acceleration data corresponding to the acceleration of the electronic writing device in the x, y, and z directions.

### Claim 5 (depends on 4)

The electronic writing device of claim 4, wherein the at least a memory and the processor are further configured to implement a selector component, and wherein the selector component is configured to determine a pitch angle of the electronic writing device using the accelerometer data, the pitch angle corresponding to an angle between the electronic writing device and the writing surface when the writing tip of the electronic writing device is placed on the writing surface.

### Claim 6 (depends on 5)

The electronic writing device of claim 5, wherein the electronic writing device includes at least two positional sensors, and wherein the selector component is further configured to enable one of the at least two positional sensors to sense the movement of the electronic writing device based on the roll angle and the pitch angle of the electronic writing device, the enabled sensor having a greatest field of view of the writing surface.

### Claim 7 (depends on 6)

The electronic writing device of claim 6, wherein the selector component is configured to enable one of the least two positional sensors by:
monitoring the pitch angle of the electronic writing device;
comparing the pitch angle to a threshold; and
if the pitch angle is less than the threshold corresponding to the electronic writing device being positioned substantially horizontal to the writing surface, dynamically enabling one of the at least two positional sensors based on the roll angle of the electronic writing device, the dynamically enabled positional sensor having a greatest field of view of the writing surface at the roll angle of the electronic writing device.

### Claim 8 (depends on 5)

The electronic writing device of claim 5, wherein the electronic writing device further includes at least two lenses configured to direct light to the positional sensor, and wherein the selector component is further configured to open one of the at least two lenses to enable light to pass to the positional sensor based on the roll angle and the pitch angle of the electronic writing device, the opened lens having a greatest field of view of the writing surface.

### Claim 9 (depends on 8)

The electronic writing device of claim 8, wherein the selector component is configured to open one of the least two lenses by:
monitoring the pitch angle of the electronic writing device;
comparing the pitch angle to a threshold; and
if the pitch angle is less than the threshold corresponding to the electronic writing device being positioned substantially horizontal to the writing surface, dynamically opening one of the at least two lenses based on the roll angle of the electronic writing device, the dynamically opened lens having a greatest field of view of the writing surface at the roll angle of the electronic writing device.

### Claim 10 (depends on 4)

The electronic writing device of claim 4, wherein the at least a memory and a processor are further configured to implement a power-saving component, the power-saving component configured to:
determine a power-saving state of the electronic writing device based at least in part on the acceleration data generated by the accelerometer; and
enable or disable one or both of the positional sensor and the gyroscope based on the determined power-saving state of the electronic writing device.

### Claim 11 (depends on 1)

The electronic writing device of claim 1, wherein the correction component is configured to calculate the offset angle by integrating the rotation data.

### Claim 12 (depends on 1)

The electronic writing device of claim 1, wherein the correction component is configured to generate the correction angle by calculating a sum of the offset angle and a previously-calculated offset angle.

### Claim 13 (depends on 1)

The electronic writing device of claim 1, wherein the positional sensor comprises an optical sensor.

### Claim 14 (depends on 1)

The electronic writing device of claim 1, wherein the electronic writing device comprises an electronic pen.

### Claim 15

A computer-implemented method comprising:
receiving a sample of writing data from a positional sensor of an electronic writing device;
receiving rotation data from a gyroscope, the rotation data corresponding to rotation of the electronic writing device;
calculating an offset angle of the electronic writing device relative to a reference axis of the positional sensor based at least in part on the rotation data;
determining a correction angle based on the offset angle; and
adjusting the sample of writing data by applying the correction angle to the sample of writing data.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein the calculating the offset angle further comprises integrating the rotation data of the electronic writing device.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, further comprising setting an initial offset angle to an initial value prior to receiving the sample of writing data, and wherein the determining the correction angle further comprises calculating a sum of the calculated offset angle and the initial offset angle.

### Claim 18

A computer-implemented method comprising:
receiving, from a positional sensor, writing data corresponding to writing by an electronic writing device on a writing surface;
determining a roll angle of the electronic writing device based at least in part on rotation data generated by a gyroscope, the roll angle corresponding to rotation of the electronic writing device along a longitudinal axis of the electronic writing device;
determining a pitch angle of the electronic writing device based at least in part on acceleration data generated by an accelerometer, the pitch angle corresponding to an angle between the electronic writing device and the writing surface when a writing tip of the electronic writing device is in contact with the writing surface;
comparing the pitch angle of the electronic writing device to a threshold; and
if the pitch angle is less than the threshold corresponding to the electronic writing device being positioned substantially horizontal to the writing surface, initiating a sensor select mode.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, wherein the electronic writing device includes at least two positional sensors, and wherein the sensor select mode is configured to enable one of the at least two positional sensors to sense the movement of the electronic writing device based on the roll angle and the pitch angle of the electronic writing device, the enabled sensor having a greatest field of view of the writing surface.

### Claim 20 (depends on 18)

The computer-implemented method of claim 18, wherein the electronic writing device further includes at least two lenses configured to direct light to the positional sensor, and wherein the sensor select mode is configured to open one of the at least two lenses to enable light to pass to the positional sensor based on the roll angle and the pitch angle of the electronic writing device, the opened lens having a greatest field of view of the writing surface.
