[go: up one dir, main page]

WO2018218747A1 - Indoor positioning method and system - Google Patents

Indoor positioning method and system Download PDF

Info

Publication number
WO2018218747A1
WO2018218747A1 PCT/CN2017/092768 CN2017092768W WO2018218747A1 WO 2018218747 A1 WO2018218747 A1 WO 2018218747A1 CN 2017092768 W CN2017092768 W CN 2017092768W WO 2018218747 A1 WO2018218747 A1 WO 2018218747A1
Authority
WO
WIPO (PCT)
Prior art keywords
footstep
sig
signal
module
segment
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2017/092768
Other languages
French (fr)
Chinese (zh)
Inventor
伍楷舜
陈文强
王璐
关茂拧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
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 Shenzhen University filed Critical Shenzhen University
Publication of WO2018218747A1 publication Critical patent/WO2018218747A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves

Definitions

  • the present invention relates to the field of information processing and indoor positioning technology, and in particular, to an indoor positioning method and system.
  • the existing indoor positioning technologies include infrared technology, Bluetooth technology, computer vision technology, radio frequency identification technology, WIFI technology, ZigBee technology, UWB technology and ultrasonic technology.
  • the technology with the highest positioning accuracy is UWB and laser technology, but the cost of UWB is too high.
  • the laser is easily blocked.
  • indoor positioning systems mostly use RF or sound signals to achieve positioning, but in complex environments, these signals have serious multipath effects.
  • the invention provides an indoor positioning method, comprising the following steps:
  • receiving step receiving a footstep sound vibration signal collected by the probe
  • the estimating step uses a PCC algorithm to estimate the delay
  • the S2. detecting step comprises:
  • the receiving head receives the footstep vibration signal and performs Wiener filtering on the signal
  • the S3. estimating step comprises:
  • x takes n points from p 1 forward and complements (p 1 -p min ) zeros for time synchronization. According to experience, n' points are taken backwards, and p 1 constitutes signal 1. Recorded as sig 1 ;
  • the S4. processing steps include:
  • S41 Determine, by using an S3. estimation step, a time difference that the footstep vibration signal reaches three or more receiving heads;
  • the algorithm for positioning using the time difference of arrival calculates the precise coordinates of the footstep vibration signal.
  • the method includes:
  • the entire endpoint detection is divided into four segments: a silent segment, a transition segment, a signal segment, and an end;
  • the program uses a variable Status to indicate the current state
  • the initial segment of the signal is a silent segment. If the short-term energy exceeds the low threshold, the starting point is marked and the transition segment is entered;
  • the first and last sample points cut out are marked as x 0 and x' 0 ;
  • the weight is assigned to re-adjust the starting point of the footstep sound to y i ( i ⁇ 2), and the adjustment formula is as follows:
  • M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep.
  • Interval so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the iterative process of EMA, the proportion of M decreases rapidly according to the exponential decay model;
  • the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking speed greatly
  • M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.
  • the invention also provides an indoor positioning system, comprising:
  • a receiving module configured to receive a footstep vibration signal collected by the probe
  • a detection module for detecting and correcting a footstep vibration signal by using a SWIM model
  • a processing module is configured to determine a precise position of the target according to the positioning algorithm.
  • the detecting module comprises:
  • a first detecting module configured to receive a footstep vibration signal by the receiving head, and perform Wiener filtering thereon;
  • a second detecting module configured to calculate a short-time energy of the footstep vibration signal
  • a third detecting module configured to initially detect a starting point and an ending point of the footstep sound by using a double threshold end point detection method based on short-time energy
  • a fourth detecting module configured to combine the footstep interval and assign a weight to re-adjust the starting point of the footstep sound
  • the fifth detection module is used for real-time correction of the SWIM model.
  • the estimating module comprises:
  • a first estimating module configured to detect respective peaks of the footstep vibration signal x, and find the position of the first peak, denoted as p 1 ;
  • a second estimating module configured to find a position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ;
  • a third estimation module for taking the smaller of p 1 and p 2 , denoted as p min ;
  • the fourth estimation module is configured to take n points from p 1 forward according to experience, and perform time synchronization by adding (p 1 -p min ) zeros forward, and take n' points backward according to experience, and p 1 constitutes signal 1, recorded as sig 1 ;
  • a fifth estimation module configured to take n points from p 2 forward for x′, and perform time synchronization by adding (p 2 -p min ) zeros forward, and then taking n′ points backward, and consisting of p 2 Signal 2, denoted as sig 2 ;
  • a sixth estimating module configured to respectively determine the lengths of sig 1 and sig 2 , and the larger values recorded as l 1 , l 2 , l 1 , and l 2 are denoted as l max ;
  • Seventh estimation module configured to complement the length of the rearwardly sig 1 (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align the sig 1 and sig 2;
  • An eighth estimation module is configured to perform delay estimation on sig 1 and sig 2 by using GCC.
  • the processing module includes:
  • a first processing module configured to determine, by using the estimation module, a time difference that the footstep vibration signal reaches three or more receiving heads;
  • the second processing module is configured to calculate an accurate coordinate of the footstep vibration signal by using an algorithm for positioning the time difference of arrival.
  • the third detecting module comprises:
  • a first detection processing unit configured to set a maximum value of the short-time energy of the noise as a low threshold of the energy, and set a maximum of 1/2 of the maximum value of the footstep energy as a high threshold of the energy;
  • a second detection processing unit for setting two parameters: a longest length of the silence and a shortest length of the signal
  • the third detection processing unit is configured to divide the entire endpoint into four segments: a silent segment, a transition segment, a signal segment, and an end;
  • the fourth detection processing unit uses a variable Status to indicate the current state
  • the fifth detection processing unit the initial segment of the signal is a silent segment, and if the short-term energy exceeds the low threshold, the marker starting point is entered and the transition segment is entered;
  • the sixth detection processing unit in the transition section, cannot be sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum silence length, the mode is restored to the mute state;
  • the seventh detection processing unit if there is a high threshold in the transition section, is sure to enter the signal segment;
  • the eighth detection processing unit considers that the noise is discarded if the length of the final segment is less than the minimum signal length
  • the ninth detection processing unit the first and last sample points cut out are marked as x 0 and x' 0 ;
  • the eleventh detection processing unit obtains a starting point x i of the i+1 footsteps, an end point x' i and an interval d i+1 thereof , wherein i ⁇ 0;
  • M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep.
  • Interval so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the iterative process of EMA, the proportion of M decreases rapidly according to the exponential decay model;
  • the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking greatly At the speed, we let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.
  • the invention has the beneficial effects that the invention can realize high-precision indoor positioning in a complex environment with a positioning accuracy of up to 7 cm; the proposed footstep sound detecting method (SWIM model) can realize a complicated environment without prior training.
  • the detection and correction of the footstep vibration signal has a detection accuracy of up to 98%.
  • the proposed time delay estimation algorithm (PCC) solves the problem that the generalized cross-correlation method (GCC) has a large delay estimation error due to multipath effect.
  • Figure 1 is a schematic diagram of the generation process of the multipath effect.
  • Figure 2 is a graph of various peaks of the footstep vibration signal.
  • Figure 3 is a schematic diagram of an indoor positioning method in a complex indoor environment by human footstep vibration signals.
  • the invention discloses an indoor positioning method, comprising the following steps:
  • receiving step receiving a footstep sound vibration signal collected by the probe
  • the estimating step uses a PCC algorithm to estimate the delay
  • the footstep vibration signal includes a human footstep vibration signal, an animal's footstep vibration signal, and a footstep vibration signal generated by the artificial machine.
  • the receiving probe can be a geophone Geophone or other vibration signal sensor.
  • the indoor environment positioning method and system of the present invention can be deployed on the ground of a complex indoor environment.
  • SWIM model The walking weight based adaptive Weight Increment Model (SWIM).
  • PCC algorithm Maximum cross-correlation algorithm Peak Cross Correlation (PCC).
  • the next level of the Geophone signal amplifier is used to amplify the footstep vibration signal collected by the Geophone;
  • the lower stage of the signal amplifier is connected to the AD analog-to-digital converter for converting the acquired footstep vibration signal into a digital signal;
  • the next level of the AD analog-to-digital converter is connected to the Raspberry Pi to control the acquisition and preservation of footstep vibration signals.
  • the S2. detecting step includes:
  • the receiving head receives the footstep vibration signal and performs Wiener filtering on the signal
  • the S3. estimating step includes:
  • x takes n points from p 1 forward and complements (p 1 -p min ) zeros for time synchronization. According to experience, n' points are taken backwards, and p 1 constitutes signal 1. Recorded as sig 1 ;
  • the S4. processing steps include:
  • S41 Determine, by using an S3. estimation step, a time difference that the footstep vibration signal reaches three or more receiving heads;
  • the method includes:
  • the entire endpoint detection is divided into four segments: a silent segment, a transition segment, a signal segment, and an end;
  • the start of the acquired footstep vibration signal is a silent segment, and the program uses a variable Status to indicate the current state;
  • the initial segment of the signal is a silent segment. If the short-term energy exceeds the low threshold E s , the starting point is marked and the transition segment is entered;
  • the weight is assigned to re-adjust the starting point of the footstep sound to y i ( i ⁇ 2), and the adjustment formula is as follows:
  • M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep.
  • Interval so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the EMA iterative process, the proportion of M decreases rapidly according to the exponential decay model.
  • the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking speed greatly
  • M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.
  • the invention also discloses an indoor positioning system, comprising:
  • a receiving module configured to receive a footstep vibration signal collected by the probe
  • a detection module for detecting and correcting a footstep vibration signal by using a SWIM model
  • a processing module is configured to determine a precise position of the target according to the positioning algorithm.
  • the detection module includes:
  • a first detecting module configured to receive a footstep vibration signal by the receiving head, and perform Wiener filtering thereon;
  • a second detecting module for calculating short-term energy of the footstep vibration signal, short-time energy Calculated as follows:
  • a third detecting module configured to initially detect a starting point and an ending point of the footstep sound by using a double threshold end point detection method based on short-time energy
  • a fourth detecting module configured to combine the footstep interval and assign a weight to re-adjust the starting point of the footstep sound
  • the fifth detection module is used for real-time correction of the SWIM model.
  • the estimation module includes:
  • a first estimating module for detecting respective peaks of the footstep vibration signal x, as shown in FIG. 2, and finding the position of the first peak, denoted as p 1 ;
  • a second estimating module configured to find a position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ;
  • a third estimation module for taking the smaller of p 1 and p 2 , denoted as p min ;
  • the fourth estimation module is configured to take n points from p 1 forward according to experience, and perform time synchronization by adding (p 1 -p min ) zeros forward, and take n' points backward according to experience, and p 1 constitutes signal 1, recorded as sig 1 ;
  • a fifth estimation module configured to take n points from p 2 forward for x′, and perform time synchronization by adding (p 2 -p min ) zeros forward, and then taking n′ points backward, and consisting of p 2 Signal 2, denoted as sig 2 ;
  • a sixth estimating module configured to respectively determine the lengths of sig 1 and sig 2 , and the larger values recorded as l 1 , l 2 , l 1 , and l 2 are denoted as l max ;
  • Seventh estimation module configured to complement the length of the rearwardly sig 1 (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align the sig 1 and sig 2;
  • An eighth estimation module is configured to perform delay estimation on sig 1 and sig 2 by using GCC.
  • the processing module includes:
  • a first processing module configured to determine, by using the estimation module, a time difference that the footstep vibration signal reaches three or more receiving heads;
  • the second processing module is configured to calculate an accurate coordinate of the footstep vibration signal by using an algorithm for positioning the time difference of arrival.
  • the third detecting module includes:
  • a first detection processing unit configured to set a maximum value of the short-time energy of the noise as a low threshold of the energy, and set a maximum of 1/2 of the maximum value of the footstep energy as a high threshold of the energy;
  • a second detection processing unit for setting two parameters: a longest length of the silence and a shortest length of the signal
  • the third detection processing unit is configured to divide the entire endpoint into four segments: a silent segment, a transition segment, a signal segment, and an end;
  • the fourth detection processing unit uses a variable Status to indicate the current state
  • the fifth detection processing unit the initial segment of the signal is a silent segment, and if the short-term energy exceeds the low threshold, the marker starting point is entered and the transition segment is entered;
  • the sixth detection processing unit in the transition section, cannot be sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum silence length, the mode is restored to the mute state;
  • the seventh detection processing unit if there is a high threshold in the transition section, is sure to enter the signal segment;
  • the eighth detection processing unit considers that the noise is discarded if the length of the final segment is less than the minimum signal length
  • the ninth detection processing unit the first and last sample points cut out are marked as x 0 and x' 0 ;
  • the eleventh detection processing unit obtains a starting point x i , an ending point x' i of i+1 footsteps, and an interval d i+1 thereof , where i ⁇ 0.
  • M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep.
  • Interval so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the EMA iterative process, the proportion of M decreases rapidly according to the exponential decay model.
  • the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking greatly At the speed, we let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.
  • the invention realizes the positioning of the human by collecting the footstep vibration of the walking by the geophone.
  • the footstep vibration propagates along the ground, and does not encounter obstacles such as furniture when traveling in the air to cause multipath reflection to affect the positioning effect.
  • the present invention designs a SWIM model to detect footsteps, and designs a PCC algorithm to estimate delay and position.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

Provided in the present invention are an indoor positioning method and system, the positioning method comprising: S1. a receiving step, receiving a footstep sound vibration signal which is collected by a probe; S2. a detection step, using a SWIM model to detect the footstep sound vibration signal and performing correction; S3. an estimation step, using a PCC algorithm to estimate a time delay; S4. a processing step, determining an accurate target location according to a positioning algorithm. The benefits of the present invention are as follows: the present invention collects footstep sound vibrations during walking by means of a seismic detector to achieve positioning of a person; footstep sound vibrations spread along a floor surface, thus not encountering furniture and like obstacles, which occurs when vibrations spread in the air and which produces multi-path reflection that influences positioning efficiency. In order to achieve accurate positioning, a SWIM model is designed in the present invention to detect footstep sounds and a PCC algorithm is designed to estimate time delays and to perform positioning.

Description

一种室内的定位方法及系统Indoor positioning method and system 技术领域Technical field

本发明涉及信息处理和室内定位技术领域,尤其涉及一种室内的定位方法及系统。The present invention relates to the field of information processing and indoor positioning technology, and in particular, to an indoor positioning method and system.

背景技术Background technique

现有室内定位技术有红外线技术、蓝牙技术、计算机视觉技术、射频识别技术、WIFI技术、ZigBee技术,UWB技术和超声波技术等,其中定位精度最高的技术是UWB和激光技术,但UWB成本太高,激光则容易被遮挡。目前室内定位系统多采用RF或声音信号来实现定位,但在复杂环境下,这些信号都存在着严重地多径效应,请参阅附图1,附图1举例说明了多径效应的产生过程;信号的多径效应严重地干扰了距离的计算,导致在复杂环境下的定位精度普遍不高;为了减弱多径效应,现有的室内定位技术大都要求空旷的室内环境,而现实中,我们的应用场景都会有很多障碍物,所以这导致了室内定位技术还迟迟没有大范围地应用于我们的生活中;同时在实际应用中,由于室内环境复杂多变,干扰因素较多,信号的检测也成为一种挑战,而且即使成功地检测到了需要定位的信号,由于多径效应的影响,要想精确地估计时延也成为一种难题。The existing indoor positioning technologies include infrared technology, Bluetooth technology, computer vision technology, radio frequency identification technology, WIFI technology, ZigBee technology, UWB technology and ultrasonic technology. The technology with the highest positioning accuracy is UWB and laser technology, but the cost of UWB is too high. The laser is easily blocked. At present, indoor positioning systems mostly use RF or sound signals to achieve positioning, but in complex environments, these signals have serious multipath effects. Please refer to Figure 1, which illustrates the generation process of multipath effects; The multipath effect of the signal seriously interferes with the calculation of the distance, resulting in the positioning accuracy in the complex environment is generally not high; in order to reduce the multipath effect, the existing indoor positioning technology mostly requires an open indoor environment, but in reality, our There are many obstacles in the application scenario, so this has led to the delay in the application of indoor positioning technology to our lives. At the same time, in practical applications, due to the complex and varied indoor environment, many interference factors, signal detection It has also become a challenge, and even if the signal that needs to be located is successfully detected, it is a problem to accurately estimate the delay due to the influence of multipath effects.

发明内容Summary of the invention

本发明提供了一种室内的定位方法,包括如下步骤:The invention provides an indoor positioning method, comprising the following steps:

S1.接收步骤,接收探头采集的脚步声振动信号;S1. receiving step, receiving a footstep sound vibration signal collected by the probe;

S2.检测步骤,采用SWIM模型检测脚步声振动信号并校正;S2. detecting step, using SWIM model to detect footstep sound vibration signal and correcting;

S3.估计步骤,采用PCC算法来估计时延;S3. The estimating step uses a PCC algorithm to estimate the delay;

S4.处理步骤,根据定位算法求出目标精确位置。S4. Processing step, determining the precise position of the target according to the positioning algorithm.

作为本发明的进一步改进,所述S2.检测步骤包括:As a further improvement of the present invention, the S2. detecting step comprises:

S21.接收头接收到脚步声振动信号,并对其进行维纳滤波;S21. The receiving head receives the footstep vibration signal and performs Wiener filtering on the signal;

S22.计算出脚步声振动信号的短时能量;S22. Calculating the short-time energy of the footstep vibration signal;

S23.用基于短时能量的双门限端点检测法来初步检测出脚步声的起点和终点;S23. Initially detecting the start and end points of the footsteps using a double threshold endpoint detection method based on short-term energy;

S24.结合脚步声间隔,分配权重来重新调整脚步声的起点;S24. Combining the footstep interval, assigning weights to re-adjust the starting point of the footsteps;

S25.对SWIM模型进行实时校正。S25. Real-time correction of the SWIM model.

作为本发明的进一步改进,所述S3.估计步骤包括: As a further improvement of the present invention, the S3. estimating step comprises:

S31.检测出脚步声振动信号x的各个峰值,并找出第一个峰值的位置,记为p1S31. Detecting respective peaks of the footstep vibration signal x, and finding the position of the first peak, denoted as p 1 ;

S32.找出另一个接收头接收到的同一个脚步声x'的第一个峰值的位置,记为p2S32. Find the position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ;

S33.取p1和p2中的较小值,记为pminS33. Take the smaller of p 1 and p 2 and record it as p min ;

S34.根据经验对x从p1向前取n个点,并向前补(p1-pmin)个零进行时间同步,根据经验向后取n'个点,与p1组成信号1,记为sig1S34. According to experience, x takes n points from p 1 forward and complements (p 1 -p min ) zeros for time synchronization. According to experience, n' points are taken backwards, and p 1 constitutes signal 1. Recorded as sig 1 ;

S35.对x'从p2向前取n个点,并向前补(p2-pmin)个零进行时间同步,再向后取n'个点,与p2组成信号2,记为sig2S35. Take n points from p 2 forward, and make up time (p 2 -p min ) zeros for time synchronization, then take n' points backward, and p 2 constitutes signal 2, recorded as Sig 2 ;

S36.分别求出sig1和sig2的长度,记为l1、l2,l1、l2中较大的值记为lmaxS36. Find the lengths of sig 1 and sig 2 respectively, and record that the larger values of l 1 , l 2 , l 1 , and l 2 are denoted as l max ;

S37.对sig1向后补(lmax-l1)个零,对sig2向后补(lmax-l2)个零,用于对齐sig1和sig2的长度;. S37 rearwardly to fill a sig (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align sig sig 1 and 2 of the length;

S38.利用GCC对sig1和sig2进行时延估计。S38. Using GCC to perform delay estimation on sig 1 and sig 2 .

作为本发明的进一步改进,所述S4.处理步骤包括:As a further improvement of the present invention, the S4. processing steps include:

S41.通过S3.估计步骤求出脚步声振动信号到达三个或三个以上接收头的时间差;S41. Determine, by using an S3. estimation step, a time difference that the footstep vibration signal reaches three or more receiving heads;

S42.利用到达时间差进行定位的算法计算出脚步声振动信号的精确坐标。S42. The algorithm for positioning using the time difference of arrival calculates the precise coordinates of the footstep vibration signal.

作为本发明的进一步改进,在所述步骤S23中,包括:As a further improvement of the present invention, in the step S23, the method includes:

S231.设置噪音短时能量的最大值为能量的低门限,设置脚步声能量最大值的1/2为能量的高门限;S231. Setting the maximum value of the short-time energy is the low threshold of the energy, and setting the maximum value of the footstep energy to 1/2 is the high threshold of the energy;

S232.设置两个参数:静音的最长长度和信号的最短长度;S232. Set two parameters: the longest length of the silence and the shortest length of the signal;

S233.整个端点检测分为4段:静音段、过渡段、信号段、结束;S233. The entire endpoint detection is divided into four segments: a silent segment, a transition segment, a signal segment, and an end;

S234.程序用一个变量Status表示当前所处状态;S234. The program uses a variable Status to indicate the current state;

S235.信号的初始段为静音段,如果短时能量超过了低门限,就开始标记起点,进入过渡段;S235. The initial segment of the signal is a silent segment. If the short-term energy exceeds the low threshold, the starting point is marked and the transition segment is entered;

S236.在过渡段中,不能确信处于信号段,若有短时能量回落到低门限以下,且超过最大静音长度,则恢复到静音状态;S236. In the transition section, it is not sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum mute length, it is restored to the mute state;

S237.如果过渡段中有超过高门限,则确信进入信号段;S237. If there is a high threshold in the transition section, be sure to enter the signal segment;

S238.如果最终分段的长度小于最小信号长度,则认为是噪声并舍弃;S238. If the length of the final segment is less than the minimum signal length, it is considered to be noise and discarded;

S239.切出来的第一个和最后一个采样点,标记为x0和x′0S239. The first and last sample points cut out are marked as x 0 and x'0;

S2310.切出第二个脚步声的起点和终点,标记为x1和x′1;同时得到前两个脚步声的间隔d1(d1=x1-x'0); S2310. Cut out the start and end points of the second footstep, labeled x 1 and x'1; and get the interval d 1 of the first two footsteps (d 1 = x 1 - x' 0 );

S2311.得到i+1个脚步声的起点xi、终点x′i及其间隔di+1,其中i≥0;S2311. Obtaining the starting point x i of the i+1 footsteps, the ending point x' i and the interval d i+1 , where i≥0;

在所述步骤S24中,结合脚步声间隔di+1,分配权重来重新调整脚步声的起点为yi(i≥2),其调整公式如下:In the step S24, in combination with the footstep interval d i+1 , the weight is assigned to re-adjust the starting point of the footstep sound to y i ( i ≥ 2), and the adjustment formula is as follows:

yi=Mi-1x′i+Ni-1di-1  (2)y i =M i-1 x' i +N i-1 d i-1 (2)

Mi-1=(1/2)^i  (3) M i-1 = (1/2) ^ i (3)

Mi+Ni=1  (4)M i +N i =1 (4)

Figure PCTCN2017092768-appb-000001
Figure PCTCN2017092768-appb-000001

其中,M和N是权重,i是步数为1的递增函数,每次切断时增加1,因为人行走并不是绝对匀速的,而最新的脚步声间隔能更好的预测下一个脚步声的间隔,所以我们选择EMA函数来计算di,如公式(5)所示,同时因为越往后,速度越是稳定可靠,随着EMA的迭代过程,M的比例按指数衰减模型快速减少;Where M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep. Interval, so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the iterative process of EMA, the proportion of M decreases rapidly according to the exponential decay model;

在所述步骤S25中,对SWIM模型进行实时校正,因为当行人突然大幅度改变行走速度时,比如从走的状态变成跑步,分段会造成偏差,所以当人突然大幅度改变行走速度时,我们让M和N恢复初始值,并开始重新使用指数增长模型分配M和N的权重。In the step S25, the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking speed greatly We let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.

本发明还提供了一种室内的定位系统,包括:The invention also provides an indoor positioning system, comprising:

接收模块,用于接收探头采集的脚步声振动信号;a receiving module, configured to receive a footstep vibration signal collected by the probe;

检测模块,用于采用SWIM模型检测脚步声振动信号并校正;a detection module for detecting and correcting a footstep vibration signal by using a SWIM model;

估计模块,用于采用PCC算法来估计时延;An estimation module for estimating a delay using a PCC algorithm;

处理模块,用于根据定位算法求出目标精确位置。A processing module is configured to determine a precise position of the target according to the positioning algorithm.

作为本发明的进一步改进,所述检测模块包括:As a further improvement of the present invention, the detecting module comprises:

第一检测模块,用于接收头接收到脚步声振动信号,并对其进行维纳滤波;a first detecting module, configured to receive a footstep vibration signal by the receiving head, and perform Wiener filtering thereon;

第二检测模块,用于计算出脚步声振动信号的短时能量;a second detecting module, configured to calculate a short-time energy of the footstep vibration signal;

第三检测模块,用于用基于短时能量的双门限端点检测法来初步检测出脚步声的起点和终点;a third detecting module, configured to initially detect a starting point and an ending point of the footstep sound by using a double threshold end point detection method based on short-time energy;

第四检测模块,用于结合脚步声间隔,分配权重来重新调整脚步声的起点;a fourth detecting module, configured to combine the footstep interval and assign a weight to re-adjust the starting point of the footstep sound;

第五检测模块,用于对SWIM模型进行实时校正。The fifth detection module is used for real-time correction of the SWIM model.

作为本发明的进一步改进,所述估计模块包括:As a further improvement of the present invention, the estimating module comprises:

第一估计模块,用于检测出脚步声振动信号x的各个峰值,并找出第一个峰值的位置,记为p1a first estimating module, configured to detect respective peaks of the footstep vibration signal x, and find the position of the first peak, denoted as p 1 ;

第二估计模块,用于找出另一个接收头接收到的同一个脚步声x'的第一个峰值的位置,记为p2a second estimating module, configured to find a position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ;

第三估计模块,用于取p1和p2中的较小值,记为pmina third estimation module for taking the smaller of p 1 and p 2 , denoted as p min ;

第四估计模块,用于根据经验对x从p1向前取n个点,并向前补(p1-pmin)个零进行时间同步,根据经验向后取n'个点,与p1组成信号1,记为sig1The fourth estimation module is configured to take n points from p 1 forward according to experience, and perform time synchronization by adding (p 1 -p min ) zeros forward, and take n' points backward according to experience, and p 1 constitutes signal 1, recorded as sig 1 ;

第五估计模块,用于对x'从p2向前取n个点,并向前补(p2-pmin)个零进行时间同步,再向后取n'个点,与p2组成信号2,记为sig2a fifth estimation module, configured to take n points from p 2 forward for x′, and perform time synchronization by adding (p 2 -p min ) zeros forward, and then taking n′ points backward, and consisting of p 2 Signal 2, denoted as sig 2 ;

第六估计模块,用于分别求出sig1和sig2的长度,记为l1、l2,l1、l2中较大的值记为lmaxa sixth estimating module, configured to respectively determine the lengths of sig 1 and sig 2 , and the larger values recorded as l 1 , l 2 , l 1 , and l 2 are denoted as l max ;

第七估计模块,用于对sig1向后补(lmax-l1)个零,对sig2向后补(lmax-l2)个零,用于对齐sig1和sig2的长度;Seventh estimation module configured to complement the length of the rearwardly sig 1 (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align the sig 1 and sig 2;

第八估计模块,用于利用GCC对sig1和sig2进行时延估计。An eighth estimation module is configured to perform delay estimation on sig 1 and sig 2 by using GCC.

作为本发明的进一步改进,所述处理模块包括:As a further improvement of the present invention, the processing module includes:

第一处理模块,用于通过估计模块求出脚步声振动信号到达三个或三个以上接收头的时间差;a first processing module, configured to determine, by using the estimation module, a time difference that the footstep vibration signal reaches three or more receiving heads;

第二处理模块,用于利用到达时间差进行定位的算法计算出脚步声振动信号的精确坐标。The second processing module is configured to calculate an accurate coordinate of the footstep vibration signal by using an algorithm for positioning the time difference of arrival.

作为本发明的进一步改进,所述第三检测模块包括:As a further improvement of the present invention, the third detecting module comprises:

第一检测处理单元,用于设置噪音短时能量的最大值为能量的低门限,设置脚步声能量最大值的1/2为能量的高门限;a first detection processing unit, configured to set a maximum value of the short-time energy of the noise as a low threshold of the energy, and set a maximum of 1/2 of the maximum value of the footstep energy as a high threshold of the energy;

第二检测处理单元,用于设置两个参数:静音的最长长度和信号的最短长度;a second detection processing unit for setting two parameters: a longest length of the silence and a shortest length of the signal;

第三检测处理单元,用于整个端点检测分为4段:静音段、过渡段、信号段、结束;The third detection processing unit is configured to divide the entire endpoint into four segments: a silent segment, a transition segment, a signal segment, and an end;

第四检测处理单元,程序用一个变量Status表示当前所处状态;The fourth detection processing unit, the program uses a variable Status to indicate the current state;

第五检测处理单元,信号的初始段为静音段,如果短时能量超过了低门限,就开始标记起点,进入过渡段;The fifth detection processing unit, the initial segment of the signal is a silent segment, and if the short-term energy exceeds the low threshold, the marker starting point is entered and the transition segment is entered;

第六检测处理单元,在过渡段中,不能确信处于信号段,若有短时能量回落到低门限以下,且超过最大静音长度,则恢复到静音状态;The sixth detection processing unit, in the transition section, cannot be sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum silence length, the mode is restored to the mute state;

第七检测处理单元,如果过渡段中有超过高门限,则确信进入信号段;The seventh detection processing unit, if there is a high threshold in the transition section, is sure to enter the signal segment;

第八检测处理单元,如果最终分段的长度小于最小信号长度,则认为是噪声并舍弃; The eighth detection processing unit considers that the noise is discarded if the length of the final segment is less than the minimum signal length;

第九检测处理单元,切出来的第一个和最后一个采样点,标记为x0和x′0The ninth detection processing unit, the first and last sample points cut out are marked as x 0 and x'0;

第十检测处理单元,切出第二个脚步声的起点和终点,标记为x1和x′1;同时得到前两个脚步声的间隔d1(d1=x1-x'0);The tenth detection processing unit cuts out the start and end points of the second footstep, and marks them as x 1 and x'1; and simultaneously obtains the interval d 1 of the first two footsteps (d 1 = x 1 - x' 0 );

第十一检测处理单元,得到i+1个脚步声的起点xi、终点x′i及其间隔di+1,其中i≥0;The eleventh detection processing unit obtains a starting point x i of the i+1 footsteps, an end point x' i and an interval d i+1 thereof , wherein i≥0;

在所述第四检测模块中,结合脚步声间隔di+1,分配权重来重新调整脚步声的起点为yi(i≥2),其调整公式如下:In the fourth detecting module, combining the footstep interval d i+1 , assigning a weight to re-adjust the starting point of the footstep sound to y i ( i ≥ 2), and the adjustment formula is as follows:

yi=Mi-1x′i+Ni-1di-1  (2)y i =M i-1 x' i +N i-1 d i-1 (2)

Mi-1=(1/2)^i  (3)M i-1 =(1/2)^i (3)

Mi+Ni=1  (4)M i +N i =1 (4)

Figure PCTCN2017092768-appb-000002
Figure PCTCN2017092768-appb-000002

其中,M和N是权重,i是步数为1的递增函数,每次切断时增加1,因为人行走并不是绝对匀速的,而最新的脚步声间隔能更好的预测下一个脚步声的间隔,所以我们选择EMA函数来计算di,如公式(5)所示,同时因为越往后,速度越是稳定可靠,随着EMA的迭代过程,M的比例按指数衰减模型快速减少;Where M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep. Interval, so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the iterative process of EMA, the proportion of M decreases rapidly according to the exponential decay model;

在所述第五检测模块中,对SWIM模型进行实时校正,因为当行人突然大幅度改变行走速度时,比如从走的状态变成跑步,分段会造成偏差,所以当人突然大幅度改变行走速度时,我们让M和N恢复初始值,并开始重新使用指数增长模型分配M和N的权重。In the fifth detection module, the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking greatly At the speed, we let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.

本发明的有益效果是:本发明可以实现复杂环境下的高精度室内定位,定位精度高达7cm;提出的脚步声检测方法(SWIM模型)可以在不需要事先训练的情况下,实现复杂环境下的脚步声振动信号的检测与校正,检测准确度高达98%;提出的时延估计算法(PCC),解决了广义互相关法(GCC)由于多径效应而时延估计误差较大的问题。The invention has the beneficial effects that the invention can realize high-precision indoor positioning in a complex environment with a positioning accuracy of up to 7 cm; the proposed footstep sound detecting method (SWIM model) can realize a complicated environment without prior training. The detection and correction of the footstep vibration signal has a detection accuracy of up to 98%. The proposed time delay estimation algorithm (PCC) solves the problem that the generalized cross-correlation method (GCC) has a large delay estimation error due to multipath effect.

附图说明DRAWINGS

图1是多径效应的产生过程示意图。Figure 1 is a schematic diagram of the generation process of the multipath effect.

图2是脚步声振动信号的各个峰值图。Figure 2 is a graph of various peaks of the footstep vibration signal.

图3是通过人的脚步声振动信号在复杂室内环境下的室内定位方法原理图。Figure 3 is a schematic diagram of an indoor positioning method in a complex indoor environment by human footstep vibration signals.

具体实施方式detailed description

如图3所示,在本发明中,在室内地面四周布置三个或者三个以上接 收探头,本发明公开了一种室内的定位方法,包括如下步骤:As shown in FIG. 3, in the present invention, three or more connections are arranged around the indoor floor. Receiving the probe, the invention discloses an indoor positioning method, comprising the following steps:

S1.接收步骤,接收探头采集的脚步声振动信号;S1. receiving step, receiving a footstep sound vibration signal collected by the probe;

S2.检测步骤,采用SWIM模型检测脚步声振动信号并校正;S2. detecting step, using SWIM model to detect footstep sound vibration signal and correcting;

S3.估计步骤,采用PCC算法来估计时延;S3. The estimating step uses a PCC algorithm to estimate the delay;

S4.处理步骤,根据定位算法求出目标精确位置。S4. Processing step, determining the precise position of the target according to the positioning algorithm.

在所述S1.接收步骤中,脚步声振动信号包括人的脚步声振动信号、动物的脚步声振动信号、人造机器产生的脚步声振动信号。In the S1. receiving step, the footstep vibration signal includes a human footstep vibration signal, an animal's footstep vibration signal, and a footstep vibration signal generated by the artificial machine.

接收探头可以为地震检波器Geophone或者其他振动信号传感器。The receiving probe can be a geophone Geophone or other vibration signal sensor.

在实际应用中,本发明的室内环境的定位方法及系统可部署在复杂室内环境的地面上。In practical applications, the indoor environment positioning method and system of the present invention can be deployed on the ground of a complex indoor environment.

SWIM模型:自适应权重增加模型walking Speed based adaptive Weight Increment Model(SWIM)。SWIM model: The walking weight based adaptive Weight Increment Model (SWIM).

PCC算法:最大值互相关算法Peak Cross Correlation(PCC)。PCC algorithm: Maximum cross-correlation algorithm Peak Cross Correlation (PCC).

布置地震检波器Geophone,包括:Arrange the geophone Geophone, including:

在地面的四周布置三个Geophone;Three Geophones are placed around the ground;

Geophone的下一级接信号放大器用于放大Geophone采集到的脚步声振动信号;The next level of the Geophone signal amplifier is used to amplify the footstep vibration signal collected by the Geophone;

信号放大器的下一级接AD模数转换器用于把采集到的脚步声振动信号转换成数字信号;The lower stage of the signal amplifier is connected to the AD analog-to-digital converter for converting the acquired footstep vibration signal into a digital signal;

AD模数转换器的下一级接树莓派,用于控制采集和保存脚步声振动信号。The next level of the AD analog-to-digital converter is connected to the Raspberry Pi to control the acquisition and preservation of footstep vibration signals.

所述S2.检测步骤包括:The S2. detecting step includes:

S21.接收头接收到脚步声振动信号,并对其进行维纳滤波;S21. The receiving head receives the footstep vibration signal and performs Wiener filtering on the signal;

S22.计算出脚步声振动信号的短时能量,短时能量的计算公式如下:

Figure PCTCN2017092768-appb-000003
S22. Calculate the short-term energy of the footstep vibration signal. The formula for calculating the short-time energy is as follows:
Figure PCTCN2017092768-appb-000003

S23.用基于短时能量的双门限端点检测法来初步检测出脚步声的起点和终点;S23. Initially detecting the start and end points of the footsteps using a double threshold endpoint detection method based on short-term energy;

S24.结合脚步声间隔,分配权重来重新调整脚步声的起点;S24. Combining the footstep interval, assigning weights to re-adjust the starting point of the footsteps;

S25.对SWIM模型进行实时校正。S25. Real-time correction of the SWIM model.

所述S3.估计步骤包括:The S3. estimating step includes:

S31.检测出脚步声振动信号x的各个峰值,如附图2,并找出第一个峰值的位置,记为p1S31. Detecting respective peaks of the footstep vibration signal x, as shown in FIG. 2, and finding the position of the first peak, denoted as p 1 ;

S32.找出另一个接收头接收到的同一个脚步声x'的第一个峰值的位置,记为p2S32. Find the position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ;

S33.取p1和p2中的较小值,记为pminS33. Take the smaller of p 1 and p 2 and record it as p min ;

S34.根据经验对x从p1向前取n个点,并向前补(p1-pmin)个零进行时间同步,根据经验向后取n'个点,与p1组成信号1,记为sig1S34. According to experience, x takes n points from p 1 forward and complements (p 1 -p min ) zeros for time synchronization. According to experience, n' points are taken backwards, and p 1 constitutes signal 1. Recorded as sig 1 ;

S35.以同样方法对x'从p2向前取n个点,并向前补(p2-pmin)个零进行时间同步,再向后取n'个点,与p2组成信号2,记为sig2S35. In the same manner as for the x 'taken from p 2 n points forward, forward and fill (p 2 -p min) zero for time synchronization, again after taking n' points, and the constituent signal p 2 2 , recorded as sig 2 ;

S36.分别求出sig1和sig2的长度,记为l1、l2,l1、l2中较大的值记为lmaxS36. Find the lengths of sig 1 and sig 2 respectively, and record that the larger values of l 1 , l 2 , l 1 , and l 2 are denoted as l max ;

S37.对sig1向后补(lmax-l1)个零,对sig2向后补(lmax-l2)个零,用于对齐sig1和sig2的长度;. S37 rearwardly to fill a sig (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align sig sig 1 and 2 of the length;

S38.利用GCC对sig1和sig2进行时延估计,时间差记为□t1S38. Using GCC to perform time delay estimation on sig 1 and sig 2 , the time difference is recorded as □t 1 ;

S39.以同样的方法,我们可以估计出该脚步声到达Geophone 1和Geophone 3的时间差,记为□t2S39. In the same way, we can estimate the time difference between the arrival of the footsteps to Geophone 1 and Geophone 3, recorded as □t 2 .

所述S4.处理步骤包括:The S4. processing steps include:

S41.通过S3.估计步骤求出脚步声振动信号到达三个或三个以上接收头的时间差;S41. Determine, by using an S3. estimation step, a time difference that the footstep vibration signal reaches three or more receiving heads;

S42.利用TDOA、TOA三点定位算法,或者其他利用到达时间差进行定位的算法计算出脚步声振动信号的精确坐标。S42. Calculate the precise coordinates of the footstep vibration signal by using the TDOA, TOA three-point positioning algorithm, or other algorithms that use the time difference of arrival to locate.

在所述步骤S23中,包括:In the step S23, the method includes:

S231.设置噪音短时能量的最大值为能量的低门限,设置脚步声能量最大值的1/2为能量的高门限;S231. Setting the maximum value of the short-time energy is the low threshold of the energy, and setting the maximum value of the footstep energy to 1/2 is the high threshold of the energy;

S232.设置两个参数:静音的最长长度和信号的最短长度;S232. Set two parameters: the longest length of the silence and the shortest length of the signal;

S233.整个端点检测分为4段:静音段、过渡段、信号段、结束;S233. The entire endpoint detection is divided into four segments: a silent segment, a transition segment, a signal segment, and an end;

S234.采集到的脚步声振动信号的开始为静音段,程序用一个变量Status表示当前所处状态;S234. The start of the acquired footstep vibration signal is a silent segment, and the program uses a variable Status to indicate the current state;

S235.信号的初始段为静音段,如果短时能量超过了低门限Es,就开始标记起点,进入过渡段;S235. The initial segment of the signal is a silent segment. If the short-term energy exceeds the low threshold E s , the starting point is marked and the transition segment is entered;

S236.在过渡段中,不能确信处于信号段,若有短时能量回落到低门限Es以下,且超过最大静音长度Sm,则恢复到静音状态;S236. In the transition section, it is not sure that the signal segment is in the signal segment. If the short-term energy falls below the low threshold E s and exceeds the maximum silent length S m , the mute state is restored;

S237.如果过渡段中有超过高门限Eh,则确信进入信号段;S237. If there is a high threshold E h in the transition section, be sure to enter the signal segment;

S238.如果最终分段的长度小于最小信号长度Lm,则认为是噪声并舍弃;S238. If the length of the final segment is less than the minimum signal length L m , it is considered to be noise and discarded;

S239.切出来的第一个和最后一个采样点,标记为x0和x′0. S239 first and the last point of a sample cut out, labeled as x 0 and x '0;

S2310.切出第二个脚步声的起点和终点,标记为x1和x′1;同时得到前两个脚步声的间隔d1(d1=x1-x'0);S2310. Cut out the start and end points of the second footstep, labeled x 1 and x'1; and get the interval d 1 of the first two footsteps (d 1 = x 1 - x' 0 );

S2311.得到i+1个脚步声的起点xi、终点x′i及其间隔di+1,其中i≥0。S2311. Obtain the starting point x i of the i+1 footsteps, the end point x' i and its interval d i+1 , where i ≥ 0.

在所述步骤S24中,结合脚步声间隔di+1,分配权重来重新调整脚步声的起点为yi(i≥2),其调整公式如下:In the step S24, in combination with the footstep interval d i+1 , the weight is assigned to re-adjust the starting point of the footstep sound to y i ( i ≥ 2), and the adjustment formula is as follows:

yi=Mi-1x′i+Ni-1di-1  (2)y i =M i-1 x' i +N i-1 d i-1 (2)

Mi-1=(1/2)^i  (3)M i-1 =(1/2)^i (3)

Mi+Ni=1  (4)M i +N i =1 (4)

Figure PCTCN2017092768-appb-000004
Figure PCTCN2017092768-appb-000004

其中,M和N是权重,i是步数为1的递增函数,每次切断时增加1,因为人行走并不是绝对匀速的,而最新的脚步声间隔能更好的预测下一个脚步声的间隔,所以我们选择EMA函数来计算di,如公式(5)所示,同时因为越往后,速度越是稳定可靠,随着EMA的迭代过程,M的比例按指数衰减模型快速减少。Where M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep. Interval, so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the EMA iterative process, the proportion of M decreases rapidly according to the exponential decay model.

在所述步骤S25中,对SWIM模型进行实时校正,因为当行人突然大幅度改变行走速度时,比如从走的状态变成跑步,分段会造成偏差,所以当人突然大幅度改变行走速度时,我们让M和N恢复初始值,并开始重新使用指数增长模型分配M和N的权重。In the step S25, the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking speed greatly We let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.

对SWIM模型进行实时校正。为了判断行人是否突然大幅度改变行走速度导致切断失误,我们引入向量

Figure PCTCN2017092768-appb-000005
而一个人的步幅一般不超过一米,所以把脚步声间距设成一个向量
Figure PCTCN2017092768-appb-000006
模长为1,如果定位的预测坐标与实际坐标的欧拉距离Ed大于
Figure PCTCN2017092768-appb-000007
时,则认为行人突然大幅度改变行走速度,重新分配M、N的权重,恢复初始值。欧式距离的计算公式如下:Real-time correction of the SWIM model. In order to judge whether the pedestrian suddenly changes the walking speed and causes the cutting error, we introduce the vector.
Figure PCTCN2017092768-appb-000005
And a person's stride usually does not exceed one meter, so set the footstep spacing to a vector.
Figure PCTCN2017092768-appb-000006
The modulus length is 1, if the Euler distance E d between the predicted coordinates of the positioning and the actual coordinates is greater than
Figure PCTCN2017092768-appb-000007
At that time, it is considered that the pedestrian suddenly changes the walking speed greatly, redistributes the weights of M and N, and restores the initial value. The formula for calculating the Euclidean distance is as follows:

Figure PCTCN2017092768-appb-000008
Figure PCTCN2017092768-appb-000008

本发明还公开了一种室内的定位系统,包括:The invention also discloses an indoor positioning system, comprising:

接收模块,用于接收探头采集的脚步声振动信号;a receiving module, configured to receive a footstep vibration signal collected by the probe;

检测模块,用于采用SWIM模型检测脚步声振动信号并校正;a detection module for detecting and correcting a footstep vibration signal by using a SWIM model;

估计模块,用于采用PCC算法来估计时延;An estimation module for estimating a delay using a PCC algorithm;

处理模块,用于根据定位算法求出目标精确位置。A processing module is configured to determine a precise position of the target according to the positioning algorithm.

所述检测模块包括:The detection module includes:

第一检测模块,用于接收头接收到脚步声振动信号,并对其进行维纳滤波;a first detecting module, configured to receive a footstep vibration signal by the receiving head, and perform Wiener filtering thereon;

第二检测模块,用于计算出脚步声振动信号的短时能量,短时能量的 计算公式如下:a second detecting module for calculating short-term energy of the footstep vibration signal, short-time energy Calculated as follows:

Figure PCTCN2017092768-appb-000009
Figure PCTCN2017092768-appb-000009

第三检测模块,用于用基于短时能量的双门限端点检测法来初步检测出脚步声的起点和终点;a third detecting module, configured to initially detect a starting point and an ending point of the footstep sound by using a double threshold end point detection method based on short-time energy;

第四检测模块,用于结合脚步声间隔,分配权重来重新调整脚步声的起点;a fourth detecting module, configured to combine the footstep interval and assign a weight to re-adjust the starting point of the footstep sound;

第五检测模块,用于对SWIM模型进行实时校正。The fifth detection module is used for real-time correction of the SWIM model.

所述估计模块包括:The estimation module includes:

第一估计模块,用于检测出脚步声振动信号x的各个峰值,如附图2,并找出第一个峰值的位置,记为p1a first estimating module for detecting respective peaks of the footstep vibration signal x, as shown in FIG. 2, and finding the position of the first peak, denoted as p 1 ;

第二估计模块,用于找出另一个接收头接收到的同一个脚步声x'的第一个峰值的位置,记为p2a second estimating module, configured to find a position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ;

第三估计模块,用于取p1和p2中的较小值,记为pmina third estimation module for taking the smaller of p 1 and p 2 , denoted as p min ;

第四估计模块,用于根据经验对x从p1向前取n个点,并向前补(p1-pmin)个零进行时间同步,根据经验向后取n'个点,与p1组成信号1,记为sig1The fourth estimation module is configured to take n points from p 1 forward according to experience, and perform time synchronization by adding (p 1 -p min ) zeros forward, and take n' points backward according to experience, and p 1 constitutes signal 1, recorded as sig 1 ;

第五估计模块,用于对x'从p2向前取n个点,并向前补(p2-pmin)个零进行时间同步,再向后取n'个点,与p2组成信号2,记为sig2a fifth estimation module, configured to take n points from p 2 forward for x′, and perform time synchronization by adding (p 2 -p min ) zeros forward, and then taking n′ points backward, and consisting of p 2 Signal 2, denoted as sig 2 ;

第六估计模块,用于分别求出sig1和sig2的长度,记为l1、l2,l1、l2中较大的值记为lmaxa sixth estimating module, configured to respectively determine the lengths of sig 1 and sig 2 , and the larger values recorded as l 1 , l 2 , l 1 , and l 2 are denoted as l max ;

第七估计模块,用于对sig1向后补(lmax-l1)个零,对sig2向后补(lmax-l2)个零,用于对齐sig1和sig2的长度;Seventh estimation module configured to complement the length of the rearwardly sig 1 (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align the sig 1 and sig 2;

第八估计模块,用于利用GCC对sig1和sig2进行时延估计。An eighth estimation module is configured to perform delay estimation on sig 1 and sig 2 by using GCC.

所述处理模块包括:The processing module includes:

第一处理模块,用于通过估计模块求出脚步声振动信号到达三个或三个以上接收头的时间差;a first processing module, configured to determine, by using the estimation module, a time difference that the footstep vibration signal reaches three or more receiving heads;

第二处理模块,用于利用到达时间差进行定位的算法计算出脚步声振动信号的精确坐标。The second processing module is configured to calculate an accurate coordinate of the footstep vibration signal by using an algorithm for positioning the time difference of arrival.

所述第三检测模块包括:The third detecting module includes:

第一检测处理单元,用于设置噪音短时能量的最大值为能量的低门限,设置脚步声能量最大值的1/2为能量的高门限; a first detection processing unit, configured to set a maximum value of the short-time energy of the noise as a low threshold of the energy, and set a maximum of 1/2 of the maximum value of the footstep energy as a high threshold of the energy;

第二检测处理单元,用于设置两个参数:静音的最长长度和信号的最短长度;a second detection processing unit for setting two parameters: a longest length of the silence and a shortest length of the signal;

第三检测处理单元,用于整个端点检测分为4段:静音段、过渡段、信号段、结束;The third detection processing unit is configured to divide the entire endpoint into four segments: a silent segment, a transition segment, a signal segment, and an end;

第四检测处理单元,程序用一个变量Status表示当前所处状态;The fourth detection processing unit, the program uses a variable Status to indicate the current state;

第五检测处理单元,信号的初始段为静音段,如果短时能量超过了低门限,就开始标记起点,进入过渡段;The fifth detection processing unit, the initial segment of the signal is a silent segment, and if the short-term energy exceeds the low threshold, the marker starting point is entered and the transition segment is entered;

第六检测处理单元,在过渡段中,不能确信处于信号段,若有短时能量回落到低门限以下,且超过最大静音长度,则恢复到静音状态;The sixth detection processing unit, in the transition section, cannot be sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum silence length, the mode is restored to the mute state;

第七检测处理单元,如果过渡段中有超过高门限,则确信进入信号段;The seventh detection processing unit, if there is a high threshold in the transition section, is sure to enter the signal segment;

第八检测处理单元,如果最终分段的长度小于最小信号长度,则认为是噪声并舍弃;The eighth detection processing unit considers that the noise is discarded if the length of the final segment is less than the minimum signal length;

第九检测处理单元,切出来的第一个和最后一个采样点,标记为x0和x′0The ninth detection processing unit, the first and last sample points cut out are marked as x 0 and x'0;

第十检测处理单元,切出第二个脚步声的起点和终点,标记为x1和x′1;同时得到前两个脚步声的间隔d1(d1=x1-x'0);A tenth detection processing unit, the second cut-out start and end of footsteps, labeled x 1 and x '1; footsteps simultaneously obtain the first two spacing d 1 (d 1 = x 1 -x'0);

第十一检测处理单元,得到i+1个脚步声的起点xi、终点x′i及其间隔di+1,其中i≥0。The eleventh detection processing unit obtains a starting point x i , an ending point x' i of i+1 footsteps, and an interval d i+1 thereof , where i ≥ 0.

在所述第四检测模块中,结合脚步声间隔di+1,分配权重来重新调整脚步声的起点为yi(i≥2),其调整公式如下:In the fourth detecting module, combining the footstep interval d i+1 , assigning a weight to re-adjust the starting point of the footstep sound to y i ( i ≥ 2), and the adjustment formula is as follows:

yi=Mi-1x′i+Ni-1di-1  (2)y i =M i-1 x' i +N i-1 d i-1 (2)

Mi-1=(1/2)^i  (3) M i-1 = (1/2) ^ i (3)

Mi+Ni=1  (4)M i +N i =1 (4)

Figure PCTCN2017092768-appb-000010
Figure PCTCN2017092768-appb-000010

其中,M和N是权重,i是步数为1的递增函数,每次切断时增加1,因为人行走并不是绝对匀速的,而最新的脚步声间隔能更好的预测下一个脚步声的间隔,所以我们选择EMA函数来计算di,如公式(5)所示,同时因为越往后,速度越是稳定可靠,随着EMA的迭代过程,M的比例按指数衰减模型快速减少。Where M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep. Interval, so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the EMA iterative process, the proportion of M decreases rapidly according to the exponential decay model.

在所述第五检测模块中,对SWIM模型进行实时校正,因为当行人突然大幅度改变行走速度时,比如从走的状态变成跑步,分段会造成偏差,所以当人突然大幅度改变行走速度时,我们让M和N恢复初始值,并开始重新使用指数增长模型分配M和N的权重。 In the fifth detection module, the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking greatly At the speed, we let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.

本发明通过地震检波器采集人走路的脚步声振动来实现人的定位。脚步声振动沿着地面传播,不会像在空气中传播时遇到家具等障碍物而产生多径反射影响定位效果。为了达到精准定位,本发明设计了SWIM模型来检测脚步声,并设计了PCC算法估计时延并定位。The invention realizes the positioning of the human by collecting the footstep vibration of the walking by the geophone. The footstep vibration propagates along the ground, and does not encounter obstacles such as furniture when traveling in the air to cause multipath reflection to affect the positioning effect. In order to achieve accurate positioning, the present invention designs a SWIM model to detect footsteps, and designs a PCC algorithm to estimate delay and position.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。 The above is a further detailed description of the present invention in connection with the specific preferred embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.

Claims (10)

一种室内的定位方法,其特征在于,包括如下步骤:An indoor positioning method, comprising the steps of: S1.接收步骤,接收探头采集的脚步声振动信号;S1. receiving step, receiving a footstep sound vibration signal collected by the probe; S2.检测步骤,采用SWIM模型检测脚步声振动信号并校正;S2. detecting step, using SWIM model to detect footstep sound vibration signal and correcting; S3.估计步骤,采用PCC算法来估计时延;S3. The estimating step uses a PCC algorithm to estimate the delay; S4.处理步骤,根据定位算法求出目标精确位置。S4. Processing step, determining the precise position of the target according to the positioning algorithm. 根据权利要求1所述的定位方法,其特征在于,所述S2.检测步骤包括:The positioning method according to claim 1, wherein the S2. detecting step comprises: S21.接收头接收到脚步声振动信号,并对其进行维纳滤波;S21. The receiving head receives the footstep vibration signal and performs Wiener filtering on the signal; S22.计算出脚步声振动信号的短时能量;S22. Calculating the short-time energy of the footstep vibration signal; S23.用基于短时能量的双门限端点检测法来初步检测出脚步声的起点和终点;S23. Initially detecting the start and end points of the footsteps using a double threshold endpoint detection method based on short-term energy; S24.结合脚步声间隔,分配权重来重新调整脚步声的起点;S24. Combining the footstep interval, assigning weights to re-adjust the starting point of the footsteps; S25.对SWIM模型进行实时校正。S25. Real-time correction of the SWIM model. 根据权利要求1所述的定位方法,其特征在于,所述S3.估计步骤包括:The positioning method according to claim 1, wherein the S3. estimating step comprises: S31.检测出脚步声振动信号x的各个峰值,并找出第一个峰值的位置,记为p1S31. Detecting respective peaks of the footstep vibration signal x, and finding the position of the first peak, denoted as p 1 ; S32.找出另一个接收头接收到的同一个脚步声x'的第一个峰值的位置,记为p2S32. Find the position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ; S33.取p1和p2中的较小值,记为pminS33. Take the smaller of p 1 and p 2 and record it as p min ; S34.根据经验对x从p1向前取n个点,并向前补(p1-pmin)个零进行时间同步,根据经验向后取n'个点,与p1组成信号1,记为sig1S34. According to experience, x takes n points from p 1 forward and complements (p 1 -p min ) zeros for time synchronization. According to experience, n' points are taken backwards, and p 1 constitutes signal 1. Recorded as sig 1 ; S35.对x'从p2向前取n个点,并向前补(p2-pmin)个零进行时间同步,再向后取n'个点,与p2组成信号2,记为sig2S35. Take n points from p 2 forward, and make up time (p 2 -p min ) zeros for time synchronization, then take n' points backward, and p 2 constitutes signal 2, recorded as Sig 2 ; S36.分别求出sig1和sig2的长度,记为l1、l2,l1、l2中较大的值记为lmaxS36. Find the lengths of sig 1 and sig 2 respectively, and record that the larger values of l 1 , l 2 , l 1 , and l 2 are denoted as l max ; S37.对sig1向后补(lmax-l1)个零,对sig2向后补(lmax-l2)个零,用于对齐sig1和sig2的长度;. S37 rearwardly to fill a sig (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align sig sig 1 and 2 of the length; S38.利用GCC对sig1和sig2进行时延估计。 S38. Using GCC to perform delay estimation on sig 1 and sig 2 . 根据权利要求1所述的定位方法,其特征在于,所述S4.处理步骤包括:The positioning method according to claim 1, wherein the S4. processing step comprises: S41.通过S3.估计步骤求出脚步声振动信号到达三个或三个以上接收头的时间差;S41. Determine, by using an S3. estimation step, a time difference that the footstep vibration signal reaches three or more receiving heads; S42.利用到达时间差进行定位的算法计算出脚步声振动信号的精确坐标。S42. The algorithm for positioning using the time difference of arrival calculates the precise coordinates of the footstep vibration signal. 根据权利要求2所述的定位方法,其特征在于:The positioning method according to claim 2, wherein: 在所述步骤S23中,包括:In the step S23, the method includes: S231.设置噪音短时能量的最大值为能量的低门限,设置脚步声能量最大值的1/2为能量的高门限;S231. Setting the maximum value of the short-time energy is the low threshold of the energy, and setting the maximum value of the footstep energy to 1/2 is the high threshold of the energy; S232.设置两个参数:静音的最长长度和信号的最短长度;S232. Set two parameters: the longest length of the silence and the shortest length of the signal; S233.整个端点检测分为4段:静音段、过渡段、信号段、结束;S233. The entire endpoint detection is divided into four segments: a silent segment, a transition segment, a signal segment, and an end; S234.程序用一个变量Status表示当前所处状态;S234. The program uses a variable Status to indicate the current state; S235.信号的初始段为静音段,如果短时能量超过了低门限,就开始标记起点,进入过渡段;S235. The initial segment of the signal is a silent segment. If the short-term energy exceeds the low threshold, the starting point is marked and the transition segment is entered; S236.在过渡段中,不能确信处于信号段,若有短时能量回落到低门限以下,且超过最大静音长度,则恢复到静音状态;S236. In the transition section, it is not sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum mute length, it is restored to the mute state; S237.如果过渡段中有超过高门限,则确信进入信号段;S237. If there is a high threshold in the transition section, be sure to enter the signal segment; S238.如果最终分段的长度小于最小信号长度,则认为是噪声并舍弃;S238. If the length of the final segment is less than the minimum signal length, it is considered to be noise and discarded; S239.切出来的第一个和最后一个采样点,标记为x0和x′0S239. The first and last sample points cut out are marked as x 0 and x'0; S2310.切出第二个脚步声的起点和终点,标记为x1和x′1;同时得到前两个脚步声的间隔d1(d1=x1-x'0);S2310. Cut out the start and end points of the second footstep, labeled x 1 and x'1; and get the interval d 1 of the first two footsteps (d 1 = x 1 - x' 0 ); S2311.得到i+1个脚步声的起点xi、终点x′i及其间隔di+1,其中i≥0;S2311. Obtaining the starting point x i of the i+1 footsteps, the ending point x' i and the interval d i+1 , where i≥0; 在所述步骤S24中,结合脚步声间隔di+1,分配权重来重新调整脚步声的起点为yi(i≥2),其调整公式如下:In the step S24, in combination with the footstep interval d i+1 , the weight is assigned to re-adjust the starting point of the footstep sound to y i ( i ≥ 2), and the adjustment formula is as follows: yi=Mi-1x′i+Ni-1di-1   (2)y i =M i-1 x' i +N i-1 d i-1 (2) Mi-1=(1/2)^i   (3)M i-1 =(1/2)^i (3) Mi+Ni=1   (4)M i +N i =1 (4)
Figure PCTCN2017092768-appb-100001
Figure PCTCN2017092768-appb-100001
其中,M和N是权重,i是步数为1的递增函数,每次切断时增加1,因为人行走并不是绝对匀速的,而最新的脚步声间隔能更好的预测下一个脚步声的间隔,所以我们选择EMA函数来计算di,如公式(5)所示,同时因为越往后,速度越是稳定可靠,随着EMA的迭代过程,M的比例按指数衰减模型快速减少; Where M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep. Interval, so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the iterative process of EMA, the proportion of M decreases rapidly according to the exponential decay model; 在所述步骤S25中,对SWIM模型进行实时校正,因为当行人突然大幅度改变行走速度时,比如从走的状态变成跑步,分段会造成偏差,所以当人突然大幅度改变行走速度时,我们让M和N恢复初始值,并开始重新使用指数增长模型分配M和N的权重。In the step S25, the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking speed greatly We let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.
一种室内的定位系统,其特征在于,包括:An indoor positioning system, comprising: 接收模块,用于接收探头采集的脚步声振动信号;a receiving module, configured to receive a footstep vibration signal collected by the probe; 检测模块,用于采用SWIM模型检测脚步声振动信号并校正;a detection module for detecting and correcting a footstep vibration signal by using a SWIM model; 估计模块,用于采用PCC算法来估计时延;An estimation module for estimating a delay using a PCC algorithm; 处理模块,用于根据定位算法求出目标精确位置。A processing module is configured to determine a precise position of the target according to the positioning algorithm. 根据权利要求6所述的定位系统,其特征在于,所述检测模块包括:The positioning system according to claim 6, wherein the detecting module comprises: 第一检测模块,用于接收头接收到脚步声振动信号,并对其进行维纳滤波;a first detecting module, configured to receive a footstep vibration signal by the receiving head, and perform Wiener filtering thereon; 第二检测模块,用于计算出脚步声振动信号的短时能量;a second detecting module, configured to calculate a short-time energy of the footstep vibration signal; 第三检测模块,用于用基于短时能量的双门限端点检测法来初步检测出脚步声的起点和终点;a third detecting module, configured to initially detect a starting point and an ending point of the footstep sound by using a double threshold end point detection method based on short-time energy; 第四检测模块,用于结合脚步声间隔,分配权重来重新调整脚步声的起点;a fourth detecting module, configured to combine the footstep interval and assign a weight to re-adjust the starting point of the footstep sound; 第五检测模块,用于对SWIM模型进行实时校正。The fifth detection module is used for real-time correction of the SWIM model. 根据权利要求6所述的定位系统,其特征在于,所述估计模块包括:The positioning system according to claim 6, wherein the estimating module comprises: 第一估计模块,用于检测出脚步声振动信号x的各个峰值,并找出第一个峰值的位置,记为p1a first estimating module, configured to detect respective peaks of the footstep vibration signal x, and find the position of the first peak, denoted as p 1 ; 第二估计模块,用于找出另一个接收头接收到的同一个脚步声x'的第一个峰值的位置,记为p2a second estimating module, configured to find a position of the first peak of the same footstep x' received by another receiving head, denoted as p 2 ; 第三估计模块,用于取p1和p2中的较小值,记为pmina third estimation module for taking the smaller of p 1 and p 2 , denoted as p min ; 第四估计模块,用于根据经验对x从p1向前取n个点,并向前补(p1-pmin)个零进行时间同步,根据经验向后取n'个点,与p1组成信号1,记为sig1The fourth estimation module is configured to take n points from p 1 forward according to experience, and perform time synchronization by adding (p 1 -p min ) zeros forward, and take n' points backward according to experience, and p 1 constitutes signal 1, recorded as sig 1 ; 第五估计模块,用于对x'从p2向前取n个点,并向前补(p2-pmin)个零进行时间同步,再向后取n'个点,与p2组成信号2,记为sig2a fifth estimation module, configured to take n points from p 2 forward for x′, and perform time synchronization by adding (p 2 -p min ) zeros forward, and then taking n′ points backward, and consisting of p 2 Signal 2, denoted as sig 2 ; 第六估计模块,用于分别求出sig1和sig2的长度,记为l1、l2,l1、l2中较大的值记为lmaxa sixth estimating module, configured to respectively determine the lengths of sig 1 and sig 2 , and the larger values recorded as l 1 , l 2 , l 1 , and l 2 are denoted as l max ; 第七估计模块,用于对sig1向后补(lmax-l1)个零,对sig2向后补(lmax-l2)个零,用于对齐sig1和sig2的长度;Seventh estimation module configured to complement the length of the rearwardly sig 1 (l max -l 1) zeros to fill rearwardly sig 2 (l max -l 2) zeros to align the sig 1 and sig 2; 第八估计模块,用于利用GCC对sig1和sig2进行时延估计。An eighth estimation module is configured to perform delay estimation on sig 1 and sig 2 by using GCC. 根据权利要求6所述的定位系统,其特征在于,所述处理模块包括:The positioning system according to claim 6, wherein the processing module comprises: 第一处理模块,用于通过估计模块求出脚步声振动信号到达三个或三个以上接收头的时间差;a first processing module, configured to determine, by using the estimation module, a time difference that the footstep vibration signal reaches three or more receiving heads; 第二处理模块,用于利用到达时间差进行定位的算法计算出脚步声振动信号的精确坐标。 The second processing module is configured to calculate an accurate coordinate of the footstep vibration signal by using an algorithm for positioning the time difference of arrival. 根据权利要求7所述的定位系统,其特征在于:The positioning system of claim 7 wherein: 所述第三检测模块包括:The third detecting module includes: 第一检测处理单元,用于设置噪音短时能量的最大值为能量的低门限,设置脚步声能量最大值的1/2为能量的高门限;a first detection processing unit, configured to set a maximum value of the short-time energy of the noise as a low threshold of the energy, and set a maximum of 1/2 of the maximum value of the footstep energy as a high threshold of the energy; 第二检测处理单元,用于设置两个参数:静音的最长长度和信号的最短长度;a second detection processing unit for setting two parameters: a longest length of the silence and a shortest length of the signal; 第三检测处理单元,用于整个端点检测分为4段:静音段、过渡段、信号段、结束;The third detection processing unit is configured to divide the entire endpoint into four segments: a silent segment, a transition segment, a signal segment, and an end; 第四检测处理单元,程序用一个变量Status表示当前所处状态;The fourth detection processing unit, the program uses a variable Status to indicate the current state; 第五检测处理单元,信号的初始段为静音段,如果短时能量超过了低门限,就开始标记起点,进入过渡段;The fifth detection processing unit, the initial segment of the signal is a silent segment, and if the short-term energy exceeds the low threshold, the marker starting point is entered and the transition segment is entered; 第六检测处理单元,在过渡段中,不能确信处于信号段,若有短时能量回落到低门限以下,且超过最大静音长度,则恢复到静音状态;The sixth detection processing unit, in the transition section, cannot be sure that it is in the signal segment, and if there is a short-term energy falling below the low threshold and exceeding the maximum silence length, the mode is restored to the mute state; 第七检测处理单元,如果过渡段中有超过高门限,则确信进入信号段;The seventh detection processing unit, if there is a high threshold in the transition section, is sure to enter the signal segment; 第八检测处理单元,如果最终分段的长度小于最小信号长度,则认为是噪声并舍弃;The eighth detection processing unit considers that the noise is discarded if the length of the final segment is less than the minimum signal length; 第九检测处理单元,切出来的第一个和最后一个采样点,标记为x0和x′0The ninth detection processing unit, the first and last sample points cut out are marked as x 0 and x'0; 第十检测处理单元,切出第二个脚步声的起点和终点,标记为x1和x′1;同时得到前两个脚步声的间隔d1(d1=x1-x'0);The tenth detection processing unit cuts out the start and end points of the second footstep, and marks them as x 1 and x'1; and simultaneously obtains the interval d 1 of the first two footsteps (d 1 = x 1 - x' 0 ); 第十一检测处理单元,得到i+1个脚步声的起点xi、终点x′i及其间隔di+1,其中i≥0;The eleventh detection processing unit obtains a starting point x i of the i+1 footsteps, an end point x' i and an interval d i+1 thereof , wherein i≥0; 在所述第四检测模块中,结合脚步声间隔di+1,分配权重来重新调整脚步声的起点为yi(i≥2),其调整公式如下:In the fourth detecting module, combining the footstep interval d i+1 , assigning a weight to re-adjust the starting point of the footstep sound to y i ( i ≥ 2), and the adjustment formula is as follows: yi=Mi-1x′i+Ni-1di-1   (2)y i =M i-1 x' i +N i-1 d i-1 (2) Mi-1=(1/2)^i   (3)M i-1 =(1/2)^i (3) Mi+Ni=1   (4)M i +N i =1 (4)
Figure PCTCN2017092768-appb-100002
Figure PCTCN2017092768-appb-100002
其中,M和N是权重,i是步数为1的递增函数,每次切断时增加1,因为人行走并不是绝对匀速的,而最新的脚步声间隔能更好的预测下一个脚步声的间隔,所以我们选择EMA函数来计算di,如公式(5)所示,同时因为越往后,速度越是稳定可靠,随着EMA的迭代过程,M的比例按指数衰减模型快速减少;Where M and N are weights, and i is an increasing function with a step number of 1, increasing by 1 each time it is cut, because human walking is not absolutely uniform, and the latest footstep interval is better predictive of the next footstep. Interval, so we choose EMA function to calculate d i , as shown in formula (5), and because the more backward, the more stable and reliable the speed, with the iterative process of EMA, the proportion of M decreases rapidly according to the exponential decay model; 在所述第五检测模块中,对SWIM模型进行实时校正,因为当行人突然大幅度改变行走速度时,比如从走的状态变成跑步,分段会造成偏差,所以当人突然大幅度改变行走速度时,我们让M和N恢复初始值,并开始重新使用指数增长模型分配M和N的权重。 In the fifth detection module, the SWIM model is corrected in real time, because when the pedestrian suddenly changes the walking speed greatly, for example, from the walking state to the running, the segmentation causes a deviation, so when the person suddenly changes the walking greatly At the speed, we let M and N recover the initial values and start to re-use the exponential growth model to assign the weights of M and N.
PCT/CN2017/092768 2017-06-01 2017-07-13 Indoor positioning method and system Ceased WO2018218747A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710403535.7A CN107290721B (en) 2017-06-01 2017-06-01 A kind of indoor localization method and system
CN201710403535.7 2017-06-01

Publications (1)

Publication Number Publication Date
WO2018218747A1 true WO2018218747A1 (en) 2018-12-06

Family

ID=60095180

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092768 Ceased WO2018218747A1 (en) 2017-06-01 2017-07-13 Indoor positioning method and system

Country Status (2)

Country Link
CN (1) CN107290721B (en)
WO (1) WO2018218747A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3920794A4 (en) * 2019-02-06 2023-01-25 University of Georgia Research Foundation, Inc. INTERIOR OCCUPANCY ESTIMATION, PATH TRACKING AND MONITORING AND EVENT TRACKING SYSTEM

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093474B (en) * 2017-12-27 2020-09-29 重庆脉实智能制造有限公司 Method and system for indoor positioning using virtual time synchronization
WO2020147098A1 (en) * 2019-01-18 2020-07-23 深圳大学 Ground vibration signal-based human body fall detection system
CN111128005A (en) * 2019-11-22 2020-05-08 苏州马尔萨斯文化传媒有限公司 Regional combined intelligent electronic billboard system based on multiple sensing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854494A (en) * 2012-08-08 2013-01-02 Tcl集团股份有限公司 Sound source locating method and device
US20140062792A1 (en) * 2002-08-19 2014-03-06 Q-Track Corporation Method of near-field electromagnetic ranging and location
US20140335894A1 (en) * 2012-01-23 2014-11-13 Nokia Corporation Collecting positioning reference data
CN105527608A (en) * 2016-01-20 2016-04-27 深圳大学 Solid-propagation-based sound wave indoor positioning method
CN106251572A (en) * 2016-08-26 2016-12-21 深圳大学 Smart Home based on vibration detection monitoring method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008144784A1 (en) * 2007-06-01 2008-12-04 Technische Universität Graz Joint position-pitch estimation of acoustic sources for their tracking and separation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140062792A1 (en) * 2002-08-19 2014-03-06 Q-Track Corporation Method of near-field electromagnetic ranging and location
US20140335894A1 (en) * 2012-01-23 2014-11-13 Nokia Corporation Collecting positioning reference data
CN102854494A (en) * 2012-08-08 2013-01-02 Tcl集团股份有限公司 Sound source locating method and device
CN105527608A (en) * 2016-01-20 2016-04-27 深圳大学 Solid-propagation-based sound wave indoor positioning method
CN106251572A (en) * 2016-08-26 2016-12-21 深圳大学 Smart Home based on vibration detection monitoring method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHEN, WENQIANG ET AL.: "FLoc: Device-free Passive Indoor Localization in Complex Environments", IEEE ICC 2017 AD-HOC AND SENSOR NETWORKING SYMPOSIUM., 25 May 2017 (2017-05-25), XP033132923 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3920794A4 (en) * 2019-02-06 2023-01-25 University of Georgia Research Foundation, Inc. INTERIOR OCCUPANCY ESTIMATION, PATH TRACKING AND MONITORING AND EVENT TRACKING SYSTEM

Also Published As

Publication number Publication date
CN107290721B (en) 2019-01-11
CN107290721A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN105044676B (en) A kind of sound localization method based on energy
WO2018218747A1 (en) Indoor positioning method and system
US11212613B2 (en) Signal processing device and signal processing method
KR101529516B1 (en) Sound sourcelocalization device and sound sourcelocalization method
CN105492923B (en) acoustic position tracking system
CN109188362B (en) A kind of microphone array sound source localization signal processing method
CN102305925A (en) Robot continuous sound source positioning method
CN110412546B (en) Positioning method and system for underwater target
CN109085477B (en) Signal identification and location method for power cable distributed partial discharge monitoring system
WO2015127858A1 (en) Indoor positioning method and apparatus
Chen et al. FLoc: Device-free passive indoor localization in complex environments
CN110286357B (en) Target motion positioning method based on underwater sound detection
WO2017000775A1 (en) Robot voice direction-seeking turning system and method
CN110058222B (en) A dual-layer particle filter detection-before-tracking method based on sensor selection
JP2018510406A (en) Method and system for estimating finger movement
CN104280024B (en) Device and method for integrated navigation of deepwater robot
JP6977448B2 (en) Device control device, device control program, device control method, dialogue device, and communication system
CN115407340B (en) Bistatic positioning method based on grid matching under variable sound velocity
CN105807273A (en) Method and device for tracking sound source
CN104198985A (en) Single antenna direction-finding method
CN107247257B (en) Distributed multi-sensor track-before-detect method based on likelihood function approximation
CN110353729B (en) An Acoustic Time-of-Flight Detection Method Based on Bidirectional Long Short-Term Memory Network
CN108535695A (en) Mobile platform positioning device and method based on ultrasound
CN104391275B (en) Underwater acoustic network node mutual distance measurement method based on gamma distribution model
CN109190647B (en) An Active and Passive Data Fusion Method

Legal Events

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

Ref document number: 17912082

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26/02/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17912082

Country of ref document: EP

Kind code of ref document: A1