# US 2024/0003989 A1 · Electronic device comprising magnetic sensor, 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 2024/0003989 A1
- Document ID: US20240003989A1
- Status: Published application
- Kind: A1
- Application number: 18/449,414
- Filed: 2023-08-14
- Published: 2024-01-04
- Earliest claimed: 2021-02-16
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Taekeun KIM; Kihun EOM; Intae JUN; Kihoon KANG; Kihong MIN; Gunhee PARK; Jeonggyun PARK
- Web page: https://patentgrep.com/patent/US20240003989A1

## CPC

- G01R 33/0023: {Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration (G01R33/0017 takes precedence)}
- H04M 1/72412: using two-way short-range wireless interfaces
- G01R 33/0047: {Housings or packaging of magnetic sensors (packaging of semiconductor devices H10W99/00); Holders}
- G01R 33/02: Measuring direction or magnitude of magnetic fields or magnetic flux (G01R33/20 takes precedence)
- G06F 1/1616: {with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position}
- G06F 1/1626: {with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]}
- G06F 1/1632: {External expansion units, e.g. docking stations}
- G06F 1/1641: {the display being formed by a plurality of foldable display components (G06F1/1647 takes precedence)}
- G06F 1/165: {the additional display being small, e.g. for presenting status information}
- G06F 1/1677: {for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment}
- G06F 1/1686: {the I/O peripheral being an integrated camera}
- G06F 1/1694: {the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer}
- G06F 1/1698: {the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone (details of antennas disposed inside a computer H01Q1/2266)}
- H04M 1/72454: according to context-related or environment-related conditions
- G06F 2200/1633: Protecting arrangement for the entire housing of the computer
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device may include: a magnetic sensor configured to identify the intensity of a magnetic field; a wireless communication circuit; a processor; and memory electrically connected to the magnetic sensor, the wireless communication circuit, and the processor, and storing instructions. The processor may be configured so that the electronic device: uses the magnetic sensor to identify a plurality of intensities of the magnetic field during a first period; identifies, on the basis of the plurality of intensities, whether a reference intensity has been updated; identifies a first state of the electronic device when the reference intensity has been updated, the first state being identified on the basis of a comparison result between the latest intensity among the plurality of intensities and the updated reference intensity; and performs a function according to the identified first state. Various other embodiments identified through the specification are possible.

## Claims

### Claim 1

An electronic device comprising:
a magnetic sensor configured to identify an intensity of a magnetic field;
a wireless communication circuit;
a processor; and
a memory electrically connected to the magnetic sensor, the wireless communication circuit, and the processor, and configured to store instructions,
wherein the processor is configured to cause the electronic device to:
identify a plurality of intensities of the magnetic field during a first period at least by using the magnetic sensor;
determine whether to update a reference intensity, based on the plurality of intensities;
based on the reference intensity being updated, identify a first state of the electronic device based on a comparison result between a latest intensity among the plurality of intensities and the updated reference intensity; and
perform a function based on the identified first state.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to cause the electronic device to:
emit a short-range wireless signal through the wireless communication circuit based on a change of the first state of the electronic device; and
identify a second state of the electronic device based on a response signal of an accessory device to the short-range wireless signal,
wherein the first state indicates an attached state or detached state of the accessory device, which is identified based on the plurality of intensities, with respect to the electronic device, and
wherein the second state indicates the attached state or the detached state of the accessory device, which is identified based on the response signal, with respect to the electronic device.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein the short-range wireless signal includes a near field communication (NFC) signal.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to cause the electronic device to:
when each of the first state and the second state indicates the attached state, perform a function according to the attached state.

### Claim 5 (depends on 4)

The electronic device of claim 4, further comprising:
a display,
wherein the processor is configured to cause the electronic device to:
when performing the function according to the attached state,
display a user interface (UI) related to the function according to the attached state on the display; and
control a light emitting diode (LED) region included in the accessory device based on a user input to the UI.

### Claim 6 (depends on 2)

The electronic device of claim 2, wherein the processor is configured to cause the electronic device, when the first state indicates the detached state, and the second state indicates the attached state, to:
emit the short-range wireless signal through the wireless communication circuit at a first cycle during a first time; and
identify the second state again based on a response signal to the wireless signal emitted at the first cycle during the first time.

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein the processor is configured to cause the electronic device, when the first state indicates the detached state, and the second state thus identified again indicates the attached state, to:
emit the short-range wireless signal through the wireless communication circuit at a second cycle during a second time; and
identify the second state again based on a response signal to the short-range wireless signal emitted at the second cycle during the second time,
wherein the second time is longer than the first time, and
wherein the second cycle is longer than the first cycle.

### Claim 8 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to cause the electronic device to:
identify a pole value among the plurality of intensities based on the plurality of intensities identified during the first period satisfying a specified condition; and
determine whether to update the reference intensity, at least by comparing the pole value and the reference intensity.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein the processor is configured to cause the electronic device to:
when a value identified from the plurality of intensities is within a reference range, identify that the plurality of intensities satisfy the specified condition.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the identified value includes a variance value of the plurality of intensities.

### Claim 11 (depends on 8)

The electronic device of claim 8, wherein the processor is configured to cause the electronic device to:
identify a lowest value or a highest value among the plurality of intensities as the pole value based on the first state and polarity of the magnetic field.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the processor is configured to cause the electronic device, when determining whether to update the reference intensity, to:
when the pole value is lower than the reference intensity when the pole value is identified as the lowest value among the plurality of intensities, update the pole value to a new reference intensity; and
when the pole value is higher than the reference intensity when the pole value is identified as the highest value among the plurality of intensities, update the pole value to a new reference intensity.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the processor is configured to cause the electronic device, when determining whether to update the reference intensity, to:
when there is no reference intensity identified before a point in time when it is determined whether to update the reference intensity, update the pole value to a new reference intensity.

### Claim 14 (depends on 1)

The electronic device of claim 1, further comprising:
a first housing in which the magnetic sensor is positioned; and
a second housing in which a magnetic body is positioned,
wherein the first housing and the second housing are configured to face the same direction in an unfolded state of the electronic device, and to face each other in a folded state of the electronic device, and
wherein the first state indicates at least one state corresponding to at least one angle between the first housing and the second housing.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the magnetic body includes at least one of a speaker, a receiver, and a magnet.

### Claim 16

An operating method of an electronic device, the method comprising:
identifying a plurality of intensities of a magnetic field during a first period;
determining whether to update a reference intensity, based on the plurality of intensities;
based on the reference intensity being updated, identifying a first state of the electronic device based on a comparison result between a latest intensity among the plurality of intensities and the updated reference intensity; and
performing a function according to the identified first state.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
emitting a short-range wireless signal based on a change of the first state of the electronic device; and
identifying a second state of the electronic device based on a response signal of an accessory device to the short-range wireless signal,
wherein the first state indicates an attached state or detached state of the accessory device, which is identified based on the plurality of intensities, with respect to the electronic device, and
wherein the second state indicates the attached state or the detached state of the accessory device, which is identified based on the response signal, with respect to the electronic device.

### Claim 18 (depends on 17)

The method of claim 17, wherein the short-range wireless signal includes an NFC signal.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
when each of the first state and the second state indicates the attached state, performing a function according to the attached state.

### Claim 20 (depends on 19)

The method of claim 19, wherein the performing of the function according to the attached state includes:
displaying a UI related to the function according to the attached state; and
controlling a LED region included in the accessory device based on a user input to the UI.
