KR102238989B1 - Method for identifying pedestrian steps and user terminal thereof - Google Patents

Method for identifying pedestrian steps and user terminal thereof Download PDF

Info

Publication number
KR102238989B1
KR102238989B1 KR1020190129105A KR20190129105A KR102238989B1 KR 102238989 B1 KR102238989 B1 KR 102238989B1 KR 1020190129105 A KR1020190129105 A KR 1020190129105A KR 20190129105 A KR20190129105 A KR 20190129105A KR 102238989 B1 KR102238989 B1 KR 102238989B1
Authority
KR
South Korea
Prior art keywords
absolute acceleration
acceleration
value
pedestrian
peak value
Prior art date
Application number
KR1020190129105A
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 KR1020190129105A priority Critical patent/KR102238989B1/en
Application granted granted Critical
Publication of KR102238989B1 publication Critical patent/KR102238989B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1116Determining posture transitions
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/112Gait analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1123Discriminating type of movement, e.g. walking or running
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/02Details of sensors specially adapted for in-vivo measurements
    • A61B2562/0219Inertial sensors, e.g. accelerometers, gyroscopes, tilt switches

Abstract

A method of determining a step of a pedestrian is disclosed. The method of determining a step of a pedestrian comprises: a process of acquiring a current absolute acceleration based on the acceleration in the three-axis direction sensed at a preset time interval; a process of obtaining a first difference value between the current absolute acceleration and a previous absolute acceleration; a process of obtaining a gradient of absolute acceleration based on the first difference value and the preset time interval; and a process of increasing the number of steps of the pedestrian when the second difference value between a maximum peak value and a minimum peak value is greater than a preset amplitude threshold value, a previous slope of the absolute acceleration is a positive value, and a current slope of the absolute acceleration is a negative value.

Description

보행자의 걸음을 판단하는 방법 및 그 사용자 단말{METHOD FOR IDENTIFYING PEDESTRIAN STEPS AND USER TERMINAL THEREOF}Method for judging a pedestrian's steps and its user terminal {METHOD FOR IDENTIFYING PEDESTRIAN STEPS AND USER TERMINAL THEREOF}

본 발명은 보행자의 걸음을 판단하는 방법 및 그 사용자 단말에 대한 것으로, 보행자의 가속도에 기초하여 보행자의 걸음을 판단하는 방법 및 그 사용자 단말에 대한 것이다.The present invention relates to a method of determining a pedestrian's walking and a user terminal thereof, and to a method of determining a pedestrian's walking based on an acceleration of the pedestrian, and a user terminal thereof.

일반적으로 모바일 앱이 제공하는 지도 서비스는 GPS(Global Positioning System)에 기반하여 보행자의 현재 위치를 제공한다. 하지만, 보행자가 GPS 음영 지역에 있거나, 3G나 LTE와 같은 이동통신망 또는 WiFi 같은 근거리 무선통신 네트워크가 제공되지 않는 상황에서는 보행자에게 현재 위치가 제공되기 어렵다. 이 경우, 보행자는 길을 잃어버리는 등 돌방 상황에 직면할 수 있다.In general, a map service provided by a mobile app provides the current location of a pedestrian based on a Global Positioning System (GPS). However, when a pedestrian is in a shaded area with GPS, a mobile communication network such as 3G or LTE, or a short-range wireless communication network such as WiFi is not provided, it is difficult to provide the current location to the pedestrian. In this case, the pedestrian may face a sudden turnaround situation, such as getting lost.

이에 따라, GPS 신호를 이용할 수 없는 상황에서 보행자의 걸음을 카운팅하여 보행자의 위치를 판단하는 다양한 기술이 개발되고 있다.Accordingly, various technologies for determining the location of a pedestrian by counting the pedestrian's steps in a situation where a GPS signal is not available have been developed.

일 예로, 대한민국공개특허 10-2012-0020051(2012.03.07.)는 가속도값 데이터(DA)와 역치(TH1)를 비교함으로써 보수 계측 장치의 휴대자가 보행을 하였는지 여부를 판정한다.For example, Korean Patent Laid-Open Publication No. 10-2012-0020051 (2012.03.07.) compares the acceleration value data DA with the threshold value TH1 to determine whether the portable person of the step measurement device has walked.

다른 예로, 대한민국공개특허 10-2017-0111408(2017.10.12.)는 지자기 센서를 이용하여 이동하는 사람의 위치를 추정하는 방법을 제공한다.As another example, Korean Patent Application Publication No. 10-2017-0111408 (2017.10.12.) provides a method of estimating the location of a moving person using a geomagnetic sensor.

하지만, 기존의 보행자 걸음 판단 방법은 단순히 보행자의 가속도와 역치를 비교하여 걸음을 판단하거나, 방위각의 단순한 변화에 기초하여 걸음 방향을 판단하는데 그치기 때문에 실제 보행자의 걸음 판단 또는 위치 판단에 대한 신뢰도가 낮았다. 또한, 추가적인 센싱 장비가 필요하기 때문에 휴대성이 떨어지고, 비용 부담을 가중시키는 측면이 있었다. However, since the existing method of determining a pedestrian's step simply compares the pedestrian's acceleration and a threshold to determine the step, or determines the walking direction based on a simple change in the azimuth angle, the reliability of the actual pedestrian's step determination or position determination was low. . In addition, since additional sensing equipment is required, portability is deteriorated and the cost burden is increased.

본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로, 가속도의 진폭 임계값을 걸음마다 재설정하고, 걸음 판단에 있어 가속도 변화의 기울기를 고려하는 등 더 정밀하고 효율적인 보행자 걸음 판단 방법을 제공한다. 또한, 사용자 단말에 포함된 센서를 이용하기 때문에 추가적인 센싱 장비 없이도 상술한 보행자 걸음 판단 방법을 제공할 수 있다.The present invention has been devised to solve the above-described problem, and provides a more precise and efficient method of determining a pedestrian's steps, such as resetting the amplitude threshold of acceleration for each step and taking into account the slope of the acceleration change in determining the step. In addition, since the sensor included in the user terminal is used, the above-described pedestrian walk determination method can be provided without additional sensing equipment.

본 발명의 다양한 실시 예에 따른 보행자의 걸음을 판단하는 방법은, 기설정된 시간 간격으로 센싱되는 3축 방향의 가속도에 기초하여 현재 절대 가속도를 획득하는 과정, 상기 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득하는 과정, 상기 제1 차이값 및 상기 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득하는 과정 및 최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 상기 보행자의 걸음 횟수를 증가시키는 과정을 포함할 수 있다.A method of determining the walk of a pedestrian according to various embodiments of the present disclosure includes a process of acquiring a current absolute acceleration based on accelerations in the three-axis directions sensed at preset time intervals, and the current absolute acceleration and the previous absolute acceleration. 1 A process of acquiring a difference value, a process of acquiring a slope of absolute acceleration based on the first difference value and the preset time interval, and a second difference value between the maximum peak value and the minimum peak value is greater than a preset amplitude threshold. When the previous slope of the absolute acceleration is large and the previous slope of the absolute acceleration is a positive value and the current slope of the absolute acceleration is a negative value, the step of increasing the number of steps of the pedestrian may be included.

본 발명의 다양한 실시 예에 따른 보행자의 걸음을 판단하는 사용자 단말은, 센싱부 및 기설정된 시간 간격으로 센싱되는 3축 방향의 가속도에 기초하여 현재 절대 가속도를 획득하고, 상기 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득하고, 상기 제1 차이값 및 상기 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득하고, 최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 보행자의 걸음 횟수를 증가시키는 프로세서를 포함할 수 있다.The user terminal for determining the walk of a pedestrian according to various embodiments of the present invention acquires the current absolute acceleration based on the sensing unit and the acceleration in the three-axis direction sensed at a preset time interval, and obtains the current absolute acceleration and the previous absolute acceleration. A first difference value of acceleration is obtained, a slope of absolute acceleration is obtained based on the first difference value and the preset time interval, and a second difference value between the maximum peak value and the minimum peak value is a preset amplitude threshold value. If larger, and the previous slope of the absolute acceleration is a positive value and the current slope of the absolute acceleration is a negative value, a processor that increases the number of steps of the pedestrian may be included.

본 발명의 다양한 실시 예에 따르면, 가속도의 진폭 임계값을 걸음마다 재설정하고, 걸음 판단에 있어 가속도 변화의 기울기를 고려하는 등 더 정밀하고 효율적인 보행자 걸음 판단 방법을 제공한다. According to various embodiments of the present disclosure, a more precise and efficient pedestrian step determination method is provided, such as resetting the amplitude threshold of acceleration for each step and taking into account the slope of the acceleration change in determining the step.

또한, 본 발명의 다양한 실시 예에 따르면, 보행자 걸음 판단 방법은 사용자 단말에 포함된 센서를 이용하기 때문에 추가적인 센싱 장비 없이도 상술한 보행자 걸음 판단 방법을 제공할 수 있다.In addition, according to various embodiments of the present disclosure, since a method for determining a pedestrian walk uses a sensor included in a user terminal, the above-described method for determining a pedestrian walk can be provided without additional sensing equipment.

도 1은 본 발명의 일 실시 예에 따른 사용자 단말의 블록도이다.
도 2는 본 발명의 일 실시 예에 따른 보행자 걸음 판단 방법에 대한 순서도이다.
도 3a 및 도 3b는 본 발명의 다른 실시 예에 따른 보행자 걸음 판단 방법에 대한 순서도이다.
도 4는 본 발명의 일 실시 예에 따른 진폭 임계값 재설정 과정에 대한 순서도이다.
도 5는 본 발명의 일 실시 예에 따른 사용자 단말의 3축 가속도를 도시한다.
도 6은 본 발명의 다른 실시 예에 따른 사용자 단말의 3축 가속도를 도시한다.
도 7은 본 발명의 일 실시 예에 따른 사용자 단말의 상태를 도시한다.
도 8은 본 발명의 또 다른 실시 예에 따른 사용자 단말의 3축 가속도를 도시한다.
도 9는 본 발명의 다른 실시 예에 따른 사용자 단말의 상태를 도시한다.
도 10은 본 발명의 또 다른 실시 예에 따른 사용자 단말의 3축 가속도를 도시한다.
도 11은 본 발명의 일 실시 예에 따른 방위각 보정 방법에 대한 순서도이다.
도 12는 본 발명의 일 실시 예에 따른 방위각 설정 방법에 대한 소스코드를 도시한다.
도 13은 본 발명의 일 실시 예에 따른 사용자 단말의 상태를 도시한다.
도 14는 본 발명의 일 실시 예에 따른 Wp-Wls 상태의 3축 가속도를 도시한다.
도 15는 본 발명의 일 실시 예에 따른 3축 가속도의 변환 방법을 도시한다.
도 16은 본 발명의 일 실시 예에 따른 변환된 3축 가속도를 도시한다.
도 17은 본 발명의 일 실시 예에 따른 Wp-Wls 상태 변환의 판단 방법을 도시한다.
도 18은 본 발명의 일 실시 예에 따른 Wp-Wrs 상태의 3축 가속도를 도시한다.
도 19는 본 발명의 다른 실시 예에 따른 변환된 3축 가속도를 도시한다.
도 20은 본 발명의 일 실시 예에 따른 Wp-Wrs 상태 변환의 판단 방법을 도시한다.
도 21은 본 발명의 일 실시 예에 따른 사용자 단말의 세부 구성에 대한 블록도이다.
도 22는 본 발명의 일 실시 예에 따른 아이템의 구매자를 식별하는 방법에 대한 순서도이다.
1 is a block diagram of a user terminal according to an embodiment of the present invention.
2 is a flowchart of a method for determining a pedestrian's step according to an embodiment of the present invention.
3A and 3B are flowcharts illustrating a method of determining a pedestrian's step according to another embodiment of the present invention.
4 is a flowchart illustrating a process of resetting an amplitude threshold according to an embodiment of the present invention.
5 illustrates a 3-axis acceleration of a user terminal according to an embodiment of the present invention.
6 illustrates a 3-axis acceleration of a user terminal according to another embodiment of the present invention.
7 shows a state of a user terminal according to an embodiment of the present invention.
8 illustrates a 3-axis acceleration of a user terminal according to another embodiment of the present invention.
9 shows a state of a user terminal according to another embodiment of the present invention.
10 illustrates a 3-axis acceleration of a user terminal according to another embodiment of the present invention.
11 is a flowchart of a method for correcting an azimuth angle according to an embodiment of the present invention.
12 illustrates a source code for a method of setting an azimuth angle according to an embodiment of the present invention.
13 shows a state of a user terminal according to an embodiment of the present invention.
14 illustrates a 3-axis acceleration in a Wp-Wls state according to an embodiment of the present invention.
15 illustrates a method for converting 3-axis acceleration according to an embodiment of the present invention.
16 shows the converted 3-axis acceleration according to an embodiment of the present invention.
17 illustrates a method of determining Wp-Wls state conversion according to an embodiment of the present invention.
18 illustrates a 3-axis acceleration in a Wp-Wrs state according to an embodiment of the present invention.
19 shows the converted 3-axis acceleration according to another embodiment of the present invention.
20 illustrates a method of determining Wp-Wrs state conversion according to an embodiment of the present invention.
21 is a block diagram of a detailed configuration of a user terminal according to an embodiment of the present invention.
22 is a flowchart illustrating a method of identifying a purchaser of an item according to an embodiment of the present invention.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대한 동작원리를 상세히 설명한다. 또한, 발명에 대한 실시 예를 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 하기에서 사용되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로써, 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 사용된 용어들의 정의는 본 명세서 전반에 걸친 내용 및 이에 상응한 기능을 토대로 해석되어야 할 것이다.Hereinafter, the operating principle of a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings. In addition, when it is determined that a detailed description of a related known function or configuration may obscure the subject matter of the present disclosure in describing an exemplary embodiment of the present disclosure, a detailed description thereof will be omitted. In addition, terms used in the following are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of users or operators. Therefore, the definitions of the terms used should be interpreted based on the contents throughout the present specification and functions corresponding thereto.

도 1은 본 발명의 일 실시 예에 따른 사용자 단말의 블록도이다.1 is a block diagram of a user terminal according to an embodiment of the present invention.

도 1을 참조하면, 사용자 단말(100)은 센싱부(110) 및 프로세서(120)를 포함할 수 있다. 여기서, 사용자 단말(100)은 스마트폰, 태블릿 PC, 웨어러블 기기 등 다양하게 구현될 수 있다.Referring to FIG. 1, the user terminal 100 may include a sensing unit 110 and a processor 120. Here, the user terminal 100 may be variously implemented, such as a smart phone, a tablet PC, and a wearable device.

센싱부(110)는 가속도 센서(accelerometer sensor) 및 지자기 센서(magnetic field sensor) 중 적어도 하나를 포함할 수 있다. The sensing unit 110 may include at least one of an accelerometer sensor and a magnetic field sensor.

여기서, 가속도 센서는 물체의 가속도, 진동, 충격 등의 동적 힘을 센싱할 수 있다. 가속도 센서는 관성식, 자이로식, 실리콘반도체식 등을 분류될 수 있다. 가속도 센서는 보행자의 보행시 x, y, z 축의 가속도 값을 제공할 수 있다.Here, the acceleration sensor may sense dynamic forces such as acceleration, vibration, and impact of an object. Acceleration sensors can be classified into inertial type, gyro type, and silicon semiconductor type. The acceleration sensor may provide acceleration values of the x, y, and z axes when a pedestrian is walking.

지자기 센서는 지자기를 검출할 수 있다. 지자기 센서는 지자기의 방향을 센싱하거나, 진동주기로부터 지자기의 크기를 센싱할 수도 있다. 지자기 센서는 보행자의 보행시 x, y, z 축의 자기장 값을 제공할 수 있다.The geomagnetic sensor can detect geomagnetism. The geomagnetic sensor may sense the direction of the geomagnetism or may sense the size of the geomagnetism from the vibration period. The geomagnetic sensor may provide magnetic field values of the x, y, and z axes when a pedestrian is walking.

후술할 본 발명의 다양한 실시 예에 따르면, 프로세서(120)는 가속도 센서에서 센싱되는 3축 가속도를 이용하여 보행자의 걸음 수를 판단할 수 있다. 또한, 프로세서(120)는 가속도 센서 및 지자기 센서를 이용하여 보행자의 이동 방향을 판단할 수 있다.According to various embodiments of the present disclosure to be described later, the processor 120 may determine the number of steps of a pedestrian using the 3-axis acceleration sensed by the acceleration sensor. In addition, the processor 120 may determine the moving direction of the pedestrian using the acceleration sensor and the geomagnetic sensor.

센싱부(110)는 3축 방향의 가속도에 기초하여 절대 가속도를 획득할 수 있다.The sensing unit 110 may obtain an absolute acceleration based on the acceleration in the three-axis direction.

여기서, 절대 가속도는 아래의 수학식 1에 기초하여 획득될 수 있다.Here, the absolute acceleration may be obtained based on Equation 1 below.

Figure 112019106001945-pat00001
Figure 112019106001945-pat00001

여기서, x, y, z는 3축 가속도이다.Here, x, y, and z are 3-axis accelerations.

센싱부(110)는 3축 방향의 가속도를 기설정된 시간 간격(gap of time)으로 획득할 수 있다. 예를 들어, 사람의 한 걸음이 0.5초 정도이고, 후술할 본 발명의 다양한 실시 예에서, 절대 가속도의 기울기에 따라 걸음을 판단하므로 0.5초 내에 최소 3회의 가속도 획득이 필요하다. 이 경우, 센싱부(110)의 가속도 센서 값 갱신 기준을 최소 0.1초로 설정할 수 있다.The sensing unit 110 may acquire acceleration in the three-axis direction at a preset gap of time. For example, one step of a person is about 0.5 seconds, and in various embodiments of the present invention, which will be described later, the step is determined according to the slope of the absolute acceleration, so it is necessary to acquire accelerations at least three times within 0.5 seconds. In this case, the reference for updating the value of the acceleration sensor of the sensing unit 110 may be set to at least 0.1 seconds.

센싱부(110)는 지자기 센싱을 통해 방위각(azimuth)을 획득할 수 있다. 여기서, 획득된 방위각에 기초하여 보행자의 진행 방향을 획득할 수 있다. 예를 들어, 상술한 절대 가속도에 기초하여 획득된 걸음 수와 획득된 방위각에 기초하여 보행자의 위치를 판단할 수 있다.The sensing unit 110 may acquire an azimuth through geomagnetic sensing. Here, based on the obtained azimuth angle, the traveling direction of the pedestrian may be obtained. For example, the position of the pedestrian may be determined based on the number of steps acquired based on the above-described absolute acceleration and the acquired azimuth angle.

프로세서(120)는 사용자 단말(100)을 전반적으로 제어한다. 특히, 프로세서(120)는 보행자의 걸음을 판단할 수 있다.The processor 120 overall controls the user terminal 100. In particular, the processor 120 may determine the pedestrian's step.

구체적으로, 프로세서(120)는 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득할 수 있다. 프로세서(120)는 제1 차이값 및 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득할 수 있다. 프로세서(120)는 최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 보행자의 걸음 횟수가 증가된 것으로 판단할 수 있다.Specifically, the processor 120 may obtain a first difference value between the current absolute acceleration and the previous absolute acceleration. The processor 120 may obtain a slope of the absolute acceleration based on the first difference value and a preset time interval. When the second difference value between the maximum peak value and the minimum peak value is greater than a preset amplitude threshold value, the previous slope of the absolute acceleration is a positive value, and the current slope of the absolute acceleration is a negative value, the It can be determined that the number of steps has increased.

이하에서, 도 2 내지 도 4를 참조하여 보행자의 걸음 횟수를 판단하는 방법을 상세히 설명한다.Hereinafter, a method of determining the number of steps of a pedestrian will be described in detail with reference to FIGS. 2 to 4.

도 2는 본 발명의 일 실시 예에 따른 보행자 걸음 판단 방법에 대한 순서도이다.2 is a flowchart of a method for determining a pedestrian's step according to an embodiment of the present invention.

도 2는 센싱부(110)가 기설정된 시간 간격으로 가속도를 센싱하는 경우, 첫 번째 가속도 센싱시의 사용자 단말(100)의 동작 과정임을 가정한다.2, when the sensing unit 110 senses acceleration at preset time intervals, it is assumed that the operation of the user terminal 100 is performed at the first acceleration sensing.

도 2를 참조하면, 프로세서(120)는 센싱부(110)로부터 획득한 3축 가속도 및 상술한 수학식 1에 기초하여 현재 절대 가속도를 획득한다(201). Referring to FIG. 2, the processor 120 acquires a current absolute acceleration based on the 3-axis acceleration obtained from the sensing unit 110 and Equation 1 (201).

프로세서(120)는 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득한다(202). 여기서, 이전 절대 가속도는 0으로 기설정될 수 있다.The processor 120 obtains a first difference value between the current absolute acceleration and the previous absolute acceleration (202). Here, the previous absolute acceleration may be preset to 0.

프로세서(120)는 획득된 제1 차이값 및 기설정된 시간 간격에 기초하여 절대 가속도의 현재 기울기를 획득할 수 있다(203). 구체적으로, 프로세서(120)는 획득된 제1 차이값을 기설정된 시간 간격으로 나누어 절대 가속도의 현재 기울기를 획득할 수 있다.The processor 120 may obtain the current slope of the absolute acceleration based on the obtained first difference value and a preset time interval (203). Specifically, the processor 120 may obtain the current slope of the absolute acceleration by dividing the obtained first difference value by a preset time interval.

프로세서(120)는 절대 가속도의 진폭에 대한 최소 피크값 및 최대 피크값을 설정할 수 있다. 먼저, 프로세서(120)는 최소 피크값을 획득된 현재 절대 가속도로 설정할 수 있다(204). 또한, 프로세서(120)는 최대 피크값을 현재 절대 가속도로 설정할 수 있다(205). 이는, 첫 번째 가속도 센싱시에는 현재까지 획득된 가장 작은 절대 가속도와 현재까지 획득된 가장 큰 절대 가속도 모두가 상기 획득된 현재 절대 가속도와 동일하기 때문이다.The processor 120 may set a minimum peak value and a maximum peak value for the amplitude of the absolute acceleration. First, the processor 120 may set the minimum peak value as the acquired current absolute acceleration (204). In addition, the processor 120 may set the maximum peak value as the current absolute acceleration (205). This is because, at the time of the first acceleration sensing, both the smallest absolute acceleration acquired so far and the largest absolute acceleration acquired so far are the same as the acquired current absolute acceleration.

프로세서(120)는 이전 절대 가속도를 현재 절대 가속도로 설정 또는 갱신한다(206). 여기서, 이전 절대 가속도는 변수로써, 걸음 마다 갱신될 수 있다.The processor 120 sets or updates the previous absolute acceleration as the current absolute acceleration (206). Here, the previous absolute acceleration is a variable and may be updated for each step.

프로세서(120)는 절대 가속도의 이전 기울기를 절대 가속도의 현재 기울기로 설정할 수 있다(207). 여기서, 이전 기울기는 변수로써, 걸음마다 갱신될 수 있다.The processor 120 may set the previous slope of the absolute acceleration as the current slope of the absolute acceleration (207). Here, the previous slope is a variable and may be updated for each step.

도 3a 및 도 3b는 본 발명의 다른 실시 예에 따른 보행자 걸음 판단 방법에 대한 순서도이다.3A and 3B are flowcharts illustrating a method of determining a pedestrian's step according to another embodiment of the present invention.

도 3a 및 도 3b는 센싱부(110)가 기설정된 시간 간격으로 가속도를 센싱하는 경우, 두 번째 이상의 가속도 센싱시의 사용자 단말(100)의 동작 과정임을 가정한다.3A and 3B assume that when the sensing unit 110 senses acceleration at preset time intervals, it is an operation process of the user terminal 100 when sensing the second or more acceleration.

도 3a를 참조하면, 프로세서(120)는 센싱부(110)로부터 획득한 3축 가속도 및 상술한 수학식 1에 기초하여 현재 절대 가속도를 획득한다(301).Referring to FIG. 3A, the processor 120 acquires a current absolute acceleration based on the 3-axis acceleration obtained from the sensing unit 110 and Equation 1 described above (301).

프로세서(120)는 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득한다(302).The processor 120 obtains a first difference value between the current absolute acceleration and the previous absolute acceleration (302).

프로세서(120)는 획득된 제1 차이값 및 기설정된 시간 간격에 기초하여 절대 가속도의 현재 기울기를 획득할 수 있다(303). 구체적으로, 프로세서(120)는 획득된 제1 차이값을 기설정된 시간 간격으로 나누어 절대 가속도의 현재 기울기를 획득할 수 있다.The processor 120 may obtain the current slope of the absolute acceleration based on the obtained first difference value and a preset time interval (303). Specifically, the processor 120 may obtain the current slope of the absolute acceleration by dividing the obtained first difference value by a preset time interval.

프로세서(120)는 현재 절대 가속도가 최소 피크값보다 작은지를 판단할 수 있다(304).The processor 120 may determine whether the current absolute acceleration is less than the minimum peak value (304).

현재 절대 가속도가 최소 피크값보다 작은 경우(304-예), 프로세서(120)는 최소 피크값을 현재 절대 가속도로 설정할 수 있다(305). 이 경우, 프로세서(120)는 참조번호 308 과정을 진행할 수 있다.When the current absolute acceleration is less than the minimum peak value (304-Yes), the processor 120 may set the minimum peak value as the current absolute acceleration (305). In this case, the processor 120 may proceed to process 308.

현재 절대 가속도가 최소 피크값보다 작지 않은 경우(304-아니오), 프로세서(120)는 현재 절대 가속도가 최대 피크값보타 큰가를 판단할 수 있다(306).If the current absolute acceleration is not less than the minimum peak value (304-No), the processor 120 may determine whether the current absolute acceleration is greater than the maximum peak value (306).

현재 절대 가속도가 최대 피크값보다 크지 않은 경우(306-아니오), 프로세서(120)는 참조번호 308 과정을 진행할 수 있다.If the current absolute acceleration is not greater than the maximum peak value (306-No), the processor 120 may proceed with the reference numeral 308 process.

현재 절대 가속도가 최대 피크값보다 큰 경우(306-예), 프로세서(120)는 최대 피크값을 현재 피크값으로 설정할 수 있다(307).When the current absolute acceleration is greater than the maximum peak value (306-Yes), the processor 120 may set the maximum peak value as the current peak value (307).

최대 피크값이 현재 피크값으로 설정되면(307), 프로세서(120)는 참조번호 308 과정을 진행할 수 있다.When the maximum peak value is set to the current peak value (307), the processor 120 may proceed with a process reference numeral 308.

프로세서(120)는 걸음 판단의 제1 조건 판단 과정인 참조번호 308 과정 및 걸음 판단의 제2 조건 판단 과정인 참조번호 309 과정을 아래와 같이 수행할 수 있다.The processor 120 may perform process reference number 308, which is a first condition determination process for step determination, and process reference number 309, which is a second condition determination process for step determination, as follows.

프로세서(120)는 제2 차이값이 기설정된 진폭 임계값보다 큰가를 판단할 수 있다(308). 여기서, 제2 차이값은 최소 피크값 및 최대 피크값의 차이값으로 정의될 수 있다. 즉, 프로세서(120)는 절대 가속도의 진폭의 최대값(제2 차이값)이 기설정된 진폭 임계값보다 큰 경우 걸음 판단의 제1 조건의 성립을 결정할 수 있다.The processor 120 may determine whether the second difference value is greater than a preset amplitude threshold (308). Here, the second difference value may be defined as a difference value between the minimum peak value and the maximum peak value. That is, when the maximum value (second difference value) of the amplitude of the absolute acceleration is greater than a preset amplitude threshold value, the processor 120 may determine the establishment of the first condition for determining the step.

제2 차이값이 기설정된 진폭 임계값보다 크지 않은 경우(308-아니오), 프로세서(120)는 참조번호 313 과정을 수행할 수 있다.When the second difference value is not greater than the preset amplitude threshold (308-No), the processor 120 may perform a process 313.

제2 차이값이 기설정된 진폭 임계값보타 큰 경우(308-예), 프로세서(120)는 절대 가속도의 이전 기울기가 0보다 크고, 절대 가속도의 현재 기울기가 0보다 작은지를 판단할 수 있다(309). 즉, 프로세서(120)는 보행자의 걸음에서 절대 가속도가 변곡하는 경우 걸음 판단의 제2 조건의 성립을 결정할 수 있다.When the second difference value is greater than the preset amplitude threshold (308-Yes), the processor 120 may determine whether the previous slope of the absolute acceleration is greater than 0 and the current slope of the absolute acceleration is less than 0 (309). ). That is, the processor 120 may determine the establishment of the second condition for determining the step when the absolute acceleration changes in the pedestrian's walking.

절대 가속도의 이전 기울기가 0보다 크지 않거나, 절대 가속도의 현재 기울기가 0보다 작지 않은 경우(309-아니오), 프로세서(120)는 참조번호 313 과정을 수행할 수 있다.If the previous slope of the absolute acceleration is not greater than 0 or the current slope of the absolute acceleration is not less than 0 (309-No), the processor 120 may perform a process of reference numeral 313.

절대 가속도의 이전 기울기가 0보다 크고, 절대 가속도의 현재 기울기가 0보다 작은 경우(309-예), 프로세서(120)는 기설정된 진폭 임계값을 재설정할 수 있다(310). 여기서, 참조번호 310 과정은 도 4를 참조하여 상세히 후술한다.When the previous slope of the absolute acceleration is greater than 0 and the current slope of the absolute acceleration is less than 0 (309-Yes), the processor 120 may reset a preset amplitude threshold (310). Here, process 310 will be described in detail later with reference to FIG. 4.

상술한 걸음 판단의 제1 조건 및 제2 조건이 성립하는 경우, 프로세서(120)는 보행자의 걸음 횟수를 1만큼 증가시킬 수 있다(311). When the above-described first condition and second condition of the step determination are satisfied, the processor 120 may increase the number of steps of the pedestrian by 1 (311).

프로세서(120)는 최소 피크값을 최대 피크값으로 설정하고, 최대 피크 값을 0으로 설정할 수 있다(312). 또한, 프로세서(120)는 이전 절대 가속도를 현재 절대 가속도로 설정하고, 절대 가속도의 이전 기울기를 절대 가속도의 현재 기울기로 설정할 수 있다(313).The processor 120 may set the minimum peak value to the maximum peak value and set the maximum peak value to 0 (312). In addition, the processor 120 may set the previous absolute acceleration as the current absolute acceleration, and set the previous slope of the absolute acceleration as the current slope of the absolute acceleration (313).

이하, 도 4를 참조하여 상술한 참조번호 310 과정을 상세히 후술한다.Hereinafter, process 310 described above with reference to FIG. 4 will be described in detail later.

도 4는 본 발명의 일 실시 예에 따른 진폭 임계값 재설정 과정에 대한 순서도이다.4 is a flowchart illustrating a process of resetting an amplitude threshold according to an embodiment of the present invention.

도 4를 참조하면, 진폭 임계값을 재설정하기 위해, 프로세서(120)는 현재 걸음 횟수가 기설정된 걸음 횟수보다 작거나 같은지를 판단할 수 있다(3101).Referring to FIG. 4, in order to reset the amplitude threshold, the processor 120 may determine whether the current number of steps is less than or equal to a preset number of steps (3101).

현재 걸음 횟수가 기설정된 걸음 횟수보다 큰 경우(3101-아니오), 프로세서(120)는 과정을 종료하여 도 3b의 참조번호 311 과정을 수행할 수 있다.When the current number of steps is greater than the preset number of steps (3101-No), the processor 120 may terminate the process and perform process 311 of FIG. 3B.

현재 걸음 횟수가 기설정된 걸음 횟수보다 작거나 같은 경우(3101-예), 프로세서(120)는 현재 걸음의 진폭을 이전 걸음까지 누적된 진폭의 합에 더하여 현재까지 누적된 진폭의 합을 획득할 수 있다(3102). 여기서, 진폭은 최대 피크값과 최소 피크값의 차이값으로 정의될 수 있다.If the current number of steps is less than or equal to the preset number of steps (3101-Yes), the processor 120 may obtain the sum of the accumulated amplitudes to date by adding the amplitude of the current step to the sum of the amplitudes accumulated up to the previous step. There is (3102). Here, the amplitude may be defined as a difference value between the maximum peak value and the minimum peak value.

프로세서(120)는 현재 걸음 횟수가 기설정된 걸음 횟수와 동일한지 여부를 판단할 수 있다(3103). 여기서, 기설정된 걸음 횟수는 보행자의 개별 특성에 따른 진폭 임계값을 설정할 수 있도록 정해진 값일 수 있다. 예를 들어, 기설정된 걸음 횟수는 5일 수 있다.The processor 120 may determine whether the current number of steps is equal to the preset number of steps (3103). Here, the preset number of steps may be a predetermined value to set an amplitude threshold according to individual characteristics of the pedestrian. For example, the preset number of steps may be 5.

현재 걸음 횟수가 기설정된 걸음 횟수와 동일하지 않은 경우(3103-아니오), 프로세서(120)는 과정을 종료하여 도 3b의 참조번호 311 과정을 수행할 수 있다.If the current number of steps is not the same as the preset number of steps (3103-No), the processor 120 may terminate the process and perform process 311 of FIG. 3B.

현재 걸음 횟수가 기설정된 걸음 횟수와 동일한 경우(3103-예), 프로세서(120)는 합산된 진폭의 평균값을 획득할 수 있다(3104). 여기서, 합산된 진폭의 평균 값은, 현재 걸음(또는 기설정된 걸음 횟수)까지 누적된 진폭의 합을 기설정된 걸음 횟수로 나눈 평균 값으로 정의될 수 있다.When the current number of steps is the same as the preset number of steps (3103-Yes), the processor 120 may obtain an average value of the summed amplitude (3104). Here, the average value of the summed amplitude may be defined as an average value obtained by dividing the sum of the amplitudes accumulated up to the current step (or a preset number of steps) by a preset number of steps.

프로세서(120)는 합산된 진폭의 평균값이 기설정된 진폭 임계값보다 큰지를 판단할 수 있다(3105)The processor 120 may determine whether the average value of the summed amplitude is greater than a preset amplitude threshold (3105).

합산된 진폭의 평균값이 기설정된 진폭 임계값보다 크지 않은 경우(3105-아니오), 프로세서(120)는 과정을 종료하여 도 3b의 참조번호 311 과정을 수행할 수 있다.When the average value of the summed amplitude is not greater than the preset amplitude threshold (3105-No), the processor 120 may terminate the process and perform process 311 of FIG. 3B.

합산된 진폭의 평균값이 기설정된 진폭 임계값보다 큰 경우(3105-예), 프로세서(120)는 기설정된 진폭 임계값을 합산된 진폭의 평균값으로 재설정할 수 있다(3106).When the average value of the summed amplitude is greater than the preset amplitude threshold value (3105-Yes), the processor 120 may reset the preset amplitude threshold value to the average value of the summed amplitude (3106).

프로세서(120)는 진폭 임계값이 재설정된 경우, 참조번호 311 과정을 수행할 수 있다.When the amplitude threshold is reset, the processor 120 may perform process 311.

상술한 본 발명의 다양한 실시 예에 따른 보행자 걸음 판단은 상술한 걸음 판단의 제1 조건 판단 과정인 참조번호 308 과정 및 걸음 판단의 제2 조건 판단 과정인 참조번호 309 과정을 통해 정확도가 높아질 수 있다. 즉, 보행자 걸음 판단에 있어, 보행자 걸음에 대한 절대 가속도의 진폭과 절대 가속도의 기울기 변화를 함께 판단함으로써 더 정확한 걸음 판단이 가능하다.The accuracy of the pedestrian step determination according to various embodiments of the present disclosure may be improved through the reference number 308 process, which is the first condition determination process for the step determination, and the reference number 309 process, which is the second condition determination process for the step determination. . That is, in determining a pedestrian's step, it is possible to determine a more accurate step by determining the amplitude of the absolute acceleration with respect to the pedestrian's step and the change in the slope of the absolute acceleration.

상술한 걸음 판단을 통해 보행자의 이동 거리(distance)가 획득될 수 있다. 예를 들면, 보행자의 이동거리는 상술한 보행자의 걸음 판단에 따라 획득된 보행자의 총 걸음 수에 보폭을 곱하여 획득될 수 있다. 여기서, 보폭은 여성 평균 보폭 또는 남성 평균 보폭으로 정의될 수 있다.The pedestrian's moving distance may be obtained through the above-described step determination. For example, the moving distance of the pedestrian may be obtained by multiplying the total number of steps of the pedestrian obtained according to the determination of the pedestrian's steps described above by the stride length. Here, the stride length may be defined as the average stride length for women or the average stride length for men.

한편, 상술한 보행자 걸음 판단 방법은 추가적인 판단과정을 더 포함할 수 있다. 구체적으로, 보행자가 정지해 있는 상태에서 사용자 단말(100)이 회전되는 경우 걸음으로 판단되면서 오류가 발생할 수 있는데, 프로세서(120)는 이를 방지하기 위한 과정을 수행할 수 있다.Meanwhile, the above-described method of determining a pedestrian's step may further include an additional determination process. Specifically, when the user terminal 100 is rotated while the pedestrian is stopped, an error may occur as it is determined as a step, and the processor 120 may perform a process to prevent this.

도 5는 보행자가 사용자 단말(100)을 자연스럽게 흔들며 걷는 상태의 3축 가속도 그래프이다. 도 6은 보행자가 사용자 단말(100)을 지면과 평행하게 든 채로 걷는 상태의 가속도 그래프이다. 여기서, 도 5 및 도 6은 보행자의 한걸음에 해당하는 구간에 대한 3축 가속도 그래프이다.5 is a 3-axis acceleration graph in a state in which a pedestrian naturally waving and walking the user terminal 100. 6 is an acceleration graph of a pedestrian walking while holding the user terminal 100 parallel to the ground. Here, FIGS. 5 and 6 are three-axis acceleration graphs for a section corresponding to one step of a pedestrian.

도 5 및 도 6의 경우 x축, y축, z축 즉, 3축의 가속도가 일정 패턴으로 반복된다.In the case of FIGS. 5 and 6, accelerations of the x-axis, y-axis and z-axis, that is, three axes are repeated in a predetermined pattern.

도 7은 사용자 단말(100)의 길이 방향을 축으로 하여 사용자 단말(100)을 회전하는 경우로, 사용자 단말(100)에 대한 3축 가속도는 도 8과 같이 도시된다.7 is a case in which the user terminal 100 is rotated with the longitudinal direction of the user terminal 100 as an axis, and the 3-axis acceleration of the user terminal 100 is illustrated as shown in FIG. 8.

도 9는 사용자 단말(100)의 너비 방향을 축으로 하여 사용자 단말(100)을 회전하는 경우로, 사용자 단말(100)에 대한 3축 가속도는 도 10과 같이 도시된다.9 is a case in which the user terminal 100 is rotated with the width direction of the user terminal 100 as an axis, and the 3-axis acceleration of the user terminal 100 is illustrated as shown in FIG. 10.

상술한 도 5 및 도 6의 경우, 3축 가속도가 일정한 패턴을 형성하기 때문에, 구간의 시점과 종점에서 3축 가속도의 변화가 크지 않다.In the case of FIGS. 5 and 6 described above, since the 3-axis acceleration forms a constant pattern, the change in the 3-axis acceleration at the start and end of the section is not large.

이와 달리, 도 8 및 도 10의 경우, 3축 가속도가 일정한 패턴을 형성하지 못하기 때문에, 구간의 시점과 종점에서 3축 가속도의 변화가 크다.In contrast, in the case of FIGS. 8 and 10, since the 3-axis acceleration does not form a constant pattern, the change in the 3-axis acceleration is large at the start and end of the section.

즉, 도 8 및 도 10은 사용자 단말(100)이 일정 방향으로 회전하였을 때의 가속도 그래프로써 실제 걸음이 아님에도 보행자의 한 걸음으로 판단되어 오류가 발생되는 경우이다.That is, FIGS. 8 and 10 are acceleration graphs when the user terminal 100 rotates in a certain direction. Even though it is not an actual step, it is determined as one step of a pedestrian and an error occurs.

따라서, 프로세서(120)는 3축 가속도의 각 축의 가속도가 구간의 시점과 종점에서 일정한 변화 이상 변화하는 경우, 실제 걸음이 아닌 사용자 단말(100)의 회전 상태에 의해 발생한 것으로 판단할 수 있다.Accordingly, when the acceleration of each axis of the 3-axis acceleration changes by more than a certain change at the start and end points of the section, the processor 120 may determine that it is caused by the rotational state of the user terminal 100, not the actual step.

예를 들어, 프로세서(120)는 3축 가속도 중 가속도가 구간의 시점과 종점에서 기설정된 변화량이 가장 큰 축의 값이 일정 값 이상 변화하는 경우, 이를 걸음으로 판단하지 않을 수 있다. For example, the processor 120 may not determine a step when the value of the axis with the largest amount of change at the start and end points of the three-axis acceleration changes by a predetermined value or more.

이 경우, 상술한 보행자 걸음 판단 과정에서 걸음이 1회 증가 되더라도, 프로세서(120)는 이를 걸음이 아닌 것으로 판단하여 1회 증가된 걸음 횟수를 1회 감소시킬 수 있다.In this case, even if the step is increased by one in the process of determining the step of the pedestrian, the processor 120 may determine that it is not a step and decrease the number of steps that have been increased by one by one.

도 11은 본 발명의 일 실시 예에 따른 방위각 보정 방법에 대한 순서도이다.11 is a flowchart of a method for correcting an azimuth angle according to an embodiment of the present invention.

도 11을 참조하면, 프로세서(120)는 센싱부(110)의 지자기 센서를 통해 방위각을 획득할 수 있다. 일 예로, 프로세서(120)는 이전 방위각을 획득하여 저장할 수 있다(1101). 또한, 프로세서(120)는 현재 방위각을 획득하여 저장할 수 있다. 여기서, 방위각은 라디안(radian) 값으로 획득될 수 있는데, 이 경우, 프로세서(120)는 방위각에 상수 3.141592/180(radianConst)을 곱하여 방위각의 단위를 degree로 변환할 수 있다.Referring to FIG. 11, the processor 120 may acquire an azimuth angle through the geomagnetic sensor of the sensing unit 110. For example, the processor 120 may acquire and store the previous azimuth (1101). Also, the processor 120 may acquire and store the current azimuth angle. Here, the azimuth angle may be obtained as a radian value. In this case, the processor 120 may convert the unit of the azimuth angle into a degree by multiplying the azimuth angle by a constant of 3.141592/180 (radianConst).

프로세서(120) 현재 방위각이 음수일 경우 360

Figure 112019106001945-pat00002
를 더하여 방위각이 0
Figure 112019106001945-pat00003
에서 360
Figure 112019106001945-pat00004
범위가 되도록 할 수 있다(1102).If the current azimuth of the processor 120 is negative, it is 360
Figure 112019106001945-pat00002
Plus the azimuth angle is 0
Figure 112019106001945-pat00003
In 360
Figure 112019106001945-pat00004
The range can be made (1102).

프로세서(120)는 현재 방위각과 이전 방위각의 차이값을 획득할 수 있다(1103).The processor 120 may obtain a difference value between the current azimuth angle and the previous azimuth angle (1103).

프로세서(120)는 획득된 방위각의 차이값에 기초하여 방위각을 보정할 수 있다(1104).The processor 120 may correct the azimuth angle based on the obtained difference value of the azimuth angle (1104).

상술한 방위각 보정 방법에서, 센싱부(110)의 지자기 센서를 통해 획득된 방위각은 주변의 자기력으로 인해 왜곡될 수 있다. 이에 따라, 보행자의 방위가 부정확하게 측정될 수 있다.In the above-described azimuth correction method, the azimuth angle obtained through the geomagnetic sensor of the sensing unit 110 may be distorted due to magnetic force around it. Accordingly, the orientation of the pedestrian may be measured inaccurately.

이에 따라, 본 발명의 일 실시 예는 방위각을 30씩 12개 구역으로 분할하여, 각 구역에 포함되는 방위각을 해당 구역의 중간값으로 설정할 수 있다(도 12 참조).Accordingly, according to an embodiment of the present invention, by dividing the azimuth angle into 12 zones by 30, the azimuth angle included in each zone may be set as an intermediate value of the corresponding zone (see FIG. 12).

도 13은 본 발명의 일 실시 예에 따른 사용자 단말의 상태를 도시한다.13 shows a state of a user terminal according to an embodiment of the present invention.

도 13을 참조하면, Wp는 보행자가 사용자 단말(100)을 지면과 평행하게 든 채로 걷는 상태이다. Wrs는 보행자가 사용자 단말(100)을 오른손에 쥐고 자연스럽게 흔들며 걷는 상태이다. Wls는 보행자가 사용자 단말(100)을 왼손에 쥐고 자연스럽게 흔들며 걷는 상태이다.Referring to FIG. 13, Wp is a state in which a pedestrian walks while holding the user terminal 100 parallel to the ground. Wrs is a state in which a pedestrian walks while holding the user terminal 100 in his right hand. Wls is a state in which a pedestrian walks while holding the user terminal 100 in his left hand.

도 14는 본 발명의 일 실시 예에 따른 Wp-Wls 상태의 3축 가속도를 도시한다.14 illustrates a 3-axis acceleration in a Wp-Wls state according to an embodiment of the present invention.

여기서, Wp-Wls 상태는 Wp 상태 및 Wls 상태의 변환이 일어나는 상태로 정의될 수 있다.Here, the Wp-Wls state may be defined as a state in which the Wp state and the Wls state are converted.

도 14를 참조하면, 프로세서(120)는 3축 가속도 중 x축 가속도 및 z축 가속도에 기초하여 Wp 상태 또는 Wls 상태를 결정할 수 있다. 구체적으로, 프로세서(120)는 X축 가속도와 Z축 가속도를 더한 값(x+z)의 부호에 따라 Wp 상태 또는 Wls 상태를 결정할 수 있다.Referring to FIG. 14, the processor 120 may determine the Wp state or the Wls state based on the x-axis acceleration and the z-axis acceleration among the three-axis accelerations. Specifically, the processor 120 may determine the Wp state or the Wls state according to the sign of the sum of the X-axis acceleration and the Z-axis acceleration (x+z).

도 15는 (x+z)의 절대값이 더 큰 값으로 변환하는 방법을 도시한다.15 shows a method of converting the absolute value of (x+z) to a larger value.

도 15를 참조하면, (x+z)가 0보다 큰 경우, (x+z)에 제곱을 취하여

Figure 112019106001945-pat00005
을 획득하고, (x+z)가 0보다 작은 경우, (x+z)를 제곱한 값에 마이너스(-)를 취하여
Figure 112019106001945-pat00006
을 획득할 수 있다.Referring to FIG. 15, when (x+z) is greater than 0, by taking the square of (x+z)
Figure 112019106001945-pat00005
Is obtained, and if (x+z) is less than 0, minus (-) to the squared value of (x+z)
Figure 112019106001945-pat00006
Can be obtained.

도 16은 상술한

Figure 112019106001945-pat00007
Figure 112019106001945-pat00008
을 도시한다.16 is the above
Figure 112019106001945-pat00007
And
Figure 112019106001945-pat00008
Shows.

도 16을 참조하면, 상기 획득된

Figure 112019106001945-pat00009
은 Wp 상태에 대응되고,
Figure 112019106001945-pat00010
은 Wls 상태에 대응될 수 있다.16, the obtained
Figure 112019106001945-pat00009
Corresponds to the Wp state,
Figure 112019106001945-pat00010
May correspond to the Wls state.

도 17을 참조하면, Wp-Wls 상태의 변화 여부를 판단할 수 있다. Referring to FIG. 17, it may be determined whether the state of Wp-Wls is changed.

도 17에서, Pmedian은 Pmax 및 Pmin의 중간값으로 정의될 수 있다. 여기서, Pmax는 상술한

Figure 112019106001945-pat00011
의 진폭 또는
Figure 112019106001945-pat00012
의 진폭의 최대값이고, Pmin은 상술한
Figure 112019106001945-pat00013
의 진폭 또는
Figure 112019106001945-pat00014
의 진폭의 최소값으로 정의될 수 있다. 또한, P1median은 Pmax 및 Pmin의 현재 중간값이고, 및 P2median은 Pmax 및 Pmin의 이전 중간값으로 정의될 수 있다.In FIG. 17, Pmedian may be defined as an intermediate value between Pmax and Pmin. Here, Pmax is the above-described
Figure 112019106001945-pat00011
Amplitude of or
Figure 112019106001945-pat00012
Is the maximum value of the amplitude of, and Pmin is the above-described
Figure 112019106001945-pat00013
Amplitude of or
Figure 112019106001945-pat00014
Can be defined as the minimum value of the amplitude of. Further, P1median may be defined as a current median value of Pmax and Pmin, and P2median may be defined as a previous median value of Pmax and Pmin.

도 17을 참조하면, P1median

Figure 112019106001945-pat00015
Figure 112019106001945-pat00016
P2median이 0보다 큰 경우, 프로세서(120)는 Wp 상태 및 Wls 상태 변화가 없는 것으로 판단할 수 있다. 17, P1median
Figure 112019106001945-pat00015
Figure 112019106001945-pat00016
When P2median is greater than 0, the processor 120 may determine that there is no change in the Wp state and the Wls state.

P1median

Figure 112019106001945-pat00017
P2median이 0보다 크지 않은 경우, 프로세서(120)는 Wp 상태 및 Wls 상태 변화가 있는 것으로 판단할 수 있다.P1median
Figure 112019106001945-pat00017
When P2median is not greater than 0, the processor 120 may determine that there is a change in the Wp state and the Wls state.

여기서, P1median - P2median이 0보다 큰 경우, 프로세서(120)는 Wls에서 Wp 상태로 변화된 것으로 판단할 수 있다. 또는, P1median - P2median이 0보다 크지 않은 경우, 프로세서(120)는 Wp에서 Wls 상태로 변화된 것으로 판단할 수 있다.Here, when P1median-P2median is greater than 0, the processor 120 may determine that the state has changed from Wls to Wp. Alternatively, when P1median-P2median is not greater than 0, the processor 120 may determine that the state has changed from Wp to Wls.

도 18은 본 발명의 일 실시 예에 따른 Wp-Wrs 상태의 3축 가속도를 도시한다.18 illustrates a 3-axis acceleration in a Wp-Wrs state according to an embodiment of the present invention.

여기서, Wp-Wrs 상태는 Wp 상태 및 Wrs 상태의 변환이 일어나는 상태로 정의될 수 있다.Here, the Wp-Wrs state may be defined as a state in which the Wp state and the Wrs state are converted.

도 18을 참조하면, 프로세서(120)는 3축 가속도 중 x축 및 y축에 기초하여 Wp 상태 또는 Wrs 상태를 결정할 수 있다. 구체적으로, 프로세서(120)는

Figure 112019106001945-pat00018
의 크기에 따라 Wp 상태 또는 Wrs 상태를 결정할 수 있다.Referring to FIG. 18, the processor 120 may determine a Wp state or a Wrs state based on the x-axis and y-axis among the three-axis acceleration. Specifically, the processor 120
Figure 112019106001945-pat00018
Depending on the size of the Wp state or Wrs state can be determined.

도 19는 상술한

Figure 112019106001945-pat00019
을 도시한다.19 is the above
Figure 112019106001945-pat00019
Shows.

도 19를 참조하면, 상대적으로 더 큰 값은 Wrs 상태에 대응되고, 상대적으로 더 작은 값은 Wp에 대응될 수 있다.Referring to FIG. 19, a relatively larger value may correspond to a Wrs state, and a relatively smaller value may correspond to a Wp.

도 20을 참조하면, Wp-Wrs 상태의 변화 여부를 판단할 수 있다. 여기서, P1median은 Pmax 및 Pmin의 현재 평균값이고, 및 P2median은 Pmax 및 Pmin의 이전 평균값으로 정의될 수 있다.Referring to FIG. 20, it may be determined whether the state of Wp-Wrs is changed. Here, P1median may be defined as a current average value of Pmax and Pmin, and P2median may be defined as a previous average value of Pmax and Pmin.

도 20에서, P1median - P2median이 120보다 크거나 같은 경우, 프로세서(120)는 Wp 상태에서 Wrs 상태로 변화된 것으로 판단할 수 있다. In FIG. 20, when P1median-P2median is greater than or equal to 120, the processor 120 may determine that the state has changed from the Wp state to the Wrs state.

P1median - P2median이 -120보다 작은 경우, 프로세서(120)는 Wrs 상태에서 Wp 상태로 변화된 것으로 판단할 수 있다.When P1median-P2median is less than -120, the processor 120 may determine that the Wrs state has changed to the Wp state.

상술한 본 발명의 다양한 실시 예에 따르면, 사용자 단말(100)이 Wp 상태, Wls 상태 및 Wrs 상태 등으로 변하는 경우, 사용자 단말(100)의 방위각이 왜곡될 수 있는데, Wp 상태 및 Wls 상태가 서로 변환되거나, Wp 및 Wrs 상태가 서로 변환되는 상황을 정확히 판단함으로써 왜곡된 방위각을 보정할 수 있다.According to various embodiments of the present invention described above, when the user terminal 100 changes to a Wp state, a Wls state, and a Wrs state, the azimuth angle of the user terminal 100 may be distorted. It is possible to correct the distorted azimuth angle by accurately determining a situation in which the conversion or Wp and Wrs states are converted to each other.

일 예로, Wp 상태에서 Wls 상태로 변경되는 경우, 방위각이 왜곡되지 않는 경우에는 Wp 상태의 마지막 방위각과 Wls 상태의 처음 방위각이 같아야 한다. 여기서, Wp 상태의 마지막 방위각을 A, Wls 상태의 처음 방위각을 B로 가정하면 상수 k는 다음과 같이 정의될 수 있다.For example, when changing from the Wp state to the Wls state and the azimuth angle is not distorted, the last azimuth angle of the Wp state and the initial azimuth angle of the Wls state should be the same. Here, assuming that the last azimuth angle of the Wp state is A and the first azimuth angle of the Wls state is B, the constant k may be defined as follows.

Figure 112019106001945-pat00020
Figure 112019106001945-pat00020

방위각을 보정하는 경우, 해당 방위각에 상수 k를 곱함으로써 Wls 상태의 방위각을 Wp 상태의 방위각으로 보정할 수 있다.When correcting the azimuth angle, the azimuth angle of the Wls state can be corrected to the azimuth angle of the Wp state by multiplying the azimuth angle by a constant k.

상술한 본 발명의 다양한 실시 예에 따르면, 가속도의 진폭 임계값을 걸음마다 재설정하고, 걸음 판단에 있어 가속도 변화의 기울기를 고려하는 등 더 정밀하고 효율적인 보행자 걸음 판단 방법을 제공할 수 있다. 또한, 보행자 걸음 판단 방법은 사용자 단말(100)에 포함된 센서를 이용하기 때문에 추가적인 센싱 장비 없이도 상술한 보행자 걸음 판단 방법을 제공할 수 있다.According to various embodiments of the present disclosure described above, a more precise and efficient method of determining a pedestrian's walk may be provided, such as resetting the amplitude threshold of acceleration for each step and taking into account the slope of the acceleration change in determining the step. In addition, since the pedestrian walking determination method uses a sensor included in the user terminal 100, the above-described pedestrian walking determination method can be provided without additional sensing equipment.

도 21은 본 발명의 일 실시 예에 따른 사용자 단말의 세부 구성에 대한 블록도이다.21 is a block diagram of a detailed configuration of a user terminal according to an embodiment of the present invention.

도 21을 참조하면, 사용자 단말(2100)은 통신부(2110), 카메라부(2120), 저장부(2130), 센싱부(2140) 및 프로세서(2150)를 포함한다.Referring to FIG. 21, the user terminal 2100 includes a communication unit 2110, a camera unit 2120, a storage unit 2130, a sensing unit 2140, and a processor 2150.

통신부(2110)는 통신을 수행한다. 통신부(2110)는 BT(BlueTooth), WI-FI(Wireless Fidelity), Zigbee, IR(Infrared), NFC(Near Field Communication) 등과 같은 다양한 통신 방식을 통해 외부 기기와 통신을 수행할 수 있다.The communication unit 2110 performs communication. The communication unit 2110 may communicate with an external device through various communication methods such as BT (BlueTooth), WI-FI (Wireless Fidelity), Zigbee, IR (Infrared), and NFC (Near Field Communication).

카메라부(2120)는 촬영한다. 카메라부(2120)는 복수의 카메라를 포함할 수 있으며, 복수의 카메라 각각은 기설정된 영역을 촬영할 수 있다.The camera unit 2120 takes a picture. The camera unit 2120 may include a plurality of cameras, and each of the plurality of cameras may capture a preset area.

저장부(2130)는 사용자 단말(2100)을 구동시키기 위한 O/S(Operating System) 소프트웨어 모듈, 디스플레이 영역에서 제공되는 다양한 UI 화면을 구성하기 위한 데이터 등을 저장할 수 있다. 또한, 저장부(2130)는 읽고 쓰기가 가능하다.The storage unit 2130 may store an O/S (Operating System) software module for driving the user terminal 2100, data for configuring various UI screens provided in the display area, and the like. In addition, the storage unit 2130 is capable of reading and writing.

센싱부(2140)는 상술한 도 1의 센싱부(110)에 대한 설명과 중복되므로 설명을 생략한다.Since the sensing unit 2140 overlaps with the description of the sensing unit 110 of FIG. 1 described above, a description thereof will be omitted.

프로세서(2150)는 저장부(2130)에 저장된 각종 프로그램을 이용하여 전자장치(900)의 동작을 전반적으로 제어한다.The processor 2150 generally controls the operation of the electronic device 900 using various programs stored in the storage unit 2130.

구체적으로, 프로세서(2150)는 RAM(2151), ROM(2152), 메인 CPU(2153), 그래픽 처리부(2154), 제1 내지 n 인터페이스(2155-1 ~ 2155-n), 버스(2156)를 포함한다.Specifically, the processor 2150 includes a RAM 2151, a ROM 2152, a main CPU 2153, a graphics processing unit 2154, the first to n interfaces 2155-1 to 2155-n, and a bus 2156. Includes.

RAM(2151), ROM(2152), 메인 CPU(2153), 그래픽 처리부(2154), 제1 내지 n 인터페이스(2155-1 ~ 2155-n) 등은 버스(2156)를 통해 서로 연결될 수 있다. The RAM 2151, the ROM 2152, the main CPU 2153, the graphic processing unit 2154, the first to n interfaces 2155-1 to 2155-n, and the like may be connected to each other through the bus 2156.

제1 내지 n 인터페이스(2155-1 ~ 2155-n)는 상술한 각종 구성요소들과 연결된다. 인터페이스들 중 하나는 네트워크를 통해 외부 장치와 연결되는 네트워크 인터페이스가 될 수도 있다.The first to nth interfaces 2155-1 to 2155-n are connected to the above-described various components. One of the interfaces may be a network interface that is connected to an external device through a network.

메인 CPU(2153)는 저장부(2130)에 액세스하여, 저장부(2130)에 저장된 O/S를 이용하여 부팅을 수행한다. 그리고, 저장부(2130)에 저장된 각종 프로그램, 컨텐츠, 데이터 등을 이용하여 다양한 동작을 수행한다.The main CPU 2153 accesses the storage unit 2130 and performs booting using the O/S stored in the storage unit 2130. In addition, various operations are performed using various programs, contents, data, etc. stored in the storage unit 2130.

ROM(2152)에는 시스템 부팅을 위한 명령어 세트 등이 저장된다. 턴온 명령이 입력되어 전원이 공급되면, 메인 CPU(2153)는 ROM(2152)에 저장된 명령어에 따라 저장부(2150)에 저장된 O/S를 RAM(2151)에 복사하고, O/S를 실행시켜 시스템을 부팅시킨다. 부팅이 완료되면, 메인 CPU(2153)는 저장된 각종 어플리케이션 프로그램을 RAM(2151)에 복사하고, RAM(2151)에 복사된 어플리케이션 프로그램을 실행시켜 각종 동작을 수행한다.The ROM 2152 stores an instruction set for booting the system, and the like. When the turn-on command is input and power is supplied, the main CPU 2153 copies the O/S stored in the storage unit 2150 to the RAM 2151 according to the instruction stored in the ROM 2152 and executes the O/S. Boot the system. When booting is completed, the main CPU 2153 copies various stored application programs to the RAM 2151 and executes the copied application programs in the RAM 2151 to perform various operations.

그래픽 처리부(2154)는 연산부 및 렌더링부를 이용하여 아이콘, 이미지, 텍스트 등과 같은 다양한 객체를 포함하는 화면을 생성한다.The graphic processing unit 2154 generates a screen including various objects such as icons, images, and texts using an operation unit and a rendering unit.

도 22는 본 발명의 일 실시 예에 따른 아이템의 구매자를 식별하는 방법에 대한 순서도이다.22 is a flowchart illustrating a method of identifying a purchaser of an item according to an embodiment of the present invention.

도 22를 참조하면, 본 발명의 일 실시 예에 따른 보행자의 걸음을 판단하는 방법은, 기설정된 시간 간격으로 센싱되는 3축 방향의 가속도에 기초하여 현재 절대 가속도를 획득하는 과정(2201), 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득하는 과정(2202), 제1 차이값 및 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득하는 과정(2203) 및 최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 상기 보행자의 걸음 횟수를 증가시키는 과정(2204)을 포함할 수 있다.Referring to FIG. 22, the method of determining the walk of a pedestrian according to an embodiment of the present invention includes a process of acquiring a current absolute acceleration 2201 based on acceleration in the 3-axis direction sensed at a preset time interval. The process of acquiring the absolute acceleration and the first difference value of the previous absolute acceleration (2202), the process of obtaining the slope of the absolute acceleration based on the first difference value and a preset time interval (2203), and the maximum peak value and the minimum peak value If the second difference value of is greater than a preset amplitude threshold, the previous slope of the absolute acceleration is a positive value, and the current slope of the absolute acceleration is a negative value, increasing the number of steps of the pedestrian (2204). can do.

여기서, 현재 절대 가속도가 최소 피크값보다 크거나 같고, 현재 절대 가속도가 최대 피크값보다 큰 경우, 최대 피크값은 현재 절대 가속도로 설정될 수 있다.Here, when the current absolute acceleration is greater than or equal to the minimum peak value and the current absolute acceleration is greater than the maximum peak value, the maximum peak value may be set as the current absolute acceleration.

또한, 현재 절대 가속도가 최소 피크값보다 작은 경우, 최소 피크값은 현재 절대 가속도로 설정될 수 있다.In addition, when the current absolute acceleration is less than the minimum peak value, the minimum peak value may be set as the current absolute acceleration.

상술한 기설정된 진폭 임계값은, 기설정된 걸음 횟수까지 보행자의 걸음마다의 제2 차이값이 합산된 값을 기설정된 걸음 횟수로 나눈 평균값으로 설정될 수 있다.The above-described preset amplitude threshold may be set as an average value obtained by dividing a value obtained by adding a second difference value for each step of a pedestrian up to a preset number of steps by a preset number of steps.

상술한 본 발명의 일 실시 예에서, 상술한 평균값이 기설정된 진폭 임계값보다 큰 경우, 기설정된 진폭 임계값은 상술한 평균값으로 설정될 수 있다.In the embodiment of the present invention described above, when the above-described average value is greater than the preset amplitude threshold value, the preset amplitude threshold value may be set to the above-described average value.

여기서, 보행자의 걸음 횟수가 증가된 경우, 최소 피크값은 최대 피크값으로 설정되고, 최대 피크값은 0으로 설정될 수 있다.Here, when the number of steps of a pedestrian is increased, the minimum peak value may be set to the maximum peak value, and the maximum peak value may be set to 0.

또한, 보행자의 걸음 횟수가 증가된 경우, 이전 절대 가속도는 현재 절대 가속도로 설정되고, 이전 기울기는 현재 기울기로 설정될 수 있다.In addition, when the number of steps of the pedestrian is increased, the previous absolute acceleration may be set as the current absolute acceleration, and the previous slope may be set as the current slope.

한편, 상술한 본 개시의 다양한 실시 예들에 따른 보행자의 걸음을 판단하는 방법은 컴퓨터로 실행 가능한 프로그램 코드로 구현되어 다양한 비 일시적 판독 가능 매체(non-transitory computer readable medium)에 저장된 상태로 프로세서에 의해 실행되도록 각 서버 또는 기기들에 제공될 수 있다. On the other hand, the method for determining the walk of a pedestrian according to various embodiments of the present disclosure described above is implemented as a program code executable by a computer and stored in various non-transitory computer readable media by a processor. It may be provided to each server or devices to be executed.

일 예로, 기설정된 시간 간격으로 센싱되는 3축 방향의 가속도에 기초하여 현재 절대 가속도를 획득하는 과정, 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득하는 과정, 제1 차이값 및 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득하는 과정 및 최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 상기 보행자의 걸음 횟수를 증가시키는 과정을 수행하는 프로그램이 저장된 비일시적 판독 가능 매체(non-transitory computer readable medium)가 제공될 수 있다.As an example, a process of acquiring a current absolute acceleration based on acceleration in a 3-axis direction sensed at a preset time interval, a process of acquiring a first difference value between the current absolute acceleration and the previous absolute acceleration, a first difference value and a preset The process of obtaining the slope of the absolute acceleration based on the time interval, and the second difference value between the maximum peak value and the minimum peak value is greater than a preset amplitude threshold, the previous slope of the absolute acceleration is a positive value, and the current of the absolute acceleration. When the slope is a negative value, a non-transitory computer readable medium in which a program for increasing the number of steps of the pedestrian is stored may be provided.

비 일시적 판독 가능 매체란 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상술한 다양한 어플리케이션 또는 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리카드, ROM 등과 같은 비일시적 판독 가능 매체에 저장되어 제공될 수 있다. The non-temporary readable medium refers to a medium that stores data semi-permanently and can be read by a device, rather than a medium that stores data for a short moment, such as a register, cache, and memory. Specifically, the above-described various applications or programs may be provided by being stored in a non-transitory readable medium such as a CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM, or the like.

또한, 이상에서는 본 개시의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 개시는 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 개시의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 개시의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although the preferred embodiments of the present disclosure have been illustrated and described above, the present disclosure is not limited to the specific embodiments described above, and the technical field to which the present invention belongs without departing from the gist of the present disclosure claimed in the claims. In addition, various modifications are possible by those of ordinary skill in the art, and these modifications should not be individually understood from the technical idea or perspective of the present disclosure.

사용자 단말: 100
센싱부: 110
프로세서: 120
User Terminal: 100
Sensing unit: 110
Processor: 120

Claims (14)

사용자 단말에서 수행되는, 보행자의 걸음을 판단하는 방법에 있어서,
기설정된 시간 간격으로 센싱되는 3축 방향의 가속도에 기초하여 현재 절대 가속도를 획득하는 과정;
상기 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득하는 과정;
상기 제1 차이값 및 상기 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득하는 과정; 및
최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 상기 보행자의 걸음 횟수를 증가시키는 과정;을 포함하는, 보행자의 걸음 판단 방법.
In a method for determining a pedestrian's step, performed in a user terminal,
Obtaining a current absolute acceleration based on the acceleration in the three-axis direction sensed at a preset time interval;
Obtaining a first difference value between the current absolute acceleration and the previous absolute acceleration;
Obtaining a slope of absolute acceleration based on the first difference value and the preset time interval; And
If the second difference between the maximum peak value and the minimum peak value is greater than the preset amplitude threshold, the previous slope of absolute acceleration is positive, and the current slope of absolute acceleration is negative, the number of steps of the pedestrian is increased. The process of letting; containing, a method of determining the pedestrian's step.
제1항에 있어서,
상기 현재 절대 가속도가 상기 최소 피크값보다 크거나 같고, 상기 현재 절대 가속도가 상기 최대 피크값보다 큰 경우, 상기 최대 피크값은 상기 현재 절대 가속도로 설정되는, 보행자의 걸음 판단 방법.
The method of claim 1,
When the current absolute acceleration is greater than or equal to the minimum peak value and the current absolute acceleration is greater than the maximum peak value, the maximum peak value is set as the current absolute acceleration.
제1항 또는 제2항에 있어서,
상기 현재 절대 가속도가 상기 최소 피크값보다 작은 경우, 상기 최소 피크값은 상기 현재 절대 가속도로 설정되는, 보행자의 걸음 판단 방법.
The method according to claim 1 or 2,
When the current absolute acceleration is less than the minimum peak value, the minimum peak value is set as the current absolute acceleration.
제1항에 있어서,
상기 기설정된 진폭 임계값은,
기설정된 걸음 횟수까지 상기 보행자의 걸음마다의 상기 제2 차이값이 합산된 값을 상기 기설정된 걸음 횟수로 나눈 평균값으로 설정되는, 보행자의 걸음 판단 방법.
The method of claim 1,
The preset amplitude threshold is,
The step determination method of a pedestrian is set as an average value obtained by dividing the sum of the second difference value for each step of the pedestrian up to a preset number of steps by the preset number of steps.
제4항에 있어서,
상기 평균값이 상기 기설정된 진폭 임계값보다 큰 경우, 상기 기설정된 진폭 임계값은 상기 평균값으로 설정되는, 보행자의 걸음 판단 방법.
The method of claim 4,
When the average value is greater than the preset amplitude threshold value, the preset amplitude threshold value is set to the average value.
제1항에 있어서,
상기 보행자의 상기 걸음 횟수가 증가된 경우, 상기 최소 피크값은 상기 최대 피크값으로 설정되고, 상기 최대 피크값은 0으로 설정되는, 보행자의 걸음 판단 방법.
The method of claim 1,
When the number of steps of the pedestrian is increased, the minimum peak value is set to the maximum peak value, and the maximum peak value is set to 0.
제6항에 있어서,
상기 보행자의 상기 걸음 횟수가 증가된 경우, 상기 이전 절대 가속도는 상기 현재 절대 가속도로 설정되고, 상기 이전 기울기는 상기 현재 기울기로 설정되는, 보행자의 걸음 판단 방법.
The method of claim 6,
When the number of steps of the pedestrian is increased, the previous absolute acceleration is set as the current absolute acceleration, and the previous slope is set as the current slope.
사용자 단말에 있어서,
센싱부; 및
기설정된 시간 간격으로 센싱되는 3축 방향의 가속도에 기초하여 현재 절대 가속도를 획득하고,
상기 현재 절대 가속도 및 이전 절대 가속도의 제1 차이값을 획득하고, 상기 제1 차이값 및 상기 기설정된 시간 간격에 기초하여 절대 가속도의 기울기를 획득하고,
최대 피크값 및 최소 피크값의 제2 차이값이 기설정된 진폭 임계값보다 크고, 절대 가속도의 이전 기울기가 양의 값이고, 절대 가속도의 현재 기울기가 음의 값인 경우, 보행자의 걸음 횟수를 증가시키는 프로세서;를 포함하는, 사용자 단말.
In the user terminal,
Sensing unit; And
Acquires the current absolute acceleration based on the acceleration in the 3-axis direction sensed at a preset time interval,
Obtaining a first difference value between the current absolute acceleration and the previous absolute acceleration, obtaining a slope of the absolute acceleration based on the first difference value and the preset time interval,
If the second difference value between the maximum peak value and the minimum peak value is greater than the preset amplitude threshold, the previous slope of the absolute acceleration is positive, and the current slope of the absolute acceleration is negative, the number of steps of pedestrians is increased. Including; a user terminal.
제8항에 있어서,
상기 현재 절대 가속도가 상기 최소 피크값보다 크거나 같고, 상기 현재 절대 가속도가 상기 최대 피크값보다 큰 경우, 상기 최대 피크값은 상기 현재 절대 가속도로 설정되는, 사용자 단말.
The method of claim 8,
When the current absolute acceleration is greater than or equal to the minimum peak value and the current absolute acceleration is greater than the maximum peak value, the maximum peak value is set as the current absolute acceleration.
제8항 또는 제9항에 있어서,
상기 현재 절대 가속도가 상기 최소 피크값보다 작은 경우, 상기 최소 피크값은 상기 현재 절대 가속도로 설정되는, 사용자 단말.
The method according to claim 8 or 9,
When the current absolute acceleration is less than the minimum peak value, the minimum peak value is set as the current absolute acceleration.
제8항에 있어서,
상기 기설정된 진폭 임계값은,
기설정된 걸음 횟수까지 상기 보행자의 걸음마다의 상기 제2 차이값이 합산된 값을 상기 기설정된 걸음 횟수로 나눈 평균값으로 설정되는, 사용자 단말.
The method of claim 8,
The preset amplitude threshold is,
The user terminal is set as an average value obtained by dividing the sum of the second difference value for each step of the pedestrian up to a preset number of steps by the preset number of steps.
제11항에 있어서,
상기 평균값이 상기 기설정된 진폭 임계값보다 큰 경우, 상기 기설정된 진폭 임계값은 상기 평균값으로 설정되는, 사용자 단말.
The method of claim 11,
When the average value is greater than the preset amplitude threshold value, the preset amplitude threshold value is set to the average value.
제8항에 있어서,
상기 보행자의 상기 걸음 횟수가 증가된 경우, 상기 최소 피크값은 상기 최대 피크값으로 설정되고, 상기 최대 피크값은 0으로 설정되는, 사용자 단말.
The method of claim 8,
When the number of steps of the pedestrian is increased, the minimum peak value is set to the maximum peak value, and the maximum peak value is set to 0.
제13항에 있어서,
상기 보행자의 상기 걸음 횟수가 증가된 경우, 상기 이전 절대 가속도는 상기 현재 절대 가속도로 설정되고, 상기 이전 기울기는 상기 현재 기울기로 설정되는, 사용자 단말.
The method of claim 13,
When the number of steps of the pedestrian is increased, the previous absolute acceleration is set as the current absolute acceleration, and the previous slope is set as the current slope.
KR1020190129105A 2019-10-17 2019-10-17 Method for identifying pedestrian steps and user terminal thereof KR102238989B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190129105A KR102238989B1 (en) 2019-10-17 2019-10-17 Method for identifying pedestrian steps and user terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190129105A KR102238989B1 (en) 2019-10-17 2019-10-17 Method for identifying pedestrian steps and user terminal thereof

Publications (1)

Publication Number Publication Date
KR102238989B1 true KR102238989B1 (en) 2021-04-09

Family

ID=75444142

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190129105A KR102238989B1 (en) 2019-10-17 2019-10-17 Method for identifying pedestrian steps and user terminal thereof

Country Status (1)

Country Link
KR (1) KR102238989B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113790735A (en) * 2021-08-20 2021-12-14 北京自动化控制设备研究所 Pedestrian single-step division method in complex motion state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100571849B1 (en) * 2005-02-04 2006-04-17 삼성전자주식회사 Method and apparatus for counting the number of times of walking of a walker
JP2008250964A (en) * 2007-03-30 2008-10-16 Matsushita Electric Works Ltd Pedometer
KR20090081122A (en) * 2008-01-23 2009-07-28 연세대학교 산학협력단 step counting apparatus embedded in the mobile tools and step counting method using step counting apparatus
JP2010033337A (en) * 2008-07-29 2010-02-12 Kyocera Corp Portable apparatus, method for counting number of step and method for detecting gravity direction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100571849B1 (en) * 2005-02-04 2006-04-17 삼성전자주식회사 Method and apparatus for counting the number of times of walking of a walker
JP2008250964A (en) * 2007-03-30 2008-10-16 Matsushita Electric Works Ltd Pedometer
KR20090081122A (en) * 2008-01-23 2009-07-28 연세대학교 산학협력단 step counting apparatus embedded in the mobile tools and step counting method using step counting apparatus
JP2010033337A (en) * 2008-07-29 2010-02-12 Kyocera Corp Portable apparatus, method for counting number of step and method for detecting gravity direction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113790735A (en) * 2021-08-20 2021-12-14 北京自动化控制设备研究所 Pedestrian single-step division method in complex motion state
CN113790735B (en) * 2021-08-20 2023-09-12 北京自动化控制设备研究所 Pedestrian single-step dividing method under complex motion state

Similar Documents

Publication Publication Date Title
JP6674791B2 (en) Congestion degree estimation method, number of persons estimation method, congestion degree estimation program, number of persons estimation program, and number of persons estimation system
Zhou et al. Use it free: Instantly knowing your phone attitude
JP6665572B2 (en) Control program, control method, and computer
US20170003133A1 (en) Applying a correct factor derivative method for determining an orientation of a portable electronic device based on sense gravitation component linear accelerate filter data obtained
JP6537203B2 (en) Application program uninstall method and apparatus
JP6592245B2 (en) Estimating the direction of user movement on mobile devices
US10359289B2 (en) Device state estimation under periodic motion
WO2015006084A1 (en) Intelligent map combination for venues enabling indoor positioning
KR20160025687A (en) Wearable watch and display method thereof
Dabove et al. Inertial sensors for smartphones navigation
TWI514170B (en) System and method for dynamically adjusting font size of electronic device
US10045155B2 (en) User terminal apparatus and controlling method thereof
WO2014147544A1 (en) Recalibrating an inertial navigation system
US20200158533A1 (en) Step-length calculating device, portable terminal, position-information providing system, step-length calculating device control method, and program
JP6867254B2 (en) Measuring devices, navigation systems, measuring methods and programs
US20140194138A1 (en) Constraining inertial navigation system solution according to pedometrical data
KR102407095B1 (en) Apparatus and method for measuring blood pressure
KR102238989B1 (en) Method for identifying pedestrian steps and user terminal thereof
JP6085375B2 (en) Traveling direction determination device, map matching device, traveling direction determination method, and program
KR101523147B1 (en) Indoor Positioning Device and Method
KR102652232B1 (en) Method for correcting a sensor and direction information obtained via the sensor based on another direction information obtained via the satellite positioning circuit and electronic device thereof
US10197402B2 (en) Travel direction information output apparatus, map matching apparatus, travel direction information output method, and computer readable medium
KR102578119B1 (en) Smart glasses operation method interworking to mobile device
KR102508826B1 (en) User terminal apparatus and control method thereof
US9389318B2 (en) Self-position measuring terminal

Legal Events

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