CN114585082B - A wireless positioning method, device and storage medium for power Internet of Things equipment - Google Patents
A wireless positioning method, device and storage medium for power Internet of Things equipment Download PDFInfo
- Publication number
- CN114585082B CN114585082B CN202210241498.5A CN202210241498A CN114585082B CN 114585082 B CN114585082 B CN 114585082B CN 202210241498 A CN202210241498 A CN 202210241498A CN 114585082 B CN114585082 B CN 114585082B
- Authority
- CN
- China
- Prior art keywords
- positioning base
- base station
- distance difference
- positioning
- internet
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000001914 filtration Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 34
- 238000005259 measurement Methods 0.000 claims description 36
- 230000008569 process Effects 0.000 claims description 29
- 238000004364 calculation method Methods 0.000 claims description 17
- 238000004422 calculation algorithm Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 230000005284 excitation Effects 0.000 claims description 6
- 230000007704 transition Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 10
- 238000007689 inspection Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 5
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 5
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/0202—Channel estimation
- H04L25/0204—Channel estimation of multiple channels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/0202—Channel estimation
- H04L25/0224—Channel estimation using sounding signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及电力物联网通信技术领域,特别是一种电力物联网设备的无线定位方法、装置及存储介质。The present invention relates to the field of electric power Internet of Things communication technology, and in particular to a method, a device and a storage medium for wireless positioning of electric power Internet of Things equipment.
背景技术Background technique
电力物联网将各类电网终端设备连接,进行信息交换和通信,围绕电力系统各环节各部门,实现智能化识别、定位、跟踪、监控和管理,能够有效整合电力以及通信系统的基础设施资源,改善智能电网设施的利用效率,为电网提供技术支撑。The power Internet of Things connects various types of power grid terminal equipment to exchange and communicate information, and realizes intelligent identification, positioning, tracking, monitoring and management around all links and departments of the power system. It can effectively integrate the infrastructure resources of the power and communication systems, improve the utilization efficiency of smart grid facilities, and provide technical support for the power grid.
在电力物联网中,节点设备的高精度定位具有重要的意义。通过高精度定位技术,可以实时获取设备或人员的位置信息,甚至活动轨迹,提升电力系统的故障处理能力和应急处置能力,提高工作效率、降低人员和设备损失。例如,在发生设备故障时,通过定位技术可及时找到异常设备的位置,便于快速故障处置。在巡检系统中,可实时追踪巡检人员的工作状况。例如,通过查看巡检路线、指定巡检点的巡检时长等,可判断巡检人员是否按照要求巡视,实现巡检过程的可视化和智能化。在发生紧急情况时,管控中心能第一时间掌握人员和设备的实时位置,及时快速调度和管制,为管理人员提供道路引导帮助。In the power Internet of Things, high-precision positioning of node devices is of great significance. Through high-precision positioning technology, the location information of equipment or personnel, and even the activity trajectory, can be obtained in real time, which can improve the fault handling and emergency response capabilities of the power system, improve work efficiency, and reduce personnel and equipment losses. For example, when an equipment failure occurs, the location of the abnormal equipment can be found in time through positioning technology, which is convenient for rapid fault handling. In the inspection system, the working status of the inspection personnel can be tracked in real time. For example, by checking the inspection route, the inspection time of the designated inspection point, etc., it can be judged whether the inspection personnel patrol according to the requirements, and the inspection process can be visualized and intelligentized. In the event of an emergency, the control center can grasp the real-time location of personnel and equipment in the first time, dispatch and control in a timely and rapid manner, and provide road guidance assistance to managers.
电力物联网设备对定位技术有行业性的特殊需求。不同于常规物联网定位技术的应用场景,电力物联网设备由于其特殊使用环境和硬件特性,定位技术受到多方面因素的不同程度制约。例如,由于节点布设场景很难保障开放性,信道条件和通信状况往往十分复杂多样。另外,在野外环境中,节点通常由电池供电,能量有限且不易补充,需要采用定位算法足够省电。这些特性,都对电力物联网的定位技术提出了挑战。Electric power IoT devices have special industry-specific requirements for positioning technology. Different from the application scenarios of conventional IoT positioning technology, the positioning technology of electric power IoT devices is restricted to varying degrees by many factors due to their special use environment and hardware characteristics. For example, since it is difficult to ensure openness in node deployment scenarios, channel conditions and communication conditions are often very complex and diverse. In addition, in the wild environment, nodes are usually powered by batteries, which have limited energy and are not easy to replenish, so positioning algorithms need to be used to save enough power. These characteristics have posed challenges to the positioning technology of the electric power IoT.
无线定位的精度,强烈依赖于测距信号传播时延的测量精度。在复杂信道环境下,测距信号的非视距(Non Line of Sight,NLOS)传播,会导致较大的测距误差,进而降低定位精度。识别并补偿NLOS测距误差是提高定位精度的关键技术。The accuracy of wireless positioning strongly depends on the measurement accuracy of the propagation delay of the ranging signal. In complex channel environments, the non-line of sight (NLOS) propagation of ranging signals will lead to large ranging errors, thereby reducing positioning accuracy. Identifying and compensating for NLOS ranging errors is a key technology to improve positioning accuracy.
当前已有的定位技术较多,例如基于WiFi、蓝牙、Zigbee、UWB和RFID等的定位技术。但是,此类技术主要适用于室内定位,覆盖范围有限难以满足大范围内电力物联网设备的定位需求。而且,此类技术往往需要部署较多的节点,成本较高。There are many existing positioning technologies, such as those based on WiFi, Bluetooth, Zigbee, UWB and RFID. However, these technologies are mainly suitable for indoor positioning, and their limited coverage makes it difficult to meet the positioning needs of power IoT devices in a large area. Moreover, these technologies often require the deployment of more nodes, which is costly.
基于到达时间(TOA)的定位方法是通过测量无线信号传播时间进而计算距离从而得到最终位置的方法,这种方法需要同时有三个或以上位置已知的基站。观测到达时间差(OTDOA)定位方法,是根据终端到多个基站的无线信号传播的时间差值进行定位。ODTOA方法的定位精度比基于小区ID的方法高,但易受环境的影响。在复杂测距环境中,信号传播受到非视距NLOS障碍阻挡的概率大大提高,信号因为障碍物阻挡导致功率下降而难以被有效检测,从而产生较大的NLOS测距误差。例如,在郊区和农村等开阔地带的定位精度可达到十米,但是在城区由于高大建筑物较多,无线电波信号很难直接从基站到达终端,一般要经过复杂的折射或反射,定位精度会受到影响,定位精度约数十米到数百米。The positioning method based on time of arrival (TOA) is a method of obtaining the final position by measuring the propagation time of wireless signals and then calculating the distance. This method requires three or more base stations with known positions at the same time. The Observed Time Difference of Arrival (OTDOA) positioning method is to locate based on the time difference of wireless signal propagation from the terminal to multiple base stations. The positioning accuracy of the ODTOA method is higher than that of the method based on cell ID, but it is easily affected by the environment. In a complex ranging environment, the probability of signal propagation being blocked by non-line-of-sight NLOS obstacles is greatly increased. The signal is difficult to be effectively detected due to the power reduction caused by obstacles, resulting in a large NLOS ranging error. For example, the positioning accuracy in open areas such as suburbs and rural areas can reach ten meters, but in urban areas, due to the large number of tall buildings, it is difficult for radio wave signals to reach the terminal directly from the base station. Generally, they have to undergo complex refraction or reflection, which will affect the positioning accuracy. The positioning accuracy is about tens of meters to hundreds of meters.
发明内容Summary of the invention
本发明的目的是提供一种电力物联网设备的无线定位方法、装置及存储介质,能够实现对物联网节点的精确定位。本发明采用的技术方案如下。The purpose of the present invention is to provide a wireless positioning method, device and storage medium for power Internet of Things equipment, which can realize accurate positioning of Internet of Things nodes. The technical solution adopted by the present invention is as follows.
一方面,本发明提供一种电力物联网设备的无线定位方法,包括:On the one hand, the present invention provides a wireless positioning method for a power Internet of Things device, comprising:
周期性获取至少三个定位基站发出的无线定位信号;Periodically acquiring wireless positioning signals sent by at least three positioning base stations;
根据各周期获取到的无线定位信号,对应各定位基站分别进行信道估计;According to the wireless positioning signals obtained in each period, channel estimation is performed for each positioning base station respectively;
根据信道估计结果,计算物联网设备到不同定位基站的距离差;According to the channel estimation results, calculate the distance difference between the IoT device and different positioning base stations;
基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理;Based on the distance differences obtained in multiple cycles, Kalman filtering is performed on the distance difference data;
根据卡尔曼滤波处理后的距离差数据计算物联网设备的实际位置。The actual location of the IoT device is calculated based on the distance difference data processed by the Kalman filter.
可选的,所述根据信道估计结果,计算物联网设备到不同定位基站的距离差,包括:Optionally, calculating the distance difference between the IoT device and different positioning base stations according to the channel estimation result includes:
根据信道结果,计算任意三个定位基站的组合中各定位基站的传播时延;According to the channel results, the propagation delay of each positioning base station in any combination of three positioning base stations is calculated;
以组合中任一定位基站的传播时延为基准,计算其它两个定位基站与作为基准的定位基站之间的时延差;Taking the propagation delay of any positioning base station in the combination as a benchmark, calculate the delay difference between the other two positioning base stations and the positioning base station as a benchmark;
根据所述时延差计算对应的距离差,得到物联网设备到基准定位基站之间的距离分别与物联网设备到其它两个定位基站之间的距离差。The corresponding distance difference is calculated according to the time delay difference to obtain the distance difference between the IoT device and the reference positioning base station and the distance difference between the IoT device and the other two positioning base stations.
可选的,所述距离差计算公式为:Optionally, the distance difference calculation formula is:
dij=c×τij d ij = c × τ ij
其中,dij表示物联网设备到定位基站i的距离与到定位基站j的距离之间的差值;c表示无线电波在空中的传播速度;τij=τi-τjτij,表示定位基站i的时延τi与定位基站j的时延τj之间的时延差。Among them , dij represents the difference between the distance of the IoT device to positioning base station i and the distance to positioning base station j; c represents the propagation speed of radio waves in the air; τij = τi - τjτij , represents the delay difference between the delay τi of positioning base station i and the delay τj of positioning base station j.
以上,信道估计以及根据信道估计结果得到基站传播时延的过程可采用现有技术。The above-mentioned process of channel estimation and obtaining the base station propagation delay according to the channel estimation result may adopt the existing technology.
可选的,所述基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理,包括:Optionally, the distance difference obtained based on multiple cycles is subjected to Kalman filtering, including:
每个周期获取到无线定位信号后,基于该周期的无线定位信号计算得到距离差数据,对于得到的距离差数据,基于预构建的距离差测量模型执行一次卡尔曼滤波处理,得到更新的真实距离差估计值;After obtaining the wireless positioning signal in each period, the distance difference data is calculated based on the wireless positioning signal of the period. For the obtained distance difference data, a Kalman filter process is performed based on the pre-built distance difference measurement model to obtain an updated true distance difference estimate;
每次卡尔曼滤波处理后,判断卡尔曼滤波算法是否收敛,若收敛则将当前得到的真实距离差估计值作为真实距离差,若不收敛则继续下一周期获取无线定位信号后的距离差计算及卡尔曼滤波处理。After each Kalman filter processing, determine whether the Kalman filter algorithm converges. If it converges, the current estimated value of the actual distance difference is used as the actual distance difference. If it does not converge, continue the distance difference calculation and Kalman filter processing after obtaining the wireless positioning signal in the next cycle.
本发明中,卡尔曼滤波算法是否收敛的依据可以是,迭代计算达到设定次数,或者,若干次更新后的真实距离差值估计值的变化量小于预设阈值,则代表卡尔曼滤波的结果趋于平稳,即能够得到稳定且精确的距离差估计值。In the present invention, the basis for whether the Kalman filter algorithm converges can be that the iterative calculation reaches a set number of times, or the change in the true distance difference estimate after several updates is less than a preset threshold, which means that the result of the Kalman filter tends to be stable, that is, a stable and accurate distance difference estimate can be obtained.
可选的,所述预构建的距离差测量模型为:Optionally, the pre-built distance difference measurement model is:
dij(k)=cijxij(k)+vij(k)d ij (k) = c ij x ij (k) + v ij (k)
其中,xij(k)=aijxij(k-1)+wij(k-1)where xij (k)= aijxij (k-1)+ wij (k- 1 )
上式中,dij(k)表示第k个周期对应的物联网设备到定位基站i的距离与到定位基站j的距离之间的差值;cij表示测量系数;vij(k)表示量测误差,是均值为零、方差为的高斯白噪声;aij表示状态转换系数;wij(k-1)表示第k-1个周期对应的激励信号,是均值为零方差为/>的高斯白噪声;xij(k)表示第k个周期对应的物联网设备到定位基站i的距离与到定位基站j的距离之间的距离差真实值;In the above formula, d ij (k) represents the difference between the distance from the IoT device to the positioning base station i and the distance from the IoT device to the positioning base station j corresponding to the kth period; c ij represents the measurement coefficient; and vi ij (k) represents the measurement error, which has a mean of zero and a variance of Gaussian white noise; a ij represents the state transition coefficient; w ij (k-1) represents the excitation signal corresponding to the k-1th period, which has a mean of zero and a variance of /> Gaussian white noise; x ij (k) represents the true value of the distance difference between the distance from the IoT device to the positioning base station i and the distance to the positioning base station j corresponding to the kth period;
所述执行一次卡尔曼滤波处理为,根据以下公式更新距离差真实值的估计值 The Kalman filter process is performed once to update the estimated value of the true value of the distance difference according to the following formula:
式中,表示对应第k个周期的距离差真实值的估计值,bij(k)表示量测加权系数,表示为公式:In the formula, represents the estimated value of the true value of the distance difference corresponding to the kth cycle, and bij (k) represents the measurement weighting coefficient, which is expressed as the formula:
表示量测误差的方差,/>表示第k个周期执行卡尔曼滤波时更新后的协方差一步估计值,表示为公式: represents the variance of the measurement error,/> It represents the updated covariance one-step estimate when the Kalman filter is executed in the kth cycle, which is expressed as the formula:
pij(k-1)表示第k-1个周期执行卡尔曼滤波时更新后的协方差系数,表示激励信号wij的方差。p ij (k-1) represents the updated covariance coefficient when the Kalman filter is executed in the k-1th cycle, represents the variance of the excitation signal w ij .
可选的,每个周期进行所述卡尔曼滤波处理的步骤为:Optionally, the steps of performing the Kalman filter processing in each cycle are:
基于上一周期卡尔曼滤波处理时更新的协方差系数,更新协方差一步估计值;Based on the covariance coefficient updated during the Kalman filter processing of the previous cycle, the covariance one-step estimate is updated;
基于更新后的协方差一步估计值,更新量测加权系数;Based on the updated covariance one-step estimate, update the measurement weight coefficient;
基于更新后的协方差一步估计值以及量测加权系数更新协方差系数;updating the covariance coefficients based on the updated covariance one-step estimate and the measurement weighting coefficients;
基于更新后的量测加权系数、上一周期卡尔曼滤波处理得到的距离差真实值的估计值,以及当前周期计算得到的距离差,更新距离差真实值的估计值。Based on the updated measurement weighting coefficient, the estimated value of the true value of the distance difference obtained by the Kalman filter processing in the previous cycle, and the distance difference calculated in the current cycle, the estimated value of the true value of the distance difference is updated.
可选的,所述根据卡尔曼滤波处理后的距离差数据计算物联网设备的实际位置,包括:Optionally, calculating the actual position of the IoT device according to the distance difference data processed by Kalman filtering includes:
判断无线定位信号发送端的定位基站数量是否等于3或者大于3;Determine whether the number of positioning base stations of the wireless positioning signal sending end is equal to 3 or greater than 3;
若定位基站数量等于3,则根据所得到的2个距离差数据计算物联网设备的位置;If the number of positioning base stations is equal to 3, the location of the IoT device is calculated based on the two distance difference data obtained;
若定位基站数量大于3,则对定位基站进行分组,确定各定位基站组合对应的2个距离差数据;If the number of positioning base stations is greater than 3, the positioning base stations are grouped to determine the two distance difference data corresponding to each positioning base station combination;
针对每个定位基站组合,根据对应的距离差分别解算物联网设备位置;For each positioning base station combination, the location of the IoT device is calculated based on the corresponding distance difference;
根据各定位基站组合中各定位基站与物联网设备之间的位置关系,按照预设最优布局选择策略确定布局最优的定位基站组合;According to the positional relationship between each positioning base station and the IoT device in each positioning base station combination, the positioning base station combination with the best layout is determined according to the preset optimal layout selection strategy;
将根据最优定位基站组合计算得到的物联网设备位置作为物联网设备的实际位置。The location of the IoT device calculated based on the optimal positioning base station combination is used as the actual location of the IoT device.
上述方案中,根据距离差解算物联网设备位置可采用现有技术。In the above scheme, existing technology can be used to calculate the location of the IoT device based on the distance difference.
可选的,所述根据各定位基站组合中各定位基站与物联网设备之间的位置关系,按照预设最优布局选择策略确定布局最优的定位基站组合,包括:Optionally, the determining of the positioning base station combination with the best layout according to a preset optimal layout selection strategy based on the position relationship between each positioning base station in each positioning base station combination and the Internet of Things device includes:
对于任一定位基站组合,根据解算得到的物联网设备位置,计算物联网设备位置点与组合中各基站位置点之间连线的夹角,确定其中的最大夹角,得到对应各定位基站组合的所述最大夹角;For any positioning base station combination, according to the calculated location of the IoT device, the angle between the location point of the IoT device and the location points of each base station in the combination is calculated, the maximum angle therein is determined, and the maximum angle corresponding to each positioning base station combination is obtained;
比较所有定位基站组合对应的所述最大夹角,选择最大夹角最小的定位基站组合,将其作为布局最优的定位基站组合。The maximum angles corresponding to all positioning base station combinations are compared, and the positioning base station combination with the smallest maximum angle is selected as the positioning base station combination with the optimal layout.
可选的,所述定位基站为具有定位功能的定位基站,或者具有定位功能的物联网设备,所述具有定位功能为能够定位自身位置信息以及能够发送无线定位信号;Optionally, the positioning base station is a positioning base station with a positioning function, or an Internet of Things device with a positioning function, and the positioning function is capable of locating its own position information and sending a wireless positioning signal;
所述无线定位信号为ODTOA无线定位信号。The wireless positioning signal is an ODTOA wireless positioning signal.
第二方面,本发明提供一种电力物联网设备的无线定位装置,包括:In a second aspect, the present invention provides a wireless positioning device for a power Internet of Things device, comprising:
定位信号获取模块,被配置用于周期性获取至少三个定位基站发出的无线定位信号;A positioning signal acquisition module, configured to periodically acquire wireless positioning signals sent by at least three positioning base stations;
信道估计模块,被配置用于根据各周期获取到的无线定位信号,对应各定位基站分别进行信道估计;The channel estimation module is configured to perform channel estimation for each positioning base station according to the wireless positioning signal acquired in each period;
距离差计算模块,被配置用于根据信道估计结果,计算物联网设备到不同定位基站的距离差;The distance difference calculation module is configured to calculate the distance difference between the IoT device and different positioning base stations according to the channel estimation result;
卡尔曼滤波模块,被配置用于基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理;A Kalman filter module is configured to perform Kalman filter processing on the distance difference data based on the distance difference obtained in multiple cycles;
以及,位置确定模块,被配置用于根据卡尔曼滤波处理后的距离差数据计算物联网设备的实际位置。And, a location determination module is configured to calculate the actual location of the IoT device based on the distance difference data processed by the Kalman filter.
可选的,所述信道估计模块根据信道估计结果,计算物联网设备到不同定位基站的距离差,包括:Optionally, the channel estimation module calculates the distance difference between the IoT device and different positioning base stations according to the channel estimation result, including:
根据信道结果,计算任意三个定位基站的组合中各定位基站的传播时延;According to the channel results, the propagation delay of each positioning base station in any combination of three positioning base stations is calculated;
以组合中任一定位基站的传播时延为基准,计算其它两个定位基站与作为基准的定位基站之间的时延差;Taking the propagation delay of any positioning base station in the combination as a benchmark, calculate the delay difference between the other two positioning base stations and the positioning base station as a benchmark;
根据所述时延差计算对应的距离差,得到物联网设备到基准定位基站之间的距离分别与物联网设备到其它两个定位基站之间的距离差。The corresponding distance difference is calculated according to the time delay difference to obtain the distance difference between the IoT device and the reference positioning base station and the distance difference between the IoT device and the other two positioning base stations.
可选的,所述卡尔曼滤波模块基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理,包括:Optionally, the Kalman filter module performs Kalman filter processing on the distance difference data based on the distance difference obtained in multiple cycles, including:
每个周期获取到无线定位信号后,在基于该周期的无线定位信号计算得到距离差后,基于预构建的距离差测量模型执行一次卡尔曼滤波处理,得到更新的真实距离差估计值;After obtaining the wireless positioning signal in each period, after calculating the distance difference based on the wireless positioning signal of the period, a Kalman filter process is performed based on the pre-built distance difference measurement model to obtain an updated true distance difference estimate;
每次卡尔曼滤波处理后,判断卡尔曼滤波算法是否收敛,若收敛则将当前得到的真实距离差估计值作为真实距离差,若不收敛则继续下一周期获取无线定位信号后的距离差计算及卡尔曼滤波处理。After each Kalman filter processing, determine whether the Kalman filter algorithm converges. If it converges, the current estimated value of the actual distance difference is used as the actual distance difference. If it does not converge, continue the distance difference calculation and Kalman filter processing after obtaining the wireless positioning signal in the next cycle.
第三方面,本发明提供一种电力物联网设备,其包括上述第二方面所介绍的无线定位装置,所述无线定位装置用于确定电力物联网设备的实际位置。In a third aspect, the present invention provides an electric power Internet of Things device, which includes the wireless positioning device introduced in the above second aspect, and the wireless positioning device is used to determine the actual location of the electric power Internet of Things device.
第四方面,本发明提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时,实现如第一方面所述的电力物联网设备的无线定位方法。In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the wireless positioning method of the electric power Internet of Things device as described in the first aspect is implemented.
有益效果Beneficial Effects
本发明的电力物联网设备的无线定位方法,通过信道估计获取节点到定位基站的距离差测量值,然后使用卡尔曼滤波对距离差进行滤波,可有效滤除测距误差,提升定位精度。The wireless positioning method of the electric power Internet of Things device of the present invention obtains the distance difference measurement value from the node to the positioning base station through channel estimation, and then uses Kalman filtering to filter the distance difference, which can effectively filter out the ranging error and improve the positioning accuracy.
在获得距离差的多个精确估计的基础上,为了消除不理想的定位基站布局对定位精度的负面影响,本发明通过特定的最优布局选择策略从所有的定位基站中选择布局最优的三个定位基站,从而得到最精确到节点定位结果。On the basis of obtaining multiple accurate estimates of the distance difference, in order to eliminate the negative impact of an undesirable positioning base station layout on positioning accuracy, the present invention selects three positioning base stations with the best layout from all positioning base stations through a specific optimal layout selection strategy, thereby obtaining the most accurate node positioning result.
本发明的方法不要求物联网节点与定位基站间的时间同步,易于部署;且算法实现简单,同时具有较大的成本优势。The method of the present invention does not require time synchronization between the Internet of Things node and the positioning base station, and is easy to deploy; the algorithm is simple to implement and has a large cost advantage.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1所示为本发明电力物联网设备的无线定位方法的一种实施例流程示意图;FIG1 is a schematic diagram showing a flow chart of an embodiment of a wireless positioning method for a power Internet of Things device according to the present invention;
图2所示为物联网设备周边定位基站部署示意图;Figure 2 shows a schematic diagram of the deployment of positioning base stations around IoT devices;
图3所示为基于OTDOA的定位原理示意图;FIG3 is a schematic diagram of positioning principle based on OTDOA;
图4所示为定位基站最优布局选择原理示意图。FIG4 is a schematic diagram showing the principle of selecting the optimal layout of positioning base stations.
具体实施方式Detailed ways
以下结合附图和具体实施例进一步描述。The invention is further described below with reference to the accompanying drawings and specific embodiments.
本发明的技术构思为:为了实现物联网设备的精确定位,首先,通过采用信道估计和伪距估计等方法,获得待定位的物联网设备与多个定位基站节点间的伪距估计;其次,通过对测距误差的建模,采用卡尔曼滤波技术,对测距结果进行滤波处理,滤除NLOS测距误差,提升定位精度。对于物联网设备所处环境中布设有3个以上基站的情形,选择具有最优布局的基站组合确定出的定位结果作为最终定位结果。The technical concept of the present invention is: in order to achieve accurate positioning of IoT devices, firstly, by adopting methods such as channel estimation and pseudorange estimation, the pseudorange estimation between the IoT device to be positioned and multiple positioning base station nodes is obtained; secondly, by modeling the ranging error, the Kalman filter technology is used to filter the ranging result, filter out the NLOS ranging error, and improve the positioning accuracy. For the situation where more than three base stations are deployed in the environment where the IoT device is located, the positioning result determined by the base station combination with the optimal layout is selected as the final positioning result.
实施例1Example 1
本实施例介绍一种电力物联网设备的无线定位方法,包括:This embodiment introduces a wireless positioning method for a power Internet of Things device, including:
周期性获取至少三个定位基站发出的无线定位信号;Periodically acquiring wireless positioning signals sent by at least three positioning base stations;
根据各周期获取到的无线定位信号,对应各定位基站分别进行信道估计;According to the wireless positioning signals obtained in each period, channel estimation is performed for each positioning base station respectively;
根据信道估计结果,计算物联网设备到不同定位基站的距离差;According to the channel estimation results, calculate the distance difference between the IoT device and different positioning base stations;
基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理;Based on the distance differences obtained in multiple cycles, Kalman filtering is performed on the distance difference data;
根据卡尔曼滤波处理后的距离差数据计算物联网设备的实际位置。The actual location of the IoT device is calculated based on the distance difference data processed by the Kalman filter.
以下本实施例对电力物联网设备的无线定位方法的具体实施过程进行介绍,可参考图1所示,涉及以下步骤。The following embodiment introduces the specific implementation process of the wireless positioning method of the power Internet of Things device, which can be referred to as shown in Figure 1, involving the following steps.
一、无线定位信号的获取1. Acquisition of wireless positioning signals
要实现物联网设备的定位,设备所在区域内应当预先部署有若干个定位基站。定位基站是一种特殊基站,其需要知道自身的精确位置信息,且需要通过适当的信息传递方式,将包括自身精确位置信息在内的定位辅助信息发送给区域内的物联网节点,即需要能够发送无线定位信号。对于某一目标区域来说,定位基站的分布,应该使得该区域内的所有物联网节点,至少可以收到三个定位基站发出的无线定位信号。本实施例中,定位基站所发出的无线定位信号可以是基于ODTOA的无线定位信号,ODTOA无线定位信号及收发技术可参考现有技术。To achieve the positioning of IoT devices, several positioning base stations should be pre-deployed in the area where the devices are located. The positioning base station is a special base station that needs to know its own precise location information, and needs to send positioning auxiliary information including its own precise location information to the IoT nodes in the area through appropriate information transmission methods, that is, it needs to be able to send wireless positioning signals. For a certain target area, the distribution of positioning base stations should enable all IoT nodes in the area to receive wireless positioning signals sent by at least three positioning base stations. In this embodiment, the wireless positioning signal sent by the positioning base station can be a wireless positioning signal based on ODTOA, and the ODTOA wireless positioning signal and transceiver technology can refer to the existing technology.
参考图2所示,目标区域内有多个物联网设备节点,共部署有四个定位基站,即“定位基站1”至“定位基站4”,该部署使得任意一个物联网设备节点可以至少接收到三个定位基站的定位信号。As shown in reference figure 2, there are multiple IoT device nodes in the target area, and a total of four positioning base stations are deployed, namely "positioning base station 1" to "positioning base station 4". This deployment enables any IoT device node to receive positioning signals from at least three positioning base stations.
对于任一物联网节点来说,当区域内没有足够的三个定位基站时,已经获得自身精确位置信息的物联网节点,可以用来充当定位基站,以扩展高精度定位服务的服务范围。For any IoT node, when there are not enough three positioning base stations in the area, the IoT node that has obtained its own precise location information can be used as a positioning base station to expand the service scope of the high-precision positioning service.
对于已部署足够定位基站的目标区域中的任一物联网节点,当需要定位时,则周期性的侦听获取至少3个定位基站发出无线定位信号。For any IoT node in the target area where sufficient positioning base stations have been deployed, when positioning is required, it periodically listens for wireless positioning signals sent by at least three positioning base stations.
二、信道估计及距离差计算2. Channel Estimation and Distance Difference Calculation
每一次侦听获取到多个定位基站发出的无线定位信号后,根据每个定位基站发出的无线定位信号进行信道估计,然后根据信道估计结果计算物联网设备节点到相应定位基站的距离之间的差值。其中,利用定位信号进行信道估计的方法可参考现有技术。After each interception of wireless positioning signals sent by multiple positioning base stations, channel estimation is performed based on the wireless positioning signals sent by each positioning base station, and then the difference between the distances of the IoT device node and the corresponding positioning base station is calculated based on the channel estimation results. The method of using positioning signals for channel estimation can refer to the prior art.
计算定位基站到物联网设备节点之间的距离差时,首先根据信道估计结果确定定位基站的传播时延。如图3所示,对于物联网节点N1和三个定位基站-基站1、基站2、基站3。节点N1根据信道估计的结果,测量出到三个定位基站的传播时延分别为τ1、τ2和τ3。计算距离差时,以基站1的传播时延τ1为基准,计算出基站2与基站1的时延差τ21=τ2-τ1,以及基站3与基站1的时延差τ31=τ3-τ1。再将时延差转换为距离差,即节点N1到基站2的距离,与节点N1到基站1的距离,两者相差的值d21=c×τ21,类似地,有d31=c×τ31,其中,c表示无线电波在空中的传播速度。When calculating the distance difference between the positioning base station and the IoT device node, the propagation delay of the positioning base station is first determined according to the channel estimation result. As shown in Figure 3, for IoT node N1 and three positioning base stations - base station 1, base station 2, and base station 3. Based on the channel estimation results, node N1 measures the propagation delays to the three positioning base stations as τ1 , τ2 , and τ3 , respectively. When calculating the distance difference, the propagation delay τ1 of base station 1 is used as the benchmark to calculate the delay difference between base station 2 and base station 1 τ21 = τ2 - τ1 , and the delay difference between base station 3 and base station 1 τ31 = τ3 - τ1 . Then convert the delay difference into the distance difference, that is, the distance between node N1 and base station 2 and the distance between node N1 and base station 1, the difference between the two is d21 = c× τ21 , and similarly, d31 = c× τ31 , where c represents the propagation speed of radio waves in the air.
以上可推出,对于任意物联网设备,其与不同定位基站之间距离差的计算公式为:From the above, it can be deduced that for any IoT device, the calculation formula for the distance difference between it and different positioning base stations is:
dij=c×τij d ij = c × τ ij
其中,dij表示物联网设备到定位基站i的距离与到定位基站j的距离之间的差值,τij=τi-τjτij,表示定位基站i的时延τi与定位基站j的时延τj之间的时延差。Wherein, d ij represents the difference between the distance of the IoT device to positioning base station i and the distance to positioning base station j, τ ij =τ i -τ j τ ij represents the delay difference between the delay τ i of positioning base station i and the delay τ j of positioning base station j.
按照以上实施方式,能够接收到至少3个无线定位信号的各物联网设备可计算出至少2个距离差数据。According to the above implementation, each IoT device that can receive at least three wireless positioning signals can calculate at least two distance difference data.
三、对距离差数据的卡尔曼滤波处理3. Kalman filter processing of distance difference data
针对典型电力场景下的障碍物的链路衰减情况,对距离测量误差进行补偿,可实现定位精度的提升。为了滤除经过以上步骤二得到的距离差估计值的误差,本实施例对于估计得到的距离差进行卡尔曼滤波处理。According to the link attenuation of obstacles in typical power scenarios, the distance measurement error is compensated to improve the positioning accuracy. In order to filter out the error of the distance difference estimation value obtained in the above step 2, this embodiment performs Kalman filtering on the estimated distance difference.
卡尔曼滤波是一种线性滤波器,其利用线性系统状态方程,通过系统输入输出观测数据,对系统状态进行最优估计。通过上一时刻的估计值和当前时刻的观测值来完成对状态变量的估计。卡尔曼滤波可以应用在任何含有不确定信息的动态系统中,有效的抵抗噪声的干扰并对状态变量作为最优估计,因此很适合在定位方法中滤除测距中的噪声信号,提升测距精度从而提高定位精度。Kalman filter is a linear filter that uses the linear system state equation to optimally estimate the system state through the system input and output observation data. The estimation of state variables is completed through the estimated value at the previous moment and the observed value at the current moment. Kalman filter can be applied to any dynamic system containing uncertain information, effectively resisting the interference of noise and taking the state variable as the optimal estimate. Therefore, it is very suitable for filtering out noise signals in ranging in positioning methods, improving ranging accuracy and thus improving positioning accuracy.
本实施例对距离差进行卡尔曼滤波的技术构思为:在每个周期获取到无线定位信号后,基于该周期获得的无线定位信号计算得到距离差数据,然后对于得到的距离差数据,基于预构建的距离差测量模型执行一次卡尔曼滤波处理,得到更新的真实距离差估计值;The technical concept of performing Kalman filtering on the distance difference in this embodiment is as follows: after obtaining the wireless positioning signal in each period, the distance difference data is calculated based on the wireless positioning signal obtained in the period, and then a Kalman filtering process is performed on the obtained distance difference data based on a pre-built distance difference measurement model to obtain an updated true distance difference estimation value;
每次卡尔曼滤波处理后,判断卡尔曼滤波算法是否收敛,若收敛则将当前得到的真实距离差估计值作为真实距离差,若不收敛则继续下一周期获取无线定位信号后的距离差计算及卡尔曼滤波处理。After each Kalman filter processing, determine whether the Kalman filter algorithm converges. If it converges, the current estimated value of the actual distance difference is used as the actual distance difference. If it does not converge, continue the distance difference calculation and Kalman filter processing after obtaining the wireless positioning signal in the next cycle.
卡尔曼滤波算法是否收敛的依据可以是,迭代计算达到设定次数,或者,若干次更新后的真实距离差值估计值的变化量小于预设阈值,则代表卡尔曼滤波的结果趋于平稳,即能够得到稳定且精确的距离差估计值。The basis for whether the Kalman filter algorithm converges can be that the iterative calculation reaches the set number of times, or the change in the true distance difference estimate after several updates is less than the preset threshold, which means that the result of the Kalman filter tends to be stable, that is, a stable and accurate distance difference estimate can be obtained.
以上所述预构建的距离差测量模型为:The pre-built distance difference measurement model described above is:
dij(k)=cijxij(k)+vij(k)d ij (k) = c ij x ij (k) + v ij (k)
其中,xij(k)=aijxij(k-1)+wij(k-1)where xij (k)= aijxij (k-1)+ wij (k- 1 )
上式中,dij(k)表示第k个周期对应的物联网设备到定位基站i的距离与到定位基站j的距离之间的差值;cij表示测量系数;vij(k)表示量测误差,是均值为零、方差为的高斯白噪声;aij表示状态转换系数;wij(k-1)表示第k-1个周期对应的激励信号,是均值为零方差为/>的高斯白噪声;xij(k)表示第k个周期对应的物联网设备到定位基站i的距离与到定位基站j的距离之间的距离差真实值。In the above formula, d ij (k) represents the difference between the distance from the IoT device to the positioning base station i and the distance from the IoT device to the positioning base station j corresponding to the kth period; c ij represents the measurement coefficient; and vi ij (k) represents the measurement error, which has a mean of zero and a variance of Gaussian white noise; a ij represents the state transition coefficient; w ij (k-1) represents the excitation signal corresponding to the k-1th period, which has a mean of zero and a variance of /> Gaussian white noise; x ij (k) represents the true value of the distance difference between the distance from the IoT device to the positioning base station i and the distance to the positioning base station j corresponding to the kth period.
每执行一次卡尔曼滤波处理即为,根据以下公式更新距离差真实值的估计值 Each time the Kalman filter is executed, the estimated value of the true value of the distance difference is updated according to the following formula
式中,表示对应第k个周期的距离差真实值的估计值,bij(k)表示量测加权系数,表示为公式:In the formula, represents the estimated value of the true value of the distance difference corresponding to the kth cycle, and bij (k) represents the measurement weighting coefficient, which is expressed as the formula:
表示量测误差的方差,/>表示第k个周期执行卡尔曼滤波时更新后的协方差一步估计值,表示为公式: represents the variance of the measurement error,/> It represents the updated covariance one-step estimate when the Kalman filter is executed in the kth cycle, expressed as the formula:
pij(k-1)表示第k-1个周期执行卡尔曼滤波时更新后的协方差系数,表示激励信号wij的方差。p ij (k-1) represents the updated covariance coefficient when the Kalman filter is executed in the k-1th cycle, represents the variance of the excitation signal w ij .
因此,本实施例中,以对第k次获取到无线定位信号后计算得到距离差进行卡尔曼滤波处理为例,所进行的卡尔曼滤波处理的步骤为:Therefore, in this embodiment, taking the Kalman filtering process performed on the distance difference calculated after the k-th acquisition of the wireless positioning signal as an example, the steps of the Kalman filtering process performed are:
基于上一周期卡尔曼滤波处理时更新的协方差系数pij(k-1),更新协方差一步估计值 Based on the covariance coefficient p ij (k-1) updated during the previous Kalman filter processing, update the covariance one-step estimate
基于更新后的协方差一步估计值更新量测加权系数bij(k);One-step estimate based on the updated covariance Update the measurement weight coefficient b ij (k);
基于更新后的协方差一步估计值以及量测加权系数bij(k)更新协方差系数pij(k),用于下一次的卡尔曼滤波处理;One-step estimate based on the updated covariance And the measurement weight coefficient b ij (k) updates the covariance coefficient p ij (k) for the next Kalman filter processing;
基于更新后的量测加权系数bij(k)、上一周期卡尔曼滤波处理得到的距离差真实值的估计值以及当前周期计算得到的距离差dij(k),更新距离差真实值的估计值 Based on the updated measurement weight coefficient b ij (k) and the estimated value of the true value of the distance difference obtained by the Kalman filter processing in the previous cycle And the distance difference d ij (k) calculated in the current cycle, update the estimated value of the true value of the distance difference
继续参考图3,以物联网节点N1第k次测量到的到基站BS1和基站BS2的距离差d21为例,距离差d21是由白噪声w21激励的一阶自回归信号x21产生,x21代表了N1到基站BS2和基站BS1的距离差的真实值。距离差d21的测量模型可表示为:Continuing to refer to FIG3 , taking the distance difference d 21 measured by IoT node N 1 for the kth time to base station BS 1 and base station BS 2 as an example, the distance difference d 21 is generated by a first-order autoregressive signal x 21 excited by white noise w 21 , and x 21 represents the true value of the distance difference between N 1 and base stations BS 2 and BS 1. The measurement model of the distance difference d 21 can be expressed as:
d21(k)=c21x21(k)+v21(k)d 21 (k)=c 21 x 21 (k)+v 21 (k)
使用卡尔曼滤波器,对测量到的距离差d21进行滤波,得到真实距离差x21的估计,过程包括:The Kalman filter is used to filter the measured distance difference d 21 to obtain an estimate of the actual distance difference x 21. The process includes:
首先,更新协方差一步估计值: First, update the one-step estimate of the covariance:
其次,更新量测加权系数: Next, update the measurement weighting coefficients:
第三步,更新协方差系数: The third step is to update the covariance coefficient:
最后,对xij(k)的估计进行更新: Finally, the estimate of x ij (k) is updated:
通过上述过程,节点在每次周期性地测量到距离差d21之后,即实施一次卡尔曼滤波获得更新后的精确距离差真实值的估计值经过若干次迭代,卡尔曼滤波算法收敛,可得到稳定精确的距离差真实值估计值,此时可将其作为物联网设备N1到基站BS2和基站BS1真实距离差x21。Through the above process, after each periodic measurement of the distance difference d 21 , the node implements a Kalman filter to obtain an updated estimate of the true value of the accurate distance difference After several iterations, the Kalman filter algorithm converges and a stable and accurate estimate of the true value of the distance difference can be obtained, which can be used as the true distance difference x 21 from the IoT device N 1 to the base station BS 2 and the base station BS 1 .
使用上述相同的方法,对距离差d31进行卡尔曼滤波,可到稳定精确的物联网设备N1到基站BS3和基站BS1真实距离差x31,其他以此类推。Using the same method as above, Kalman filtering is performed on the distance difference d 31 to obtain a stable and accurate real distance difference x 31 between the IoT device N 1 and the base station BS 3 and the base station BS 1 , and the same applies to the others.
四、确定物联网设备的实际位置4. Determine the actual location of IoT devices
参考图1,本实施例中,根据卡尔曼滤波处理后的距离差数据计算物联网设备的实际位置,包括:Referring to FIG. 1 , in this embodiment, the actual position of the IoT device is calculated based on the distance difference data processed by the Kalman filter, including:
判断无线定位信号发送端的定位基站数量是否等于3或者大于3;Determine whether the number of positioning base stations of the wireless positioning signal sending end is equal to 3 or greater than 3;
若定位基站数量等于3,则根据所得到的2个距离差数据计算物联网设备的位置;If the number of positioning base stations is equal to 3, the location of the IoT device is calculated based on the two distance difference data obtained;
若定位基站数量大于3,则对定位基站进行分组,确定各定位基站组合对应的2个距离差数据;If the number of positioning base stations is greater than 3, the positioning base stations are grouped to determine the two distance difference data corresponding to each positioning base station combination;
针对每个定位基站组合,根据对应的距离差分别解算物联网设备位置,也可以是,在确定最优布局的定位基站组合后,仅针对最优定位基站组合得到的距离差结算物联网设备位置;For each positioning base station combination, the location of the IoT device is calculated according to the corresponding distance difference. Alternatively, after determining the positioning base station combination with the optimal layout, the location of the IoT device is calculated only for the distance difference obtained for the optimal positioning base station combination.
根据各定位基站组合中各定位基站与物联网设备之间的位置关系,按照预设最优布局选择策略确定布局最优的定位基站组合;According to the positional relationship between each positioning base station and the IoT device in each positioning base station combination, the positioning base station combination with the best layout is determined according to the preset optimal layout selection strategy;
将根据最优定位基站组合计算得到的物联网设备位置作为物联网设备的实际位置。The location of the IoT device calculated based on the optimal positioning base station combination is used as the actual location of the IoT device.
以下具体介绍。The following is a detailed introduction.
4.1要实现OTDOA定位,至少需要三个定位基站,也即两个距离差数据,同时,定位基站的相对布局位置也会影响节点的定位精度。由于各物联网设备可能接收到的无线定位信号不止3个,因此为了进一步提升定位的精确性,本实施例对于物联网设备能够接收到3个以上(不包括3个)无线定位信号的情况,通过选择具有最优布局的定位基站组合,确定该组合计算出的真实距离差确定物联网设备的定位。4.1 To achieve OTDOA positioning, at least three positioning base stations are required, that is, two distance difference data. At the same time, the relative layout of the positioning base stations will also affect the positioning accuracy of the node. Since each IoT device may receive more than three wireless positioning signals, in order to further improve the positioning accuracy, this embodiment determines the location of the IoT device by selecting a positioning base station combination with the optimal layout and determining the actual distance difference calculated by the combination when the IoT device can receive more than three (not including three) wireless positioning signals.
参考图1所示,首先判断物联网设备接收到的无线定位信号是否来自于3个以上的定位基站,若仅来自3个定位基站,则直接根据卡尔曼滤波处理后的真实距离差,结算得到物联网设备的位置;若无线定位信号有4个或以上,则需要对定位基站进行分组进而确定最优布局的定位基站组合。Referring to Figure 1, first determine whether the wireless positioning signal received by the IoT device comes from more than three positioning base stations. If it comes from only three positioning base stations, the location of the IoT device is directly calculated based on the true distance difference after Kalman filtering. If there are four or more wireless positioning signals, the positioning base stations need to be grouped to determine the optimal layout of the positioning base station combination.
4.2最优布局定位基站组合的选取4.2 Selection of the optimal layout and positioning base station combination
4.2.1对接收到的无线定位信号来源的定位基站进行分组,物联网节点将所有可测的定位基站,每三个作为一组,列出所有组合。如图4所示,物联网设备节点1可接收四个基站的定位信号,即BS1、BS2、BS3和BS4,将任意三个基站组合,理论上共有4种组合方式。图4示例中标示出了其中的两种组合,即基站组合1,包含BS1、BS2和BS3;基站组合2,包含BS1、BS3和BS4。4.2.1 Group the positioning base stations from which the received wireless positioning signals are sourced. The IoT node groups all measurable positioning base stations into groups of three and lists all combinations. As shown in FIG4 , IoT device node 1 can receive positioning signals from four base stations, namely, BS 1 , BS 2 , BS 3 and BS 4 . Theoretically, there are four combinations of any three base stations. Two of the combinations are shown in the example in FIG4 , namely, base station combination 1, including BS 1 , BS 2 and BS 3 ; and base station combination 2, including BS 1 , BS 3 and BS 4 .
4.2.2物联网设备节点1使用每个组合中的三个定位基站{BSi,BSj,BSk},对应两个距离差,进行节点的位置解算,解算出的节点位置记为pm。在本实施例中,基站组合1使用对应的距离差d21和d31,解算出相应的位置,记为p1;基站组合2使用对应的距离差d31和d41,解算出相应的位置,记为p2。在图4中,设p1和p2的位置很靠近,未单独标示,不影响后续步骤的说明。4.2.2 IoT device node 1 uses the three positioning base stations {BS i ,BS j ,BS k } in each combination, corresponding to two distance differences, to solve the node position, and the solved node position is recorded as p m . In this embodiment, base station combination 1 uses the corresponding distance differences d 21 and d 31 to solve the corresponding position, recorded as p 1 ; base station combination 2 uses the corresponding distance differences d 31 and d 41 to solve the corresponding position, recorded as p 2 . In FIG4 , it is assumed that the positions of p 1 and p 2 are very close, and are not separately marked, which does not affect the description of subsequent steps.
4.2.3对所有M种组合,利用解算出来的节点位置,分别计算与定位基站间的夹角,共有三个夹角,找到该组合中最大的夹角zm;4.2.3 For all M combinations, use the solved node positions to calculate the angles between the node and the positioning base station. There are three angles in total. Find the largest angle z m in the combination.
在本实施例中,对于基站组合1(BS1、BS2和BS3),节点1分别利用三个基站的位置,与解算出来的位置p1,计算节点与基站间的三个夹角,即角度1:BS1-节点1-BS2;角度2:BS1-节点1-BS3;角度3:BS2-节点1-BS3。然后,从中选出最大的角,在图4中,标示为“最大角1”。In this embodiment, for base station combination 1 (BS 1 , BS 2 and BS 3 ), node 1 uses the positions of the three base stations and the solved position p 1 to calculate the three angles between the node and the base stations, namely angle 1: BS 1 - node 1 - BS 2 ; angle 2: BS 1 - node 1 - BS 3 ; angle 3: BS 2 - node 1 - BS 3 . Then, the largest angle is selected, which is marked as "maximum angle 1" in FIG. 4 .
对于基站组合2(BS1、BS3和BS4),节点1分别利用三个基站的位置,与解算出来的位置p2,计算节点与基站间的三个夹角,即角度1:BS1、节点1、BS3;角度2:BS1、节点1、BS4;角度3:BS3、节点1、BS4。然后,从中选出最大的角。在图4中,标示为“最大角2”。For base station combination 2 (BS 1 , BS 3 and BS 4 ), node 1 uses the positions of the three base stations and the solved position p 2 to calculate the three angles between the node and the base stations, namely angle 1: BS 1 , node 1, BS 3 ; angle 2: BS 1 , node 1, BS 4 ; angle 3: BS 3 , node 1, BS 4 . Then, the largest angle is selected. In Figure 4 , it is marked as "maximum angle 2".
重复本步骤,得到每种组合所对应的最大角。Repeat this step to obtain the maximum angle corresponding to each combination.
4.2.4在所有的M个夹角中,找到最小的夹角,其对应的定位基站组合{BSi,BSj,BSk},即为具有最优布局的定位节点组合。4.2.4 Among all the M angles, find the smallest angle. The corresponding positioning base station combination {BS i ,BS j ,BS k } is the positioning node combination with the optimal layout.
在图4所示的两个组合中,最小的角度为“最大角1”,若其他组合的角度都比“最大角1”大,则最大角1所对应的基站组合即为最优的基站组合,即基站组合1。In the two combinations shown in FIG4 , the smallest angle is “maximum angle 1”. If the angles of other combinations are larger than “maximum angle 1”, the base station combination corresponding to maximum angle 1 is the optimal base station combination, namely, base station combination 1.
因此,选定组合1的三个基站(BS1、BS2和BS3)为能够获得最优节点定位的三个基站,根据该组合滤波处理后的距离差真实值,结算得到对应的物联网设备节点定位位置为p1。Therefore, the three base stations (BS1, BS2 and BS3) of combination 1 are selected as the three base stations that can obtain the optimal node positioning. According to the true value of the distance difference after the combination filtering process, the corresponding IoT device node positioning position is calculated as p 1 .
至此,节点1完成本次高精度定位过程。At this point, node 1 completes the high-precision positioning process.
实施例2Example 2
与实施例1基于相同的发明构思,本实施例介绍一种电力物联网设备的无线定位装置,包括:Based on the same inventive concept as that of Example 1, this embodiment introduces a wireless positioning device for a power Internet of Things device, including:
定位信号获取模块,被配置用于周期性获取至少三个定位基站发出的无线定位信号;A positioning signal acquisition module, configured to periodically acquire wireless positioning signals sent by at least three positioning base stations;
信道估计模块,被配置用于根据各周期获取到的无线定位信号,对应各定位基站分别进行信道估计;The channel estimation module is configured to perform channel estimation for each positioning base station according to the wireless positioning signal acquired in each period;
距离差计算模块,被配置用于根据信道估计结果,计算物联网设备到不同定位基站的距离差;The distance difference calculation module is configured to calculate the distance difference between the IoT device and different positioning base stations according to the channel estimation result;
卡尔曼滤波模块,被配置用于基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理;A Kalman filter module is configured to perform Kalman filter processing on the distance difference data based on the distance difference obtained in multiple cycles;
以及,位置确定模块,被配置用于根据卡尔曼滤波处理后的距离差数据计算物联网设备的实际位置。And, a location determination module is configured to calculate the actual location of the IoT device based on the distance difference data processed by the Kalman filter.
以上各功能模块的具体功能实现参考实施例1中的相关内容,如下述对信道估计模块和卡尔曼滤波模块的介绍。The specific functional implementation of each of the above functional modules refers to the relevant content in Example 1, such as the following introduction to the channel estimation module and the Kalman filter module.
信道估计模块根据信道估计结果,计算物联网设备到不同定位基站的距离差,包括:The channel estimation module calculates the distance difference between the IoT device and different positioning base stations based on the channel estimation results, including:
根据信道结果,计算任意三个定位基站的组合中各定位基站的传播时延;According to the channel results, the propagation delay of each positioning base station in any combination of three positioning base stations is calculated;
以组合中任一定位基站的传播时延为基准,计算其它两个定位基站与作为基准的定位基站之间的时延差;Taking the propagation delay of any positioning base station in the combination as a benchmark, calculate the delay difference between the other two positioning base stations and the positioning base station as a benchmark;
根据所述时延差计算对应的距离差,得到物联网设备到基准定位基站之间的距离分别与物联网设备到其它两个定位基站之间的距离差。The corresponding distance difference is calculated according to the time delay difference to obtain the distance difference between the IoT device and the reference positioning base station and the distance difference between the IoT device and the other two positioning base stations.
卡尔曼滤波模块基于多个周期得到的所述距离差,进行距离差数据卡尔曼滤波处理,包括:The Kalman filter module performs Kalman filter processing on the distance difference data based on the distance difference obtained in multiple cycles, including:
每个周期获取到无线定位信号后,在基于该周期的无线定位信号计算得到距离差后,基于预构建的距离差测量模型执行一次卡尔曼滤波处理,得到更新的真实距离差估计值;After obtaining the wireless positioning signal in each period, after calculating the distance difference based on the wireless positioning signal of the period, a Kalman filter process is performed based on the pre-built distance difference measurement model to obtain an updated true distance difference estimate;
每次卡尔曼滤波处理后,判断卡尔曼滤波算法是否收敛,若收敛则将当前得到的真实距离差估计值作为真实距离差,若不收敛则继续下一周期获取无线定位信号后的距离差计算及卡尔曼滤波处理。After each Kalman filter processing, determine whether the Kalman filter algorithm converges. If it converges, the current estimated value of the actual distance difference is used as the actual distance difference. If it does not converge, continue the distance difference calculation and Kalman filter processing after obtaining the wireless positioning signal in the next cycle.
实施例3Example 3
本实施例介绍一种电力物联网设备,其包括实施例2所介绍的无线定位装置,通过无线定位装置实现自身实际位置的确定。This embodiment introduces an electric power Internet of Things device, which includes the wireless positioning device introduced in Example 2, and determines its actual position through the wireless positioning device.
另外,电力物联网设备也可由自身处理器执行实施例1所介绍的无线定位方法,确定电力物联网设备自身的实际位置。In addition, the power Internet of Things device can also use its own processor to execute the wireless positioning method introduced in Example 1 to determine the actual location of the power Internet of Things device itself.
实施例4Example 4
本实施例介绍一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现如实施例1所述的电力物联网设备的无线定位方法。This embodiment introduces a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the wireless positioning method of the power Internet of Things device as described in Example 1 is implemented.
综上实施例,本发明结合卡尔曼滤波以及特定的定位基站布局寻优技术,能够实现物联网设备与最优布局的定位基站之间距离差的精确计算,从而得到精确的设备位置。In summary, the present invention combines Kalman filtering and a specific positioning base station layout optimization technology to achieve accurate calculation of the distance difference between an IoT device and the positioning base stations with the optimal layout, thereby obtaining an accurate device location.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
以上结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210241498.5A CN114585082B (en) | 2022-03-11 | 2022-03-11 | A wireless positioning method, device and storage medium for power Internet of Things equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210241498.5A CN114585082B (en) | 2022-03-11 | 2022-03-11 | A wireless positioning method, device and storage medium for power Internet of Things equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114585082A CN114585082A (en) | 2022-06-03 |
CN114585082B true CN114585082B (en) | 2024-05-07 |
Family
ID=81779659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210241498.5A Active CN114585082B (en) | 2022-03-11 | 2022-03-11 | A wireless positioning method, device and storage medium for power Internet of Things equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114585082B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115460647B (en) * | 2022-10-21 | 2023-06-06 | 北京中电飞华通信有限公司 | IoT fault location method and system based on eSIM card and 5G base station |
CN115802490B (en) * | 2023-02-09 | 2023-05-09 | 深圳市视美泰技术股份有限公司 | High-precision wireless positioning method, system and storage medium for positioning base station |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205268A (en) * | 2017-04-24 | 2017-09-26 | 广西大学 | A kind of 3-D positioning method based on radio communication base station |
CN109302690A (en) * | 2018-09-30 | 2019-02-01 | 桂林电子科技大学 | A non-line-of-sight indoor positioning method based on optimized Kalman filter |
CN111212476A (en) * | 2020-04-21 | 2020-05-29 | 杭州优智联科技有限公司 | Multi-base-station ultra-wideband positioning method based on frequency modulation continuous waves |
-
2022
- 2022-03-11 CN CN202210241498.5A patent/CN114585082B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205268A (en) * | 2017-04-24 | 2017-09-26 | 广西大学 | A kind of 3-D positioning method based on radio communication base station |
CN109302690A (en) * | 2018-09-30 | 2019-02-01 | 桂林电子科技大学 | A non-line-of-sight indoor positioning method based on optimized Kalman filter |
CN111212476A (en) * | 2020-04-21 | 2020-05-29 | 杭州优智联科技有限公司 | Multi-base-station ultra-wideband positioning method based on frequency modulation continuous waves |
Non-Patent Citations (1)
Title |
---|
一种改进的UWB 空间定位方法研究;王小波等;电力工程技术;20180531;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114585082A (en) | 2022-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114585082B (en) | A wireless positioning method, device and storage medium for power Internet of Things equipment | |
CN102064895B (en) | Passive positioning method for combining RSSI and pattern matching | |
CN104320845B (en) | A kind of primary user's localization method based on sensor and quantum intelligence computation | |
Sivakumar et al. | Meta-heuristic approaches for minimizing error in localization of wireless sensor networks | |
Villas et al. | 3D localization in wireless sensor networks using unmanned aerial vehicle | |
CN106131797A (en) | A kind of water-saving irrigation monitoring network locating method based on RSSI range finding | |
CN104853317A (en) | WiFi indoor positioning fingerprint database construction and update method | |
CN111460597B (en) | Radar station distribution method based on improved multi-target particle swarm optimization algorithm | |
CN101252495A (en) | Local Node Management Method for Wireless Sensor Networks | |
Yan et al. | Research on positioning system based on Zigbee communication | |
Cho et al. | Improving TDoA based positioning accuracy using machine learning in a LoRaWan environment | |
CN113391267A (en) | Frequency spectrum detection system positioning method based on ATDOA algorithm | |
Han et al. | A novel auxiliary hole localization algorithm based on multidimensional scaling for wireless sensor networks in complex terrain with holes | |
Yu et al. | WSN location method based on BP neural network in NLOS environment | |
Zhou et al. | Optimal location method of spontaneous data fusion based on TDOA/AOA | |
Zhao et al. | Indoor localization algorithm based on hybrid annealing particle swarm optimization | |
Paulino et al. | Evaluating a novel bluetooth 5.1 aoa approach for low-cost indoor vehicle tracking via simulation | |
Chen et al. | Enhance performance of centroid algorithm in wireless sensor networks | |
Diao et al. | Enhancing trilateration localization by adaptive selecting distances | |
CN113395762B (en) | Position correction method and device in ultra-wideband positioning network | |
CN114173281B (en) | Optimized layout method of beacon nodes for TOA-based positioning system in indoor NLOS environment | |
Janapati et al. | Indoor localization of cooperative WSN using PSO assisted AKF with optimum references | |
CN112379328B (en) | Robust low-power-consumption TDOA positioning method and robust median filter | |
CN115022800A (en) | A method and system for self-adaptive positioning of indoor personnel in a substation | |
Gumaida et al. | A Novel Polytope Algorithm based On Nelder-mead Method for Localization in Wireless Sensor Network |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |