WO2023140656A1 - Electronic device for detecting location by using geomagnetic data, and control method therefor - Google Patents

Electronic device for detecting location by using geomagnetic data, and control method therefor Download PDF

Info

Publication number
WO2023140656A1
WO2023140656A1 PCT/KR2023/000967 KR2023000967W WO2023140656A1 WO 2023140656 A1 WO2023140656 A1 WO 2023140656A1 KR 2023000967 W KR2023000967 W KR 2023000967W WO 2023140656 A1 WO2023140656 A1 WO 2023140656A1
Authority
WO
WIPO (PCT)
Prior art keywords
geomagnetic
electronic device
area
patterns
pattern
Prior art date
Application number
PCT/KR2023/000967
Other languages
French (fr)
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
Priority claimed from KR1020220015731A external-priority patent/KR20230114143A/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2023140656A1 publication Critical patent/WO2023140656A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/02Magnetic compasses
    • G01C17/28Electromagnetic compasses
    • G01C17/30Earth-inductor compasses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/38Testing, calibrating, or compensating of compasses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/04Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means
    • G01C21/08Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means involving use of the magnetic field of the earth

Definitions

  • This document relates to an electronic device for detecting a location using geomagnetic data and a method for controlling the same.
  • An electronic device may identify a current location of the electronic device using geomagnetic data sensed by a sensor module (eg, a geomagnetic sensing module). For example, the electronic device may determine whether the electronic device is located in a specific area or place by comparing a geomagnetic pattern stored in the electronic device with sensed geomagnetic data (eg, a geomagnetic pattern).
  • a geomagnetic pattern may change even if a small deviation occurs in a movement line of an electronic device.
  • the sensed geomagnetic pattern may change according to the user's moving speed.
  • the sensed geomagnetic pattern may change according to an angular error generated in a process of aligning coordinate axes to determine whether the electronic device is located in a specific region or place.
  • an electronic device capable of providing an improved positioning function by determining whether an electronic device is located in a specific area or place using at least one geomagnetic pattern predicted based on a movement line deviation, movement speed, and angle error of a user of the electronic device is disclosed.
  • a control method of an electronic device capable of providing an improved positioning function by determining whether an electronic device is located in a specific area or place using at least one geomagnetic pattern predicted based on a movement line deviation, movement speed, and angle error of a user of the electronic device is disclosed.
  • An electronic device includes a geomagnetic sensing module, a memory, and at least one processor, wherein the at least one processor obtains first geomagnetic data for a first region sensed using the geomagnetic sensing module from the geomagnetic sensing module, models the obtained first geomagnetic data with a polynomial determined based on attributes of the first region, sets at least one second region to which the modeled polynomial is applied, and sets the at least one second region to which the modeled polynomial is applied.
  • a plurality of geomagnetic patterns for the second area may be estimated using the modeled polynomial, and for each of the plurality of estimated geomagnetic patterns, an operation for correcting an angular error related to a moving direction of the electronic device may be performed to obtain a plurality of reference geomagnetic patterns, store them in the memory, and determine whether the electronic device is located in the first area based on a statistical value determined using the obtained plurality of reference geomagnetic patterns.
  • a method for controlling an electronic device includes obtaining first geomagnetic data for a first region sensed using a geomagnetic sensing module of the electronic device from the geomagnetic sensing module, modeling the obtained first geomagnetic data with a polynomial determined based on attributes of the first region, setting at least one second region to which the modeled polynomial is applied, and modeling a plurality of geomagnetic patterns for the at least one second region.
  • the method may include a process of estimating using the obtained polynomial, a process of obtaining and storing a plurality of reference geomagnetic patterns in a memory of the electronic device by performing an operation to correct an angular error related to a moving direction of the electronic device for each of the plurality of estimated geomagnetic patterns, and a process of determining whether the electronic device is located in the first region based on a statistical value determined using the obtained plurality of geomagnetic patterns.
  • an electronic device capable of providing an improved positioning function by determining whether an electronic device is located in a specific region or place using at least one geomagnetic pattern predicted based on movement line deviation, movement speed, and angular error of the electronic device may be disclosed.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present document.
  • FIG. 2 is an exemplary diagram for explaining a function or operation of detecting a location of an electronic device using a geomagnetic pattern.
  • 3 and 4 are exemplary diagrams for explaining a phenomenon in which different geomagnetic patterns are obtained according to movement line deviations.
  • FIG. 5 is an exemplary diagram for explaining a phenomenon in which different geomagnetic patterns are acquired according to the moving speed of an electronic device.
  • FIG. 6 is an exemplary diagram for explaining a phenomenon in which a geomagnetic pattern distorted according to an angle error is obtained.
  • FIG. 7 is an exemplary diagram for explaining a function or operation of determining whether an electronic device is located in a specific area or place using at least one geomagnetic pattern predicted based on a movement line deviation, a movement speed, and an angular error of the electronic device according to an embodiment of the present document.
  • FIG. 8 is an exemplary diagram for explaining a function or operation of setting coordinates of a specific area by an electronic device according to an embodiment of the present document.
  • FIG. 9 is an exemplary diagram for explaining a result of predicting a geomagnetic pattern for a specific axis (eg, X axis) set for the electronic device using geomagnetic data modeled by a specific polynomial by the electronic device according to an embodiment of the present document.
  • a specific axis eg, X axis
  • FIG. 10 is an exemplary diagram for explaining a function or operation of determining a second area by expanding a first area in order to compensate for an error due to a user's movement line deviation, by an electronic device according to an embodiment of the present document.
  • FIG. 11 is an exemplary diagram for explaining a function or operation of determining a second area by extending the i-axis and the j-axis (e.g., the same axis as the user's movement direction) of the first area in order to compensate for an error that occurs when the user's moving speed is relatively faster than the moving speed at the time when geomagnetic data is acquired by the electronic device according to an embodiment of the present document.
  • the i-axis and the j-axis e.g., the same axis as the user's movement direction
  • FIG. 12 is an exemplary diagram for explaining a function or operation of determining a second area by reducing the j-axis (eg, the same axis as the user's movement direction) of the first area in order to compensate for an error that occurs when the user's moving speed is relatively slower than the user's moving speed at the time geomagnetic data is acquired, according to an embodiment of the present document.
  • the j-axis eg, the same axis as the user's movement direction
  • 13 and 14 are exemplary diagrams for explaining a function or operation of obtaining a geomagnetic pattern according to a predetermined interval (i bias ) with respect to the i-axis of the second area by the electronic device according to an embodiment of the present document.
  • 15 is an exemplary diagram for explaining an angular error according to an embodiment of the present document.
  • 16 is an exemplary diagram for explaining a function or operation of applying at least one angular value included in a predetermined angular range to an obtained geomagnetic pattern in order to compensate for an angular error (eg, to obtain a geomagnetic pattern to which the angular error is applied) by an electronic device according to an embodiment of the present document.
  • FIG. 17 is an exemplary view for explaining a function or operation of an electronic device according to an embodiment of the present document determining a similarity (eg, a statistical value) between a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) for which angular errors are compensated for and a predetermined representative geomagnetic pattern, and determining whether the electronic device has entered or exited a specific area (eg, a first area) based on the determined similarity.
  • a similarity eg, a statistical value
  • 18 and 19 are a function of determining whether an electronic device has entered or exited a specific area (eg, a first area) by determining at least one geomagnetic pattern as a representative geomagnetic pattern among a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) to which an angle error is compensated for (eg, an angle error is applied), and comparing obtained geomagnetic data (eg, the geomagnetic pattern) with the at least one representative geomagnetic pattern according to an embodiment of the present document. Or, they are exemplary drawings for explaining the operation.
  • an electronic device 101 may communicate with the electronic device 102 through a first network 198 (eg, a short-distance wireless communication network), or may communicate with at least one of the electronic device 104 and the server 108 through a second network 199 (eg, a long-distance wireless communication network).
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module ( 190), a subscriber identification module 196, or an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) may be integrated into one component (eg, display module 160).
  • the processor 120 may, for example, execute software (eg, program 140) to control at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 may store commands or data received from other components (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store resultant data in non-volatile memory 134.
  • software eg, program 140
  • processor 120 may store commands or data received from other components (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store resultant data in non-volatile memory 134.
  • 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 graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that may operate independently or together with the main processor 121.
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the auxiliary processor 123 functions related to 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) along with the main processor 121 while the main processor 121 is in an active (eg, application execution) state or instead of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state. Alternatively, at least some of the states may be controlled.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 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 is not limited to the above examples.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • the artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, or a combination of two or more of the above, but is not limited to the above examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • 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 .
  • 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 .
  • 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).
  • 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.
  • 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.
  • 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.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 may obtain sound through the input module 150, output sound through the sound output module 155, or an external electronic device (e.g., electronic device 102) (e.g., speaker or headphone) connected directly or wirelessly to the electronic device 101.
  • an external electronic device e.g., electronic device 102
  • speaker or headphone e.g., speaker or headphone
  • the sensor module 176 may detect an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generate an electrical signal or data value corresponding to the detected state.
  • 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 infrared (IR) sensor, a bio sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
  • 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).
  • 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • 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).
  • 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).
  • 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.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • 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.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 may support establishment of a direct (e.g., wired) communication channel or wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108), and communication through the established communication channel.
  • 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.
  • the communication module 190 may include 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).
  • 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
  • GNSS global navigation satellite system
  • wired communication module 194 eg, a local area network (LAN) communication module or a power line communication module.
  • a corresponding communication module among these communication modules may communicate with the external electronic device 104 through a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or an infrared data association (IrDA)) or a second network 199 (eg, a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a long-distance communication network such as a computer network (eg, a LAN or a WAN)).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or an infrared data association (IrDA)
  • a second network 199 eg, a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a long-distance communication network such as a computer network (eg, a LAN or a WAN)
  • a computer network eg, a
  • the wireless communication module 192 may identify or authenticate the electronic device 101 within a communication network such as the first network 198 or the second network 199 using subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • 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 technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency communications
  • the wireless communication module 192 may support various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • 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).
  • the wireless communication module 192 may support peak data rate (eg, 20 Gbps or more) for eMBB realization, loss coverage (eg, 164 dB or less) for mMTC realization, or U-plane latency (eg, downlink (DL) and uplink (UL) 0.5 ms or less, or round trip 1 ms or less) for realizing URLLC.
  • peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency eg, downlink (DL) and uplink (UL) 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • 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).
  • 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 may be selected from the plurality of antennas by, for example, the communication module 190. 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.
  • 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.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, bottom 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, top surface or side surface) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
  • peripheral devices e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signals e.g., commands or data
  • 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 .
  • 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 .
  • the electronic device 101 may request one or more external electronic devices to perform the function or at least part of the service, instead of or in addition to executing the function or service by itself.
  • 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.
  • 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.
  • 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.
  • FIG. 2 is an exemplary diagram for explaining a function or operation of the electronic device 101 detecting a position of the electronic device 101 using a geomagnetic pattern.
  • the electronic device 101 compares a plurality of geomagnetic patterns 210 previously stored in the electronic device 101 with geomagnetic patterns 220 sequentially obtained as the electronic device 101 moves, and determines whether the electronic device 101 has entered or exited a specific area (eg, a first area).
  • the plurality of geomagnetic patterns 210 stored in advance in FIG. 2 may include a geomagnetic pattern (Mx, 210a) on the X axis, a geomagnetic pattern (My, 210b) on the Y axis, and a geomagnetic pattern (Mz, 210c) on the Z axis, which are previously obtained for a specific region (eg, the first region).
  • the electronic device 101 may determine whether the electronic device 101 has entered or exited a specific area (e.g., the first area 310) based on whether the plurality of geomagnetic patterns 210 stored in advance and the geomagnetic patterns 220 sequentially obtained as the electronic device 101 moves substantially match.
  • a specific area e.g., the first area 310
  • the electronic device 101 can determine that the user carrying the electronic device has passed through a specific area through such a geomagnetic pattern analysis.
  • the geomagnetic pattern may greatly change. This will be described in more detail with reference to FIGS. 3 and 4 .
  • 3 and 4 are exemplary diagrams for explaining a phenomenon in which different geomagnetic patterns are obtained according to movement line deviations.
  • FIG. 3 three straight copper lines (eg, the first copper wire 312, the second copper wire 314, and the third copper wire 316) each having an interval of about 25 cm, and the X-axis geomagnetic patterns Mx (eg, the first geomagnetic pattern 312a) corresponding to the respective copper wires (eg, the first copper wire 312, the second copper wire 314, and the third copper wire 316) ), the second geomagnetic pattern 314a, and the third geomagnetic pattern 316a) are shown as examples.
  • FIG. 4 a diagram representing geomagnetic data obtained in a specific area (eg, the first area 310 ) in a 3D space is shown as an example.
  • the horizontal axis and the vertical axis of the spatial coordinates of FIG. 4 represent coordinates or distances (eg, meters) of a specific area, respectively, and the height may represent geomagnetic data about the X-axis among the coordinate axes of the electronic device 101 . Accordingly, in FIG. 4 , it is shown that geomagnetic data on the X-axis is obtained for a specific region having a horizontal length of 50 cm and a vertical length of 1 m. As shown in FIGS.
  • the geomagnetic pattern may change significantly (e.g., exceeding a predetermined threshold value for similarity of the geomagnetic pattern).
  • Such a phenomenon may occur not only in an environment with a complicated indoor structure but also in an indoor space in which a large number of strong magnetic materials are disposed. Referring to FIG. 4 , it can be confirmed that the geomagnetic value can be greatly changed even in a narrow area having a width of about 50 cm.
  • geomagnetic data e.g., a geomagnetic pattern
  • accurate position detection of the electronic device 101 may not be performed due to a change in the geomagnetic pattern that may occur according to a deviation of the movement line.
  • the geomagnetic pattern obtained in a specific area e.g, the first area 310 may differ from the previously stored geomagnetic pattern according to the moving speed of the user carrying the electronic device 101. This will be described in more detail with reference to FIG. 5 .
  • FIG. 5 is an exemplary diagram for explaining a phenomenon in which different geomagnetic patterns are obtained according to the moving speed of the electronic device 101 .
  • FIG. 5 when users carrying the electronic device 101 move in a specific area at different moving speeds, a case in which different geomagnetic patterns to be compared are obtained is illustrated as an example.
  • the electronic device 101 may sample the acquired geomagnetic data at regular time intervals and use it for position detection.
  • the user carrying the electronic device 101 moves relatively fast (510) (eg, moving at a moving speed faster than the moving speed at the time of acquiring the reference geomagnetic pattern (eg, pre-stored geomagnetic pattern) used for position detection), compared to the case of moving relatively slowly (520) (eg, moving at a moving speed slower than the moving speed at the time of acquiring the reference geomagnetic pattern (eg, pre-stored geomagnetic pattern) used for position detection), the user has the same You may travel longer distances over time.
  • relatively fast eg, moving at a moving speed faster than the moving speed at the time of acquiring the reference geomagnetic pattern (eg, pre-stored geomagnetic pattern) used for position detection
  • the electronic device 101 acquires a pattern substantially different from a reference geomagnetic pattern (e.g., a pre-stored geomagnetic pattern) used for position detection as a geomagnetic pattern to be compared, and thus, accurate position detection of the electronic device 101 may not be performed.
  • a reference geomagnetic pattern e.g., a pre-stored geomagnetic pattern
  • the waveform of the geomagnetic pattern acquired in a specific area eg, the first area 310) may be distorted according to the user's action. This will be described in more detail with reference to FIG. 6 .
  • the waveform of the geomagnetic pattern acquired in a specific area may be distorted according to the user's behavior while carrying the electronic device 101 .
  • the user behavior may include various examples, such as when the user moves while viewing the screen of the electronic device 101, unlike when the user acquires the reference geomagnetic pattern used for location detection, when the user carries the electronic device 101 in his hand and walks naturally, when the user puts the electronic device 101 in his pocket and walks.
  • the coordinate axis at the point in time at which geomagnetic data to be compared is acquired and the coordinate axis at the point at which geomagnetic data is pre-collected in a specific area may not be aligned with each other.
  • the electronic device 101 may estimate the orientation of the electronic device 101 according to each user's action, and align the coordinate axis of the obtained geomagnetic data (e.g., comparison object geomagnetic data) with the coordinate axis of the previously obtained geomagnetic data.
  • the electronic device 101 may estimate a horizontal movement direction (eg, yaw) of a user carrying the electronic device 101 and an orientation (eg, pitch and roll) of the electronic device 101.
  • the electronic device 101 according to an embodiment of the present document may identify an angular difference between a coordinate axis according to the estimated horizontal movement direction and the direction of the electronic device 101 and a coordinate axis of the obtained geomagnetic data to be compared.
  • the electronic device 101 according to an embodiment of the present document may align the coordinate axes by applying the identified angular difference to the obtained geomagnetic data to be compared (eg, applying a rotation transformation matrix).
  • a case in which a geomagnetic pattern 620 (e.g., a decrease pattern) obtained when an angular error does not occur shows a pattern that substantially matches the pre-stored geomagnetic pattern 610, but a geomagnetic pattern 620 (e.g., a cubic function pattern) obtained when an angular error (e.g., -18 degrees) occurs is distorted and obtained in a pattern different from the substantially pre-stored geomagnetic pattern 610.
  • a geomagnetic pattern 620 e.g., a decrease pattern obtained when an angular error does not occur shows a pattern that substantially matches the pre-stored geomagnetic pattern 610, but a geomagnetic pattern 620 (e.g., a cubic function pattern) obtained when an angular error (e.g., -18 degrees) occurs is distorted and obtained in a pattern different from the substantially pre-stored geomagnetic pattern 610.
  • FIG. 7 is an exemplary diagram for explaining a function or operation of determining whether an electronic device 101 is located in a specific area or place using at least one geomagnetic pattern predicted based on movement line deviation, movement speed, and angular error of the electronic device 101 according to an embodiment of the present document.
  • the electronic device 101 may, in operation 710, acquire geomagnetic data for the first region 310 sensed using the sensor module 176 (eg, the geomagnetic sensing module) from the sensor module 176.
  • Geomagnetic data may be expressed in a space of [0, T] as a time axis and [0, M max ] as a magnetic field axis, as shown in Equation 1 below.
  • M max may mean the maximum value of the measurable magnetic field
  • T may mean the measurement time of the geomagnetic field.
  • the electronic device 101 may store coordinate data i and j of a specific area (eg, the first area 310) determined using augmented reality (AR) technology or a sensor (eg, the camera module 180) in the electronic device 101 together with geomagnetic data.
  • Geomagnetic data and coordinate data stored in the electronic device 101 according to an embodiment of the present document may be expressed by Equation 2 below.
  • the coordinate data i and j may be relative coordinates set with respect to a space identified through a space recognition technology such as an augmented reality technology.
  • 8 is an exemplary diagram for explaining a function or operation of setting coordinates of a specific area by an electronic device according to an embodiment of the present document. As shown in FIG.
  • the electronic device 101 may determine coordinate data based on the movement direction of the electronic device 101 .
  • the electronic device 101 according to an embodiment of the present document may set a direction substantially parallel to the moving direction of the electronic device 101 as the j-axis, and may set a direction substantially perpendicular to the moving direction of the electronic device 101 as the i-axis.
  • the electronic device 101 according to an embodiment of the present document may set the lower left portion of the first area 310 to (0,0) and set coordinate values to correspond to the horizontal and vertical lengths of the first area 310.
  • the electronic device 101 may model the data obtained according to operation 710 as a polynomial determined based on the attribute of the first area 310.
  • the electronic device 101 according to an embodiment of the present document may determine the degree of the polynomial according to the length of the axis of the first region 310 (eg, the length of the y-axis).
  • the electronic device 101 according to an embodiment of the present document may store a look-up table in which a relationship between the property of the first area 310 (eg, the length of the y-axis of the first area 310) and the degree of the polynomial is defined so that the polynomial can be determined based on the property of the first area 310.
  • the electronic device 101 may determine a polynomial by referring to such a lookup table. According to another embodiment of the present document, the degree of the polynomial may be previously designated regardless of the property of the first area 310 .
  • the electronic device 101 according to an embodiment of the present document may derive polynomial coefficients (eg, a x , b x,..., l x, a y , b y,..., l y, a z , b z,..., l z ) through a curve fitting process.
  • geomagnetic data eg, geomagnetic data (M x (i,j)) on the x-axis
  • a specific polynomial eg, 3rd order polynomial
  • the geomagnetic data (M y (i,j)) on the y-axis and the geomagnetic data (M z (i,j)) on the z-axis are respectively It can be modeled as Equation 4 and Equation 5.
  • the electronic device 101 may determine a value of a coefficient (eg, a x ) of an equation by applying various regression algorithms such as Lasso and/or Ridge.
  • a coefficient eg, a x
  • geomagnetic data modeled by a specific polynomial eg, Equation 3
  • estimated eg, predicted
  • the electronic device 101 sets at least one second region 310a to which the modeled polynomial is applied, and estimates a plurality of geomagnetic patterns for the at least one second region 310a using the modeled polynomial.
  • the electronic device 101 according to an embodiment of the present document may enlarge (eg, increase) the size (eg, horizontal length) of the first region 310 according to a predetermined ratio.
  • 10 exemplarily illustrates an embodiment in which the electronic device 101 increases the horizontal length of the first region 310 according to a predetermined ratio (eg, a margin) according to an embodiment of the present document.
  • the electronic device 101 may set the lower left point 1010 of the second area 310a as a new origin point (eg, (0,0)).
  • the original origin may be maintained without setting the lower left point 1010 of the second region 310a as a new origin (eg, (0,0)).
  • an error due to a user's movement line deviation e.g., when the user moves along a movement line close to the first area 310 (e.g., 3 cm away from the boundary of the first area 310)
  • a movement line close to the first area 310 e.g., 3 cm away from the boundary of the first area 310
  • the accuracy of location detection by the electronic device 101 according to an embodiment of the present document can be improved.
  • FIG. 11 is an exemplary diagram for explaining a function or operation of determining a second region 310a by extending the i-axis and the j-axis (eg, the same axis as the user's movement direction) of the first region 310 in order to compensate for an error that occurs when the user's movement speed is relatively faster than the movement speed at the time geomagnetic data is obtained, according to an embodiment of the present document.
  • the electronic device 101 when a user carrying the electronic device 101 moves relatively fast, compensates for an error (eg, when a different geomagnetic pattern is obtained even though a geomagnetic pattern that is different from a previously stored geomagnetic pattern is obtained) according to a moving speed, as illustrated in FIG.
  • the electronic device 101 may increase only the length of the j-axis of the first region 310 .
  • the electronic device 101 when a user carrying the electronic device 101 moves relatively slowly, compensates for an error (eg, when different geomagnetic patterns are acquired even though passing through the same first area 310) according to the movement speed (eg, it is determined that the user has passed through the first area 310 even if a pattern different from a previously stored geomagnetic pattern is acquired), as exemplarily shown in FIG. 12 , in the first area 310 . ) can reduce the length of the j-axis.
  • an error eg, when different geomagnetic patterns are acquired even though passing through the same first area 310
  • the movement speed eg, it is determined that the user has passed through the first area 310 even if a pattern different from a previously stored geomagnetic pattern is acquired
  • the electronic device 101 may reduce only the length of the j-axis of the first region 310 .
  • the electronic device 101 may set the lower left point 1010 of the second area 310a as a new origin point (eg, (0,0)).
  • the original origin may be maintained without setting the lower left point 1010 of the second region 310a as a new origin (eg, (0,0)).
  • the electronic device 101 according to an embodiment of the present document includes a plurality of geomagnetic patterns (eg, a fourth geomagnetic pattern 1321, a fifth geomagnetic pattern 1322, a sixth geomagnetic pattern 1323, a seventh geomagnetic pattern 1324, an eighth geomagnetic pattern 1325, a ninth geomagnetic pattern 1326, and a tenth geomagnetic pattern for the second region 310a.
  • the pattern 1327, the eleventh geomagnetic pattern 1328, and the twelfth geomagnetic pattern 1329 may be estimated (eg, acquired) using (eg, based on) the modeled polynomial.
  • the electronic device 101 according to an embodiment of the present document may estimate a geomagnetic pattern according to a specific interval (i bias ).
  • the electronic device 101 according to an embodiment of the present document determines a specific interval (i bias ) according to Equation 6 below, and acquires (eg, estimates) a geomagnetic pattern according to the modeled polynomials according to the specific interval (i bias ) according to operation 720.
  • the electronic device 101 may obtain a geomagnetic pattern in the second region 310a according to Equations 7, 8, and 9 below.
  • N may mean the number of geomagnetic patterns to be obtained, and may be pre-specified or set by a user.
  • Equations 7 to 9 may satisfy the condition of Equation 10 below, and n in Equations 7 to 9 may mean a natural number satisfying 0 to N-1.
  • Equations 6 to 9 and may be the coordinates of the upper right point 1310 of the second area 310a. Also, in Equations 7 to 9, can be
  • the electronic device 101 may obtain a plurality of reference geomagnetic patterns by performing an operation to compensate for an angle error 1510 for each of a plurality of estimated geomagnetic patterns.
  • 15 is an example diagram for explaining an angular error 1510 (eg, an angular error with respect to a user's horizontal movement direction) according to an embodiment of the present document.
  • the angular error 1510 may mean a difference between an actual user's movement direction (eg, the user's horizontal movement direction and the orientation of the electronic device 101) and the user's movement direction estimated by the electronic device 101.
  • the angle error 1510 is an angle error according to the user's horizontal movement direction and an angle error according to the orientation of the electronic device 101, and a total of two types of angle errors may be generated.
  • the electronic device 101 converts both types of angular errors 1510 into a plurality of geomagnetic patterns (eg, the fourth geomagnetic pattern 1321, the fifth geomagnetic pattern 1322, the sixth geomagnetic pattern 1323, the seventh geomagnetic pattern 1324, the eighth geomagnetic pattern 1325, the ninth geomagnetic pattern 1326, and the first geomagnetic pattern 1326).
  • the electronic device 101 may apply only one type of angular error 1510 among two types of angular errors (eg, apply a rotation transformation matrix including a specific angular error value (eg, 5°) to each of a plurality of geomagnetic patterns).
  • the electronic device 101 may apply a specific angular error value included in an angular error range modeled to cover two types of angular error ranges (e.g., apply a rotation transformation matrix including a specific angular error value (e.g., 3°) included in an empirically predetermined angular range (e.g., -10° to 10°) to each of a plurality of geomagnetic patterns).
  • the modeled angular error range may be expressed according to Equation 11 below.
  • Equation 11 ⁇ may mean an angular error
  • ⁇ min may mean a minimum value of an angular range
  • ⁇ max may mean a maximum value of an angular range.
  • the electronic device 101 converts at least one angular error value included in the angular error range shown in Equation 11 into a plurality of geomagnetic patterns (eg, the fourth geomagnetic pattern 1321, the fifth geomagnetic pattern 1322, the sixth geomagnetic pattern 1323, the seventh geomagnetic pattern 1324, the eighth geomagnetic pattern 1325, and the ninth geomagnetic pattern 13). 26), the 10th geomagnetic pattern 1327, the 11th geomagnetic pattern 1328, and the 12th geomagnetic pattern 1329).
  • ⁇ min and M number of angular error values may be determined at equal intervals between ⁇ max .
  • M ⁇ N geomagnetic patterns can be obtained.
  • 16 is an exemplary diagram for explaining a function or operation of applying at least one angular error value included in a predetermined angular range to an obtained geomagnetic pattern in order to compensate for an angular error (eg, to obtain a geomagnetic pattern to which the angular error is applied) by the electronic device 101 according to an embodiment of the present document.
  • a plurality of geomagnetic patterns e.g., a fourth geomagnetic pattern 1321, a fifth geomagnetic pattern 1322, a sixth geomagnetic pattern 1323, a seventh geomagnetic pattern 1324, an eighth geomagnetic pattern 1325, a ninth geomagnetic pattern 1326, a tenth geomagnetic pattern 1327, an eleventh geomagnetic pattern 1328,
  • M ⁇ N geomagnetic patterns e.g., a first geomagnetic pattern 1620a, a geomagnetic second pattern 1620m, a geomagnetic third reference pattern 1630a, and a geomagnetic fourth reference pattern 1630m
  • M ⁇ N geomagnetic patterns e.g., a first geomagnetic pattern 1620a, a geomagnetic second pattern 1620m, a geomagnetic third reference pattern 1630a, and a geomagnetic fourth reference pattern 1630m
  • the electronic device 101 determines the electronic device 101 based on a statistical value determined using a plurality of reference geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m) obtained in operation 740. It is possible to determine whether is located in the first area 310 .
  • a plurality of reference geomagnetic patterns eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m
  • 17 is an exemplary diagram for explaining a function or operation of the electronic device 101 according to an embodiment of the present document to determine similarities (eg, statistical values) between a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) for which an angular error 1510 is compensated for and a predetermined representative geomagnetic pattern, and to determine whether the electronic device 101 has entered or exited a specific area (eg, a first area) based on the determined similarity.
  • similarities eg, statistical values
  • the electronic device 101 includes a representative geomagnetic pattern (eg, a geomagnetic pattern obtained along the second copper wire 314) and a plurality of reference geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m) each statistical value (eg: similarity).
  • a representative geomagnetic pattern eg, a geomagnetic pattern obtained along the second copper wire 314
  • a plurality of reference geomagnetic patterns eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m
  • each statistical value eg: similarity
  • Statistical values according to an embodiment of the present document are a representative geomagnetic pattern (eg, a geomagnetic pattern obtained along the second flow line 314) and a plurality of reference geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m), respectively, and/or May include Euclidean distance.
  • the electronic device 101 may store a threshold range of statistical values in the electronic device 101 .
  • a correlation value between the first reference geomagnetic pattern 1620a and a representative geomagnetic pattern is identified as C1
  • a correlation value between the second reference geomagnetic pattern 1620m and a representative geomagnetic pattern is identified as C2
  • a third reference geomagnetic pattern 1630a is identified when the correlation value between the reference geomagnetic pattern 1630m and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as C3
  • the correlation value between the fourth reference geomagnetic pattern 1630m and the representative geomagnetic pattern is identified as C4
  • the electronic device 101 sets the threshold value to the minimum value among the values C1 to C4.
  • the electronic device 101 may compare the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) with the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314), and determine whether the electronic device 101 has entered or exited a specific area (e.g., the first area 310) based on the comparison result.
  • the obtained geomagnetic pattern e.g., the geomagnetic pattern to be compared
  • the representative geomagnetic pattern e.g., the geomagnetic pattern obtained along the second movement line 314
  • the threshold value is determined to be 0.5
  • the correlation between the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) and the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second flow path 314) is identified as 0.9 at a specific time point, it may be determined that the user carrying the electronic device 101 has entered a specific area (e.g., the first area 310).
  • the correlation between the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) and the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314) is identified as 0.1 at a specific time point, it may be determined that the user possessing the electronic device 101 has not passed a specific area (e.g., the first area 310).
  • the statistical value is a statistical value of a distance concept (e.g., Euclidean distance) rather than a similarity concept
  • the value is smaller than a threshold value
  • the Euclidean distance value between the first reference geomagnetic pattern 1620a and the representative geomagnetic pattern is identified as 1
  • the Euclidean distance value between the second reference geomagnetic pattern 1620m and the representative geomagnetic pattern is identified as 2
  • the third reference geomagnetic pattern ( 1630a) and the representative geomagnetic pattern is identified as 3
  • the Euclidean distance value between the fourth reference geomagnetic pattern 1630m and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as 4
  • the electronic device 101 sets a threshold value It may be determined and stored as 4, which is the maximum value of the Euclidean distance.
  • the electronic device 101 may compare the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) with the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314), and determine whether the electronic device 101 has entered or exited a specific area (e.g., the first area 310) based on the comparison result.
  • the obtained geomagnetic pattern e.g., the geomagnetic pattern to be compared
  • the representative geomagnetic pattern e.g., the geomagnetic pattern obtained along the second movement line 314
  • the Euclidean distance value of the obtained geomagnetic pattern e.g., the geomagnetic pattern to be compared
  • the representative geomagnetic pattern e.g., the geomagnetic pattern obtained along the second movement line 314.
  • the Euclidean distance value of the obtained geomagnetic pattern e.g., the geomagnetic pattern to be compared
  • the representative geomagnetic pattern e.g., the geomagnetic pattern obtained along the second movement line 314.
  • the electronic device 101 determines at least one representative geomagnetic pattern from among a plurality of reference geomagnetic patterns (eg, the first geomagnetic reference pattern 1620a, the second geomagnetic pattern 1620m, the third geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m), and the electronic device 101 uses the determined geomagnetic pattern in the first area. It may be determined whether it is located at (310). This will be described in more detail with reference to FIGS. 18 and 19 .
  • a plurality of reference geomagnetic patterns eg, the first geomagnetic reference pattern 1620a, the second geomagnetic pattern 1620m, the third geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m
  • the electronic device 101 determines at least one geomagnetic pattern as a representative geomagnetic pattern among a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) to which the angle error is compensated (eg, the angle error is applied), and compares the obtained geomagnetic data (eg, the geomagnetic pattern) with the at least one representative geomagnetic pattern, so that the electronic device 101 is located in a specific area (eg, a first area).
  • a specific area eg, a first area
  • the electronic device 101 in operation 1810, some geomagnetic patterns (eg, first reference geomagnetic pattern 1620a, second reference geomagnetic pattern 1620m, third reference geomagnetic pattern 1630a, and fourth reference geomagnetic pattern 1630m) among a plurality of predicted geomagnetic patterns (eg, first reference geomagnetic pattern 1620a).
  • the pattern 1620a and the second reference geomagnetic pattern 1620m may be determined as representative geomagnetic patterns.
  • the electronic device 101 includes at least one representative geomagnetic pattern (eg, the first reference geomagnetic pattern 1620a, the second reference geomagnetic pattern 1620m, the third reference geomagnetic pattern 1630a, and the fourth reference geomagnetic pattern 1630m) based on a correlation value among a plurality of geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the geomagnetic pattern 1620a, the geomagnetic pattern 1630m).
  • a reference geomagnetic pattern 1620m may be determined.
  • the electronic device 101 optionally selects the first geomagnetic pattern 1620a and the second geomagnetic pattern 1 620 m) can be determined as representative geomagnetic patterns, respectively.
  • the electronic device 101 may compare the obtained geomagnetic data (eg, a geomagnetic pattern to be compared) 1910 with each of the representative geomagnetic patterns 1920a, 1920b, and 1920c. As shown in FIG. 19 , the electronic device 101 according to an embodiment of the present document may derive statistical values between the representative geomagnetic patterns 1920a, 1920b, and 1920c from the obtained geomagnetic data (eg, the geomagnetic pattern to be compared) 1910.
  • the electronic device 101 may derive statistical values between the representative geomagnetic patterns 1920a, 1920b, and 1920c from the obtained geomagnetic data (eg, the geomagnetic pattern to be compared) 1910.
  • the electronic device 101 may determine whether the electronic device 101 is located in a specific area (eg, the first area 310) based on the comparison result of operation 1820.
  • the electronic device 101 according to an embodiment of the present document may determine that the user carrying the electronic device 101 has entered a specific area (eg, the first area 310) when the statistical value according to operation 1820 is greater than or equal to a predetermined threshold value (eg, a correlation value of 1) or less (eg, a statistical value corresponding to a statistic of the concept of similarity) or less than (eg, a statistical value corresponding to a statistic of the concept of distance).
  • a predetermined threshold value eg, a correlation value of 1
  • less eg, a statistical value corresponding to a statistic of the concept of similarity
  • less than eg, a statistical value corresponding to a statistic of the concept of distance
  • a predetermined threshold value (eg, 1 as a correlation value) according to an embodiment of the present document may be determined according to the description in relation to operation 750 .
  • a predetermined threshold value according to an embodiment of the present document is based on a statistical value between representative geomagnetic patterns 1920a, 1920b, and 1920c and a plurality of geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m). can be determined by
  • the electronic device 101 compares the obtained geomagnetic pattern (eg, the comparison target geomagnetic pattern) with a plurality of reference geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the third reference geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m), respectively, and based on the comparison result, the electronic device 101 ) can be detected.
  • a plurality of reference geomagnetic patterns eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the third reference geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m
  • the electronic device 101 has a predetermined threshold value (eg, a correlation value of 1) or more (eg, similarity value) for at least one reference geomagnetic pattern among a plurality of reference geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the third geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m).
  • a predetermined threshold value eg, a correlation value of 1
  • similarity value for at least one reference geomagnetic pattern among a plurality of reference geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the third geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m).
  • the statistical value corresponds to the statistical value of the concept
  • less eg, the statistical value corresponding to the statistical value of the concept of distance
  • An electronic device (eg, electronic device 101 of FIG. 1 ) according to an embodiment of the present document includes a geomagnetic sensing module (eg, sensor module 176 of FIG. 1 ), a memory (eg, memory 130 of FIG. 1 ), and at least one processor (eg, processor 120 of FIG. 1 ).
  • a geomagnetic sensing module eg, sensor module 176 of FIG. 1
  • a memory eg, memory 130 of FIG. 1
  • at least one processor eg, processor 120 of FIG. 1 .
  • modeling the obtained first geomagnetic data with a polynomial determined based on the properties of the first area setting at least one second area to which the modeled polynomial is applied, estimating a plurality of geomagnetic patterns for the at least one second area using the modeled polynomial, and performing an operation for correcting an angular error related to a moving direction of the electronic device for each of the estimated plurality of geomagnetic patterns, thereby obtaining a plurality of reference geomagnetic patterns and storing them in the memory. and determine whether the electronic device is located in the first area based on a statistical value determined using the obtained plurality of reference geomagnetic patterns.
  • Electronic devices 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.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may be used simply to distinguish a corresponding component from other corresponding components, and do not limit the corresponding components in other respects (e.g., importance or order).
  • a (e.g., a first) component is referred to as “coupled” or “connected” to another (e.g., a second) component, with or without the terms “functionally” or “communicatively,” it means that the component may be connected to the other component directly (e.g., by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logical block, component, or circuit.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of this document may be implemented as software (eg, program 140) including 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).
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • 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.
  • 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 does not distinguish between the case where data is semi-permanently stored in the storage medium and the case where it is temporarily stored.
  • a signal e.g., electromagnetic wave
  • 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 may be distributed in the form of a device-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or distributed (e.g., downloaded or uploaded) online, through an application store (e.g., Play StoreTM) or directly between two user devices (e.g., smartphones).
  • an application store e.g., Play StoreTM
  • 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.
  • each of the above-described components may include a single object or a plurality of objects, and some of the multiple objects may be separately disposed in other components.
  • 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.
  • a plurality of components eg modules or programs
  • 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.
  • the operations performed by modules, programs, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, may be omitted, or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geology (AREA)
  • Electromagnetism (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are an electronic device for detecting a location by using geomagnetic data, and a control method therefor. The electronic device for detecting a location by using geomagnetic data, according to one embodiment of the present document, comprises a geomagnetic sensing module, memory, and at least one processor, wherein the at least one processor may be configured to: acquire, from the geomagnetic sensing module, first geomagnetic data for a first area sensed by using the geomagnetic sensing module; model the acquired first geomagnetic data into a polynomial determined on the basis of an attribute of the first area; configure at least one second area to which the modeled polynomial will be applied; estimate a plurality of geomagnetic patterns for the at least one second area by using the modeled polynomial; perform, for each of the plurality of estimated geomagnetic patterns, a calculation for correcting an angle error related to the moving direction of the electronic device, in order to acquire a plurality of reference geomagnetic patterns and store same in the memory; and determine whether the electronic device is located in the first area, on the basis of a statistical value determined by using the plurality of acquired reference geomagnetic patterns.

Description

지자기 데이터를 이용하여 위치를 검출하는 전자 장치 및 그 제어 방법Electronic device for detecting location using geomagnetic data and control method thereof
본 문서는, 지자기 데이터를 이용하여 위치를 검출하는 전자 장치 및 그 제어 방법에 관한 것이다.This document relates to an electronic device for detecting a location using geomagnetic data and a method for controlling the same.
전자 장치, 예를 들어, 스마트 폰과 같은 휴대용 전자 장치를 통해 제공되는 다양한 서비스 및 부가 기능들이 점차 증가하고 있다. 이러한 전자 장치의 효용 가치를 높이고, 다양한 사용자들의 욕구를 만족시키기 위해서 통신 서비스 제공자 또는 전자 장치 제조사들은 다양한 기능들을 제공하고 다른 업체와의 차별화를 위해 전자 장치를 경쟁적으로 개발하고 있다. 이에 따라, 전자 장치를 통해서 제공되는 다양한 기능들도 점점 고도화 되고 있다.Various services and additional functions provided through electronic devices, for example, portable electronic devices such as smart phones, are gradually increasing. In order to increase the utility value of these electronic devices and satisfy the needs of various users, communication service providers or electronic device manufacturers are competitively developing electronic devices to provide various functions and to differentiate themselves from other companies. Accordingly, various functions provided through electronic devices are becoming increasingly sophisticated.
전자 장치(예: 스마트 폰)은 센서 모듈(예: 지자기 센싱 모듈)에 의하여 센싱된 지자기 데이터를 이용하여 전자 장치의 현재 위치를 식별할 수 있다. 예를 들어, 전자 장치는, 전자 장치에 저장된 지자기 패턴을 센싱된 지자기 데이터(예: 지자기 패턴)과 비교하여 전자 장치가 특정한 영역 또는 장소에 위치하고 있는지 여부를 판단할 수 있다. 그러나, 실내 구조의 변화가 상대적으로 큰 공간(예: 댁 내)에서는 전자 장치의 동선에 작은 편차가 발생하더라도 지자기 패턴이 변화할 수 있다. 또한, 전자 장치의 사용자가 동일한 장소를 이동하더라도, 사용자의 이동 속도에 따라, 센싱되는 지자기 패턴이 변화할 수 있다. 또한, 전자 장치의 사용자가 동일한 장소를 이동하더라도, 전자 장치가 특정한 영역 또는 장소에 위치하는지 여부를 판단하기 위한 좌표 축의 정렬 과정에서 발생되는 각도 오차에 따라, 센싱되는 지자기 패턴이 변화할 수 있다.An electronic device (eg, a smart phone) may identify a current location of the electronic device using geomagnetic data sensed by a sensor module (eg, a geomagnetic sensing module). For example, the electronic device may determine whether the electronic device is located in a specific area or place by comparing a geomagnetic pattern stored in the electronic device with sensed geomagnetic data (eg, a geomagnetic pattern). However, in a space with a relatively large change in indoor structure (eg, inside a house), a geomagnetic pattern may change even if a small deviation occurs in a movement line of an electronic device. Also, even if the user of the electronic device moves to the same place, the sensed geomagnetic pattern may change according to the user's moving speed. Also, even if a user of the electronic device moves to the same place, the sensed geomagnetic pattern may change according to an angular error generated in a process of aligning coordinate axes to determine whether the electronic device is located in a specific region or place.
본 문서의 일 실시예에 따르면, 전자 장치의 사용자의 동선 편차, 이동 속도 및 각도 오차를 기반으로 예측된 적어도 하나의 지자기 패턴을 이용하여 전자 장치가 특정한 영역 또는 장소에 위치하는지 여부를 판단하여, 개선된 측위 기능을 제공할 수 있는 전자 장치가 개시된다.According to an embodiment of the present document, an electronic device capable of providing an improved positioning function by determining whether an electronic device is located in a specific area or place using at least one geomagnetic pattern predicted based on a movement line deviation, movement speed, and angle error of a user of the electronic device is disclosed.
본 문서의 일 실시예에 따르면, 전자 장치의 사용자의 동선 편차, 이동 속도 및 각도 오차를 기반으로 예측된 적어도 하나의 지자기 패턴을 이용하여 전자 장치가 특정한 영역 또는 장소에 위치하는지 여부를 판단하여, 개선된 측위 기능을 제공할 수 있는 전자 장치의 제어 방법이 개시된다.According to an embodiment of the present document, a control method of an electronic device capable of providing an improved positioning function by determining whether an electronic device is located in a specific area or place using at least one geomagnetic pattern predicted based on a movement line deviation, movement speed, and angle error of a user of the electronic device is disclosed.
본 문서의 일 실시예예 따른 전자 장치는, 지자기 센싱 모듈, 메모리, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 지자기 센싱 모듈을 이용하여 센싱된 제1 영역에 대한 제1 지자기 데이터를 상기 지자기 센싱 모듈로부터 획득하고, 상기 획득된 제1 지자기 데이터를 상기 제1 영역의 속성에 기반하여 결정된 다항식으로 모델링하고, 상기 모델링된 다항식이 적용될 적어도 하나의 제2 영역을 설정하고, 상기 적어도 하나의 제2 영역에 대한 복수의 지자기 패턴들을 상기 모델링된 다항식을 이용하여 추정하고, 상기 추정된 복수의 지자기 패턴들 각각에 대해, 상기 전자 장치의 이동 방향과 관련된 각도 오차를 보정하기 위한 연산을 수행하여 복수의 레퍼런스 지자기 패턴들을 획득하여 상기 메모리에 저장하고, 상기 획득된 복수의 레퍼런스 지자기 패턴들을 이용하여 결정된 통계 값에 기반하여, 상기 전자 장치가 상기 제1 영역에 위치하는지 여부를 판단하도록 설정될 수 있다. An electronic device according to an embodiment of the present document includes a geomagnetic sensing module, a memory, and at least one processor, wherein the at least one processor obtains first geomagnetic data for a first region sensed using the geomagnetic sensing module from the geomagnetic sensing module, models the obtained first geomagnetic data with a polynomial determined based on attributes of the first region, sets at least one second region to which the modeled polynomial is applied, and sets the at least one second region to which the modeled polynomial is applied. A plurality of geomagnetic patterns for the second area may be estimated using the modeled polynomial, and for each of the plurality of estimated geomagnetic patterns, an operation for correcting an angular error related to a moving direction of the electronic device may be performed to obtain a plurality of reference geomagnetic patterns, store them in the memory, and determine whether the electronic device is located in the first area based on a statistical value determined using the obtained plurality of reference geomagnetic patterns.
본 문서의 일 실시예에 따른 전자 장치를 제어하는 방법은, 상기 전자 장치의 지자기 센싱 모듈을 이용하여 센싱된 제1 영역에 대한 제1 지자기 데이터를 상기 지자기 센싱 모듈로부터 획득하는 과정과, 상기 획득된 제1 지자기 데이터를 상기 제1 영역의 속성에 기반하여 결정된 다항식으로 모델링하는 과정과, 상기 모델링된 다항식이 적용될 적어도 하나의 제2 영역을 설정하고, 상기 적어도 하나의 제2 영역에 대한 복수의 지자기 패턴들을 상기 모델링된 다항식을 이용하여 추정하는 과정과, 상기 추정된 복수의 지자기 패턴들 각각에 대해, 상기 전자 장치의 이동 방향과 관련된 각도 오차를 보정하기 위한 연산을 수행하여 복수의 레퍼런스 지자기 패턴들을 획득하여 상기 전자 장치의 메모리에 저장하는 과정과, 및 상기 획득된 복수의 레퍼런스 지자기 패턴들을 이용하여 결정된 통계 값에 기반하여, 상기 전자 장치가 상기 제1 영역에 위치하는지 여부를 판단하는 과정을 포함할 수 있다. A method for controlling an electronic device according to an embodiment of the present document includes obtaining first geomagnetic data for a first region sensed using a geomagnetic sensing module of the electronic device from the geomagnetic sensing module, modeling the obtained first geomagnetic data with a polynomial determined based on attributes of the first region, setting at least one second region to which the modeled polynomial is applied, and modeling a plurality of geomagnetic patterns for the at least one second region. The method may include a process of estimating using the obtained polynomial, a process of obtaining and storing a plurality of reference geomagnetic patterns in a memory of the electronic device by performing an operation to correct an angular error related to a moving direction of the electronic device for each of the plurality of estimated geomagnetic patterns, and a process of determining whether the electronic device is located in the first region based on a statistical value determined using the obtained plurality of geomagnetic patterns.
본 문서의 일 실시예에 따르면, 전자 장치의 동선 편차, 이동 속도 및 각도 오차를 기반으로 예측된 적어도 하나의 지자기 패턴을 이용하여 전자 장치가 특정한 영역 또는 장소에 위치하는지 여부를 판단하여, 개선된 측위 기능을 제공할 수 있는 전자 장치가 개시될 수 있다.According to an embodiment of the present document, an electronic device capable of providing an improved positioning function by determining whether an electronic device is located in a specific region or place using at least one geomagnetic pattern predicted based on movement line deviation, movement speed, and angular error of the electronic device may be disclosed.
다양한 실시예들에 따른 효과는 상기 기술된 효과로 제한되지 아니하며, 다양한 효과가 본 개시 상에 내재되어 있음은 통상의 기술자에게 명백하다.Effects according to various embodiments are not limited to the effects described above, and it is obvious to those skilled in the art that various effects are inherent in the present disclosure.
도 1은, 본 문서의 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments of the present document.
도 2는, 전자 장치가 지자기 패턴을 이용하여 전자 장치의 위치를 검출하는 기능 또는 동작을 설명하기 위한 예시 도면이다.2 is an exemplary diagram for explaining a function or operation of detecting a location of an electronic device using a geomagnetic pattern.
도 3 및 도 4는, 동선 편차에 따라 서로 상이한 지자기 패턴이 획득되는 현상을 설명하기 위한 예시 도면이다.3 and 4 are exemplary diagrams for explaining a phenomenon in which different geomagnetic patterns are obtained according to movement line deviations.
도 5는, 전자 장치의 이동 속도에 따라 서로 상이한 지자기 패턴이 획득되는 현상을 설명하기 위한 예시 도면이다.5 is an exemplary diagram for explaining a phenomenon in which different geomagnetic patterns are acquired according to the moving speed of an electronic device.
도 6은, 각도 오차에 따라 왜곡된 지자기 패턴이 획득되는 현상을 설명하기 위한 예시 도면이다.6 is an exemplary diagram for explaining a phenomenon in which a geomagnetic pattern distorted according to an angle error is obtained.
도 7은, 본 문서의 일 실시예에 따른, 전자 장치의 동선 편차, 이동 속도 및 각도 오차를 기반으로 예측된 적어도 하나의 지자기 패턴을 이용하여 전자 장치가 특정한 영역 또는 장소에 위치하는지 여부를 판단하는 기능 또는 동작을 설명하기 위한 예시 도면이다.7 is an exemplary diagram for explaining a function or operation of determining whether an electronic device is located in a specific area or place using at least one geomagnetic pattern predicted based on a movement line deviation, a movement speed, and an angular error of the electronic device according to an embodiment of the present document.
도 8은, 본 문서의 일 실시예에 따른 전자 장치가 특정 영역의 좌표를 설정하는 기능 또는 동작을 설명하기 위한 예시 도면이다.8 is an exemplary diagram for explaining a function or operation of setting coordinates of a specific area by an electronic device according to an embodiment of the present document.
도 9는, 본 문서의 일 실시예에 따른 전자 장치가, 특정한 다항식으로 모델링 된 지자기 데이터를 이용하여, 전자 장치에 대해 설정된 특정한 축(예: X 축)에 대한 지자기 패턴을 예측한 결과를 설명하기 위한 예시 도면이다.9 is an exemplary diagram for explaining a result of predicting a geomagnetic pattern for a specific axis (eg, X axis) set for the electronic device using geomagnetic data modeled by a specific polynomial by the electronic device according to an embodiment of the present document.
도 10은, 본 문서의 일 실시예에 따른 전자 장치가, 사용자의 동선 편차에 따른 오차를 보상하기 위하여 제1 영역을 확장하여 제2 영역을 결정하는 기능 또는 동작을 설명하기 위한 예시 도면이다.10 is an exemplary diagram for explaining a function or operation of determining a second area by expanding a first area in order to compensate for an error due to a user's movement line deviation, by an electronic device according to an embodiment of the present document.
도 11은, 본 문서의 일 실시예에 따른 전자 장치가, 사용자의 이동 속도가 지자기 데이터가 획득될 당시의 이동 속도보다 상대적으로 빠른 경우에 발생되는 오차를 보상하기 위하여, 제1 영역의 i축 및 j축(예: 사용자의 이동 방향과 동일한 축)을 확장하여 제2 영역을 결정하는 기능 또는 동작을 설명하기 위한 예시 도면이다.FIG. 11 is an exemplary diagram for explaining a function or operation of determining a second area by extending the i-axis and the j-axis (e.g., the same axis as the user's movement direction) of the first area in order to compensate for an error that occurs when the user's moving speed is relatively faster than the moving speed at the time when geomagnetic data is acquired by the electronic device according to an embodiment of the present document.
도 12는, 본 문서의 일 실시예에 따른 전자 장치가, 사용자의 이동 속도가 지자기 데이터가 획득될 당시의 이동 속도보다 상대적으로 느린 경우에 발생되는 오차를 보상하기 위하여, 제1 영역의 j축(예: 사용자의 이동 방향과 동일한 축)을 축소하여 제2 영역을 결정하는 기능 또는 동작을 설명하기 위한 예시 도면이다.12 is an exemplary diagram for explaining a function or operation of determining a second area by reducing the j-axis (eg, the same axis as the user's movement direction) of the first area in order to compensate for an error that occurs when the user's moving speed is relatively slower than the user's moving speed at the time geomagnetic data is acquired, according to an embodiment of the present document.
도 13 및 도 14는, 본 문서의 일 실시예에 따른 전자 장치가, 제2 영역의 i축에 대해서 미리 지정된 간격(ibias)에 따라 지자기 패턴을 획득하는 기능 또는 동작을 설명하기 위한 예시 도면들이다.13 and 14 are exemplary diagrams for explaining a function or operation of obtaining a geomagnetic pattern according to a predetermined interval (i bias ) with respect to the i-axis of the second area by the electronic device according to an embodiment of the present document.
도 15는, 본 문서의 일 실시예에 따른 각도 오차를 설명하기 위한 예시 도면이다.15 is an exemplary diagram for explaining an angular error according to an embodiment of the present document.
도 16은, 본 문서의 일 실시예에 따른 전자 장치가, 각도 오차를 보상하기 위하여(예: 각도 오차가 적용된 지자기 패턴을 획득하기 위하여), 획득된 지자기 패턴에 미리 지정된 각도 범위에 포함되는 적어도 하나의 각도 값을 적용하는 기능 또는 동작을 설명하기 위한 예시 도면이다.16 is an exemplary diagram for explaining a function or operation of applying at least one angular value included in a predetermined angular range to an obtained geomagnetic pattern in order to compensate for an angular error (eg, to obtain a geomagnetic pattern to which the angular error is applied) by an electronic device according to an embodiment of the present document.
도 17은, 본 문서의 일 실시예에 따른 전자 장치가, 각도 오차가 보상된 복수의 지자기 패턴들(예: 복수의 레퍼런스 지자기 패턴들)과 미리 지정된 대표 지자기 패턴과의 유사도(예: 통계 값)를 판단하고, 판단된 유사도에 기반하여 전자 장치가 특정 영역(예: 제1 영역)에 진입 또는 진출하였는지 여부를 판단하는 기능 또는 동작을 설명하기 위한 예시 도면이다. FIG. 17 is an exemplary view for explaining a function or operation of an electronic device according to an embodiment of the present document determining a similarity (eg, a statistical value) between a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) for which angular errors are compensated for and a predetermined representative geomagnetic pattern, and determining whether the electronic device has entered or exited a specific area (eg, a first area) based on the determined similarity.
도 18 및 도 19는, 본 문서의 일 실시예에 따른 전자 장치가, 각도 오차가 보상된(예: 각도 오차가 적용된) 복수의 지자기 패턴들(예: 복수의 레퍼런스 지자기 패턴들) 중에서 적어도 하나의 지자기 패턴을 대표 지자기 패턴으로 결정하고, 획득된 지자기 데이터(예: 지자기 패턴)를 적어도 하나의 대표 지자기 패턴과 비교하여 전자 장치가 특정 영역(예: 제1 영역)에 진입 또는 진출하였는지 여부를 판단하는 기능 또는 동작을 설명하기 위한 예시 도면들이다.18 and 19 are a function of determining whether an electronic device has entered or exited a specific area (eg, a first area) by determining at least one geomagnetic pattern as a representative geomagnetic pattern among a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) to which an angle error is compensated for (eg, an angle error is applied), and comparing obtained geomagnetic data (eg, the geomagnetic pattern) with the at least one representative geomagnetic pattern according to an embodiment of the present document. Or, they are exemplary drawings for explaining the operation.
도 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 may communicate with the electronic device 102 through a first network 198 (eg, a short-distance wireless communication network), or may communicate with at least one of the electronic device 104 and the server 108 through a second network 199 (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, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module ( 190), a subscriber identification module 196, or an antenna module 197. 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) may be integrated into one component (eg, display module 160).
프로세서(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 may, for example, execute software (eg, program 140) to control at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 may store commands or data received from other components (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store resultant data in 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 graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that may operate independently or together with the main processor 121. 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 may be set to be specialized for a designated function. 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 auxiliary processor 123 functions related to 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) along with the main processor 121 while the main processor 121 is in an active (eg, application execution) state or instead of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state. Alternatively, at least some of the states may be controlled. According to one embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of other functionally related components (eg, the camera module 180 or the communication module 190). 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 is not limited to the above examples. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, or a combination of two or more of the above, but is not limited to the above 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 an embodiment, the audio module 170 may obtain sound through the input module 150, output sound through the sound output module 155, or an external electronic device (e.g., electronic device 102) (e.g., speaker or headphone) connected directly or wirelessly to the electronic device 101.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 may detect an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generate an electrical signal or data value corresponding to the detected state. 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 infrared (IR) sensor, a bio sensor, a temperature sensor, a humidity sensor, or an illuminance 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 may support establishment of a direct (e.g., wired) communication channel or wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108), and communication through the established communication channel. 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 may include 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). A corresponding communication module among these communication modules may communicate with the external electronic device 104 through a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or an infrared data association (IrDA)) or a second network 199 (eg, a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a long-distance communication 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 may identify or authenticate the electronic device 101 within a communication network such as the first network 198 or the second network 199 using subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196.
무선 통신 모듈(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 technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). 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 may support various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. 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 an embodiment, the wireless communication module 192 may support peak data rate (eg, 20 Gbps or more) for eMBB realization, loss coverage (eg, 164 dB or less) for mMTC realization, or U-plane latency (eg, downlink (DL) and uplink (UL) 0.5 ms or less, or round trip 1 ms or less) for realizing URLLC.
안테나 모듈(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 may be selected from the plurality of antennas by, for example, the communication module 190. 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 an embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, bottom 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, top surface or side surface) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signals (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 automatically perform a certain function or service or in response to a request from a user or another device, the electronic device 101 may request one or more external electronic devices to perform the function or at least part of the service, instead of or in addition to executing the function or service by itself. 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.
도 2는, 전자 장치(101)가 지자기 패턴을 이용하여 전자 장치(101)의 위치를 검출하는 기능 또는 동작을 설명하기 위한 예시 도면이다.2 is an exemplary diagram for explaining a function or operation of the electronic device 101 detecting a position of the electronic device 101 using a geomagnetic pattern.
도 2를 참조하면, 본 문서의 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)에 미리 저장된 복수의 지자기 패턴들(210)과 전자 장치(101)의 이동에 따라 순차적으로 획득된 지자기 패턴들(220)을 비교하여, 전자 장치(101)가 특정 영역(예: 제1 영역)에 진입 또는 진출하였는지 여부를 판단할 수 있다. 도 2에서의 미리 저장된 복수의 지자기 패턴들(210)은, 특정 영역(예: 제1 영역)에 대해서 미리 획득된, X축에 대한 지자기 패턴(Mx, 210a), Y축에 대한 지자기 패턴(My, 210b) Z축에 대한 지자기 패턴(Mz, 210c)을 포함할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 미리 저장된 복수의 지자기 패턴들(210)과 전자 장치(101)의 이동에 따라 순차적으로 획득된 지자기 패턴들(220)이 실질적으로 일치하는지 여부를 기반으로 전자 장치(101)가 특정 영역(예: 제1 영역(310))에 진입 또는 진출하였는지 여부를 판단할 수 있다. 도 2에서는, 예를 들어, 전자 장치(101)의 이동 거리를 나타내는 인덱스 6 및 7 사이에서 미리 저장된 복수의 지자기 패턴들(210)과 전자 장치(101)의 이동에 따라 순차적으로 획득된 지자기 패턴들(220)이 실질적으로 일치하는 부분이 존재하므로, 전자 장치(101)는 이와 같은 지자기 패턴 분석을 통해 전자 장치를 소지한 사용자가 특정 영역을 통과하였다고 판단할 수 있다. 다만, 댁 내와 같이 좁은 공간에서 실내 구조의 변화가 큰 공간에서는 사용자의 동선에 작은 편차가 발생한 경우, 지자기 패턴이 크게 변화할 수 있다. 이에 대해서는 도 3 및 도 4를 참조하여 보다 상세하게 설명된다.Referring to FIG. 2 , the electronic device 101 according to an embodiment of the present document compares a plurality of geomagnetic patterns 210 previously stored in the electronic device 101 with geomagnetic patterns 220 sequentially obtained as the electronic device 101 moves, and determines whether the electronic device 101 has entered or exited a specific area (eg, a first area). The plurality of geomagnetic patterns 210 stored in advance in FIG. 2 may include a geomagnetic pattern (Mx, 210a) on the X axis, a geomagnetic pattern (My, 210b) on the Y axis, and a geomagnetic pattern (Mz, 210c) on the Z axis, which are previously obtained for a specific region (eg, the first region). The electronic device 101 according to an embodiment of the present document may determine whether the electronic device 101 has entered or exited a specific area (e.g., the first area 310) based on whether the plurality of geomagnetic patterns 210 stored in advance and the geomagnetic patterns 220 sequentially obtained as the electronic device 101 moves substantially match. In FIG. 2 , for example, since a plurality of geomagnetic patterns 210 stored in advance between indices 6 and 7 representing the moving distance of the electronic device 101 and geomagnetic patterns 220 sequentially acquired according to the movement of the electronic device 101 substantially coincide, the electronic device 101 can determine that the user carrying the electronic device has passed through a specific area through such a geomagnetic pattern analysis. However, when a small deviation occurs in a user's movement line in a narrow space such as a house where the change in indoor structure is large, the geomagnetic pattern may greatly change. This will be described in more detail with reference to FIGS. 3 and 4 .
도 3 및 도 4는, 동선 편차에 따라 서로 상이한 지자기 패턴이 획득되는 현상을 설명하기 위한 예시 도면이다.3 and 4 are exemplary diagrams for explaining a phenomenon in which different geomagnetic patterns are obtained according to movement line deviations.
도 3에서는, 각각의 간격이 약 25cm인 세 개의 직선 동선(예: 제1 동선(312), 제2 동선(314) 및 제 3 동선(316))과, 각각의 동선(예: 제1 동선(312), 제2 동선(314) 및 제 3 동선(316))에 대응하는 X축의 지자기 패턴(Mx)(예: 제1 지자기 패턴(312a), 제2 지자기 패턴(314a), 제3 지자기 패턴(316a))이 예시적으로 도시된다. 도 4에서는, 특정 영역(예: 제1 영역(310))에서 획득된 지자기 데이터를 3차원 공간 상에서 표현한 도면이 예시적으로 도시된다. 도 4의 공간 좌표의 가로축 및 세로축은 각각 특정 영역의 좌표 또는 거리(예: 미터)를 나타내며, 높이는 전자 장치(101)의 좌표축 중 X축에 대한 지자기 데이터를 나타낼 수 있다. 따라서, 도 4에서는, 가로 길이가 50cm이고, 세로 길이가 1m인 특정 영역에 대해 X축에 대한 지자기 데이터가 획득되었음을 나타낸다. 도 3 및 도 4에 도시된 바와 같이, 실내 구조의 변화가 큰 공간에서는, 전자 장치(101)를 소지한 사용자의 동선의 위치가 변경된 경우(예: 제1 동선(312)에서 제2 동선(314)으로 변경된 경우), 지자기 패턴이 크게(예: 지자기 패턴의 유사도에 대해 미리 지정된 임계 값을 초과하여) 변화될 수 있다. 이와 같은 현상은, 실내의 구조가 복잡한 환경 뿐만 아니라 강한 자성체가 다수 배치되어 있는 실내 공간에서도 발생될 수 있다. 도 4를 참조하면, 폭이 약 50cm인 좁은 영역에서도 지자기 값은 크게 변화될 수 있음을 확인할 수 있다. 이와 같은 환경에서는, 미리 저장된 지자기 데이터(예: 지자기 패턴)을 전자 장치(101)의 측위에 이용하는 경우, 동선의 편차에 따라 발생될 수 있는 지자기 패턴의 변화로 인하여 정확한 전자 장치(101)의 위치 검파(detection)가 수행되지 못할 수 있다. 또한, 사용자가 동일한 영역을 이동(예: 통과)하더라도 전자 장치(101)를 소지한 사용자의 이동 속도에 따라 특정 영역(예: 제1 영역(310))에서 획득되는 지자기 패턴이 미리 저장된 지자기 패턴과 달라질 수 있다. 이에 대해서는 도 5를 참조하여 보다 상세히 설명된다.In FIG. 3 , three straight copper lines (eg, the first copper wire 312, the second copper wire 314, and the third copper wire 316) each having an interval of about 25 cm, and the X-axis geomagnetic patterns Mx (eg, the first geomagnetic pattern 312a) corresponding to the respective copper wires (eg, the first copper wire 312, the second copper wire 314, and the third copper wire 316) ), the second geomagnetic pattern 314a, and the third geomagnetic pattern 316a) are shown as examples. In FIG. 4 , a diagram representing geomagnetic data obtained in a specific area (eg, the first area 310 ) in a 3D space is shown as an example. The horizontal axis and the vertical axis of the spatial coordinates of FIG. 4 represent coordinates or distances (eg, meters) of a specific area, respectively, and the height may represent geomagnetic data about the X-axis among the coordinate axes of the electronic device 101 . Accordingly, in FIG. 4 , it is shown that geomagnetic data on the X-axis is obtained for a specific region having a horizontal length of 50 cm and a vertical length of 1 m. As shown in FIGS. 3 and 4 , in a space with a large change in indoor structure, when the location of a user's movement path carrying the electronic device 101 is changed (e.g., when the first flow path 312 is changed to the second flow path 314), the geomagnetic pattern may change significantly (e.g., exceeding a predetermined threshold value for similarity of the geomagnetic pattern). Such a phenomenon may occur not only in an environment with a complicated indoor structure but also in an indoor space in which a large number of strong magnetic materials are disposed. Referring to FIG. 4 , it can be confirmed that the geomagnetic value can be greatly changed even in a narrow area having a width of about 50 cm. In such an environment, when pre-stored geomagnetic data (e.g., a geomagnetic pattern) is used for positioning of the electronic device 101, accurate position detection of the electronic device 101 may not be performed due to a change in the geomagnetic pattern that may occur according to a deviation of the movement line. In addition, even if the user moves (eg, passes) the same area, the geomagnetic pattern obtained in a specific area (eg, the first area 310) may differ from the previously stored geomagnetic pattern according to the moving speed of the user carrying the electronic device 101. This will be described in more detail with reference to FIG. 5 .
도 5는, 전자 장치(101)의 이동 속도에 따라 서로 상이한 지자기 패턴이 획득되는 현상을 설명하기 위한 예시 도면이다. 도 5에서는, 전자 장치(101)를 소지한 사용자가 서로 상이한 이동 속도로 특정 영역을 이동하는 경우에, 서로 상이한 비교 대상 지자기 패턴이 획득되는 경우가 예시적으로 도시된다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 획득된 지자기 데이터를 일정한 시간 간격으로 샘플링하여 위치 검파에 이용할 수 있다. 따라서, 전자 장치(101)를 소지한 사용자가 상대적으로 빠르게 이동하는 경우(510)(예: 위치 검파에 이용되는 레퍼런스 지자기 패턴(예: 미리 저장된 지자기 패턴)을 획득할 당시의 이동 속도보다 빠른 이동 속도로 이동하는 경우)에는 상대적으로 느리게 이동하는 경우(520)(예: 위치 검파에 이용되는 레퍼런스 지자기 패턴(예: 미리 저장된 지자기 패턴)을 획득할 당시의 이동 속도보다 느린 이동 속도로 이동하는 경우)에 비해 사용자가 동일한 시간 동안 더 먼 거리를 이동하게 될 수 있다. 이에 따라, 본 문서의 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)가 동일한 영역을 통과하였음에도 불구하고, 위치 검파에 이용되는 레퍼런스 지자기 패턴(예: 미리 저장된 지자기 패턴)과 실질적으로 상이한 패턴을 비교 대상 지자기 패턴으로서 획득하게 되어, 정확한 전자 장치(101)의 위치 검파가 수행되지 못할 수 있다. 또한, 전자 장치(101)를 소지한 사용자가 동일한 위치를 이동하더라도 사용자의 행위에 따라 특정 영역(예: 제1 영역(310))에서 획득되는 지자기 패턴의 파형이 왜곡될 수 있다. 이에 대해서는 도 6을 참조하여 보다 상세히 설명된다.5 is an exemplary diagram for explaining a phenomenon in which different geomagnetic patterns are obtained according to the moving speed of the electronic device 101 . In FIG. 5 , when users carrying the electronic device 101 move in a specific area at different moving speeds, a case in which different geomagnetic patterns to be compared are obtained is illustrated as an example. The electronic device 101 according to an embodiment of the present document may sample the acquired geomagnetic data at regular time intervals and use it for position detection. Therefore, when the user carrying the electronic device 101 moves relatively fast (510) (eg, moving at a moving speed faster than the moving speed at the time of acquiring the reference geomagnetic pattern (eg, pre-stored geomagnetic pattern) used for position detection), compared to the case of moving relatively slowly (520) (eg, moving at a moving speed slower than the moving speed at the time of acquiring the reference geomagnetic pattern (eg, pre-stored geomagnetic pattern) used for position detection), the user has the same You may travel longer distances over time. Accordingly, even though the electronic device 101 passes through the same area, the electronic device 101 according to an embodiment of the present document acquires a pattern substantially different from a reference geomagnetic pattern (e.g., a pre-stored geomagnetic pattern) used for position detection as a geomagnetic pattern to be compared, and thus, accurate position detection of the electronic device 101 may not be performed. In addition, even if a user carrying the electronic device 101 moves to the same location, the waveform of the geomagnetic pattern acquired in a specific area (eg, the first area 310) may be distorted according to the user's action. This will be described in more detail with reference to FIG. 6 .
도 6은, 각도 오차에 따라 왜곡된 지자기 패턴이 획득되는 현상을 설명하기 위한 예시 도면이다. 상술한 바와 같이, 전자 장치(101)를 소지한 사용자의 행위에 따라 특정 영역(예: 제1 영역(310))에서 획득되는 지자기 패턴의 파형이 왜곡될 수 있다. 예를 들어, 사용자 행위는, 사용자가 위치 검파에 이용되는 레퍼런스 지자기 패턴을 획득할 당시와 달리 전자 장치(101)의 화면을 보면서 이동하는 경우, 사용자가 전자 장치(101)를 손에 휴대하고 자연스럽게 걷는 경우, 사용자가 전자 장치(101)를 자신의 주머니에 넣고 걷는 경우 등 다양한 예시들을 포함할 수 있다. 이와 같은 전자 장치(101)에 대한 사용자의 행위가 있는 경우에는, 비교 대상 지자기 데이터가 획득될 시점에서의 좌표 축과 특정 영역(예: 제1 영역(310))에서 지자기 데이터가 미리 수집될 시점의 좌표 축이 서로 정렬되어 있지 않을 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 각각의 사용자 행위에 따른 전자 장치(101)의 방향(orientation)을 추정하고, 획득된 지자기 데이터(예: 비교 대상 지자기 데이터)의 좌표 축과 미리 획득된 지자기 데이터의 좌표 축을 정렬할 수 있다. 예를 들어, 본 문서의 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)를 소지한 사용자의 수평(horizontal) 이동 방향(예: 요(yaw)) 및 전자 장치(101)의 방향(orientation)(예: 피치(pitch) 및 롤(roll))을 추정할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 추정된 수평 이동 방향 및 전자 장치(101)의 방향에 따른 좌표 축과, 획득된 비교 대상 지자기 데이터의 좌표 축과의 각도 차이를 식별할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 식별된 각도 차이를 획득된 비교 대상 지자기 데이터에 적용(예: 회전 변환 행렬을 적용)하여 좌표 축을 정렬할 수 있다. 다만, 추정된 전자 장치(101)의 이동 방향과 실제 전자 장치(101)의 이동 방향 사이에서는 오차(예: 각도 오차)가 있을 수 있다. 이에 따라, 전자 장치(101)가 동일한 특정 영역(예: 제1 영역(310))을 통과하였음에도 불구하고, 위치 검파에 이용되는 레퍼런스 지자기 패턴(예: 미리 저장된 지자기 패턴)과 실질적으로 상이한 패턴을 비교 대상 지자기 패턴으로서 획득하게 되어, 정확한 전자 장치(101)의 위치 검파가 수행되지 못할 수 있다. 도 6에서는, 각도 오차가 발생되지 않은 경우에 획득된 지자기 패턴(620)(예: 감소 패턴)은 실질적으로 미리 저장된 지자기 패턴(610)과 일치하는 패턴을 보이나, 각도 오차(예: -18도)가 발생된 경우에 획득된 지자기 패턴(620)(예: 3차 함수 패턴)은 실질적으로 미리 저장된 지자기 패턴(610)과 상이한 패턴으로 왜곡되어 획득되는 경우가 예시적으로 도시된다.6 is an exemplary diagram for explaining a phenomenon in which a geomagnetic pattern distorted according to an angle error is obtained. As described above, the waveform of the geomagnetic pattern acquired in a specific area (eg, the first area 310) may be distorted according to the user's behavior while carrying the electronic device 101 . For example, the user behavior may include various examples, such as when the user moves while viewing the screen of the electronic device 101, unlike when the user acquires the reference geomagnetic pattern used for location detection, when the user carries the electronic device 101 in his hand and walks naturally, when the user puts the electronic device 101 in his pocket and walks. If there is such a user's action on the electronic device 101, the coordinate axis at the point in time at which geomagnetic data to be compared is acquired and the coordinate axis at the point at which geomagnetic data is pre-collected in a specific area (e.g., the first area 310) may not be aligned with each other. The electronic device 101 according to an embodiment of the present document may estimate the orientation of the electronic device 101 according to each user's action, and align the coordinate axis of the obtained geomagnetic data (e.g., comparison object geomagnetic data) with the coordinate axis of the previously obtained geomagnetic data. For example, the electronic device 101 according to an embodiment of the present document may estimate a horizontal movement direction (eg, yaw) of a user carrying the electronic device 101 and an orientation (eg, pitch and roll) of the electronic device 101. The electronic device 101 according to an embodiment of the present document may identify an angular difference between a coordinate axis according to the estimated horizontal movement direction and the direction of the electronic device 101 and a coordinate axis of the obtained geomagnetic data to be compared. The electronic device 101 according to an embodiment of the present document may align the coordinate axes by applying the identified angular difference to the obtained geomagnetic data to be compared (eg, applying a rotation transformation matrix). However, there may be an error (eg, an angle error) between the estimated moving direction of the electronic device 101 and the actual moving direction of the electronic device 101 . Accordingly, even though the electronic device 101 passes through the same specific area (e.g., the first area 310), a pattern substantially different from a reference geomagnetic pattern (e.g., a pre-stored geomagnetic pattern) used for position detection is obtained as a geomagnetic pattern to be compared, and thus, accurate position detection of the electronic device 101 may not be performed. In FIG. 6, a case in which a geomagnetic pattern 620 (e.g., a decrease pattern) obtained when an angular error does not occur shows a pattern that substantially matches the pre-stored geomagnetic pattern 610, but a geomagnetic pattern 620 (e.g., a cubic function pattern) obtained when an angular error (e.g., -18 degrees) occurs is distorted and obtained in a pattern different from the substantially pre-stored geomagnetic pattern 610.
도 7은, 본 문서의 일 실시예에 따른, 전자 장치(101)의 동선 편차, 이동 속도 및 각도 오차를 기반으로 예측된 적어도 하나의 지자기 패턴을 이용하여 전자 장치가 특정한 영역 또는 장소에 위치하는지 여부를 판단하는 기능 또는 동작을 설명하기 위한 예시 도면이다.7 is an exemplary diagram for explaining a function or operation of determining whether an electronic device 101 is located in a specific area or place using at least one geomagnetic pattern predicted based on movement line deviation, movement speed, and angular error of the electronic device 101 according to an embodiment of the present document.
도 7을 참조하면, 본 문서의 일 실시예에 따른 전자 장치(101)(예: 프로세서(120))는, 동작 710에서, 센서 모듈(176)(예: 지자기 센싱 모듈)을 이용하여 센싱된 제1 영역(310)에 대한 지자기 데이터를 센서 모듈(176)로부터 획득할 수 있다. 본 문서의 일 실시예에 따른 지자기 데이터는, 아래의 수학식 1과 같이, 시간 축으로 [0, T], 자기장 축으로 [0, Mmax]의 공간에서 표현될 수 있다. 여기에서, Mmax는 측정 가능한 자기장의 최대 값을 의미할 수 있고, T는 지자기 계의 측정 시간을 의미할 수 있다. Referring to FIG. 7 , the electronic device 101 (eg, the processor 120) according to an embodiment of the present document may, in operation 710, acquire geomagnetic data for the first region 310 sensed using the sensor module 176 (eg, the geomagnetic sensing module) from the sensor module 176. Geomagnetic data according to an embodiment of the present document may be expressed in a space of [0, T] as a time axis and [0, M max ] as a magnetic field axis, as shown in Equation 1 below. Here, M max may mean the maximum value of the measurable magnetic field, and T may mean the measurement time of the geomagnetic field.
Figure PCTKR2023000967-appb-img-000001
Figure PCTKR2023000967-appb-img-000001
본 문서의 일 실시예에 따른 전자 장치(101)는, 증강 현실(AR) 기술 또는 센서(예: 카메라 모듈(180))를 이용하여 결정된, 특정 영역(예: 제1 영역(310))에 대한 좌표 데이터 i 및 j를 지자기 데이터와 함께 전자 장치(101)에 저장할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)에 저장되는 지자기 데이터 및 좌표 데이터는 아래와 같은 수학식 2로 표현될 수 있다. 여기에서, 좌표 데이터 i 및 j는, 증강 현실 기술과 같은 공간 인식 기술을 통해 식별된 공간에 대해서 설정되는 상대적 좌표일 수 있다. 도 8은, 본 문서의 일 실시예에 따른 전자 장치가 특정 영역의 좌표를 설정하는 기능 또는 동작을 설명하기 위한 예시 도면이다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 도 8에 도시된 바와 같이, 전자 장치(101)의 이동 방향을 기준으로 좌표 데이터를 결정할 수 있다. 예를 들어, 본 문서의 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)의 이동 방향에 실질적으로 평행인 방향을 j축으로 설정할 수 있고, 전자 장치(101)의 이동 방향에 실질적으로 수직인 방향을 i축으로 설정할 수 있다. 도시되지는 아니하였으나, 본 문서의 일 실시예에 따른 전자 장치(101)는, 제1 영역(310)의 좌측 하단부를 (0,0)으로 설정하고, 제1 영역(310)의 가로 길이 및 세로 길이에 대응하도록 좌표 값을 설정할 수 있다. The electronic device 101 according to an embodiment of the present document may store coordinate data i and j of a specific area (eg, the first area 310) determined using augmented reality (AR) technology or a sensor (eg, the camera module 180) in the electronic device 101 together with geomagnetic data. Geomagnetic data and coordinate data stored in the electronic device 101 according to an embodiment of the present document may be expressed by Equation 2 below. Here, the coordinate data i and j may be relative coordinates set with respect to a space identified through a space recognition technology such as an augmented reality technology. 8 is an exemplary diagram for explaining a function or operation of setting coordinates of a specific area by an electronic device according to an embodiment of the present document. As shown in FIG. 8 , the electronic device 101 according to an embodiment of the present document may determine coordinate data based on the movement direction of the electronic device 101 . For example, the electronic device 101 according to an embodiment of the present document may set a direction substantially parallel to the moving direction of the electronic device 101 as the j-axis, and may set a direction substantially perpendicular to the moving direction of the electronic device 101 as the i-axis. Although not shown, the electronic device 101 according to an embodiment of the present document may set the lower left portion of the first area 310 to (0,0) and set coordinate values to correspond to the horizontal and vertical lengths of the first area 310.
Figure PCTKR2023000967-appb-img-000002
Figure PCTKR2023000967-appb-img-000002
본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 720에서, 동작 710에 따라 획득된 데이터를 제1 영역(310)의 속성에 기반하여 결정된 다항식으로 모델링(modeling) 할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 제1 영역(310)의 축의 길이(예: y축의 길이)에 따라 다항식의 차수(degree)를 결정할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)에는, 제1 영역(310)의 속성에 기반하여 다항식이 결정될 수 있도록, 제1 영역(310)의 속성(예: 제1 영역(310)의 y축의 길이)과 다항식의 차수와의 관계가 정의된 룩 업 테이블이 저장되어 있을 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 이와 같은 룩 업 테이블을 참조하여 다항식을 결정할 수 있다. 본 문서의 다른 실시예에 따르면, 다항식의 차수는 제1 영역(310)의 속성과 무관하게 미리 지정되어 있을 수도 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 커브 피팅(curve fitting) 프로세스를 통해 다항식의 계수(예: ax, bx,..., lx, ay, by,..., ly, az, bz,..., lz) 를 도출할 수 있다. 예를 들어, 한 변의 길이가 1m인 특정한 영역에 대한 지자기 데이터(예: x축에 대한 지자기 데이터(Mx(i,j))를 특정한 다항식(예: 3차 다항식)으로 모델링하는 경우, 아래의 수학식 3과 같이 모델링(예: 표현)될 수 있다. 마찬가지로, y축에 대한 지자기 데이터((My(i,j)) 및 z축에 대한 지자기 데이터((Mz(i,j))는 각각 수학식 4 및 수학식 5와 같이 모델링 될 수 있다. In operation 720, the electronic device 101 according to an embodiment of the present document may model the data obtained according to operation 710 as a polynomial determined based on the attribute of the first area 310. The electronic device 101 according to an embodiment of the present document may determine the degree of the polynomial according to the length of the axis of the first region 310 (eg, the length of the y-axis). The electronic device 101 according to an embodiment of the present document may store a look-up table in which a relationship between the property of the first area 310 (eg, the length of the y-axis of the first area 310) and the degree of the polynomial is defined so that the polynomial can be determined based on the property of the first area 310. The electronic device 101 according to an embodiment of the present document may determine a polynomial by referring to such a lookup table. According to another embodiment of the present document, the degree of the polynomial may be previously designated regardless of the property of the first area 310 . The electronic device 101 according to an embodiment of the present document may derive polynomial coefficients (eg, a x , b x,..., l x, a y , b y,..., l y, a z , b z,..., l z ) through a curve fitting process. For example, when geomagnetic data (eg, geomagnetic data (M x (i,j)) on the x-axis) for a specific region having a side length of 1 m is modeled with a specific polynomial (eg, 3rd order polynomial), it may be modeled (eg, expressed) as shown in Equation 3 below. Similarly, the geomagnetic data (M y (i,j)) on the y-axis and the geomagnetic data (M z (i,j)) on the z-axis are respectively It can be modeled as Equation 4 and Equation 5.
Figure PCTKR2023000967-appb-img-000003
Figure PCTKR2023000967-appb-img-000003
Figure PCTKR2023000967-appb-img-000004
Figure PCTKR2023000967-appb-img-000004
Figure PCTKR2023000967-appb-img-000005
Figure PCTKR2023000967-appb-img-000005
본 문서의 일 실시예에 따른 전자 장치(101)는, 라소(Lasso) 및/또는 릿지(Ridge)와 같은 다양한 회귀(regression) 알고리즘들을 적용하여 수학식의 계수(예: ax) 값을 결정할 수 있다. 본 문서의 일 실시예에 따르면, 특정한 다항식(예: 수학식 3)으로 모델링 된 지자기 데이터는 도 9에 도시된 바와 같이 패턴화되어 추정(예: 예측) 및 표현될 수 있다. The electronic device 101 according to an embodiment of the present document may determine a value of a coefficient (eg, a x ) of an equation by applying various regression algorithms such as Lasso and/or Ridge. According to an embodiment of the present document, geomagnetic data modeled by a specific polynomial (eg, Equation 3) may be patterned, estimated (eg, predicted), and expressed as shown in FIG. 9 .
본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 730에서, 모델링 된 다항식이 적용될 적어도 하나의 제2 영역(310a)을 설정하고, 적어도 하나의 제2 영역(310a)에 대한 복수의 지자기 패턴들을 모델링된 다항식을 이용하여 추정할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 미리 지정된 비율에 따라 제1 영역(310)의 크기(예: 가로 길이)를 확대(예: 증가) 할 수 있다. 도 10에서는, 예시적으로, 본 문서의 일 실시예에 따른 전자 장치(101)가 제1 영역(310)의 가로 길이를 미리 지정된 비율(예: 마진(margin))에 따라 증가시키는 실시예가 도시된다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 제2 영역(310a)의 좌측 하단 지점(1010)을 새로운 원점(예: (0,0))으로 설정할 수 있다. 또는, 본 문서의 다른 실시예에 따르면, 제2 영역(310a)의 좌측 하단 지점(1010)을 새로운 원점(예: (0,0))으로 설정하지 않고, 기존의 원점을 유지할 수도 있다. 도 10에 도시된 기능 또는 동작, 예를 들어, 제1 영역(310)의 크기(예: 가로 길이)를 확대(예: 증가)하여 제2 영역(310a)을 설정하는 기능 또는 동작을 통해, 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))을 근소한 차이로 벗어나서 이동하더라도 전자 장치(101)는 특정 영역(예: 제1 영역(310))에 진입 또는 특정 영역(예: 제1 영역(310))으로부터 진출하였다고 판단할 수 있다. 따라서, 이와 같은 기능 또는 동작에 따라 사용자의 동선 편차에 따른 오차(예: 사용자가 제1 영역(310)에 근접한(예: 제1 영역(310)의 경계선으로부터 3cm 벗어난 경우) 동선에 따라 이동한 경우)가 보상(예: 제1 영역(310)을 통과하였다고 판단)되어, 본 문서의 일 실시예에 따른 전자 장치(101)에 의한 위치 검파의 정확도가 개선될 수 있다. In operation 730, the electronic device 101 according to an embodiment of the present document sets at least one second region 310a to which the modeled polynomial is applied, and estimates a plurality of geomagnetic patterns for the at least one second region 310a using the modeled polynomial. The electronic device 101 according to an embodiment of the present document may enlarge (eg, increase) the size (eg, horizontal length) of the first region 310 according to a predetermined ratio. 10 exemplarily illustrates an embodiment in which the electronic device 101 increases the horizontal length of the first region 310 according to a predetermined ratio (eg, a margin) according to an embodiment of the present document. The electronic device 101 according to an embodiment of the present document may set the lower left point 1010 of the second area 310a as a new origin point (eg, (0,0)). Alternatively, according to another embodiment of this document, the original origin may be maintained without setting the lower left point 1010 of the second region 310a as a new origin (eg, (0,0)). Through the function or operation shown in FIG. 10 , for example, the function or operation of setting the second area 310a by enlarging (eg, increasing) the size (eg, horizontal length) of the first area 310, even if the user carrying the electronic device 101 moves out of the specific area (eg, the first area 310) by a slight difference, the electronic device 101 enters the specific area (eg, the first area 310) or enters the specific area (eg, the first area 310). : It may be determined that the user has advanced from the first area 310). Therefore, according to such a function or operation, an error due to a user's movement line deviation (e.g., when the user moves along a movement line close to the first area 310 (e.g., 3 cm away from the boundary of the first area 310)) is compensated (e.g., it is determined that the user has passed through the first area 310), and thus the accuracy of location detection by the electronic device 101 according to an embodiment of the present document can be improved.
도 11은, 본 문서의 일 실시예에 따른 전자 장치(101)가, 사용자의 이동 속도가 지자기 데이터가 획득될 당시의 이동 속도보다 상대적으로 빠른 경우에 발생되는 오차를 보상하기 위하여, 제1 영역(310)의 i축 및 j축(예: 사용자의 이동 방향과 동일한 축)을 확장하여 제2 영역(310a)을 결정하는 기능 또는 동작을 설명하기 위한 예시 도면이다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)를 소지한 사용자가 상대적으로 빠르게 이동하는 경우, 이동 속도에 따른 오차(예: 동일한 제1 영역(310)을 통과하였음에도 서로 다른 지자기 패턴이 획득되는 경우)를 보상(예: 미리 저장된 지자기 패턴과 상이한 패턴이 획득되더라도 제1 영역(310)을 통과하였다고 판단)하기 위하여, 도 11에 예시적으로 도시된 바와 같이, 제1 영역(310)의 가로 길이 및 세로 길이를 모두 증가시킬 수 있다. 도 11에서는, 도 10과 관련하여 언급된 "마진"이 i축에 대해서 적용된 실시예가 예시적으로 도시된다. 본 문서의 다른 실시예에 따르면, 전자 장치(101)는, 제1 영역(310)의 j축의 길이만 증가시킬 수도 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 전자 장치(101)를 소지한 사용자가 상대적으로 느리게 이동하는 경우, 이동 속도에 따른 오차(예: 동일한 제1 영역(310)을 통과하였음에도 서로 다른 지자기 패턴이 획득되는 경우)를 보상(예: 미리 저장된 지자기 패턴과 상이한 패턴이 획득되더라도 제1 영역(310)을 통과하였다고 판단)하기 위하여, 도 12에 예시적으로 도시된 바와 같이, 제1 영역(310)의 j축의 길이를 감소시킬 수 있다. 도 12에서는, 도 10과 관련하여 언급된 "마진"이 i축에 대해서 적용된 실시예가 예시적으로 도시된다. 본 문서의 다른 실시예에 따르면, 전자 장치(101)는, 제1 영역(310)의 j축의 길이만 감소시킬 수도 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 제2 영역(310a)의 좌측 하단 지점(1010)을 새로운 원점(예: (0,0))으로 설정할 수 있다. 또는, 본 문서의 다른 실시예에 따르면, 제2 영역(310a)의 좌측 하단 지점(1010)을 새로운 원점(예: (0,0))으로 설정하지 않고, 기존의 원점을 유지할 수도 있다.11 is an exemplary diagram for explaining a function or operation of determining a second region 310a by extending the i-axis and the j-axis (eg, the same axis as the user's movement direction) of the first region 310 in order to compensate for an error that occurs when the user's movement speed is relatively faster than the movement speed at the time geomagnetic data is obtained, according to an embodiment of the present document. The electronic device 101 according to an embodiment of the present document, when a user carrying the electronic device 101 moves relatively fast, compensates for an error (eg, when a different geomagnetic pattern is obtained even though a geomagnetic pattern that is different from a previously stored geomagnetic pattern is obtained) according to a moving speed, as illustrated in FIG. 11 exemplarily as shown in FIG. ) can be increased both in the horizontal length and in the vertical length. In FIG. 11, an embodiment in which the “margin” mentioned in relation to FIG. 10 is applied to the i-axis is exemplarily shown. According to another embodiment of the present document, the electronic device 101 may increase only the length of the j-axis of the first region 310 . The electronic device 101 according to an embodiment of the present document, when a user carrying the electronic device 101 moves relatively slowly, compensates for an error (eg, when different geomagnetic patterns are acquired even though passing through the same first area 310) according to the movement speed (eg, it is determined that the user has passed through the first area 310 even if a pattern different from a previously stored geomagnetic pattern is acquired), as exemplarily shown in FIG. 12 , in the first area 310 . ) can reduce the length of the j-axis. In FIG. 12, an embodiment in which the “margin” mentioned in relation to FIG. 10 is applied to the i-axis is exemplarily shown. According to another embodiment of the present document, the electronic device 101 may reduce only the length of the j-axis of the first region 310 . The electronic device 101 according to an embodiment of the present document may set the lower left point 1010 of the second area 310a as a new origin point (eg, (0,0)). Alternatively, according to another embodiment of this document, the original origin may be maintained without setting the lower left point 1010 of the second region 310a as a new origin (eg, (0,0)).
도 13 및 도 14는, 본 문서의 일 실시예에 따른 전자 장치(101)가, 제2 영역(310a)의 i축에 대해서 미리 지정된 또는 사용자에 의하여 설정된 인터벌(ibias)에 따라 지자기 패턴을 획득하는 기능 또는 동작을 설명하기 위한 예시 도면들이다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 제2 영역(310a)에 대한 복수의 지자기 패턴들(예: 제4 지자기 패턴(1321), 제5 지자기 패턴(1322), 제6 지자기 패턴(1323), 제7 지자기 패턴(1324), 제8 지자기 패턴(1325), 제9 지자기 패턴(1326), 제10 지자기 패턴(1327), 제11 지자기 패턴(1328), 제12 지자기 패턴(1329))을 모델링 된 다항식을 이용하여(예: 기반으로) 추정(예: 획득)할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 특정한 인터벌(ibias)에 따라 지자기 패턴을 추정할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 아래의 수학식 6에 따라 특정한 인터벌(ibias)을 결정하고, 동작 720에 따라 모델링 된 다항식들을 특정한 인터벌(ibias)에 따라 지자기 패턴을 획득(예: 추정)할 수 있다. 예를 들면, 본 문서의 일 실시예에 따른 전자 장치(101)는, 아래의 수학식 7, 수학식 8 및 수학식 9에 따라 제2 영역(310a)에서 지자기 패턴을 획득할 수 있다. 아래의 수학식 6에서 N은, 획득될 지자기 패턴의 개수를 의미할 수 있으며, 미리 지정되어 있거나 사용자에 의하여 설정될 수 있다. 또한, 수학식 7 내지 수학식 9는, 아래의 수학식 10의 조건을 만족할 수 있으며, 수학식 7 내지 수학식 9의 n은, 0 내지 N-1을 만족하는 자연수를 의미할 수 있다. 또한, 수학식 6 내지 수학식 9의
Figure PCTKR2023000967-appb-img-000006
Figure PCTKR2023000967-appb-img-000007
는 제2 영역(310a)의 우측 상단 지점(1310)의 좌표일 수 있다. 또한, 수학식 7 내지 수학식 9에서,
Figure PCTKR2023000967-appb-img-000008
일 수 있다.
13 and 14 are exemplary diagrams for explaining a function or operation in which the electronic device 101 according to an embodiment of the present document obtains a geomagnetic pattern according to an interval (i bias ) designated in advance or set by a user with respect to the i-axis of the second region 310a. The electronic device 101 according to an embodiment of the present document includes a plurality of geomagnetic patterns (eg, a fourth geomagnetic pattern 1321, a fifth geomagnetic pattern 1322, a sixth geomagnetic pattern 1323, a seventh geomagnetic pattern 1324, an eighth geomagnetic pattern 1325, a ninth geomagnetic pattern 1326, and a tenth geomagnetic pattern for the second region 310a. The pattern 1327, the eleventh geomagnetic pattern 1328, and the twelfth geomagnetic pattern 1329 may be estimated (eg, acquired) using (eg, based on) the modeled polynomial. The electronic device 101 according to an embodiment of the present document may estimate a geomagnetic pattern according to a specific interval (i bias ). The electronic device 101 according to an embodiment of the present document determines a specific interval (i bias ) according to Equation 6 below, and acquires (eg, estimates) a geomagnetic pattern according to the modeled polynomials according to the specific interval (i bias ) according to operation 720. For example, the electronic device 101 according to an embodiment of the present document may obtain a geomagnetic pattern in the second region 310a according to Equations 7, 8, and 9 below. In Equation 6 below, N may mean the number of geomagnetic patterns to be obtained, and may be pre-specified or set by a user. In addition, Equations 7 to 9 may satisfy the condition of Equation 10 below, and n in Equations 7 to 9 may mean a natural number satisfying 0 to N-1. In addition, Equations 6 to 9
Figure PCTKR2023000967-appb-img-000006
and
Figure PCTKR2023000967-appb-img-000007
may be the coordinates of the upper right point 1310 of the second area 310a. Also, in Equations 7 to 9,
Figure PCTKR2023000967-appb-img-000008
can be
Figure PCTKR2023000967-appb-img-000009
Figure PCTKR2023000967-appb-img-000009
Figure PCTKR2023000967-appb-img-000010
Figure PCTKR2023000967-appb-img-000010
Figure PCTKR2023000967-appb-img-000011
Figure PCTKR2023000967-appb-img-000011
Figure PCTKR2023000967-appb-img-000012
Figure PCTKR2023000967-appb-img-000012
Figure PCTKR2023000967-appb-img-000013
Figure PCTKR2023000967-appb-img-000013
본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 740에서, 추정된 복수의 지자기 패턴들 각각에 대해, 각도 오차(1510)를 보상하기 위한 연산을 수행하여 복수의 레퍼런스 지자기 패턴들을 획득할 수 있다. 도 15는, 본 문서의 일 실시예에 따른 각도 오차(1510)(예: 사용자의 수평 이동 방향에 대한 각도 오차)를 설명하기 위한 예시 도면이다. 상술한 바와 같이, 본 문서의 일 실시예에 따른 각도 오차(1510)는, 실제 사용자의 이동 방향(예: 사용자의 수평 이동 방향 및 전자 장치(101)의 오리엔테이션)과 전자 장치(101)에 의하여 추정된 사용자의 이동 방향과의 차이를 의미할 수 있다. 본 문서의 일 실시예에 따르면, 각도 오차(1510)는 사용자의 수평 이동 방향에 따른 각도 오차 및 전자 장치(101)의 오리엔테이션에 따른 각도 오차로서 총 2가지 타입의 각도 오차가 발생될 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 2가지 타입의 각도 오차(1510)를 모두 복수의 지자기 패턴들(예: 제4 지자기 패턴(1321), 제5 지자기 패턴(1322), 제6 지자기 패턴(1323), 제7 지자기 패턴(1324), 제8 지자기 패턴(1325), 제9 지자기 패턴(1326), 제10 지자기 패턴(1327), 제11 지자기 패턴(1328), 제12 지자기 패턴(1329))에 대해 적용할 수 있다(예: 2가지 타입의 각도 오차 값(예: 5˚및 -5˚)을 포함하는 회전 변환 행렬을 각각의 복수의 지자기 패턴들에 대해 순차적으로 적용). 또는, 본 문서의 일 실시예에 따른 전자 장치(101)는, 2가지 타입의 각도 오차 중 어느 하나의 타입의 각도 오차(1510)만을 적용(예: 특정한 각도 오차 값(예: 5˚)을 포함하는 회전 변환 행렬을 각각의 복수의 지자기 패턴들에 대해 적용)할 수도 있다. 또는, 본 문서의 일 실시예에 따른 전자 장치(101)는, 2가지 타입의 각도 오차의 범위를 포괄하도록 모델링 된 각도 오차 범위에 포함되는 특정한 각도 오차 값을 적용할 수도 있다(예: 경험적으로 미리 지정된 각도 범위(예: -10˚내지 10˚)에 포함된 특정한 각도 오차 값(예: 3˚)을 포함하는 회전 변환 행렬을 각각의 복수의 지자기 패턴들에 대해 적용). 이 경우, 본 문서의 일 실시예에 따르면, 모델링 된 각도 오차 범위는 아래와 같은 수학식 11에 따라 표현될 수 있다. 수학식 11에서, θ는 각도 오차를 의미할 수 있고, θmin은 각도 범위의 최솟값을 의미할 수 있고, θmax는 각도 범위의 최댓값을 의미할 수 있다.In operation 740, the electronic device 101 according to an embodiment of the present document may obtain a plurality of reference geomagnetic patterns by performing an operation to compensate for an angle error 1510 for each of a plurality of estimated geomagnetic patterns. 15 is an example diagram for explaining an angular error 1510 (eg, an angular error with respect to a user's horizontal movement direction) according to an embodiment of the present document. As described above, the angular error 1510 according to an embodiment of the present document may mean a difference between an actual user's movement direction (eg, the user's horizontal movement direction and the orientation of the electronic device 101) and the user's movement direction estimated by the electronic device 101. According to an embodiment of the present document, the angle error 1510 is an angle error according to the user's horizontal movement direction and an angle error according to the orientation of the electronic device 101, and a total of two types of angle errors may be generated. The electronic device 101 according to an embodiment of the present document converts both types of angular errors 1510 into a plurality of geomagnetic patterns (eg, the fourth geomagnetic pattern 1321, the fifth geomagnetic pattern 1322, the sixth geomagnetic pattern 1323, the seventh geomagnetic pattern 1324, the eighth geomagnetic pattern 1325, the ninth geomagnetic pattern 1326, and the first geomagnetic pattern 1326). It can be applied to the 0 geomagnetic pattern 1327, the 11th geomagnetic pattern 1328, and the 12th geomagnetic pattern 1329) (e.g., sequentially applying a rotation transformation matrix including two types of angular error values (e.g., 5˚ and -5˚) to each of a plurality of geomagnetic patterns). Alternatively, the electronic device 101 according to an embodiment of the present document may apply only one type of angular error 1510 among two types of angular errors (eg, apply a rotation transformation matrix including a specific angular error value (eg, 5°) to each of a plurality of geomagnetic patterns). Alternatively, the electronic device 101 according to an embodiment of the present document may apply a specific angular error value included in an angular error range modeled to cover two types of angular error ranges (e.g., apply a rotation transformation matrix including a specific angular error value (e.g., 3°) included in an empirically predetermined angular range (e.g., -10° to 10°) to each of a plurality of geomagnetic patterns). In this case, according to an embodiment of the present document, the modeled angular error range may be expressed according to Equation 11 below. In Equation 11, θ may mean an angular error, θ min may mean a minimum value of an angular range, and θ max may mean a maximum value of an angular range.
Figure PCTKR2023000967-appb-img-000014
Figure PCTKR2023000967-appb-img-000014
본 문서의 일 실시예에 따른 전자 장치(101)는, 수학식 11에 도시된 각도 오차 범위에 포함되는 적어도 하나의 각도 오차 값을 복수의 지자기 패턴들(예: 제4 지자기 패턴(1321), 제5 지자기 패턴(1322), 제6 지자기 패턴(1323), 제7 지자기 패턴(1324), 제8 지자기 패턴(1325), 제9 지자기 패턴(1326), 제10 지자기 패턴(1327), 제11 지자기 패턴(1328), 제12 지자기 패턴(1329))에 대해 적용할 수 있다. 예를 들면, 본 문서의 일 실시예에 따른 전자 장치(101)는, θmin θmax 사이에서 동일한 간격으로 M개의 각도 오차 값을 결정할 수 있다. 이와 같은 경우, 도 16에 도시된 바와 같이, M×N개의 지자기 패턴들이 획득될 수 있다. 도 16은, 본 문서의 일 실시예에 따른 전자 장치(101)가, 각도 오차를 보상하기 위하여(예: 각도 오차가 적용된 지자기 패턴을 획득하기 위하여), 획득된 지자기 패턴에 미리 지정된 각도 범위에 포함되는 적어도 하나의 각도 오차 값을 적용하는 기능 또는 동작을 설명하기 위한 예시 도면이다. 도 16에서는, 복수의 지자기 패턴들(예: 제4 지자기 패턴(1321), 제5 지자기 패턴(1322), 제6 지자기 패턴(1323), 제7 지자기 패턴(1324), 제8 지자기 패턴(1325), 제9 지자기 패턴(1326), 제10 지자기 패턴(1327), 제11 지자기 패턴(1328), 제12 지자기 패턴(1329))에 대해 M개의 각도 오차 값을 각각 적용한 결과, M×N개의 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m))이 획득된 결과가 예시적으로 도시된다.The electronic device 101 according to an embodiment of the present document converts at least one angular error value included in the angular error range shown in Equation 11 into a plurality of geomagnetic patterns (eg, the fourth geomagnetic pattern 1321, the fifth geomagnetic pattern 1322, the sixth geomagnetic pattern 1323, the seventh geomagnetic pattern 1324, the eighth geomagnetic pattern 1325, and the ninth geomagnetic pattern 13). 26), the 10th geomagnetic pattern 1327, the 11th geomagnetic pattern 1328, and the 12th geomagnetic pattern 1329). For example, in the electronic device 101 according to an embodiment of the present document, θ min and M number of angular error values may be determined at equal intervals between θ max . In this case, as shown in FIG. 16, M×N geomagnetic patterns can be obtained. 16 is an exemplary diagram for explaining a function or operation of applying at least one angular error value included in a predetermined angular range to an obtained geomagnetic pattern in order to compensate for an angular error (eg, to obtain a geomagnetic pattern to which the angular error is applied) by the electronic device 101 according to an embodiment of the present document. 16, a plurality of geomagnetic patterns (e.g., a fourth geomagnetic pattern 1321, a fifth geomagnetic pattern 1322, a sixth geomagnetic pattern 1323, a seventh geomagnetic pattern 1324, an eighth geomagnetic pattern 1325, a ninth geomagnetic pattern 1326, a tenth geomagnetic pattern 1327, an eleventh geomagnetic pattern 1328, As a result of applying M angular error values to the twelfth geomagnetic pattern 1329, respectively, M×N geomagnetic patterns (e.g., a first geomagnetic pattern 1620a, a geomagnetic second pattern 1620m, a geomagnetic third reference pattern 1630a, and a geomagnetic fourth reference pattern 1630m) are obtained.
본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 750에서, 동작 740에 따라 획득된 복수의 레퍼런스 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m))을 이용하여 결정된 통계 값에 기반하여, 전자 장치(101)가 제1 영역(310)에 위치하는지 여부를 판단할 수 있다. 도 17은, 본 문서의 일 실시예에 따른 전자 장치(101)가, 각도 오차(1510)가 보상된 복수의 지자기 패턴들(예: 복수의 레퍼런스 지자기 패턴들)과 미리 지정된 대표 지자기 패턴과의 유사도(예: 통계 값)를 판단하고, 판단된 유사도에 기반하여 전자 장치(101)가 특정 영역(예: 제1 영역)에 진입 또는 진출하였는지 여부를 판단하는 기능 또는 동작을 설명하기 위한 예시 도면이다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과 복수의 레퍼런스 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 각각의 통계 값(예: 유사도)를 판단할 수 있다. 본 문서의 일 실시예에 따른 통계 값은, 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과 복수의 레퍼런스 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 각각의 상관 값(correlation) 및/또는 유클리드 거리를 포함할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 통계 값의 임계 값의 범위를 전자 장치(101)에 저장할 수 있다. 예를 들어, 제1 레퍼런스 지자기 패턴(1620a)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 상관 값이 C1로 식별되고, 제2 레퍼런스 지자기 패턴(1620m)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 상관 값이 C2로 식별되고, 제3 레퍼런스 지자기 패턴(1630a)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 상관 값이 C3으로 식별되고, 제4 레퍼런스 지자기 패턴(1630m)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 상관 값이 C4로 식별된 경우, 본 문서의 일 실시예에 따른 전자 장치(101)는, 임계 값을 C1내지 C4의 값 중 최솟값으로 결정하여 저장할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)을 비교하고, 비교 결과에 기반하여 전자 장치(101)가 특정 영역(예: 제1 영역(310))에 진입 또는 특정 영역(예: 제1 영역(310))으로부터 진출하였는지 여부를 판단할 수 있다. 예를 들어, 임계 값이 0.5로 결정된 상황에서, 특정한 시점에서, 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)의 상관도가 0.9로서 식별된 경우, 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))에 진입하였다고 판단할 수 있다. 또는, 특정한 시점에서, 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)의 상관도가 0.1로서 식별된 경우, 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))을 지나지 않았다고 판단할 수 있다. 본 문서의 다른 실시예에 따르면, 통계 값이 유사도 개념이 아닌 거리 개념의 통계 값(예: 유클리드 거리)인 경우, 임계 값보다 작은 값을 가지는 경우에 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))에 진입하였다고 판단할 수 있다. 예를 들어, 제1 레퍼런스 지자기 패턴(1620a)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 유클리드 거리 값이 1로 식별되고, 제2 레퍼런스 지자기 패턴(1620m)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 유클리드 거리 값이 2로 식별되고, 제3 레퍼런스 지자기 패턴(1630a)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 유클리드 거리 값이 3으로 식별되고, 제4 레퍼런스 지자기 패턴(1630m)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)과의 유클리드 거리 값이 4로 식별된 경우, 본 문서의 일 실시예에 따른 전자 장치(101)는, 임계 값을 상기 유클리드 거리의 최대값인 4로 결정하여 저장할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)을 비교하고, 비교 결과에 기반하여 전자 장치(101)가 특정 영역(예: 제1 영역(310))에 진입 또는 특정 영역(예: 제1 영역(310))으로부터 진출하였는지 여부를 판단할 수 있다. 예를 들어, 특정한 시점에서, 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)의 유클리드 거리 값이 4로서 식별된 경우, 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))에 진입하였다고 판단할 수 있다. 또는, 특정한 시점에서, 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)과 대표 지자기 패턴(예: 제2 동선(314)에 따라 획득된 지자기 패턴)의 유클리드 거리 값이 5로서 식별된 경우, 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))을 지나지 않았다고 판단할 수 있다. 본 문서의 다른 실시예에 따르면, 전자 장치(101)가 복수의 레퍼런스 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 중에서 적어도 하나의 대표 지자기 패턴을 결정하고, 결정된 대표 지자기 패턴을 이용하여 전자 장치(101)가 제1 영역(310)에 위치하는지 여부를 판단할 수도 있다. 이에 대해서는 도 18 및 도 19를 참조하여 보다 상세히 설명된다.The electronic device 101 according to an embodiment of the present document, in operation 750, determines the electronic device 101 based on a statistical value determined using a plurality of reference geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m) obtained in operation 740. It is possible to determine whether is located in the first area 310 . FIG. 17 is an exemplary diagram for explaining a function or operation of the electronic device 101 according to an embodiment of the present document to determine similarities (eg, statistical values) between a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) for which an angular error 1510 is compensated for and a predetermined representative geomagnetic pattern, and to determine whether the electronic device 101 has entered or exited a specific area (eg, a first area) based on the determined similarity. The electronic device 101 according to an embodiment of the present document includes a representative geomagnetic pattern (eg, a geomagnetic pattern obtained along the second copper wire 314) and a plurality of reference geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m) each statistical value (eg: similarity). Statistical values according to an embodiment of the present document are a representative geomagnetic pattern (eg, a geomagnetic pattern obtained along the second flow line 314) and a plurality of reference geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m), respectively, and/or May include Euclidean distance. The electronic device 101 according to an embodiment of the present document may store a threshold range of statistical values in the electronic device 101 . For example, a correlation value between the first reference geomagnetic pattern 1620a and a representative geomagnetic pattern (eg, a geomagnetic pattern obtained along the second flow line 314) is identified as C1, a correlation value between the second reference geomagnetic pattern 1620m and a representative geomagnetic pattern (eg, a geomagnetic pattern obtained along the second flow line 314) is identified as C2, and a third reference geomagnetic pattern 1630a When the correlation value between the reference geomagnetic pattern 1630m and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as C3, and the correlation value between the fourth reference geomagnetic pattern 1630m and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as C4, the electronic device 101 according to an embodiment of the present document sets the threshold value to the minimum value among the values C1 to C4. can be determined and stored. The electronic device 101 according to an embodiment of the present document may compare the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) with the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314), and determine whether the electronic device 101 has entered or exited a specific area (e.g., the first area 310) based on the comparison result. For example, in a situation where the threshold value is determined to be 0.5, if the correlation between the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) and the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second flow path 314) is identified as 0.9 at a specific time point, it may be determined that the user carrying the electronic device 101 has entered a specific area (e.g., the first area 310). Alternatively, if the correlation between the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) and the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314) is identified as 0.1 at a specific time point, it may be determined that the user possessing the electronic device 101 has not passed a specific area (e.g., the first area 310). According to another embodiment of the present document, when the statistical value is a statistical value of a distance concept (e.g., Euclidean distance) rather than a similarity concept, when the value is smaller than a threshold value, it may be determined that the user possessing the electronic device 101 has entered a specific area (e.g., the first area 310). For example, the Euclidean distance value between the first reference geomagnetic pattern 1620a and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as 1, the Euclidean distance value between the second reference geomagnetic pattern 1620m and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as 2, and the third reference geomagnetic pattern ( 1630a) and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as 3, and when the Euclidean distance value between the fourth reference geomagnetic pattern 1630m and the representative geomagnetic pattern (eg, the geomagnetic pattern obtained along the second flow line 314) is identified as 4, the electronic device 101 according to an embodiment of the present document sets a threshold value It may be determined and stored as 4, which is the maximum value of the Euclidean distance. The electronic device 101 according to an embodiment of the present document may compare the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) with the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314), and determine whether the electronic device 101 has entered or exited a specific area (e.g., the first area 310) based on the comparison result. For example, at a specific time point, when the Euclidean distance value of the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) and the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314) is identified as 4, it may be determined that the user carrying the electronic device 101 has entered a specific area (e.g., the first area 310). Alternatively, at a specific time point, when the Euclidean distance value of the obtained geomagnetic pattern (e.g., the geomagnetic pattern to be compared) and the representative geomagnetic pattern (e.g., the geomagnetic pattern obtained along the second movement line 314) is identified as 5, it may be determined that the user carrying the electronic device 101 has not passed a specific area (e.g., the first area 310). According to another embodiment of the present document, the electronic device 101 determines at least one representative geomagnetic pattern from among a plurality of reference geomagnetic patterns (eg, the first geomagnetic reference pattern 1620a, the second geomagnetic pattern 1620m, the third geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m), and the electronic device 101 uses the determined geomagnetic pattern in the first area. It may be determined whether it is located at (310). This will be described in more detail with reference to FIGS. 18 and 19 .
도 18 및 도 19는, 본 문서의 일 실시예에 따른 전자 장치(101)가, 각도 오차가 보상된(예: 각도 오차가 적용된) 복수의 지자기 패턴들(예: 복수의 레퍼런스 지자기 패턴들) 중에서 적어도 하나의 지자기 패턴을 대표 지자기 패턴으로 결정하고, 획득된 지자기 데이터(예: 지자기 패턴)를 적어도 하나의 대표 지자기 패턴과 비교하여 전자 장치(101)가 특정 영역(예: 제1 영역)에 진입 또는 진출하였는지 여부를 판단하는 기능 또는 동작을 설명하기 위한 예시 도면들이다.18 and 19 show that the electronic device 101 according to an embodiment of the present document determines at least one geomagnetic pattern as a representative geomagnetic pattern among a plurality of geomagnetic patterns (eg, a plurality of reference geomagnetic patterns) to which the angle error is compensated (eg, the angle error is applied), and compares the obtained geomagnetic data (eg, the geomagnetic pattern) with the at least one representative geomagnetic pattern, so that the electronic device 101 is located in a specific area (eg, a first area). These are exemplary drawings for explaining a function or operation of determining whether entry or exit is made.
도 18을 참조하면, 본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 1810에서, 예측된 복수의 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 중 일부의 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m))을 대표 지자기 패턴들로 결정할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 복수의 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 사이의 상관 값에 기반하여 적어도 하나의 대표 지자기 패턴(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m))을 결정할 수 있다. 예를 들어, 제1 레퍼런스 지자기 패턴(1620a)과 제4 레퍼런스 지자기 패턴(1630m)이 서로 유사(예: 미리 지정된 임계 값 이상의 상관 값을 가지는 경우)하고, 제2 레퍼런스 지자기 패턴(1620m)과 제3 레퍼런스 지자기 패턴(1630a)이 서로 유사한 경우, 전자 장치(101)는, 임의로, 제1 레퍼런스 지자기 패턴(1620a) 및 제2 레퍼런스 지자기 패턴(1620m)을 각각 대표 지자기 패턴으로 결정할 수 있다. Referring to FIG. 18 , the electronic device 101 according to an embodiment of the present document, in operation 1810, some geomagnetic patterns (eg, first reference geomagnetic pattern 1620a, second reference geomagnetic pattern 1620m, third reference geomagnetic pattern 1630a, and fourth reference geomagnetic pattern 1630m) among a plurality of predicted geomagnetic patterns (eg, first reference geomagnetic pattern 1620a). The pattern 1620a and the second reference geomagnetic pattern 1620m may be determined as representative geomagnetic patterns. The electronic device 101 according to an embodiment of the present document includes at least one representative geomagnetic pattern (eg, the first reference geomagnetic pattern 1620a, the second reference geomagnetic pattern 1620m, the third reference geomagnetic pattern 1630a, and the fourth reference geomagnetic pattern 1630m) based on a correlation value among a plurality of geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the geomagnetic pattern 1620a, the geomagnetic pattern 1630m). A reference geomagnetic pattern 1620m) may be determined. For example, when the first reference geomagnetic pattern 1620a and the fourth reference geomagnetic pattern 1630m are similar to each other (e.g., have a correlation value equal to or greater than a predetermined threshold value) and the second reference geomagnetic pattern 1620m and the third reference geomagnetic pattern 1630a are similar to each other, the electronic device 101 optionally selects the first geomagnetic pattern 1620a and the second geomagnetic pattern 1 620 m) can be determined as representative geomagnetic patterns, respectively.
본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 1820에서, 획득된 지자기 데이터(예: 비교 대상 지자기 패턴)(1910)를 대표 지자기 패턴들(1920a, 1920b, 1920c) 각각과 비교할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 도 19에 도시된 바와 같이, 획득된 지자기 데이터(예: 비교 대상 지자기 패턴)(1910)를 대표 지자기 패턴들(1920a, 1920b, 1920c) 사이의 통계 값을 도출할 수 있다. In operation 1820, the electronic device 101 according to an embodiment of the present document may compare the obtained geomagnetic data (eg, a geomagnetic pattern to be compared) 1910 with each of the representative geomagnetic patterns 1920a, 1920b, and 1920c. As shown in FIG. 19 , the electronic device 101 according to an embodiment of the present document may derive statistical values between the representative geomagnetic patterns 1920a, 1920b, and 1920c from the obtained geomagnetic data (eg, the geomagnetic pattern to be compared) 1910.
본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 1830에서, 동작 1820의 비교 결과에 기반하여, 전자 장치(101) 특정 영역(예: 제1 영역(310))에 위치하는지 여부를 판단할 수 있다. 본 문서의 일 실시예에 따른 전자 장치(101)는, 동작 1820에 따른 통계 값이 미리 지정된 임계 값(예: 상관 값으로서 1) 이상이거나(예: 유사도 개념의 통계량에 대응하는 통계 값인 경우) 이하인 경우(예: 거리 개념의 통계량에 대응하는 통계 값인 경우), 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))에 진입하였다고 판단할 수 있다. 본 문서의 일 실시예에 따른 미리 지정된 임계 값(예: 상관 값으로서 1)은, 동작 750과 관련하여 설명된 내용에 따라 결정될 수 있다. 예를 들어, 본 문서의 일 실시예에 따른 미리 지정된 임계 값은, 대표 지자기 패턴들(1920a, 1920b, 1920c)과 복수의 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 사이의 통계 값을 기반으로 결정될 수 있다. In operation 1830, the electronic device 101 according to an embodiment of the present document may determine whether the electronic device 101 is located in a specific area (eg, the first area 310) based on the comparison result of operation 1820. The electronic device 101 according to an embodiment of the present document may determine that the user carrying the electronic device 101 has entered a specific area (eg, the first area 310) when the statistical value according to operation 1820 is greater than or equal to a predetermined threshold value (eg, a correlation value of 1) or less (eg, a statistical value corresponding to a statistic of the concept of similarity) or less than (eg, a statistical value corresponding to a statistic of the concept of distance). A predetermined threshold value (eg, 1 as a correlation value) according to an embodiment of the present document may be determined according to the description in relation to operation 750 . For example, a predetermined threshold value according to an embodiment of the present document is based on a statistical value between representative geomagnetic patterns 1920a, 1920b, and 1920c and a plurality of geomagnetic patterns (eg, a first reference geomagnetic pattern 1620a, a second reference geomagnetic pattern 1620m, a third reference geomagnetic pattern 1630a, and a fourth reference geomagnetic pattern 1630m). can be determined by
본 문서의 또 다른 실시예에 따르면, 전자 장치(101)는 획득된 지자기 패턴(예: 비교 대상 지자기 패턴)을 복수의 레퍼런스 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m))과 각각 비교하고, 비교 결과에 기반하여 전자 장치(101)의 위치를 검파할 수 있다. 이 경우, 본 문서의 일 실시예에 따른 전자 장치(101)는, 복수의 레퍼런스 지자기 패턴들(예: 제1 레퍼런스 지자기 패턴(1620a), 제2 레퍼런스 지자기 패턴(1620m), 제3 레퍼런스 지자기 패턴(1630a), 제4 레퍼런스 지자기 패턴(1630m)) 중 적어도 하나의 레퍼런스 지자기 패턴에 대해서 미리 지정된 임계 값(예: 상관 값으로서 1) 이상이거나(예: 유사도 개념의 통계량에 대응하는 통계 값인 경우) 이하인 경우(예: 거리 개념의 통계량에 대응하는 통계 값인 경우), 전자 장치(101)를 소지한 사용자가 특정 영역(예: 제1 영역(310))에 진입하였다고 판단할 수 있다. 본 문서의 일 실시예에 따른 미리 지정된 임계 값(예: 상관 값으로서 1)은, 동작 750과 관련하여 설명된 내용에 따라 결정될 수 있다. According to another embodiment of the present document, the electronic device 101 compares the obtained geomagnetic pattern (eg, the comparison target geomagnetic pattern) with a plurality of reference geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the third reference geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m), respectively, and based on the comparison result, the electronic device 101 ) can be detected. In this case, the electronic device 101 according to an embodiment of the present document has a predetermined threshold value (eg, a correlation value of 1) or more (eg, similarity value) for at least one reference geomagnetic pattern among a plurality of reference geomagnetic patterns (eg, the first geomagnetic pattern 1620a, the second geomagnetic pattern 1620m, the third geomagnetic pattern 1630a, and the fourth geomagnetic pattern 1630m). When the statistical value corresponds to the statistical value of the concept) or less (eg, the statistical value corresponding to the statistical value of the concept of distance), it may be determined that the user carrying the electronic device 101 has entered a specific area (eg, the first area 310). A predetermined threshold value (eg, 1 as a correlation value) according to an embodiment of the present document may be determined according to the description in relation to operation 750 .
본 문서의 일 실시예에 따른 전자 장치(예: 도1의 전자 장치(101)는, 지자기 센싱 모듈(예: 도1의 센서 모듈(176), 메모리(예: 도1의 메모리(130)), 및 적어도 하나의 프로세서(예: 도 1의 프로세서(120))를 포함하고, 상기 적어도 하나의 프로세서는, 상기 지자기 센싱 모듈을 이용하여 센싱된 제1 영역에 대한 제1 지자기 데이터를 상기 지자기 센싱 모듈로부터 획득하고, 상기 획득된 제1 지자기 데이터를 상기 제1 영역의 속성에 기반하여 결정된 다항식으로 모델링하고, 상기 모델링된 다항식이 적용될 적어도 하나의 제2 영역을 설정하고, 상기 적어도 하나의 제2 영역에 대한 복수의 지자기 패턴들을 상기 모델링된 다항식을 이용하여 추정하고, 상기 추정된 복수의 지자기 패턴들 각각에 대해, 상기 전자 장치의 이동 방향과 관련된 각도 오차를 보정하기 위한 연산을 수행하여 복수의 레퍼런스 지자기 패턴들을 획득하여 상기 메모리에 저장하고, 상기 획득된 복수의 레퍼런스 지자기 패턴들을 이용하여 결정된 통계 값에 기반하여, 상기 전자 장치가 상기 제1 영역에 위치하는지 여부를 판단하도록 설정될 수 있다.An electronic device (eg, electronic device 101 of FIG. 1 ) according to an embodiment of the present document includes a geomagnetic sensing module (eg, sensor module 176 of FIG. 1 ), a memory (eg, memory 130 of FIG. 1 ), and at least one processor (eg, processor 120 of FIG. 1 ). , modeling the obtained first geomagnetic data with a polynomial determined based on the properties of the first area, setting at least one second area to which the modeled polynomial is applied, estimating a plurality of geomagnetic patterns for the at least one second area using the modeled polynomial, and performing an operation for correcting an angular error related to a moving direction of the electronic device for each of the estimated plurality of geomagnetic patterns, thereby obtaining a plurality of reference geomagnetic patterns and storing them in the memory. and determine whether the electronic device is located in the first area based on a statistical value determined using the obtained plurality of reference geomagnetic patterns.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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, each of the phrases such as "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 "at least one of A, B, or C" may include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may be used simply to distinguish a corresponding component from other corresponding components, and do not limit the corresponding components in other respects (e.g., importance or order). When a (e.g., a first) component is referred to as “coupled” or “connected” to another (e.g., a second) component, with or without the terms “functionally” or “communicatively,” it means that the component may be connected to the other component directly (e.g., 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 may be used interchangeably with terms such as, for example, logic, logical block, component, or circuit. 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 may be implemented as software (eg, program 140) including 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). 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 does not distinguish between the case where data is semi-permanently stored in the storage medium and the case where 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 may be distributed in the form of a device-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or distributed (e.g., downloaded or uploaded) online, through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). 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 one embodiment of this document, each of the above-described components (eg, modules or programs) may include a single object or a plurality of objects, and some of the multiple objects may be separately disposed in other components. According to an embodiment of the present document, 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 one embodiment of this document, the operations performed by modules, programs, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, may be omitted, or one or more other operations may be added.

Claims (15)

  1. 전자 장치에 있어서, In electronic devices,
    지자기 센싱 모듈, geomagnetic sensing module,
    메모리, 및memory, and
    적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, including at least one processor, wherein the at least one processor comprises:
    상기 지자기 센싱 모듈을 이용하여 센싱된 제1 영역에 대한 제1 지자기 데이터를 상기 지자기 센싱 모듈로부터 획득하고, obtaining first geomagnetic data for a first region sensed using the geomagnetic sensing module from the geomagnetic sensing module;
    상기 획득된 제1 지자기 데이터를 상기 제1 영역의 속성에 기반하여 결정된 다항식으로 모델링하고, Modeling the obtained first geomagnetic data with a polynomial determined based on attributes of the first region;
    상기 모델링된 다항식이 적용될 적어도 하나의 제2 영역을 설정하고, 상기 적어도 하나의 제2 영역에 대한 복수의 지자기 패턴들을 상기 모델링된 다항식을 이용하여 추정하고, Setting at least one second region to which the modeled polynomial is applied, estimating a plurality of geomagnetic patterns for the at least one second region using the modeled polynomial;
    상기 추정된 복수의 지자기 패턴들 각각에 대해, 상기 전자 장치의 이동 방향과 관련된 각도 오차를 보정하기 위한 연산을 수행하여 복수의 레퍼런스 지자기 패턴들을 획득하여 상기 메모리에 저장하고, Obtaining and storing a plurality of reference geomagnetic patterns in the memory by performing an operation for correcting an angular error related to a moving direction of the electronic device for each of the estimated plurality of geomagnetic patterns;
    상기 획득된 복수의 레퍼런스 지자기 패턴들을 이용하여 결정된 통계 값에 기반하여, 상기 전자 장치가 상기 제1 영역에 위치하는지 여부를 판단하도록 설정된 것을 특징으로 하는, 전자 장치.The electronic device, characterized in that it is set to determine whether the electronic device is located in the first area based on a statistical value determined using the obtained plurality of reference geomagnetic patterns.
  2. 제1항에 있어서, According to claim 1,
    상기 전자 장치는, 카메라 모듈을 더 포함하고, The electronic device further includes a camera module,
    상기 적어도 하나의 프로세서는, 상기 카메라 모듈을 이용하여 획득된 이미지를 기반으로 상기 제1 영역의 좌표를 설정하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device, characterized in that the at least one processor is further configured to set coordinates of the first region based on an image acquired using the camera module.
  3. 제1항에 있어서, According to claim 1,
    상기 제1 영역의 속성은, 상기 제1 영역의 가로 축의 길이 또는 세로 축의 길이를 포함하는 것을 특징으로 하는, 전자 장치.The electronic device characterized in that the property of the first area includes a length of a horizontal axis or a length of a vertical axis of the first area.
  4. 제1항에 있어서, According to claim 1,
    상기 적어도 하나의 프로세서는, 미리 지정된 비율에 따라 상기 제1 영역의 가로 축의 길이 또는 세로 축의 길이를 연장함으로써 상기 제2 영역을 설정하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device of claim 1 , wherein the at least one processor is further configured to set the second area by extending a length of a horizontal axis or a length of a vertical axis of the first area according to a predetermined ratio.
  5. 제1항에 있어서, According to claim 1,
    상기 적어도 하나의 프로세서는, 미리 지정된 비율에 따라 상기 제1 영역의 세로 축의 길이를 축소함으로써 상기 제2 영역을 설정하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device of claim 1 , wherein the at least one processor is further set to set the second area by reducing a length of a vertical axis of the first area according to a predetermined ratio.
  6. 제1항에 있어서, According to claim 1,
    상기 적어도 하나의 프로세서는, 상기 전자 장치가 획득하고자 하는 지자기 패턴의 수에 기반하여 결정된 간격에 따라 상기 복수의 지자기 패턴들을 획득하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device of claim 1, wherein the at least one processor is further configured to acquire the plurality of geomagnetic patterns according to intervals determined based on the number of geomagnetic patterns the electronic device intends to acquire.
  7. 제1항에 있어서, According to claim 1,
    상기 각도 오차는, 상기 전자 장치의 실제 이동 방향과, 상기 적어도 하나의 프로세서에 의해 추정된 이동 방향의 차이에 따른 각도를 포함하는 것을 특징으로 하는, 전자 장치.The angular error may include an angle according to a difference between an actual movement direction of the electronic device and a movement direction estimated by the at least one processor.
  8. 제1항에 있어서, According to claim 1,
    상기 적어도 하나의 프로세서는, 상기 각도 오차의 범위에 포함되는 각도 오차 값들 중에서 일부의 각도 오차 값들을 이용하여 상기 복수의 레퍼런스 지자기 패턴들을 획득하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device, characterized in that, the at least one processor is further set to obtain the plurality of reference geomagnetic patterns using some angle error values among angle error values included in the range of the angle error.
  9. 제1항에 있어서, According to claim 1,
    상기 적어도 하나의 프로세서는, The at least one processor,
    상기 복수의 레퍼런스 지자기 패턴들과 대표 지자기 패턴의 유사도를 기반으로 상기 통계 값의 범위를 결정하고, Determine a range of the statistical value based on a similarity between the plurality of reference geomagnetic patterns and a representative geomagnetic pattern;
    상기 센서 모듈에 의하여 센싱된 제2 지자기 데이터가 상기 통계 값의 범위 내에 포함되는 경우, 상기 전자 장치가 상기 제1 영역에 위치한다고 판단하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device of claim 1 , further configured to determine that the electronic device is located in the first area when the second geomagnetic data sensed by the sensor module is included within the range of the statistical value.
  10. 제1항에 있어서, According to claim 1,
    상기 적어도 하나의 프로세서는, 상기 복수의 레퍼런스 지자기 패턴들 중에서 결정된 적어도 하나의 대표 지자기 패턴과 상기 센서 모듈에 의하여 센싱된 제2 지자기 데이터의 유사도에 기반하여 상기 전자 장치가 상기 제1 영역에 위치하는지 여부를 판단하도록 더 설정된 것을 특징으로 하는, 전자 장치.The electronic device of claim 1, wherein the at least one processor is further configured to determine whether the electronic device is located in the first region based on a similarity between at least one representative geomagnetic pattern determined from among the plurality of reference geomagnetic patterns and second geomagnetic data sensed by the sensor module.
  11. 전자 장치를 제어하는 방법에 있어서, A method for controlling an electronic device,
    상기 전자 장치의 지자기 센싱 모듈을 이용하여 센싱된 제1 영역에 대한 제1 지자기 데이터를 상기 지자기 센싱 모듈로부터 획득하는 과정과, obtaining, from the geomagnetic sensing module, first geomagnetic data for a first area sensed using the geomagnetic sensing module of the electronic device;
    상기 획득된 제1 지자기 데이터를 상기 제1 영역의 속성에 기반하여 결정된 다항식으로 모델링하는 과정과, modeling the obtained first geomagnetic data with a polynomial determined based on the attribute of the first area;
    상기 모델링된 다항식이 적용될 적어도 하나의 제2 영역을 설정하고, 상기 적어도 하나의 제2 영역에 대한 복수의 지자기 패턴들을 상기 모델링된 다항식을 이용하여 추정하는 과정과, setting at least one second area to which the modeled polynomial is applied, and estimating a plurality of geomagnetic patterns for the at least one second area using the modeled polynomial;
    상기 추정된 복수의 지자기 패턴들 각각에 대해, 상기 전자 장치의 이동 방향과 관련된 각도 오차를 보정하기 위한 연산을 수행하여 복수의 레퍼런스 지자기 패턴들을 획득하여 상기 전자 장치의 메모리에 저장하는 과정과, 및 Acquiring and storing a plurality of reference geomagnetic patterns in a memory of the electronic device by performing an operation for correcting an angular error related to a moving direction of the electronic device for each of the estimated plurality of geomagnetic patterns; and
    상기 획득된 복수의 레퍼런스 지자기 패턴들을 이용하여 결정된 통계 값에 기반하여, 상기 전자 장치가 상기 제1 영역에 위치하는지 여부를 판단하는 과정을 포함하는 것을 특징으로 하는, 전자 장치를 제어하는 방법.and determining whether the electronic device is located in the first area based on a statistical value determined using the obtained plurality of reference geomagnetic patterns.
  12. 제11항에 있어서, According to claim 11,
    상기 전자 장치는, 카메라 모듈을 더 포함하고, The electronic device further includes a camera module,
    상기 전자 장치를 제어하는 방법은, 상기 카메라 모듈을 이용하여 획득된 이미지를 기반으로 상기 제1 영역의 좌표를 설정하는 과정을 더 포함하는 것을 특징으로 하는, 전자 장치를 제어하는 방법.The method of controlling the electronic device may further include setting coordinates of the first region based on an image acquired using the camera module.
  13. 제11항에 있어서, According to claim 11,
    상기 제1 영역의 속성은, 상기 제1 영역의 가로 축의 길이 또는 세로 축의 길이를 포함하는 것을 특징으로 하는, 전자 장치를 제어하는 방법.The method of claim 1 , wherein the property of the first area includes a length of a horizontal axis or a length of a vertical axis of the first area.
  14. 제11항에 있어서, According to claim 11,
    상기 전자 장치를 제어하는 방법은, 미리 지정된 비율에 따라 상기 제1 영역의 가로 축의 길이 또는 세로 축의 길이를 연장함으로써 상기 제2 영역을 설정하는 과정을 더 포함하는 것을 특징으로 하는, 전자 장치를 제어하는 방법.The method of controlling the electronic device may further include setting the second area by extending a length of a horizontal axis or a length of a vertical axis of the first area according to a predetermined ratio.
  15. 제11항에 있어서, According to claim 11,
    상기 전자 장치를 제어하는 방법은, 미리 지정된 비율에 따라 상기 제1 영역의 세로 축의 길이를 축소함으로써 상기 제2 영역을 설정하도록 더 설정하는 과정을 더 포함하는 것을 특징으로 하는, 전자 장치를 제어하는 방법.The method of controlling the electronic device may further include setting the second area to be set by reducing a length of a vertical axis of the first area according to a predetermined ratio.
PCT/KR2023/000967 2022-01-24 2023-01-19 Electronic device for detecting location by using geomagnetic data, and control method therefor WO2023140656A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2022-0010231 2022-01-24
KR20220010231 2022-01-24
KR1020220015731A KR20230114143A (en) 2022-01-24 2022-02-07 An electronic device for detecting position using geomagnetic data and method for controlling the same
KR10-2022-0015731 2022-02-07

Publications (1)

Publication Number Publication Date
WO2023140656A1 true WO2023140656A1 (en) 2023-07-27

Family

ID=87348500

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/000967 WO2023140656A1 (en) 2022-01-24 2023-01-19 Electronic device for detecting location by using geomagnetic data, and control method therefor

Country Status (1)

Country Link
WO (1) WO2023140656A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150055423A (en) * 2013-11-13 2015-05-21 에스케이텔레콤 주식회사 Method And Apparatus for Correcting Error Of Geomagnetic Sensor
US20150260523A1 (en) * 2012-01-11 2015-09-17 Indooratlas Oy Utilizing magnetic field based navigation
JP2018048967A (en) * 2016-09-23 2018-03-29 日本電気通信システム株式会社 Creation method of terrestrial magnetism map for positioning, position measuring method, external factorial noise measuring method, and creation system of terrestrial magnetism map for positioning
KR101971734B1 (en) * 2018-07-26 2019-04-23 영남대학교 산학협력단 Apparatus and method for indoor positioning
KR20210087181A (en) * 2020-01-02 2021-07-12 삼성전자주식회사 An electronic device detecting a location and a method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150260523A1 (en) * 2012-01-11 2015-09-17 Indooratlas Oy Utilizing magnetic field based navigation
KR20150055423A (en) * 2013-11-13 2015-05-21 에스케이텔레콤 주식회사 Method And Apparatus for Correcting Error Of Geomagnetic Sensor
JP2018048967A (en) * 2016-09-23 2018-03-29 日本電気通信システム株式会社 Creation method of terrestrial magnetism map for positioning, position measuring method, external factorial noise measuring method, and creation system of terrestrial magnetism map for positioning
KR101971734B1 (en) * 2018-07-26 2019-04-23 영남대학교 산학협력단 Apparatus and method for indoor positioning
KR20210087181A (en) * 2020-01-02 2021-07-12 삼성전자주식회사 An electronic device detecting a location and a method thereof

Similar Documents

Publication Publication Date Title
WO2022010156A1 (en) Method for calibrating geomagnetic sensor of electronic device and electronic device thereof
WO2023008677A1 (en) Electronic device, and input coordinate prediction method
WO2023140656A1 (en) Electronic device for detecting location by using geomagnetic data, and control method therefor
WO2022071708A1 (en) Electronic device for providing content recommendation service, and method therefor
WO2022005075A1 (en) Electronic device and method for providing augmented reality
KR20230114143A (en) An electronic device for detecting position using geomagnetic data and method for controlling the same
WO2024080549A1 (en) Electronic device for location detection, and method for operating same
WO2022196996A1 (en) Electronic device for detecting location by using geomagnetic data, and control method therefor
WO2022220392A1 (en) Electronic device for compensating geomagnetic sensing data, and method for controlling same
WO2023038348A1 (en) Electronic device which provides user experience for controlling at least one ultra-wideband device, and control method therefor
WO2023163341A1 (en) Method for adjusting recognition sensitivity of touch input, and electronic device performing same
WO2023048404A1 (en) Method for displaying execution screen of application, and electronic device for supporting same
WO2022191471A1 (en) Electronic device for identifying moving direction of electronic device, and operating method for electronic device
WO2023146092A1 (en) Image-based inertial sensor correction method and electronic device for performing same
WO2023085724A1 (en) Electronic device and method for adjusting luminance of display on basis of angle formed with earbud, and non-transitory computer-readable storage medium
WO2024117757A1 (en) Electronic device for recognizing gesture, and method for operating same
WO2022177248A1 (en) Positioning method using wireless communication, and electronic device for supporting same
WO2024076053A1 (en) Method for controlling electronic device on basis of temperature, and electronic device therefor
WO2023249218A1 (en) Electronic device comprising multi-channel grip sensor, and method for sensing capacitance change using multi-channel grip sensor
WO2023033301A1 (en) Electronic device for acquiring user input through virtual keyboard and operating method thereof
WO2022191595A1 (en) Electronic device for outputting image using alpha value of image and control method of same
WO2022103047A1 (en) Electronic device having coupling groove
WO2023096135A1 (en) Location-based user action recommending method and electronic device
WO2023163490A1 (en) Method for adjusting recognition sensitivity for touch recognition, and electronic device performing same
WO2023018202A1 (en) Method for providing animation effect, and electronic device for supporting same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23743500

Country of ref document: EP

Kind code of ref document: A1