KR20230001479A - Electronic device and operation method of electronic device for calibrating geomagnetic sensor - Google Patents

Electronic device and operation method of electronic device for calibrating geomagnetic sensor Download PDF

Info

Publication number
KR20230001479A
KR20230001479A KR1020210092106A KR20210092106A KR20230001479A KR 20230001479 A KR20230001479 A KR 20230001479A KR 1020210092106 A KR1020210092106 A KR 1020210092106A KR 20210092106 A KR20210092106 A KR 20210092106A KR 20230001479 A KR20230001479 A KR 20230001479A
Authority
KR
South Korea
Prior art keywords
geomagnetic sensor
electronic device
magnetic force
value
sensor
Prior art date
Application number
KR1020210092106A
Other languages
Korean (ko)
Inventor
문신헌
강성남
홍종철
이준희
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20230001479A publication Critical patent/KR20230001479A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C19/00Gyroscopes; Turn-sensitive devices using vibrating masses; Turn-sensitive devices without moving masses; Measuring angular rate using gyroscopic effects
    • G01C19/02Rotary gyroscopes
    • G01C19/34Rotary gyroscopes for indicating a direction in the horizontal plane, e.g. directional gyroscopes
    • G01C19/38Rotary gyroscopes for indicating a direction in the horizontal plane, e.g. directional gyroscopes with north-seeking action by other than magnetic means, e.g. gyrocompasses using earth's rotation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C19/00Gyroscopes; Turn-sensitive devices using vibrating masses; Turn-sensitive devices without moving masses; Measuring angular rate using gyroscopic effects
    • G01C19/02Rotary gyroscopes
    • G01C19/04Details
    • G01C19/30Erection devices, i.e. devices for restoring rotor axis to a desired position
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/142Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices

Abstract

The present invention provides an electronic device capable of correcting distortion of magnetic field by magnet rotation of a bezel to calibrate data of a geomagnetic sensor and display accurate azimuth angles to a user. According to various embodiments of the present invention, the electronic device comprises: a housing; one or more magnets arranged on a wheel rotation part of the housing to be separated at regular intervals; one or more Hall sensors arranged on the lower surface of the wheel rotation part of the housing at regular intervals to measure magnetic force changes of the magnets and position changes of the wheel rotation part; a geomagnetic sensor arranged on the lower surface of the housing to measure earth magnetic field; a memory storing a table in which magnetic force change values of the geomagnetic sensor in accordance with the rotating angle of the wheel rotation part and/or average values of the magnetic force change values of the geomagnetic sensor are written; and a processor operatively connected to the Hall sensors, the geomagnetic sensor, and the memory. The processor can control to sense the rotating status and rotating angle of the wheel rotation part by using the Hall sensors, check the average value of a magnetic force change value corresponding to the rotating angle of the wheel rotation part in the table, and calibrate measurement data values of the geomagnetic sensor based on the checked average value of the magnetic force change value.

Description

지자기 센서를 보정하기 위한 전자 장치 및 전자 장치의 동작 방법{ELECTRONIC DEVICE AND OPERATION METHOD OF ELECTRONIC DEVICE FOR CALIBRATING GEOMAGNETIC SENSOR}Electronic device and method of operating the electronic device for calibrating a geomagnetic sensor

본 문서에 개시된 다양한 실시예들은, 지자기 센서를 보정하기 위한 전자 장치 및 전자 장치의 동작 방법에 관한 것으로, 구체적으로 베젤의 회전으로 발생할 수 있는 외부 간섭에 의한 지자기의 왜곡을 보정할 수 있는 전자 장치 및 전자 장치의 동작 방법에 관한 것이다.Various embodiments disclosed in this document relate to an electronic device and a method of operating the electronic device for calibrating a geomagnetic sensor, and specifically, an electronic device capable of correcting distortion of geomagnetism due to external interference that may occur due to rotation of a bezel. and a method of operating an electronic device.

최근 모바일 장치에 내장된 센서를 활용하여 다양한 기술이 개발되고 있다. 그 예로 실내 위치 추적 시 모바일 장치를 활용하여 위치와 보폭 및 방위각 등을 추정하는 기술이 개발되고 있다. 모바일 장치에 내장된 센서의 일 예로, 방위각 측정을 위하여 지구 자기장을 측정할 수 있는 지자기 센서가 있다. Recently, various technologies are being developed using sensors embedded in mobile devices. For example, a technology for estimating location, step length, azimuth, etc. using a mobile device is being developed for indoor location tracking. As an example of a sensor embedded in a mobile device, there is a geomagnetic sensor capable of measuring the earth's magnetic field in order to measure an azimuth.

지자기 센서는, 플럭스게이트(flux-gate) 등을 이용하여 지자기에 의해 유도되는 전압값을 측정하는 방식으로 지자기를 검출하는 센서이다. 지자기 센서는 2축 또는 3축으로 구현될 수 있다. 이 경우, 각 축 지자기 센서에서 산출되는 지자기 출력값은 주변 자기장 크기에 따라 달라지므로, 지자기 출력값을 기 설정된 범위 내로 매핑시키는 정규화를 수행하는 것이 일반적이다.A geomagnetic sensor is a sensor that detects geomagnetism by measuring a voltage value induced by geomagnetism using a flux-gate or the like. The geomagnetic sensor may be implemented as a 2-axis or 3-axis. In this case, since the geomagnetic output value calculated from each axis geomagnetic sensor varies according to the size of the surrounding magnetic field, it is common to perform normalization to map the geomagnetic output value within a preset range.

지자기 센서는 외부 간섭에 매우 취약한 특징이 있다. 지자기 센서는 주변의 구조물 및 지자기 분포 상황에 따라 왜곡의 영향을 받게 되는데, 주요 원인으로 주변 쇠 구조물의 영향과 지자기 센서의 기울어짐에 대한 영향이 있다. 지자기 센서의 기울어짐 또는 회전은 지자기 센서가 받는 자기장의 세기에 영향을 주므로 센서로부터 측정되는 값들의 변화가 생길 수 있다.A geomagnetic sensor has characteristics that are very vulnerable to external interference. The geomagnetic sensor is affected by distortion depending on the surrounding structures and geomagnetism distribution conditions. The main causes include the influence of surrounding metal structures and the inclination of the geomagnetic sensor. Since the tilt or rotation of the geomagnetic sensor affects the strength of the magnetic field received by the geomagnetic sensor, values measured by the sensor may change.

정상적인 상태의 지자기 센서에서는 전자 장치의 Z축을 지표면과 수직인 상태로 두고, X-Y 평면을 따라 베젤이 Z축 회전을 하게 되면, 지자기 센서가 측정하는 데이터는 X-Y 평면의 (0,0) 을 중심으로 하는 원 형태로 나타난다. 하지만, 베젤의 회전에 따른 왜곡이 있는 지자기 센서에서는, 베젤이 Z축 회전을 하게 되면, 정원의 형태가 아닌 타원 또는 일그러진 원의 형태로 표시될 수 있다.In the normal state of the geomagnetic sensor, when the Z-axis of the electronic device is placed perpendicular to the earth's surface and the bezel rotates along the X-Y plane along the Z-axis, the data measured by the geomagnetic sensor is centered on (0,0) of the X-Y plane. appears in the form of a circle. However, in a geomagnetic sensor having distortion due to the rotation of the bezel, when the bezel rotates in the Z axis, it may be displayed in the form of an ellipse or a distorted circle instead of a circle.

따라서, 지자기 센서는 이러한 왜곡을 제거하지 않는 경우 실제 자기장과 상이한 자기장을 측정할 수 있다. 이 경우 전자 장치는 정확한 방위각 정보를 제공하기 어려울 수 있다.Therefore, the geomagnetic sensor may measure a magnetic field different from the actual magnetic field if this distortion is not removed. In this case, it may be difficult for the electronic device to provide accurate azimuth information.

다양한 실시예들에 따른 전자 장치는 하우징, 하우징의 휠 회전부에 일정한 간격으로 이격되게 배치되는 적어도 하나 이상의 자석, 하우징의 휠 회전부의 하부 면에 일정한 간격으로 배치되어 자석의 자력 변화 및 휠 회전부의 위치 변화를 측정하는 적어도 하나 이상의 홀 센서(hall sensor), 하우징의 하부면에 배치되어 지구 자기장을 측정하는 지자기 센서(magnetic sensor), 휠 회전부의 회전 각도에 따른 지자기 센서의 자력 변화값 및/또는 지자기 센서의 자력 변화값의 평균값을 기재한 테이블을 저장하는 메모리, 홀 센서, 지자기 센서 및 메모리와 작동적으로 연결된 프로세서를 포함할 수 있다. 프로세서는 홀 센서를 이용하여 휠 회전부의 회전 여부 및 회전 각도를 감지하고, 휠 회전부의 회전 각도에 대응하는 자력 변화값의 평균값을 테이블에서 확인하고, 확인된 자력 변화값의 평균값을 기반으로 지자기 센서의 측정 데이터 값을 보정하도록 제어할 수 있다.An electronic device according to various embodiments includes a housing, at least one magnet disposed at regular intervals on a wheel rotating portion of the housing, and a magnetic force change of the magnets and a position of the wheel rotating portion disposed on a lower surface of the wheel rotating portion of the housing at regular intervals. At least one hall sensor for measuring change, a magnetic sensor disposed on the lower surface of the housing to measure the Earth's magnetic field, a magnetic force change value of the geomagnetic sensor according to the rotation angle of the wheel rotating part, and/or geomagnetism It may include a memory, a hall sensor, a geomagnetic sensor, and a processor operatively connected to the memory for storing a table in which average values of magnetic force change values of the sensor are described. The processor detects whether or not the rotational angle of the wheel rotating part is rotated using a Hall sensor, checks the average value of magnetic force change values corresponding to the rotational angle of the wheel rotating part in the table, and based on the average value of the checked magnetic force change value, the geomagnetic sensor It can be controlled to correct the measured data value of

다양한 실시예들에 따른 전자 장치의 지자기 센서 보정 방법은 홀 센서를 이용하여 휠 회전부의 회전 여부 및 회전 각도를 감지하는 동작, 휠 회전부의 회전 각도에 대응하는 지자기 센서의 자력 변화값의 평균값을 확인하는 동작 및 확인된 자력 변화값의 평균값을 기반으로 전자 장치의 회전 시 발생하는 지자기 센서 데이터의 왜곡에 대해 보정하는 동작을 포함할 수 있다.A method for calibrating a geomagnetic sensor of an electronic device according to various embodiments includes an operation of detecting rotation of a wheel rotation unit and a rotation angle using a Hall sensor, and checking an average value of magnetic force change values of the geomagnetic sensor corresponding to the rotation angle of the wheel rotation unit. and an operation of correcting distortion of geomagnetic sensor data generated when the electronic device rotates based on an average value of the checked magnetic force change values.

다양한 실시예에 따르면, 베젤의 자석 회전으로 인한 자장의 왜곡을 보정하여 지자기 센서의 데이터를 보정하고 정확한 방위각을 사용자에게 표시할 수 있다.According to various embodiments, data of a geomagnetic sensor may be corrected by correcting distortion of a magnetic field due to rotation of a magnet of a bezel, and an accurate azimuth may be displayed to a user.

도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a는 다양한 실시예들에 따른 전자 장치의 전면 사시도이고, 도 2b는 다양한 실시예들에 따른 전자 장치의 후면 사시도를 도시한 도면이다.
도 3은 일 실시예에 따른 도 2a의 전자 장치(200)의 본체(210)에 관한 전개 사시도이다.
도 4는 다양한 실시예들에 따른 전자 장치의 구성을 블록도로 나타낸 것이다.
도 5는 다양한 실시예들에 따른 전자 장치의 단면을 나타낸 것이다.
도 6은 다양한 실시예들에 따른 지자기 센서의 센서 데이터를 나타낸 것이다.
도 7은 다양한 실시예들에 따른 전자 장치의 구조를 나타낸 것이다.
도 8a는 다양한 실시예들에 따른 지자기 센서 데이터 및 그의 보정 과정을 나타낸 것이다.
도 8b는 다양한 실시예들에 따른 자석의 자력 분포를 나타낸 것이다.
도 9는 다양한 실시예들에 따른 전자 장치의 자력 측정 초기화 과정을 나타낸 것이다.
도 10a 및 도 10b는 다양한 실시예에 따른 지자기 센서의 측정 데이터 값 및 지자기 센서 데이터 변화량의 평균값을 구하기 위한 자료를 나타낸 것이다.
도 11은 다양한 실시예들에 따른 전자 장치의 지자기 센서 보정 방법의 흐름도를 나타낸 것이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2A is a front perspective view of an electronic device according to various embodiments, and FIG. 2B is a rear perspective view of an electronic device according to various embodiments.
FIG. 3 is an exploded perspective view of the main body 210 of the electronic device 200 of FIG. 2A according to an embodiment.
4 is a block diagram illustrating a configuration of an electronic device according to various embodiments.
5 illustrates a cross-section of an electronic device according to various embodiments.
6 illustrates sensor data of a geomagnetic sensor according to various embodiments.
7 illustrates a structure of an electronic device according to various embodiments.
8A illustrates geomagnetic sensor data and a calibration process thereof according to various embodiments.
8B illustrates a magnetic force distribution of a magnet according to various embodiments.
9 illustrates a magnetism measurement initialization process of an electronic device according to various embodiments.
10A and 10B show data for obtaining an average value of a measured data value of a geomagnetic sensor and a variation amount of geomagnetic sensor data according to various embodiments.
11 is a flowchart of a method for calibrating a geomagnetic sensor of an electronic device according to various embodiments.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

도 2a는 다양한 실시예들에 따른 전자 장치의 전면 사시도이고, 도 2b는 다양한 실시예들에 따른 전자 장치의 후면 사시도를 도시한 도면이다.2A is a front perspective view of an electronic device according to various embodiments, and FIG. 2B is a rear perspective view of an electronic device according to various embodiments.

도 2a 및 2b를 참조하면, 다양한 실시예들에 따른 전자 장치(200)(예: 도 1의 전자 장치(101))는 제1 면(또는 전면)(210A), 제2 면(또는 후면)(210B), 및 제1 면(210A) 및 제2 면(210B) 사이의 공간을 둘러싸는 측면(210C)을 포함하는 하우징(210)과, 하우징(210)의 적어도 일부에 연결되고 전자 장치(200)를 사용자의 신체(예: 손목, 발목 등)에 탈착 가능하게 하는 결착 부재(250, 260)를 포함할 수 있다. 다른 실시예(미도시)에서는, 하우징은, 도 2의 제1 면(210A), 제2 면(210B) 및 측면(210C)들 중 일부를 형성하는 구조를 지칭할 수도 있다. Referring to FIGS. 2A and 2B , an electronic device 200 (eg, the electronic device 101 of FIG. 1 ) according to various embodiments has a first side (or front side) 210A and a second side (or back side). 210B, and a housing 210 including a side surface 210C surrounding a space between the first surface 210A and the second surface 210B, and an electronic device connected to at least a part of the housing 210 ( 200) may include coupling members 250 and 260 that enable detachability of the user's body (eg, a wrist, an ankle, etc.). In another embodiment (not shown), the housing may refer to a structure forming some of the first face 210A, the second face 210B, and the side face 210C of FIG. 2 .

일 실시예에 따르면, 제1 면(210A)은 적어도 일부분이 실질적으로 투명한 전면 플레이트(201)(예: 다양한 코팅 레이어들을 포함하는 글라스 플레이트, 또는 폴리머 플레이트)에 의하여 형성될 수 있다. 제2 면(210B)은 실질적으로 불투명한 후면 플레이트(207)에 의하여 형성될 수 있다. 후면 플레이트(207)는, 예를 들어, 코팅 또는 착색된 유리, 세라믹, 폴리머, 금속(예: 알루미늄, 스테인레스 스틸(STS), 또는 마그네슘), 또는 상기 물질들 중 적어도 둘의 조합에 의하여 형성될 수 있다. 측면(210C)은, 전면 플레이트(201) 및 후면 플레이트(207)와 결합하며, 금속 및/또는 폴리머를 포함하는 측면 베젤 구조 (또는 "측면 부재")(206)에 의하여 형성될 수 있다. 어떤 실시예에서는, 후면 플레이트(207) 및 측면 베젤 구조(206)는 일체로 형성될 수 있고, 동일한 물질(예: 알루미늄과 같은 금속 물질)을 포함할 수 있다. 결착 부재(250, 260)는 다양한 재질 및 형태로 형성될 수 있다. 직조물, 가죽, 러버, 우레탄, 금속, 세라믹, 또는 상기 물질들 중 적어도 둘의 조합에 의하여 일체형 및 복수의 단위 링크가 서로 유동 가능하도록 형성될 수 있다.According to one embodiment, the first surface 210A may be formed by a front plate 201 (eg, a glass plate or a polymer plate including various coating layers) that is substantially transparent at least in part. The second face 210B may be formed by the substantially opaque back plate 207 . Back plate 207 may be formed, for example, of coated or tinted glass, ceramic, polymer, metal (eg, aluminum, stainless steel (STS), or magnesium), or a combination of at least two of the foregoing. can The side surface 210C is coupled to the front plate 201 and the back plate 207 and may be formed by a side bezel structure (or "side member") 206 including metal and/or polymer. In some embodiments, the back plate 207 and the side bezel structure 206 may be integrally formed and may include the same material (eg, a metal material such as aluminum). The binding members 250 and 260 may be formed of various materials and shapes. Integral and plurality of unit links may be formed to flow with each other by woven material, leather, rubber, urethane, metal, ceramic, or a combination of at least two of the above materials.

다양한 실시예들에 따르면, 전자 장치(200)는 디스플레이(220)(예: 도 1의 디스플레이 모듈(160)), 오디오 모듈(205, 208)(예: 도 1의 오디오 모듈(170)), 센서 모듈(211)(예: 도 1의 센서 모듈(176)), 키 입력 장치(202, 203, 204)(예: 도 1의 입력 모듈(150)) 및 커넥터 홀(209) 중 적어도 하나를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(200)는, 구성요소들 중 적어도 하나(예: 키 입력 장치(202, 203, 204), 커넥터 홀(209), 또는 센서 모듈(211))를 생략하거나 다른 구성요소를 추가적으로 포함할 수 있다.According to various embodiments, the electronic device 200 includes a display 220 (eg, the display module 160 of FIG. 1 ), audio modules 205 and 208 (eg, the audio module 170 of FIG. 1 ), At least one of the sensor module 211 (eg, the sensor module 176 of FIG. 1), the key input devices 202, 203, and 204 (eg, the input module 150 of FIG. 1) and the connector hole 209. can include In some embodiments, the electronic device 200 omits at least one of the components (eg, the key input devices 202, 203, 204, the connector hole 209, or the sensor module 211) or has other components. Additional elements may be included.

디스플레이(220)는, 예를 들어, 전면 플레이트(201)의 상당 부분을 통하여 노출될 수 있다. 디스플레이(220)의 형태는, 전면 플레이트(201)의 형태에 대응하는 형태일 수 있으며, 원형, 타원형, 또는 다각형 등 다양한 형태일 수 있다. 디스플레이(220)는, 터치 감지 회로, 터치의 세기(압력)를 측정할 수 있는 압력 센서, 및/또는 지문 센서와 결합되거나 인접하여 배치될 수 있다.The display 220 may be exposed through a substantial portion of the front plate 201 , for example. The shape of the display 220 may be a shape corresponding to the shape of the front plate 201, and may have various shapes such as a circle, an ellipse, or a polygon. The display 220 may be coupled to or disposed adjacent to a touch sensing circuit, a pressure sensor capable of measuring the strength (pressure) of a touch, and/or a fingerprint sensor.

오디오 모듈(205, 208)은, 마이크 홀(205) 및 스피커 홀(208)을 포함할 수 있다. 마이크 홀(205)은 외부의 소리를 획득하기 위한 마이크가 내부에 배치될 수 있고, 어떤 실시예에서는 소리의 방향을 감지할 수 있도록 복수개의 마이크가 배치될 수 있다. 스피커 홀(208)은, 외부 스피커 및 통화용 리시버로 사용할 수 있다. The audio modules 205 and 208 may include a microphone hole 205 and a speaker hole 208 . A microphone for acquiring external sound may be disposed inside the microphone hole 205, and in some embodiments, a plurality of microphones may be disposed to detect the direction of sound. The speaker hole 208 can be used as an external speaker and a receiver for a call.

센서 모듈(211)은, 전자 장치(200)의 내부의 작동 상태, 또는 외부의 환경 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 센서 모듈(211)은, 예를 들어, 하우징(210)의 제2 면(210B)에 배치된 생체 센서 모듈(211)(예: HRM(Heart Rate Monitoring) 센서)을 포함할 수 있다. 전자 장치(200)는, 도시되지 않은 센서 모듈, 예를 들어, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서 중 적어도 하나를 더 포함할 수 있다.The sensor module 211 may generate an electrical signal or data value corresponding to an internal operating state of the electronic device 200 or an external environmental state. The sensor module 211 may include, for example, a biometric sensor module 211 (eg, a heart rate monitoring (HRM) sensor) disposed on the second surface 210B of the housing 210 . The electronic device 200 includes a sensor module (not shown), for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an IR (infrared) sensor, a bio sensor, a temperature sensor, At least one of a humidity sensor and an illuminance sensor may be further included.

키 입력 장치(202, 203, 204)는, 하우징(210)의 제1 면(210A)에 배치되고 적어도 하나의 방향으로 회전 가능한 휠 키(202), 및/또는 하우징(210)의 측면(210C)에 배치된 사이드 키 버튼(202, 203)을 포함할 수 있다. 휠 키는 전면 플레이트(202)의 형태에 대응하는 형태일 수 있다. 다른 실시예에서는, 전자 장치(200)는 키 입력 장치(202, 203, 204)들 중 일부 또는 전부를 포함하지 않을 수 있고 포함 되지 않은 키 입력 장치(202, 203, 204)는 디스플레이(220) 상에 소프트 키 등 다른 형태로 구현될 수 있다. 커넥터 홀(209)은, 외부 전자 장치와 전력 및/또는 데이터를 송수신하기 위한 커넥터(예를 들어, USB 커넥터)를 수용할 수 있고 외부 전자 장치와 오디오 신호를 송수신하기 위한 커넥터를 수용할 수 있는 다른 커넥터 홀(미도시))을 포함할 수 있다. 전자 장치(200)는, 예를 들면, 커넥터 홀(209)의 적어도 일부를 덮고, 커넥터 홀에 대한 외부 이물질의 유입을 차단하는 커넥터 커버(미도시)를 더 포함할 수 있다.The key input devices 202, 203, and 204 include a wheel key 202 disposed on a first surface 210A of the housing 210 and rotatable in at least one direction, and/or a side surface 210C of the housing 210. ) may include side key buttons 202 and 203 disposed on. The wheel key may have a shape corresponding to the shape of the front plate 202 . In another embodiment, the electronic device 200 may not include some or all of the key input devices 202 , 203 , and 204 , and the key input devices 202 , 203 , and 204 that are not included may be displayed on the display 220 . It may be implemented in other forms such as soft keys on the screen. The connector hole 209 may accommodate a connector (eg, a USB connector) for transmitting and receiving power and/or data to and from an external electronic device and a connector for transmitting and receiving an audio signal to and from an external electronic device. Other connector holes (not shown) may be included. The electronic device 200 may further include, for example, a connector cover (not shown) that covers at least a portion of the connector hole 209 and blocks external foreign substances from entering the connector hole.

결착 부재(250, 260)는 락킹 부재(251, 261)를 이용하여 하우징(210)의 적어도 일부 영역에 탈착 가능하도록 결착될 수 있다. 결착 부재(250, 260)는 고정 부재(252), 고정 부재 체결 홀(253), 밴드 가이드 부재(254), 밴드 고정 고리(255) 중 하나 또는 그 이상을 포함할 수 있다. The binding members 250 and 260 may be detachably attached to at least a partial region of the housing 210 using the locking members 251 and 261 . The fastening members 250 and 260 may include one or more of a fixing member 252 , a fixing member fastening hole 253 , a band guide member 254 , and a band fixing ring 255 .

고정 부재(252)는 하우징(210)과 결착 부재(250, 260)를 사용자의 신체 일부(예: 손목, 발목 등)에 고정시키도록 구성될 수 있다. 고정 부재 체결 홀(253)은 고정 부재(252)에 대응하여 하우징(210)과 결착 부재(250, 260)를 사용자의 신체 일부에 고정시킬 수 있다. 밴드 가이드 부재(254)는 고정 부재(252)가 고정 부재 체결 홀(253)과 체결 시 고정 부재(252)의 움직임 범위를 제한하도록 구성됨으로써, 결착 부재(250, 260)가 사용자의 신체 일부에 밀착하여 결착되도록 할 수 있다. 밴드 고정 고리(255)는 고정 부재(252)와 고정 부재 체결 홀(253)이 체결된 상태에서, 결착 부재(250,260)의 움직임 범위를 제한할 수 있다.The fixing member 252 may be configured to fix the housing 210 and the fastening members 250 and 260 to a part of the user's body (eg, wrist, ankle, etc.). The fixing member fastening hole 253 corresponds to the fixing member 252 to fix the housing 210 and the fastening members 250 and 260 to a part of the user's body. The band guide member 254 is configured to limit the movement range of the fixing member 252 when the fixing member 252 is fastened to the fixing member fastening hole 253, so that the fastening members 250 and 260 are attached to a part of the user's body. It can be tightly bonded. The band fixing ring 255 may limit the movement range of the fastening members 250 and 260 in a state in which the fixing member 252 and the fixing member fastening hole 253 are fastened.

도 3은 일 실시예에 따른 도 2a의 전자 장치(200)의 본체(210)에 관한 전개 사시도이다.FIG. 3 is an exploded perspective view of the main body 210 of the electronic device 200 of FIG. 2A according to an embodiment.

도 3을 참조하면, 전자 장치(200)의 본체(210)는 전면 커버(241), 후면 커버(242), 측면 부재(243), 지지 부재(예: 브래킷(bracket))(310), 디스플레이(320), 인쇄 회로 기판(printed circuit board)(330), 배터리(340), 또는 복수의 도전성 패턴들(351, 352, 353, 354)을 포함할 수 있다. 본체(210)의 구성 요소들 중 적어도 하나는, 도 2a 또는 2b의 본체(210)에 포함되는 구성 요소들 중 적어도 하나와 동일, 또는 유사할 수 있으며, 중복되는 설명은 이하 생략한다.Referring to FIG. 3 , the body 210 of the electronic device 200 includes a front cover 241, a rear cover 242, a side member 243, a support member (eg, a bracket) 310, a display 320 , a printed circuit board 330 , a battery 340 , or a plurality of conductive patterns 351 , 352 , 353 , and 354 . At least one of the components of the main body 210 may be the same as or similar to at least one of the components included in the main body 210 of FIG. 2A or 2B, and overlapping descriptions will be omitted below.

일 실시예에 따르면, 지지 부재(310)는 전면 커버(241) 및 후면 커버(242) 사이에 배치될 수 있다. 디스플레이(320)는 전면 커버(241)와 대면하는 지지 부재(310)의 일면(311)에 배치될 수 있다. 인쇄 회로 기판(330)은 후면 커버(242)와 대면하는 지지 부재(310)의 타면(미도시)에 배치될 수 있다. 디스플레이(320) 및 인쇄 회로 기판(330)은 지지 부재(310)에 의해 지지되어 강성을 확보할 수 있다. 지지 부재(310)는, 예를 들어, 금속 재질 및/또는 비금속 재질(예: 폴리머)로 형성될 수 있다.According to one embodiment, the support member 310 may be disposed between the front cover 241 and the rear cover 242 . The display 320 may be disposed on one surface 311 of the support member 310 facing the front cover 241 . The printed circuit board 330 may be disposed on the other surface (not shown) of the support member 310 facing the rear cover 242 . The display 320 and the printed circuit board 330 may be supported by the support member 310 to ensure rigidity. The support member 310 may be formed of, for example, a metal material and/or a non-metal material (eg, polymer).

일 실시예에 따르면, 디스플레이(320)는 전면 커버(241) 및 지지 부재(310) 사이에 배치될 수 있다. 디스플레이(320)는 OLED(organic light-emitting diode)와 같은 다양한 발광 소자를 기초로 구현될 수 있다. 다양한 실시예에 따르면(미도시), 디스플레이(320)는 터치 감지 회로(예: 터치 센서)를 포함할 수 있다. 터치 감지 회로는 ITO(indium tin oxide)와 같은 다양한 도전성 물질을 기초로 하는 투명한 전도성 층(또는, 필름)으로 구현될 수 있다. 일 실시예에 따르면, 터치 감지 회로는 전면 커버(241) 및 편광 층(미도시) 사이에 배치될 수 있다 (예: add-on type). 다른 실시예에 따르면, 터치 감지 회로는 편광 층 및 발광 층(예: OLED와 같은 발광 소자로 구현되는 복수의 픽셀들(pixels)을 포함하는 층) 사이에 배치될 수 있다 (예: on-cell type). 다른 실시예에 따르면, 발광 층은 터치 감지 회로 또는 터치 감지 기능을 포함할 수 있다 (예: in-cell type). 다양한 실시예에 따르면(미도시), 디스플레이(320)는 터치의 세기(압력)를 측정할 수 있는 압력 센서를 더 포함할 수도 있다.According to one embodiment, the display 320 may be disposed between the front cover 241 and the support member 310 . The display 320 may be implemented based on various light emitting devices such as organic light-emitting diodes (OLEDs). According to various embodiments (not shown), the display 320 may include a touch sensing circuit (eg, a touch sensor). The touch sensing circuit may be implemented with a transparent conductive layer (or film) based on various conductive materials such as indium tin oxide (ITO). According to an embodiment, the touch sensing circuit may be disposed between the front cover 241 and a polarization layer (not shown) (eg, an add-on type). According to another embodiment, the touch sensing circuit may be disposed between a polarization layer and a light emitting layer (eg, a layer including a plurality of pixels implemented as a light emitting device such as OLED) (eg, an on-cell type). According to another embodiment, the light emitting layer may include a touch sensing circuit or a touch sensing function (eg, in-cell type). According to various embodiments (not shown), the display 320 may further include a pressure sensor capable of measuring the intensity (pressure) of a touch.

일 실시예에 따르면, 디스플레이(320)는 인쇄 회로 기판(330)과의 전기적 연결을 위한 FPCB(flexible printed circuit)(321)와 같은 전기적 경로를 포함할 수 있다. 예를 들어, FPCB(321)는 지지 부재(310)의 측면(313) 및 측면 부재(243) 사이를 통해 인쇄 회로 기판(330)과 전기적으로 연결되도록 구부린 형태로 배치될 수 있다. 인쇄 회로 기판(330)에는, 프로세서, 메모리, 및/또는 인터페이스가 장착될 수 있다. 프로세서는, 예를 들어, 중앙처리장치, 어플리케이션 프로세서, 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서 중 하나 또는 그 이상을 포함할 수 있다. 메모리는, 예를 들어, 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. 인터페이스는, 예를 들어, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 및/또는 오디오 인터페이스를 포함할 수 있다. 인터페이스는, 예를 들어, 본체(210)를 외부 전자 장치와 전기적 또는 물리적으로 연결시킬 수 있으며, USB 커넥터, SD 카드/MMC 커넥터, 또는 오디오 커넥터를 포함할 수 있다. 예를 들어, 측면 부재(243) 또는 후면 커버(242)에는 외부 전자 장치와의 전기적 연결을 위한 커넥터 홀이 형성될 수 있다.According to an embodiment, the display 320 may include an electrical path such as a flexible printed circuit (FPCB) 321 for electrical connection with the printed circuit board 330 . For example, the FPCB 321 may be disposed in a bent form to be electrically connected to the printed circuit board 330 through a gap between the side 313 and the side member 243 of the support member 310 . A processor, memory, and/or interface may be mounted on the printed circuit board 330 . The processor may include, for example, one or more of a central processing unit, an application processor, a graphics processing unit, an image signal processor, a sensor hub processor, or a communication processor. Memory may include, for example, volatile memory or non-volatile memory. The interface may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, and/or an audio interface. The interface may electrically or physically connect the main body 210 to an external electronic device, and may include a USB connector, an SD card/MMC connector, or an audio connector. For example, a connector hole for electrical connection with an external electronic device may be formed in the side member 243 or the rear cover 242 .

도 4는 다양한 실시예들에 따른 전자 장치의 구성을 블록도로 나타낸 것이다.4 is a block diagram illustrating a configuration of an electronic device according to various embodiments.

다양한 실시예들에 따르면, 전자 장치(400)는 홀 센서(410), 자석(420), 지자기 센서(430), 프로세서(440) 및 메모리(450)를 포함할 수 있다. 전자 장치(400)는 도 1의 전자 장치(101)의 구성 및/또는 기능 중 적어도 일부를 더 포함할 수 있다. 도시된(또는 도시되지 않은) 전자 장치(400)의 구성 중 적어도 일부는 상호 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로 (electrically) 연결될 수 있다.According to various embodiments, the electronic device 400 may include a Hall sensor 410, a magnet 420, a geomagnetic sensor 430, a processor 440, and a memory 450. The electronic device 400 may further include at least some of the configurations and/or functions of the electronic device 101 of FIG. 1 . At least some of the components of the illustrated (or not illustrated) electronic device 400 may be operatively, functionally, and/or electrically connected.

다양한 실시예들에 따르면, 전자 장치(400)는 자기장을 인식할 수 있는 홀 센서(410)를 포함할 수 있다. 홀 센서(410)는 휠 회전부(또는 베젤)에 포함된 자석(420)의 하단부에 배치될 수 있다. 홀 센서(410)는 전자 장치(400)의 측면 또는 후면에 배치되어 적어도 하나 이상의 자석(420)에서 발생하는 자기장을 인식할 수 있다.According to various embodiments, the electronic device 400 may include a Hall sensor 410 capable of recognizing a magnetic field. The Hall sensor 410 may be disposed at the lower end of the magnet 420 included in the wheel rotating part (or bezel). The Hall sensor 410 may be disposed on the side or rear surface of the electronic device 400 to recognize a magnetic field generated from at least one magnet 420 .

다양한 실시예들에 따르면, 홀 센서(410)는 복수의 홀 엘리먼트들(hall elements)을 포함하여 자석(420)에서 발생하는 자기장을 인식할 수 있다. 홀 엘리먼트들에서 인식된 자기장에 대한 정보는 휠 회전부의 동작(예: 회전 거리 또는 회전 각도)을 결정하는데 활용될 수 있다. 홀 엘리먼트(hall element)는 홀 효과를 이용하여 자기장의 방향과 크기를 인식하는 소자를 의미할 수 있다. 홀 효과는 도체에 자기장을 인가하면 전류와 자기장에 수직 방향으로 전압이 발생하는 효과로서, 홀 효과에 의해 발생된 전압은 인가된 전류와 자기장의 세기에 비례할 수 있다. 자기장 내에서 움직이는 전하는 자기장 방향 및 전하가 움직이는 방향의 수직 방향으로 힘을 받는다. 이러한 힘을 로렌츠 힘(Lorentz force)이라 한다. 로렌츠 힘에 의해 전하는 자기장 내에서 한쪽 방향으로 쏠리게 되는데 쏠림에 의해 전하 밀도가 달라져 전위차가 형성된다. 홀 효과는 로렌츠 힘에 의한 전하 쏠림에 의해 형성되는 전위차를 의미할 수 있다. According to various embodiments, the hall sensor 410 may include a plurality of hall elements to recognize a magnetic field generated by the magnet 420 . Information about the magnetic field recognized by the Hall elements can be used to determine the motion of the wheel rotation unit (eg, rotation distance or rotation angle). A hall element may refer to an element that recognizes the direction and magnitude of a magnetic field using a hall effect. The Hall effect is an effect in which a voltage is generated in a direction perpendicular to a current and a magnetic field when a magnetic field is applied to a conductor, and the voltage generated by the Hall effect may be proportional to the strength of the applied current and magnetic field. A charge moving in a magnetic field experiences a force perpendicular to the direction of the magnetic field and the direction in which the charge moves. This force is called the Lorentz force. Due to the Lorentz force, the charge is pulled in one direction in the magnetic field, and the charge density is changed by the pull, and a potential difference is formed. The Hall effect may refer to a potential difference formed by charge drift due to the Lorentz force.

다양한 실시예에 따르면, 홀 센서(410)는 홀 효과(hall effect)를 이용하여 자기장을 전기적 신호로 변환하는 센서를 의미할 수 있다. 홀 센서(410)(hall sensor)는 자기장(magnetic field)을 감지하고 홀 효과에 의해 형성되는 전위차를 측정할 수 있다. 이 때, 자기장의 세기가 클수록 큰 전위차가 형성될 수 있다. 예컨대, 자기장의 세기는 홀 효과에 의한 전위차와 비례할 수 있다. 홀 센서(410)는 홀 효과에 의한 전류를 측정하므로 자기장의 세기를 감지할 수 있다.According to various embodiments, the hall sensor 410 may refer to a sensor that converts a magnetic field into an electrical signal using a hall effect. The Hall sensor 410 may sense a magnetic field and measure a potential difference formed by the Hall effect. At this time, as the strength of the magnetic field increases, a greater potential difference may be formed. For example, the strength of the magnetic field may be proportional to the potential difference due to the Hall effect. The Hall sensor 410 measures current by the Hall effect, so it can sense the strength of a magnetic field.

홀 센서(410)는 자석(420)에 의해 형성되는 자기장의 세기를 검출할 수 있다. 홀 센서(410)는 자기장의 세기와 비례하는 물리량인 자속의 크기를 검출할 수 있다. 홀 센서(410)와 자석(420)의 상대 위치와 홀 센서(410)에서 검출되는 자속의 값이 일대일로 매칭될 수 있다.The hall sensor 410 may detect the strength of a magnetic field formed by the magnet 420 . The hall sensor 410 can detect the magnitude of magnetic flux, which is a physical quantity proportional to the strength of the magnetic field. The relative positions of the Hall sensor 410 and the magnet 420 may be matched one-to-one with the value of the magnetic flux detected by the Hall sensor 410 .

적어도 하나 이상의 자석(420)이 휠 회전부(또는 베젤)를 따라 이동하며 홀 센서(410)와 자석(420)의 상대 위치가 변경되는 동안, 홀 센서(410)에서 검출되는 자속의 값은 선형적으로 변할 수 있다. 홀 센서(410)와 자석(420)의 상대 위치와 그 상대 위치에서 검출되는 자속이 일대일로 매칭되므로 지정된 자속에 따른 전자 장치(400)와 자석(420)이 위치한 휠 회전부의 상대 위치를 측정할 수 있다. 예를 들어, 전자 장치(400)와 휠 회전부의 상대 위치에 따른 자속의 값을 테이블 또는 그래프와 같은 형식으로 저장해두고 홀 센서(410)에서 검출되는 자속을 저장된 테이블에서 확인함으로써, 전자 장치(400)와 휠 회전부의 상대 위치를 측정할 수 있다. 즉, 전자 장치(400)는 홀 센서(410)의 자속 값에 대응하는 각도 변화량을 측정할 수 있다.While at least one or more magnets 420 move along the wheel rotation part (or bezel) and the relative position of the Hall sensor 410 and the magnet 420 is changed, the value of the magnetic flux detected by the Hall sensor 410 is linear. can change to Since the relative positions of the Hall sensor 410 and the magnet 420 and the magnetic flux detected at the relative position are matched one-to-one, the relative positions of the electronic device 400 and the rotating part of the wheel where the magnet 420 are located can be measured according to the designated magnetic flux. can For example, by storing the value of magnetic flux according to the relative position of the electronic device 400 and the wheel rotating part in the form of a table or graph and checking the magnetic flux detected by the Hall sensor 410 in the stored table, the electronic device 400 ) and the relative position of the wheel rotating part can be measured. That is, the electronic device 400 may measure the amount of angular change corresponding to the magnetic flux value of the Hall sensor 410 .

다양한 실시 예에 따르면, 휠 회전부(또는 베젤)는 전자 장치(400)에 일체형으로 연결되어 구현될 수 있다. 전자 장치(400)와 휠 회전부가 일체로 구현되는 경우, 전자 장치(400)는 제1 본체를 형성하고, 휠 회전부는 제2 본체를 형성할 수 있다. 예를 들어, 워치(watch)의 경우, 전자 장치(400)는 디스플레이를 포함하는 제1 본체에 해당하고, 휠 회전부는 하우징에 부착된 제2 본체에 해당할 수 있다. According to various embodiments, the wheel rotation unit (or bezel) may be integrally connected to the electronic device 400 and implemented. When the electronic device 400 and the wheel rotation unit are integrally implemented, the electronic device 400 may form a first body and the wheel rotation unit may form a second body. For example, in the case of a watch, the electronic device 400 may correspond to a first body including a display, and a rotation wheel may correspond to a second body attached to a housing.

다양한 실시 예에 따르면, 휠 회전부(또는 베젤)는 자기장을 발생시키는 적어도 하나 이상의 자석(420)을 포함할 수 있다. 적어도 하나 이상의 자석(420)은 휠 회전부에 일정한 제1간격으로 이격되어 배치되어 휠 회전부의 움직임에 대응하여 함께 움직일 수 있고, 이에 따라 자기장을 발생시킬 수 있다. 자석(420)은 홀 엘리먼트에서 자기장을 인식 가능한 범위에서 홀 센서(410)에 인접하여 배치될 수 있다. 또한, 자석(420)은 휠 회전부 상에 배치되는 위치, 차지 면적, 또는 홀 센서(410)와 인접한 면의 극성 또는 배치 형태(예: 수평/수직 배치) 등에 따라 다양한 형태로 구현될 수 있다.According to various embodiments, the wheel rotation unit (or bezel) may include at least one magnet 420 generating a magnetic field. At least one or more magnets 420 are spaced apart from each other at a predetermined first interval on the wheel rotation unit and may move together in response to the movement of the wheel rotation unit, thereby generating a magnetic field. The magnet 420 may be disposed adjacent to the Hall sensor 410 within a range in which a magnetic field can be recognized by the Hall element. In addition, the magnet 420 may be implemented in various forms depending on the position on the rotating wheel, the area occupied, the polarity of the surface adjacent to the Hall sensor 410, or the arrangement (for example, horizontal/vertical arrangement).

다양한 실시예에 따르면, 홀 센서(410)는 자석(420)에서 발생하는 자기장을 인식할 수 있다. 홀 센서(410)는 자석(420)과의 거리에 따라 다른 자기장의 세기를 인식할 수 있다. 홀 센서(410)는 측정한 자기장의 세기 또는 방향 등의 인식 정보를 프로세서(520)에 제공할 수 있다. 제공된 인식 정보는 휠 회전부의 동작(예: 위치, 회전 각도 또는 회전 거리 등)을 결정하는데 이용될 수 있다.According to various embodiments, the Hall sensor 410 may recognize a magnetic field generated from the magnet 420 . The hall sensor 410 may recognize different magnetic field strengths according to a distance from the magnet 420 . The Hall sensor 410 may provide the processor 520 with recognition information such as the strength or direction of the measured magnetic field. The provided recognition information may be used to determine the motion of the wheel rotation unit (eg, position, rotation angle or rotation distance, etc.).

일 실시예에 따르면, 홀 센서(410)는 적어도 하나 이상의 자석(420)과는 z축 상으로 이격되게 배치되어 휠 회전부의 움직임에 따른 적어도 하나 이상의 자석의 움직임을 감지할 수 있다.According to an embodiment, the hall sensor 410 is disposed spaced apart from at least one magnet 420 along the z-axis to sense the movement of at least one magnet according to the movement of the wheel rotation unit.

다양한 실시예에 따르면, 홀 센서(410)는 적어도 하나 이상의 홀 엘리먼트, 증폭부, 변환부(ADC)를 포함할 수 있다. 증폭부는 홀 엘리먼트는 인식 정보(예: Hall 엘리먼트의 출력 전압 또는 전류)를 증폭할 수 있다. 증폭부는 PGA(programmable gain amplifier)로 구현될 수 있으며, 이에 한정되지는 않는다. 변환부는 홀 엘리먼트 또는 증폭부의 출력 신호를 변환 또는 처리하여 프로세서(440)에 제공할 수 있다.According to various embodiments, the Hall sensor 410 may include at least one Hall element, an amplifier, and a converter (ADC). The amplifier may amplify recognition information (eg, output voltage or current of the Hall element) of the Hall element. The amplification unit may be implemented as a programmable gain amplifier (PGA), but is not limited thereto. The conversion unit may convert or process an output signal of the Hall element or the amplification unit and provide the converted signal to the processor 440 .

다양한 실시예에 따르면, 지자기 센서(430)는 지자기를 검출하는 센서로서, 지자기의 방향(예: 방위각)을 검출할 수 있다. 전자 장치(400)는 지자기 센서(430)를 이용하여 방위각을 표시하거나, 나침반과 같이 동, 서, 남, 북의 방향을 제공할 수 있다. 지자기 센서(430)는 자석에 영향을 받기 때문에, 주변에 자석이 존재하는 경우 오동작할 수 있다. 지자기 센서(430)는 전자 장치(400) 상에서 자석(420)의 영향을 비교적 덜 받을 수 있는 하단부에 배치될 수 있다. 일 실시예에 따르면, 지자기 센서(430)는 방위각 표시를 위해 사용될 수 있다. 프로세서(440)는 지자기 센서(430)의 데이터를 이용하여 네비게이션이나 지도 사용시 사용자가 움직이는 방향 및/또는 움직이는 각도를 더 정확하게 표시할 수 있다.According to various embodiments, the geomagnetic sensor 430 is a sensor that detects geomagnetism and may detect a direction (eg, azimuth) of geomagnetism. The electronic device 400 may display an azimuth using the geomagnetic sensor 430 or provide directions of east, west, south, and north like a compass. Since the geomagnetic sensor 430 is affected by magnets, it may malfunction when there are magnets around. The geomagnetic sensor 430 may be disposed at a lower portion of the electronic device 400 that may be relatively less affected by the magnet 420 . According to one embodiment, the geomagnetic sensor 430 may be used for displaying an azimuth. The processor 440 may use the data of the geomagnetic sensor 430 to more accurately display the direction and/or angle of movement of the user during navigation or map use.

전자 장치(400)가 사용자의 손목에 착용되는 형태로 형성된 경우, 하우징(미도시)의 후면은 사용자의 손목에 직접 접촉되는 영역을 의미할 수 있다. 자석(420)은 지자기 센서(430)에 미치는 자력의 영향을 고려하여 지자기 센서(430)와 일정 간격을 갖도록 배치될 수 있다.When the electronic device 400 is formed to be worn on a user's wrist, the rear surface of the housing (not shown) may refer to an area directly contacting the user's wrist. The magnet 420 may be arranged to have a certain distance from the geomagnetic sensor 430 in consideration of the effect of magnetic force on the geomagnetic sensor 430 .

일 실시예에 따르면, 자석(420)은 지자기 센서(430)에 주는 자력의 영향을 줄이기 위하여, 지자기 센서(430)가 배치된 특정 방향(예: 중심 방향, 수직 방향)으로 자력 발생이 감소(또는 억제)되는 특성을 가질 수 있다. 자석(420)은 적어도 두 개의 자석의 N극과 S극을 수평, 수직, 또는 대각으로 배치될 수 있다. 자석(420)은 분할된 자석을 여러 개 이용하여, 수직 방향으로 자력 발생을 감소시키는 특성을 가질 수 있다. 예를 들어, 자석(420)은 적어도 두 개의 자석의 N극과 S극을 수평 방향 또는 수직 방향으로 배치 구조를 조합하여 특정 방향으로 자력 세기가 감소되는 특징을 가질 수 있다.According to an embodiment, in order to reduce the effect of magnetic force on the geomagnetic sensor 430, the magnet 420 generates less magnetic force in a specific direction (eg, a center direction, a vertical direction) in which the geomagnetic sensor 430 is disposed ( or suppressed). The magnets 420 may be disposed horizontally, vertically, or diagonally between the N pole and the S pole of at least two magnets. The magnet 420 may have a characteristic of reducing magnetic force generation in a vertical direction by using a plurality of divided magnets. For example, the magnet 420 may have a feature in which the strength of magnetic force is reduced in a specific direction by combining a structure in which the N pole and the S pole of at least two magnets are horizontally or vertically arranged.

다양한 실시예들에 따르면, 휠 회전부(또는 베젤)에 하나 이상의 자석(420)이 배치되므로, 휠 회전부를 동작시킬 때, 하나 이상의 자석(420)에서 발생하는 자장의 변화에 지자기 센서(430)가 오동작할 수 있다. 이러한 오동작을 방지하기 위해, 지자기 센서(430)는 휠 회전부의 영향을 상대적으로 적게 받을 수 있는 하우징의 하단부에 배치될 수 있다.According to various embodiments, since one or more magnets 420 are disposed on the wheel rotation unit (or bezel), when the wheel rotation unit is operated, the geomagnetic sensor 430 responds to a change in the magnetic field generated by the one or more magnets 420. may malfunction. In order to prevent such a malfunction, the geomagnetic sensor 430 may be disposed at a lower portion of the housing that can be relatively less affected by the rotation of the wheel.

일 실시예에 따르면, 지자기 센서(430)는 지구의 자력(지자기)을 측정하는 센서로, x축, y축, z축 각각의 지자기(M_x ,M_y ,M_z)를 측정할 수 있는 3축 지자기 센서를 포함할 수 있다. 일 실시예에 따르면, 지자기 센서(430)는 홀 센서(hall sensor), MR(magneto resistance) 센서, MI(magneto impedance) 센서와 같이 다양한 형태의 센서를 포함할 수 있다.According to an embodiment, the geomagnetic sensor 430 is a sensor for measuring the magnetic force (geomagnetism) of the earth, and is a three-axis geomagnetic sensor capable of measuring the geomagnetism (M_x, M_y, M_z) of the x-axis, y-axis, and z-axis, respectively. can include According to an embodiment, the geomagnetic sensor 430 may include various types of sensors such as a hall sensor, a magneto resistance (MR) sensor, and a magneto impedance (MI) sensor.

다양한 실시예에 따르면, 프로세서(440)는 전자 장치(400)의 각 구성(예: 홀 센서(410), 지자기 센서(430), 메모리(450))을 제어하는 기능을 수행할 수 있다. 이를 위해, 프로세서(440)는 전자 장치(400)의 각 구성과 전기적으로 및/또는 기능적으로 연결될 수 있다. 프로세서(440)가 전자 장치(400) 내에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 본 문서에 개시된 다양한 실시예에서는 메모리(450)에 저장된 지자기 변화값에 대한 테이블을 이용하여 지자기 센서(430)의 데이터를 보정하고 정확한 방위각을 측정하는 기능에 대해 설명할 것이다.According to various embodiments, the processor 440 may perform a function of controlling each component of the electronic device 400 (eg, the Hall sensor 410, the geomagnetic sensor 430, and the memory 450). To this end, the processor 440 may be electrically and/or functionally connected to each component of the electronic device 400 . Operation and data processing functions that the processor 440 can implement in the electronic device 400 will not be limited, but in various embodiments disclosed in this document, a table for geomagnetic change values stored in the memory 450 is used A function of correcting the data of the sensor 430 and measuring an accurate azimuth will be described.

다양한 실시 예에 따르면, 프로세서(440)는 감지된 휠 회전부의 움직임 타입을 판단할 수 있다. 프로세서(440)는 휠 회전부의 움직임에 기반하여 전자 장치(10)의 디스플레이를 턴 온(turn on) 또는 턴 오프(turn off)시키거나 지정된 기능(예: 지정된 UX의 실행, 또는 지정된 어플리케이션의 실행 등)을 실행할 수 있다. According to various embodiments, the processor 440 may determine the detected movement type of the wheel rotation unit. The processor 440 turns on or turns off the display of the electronic device 10 based on the movement of the wheel rotation unit, or performs a designated function (eg, execution of a designated UX or execution of a designated application). etc.) can be executed.

다양한 실시 예에 따르면, 프로세서(440)는 메모리(450)와 전기적으로 연결될 수 있다. 전자 장치(400)는 하나 이상의 메모리(450)를 포함할 수 있으며, 메모리(450)는 예를 들어, 메인 메모리(main memory) 및/또는 스토리지(storage)를 포함할 수 있다. 메인 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM)와 같은 휘발성 메모리를 포함할 수 있다. 스토리지(storage)는 예를 들어, OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 메모리(450)는 휠 회전부의 동작 인식과 관련된 정보를 저장할 수 있다. 예를 들어, 메모리(450)는 휠 회전부의 자석 감지 여부 및/또는 감지되는 자석의 극성(N극 또는 S극), 자석의 세기에 따라 홀 센서(410)에서 출력하는 신호에 관한 참조 테이블을 저장할 수 있다. 또 다른 예로, 메모리(450)는 자석(420)의 극성, 위치 또는 자기장의 세기에 관한 정보를 포함할 수 있다.According to various embodiments, the processor 440 may be electrically connected to the memory 450 . The electronic device 400 may include one or more memories 450, and the memory 450 may include, for example, a main memory and/or storage. The main memory may include volatile memory such as dynamic random access memory (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM). The storage may include, for example, at least one of one time programmable ROM (OTPROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, flash memory, hard drive, or solid state drive (SSD). . The memory 450 may store information related to motion recognition of the wheel rotating unit. For example, the memory 450 stores a reference table for signals output from the hall sensor 410 according to whether or not a magnet is detected in the rotational part of the wheel, the polarity (N pole or S pole) of the detected magnet, and the strength of the magnet. can be saved As another example, the memory 450 may include information about the polarity and position of the magnet 420 or the strength of the magnetic field.

다양한 실시예에 따르면, 프로세서(440)는, 지자기 센서(430)의 보정이 필요함에 따라, 지자기 센서(430)의 보정을 위한 일련의 동작을 수행할 수 있다. 프로세서(440)는, 지자기 센서(430)가 수집한 데이터 중 적어도 일부의 데이터에 기반하여 지자기 센서(430)의 보정을 수행할 수 있다. 프로세서(440)는, 지자기 센서(430)가 데이터를 수집할 때, 전자 장치(400)의 자세 정보에 따라서, 지자기 센서(430)의 보정을 수행하기 위해 사용될 데이터를 선택할 수 있다.According to various embodiments, the processor 440 may perform a series of operations for calibrating the geomagnetic sensor 430 as the geomagnetic sensor 430 needs to be calibrated. The processor 440 may calibrate the geomagnetic sensor 430 based on at least some of the data collected by the geomagnetic sensor 430 . When the geomagnetic sensor 430 collects data, the processor 440 may select data to be used for calibration of the geomagnetic sensor 430 according to attitude information of the electronic device 400 .

다양한 실시예에 따르면, 프로세서(440)는 지자기 센서(430)를 통하여 획득한 지자기 데이터를 필터링할 수 있다. 일 실시예에 따르면, 프로세서(440)는 지자기 센서(430)를 통하여 획득한 지자기 데이터에 대하여 필터(예 : 칼만필터, 저역통과필터 및/또는 moving average)를 적용하여 데이터를 처리할 수 있다.According to various embodiments, the processor 440 may filter geomagnetic data acquired through the geomagnetic sensor 430 . According to an embodiment, the processor 440 may process data by applying a filter (eg, a Kalman filter, a low pass filter, and/or a moving average) to geomagnetic data obtained through the geomagnetic sensor 430 .

일 실시예에 따르면, 레퍼런스 데이터는 지정된 영역의 특징을 나타낼 수 있는 데이터로, 지정된 영역에서 측정될 수 있는 신호와 관련된 다양한 정보를 포함할 수 있다. 예를 들어, 레퍼런스 데이터는 지정된 신호의 세기(예 : 셀룰러 신호의 수신 세기, wifi 신호의 수신 세기, Bluetooth 신호의 수신 세기), 지정된 신호의 ID(예 : Wifi 신호의 AP의 ID, Bluetooth ID), 지정된 고도, 지정된 기압 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 레퍼런스 데이터는 지정된 영역별로 분류되어 메모리(450)에 저장되어 있을 수 있다.According to an embodiment, the reference data is data representing characteristics of a designated area, and may include various pieces of information related to a signal that can be measured in the designated area. For example, the reference data is the strength of a specified signal (e.g. cellular signal reception strength, wifi signal reception strength, Bluetooth signal reception strength), specified signal ID (e.g. Wifi signal AP ID, Bluetooth ID) , a specified altitude, and a specified barometric pressure. According to an embodiment, the reference data may be classified for each designated area and stored in the memory 450 .

일 실시예에 따르면, 프로세서(440)는 지정된 영역에서 측정되는 신호의 데이터를 메모리(450)에 레퍼런스 데이터로 저장할 수 있다. 예를 들어, 전자 장치(400)의 휠 회전부가 지정된 영역에 위치하였을 때, 측정될 수 있는 위치와 관련된 신호의 정보를 지정된 영역의 레퍼런스 데이터에 추가할 수 있다.According to an embodiment, the processor 440 may store data of a signal measured in a designated area in the memory 450 as reference data. For example, when the wheel rotating part of the electronic device 400 is located in a designated area, signal information related to a measurable position may be added to reference data of the designated area.

다양한 실시예들에 따르면, 전자 장치(400)는 하우징, 하우징의 휠 회전부에 일정한 간격으로 이격되게 배치되는 적어도 하나 이상의 자석(420), 하우징의 휠 회전부의 하부 면에 일정한 간격으로 배치되어 자석의 자력 변화 및 휠 회전부의 위치 변화를 측정하는 적어도 하나 이상의 홀 센서(hall sensor)(410), 하우징의 하부면에 배치되어 지구 자기장을 측정하는 지자기 센서(magnetic sensor) (430) 휠 회전부의 회전 각도에 따른 지자기 센서(430)의 자력 변화값 및 그 평균값을 기재한 테이블을 저장하는 메모리(420) 및 홀 센서(410), 지자기 센서(430) 및 메모리(450)와 작동적으로 연결된 프로세서(440)를 포함할 수 있다. 이 때 프로세서(440)는 홀 센서(410)를 이용하여 휠 회전부의 회전 여부 및 회전 각도를 감지하고, 휠 회전부의 회전 각도에 대응하는 자력 변화값의 평균값을 테이블에서 확인하고, 확인된 자력 변화값의 평균값을 기반으로 지자기 센서(430)의 측정 데이터 값을 보정하도록 제어할 수 있다.According to various embodiments, the electronic device 400 includes a housing, at least one magnet 420 disposed at regular intervals on the wheel rotating portion of the housing, and disposed at regular intervals on the lower surface of the wheel rotating portion of the housing to generate magnets. At least one hall sensor 410 for measuring a change in magnetic force and a position change of the wheel rotation part, a geomagnetic sensor 430 disposed on the lower surface of the housing to measure the earth's magnetic field, and a rotation angle of the wheel rotation part A processor 440 operatively connected to the memory 420 and the Hall sensor 410, the geomagnetic sensor 430, and the memory 450 for storing a table in which the magnetic change value of the geomagnetic sensor 430 and the average value thereof are stored according to ) may be included. At this time, the processor 440 uses the Hall sensor 410 to detect whether or not the rotation of the wheel rotation unit and the rotation angle are detected, check the average value of magnetic force change values corresponding to the rotation angle of the wheel rotation unit in the table, and check the confirmed change in magnetic force. Based on the average value of the values, the measured data value of the geomagnetic sensor 430 may be controlled to be corrected.

일 실시예에 따르면, 프로세서(440)는 홀 센서(410)가 측정한 데이터에 기반하여 휠 회전부의 회전 시 발생하는 지자기 센서(430) 데이터의 왜곡에 대한 보정을 수행할 수 있다.According to an embodiment, the processor 440 may correct for distortion of data of the geomagnetic sensor 430 that occurs when the rotating wheel rotates, based on data measured by the hall sensor 410 .

일 실시예에 따르면, 메모리(450)는 휠 회전부의 회전 각도에 따른 지자기 센서(430)의 자력 변화값을 기록한 데이터 및/또는 휠 회전부의 회전 각도 변화에 따른 지자기 센서(430)의 자력 변화값의 평균값을 기록한 데이터를 포함할 수 있다.According to an embodiment, the memory 450 may store data recorded on a magnetic force change value of the geomagnetic sensor 430 according to a rotation angle of the wheel rotation unit and/or a magnetic force change value of the geomagnetic sensor 430 according to a rotation angle change of the wheel rotation unit. It may include data recording the average value of .

일 실시예에 따르면, 프로세서(440)는 지자기 센서(430)의 자력 변화값의 평균값을 기록한 데이터에 기반하여 지자기 센서(430)의 데이터 값을 보정할 수 있다.According to an embodiment, the processor 440 may correct a data value of the geomagnetic sensor 430 based on data recorded as an average value of change values of magnetic force of the geomagnetic sensor 430 .

일 실시예에 따르면, 프로세서(440)는 휠 회전부에서 회전이 감지되지 않는 경우 미리 설정된 디폴트 값으로 지자기 센서(430)의 측정값을 보정하도록 제어할 수 있다.According to an embodiment, the processor 440 may control the measurement value of the geomagnetic sensor 430 to be corrected with a preset default value when rotation is not detected in the wheel rotating unit.

일 실시예에 따르면, 지자기 센서(430)의 자력 변화값 및/또는 지자기 센서(430)의 자력 변화값의 평균값은 휠 회전부의 회전 각도에 대응하여 결정될 수 있다.According to an embodiment, a magnetic force change value of the geomagnetic sensor 430 and/or an average value of the magnetic force change values of the geomagnetic sensor 430 may be determined corresponding to a rotation angle of the wheel rotation unit.

일 실시예에 따르면, 프로세서(440)는 지자기 센서(430)의 데이터 값에 보정 계수를 곱하여 지자기 센서(430)의 데이터 값을 보정하며, 보정 계수는 지자기 센서(430)의 자력 변화값의 평균값을 기록한 데이터에 기반하여 결정될 수 있다.According to an embodiment, the processor 440 corrects the data value of the geomagnetic sensor 430 by multiplying the data value of the geomagnetic sensor 430 by a correction coefficient, and the correction coefficient is an average value of magnetic force change values of the geomagnetic sensor 430. It can be determined based on the recorded data.

일 실시예에 따르면, 프로세서(440)는 보정된 지자기 센서(430)의 데이터 값에 기반하여 전자 장치(400)의 방위각을 계산할 수 있다.According to an embodiment, the processor 440 may calculate the azimuth of the electronic device 400 based on the calibrated data value of the geomagnetic sensor 430 .

일 실시예에 따르면, 전자 장치(400)는 디스플레이(미도시)를 더 포함할 수 있으며, 프로세서(440)는 보정된 지자기 센서(430)의 데이터 값에 기반하여 계산된 방위각을 디스플레이에 출력하도록 제어할 수 있다.According to an embodiment, the electronic device 400 may further include a display (not shown), and the processor 440 outputs the calculated azimuth on the display based on the calibrated data value of the geomagnetic sensor 430. You can control it.

도 5는 다양한 실시예들에 따른 전자 장치의 단면을 나타낸 것이다.5 illustrates a cross-section of an electronic device according to various embodiments.

다양한 실시예들에 따르면, 전자 장치(400)는 홀 센서(410), 자석(420) 및 지자기 센서(430)를 포함할 수 있다.According to various embodiments, the electronic device 400 may include a Hall sensor 410 , a magnet 420 and a geomagnetic sensor 430 .

앞선 도 4에서 언급한 것처럼 지자기 센서(430)는 워치(watch)형태의 전자 장치(400)가 회전하면서 자석(420)의 위치 변화로 인한 자력의 영향을 받아 정확한 방위각을 표시하기 어려울 수 있다. 본 문서에 따른 전자 장치(400)는 홀 센서(410) 및 지자기 센서(430)의 위치를 고정시키고, 자석(420)의 자력 변화를 측정하여 휠 회전부의 회전을 감지할 수 있다.As mentioned above with reference to FIG. 4 , the geomagnetic sensor 430 may be affected by magnetic force due to a positional change of the magnet 420 while the electronic device 400 in the form of a watch rotates, and it may be difficult to display an accurate azimuth angle. The electronic device 400 according to this document fixes the positions of the Hall sensor 410 and the geomagnetic sensor 430 and measures the change in magnetic force of the magnet 420 to sense the rotation of the wheel rotation unit.

도 5에 따르면, 적어도 하나 이상의 자석(420)은 전자 장치(400)의 휠 회전부(또는 베젤)에 이격되어 배치될 수 있다. 일 실시예에 따르면, 휠 회전부(또는 베젤)은 하우징의 외주면을 따라 적어도 하나의 방향으로 회전 가능하도록 구성될 수 있다. 예를 들어, 휠 회전부는 시계 방향 또는 반시계 방향으로 회전 가능할 수 있다. 휠 회전부의 동작을 위해 적어도 하나 이상의 자석(420)이 배치될 수 있다. 예를 들어, 하우징이 원형인 경우, 하나 이상의 자석(420)은 휠 회전부의 외주면을 따라 45° 간격으로 배치될 수 있다. 예를 들어, 하나 이상의 자석(420)은 시계 방향으로, 0°(예: 12시 방향)에 제1 자석, 45°(예: 12 ~ 3시 사이(중간) 방향)에 제2 자석, 90°(예: 3시 방향)에 제3 자석, 135°(예: 3시 ~ 6시 사이 방향)에 제4 자석, 180°(예: 6시 방향)에 제5 자석, 225°(예: 6시 ~ 9시 사이 방향)에 제6 자석, 270°(예: 9시 방향)에 제7 자석, 315°(예: 9시 ~ 12시 사이 방향)에 제8 자석이 배치될 수 있다. 이하에서는 휠 회전부의 외주면을 따라 45°간격으로 자석이 배치된 것을 가정하여 설명하지만 배치될 수 있는 자석의 위치 및 개수는 이것으로 한정되는 것은 아니다.According to FIG. 5 , one or more magnets 420 may be spaced apart from the wheel rotation part (or bezel) of the electronic device 400 . According to one embodiment, the wheel rotation unit (or bezel) may be configured to be rotatable in at least one direction along the outer circumferential surface of the housing. For example, the wheel rotation unit may be rotatable clockwise or counterclockwise. At least one or more magnets 420 may be disposed to operate the wheel rotating unit. For example, when the housing is circular, one or more magnets 420 may be disposed at 45° intervals along the outer circumferential surface of the wheel rotating portion. For example, one or more magnets 420 are clockwise, with a first magnet at 0° (eg, 12 o'clock), a second magnet at 45° (eg, between 12 and 3 o'clock (intermediate)), 90 3rd magnet at ° (e.g. 3 o'clock), 4th magnet at 135° (e.g. between 3 o'clock and 6 o'clock), 5th magnet at 180° (e.g. 6 o'clock), 225° (e.g. A sixth magnet may be disposed at 6 o'clock to 9 o'clock direction), a seventh magnet at 270° (eg, 9 o'clock direction), and an eighth magnet at 315° (eg, 9 o'clock to 12 o'clock direction). Hereinafter, description will be made on the assumption that magnets are disposed at 45° intervals along the outer circumferential surface of the wheel rotation unit, but the position and number of magnets that can be disposed are not limited thereto.

전자 장치(400)는 적어도 하나 이상의 홀 센서(410)를 포함할 수 있다. 적어도 하나 이상의 홀 센서(410)는 휠 회전부의 하단에 이격되어 배치될 수 있다. 적어도 하나 이상의 홀 센서(410)는 휠 회전부의 회전에 따른 자석(420)의 자력 변화를 감지할 수 있다. 휠 회전부가 회전할 때마다 홀 센서(410)는 일정한 패턴으로 형성되는 자석(420)의 자력 변화를 감지할 수 있다. 이러한 일정한 패턴은 45°마다 반복될 수 있다. The electronic device 400 may include at least one hall sensor 410 . At least one hall sensor 410 may be spaced apart from the lower end of the wheel rotation unit. At least one hall sensor 410 may detect a change in magnetic force of the magnet 420 according to the rotation of the wheel rotation unit. Whenever the wheel rotating part rotates, the hall sensor 410 may detect a change in magnetic force of the magnet 420 formed in a certain pattern. This constant pattern can be repeated every 45°.

도 6은 다양한 실시예들에 따른 지자기 센서의 센서 데이터를 나타낸 것이다. 도 6의 그래프에 따르면, 휠 회전부의 회전에 따라 일정한 패턴이 형성되는 것을 확인할 수 있다. 프로세서(예: 도 4의 프로세서(440))는 홀 센서(410)를 이용하여 자석(420)의 자력 변화 및 휠 회전부의 회전 각도를 계산할 수 있다. 프로세서(440)는 휠 회전부의 회전 각도를 누적하여 최종 회전 각도를 계산할 수 있으며, 이러한 회전 각도를 UX로 활용하여 사용자 경험을 향상시킬 수 있다. 프로세서(440)가 활용할 수 있는 UX는 예를 들어, 45°회전 시 메시지 어플리케이션 표시, 90°회전 시 전화 어플리케이션 표시, 45°회전 및 다시 제자리로 돌린 후 다시 45°회전 시 사진 어플리케이션 표시를 포함할 수 있다.6 illustrates sensor data of a geomagnetic sensor according to various embodiments. According to the graph of FIG. 6 , it can be seen that a certain pattern is formed according to the rotation of the wheel rotation unit. A processor (eg, the processor 440 of FIG. 4 ) may use the Hall sensor 410 to calculate a change in magnetic force of the magnet 420 and a rotation angle of the wheel rotation unit. The processor 440 may calculate a final rotation angle by accumulating rotation angles of the wheel rotation unit, and the user experience may be improved by using the rotation angle as a UX. The UX that the processor 440 can utilize may include, for example, displaying a message application when rotated 45°, displaying a phone application when rotated 90°, and displaying a photo application when rotated 45° after rotating 45° and back again. can

다양한 실시예들에 따르면, 전자 장치(400)는 지자기 센서(430)를 포함할 수 있다. 지자기 센서는 x,y,z축의 지구 자기장을 측정하여 지도 상의 자북을 찾기 위해 사용될 수 있다. 지자기 센서는 x,y,z축에서 측정되는 자력을 출력할 수 있다. According to various embodiments, the electronic device 400 may include a geomagnetic sensor 430 . A geomagnetic sensor may be used to find magnetic north on a map by measuring the earth's magnetic field in x, y, and z axes. The geomagnetic sensor may output magnetic force measured in x, y, and z axes.

비교 실시예에 따르면, 전자 장치(400) 내의 지자기 센서(430) 실장 구조에 따라 내부 자석(420)의 이동으로 자기장의 왜곡이 발생할 수 있다. 지자기 센서(430)는 이러한 자기장의 왜곡 현상으로 인하여 방위각 오차를 발생시킬 수 있다.According to the comparative example, the movement of the internal magnet 420 may cause distortion of the magnetic field according to the mounting structure of the geomagnetic sensor 430 in the electronic device 400 . The geomagnetic sensor 430 may generate an azimuth error due to the distortion of the magnetic field.

본 문서에 따른 전자 장치(400)는 전자 장치 내에 지자기 센서(430) 및 홀 센서(410)의 위치를 고정하고, 보정 계수를 적용하여 방위각의 오차를 줄일 수 있다. 보정 계수는 3x3 형태의 벡터값을 포함할 수 있으며, 지자기 센서(430) 및 홀 센서(410)의 위치에 대응하여 값이 달라질 수 있다.The electronic device 400 according to this document may reduce an azimuth error by fixing the positions of the geomagnetic sensor 430 and the Hall sensor 410 within the electronic device and applying a correction coefficient. The correction coefficient may include a vector value in the form of 3x3, and the value may vary according to the positions of the geomagnetic sensor 430 and the hall sensor 410.

일 실시예에 따르면, 지자기 센서(430)는 자석(420)의 영향을 상대적으로 덜 받을 수 있는 위치에 배치될 수 있다. 도 5에 따르면, 지자기 센서(430)는 자석의 영향을 상대적으로 적게 받을 수 있는 하우징의 하단부에 배치될 수 있다.According to an embodiment, the geomagnetic sensor 430 may be disposed at a location where the influence of the magnet 420 is relatively less. According to FIG. 5 , the geomagnetic sensor 430 may be disposed at a lower portion of a housing that can be relatively less affected by a magnet.

도 6에 따르면 앞서 언급한 것처럼 휠 회전부의 회전에 따라 일정한 자기장 패턴이 형성되는 것을 확인할 수 있다. 도 6의 그래프에서 X축은 휠 회전부의 회전 각도를 나타내며, Y축은 지자기 센서를 기준으로 한 자력을 의미할 수 있다. 0을 기준으로 +와 -는 자력의 방향을 의미할 수 있고, 값의 크기는 자력의 세기를 의미할 수 있다. 도 6에 도시된 그래프(600)에 나타난 자력 차이 패턴은, 휠 회전부가 전체 회전 범위(예: 0도부터 360도)까지 회전하는 동안, 한 쌍의 홀 센서들(410)을 이용해 생성된 자기장 데이터의 차이 값을 그래프로 나타낸 것이다. 도 6에 도시된 그래프(600)의 세로 축은 차이 값의 크기로서 단위는 mT(milli Tesla)이고, 가로 축은 휠 회전부가 기준 각도 위치(예: 0도로 설정된 각도 위치)로부터 회전된 각도로서 단위는 도(degree)일 수 있다. 자력 차이 패턴(600)은 각 축(예: x축, y축, z축)에서 센싱되는 자기장 차이 값들의 곡선들(610, 620, 630)을 포함할 수 있다.According to FIG. 6, as mentioned above, it can be confirmed that a constant magnetic field pattern is formed according to the rotation of the wheel rotation unit. In the graph of FIG. 6 , the X-axis represents the rotation angle of the wheel rotation unit, and the Y-axis may mean magnetic force based on the geomagnetic sensor. Based on 0, + and - may mean the direction of magnetic force, and the magnitude of the value may mean the strength of magnetic force. The magnetic force difference pattern shown in the graph 600 shown in FIG. 6 is a magnetic field generated using a pair of Hall sensors 410 while the wheel rotation unit rotates in the entire rotation range (eg, 0 degree to 360 degrees). It shows the difference value of the data as a graph. The vertical axis of the graph 600 shown in FIG. 6 is the size of the difference value, and the unit is milli Tesla (mT), and the horizontal axis is the rotation angle of the wheel rotation unit from the reference angular position (eg, the angular position set at 0 degrees), and the unit is may be degrees. The magnetic force difference pattern 600 may include curves 610 , 620 , and 630 of magnetic field difference values sensed on each axis (eg, an x-axis, a y-axis, and a z-axis).

휠 회전부의 전체 회전 범위는 복수의 자석들의 개수에 따라 구분될 수 있다. 회전 구간은 전체 회전 범위를 자석 개수로 분할한 각도 구간(angular interval)을 나타낼 수 있다. 복수의 자석들 중 서로 인접한 두 자석들은 회전축에 대해 동일한 각도를 형성하므로, 개별 회전 구간은 전체 회전 범위를 복수의 자석들의 개수로 등분한 각도 구간을 의미할 수 있다. 예를 들어, 8개의 자석들이 회전체에 배치되는 경우 전체 회전 범위가 8개의 회전 구간으로 분할될 수 있다. 이 경우 전체 회전 범위는 제1 회전 구간 내지 제8 회전 구간으로 구분될 수 있다. 제1 회전 구간은 기준 각도 위치(reference angular position)를 기준으로 0도부터 45까지의 각도 구간, 제2 회전 구간은 45도부터 90도까지의 각도 구간, 제3 회전 구간은 기준으로 90도부터 135도까지의 각도 구간, 제4 회전 구간은 135도부터 180도까지의 각도 구간, 제5 회전 구간은 180도부터 225도까지의 각도 구간, 제6 회전 구간은 225도부터 270도까지의 각도 구간, 제7 회전 구간은 270도부터 315도까지의 각도 구간 및 제8 회전 구간은 315도부터 360도까지의 각도 구간을 의미할 수 있다. 한 회전 구간에 대응하는 각도 범위는 서로 인접한 두 자석들 간에 형성되는 각도를 의미할 수 있다. The entire rotation range of the wheel rotating unit may be divided according to the number of magnets. The rotation interval may represent an angular interval obtained by dividing the entire rotation range by the number of magnets. Since two magnets adjacent to each other among the plurality of magnets form the same angle with respect to the rotation axis, the individual rotation section may refer to an angular section in which the entire rotation range is equally divided by the number of the plurality of magnets. For example, when 8 magnets are disposed on the rotating body, the entire rotating range may be divided into 8 rotating sections. In this case, the entire rotation range may be divided into a first rotation section to an eighth rotation section. The first rotation section is an angular section from 0 degrees to 45 degrees based on the reference angular position, the second rotation section is an angular section from 45 degrees to 90 degrees, and the third rotation section is from 90 degrees based on the reference angular position The angular section up to 135 degrees, the fourth rotation section is an angle section from 135 degrees to 180 degrees, the fifth rotation section is an angle section from 180 degrees to 225 degrees, and the sixth rotation section is an angle section from 225 degrees to 270 degrees The section, the seventh rotation section may mean an angular section from 270 degrees to 315 degrees, and the eighth rotation section may mean an angular section from 315 degrees to 360 degrees. The angle range corresponding to one rotation section may refer to an angle formed between two magnets adjacent to each other.

차트 상의 3개의 파형은 각각 휠 회전부 하단에 배치된 홀 센서(410) 2개 및 하우징 하단에 배치된 지자기 센서(430)에서 측정되는 자력 그래프를 의미할 수 있다. 예를 들어, 파형1(610)은 하우징 하단에 배치된 지자기 센서(430)에서 측정되는 자력 그래프를 의미할 수 있다. 파형2(620) 및 파형3(630)은 휠 회전부 하단에 배치된 두 개의 홀 센서(410)에서 측정되는 자력 그래프를 의미할 수 있다. 파형 1(610) 내지 파형 3(630)에 따르면, 약 45도 간격으로 일정한 파형(자기장 패턴)이 반복되는 것을 확인할 수 있다. 도 6에서는 홀 센서(410)가 2개 배치되는 경우를 예로 들어 설명하였으나, 배치될 수 있는 홀 센서(410)의 수가 이것으로 한정된 것은 아니다. Each of the three waveforms on the chart may mean a graph of magnetic force measured by two hall sensors 410 disposed at the lower end of the wheel rotation part and a geomagnetic sensor 430 disposed at the lower end of the housing. For example, waveform 1 610 may refer to a magnetic force graph measured by a geomagnetic sensor 430 disposed at a lower portion of the housing. Waveform 2 (620) and Waveform 3 (630) may refer to magnetic force graphs measured by two Hall sensors 410 disposed at the lower end of the wheel rotation unit. According to waveform 1 (610) to waveform 3 (630), it can be confirmed that a constant waveform (magnetic field pattern) is repeated at intervals of about 45 degrees. In FIG. 6 , a case in which two Hall sensors 410 are disposed has been described as an example, but the number of Hall sensors 410 that can be disposed is not limited thereto.

자기장 세기 값들 간의 차이를 나타낸 차이 데이터는, 휠 회전부가 한 회전 구간에 대응하는 각도 범위(예: 45도)만큼 회전할 때마다, 동일 또는 유사한 패턴을 반복적으로 나타낼 수 있다. 예를 들어, 도 6에서 복수의 자석들의 개수는 8개이고, 인접한 두 자석들 간의 간격은 45도인 경우를 가정할 수 있다. 이 경우 각 축(예: x축, y축, z축)에서 자기장 차이 값이 변화하는 양상은 휠 회전부가 45도 회전할 때마다 반복될 수 있다. 전자 장치(400)는 이전 각도 위치 및 환산된 회전 각도 변위에 기초하여 최종 각도 위치를 결정할 수 있다. 예를 들어, 전자 장치(400)는 이전 보정 시점 이후 검출된 자기장 차이 데이터로부터 도 6의 그래프(600)를 참조하여 환산된 회전 각도 변위를 이전 각도 위치에 누적할 수 있다. 전자 장치(400)는 이적 각도 위치에 누적된 회전 각도 변위를 부가함으로써 최종 각도 위치를 결정할 수 있다. 또한, 전자 장치(400)는 한 회전 구간에 대응하는 각도 범위까지 각도 변화를 누적할 수 있다.The difference data representing the difference between the magnetic field strength values may repeatedly indicate the same or a similar pattern whenever the wheel rotation unit rotates by an angular range (eg, 45 degrees) corresponding to one rotation section. For example, it may be assumed in FIG. 6 that the number of magnets is 8 and the distance between two adjacent magnets is 45 degrees. In this case, the pattern of changing the magnetic field difference value in each axis (eg, x-axis, y-axis, z-axis) may be repeated every time the wheel rotation unit rotates 45 degrees. The electronic device 400 may determine the final angular position based on the previous angular position and the converted rotational angular displacement. For example, the electronic device 400 may accumulate the converted rotational angular displacement at the previous angular position by referring to the graph 600 of FIG. 6 from magnetic field difference data detected after the previous calibration point. The electronic device 400 may determine the final angular position by adding the accumulated rotational angular displacement to the transfer angular position. Also, the electronic device 400 may accumulate angle changes up to an angle range corresponding to one rotation section.

도 7은 다양한 실시예들에 따른 전자 장치의 구조를 나타낸 것이다.7 illustrates a structure of an electronic device according to various embodiments.

도 7에 따르면, 전자 장치의 휠 회전부는 1 내지 8의 위치에 자석(420)을 포함할 수 있다. 휠 회전부는 시계 방향 또는 반시계 방향으로 회전할 수 있다. 휠 회전부 상에 배치된 자석(420)은 휠 회전부의 회전에 따라 함께 회전될 수 있다. 휠 회전부의 하단에 배치된 적어도 하나 이상의 홀 센서(예: 도 4의 홀 센서(410))는 자석(420)과는 달리 회전하지 않고 고정될 수 있다. 홀 센서(410)는 휠 회전부의 하단에 고정된 채로 움직이는 자석(420)으로 인한 자력 변화를 감지할 수 있다. 프로세서(예: 도 4의 프로세서(440))는 홀 센서(410)를 이용하여 자석(420)으로 인한 자력 변화 및 휠 회전부의 움직임 정보(예: 회전 여부, 회전 거리, 회전 각도)를 감지할 수 있다.Referring to FIG. 7 , the rotating wheel of the electronic device may include magnets 420 at positions 1 to 8. The wheel rotating portion may rotate clockwise or counterclockwise. The magnet 420 disposed on the wheel rotation unit may rotate along with the rotation of the wheel rotation unit. Unlike the magnet 420, at least one Hall sensor (eg, the Hall sensor 410 of FIG. 4) disposed at the lower end of the wheel rotating unit may be fixed without rotating. The Hall sensor 410 may detect a change in magnetic force due to the moving magnet 420 while being fixed to the lower end of the wheel rotation unit. A processor (eg, the processor 440 of FIG. 4 ) detects a change in magnetic force due to the magnet 420 and motion information (eg, rotation, rotation distance, rotation angle) of the wheel rotation unit using the Hall sensor 410. can

도 8a는 다양한 실시예들에 따른 지자기 센서 데이터 및 그의 보정 과정을 나타낸 것이다.8A illustrates geomagnetic sensor data and a calibration process thereof according to various embodiments.

표 810 및 표 830은 전자 장치(예: 도 4의 전자 장치(400)) 내의 지자기 센서(예: 도 4의 지자기 센서(430))에서 출력되는 자력을 그래프로 나타낸 것이다. 표 810에 따르면, 지자기 센서(430)의 출력 데이터는 전자 장치(400) 내부의 자석(예: 도 4의 자석(420))의 영향을 받아 정원이 아닌 왜곡된 그래프로 표시되는 것을 확인할 수 있다. Tables 810 and 830 show graphs of magnetic force output from a geomagnetic sensor (eg, the geomagnetic sensor 430 of FIG. 4 ) in an electronic device (eg, the electronic device 400 of FIG. 4 ). According to Table 810, it can be confirmed that the output data of the geomagnetic sensor 430 is displayed as a distorted graph rather than a circle due to the influence of the magnet inside the electronic device 400 (eg, the magnet 420 of FIG. 4). .

표 820은 앞서 언급한 왜곡된 그래프 및 데이터를 보정하기 위한 보정계수를 나타낸 것이다. 보정 계수는 지자기 센서(430)가 전자 장치(400)에 장착되었을 때 전자 장치(400)의 다른 자성체에 의해서 지자기 센서(430)의 데이터가 왜곡되는 것을 보완하기 위해 적용될 수 있다. 프로세서(예: 도 4의 프로세서(440))는 전자 장치(400)를 작동시킨 상태에서 지자기 센서(430)에 일정한 자력을 인가할 수 있다. 이 때 프로세서(440)는 지자기 센서(430)에 3차원으로 자력을 인가해서 자력이 구의 형태가 되도록 제어할 수 있다. 이후 프로세서(440)는 지자기 센서(430)의 데이터를 이용하여 얼마나 데이터가 왜곡되어 있는지 확인할 수 있다. 예를 들어, 지자기 센서(430)에 100uT의 자력을 인가했는데 지자지 센서(430) 상으로 측정된 특정 부분에서 50uT의 출력이 나왔다면 프로세서(440)는 특정 부분에 보정계수 2를 곱해줘서 출력이 100uT가 나오도록 보정할 수 있다. 일 실시예에 따르면, 보정계수는 휠 회전부의 회전 각도 또는 상기 지자기 센서의 자력 변화값의 평균값에 기반하여 결정될 수 있다. 이러한 과정을 거쳐 지자기 센서(430)는 전자 장치(400) 내부에 포함된 자성체에 의한 왜곡 없이 지구 자기장 값을 인식할 수 있다.Table 820 shows correction coefficients for correcting the aforementioned distorted graphs and data. The correction coefficient may be applied to compensate for distortion of data of the geomagnetic sensor 430 by other magnetic materials of the electronic device 400 when the geomagnetic sensor 430 is mounted on the electronic device 400 . A processor (eg, the processor 440 of FIG. 4 ) may apply a constant magnetic force to the geomagnetic sensor 430 while the electronic device 400 is operating. At this time, the processor 440 may apply magnetic force to the geomagnetic sensor 430 in three dimensions and control the magnetic force to be in the form of a sphere. Thereafter, the processor 440 may determine how distorted the data is by using the data of the geomagnetic sensor 430 . For example, if a magnetic force of 100uT is applied to the geomagnetic sensor 430 and an output of 50uT is output at a specific part measured on the geomagnetic sensor 430, the processor 440 multiplies the specific part by a correction factor of 2 to output the output. It can be calibrated so that this 100uT comes out. According to an embodiment, the correction coefficient may be determined based on a rotation angle of the wheel rotation unit or an average value of magnetic force change values of the geomagnetic sensor. Through this process, the geomagnetic sensor 430 can recognize the value of the earth's magnetic field without being distorted by the magnetic material included in the electronic device 400 .

지자기 센서(430)는 x,y,z 축을 갖는 3축센서를 포함할 수 있다. 이 경우 보정 계수는 3x3 벡터 형태를 포함할 수 있으며, 보정 계수의 값은 지자기 센서(430) 및 홀 센서(410)의 위치에 따라 다르게 결정될 수 있다. 또한, 지자기 센서(430)는 x,y 축을 갖는 2축센서를 포함할 수 있으며, 이 경우 보정 계수는 2x2 벡터 형태를 포함할 수 있다. 보정 계수는 지자기 센서(430)의 측정 데이터 값에 곱해질 수 있으며, 표 810의 그래프에 표 820의 보정 계수를 곱하여 표 830의 그래프를 얻을 수 있다. The geomagnetic sensor 430 may include a three-axis sensor having x, y, and z axes. In this case, the correction coefficient may include a 3x3 vector form, and the value of the correction coefficient may be determined differently depending on the positions of the geomagnetic sensor 430 and the hall sensor 410 . Also, the geomagnetic sensor 430 may include a 2-axis sensor having x and y axes, and in this case, the correction coefficient may include a 2x2 vector form. The correction coefficient may be multiplied by the measured data value of the geomagnetic sensor 430, and the graph of Table 830 may be obtained by multiplying the graph of Table 810 by the correction coefficient of Table 820.

표 830에 따르면, 프로세서(440)는 지자기 센서(430)의 측정 데이터 값에 보정 계수를 곱하여 왜곡된 형태가 아닌 정원의 그래프를 나타낼 수 있다.According to Table 830, the processor 440 may display a graph of a garden that is not distorted by multiplying the measurement data value of the geomagnetic sensor 430 by a correction coefficient.

도 8b는 다양한 실시예들에 따른 자석의 자력 분포를 나타낸 것이다. 자석(420)의 자력은 전자 장치(400)의 개발 당시에 정해질 수 있다. 표 840에 따르면, x축은 특정한 설정값을 기준으로 자력의 정도를 나타낸 것이다. 예를 들어, Typ+25% 지점의 경우 설정값을 기준으로 25% 정도 자력이 더 강하게 측정되는 자석을 의미할 수 있다. Typ-25% 지점에 위치하는 자석의 경우 설정값을 기준으로 25% 정도 자력이 덜 측정되는 자석을 의미할 수 있다. y축은 해당 지점에 포함될 수 있는 자석의 수를 나타낸 것이다. 그래프 842는 설정값(Typ)을 기준으로 형성된 이상적인 정규 분포 곡선을 의미할 수 있다. 이 그래프 842에 따르면 설정값(Typ)을 갖는 자석의 수가 가장 많으며, 설정값(Typ)을 기준으로 자석이 분포될 수 있다. 그래프 841은 실제적인 자력의 분포를 나타낸 것으로 기준값(Typ)에 해당하는 자력을 갖는 자석의 수가 가장 많으며, 25% 내에서 정규 분포에 가깝게 그래프가 형성되는 것을 확인할 수 있다. 즉, 그래프 841에 따르면 기본적인 자력의 분포는 25% 내외로 조정될 수 있다. 8B illustrates a magnetic force distribution of a magnet according to various embodiments. The magnetic force of the magnet 420 may be determined at the time of development of the electronic device 400 . According to Table 840, the x-axis shows the degree of magnetic force based on a specific set value. For example, in the case of the Typ+25% point, it may mean a magnet whose magnetic force is measured stronger by about 25% based on the set value. In the case of a magnet located at the Typ-25% point, it may mean a magnet whose magnetic force is measured less by 25% based on the set value. The y-axis represents the number of magnets that can be included at that point. The graph 842 may mean an ideal normal distribution curve formed based on the set value (Typ). According to the graph 842, the number of magnets having the set value (Typ) is the highest, and the magnets may be distributed based on the set value (Typ). Graph 841 shows the distribution of actual magnetic force, and it can be seen that the number of magnets having magnetic force corresponding to the reference value (Typ) is the highest, and the graph is formed close to normal distribution within 25%. That is, according to the graph 841, the basic magnetic force distribution can be adjusted to around 25%.

비교 실시예에 따르면, 프로세서(440)는 지자기 센서의 데이터가 움직이는 자석의 영향으로 오차가 발생하더라도 자력 분포의 편차로 인해 일정한 값으로 오차를 보정하기 어려울 수 있다. 본 문서의 다양한 실시예들에 따르면, 전자 장치(400) 내에 홀센서(410) 및 지자기 센서(430)가 일정하게 배치되고, 프로세서(440)는 휠 회전부의 회전 각도에 따른 지자기 센서의 자력값을 테이블로 생성하여 메모리(예: 도 4의 메모리(450))에 저장할 수 있다. 이러한 데이터 및 보정 계수에 기반하여 프로세서(440)는 표 840처럼 자력의 편차가 존재함에도 각도의 변화에 대한 조건에 따라 지자기 센서(430) 데이터를 보정할 수 있다. 이하에서는 데이터 보정을 위한 테이블 및 보정 과정에 대해 설명될 것이다.According to the comparative embodiment, even if an error occurs in the data of the geomagnetic sensor due to the influence of a moving magnet, it may be difficult for the processor 440 to correct the error to a constant value due to the deviation of the magnetic force distribution. According to various embodiments of the present document, the hall sensor 410 and the geomagnetic sensor 430 are regularly disposed in the electronic device 400, and the processor 440 determines the magnetic force value of the geomagnetic sensor according to the rotation angle of the wheel rotation unit. It can be created as a table and stored in a memory (eg, the memory 450 of FIG. 4). Based on these data and correction coefficients, the processor 440 may correct the data of the geomagnetic sensor 430 according to the condition for the angle change even though there is a deviation in magnetic force as shown in Table 840. Hereinafter, a table for data correction and a correction process will be described.

도 9는 다양한 실시예들에 따른 전자 장치의 자력 측정 초기화 과정을 나타낸 것이다.9 illustrates a magnetism measurement initialization process of an electronic device according to various embodiments.

그림 910에 따르면, 전자 장치(예: 도 4의 전자 장치(400))는 지자기 센서(예: 도 4의 지자기 센서(430))의 자력 측정에 대한 교정(calibration)을 진행할 수 있다. 교정은 전자 장치(400)의 생산 과정에서 기본적으로 설정될 수 있으며, 전자 장치(400) 사용 중 사용자에 의해 수행될 수도 있다. 생산자 또는 사용자는 Magnetic cal 메뉴를 터치하여 자력 측정에 대한 교정(calibration)을 진행할 수 있다.According to Figure 910, an electronic device (eg, the electronic device 400 of FIG. 4) may perform calibration for measuring magnetism of a geomagnetic sensor (eg, the geomagnetic sensor 430 of FIG. 4). Calibration may be basically set during the production process of the electronic device 400, and may be performed by a user while using the electronic device 400. A producer or user can touch the Magnetic cal menu to perform calibration for magnetic force measurement.

이후 그림 920, 그림 930에 따르면, 프로세서(예: 도 4의 프로세서(440))는 사용자의 교정에 대한 터치 입력을 수신하고 교정을 진행할 수 있다. 그림 930에서처럼 휠 회전부를 360도 회전 시키면서 각도 별로 자력의 변화를 측정할 수 있다. 프로세서(440)는 측정이 진행된 각도는 다른 색으로 표시하여 디스플레이 상에 출력할 수 있다.Subsequently, according to Figures 920 and 930, a processor (eg, the processor 440 of FIG. 4) may receive a user's touch input for calibration and perform calibration. As shown in Figure 930, the change in magnetic force can be measured for each angle while rotating the wheel rotating part 360 degrees. The processor 440 may output the measured angle on a display by displaying it in a different color.

도 10a 및 도 10b는 다양한 실시예에 따른 지자기 센서의 측정 데이터 값 및 지자기 센서 데이터 변화량의 평균값을 구하기 위한 자료를 나타낸 것이다.10A and 10B show data for obtaining an average value of a measured data value of a geomagnetic sensor and a variation amount of geomagnetic sensor data according to various embodiments.

도 10a에 따르면, 메모리(예: 도 4의 메모리(450))는 교정(calibration) 과정을 통해 휠 회전부의 각 회전 각도에 따른 지자기 센서(예: 도 4의 지자기 센서(430))의 자력 값을 저장할 수 있다. 휠 회전부는 15도 마다 1칸씩 움직이도록 되어 있어, 도 10a의 테이블(1010)에는 15도 간격으로 360도까지 24개의 데이터가 저장될 수 있다. 각 데이터는 홀 센서(예: 도 4의 홀 센서(410)) 및 지자기 센서(430)의 데이터로 분류될 수 있다. 또한 각 데이터는 센서 별로 x,y,z 축으로 구분될 수 있다. 홀 센서(410)의 개수가 하나가 아닌 복수인 경우 그 개수만큼 도 10a의 테이블(1010)이 형성될 수 있으나, 각도 변화는 그 중에서 하나의 테이블만을 기준으로 하여 계산될 수 있다.Referring to FIG. 10A , a memory (eg, the memory 450 of FIG. 4 ) is a magnetic force value of a geomagnetic sensor (eg, the geomagnetic sensor 430 of FIG. 4 ) according to each rotation angle of a wheel rotation unit through a calibration process. can be saved. Since the wheel rotating unit moves by one square every 15 degrees, 24 pieces of data up to 360 degrees at 15-degree intervals can be stored in the table 1010 of FIG. 10A. Each data may be classified into data of a Hall sensor (eg, the Hall sensor 410 of FIG. 4 ) and a geomagnetic sensor 430 . In addition, each data may be divided into x, y, and z axes for each sensor. When the number of Hall sensors 410 is not one, but plural, tables 1010 of FIG. 10A may be formed as many as the number, but the angle change may be calculated based on only one table among them.

1011 부분은 홀 센서(410)에서 측정된 지자기 데이터를 축 별로 나타낸 것이다. 지자기 데이터는 자력 값을 처리하여 수치로 나타내거나 각도로 변환한 값을 의미할 수 있다. 자력 값은 자석에 의해 센서에 영향을 주는 물리적인 자력 값 또는 자력의 변화 값을 의미할 수 있다. 자력 값의 단위는 mT 또는 uT를 의미할 수 있으며, 본 테이블(1010)에서는 uT를 의미할 수 있다. 1013 부분은 지자기 센서(430)에서 측정된 지자기 데이터를 축 별로 나타낸 것이다. 표 1010의 세로축은 각도 변화 값을 나타낸 것이고, 가로축은 세로축의 각도 변화에 따른 지자기 데이터의 값을 나타낸 것이다. 세로 축의 각도 변화는 15도 단위로 기록될 수 있으나 이에 한정된 것은 아니다.Part 1011 indicates geomagnetic data measured by the Hall sensor 410 for each axis. The geomagnetic data may refer to a value obtained by processing a magnetic force value and expressing it as a numerical value or converting it into an angle. The magnetic force value may refer to a physical magnetic force value or a change value of magnetic force that affects the sensor by a magnet. The unit of the magnetic force value may mean mT or uT, and in this table 1010, it may mean uT. Part 1013 indicates geomagnetic data measured by the geomagnetic sensor 430 for each axis. The vertical axis of Table 1010 represents the angle change value, and the horizontal axis represents the value of geomagnetic data according to the angle change of the vertical axis. The angle change of the vertical axis may be recorded in units of 15 degrees, but is not limited thereto.

테이블(1010)은 회전 각도, 홀 센서(410) 및 지자기 센서(430)의 축 별로 출력된 자력 값을 포함할 수 있다. 다만 자력 값의 변화량은 자석(예: 도 4의 자석(420))이 갖고 있는 편차마다 상이할 수 있다. 자석(420)의 편차는 앞선 도 8b에서 살펴본 것과 같으며 프로세서(440)는 이러한 편차로 인하여 자력 변화량이 상이하여 일정한 보상값을 적용하기 어려울 수 있다.The table 1010 may include rotation angles, magnetic force values output for each axis of the Hall sensor 410 and the geomagnetic sensor 430 . However, the change amount of the magnetic force value may be different for each deviation of the magnet (eg, the magnet 420 of FIG. 4 ). The deviation of the magnet 420 is the same as that of FIG. 8B, and the processor 440 may have difficulty in applying a constant compensation value due to the variation in magnetic force due to the deviation.

도 10b의 테이블(1020)은 지자기 센서에서 측정된 자력 값의 정확한 보상을 위해 각도 변화의 조건에 따른 지자기 센서에서 측정된 자력 변화값의 평균값을 나타낸 것이다. 예를 들어, 휠 회전부가 45도 회전하는 경우 0도에서 45도에 이르렀을 때 자력 변화값은 90도에서 135도에 이르렀을 때의 자력 변화값과 상이할 수 있다. 홀 센서(410)는 자석(420)의 움직임에 따라 회전 각도를 측정할 수 있으나, 회전 각도의 변화량이 45도로 같다고 하더라도 앞서 언급한 것처럼 자력 변화값은 상이할 수 있다. 이로 인해 프로세서(440)는 측정된 자력 값에 같은 보상값을 적용하더라도 정확한 보상을 하기 어려울 수 있다. Table 1020 of FIG. 10B shows average values of magnetic force change values measured by the geomagnetic sensor according to angle change conditions in order to accurately compensate for the magnetic force value measured by the geomagnetic sensor. For example, when the wheel rotation part rotates 45 degrees, the magnetic force change value when the rotation angle reaches 45 degrees from 0 degrees may be different from the change value of magnetic force when the rotation angle reaches 90 degrees to 135 degrees. The Hall sensor 410 may measure the rotation angle according to the movement of the magnet 420, but even if the change amount of the rotation angle is the same as 45 degrees, as mentioned above, the change value of the magnetic force may be different. Because of this, it may be difficult for the processor 440 to accurately compensate even if the same compensation value is applied to the measured magnetic force value.

이를 개선하기 위하여 프로세서(440)는 각도 변화에 대한 조건에 따라 평균값으로 보상할 수 있다. 프로세서(440)는 같은 변화가 발생하는 각도의 자력 변화값을 모두 구하고, 그 평균값을 구하여 자력 값에 보상할 수 있다. 예를 들어 휠 회전부의 회전 각도가 45도인 경우 프로세서(440)는 (0도, 45도, 90도??)(1021) / (15도, 60도, 105도??)(1023)/ (30도, 75도, 120도??)(1025) 의 자력 변화값을 구하고 평균값을 계산하여 회전 각도 45도에 대한 자력 변화값으로 정의할 수 있다. 프로세서(440)는 이렇게 계산된 자력 변화값의 평균값을 메모리(450) 상에 저장할 수 있다.In order to improve this, the processor 440 may compensate with an average value according to conditions for angle change. The processor 440 may obtain all magnetic force change values of angles at which the same change occurs, obtain an average value thereof, and compensate the magnetic force value. For example, if the rotation angle of the wheel rotating part is 45 degrees, the processor 440 calculates (0 degrees, 45 degrees, 90 degrees??) (1021) / (15 degrees, 60 degrees, 105 degrees??) (1023) / ( 30 degrees, 75 degrees, 120 degrees??) (1025) obtains the magnetic force change value and calculates the average value, which can be defined as the magnetic force change value for the rotation angle of 45 degrees. The processor 440 may store the average value of the calculated magnetic force change values in the memory 450 .

도 11은 다양한 실시예들에 따른 전자 장치의 지자기 센서 보정 방법의 흐름도를 나타낸 것이다.11 is a flowchart of a method for calibrating a geomagnetic sensor of an electronic device according to various embodiments.

도시된 방법(1100)은 앞서 도 1 내지 도 10을 통해 설명한 전자 장치(예: 도 4의 전자 장치(400))에 의해 실행될 수 있으며, 앞서 설명한 바 있는 기술적 특징은 이하에서 생략하기로 한다.The illustrated method 1100 may be executed by the electronic device (eg, the electronic device 400 of FIG. 4 ) previously described with reference to FIGS. 1 to 10 , and technical features described above will be omitted below.

동작 1110에서, 프로세서(도 4의 프로세서(440))는 지자기 센서(예: 도 4의 지자기 센서(430))를 이용하여 자기력 변화값을 측정하고 이를 기록한 테이블을 메모리(예: 도 4의 메모리(450))에 저장할 수 있다. 자기력 변화값은 휠 회전부의 회전 각도에 따라 결정될 수 있다. 휠 회전부 상의 적어도 하나 이상의 자석(예: 도 4의 자석(420))은 휠 회전부의 회전에 따라 움직일 수 있으며, 지자기 센서(430)에서 측정되는 자력 값을 변화시킬 수 있다.In operation 1110, the processor (processor 440 of FIG. 4 ) measures the change value of magnetic force using a geomagnetic sensor (eg, geomagnetic sensor 430 of FIG. 4 ) and stores a table recording the value in a memory (eg, memory of FIG. 4 ). (450)). The magnetic force change value may be determined according to the rotation angle of the wheel rotation unit. At least one magnet (eg, the magnet 420 of FIG. 4 ) on the wheel rotation unit may move according to the rotation of the wheel rotation unit and may change a magnetic force value measured by the geomagnetic sensor 430 .

동작 1115에서 프로세서(440)는 휠 회전부의 회전 각도에 따른 자기력 변화값에 대하여 각도 변화에 대한 조건에 따라 평균값을 측정하고 이를 기록한 테이블을 메모리(450) 상에 저장할 수 있다. 자기력 변화값은 자석(420)이 갖고 있는 편차마다 상이할 수 있어서 각각의 변화값에서 대한 정확한 자기장 왜곡 보상이 어려울 수 있다. 예를 들어, 0도에서 45도로 회전한 경우와 30도에서 75도로 회전한 경우 회전 각도는 45도로 동일하지만 각각의 자기력 변화값은 상이할 수 있다. 프로세서(440)는 이러한 경우 전자와 후자의 자기력 변화값의 평균값을 계산하여 그 값을 기준으로 자기장 왜곡 보상을 실행할 수 있다. 이러한 평균값 계산에 대해서는 앞선 도 10b의 테이블 1020에서 설명한 바 있다. In operation 1115, the processor 440 may measure an average value of the magnetic force change value according to the rotation angle of the wheel rotation unit according to the angle change condition and store a table in which the average value is recorded in the memory 450. Since the magnetic force change value may be different for each deviation of the magnet 420, it may be difficult to accurately compensate for magnetic field distortion at each change value. For example, when rotating from 0 degrees to 45 degrees and when rotating from 30 degrees to 75 degrees, the rotation angle is the same as 45 degrees, but each magnetic force change value may be different. In this case, the processor 440 may calculate an average value of the former and latter magnetic force change values and perform magnetic field distortion compensation based on the average value. This average value calculation has been previously described in Table 1020 of FIG. 10B.

동작 1110 및 동작 1115는 전자 장치(400)의 생산 과정에서 수행될 수 있으며 사용자에 의해서 자기력 값에 대한 교정(calibration)이 수행될 수 있다. 동작 1110에서 메모리(450)에 저장되는 도 10a의 테이블(1010)이 생성될 수 있으며, 동작 1115에서 메모리(450)에 저장되는 도 10b의 테이블(1020)이 생성될 수 있다. 각 테이블(1010 내지 1020)의 생성 과정에 대해서는 앞선 도 9 내지 도 10b에서 설명한 바 있다. 프로세서(440)는 메모리(450)에 저장된 각 테이블(1010 내지 1020)을 이용하여 이후 휠 회전부의 각도를 확인하고 지자기 센서(430)의 지자기 데이터 값을 보상할 수 있다.Operations 1110 and 1115 may be performed during the production process of the electronic device 400, and a user may calibrate the magnetic force value. In operation 1110, the table 1010 of FIG. 10A stored in the memory 450 may be created, and in operation 1115, the table 1020 of FIG. 10B stored in the memory 450 may be created. The creation process of each table 1010 to 1020 has been described above with reference to FIGS. 9 to 10B. The processor 440 may then use the tables 1010 to 1020 stored in the memory 450 to check the angle of the rotational wheel and compensate the geomagnetic data value of the geomagnetic sensor 430 .

동작 1120에서 프로세서(440)는 휠 회전부가 회전하는 지 감지할 수 있다. 프로세서(440)는 적어도 하나의 홀 센서(예: 도 4의 홀 센서(410))를 이용하여 휠 회전부 상의 자석(420)의 움직임을 감지할 수 있다. 프로세서(440)는 휠 회전부가 회전하지 않는다고 판단되는 경우, 동작 1125에서 지자기 센서(430)에서 데이터를 출력하도록 제어할 수 있다. 휠 회전부가 회전하지 않는 경우 자석(420)의 움직임이 지자기 센서(430)에 영향을 주지 않을 수 있어, 지자기 센서(430)는 정확한 자기장 측정 및 방위각 표시를 할 수 있다.In operation 1120, the processor 440 may detect whether the wheel rotation unit rotates. The processor 440 may detect the movement of the magnet 420 on the rotating part of the wheel using at least one Hall sensor (eg, the Hall sensor 410 of FIG. 4 ). When it is determined that the wheel rotation unit does not rotate, the processor 440 may control the geomagnetic sensor 430 to output data in operation 1125 . When the wheel rotating part does not rotate, the movement of the magnet 420 may not affect the geomagnetic sensor 430, so that the geomagnetic sensor 430 can accurately measure the magnetic field and display the azimuth angle.

프로세서(440)는 휠 회전부가 회전한다고 판단되는 경우, 동작 1130에서 홀 센서를 이용하여 휠 회전부의 회전 각도를 확인할 수 있다. 앞선 도 5에서 설명된 것처럼, 전자 장치(400)는 휠 회전부에 같은 간격으로 이격되어 배치된 적어도 하나 이상의 자석(420)및 휠 회전부의 하단에 배치된 적어도 하나 이상의 홀 센서(410)를 포함할 수 있다. 홀 센서(410)는 휠 회전부의 회전에 따른 자석(420)의 움직임을 감지할 수 있으며, 이를 이용하여 휠 회전부의 회전 각도를 계산할 수 있다. 휠 회전부의 회전 각도는 홀 센서(410)를 통해 이뤄질 수 있으며, 홀 센서(410)는 전자 장치(400)의 제조 과정부터 정해진 양식(예: 알고리즘)에 따라 회전 각도를 계산 또는 측정할 수 있다. 프로세서(440)는 이러한 홀 센서(410)를 이용하여 휠 회전부의 회전 각도를 확인할 수 있다. 프로세서(440)는 홀 센서(410)를 이용하여 휠 회전부의 각도 변화를 확인하고, 메모리(450)에 저장된 휠 회전 각도에 따른 자기장 변화의 데이터가 저장된 테이블(1010)을 이용하여 자기장 변화 값을 확인할 수 있다.When it is determined that the wheel rotation unit rotates, the processor 440 may check the rotation angle of the wheel rotation unit using a Hall sensor in operation 1130 . As described above with reference to FIG. 5 , the electronic device 400 may include at least one magnet 420 spaced apart from the wheel rotation unit at equal intervals and at least one hall sensor 410 disposed at the lower end of the wheel rotation unit. can The hall sensor 410 can detect the movement of the magnet 420 according to the rotation of the wheel rotation unit, and can calculate the rotation angle of the wheel rotation unit using this. The rotation angle of the wheel rotation unit can be achieved through the Hall sensor 410, and the Hall sensor 410 can calculate or measure the rotation angle according to a form (eg, algorithm) determined from the manufacturing process of the electronic device 400. . The processor 440 may check the rotation angle of the wheel rotating unit using the Hall sensor 410 . The processor 440 checks the angle change of the wheel rotation unit using the Hall sensor 410 and calculates the magnetic field change value using the table 1010 in which data of the magnetic field change according to the wheel rotation angle stored in the memory 450 is stored. You can check.

프로세서(440)는 휠 회전 각도를 확인하고 동작 1140에서 메모리(450)에 저장된 휠 회전 각도에 따른 자기장 변화의 평균값 데이터가 저장된 테이블(1020)을 불러올 수 있다. 동작 1150에서 프로세서(440)는 호출된 데이터 값을 지자기 센서(430)의 데이터 값에 가감하여 보상할 수 있다. 예를 들어, 휠 회전부의 회전이 시계 방향 또는 반시계 방향으로 이루어져 지자기 센서(430)를 기준으로 자석(420)이 가까워지는 경우, 지자기 센서(430)에서 측정되는 자력 값이 커질 수 있다. 이 경우 프로세서(440)는 호출된 데이터 값을 지자기 센서(430)의 데이터 값에 감산하여 보상할 수 있다. 반대로 휠 회전부의 회전에 따라 지자기 센서(430)를 기준으로 자석(420)이 멀어지는 경우, 프로세서(440)는 호출된 데이터 값을 지자기 센서(430)의 데이터 값에 가산하여 보상할 수 있다. 지자기 센서(430)는 회전하는 자석(420)의 영향으로 정확하지 않은 데이터(예: 지자기 센서(430)에서 측정된 자력 값) 및 방위각을 표시할 수 있는데, 프로세서(440)는 이러한 보상 과정을 통하여 정확한 데이터 및 방위각을 획득할 수 있다. 이후 동작 1155에서 프로세서(440)는 지자기 센서를 이용하여 보상된 데이터를 출력하도록 제어할 수 있다.The processor 440 may check the rotation angle of the wheel and, in operation 1140, may load the table 1020 in which data of average values of changes in the magnetic field according to the rotation angle of the wheel stored in the memory 450 are stored. In operation 1150, the processor 440 may compensate by adding or subtracting the called data value to the data value of the geomagnetic sensor 430. For example, when the rotation of the wheel rotator is clockwise or counterclockwise so that the magnet 420 approaches the geomagnetic sensor 430, the magnetic force value measured by the geomagnetic sensor 430 may increase. In this case, the processor 440 may compensate by subtracting the called data value from the data value of the geomagnetic sensor 430 . Conversely, when the magnet 420 moves away from the geomagnetic sensor 430 as the wheel rotation unit rotates, the processor 440 may compensate by adding the called data value to the data value of the geomagnetic sensor 430. The geomagnetic sensor 430 may display inaccurate data (eg, a magnetic force value measured by the geomagnetic sensor 430) and an azimuth due to the influence of the rotating magnet 420, and the processor 440 performs this compensation process. Through this, accurate data and azimuth can be acquired. Then, in operation 1155, the processor 440 may control to output compensated data using the geomagnetic sensor.

다양한 실시예들에 따르면, 전자 장치(400)의 지자기 센서(430) 보정 방법은 홀 센서(410)를 이용하여 휠 회전부의 회전 여부 및 회전 각도를 감지하는 동작, 휠 회전부의 회전 각도에 대응하는 지자기 센서(430)의 자력 변화값의 평균값을 확인하는 동작 및 확인된 자력 변화값의 평균값을 기반으로 전자 장치(400)의 회전 시 발생하는 지자기 센서(430) 데이터의 왜곡에 대해 보정하는 동작을 포함할 수 있다.According to various embodiments, a method for calibrating the geomagnetic sensor 430 of the electronic device 400 includes an operation of detecting rotation of a wheel rotation unit and a rotation angle using the Hall sensor 410, and a method corresponding to the rotation angle of the wheel rotation unit. An operation of checking the average value of the change in magnetic force of the geomagnetic sensor 430 and an operation of correcting for distortion of the data of the geomagnetic sensor 430 that occurs when the electronic device 400 rotates based on the average value of the change value of the checked magnetic force. can include

일 실시예에 따르면, 휠 회전부의 회전 각도에 대응하는 지자기 센서(430)의 자력 변화값의 평균값을 확인하는 동작은 메모리(450)에 저장된 휠 회전부의 회전 각도에 따른 지자기 센서(430)의 자력 변화값을 기록한 데이터 및 휠 회전부의 회전 각도 변화에 따른 지자기 센서(430)의 자력 변화값의 평균값을 기록한 데이터를 확인하는 동작을 더 포함할 수 있다.According to an embodiment, the operation of checking the average value of magnetic force change values of the geomagnetic sensor 430 corresponding to the rotation angle of the wheel rotation unit is the magnetic force of the geomagnetic sensor 430 according to the rotation angle of the wheel rotation unit stored in the memory 450. An operation of checking the data recorded with the change value and the data recorded with the average value of the change value of the magnetic force of the geomagnetic sensor 430 according to the change in the rotational angle of the wheel rotating unit may be further included.

일 실시예에 따르면, 확인된 자력 변화값의 평균값을 기반으로 전자 장치(400)의 회전 시 발생하는 지자기 센서(430) 데이터의 왜곡에 대해 보정하는 동작은 지자기 센서(430)의 데이터 값에 보정 계수를 곱하여 지자기 센서(430)의 데이터 값을 보정하는 동작을 포함하며, 보정 계수는 지자기 센서(430)의 자력 변화값의 평균값에 기반하여 결정될 수 있다.According to an embodiment, an operation of correcting distortion of data of the geomagnetic sensor 430 generated when the electronic device 400 rotates based on an average value of the checked magnetic force change values is corrected to the data value of the geomagnetic sensor 430. An operation of correcting the data value of the geomagnetic sensor 430 by multiplying the coefficient is included, and the correction coefficient may be determined based on an average value of change values of the magnetic force of the geomagnetic sensor 430 .

일 실시예에 따르면, 전자 장치(400)의 지자기 센서(430) 보정 방법은 보정된 지자기 센서(430)의 데이터 값에 기반하여 전자 장치(400)의 방위각을 계산하는 동작을 더 포함할 수 있다.According to an embodiment, the method of calibrating the geomagnetic sensor 430 of the electronic device 400 may further include an operation of calculating an azimuth of the electronic device 400 based on the calibrated data value of the geomagnetic sensor 430. .

일 실시예에 따르면, 전자 장치(400)의 지자기 센서(430) 보정 방법은 보정된 지자기 센서(430)의 데이터 값에 기반하여 계산된 방위각을 디스플레이(미도시)에 출력하는 동작을 더 포함할 수 있다.According to an embodiment, the method of calibrating the geomagnetic sensor 430 of the electronic device 400 may further include an operation of outputting the calculated azimuth on a display (not shown) based on the calibrated data value of the geomagnetic sensor 430. can

일 실시예에 따르면, 확인된 자력 변화값의 평균값을 기반으로 전자 장치9400)의 회전 시 발생하는 지자기 센서 데이터의 왜곡에 대해 보정하는 동작은 휠 회전부에서 회전이 감지되지 않는 경우 미리 설정된 디폴트 값으로 지자기 센서(430)의 측정값을 보정하는 동작을 포함할 수 있다.According to an embodiment, an operation of correcting for distortion of geomagnetic sensor data generated when the electronic device 9400 rotates based on the average value of the checked magnetic force change values is set to a preset default value when rotation is not detected in the wheel rotation unit. An operation of correcting the measurement value of the geomagnetic sensor 430 may be included.

일 실시예에 따르면, 보정 계수는 휠 회전부의 회전 각도에 대응하여 결정될 수 있다.According to one embodiment, the correction coefficient may be determined corresponding to a rotation angle of the wheel rotating unit.

Claims (20)

전자 장치에 있어서,
하우징;
상기 하우징의 휠 회전부에 일정한 간격으로 이격되게 배치되는 적어도 하나 이상의 자석;
상기 하우징의 휠 회전부의 하부 면에 일정한 간격으로 배치되어 상기 자석의 자력 변화 및 상기 휠 회전부의 위치 변화를 측정하는 적어도 하나 이상의 홀 센서(hall sensor);
상기 하우징의 하부면에 배치되어 지구 자기장을 측정하는 지자기 센서(magnetic sensor);
상기 휠 회전부의 회전 각도에 따른 상기 지자기 센서의 자력 변화값 및/또는 상기 지자기 센서의 자력 변화값의 평균값을 기재한 테이블을 저장하는 메모리;
상기 홀 센서, 상기 지자기 센서 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고,
상기 프로세서는
상기 홀 센서를 이용하여 상기 휠 회전부의 회전 여부 및 회전 각도를 감지하고,
상기 휠 회전부의 회전 각도에 대응하는 자력 변화값의 평균값을 상기 테이블에서 확인하고,
상기 확인된 자력 변화값의 평균값을 기반으로 상기 지자기 센서의 측정 데이터 값을 보정하도록 제어하는 전자 장치.
In electronic devices,
housing;
at least one or more magnets spaced apart from each other at regular intervals on the wheel rotation part of the housing;
at least one hall sensor disposed on the lower surface of the wheel rotation unit of the housing at regular intervals to measure a change in magnetic force of the magnet and a position change of the wheel rotation unit;
a geomagnetic sensor disposed on a lower surface of the housing to measure the earth's magnetic field;
a memory for storing a table in which magnetic force change values of the geomagnetic sensor and/or average values of magnetic force change values of the geomagnetic sensor according to rotation angles of the wheel rotation unit are described;
a processor operatively connected with the Hall sensor, the geomagnetic sensor, and the memory;
The processor
Detect whether or not the wheel rotation part rotates and the rotation angle using the Hall sensor;
Check the average value of the magnetic force change value corresponding to the rotation angle of the wheel rotation unit in the table,
An electronic device controlling to correct the measured data value of the geomagnetic sensor based on the average value of the checked magnetic force change value.
제 1항에 있어서,
상기 프로세서는
상기 홀 센서가 측정한 데이터에 기반하여 상기 휠 회전부의 회전 시 발생하는 상기 지자기 센서 데이터의 왜곡에 대한 보정을 수행하는 전자 장치.
According to claim 1,
The processor
An electronic device that corrects distortion of the geomagnetic sensor data generated when the wheel rotating unit rotates based on the data measured by the Hall sensor.
제 1항에 있어서,
상기 메모리는
상기 휠 회전부의 회전 각도에 따른 상기 지자기 센서의 자력 변화값을 기록한 데이터;및
상기 휠 회전부의 회전 각도 변화에 따른 상기 지자기 센서의 자력 변화값의 평균값을 기록한 데이터를 포함하는 전자 장치.
According to claim 1,
the memory is
Data recording the magnetic force change value of the geomagnetic sensor according to the rotation angle of the wheel rotation unit; and
The electronic device comprising data recording an average value of magnetic force change values of the geomagnetic sensor according to a change in rotation angle of the wheel rotation unit.
제 3항에 있어서,
상기 프로세서는
상기 지자기 센서의 자력 변화값의 평균값을 기록한 데이터에 기반하여 상기 지자기 센서의 데이터 값을 보정하는 전자 장치.
According to claim 3,
The processor
An electronic device that corrects a data value of the geomagnetic sensor based on data recorded as an average value of change values of magnetic force of the geomagnetic sensor.
제 4항에 있어서,
상기 프로세서는
상기 지자기 센서의 데이터 값에 보정 계수를 곱하여 상기 지자기 센서의 데이터 값을 보정하며,
상기 보정 계수는
상기 지자기 센서의 자력 변화값의 평균값을 기록한 데이터에 기반하여 결정되는 전자 장치.
According to claim 4,
The processor
Correcting the data value of the geomagnetic sensor by multiplying the data value of the geomagnetic sensor by a correction coefficient;
The correction factor is
An electronic device determined based on data recorded with an average value of magnetic force change values of the geomagnetic sensor.
제 4항에 있어서,
상기 프로세서는
보정된 상기 지자기 센서의 데이터 값에 기반하여 상기 전자 장치의 방위각을 계산하는 전자 장치.
According to claim 4,
The processor
An electronic device that calculates an azimuth angle of the electronic device based on the calibrated data value of the geomagnetic sensor.
제 4항에 있어서,
디스플레이를 더 포함하고,
상기 프로세서는
상기 지자기 센서의 자력 변화값의 평균값을 기록한 데이터에 기반하여 보정된 상기 지자기 센서의 데이터 값을 상기 디스플레이에 출력하도록 제어하는 전자 장치.
According to claim 4,
Including more displays,
The processor
An electronic device that controls to output a data value of the geomagnetic sensor corrected based on data recorded as an average value of change values of magnetic force of the geomagnetic sensor to the display.
제 6항에 있어서,
디스플레이를 더 포함하고,
상기 프로세서는 보정된 상기 지자기 센서의 데이터 값에 기반하여 계산된 방위각을 상기 디스플레이에 출력하도록 제어하는 전자 장치.
According to claim 6,
Including more displays,
The electronic device of claim 1 , wherein the processor controls the display to output the calculated azimuth angle based on the calibrated data value of the geomagnetic sensor.
제 1항에 있어서,
상기 적어도 하나 이상의 자석은
상기 하우징의 휠 회전부에 일정한 제1간격으로 배치되어 상기 휠 회전부의 움직임에 대응하여 함께 움직일 수 있고,
상기 홀 센서는
상기 적어도 하나 이상의 자석과는 z축 상으로 이격되게 배치되어 상기 휠 회전부의 움직임에 따른 상기 적어도 하나 이상의 자석의 움직임을 감지하는 전자 장치.
According to claim 1,
The at least one magnet is
It is disposed at a predetermined first interval in the wheel rotation part of the housing and can move together in response to the movement of the wheel rotation part,
The hall sensor
An electronic device configured to be spaced apart from the at least one magnet on a z-axis to detect a movement of the at least one magnet according to a movement of the wheel rotation unit.
제 1항에 있어서,
상기 적어도 하나 이상의 자석, 상기 적어도 하나 이상의 홀센서 및 상기 지자기 센서의 위치는 상기 전자 장치 상에서 일정하게 형성되는 전자 장치.
According to claim 1,
The electronic device of claim 1 , wherein positions of the at least one magnet, the at least one hall sensor, and the geomagnetic sensor are uniformly formed on the electronic device.
제 1항에 있어서,
상기 프로세서는
상기 휠 회전부에서 회전이 감지되지 않는 경우 미리 설정된 디폴트 값으로 상기 지자기 센서의 측정값을 보정하도록 제어하는 전자 장치.
According to claim 1,
The processor
An electronic device configured to correct a measurement value of the geomagnetic sensor with a preset default value when rotation is not detected by the wheel rotation unit.
제 1항에 있어서,
상기 지자기 센서의 자력 변화값 및/또는 상기 지자기 센서의 자력 변화값의 평균값은
상기 휠 회전부의 회전 각도에 대응하여 결정되는 전자 장치.
According to claim 1,
The magnetic force change value of the geomagnetic sensor and/or the average value of the magnetic force change value of the geomagnetic sensor is
An electronic device determined in response to a rotation angle of the wheel rotation unit.
전자 장치의 지자기 센서 보정 방법에 있어서,
홀 센서를 이용하여 휠 회전부의 회전 여부 및 회전 각도를 감지하는 동작;
상기 휠 회전부의 회전 각도에 대응하는 지자기 센서의 자력 변화값의 평균값을 확인하는 동작;및
상기 확인된 자력 변화값의 평균값을 기반으로 상기 전자 장치의 회전 시 발생하는 상기 지자기 센서 데이터의 왜곡에 대해 보정하는 동작을 포함하는 방법.
A method for calibrating a geomagnetic sensor of an electronic device,
An operation of detecting rotation of the wheel rotation unit and rotation angle using a hall sensor;
An operation of checking an average value of magnetic force change values of a geomagnetic sensor corresponding to a rotation angle of the wheel rotating unit; and
and compensating for distortion of the geomagnetic sensor data generated when the electronic device rotates based on the checked average value of magnetic force change values.
제 13항에 있어서,
상기 휠 회전부의 회전 각도에 대응하는 지자기 센서의 자력 변화값의 평균값을 확인하는 동작은
메모리에 저장된 상기 휠 회전부의 회전 각도에 따른 상기 지자기 센서의 자력 변화값을 기록한 데이터 및/또는 상기 휠 회전부의 회전 각도 변화에 따른 상기 지자기 센서의 자력 변화값의 평균값을 기록한 데이터를 확인하는 동작을 더 포함하는 방법.
According to claim 13,
The operation of checking the average value of the magnetic force change value of the geomagnetic sensor corresponding to the rotation angle of the wheel rotation unit is
An operation of checking the data recorded in the memory storing the change in magnetic force of the geomagnetic sensor according to the rotation angle of the wheel rotation unit and/or the average value of the change in magnetic force in the geomagnetic sensor according to the change in rotation angle of the wheel rotation unit. How to include more.
제 13항에 있어서,
상기 확인된 자력 변화값의 평균값을 기반으로 상기 전자 장치의 회전 시 발생하는 상기 지자기 센서 데이터의 왜곡에 대해 보정하는 동작은
상기 지자기 센서의 데이터 값에 보정 계수를 곱하여 상기 지자기 센서의 데이터 값을 보정하는 동작을 포함하는 방법.
According to claim 13,
The operation of correcting distortion of the geomagnetic sensor data generated when the electronic device rotates based on the average value of the checked magnetic force change value
and correcting the data value of the geomagnetic sensor by multiplying the data value of the geomagnetic sensor by a correction coefficient.
제 15항에 있어서,
상기 보정 계수는 상기 지자기 센서의 자력 변화값의 평균값에 기반하여 결정되는 방법.
According to claim 15,
The correction coefficient is determined based on an average value of magnetic force change values of the geomagnetic sensor.
제 15항에 있어서,
상기 보정 계수는 상기 휠 회전부의 회전 각도에 대응하여 결정되는 방법.
According to claim 15,
The correction coefficient is determined corresponding to the rotation angle of the wheel rotation unit.
제 13항에 있어서,
상기 확인된 자력 변화값의 평균값을 기반으로 상기 전자 장치의 회전 시 발생하는 상기 지자기 센서 데이터의 왜곡에 대해 보정하는 동작은
상기 휠 회전부에서 회전이 감지되지 않는 경우 미리 설정된 디폴트 값으로 상기 지자기 센서의 측정값을 보정하는 동작을 포함하는 방법.
According to claim 13,
The operation of correcting distortion of the geomagnetic sensor data generated when the electronic device rotates based on the average value of the checked magnetic force change value
and correcting a measurement value of the geomagnetic sensor with a preset default value when rotation is not detected by the wheel rotation unit.
제 13항에 있어서,
보정된 상기 지자기 센서의 데이터 값에 기반하여 상기 전자 장치의 방위각을 계산하는 동작을 더 포함하는 방법.
According to claim 13,
The method further includes calculating an azimuth angle of the electronic device based on the calibrated data value of the geomagnetic sensor.
제 19항에 있어서,
보정된 상기 지자기 센서의 데이터 값에 기반하여 계산된 방위각을 디스플레이에 출력하는 동작을 더 포함하는 방법.

According to claim 19,
The method further includes outputting the calculated azimuth to a display based on the calibrated data value of the geomagnetic sensor.

KR1020210092106A 2021-06-28 2021-07-14 Electronic device and operation method of electronic device for calibrating geomagnetic sensor KR20230001479A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210084282 2021-06-28
KR20210084282 2021-06-28

Publications (1)

Publication Number Publication Date
KR20230001479A true KR20230001479A (en) 2023-01-04

Family

ID=84925290

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210092106A KR20230001479A (en) 2021-06-28 2021-07-14 Electronic device and operation method of electronic device for calibrating geomagnetic sensor

Country Status (1)

Country Link
KR (1) KR20230001479A (en)

Similar Documents

Publication Publication Date Title
US20230147478A1 (en) Method for calibrating geomagnetic sensor of electronic device and electronic device thereof
KR20230001479A (en) Electronic device and operation method of electronic device for calibrating geomagnetic sensor
EP4187270A1 (en) Detection circuit, and electronic device comprising same
KR20230023233A (en) Electronic device and operation method of electronic device for determining angle of arrival of signal
KR20220026774A (en) Electronic device for adjusting position of external device and operating method thereof
KR20230023230A (en) Electronic device for providing positioning information and method thereof
KR20220079387A (en) Electric device inclduing anttenna
KR20220165529A (en) Method and device to calibrate magnetic field data
KR20230114656A (en) Image-based inertial sensor calibration method and electronic apparatus performing the same
KR20240021022A (en) a wearable electronic device including magnetic strap and method for updating magnetic data
KR20230022653A (en) Wearable electronic device including rotary bezel
EP4254656A1 (en) Electronic apparatus comprising antenna
US20240003989A1 (en) Electronic device comprising magnetic sensor, and operation method therefor
KR20220124023A (en) Electronic device and operation method of electronic device for calibrating geomagnetic sensor
EP4365685A1 (en) Method and electronic device for recognizing angle of rotation of annular member
US20230140320A1 (en) Electronic device including structure for detecting rotation amount of motor
US20240160157A1 (en) Method and electronic device for recognizing angle of rotation of annular member
KR20220110998A (en) Electronic device including geomagnetic sensor
KR20230023209A (en) Electronic apparatus and operating method thereof
KR20220127023A (en) Electronic device and operation method of electronic device for determining direction of movement of electronic device
US20230400886A1 (en) Electronic device comprising flexible display and method for detecting state of electronic device
US20230049947A1 (en) Electronic device and operation method thereof
US20240070878A1 (en) Electronic device obtaining metadata while obtaining video and method thereof
KR20230063821A (en) Electronic device including structure for detecting amount of rotation of motor
EP4369114A1 (en) Wearable electronic device comprising speaker module