[go: up one dir, main page]

CN106289242A - Particle filtering method and device based on earth magnetism - Google Patents

Particle filtering method and device based on earth magnetism Download PDF

Info

Publication number
CN106289242A
CN106289242A CN201610567111.XA CN201610567111A CN106289242A CN 106289242 A CN106289242 A CN 106289242A CN 201610567111 A CN201610567111 A CN 201610567111A CN 106289242 A CN106289242 A CN 106289242A
Authority
CN
China
Prior art keywords
normal distribution
particle
magnetic field
variance
taking
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.)
Granted
Application number
CN201610567111.XA
Other languages
Chinese (zh)
Other versions
CN106289242B (en
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.)
Beijing Jiexun Technology Co Ltd Position
Original Assignee
Beijing Jiexun Technology Co Ltd Position
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 Beijing Jiexun Technology Co Ltd Position filed Critical Beijing Jiexun Technology Co Ltd Position
Priority to CN201610567111.XA priority Critical patent/CN106289242B/en
Publication of CN106289242A publication Critical patent/CN106289242A/en
Application granted granted Critical
Publication of CN106289242B publication Critical patent/CN106289242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/04Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means
    • G01C21/08Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means involving use of the magnetic field of the earth
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geology (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明公开了基于地磁的粒子滤波定位方法及装置,方法为:获取粗测定位结果和定位方差,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,通过定点连续采集获得磁场值,根据粗测定位结果和定位方差,计算得到第一个正态分布,根据迈步步长和所述迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据磁场值,计算得到磁场测量方差;通过粒子滤波匹配磁场,行人每迈一步,重新布设相应的粒子,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。本发明基于地磁的粒子滤波定位方法及装置,不用给定行人的起始位置,采用粒子滤波,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。

The invention discloses a particle filter positioning method and device based on geomagnetism. The method is as follows: obtain rough positioning results and positioning variance, obtain pedestrian step length and step direction, establish a magnetic field map through preset point intervals, and obtain magnetic field through fixed-point continuous acquisition value, according to the rough positioning results and positioning variance, calculate the first normal distribution, according to the step length and the step direction, correspondingly calculate the second normal distribution and the third normal distribution, and according to the magnetic field value, calculate the variance of the magnetic field measurement; through the particle filter to match the magnetic field, each time the pedestrian takes a step, the corresponding particles are re-arranged, and the position of the pedestrian is corrected according to the change of the magnetic field where the particles are located to obtain the actual position of the pedestrian. The geomagnetism-based particle filter positioning method and device of the present invention do not need to give the starting position of the pedestrian, but adopt the particle filter to correct the position of the pedestrian according to the change of the magnetic field where the particle is located, so as to obtain the actual position of the pedestrian.

Description

基于地磁的粒子滤波定位方法及装置Particle filter positioning method and device based on geomagnetism

技术领域technical field

本发明涉及室内定位领域,尤其涉及一种基于地磁的粒子滤波定位方法及装置。The invention relates to the field of indoor positioning, in particular to a geomagnetic-based particle filter positioning method and device.

背景技术Background technique

地磁场起源于地球内部,较为稳定,一般情况下受外界影响较小,理论来说,地球上任一地点,地磁数据都应不同,甚至同一地点,海拔高度不同,地磁数据也不相同,这就提供了地磁导航的理论依据。现代的建筑大都是钢筋混凝土或钢结构,它们会在局部空间上弯曲地磁场,但在时间上是稳定的,并且在不同方位具有不同的磁场要素。The geomagnetic field originates from the interior of the earth and is relatively stable. Generally, it is less affected by the outside world. Theoretically speaking, any location on the earth should have different geomagnetic data, and even the same location has different altitudes, so the geomagnetic data is also different. The theoretical basis of geomagnetic navigation is provided. Modern buildings are mostly reinforced concrete or steel structures, which bend the geomagnetic field in local space, but are stable in time, and have different magnetic field elements in different directions.

地磁定位技术主要是利用地磁传感器装置,采集室内的三维地磁数据,经计算机处理后生成地磁基准图,用来地磁室内定位。由于手机上的磁强计本身受到其他磁体和软铁效应的影响存在误差,坐标变化后的结果和实际的测量值之间存在一定的误差,容易导致系统失效。The geomagnetic positioning technology mainly uses the geomagnetic sensor device to collect three-dimensional geomagnetic data indoors, and generates a geomagnetic reference map after computer processing, which is used for geomagnetic indoor positioning. Because the magnetometer on the mobile phone itself is affected by other magnets and soft iron effects, there is an error, and there is a certain error between the result after the coordinate change and the actual measurement value, which will easily lead to system failure.

现有技术中,室内定位通常利用步行者航位推算PDR算法,通过PDR算法,获得行的步数、步长、方向进行测量和统计,推算出步行者行走轨迹和位置等信息,但是该方法的定位误差会随着时间累积,长时间定位精度较低;并且现有技术中,通常要知道行人的初始位置,然后根据行人的步长,步数和方向进行推算得到行人在室内的定位结果。In the prior art, indoor positioning usually uses the dead reckoning PDR algorithm for pedestrians. Through the PDR algorithm, the number of steps, step length, and direction of the line are obtained for measurement and statistics, and information such as the walking track and position of the pedestrian is calculated. However, this method The positioning error will accumulate over time, and the long-term positioning accuracy is low; and in the prior art, it is usually necessary to know the initial position of the pedestrian, and then calculate the indoor positioning result of the pedestrian based on the pedestrian's step length, number of steps and direction .

因此,现有技术中的缺陷是,在不精确给定初始位置的情况下,不能根据被测目标(行人)在运动中对周围磁场环境的观测,定位被测目标的实际位置。Therefore, the defect in the prior art is that the actual position of the measured target cannot be located according to the observation of the measured target (pedestrian) to the surrounding magnetic field environment during motion without an accurate initial position.

发明内容Contents of the invention

本发明要解决的技术问题是提供一种基于地磁的粒子滤波定位方法,采用粒子滤波的方法,不用给定行人的起始位置,行人每迈一步,重新采集相应的粒子,根据粒子所处磁场的改变,得到行人的实际位置。The technical problem to be solved by the present invention is to provide a particle filter positioning method based on geomagnetism. The particle filter method does not need to give the starting position of the pedestrian. Every time the pedestrian takes a step, the corresponding particles are re-collected, and according to the magnetic field where the particles are located, the corresponding particles are collected again. change to get the actual position of the pedestrian.

为解决上述技术问题,本发明提供的技术方案是:In order to solve the problems of the technologies described above, the technical solution provided by the invention is:

第一方面,本发明提供一种基于地磁的粒子滤波定位方法,包括:In the first aspect, the present invention provides a geomagnetic-based particle filter positioning method, including:

步骤S1,获取粗测定位结果和定位方差,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,通过定点连续采集获得磁场值,所述磁场值为不计磁场方向的磁场大小值;Step S1, obtain rough positioning results and positioning variance, obtain pedestrian step length and step direction, establish a magnetic field map through preset point intervals, and obtain magnetic field values through fixed-point continuous acquisition. The magnetic field value is the value of the magnetic field regardless of the direction of the magnetic field ;

步骤S2,根据所述粗测定位结果和定位方差,计算得到第一个正态分布,根据所述迈步步长和所述迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据所述磁场值,计算得到磁场测量方差;Step S2: Calculate the first normal distribution according to the rough positioning result and the positioning variance, and calculate the second normal distribution and the third normal distribution according to the step length and the step direction distribution, and according to the magnetic field value, calculate the magnetic field measurement variance;

步骤S3,根据所述第一个正态分布,布设多个粒子,根据所述第二个正态分布和第三个正态分布,每个所述粒子按所述第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在所述磁场图中所在位置的磁场值;Step S3, laying out a plurality of particles according to the first normal distribution, and according to the second normal distribution and the third normal distribution, each of the particles is distributed according to the second normal distribution and the third normal distribution. The third normal distribution moves, and obtains the magnetic field value of each particle in the position of the magnetic field diagram after the movement;

步骤S4,根据所述移动后每个粒子在所述磁场图中所在位置的磁场值,结合所述磁场测量方差,按照正态分布计算出实测磁场值的概率密度,所述概率密度作为每个所述粒子的权重,得到每个所述粒子的位置和其权重的关系;Step S4, according to the magnetic field value of each particle in the magnetic field map after the movement, combined with the magnetic field measurement variance, calculate the probability density of the measured magnetic field value according to the normal distribution, and the probability density is used as each The weight of the particle, obtaining the relationship between the position of each particle and its weight;

步骤S5,根据每个所述粒子的位置和其权重的关系,重新布设新粒子,所述新粒子的数量与之前布设的所述粒子数量相同;Step S5, according to the relationship between the position of each particle and its weight, rearrange new particles, the number of the new particles is the same as the number of the previously arranged particles;

步骤S6,根据所述新粒子,对其在所述磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。Step S6, according to the new particles, perform weighted average processing on their positions in the magnetic field map to obtain the actual positioning position of the pedestrian after taking a step.

本发明基于地磁的粒子滤波定位方法的技术方案为:先获取粗测定位结果和定位方差,不限定用什么方式获得,比如可以根据行人手机上磁强计获得,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,就是预先根据间隔距离建立磁场图,同时通过定点连续采集获得磁场值,所述磁场值为不计磁场方向的磁场大小值;就是磁场值指的是磁场图中每个定点的磁场大小值取绝对值,即不计相应磁场大小的方向,经过多次连续采集,使得到的磁场值更精确,更稳定。The technical scheme of the particle filter positioning method based on geomagnetism in the present invention is: first obtain the rough positioning result and the positioning variance, and there is no limit to the method used to obtain it. For example, it can be obtained according to the magnetometer on the pedestrian's mobile phone, and the pedestrian's step length and step direction can be obtained. , to establish a magnetic field map through preset point intervals, that is, to establish a magnetic field map in advance according to the interval distance, and at the same time obtain the magnetic field value through fixed-point continuous acquisition, and the magnetic field value is the magnetic field value regardless of the magnetic field direction; The absolute value of the magnetic field at each fixed point is taken, that is, regardless of the direction of the corresponding magnetic field, after multiple continuous acquisitions, the obtained magnetic field value is more accurate and stable.

接着根据所述粗测定位结果和定位方差,将粗定位值和定位方差带入正态分布公式,得到第一个正态分布;同样的方式,根据所述迈步步长和所述迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据所述磁场值,计算得到磁场测量方差;Then, according to the rough positioning result and the positioning variance, the rough positioning value and the positioning variance are brought into the normal distribution formula to obtain the first normal distribution; in the same way, according to the step length and the step direction, Correspondingly calculating the second normal distribution and the third normal distribution, and calculating the magnetic field measurement variance according to the magnetic field value;

然后根据所述第一个正态分布,布设多个粒子;就是在粗测定位结果的一定范围内随机设置多个粒子,接着根据所述第二个正态分布和第三个正态分布,每个所述粒子按所述第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在所述磁场图中所在位置的磁场值;每个粒子按照第二个正态分布和第三个正太分布所预设的步长和方向进行移动,每个粒子移动的步长和方向都是不同的。Then according to the first normal distribution, a plurality of particles are arranged; that is, a plurality of particles are randomly arranged within a certain range of the rough positioning result, and then according to the second normal distribution and the third normal distribution, Each particle moves according to the second normal distribution and the third normal distribution, and obtains the magnetic field value of each particle in the position of the magnetic field diagram after the movement; each particle moves according to the second normal distribution The normal distribution and the third normal distribution move in the preset step size and direction, and each particle moves in a different step size and direction.

移动后,每个粒子换到了新的磁场环境,根据所述移动后每个粒子在所述磁场图中所在位置的磁场值,结合所述磁场测量方差,按照正态分布计算出实测磁场值的概率密度,所述概率密度作为每个所述粒子的权重,得到每个所述粒子的位置和其权重的关系;然后重新采样同等数量的新粒子;根据所述新粒子,对其在所述磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。因为行人运动是连续的,因此根据这种方法,行人再迈一步,就以这一步的粒子作为旧粒子,当旧粒子周围的环境(磁场环境)发生改变,重新布设新粒子,新粒子的数量与之前布设的粒子数量相同;如此循环,得到运动中行人的实际位置。粒子重新布设的原理是,根据计算获得的粒子权重,权重越高,重新布设时再次选中的概率就越高,这个过程就是根据粒子移动过程中对周围环境的观测,对行人的粗测位置进行修正,最后根据每次重新采样的粒子实现对行人的位置定位。After moving, each particle is changed to a new magnetic field environment, and according to the magnetic field value of each particle in the magnetic field diagram after the movement, combined with the magnetic field measurement variance, calculate the measured magnetic field value according to the normal distribution. Probability density, the probability density is used as the weight of each of the particles, and the relationship between the position of each of the particles and its weight is obtained; then re-sampling of the same number of new particles; according to the new particles, the The position in the magnetic field map is weighted and averaged to obtain the actual positioning position of the pedestrian after taking a step. Because the pedestrian movement is continuous, according to this method, when the pedestrian takes another step, the particles of this step are used as the old particles. When the environment (magnetic field environment) around the old particles changes, new particles are re-arranged. The number of particles is the same as that of the previous layout; in this way, the actual position of the pedestrian in motion is obtained. The principle of particle rearrangement is that according to the particle weight obtained by calculation, the higher the weight, the higher the probability of being selected again when re-arranging. Correction, and finally realize the positioning of pedestrians according to the particles resampled each time.

本发明基于地磁的粒子滤波定位方法,采用粒子滤波的方法,不用给定行人的起始位置,行人每迈一步,重新采集相应的粒子,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。The particle filter positioning method based on the geomagnetism of the present invention adopts the particle filter method, and does not need to give the starting position of the pedestrian. Every time the pedestrian takes a step, the corresponding particles are collected again, and the position of the pedestrian is corrected according to the change of the magnetic field where the particles are located. Get the actual location of the pedestrian.

进一步地,所述预设定点间隔为0.01米。在室内空间范围内,根据预设定点间隔建立磁场图,每隔0.01米设一个定点,通过磁场图可以得到室内地磁场的分布数据,即磁场大小数据;因此经试验验证,间隔不宜设得过大,会遗漏很多磁场分布数据,因此将间隔设为0.01米,获得的磁场数据可使室内定位结果更精准。Further, the interval between the preset points is 0.01 meters. Within the scope of indoor space, establish a magnetic field map according to the preset point interval, set a fixed point every 0.01 meters, and get the distribution data of the indoor geomagnetic field through the magnetic field map, that is, the magnetic field size data; therefore, it has been verified by experiments that the interval should not be set too high If the distance is too large, a lot of magnetic field distribution data will be missed, so set the interval to 0.01 meters, and the obtained magnetic field data can make the indoor positioning results more accurate.

进一步地,所述步骤2中,所述第二个正态分布和第三个正态分布获得还包括:Further, in the step 2, obtaining the second normal distribution and the third normal distribution also includes:

步骤S21,根据所述迈步步长和所述迈步方向,通过多次测量统计分别计算所述迈步步长方差和所述迈步方向方差,分别计算所述迈步步长和所述迈步方向的均值;Step S21, according to the step length and the step direction, respectively calculate the variance of the step length and the variance of the step direction through multiple measurement statistics, and respectively calculate the average value of the step length and the step direction;

步骤S22,根据所述迈步步长方差、所述迈步方向方差、所述迈步步长均值和所述迈步方向均值,对应得到第二个正态分布和第三个正态分布。Step S22, according to the step length variance, the step direction variance, the mean value of the step length and the mean value of the step direction, correspondingly obtain a second normal distribution and a third normal distribution.

要计算正太分布,要根据正态分布的公式,得到相应迈步步长的均值及方差,得到相应迈步方向的均值和方差,并且,为了使获得的均值方差更准确,要经过多次测量统计,迈步步长值获得的越多,均值越稳定,方差越准确,相应的,迈步方向获得的越多,得到的均值和方差也越准确。To calculate the normal distribution, according to the formula of the normal distribution, the mean value and variance of the corresponding step length and the mean value and variance of the corresponding step direction must be obtained, and in order to make the obtained mean value variance more accurate, it is necessary to go through multiple measurements and statistics. The more you get the step length value, the more stable the mean value and the more accurate the variance. Correspondingly, the more you get the step direction, the more accurate the mean value and variance are.

进一步地,所述步骤S3中,每个所述粒子按所述第二个正态分布和第三个正态分布进行移动,还包括:Further, in the step S3, each of the particles moves according to the second normal distribution and the third normal distribution, further comprising:

步骤S31,根据所述迈步步长和迈步方向,每个所述粒子按照特定步长和特定方向移动,所述特定步长满足所述迈步步长和所述迈步步长方差的第二正态分布,所述特定方向满足所述迈步方向和所述迈步方向方差的第三正态分布;Step S31, according to the step size and step direction, each of the particles moves according to a specific step size and a specific direction, and the specific step size satisfies the second normal of the step size and the step size variance distribution, the particular direction satisfies a third normal distribution of the step direction and the variance of the step direction;

步骤S32,根据所述第二正态分布和所述第三正态分布,每个所述粒子进行移动。Step S32, each of the particles moves according to the second normal distribution and the third normal distribution.

粒子按照得到的第二个正态分布和第三个正态分布进行移动,实质上,粒子是按照一个随机步长移动,这个随机步长是来自第二个正态分布预设的一个步长,相应的,粒子移动的方向是按照第三个正态分布预设的迈步方向进行移动的,但每个粒子的移动方向和步长都不同,所以是按照正态分布移动的。也就是说粒子移动得步长满足第二个正态分布,粒子的移动方向满足第三个正态分布。The particles move according to the obtained second normal distribution and the third normal distribution. In essence, the particles move according to a random step size, which is a preset step size from the second normal distribution. , correspondingly, the moving direction of the particles is moving according to the stepping direction preset by the third normal distribution, but the moving direction and step size of each particle are different, so they move according to the normal distribution. That is to say, the step length of particle movement satisfies the second normal distribution, and the moving direction of particles satisfies the third normal distribution.

进一步地,所述行人的迈步步长和迈步方向通过步行者航位推算PDR模型获得。PDR(Pedestrian Dead Reckoning)称为步行者航位推算,称为步行者航位推算,主要是计算获得室内行走的人的位置,该算法是根据步行者行走的步数、步长、方向进行测量和统计,推算出步行者行走轨迹和位置等信息。算法简单。Further, the pedestrian's stride length and stride direction are obtained through the pedestrian's dead reckoning PDR model. PDR (Pedestrian Dead Reckoning) is called Pedestrian Dead Reckoning, and it is called Pedestrian Dead Reckoning. It mainly calculates and obtains the position of people walking indoors. And statistics, deduce information such as the walking track and position of the pedestrian. The algorithm is simple.

第二方面,本发明提供一种基于地磁的粒子滤波定位装置,包括:In the second aspect, the present invention provides a particle filter positioning device based on geomagnetism, including:

数据获取模块,用于获取粗测定位结果和定位方差,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,通过定点连续采集获得磁场值,所述磁场值为不计磁场方向的磁场大小值;The data acquisition module is used to obtain rough positioning results and positioning variance, obtain pedestrian step length and step direction, establish a magnetic field map through preset point intervals, and obtain magnetic field values through fixed-point continuous acquisition. The magnetic field value does not count the direction of the magnetic field Magnetic field value;

正态分布计算模块,用于根据所述粗测定位结果和定位方差,计算得到第一个正态分布,根据所述迈步步长和所述迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据所述磁场值,计算得到磁场测量方差;The normal distribution calculation module is used to calculate and obtain the first normal distribution according to the rough positioning result and the positioning variance, and to obtain the second normal distribution and the corresponding calculation according to the step length and the step direction. The third normal distribution, and according to the magnetic field value, calculate the magnetic field measurement variance;

粒子移动模块,用于根据所述第一个正态分布,布设多个粒子,根据所述第二个正态分布和第三个正态分布,每个所述粒子按所述第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在所述磁场图中所在位置的磁场值;A particle moving module, configured to lay out a plurality of particles according to the first normal distribution, and according to the second normal distribution and the third normal distribution, each of the particles according to the second normal distribution The state distribution and the third normal distribution are moved, and the magnetic field value of each particle in the position of the magnetic field diagram is obtained after the movement;

权重值计算模块,用于根据所述移动后每个粒子在所述磁场图中所在位置的磁场值,结合所述磁场测量方差,按照正态分布计算出实测磁场值的概率密度,所述概率密度作为每个所述粒子的权重,得到每个所述粒子的位置和其权重的关系;The weight value calculation module is used to calculate the probability density of the measured magnetic field value according to the normal distribution according to the magnetic field value of each particle in the position of the magnetic field diagram after the movement, and the probability density of the measured magnetic field value in combination with the magnetic field measurement variance. The density is used as the weight of each particle, and the relationship between the position of each particle and its weight is obtained;

新粒子获取模块,用于根据每个所述粒子的位置和其权重的关系,重新布设新粒子,所述新粒子的数量与之前布设的所述粒子数量相同;The new particle acquisition module is used to rearrange new particles according to the relationship between the position of each particle and its weight, and the number of the new particles is the same as the number of the particles previously arranged;

定位位置获取模块,用于根据所述新粒子,对其在所述磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。The positioning position acquisition module is used to perform weighted average processing on the position of the new particle in the magnetic field map to obtain the actual positioning position of the pedestrian after taking a step.

本发明基于地磁的粒子滤波定位装置的技术方案为:先通过数据获取模块,获取粗测定位结果和定位方差,不限定用什么方式获得,比如可以根据行人手机上磁强计获得,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,就是预先根据间隔距离建立磁场图,同时通过定点连续采集获得磁场值,所述磁场值为不计磁场方向的磁场大小值;就是磁场值指的是磁场图中每个定点的磁场大小值取绝对值,即不计相应磁场大小的方向,经过多次连续采集,使得到的磁场值更精确,更稳定。The technical scheme of the particle filter positioning device based on geomagnetism in the present invention is as follows: firstly, through the data acquisition module, the rough positioning result and positioning variance are obtained, and the method is not limited. Step length and step direction, establish the magnetic field map through the preset point interval, that is, establish the magnetic field map according to the interval distance in advance, and obtain the magnetic field value through fixed-point continuous acquisition. The magnetic field value is the value of the magnetic field regardless of the magnetic field direction; The most important thing is that the absolute value of the magnetic field value of each fixed point in the magnetic field diagram is taken, that is, the direction of the corresponding magnetic field size is ignored. After multiple continuous acquisitions, the obtained magnetic field value is more accurate and stable.

接着通过正态分布计算模块,根据所述粗测定位结果和定位方差,将粗定位值和定位方差带入正态分布公式,得到第一个正态分布;同样的方式,根据所述迈步步长和所述迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据所述磁场值,计算得到磁场测量方差;Then, through the normal distribution calculation module, according to the rough positioning result and the positioning variance, the rough positioning value and the positioning variance are brought into the normal distribution formula to obtain the first normal distribution; in the same way, according to the step-by-step The length and the stepping direction are calculated correspondingly to obtain the second normal distribution and the third normal distribution, and according to the magnetic field value, the magnetic field measurement variance is calculated;

然后通过粒子布设模块,根据所述第一个正态分布,布设多个粒子;就是在粗测定位结果的一定范围内随机设置多个粒子,接着通过粒子移动模块,根据所述第二个正态分布和第三个正态分布,每个所述粒子按所述第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在所述磁场图中所在位置的磁场值;每个粒子按照第二个正态分布和第三个正太分布所预设的步长和方向进行移动,每个粒子移动的步长和方向都是不同的。Then through the particle layout module, according to the first normal distribution, a plurality of particles are arranged; that is, a plurality of particles are randomly set within a certain range of the rough positioning result, and then through the particle movement module, according to the second normal distribution normal distribution and the third normal distribution, each particle moves according to the second normal distribution and the third normal distribution, and obtains the position of each particle in the magnetic field diagram after the movement Magnetic field value; each particle moves according to the preset step size and direction of the second normal distribution and the third normal distribution, and each particle moves with a different step size and direction.

移动后,每个粒子换到了新的磁场环境,通过权重值计算模块,根据所述移动后每个粒子在所述磁场图中所在位置的磁场值,结合所述磁场测量方差,按照正态分布计算出实测磁场值的概率密度,所述概率密度作为每个所述粒子的权重,得到每个所述粒子的位置和其权重的关系;然后通过新粒子获取模块,根据每个所述粒子的位置和其权重的关系,重新布设新粒子,新粒子的数量与之前布设的粒子数量相同;接着通过定位位置获取模块,根据所述新粒子,对其在所述磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。因为行人运动是连续的,因此根据这种方法,行人再迈一步,就以这一步的粒子作为旧粒子,当旧粒子周围的环境(磁场环境)发生改变,重新布设与旧粒子数目相同的新粒子,如此循环,得到运动中行人的实际位置。粒子重新布设的原理是,根据计算获得的粒子权重,权重越高,重新布设时再次选中的概率就越高,这个过程就是根据粒子移动过程中对周围环境的观测,对行人的粗测位置进行修正,最后根据每次重新采样的粒子实现对行人的位置定位。After moving, each particle is changed to a new magnetic field environment. Through the weight value calculation module, according to the magnetic field value of each particle in the magnetic field diagram after the movement, combined with the magnetic field measurement variance, according to the normal distribution Calculate the probability density of the measured magnetic field value, and use the probability density as the weight of each particle to obtain the relationship between the position of each particle and its weight; then, through the new particle acquisition module, according to the weight of each particle The relationship between the position and its weight, re-arrange new particles, the number of new particles is the same as the number of particles arranged before; then by positioning the position acquisition module, according to the new particles, their positions in the magnetic field map are weighted and averaged processing to obtain the actual positioning position of the pedestrian after taking a step. Because the pedestrian movement is continuous, according to this method, when the pedestrian takes another step, the particles of this step are used as the old particles. When the environment (magnetic field environment) around the old particles changes, new particles with the same number as the old particles Particles circulate in this way to get the actual position of the pedestrian in motion. The principle of particle rearrangement is that according to the particle weight obtained by calculation, the higher the weight, the higher the probability of being selected again when re-arranging. Correction, and finally realize the positioning of pedestrians according to the particles resampled each time.

本发明基于地磁的粒子滤波定位装置,采用粒子滤波的方法,不用给定行人的起始位置,行人每迈一步,重新采集相应的粒子,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。The particle filter positioning device based on the geomagnetism of the present invention adopts the method of particle filter, without giving the starting position of the pedestrian, every time the pedestrian takes a step, the corresponding particles are collected again, and the position of the pedestrian is corrected according to the change of the magnetic field where the particles are located. Get the actual location of the pedestrian.

进一步地,所述正态分布计算模块中,所述第二个正态分布和第三个正态分布获得还包括:Further, in the normal distribution calculation module, obtaining the second normal distribution and the third normal distribution also includes:

方差均值计算模块,用于根据所述迈步步长和所述迈步方向,通过多次测量统计分别计算所述迈步步长方差和所述迈步方向方差,分别计算所述迈步步长和所述迈步方向的均值;The mean variance calculation module is used to calculate the variance of the step length and the variance of the step direction through multiple measurement statistics according to the step length and the step direction, respectively calculate the step length and the step mean of direction;

正态分布获得模块,用于根据所述迈步步长方差、所述迈步方向方差、所述迈步步长均值和所述迈步方向均值,对应得到第二个正态分布和第三个正态分布。The normal distribution obtaining module is used to obtain the second normal distribution and the third normal distribution correspondingly according to the variance of the step length, the variance of the direction of the step, the mean value of the step length and the mean value of the direction of the step .

要计算正太分布,要根据正态分布的公式,得到相应迈步步长的均值及方差,得到相应迈步方向的均值和方差,因此第二个正态分布和第三个正态分布获得通过方差均值计算模块和正态分布获得模块一起获得;并且,为了使获得的均值方差更准确,要经过多次测量统计,迈步步长值获得的越多,均值越稳定,方差越准确,相应的,迈步方向获得的越多,得到的均值和方差也越准确。To calculate the normal distribution, according to the formula of the normal distribution, the mean value and variance of the corresponding step length are obtained, and the mean value and variance of the corresponding step direction are obtained, so the second normal distribution and the third normal distribution obtain the mean value of the variance The calculation module and the normal distribution acquisition module are obtained together; and, in order to make the obtained mean variance more accurate, it needs to go through multiple measurement statistics, the more the step length value is obtained, the more stable the mean value and the more accurate the variance, correspondingly, step The more directions you get, the more accurate your mean and variance will be.

进一步地,所述粒子移动模块中,每个所述粒子按所述第二个正态分布和第三个正态分布进行移动还包括:Further, in the particle moving module, moving each particle according to the second normal distribution and the third normal distribution also includes:

粒子移动条件模块,用于根据所述迈步步长和迈步方向,每个所述粒子按照特定步长和特定方向移动,所述特定步长满足所述迈步步长和所述迈步步长方差的第二正态分布,所述特定方向满足所述迈步方向和所述迈步方向方差的第三正态分布;A particle movement condition module, configured to move each particle according to a specific step size and a specific direction according to the step size and the step direction, and the specific step size satisfies the variance of the step size and the step size variance a second normal distribution, said particular direction satisfying a third normal distribution of said step direction and said step direction variance;

粒子移动子模块,用于根据所述第二正态分布和所述第三正态分布,每个所述粒子进行移动。The particle moving submodule is configured to move each particle according to the second normal distribution and the third normal distribution.

粒子按照得到的第二个正态分布和第三个正态分布进行移动,实质上,粒子是按照一个随机步长移动,这个随机步长是来自第二个正态分布预设的一个步长,相应的,粒子移动的方向是按照第三个正态分布预设的迈步方向进行移动的,但每个粒子的移动方向和步长都不同,所以是按照正态分布移动的。也就是说粒子移动得步长满足第二个正态分布,粒子的移动方向满足第三个正态分布。The particles move according to the obtained second normal distribution and the third normal distribution. In essence, the particles move according to a random step size, which is a preset step size from the second normal distribution. , correspondingly, the moving direction of the particles is moving according to the stepping direction preset by the third normal distribution, but the moving direction and step size of each particle are different, so they move according to the normal distribution. That is to say, the step length of particle movement satisfies the second normal distribution, and the moving direction of particles satisfies the third normal distribution.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that are required in the description of the specific embodiments or the prior art.

图1示出了本发明第一实施例所提供的一种基于地磁的粒子滤波定位方法的流程图;FIG. 1 shows a flow chart of a geomagnetic-based particle filter positioning method provided by the first embodiment of the present invention;

图2示出了本发明第一实施例所提供的一种基于地磁的粒子滤波定位装置的结构框图。Fig. 2 shows a structural block diagram of a geomagnetism-based particle filter positioning device provided by the first embodiment of the present invention.

具体实施方式detailed description

下面将结合附图对本发明技术方案的实施例进行详细的描述。以下实施例仅用于更加清楚地说明本发明的技术方案,因此只是作为示例,而不能以此来限制本发明的保护范围。Embodiments of the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, so they are only examples, and should not be used to limit the protection scope of the present invention.

实施例一Embodiment one

图1示出了本发明第一实施例所提供的一种基于地磁的粒子滤波定位方法的流程图。如图1所示,根据本发明第一实施例的基于地磁的粒子滤波定位方法,包括:Fig. 1 shows a flow chart of a geomagnetism-based particle filter positioning method provided by the first embodiment of the present invention. As shown in FIG. 1, the geomagnetism-based particle filter positioning method according to the first embodiment of the present invention includes:

步骤S1,获取粗测定位结果和定位方差,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,通过定点连续采集获得磁场值,磁场值为不计磁场方向的磁场大小值;Step S1, obtain rough positioning results and positioning variance, obtain pedestrian step length and step direction, establish a magnetic field map through preset point intervals, obtain magnetic field values through fixed-point continuous acquisition, and the magnetic field value is the magnetic field value regardless of the magnetic field direction;

步骤S2,根据所粗测定位结果和定位方差,计算得到第一个正态分布,根据迈步步长和迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据磁场值,计算得到磁场测量方差;Step S2, calculate the first normal distribution according to the roughly measured positioning results and the positioning variance, and obtain the second normal distribution and the third normal distribution according to the step length and step direction, and obtain the second normal distribution and the third normal distribution according to the magnetic field value, calculate the magnetic field measurement variance;

步骤S3,根据第一个正态分布,布设多个粒子,根据第二个正态分布和第三个正态分布,每个粒子按第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在磁场图中所在位置的磁场值;Step S3, lay out multiple particles according to the first normal distribution, and move each particle according to the second normal distribution and the third normal distribution according to the second normal distribution and the third normal distribution , and get the magnetic field value of each particle in the magnetic field diagram after moving;

步骤S4,根据移动后每个粒子在磁场图中所在位置的磁场值,结合磁场测量方差,按照正态分布计算出实测磁场值的概率密度,概率密度作为每个粒子的权重,得到每个粒子的位置和其权重的关系;Step S4, according to the magnetic field value of each particle in the magnetic field map after the movement, combined with the variance of the magnetic field measurement, calculate the probability density of the measured magnetic field value according to the normal distribution, the probability density is used as the weight of each particle, and each particle is obtained The relationship between the position and its weight;

步骤S5,根据每个粒子的位置和其权重的关系,重新布设新粒子,新粒子的数量与之前布设的粒子数量相同;Step S5, according to the relationship between the position of each particle and its weight, rearrange new particles, the number of new particles is the same as the number of particles previously arranged;

步骤S6,根据新粒子,对其在磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。Step S6, according to the new particle, its position in the magnetic field map is weighted and averaged to obtain the actual positioning position of the pedestrian after taking a step.

本发明基于地磁的粒子滤波定位方法的技术方案为:先获取粗测定位结果和定位方差,不限定用什么方式获得,比如可以根据行人手机上磁强计获得,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,就是预先根据间隔距离建立磁场图,同时通过定点连续采集获得磁场值,磁场值为不计磁场方向的磁场大小值;就是磁场值指的是磁场图中每个定点的磁场大小值取绝对值,即不计相应磁场大小的方向,经过多次连续采集,使得到的磁场值更精确,更稳定。The technical scheme of the particle filter positioning method based on geomagnetism in the present invention is: first obtain the rough positioning result and the positioning variance, and there is no limit to the method used to obtain it. For example, it can be obtained according to the magnetometer on the pedestrian's mobile phone, and the pedestrian's step length and step direction can be obtained. , to establish a magnetic field map through preset point intervals, that is, to establish a magnetic field map in advance according to the interval distance, and at the same time obtain the magnetic field value through fixed-point continuous acquisition. The magnetic field value is the value of the magnetic field regardless of the magnetic field direction; The absolute value of the magnetic field at a fixed point is taken, that is, regardless of the direction of the corresponding magnetic field, after multiple continuous acquisitions, the obtained magnetic field value is more accurate and stable.

接着根据粗测定位结果和定位方差,将粗定位值和定位方差带入正态分布公式,得到第一个正态分布;同样的方式,根据迈步步长和迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据所述磁场值,计算得到磁场测量方差;Then, according to the rough positioning results and positioning variance, the rough positioning value and positioning variance are brought into the normal distribution formula to obtain the first normal distribution; in the same way, according to the step length and step direction, the corresponding calculation is obtained to obtain the second Normal distribution and the third normal distribution, and according to the magnetic field value, calculate the magnetic field measurement variance;

然后根据第一个正态分布,布设多个粒子;就是在粗测定位结果的一定范围内随机设置多个粒子,接着根据所述第二个正态分布和第三个正态分布,每个粒子按第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在磁场图中所在位置的磁场值;每个粒子按照第二个正态分布和第三个正太分布所预设的步长和方向进行移动,每个粒子移动的步长和方向都是不同的。Then according to the first normal distribution, a plurality of particles are arranged; that is, a plurality of particles are randomly set within a certain range of the rough positioning results, and then according to the second normal distribution and the third normal distribution, each Particles move according to the second normal distribution and the third normal distribution, and get the magnetic field value of each particle in the magnetic field map after moving; each particle moves according to the second normal distribution and the third normal distribution The step size and direction of each particle's movement are different.

移动后,每个粒子换到了新的磁场环境,根据移动后每个粒子在磁场图中所在位置的磁场值,结合磁场测量方差,按照正态分布计算出实测磁场值的概率密度,概率密度作为每个所述粒子的权重,得到每个粒子的位置和其权重的关系;然后重新布设新粒子,新粒子的数量与之前布设的粒子数量相同;根据新粒子,对其在磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。因为行人运动是连续的,因此根据这种方法,行人再迈一步,就以这一步的粒子作为旧粒子,当旧粒子周围的环境(磁场环境)发生改变,重新布设与旧粒子数目相同的新粒子,如此循环,得到运动中行人的实际位置。粒子重新布设的原理是,根据计算获得的粒子权重,权重越高,重新布设时再次选中的概率就越高,这个过程就是根据粒子移动过程中对周围环境的观测,对行人的粗测位置进行修正,最后根据每次重新采样的粒子实现对行人的位置定位。After moving, each particle is changed to a new magnetic field environment. According to the magnetic field value of each particle in the magnetic field diagram after the movement, combined with the variance of the magnetic field measurement, the probability density of the measured magnetic field value is calculated according to the normal distribution, and the probability density is taken as According to the weight of each particle, the relationship between the position of each particle and its weight is obtained; then new particles are re-arranged, and the number of new particles is the same as the number of particles previously arranged; according to the position of the new particles in the magnetic field diagram Perform weighted average processing to obtain the actual positioning position of the pedestrian after taking a step. Because the pedestrian movement is continuous, according to this method, when the pedestrian takes another step, the particles of this step are used as the old particles. When the environment (magnetic field environment) around the old particles changes, new particles with the same number as the old particles Particles circulate in this way to get the actual position of the pedestrian in motion. The principle of particle rearrangement is that according to the particle weight obtained by calculation, the higher the weight, the higher the probability of being selected again when re-arranging. Correction, and finally realize the positioning of pedestrians according to the particles resampled each time.

本发明基于地磁的粒子滤波定位方法,采用粒子滤波的方法,不用给定行人的起始位置,行人每迈一步,重新采集相应的粒子,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。The particle filter positioning method based on the geomagnetism of the present invention adopts the particle filter method, and does not need to give the starting position of the pedestrian. Every time the pedestrian takes a step, the corresponding particles are collected again, and the position of the pedestrian is corrected according to the change of the magnetic field where the particles are located. Get the actual location of the pedestrian.

具体地,粒子滤波(PF:Particle Filter)的思想基于蒙特卡洛方法(Monte Carlomethods),它是利用粒子集来表示概率,可以用在任何形式的状态空间模型上。其核心思想是通过从后验概率中抽取的随机状态粒子来表达其分布,是一种顺序重要性采样法(Sequential Importance Sampling)。简单来说,粒子滤波法是指通过寻找一组在状态空间传播的随机样本对概率密度函数进行近似,以样本均值代替积分运算,从而获得状态最小方差分布的过程。这里的样本即指粒子,当样本数量N→∝时可以逼近任何形式的概率密度分布。Specifically, the idea of Particle Filter (PF: Particle Filter) is based on Monte Carlo methods, which use particle sets to represent probability, and can be used in any form of state space model. Its core idea is to express its distribution through random state particles extracted from the posterior probability, which is a sequential importance sampling method (Sequential Importance Sampling). In simple terms, the particle filter method refers to the process of approximating the probability density function by finding a group of random samples propagated in the state space, and replacing the integral operation with the sample mean value, so as to obtain the minimum variance distribution of the state. The samples here refer to the particles, and when the number of samples is N→∝, any form of probability density distribution can be approximated.

尽管算法中的概率分布只是真实分布的一种近似,但由于非参数化的特点,它摆脱了解决非线性滤波问题时随机量必须满足高斯分布的制约,能表达比高斯模型更广泛的分布,也对变量参数的非线性特性有更强的建模能力。因此,粒子滤波能够比较精确地表达基于观测量和控制量的后验概率分布,可以用于解决SLAM即时定位与地图构建(simultaneous localization and mapping)问题。在本发明中运用粒子滤波结合地磁进行室内定位,就是根据行人每迈一步,磁场图中的粒子也移动一步,然后通过粒子移动后对应所在位置的磁场值计算概率密度,就是通过寻找一组在室内空间移动的随机粒子对概率密度函数进行近似,通过对概率密度(粒子权重)的逐渐提升,最后定位得到实际位置。Although the probability distribution in the algorithm is only an approximation of the real distribution, due to the non-parametric characteristics, it gets rid of the constraint that the random quantity must satisfy the Gaussian distribution when solving the nonlinear filtering problem, and can express a wider distribution than the Gaussian model. It also has a stronger modeling ability for the nonlinear characteristics of variable parameters. Therefore, particle filtering can more accurately express the posterior probability distribution based on observations and control quantities, and can be used to solve SLAM instant localization and map construction (simultaneous localization and mapping) problems. In the present invention, particle filtering is combined with geomagnetism for indoor positioning, that is, every time a pedestrian takes a step, the particles in the magnetic field map also move one step, and then the probability density is calculated by the magnetic field value corresponding to the position after the particle moves, that is, by finding a set of The random particles moving in the indoor space approximate the probability density function, and the actual position is finally obtained by gradually increasing the probability density (particle weight).

具体地,预设定点间隔为0.01米。在室内空间范围内,根据预设定点间隔建立磁场图,每隔0.01米设一个定点,通过磁场图可以得到室内地磁场的分布数据,即磁场大小数据;因此经试验验证,间隔不宜设得过大,会遗漏很多磁场分布数据,因此将间隔设为0.01米,获得的磁场数据可使室内定位结果更精准。Specifically, the interval between preset points is 0.01 meters. Within the scope of indoor space, establish a magnetic field map according to the preset point interval, set a fixed point every 0.01 meters, and get the distribution data of the indoor geomagnetic field through the magnetic field map, that is, the magnetic field size data; therefore, it has been verified by experiments that the interval should not be set too high If the distance is too large, a lot of magnetic field distribution data will be missed, so set the interval to 0.01 meters, and the obtained magnetic field data can make the indoor positioning results more accurate.

具体地,步骤2中,第二个正态分布和第三个正态分布获得还包括:Specifically, in step 2, obtaining the second normal distribution and the third normal distribution also includes:

步骤S21,根据迈步步长和所述迈步方向,通过多次测量统计分别计算迈步步长方差和迈步方向方差,分别计算迈步步长和迈步方向的均值;Step S21, according to the stride length and the stride direction, respectively calculate the variance of the stride length and the variance of the stride direction through multiple measurement statistics, and respectively calculate the mean values of the stride length and the stride direction;

步骤S22,根据迈步步长方差、迈步方向方差、迈步步长均值和迈步方向均值,对应得到第二个正态分布和第三个正态分布。Step S22, according to the variance of the step length, the variance of the step direction, the mean value of the step length and the mean value of the step direction, correspondingly obtain the second normal distribution and the third normal distribution.

要计算正太分布,要根据正态分布的公式,得到相应迈步步长的均值及方差,得到相应迈步方向的均值和方差,并且,为了使获得的均值方差更准确,要经过多次测量统计,迈步步长值获得的越多,均值越稳定,方差越准确,相应的,迈步方向获得的越多,得到的均值和方差也越准确。To calculate the normal distribution, according to the formula of the normal distribution, the mean value and variance of the corresponding step length and the mean value and variance of the corresponding step direction must be obtained, and in order to make the obtained mean value variance more accurate, it is necessary to go through multiple measurements and statistics. The more you get the step length value, the more stable the mean value and the more accurate the variance. Correspondingly, the more you get the step direction, the more accurate the mean value and variance are.

具体地,步骤S3中,每个粒子按第二个正态分布和第三个正态分布进行移动还包括:Specifically, in step S3, moving each particle according to the second normal distribution and the third normal distribution also includes:

步骤S31,根据迈步步长和迈步方向,每个粒子按照特定步长和特定方向移动,特定步长满足迈步步长和迈步步长方差的第二正态分布,特定方向满足迈步方向和迈步方向方差的第三正态分布;Step S31, according to the step size and step direction, each particle moves according to a specific step size and a specific direction, the specific step size satisfies the second normal distribution of the step size and the variance of the step size, and the specific direction satisfies the step direction and the step direction third normal distribution of variance;

步骤S32,根据第二正态分布和第三正态分布,每个粒子进行移动。Step S32, each particle moves according to the second normal distribution and the third normal distribution.

粒子按照得到的第二个正态分布和第三个正态分布进行移动,实质上,粒子是按照一个随机步长移动,这个随机步长是来自第二个正态分布预设的一个步长,相应的,粒子移动的方向是按照第三个正态分布预设的迈步方向进行移动的,但每个粒子的移动方向和步长都不同,所以是按照正态分布移动的。也就是说粒子移动得步长满足第二个正态分布,粒子的移动方向满足第三个正态分布。The particles move according to the obtained second normal distribution and the third normal distribution. In essence, the particles move according to a random step size, which is a preset step size from the second normal distribution. , correspondingly, the moving direction of the particles is moving according to the stepping direction preset by the third normal distribution, but the moving direction and step size of each particle are different, so they move according to the normal distribution. That is to say, the step length of particle movement satisfies the second normal distribution, and the moving direction of particles satisfies the third normal distribution.

具体地,行人的迈步步长和迈步方向通过步行者航位推算PDR模型获得。PDR称为步行者航位推算,主要是计算获得室内行走的人的位置,该算法是根据步行者行走的步数、步长、方向进行测量和统计,推算出步行者行走轨迹和位置等信息。算法简单。Specifically, the pedestrian's step length and step direction are obtained through the pedestrian's dead reckoning PDR model. PDR is called Pedestrian Dead Reckoning, which mainly calculates the position of people walking indoors. This algorithm measures and counts the number of steps, step length, and direction of pedestrians, and calculates the walking trajectory and position of pedestrians. . The algorithm is simple.

图2示出了本发明第一实施例所提供的一种基于地磁的粒子滤波定位装置的结构框图。如图2所示,本发明提供一种基于地磁的粒子滤波定位装置10,包括:Fig. 2 shows a structural block diagram of a geomagnetism-based particle filter positioning device provided by the first embodiment of the present invention. As shown in Figure 2, the present invention provides a particle filter positioning device 10 based on geomagnetism, including:

数据获取模块101,用于获取粗测定位结果和定位方差,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,通过定点连续采集获得磁场值,所述磁场值为不计磁场方向的磁场大小值;The data acquisition module 101 is used to obtain rough positioning results and positioning variance, obtain pedestrian step length and step direction, establish a magnetic field map through preset point intervals, and obtain magnetic field values through fixed-point continuous acquisition. The magnetic field value does not count the direction of the magnetic field The value of the magnetic field;

正态分布计算模块102,用于根据粗测定位结果和定位方差,计算得到第一个正态分布,根据迈步步长和迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据磁场值,计算得到磁场测量方差;The normal distribution calculation module 102 is used to calculate the first normal distribution according to the rough positioning results and the positioning variance, and to obtain the second normal distribution and the third normal distribution according to the step length and the step direction. distribution, and calculate the magnetic field measurement variance according to the magnetic field value;

粒子移动模块103,用于根据第一个正态分布,布设多个粒子,根据第二个正态分布和第三个正态分布,每个粒子按第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在磁场图中所在位置的磁场值;The particle movement module 103 is used to arrange a plurality of particles according to the first normal distribution, and according to the second normal distribution and the third normal distribution, each particle is distributed according to the second normal distribution and the third normal distribution. The state distribution is moved, and the magnetic field value of each particle in the magnetic field diagram is obtained after the movement;

权重值计算模块104,用于根据移动后每个粒子在磁场图中所在位置的磁场值,结合磁场测量方差,按照正态分布计算出实测磁场值的概率密度,概率密度作为每个粒子的权重,得到每个粒子的位置和其权重的关系;The weight value calculation module 104 is used to calculate the probability density of the measured magnetic field value according to the normal distribution according to the magnetic field value of each particle in the position of the magnetic field diagram after the movement, and the probability density is used as the weight of each particle , get the relationship between the position of each particle and its weight;

新粒子获取模块105,用于根据每个粒子的位置和其权重的关系,重新布设新粒子,新粒子的数量与之前布设的粒子数量相同;The new particle acquisition module 105 is used to rearrange new particles according to the relationship between the position of each particle and its weight, and the number of new particles is the same as the number of particles arranged before;

定位位置获取模块106,用于根据新粒子,对其在磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。The positioning position acquisition module 106 is used to perform weighted average processing on the position of the new particle in the magnetic field map to obtain the actual positioning position of the pedestrian after taking a step.

本发明基于地磁的粒子滤波定位装置10的技术方案为:先通过数据获取模块101,获取粗测定位结果和定位方差,不限定用什么方式获得,比如可以根据行人手机上磁强计获得,获取行人迈步步长和迈步方向,通过预设定点间隔建立磁场图,就是预先根据间隔距离建立磁场图,同时通过定点连续采集获得磁场值,所述磁场值为不计磁场方向的磁场大小值;就是磁场值指的是磁场图中每个定点的磁场大小值取绝对值,即不计相应磁场大小的方向,经过多次连续采集,使得到的磁场值更精确,更稳定。The technical solution of the geomagnetism-based particle filter positioning device 10 of the present invention is: firstly, through the data acquisition module 101, obtain the rough measurement positioning result and the positioning variance, and there is no limit to the method used to obtain it. For example, it can be obtained from the magnetometer on the mobile phone of a pedestrian. Pedestrians step length and step direction, establish the magnetic field map through the preset point interval, that is, establish the magnetic field map according to the interval distance in advance, and obtain the magnetic field value through fixed-point continuous acquisition. The magnetic field value is the magnetic field value regardless of the magnetic field direction; it is the magnetic field The value refers to the absolute value of the magnetic field at each fixed point in the magnetic field diagram, that is, regardless of the direction of the corresponding magnetic field, after multiple continuous acquisitions, the obtained magnetic field value is more accurate and stable.

接着通过正态分布计算模块102,根据粗测定位结果和定位方差,将粗定位值和定位方差带入正态分布公式,得到第一个正态分布;同样的方式,根据迈步步长和迈步方向,对应计算得到第二个正态分布和第三个正态分布,并根据磁场值,计算得到磁场测量方差;Then, through the normal distribution calculation module 102, according to the rough positioning result and the positioning variance, the rough positioning value and the positioning variance are brought into the normal distribution formula to obtain the first normal distribution; Direction, the second normal distribution and the third normal distribution are calculated correspondingly, and the magnetic field measurement variance is calculated according to the magnetic field value;

然后通过粒子移动模块103,根据第一个正态分布,布设多个粒子,就是在粗测定位结果的一定范围内随机设置多个粒子,根据第二个正态分布和第三个正态分布,每个粒子按第二个正态分布和第三个正态分布进行移动,并得到移动后每个粒子在磁场图中所在位置的磁场值;每个粒子按照第二个正态分布和第三个正太分布所预设的步长和方向进行移动,每个粒子移动的步长和方向都是不同的。Then through the particle moving module 103, a plurality of particles are arranged according to the first normal distribution, that is, a plurality of particles are randomly set within a certain range of the rough positioning results, and according to the second normal distribution and the third normal distribution , each particle moves according to the second normal distribution and the third normal distribution, and obtains the magnetic field value of each particle in the magnetic field diagram after moving; each particle moves according to the second normal distribution and the third normal distribution The steps and directions preset by the three normal distributions are used to move, and the steps and directions of each particle's movement are different.

移动后,每个粒子换到了新的磁场环境,通过权重值计算模块104,根据移动后每个粒子在磁场图中所在位置的磁场值,结合磁场测量方差,按照正态分布计算出实测磁场值的概率密度,概率密度作为每个粒子的权重,得到每个粒子的位置和其权重的关系;然后通过新粒子获取模块105,根据每个粒子的位置和其权重的关系,重新布设新粒子,新粒子的数量与之前布设的粒子数量相同。After moving, each particle is changed to a new magnetic field environment. Through the weight value calculation module 104, the measured magnetic field value is calculated according to the normal distribution according to the magnetic field value of each particle in the magnetic field map after the movement, combined with the variance of the magnetic field measurement The probability density of the probability density is used as the weight of each particle to obtain the relationship between the position of each particle and its weight; then through the new particle acquisition module 105, according to the relationship between the position of each particle and its weight, new particles are rearranged, The number of new particles is the same as the number of particles placed previously.

最后通过定位位置获取模块106,根据新粒子,对其在磁场图中的位置进行加权平均处理,得到行人迈一步后的实际定位位置。因为行人运动是连续的,因此根据这种方法,行人再迈一步,就以这一步的粒子作为旧粒子,当旧粒子周围的环境(磁场环境)发生改变,重新布设与旧粒子数目相同的新粒子,如此循环,得到运动中行人的实际位置。粒子重新布设的原理是,根据计算获得的粒子权重,权重越高,重新布设时再次选中的概率就越高,这个过程就是根据粒子移动过程中对周围环境的观测,对行人的粗测位置进行修正,最后根据每次重新采样的粒子实现对行人的位置定位。Finally, through the positioning position acquisition module 106, according to the new particle, its position in the magnetic field map is weighted and averaged to obtain the actual positioning position of the pedestrian after taking a step. Because the pedestrian movement is continuous, according to this method, when the pedestrian takes another step, the particles of this step are used as the old particles. When the environment (magnetic field environment) around the old particles changes, new particles with the same number as the old particles Particles circulate in this way to get the actual position of the pedestrian in motion. The principle of particle rearrangement is that according to the particle weight obtained by calculation, the higher the weight, the higher the probability of being selected again when re-arranging. Correction, and finally realize the positioning of pedestrians according to the particles resampled each time.

本发明基于地磁的粒子滤波定位装置10,采用粒子滤波,不用给定行人的起始位置,行人每迈一步,重新采集相应的粒子,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。The geomagnetism-based particle filter positioning device 10 of the present invention adopts particle filtering, and does not need to give the starting position of the pedestrian. Every time the pedestrian takes a step, the corresponding particles are collected again, and the position of the pedestrian is corrected according to the change of the magnetic field where the particles are located. The actual location of the pedestrian.

具体地,正态分布计算模块102中,第二个正态分布和第三个正态分布获得还包括:Specifically, in the normal distribution calculation module 102, obtaining the second normal distribution and the third normal distribution also includes:

方差均值计算模块1021,用于根据迈步步长和所述迈步方向,通过多次测量统计分别计算迈步步长方差和迈步方向方差,分别计算迈步步长和迈步方向的均值;The mean variance calculation module 1021 is used to calculate the variance of the step length and the variance of the step direction through multiple measurement statistics according to the step length and the step direction, and calculate the mean values of the step length and the step direction respectively;

正态分布获得模块1022,用于根据迈步步长方差、迈步方向方差、迈步步长均值和迈步方向均值,对应得到第二个正态分布和第三个正态分布。The normal distribution obtaining module 1022 is used to correspondingly obtain the second normal distribution and the third normal distribution according to the step length variance, the step direction variance, the mean value of the step length and the mean value of the step direction.

要计算正太分布,要根据正态分布的公式,得到相应迈步步长的均值及方差,得到相应迈步方向的均值和方差,因此第二个正态分布和第三个正态分布获得通过方差均值计算模块1021和正态分布获得模块1022一起获得;并且,为了使获得的均值方差更准确,要经过多次测量统计,迈步步长值获得的越多,均值越稳定,方差越准确,相应的,迈步方向获得的越多,得到的均值和方差也越准确。To calculate the normal distribution, according to the formula of the normal distribution, the mean value and variance of the corresponding step length are obtained, and the mean value and variance of the corresponding step direction are obtained, so the second normal distribution and the third normal distribution obtain the mean value of the variance The calculation module 1021 and the normal distribution obtaining module 1022 are obtained together; and, in order to make the obtained mean variance more accurate, it is necessary to go through multiple measurement statistics, the more the step length value is obtained, the more stable the mean value and the more accurate the variance, the corresponding , the more the step direction is obtained, the more accurate the mean and variance are.

具体地,粒子移动模块103中,每个粒子按第二个正态分布和第三个正态分布进行移动还包括:Specifically, in the particle moving module 103, moving each particle according to the second normal distribution and the third normal distribution also includes:

粒子移动条件模块1031,用于根据迈步步长和迈步方向,每个粒子按照特定步长和特定方向移动,特定步长满足迈步步长和迈步步长方差的第二正态分布,特定方向满足迈步方向和迈步方向方差的第三正态分布;The particle movement condition module 1031 is used to move each particle according to a specific step size and a specific direction according to the step size and the step direction, the specific step size satisfies the second normal distribution of the step size and the step size variance, and the specific direction satisfies third normal distribution of step direction and step direction variance;

粒子移动子模块1032,用于根据第二正态分布和第三正态分布,每个粒子进行移动。The particle movement sub-module 1032 is configured to move each particle according to the second normal distribution and the third normal distribution.

粒子按照得到的第二个正态分布和第三个正态分布进行移动,实质上,粒子是按照一个随机步长移动,这个随机步长是来自第二个正态分布预设的一个步长,相应的,粒子移动的方向是按照第三个正态分布预设的迈步方向进行移动的,但每个粒子的移动方向和步长都不同,所以是按照正态分布移动的。也就是说粒子移动得步长满足第二个正态分布,粒子的移动方向满足第三个正态分布。The particles move according to the obtained second normal distribution and the third normal distribution. In essence, the particles move according to a random step size, which is a preset step size from the second normal distribution. , correspondingly, the moving direction of the particles is moving according to the stepping direction preset by the third normal distribution, but the moving direction and step size of each particle are different, so they move according to the normal distribution. That is to say, the step length of particle movement satisfies the second normal distribution, and the moving direction of particles satisfies the third normal distribution.

综上,本发明基于地磁的粒子滤波定位方法及装置,采用粒子滤波的方法,不用给定行人的起始位置,行人每迈一步,重新采集相应的粒子,根据粒子所处磁场的改变,对行人位置进行修正,得到行人的实际位置。运用地磁定位结合粒子滤波,提高测量精度。To sum up, the geomagnetism-based particle filter positioning method and device of the present invention adopts the particle filter method, and does not need to give the starting position of the pedestrian. Every time the pedestrian takes a step, the corresponding particles are re-collected. According to the change of the magnetic field where the particles are located, the The pedestrian position is corrected to obtain the actual position of the pedestrian. Use geomagnetic positioning combined with particle filter to improve measurement accuracy.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. All of them should be covered by the scope of the claims and description of the present invention.

Claims (10)

1. particle filtering method based on earth magnetism, it is characterised in that including:
Step S1, obtains bigness scale positioning result and positioning variances, obtains pedestrian and takes a step step-length and take a step direction, by default fixed point Magnetic chart is set up at interval, obtains magnetic field value by fixed point continuous acquisition, and described magnetic field value is the magnetic field size disregarding magnetic direction Value;
Step S2, according to described bigness scale positioning result and positioning variances, is calculated first normal distribution, takes a step according to described Step-length and described direction of taking a step, correspondence is calculated second normal distribution and the 3rd normal distribution, and according to described magnetic field Value, is calculated magnetic-field measurement variance;
Step S3, according to described first normal distribution, lays multiple particle, according to described second normal distribution and the 3rd Normal distribution, each described particle is moved by described second normal distribution and the 3rd normal distribution, and is moved Rear each particle magnetic field value of position in described magnetic chart;
Step S4, according to particle each after described movement magnetic field value of position in described magnetic chart, in conjunction with described magnetic field Measuring variance, calculate the probability density of actual measurement magnetic field value according to normal distribution, described probability density is as each described particle Weight, obtain the position of each described particle and the relation of its weight;
Step S5, according to position and the relation of its weight of each described particle, lays new particle, the number of described new particle again Measure identical with the described number of particles laid before;
Step S6, according to described new particle, is weighted average treatment to its position in described magnetic chart, obtains pedestrian and steps Actual location position after one step.
Particle filtering method based on earth magnetism the most according to claim 1, it is characterised in that
Described default fixed point is spaced apart 0.01 meter.
Particle filtering method based on earth magnetism the most according to claim 1, it is characterised in that
In described step 2, described second normal distribution and the 3rd normal distribution obtain and also include:
Step S21, according to described step-length and the described direction of taking a step of taking a step, adds up step of taking a step described in calculating respectively by repetitive measurement Long variance and described direction variance of taking a step, take a step described in calculating respectively step-length and the average in described direction of taking a step;
Step S22, according to described step-length variance of taking a step, described in take a step direction variance, described in take a step step-length average and described take a step Direction average, correspondence obtains second normal distribution and the 3rd normal distribution.
4. according to particle filtering method based on earth magnetism described in claim 1 or 3, it is characterised in that
In described step S4, each described particle is moved also wrapped by described second normal distribution and the 3rd normal distribution Include:
Step S41, according to described step-length and the direction of taking a step of taking a step, each described particle moves according to particular step size and specific direction Dynamic, described particular step size meet described in take a step step-length and the second normal distribution of described step-length variance of taking a step, described specific direction Take a step described in Man Zuing direction and the 3rd normal distribution of described direction variance of taking a step;
Step S42, according to described second normal distribution and described 3rd normal distribution, each described particle moves.
Particle filtering method based on earth magnetism the most according to claim 1, it is characterised in that
Described pedestrian takes a step step-length with direction of taking a step by the acquisition of pedestrian's dead reckoning PDR model.
6. particle filtering device based on earth magnetism, it is characterised in that including:
Data acquisition module, is used for obtaining bigness scale positioning result and positioning variances, obtains pedestrian and takes a step step-length and direction of taking a step, to lead to Crossing default fixed point interval and set up magnetic chart, obtain magnetic field value by fixed point continuous acquisition, described magnetic field value is for disregarding magnetic direction Magnetic field sizes values;
Normal distribution computing module, for according to described bigness scale positioning result and positioning variances, is calculated first normal state and divides Cloth, according to described step-length and the described direction of taking a step of taking a step, correspondence is calculated second normal distribution and the 3rd normal distribution, And according to described magnetic field value, it is calculated magnetic-field measurement variance;
Particle mobile module, for according to described first normal distribution, lays multiple particle, divides according to described second normal state Cloth and the 3rd normal distribution, each described particle is moved by described second normal distribution and the 3rd normal distribution, And each particle magnetic field value of position in described magnetic chart after being moved;
Weight value calculation module, is used for according to particle each after described movement magnetic field value of position in described magnetic chart, In conjunction with described magnetic-field measurement variance, calculate the probability density of actual measurement magnetic field value, described probability density conduct according to normal distribution The weight of each described particle, obtains the position of each described particle and the relation of its weight;
New particle acquisition module, for the position according to each described particle and the relation of its weight, lays new particle, institute again The quantity stating new particle is identical with the described number of particles laid before;
Position location acquisition module, for according to described new particle, is weighted averagely its position in described magnetic chart Process, obtain the actual location position after pedestrian steps a step.
Particle filtering device based on earth magnetism the most according to claim 6, it is characterised in that
Described default fixed point is spaced apart 0.01 meter.
Particle filtering device based on earth magnetism the most according to claim 6, it is characterised in that
In described normal distribution computing module, described second normal distribution and the 3rd normal distribution obtain and also include:
Mean variance computing module, for take a step described in basis step-length and described direction of taking a step, by repetitive measurement statistics respectively Step-length of taking a step described in calculating variance and described direction variance of taking a step, calculate respectively described in take a step the equal of step-length and described direction of taking a step Value;
Normal distribution obtains module, for according to described in take a step step-length variance, described in take a step direction variance, described in step-length of taking a step equal Value and described direction average of taking a step, correspondence obtains second normal distribution and the 3rd normal distribution.
9. according to particle filtering device based on earth magnetism described in claim 6 or 8, it is characterised in that
In described particle mobile module, each described particle is moved by described second normal distribution and the 3rd normal distribution Move and also include:
Particle mobile condition module, for step-length and the direction of taking a step of taking a step described in basis, each described particle is according to particular step size Move with specific direction, described particular step size meet described in take a step step-length and the second normal distribution of described step-length variance of taking a step, Described specific direction is taken a step direction and the 3rd normal distribution of described direction variance of taking a step described in meeting;
Particle mover module, for according to described second normal distribution and described 3rd normal distribution, each described particle enters Row is mobile.
Particle filtering device based on earth magnetism the most according to claim 6, it is characterised in that
Described pedestrian takes a step step-length with direction of taking a step by the acquisition of pedestrian's dead reckoning PDR model.
CN201610567111.XA 2016-07-18 2016-07-18 Particle filtering method and device based on earth magnetism Active CN106289242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610567111.XA CN106289242B (en) 2016-07-18 2016-07-18 Particle filtering method and device based on earth magnetism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610567111.XA CN106289242B (en) 2016-07-18 2016-07-18 Particle filtering method and device based on earth magnetism

Publications (2)

Publication Number Publication Date
CN106289242A true CN106289242A (en) 2017-01-04
CN106289242B CN106289242B (en) 2019-03-22

Family

ID=57651781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610567111.XA Active CN106289242B (en) 2016-07-18 2016-07-18 Particle filtering method and device based on earth magnetism

Country Status (1)

Country Link
CN (1) CN106289242B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107504971A (en) * 2017-07-05 2017-12-22 桂林电子科技大学 A kind of indoor orientation method and system based on PDR and earth magnetism
CN108632761A (en) * 2018-04-20 2018-10-09 西安交通大学 A kind of indoor orientation method based on particle filter algorithm
CN110207707A (en) * 2019-05-30 2019-09-06 四川长虹电器股份有限公司 Quick initial alignment method and robot device based on particle filter

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103925923A (en) * 2014-05-07 2014-07-16 南京大学 Geomagnetic indoor positioning system based on self-adaptive particle filter algorithm
CN103983266A (en) * 2014-05-28 2014-08-13 北京天地方元科技有限公司 Indoor locating method based on geomagnetic information and indoor locating system based on geomagnetic information
CN104375117A (en) * 2013-08-12 2015-02-25 无锡知谷网络科技有限公司 Target locating method and system
WO2015044964A1 (en) * 2013-09-30 2015-04-02 Council Of Scientific & Industrial Research Magnetic nanoparticles decorated activated carbon nanocomposites for purification of water
CN104796866A (en) * 2015-05-06 2015-07-22 北京我联科技有限公司 Indoor positioning method and device
CN105022055A (en) * 2015-07-05 2015-11-04 吉林大学 IMU indoor positioning method
CN105716604A (en) * 2016-02-25 2016-06-29 华南理工大学 Mobile robot indoor positioning method and system based on geomagnetic sequences

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375117A (en) * 2013-08-12 2015-02-25 无锡知谷网络科技有限公司 Target locating method and system
WO2015044964A1 (en) * 2013-09-30 2015-04-02 Council Of Scientific & Industrial Research Magnetic nanoparticles decorated activated carbon nanocomposites for purification of water
CN103925923A (en) * 2014-05-07 2014-07-16 南京大学 Geomagnetic indoor positioning system based on self-adaptive particle filter algorithm
CN103983266A (en) * 2014-05-28 2014-08-13 北京天地方元科技有限公司 Indoor locating method based on geomagnetic information and indoor locating system based on geomagnetic information
CN104796866A (en) * 2015-05-06 2015-07-22 北京我联科技有限公司 Indoor positioning method and device
CN105022055A (en) * 2015-07-05 2015-11-04 吉林大学 IMU indoor positioning method
CN105716604A (en) * 2016-02-25 2016-06-29 华南理工大学 Mobile robot indoor positioning method and system based on geomagnetic sequences

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107504971A (en) * 2017-07-05 2017-12-22 桂林电子科技大学 A kind of indoor orientation method and system based on PDR and earth magnetism
CN108632761A (en) * 2018-04-20 2018-10-09 西安交通大学 A kind of indoor orientation method based on particle filter algorithm
CN108632761B (en) * 2018-04-20 2020-03-17 西安交通大学 Indoor positioning method based on particle filter algorithm
CN110207707A (en) * 2019-05-30 2019-09-06 四川长虹电器股份有限公司 Quick initial alignment method and robot device based on particle filter

Also Published As

Publication number Publication date
CN106289242B (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN105550199B (en) A kind of point polymerization and device based on multi-source map
US9068849B2 (en) Method and system for reducing shape points in a geographic data information system
KR101322778B1 (en) Method and apparatus for identification of points of interest within a predefined area
TWI485421B (en) Map matching device, system and method
CN106323334B (en) A kind of magnetometer calibration method based on particle group optimizing
JP6695451B2 (en) Dual system type inter-observation multi-level traverse survey method
CN107179079A (en) The indoor orientation method merged based on PDR with earth magnetism
CN104459776A (en) Fracture fractal characteristic optimization computation method
CN106289242A (en) Particle filtering method and device based on earth magnetism
CN109945864B (en) Indoor driving positioning fusion method, device, storage medium and terminal device
CN105444766A (en) Indoor navigation method based on deep learning
CN111121758B (en) Rapid modeling and credible positioning method for indoor magnetic map
CN106443782B (en) A kind of tomography and fracture development density, uniformity and assemble pattern evaluation method
CN106643711A (en) An indoor positioning method and system based on a handheld device
CN106556877B (en) A method and device for geomagnetic fluxing
CN102865814A (en) Plant population three-dimensional reconstruction error measurement method
CN108846859A (en) A kind of three-dimensional reconstruction bouds on error assessment method based on Fisher's information matrix
CN108318011A (en) A method of construction site periphery displacement is monitored by UAV flight's total powerstation
CN109633544A (en) A kind of anchor point coordinate scaling method, anchor point localization method and device
CN109883371A (en) Mine down-hole open traverse adjustment measurement method and system
CN106289241A (en) Utilize positioning correction method and the device of magnetic signature
CN112020091B (en) Weak coverage processing method and device based on digitized geographic information
CN106840162A (en) Indoor route matching method based on inertial navigation
Qian et al. Optical flow-based gait modeling algorithm for pedestrian navigation using smartphone sensors
CN106949888B (en) A multi-UUV bionic collaborative navigation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20250829

Granted publication date: 20190322