KR102495685B1 - Method for determining magnetic field strength and terminal therefor - Google Patents

Method for determining magnetic field strength and terminal therefor Download PDF

Info

Publication number
KR102495685B1
KR102495685B1 KR1020220080872A KR20220080872A KR102495685B1 KR 102495685 B1 KR102495685 B1 KR 102495685B1 KR 1020220080872 A KR1020220080872 A KR 1020220080872A KR 20220080872 A KR20220080872 A KR 20220080872A KR 102495685 B1 KR102495685 B1 KR 102495685B1
Authority
KR
South Korea
Prior art keywords
value
component
magnetic field
time point
terminal
Prior art date
Application number
KR1020220080872A
Other languages
Korean (ko)
Inventor
김진호
조재훈
이주학
박성봉
최활석
김한진
Original Assignee
주식회사 티머니
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 티머니 filed Critical 주식회사 티머니
Priority to KR1020220080872A priority Critical patent/KR102495685B1/en
Application granted granted Critical
Publication of KR102495685B1 publication Critical patent/KR102495685B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/0023Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
    • G01R33/0029Treating the measured signals, e.g. removing offset or noise
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/0023Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
    • G01R33/0041Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration using feed-back or modulation techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/02Measuring direction or magnitude of magnetic fields or magnetic flux

Landscapes

  • Physics & Mathematics (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

Disclosed is a method for correcting the y-component of the magnetic field detected by a geomagnetic sensor at a specific point in time. This method comprises: a step of determining the nth pitch section to which the pitch value detected by the direction sensor included in the terminal at the specific point in time among the N pitch sections defined by dividing the section from 0° to 360° into N sections; a step of storing the y component detected at the specific time in the nth Y-array corresponding to the determined nth pitch section among the N predefined Y-arrays, a step of calculating a representative value of the nth Y-array, and a step of determining the difference between the y component and the representative value as a value for the y component. Accordingly, the present invention can provide a method for accurately determining that a user has entered a specific area when entering an artificially provided magnetic field space.

Description

자기장 강도의 결정방법 및 이를 위한 단말기{Method for determining magnetic field strength and terminal therefor}Method for determining magnetic field strength and terminal therefor

본 발명은 자기장 강도의 결정방법 및 이를 위한 단말기에 관한 기술로서, 특히 지자기센서의 자동보정값이 정확하지 않은 경우에 이용할 수 있는 지자기센서 값의 보정방법에 관한 기술이다. The present invention relates to a method for determining a magnetic field strength and a terminal therefor, and particularly relates to a method for correcting a value of a geomagnetic sensor that can be used when an automatic correction value of a geomagnetic sensor is inaccurate.

통상의 환경에서 스마트폰(사용자 단말기)의 지자기센서는 지구자기 세기를 측정하게 된다. 기존의 지자기센서를 활용한 위치측위는 지구자기장의 세기를 지속적으로 수집하여 변화의 패턴을 분석하여 처리해야 하므로, 서버와의 통신 부하, 및 패턴분석을 위한 많은 컴퓨팅 파워 소모 등으로 실시간처리가 중요한 위치측위 서비스에서는 도입하기 쉽지 않다.In a normal environment, a geomagnetic sensor of a smart phone (user terminal) measures the strength of the Earth's magnetism. Positioning using existing geomagnetic sensors requires continuous collection of the strength of the geomagnetic field to analyze and process patterns of change, so real-time processing is important due to the communication load with the server and the large amount of computing power consumed for pattern analysis. It is not easy to introduce in the positioning service.

한편, 스마트폰의 지자기센서는 주변의 강한 자기장에 의한 데이터 왜곡, 다른 스마트기기 등과의 접촉으로 인한 데이터 왜곡 등으로 인해 항상 동일한 품질의 데이터를 제공하지 못한다. 예컨대, 스마트폰이 보조배터리, 또는 무선 충전기에 접촉한 경우에는 내장된 지자기센서가 측정한 값이 일반적인 지구자기장 값보다 더 큰 자기장값을 가지게 되어 데이터 왜곡이 발생할 수 있다. 이러한 지자기센서의 문제가 발생하는 경우, 통상적으로 스마트폰이 제공해 온 기술에 따르면, 사용자가 지자기센서의 데이터를 왜곡하는 물체를 제거하고, 사용자가 추가적으로 인위적인 행위(예컨대, 스마트폰을 흔드는 행위)를 해야 지자기센서가 정상화된다. 이러한 추가적인 행동을 사용자에게 요구하는 것은 매끄러운 서비스를 제공하는데 상당한 걸림돌로 작용할 수 있다. 즉, 사용자가 특별한 행동을 하지 않아도 지자기센서의 데이터를 활용하여 위치측위가 가능해야 사용자에게 편리한 서비스 제공이 가능하다.On the other hand, the geomagnetic sensor of the smart phone cannot always provide data of the same quality due to data distortion due to strong magnetic fields around it or data distortion due to contact with other smart devices. For example, when a smart phone contacts an auxiliary battery or a wireless charger, a value measured by a built-in geomagnetic sensor has a magnetic field value greater than a general geomagnetic field value, and data distortion may occur. When such a problem with the geomagnetic sensor occurs, according to the technology that has been provided by smartphones, the user removes the object that distorts the data of the geomagnetic sensor, and the user performs an additional artificial action (eg, shaking the smartphone). The geomagnetic sensor should be normalized. Requiring these additional actions from users can act as a significant obstacle to providing smooth services. That is, even if the user does not perform a special action, it is possible to provide a convenient service to the user only when location determination is possible using data of the geomagnetic sensor.

종래의 통상적인 스마트폰들은 지자기센서가 측정한 그대로의 X, Y, Z 성분의 자기장 값뿐만 아니라, 이를 자체적인 알고리즘으로 보정한 지자기센서의 보정된 X, Y, Z 성분의 자기장 값을 제공한다. 자기장의 세기는 보정된 X, Y, Z 성분들을 제곱하여 합한 후 루트 연산을 한 값인 root(X^2+Y^2+Z^2) 로 계산될 수 있다. 여기서, 예컨대, 상기 X, Y, 그리고 Z 방향은 스마트폰을 정자세로 잡고 화면을 바라 보았을 때에 수평방향, 수직방향, 그리고 화면에 직교하는 방향일 수 있고, X-Y 평면은 화면에 평행한 면일 수 있다. 종래의 통상적인 스마트폰들이 자체적으로 제공하는 알고리즘은 그 구성이 보통은 알려져 있지 않다.Conventional smart phones provide not only the magnetic field values of the X, Y, and Z components as measured by the geomagnetic sensor, but also the corrected magnetic field values of the X, Y, and Z components of the geomagnetic sensor corrected by its own algorithm. . The strength of the magnetic field can be calculated as root(X^2+Y^2+Z^2), which is a value obtained by summing the squares of the corrected X, Y, and Z components and performing a root operation. Here, for example, the X, Y, and Z directions may be a horizontal direction, a vertical direction, and a direction orthogonal to the screen when holding the smartphone in an upright position and looking at the screen, and the X-Y plane may be a plane parallel to the screen . The structure of an algorithm provided by conventional smart phones itself is usually unknown.

보정되지 않은 자기장 값을 사용하면 자기장에 강철효과(Hard Iron)에 대한 보정이 적용되지 않는다는 차이가 있다. 강철효과라 함은 지구자기장을 교란하는 강자성체(ferromagnetic material)의 영향으로 자기장의 방향이나 세기에 바이어스 오차로 영향을 주는 현상을 말한다. 스마트폰에 접촉하거나 근접해 있는 보조배터리, 또는 무선 충전기들이 상기 강철효과를 유발할 수 있다.The difference is that if you use uncorrected magnetic field values, no correction for Hard Iron is applied to the magnetic field. The steel effect refers to a phenomenon in which the direction or strength of a magnetic field is influenced by a bias error due to the influence of a ferromagnetic material that disturbs the earth's magnetic field. Auxiliary batteries or wireless chargers in contact with or in proximity to a smartphone can cause the steel effect.

따라서, 영구적인 자기장 외란을 생성하는 물체에 지자기센서가 지속적으로 노출되면, 스마트폰이 자체적으로 제공해 오던 보정된 X, Y, Z 성분의 자기장 값에 의해 얻어지는 자기장의 세기는 정확한 값을 가질 수 없다. 다만 이런 경우에 스마트폰은 보정된 X, Y, Z 성분의 자기장 값의 신뢰성이 낮다는 취지의 정보를 제공할 수 있는데, 그 구체적인 알고리즘은 보통 공개되어 있지 않다. Therefore, if the geomagnetic sensor is continuously exposed to an object that creates permanent magnetic field disturbance, the magnetic field strength obtained by the corrected magnetic field values of X, Y, and Z components provided by the smartphone itself cannot have an accurate value. . However, in this case, the smartphone may provide information to the effect that the reliability of the magnetic field values of the corrected X, Y, and Z components is low, but the specific algorithm is usually not disclosed.

또한, 스마트폰의 지자기 센서는 동일한 지구자기장 세기를 가지는 위치에 있더라도 스마트폰의 자세(스마트폰의 방향, ex: 스크린이 향하는 방향)에 따라 X, Y, Z 성분의 자기장 값이 변화하게 되어 있다. 이 경우, 스마트폰은 알려지지 않은 자체 알고리즘에 의해 스마트폰의 자세에 의향 영향을 보정하여, 상기 보정된 X, Y, Z 성분의 자기장 값을 제공한다. In addition, even if the geomagnetic sensor of the smartphone is located at a location with the same earth magnetic field strength, the magnetic field values of the X, Y, and Z components are changed according to the smartphone's posture (direction of the smartphone, ex: the direction the screen is facing). . In this case, the smart phone corrects the intentional influence on the posture of the smart phone by its own unknown algorithm, and provides the corrected magnetic field values of the X, Y, and Z components.

그러나 보정되지 않은 X, Y, Z 성분의 자기장 값을 직접 가공하여 이용하고자 할 경우에는 상기 스마트폰의 자세를 고려하여야 한다. 스마트폰의 자세를 전혀 고려하지 않는 경우에는, 실질적으로 자기장의 세기가 변하지 않은 경우에도, 스마트폰의 자세가 바뀌면 측정된 자기장의 세기가 변한 것으로 인식할 수 있다. 따라서, 스마트폰을 마구 흔드는 것과 같은, 스마트폰의 방향을 갑작스럽게 바꾸는 행위는 스마트폰의 지자기센서의 보정되지 않은 X, Y, Z 성분의 자기장 값에 상당한 영향을 준다.However, in the case of directly processing and using the uncorrected magnetic field values of the X, Y, and Z components, the attitude of the smartphone should be considered. When the posture of the smartphone is not considered at all, even when the strength of the magnetic field does not substantially change, it may be recognized that the strength of the measured magnetic field changes when the posture of the smartphone changes. Therefore, an act of abruptly changing the direction of the smartphone, such as shaking the smartphone, significantly affects the magnetic field values of uncalibrated X, Y, and Z components of the geomagnetic sensor of the smartphone.

보통 스마트폰은 지자기센서 뿐만 아니라 방향센서를 함께 포함한다. 스마트폰에서는 상기 방향센서가 출력하는 값을 통해서 스마트폰의 방향을 판단할 수 있다.Usually, a smartphone includes a direction sensor as well as a geomagnetic sensor. In a smart phone, the direction of the smart phone can be determined through a value output by the direction sensor.

도 1은 스마트폰에 포함된 방향센서를 설명하기 위한 도면이다.1 is a diagram for explaining a direction sensor included in a smart phone.

방향센서(12)는 3차원 공간에서 스마트폰(10)의 물리적 방향에 대한 정보를 제공해준다. 즉, 방향센서(12)는 물리적 방향으로 방위각(Azimuth), 롤(Roll), 피치(Pitch)의 정보를 제공한다.The direction sensor 12 provides information about the physical direction of the smart phone 10 in a three-dimensional space. That is, the direction sensor 12 provides information on azimuth, roll, and pitch in the physical direction.

방위각(Azimuth)은 스마트폰(10)이 동, 서, 남, 북 중 어느 방향을 향하고 있는지 알려주는 값이다. 보통, 스마트폰(10)에서는 위쪽이 향하는 방향이 방위각이다.The azimuth is a value indicating which direction of the smart phone 10 is facing east, west, south, or north. Normally, in the smart phone 10, the direction upward is the azimuth.

피치(Pitch)는 스마트폰(10)의 상하 움직임 변화를 알려준다. 즉, 피치는 X축을 기준으로 회전하는 움직임을 말한다.Pitch informs changes in up and down movement of the smart phone 10 . That is, the pitch refers to a rotational movement around the X axis.

롤(Roll)은 스마트폰(10)의 좌우 움직임 변화를 알려준다. 즉, 롤은 Y축을 기준으로 회전하는 움직임을 말한다.Roll informs the change of left and right movement of the smart phone 10 . That is, the roll refers to a rotational movement around the Y-axis.

방위각, 피치, 및 롤은 모두 0°~360°의 값을 가질 수 있다.Azimuth, pitch, and roll can all have values from 0° to 360°.

상술한 바와 같이, X축, Y축, 그리고 Z축을 따르는 방향은 각각, 스마트폰을 정자세로 잡고 화면을 바라보았을 때에 수평방향, 수직방향, 그리고 화면에 직교하는 방향일 수 있고, X-Y 평면은 화면에 평행한 면일 수 있다. As described above, the directions along the X-axis, Y-axis, and Z-axis may be a horizontal direction, a vertical direction, and a direction orthogonal to the screen when holding the smartphone in an upright position and looking at the screen, respectively, and the X-Y plane is the screen may be a plane parallel to

예컨대 안드로이드 운영체제를 이용하는 스마트폰에서는 getOrientation 함수를 통해서 방위각, 피치, 및 롤 값을 얻을 수 있다.For example, in a smartphone using the Android operating system, azimuth, pitch, and roll values may be obtained through a getOrientation function.

본 발명에서는, 지구자기장보다 강한 자기장을 제공하는, 인위적으로 제공된 자계공간에 진입했을 때에 사용자가 특정구역에 진입했음을 정확하게 판단하기 위한 방법을 제공하고자 한다. In the present invention, it is intended to provide a method for accurately determining that a user has entered a specific area when entering an artificially provided magnetic field space that provides a magnetic field stronger than the earth's magnetic field.

또한, 본 발명에서는, 지자기센서의 자동보정값이 정확하지 않은 경우에 이용할 수 있는 지자기센서 강도값의 보정방법을 제공하고자 한다.In addition, the present invention is intended to provide a method for correcting intensity values of a geomagnetic sensor that can be used when an automatic correction value of a geomagnetic sensor is not accurate.

본 발명의 일 관점에 따라 제공되는 자기장 강도의 결정 방법은, 단말기가, 상기 단말기에 포함된 지자기센서가 주어진 시점(t)에서 검출한 자기장의 x성분(x(t))에 관한 값(Ary[xc](t)), 상기 자기장의 y성분(y(t))에 관한 값(Ary[yc](t)), 및 상기 자기장의 z성분(z(t))에 관한 값(Ary[zc](t))을 결정하는 단계; 및 상기 단말기가, 상기 결정된 x성분에 관한 값, 상기 y성분에 관한 값, 및 상기 z성분에 관한 값을 기초로 상기 시점(t)에서의 상기 지자기센서가 검출한 자기장의 강도(I(t))를 산출하는 단계를 포함할 수 있다. 이때, 상기 시점(t)에서의 상기 y성분에 관한 값을 산출하는 프로세스는, 상기 단말기가, 0° 내지 360°의 구간을 N 개의 구간으로 분할하여 정의한 N 개의 피치구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 피치값이 속하는 제n 피치구간(p_n)(t)을 결정하는 단계(n은 1 내지 N 중 어느 하나의 값); 상기 단말기가, 상기 시점(t)에 검출된 상기 y성분을, 미리 정의된 N 개의 Y-어레이들 중 상기 결정된 제n 피치구간(p_n)(t)에 대응하는 제n Y-어레이(Ary[y]_n)에 저장하는 단계; 상기 단말기가, 상기 제n Y-어레이의 대푯값(Reg[y]_n(t))을 산출하는 단계; 및 상기 단말기가, 상기 y성분과 상기 제n Y-어레이의 대푯값 간의 차이값을 상기 y성분에 관한 값으로 결정하는 단계를 포함할 수 있다. A method for determining the strength of a magnetic field provided according to one aspect of the present invention is a value (Ary [xc](t)), a value for the y component (y(t)) of the magnetic field (Ary[yc](t)), and a value for the z component (z(t)) of the magnetic field (Ary[ determining zc](t)); and the strength of the magnetic field detected by the geomagnetic sensor at the point in time t based on the determined value of the x component, the value of the y component, and the value of the z component (I(t ))). At this time, the process of calculating the value of the y component at the time point (t) is the time point ( Determining an n-th pitch interval (p_n)(t) to which the pitch value detected by the direction sensor included in the terminal belongs in t) (n is any one value from 1 to N); The terminal sets the y component detected at the time point t to the nth Y-array (Ary[ y]_n); calculating, by the terminal, a representative value (Reg[y]_n(t)) of the nth Y-array; and determining, by the terminal, a difference value between the y component and a representative value of the nth Y-array as a value for the y component.

이때, 상기 시점(t)에서의 상기 y성분에 관한 값을 산출하는 프로세스는 적어도 소정의 시구간 동안 반복하여 실행되는 것을 특징으로 할 수 있다.At this time, the process of calculating the value of the y component at the time point t may be repeatedly executed for at least a predetermined time period.

이때, 상기 시점(t)에서의 상기 z성분에 관한 값을 산출하는 프로세스는, 상기 단말기가, 0° 내지 360°의 구간을 M 개의 구간으로 분할하여 정의한 M 개의 롤구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 롤값이 속하는 제m 롤구간(r_m)(t)을 결정하는 단계(m은 1 내지 M 중 어느 하나의 값); 상기 단말기가, 상기 시점(t)에 검출된 상기 z성분을, 미리 정의된 M 개의 Z-어레이들 중 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 저장하는 단계; 상기 단말기가, 상기 제m Z-어레이의 대푯값(Reg[z]_m(t))을 산출하는 단계; 및 상기 단말기가, 상기 z성분과 상기 제m Z-어레이의 대푯값 간의 차이값을 상기 z성분에 관한 값으로 결정하는 단계를 포함할 수 있다. At this time, the process of calculating the value of the z component at the time point (t) is, among the M roll sections defined by dividing the section from 0 ° to 360 ° into M sections, Determining the mth roll section (r_m) (t) to which the roll value detected by the direction sensor included in the terminal at t) belongs (m is any one of 1 to M); The terminal sets the z component detected at the time point t to the m-th Z-array (Ary[ z]_m); calculating, by the terminal, a representative value (Reg[z]_m(t)) of the mth Z-array; and determining, by the terminal, a difference value between the z component and a representative value of the mth Z-array as a value for the z component.

이때, 상기 시점(t)에서의 상기 z성분에 관한 값을 산출하는 프로세스는 적어도 소정의 시구간 동안 반복하여 실행되는 것을 특징으로 할 수 있다.In this case, the process of calculating the value of the z component at the time point t may be repeatedly executed for at least a predetermined time period.

이때, 상기 단말기는, 상기 자기장 강도를 결정하는 또 다른 제2의 자기장 강도 결정 프로세스를 실행하도록 되어 있으며, 상기 제2의 자기장 강도 결정 프로세스는, 상기 제2의 자기장 강도 결정 프로세스가 결정한 자기장 강도의 정확도를 출력하도록 되어 있을 수 있다. 이때, 상기 시점(t)에서의 상기 y성분에 관한 값을 산출하는 프로세스는, 상기 단말기가, 상기 제2의 자기장 강도 결정 프로세스가 결정한 자기장 강도의 정확도가 소정의 기준값보다 작은 로우값을 갖는 것으로 판단하고, 그리고 상기 제2의 자기장 강도 결정 프로세스가 결정한 자기장 강도가 미리 결정된 값보다 큰 것으로 판단한 경우에만 실행되는 것을 특징으로 할 수 있다. At this time, the terminal is configured to execute another second magnetic field strength determination process for determining the magnetic field strength, wherein the second magnetic field strength determination process determines the magnetic field strength determined by the second magnetic field strength determination process. It can be set to output accuracy. At this time, in the process of calculating the value of the y component at the time point t, the accuracy of the magnetic field strength determined by the second magnetic field strength determination process in the terminal has a low value smaller than a predetermined reference value and is executed only when the second magnetic field strength determination process determines that the determined magnetic field strength is greater than a predetermined value.

이때, 상기 시점(t)에서의 상기 x성분에 관한 값은 상기 x성분과 동일할 수 있다. In this case, the value of the x component at the time point t may be the same as the x component.

이때, 상기 방법은, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제1값을 더한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계;를 더 포함할 수 있다. At this time, in the method, when the calculated magnetic field strength is greater than a value obtained by adding a predetermined first value to the past magnetic field strength calculated at a past time point that is past the time point t, the terminal is located in a predefined area. Determining that it has entered; may further include.

이때, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제2값을 곱한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계;를 더 포함할 수 있다. At this time, if the calculated magnetic field strength is greater than a value obtained by multiplying a predetermined second value by a past magnetic field strength calculated at a past time point that is past the time point t, it is determined that the terminal has entered a predefined area. It may further include;

본 발명의 일 관점에 따라 제공되는 단말기의 위치를 판단하는 위치판단방법은, 자기장 강도를 주어진 스케쥴에 따라 산출하는 단말기가, 주어진 시점(t)에 상기 자기장 강도를 산출하는 단계; 및 상기 단말기가, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제1값을 더한 값보다 크거나, 또는 상기 과거 자기장 강도에 소정의 제2값을 곱한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계를 포함할 수 있다. 이때, 상기 시점(t)에 상기 자기장 강도를 산출하는 단계는, 단말기가, 상기 단말기에 포함된 지자기센서가 주어진 시점(t)에서 검출한 자기장의 x성분(x(t))에 관한 값(Ary[xc](t)), 상기 자기장의 y성분(y(t))에 관한 값(Ary[yc](t)), 및 상기 자기장의 z성분(z(t))에 관한 값(Ary[zc](t))을 결정하는 단계; 및 상기 단말기가, 상기 결정된 x성분에 관한 값, 상기 y성분에 관한 값, 및 상기 z성분에 관한 값을 기초로 상기 시점(t)에서의 상기 지자기센서가 검출한 자기장의 강도(I(t))를 산출하는 단계를 포함할 수 있다. 그리고 상기 시점(t)에서의 상기 y성분에 관한 값을 산출하는 단계는, 상기 단말기가, 0° 내지 360°의 구간을 N 개의 구간으로 분할하여 정의한 N 개의 피치구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 피치값이 속하는 제n 피치구간(p_n)(t)을 결정하는 단계(n은 1 내지 N 중 어느 하나의 값); 상기 단말기가, 상기 시점(t)에 검출된 상기 y성분을, 미리 정의된 N 개의 Y-어레이들 중 상기 결정된 제n 피치구간(p_n)(t)에 대응하는 제n Y-어레이(Ary[y]_n)에 저장하는 단계; 상기 단말기가, 상기 제n Y-어레이의 대푯값(Reg[y]_n(t))을 산출하는 단계; 및 상기 단말기가, 상기 y성분과 상기 제n Y-어레이의 대푯값 간의 차이값을 상기 y성분에 관한 값으로 결정하는 단계를 포함할 수 있다. A location determination method for determining a location of a terminal provided according to one aspect of the present invention includes: calculating, by a terminal that calculates a magnetic field strength according to a given schedule, the magnetic field strength at a given time point (t); and when the calculated magnetic field strength of the terminal is greater than a value obtained by adding a predetermined first value to a past magnetic field strength calculated at a past time point that is past the time point t, or a predetermined first value is added to the past magnetic field strength. If the value obtained by multiplying by 2 is greater than the value, determining that the terminal has entered a predefined area may be included. In this case, in the step of calculating the magnetic field strength at the time point t, the value of the x component (x(t)) of the magnetic field detected by the terminal at the given time point t by the geomagnetic sensor included in the terminal ( Ary[xc](t)), a value for the y component (y(t)) of the magnetic field (Ary[yc](t)), and a value for the z component (z(t)) of the magnetic field (Ary determining [zc](t)); and the strength of the magnetic field detected by the geomagnetic sensor at the point in time t based on the determined value of the x component, the value of the y component, and the value of the z component (I(t ))). In the step of calculating the value of the y component at the time point (t), among the N pitch intervals defined by dividing the interval from 0 ° to 360 ° into N intervals, the time point (t ), determining an n-th pitch interval (p_n)(t) to which the pitch value detected by the direction sensor included in the terminal belongs (n is any one of 1 to N); The terminal sets the y component detected at the time point t to the nth Y-array (Ary[ y]_n); calculating, by the terminal, a representative value (Reg[y]_n(t)) of the nth Y-array; and determining, by the terminal, a difference value between the y component and a representative value of the nth Y-array as a value for the y component.

이때, 상기 단말기의 위치를 판단하는 위치판단방법은, 상기 미리 정의된 영역에 진입하였다고 판단하는 단계 이후에, 상기 단말기가, 상기 미리 정의된 영역에 연관된 다른 장치와 통신하여 상기 진입에 관련된 후속 프로세스를 실행하는 단계를 더 포함할 수 있다.At this time, in the location determination method for determining the location of the terminal, after the step of determining that the terminal has entered the predefined area, the terminal communicates with another device associated with the predefined area to perform subsequent processes related to the entry. It may further include the step of executing.

이때, 상기 후속 프로세스는, 상기 미리 정의된 영역에 설치된 게이트의 동작을 제어하는 프로세스 또는 상기 미리 정의된 영역의 통과를 위한 결제를 수행하는 결제 프로세스일 수 있다.In this case, the subsequent process may be a process of controlling the operation of a gate installed in the predefined area or a payment process of performing payment for passing through the predefined area.

본 발명의 일 관점에 따라 제공되는 단말기는, 컴퓨터로 읽을 수 있는 비휘발성 기록매체를 읽을 수 있는 장치 인터페이스부; 처리부; 지자기센서; 및 방향센서;를 포함할 수 있다. 이때, 상기 비휘발성 기록매체는 제1명령코드 및 제2명령코드를 포함하는 프로그램을 저장하고 있을 수 있다. 상기 제1명령코드는, 상기 처리부가, 상기 지자기센서가 주어진 시점(t)에서 검출한 자기장의 x성분(x(t))에 관한 값(Ary[xc](t)), 상기 자기장의 y성분(y(t))에 관한 값(Ary[yc](t)), 및 상기 자기장의 z성분(z(t))에 관한 값(Ary[zc](t))을 결정하는 단계, 및 상기 처리부가, 상기 결정된 x성분에 관한 값, 상기 y성분에 관한 값, 및 상기 z성분에 관한 값을 기초로 상기 시점(t)에서의 상기 지자기센서가 검출한 자기장의 강도(I(t))를 산출하는 단계를 실행하도록 하는 명령코드일 수 있다. 그리고 상기 제2명령코드는, 상기 시점(t)에서의 상기 y성분에 관한 값을 산출하기 위해, 상기 처리부가, 0° 내지 360°의 구간을 N 개의 구간으로 분할하여 정의한 N 개의 피치구간들 중, 상기 시점(t)에서 상기 방향센서가 검출한 피치값이 속하는 제n 피치구간(p_n)(t)을 결정하는 단계(n은 1 내지 N 중 어느 하나의 값); 상기 처리부가, 상기 시점(t)에 검출된 상기 y성분을, 미리 정의된 N 개의 Y-어레이들 중 상기 결정된 제n 피치구간(p_n)(t)에 대응하는 제n Y-어레이(Ary[y]_n)에 저장하는 단계; 상기 처리부가, 상기 제n Y-어레이의 대푯값(Reg[y]_n(t))을 산출하는 단계; 및 상기 처리부가, 상기 y성분과 상기 제n Y-어레이의 대푯값 간의 차이값을 상기 y성분에 관한 값으로 결정하는 단계를 실행하도록 하는 명령코드일 수 있다. A terminal provided according to one aspect of the present invention includes a device interface unit capable of reading a computer-readable non-volatile recording medium; processing unit; geomagnetic sensor; And a direction sensor; may include. At this time, the non-volatile recording medium may store a program including a first command code and a second command code. The first command code is a value (Ary[xc](t)) related to the x component (x(t)) of the magnetic field detected by the processing unit at a given time point (t) by the geomagnetic sensor, and y of the magnetic field. determining a value (Ary[yc](t)) for the component (y(t)) and a value (Ary[zc](t)) for the z component (z(t)) of the magnetic field; and The processing unit determines the strength of the magnetic field (I(t) detected by the geomagnetic sensor at the point in time t based on the determined value of the x component, the value of the y component, and the value of the z component ). And the second command code is N pitch sections defined by dividing the section from 0 ° to 360 ° into N sections in order to calculate the value of the y component at the point in time t. Among them, determining an n-th pitch section (p_n)(t) to which the pitch value detected by the direction sensor at the time point (t) belongs (n is any one value from 1 to N); The processing unit converts the y component detected at the time point t to an n-th Y-array (Ary[ y]_n); calculating, by the processing unit, a representative value (Reg[y]_n(t)) of the nth Y-array; and determining, by the processing unit, a difference value between the y component and a representative value of the nth Y-array as a value for the y component.

이때, 상기 비휘발성 기록매체는 제3명령코드를 더 저장하고 있으며, 상기 제3명령코드는, 상기 처리부가, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제1값을 더한 값보다 크거나, 또는 상기 과거 자기장 강도에 소정의 제2값을 곱한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계를 실행하도록 하는 명령코드일 수 있다. 그리고 상기 처리부는 상기 장치 인터페이스부를 통해 상기 제1명령코드, 상기 제2명령코드, 및 상기 제3명령코드를 읽어서 실행할 수 있도록 되어 있을 수 있다. At this time, the non-volatile recording medium further stores a third command code, and the third command code is a past time calculated by the processing unit at a time in the past when the calculated magnetic field strength is past the time point t. If it is greater than the value obtained by adding the first predetermined value to the magnetic field strength, or greater than the value obtained by multiplying the past magnetic field strength by the predetermined second value, execute a step of determining that the terminal has entered a predefined area. It may be a command code that does. The processing unit may be configured to read and execute the first command code, the second command code, and the third command code through the device interface unit.

본 발명의 일 관점에 따라 제공되는 지자기센서 값의 보정방법은, 단말기가 미리 결정된 시간격마다 지자기센서 값을 보정하는 프로세스를 수행하는 방법일 수 있다. 이때, 상기 프로세스는, 상기 단말기가, 현재 시점(t)에서, 상기 지자기센서가 검출한 자기장의 x성분(x(t))에 관한 값(Ary[xc](t)), y성분(y(t))에 관한 값(Ary[yc](t)), 및 z성분(z(t))에 관한 값(Ary[zc](t))을 결정하는 단계; 및 상기 단말기가, 상기 x성분에 관한 값, 상기 y성분에 관한 값, 및 상기 z성분에 관한 값을 기초로 상기 시점(t)에서의 상기 지자기센서 강도값(I(t))을 산출하는 단계를 포함할 수 있다. 이때, 상기 시점(t)에서의 상기 y성분에 관한 값(Ary[yc](t))을 산출하는 단계는, 상기 단말기가, 미리 정의된 복수 개의 피치구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 피치값이 속하는 제k 피치구간(p_k)(t)을 결정하는 단계; 상기 단말기가, 상기 시점(t)에 검출된 상기 y성분(y(t))을, 미리 정의된 복수 개의 Y-어레이들 중 상기 결정된 제k 피치구간(p_k)(t)에 대응하는 제k Y-어레이(Ary[y]_k)에 저장하는 단계; 상기 단말기가, 상기 제k Y-어레이(Ary[y]_k)의 대푯값(Reg[y]_k(t))을 산출하는 단계; 및 상기 단말기가, 상기 y성분(y(t))과 상기 대푯값(Reg[y]_k(t)) 간의 차이값을 상기 y성분에 관한 값(Ary[yc](t))으로 결정하는 단계를 포함할 수 있다.A method for correcting a value of a geomagnetic sensor provided according to one aspect of the present invention may be a method in which a terminal performs a process of correcting a value of a geomagnetic sensor at predetermined time intervals. At this time, in the process, the terminal, at the current point in time (t), the value (Ary[xc](t)) related to the x component (x(t)) of the magnetic field detected by the geomagnetic sensor, the y component (y (t)) determining a value (Ary[yc](t)) and a value (Ary[zc](t)) for the z component (z(t)); and calculating, by the terminal, the geomagnetic sensor intensity value I(t) at the point in time t based on the value of the x component, the value of the y component, and the value of the z component. steps may be included. In this case, in the step of calculating the value (Ary[yc](t)) for the y component at the time point t, the terminal, among a plurality of predefined pitch intervals, at the time point t determining a k-th pitch section (p_k)(t) to which a pitch value detected by a direction sensor included in the terminal belongs; The terminal selects the y component (y(t)) detected at the time point (t) as the kth corresponding to the determined kth pitch interval (p_k)(t) among a plurality of predefined Y-arrays. storing in Y-array (Ary[y]_k); calculating, by the terminal, a representative value (Reg[y]_k(t)) of the kth Y-array (Ary[y]_k); and determining, by the terminal, a difference value between the y component (y(t)) and the representative value (Reg[y]_k(t)) as a value (Ary[yc](t)) related to the y component. can include

이때, 상기 시점(t)에서의 상기 Ary[xc](t)는 x(t)값일 수 있다. In this case, the Ary[xc](t) at the time point t may be a value of x(t).

이때, 상기 시점(t)에서의 상기 Ary[zc](t)를 산출하는 단계는, 상기 단말기가, 상기 시점(t)에서, 롤값을 검출하여 복수 개의 롤구간들 중 상기 롤값에 대응하는 제m 롤구간(r_m)(t)을 결정하는 단계; 상기 단말기가, 상기 시점(t)에서, 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 상기 검출된 z(t)값을 저장하는 단계; 상기 단말기가, 상기 제m Z-어레이(Ary[z]_m)의 대푯값인 베이스(Reg[z]_m(t))를 계산하는 단계; 및 상기 단말기가, z(t)-Reg[z]_m(t)) 값을 상기 Ary[zc](t) 로 결정하는 단계를 포함할 수 있다.At this time, in the step of calculating the Ary[zc](t) at the time point t, the terminal detects the roll value at the point in time t, and the first one corresponding to the roll value among a plurality of roll sections. determining m roll section (r_m)(t); The terminal stores the detected z(t) value in the m-th Z-array (Ary[z]_m) corresponding to the determined m-th roll section (r_m)(t) at the time point (t) step; calculating, by the terminal, a base (Reg[z]_m(t)) that is a representative value of the m-th Z-array (Ary[z]_m); and determining, by the terminal, a value of z(t)-Reg[z]_m(t)) as the Ary[zc](t).

이때, 상기 지자기센서 값의 보정방법은, 상기 단말기가, 상기 시점(t)의 지자기센서 강도값(I(t))이 기준값보다 소정의 정도 이상으로 상승하면 자기장이 임계값 이상 강해졌다고 판단하는 단계를 더 포함할 수 있다.At this time, in the method of correcting the geomagnetic sensor value, the terminal determines that the magnetic field has become stronger than a threshold value when the geomagnetic sensor intensity value I(t) at the time point t rises above a predetermined level from a reference value. Further steps may be included.

이때, 상기 지자기센서 값의 보정방법은, 상기 단말기가, 상기 시점(t)이 기준시점이면 상기 기준값을 상기 시점(t)의 지자기센서 강도값(I(t))으로 갱신하는 단계를 더 포함할 수 있다. At this time, the method of correcting the geomagnetic sensor value further includes, by the terminal, updating the reference value to the geomagnetic sensor intensity value (I(t)) at the time point (t) when the time point (t) is a reference time point. can do.

이때, 상기 제k 피치구간(p_k)(t)을 결정하는 단계 이전에, 상기 단말기가, 피치값의 범위를 미리 결정된 N개의 구간으로 구분하여 상기 복수 개의 피치구간들을 생성하는 단계, 및 롤값의 범위를 미리 결정된 M개의 구간으로 구분하여 상기 복수 개의 롤구간들을 생성하는 단계를 더 포함할 수 있다.At this time, prior to the step of determining the kth pitch interval (p_k)(t), the step of generating the plurality of pitch intervals by dividing the pitch value range into N predetermined intervals by the terminal, and the roll value The method may further include generating the plurality of roll sections by dividing the range into predetermined M sections.

이때, 상기 단말기가, 지자기센서의 x값, y값, 및 z값을 검출하는 단계 이전에, 상기 단말기가, 블루투스 신호를 수신하는 단계; 및 상기 단말기가, 상기 지자기센서의 정확도가 로우값을 갖고 그리고 상기 지자기센서의 측정값이 미리 결정된 값보다 큰 경우, 상기 기준값을 상기 현재 시점의 지자기센서 강도값(I(t))으로 갱신하는 단계를 더 포함할 수 있다. At this time, before the step of detecting the x value, y value, and z value of the geomagnetic sensor by the terminal, the step of receiving a Bluetooth signal by the terminal; and when the accuracy of the geomagnetic sensor has a low value and the measured value of the geomagnetic sensor is greater than a predetermined value, the terminal updates the reference value to the current geomagnetic sensor intensity value I(t). Further steps may be included.

이때, 상기 프로세스는, 상기 프로세스의 실행 시작 시점부터 기준값 재설정시간 이전까지 반복 수행될 수 있다.In this case, the process may be repeatedly performed from an execution start time of the process to before the reference value reset time.

이때, 상기 프로세스의 실행 시작 시점으로부터 상기 기준값 재설정시간이 경과한 경우, 상기 단말기가, 상기 지자기센서의 정확도가 로우값을 갖고 그리고 상기 지자기센서의 측정값이 미리 결정된 값보다 큰 것으로 판단하는 단계; 및 상기 단말기가, 상기 지자기센서의 측정값이 상기 미리 결정된 값보다 큰 것으로 판단한 경우, 상기 기준값을 상기 현재 시점의 지자기센서 강도값(I(t))으로 갱신하는 단계;를 실행한 이후, 다시 상기 프로세스를 실행하도록 되어 있을 수 있다. At this time, when the reference value resetting time elapses from the execution start point of the process, determining, by the terminal, that the accuracy of the geomagnetic sensor has a low value and that the measured value of the geomagnetic sensor is greater than a predetermined value; and if the terminal determines that the measured value of the geomagnetic sensor is greater than the predetermined value, updating the reference value to the geomagnetic sensor intensity value (I(t)) at the current time point. It may be configured to run the process.

본 발명의 다른 관점에 따라 제공되는 단말기는, 컴퓨터로 읽을 수 있는 비휘발성 기록매체를 읽을 수 있는 장치 인터페이스부; 처리부; 지자기센서; 및 방향센서;를 포함할 수 있다. 이때, 상기 비휘발성 기록매체는, 현재 시점(t)에서, 상기 지자기센서의 자기장의 x성분인 x(t)값, y성분인 y(t)값, 및 z성분인 z(t)값을 검출하는 단계; 상기 시점(t)에서, 상기 x성분(x(t))에 관한 값인 Ary[xc](t), 상기 y성분(y(t))에 관한 값인 Ary[yc](t), 및 상기 z성분(z(t))에 관한 값인 Ary[zc](t)를 산출하는 단계; 및 root(Ary[xc](t)^2+Ary[yc](t)^2+Ary[zc](t)^2)를 상기 시점(t)에서의 상기 지자기센서 강도값(I(t))으로 결정하는 단계를 실행하는 제1명령코드를 포함하는 프로그램을 저장하고 있을 수 있다. 이때, 상기 프로그램은, 상기 시점(t)에서의 상기 Ary[yc](t)를 산출하기 위해, 상기 시점(t)에서, 피치값을 검출하여 복수 개의 피치구간들 중 상기 피치값에 대응하는 제k 피치구간(p_k)(t)을 결정하는 단계; 상기 시점(t)에서, 상기 결정된 제k 피치구간(p_k)(t)에 대응하는 제k Y-어레이(Ary[y]_k)에 상기 검출된 y(t)값을 저장하는 단계; 상기 제k Y-어레이(Ary[y]_k)의 대푯값인 베이스(Reg[y]_k(t))를 계산하는 단계; 및 y(t)-Reg[y]_k(t)) 값을 상기 Ary[yc](t) 로 결정하는 단계;를 실행하는 제2명령코드를 더 포함할 수 있다.A terminal provided according to another aspect of the present invention includes a device interface unit capable of reading a computer-readable non-volatile recording medium; processing unit; geomagnetic sensor; And a direction sensor; may include. At this time, the non-volatile recording medium, at the current point in time (t), the x (t) value of the magnetic field of the geomagnetic sensor, the y (t) value of the y component, and the z (t) value of the z component detecting; At the time point t, Ary[xc](t), which is a value for the x component (x(t)), Ary[yc](t), which is a value for the y component (y(t)), and the z Calculating Ary[zc](t), which is a value for component z(t); and root (Ary[xc](t)^2+Ary[yc](t)^2+Ary[zc](t)^2) as the geomagnetic sensor intensity value (I(t) at the point in time t. ))) may store a program including a first command code for executing the step of determining. At this time, in order to calculate the Ary[yc](t) at the time point t, the program detects a pitch value at the time point t and detects a pitch value corresponding to the pitch value among a plurality of pitch sections. Determining a k-th pitch section (p_k) (t); At the point in time t, storing the detected y(t) value in a kth Y-array Ary[y]_k corresponding to the determined kth pitch section p_k(t); calculating a base (Reg[y]_k(t)), which is a representative value of the kth Y-array (Ary[y]_k); and determining the value of y(t)-Reg[y]_k(t)) as the Ary[yc](t).

이때, 상기 시점(t)에서의 상기 Ary[xc](t)는 x(t)값일 수 있다.In this case, the Ary[xc](t) at the time point t may be a value of x(t).

이때, 상기 프로그램은, 상기 시점(t)에서의 상기 Ary[zc](t)를 산출하기 위해, 상기 시점(t)에서, 롤값을 검출하여 복수 개의 롤구간들 중 상기 롤값에 대응하는 제m 롤구간(r_m)(t)을 결정하는 단계; 상기 시점(t)에서, 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 상기 검출된 z(t)값을 저장하는 단계; 상기 제m Z-어레이(Ary[z]_m)의 대푯값인 베이스(Reg[z]_m(t))를 계산하는 단계; 및 z(t)-Reg[z]_m(t)) 값을 상기 Ary[zc](t) 로 결정하는 단계;를 실행하는 제3명령코드를 더 포함할 수 있다. At this time, in order to calculate the Ary[zc](t) at the time point t, the program detects a roll value at the time point t and m corresponding to the roll value among a plurality of roll sections. determining a roll section (r_m)(t); storing the detected value of z(t) in an m-th Z-array (Ary[z]_m) corresponding to the determined m-th roll section (r_m)(t) at the time point (t); calculating a base (Reg[z]_m(t)) that is a representative value of the m-th Z-array (Ary[z]_m); and determining the value of z(t)-Reg[z]_m(t)) as the Ary[zc](t); third instruction code for executing.

이때, 상기 프로그램은, 상기 현재 시점(t)의 지자기센서 강도값(I(t))이 기준값보다 소정의 정도 이상으로 상승하면 자기장이 임계값 이상 강해졌다고 판단하는 단계를 실행하는 제5명령코드를 더 포함할 수 있다. At this time, the program executes a step of determining that the magnetic field has become stronger than a threshold value when the geomagnetic sensor intensity value (I(t)) at the current point in time (t) rises above the reference value by a predetermined degree or more, a fifth command code may further include.

이때, 상기 프로그램은, 상기 현재 시점(t)이 기준시점이면 상기 기준값을 상기 현재 시점(t)의 지자기센서 강도값(I(t))으로 갱신하는 단계를 실행하는 제4명령코드를 더 포함할 수 있다. At this time, the program further includes a fourth command code for executing a step of updating the reference value to the geomagnetic sensor intensity value I(t) at the current time point t if the current time point t is a reference time point. can do.

본 발명에 따르면, 지구자기장보다 강한 자기장을 제공하는, 인위적으로 제공된 자계공간에 진입했을 때에 사용자가 특정구역에 진입했음을 정확하게 판단하기 위한 방법을 제공할 수 있다.According to the present invention, it is possible to provide a method for accurately determining that a user has entered a specific area when entering an artificially provided magnetic space that provides a magnetic field stronger than the earth's magnetic field.

또한, 본 발명에 따르면, 지자기센서의 자동보정값이 정확하지 않은 경우에 이용할 수 있는 지자기센서 강도값의 보정방법을 제공할 수 있다.In addition, according to the present invention, it is possible to provide a method for correcting the intensity value of the geomagnetic sensor that can be used when the automatic correction value of the geomagnetic sensor is not accurate.

도 1은 사용자 단말기에 포함된 방향센서를 설명하기 위한 도면이다.
도 2는 본 발명의 일 실시예에 따른 사용자 단말기의 구성을 나타낸 것이다.
도 3은 본 발명의 일 실시예에 따른 피치값에 대한 복수 개의 피치구간들 및 롤값에 대한 복수 개의 롤구간들을 나타낸 것이다.
도 4는 본 발명의 일 실시예에 따라 사용자 단말기에 준비된 어레이들 및 레지스터들을 나타낸 것이다.
도 5는 본 발명의 일 실시예에 따른 지자기센서 강도값의 보정방법에 대한 순서도를 나타낸 것이다.
도 6a은 본 발명의 일 실시예에 따른 y성분에 관한 값인 Ary[yc](t)를 산출하는 단계에 대한 순서도이다.
도 6b는 본 발명의 일 실시예에 따른 z성분에 관한 값인 Ary[zc](t)를 산출하는 단계에 대한 순서도이다.
도 7은 본 발명의 일 실시예에 따른 단계(S10), 단계(S21) 내지 단계(S22), 및 단계(S121) 내지 단계(S122)를 설명하기 위한 도면이다.
도 8a는 본 발명의 일 실시예에 따른 y성분에 관한 값인 Ary[yc](t)를 산출하는 과정을 설명하기 위한 도면이다.
도 8b는 본 발명의 일 실시예에 따른 z성분에 관한 값인 Ary[zc](t)를 산출하는 과정을 설명하기 위한 도면이다.
도 8c는 본 발명의 일 실시예에 따른 X-보정 어레이 Ary[xc]를 나타낸 것이다.
도 8d는 본 발명의 일 실시예에 따른 현재강도어레이를 나타낸 도면이다.
도 9는 본 발명의 일 실시예에 따른 사용자 단말기와 역사 블루투스 송수신기의 관계를 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따라 사용자 단말기를 소지한 사용자가 특정구역에 진입했는지 여부를 판단하는 순서도를 나타낸 것이다.
1 is a diagram for explaining a direction sensor included in a user terminal.
2 shows the configuration of a user terminal according to an embodiment of the present invention.
3 illustrates a plurality of pitch sections for pitch values and a plurality of roll sections for roll values according to an embodiment of the present invention.
4 illustrates arrays and registers prepared in a user terminal according to an embodiment of the present invention.
5 is a flowchart illustrating a method for correcting intensity values of a geomagnetic sensor according to an embodiment of the present invention.
6A is a flowchart of a step of calculating Ary[yc](t), which is a value related to the y component, according to an embodiment of the present invention.
6B is a flowchart of a step of calculating Ary[zc](t), which is a value related to the z component, according to an embodiment of the present invention.
7 is a diagram for explaining steps S10, steps S21 to S22, and steps S121 to S122 according to an embodiment of the present invention.
8A is a diagram for explaining a process of calculating Ary[yc](t), which is a value related to a y component, according to an embodiment of the present invention.
8B is a diagram for explaining a process of calculating Ary[zc](t), which is a value related to the z component, according to an embodiment of the present invention.
8c shows an X-correction array Ary[xc] according to an embodiment of the present invention.
8D is a diagram showing a current intensity array according to an embodiment of the present invention.
9 is a diagram for explaining the relationship between a user terminal and a stationary Bluetooth transceiver according to an embodiment of the present invention.
10 is a flow chart for determining whether a user carrying a user terminal has entered a specific area according to an embodiment of the present invention.

이하, 본 발명의 실시예를 첨부한 도면을 참고하여 설명한다. 그러나 본 발명은 본 명세서에서 설명하는 실시예에 한정되지 않으며 여러 가지 다른 형태로 구현될 수 있다. 본 명세서에서 사용되는 용어는 실시예의 이해를 돕기 위한 것이며, 본 발명의 범위를 한정하고자 의도된 것이 아니다. 또한, 이하에서 사용되는 단수 형태들은 문구들이 이와 명백히 반대의 의미를 나타내지 않는 한 복수 형태들도 포함한다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, the present invention is not limited to the embodiments described herein and may be implemented in various other forms. Terms used in this specification are intended to aid understanding of the embodiments, and are not intended to limit the scope of the present invention. Also, the singular forms used herein include the plural forms unless the phrases clearly dictate the contrary.

도 2는 본 발명의 일 실시예에 따른 사용자 단말기의 구성을 나타낸 것이다. 2 shows the configuration of a user terminal according to an embodiment of the present invention.

사용자 단말기(10)는 지자기센서(11), 방향센서(12), 처리부(14), 통신부(15), 및 비휘발성 기록매체(14)를 읽을 수 있는 장치 인터페이스(16)를 포함할 수 있다. 또한 사용자 단말기(10)는 상기 컴퓨터로 읽을 수 있는 비휘발성 기록매체(14)를 더 포함할 수 있다.The user terminal 10 may include a geomagnetic sensor 11, a direction sensor 12, a processing unit 14, a communication unit 15, and a device interface 16 capable of reading a non-volatile recording medium 14. . In addition, the user terminal 10 may further include a non-volatile recording medium 14 readable by the computer.

지자기센서(11)는 자기장의 세기를 계산하기 위한 시점(t)의 자기장의 x(t)값, y(t)값, 및 z(t)값을 측정할 수 있다. 일반적으로 사용자 단말기에 설치된 앱으로서, 사용자 단말기에 설치된 지자기센서를 이용하는 앱은 지자기센서로부터 얻은 보정된 X, Y, Z 성분의 자기장 값을 이용한다. The geomagnetic sensor 11 may measure x(t) values, y(t) values, and z(t) values of the magnetic field at time point t for calculating the strength of the magnetic field. Generally, apps installed on user terminals, and apps using geomagnetic sensors installed on user terminals, use corrected magnetic field values of X, Y, and Z components obtained from the geomagnetic sensor.

이에 비하여, 아래 설명하는 본 발명의 일 실시예에 따라 제공되는 방법은 지자기센서기(11)로부터 얻을 수 있는 보정전 X, Y, Z 성분의 자기장 값, 즉 측정값인 x(t)값, y(t)값, 및 z(t)값을 이용할 수 있다.In contrast, in the method provided according to an embodiment of the present invention described below, the magnetic field values of the X, Y, and Z components before correction that can be obtained from the geomagnetic sensor 11, that is, the measured value x(t) value, A y(t) value and a z(t) value can be used.

방향센서(12)는 피치값, 및 롤값을 측정할 수 있다. The direction sensor 12 may measure a pitch value and a roll value.

비휘발성 기록매체(13)는, 이하의 단계(S10) 내지 단계(S30)를 실행하는 제1명령코드, 단계(S21) 내지 단계(S25)를 실행하는 제2명령코드, 이하의 단계(S121) 내지 단계(S125)를 실행하는 제3명령코드, 이하의 단계(S200) 내지 단계(S260), 및 단계(S310) 내지 단계(S330)를 실행하는 제6명령코드(제4명령코드 및 제5명령코드 포함)를 포함하는 프로그램을 저장하고 있을 수 있다. 이때, 비휘발성 기록매체(13)는 지자기센서(11), 방향센서(12), 처리부(14), 및 통신부(15)에서 측정, 생성, 및 수신하는 정보들을 저장할 수 있다. The nonvolatile recording medium 13 includes a first command code for executing steps S10 to S30, a second command code for executing steps S21 to S25, and a step S121 for performing steps S10 to S30 below. ) to step S125, the following steps S200 to S260, and the sixth command code to execute steps S310 to S330 (fourth command code and 5 command code included) may be stored. At this time, the non-volatile recording medium 13 may store information measured, generated, and received by the geomagnetic sensor 11, the direction sensor 12, the processing unit 14, and the communication unit 15.

처리부(14)는 장치 인터페이스부(16)를 통해, 상기 제1명령코드 내지 제6명령코드를 읽어서 실행함으로써 지자기센서 강도값을 획득하도록 되어 있을 수 있다. The processing unit 14 may be adapted to obtain a geomagnetic sensor strength value by reading and executing the first command code to the sixth command code through the device interface unit 16 .

통신부(15)는 블루투스 통신장치를 포함할 수 있다. 통신부(15)는 사용자 단말기(10) 외부의 블루투스 송수신기로부터 블루투스 신호를 수신할 수 있다. 상기 외부의 블루투스 송수신기는 예컨대 역사에 설치된 것으로서, 상기 블루투스 신호는 역사정보를 포함할 수 있다. 여기서 역사정보라 함은, 예컨대 어떤 지역에 건설된 역사의 식별정보, 해당 역사에서 운행되는 운행수단의 식별정보, 해당 역사에 관련된 운임에 관한 정보를 포함할 수 있다.The communication unit 15 may include a Bluetooth communication device. The communication unit 15 may receive a Bluetooth signal from a Bluetooth transceiver external to the user terminal 10 . The external Bluetooth transceiver is, for example, installed in a station, and the Bluetooth signal may include history information. Here, the history information may include, for example, identification information of a station built in a certain area, identification information of means of transportation operated in the station, and information about fares related to the station.

도 3은 본 발명의 일 실시예에 따른 피치값에 대한 복수 개의 피치구간들 및 롤값에 대한 복수 개의 롤구간들을 나타낸 것이다.3 illustrates a plurality of pitch sections for pitch values and a plurality of roll sections for roll values according to an embodiment of the present invention.

본 발명의 일 실시예에서는, 방향센서(12)가 출력하는 피치 및 롤에 관한 값을 몇 개의 구간으로 간략화하여 관리한다. 그리고 상기 구간에 관한 정보를 이용하여 보정 전의 지자기센서 값을 보정할 수 있다.In one embodiment of the present invention, the pitch and roll values output by the direction sensor 12 are simplified into several sections and managed. In addition, the geomagnetic sensor value before correction may be corrected using the information about the section.

도 3의 (a)는 피치값의 범위를 4개의 구간으로 구분한 예를 나타낸 것이고, 도 3의 (b)는 피치값의 범위를 6개의 구간으로 구분한 예를 나타낸 것이고, 도 3의 (c)는 롤값의 범위를 4개의 구간으로 구분한 예를 나타낸 것이고, 그리고 도 3의 (d)는 롤값의 범위를 6개의 구간으로 구분한 예를 나타낸 것이다. 도 3의 (a) 및 (b)에 제시한 원(circle)은 피치가 가질 수 있는 값인 0°~ 360°를 표현한 것이다. 도 3의 (c) 및 (d)에 제시한 원(circle)은 롤이 가질 수 있는 값인 0°~ 360°를 표현한 것이다. 피치 또는 롤이 가질 수 있는 값은 상기 부호 °를 제외한 숫자일 수 있다. Figure 3 (a) shows an example of dividing the pitch value range into four sections, Figure 3 (b) shows an example of dividing the pitch value range into six sections, in Figure 3 ( c) shows an example of dividing the roll value range into 4 sections, and FIG. 3(d) shows an example of dividing the roll value range into 6 sections. The circles shown in (a) and (b) of FIG. 3 represent 0° to 360°, which is a value that the pitch can have. The circles shown in (c) and (d) of FIG. 3 represent values that the roll can have, from 0° to 360°. Values that the pitch or roll may have may be numbers excluding the symbol °.

예컨대, 도 3의 (a)에서 0°~ 90°의 값을 갖는 피치는 제1피치구간(p_1)에 속한 것으로 간주되고, 90°~ 180°의 값을 갖는 피치는 제2피치구간2(p_2)에 속한 것으로 간주되고, 180°~ 270°의 값을 갖는 피치는 제3피치구간(p_3)에 속한 것으로 간주되고, 270°~ 360°의 값을 갖는 피치는 제4피치구간(p_4)에 속한 것으로 간주될 수 있다. 도 3의 (b)에 나타낸 것과 같이, 360°의 전체 구간을 총 6개의 피치구간으로 나누는 실시예도 가능하다. 또한, 도시하지 않았지만, 360°의 전체 구간을 총 N개의 피치구간으로 나누는 실시예도 가능하다. 즉, 본 발명의 일 실시예에서, 측정된 모든 피치는 제1피치구간, 제2피치구간, 제3피치구간, 및 제4피치구간에 대응하는 4개의 값 중 어느 하나의 값을 갖는 것으로 간주되어 저장될 수 있다. 이 경우, 측정되어 저장된, 피치에 관한 값은, 실제 측정값에 비하여 큰 양자화 오류를 가질 수 있지만, 이 오류에 의한 단점보다는, 후술하는 것과 같이 피치값을 단순화하여 저장함으로써 얻는 이득이 더 큰 것으로 간주한다. For example, in (a) of FIG. 3, a pitch having a value of 0 ° to 90 ° is regarded as belonging to the first pitch section p_1, and a pitch having a value of 90 ° to 180 ° is considered to belong to the second pitch section 2 ( p_2), pitches with a value of 180 ° to 270 ° are considered to belong to the third pitch section (p_3), and pitches with a value of 270 ° to 360 ° are considered to belong to the fourth pitch section (p_4) can be considered as belonging to As shown in (b) of FIG. 3, an embodiment in which the entire section of 360 ° is divided into a total of six pitch sections is also possible. In addition, although not shown, an embodiment in which the entire section of 360° is divided into a total of N pitch sections is also possible. That is, in one embodiment of the present invention, all measured pitches are considered to have any one of four values corresponding to the first pitch section, the second pitch section, the third pitch section, and the fourth pitch section. and can be stored. In this case, the measured and stored pitch value may have a large quantization error compared to the actual measured value, but the gain obtained by simplifying and storing the pitch value as described below is greater than the disadvantage caused by this error. consider

마찬가지로, 도 3의 (c)에서 0°~ 90°의 값을 갖는 롤은 제1롤구간(r_1)에 속한 것으로 간주되고, 90°~ 180°의 값을 갖는 롤은 제2롤구간2(r_2)에 속한 것으로 간주되고, 180°~ 270°의 값을 갖는 롤은 제3롤구간(r_3)에 속한 것으로 간주되고, 270°~ 360°의 값을 갖는 롤은 제4롤구간(r_4)에 속한 것으로 간주될 수 있다. 도 3의 (d)에 나타낸 것과 같이, 360°의 전체 구간을 총 6개의 롤구간으로 나누는 실시예도 가능하다. 또한, 도시하지 않았지만, 360°의 전체 구간을 총 M개의 롤구간으로 나누는 실시예도 가능하다. 즉, 본 발명의 일 실시예에서, 측정된 모든 롤은 제1롤구간, 제2롤구간, 제3롤구간, 및 제4롤구간에 대응하는 4개의 값 중 어느 하나의 값을 갖는 것으로 간주되어 저장될 수 있다. 이 경우, 측정되어 저장된, 롤에 관한 값은, 실제 측정값에 비하여 큰 양자화 오류를 가질 수 있지만, 이 오류에 의한 단점보다는, 후술하는 것과 같이 롤 값을 단순화여 저장함으로써 얻는 이득이 더 큰 것으로 간주한다.Similarly, in (c) of FIG. 3, rolls having a value of 0 ° to 90 ° are regarded as belonging to the first roll section (r_1), and rolls having a value of 90 ° to 180 ° are considered to belong to the second roll section 2 ( r_2), rolls with a value of 180 ° to 270 ° are considered to belong to the third roll section (r_3), and rolls with a value of 270 ° to 360 ° are considered to belong to the fourth roll section (r_4) can be considered as belonging to As shown in (d) of FIG. 3, an embodiment in which the entire section of 360° is divided into a total of six roll sections is also possible. In addition, although not shown, an embodiment in which the entire section of 360° is divided into a total of M roll sections is also possible. That is, in one embodiment of the present invention, all measured rolls are considered to have any one of four values corresponding to the first roll section, the second roll section, the third roll section, and the fourth roll section. and can be stored. In this case, the measured and stored roll value may have a large quantization error compared to the actual measured value, but the benefit obtained by simplifying and storing the roll value as described below is greater than the disadvantage caused by this error. consider

즉, 처리부(14)는 피치값의 범위(0도에서 360도)를 미리 결정된 N개의 구간으로 구분하여 복수 개의 피치구간들 생성할 수 있다. 예컨대, N=4인 경우 도 3의 (a)와 같을 수 있고, N=6인 경우 도 3의 (b)와 같을 수 있다. 예컨대, N=4인 경우, 피치값이 0~89도의 값이면 제1피치구간(p_1)에 해당하고, 피치값이 90~179도의 값이면 제2피치구간(p_2)에 해당하고, 피치값이 180~269도의 값이면 제3피치구간(p_3)에 해당하고, 그리고 피치값이 270~359도의 값이면 제4피치구간(p_4)에 해당하는 것으로 판단될 수 있다.That is, the processing unit 14 may generate a plurality of pitch sections by dividing the pitch value range (0 degree to 360 degrees) into predetermined N sections. For example, when N = 4, it may be the same as in (a) of FIG. 3, and when N = 6, it may be the same as (b) in FIG. For example, if N = 4, if the pitch value is a value of 0 to 89 degrees, it corresponds to the first pitch section (p_1), if the pitch value is a value of 90 to 179 degrees, it corresponds to the second pitch section (p_2), and the pitch value If the value is 180 to 269 degrees, it corresponds to the third pitch section (p_3), and if the pitch value is a value of 270 to 359 degrees, it can be determined that it corresponds to the fourth pitch section (p_4).

처리부(14)는 롤값의 범위(0도에서 360도)를 미리 결정된 M개의 구간으로 구분하여 복수 개의 롤구간들을 생성할 수 있다. 예컨대, M=4인 경우 도 3의 (c)와 같을 수 있고, M=6인 경우 도 3의 (d)와 같을 수 있다. 예컨대, M=4인 경우, 롤값이 0~89도의 값이면 제1롤구간(p_1)에 해당하고, 롤값이 90~179도의 값이면 제2롤구간(p_2)에 해당하고, 롤값이 180~269도의 값이면 제3롤구간(p_3)에 해당하고, 그리고 롤값이 270~359도의 값이면 제4롤구간(p_4)에 해당하는 것으로 판단될 수 있다.The processing unit 14 may create a plurality of roll sections by dividing the roll value range (0 degree to 360 degrees) into predetermined M sections. For example, when M = 4, it may be the same as in (c) of FIG. 3, and when M = 6, it may be the same as (d) in FIG. For example, in the case of M = 4, if the roll value is 0 to 89 degrees, it corresponds to the first roll section (p_1), if the roll value is 90 to 179 degrees, it corresponds to the second roll section (p_2), and if the roll value is 180 to 179 degrees, it corresponds to the second roll section (p_2). If the value is 269 degrees, it corresponds to the third roll section (p_3), and if the roll value is a value of 270 to 359 degrees, it can be determined that it corresponds to the fourth roll section (p_4).

이때, N과 M은 같은 값일 수도 있고 다른 값일 수도 있다. In this case, N and M may have the same value or different values.

이때, 본 실시예에서는 N=4, 또는 6인 경우, M=4, 또는 6인 경우에 대해 설명했지만, N 및 M의 값은 2 이상의 자연수일 수 있다.At this time, in this embodiment, the case of N = 4 or 6 and the case of M = 4 or 6 have been described, but the values of N and M may be natural numbers greater than or equal to 2.

도 4는 본 발명의 일 실시예에 따라 사용자 단말기에 준비된 어레이들 및 레지스터들을 나타낸 것이다.4 illustrates arrays and registers prepared in a user terminal according to an embodiment of the present invention.

본 발명의 발명자는, 지자기센서로부터 측정된 Y 성분의 자기장 값은 방향센서로부터 측정된 방위각, 롤, 피치 중 피치와 밀접한 관련이 있고, 측정된 Z 성분의 자기장 값은 측정된 방위각, 롤, 피치 중 롤과 밀접한 관련이 있다는 점을 발견하였다.The inventor of the present invention, the magnetic field value of the Y component measured from the geomagnetic sensor is closely related to the pitch among the azimuth, roll, and pitch measured from the direction sensor, and the measured magnetic field value of the Z component is the measured azimuth, roll, and pitch. It was found that it was closely related to the middle roll.

이러한 발견과 관련하여, 본 발명의 일 실시예에서, 상기 사용자 단말기 내에는 X-어레이(Ary[xc]), Y-어레이들(Ary[y]), Y-레지스터들(Reg[y]), Y-보정 어레이(Ary[yc]), Z-어레이들(Ary[z]), Z-레지스터들(Reg[z]), Z-보정 어레이(Ary[zc]), 및 현재강도어레이(Ary[c])가 준비될 수 있다. In connection with this discovery, in an embodiment of the present invention, X-array (Ary[xc]), Y-arrays (Ary[y]), and Y-registers (Reg[y]) are included in the user terminal. , Y-correction array (Ary[yc]), Z-arrays (Ary[z]), Z-registers (Reg[z]), Z-correction array (Ary[zc]), and current intensity array ( Ary[c]) may be prepared.

이때, Y-어레이들(Ary[y]) 중 임의의 Y-어레이(Ary[y]_k)는 측정된 피치가 제k 피치구간(p_k)에 속한 시점들에서 측정된 보정전의 Y 성분의 자기장 값들을 저장하기 위한 어레이이며, 상기 Y-어레이의 개수는 총 N개이다(k=1, 2, ..., N). At this time, a random Y-array (Ary[y]_k) among the Y-arrays (Ary[y]) is the magnetic field of the Y component before correction measured at points in time when the measured pitch belongs to the kth pitch section (p_k). It is an array for storing values, and the number of Y-arrays is N in total (k=1, 2, ..., N).

Z-어레이들(Ary[z]) 중 임의의 Z-어레이(Ary[z]_m)는 측정된 롤이 제m 롤구간(r_m)에 속한 시점들에서 측정된 보정전의 Z 성분의 자기장 값들을 저장하기 위한 어레이이며, 상기 Z-어레이의 개수는 총 M개이다(m=1, 2, ..., M). 여기서 상기 N=M일 수 있다. A random Z-array (Ary[z]_m) among the Z-arrays (Ary[z]) is the magnetic field values of the Z component before correction measured at the times when the measured roll belongs to the m-th roll section (r_m). It is an array for storage, and the number of Z-arrays is M in total (m = 1, 2, ..., M). Here, N=M may be the case.

도 4에서는 (그리고 이하의 도 8a 및 도 8b에서는) N=M=4인 예를 설명한다. In FIG. 4 (and in FIGS. 8A and 8B below), an example where N=M=4 is described.

이하에서, 4개의 Y-어레이들(Ary[y])과 4개의 Z-어레이들(Ary[z]), 즉 총 8개의 어레이들 중 각 어레이에 속한 값들의 대푯값을 '베이스'라고 지칭한다. 총 8개의 어레이가 존재하므로 총 8개의 대푯값들, 즉 총 8개의 '베이스'들을 정의할 수 있다.Hereinafter, four Y-arrays (Ary[y]) and four Z-arrays (Ary[z]), that is, a representative value of values belonging to each array among a total of 8 arrays is referred to as a 'base'. . Since there are a total of 8 arrays, a total of 8 representative values, that is, a total of 8 'bases' can be defined.

상기 대푯값들은 자기장 및 피치/롤을 측정하는 매 순간마다 다시 계산될 수 있다. 즉, 상기 대푯값들은 매 순간 변할 수 있다. 계산된 대푯값들은 과거값부터 현재값까지 순차적으로 저장될 수 있다. The representative values can be recalculated every time the magnetic field and pitch/roll are measured. That is, the representative values may change every moment. The calculated representative values may be sequentially stored from past values to present values.

총 8개의 대푯값들이 존재하는 예에서, 자기장을 측정하는 매 순간마다 결정되는 8개의 대푯값을 저장하기 위한 8개의 레지스터들을 상기 사용자 단말기에 준비할 수 있다.In an example in which a total of 8 representative values exist, 8 registers may be prepared in the user terminal to store the 8 representative values determined at every moment of measuring the magnetic field.

즉, 제1 Y-어레이(Ary[y]_1), 제2 Y-어레이(Ary[y]_2), 제3 Y-어레이(Ary[y]_3), 제4 Y-어레이(Ary[y]_4)에 속한 값들의 대푯값을 각각 저장하기 위한 제1 Y-레지스터(Reg[y]_1), 제2 Y-레지스터(Reg[y]_2), 제3 Y-레지스터(Reg[y]_3), 및 제4 Y-레지스터(Reg[y]_4)가 준비될 수 있다.That is, the first Y-array (Ary[y]_1), the second Y-array (Ary[y]_2), the third Y-array (Ary[y]_3), and the fourth Y-array (Ary[y] ]_4), the first Y-register (Reg[y]_1), the second Y-register (Reg[y]_2), and the third Y-register (Reg[y]_3) for storing representative values of values belonging to ), and a fourth Y-register (Reg[y]_4) may be prepared.

마찬가지로, 제1 Z-어레이(Ary[z]_1), 제2 Z-어레이(Ary[z]_2), 제3 Z-어레이(Ary[z]_3), 제4 Z-어레이(Ary[z]_4)에 속한 값들의 대푯값을 각각 저장하기 위한 제1 Z-레지스터(Reg[z]_1), 제2 Z-레지스터(Reg[z]_2), 제3 Z-레지스터(Reg[z]_3), 및 제4 Z-레지스터(Reg[z]_4)가 준비될 수 있다. Similarly, the first Z-array (Ary[z]_1), the second Z-array (Ary[z]_2), the third Z-array (Ary[z]_3), and the fourth Z-array (Ary[z]_3) The first Z-register (Reg[z]_1), the second Z-register (Reg[z]_2), and the third Z-register (Reg[z]_3) for storing representative values of the values belonging to ]_4), respectively. ), and a fourth Z-register (Reg[z]_4) may be prepared.

즉, 본 발명에서 제k Y-어레이(Ary[y]_k)에 속한 값들의 대푯값을 저장하는 레지스터는 제k Y-레지스터(Reg[y]_k)라고 지칭하고, 제m Z-어레이(Ary[z]_m)에 속한 값들의 대푯값을 저장하는 레지스터는 제m Z-레지스터(Reg[z]_m)라고 지칭할 수 있다.That is, in the present invention, the register storing the representative values of the values belonging to the kth Y-array (Ary[y]_k) is referred to as the kth Y-register (Reg[y]_k), and the mth Z-array (Ary[y]_k) A register storing representative values of values belonging to [z]_m) may be referred to as an m-th Z-register Reg[z]_m.

그리고 자기장의 보정전 Y 값에 관한 대푯값을 매 측정시점마다 저장하기 위해 Y-보정 어레이(Ary[yc])를 상기 사용자 단말기에 준비하고, 자기장의 보정전 Z 값에 관한 대푯값을 매 측정시점마다 저장하기 위해 Z-보정 어레이(Ary[zc])를 상기 사용자 단말기에 준비할 수 있다. In addition, a Y-correction array (Ary[yc]) is prepared in the user terminal to store a representative value of the Y value before correction of the magnetic field at each measurement point, and a representative value of the Z value before correction of the magnetic field is stored at each measurement point. A Z-correction array (Ary[zc]) may be prepared in the user terminal for storage.

Y-보정 어레이(Ary[yc]), 및 Z-보정 어레이(Ary[zc])와 마찬가지로 X-보정 어레이(Ary[xc])가 상기 사용자 단말기에 준비될 수 있다. X-보정 어레이(Ary[xc])에는 자기장의 보정전 X 값에 관한 대푯값을 매 측정시점마다 저장될 수 있다. 상기 자기장의 보정전 X값에 관한 대푯값은 임의의 측정시점의 상기 보정전 X값 자체일 수도 있고, 소정의 알고리즘에 의해 보정된 대푯값일 수도 있다. Like the Y-correction array Ary[yc] and the Z-correction array Ary[zc], an X-correction array Ary[xc] may be prepared in the user terminal. In the X-correction array Ary[xc], a representative value of the X value before correction of the magnetic field may be stored at each measurement point. The representative value of the X value before correction of the magnetic field may be the X value itself before correction at an arbitrary measurement time point, or may be a representative value corrected by a predetermined algorithm.

마지막으로 매 측정시점마다 보정된 지자기센서 강도값을 저장하기 위한 현재강도어레이(Ary[c])가 상기 사용자 단말기에 준비될 수 있다. 이때, 시점(t)에서의 현재강도어레이에 저장되는 지자기센서 강도값은 I(t)로 지칭될 수 있다. Finally, a current intensity array (Ary[c]) for storing the corrected geomagnetic sensor intensity value at every measurement point may be prepared in the user terminal. At this time, the geomagnetic sensor intensity value stored in the current intensity array at time point t may be referred to as I(t).

도 5는 본 발명의 일 실시예에 따른 지자기센서 강도값의 보정방법에 대한 순서도를 나타낸 것이다. 5 is a flowchart illustrating a method for correcting intensity values of a geomagnetic sensor according to an embodiment of the present invention.

단계(S10)에서, 현재 시점(t)에서, 상기 지자기센서의 자기장의 x성분인 x(t)값, y성분인 y(t)값, 및 z성분인 z(t)값을 검출할 수 있다. In step S10, at the current point in time t, the x(t) value of the magnetic field of the geomagnetic sensor, the y(t) value of the y component, and the z(t) value of the z component can be detected. there is.

단계(S20)에서, 상기 시점(t)에서, 상기 x성분(x(t))에 관한 값인 Ary[xc](t), 상기 y성분(y(t))에 관한 값인 Ary[yc](t), 및 상기 z성분(z(t))에 관한 값인 Ary[zc](t)를 산출할 수 있다.In step S20, at the point in time t, Ary[xc](t), which is a value for the x component (x(t)), and Ary[yc](t), which is a value for the y component (y(t)) t), and Ary[zc](t), which is a value for the z component (z(t)), can be calculated.

단계(S30)에서, root(Ary[xc](t)^2+Ary[yc](t)^2+Ary[zc](t)^2)를 상기 시점(t)에서의 상기 지자기센서 강도값(I(t))으로 결정할 수 있다.In step S30, the root (Ary[xc](t)^2+Ary[yc](t)^2+Ary[zc](t)^2) is the intensity of the geomagnetic sensor at the time point t. It can be determined by the value I(t).

이때, 상술한 단계(S10) 내지 단계(S30)를 포함하는 프로세스를 제1프로세스라고 지칭할 수 있다. In this case, a process including the above-described steps S10 to S30 may be referred to as a first process.

단계(S20)는 이하의 단계(S21) 내지 단계(S25), 및 단계(S121) 내지 단계(S125)를 포함할 수 있다. 이하에서 단계(S21) 내지 단계(S25)를 포함하는 프로세스를 제2프로세스라고 지칭하고, 단계(S121) 내지 단계(S125)를 포함하는 프로세스를 제3프로세스라고 지칭할 수 있다. Step S20 may include the following steps S21 to S25 and steps S121 to S125. Hereinafter, a process including steps S21 to S25 may be referred to as a second process, and a process including steps S121 to S125 may be referred to as a third process.

도 6a는 본 발명의 일 실시예에 따른 y성분에 관한 값인 Ary[yc](t)를 산출하는 단계에 대한 순서도이다. 6A is a flowchart of a step of calculating Ary[yc](t), which is a value related to the y component, according to an embodiment of the present invention.

도 6b는 본 발명의 일 실시예에 따른 z성분에 관한 값인 Ary[zc](t)를 산출하는 단계에 대한 순서도이다. 6B is a flowchart of a step of calculating Ary[zc](t), which is a value related to the z component, according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 단계(S10), 단계(S21) 내지 단계(S22), 및 단계(S121) 내지 단계(S122)를 설명하기 위한 도면이다.7 is a diagram for explaining steps S10, steps S21 to S22, and steps S121 to S122 according to an embodiment of the present invention.

도 8a는 본 발명의 일 실시예에 따른 y성분에 관한 값인 Ary[yc](t)를 산출하는 과정을 설명하기 위한 도면이다. 8A is a diagram for explaining a process of calculating Ary[yc](t), which is a value related to a y component, according to an embodiment of the present invention.

도 8b는 본 발명의 일 실시예에 따른 z성분에 관한 값인 Ary[zc](t)를 산출하는 과정을 설명하기 위한 도면이다.8B is a diagram for explaining a process of calculating Ary[zc](t), which is a value related to the z component, according to an embodiment of the present invention.

도 8c는 본 발명의 일 실시예에 따른 X-보정 어레이 Ary[xc]를 나타낸 것이다.8c shows an X-correction array Ary[xc] according to an embodiment of the present invention.

도 8d는 본 발명의 일 실시예에 따른 현재강도어레이를 나타낸 도면이다.8D is a diagram showing a current intensity array according to an embodiment of the present invention.

이하, 도 2 내지 도 8d를 함께 참조하여 설명한다.Hereinafter, it will be described with reference to FIGS. 2 to 8D together.

단계(S10)에서, 사용자 단말기(10)의 처리부(14)가, 현재 시점(t)에서의 지자기센서(11)의 보정전의 X, Y, Z 성분의 자기장 값인 x(t) 값, y(t) 값, 및 z(t) 값을 지자기센서(11)로부터 수신할 수 있다. In step S10, the processing unit 14 of the user terminal 10 determines the x(t) value, which is the magnetic field value of the X, Y, and Z components before correction of the geomagnetic sensor 11 at the current time point t, y( t) value and z(t) value may be received from the geomagnetic sensor 11 .

도 7을 참조하면, 예컨대, 현재 시점(t)이 t1 시점인 경우 t1 시점에서의 지자기센서값은 x(t1), y(t1), z(t1)이고, t2 시점인 경우 t2 시점에서의 지자기센서값은 x(t2), y(t2), z(t2)이고, 그리고 t3 시점인 경우 t3 시점에서의 지자기센서값은 x(t3), y(t3), z(t3) 일 수 있다.Referring to FIG. 7 , for example, if the current time point t is time t1, the geomagnetic sensor values at time t1 are x(t1), y(t1), and z(t1), and if the current time point t2 is time t2, The geomagnetic sensor values are x(t2), y(t2), z(t2), and in the case of time t3, the geomagnetic sensor values at time t3 may be x(t3), y(t3), z(t3) .

단계(S21) 및 단계(S121)에서, 처리부(14)가, 현재 시점(t)에서의 피치값, 및 롤값을 방향센서(12)로부터 수신할 수 있다. In steps S21 and S121, the processing unit 14 may receive the pitch value and the roll value at the current time point t from the direction sensor 12.

도 7을 참조하면, 예컨대, t1 시점에서의 피치값은 피치(t1)(예컨대, 0도)이고, 롤값은 롤(t1)일 수 있다. t2 시점에서의 피치값은 피치(t2)(예컨대, 180도)이고, 롤값은 롤(t2)일 수 있다. 그리고 t3 시점에서의 피치값은 피치(t3)(예컨대, 180도)이고, 롤값은 롤(t3)일 수 있다.Referring to FIG. 7 , for example, the pitch value at the time t1 may be the pitch t1 (eg, 0 degree), and the roll value may be the roll t1. The pitch value at the time point t2 may be the pitch t2 (eg, 180 degrees), and the roll value may be the roll t2. Also, the pitch value at the time t3 may be the pitch t3 (eg, 180 degrees), and the roll value may be the roll t3.

단계(S22)에서, 처리부(14)가, 복수 개의 피치구간들 중 상기 수신한 현재 시점(t)에서의 피치값에 대응하는 제k 피치구간(p_k)(t)를 결정할 수 있다(k=1, 2, 3, 또는 4).In step S22, the processing unit 14 may determine the kth pitch interval p_k(t) corresponding to the received pitch value at the current point in time t among the plurality of pitch intervals (k = 1, 2, 3, or 4).

그리고 단계(S122)에서, 처리부(14)가, 복수 개의 롤구간들 중 상기 수신한 현재 시점(t)에서의 롤값에 대응하는 제m 롤구간(r_m)(t)을 결정할 수 있다(m=1, 2, 3, 또는 4). And in step S122, the processing unit 14 may determine the mth roll section (r_m) (t) corresponding to the received roll value at the current time point (t) among the plurality of roll sections (m = 1, 2, 3, or 4).

예컨대, 상기 복수 개의 피치구간들은 도 3의 (a)와 같이 4개의 구간들일 수 있다. 그리고 상기 복수 개의 피치구간들은 도 3의 (c)와 같이 4개의 구간들일 수 있다. 이를 위해, 단계(S30) 이전에, 처리부(14)가, 피치값의 범위를 미리 결정된 N개(예컨대, N=4)의 구간으로 구분하여 상기 복수 개의 피치구간들을 정의하는 단계, 및 롤값의 범위를 미리 결정된 M개(예컨대, M=4)의 구간으로 구분하여 상기 복수 개의 롤구간들을 정의하는 단계를 더 실행할 수 있다.For example, the plurality of pitch sections may be four sections as shown in FIG. 3 (a). Also, the plurality of pitch sections may be four sections as shown in (c) of FIG. 3 . To this end, prior to step S30, the processing unit 14 divides the range of pitch values into predetermined N sections (eg, N = 4) to define the plurality of pitch sections, and the roll value The step of defining the plurality of roll sections by dividing the range into predetermined M sections (eg, M=4) may be further executed.

도 7을 참조하면, 예컨대, 피치(t1)에 대응하는 제k 피치구간(p_k)(t1)은 제1피치구간(p_1)(t1)이고 롤(t1)에 대응하는 제m 롤구간(r_m)(t1)은 제2롤구간(r_2)(t1)일 수 있다. 예컨대, 피치(t2)에 대응하는 제k 피치구간(p_k)(t2)은 제3피치구간(p_3)(t2)이고 롤(t2)에 대응하는 제m 롤구간(r_m)(t2)은 제2롤구간(r_2)(t2)일 수 있다. 예컨대, 피치(t3)에 대응하는 제k 피치구간(p_k)(t3)은 제3피치구간(p_3)(t3)이고 롤(t3)에 대응하는 제m 롤구간(r_m)(t3)은 제2롤구간(r_2)(t3)일 수 있다. Referring to FIG. 7, for example, the k th pitch section (p_k) (t1) corresponding to the pitch (t1) is the first pitch section (p_1) (t1) and the m th roll section (r_m) corresponding to the roll (t1) ) (t1) may be the second roll section (r_2) (t1). For example, the k th pitch section (p_k) (t2) corresponding to the pitch (t2) is the third pitch section (p_3) (t2) and the m th roll section (r_m) (t2) corresponding to the roll (t2) is the third pitch section (p_3) (t2). It may be a 2-roll section (r_2) (t2). For example, the k-th pitch section (p_k) (t3) corresponding to the pitch (t3) is the third pitch section (p_3) (t3), and the m-th roll section (r_m) (t3) corresponding to the roll (t3) is the third pitch section (p_3) (t3). It may be a 2-roll section (r_2) (t3).

본 명세서에서 제k 피치구간(p_k)에 대응하는 Y-어레이는 제k Y-어레이(Ary[y]_k)라고 표기할 수 있고, 제m 롤구간(r_m)에 대응하는 Z-어레이는 제m Z-어레이(Ary[z]_m)라고 표기할 수 있다.In this specification, the Y-array corresponding to the kth pitch section (p_k) can be denoted as the kth Y-array (Ary[y]_k), and the Z-array corresponding to the mth roll section (r_m) is It can be expressed as m Z-array (Ary[z]_m).

단계(S23)에서, 처리부(14)가, 상기 시점(t)에서, 상기 결정된 제k 피치구간(p_k)(t)에 대응하는 제k Y-어레이(Ary[y]_k)에 상기 검출된 y(t)값을 저장할 수 있다. 이를 위해서, 처리부(14)가, 시점(t)에서, 상기 결정된 제k 피치구간(p_k)(t)에 대응하는 제k Y-어레이(Ary[y]_k)를 선택할 수 있다. 그리고 처리부(14)는, 보정전의 Y 성분의 자기장 값인 y(t) 값을 상기 시점(t)에서 선택된 제k Y-어레이(Ary[y]_k)에 저장할 수 있다.In step S23, the processing unit 14, at the time point t, displays the detected information in the kth Y-array Ary[y]_k corresponding to the determined kth pitch interval p_k(t). You can store the y(t) value. To this end, the processing unit 14 may select the kth Y-array Ary[y]_k corresponding to the determined kth pitch section p_k(t) at time point t. Further, the processing unit 14 may store the y(t) value, which is the magnetic field value of the Y component before correction, in the kth Y-array Ary[y]_k selected at the point in time t.

그리고 단계(S123)에서, 처리부(14)가, 상기 시점(t)에서, 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 상기 검출된 z(t)값을 저장할 수 있다. 이를 위해서, 처리부(14)가, 시점(t)에서, 상기 결정된 제k 롤구간(r_k)(t)에 대응하는 제k Z-어레이(Ary[z]_k)를 선택할 수 있다. 그리고 처리부(14)는 보정전의 Z 성분의 자기장 값인 z(t) 값을 상기 시점(t)에서 선택된 제m Z-어레이(Ary[z]_m)에 저장할 수 있다. And in step S123, the processing unit 14 detects the detection on the m-th Z-array (Ary[z]_m) corresponding to the determined m-th roll section (r_m) (t) at the time point (t). The value of z(t) can be stored. To this end, the processing unit 14 may select the k th Z-array Ary[z]_k corresponding to the determined k th roll section r_k(t) at time point t. Further, the processing unit 14 may store the value of z(t), which is the magnetic field value of the Z component before correction, in the m-th Z-array Ary[z]_m selected at the time point t.

이때, 상기 시점(t)에 측정된 피치가 상기 제k 피치구간(p_k)에 속한 것을 전제로 하고, 상기 시점(t)에 측정된 롤이 상기 제m 롤구간(r_m)에 속한 것을 전제로 한다.At this time, it is assumed that the pitch measured at the time point t belongs to the kth pitch section p_k, and the roll measured at the time point t belongs to the mth roll section r_m do.

도 8a는 시점(t)에 측정된 보정전의 Y 성분의 자기장 값인 y(t) 값이 저장되는 저장공간을 나타낸 것이다. 상기 저장은 매 측정 순간마다 이루어질 수 있다. 이 저장공간은 제1 Y-어레이(Ary[y]_1), 제2 Y-어레이(Ary[y]_2), 제3 Y-어레이(Ary[y]_3), 및 제4 Y-어레이(Ary[y]_4)로 구성될 수 있다. 특정 시점(t)에 측정된 y(t) 값은 상기 4개의 Y-어레이들(Ary[y]) 중 어느 하나에만 저장된다. 상기 시점(t)에 측정된 피치의 값에 따라 저장될 어레이가 결정된다.8A shows a storage space in which the y(t) value, which is the magnetic field value of the Y component before correction measured at time point t, is stored. The storage may be performed at every measurement moment. This storage space includes the first Y-array (Ary[y]_1), the second Y-array (Ary[y]_2), the third Y-array (Ary[y]_3), and the fourth Y-array ( Ary[y]_4). A value of y(t) measured at a specific point in time t is stored in only one of the four Y-arrays Ary[y]. The array to be stored is determined according to the value of the pitch measured at the time point t.

도 8b는 시점(t)에 측정된 보정전의 Z 성분의 자기장 값인 z(t) 값이 저장되는 저장공간을 나타낸 것이다. 상기 저장은 매 측정 순간마다 이루어질 수 있다. 이 저장공간은 제1 Z-어레이(Ary[z]_1), 제2 Z-어레이(Ary[z]_2), 제3 Z-어레이(Ary[z]_3), 및 제4 Z-어레이(Ary[z]_4)로 구성될 수 있다. 특정 시점(t)에 측정된 z(t) 값은 상기 4개의 Z-어레이들(Ary[z]) 중 어느 하나에만 저장된다. 상기 시점(t)에 측정된 롤의 값에 따라 저장될 어레이가 결정된다.8B shows a storage space in which z(t) values, which are magnetic field values of the Z component before correction measured at time point t, are stored. The storage may be performed at every measurement moment. This storage space includes a first Z-array (Ary[z]_1), a second Z-array (Ary[z]_2), a third Z-array (Ary[z]_3), and a fourth Z-array ( Ary[z]_4). A z(t) value measured at a specific time point t is stored in only one of the four Z-arrays Ary[z]. The array to be stored is determined according to the value of the roll measured at the time point t.

도 7 및 도 8a를 함께 참조하면, 예컨대, 현재 시점(t)이 t=t3 시점인 경우, 측정된 패치는 제3피치구간(p_3)에 속한다. 따라서, 시점(t3)에 측정된 y(t3)는 제3피치구간(p_3)에 대응하는 Y-어레이(Ary[y]_3) 마지막 열(C10)에 저장될 수 있다. 본 실시예에서 각 어레이는 10개의 열(C1~C10)로 구성된 것으로 예를 들었지만 이에 한정되지 않는다. 각 어레이는 처음에는 빈 열이며, 시점이 바뀔 때마다 해당 값이 차례대로 채워질 수 있다. Referring to FIGS. 7 and 8A together, for example, when the current time point t is the time point t=t3, the measured patch belongs to the third pitch section p_3. Accordingly, y(t3) measured at the time point t3 may be stored in the last column C10 of the Y-array Ary[y]_3 corresponding to the third pitch section p_3. In this embodiment, each array is exemplified as being composed of 10 columns (C1 to C10), but is not limited thereto. Each array is initially an empty column, and each time the viewpoint changes, the corresponding value can be filled in turn.

일 구현예에서, 각 어레이에 값을 채우기 위해 각 어레이마다 포인터를 하나씩 생성할 수 있다. 각 어레이에 해당 값(x(t), y(t), z(t) 등)을 저장해야 할 경우 해당 어레이의 포인터가 가리키는 공간에 저장을 하고, 저장을 한 이후에는 포인터 값을 증가(감소)시킬 수 있다. 그 다음에 또 상기 저장한 어레이와 동일한 어레이에 저장할 경우에는 증가된 포인터가 가리키는 위치에 저장할 수 있다. 이때, 포인터의 값은 cyclic 방식으로 증가(감소)할 수 있다. 이때, 각 어레이의 평균은 해당 어레이에 저장된 모든 값의 평균일 수 있다. 만약, 저장된 값이 없는 경우 평균값은 미리 지정된 값으로 할 수 있다. In one implementation, one pointer can be created for each array to populate each array with values. If you need to store the value (x(t), y(t), z(t), etc.) in each array, store it in the space pointed to by the pointer of the array, and increase (decrement) the value of the pointer after saving. ) can be made. Then, when storing in the same array as the previously stored array, it can be stored at the location indicated by the increased pointer. At this time, the value of the pointer may increase (decrease) in a cyclic manner. In this case, the average of each array may be the average of all values stored in the corresponding array. If there is no stored value, the average value may be a pre-specified value.

예컨대, 도 8b를 참조하면, 현재 시점이 t=t1에서, Ary[z]_2의 포인터는 C8열을 가리키고 있을 수 있다. 따라서, t1시점에서 z(t1)값은 C8열에 저장되고, 포인터의 값은 1 증가한 C9열을 가리킬 수 있다. 또한, 현재 시점이 t=t2에서, Ary[z]_2의 포인터는 C9열을 가리키므로 z(t2)값은 C9열에 저장되고, 포인터의 값은 1 증가한 C10열을 가리킬 수 있다.For example, referring to FIG. 8B , when the current time point is t=t1, the pointer of Ary[z]_2 may point to column C8. Therefore, at time t1, the value of z(t1) is stored in column C8, and the value of the pointer can point to column C9, which is increased by 1. Also, at the current point in time t=t2, the pointer of Ary[z]_2 points to column C9, so the z(t2) value is stored in column C9, and the pointer value can point to column C10, which is increased by 1.

다른 구현예에서, 10번째 열(C10)까지 값이 채워진 상태에서, 11번째 값은 10번째 열(C10)에 입력되고, 기존의 10번째 열(C10)의 값은 9번째 열(C9)에 입력되는 것과 같이 값이 밀리는 방식으로 각 열의 값이 갱신될 수 있다. 즉, FIFO(first in first out) 방식으로 어레이의 값이 갱신될 수 있다. In another embodiment, with the values filled up to the 10th column (C10), the 11th value is entered in the 10th column (C10), and the existing value of the 10th column (C10) is entered in the 9th column (C9). The value of each column can be updated in such a way that the value is pushed as it is entered. That is, the value of the array may be updated in a first in first out (FIFO) manner.

예컨대, 도 8a를 참조하면, 제1 Y-어레이(Ary[y]_1)를 살펴보면, 시점(t1)에 y(t1) 값이 제1 Y-어레이(Ary[y]_1)에 채워진 이후로 더 이상 제1 Y-어레이(Ary[y]_1)가 갱신되지 않은 상태임을 알 수 있다. Y-어레이(Ary[y]_3)를 살펴보면, 시점(t2)에 C10열에 y(t2) 값이 저장되었으나, 시점이 바뀌어 시점(t3)이 되었을 때, 제3 Y-어레이(Ary[y]_3)에 y(t3) 값이 저장되어야 하므로, y(t2) 값은 C9열로 밀려 갱신되어 저장되고, C10열에 y(t3) 값이 저장되었음을 알 수 있다. For example, referring to FIG. 8A , looking at the first Y-array Ary[y]_1, after the y(t1) value is filled in the first Y-array Ary[y]_1 at the time point t1 It can be seen that the first Y-array Ary[y]_1 is not updated any more. Looking at the Y-array (Ary[y]_3), the value y(t2) is stored in column C10 at time point t2, but when the time point changes and becomes time point t3, the third Y-array (Ary[y] Since the value of y(t3) should be stored in _3), the value of y(t2) is moved to column C9 and updated and stored, and it can be seen that the value of y(t3) is stored in column C10.

이외에도 각 어레이의 값들의 갱신은 다양한 방법들에 의해 이루어질 수 있다.In addition, updating of values of each array may be performed by various methods.

단계(S24)에서, 처리부(14)가 상기 시점(t)에서, 상기 시점(t)에서 선택된 제k Y-어레이(Ary[y]_k)의 대푯값인 베이스(Reg[y]_k(t))를 계산할 수 있다. 도 8a를 참조하면 예컨대, 제3 Y-어레이(Ary[y]_3)의 대푯값인 'Av[y]_3(t3)'(= 베이스(Reg[y]_k(t), 이때, k=3, t=t3)은 제3 Y-레지스터(Reg[y]_3)에 저장될 수 있다. 이때, 예컨대 도 8a에 제시한 화살표는 시점(t3)에 제3 Y-어레이(Ary[y]_3)에 속한 값들의 대푯값 Av[y]_3(t3)를 상기 제3 Y-레지스터(Reg[y]_3)에 저장한 것을 나타낸다. In step S24, the processing unit 14 determines, at the time point t, the base Reg[y]_k(t), which is the representative value of the kth Y-array Ary[y]_k selected at the time point t. ) can be calculated. Referring to FIG. 8A, for example, 'Av[y]_3(t3)' (= base (Reg[y]_k(t), k = 3), which is a representative value of the third Y-array (Ary[y]_3) , t=t3) may be stored in the third Y-register (Reg[y]_3) At this time, for example, the arrow shown in FIG. 8A indicates that the third Y-array (Ary[y]_3 ) indicates that the representative value Av[y]_3(t3) of the values belonging to is stored in the third Y-register (Reg[y]_3).

그리고 단계(S124)에서, 처리부(14)가, 상기 시점(t)에서 선택된 제m Z-어레이(Ary[z]_m)의 대푯값인 베이스(Reg[z]_m(t))를 계산할 수 있다. 도 8b를 참조하면 예컨대, 제2 Z-어레이(Ary[z]_2)의 대푯값인 'Av[z]_2(t3)'(=Reg[z]_m(t), 이때, m=2, t=t3)은 제2 Z-레지스터(Reg[z]_2)에 저장될 수 있다. 이때, 예컨대, 도 8b에 제시한 화살표는 시점(t3)에 제2 Z-어레이(Ary[z]_2)에 속한 값들의 대푯값 Av[z]_2(t3)를 상기 제2 Z-레지스터(Reg[z]_2)에 저장한 것을 나타낸다. In step S124, the processor 14 may calculate the base Reg[z]_m(t), which is a representative value of the m-th Z-array Ary[z]_m selected at the time point t. . Referring to FIG. 8B, for example, 'Av[z]_2(t3)' (= Reg[z]_m(t), which is a representative value of the second Z-array (Ary[z]_2), at this time, m=2, t = t3) may be stored in the second Z-register (Reg[z]_2). At this time, for example, the arrow shown in FIG. 8B indicates the representative value Av[z]_2(t3) of the values belonging to the second Z-array (Ary[z]_2) at the time point t3 in the second Z-register (Reg [z]_2).

상술한 본 발명의 실시예에 따르면, 매 측정시점마다, 이미 측정되어 저장되어 있는 자기장의 보정전 Y 값들의 대푯값을 산출한다. 이때, 측정되어 저장되어 있는 모든 보정전 Y 값들의 대푯값을 산출하는 것이 아니라, 해당 측정시점에서 측정된 피치구간에 대응하는 Y-어레이에 속한 보정전 Y 값들만을 대상으로 하여 대푯값을 산출한다.According to the above-described embodiment of the present invention, at every measurement point, representative values of pre-correction Y values of the already measured and stored magnetic fields are calculated. At this time, instead of calculating representative values of all measured and stored Y values before correction, representative values are calculated targeting only Y values before correction belonging to the Y-array corresponding to the pitch section measured at the measurement time.

마찬가지로, 상술한 본 발명의 실시예에 따르면, 매 측정시점마다, 이미 측정되어 저장되어 있는 자기장의 보정전 Z 값들의 대푯값을 산출한다. 이때, 측정되어 저장되어 있는 모든 보정전 Z 값들의 대푯값을 산출하는 것이 아니라, 해당 측정시점에서 측정된 피치구간에 대응하는 Z-어레이에 속한 보정전 Z 값들만을 대상으로 하여 대푯값을 산출한다.Similarly, according to the above-described embodiment of the present invention, at every measurement point, a representative value of pre-correction Z values of a magnetic field that has already been measured and stored is calculated. At this time, instead of calculating representative values of all measured and stored pre-correction Z values, representative values are calculated for only pre-correction Z values belonging to the Z-array corresponding to the pitch section measured at the measurement time.

이와 같이 매 측정시점마다, 자기장의 보정전 Y 값에 관한 대푯값, 그리고 보정전 Z 값에 관한 대푯값이 저장된다. In this way, at each measurement point, a representative value of the Y value before correction of the magnetic field and a representative value of the Z value before correction of the magnetic field are stored.

단계(S25)에서, 처리부(14)가, y(t)-Reg[y]_k(t)) 값을 상기 Ary[yc](t) 로 결정할 수 있다. 즉, 처리부(14)가, 상기 Y-보정 어레이(Ary[yc])의 시점(t)에 대응하는 저장공간에, 시점(t)에서 측정된 자기장의 보정전 Y 값인 y(t)로부터 상기 시점(t)에서 계산된 상기 베이스(Reg[y]_k(t))를 뺀 값을 저장할 수 있다. In step S25, the processing unit 14 may determine the value of y(t)-Reg[y]_k(t)) as the Ary[yc](t). That is, the processing unit 14, in the storage space corresponding to the time point t of the Y-correction array Ary[yc], from y(t), which is the Y value before correction of the magnetic field measured at time point t, A value obtained by subtracting the base Reg[y]_k(t) calculated at time point t may be stored.

그리고 단계(S125)에서, 처리부(14)가, z(t)-Reg[z]_m(t)) 값을 상기 Ary[zc](t) 로 결정할 수 있다. 즉, 처리부(14)가, 상기 Z-보정 어레이(Ary[zc])의 시점(t)에 대응하는 저장공간에, 시점(t)에서 측정된 자기장의 보정전 Z 값인 z(t)로부터 상기 시점(t)에서 계산된 상기 베이스(Reg[z]_k(t))를 뺀 값을 저장할 수 있다.In step S125, the processing unit 14 may determine the value of z(t)-Reg[z]_m(t)) as the Ary[zc](t). That is, the processing unit 14, in the storage space corresponding to the time point t of the Z-correction array Ary[zc], calculates the value of the magnetic field before correction z(t) measured at the time point t. A value obtained by subtracting the base Reg[z]_k(t) calculated at time point t may be stored.

이때, 상기 Y-보정 어레이(Ary[yc])가 10개의 열로 이루어진 경우를 가정해 볼 수 있다. At this time, it can be assumed that the Y-correction array Ary[yc] consists of 10 columns.

이때, 상기 Y-보정 어레이(Ary[yc])의 C10 열에는 t=t3 시점에서의 값(Ary[yc](t3))이 저장될 수 있다. 이때, 상기 값(Ary[yc](t3))은, 시점(t3)에서 측정된 y(t3)에서 시점(t3)에서 계산된 상기 베이스(Reg[y]_k(t3))를 뺀 값일 수 있다. 이때, 시점(t3)에서 y(t3) 값은 제3 Y-어레이(Ary[y]_3)의 C10 열에 저장되어 있으며, 상기 과거 평균값은 시점(t3)에서 제3 Y-어레이(Ary[y]_3)에 속한 값들의 평균값일 수 있다. In this case, the value at the point of time t=t3 (Ary[yc](t3)) may be stored in column C10 of the Y-correction array (Ary[yc]). In this case, the value Ary[yc](t3) may be a value obtained by subtracting the base Reg[y]_k(t3) calculated at time point t3 from y(t3) measured at time point t3. there is. At this time, the y(t3) value at time point t3 is stored in column C10 of the third Y-array (Ary[y]_3), and the past average value is stored in the third Y-array (Ary[y]_3) at time point t3. ]_3).

그리고 상기 Y-보정 어레이(Ary[yc])의 C9열에는 t=t3의 직전 시점인 t=t2 시점에서의 값(Ary[yc](t2))이 저장될 수 있다. 이때, 상기 값(Ary[yc](t2))은, 시점(t2)에서 측정된 y(t2)에서 시점(t2)에서 계산된 상기 베이스(Reg[y]_k(t2))를 뺀 값일 수 있다. 이때, 시점(t2)에서 y(t2) 값은 제3 Y-어레이(Ary[y]_3)의 C9 열에 저장되어 있으며, 상기 과거 평균값은 시점(t2)에서 제3 Y-어레이(Ary[y]_3)에 속한 값들의 평균값일 수 있다. In column C9 of the Y-correction array Ary[yc], a value (Ary[yc](t2)) at a point in time t=t2, which is a point immediately before t=t3, may be stored. In this case, the value Ary[yc](t2) may be a value obtained by subtracting the base Reg[y]_k(t2) calculated at time point t2 from y(t2) measured at time point t2. there is. At this time, the y(t2) value at time point t2 is stored in column C9 of the third Y-array (Ary[y]_3), and the past average value is stored in the third Y-array (Ary[y]_3) at time point t2. ]_3).

그리고 상기 Y-보정 어레이(Ary[yc])의 C8열에는 t=t2의 직전 시점인 t=t1 시점에서의 값(Ary[yc](t1))이 저장될 수 있다. 이때, 상기 값(Ary[yc](t1))은, 시점(t1)에서 측정된 y(t1)에서 시점(t1)에서 계산된 상기 베이스(Reg[y]_k(t1))를 뺀 값일 수 있다. 이때, 시점(t1)에서 y(t1) 값은 제1 Y-어레이(Ary[y]_1)의 C10 열에 저장되어 있으며, 상기 과거 평균값은 시점(t1)에서 제1 Y-어레이(Ary[y]_1)에 속한 값들의 평균값일 수 있다. In column C8 of the Y-correction array (Ary[yc]), a value (Ary[yc](t1)) at a point in time t=t1, immediately before t=t2, may be stored. In this case, the value Ary[yc](t1) may be a value obtained by subtracting the base Reg[y]_k(t1) calculated at time point t1 from y(t1) measured at time point t1. there is. At this time, the y(t1) value at time point t1 is stored in column C10 of the first Y-array (Ary[y]_1), and the past average value is the first Y-array (Ary[y]_1) at time point t1. ]_1).

마찬가지로, 상기 Z-보정 어레이(Ary[zc])가 10개의 열로 이루어진 경우를 가정해 볼 수 있다. Similarly, it can be assumed that the Z-correction array Ary[zc] consists of 10 columns.

이때, 상기 Z-보정 어레이(Ary[zc])의 C10열에는 t=t3에서의 값(Ary[zc](t3))이 저장될 수 있다. 이때, 상기 값(Ary[zc](t3))는, 시점(t3)에서 측정된 z(t3)에서 시점(t3)에서 계산된 상기 베이스(Reg[z]_m(t3))를 뺀 값일 수 있다. 이때, 시점(t3)에서 z(t3) 값은 제2 Z-어레이(Ary[z]_2)의 C10에 저장되어 있으며, 상기 과거 평균값은 시점(t2)에서 제2 Z-어레이(Ary[z]_2)에 속한 값들의 평균값일 수 있다. At this time, the value at t=t3 (Ary[zc](t3)) may be stored in column C10 of the Z-correction array (Ary[zc]). In this case, the value Ary[zc](t3) may be a value obtained by subtracting the base Reg[z]_m(t3) calculated at time point t3 from z(t3) measured at time point t3. there is. At this time, the z(t3) value at time point t3 is stored in C10 of the second Z-array (Ary[z]_2), and the past average value is the second Z-array (Ary[z]_2) at time point t2. ]_2).

그리고 상기 Z-보정 어레이(Ary[zc])의 C9열에는 t=t3의 직전 시점인 t=t2 시점에서의 값(Ary[zc](t2))이 저장될 수 있다. 이때, 상기 값(Ary[zc](t2))는, 시점(t2)에서 측정된 z(t2)에서 시점(t2)에서 계산된 상기 베이스(Reg[z]_m(t2))를 뺀 값일 수 있다. 이때, 시점(t2)에서 z(t2) 값은 제2 Z-어레이(Ary[z]_2)의 C9에 저장되어 있으며, 상기 과거 평균값은 시점(t2)에서 제2 Z-어레이(Ary[z]_2)에 속한 값들의 평균값일 수 있다. In column C9 of the Z-correction array (Ary[zc]), a value (Ary[zc](t2)) at a point in time t=t2, immediately before t=t3, may be stored. In this case, the value Ary[zc](t2) may be a value obtained by subtracting the base Reg[z]_m(t2) calculated at time point t2 from z(t2) measured at time point t2. there is. At this time, the z(t2) value at time point t2 is stored in C9 of the second Z-array (Ary[z]_2), and the past average value is the second Z-array (Ary[z]_2) at time point t2. ]_2).

그리고 상기 Z-보정 어레이(Ary[zc])의 C8열에는 t=t2의 직전 시점인 t=t1 시점에서의 값(Ary[zc](t1))이 저장될 수 있다. 이때, 상기 값(Ary[zc](t1))은, 시점(t1)에서 측정된 z(t1)에서 시점(t1)에서 계산된 상기 베이스(Reg[z]_m(t1))를 뺀 값일 수 있다. 이때, 시점(t1)에서 z(t1) 값은 제2 Z-어레이(Ary[z]_2)의 C8열에 저장되어 있으며, 상기 과거 평균값은 시점(t1)에서 제2 Z-어레이(Ary[z]_2)에 속한 값들의 평균값일 수 있다. In column C8 of the Z-correction array (Ary[zc]), a value (Ary[zc](t1)) at a point in time t=t1, which is a point immediately before t=t2, may be stored. In this case, the value Ary[zc](t1) may be a value obtained by subtracting the base Reg[z]_m(t1) calculated at time point t1 from z(t1) measured at time point t1. there is. At this time, the z(t1) value at time point t1 is stored in column C8 of the second Z-array (Ary[z]_2), and the past average value is stored in the second Z-array (Ary[z]_2) at time point t1. ]_2).

도 8c를 참조하면, X-보정 어레이(Ary[xc])의 C10열에는 t=t3시점에서 측정된 x(t3)가 저장되고, C9열에는 t=t2시점에서 측정된 x(t2)가 저장되고, 그리고 C8열에는 t=t1시점에서 측정된 x(t1)이 저장될 수 있다. 상술한 바와 같이 다른 실시예에서는 소정의 알고리즘에 따라 보정된 값들이 X-보정 어레이(Ary[xc])의 각 열에 저장될 수도 있다. Referring to FIG. 8C, column C10 of the X-correction array (Ary[xc]) stores x(t3) measured at time t=t3, and column C9 stores x(t2) measured at time t=t2. stored, and x(t1) measured at the point of time t=t1 may be stored in column C8. As described above, in another embodiment, values corrected according to a predetermined algorithm may be stored in each column of the X-correction array Ary[xc].

도 5 및 도 8d를 함께 참조하면, 단계(S30)에서, 처리부(14)가, root(Ary[xc](t)^2+Ary[yc](t)^2+Ary[zc](t)^2)를 상기 시점(t)에서의 상기 지자기센서 강도값(I(t))으로 결정할 수 있다. 그리고 처리부(14)가, 상기 시점(t)의 상기 지자기센서 강도값(I(t))을 현재강도어레이(Ary[c])에 저장할 수 있다. 예컨대, 현재강도어레이(Ary[c])는 10개의 열을 가질 수 있다. 현재 시점(t)이 t3 시점이라고 할 때, I(t3)=root(Ary[xc](t3)^2+Ary[yc](t3)^2+Ary[zc](t3)^2) 값이 현재의 지자기센서 강도값(즉, 자기장 세기값)이 될 수 있다. 5 and 8d together, in step S30, the processing unit 14, root(Ary[xc](t)^2+Ary[yc](t)^2+Ary[zc](t )^2) may be determined as the geomagnetic sensor intensity value I(t) at the time point t. Further, the processing unit 14 may store the geomagnetic sensor intensity value I(t) at the time point t in the current intensity array Ary[c]. For example, the current intensity array Ary[c] may have 10 columns. Assuming that the current point in time (t) is the point in time t3, I(t3)=root(Ary[xc](t3)^2+Ary[yc](t3)^2+Ary[zc](t3)^2) value This current geomagnetic sensor intensity value (ie, magnetic field intensity value) may be.

도 9는 본 발명의 일 실시예에 따른 사용자 단말기와 역사 블루투스 송수신기의 관계를 설명하기 위한 도면이다.9 is a diagram for explaining the relationship between a user terminal and a stationary Bluetooth transceiver according to an embodiment of the present invention.

상술한 단계(S10) 내지 단계(S30)를 실행하기 이전에, 사용자 단말기(10)는 역사 블루투스 송수신기(20)로부터 블루투스 신호를 수신할 수 있다.Before executing the above-described steps S10 to S30, the user terminal 10 may receive a Bluetooth signal from the stationary Bluetooth transceiver 20.

사용자 단말기(10)가 상기 블루투스 신호를 수신하면, 사용자(구체적으로는 사용자 단말기)가 특정구역(예컨대, 역사 또는 고속도로 톨게이트 등)에 진입했는지의 여부를 판단할 수 있다. When the user terminal 10 receives the Bluetooth signal, it can determine whether the user (specifically, the user terminal) has entered a specific area (eg, a station or a highway toll gate).

이때, 사용자 단말기(10)는 자체보정된 지자기 센서값(이하에서는 상기 지자기센서의 보정완료값)을 이용하여 지자기 센서 강도값을 계산할지, 아니면 상술한 단계(S10) 내지 단계(S30)의 방법으로 지자기 센서 강도값을 계산할지 결정할 수 있다. At this time, the user terminal 10 determines whether to calculate the geomagnetic sensor intensity value using the self-calibrated geomagnetic sensor value (hereinafter, the calibrated value of the geomagnetic sensor), or the method of the above-described steps S10 to S30. It is possible to determine whether to calculate the geomagnetic sensor intensity value.

도 10은 본 발명의 일 실시예에 따라 사용자 단말기를 소지한 사용자가 특정구역에 진입했는지 여부를 판단하는 순서도를 나타낸 것이다.10 is a flow chart for determining whether a user carrying a user terminal has entered a specific area according to an embodiment of the present invention.

단계(S200)에서, 사용자 단말기(10)의 통신부(15)가, 블루투스 신호를 수신할 수 있다. In step S200, the communication unit 15 of the user terminal 10 may receive a Bluetooth signal.

단계(S210)에서, 처리부(14)가, 지자기센서(11)의 정확도가 하이값(HIGH)을 갖는지 또는 로우값(LOW)을 갖는지 판단할 수 있다. 이때, 상기 정확도가 하이값을 갖는 경우 단계(S310)가 실행될 수 있고, 상기 정확도가 로우값을 갖는 경우 단계(S220)가 실행될 수 있다.In step S210, the processing unit 14 may determine whether the accuracy of the geomagnetic sensor 11 has a high value (HIGH) or a low value (LOW). At this time, when the accuracy has a high value, step S310 may be executed, and when the accuracy has a low value, step S220 may be executed.

단계(S220)에서, 처리부(14)가, 지자기센서(11)의 정확도가 로우값을 갖는 것으로 판단한 경우, 지자기센서(11)의 측정값이 미리 결정된 값(예컨대, uT 단위)보다 큰지 여부를 판단할 수 있다. 이때, 상기 측정값이 미리 결정된 값보다 작은 경우 단계(S310)가 실행될 수 있고, 상기 측정값이 미리 결정된 값보다 큰 경우 단계(S230)가 실행될 수 있다.In step S220, if the processing unit 14 determines that the accuracy of the geomagnetic sensor 11 has a low value, whether the measured value of the geomagnetic sensor 11 is greater than a predetermined value (eg, uT unit) is determined. can judge At this time, when the measured value is smaller than the predetermined value, step (S310) may be executed, and when the measured value is greater than the predetermined value, step (S230) may be executed.

단계(S230)에서, 처리부(14)가, 기준값을 현재 시점(t, 예컨대, t3)의 지자기센서 강도값(I(t), 예컨대, I(t3))으로 갱신할 수 있다. 이를 위하여 상기 현재 시점(t, 예컨대, t3)의 지자기센서 강도값(I(t), 예컨대, I(t3))을 계산하기 위한 제1프로세스( 그리고 제2프로세스, 제3프로세스)가 실행될 수 있다. 이때, 단계(S230)을 실행하는 명령코드를 제4명령코드라고 지칭할 수 있다. In step S230, the processing unit 14 may update the reference value to the geomagnetic sensor intensity value I(t), eg I(t3) at the current point in time t (eg, t3). To this end, a first process (and a second process and a third process) for calculating the geomagnetic sensor intensity value (I(t), eg, I(t3)) at the current point in time t (eg, t3) may be executed. there is. At this time, the command code for executing step S230 may be referred to as a fourth command code.

이후, 처리부(14)가 다시 t4 시점에서의 상기 제1프로세스( 그리고 제2프로세스, 제3프로세스)를 실행할 수 있다.Thereafter, the processing unit 14 may execute the first process (and the second process and the third process) at the time point t4 again.

단계(S240)에서, 처리부(14)가, 상기 기준값 대비 현재 시점(t, 예컨대, t4)의 지자기센서 강도값의 변화율이 상기 기준값과 같거나 큰지 판단할 수 있다.In step S240, the processing unit 14 may determine whether the change rate of the geomagnetic sensor intensity value at the current point in time t (eg, t4) with respect to the reference value is equal to or greater than the reference value.

단계(S250)에서, 처리부(14)가, 상기 기준값 대비 현재 시점(t, 예컨대, t4)의 지자기센서 강도값의 변화율이 상기 기준값과 같거나 큰 것으로 판단한 경우, 사용자 단말기(10)가 특정구역을 진입한 것으로 판단할 수 있다. 즉, 단계(S250)에서, 현재 시점(t4)의 지자기센서 강도값(I(t4))이 기준값(I(t3))보다 소정의 정도 이상으로 상승하면 자기장이 임계값 이상 강해졌다고 판단하여, 사용자 단말기(10)가 특정구역을 진입한 것으로 판단할 수 있다. 이때, 단계(S250)를 실행하는 명령코드를 제5명령코드라고 지칭할 수 있다.In step S250, when the processing unit 14 determines that the change rate of the geomagnetic sensor intensity value at the current point in time (t, for example, t4) compared to the reference value is equal to or greater than the reference value, the user terminal 10 determines that the specific area can be judged to have entered. That is, in step S250, if the geomagnetic sensor intensity value (I(t4)) at the current time point (t4) rises by more than a predetermined level than the reference value (I(t3)), it is determined that the magnetic field has become stronger than the threshold value, It may be determined that the user terminal 10 has entered a specific area. At this time, the command code for executing step S250 may be referred to as a fifth command code.

만약, 상기 변화율이 상기 기준값보다 작은 경우 단계(S260)가 실행될 수 있다.If the rate of change is smaller than the reference value, step S260 may be executed.

단계(S260)에서, 처리부(14)가, 상기 제1프로세스의 시작 시점으로부터 흐른 시간이 미리 결정된 기준값 설정시간(예컨대, 2초)과 같거나 초과했는지 판단할 수 있다. 이때, 처리부(14)가 상기 제1프로세스의 시작 시점으로부터 흐른 시간이 미리 결정된 기준값 설정시간(예컨대, 2초)과 같거나 초과한 것으로 판단한 경우 단계(S210)가 실행되고, 작은 것으로 판단한 경우 상기 제1프로세스 및 단계(S240)가 실행될 수 있다. 즉, 상기 제1프로세스는 상기 제1프로세스의 실행 시작 시점(t3)부터 기준값 재설정시간 (예컨대, t3 시점으로부터 2초) 이전까지 반복 수행될 수 있다. In step S260, the processing unit 14 may determine whether the time elapsed from the start of the first process equals or exceeds a predetermined reference value setting time (eg, 2 seconds). At this time, when the processing unit 14 determines that the time elapsed from the start of the first process is equal to or exceeds a predetermined reference value setting time (eg, 2 seconds), step S210 is executed, and when it is determined that it is smaller than the A first process and step S240 may be executed. That is, the first process may be repeatedly performed from the execution start time of the first process (t3) to before the reference value resetting time (eg, 2 seconds from the time t3).

단계(S210) 또는 단계(S220)에서 단계(S310)으로 넘어가는 경우, 기준값은 지자기센서의 보정완료값으로 갱신될 수 있다. 상기 지자기센서의 보정완료값은 상기 제1프로세스를 실행하여 얻은 값이 아닌 사용자 단말기(10)에서 자체 제공하는 기본적인 프로그램에 의해 얻은 값(보정된 x, y, z 값)일 수 있다. When going from step S210 or step S220 to step S310, the reference value may be updated to a calibrated value of the geomagnetic sensor. The calibrated value of the geomagnetic sensor may be a value obtained by a basic program provided by the user terminal 10 (corrected x, y, z values) rather than a value obtained by executing the first process.

이후, 단계(S320) 및 단계(S250), 또는 단계(S320) 및 단계(S330)가 실행될 수 있다.Thereafter, steps S320 and S250, or steps S320 and S330 may be executed.

단계(S320), 단계(S330)는 각각 단계(S240), 단계(S260)과 동일하나, 기준값과 보정완료값에만 차이가 있다. Steps S320 and S330 are the same as steps S240 and S260, respectively, but there is a difference only in the reference value and the corrected value.

상술한 단계(S200) 내지 단계(S260), 및 단계(S310) 내지 단계(S330)를 실행하는 명령코드를 제6명령코드라고 지칭할 수 있다.Command codes for executing the above-described steps S200 to S260 and steps S310 to S330 may be referred to as a sixth command code.

상술한 본 발명의 실시예들을 이용하여, 본 발명의 기술 분야에 속하는 자들은 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에 다양한 변경 및 수정을 용이하게 실시할 수 있을 것이다. 특허청구범위의 각 청구항의 내용은 본 명세서를 통해 이해할 수 있는 범위 내에서 인용관계가 없는 다른 청구항에 결합될 수 있다.Using the above-described embodiments of the present invention, those belonging to the technical field of the present invention will be able to easily implement various changes and modifications without departing from the essential characteristics of the present invention. The content of each claim of the claims may be combined with other claims without reference relationship within the scope understandable through this specification.

Claims (13)

단말기가, 상기 단말기에 포함된 지자기센서가 주어진 시점(t)에서 검출한 자기장의 x성분(x(t))을 기초로 보정된 값(Ary[xc](t)), 상기 자기장의 y성분(y(t))을 기초로 보정된 값(Ary[yc](t)), 및 상기 자기장의 z성분(z(t))을 기초로 보정된 값(Ary[zc](t))을 결정하는 단계; 및
상기 단말기가, 상기 결정된 x성분을 기초로 보정된 값, 상기 y성분을 기초로 보정된 값, 및 상기 z성분을 기초로 보정된 값을 기초로 상기 시점(t)에서의 상기 지자기센서가 검출한 자기장의 강도(I(t))를 산출하는 단계;
를 포함하며,
상기 시점(t)에서의 상기 y성분을 기초로 보정된 값을 산출하는 프로세스는,
상기 단말기가, 0° 내지 360°의 구간을 N 개의 구간으로 분할하여 정의한 N 개의 피치구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 피치값이 속하는 제n 피치구간(p_n)(t)을 결정하는 단계(n은 1 내지 N 중 어느 하나의 값);
상기 단말기가, 상기 시점(t)에 검출된 상기 y성분을, 미리 정의된 N 개의 Y-어레이들 중 상기 결정된 제n 피치구간(p_n)(t)에 대응하는 제n Y-어레이(Ary[y]_n)에 저장하는 단계;
상기 단말기가, 상기 제n Y-어레이의 대푯값(Reg[y]_n(t))을 산출하는 단계; 및
상기 단말기가, 상기 y성분과 상기 제n Y-어레이의 대푯값 간의 차이값을 상기 y성분을 기초로 보정된 값으로 결정하는 단계;
를 포함하는,
자기장 강도의 결정 방법.
A value (Ary[xc](t)) corrected based on the x component (x(t)) of the magnetic field detected by the geomagnetic sensor included in the terminal at a given time point (t), and the y component of the magnetic field A value (Ary[yc](t)) corrected based on (y(t)) and a value (Ary[zc](t)) corrected based on the z component (z(t)) of the magnetic field deciding; and
The terminal detects the geomagnetic sensor at the point in time t based on a corrected value based on the determined x component, a corrected value based on the y component, and a corrected value based on the z component calculating the strength of one magnetic field (I(t));
Including,
The process of calculating the corrected value based on the y component at the time point t,
Among the N pitch intervals defined by dividing the range from 0° to 360° into N intervals by the terminal, the nth pitch interval to which the pitch value detected by the direction sensor included in the terminal at the time point t belongs. Determining (p_n)(t) (n is any one of 1 to N);
The terminal sets the y component detected at the time point t to the nth Y-array (Ary[ y]_n);
calculating, by the terminal, a representative value (Reg[y]_n(t)) of the nth Y-array; and
determining, by the terminal, a difference value between the y component and a representative value of the nth Y-array as a corrected value based on the y component;
including,
Method for determination of magnetic field strength.
제1항에 있어서,
상기 시점(t)에서의 상기 z성분을 기초로 보정된 값을 산출하는 프로세스는,
상기 단말기가, 0° 내지 360°의 구간을 M 개의 구간으로 분할하여 정의한 M 개의 롤구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 롤값이 속하는 제m 롤구간(r_m)(t)을 결정하는 단계(m은 1 내지 M 중 어느 하나의 값);
상기 단말기가, 상기 시점(t)에 검출된 상기 z성분을, 미리 정의된 M 개의 Z-어레이들 중 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 저장하는 단계;
상기 단말기가, 상기 제m Z-어레이의 대푯값(Reg[z]_m(t))을 산출하는 단계; 및
상기 단말기가, 상기 z성분과 상기 제m Z-어레이의 대푯값 간의 차이값을 상기 z성분을 기초로 보정된 값으로 결정하는 단계;
를 포함하는,
자기장 강도의 결정 방법.
According to claim 1,
The process of calculating the corrected value based on the z component at the time point t,
Among the M roll sections defined by dividing the 0 ° to 360 ° section into M sections, the m-th roll section to which the roll value detected by the direction sensor included in the terminal at the time point t belongs ( determining r_m)(t) (m is any one value from 1 to M);
The terminal sets the z component detected at the time point t to the m-th Z-array (Ary[ z]_m);
calculating, by the terminal, a representative value (Reg[z]_m(t)) of the mth Z-array; and
determining, by the terminal, a difference value between the z component and a representative value of the m-th Z-array as a corrected value based on the z component;
including,
Method for determination of magnetic field strength.
제1항에 있어서,
상기 단말기는, 상기 자기장 강도를 결정하는 또 다른 제2의 자기장 강도 결정 프로세스를 실행하도록 되어 있으며,
상기 제2의 자기장 강도 결정 프로세스는, 상기 제2의 자기장 강도 결정 프로세스가 결정한 자기장 강도의 정확도를 출력하도록 되어 있으며,
상기 시점(t)에서의 상기 y성분을 기초로 보정된 값을 산출하는 프로세스는,
상기 단말기가, 상기 제2의 자기장 강도 결정 프로세스가 결정한 자기장 강도의 정확도가 소정의 기준값보다 작은 로우값을 갖는 것으로 판단하고, 그리고 상기 제2의 자기장 강도 결정 프로세스가 결정한 자기장 강도가 미리 결정된 값보다 큰 것으로 판단한 경우에만 실행되는 것을 특징으로 하는,
자기장 강도의 결정 방법.
According to claim 1,
the terminal is adapted to execute another second magnetic field strength determination process for determining the magnetic field strength;
the second magnetic field strength determination process is adapted to output an accuracy of the magnetic field strength determined by the second magnetic field strength determination process;
The process of calculating the corrected value based on the y component at the time point t,
The terminal determines that the accuracy of the magnetic field strength determined by the second magnetic field strength determination process has a low value smaller than a predetermined reference value, and the magnetic field strength determined by the second magnetic field strength determination process is greater than a predetermined value. Characterized in that it is executed only when it is determined to be large,
Method for determination of magnetic field strength.
제1항에 있어서, 상기 시점(t)에서의 상기 y성분을 기초로 보정된 값을 산출하는 프로세스는 적어도 소정의 시구간 동안 반복하여 실행되는 것을 특징으로 하는, 자기장 강도의 결정 방법. The method of determining the magnetic field strength according to claim 1, characterized in that the process of calculating the corrected value based on the y component at the time point (t) is repeatedly executed for at least a predetermined period of time. 제2항에 있어서, 상기 시점(t)에서의 상기 z성분을 기초로 보정된 값을 산출하는 프로세스는 적어도 소정의 시구간 동안 반복하여 실행되는 것을 특징으로 하는, 자기장 강도의 결정 방법. 3. The method according to claim 2, characterized in that the process of calculating a corrected value based on the z component at the time point (t) is repeatedly executed for at least a predetermined period of time. 제1항에 있어서, 상기 시점(t)에서의 상기 x성분을 기초로 보정된 값은 상기 x성분과 동일한, 자기장 강도의 결정 방법.The method of claim 1, wherein a value corrected based on the x component at the time point (t) is the same as the x component. 제1항에 있어서, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제1값을 더한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계;를 더 포함하는, 자기장 강도의 결정 방법.The method of claim 1, wherein the calculated magnetic field strength is greater than a value obtained by adding a predetermined first value to a past magnetic field strength calculated at a past time point that is past the time point t, in which the terminal is located in a predefined area. Determining that it has entered; further comprising a method for determining the magnetic field strength. 제1항에 있어서, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제2값을 곱한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계;를 더 포함하는, 자기장 강도의 결정 방법.The method of claim 1, wherein the terminal is located in a predefined area when the calculated magnetic field strength is greater than a value obtained by multiplying a past magnetic field strength calculated at a past time point that is past the time point t by a predetermined second value. Determining that it has entered; further comprising a method for determining the magnetic field strength. 자기장 강도를 주어진 스케쥴에 따라 산출하는 단말기가, 주어진 시점(t)에 상기 자기장 강도를 산출하는 단계; 및
상기 단말기가, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제1값을 더한 값보다 크거나, 또는 상기 과거 자기장 강도에 소정의 제2값을 곱한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계;
를 포함하며,
상기 시점(t)에 상기 자기장 강도를 산출하는 단계는,
단말기가, 상기 단말기에 포함된 지자기센서가 주어진 시점(t)에서 검출한 자기장의 x성분(x(t))에 관한 값(Ary[xc](t)), 상기 자기장의 y성분(y(t))에 관한 값(Ary[yc](t)), 및 상기 자기장의 z성분(z(t))에 관한 값(Ary[zc](t))을 결정하는 단계; 및
상기 단말기가, 상기 결정된 x성분에 관한 값, 상기 y성분에 관한 값, 및 상기 z성분에 관한 값을 기초로 상기 시점(t)에서의 상기 지자기센서가 검출한 자기장의 강도(I(t))를 산출하는 단계;
를 포함하며,
상기 시점(t)에서의 상기 y성분에 관한 값을 산출하는 단계는,
상기 단말기가, 0° 내지 360°의 구간을 N 개의 구간으로 분할하여 정의한 N 개의 피치구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 피치값이 속하는 제n 피치구간(p_n)(t)을 결정하는 단계(n은 1 내지 N 중 어느 하나의 값);
상기 단말기가, 상기 시점(t)에 검출된 상기 y성분을, 미리 정의된 N 개의 Y-어레이들 중 상기 결정된 제n 피치구간(p_n)(t)에 대응하는 제n Y-어레이(Ary[y]_n)에 저장하는 단계;
상기 단말기가, 상기 제n Y-어레이의 대푯값(Reg[y]_n(t))을 산출하는 단계; 및
상기 단말기가, 상기 y성분과 상기 제n Y-어레이의 대푯값 간의 차이값을 상기 y성분에 관한 값으로 결정하는 단계;
를 포함하고,
상기 시점(t)에서의 상기 z성분에 관한 값을 산출하는 프로세스는,
상기 단말기가, 0° 내지 360°의 구간을 M 개의 구간으로 분할하여 정의한 M 개의 롤구간들 중, 상기 시점(t)에서 상기 단말기에 포함된 방향센서가 검출한 롤값이 속하는 제m 롤구간(r_m)(t)을 결정하는 단계(m은 1 내지 M 중 어느 하나의 값);
상기 단말기가, 상기 시점(t)에 검출된 상기 z성분을, 미리 정의된 M 개의 Z-어레이들 중 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 저장하는 단계;
상기 단말기가, 상기 제m Z-어레이의 대푯값(Reg[z]_m(t))을 산출하는 단계; 및
상기 단말기가, 상기 z성분과 상기 제m Z-어레이의 대푯값 간의 차이값을 상기 z성분에 관한 값으로 결정하는 단계;
를 포함하며,
상기 시점(t)에서의 상기 x성분에 관한 값은 상기 x성분과 동일한,
단말기의 위치를 판단하는 위치판단방법.
calculating, by a terminal that calculates the magnetic field strength according to a given schedule, the magnetic field strength at a given point in time (t); and
In the terminal, the calculated magnetic field strength is greater than a value obtained by adding a first predetermined value to a past magnetic field strength calculated at a past time point that is past the time point t, or a value obtained by adding a predetermined first value to the past magnetic field strength. determining that the terminal has entered a predefined area if the multiplied value is greater than the multiplied value;
Including,
Calculating the magnetic field strength at the time point t,
The value (Ary[xc](t)) of the x component (x(t)) of the magnetic field detected by the geomagnetic sensor included in the terminal at a given point in time (t), the y component of the magnetic field (y( determining a value (Ary[yc](t)) for t) and a value (Ary[zc](t)) for the z component (z(t)) of the magnetic field; and
The terminal determines the intensity of the magnetic field (I(t) detected by the geomagnetic sensor at the point in time t based on the determined value of the x component, the value of the y component, and the value of the z component ) Calculating;
Including,
Calculating the value of the y component at the time point t,
Among the N pitch intervals defined by dividing the range from 0° to 360° into N intervals by the terminal, the nth pitch interval to which the pitch value detected by the direction sensor included in the terminal at the time point t belongs. Determining (p_n)(t) (n is any one of 1 to N);
The terminal sets the y component detected at the time point t to the nth Y-array (Ary[ y]_n);
calculating, by the terminal, a representative value (Reg[y]_n(t)) of the nth Y-array; and
determining, by the terminal, a difference value between the y component and a representative value of the nth Y-array as a value for the y component;
including,
The process of calculating the value for the z component at the time point t,
Among the M roll sections defined by dividing the 0° to 360° section into M sections by the terminal, the m-th roll section to which the roll value detected by the direction sensor included in the terminal at the time point t belongs ( determining r_m)(t) (m is any one value from 1 to M);
The terminal sets the z component detected at the time point t to the m-th Z-array (Ary[ z]_m);
calculating, by the terminal, a representative value (Reg[z]_m(t)) of the mth Z-array; and
determining, by the terminal, a difference value between the z component and a representative value of the mth Z-array as a value for the z component;
Including,
The value of the x component at the time point (t) is the same as the x component,
A location determination method for determining the location of a terminal.
제9항에 있어서, 상기 미리 정의된 영역에 진입하였다고 판단하는 단계 이후에, 상기 단말기가, 상기 미리 정의된 영역에 연관된 다른 장치와 통신하여 상기 진입에 관련된 후속 프로세스를 실행하는 단계;를 더 포함하는, 단말기의 위치를 판단하는 위치판단방법.10. The method of claim 9, further comprising, after determining that the terminal has entered the predefined area, executing a subsequent process related to the entry by communicating with another device associated with the predefined area. A location determination method for determining the location of a terminal. 제10항에 있어서, 상기 후속 프로세스는, 상기 미리 정의된 영역에 설치된 게이트의 동작을 제어하는 프로세스 또는 상기 미리 정의된 영역의 통과를 위한 결제를 수행하는 결제 프로세스인, 단말기의 위치를 판단하는 위치판단방법.11. The method of claim 10, wherein the subsequent process is a process of controlling an operation of a gate installed in the predefined area or a payment process of performing a payment for passing through the predefined area. judging method. 컴퓨터로 읽을 수 있는 비휘발성 기록매체를 읽을 수 있는 장치 인터페이스부; 처리부; 지자기센서; 및 방향센서;를 포함하며,
상기 비휘발성 기록매체는 제1명령코드 및 제2명령코드를 포함하는 프로그램을 저장하고 있으며,
상기 제1명령코드는,
상기 처리부가, 상기 지자기센서가 주어진 시점(t)에서 검출한 자기장의 x성분(x(t))에 관한 값(Ary[xc](t)), 상기 자기장의 y성분(y(t))에 관한 값(Ary[yc](t)), 및 상기 자기장의 z성분(z(t))에 관한 값(Ary[zc](t))을 결정하는 단계, 및
상기 처리부가, 상기 결정된 x성분에 관한 값, 상기 y성분에 관한 값, 및 상기 z성분에 관한 값을 기초로 상기 시점(t)에서의 상기 지자기센서가 검출한 자기장의 강도(I(t))를 산출하는 단계,
를 실행하도록 하는 명령코드이고,
상기 제2명령코드는, 상기 시점(t)에서의 상기 y성분에 관한 값을 산출하기 위해,
상기 처리부가, 0° 내지 360°의 구간을 N 개의 구간으로 분할하여 정의한 N 개의 피치구간들 중, 상기 시점(t)에서 상기 방향센서가 검출한 피치값이 속하는 제n 피치구간(p_n)(t)을 결정하는 단계(n은 1 내지 N 중 어느 하나의 값);
상기 처리부가, 상기 시점(t)에 검출된 상기 y성분을, 미리 정의된 N 개의 Y-어레이들 중 상기 결정된 제n 피치구간(p_n)(t)에 대응하는 제n Y-어레이(Ary[y]_n)에 저장하는 단계;
상기 처리부가, 상기 제n Y-어레이의 대푯값(Reg[y]_n(t))을 산출하는 단계; 및
상기 처리부가, 상기 y성분과 상기 제n Y-어레이의 대푯값 간의 차이값을 상기 y성분에 관한 값으로 결정하는 단계;
를 실행하도록 하고, 그리고
상기 시점(t)에서의 상기 z성분에 관한 값을 산출하기 위해,
상기 처리부가, 0° 내지 360°의 구간을 M 개의 구간으로 분할하여 정의한 M 개의 롤구간들 중, 상기 시점(t)에서 상기 방향센서가 검출한 롤값이 속하는 제m 롤구간(r_m)(t)을 결정하는 단계(m은 1 내지 M 중 어느 하나의 값);
상기 처리부가, 상기 시점(t)에 검출된 상기 z성분을, 미리 정의된 M 개의 Z-어레이들 중 상기 결정된 제m 롤구간(r_m)(t)에 대응하는 제m Z-어레이(Ary[z]_m)에 저장하는 단계;
상기 처리부가, 상기 제m Z-어레이의 대푯값(Reg[z]_m(t))을 산출하는 단계; 및
상기 처리부가, 상기 z성분과 상기 제m Z-어레이의 대푯값 간의 차이값을 상기 z성분에 관한 값으로 결정하는 단계;
를 실행하도록 하는 명령코드이며,
상기 시점(t)에서의 상기 x성분에 관한 값은 상기 x성분과 동일한,
단말기.
a device interface unit capable of reading a computer-readable non-volatile recording medium; processing unit; geomagnetic sensor; And a direction sensor; includes,
The non-volatile recording medium stores a program including a first command code and a second command code,
The first command code is
A value (Ary[xc](t)) related to the x component (x(t)) of the magnetic field detected by the geomagnetic sensor at a given time point (t), and the y component (y(t)) of the magnetic field Determining a value (Ary[yc](t)) for and a value (Ary[zc](t)) for the z component (z(t)) of the magnetic field, and
The processing unit determines the strength of the magnetic field (I(t) detected by the geomagnetic sensor at the point in time t based on the determined value of the x component, the value of the y component, and the value of the z component ),
is the command code to execute,
The second command code, in order to calculate the value of the y component at the time point t,
Among the N pitch intervals defined by the processing unit by dividing the interval from 0 ° to 360 ° into N intervals, the nth pitch interval (p_n) to which the pitch value detected by the direction sensor at the time point (t) belongs ( Determining t) (n is any one value from 1 to N);
The processing unit converts the y component detected at the time point t to an n-th Y-array (Ary[ y]_n);
calculating, by the processing unit, a representative value (Reg[y]_n(t)) of the nth Y-array; and
determining, by the processing unit, a difference value between the y component and a representative value of the nth Y-array as a value for the y component;
to run, and
To calculate the value for the z component at the time point t,
Among the M roll sections defined by dividing the 0° to 360° section into M sections by the processing unit, the m th roll section (r_m) to which the roll value detected by the direction sensor at the time point (t) belongs (t) ) Determining (m is a value of any one of 1 to M);
The processing unit sets the z component detected at the time point t to the m-th Z-array (Ary[ z]_m);
calculating, by the processing unit, a representative value (Reg[z]_m(t)) of the m-th Z-array; and
determining, by the processing unit, a difference between the z component and a representative value of the mth Z-array as a value for the z component;
It is the command code to execute,
The value of the x component at the time point (t) is the same as the x component,
terminal.
제12항에 있어서,
상기 비휘발성 기록매체는 제3명령코드를 더 저장하고 있으며,
상기 제3명령코드는,
상기 처리부가, 상기 산출한 자기장 강도가, 상기 시점(t)보다 과거인 과거시점에 산출된 과거 자기장 강도에 소정의 제1값을 더한 값보다 크거나, 또는 상기 과거 자기장 강도에 소정의 제2값을 곱한 값보다 큰 경우에는, 상기 단말기가 미리 정의된 영역에 진입하였다고 판단하는 단계;
를 실행하도록 하는 명령코드이며,
상기 처리부는 상기 장치 인터페이스부를 통해 상기 제1명령코드, 상기 제2명령코드, 및 상기 제3명령코드를 읽어서 실행할 수 있도록 되어있는,
단말기.
According to claim 12,
The non-volatile recording medium further stores a third command code,
The third command code is
The processing unit determines that the calculated magnetic field strength is greater than a value obtained by adding a predetermined first value to a past magnetic field strength calculated at a past time point that is past the time point t, or a predetermined second value to the past magnetic field strength. determining that the terminal has entered a predefined area when the multiplied value is greater than the multiplied value;
It is the command code to execute,
The processing unit is configured to read and execute the first command code, the second command code, and the third command code through the device interface unit.
terminal.
KR1020220080872A 2022-06-30 2022-06-30 Method for determining magnetic field strength and terminal therefor KR102495685B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220080872A KR102495685B1 (en) 2022-06-30 2022-06-30 Method for determining magnetic field strength and terminal therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220080872A KR102495685B1 (en) 2022-06-30 2022-06-30 Method for determining magnetic field strength and terminal therefor

Publications (1)

Publication Number Publication Date
KR102495685B1 true KR102495685B1 (en) 2023-02-06

Family

ID=85224295

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220080872A KR102495685B1 (en) 2022-06-30 2022-06-30 Method for determining magnetic field strength and terminal therefor

Country Status (1)

Country Link
KR (1) KR102495685B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070031415A (en) * 2004-07-29 2007-03-19 야마하 가부시키가이샤 Azimuth data calculation method, azimuth sensor unit, and portable electronic apparatus
KR20130063821A (en) * 2011-12-07 2013-06-17 삼성전자주식회사 Mobile terminal device for positioning system based on magnetic map and positioning method using the device
KR20130093526A (en) * 2010-05-24 2013-08-22 로버트 제이. 웰링톤 Determining spatial orientation information of a body from multiple electromagnetic signals
KR20140013308A (en) * 2012-07-23 2014-02-05 삼성전자주식회사 Method for modifying magnetic field map, terminal and server for modifying magnetic field
KR20160123264A (en) * 2016-10-05 2016-10-25 최옥재 Beacon approach direction calculation method using the direction of the magnetic field. Access control system and payment system using this direction calculation method.

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070031415A (en) * 2004-07-29 2007-03-19 야마하 가부시키가이샤 Azimuth data calculation method, azimuth sensor unit, and portable electronic apparatus
KR20130093526A (en) * 2010-05-24 2013-08-22 로버트 제이. 웰링톤 Determining spatial orientation information of a body from multiple electromagnetic signals
KR20130063821A (en) * 2011-12-07 2013-06-17 삼성전자주식회사 Mobile terminal device for positioning system based on magnetic map and positioning method using the device
KR20140013308A (en) * 2012-07-23 2014-02-05 삼성전자주식회사 Method for modifying magnetic field map, terminal and server for modifying magnetic field
KR20160123264A (en) * 2016-10-05 2016-10-25 최옥재 Beacon approach direction calculation method using the direction of the magnetic field. Access control system and payment system using this direction calculation method.

Similar Documents

Publication Publication Date Title
JP7344389B2 (en) Cooperative positioning methods, devices, equipment and storage media
US8898034B2 (en) Automatically identifying geographic direction
US6957088B2 (en) Electronic apparatus
CN100561125C (en) Portable terminal with auto caliblation of orientation measurement
US20110018708A1 (en) Assisted direction finding apparatus
CN110319851B (en) Sensor correction method, device, equipment and storage medium
US20120245875A1 (en) Method and system for a self-calibrated multi-magnetometer platform
KR101576424B1 (en) Automatic calibration method of magnetometer for indoor positioning
US8862418B2 (en) Magnetic data processing device, magnetic data processing method, and magnetic data processing program
CN102798393A (en) Mobile device
KR101152095B1 (en) Magnetic data processing device, method, and computer readable storage medium
CN103808349A (en) Error correction method and device for vector sensors
CN113970761A (en) Non-line-of-sight signal identification method, system, computer equipment and storage medium
JP5236441B2 (en) Position calculation server, position calculation system, and position calculation method
KR102495685B1 (en) Method for determining magnetic field strength and terminal therefor
CN105143825A (en) Positioning device, method for controlling same, and program
CN114488766A (en) Clock time service method, device and medium
US9572126B2 (en) Determining effects on communication signals
KR101914922B1 (en) Method and apparatus for estimating a position
KR102006029B1 (en) Method and Apparatus for calculation azimuth
CN106717083A (en) Method for position detection by mobile computing device, and mobile computing device performing same
CN101179808B (en) Intelligent antenna performance test method under high-speed mobile condition
CN105157691A (en) Determination method and device for azimuth of compass
CN109946724B (en) GPS static drift correction method and device based on GEOHOASH algorithm
CN111654817A (en) Bluetooth positioning method, mobile terminal and storage medium

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant