[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114501312A - An indoor positioning method and system integrating WIFI and PDR positioning technology - Google Patents

An indoor positioning method and system integrating WIFI and PDR positioning technology Download PDF

Info

Publication number
CN114501312A
CN114501312A CN202210147264.4A CN202210147264A CN114501312A CN 114501312 A CN114501312 A CN 114501312A CN 202210147264 A CN202210147264 A CN 202210147264A CN 114501312 A CN114501312 A CN 114501312A
Authority
CN
China
Prior art keywords
positioning
wifi
pdr
time
result
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.)
Pending
Application number
CN202210147264.4A
Other languages
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.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
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 University of Technology filed Critical Beijing University of Technology
Priority to CN202210147264.4A priority Critical patent/CN114501312A/en
Publication of CN114501312A publication Critical patent/CN114501312A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses an indoor positioning method and system fusing WIFI and PDR positioning technologies, wherein the method comprises the following steps: acquiring a WIFI positioning result of the target to be measured at an initial time t0, and using the WIFI positioning result as an initial position of a PDR positioning technology; acquiring sensor data from t0 to an intermediate time t1, acquiring a PDR positioning result of t1, and acquiring a WIFI positioning result of t 1; judging whether the error between the PDR positioning result and the WIFI positioning result of t1 exceeds a preset threshold value or not; if yes, acquiring sensor data from t0 to the termination time tr to obtain a PDR positioning result of tr; if not, resetting the position corresponding to the WIFI positioning result of t1 as the initial position of the PDR positioning technology, and acquiring sensor data from t1 to tr to obtain a PDR positioning result of tr. By the technical scheme, the indoor positioning precision and stability are improved, and the indoor positioning cost is reduced.

Description

一种融合WIFI和PDR定位技术的室内定位方法及系统An indoor positioning method and system integrating WIFI and PDR positioning technology

技术领域technical field

本发明涉及室内定位技术领域,尤其涉及一种融合WIFI和PDR定位技术的室内定位方法以及一种融合WIFI和PDR定位技术的室内定位系统。The invention relates to the technical field of indoor positioning, in particular to an indoor positioning method integrating WIFI and PDR positioning technologies and an indoor positioning system integrating WIFI and PDR positioning technologies.

背景技术Background technique

随着智能手机的普及和移动互联网的发展,无线定位技术极大地便利了人们的生活。在室外环境下,全球定位系统GPS能为全球用户提供低成本、高精度的导航信息,但由于建筑物的遮挡和室内环境的复杂性,使得卫星导航系统无法很好的应用于室内。近几年来人们对室内定位服务的需求大大增加,而商场、医院、银行等大型室内场所的定位技术仍然处于研究阶段,无法保证大面积使用,因此在没有额外设备辅助的情况下,室内定位技术成为了研究的热点。现有的红外线、RFID等定位技术的定位精度一般,而且需要预先在定位环境中铺设精度较高的信号接收装置,对信号接收装置的摆放位置也有很高要求。而如超声波和超宽带等定位技术的定位精度较高,但定位装置的成本造价太高,不便于技术推广。With the popularization of smart phones and the development of mobile Internet, wireless positioning technology has greatly facilitated people's lives. In the outdoor environment, GPS can provide global users with low-cost, high-precision navigation information, but due to the occlusion of buildings and the complexity of the indoor environment, the satellite navigation system cannot be well used indoors. In recent years, people's demand for indoor positioning services has greatly increased, and the positioning technology of large indoor places such as shopping malls, hospitals, and banks is still in the research stage, and large-scale use cannot be guaranteed. Therefore, without the assistance of additional equipment, indoor positioning technology has become a research hotspot. The positioning accuracy of the existing infrared, RFID and other positioning technologies is general, and it is necessary to lay a signal receiving device with high precision in the positioning environment in advance, and there are also high requirements for the placement of the signal receiving device. While positioning technologies such as ultrasound and ultra-wideband have high positioning accuracy, the cost of positioning devices is too high to facilitate technology promotion.

基于WIFI的室内定位是一种基于无线信号的室内定位技术,是目前应用场景最广的方式之一,它对基础设施的要求较低,成本低廉且不需要安装额外设备,但是由于WIFI信号的波动性以及室内环境的复杂性,定位目标在定位过程中会受到一定程度的干扰。WIFI定位通常使用下面两种模型进行定位:第一种是使用距离模型,通过相应的模型公式由信号强度计算出距离,使用三边交会计算待定点坐标;第二种是应用位置指纹模型,由待定点上接收到的信号强度和位置指纹数据库中的已知点进行匹配,使用指纹匹配算法计算坐标,其中位置指纹定位算法比距离传播模型更为简单,但需要事先采集大量的指纹数据。WIFI-based indoor positioning is an indoor positioning technology based on wireless signals. It is one of the most widely used methods. It has low requirements on infrastructure, low cost and no need to install additional equipment. Due to the volatility and the complexity of the indoor environment, the positioning target will be disturbed to a certain extent during the positioning process. WIFI positioning usually uses the following two models for positioning: the first is to use the distance model, calculate the distance from the signal strength through the corresponding model formula, and use the trilateral intersection to calculate the coordinates of the to-be-determined point; the second is to use the location fingerprint model, which is determined by The signal strength received on the to-be-determined point is matched with the known points in the location fingerprint database, and the coordinates are calculated using the fingerprint matching algorithm. The location fingerprint location algorithm is simpler than the distance propagation model, but requires a large amount of fingerprint data to be collected in advance.

另一方面基于惯性传感器(MEMS,Micro-ElectroMechanical System)的惯性导航系统也在快速发展,如今普通的智能手机中均有各类内置传感器(加速度计、陀螺仪等)。基于惯性传感器的行人航迹推算PDR(Pedestrain Dead Reckoning)是常用的惯性导航技术之一,是一种相对位置定位技术,能够随时提供运动体连续的位置信息。与基于无线信号的定位技术相比,该技术的优点在于移动终端普遍配有陀螺仪、加速度传感器、电子罗盘等运动传感器,这使得移动终端的惯性导航技术具有较好的推广性,具有不易受环境影响、稳定性高等优势。但是,由于电子罗盘容易受到环境干扰,会导致航向角出现偏差,且步态判断误差和步长估计误差会导致行走距离误差,造成的累积误差会导致惯性系统无法长时间进行精确定位,因此如何有效消除累积误差成为解决问题的关键。On the other hand, inertial navigation systems based on inertial sensors (MEMS, Micro-ElectroMechanical System) are also developing rapidly. Today, ordinary smartphones have various built-in sensors (accelerometers, gyroscopes, etc.). Pedestrian dead reckoning PDR (Pedestrain Dead Reckoning) based on inertial sensor is one of the commonly used inertial navigation technologies. Compared with positioning technology based on wireless signals, the advantage of this technology is that mobile terminals are generally equipped with motion sensors such as gyroscopes, acceleration sensors, electronic compasses, etc. Environmental impact, high stability and high advantages. However, since the electronic compass is easily disturbed by the environment, the heading angle will be deviated, and the gait judgment error and step length estimation error will lead to the walking distance error. Effectively eliminating the accumulated error becomes the key to solving the problem.

综合来看,WIFI和PDR的定位结果在时序上存在异步反馈问题,由于WIFI信号误差过大和PDR定位累积误差,会导致定位结果不准确。On the whole, there is an asynchronous feedback problem in the timing of the positioning results of WIFI and PDR. Due to the large error of the WIFI signal and the accumulated error of the PDR positioning, the positioning results will be inaccurate.

发明内容SUMMARY OF THE INVENTION

针对上述问题,本发明提供了一种融合WIFI和PDR定位技术的室内定位方法,通过WIFI定位技术和PDR定位技术相融合,并采用定位误差阈值判断方法解决两种定位技术在时序上的异步反馈问题,同时针对同一时刻两种定位技术的定位结果进行互相校正,提高了室内定位的精度和稳定性,降低了室内定位的成本。In view of the above problems, the present invention provides an indoor positioning method that integrates WIFI and PDR positioning technologies. Through the integration of WIFI positioning technology and PDR positioning technology, a positioning error threshold judgment method is adopted to solve the asynchronous feedback of the two positioning technologies in time sequence. At the same time, the positioning results of the two positioning technologies at the same time are mutually corrected, which improves the accuracy and stability of indoor positioning and reduces the cost of indoor positioning.

为实现上述目的,本发明提供了一种融合WIFI和PDR定位技术的室内定位方法,包括:In order to achieve the above purpose, the present invention provides an indoor positioning method integrating WIFI and PDR positioning technology, including:

步骤S1,在起始时刻t0采用WIFI定位技术获取待测目标的WIFI定位结果,并以起始时刻WIFI定位结果作为PDR定位技术的起始位置;Step S1, at the starting time t0, the WIFI positioning technology is used to obtain the WIFI positioning result of the target to be measured, and the WIFI positioning result at the starting time is used as the starting position of the PDR positioning technology;

步骤S2,获取起始时刻t0至中间时刻t1的传感器数据,并以此得到中间时刻t1基于PDR定位技术的中间时刻PDR定位结果,并获取中间时刻t1基于WIFI定位技术的中间时刻WIFI定位结果;Step S2, acquiring the sensor data from the starting time t0 to the intermediate time t1, and thereby obtaining the intermediate time PDR positioning result based on the PDR positioning technology at the intermediate time t1, and obtaining the intermediate time WIFI positioning result based on the WIFI positioning technology at the intermediate time t1;

步骤S3,对比所述中间时刻PDR定位结果与所述中间时刻WIFI定位结果之间的误差,判断该误差是否超过预设阈值;Step S3, comparing the error between the PDR positioning result at the intermediate moment and the WIFI positioning result at the intermediate moment, and determining whether the error exceeds a preset threshold;

步骤S4,若误差超过预设阈值,则获取起始时刻t0至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果;Step S4, if the error exceeds the preset threshold, then acquire the sensor data from the start time t0 to the end time tr, and obtain the PDR positioning result at the end time based on the PDR positioning technology;

若误差未超过预设阈值,则以所述中间时刻WIFI定位结果作为中间时刻t1的目标定位结果,并将对应位置重置为PDR定位技术的起始位置,获取中间时刻t1至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果。If the error does not exceed the preset threshold, the WIFI positioning result at the middle time is used as the target positioning result at the middle time t1, and the corresponding position is reset to the starting position of the PDR positioning technology, and the data from the middle time t1 to the end time tr is obtained. The sensor data is obtained, and the PDR positioning result at the termination time based on the PDR positioning technology is obtained.

在上述技术方案中,优选地,融合WIFI和PDR定位技术的室内定位方法,还包括:In the above technical solution, preferably, the indoor positioning method integrating WIFI and PDR positioning technology further includes:

步骤S5,在终止时刻tr仍需要继续定位时,将所述终止时刻PDR定位结果对应位置重置为基于PDR定位技术的起始位置,并继续执行步骤S2至步骤S4。Step S5, when the termination time tr still needs to continue positioning, reset the position corresponding to the PDR positioning result at the termination time to the starting position based on the PDR positioning technology, and continue to perform steps S2 to S4.

在上述技术方案中,优选地,所述步骤S3的具体过程包括:In the above technical solution, preferably, the specific process of step S3 includes:

以所述中间时刻PDR定位结果对应位置作为圆心,以起始时刻t0至中间时刻t1基于PDR定位技术的待测目标位移量作为半径,构建圆形范围;Taking the position corresponding to the PDR positioning result at the intermediate time as the center of the circle, and taking the displacement of the target to be measured based on the PDR positioning technology from the starting time t0 to the intermediate time t1 as the radius, a circular range is constructed;

判断所述中间时刻WIFI定位结果对应位置是否在所述圆形范围内;Determine whether the position corresponding to the WIFI positioning result at the intermediate moment is within the circular range;

若所述中间时刻WIFI定位结果对应位置处于所述圆形范围内,则判定误差未超过预设阈值,否则判定误差超过预设阈值。If the position corresponding to the WIFI positioning result at the intermediate time is within the circular range, it is determined that the error does not exceed the preset threshold; otherwise, the determination error exceeds the preset threshold.

在上述技术方案中,优选地,所述步骤S1和步骤S2中基于WIFI定位技术获取所述起始时刻WIFI定位结果或中间时刻WIFI定位结果的方法包括三边法、TOA测距法、TDOA测距法和指纹匹配算法。In the above technical solution, preferably, in the steps S1 and S2, the method for obtaining the WIFI positioning result at the starting moment or the WIFI positioning result at the intermediate moment based on the WIFI positioning technology includes the trilateral method, the TOA ranging method, and the TDOA measurement method. Distance method and fingerprint matching algorithm.

在上述技术方案中,优选地,利用所述指纹匹配算法获取WIFI定位结果的具体步骤包括:In the above technical solution, preferably, the specific steps of using the fingerprint matching algorithm to obtain the WIFI positioning result include:

离线阶段:Offline stage:

在室内区域设置参考点,并对每个参考点采集WIFI信号强度值;Set reference points in the indoor area, and collect WIFI signal strength values for each reference point;

对所述WIFI信号强度值进行数据预处理,并根据每个参考点的WIFI信号强度值建立所述室内区域的位置指纹数据库;Data preprocessing is performed on the WIFI signal strength value, and a location fingerprint database of the indoor area is established according to the WIFI signal strength value of each reference point;

在线阶段:Online stage:

基于WIFI定位技术采集待测目标的WIFI信号,并进行数据预处理;Collect the WIFI signal of the target to be tested based on WIFI positioning technology, and perform data preprocessing;

将预处理后的所述待测目标的WIFI信号与所述位置指纹数据库进行匹配,根据匹配结果确定对应的参考点位置估算结果,并作为所述待测目标的WIFI定位结果。The preprocessed WIFI signal of the target to be tested is matched with the location fingerprint database, and the corresponding reference point position estimation result is determined according to the matching result, which is used as the WIFI positioning result of the target to be tested.

在上述技术方案中,优选地,所述待测目标中安装传感器,根据实时获取的加速度传感器数据和方位传感器数据,根据所述加速度传感器数据计算所述待测目标的位移,根据所述方位传感器数据确定所述待测目标的航向;In the above technical solution, preferably, a sensor is installed in the object to be measured, and the displacement of the object to be measured is calculated according to the acceleration sensor data according to the acceleration sensor data and the orientation sensor data acquired in real time, and according to the orientation sensor The data determines the heading of the target to be measured;

根据所述待测目标的位移和航向,基于PDR定位技术综合计算所述待测目标的实时位置,作为当前时刻的PDR定位结果。According to the displacement and heading of the target to be measured, the real-time position of the target to be measured is comprehensively calculated based on the PDR positioning technology, as the PDR positioning result at the current moment.

本发明还提出一种融合WIFI和PDR定位技术的室内定位系统,应用如上述技术方案中任一项公开的融合WIFI和PDR定位技术的室内定位方法,包括:The present invention also proposes an indoor positioning system integrating WIFI and PDR positioning technologies, applying the indoor positioning method integrating WIFI and PDR positioning technologies disclosed in any of the above technical solutions, including:

起始时刻定位模块,用于在起始时刻t0采用WIFI定位技术获取待测目标的WIFI定位结果,并以起始时刻WIFI定位结果作为PDR定位技术的起始位置;The starting time positioning module is used to obtain the WIFI positioning result of the target to be measured by using the WIFI positioning technology at the starting time t0, and use the WIFI positioning result at the starting time as the starting position of the PDR positioning technology;

中间时刻定位模块,用于获取起始时刻t0至中间时刻t1的传感器数据,并以此得到中间时刻t1基于PDR定位技术的中间时刻PDR定位结果,并获取中间时刻t1基于WIFI定位技术的中间时刻WIFI定位结果;The middle time positioning module is used to obtain the sensor data from the starting time t0 to the middle time t1, and then obtain the middle time PDR positioning result based on the PDR positioning technology at the middle time t1, and obtain the middle time t1 based on the WIFI positioning technology. WIFI positioning result;

定位误差判断模块,用于对比所述中间时刻PDR定位结果与所述中间时刻WIFI定位结果之间的误差,判断该误差是否超过预设阈值;A positioning error judgment module, configured to compare the error between the PDR positioning result at the intermediate time and the WIFI positioning result at the intermediate time, and determine whether the error exceeds a preset threshold;

PDR校正WIFI模块,用于在误差超过预设阈值时,获取起始时刻t0至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果;The PDR correction WIFI module is used to obtain the sensor data from the start time t0 to the end time tr when the error exceeds the preset threshold, and obtain the PDR positioning result based on the PDR positioning technology at the end time;

WIFI重置PDR模块,用于在误差未超过预设阈值时,以所述中间时刻WIFI定位结果作为中间时刻t1的目标定位结果,并将对应位置重置为PDR定位技术的起始位置,获取中间时刻t1至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果。The WIFI reset PDR module is used to use the WIFI positioning result at the intermediate time as the target positioning result at the intermediate time t1 when the error does not exceed the preset threshold, and reset the corresponding position to the starting position of the PDR positioning technology to obtain The sensor data from the intermediate time t1 to the termination time tr is used to obtain the PDR positioning result at the termination time based on the PDR positioning technology.

在上述技术方案中,优选地,融合WIFI和PDR定位技术的室内定位系统还包括递推重置定位模块,用于在终止时刻tr仍需要继续定位时,将所述终止时刻PDR定位结果对应位置重置为基于PDR定位技术的起始位置,并继续执行所述中间时刻定位模块、所述定位误差判断模块、所述PDR校正WIFI模块和所述WIFI重置PDR模块。In the above technical solution, preferably, the indoor positioning system integrating WIFI and PDR positioning technology further includes a recursive reset positioning module, which is used for positioning the PDR positioning result corresponding to the position at the termination time tr when the positioning still needs to be continued. Reset to the starting position based on the PDR positioning technology, and continue to execute the intermediate time positioning module, the positioning error judgment module, the PDR correction WIFI module and the WIFI reset PDR module.

在上述技术方案中,优选地,所述定位误差判断模块具体用于:In the above technical solution, preferably, the positioning error judgment module is specifically used for:

以所述中间时刻PDR定位结果对应位置作为圆心,以起始时刻t0至中间时刻t1基于PDR定位技术的待测目标位移量作为半径,构建圆形范围;Taking the position corresponding to the PDR positioning result at the intermediate time as the center of the circle, and taking the displacement of the target to be measured based on the PDR positioning technology from the starting time t0 to the intermediate time t1 as the radius, a circular range is constructed;

判断所述中间时刻WIFI定位结果对应位置是否在所述圆形范围内;Determine whether the position corresponding to the WIFI positioning result at the intermediate moment is within the circular range;

若所述中间时刻WIFI定位结果对应位置处于所述圆形范围内,则判定误差未超过预设阈值,否则判定误差超过预设阈值。If the position corresponding to the WIFI positioning result at the intermediate time is within the circular range, it is determined that the error does not exceed the preset threshold; otherwise, the determination error exceeds the preset threshold.

在上述技术方案中,优选地,所述起始时刻定位模块和所述中间时刻定位模块在利用指纹匹配算法获取WIFI定位结果过程中包括离线阶段和在线阶段;In the above technical solution, preferably, the initial time positioning module and the intermediate time positioning module include an offline stage and an online stage in the process of using the fingerprint matching algorithm to obtain the WIFI positioning result;

离线阶段:Offline stage:

在室内区域设置参考点,并对每个参考点采集WIFI信号强度值;Set reference points in the indoor area, and collect WIFI signal strength values for each reference point;

对所述WIFI信号强度值进行数据预处理,并根据每个参考点的WIFI信号强度值建立所述室内区域的位置指纹数据库;Data preprocessing is performed on the WIFI signal strength value, and a location fingerprint database of the indoor area is established according to the WIFI signal strength value of each reference point;

在线阶段:Online stage:

基于WIFI定位技术采集待测目标的WIFI信号,并进行数据预处理;Collect the WIFI signal of the target to be tested based on WIFI positioning technology, and perform data preprocessing;

将预处理后的所述待测目标的WIFI信号与所述位置指纹数据库进行匹配,根据匹配结果确定对应的参考点位置估算结果,并作为所述待测目标的WIFI定位结果。The preprocessed WIFI signal of the target to be tested is matched with the location fingerprint database, and the corresponding reference point position estimation result is determined according to the matching result, which is used as the WIFI positioning result of the target to be tested.

与现有技术相比,本发明的有益效果为:通过WIFI定位技术和PDR定位技术相融合,并采用定位误差阈值判断方法解决两种定位技术在时序上的异步反馈问题,同时针对同一时刻两种定位技术的定位结果进行互相校正,提高了室内定位的精度和稳定性,降低了室内定位的成本。Compared with the prior art, the present invention has the beneficial effects of: integrating the WIFI positioning technology and the PDR positioning technology, and adopting the positioning error threshold judgment method to solve the asynchronous feedback problem of the two positioning technologies in the time sequence, and simultaneously aiming at the two positioning technologies at the same time. The positioning results of the different positioning technologies are mutually corrected, which improves the accuracy and stability of indoor positioning and reduces the cost of indoor positioning.

附图说明Description of drawings

图1为本发明一种实施例公开的融合WIFI和PDR定位技术的室内定位方法的流程示意图;1 is a schematic flowchart of an indoor positioning method that integrates WIFI and PDR positioning technologies disclosed in an embodiment of the present invention;

图2为本发明一种实施例公开的基于WIFI定位技术的指纹匹配算法定位原理示意图;2 is a schematic diagram of a positioning principle of a fingerprint matching algorithm based on a WIFI positioning technology disclosed by an embodiment of the present invention;

图3为本发明一种实施例公开的融合WIFI和PDR定位技术的室内定位系统的模块示意图。FIG. 3 is a schematic block diagram of an indoor positioning system integrating WIFI and PDR positioning technologies disclosed in an embodiment of the present invention.

图中,各组件与附图标记之间的对应关系为:In the figure, the corresponding relationship between each component and the reference sign is:

11.起始时刻定位模块,12.中间时刻定位模块,13.定位误差判断模块,14.PDR校正WIFI模块,15.WIFI重置PDR模块,16.递推重置定位模块。11. Initial time positioning module, 12. Middle time positioning module, 13. Positioning error judgment module, 14. PDR correction WIFI module, 15. WIFI reset PDR module, 16. Recursive reset positioning module.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

下面结合附图对本发明做进一步的详细描述:Below in conjunction with accompanying drawing, the present invention is described in further detail:

如图1所示,根据本发明提供的一种融合WIFI和PDR定位技术的室内定位方法,包括:As shown in FIG. 1, an indoor positioning method integrating WIFI and PDR positioning technology provided according to the present invention includes:

步骤S1,在起始时刻t0采用WIFI定位技术获取待测目标的WIFI定位结果,并以起始时刻WIFI定位结果作为PDR定位技术的起始位置;Step S1, at the starting time t0, the WIFI positioning technology is used to obtain the WIFI positioning result of the target to be measured, and the WIFI positioning result at the starting time is used as the starting position of the PDR positioning technology;

步骤S2,获取起始时刻t0至中间时刻t1的传感器数据,并以此得到中间时刻t1基于PDR定位技术的中间时刻PDR定位结果,并获取中间时刻t1基于WIFI定位技术的中间时刻WIFI定位结果;Step S2, acquiring the sensor data from the starting time t0 to the intermediate time t1, and thereby obtaining the intermediate time PDR positioning result based on the PDR positioning technology at the intermediate time t1, and obtaining the intermediate time WIFI positioning result based on the WIFI positioning technology at the intermediate time t1;

步骤S3,对比中间时刻PDR定位结果与中间时刻WIFI定位结果之间的误差,判断该误差是否超过预设阈值Φ;Step S3, compare the error between the PDR positioning result at the middle moment and the WIFI positioning result at the middle moment, and determine whether the error exceeds a preset threshold Φ;

步骤S4,若误差超过预设阈值,则获取起始时刻t0至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果;Step S4, if the error exceeds the preset threshold, then acquire the sensor data from the start time t0 to the end time tr, and obtain the PDR positioning result at the end time based on the PDR positioning technology;

若误差未超过预设阈值,则以中间时刻WIFI定位结果作为中间时刻t1的目标定位结果,并将对应位置重置为PDR定位技术的起始位置,获取中间时刻t1至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果。If the error does not exceed the preset threshold, the WIFI positioning result at the middle time is used as the target positioning result at the middle time t1, and the corresponding position is reset to the starting position of the PDR positioning technology, and the sensor data from the middle time t1 to the end time tr is obtained. , and obtain the PDR positioning result at the termination time based on the PDR positioning technology.

在该实施方式中,通过WIFI定位技术和PDR定位技术相融合,并采用定位误差阈值判断方法解决两种定位技术在时序上的异步反馈问题,同时针对同一时刻两种定位技术的定位结果进行互相校正,提高了室内定位的精度和稳定性,降低了室内定位的成本。In this embodiment, the WIFI positioning technology and the PDR positioning technology are integrated, and the positioning error threshold judgment method is used to solve the asynchronous feedback problem of the two positioning technologies in terms of time sequence, and the positioning results of the two positioning technologies at the same time are compared. The correction improves the accuracy and stability of indoor positioning and reduces the cost of indoor positioning.

具体地,WIFI定位通常使用下面两种模型进行定位:第一种是使用距离模型,通过相应的模型公式由信号强度计算出距离,使用三边交会计算待定点坐标;第二种是应用位置指纹模型,由待定点上接收到的信号强度和位置指纹数据库中的已知点进行匹配,使用指纹匹配算法计算坐标,其中位置指纹定位算法比距离传播模型更为简单,但需要事先采集大量的指纹数据。Specifically, WIFI positioning usually uses the following two models for positioning: the first is to use the distance model, calculate the distance from the signal strength through the corresponding model formula, and use the trilateral intersection to calculate the coordinates of the to-be-determined point; the second is to apply the location fingerprint The model is matched by the signal strength received on the to-be-determined point and the known points in the location fingerprint database, and the coordinates are calculated using the fingerprint matching algorithm. The location fingerprint location algorithm is simpler than the distance propagation model, but it needs to collect a large number of fingerprints in advance. data.

在该实施方式中,优选地,步骤S1和步骤S2中基于WIFI定位技术获取起始时刻WIFI定位结果或中间时刻WIFI定位结果的方法包括三边法、TOA测距法、TDOA测距法和指纹匹配算法。In this embodiment, preferably, the methods for obtaining the WIFI positioning result at the starting time or the WIFI positioning result at the intermediate time based on the WIFI positioning technology in steps S1 and S2 include trilateral method, TOA ranging method, TDOA ranging method and fingerprinting matching algorithm.

如图2所示,具体地,利用指纹匹配算法获取WIFI定位结果的具体步骤包括:As shown in Figure 2, specifically, the specific steps of using the fingerprint matching algorithm to obtain the WIFI positioning result include:

离线阶段:Offline stage:

在室内区域设置参考点,并对每个参考点采集WIFI信号强度值;Set reference points in the indoor area, and collect WIFI signal strength values for each reference point;

对WIFI信号强度值进行数据预处理,并根据每个参考点的WIFI信号强度值建立室内区域的位置指纹数据库;Data preprocessing is performed on the WIFI signal strength value, and the location fingerprint database of the indoor area is established according to the WIFI signal strength value of each reference point;

在线阶段:Online stage:

基于WIFI定位技术采集待测目标的WIFI信号,并进行数据预处理;Collect the WIFI signal of the target to be tested based on WIFI positioning technology, and perform data preprocessing;

将预处理后的待测目标的WIFI信号与位置指纹数据库进行匹配,根据匹配结果确定对应的参考点位置估算结果,并作为待测目标的WIFI定位结果。The preprocessed WIFI signal of the target to be measured is matched with the location fingerprint database, and the corresponding reference point position estimation result is determined according to the matching result, which is used as the WIFI positioning result of the target to be measured.

在上述实施方式中,优选地,待测目标中安装传感器,根据实时获取的加速度传感器数据和方位传感器数据,根据加速度传感器数据计算待测目标的位移,根据方位传感器数据确定待测目标的航向;In the above embodiment, preferably, a sensor is installed in the target to be measured, the displacement of the target to be measured is calculated according to the acceleration sensor data and the data of the azimuth sensor obtained in real time, and the heading of the target to be measured is determined according to the data of the azimuth sensor;

根据待测目标的位移和航向,基于PDR定位技术综合计算待测目标的实时位置,作为当前时刻的PDR定位结果。According to the displacement and heading of the target to be measured, the real-time position of the target to be measured is comprehensively calculated based on the PDR positioning technology as the PDR positioning result at the current moment.

其中,传感器数据包括目标对象移动时的加速度、磁偏角和角速度。加速度数据得到持有移动终端对象的步长和步数,进而得到移动终端的位移量;磁力计和陀螺仪可以的带移动终端的行进方向。传感器数据可实时采集,一般通过采集软件(采样率一般为10~100Hz)采集数据,并绘制图形,推算基于PDR的目标位置。Among them, the sensor data includes the acceleration, magnetic declination and angular velocity when the target object moves. The acceleration data obtains the step length and number of steps of the object holding the mobile terminal, and then obtains the displacement of the mobile terminal; the magnetometer and the gyroscope can carry the traveling direction of the mobile terminal. The sensor data can be collected in real time. Generally, the data is collected through the collection software (the sampling rate is generally 10 to 100 Hz), and the graph is drawn to calculate the target position based on the PDR.

在上述实施方式中,优选地,步骤S3的具体过程包括:In the above embodiment, preferably, the specific process of step S3 includes:

以中间时刻PDR定位结果对应位置作为圆心,以起始时刻t0至中间时刻t1基于PDR定位技术的待测目标位移量s作为半径,构建圆形范围;Taking the position corresponding to the PDR positioning result at the middle time as the center of the circle, and taking the displacement s of the target to be measured based on the PDR positioning technology from the starting time t0 to the middle time t1 as the radius, a circle range is constructed;

判断中间时刻WIFI定位结果对应位置是否在圆形范围内;Determine whether the corresponding position of the WIFI positioning result at the middle moment is within the circular range;

若中间时刻WIFI定位结果对应位置处于圆形范围内,则判定误差未超过预设阈值Φ,Φ=πs2,否则判定误差超过预设阈值Φ。If the position corresponding to the WIFI positioning result at the middle moment is within the circular range, it is determined that the error does not exceed the preset threshold Φ, Φ=πs 2 , otherwise the determination error exceeds the preset threshold Φ.

在上述实施方式中,若误差结果超过阈值,获取自起始时刻t0起至终止时刻tr的传感器数据,根据基于PDR定位技术得到的终止时刻PDR定位结果作为tr时刻的待测目标定位结果。In the above embodiment, if the error result exceeds the threshold, the sensor data from the start time t0 to the end time tr is obtained, and the PDR positioning result obtained based on the PDR positioning technology at the end time is used as the target positioning result at time tr.

若误差结果没有超过阈值,则将中间时刻t1基于WIFI的定位结果作为该时刻的待测目标定位结果,将该定位结果重置为PDR定位技术的起始位置,获取中间时刻t1至终止时刻tr的传感器数据,根据数据基于PDR定位技术得到的终止时刻PDR定位结果作为tr时刻的待测目标定位结果。If the error result does not exceed the threshold, take the positioning result based on WIFI at the intermediate time t1 as the positioning result of the target to be measured at this time, reset the positioning result to the starting position of the PDR positioning technology, and obtain the intermediate time t1 to the termination time tr According to the sensor data, the PDR positioning result at the termination time obtained based on the data based on the PDR positioning technology is used as the positioning result of the target to be measured at the time tr.

在该实施方式中,在PDR定位技术中,当前位置状态与上一个位置的信息相关,这种递推关系会导致其误差随时间累积,所以当误差在阈值范围Φ内时,通过WIFI定位技术的定位结果来重置PDR定位技术的定位起始位置,可以有效的消除时间累积带来的PDR定位误差。而当误差超过阈值Φ时,可以用PDR定位技术相对准确的定位结果弥补WIFI信号受干扰引起的定位不准确,起到了互相校正的作用。In this embodiment, in the PDR positioning technology, the current position state is related to the information of the previous position, and this recursive relationship will cause its error to accumulate over time, so when the error is within the threshold range Φ, the WIFI positioning technology The positioning result is used to reset the positioning starting position of the PDR positioning technology, which can effectively eliminate the PDR positioning error caused by time accumulation. When the error exceeds the threshold Φ, the relatively accurate positioning results of the PDR positioning technology can be used to compensate for the inaccurate positioning caused by the interference of the WIFI signal, which plays a role in mutual correction.

在上述实施方式中,优选地,融合WIFI和PDR定位技术的室内定位方法,还包括:In the above embodiment, preferably, the indoor positioning method integrating WIFI and PDR positioning technology further includes:

步骤S5,在终止时刻tr仍需要继续定位时,将终止时刻PDR定位结果对应位置重置为基于PDR定位技术新的起始位置,并返回重新执行步骤S2至步骤S4。Step S5, when the positioning still needs to be continued at the termination time tr, reset the position corresponding to the PDR positioning result at the termination time to a new starting position based on the PDR positioning technology, and return to re-execute steps S2 to S4.

在终止时刻tr不需要继续定位时,直接以步骤S4中得到的终止时刻PDR定位结果作为待测目标的定位结果,结束定位。When it is not necessary to continue the positioning at the termination time tr, the positioning result of the PDR at the termination time obtained in step S4 is directly used as the positioning result of the target to be measured, and the positioning is ended.

如图3所示,本发明还提出一种融合WIFI和PDR定位技术的室内定位系统,应用如上述实施方式中任一项公开的融合WIFI和PDR定位技术的室内定位方法,包括:As shown in FIG. 3 , the present invention also proposes an indoor positioning system integrating WIFI and PDR positioning technologies, applying the indoor positioning method integrating WIFI and PDR positioning technologies disclosed in any of the above embodiments, including:

起始时刻定位模块11,用于在起始时刻t0采用WIFI定位技术获取待测目标的WIFI定位结果,并以起始时刻WIFI定位结果作为PDR定位技术的起始位置;The starting time positioning module 11 is used for obtaining the WIFI positioning result of the target to be measured by using the WIFI positioning technology at the starting time t0, and using the WIFI positioning result at the starting time as the starting position of the PDR positioning technology;

中间时刻定位模块12,用于获取起始时刻t0至中间时刻t1的传感器数据,并以此得到中间时刻t1基于PDR定位技术的中间时刻PDR定位结果,并获取中间时刻t1基于WIFI定位技术的中间时刻WIFI定位结果;The intermediate time positioning module 12 is used to obtain the sensor data from the starting time t0 to the intermediate time t1, and thereby obtain the intermediate time PDR positioning result based on the PDR positioning technology at the intermediate time t1, and obtain the intermediate time t1 based on the WIFI positioning technology. Time WIFI positioning results;

定位误差判断模块13,用于对比中间时刻PDR定位结果与中间时刻WIFI定位结果之间的误差,判断该误差是否超过预设阈值;The positioning error judgment module 13 is used to compare the error between the PDR positioning result at the middle moment and the WIFI positioning result at the middle moment, and judge whether the error exceeds a preset threshold;

PDR校正WIFI模块14,用于在误差超过预设阈值时,获取起始时刻t0至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果;The PDR correction WIFI module 14 is used to acquire the sensor data from the start time t0 to the end time tr when the error exceeds the preset threshold, and thereby obtain the PDR positioning result based on the PDR positioning technology at the end time;

WIFI重置PDR模块15,用于在误差未超过预设阈值时,以中间时刻WIFI定位结果作为中间时刻t1的目标定位结果,并将对应位置重置为PDR定位技术的起始位置,获取中间时刻t1至终止时刻tr的传感器数据,并以此得到基于PDR定位技术的终止时刻PDR定位结果。The WIFI reset PDR module 15 is used to use the WIFI positioning result at the intermediate time as the target positioning result at the intermediate time t1 when the error does not exceed the preset threshold, and reset the corresponding position to the starting position of the PDR positioning technology, and obtain the intermediate position. The sensor data from the time t1 to the termination time tr is used to obtain the PDR positioning result at the termination time based on the PDR positioning technology.

在该实施方式中,通过WIFI定位技术和PDR定位技术相融合,并采用定位误差阈值判断方法解决两种定位技术在时序上的异步反馈问题,同时针对同一时刻两种定位技术的定位结果进行互相校正,提高了室内定位的精度和稳定性,降低了室内定位的成本。In this embodiment, the WIFI positioning technology and the PDR positioning technology are integrated, and the positioning error threshold judgment method is used to solve the asynchronous feedback problem of the two positioning technologies in terms of time sequence, and the positioning results of the two positioning technologies at the same time are compared. The correction improves the accuracy and stability of indoor positioning and reduces the cost of indoor positioning.

在上述实施方式中,优选地,起始时刻定位模块11和中间时刻定位模块12在利用指纹匹配算法获取WIFI定位结果过程中包括离线阶段和在线阶段;In the above-mentioned embodiment, preferably, the initial time positioning module 11 and the intermediate time positioning module 12 include an offline stage and an online stage in the process of using the fingerprint matching algorithm to obtain the WIFI positioning result;

离线阶段:Offline stage:

在室内区域设置参考点,并对每个参考点采集WIFI信号强度值;Set reference points in the indoor area, and collect WIFI signal strength values for each reference point;

对WIFI信号强度值进行数据预处理,并根据每个参考点的WIFI信号强度值建立室内区域的位置指纹数据库;Data preprocessing is performed on the WIFI signal strength value, and the location fingerprint database of the indoor area is established according to the WIFI signal strength value of each reference point;

在线阶段:Online stage:

基于WIFI定位技术采集待测目标的WIFI信号,并进行数据预处理;Collect the WIFI signal of the target to be tested based on WIFI positioning technology, and perform data preprocessing;

将预处理后的待测目标的WIFI信号与位置指纹数据库进行匹配,根据匹配结果确定对应的参考点位置估算结果,并作为待测目标的WIFI定位结果。The preprocessed WIFI signal of the target to be measured is matched with the location fingerprint database, and the corresponding reference point position estimation result is determined according to the matching result, which is used as the WIFI positioning result of the target to be measured.

在上述实施方式中,优选地,定位误差判断模块13具体用于:In the above embodiment, preferably, the positioning error judgment module 13 is specifically used for:

以中间时刻PDR定位结果对应位置作为圆心,以起始时刻t0至中间时刻t1基于PDR定位技术的待测目标位移量作为半径,构建圆形范围;Taking the position corresponding to the PDR positioning result at the middle time as the center of the circle, and taking the displacement of the target to be measured based on the PDR positioning technology from the starting time t0 to the middle time t1 as the radius, a circle range is constructed;

判断中间时刻WIFI定位结果对应位置是否在圆形范围内;Determine whether the corresponding position of the WIFI positioning result at the middle moment is within the circular range;

若中间时刻WIFI定位结果对应位置处于圆形范围内,则判定误差未超过预设阈值,否则判定误差超过预设阈值。If the position corresponding to the WIFI positioning result at the middle moment is within the circular range, it is determined that the error does not exceed the preset threshold; otherwise, the determination error exceeds the preset threshold.

在上述实施方式中,优选地,融合WIFI和PDR定位技术的室内定位系统还包括递推重置定位模块16,用于在终止时刻tr仍需要继续定位时,将终止时刻PDR定位结果对应位置重置为基于PDR定位技术的起始位置,并继续执行中间时刻定位模块12、定位误差判断模块13、PDR校正WIFI模块14和WIFI重置PDR模块15。In the above embodiment, preferably, the indoor positioning system integrating WIFI and PDR positioning technology further includes a recursive reset positioning module 16, which is used to reset the position corresponding to the PDR positioning result at the termination time when the positioning still needs to be continued at the termination time tr. Set as the starting position based on the PDR positioning technology, and continue to execute the intermediate time positioning module 12 , the positioning error judgment module 13 , the PDR correction WIFI module 14 and the WIFI reset PDR module 15 .

以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1. An indoor positioning method fusing WIFI and PDR positioning technologies is characterized by comprising the following steps:
step S1, acquiring a WIFI positioning result of the target to be detected by adopting a WIFI positioning technology at the starting time t0, and taking the WIFI positioning result at the starting time as the starting position of a PDR positioning technology;
step S2, acquiring sensor data from a starting time t0 to an intermediate time t1, acquiring an intermediate time PDR positioning result of the intermediate time t1 based on a PDR positioning technology, and acquiring an intermediate time WIFI positioning result of the intermediate time t1 based on a WIFI positioning technology;
step S3, comparing the error between the intermediate moment PDR positioning result and the intermediate moment WIFI positioning result, and judging whether the error exceeds a preset threshold value;
step S4, if the error exceeds the preset threshold, acquiring sensor data from the starting time t0 to the ending time tr, and accordingly obtaining a PDR positioning result at the ending time based on the PDR positioning technology;
and if the error does not exceed the preset threshold, taking the intermediate WIFI positioning result as a target positioning result of the intermediate time t1, resetting the corresponding position to the initial position of the PDR positioning technology, acquiring sensor data from the intermediate time t1 to the end time tr, and thus obtaining an end time PDR positioning result based on the PDR positioning technology.
2. The indoor positioning method fusing WIFI and PDR positioning technologies as claimed in claim 1, further comprising:
step S5, when the ending time tr still needs to continue positioning, resetting the position corresponding to the ending time PDR positioning result to the starting position based on the PDR positioning technology, and continuing to execute steps S2 to S4.
3. The indoor positioning method fusing WIFI and PDR positioning technologies as claimed in claim 1, wherein the specific process of step S3 includes:
constructing a circular range by taking the corresponding position of the PDR positioning result at the middle moment as a circle center and taking the displacement of the target to be measured from the starting moment t0 to the middle moment t1 based on the PDR positioning technology as a radius;
judging whether the position corresponding to the WIFI positioning result at the middle moment is within the circular range or not;
and if the position corresponding to the WIFI positioning result at the middle moment is within the circular range, judging that the error does not exceed a preset threshold value, otherwise, judging that the error exceeds the preset threshold value.
4. The indoor positioning method integrating WIFI and PDR positioning technologies as claimed in claim 1, wherein the method for obtaining the start moment WIFI positioning result or the middle moment WIFI positioning result based on WIFI positioning technology in steps S1 and S2 includes trilateration, TOA ranging, TDOA ranging and fingerprint matching algorithm.
5. The indoor positioning method fusing WIFI and PDR positioning technologies as claimed in claim 4, wherein the specific step of obtaining a WIFI positioning result by using the fingerprint matching algorithm comprises:
an off-line stage:
setting reference points in an indoor area, and collecting a WIFI signal intensity value for each reference point;
data preprocessing is carried out on the WIFI signal intensity value, and a position fingerprint database of the indoor area is established according to the WIFI signal intensity value of each reference point;
an online stage:
acquiring a WIFI signal of a target to be detected based on a WIFI positioning technology, and preprocessing data;
and matching the preprocessed WIFI signal of the target to be detected with the position fingerprint database, determining a corresponding reference point position estimation result according to the matching result, and using the reference point position estimation result as a WIFI positioning result of the target to be detected.
6. The indoor positioning method integrating WIFI and PDR positioning technologies as claimed in claim 1, wherein a sensor is installed in the target to be measured, the displacement of the target to be measured is calculated according to acceleration sensor data and orientation sensor data acquired in real time, and the course of the target to be measured is determined according to the orientation sensor data;
and comprehensively calculating the real-time position of the target to be detected based on a PDR positioning technology according to the displacement and the course of the target to be detected, and taking the real-time position as a PDR positioning result at the current moment.
7. An indoor positioning system fusing WIFI and PDR positioning technologies, wherein the indoor positioning method fusing WIFI and PDR positioning technologies as claimed in any one of claims 1 to 6 is applied, and comprises the following steps:
the starting time positioning module is used for acquiring a WIFI positioning result of the target to be detected by adopting a WIFI positioning technology at a starting time t0, and taking the starting time WIFI positioning result as a starting position of a PDR positioning technology;
the middle time positioning module is used for acquiring sensor data from a starting time t0 to a middle time t1, acquiring a middle time PDR positioning result of a middle time t1 based on a PDR positioning technology, and acquiring a middle time WIFI positioning result of a middle time t1 based on a WIFI positioning technology;
the positioning error judgment module is used for comparing an error between the middle moment PDR positioning result and the middle moment WIFI positioning result and judging whether the error exceeds a preset threshold value or not;
the PDR correction WIFI module is used for acquiring sensor data from a starting time t0 to an ending time tr when the error exceeds a preset threshold value, and accordingly, a PDR positioning result at the ending time based on the PDR positioning technology is obtained;
and the WIFI resetting PDR module is used for taking the middle moment WIFI positioning result as a target positioning result of a middle moment t1 when the error does not exceed a preset threshold, resetting the corresponding position to the initial position of the PDR positioning technology, acquiring sensor data from the middle moment t1 to the end moment tr, and thus obtaining an end moment PDR positioning result based on the PDR positioning technology.
8. The indoor positioning system integrating WIFI and PDR positioning technologies as claimed in claim 7, further comprising a recursive reset positioning module, configured to reset the location corresponding to the PDR positioning result at the termination time to a starting location based on the PDR positioning technology when the location still needs to be continued at the termination time tr, and continue to execute the middle time positioning module, the positioning error determination module, the PDR calibration WIFI module, and the WIFI reset PDR module.
9. The indoor positioning system fusing WIFI and PDR positioning technologies as claimed in claim 7, wherein said positioning error determination module is specifically configured to:
constructing a circular range by taking the corresponding position of the PDR positioning result at the middle moment as a circle center and taking the displacement of the target to be measured from the starting moment t0 to the middle moment t1 based on the PDR positioning technology as a radius;
judging whether the position corresponding to the WIFI positioning result at the middle moment is within the circular range or not;
and if the position corresponding to the WIFI positioning result at the middle moment is within the circular range, judging that the error does not exceed a preset threshold value, otherwise, judging that the error exceeds the preset threshold value.
10. The indoor positioning system integrating WIFI and PDR positioning technologies as recited in claim 7, wherein said start time positioning module and said intermediate time positioning module comprise an offline stage and an online stage in the process of obtaining WIFI positioning results using fingerprint matching algorithm;
an off-line stage:
setting reference points in an indoor area, and collecting a WIFI signal intensity value for each reference point;
data preprocessing is carried out on the WIFI signal intensity value, and a position fingerprint database of the indoor area is established according to the WIFI signal intensity value of each reference point;
an online stage:
acquiring a WIFI signal of a target to be detected based on a WIFI positioning technology, and performing data preprocessing;
and matching the preprocessed WIFI signal of the target to be detected with the position fingerprint database, determining a corresponding reference point position estimation result according to the matching result, and using the reference point position estimation result as a WIFI positioning result of the target to be detected.
CN202210147264.4A 2022-02-17 2022-02-17 An indoor positioning method and system integrating WIFI and PDR positioning technology Pending CN114501312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210147264.4A CN114501312A (en) 2022-02-17 2022-02-17 An indoor positioning method and system integrating WIFI and PDR positioning technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210147264.4A CN114501312A (en) 2022-02-17 2022-02-17 An indoor positioning method and system integrating WIFI and PDR positioning technology

Publications (1)

Publication Number Publication Date
CN114501312A true CN114501312A (en) 2022-05-13

Family

ID=81481691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210147264.4A Pending CN114501312A (en) 2022-02-17 2022-02-17 An indoor positioning method and system integrating WIFI and PDR positioning technology

Country Status (1)

Country Link
CN (1) CN114501312A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005503A (en) * 2018-08-13 2018-12-14 电子科技大学 A kind of fusion and positioning method based on WiFi and PDR
CN109413578A (en) * 2018-11-02 2019-03-01 桂林电子科技大学 A kind of indoor orientation method merged based on WIFI with PDR

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005503A (en) * 2018-08-13 2018-12-14 电子科技大学 A kind of fusion and positioning method based on WiFi and PDR
CN109413578A (en) * 2018-11-02 2019-03-01 桂林电子科技大学 A kind of indoor orientation method merged based on WIFI with PDR

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周启臻;邢建春;李决龙;杨启亮;: "一种多元信息融合的室内定位方法", 微型机与应用, no. 22 *

Similar Documents

Publication Publication Date Title
US9696165B2 (en) Last-mile navigation using smartphones
CN108151747B (en) An indoor positioning system and positioning method using the fusion of acoustic signals and inertial navigation
CN104457751B (en) Indoor and outdoor scene recognition method and system
CN105607104B (en) A kind of adaptive navigation alignment system and method based on GNSS and INS
CN111829516B (en) Autonomous pedestrian positioning method based on smart phone
CN109470238B (en) A positioning method, device and mobile terminal
CN105516929B (en) Establish method, indoor orientation method and the corresponding intrument of indoor map data
EP3414524A1 (en) Method and system for using offline map information aided enhanced portable navigation
US11035915B2 (en) Method and system for magnetic fingerprinting
JP6054535B2 (en) Pedestrian motion recognition based pedestrian position estimation apparatus and method
WO2015113330A1 (en) Autonomous navigation system using an image information code to provide correction information
WO2016198009A1 (en) Heading checking method and apparatus
WO2018072279A1 (en) Positioning method and mobile device
CN114608560B (en) Passive combined indoor positioning system and method based on intelligent terminal sensor
JP5742794B2 (en) Inertial navigation device and program
CN109005503B (en) A fusion positioning method based on WiFi and PDR
CN106941703A (en) Indoor and outdoor seamless positioning apparatus and method based on Situation Awareness
WO2020238086A1 (en) Method for determining position of building and terminal device
CN106197418B (en) An Indoor Positioning Method Based on Sliding Window Fingerprint Method and Sensor Fusion
CN107990901A (en) A kind of sensor-based user direction localization method
CN112362044A (en) Indoor positioning method, device, equipment and system
CN115435782A (en) Anti-interference position estimation method and device under multi-source information constraint
CN112815962B (en) Method and device for calibrating parameters of combined application sensors
CN111238479A (en) Indoor positioning method based on geomagnetic fingerprint matching
CN114501312A (en) An indoor positioning method and system integrating WIFI and PDR positioning technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220513

RJ01 Rejection of invention patent application after publication