ELECTRONIC DEVICE FOR IDENTIFYING MOVING DIRECTION OF ELECTRONIC DEVICE, AND OPERATING METHOD FOR ELECTRONIC DEVICE
An electronic device according to various embodiments comprises: a geomagnetic sensor; a posture sensor configured to measure a posture of the electronic device; and a processor operatively connected to the geomagnetic sensor and the posture sensor, wherein the processor may be configured to: obtain...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An electronic device according to various embodiments comprises: a geomagnetic sensor; a posture sensor configured to measure a posture of the electronic device; and a processor operatively connected to the geomagnetic sensor and the posture sensor, wherein the processor may be configured to: obtain a plurality of magnetic field vectors from the geomagnetic sensor; obtain posture information about the electronic device from the posture sensor; correct, on the basis of the posture information about the electronic device, the plurality of magnetic field vectors so that the posture of the electronic device reaches a designated posture; identify a plurality of interference vectors on the basis of the plurality of corrected magnetic field vectors and a magnetic north vector; rotate a straight line connecting a plurality of magnetic field measurement points measured by the geomagnetic sensor to identify a rotation angle in which extending lines of the plurality of interference vectors converge at one point; and identify a traveling direction of the electronic device on the basis of the identified rotation angle. A corresponding method may also be provided. |
---|