# US 12,001,619 B2 · Electronic device for performing correction for stylus, and operation method therefor

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

- Number: US 12,001,619 B2
- Document ID: US12001619B2
- Status: Granted
- Kind: B2
- Application number: 17/587,786
- Filed: 2022-01-28
- Published: 2022-05-12
- Granted: 2024-06-04
- Earliest claimed: 2019-07-30
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Inhyung Jung; Banghyun Kwon; Sangheon Kim; Hyunwoong Kwon; Jongwu Baek
- Web page: https://patentgrep.com/patent/US12001619B2

## CPC

- G06F 3/0383: {Signal control means within the pointing device}
- G06F 1/1626: {with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]}
- G06F 3/03545: {Pens or stylus}
- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F 2200/1632: Pen holder integrated in the computer
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device according to an embodiment may include a first sensor, a communication circuit, a processor operatively coupled to the first sensor and the communication circuit, and a memory operatively coupled to the processor. The memory may store instructions that, when executed by the processor, cause the processor to: determine whether calibration is required for a second sensor of a stylus pen, based on a specified condition; identify that the stylus pen is aligned to a specified position of the electronic device; in response to identifying that the stylus pen is aligned to the specified position of the electronic device and determining that the calibration is required, collect situation information by using the first sensor; and transmit a calibration command to the stylus pen through the communication circuit, based on the situation information.

## Claims

### Claim 1

An electronic device comprising:
a first sensor;
a communication circuit;
a processor; and
memory storing instructions that, when executed by the processor, cause the electronic device to:
receive, from a stylus pen, a first pen sensing data detected previously by a second sensor of the stylus pen, wherein the first pen sensing data include information related to an impact to the stylus pen;
identify whether a specified condition related to the impact to the stylus pen is satisfied, based on the first pen sensing data;
determine that a calibration is required for the second sensor of the stylus pen, based on the specified condition being satisfied;
identify whether the stylus pen is inserted into the electronic device;
in response to identifying that the stylus pen is inserted into the electronic device and determining that the calibration is required, obtain situation information by collecting both a second sensing data of the first sensor of the electronic device and a second pen sensing data of the second sensor of the stylus pen, according to the electronic device in which the stylus pen is inserted being moved;
compare the second sensing data to the second pen sensing data;
identify at least one directional axis which requires calibration among a plurality of directional axes identifiable by the second sensor of the stylus pen, based on a result of comparing the second sensing data to the second pen sensing data;
wherein the plurality of directional axes includes a first directional axis and a second directional axis,
identify a state of the electronic device, based on third sensing data detected through the first sensor of the electronic device, in response to determining the identified at least one directional axis indicates the first directional axis;
transmit, through the communication circuit, a calibration command for the identified the first directional axis to the stylus pen, in response to determining the identified state of the electronic device is a stationary state;
identify a state of the electronic device, based on fourth sensing data detected through the first sensor of the electronic device, in response to determining the identified at least one directional axis indicates the second directional axis; and
transmit, through the communication circuit, a calibration command for the identified second directional axis to the stylus pen, in response to determining the state of the electronic device is identified as a moving state.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the instructions, when executed by the processor, cause the electronic device to:
identify an altitude of the electronic device, based on first sensing data previously sensed by the first sensor of the electronic device; and
identify that the specified condition is satisfied, upon identifying that the identified altitude of the electronic device is higher than or equal to a set altitude.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the instructions, when executed by the processor, cause the electronic device to identify that the specified condition is satisfied when a current time elapses by a predetermined calibration time from a time at which a calibration command is transmitted most recently to the stylus pen.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the instructions, when executed by the processor, cause the electronic device to:
obtain the situation information by collecting information indicating whether a current time elapsed a predetermined input time from a time at which a user input is most recently input to the electronic device; and
transmit, through the communication circuit, a calibration command to the stylus pen, based the situation information indicating that the current time elapsed the predetermined input time from the time at which the user input is most recently input.

### Claim 5

A method of operating an electronic device, the method comprising:
receiving, from a stylus pen, a first pen sensing data detected previously by a second sensor of the stylus pen, wherein the first pen sensing data include information related to an impact to the stylus pen;
identifying whether a specified condition related to the impact to the stylus pen is satisfied, based on the first pen sensing data;
determining that a calibration is required for the second sensor of the stylus pen, based on the specified condition being satisfied;
identifying whether the stylus pen is inserted into the electronic device;
in response to identifying that the stylus pen is inserted into the electronic device and determining that the calibration is required, obtaining situation information by collecting both a second sensing data of a first sensor of the electronic device and a second pen sensing data of the second sensor of the stylus pen, according to the electronic device in which the stylus pen is inserted being moved;
comparing the second sensing data to the second pen sensing data;
identifying at least one directional axis which requires calibration among a plurality of directional axes identifiable by the second sensor of the stylus pen, based on a result of comparing the second sensing data to the second pen sensing data;
wherein the plurality of directional axes includes a first directional axis and a second directional axis,
identifying a state of the electronic device, based on third sensing data detected through the first sensor of the electronic device, in response to determining the identified at least one directional axis indicates the first directional axis;
transmitting a calibration command for the identified first directional axis to the stylus pen, in response to determining the identified state of the electronic device is a stationary state;
identifying a state of the electronic device, based on fourth sensing data detected through the first sensor of the electronic device, in response to determining the identified at least one directional axis indicates the second directional axis; and
transmitting a calibration command for the identified second directional axis to the stylus pen, in response to determining the state of the electronic device is identified as a moving state.

### Claim 6 (depends on 5)

The method of claim 5, wherein the determining of the calibration is required comprises:
identifying an altitude of the electronic device, based on first sensing data previously sensed by the first sensor of the electronic device; and
identifying that the specified condition is satisfied, upon identifying that the identified altitude of the electronic device is higher than or equal to a set altitude.

### Claim 7 (depends on 5)

The method of claim 5, further comprising identifying that the specified condition is satisfied when a current time elapses by a predetermined calibration time from a time at which a calibration command is transmitted most recently to the stylus pen.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
obtain the situation information by collecting information indicating whether a current time elapsed a predetermined input time from a time at which a user input is most recently input to the electronic device; and
transmitting, through a communication circuit, a calibration command to the stylus pen, based the situation information indicating that the current time elapsed the predetermined input time from the time at which the user input is most recently input.
