US 11,965,939 B2
Electronic device compensating for geomagnetic sensing data and method for controlling the same
Hyeonggeon Lee, Gyeonggi-do (KR); Taeyoon Kim, Gyeonggi-do (KR); Youngpo Lee, Gyeonggi-do (KR); Dukhyun Chang, Gyeonggi-do (KR); and Chaiman Lim, Gyeonggi-do (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Gyeonggi-do (KR)
Filed on Apr. 12, 2022, as Appl. No. 17/718,590.
Application 17/718,590 is a continuation of application No. PCT/KR2022/002593, filed on Feb. 22, 2022.
Claims priority of application No. 10-2021-0046942 (KR), filed on Apr. 12, 2021.
Prior Publication US 2022/0326317 A1, Oct. 13, 2022
Int. Cl. G01R 33/02 (2006.01); G01R 33/00 (2006.01)
CPC G01R 33/0206 (2013.01) [G01R 33/0082 (2013.01)] 17 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a memory,
a geomagnetic sensor, and
at least one processor configured to:
store, in the memory, a temperature of each of a plurality of heating areas included in the electronic device and a variation in a geomagnetic value sensed by the geomagnetic sensor, corresponding to the temperature,
perform linear fitting using the temperature and the variation in the geomagnetic value stored in the memory,
compute an error between the variation in the geomagnetic value and an estimated value for the variation in the geomagnetic value, based on a result of the linear fitting,
determine a scheme for compensating for the geomagnetic value based on the computed error, and
compensate for the geomagnetic value sensed by the geomagnetic sensor using the determined scheme when a variation in temperature is detected for at least one heating area in the plurality of heating areas,
wherein the at least one processor is further configured to, when an acceleration value sensed by the acceleration sensor is a predesignated value or less, sense the temperature and the variation in the geomagnetic value and store the temperature and the variation in the geomagnetic value in the memory.