US 12,001,619 B2
Electronic device for performing correction for stylus, and operation method therefor
Inhyung Jung, Suwon-si (KR); Banghyun Kwon, Suwon-si (KR); Sangheon Kim, Suwon-si (KR); Hyunwoong Kwon, Suwon-si (KR); and Jongwu Baek, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Jan. 28, 2022, as Appl. No. 17/587,786.
Application 17/587,786 is a continuation of application No. PCT/KR2020/010049, filed on Jul. 30, 2020.
Claims priority of application No. 10-2019-0092186 (KR), filed on Jul. 30, 2019.
Prior Publication US 2022/0147161 A1, May 12, 2022
Int. Cl. G06F 3/038 (2013.01); G06F 3/0354 (2013.01)
CPC G06F 3/0383 (2013.01) [G06F 3/03545 (2013.01)] 8 Claims
OG exemplary drawing
 
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.