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

CN111479231B - An indoor fingerprint localization method for millimeter-wave massive MIMO system - Google Patents

An indoor fingerprint localization method for millimeter-wave massive MIMO system Download PDF

Info

Publication number
CN111479231B
CN111479231B CN202010307606.5A CN202010307606A CN111479231B CN 111479231 B CN111479231 B CN 111479231B CN 202010307606 A CN202010307606 A CN 202010307606A CN 111479231 B CN111479231 B CN 111479231B
Authority
CN
China
Prior art keywords
positioning
grained
coarse
fingerprint
fine
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
Application number
CN202010307606.5A
Other languages
Chinese (zh)
Other versions
CN111479231A (en
Inventor
范建存
王建鹏
罗新民
张莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN202010307606.5A priority Critical patent/CN111479231B/en
Publication of CN111479231A publication Critical patent/CN111479231A/en
Application granted granted Critical
Publication of CN111479231B publication Critical patent/CN111479231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0413MIMO systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

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

Abstract

本发明公开了一种用于毫米波大规模MIMO系统的室内指纹定位方法。该方法基于毫米波大规模MIMO系统的特点,结合机器学习技术,实现一种由粗到精的定位过程。在粗粒度定位方案中,利用AOA信息作为指纹特征,结合深度学习方法,自适应地提取特征量,组建指纹库,实现粗粒度定位。在细粒度定位方案中,为了克服多天线带来的高复杂性,选取平均后的多径CSI幅值作为指纹特征进行定位,提出了一种基于空间映射的动态加权K近邻算法,以实现更好的定位精度。仿真表明,本发明能极大地提高定位精度。与现有基于指纹的定位方案相比,本发明采用单基站,成本较低,同时采用分级定位模型,降低了定位运算复杂度,并且在较大定位场景中也可以实现较高的定位精度。

Figure 202010307606

The invention discloses an indoor fingerprint positioning method for a millimeter wave massive MIMO system. This method is based on the characteristics of millimeter-wave massive MIMO systems, combined with machine learning technology, to achieve a coarse-to-fine positioning process. In the coarse-grained positioning scheme, AOA information is used as fingerprint features, combined with deep learning methods, to adaptively extract feature quantities, and build a fingerprint library to achieve coarse-grained positioning. In the fine-grained positioning scheme, in order to overcome the high complexity brought by multiple antennas, the averaged multipath CSI amplitude is selected as the fingerprint feature for positioning, and a dynamic weighted K-nearest neighbor algorithm based on spatial mapping is proposed to achieve more good positioning accuracy. Simulation shows that the present invention can greatly improve the positioning accuracy. Compared with the existing fingerprint-based positioning scheme, the present invention adopts a single base station, which has lower cost, adopts a hierarchical positioning model, reduces the complexity of positioning operation, and can also achieve higher positioning accuracy in larger positioning scenarios.

Figure 202010307606

Description

一种用于毫米波大规模MIMO系统的室内指纹定位方法An indoor fingerprint localization method for millimeter-wave massive MIMO system

技术领域technical field

本发明属于通信技术领域,具体涉及一种用于毫米波大规模MIMO系统的室内指纹定位方法。The invention belongs to the technical field of communication, and in particular relates to an indoor fingerprint positioning method for a millimeter-wave massive MIMO system.

背景技术Background technique

随着无线技术和互联网的快速发展,物联网(Internet of Things,IoT)已逐渐成为人们日常生活中不可或缺的一部分。基于位置的服务是与物联网相关的最具吸引力的应用之一。物联网技术的飞速发展促进了许多高精度定位服务的应用的发展。例如:未来的自动驾驶汽车必须达到厘米级的定位精度以保障车辆的准确高速度行驶。对于某些室内场景,例如大型智能工厂,智能机器人的货物拣选或盘点需要货物的精确位置信息以加速挑拣过程。此外,机场的行李追踪,地下采矿的人员定位,智能家居管理和身体健康监控都需要高精度定位。With the rapid development of wireless technology and the Internet, the Internet of Things (IoT) has gradually become an indispensable part of people's daily life. Location-based services are one of the most attractive applications related to IoT. The rapid development of IoT technology has promoted the development of many applications of high-precision positioning services. For example, future self-driving cars must achieve centimeter-level positioning accuracy to ensure accurate and high-speed driving. For some indoor scenarios, such as large-scale smart factories, the picking or inventorying of goods by intelligent robots requires precise location information of goods to speed up the picking process. In addition, luggage tracking in airports, personnel positioning in underground mining, smart home management and physical health monitoring all require high-precision positioning.

户外区域主要的定位技术是基于全球导航卫星系统(GNSS)的定位系统,然而在室内区域,由于其复杂的无线电传播环境,GNSS无法提供令人满意的定位性能。因此,近年来,基于无线电信号的室内定位技术迅速发展。在这些信号中,最常用的是当前智能设备中的WiFi和蓝牙。指纹定位技术作为无线电信号实现室内定位的潜在解决方案之一,已引起学术界与工业界的广泛关注。指纹定位方法包含两个阶段:离线训练阶段和在线定位阶段。在离线阶段,专业人士对定位区域进行位置采样,并在每一个采样位置上收集无线信号特征,存入位置-指纹数据库。在线定位阶段,用户发送其所在位置上的无线信号指纹到定位服务器,服务器将该查询指纹与数据库进行匹配,将最相似的指纹所对应的位置作为用户的位置估计,返回给用户。The main positioning technology in outdoor areas is based on the Global Navigation Satellite System (GNSS) positioning system. However, in indoor areas, due to its complex radio propagation environment, GNSS cannot provide satisfactory positioning performance. Therefore, in recent years, the indoor positioning technology based on radio signals has developed rapidly. Of these signals, the most commonly used are WiFi and Bluetooth in current smart devices. As one of the potential solutions for indoor positioning by radio signals, fingerprint positioning technology has attracted extensive attention from academia and industry. The fingerprint positioning method consists of two stages: offline training stage and online positioning stage. In the offline stage, professionals sample the location of the location area, and collect wireless signal characteristics at each sampling location, and store them in the location-fingerprint database. In the online positioning stage, the user sends the wireless signal fingerprint of his location to the positioning server, the server matches the query fingerprint with the database, and returns the position corresponding to the most similar fingerprint as the user's position estimate and returns it to the user.

就指纹定位而言,接收信号强度(RSS)因其简单易测,最为常用。但是RSS由于阴影衰落和多径效应,RSS对环境变化比较敏感。此外,RSS只能体现粗略的信道信息。不同于RSS,信道状态信息(CSI)还可以反映接收信号所经历的阴影衰落和多径效应等信道特性。通过提取CSI,可以获得系统的细粒度物理层信息,这是近年来CSI被广泛用于室内指纹定位的原因。此外,毫米波(mmWave)技术被认为是5G网络的关键技术之一,可被利用来确定车辆的实时位置。毫米波的高带宽和高路径损耗特性,在频域上更能观测出因多径造成的频率选择性衰落,对应到时域,提高了接收机对多径信号的分辨率.该特性有助于提高基于时间、频差、以及RSS等定位技术的精度。此外,毫米波在高频段可以提供更大的有效信号带宽,提升了定位精度的理论界。As far as fingerprint positioning is concerned, received signal strength (RSS) is the most commonly used because of its simplicity and ease of measurement. However, RSS is sensitive to environmental changes due to shadow fading and multipath effects. In addition, RSS can only reflect rough channel information. Unlike RSS, channel state information (CSI) can also reflect channel characteristics such as shadow fading and multipath effects experienced by the received signal. By extracting CSI, fine-grained physical layer information of the system can be obtained, which is why CSI has been widely used in indoor fingerprint positioning in recent years. Additionally, millimeter wave (mmWave) technology is considered one of the key technologies for 5G networks and can be leveraged to determine the real-time location of vehicles. The high bandwidth and high path loss characteristics of millimeter waves can better observe the frequency selective fading caused by multipath in the frequency domain, which corresponds to the time domain and improves the resolution of the receiver for multipath signals. This characteristic helps It is used to improve the accuracy of positioning technology based on time, frequency difference, and RSS. In addition, millimeter waves can provide a larger effective signal bandwidth in high frequency bands, which improves the theoretical circle of positioning accuracy.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种用于毫米波大规模MIMO系统的室内指纹定位方法,该方法采用指纹定位技术,分别利用CSI幅值信息及通过CSI估计得到的AOA信息作为指纹特征,分粗粒度和细粒度定位两个阶段进行,实现由粗到精的定位。The purpose of the present invention is to provide an indoor fingerprint positioning method for a millimeter-wave massive MIMO system. The method adopts the fingerprint positioning technology, uses the CSI amplitude information and the AOA information obtained by CSI estimation as fingerprint features, and divides coarse-grained and fine-grained positioning in two stages to achieve coarse-to-fine positioning.

为达到上述目的,本发明采用以下技术方案来实现的:To achieve the above object, the present invention adopts the following technical solutions to realize:

一种用于毫米波大规模MIMO系统的室内指纹定位方法,接收端获取毫米波大规模MIMO系统时域可分离的CSI多径信号,对CSI多径信号进行数据收集和预处理;在粗粒度定位方案中,利用由多径CSI信号估计的AOA信息作为指纹特征,结合深度学习方法,自适应的提取特征量,组建指纹库,以实现粗粒度定位;为了克服多天线带来的高复杂性,在细粒度定位方案中,利用平均后的多径CSI信息作为指纹特征进行定位;同时考虑到传统的WKNN算法很大程度上依赖于预先选择的固定K值的问题,采用动态加权K近邻算法,以实现更好的定位精度。An indoor fingerprint positioning method for a millimeter-wave massive MIMO system, a receiving end obtains a time-domain separable CSI multipath signal of the millimeter-wave massive MIMO system, and performs data collection and preprocessing on the CSI multipath signal; In the positioning scheme, the AOA information estimated by the multi-path CSI signal is used as the fingerprint feature, combined with the deep learning method, the feature quantity is adaptively extracted, and the fingerprint library is built to realize the coarse-grained positioning; in order to overcome the high complexity brought by multiple antennas , in the fine-grained positioning scheme, the averaged multi-path CSI information is used as the fingerprint feature for positioning; at the same time, considering that the traditional WKNN algorithm largely relies on the pre-selected fixed K value, the dynamic weighted K-nearest neighbor algorithm is used. , to achieve better positioning accuracy.

本发明进一步的改进在于,该方法具体如下:A further improvement of the present invention is that the method is specifically as follows:

首先,在粗粒度定位阶段,利用经典的MUSIC算法,将采集的多径CSI指纹数据估计得到多径AOA信息,作为指纹特征,通过一个多层卷积神经网络,自适应的提取指纹特征,构建指纹库,然后经过softmax分类器,将输出概率最大的位置标签作为粗粒度定位阶段的最终估计位置;First, in the coarse-grained positioning stage, the classical MUSIC algorithm is used to estimate the multi-path AOA information from the collected multi-path CSI fingerprint data. Fingerprint library, and then through the softmax classifier, the position label with the largest output probability is used as the final estimated position of the coarse-grained positioning stage;

然后,细粒度定位阶段,在估计得到的粗粒度定位标签的基础上,以其为核心生成细粒度标签,考虑到细化标签数越多,细粒度定位结果越精细,选取平均后的CSI幅值信息作为细粒度定位阶段的指纹特征,并提出了一种基于空间映射的动态加权K近邻算法,用于细粒度定位;Then, in the fine-grained localization stage, on the basis of the estimated coarse-grained localization labels, fine-grained labels are generated based on the estimated coarse-grained localization labels. The value information is used as the fingerprint feature in the fine-grained localization stage, and a dynamic weighted K-nearest neighbor algorithm based on spatial mapping is proposed for fine-grained localization;

最后,为了提高定位精度,在细粒度阶段,考虑了以下事实:相同的CSI差值可能对应于不同的几何距离,也就是说,对于不同量级的CSI差值,其代表的信号距离可能对应不同的几何距离;因此,通过训练ELM来建立信号距离空间和几何距离空间之间的关系,以实现空间映射,并防止距离失配的影响而导致定位精度下降。Finally, in order to improve the positioning accuracy, in the fine-grained stage, the following fact is considered: the same CSI difference may correspond to different geometric distances, that is, for CSI differences of different magnitudes, the signal distances it represents may correspond to different geometric distances; therefore, the relationship between the signal distance space and the geometric distance space is established by training the ELM to achieve spatial mapping and prevent the influence of distance mismatch which leads to the degradation of localization accuracy.

本发明进一步的改进在于,粗粒度定位阶段的数据收集与预处理具体包括如下步骤:A further improvement of the present invention is that the data collection and preprocessing in the coarse-grained positioning stage specifically include the following steps:

步骤1:将小区均匀划分为N1个块,以其几何中心作为分类位置标签;Step 1: Divide the cell into N 1 blocks evenly, and use its geometric center as the classification position label;

步骤2:在粗粒度定位阶段,由于选定的粗粒度定位标签分布稀疏,数量少,因此,划分的N1个块中分别采集的多径CSI信息通过经典的MUSIC估计算法估计得到所有粗粒度位置标签点的多径AOA信息,并以此作为指纹特征;Step 2: In the coarse-grained positioning stage, since the selected coarse-grained positioning labels are sparsely distributed and small in number, the multi - path CSI information collected in the divided N1 blocks is estimated by the classical MUSIC estimation algorithm to obtain all coarse-grained positioning labels. Multi-path AOA information of the location tag point, and use it as a fingerprint feature;

步骤3:将样本特征加入标签,粗粒度定位阶段的样本加入标签后表示为:Step 3: Add the sample features to the label, and the sample in the coarse-grained positioning stage is represented as:

Figure BDA0002456329910000031
Figure BDA0002456329910000031

其中,φ0为直射路径的AOA,φ1为第一条散射路径的AOA,

Figure BDA0002456329910000032
为第Nray条散射路径的AOA,T为矩阵转置。where φ 0 is the AOA of the direct path, φ 1 is the AOA of the first scattering path,
Figure BDA0002456329910000032
is the AOA of the Nth ray scattering path, and T is the matrix transpose.

本发明进一步的改进在于,粗粒度定位阶段的任务是根据获取的有标签的训练数据,对深度卷积神经网络和回归分类器网络的参数进行训练,训练的目标是使得训练标签与网络输出的均方误差最小;A further improvement of the present invention is that the task of the coarse-grained positioning stage is to train the parameters of the deep convolutional neural network and the regression classifier network according to the obtained labeled training data, and the training goal is to make the training label and the network output The mean square error is the smallest;

粗粒度定位环节的离线阶段训练过程如下:The offline training process of the coarse-grained positioning link is as follows:

对于深度学习网络,采用深度卷积神经网络,各层节点的激励函数采用ReLU函数,训练数据输入网络后,根据激励函数得到每层的输出,作为下一层的输入,经过层层正向传播,最终得到网络输出;根据最小均方误差原则构造罚函数并用随机梯度下降算法更新迭代得到最终的训练参数,训练后的权值W,b作为指纹库的一部分被存储起来;For the deep learning network, a deep convolutional neural network is used, and the excitation function of each layer node adopts the ReLU function. After the training data is input into the network, the output of each layer is obtained according to the excitation function, which is used as the input of the next layer, and is propagated forward layer by layer. , and finally get the network output; construct the penalty function according to the principle of minimum mean square error and use the stochastic gradient descent algorithm to update and iterate to obtain the final training parameters, and the weights W, b after training are stored as part of the fingerprint library;

然后将神经网络训练输出数据作为softmax分类器的输入,然后将其划分到C类,该输入数据属于每一类的概率作为分类器的输出,根据最小均方误差原则构造罚函数并用随机梯度下降算法更新迭代得到最终的训练参数,将W,b,θ一起组成指纹库,θ为分类器参数。Then the neural network training output data is used as the input of the softmax classifier, and then it is divided into C classes, the probability of the input data belonging to each class is used as the output of the classifier, the penalty function is constructed according to the principle of minimum mean square error and stochastic gradient descent is used. The algorithm is updated and iterated to obtain the final training parameters, and W, b, θ are combined to form a fingerprint library, and θ is the classifier parameter.

本发明进一步的改进在于,分类器的输出如下:A further improvement of the present invention is that the output of the classifier is as follows:

Figure BDA0002456329910000041
Figure BDA0002456329910000041

其中,

Figure BDA0002456329910000042
是一个C×1的矩阵,每一项表示在
Figure BDA0002456329910000043
给定的情况下,
Figure BDA0002456329910000044
属于每一类的概率,
Figure BDA0002456329910000045
为神经网络的训练输出,即回归分类器的输入,θ为分类器的参数。in,
Figure BDA0002456329910000042
is a C × 1 matrix, each item is represented in
Figure BDA0002456329910000043
Given the circumstances,
Figure BDA0002456329910000044
the probability of belonging to each class,
Figure BDA0002456329910000045
is the training output of the neural network, that is, the input of the regression classifier, and θ is the parameter of the classifier.

本发明进一步的改进在于,粗粒度定位环节的在线阶段定位过程如下:A further improvement of the present invention is that the online stage positioning process of the coarse-grained positioning link is as follows:

步骤1:当接收来自未知位置用户的CSI信息后,经MUSIC算法估计得到AOA信息后,即

Figure BDA0002456329910000046
经过机器学习网络正向传播与回归分类器分类,得到该未知数据属于每一待定位置的概率;Step 1: After receiving the CSI information from the unknown location user, after the AOA information is estimated by the MUSIC algorithm, that is,
Figure BDA0002456329910000046
After the forward propagation of the machine learning network and the classification of the regression classifier, the probability that the unknown data belongs to each undetermined position is obtained;

步骤2:使用概率方法,将输出概率最大的位置标签作为粗粒度定位的最终位置估计。Step 2: Using a probabilistic method, the position label with the highest output probability is used as the final position estimate for coarse-grained positioning.

本发明进一步的改进在于,细粒度定位阶段的数据收集与预处理具体包括如下步骤:A further improvement of the present invention is that the data collection and preprocessing in the fine-grained positioning stage specifically includes the following steps:

步骤1:在粗粒度定位结果的基础上,以其为核心,等间距向外扩展生成细粒度标签,称之为扩展的滑动窗口,依据此法,滑动窗内生成N2个细粒度位置标签;Step 1: On the basis of the coarse-grained positioning results, take it as the core, and expand outward at equal intervals to generate fine-grained labels, which are called extended sliding windows. According to this method, N 2 fine-grained location labels are generated in the sliding window. ;

步骤2:对于细粒度定位阶段,为了进一步减少数据维度,降低运算复杂度,对每条路径的CSI数据进行采样,然后将不同天线上的幅值信道矩阵平均化,并根据已知CSI信息与用户位置的对应关系,对幅值数据进行分组与编号;Step 2: For the fine-grained positioning stage, in order to further reduce the data dimension and reduce the computational complexity, the CSI data of each path is sampled, and then the amplitude channel matrices on different antennas are averaged, and based on the known CSI information and The corresponding relationship of user positions, grouping and numbering the amplitude data;

步骤3:将样本特征加入标签,细粒度定位阶段的样本加入标签后表示为:Step 3: Add the sample features to the label, and the samples in the fine-grained positioning stage are represented as:

Figure BDA0002456329910000051
Figure BDA0002456329910000051

其中,

Figure BDA0002456329910000052
N2为细粒度定位阶段的位置标签数。in,
Figure BDA0002456329910000052
N 2 is the number of location labels in the fine-grained localization stage.

本发明进一步的改进在于,细粒度定位阶段的任务是在粗粒度定位的基础上,以其估计位置为中心向外延伸成布满细化虚拟标签的滑动窗;考虑到CSI存在相位偏移,同时为了克服多天线带来的高复杂度,采用平均后的多径CSI幅值信息作为位置标签,基于空间映射的自适应动态加权K近邻算法,其算法步骤如下:A further improvement of the present invention is that the task of the fine-grained positioning stage is based on the coarse-grained positioning, with the estimated position as the center extending outward into a sliding window full of refined virtual labels; considering that there is a phase offset in the CSI, At the same time, in order to overcome the high complexity caused by multiple antennas, the averaged multipath CSI amplitude information is used as the location label, and an adaptive dynamic weighted K-nearest neighbor algorithm based on spatial mapping is used. The algorithm steps are as follows:

步骤1:计算指纹库所有样本点之间的信号距离:Step 1: Calculate the signal distance between all sample points in the fingerprint library:

Figure BDA0002456329910000053
Figure BDA0002456329910000053

步骤2:删除奇异距离,设定阈值T=α×D1,保留上式中不大于阈值T的信号距离,从小到大依次记为D1,...,DS,s=1,2,…,S,S代表保留的邻近参考点数目;Step 2: Delete the singular distance, set the threshold T=α×D 1 , retain the signal distance not greater than the threshold T in the above formula, and denote it as D 1 ,...,D S in order from small to large, s=1,2 ,...,S, S represents the number of reserved adjacent reference points;

步骤3:计算保留点彼此的平均距离差:Step 3: Calculate the average distance difference of the reserved points from each other:

Figure BDA0002456329910000054
Figure BDA0002456329910000054

其中,Δdj,s代表Dj和Ds的距离差;Among them, Δd j,s represents the distance difference between D j and D s ;

步骤4:估计最终位置,动态权值表示为:Step 4: Estimate the final position, the dynamic weights are expressed as:

Figure BDA0002456329910000055
Figure BDA0002456329910000055

其中,ΔD=DK-D1;特别地,当DK=D1时,ωj=1;定义:

Figure BDA0002456329910000056
则最终的位置估计的具体形式如下:Wherein, ΔD=D K -D 1 ; in particular, when D K =D 1 , ω j =1; definition:
Figure BDA0002456329910000056
The specific form of the final location estimation is as follows:

Figure BDA0002456329910000061
Figure BDA0002456329910000061

其中,(xj,yj)表示第j个保留的位置标签的坐标。Among them, (x j , y j ) represents the coordinates of the jth reserved position label.

本发明进一步的改进在于,在所提出的基于空间映射的动态加权K近邻算法步骤(1)中,计算信号距离时,考虑到在不同的CSI幅值量级上信号距离和物理距离不匹配的事实,采用基于极限学习机的空间映射方法,将这个问题描述如下:A further improvement of the present invention is that, in the proposed step (1) of the dynamic weighted K-nearest neighbor algorithm based on spatial mapping, when calculating the signal distance, considering the mismatch between the signal distance and the physical distance at different CSI amplitude levels In fact, using an extreme learning machine-based spatial mapping method, the problem is described as follows:

Figure BDA0002456329910000062
Figure BDA0002456329910000062

其中,SD和SC分别为信号空间距离和几何空间距离。Among them, S D and S C are the signal space distance and the geometric space distance, respectively.

本发明至少具有如下有益的技术效果:The present invention at least has the following beneficial technical effects:

好的定位方法不单单追求定位精度,而是以满足应用需求、适应环境特点为追求目标。因此,本发明针对定位范围较大的场景,例如:大型室内停车场,大型智能工厂等室内场景,采用基于无线信号的指纹定位技术,设计了一种用于毫米波大规模MIMO系统的室内指纹定位方法,实现由粗到精的定位过程,可以达到较高的定位精度。本发明的核心在于,接收端获取毫米波大规模MIMO系统时域可分离的CSI多径信号,对多径信号进行数据收集和预处理。在粗粒度定位方案中,利用由多径CSI信号估计的AOA信息作为指纹特征,结合深度学习方法,自适应的提取特征量,组建指纹库,以实现粗粒度定位。为了克服多天线带来的高复杂性,在细粒度定位方案中,利用平均后的多径CSI信息作为指纹特征进行定位。同时考虑到传统的WKNN算法很大程度上依赖于预先选择的固定K值的问题,设计一种动态加权K近邻算法,以实现更好的定位精度。概括来说,本发明具有如下的优点:A good positioning method not only pursues positioning accuracy, but also pursues the goal of meeting application requirements and adapting to environmental characteristics. Therefore, the present invention designs an indoor fingerprint for a millimeter-wave massive MIMO system by using a fingerprint location technology based on wireless signals for scenarios with a large positioning range, such as large indoor parking lots, large smart factories and other indoor scenarios. The positioning method realizes the positioning process from coarse to fine, and can achieve high positioning accuracy. The core of the present invention is that the receiving end obtains the CSI multipath signals separable in the time domain of the millimeter wave massive MIMO system, and performs data collection and preprocessing on the multipath signals. In the coarse-grained positioning scheme, the AOA information estimated by the multi-path CSI signal is used as the fingerprint feature, combined with the deep learning method, the feature quantity is adaptively extracted, and the fingerprint database is built to realize the coarse-grained positioning. In order to overcome the high complexity brought by multiple antennas, in the fine-grained localization scheme, the averaged multipath CSI information is used as the fingerprint feature for localization. At the same time, considering that the traditional WKNN algorithm relies heavily on the pre-selected fixed K value, a dynamic weighted K-nearest neighbor algorithm is designed to achieve better positioning accuracy. In general, the present invention has the following advantages:

1、本发明提出一种基于分级模型的室内指纹定位方法,用于毫米波大规模MIMO系统,实现了一种由粗到精的定位过程,降低系统复杂度,同时采用了单基站,降低了定位成本。1. The present invention proposes an indoor fingerprint positioning method based on a hierarchical model, which is used in a millimeter-wave massive MIMO system, realizes a coarse-to-fine positioning process, reduces system complexity, and adopts a single base station, reducing location cost.

2、本发明采用多径AOA信息作为粗粒度指纹,利用卷积神经网络和softmax回归分类器,自适应提取指纹特征构建指纹库。由于室内环境多径丰富,且直射径多数情况下不一定存在,因此,传统的AOA估计算法的精度很大程度依赖于直射径,因而室内场景下估计精度大大降低,而AOA的小误差会造成严重的定位误差,尤其是在定位范围较大的场景。而本发明将多径AOA信息作为指纹特征,利用多径AOA在不同位置的唯一性,实现指纹定位,不仅克服了多径环境下高精度AOA估计的难题,同时提高了定位精度。此外,卷积神经网络在视频图像分类方面表现出优异性能,本发明利用卷积神经神经网络实现特征提取,构建指纹库,对比其他网络,如BP网络,提取特征更为丰富,有助于提高定位性能。2. The present invention uses multi-path AOA information as coarse-grained fingerprints, and uses convolutional neural network and softmax regression classifier to adaptively extract fingerprint features to construct a fingerprint database. Because the indoor environment is rich in multi-path, and the direct path may not exist in most cases, the accuracy of the traditional AOA estimation algorithm largely depends on the direct path, so the estimation accuracy in indoor scenes is greatly reduced, and the small error of AOA will cause Serious positioning errors, especially in scenes with a large positioning range. The invention uses the multi-path AOA information as the fingerprint feature, and utilizes the uniqueness of the multi-path AOA in different positions to realize fingerprint positioning, which not only overcomes the problem of high-precision AOA estimation in the multi-path environment, but also improves the positioning accuracy. In addition, the convolutional neural network shows excellent performance in video image classification. The present invention utilizes the convolutional neural network to achieve feature extraction and build a fingerprint library. Compared with other networks, such as BP network, the extracted features are more abundant, which is helpful for improving positioning performance.

3、本发明在细粒度定位阶段,为了降低运算复杂度,只选取信道状态信息平均化后的幅值作为指纹特征,用平均后的多径CSI信息作为指纹特征进行定位。同时考虑到传统的WKNN算法很大程度上依赖于选择的固定K值的问题,提出了一种动态加权K近邻算法,以实现更好的定位精度。传统的WKNN算法依赖于预选的固定K值,本发明提出的动态加权K近邻算法使每个目标在定位时都被分配合适的K值,大大提高定位性能。此外,本发明还考虑了算法中信号距离和对应的真实物理距离不匹配的问题,研究了二者的映射关系,并利用一种机器学习方法(ELM)实现了信号空间和物理空间的映射,从而实现高精度定位。据我所知,这是首次利用机器学习算法实现空间映射,并取得不错的定位性能。3. In the fine-grained positioning stage of the present invention, in order to reduce the computational complexity, only the averaged amplitude of the channel state information is selected as the fingerprint feature, and the averaged multipath CSI information is used as the fingerprint feature for positioning. At the same time, considering that the traditional WKNN algorithm relies heavily on the fixed K value selected, a dynamic weighted K-nearest neighbor algorithm is proposed to achieve better localization accuracy. The traditional WKNN algorithm relies on a pre-selected fixed K value. The dynamic weighted K nearest neighbor algorithm proposed by the present invention enables each target to be assigned an appropriate K value during positioning, which greatly improves the positioning performance. In addition, the present invention also considers the problem of mismatch between the signal distance and the corresponding real physical distance in the algorithm, studies the mapping relationship between the two, and uses a machine learning method (ELM) to realize the mapping between the signal space and the physical space, So as to achieve high-precision positioning. As far as I know, this is the first time that a machine learning algorithm has been used to implement spatial mapping and achieve good localization performance.

4、本发明针对室内场景,尤其是对于定位范围较大的场景,如大型室内工厂、智能室内停车场等,定位优势更加明显,定位精度有效提高。仿真证明该方法在120×70×3m3的室内环境可实现分米级定位精度。4. The present invention is aimed at indoor scenes, especially for scenes with a large positioning range, such as large indoor factories, intelligent indoor parking lots, etc., the positioning advantages are more obvious, and the positioning accuracy is effectively improved. Simulations show that the method can achieve decimeter-level positioning accuracy in an indoor environment of 120×70×3m 3 .

附图说明Description of drawings

图1为3D室内定位场景示意图;Figure 1 is a schematic diagram of a 3D indoor positioning scene;

图2为分级定位系统流程图示意图;Fig. 2 is a schematic diagram of a flow chart of a hierarchical positioning system;

图3为卷积神经网络的数据训练过程示意图;3 is a schematic diagram of a data training process of a convolutional neural network;

图4为细粒度定位方案中虚拟标签示意图;4 is a schematic diagram of virtual labels in a fine-grained positioning scheme;

图5为随机选取120个测试点的定位效果示意图;5 is a schematic diagram of the positioning effect of randomly selecting 120 test points;

图6为本发明与定位方案性能比较;Fig. 6 is the performance comparison between the present invention and the positioning scheme;

图7为细化虚拟标签数对平均定位误差影响;Figure 7 shows the influence of the number of refined virtual labels on the average positioning error;

图8为阈值系数α对平均定位误差的影响。Figure 8 shows the effect of the threshold coefficient α on the average positioning error.

具体实施方式Detailed ways

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and embodiments.

定位环境参见图1,是一个3D室内定位环境,包括一个位置已知、配备多天线的基站(Access point)和一个位置未知的待定位设备(MP)作为接收器。由于在mmWave信道,直射径(LOS)占主要部分,而非直射径(NLOS)在一次或两次反射后信号衰减严重。因此,在考虑的定位环境中仅考虑了单跳和双跳反射。由于接收器(MP)位于高于地面的一定高度上,单跳中除了考虑了来自四个墙面的反射,还考虑了地面反射。The positioning environment is shown in Figure 1, which is a 3D indoor positioning environment, including a base station (Access point) with a known position, equipped with multiple antennas, and a device to be positioned (MP) with an unknown position as a receiver. Since in mmWave channels, the direct path (LOS) dominates, and the non-direct path (NLOS) is severely attenuated after one or two reflections. Therefore, only single-hop and double-hop reflections are considered in the considered localization environment. Since the receiver (MP) is located at a certain height above the ground, the ground reflections are considered in addition to the reflections from the four walls in a single hop.

定位系统流程图参见图2。针对定位范围较大的场景,将定位过程分为粗粒度定位(图左)和细粒度定位(图右)两个阶段进行。See Figure 2 for the flow chart of the positioning system. For scenes with a large positioning range, the positioning process is divided into two stages: coarse-grained positioning (left in the figure) and fine-grained positioning (right in the figure).

首先,在粗粒度定位阶段,利用经典的MUSIC算法,将采集的多径CSI指纹数据估计得到多径AOA信息,作为指纹特征,然后通过一个多层卷积神经网络,自适应的提取指纹特征,构建指纹库。然后经过softmax分类器,将输出概率最大的位置标签作为粗粒度定位阶段的最终估计位置。First, in the coarse-grained positioning stage, the classical MUSIC algorithm is used to estimate the multi-path AOA information from the collected multi-path CSI fingerprint data, which is used as fingerprint features. Build the fingerprint library. Then through the softmax classifier, the position label with the largest output probability is used as the final estimated position in the coarse-grained localization stage.

然后,细粒度定位阶段,在估计得到的粗粒度定位标签的基础上,以其为核心生成细粒度标签,考虑到细化标签数越多,细粒度定位结果越精细,而AOA估计的计算成本较高,因此选取平均后的CSI幅值信息作为细粒度定位阶段的指纹特征,并提出了一种基于空间映射的动态加权K近邻算法,用于细粒度定位。Then, in the fine-grained localization stage, on the basis of the estimated coarse-grained localization labels, fine-grained labels are generated based on them. Therefore, the averaged CSI amplitude information is selected as the fingerprint feature in the fine-grained positioning stage, and a dynamic weighted K-nearest neighbor algorithm based on spatial mapping is proposed for fine-grained positioning.

1)粗粒度定位阶段的具体过程如下:1) The specific process of the coarse-grained positioning stage is as follows:

(1)粗粒度定位阶段的数据收集与预处理具体包括如下步骤:(1) The data collection and preprocessing in the coarse-grained positioning stage specifically includes the following steps:

步骤1:将小区均匀划分为N1个块,以其几何中心作为分类位置标签。参见图4。Step 1: The cell is evenly divided into N 1 blocks, and its geometric center is used as the classification position label. See Figure 4.

步骤2:在粗粒度定位阶段,由于选定的粗粒度定位标签分布稀疏,数量较少,因此,划分的N1个块中分别采集的多径CSI信息通过经典的MUSIC算法估计得到所有粗粒度位置标签点的多径AOA信息,并以此作为指纹特征;Step 2: In the coarse-grained positioning stage, since the selected coarse-grained positioning labels are sparsely distributed and the number is small, the multi - path CSI information collected in the divided N1 blocks is estimated by the classical MUSIC algorithm to obtain all coarse-grained positioning labels. Multi-path AOA information of the location tag point, and use it as a fingerprint feature;

步骤3:将样本特征加入标签。粗粒度定位阶段的样本加入标签后可以表示为:Step 3: Add sample features to labels. The samples in the coarse-grained positioning stage can be expressed as:

Figure BDA0002456329910000091
Figure BDA0002456329910000091

其中,φ0为直射路径的AOA,φ1为第一条散射路径的AOA,

Figure BDA0002456329910000092
为第Nray条散射路径的AOA,T为矩阵转置。where φ 0 is the AOA of the direct path, φ 1 is the AOA of the first scattering path,
Figure BDA0002456329910000092
is the AOA of the Nth ray scattering path, and T is the matrix transpose.

(2)粗粒度定位环节的离线阶段训练过程如下:(2) The offline training process of the coarse-grained positioning link is as follows:

对于深度学习网络,采用深度卷积神经网络,各层节点的激励函数采用ReLU函数,训练数据输入网络后,根据激励函数得到每层的输出,作为下一层的输入,经过层层正向传播,最终得到网络输出;根据最小均方误差原则构造罚函数并用随机梯度下降算法更新迭代得到最终的训练参数,训练后的权值W,b作为指纹库的一部分被存储起来;For the deep learning network, a deep convolutional neural network is used, and the excitation function of each layer node adopts the ReLU function. After the training data is input into the network, the output of each layer is obtained according to the excitation function, which is used as the input of the next layer, and is propagated forward layer by layer. , and finally get the network output; construct the penalty function according to the principle of minimum mean square error and use the stochastic gradient descent algorithm to update and iterate to obtain the final training parameters, and the weights W, b after training are stored as part of the fingerprint library;

然后将神经网络训练输出数据作为softmax分类器的输入,然后将其划分到C类,该输入数据属于每一类的概率作为分类器的输出,根据最小均方误差原则构造罚函数并用随机梯度下降算法更新迭代得到最终的训练参数,将W,b,θ一起组成指纹库,θ为分类器参数。Then the neural network training output data is used as the input of the softmax classifier, and then it is divided into C classes, the probability of the input data belonging to each class is used as the output of the classifier, the penalty function is constructed according to the principle of minimum mean square error and stochastic gradient descent is used. The algorithm is updated and iterated to obtain the final training parameters, and W, b, θ are combined to form a fingerprint library, and θ is the classifier parameter.

分类器的输出如下:The output of the classifier is as follows:

Figure BDA0002456329910000093
Figure BDA0002456329910000093

其中,

Figure BDA0002456329910000094
是一个C×1的矩阵,每一项表示在
Figure BDA0002456329910000095
给定的情况下,
Figure BDA0002456329910000096
属于每一类的概率,
Figure BDA0002456329910000101
为神经网络的训练输出,即回归分类器的输入,θ为分类器的参数。in,
Figure BDA0002456329910000094
is a C × 1 matrix, each item is represented in
Figure BDA0002456329910000095
Given the circumstances,
Figure BDA0002456329910000096
the probability of belonging to each class,
Figure BDA0002456329910000101
is the training output of the neural network, that is, the input of the regression classifier, and θ is the parameter of the classifier.

使用深度卷积神经网络(DCNN)进行粗粒度定位阶段数据训练的过程参见图3。首先,获取AOA数据作为输入,通过MUSIC估算每个位置的AOA值。然后,为每个位置建立一个AOA张量,这对于DCNN在所有层中进行处理都是简单而方便的。在第一个卷积层和下采样层中,使用18个大小为2×1的卷积核进行卷积操作,以获取与输入相同大小的相同数量的特征图。为了保证特征图的不变性,以2×1的大小进行下采样以获得相同数量的特征图。对于设计的DCNN中的所有层,为了简化,卷积层和池化层的选用尺寸相同的卷积核进项卷积和下采样。不同的是,第二个和第四个池化层的步长。此外,值得注意的是,在所设计的DCNN中引入了Dropout层,即在训练过程中,DCNN的权重会以一定的概率临时丢弃,暂时不更新,可以有效地防止过拟合。See Figure 3 for the data training process of the coarse-grained localization stage using a deep convolutional neural network (DCNN). First, get the AOA data as input, and estimate the AOA value for each location through MUSIC. Then, an AOA tensor is built for each position, which is simple and convenient for DCNN to process in all layers. In the first convolutional layer and downsampling layer, 18 convolution kernels of size 2×1 are used for convolution operation to obtain the same number of feature maps of the same size as the input. To ensure the invariance of feature maps, down-sampling is performed with a size of 2 × 1 to obtain the same number of feature maps. For all the layers in the designed DCNN, for simplicity, the convolutional and pooling layers use the same size of convolution kernels for term convolution and downsampling. The difference is the stride of the second and fourth pooling layers. In addition, it is worth noting that the Dropout layer is introduced into the designed DCNN, that is, during the training process, the weights of the DCNN will be temporarily discarded with a certain probability and will not be updated temporarily, which can effectively prevent overfitting.

(3)粗粒度定位环节的在线阶段定位过程如下:(3) The online stage positioning process of the coarse-grained positioning link is as follows:

步骤1:当接收来自未知位置用户的CSI信息后,经MUSIC算法估计得到AOA信息后,即

Figure BDA0002456329910000102
经过机器学习网络正向传播与回归分类器分类,得到该未知数据属于每一待定位置的概率。Step 1: After receiving the CSI information from the unknown location user, after the AOA information is estimated by the MUSIC algorithm, that is,
Figure BDA0002456329910000102
After the forward propagation of the machine learning network and the classification of the regression classifier, the probability that the unknown data belongs to each undetermined position is obtained.

步骤2:使用简单的概率方法,将输出概率最大的位置标签作为粗粒度定位的最终位置估计。Step 2: Using a simple probabilistic approach, use the location label with the highest output probability as the final location estimate for coarse-grained localization.

2)细粒度定位阶段的任务是在粗粒度定位的基础上,以其估计位置为中心向外延伸成布满细化虚拟标签的滑动窗。考虑到CSI存在相位偏移,同时为了克服多天线带来的高复杂度,采用平均后的多径CSI幅值信息作为位置标签,提出一种基于空间映射的自适应动态加权K近邻算法。细粒度定位方案中虚拟标签构建过程参见图4。其中,图左为粗粒度位置标签分布示意图,五角星标记为粗粒度位置标签;图右为细粒度位置标签分布示意图,圆形标记代表用于细粒度定位的细化标签,四角星标记为待定位目标位置。2) The task of the fine-grained localization stage is to extend outwards into a sliding window full of refined virtual labels with the estimated position as the center on the basis of coarse-grained localization. Considering the existence of phase offset in CSI, and to overcome the high complexity caused by multiple antennas, an adaptive dynamic weighted K-nearest neighbor algorithm based on spatial mapping is proposed by using the averaged multipath CSI amplitude information as the location label. Figure 4 shows the virtual label construction process in the fine-grained positioning scheme. Among them, the left of the figure is a schematic diagram of the distribution of coarse-grained location labels, and the five-pointed star is marked as a coarse-grained location label; the right of the figure is a schematic diagram of the distribution of fine-grained location labels. bit target position.

(1)细粒度定位阶段的数据收集与预处理具体包括如下步骤:(1) The data collection and preprocessing in the fine-grained positioning stage specifically includes the following steps:

步骤1:在粗粒度定位结果的基础上,以其为核心,等间距向外扩展生成细粒度标签,如图4所示,称之为扩展的滑动窗口。依据此法,滑动窗内生成N2个细粒度位置标签。Step 1: On the basis of the coarse-grained positioning results, take it as the core, and expand the fine-grained labels outward at equal intervals, as shown in Figure 4, which is called the extended sliding window. According to this method, N 2 fine-grained position labels are generated in the sliding window.

步骤2:对于细粒度定位阶段,为了进一步减少数据维度,降低运算复杂度,对每条路径的CSI数据进行采样,然后将不同天线上的幅值信道矩阵平均化,并根据已知CSI信息与用户位置的对应关系,对幅值数据进行分组与编号。Step 2: For the fine-grained positioning stage, in order to further reduce the data dimension and reduce the computational complexity, the CSI data of each path is sampled, and then the amplitude channel matrices on different antennas are averaged, and based on the known CSI information and The corresponding relationship between user positions, grouping and numbering the amplitude data.

步骤3:将样本特征加入标签。细粒度定位阶段的样本加入标签后可以表示为:Step 3: Add sample features to labels. The samples in the fine-grained positioning stage can be expressed as:

Figure BDA0002456329910000111
Figure BDA0002456329910000111

其中,

Figure BDA0002456329910000112
N2为细粒度定位阶段的位置标签数。以上便是两个阶段的输入数据。in,
Figure BDA0002456329910000112
N 2 is the number of location labels in the fine-grained localization stage. The above is the input data of the two stages.

(2)针对传统WKNN算法很大程度依赖于选择的固定K值的问题,细粒度定位阶段提出一种基于空间映射的动态加权K近邻算法,以实现更好的定位精度。其算法步骤如下:(2) Aiming at the problem that the traditional WKNN algorithm largely depends on the selected fixed K value, a dynamic weighted K-nearest neighbor algorithm based on spatial mapping is proposed in the fine-grained localization stage to achieve better localization accuracy. The algorithm steps are as follows:

步骤1:计算指纹库所有样本点之间的信号距离:Step 1: Calculate the signal distance between all sample points in the fingerprint library:

Figure BDA0002456329910000113
Figure BDA0002456329910000113

步骤2:删除奇异距离。设定阈值T=α×D1,保留上式中不大于阈值T的信号距离,从小到大依次记为D1,...,DS,s=1,2,…,S,S代表保留的邻近参考点数目。Step 2: Remove singular distances. Set the threshold value T=α×D 1 , keep the signal distance not greater than the threshold value T in the above formula, and denote it as D 1 ,...,D S in order from small to large, s=1,2,...,S, S represents The number of adjacent reference points to keep.

步骤3:计算保留点彼此的平均距离差:Step 3: Calculate the average distance difference of the reserved points from each other:

Figure BDA0002456329910000114
Figure BDA0002456329910000114

其中,Δdj,s代表Dj和Ds的距离差。Among them, Δd j,s represents the distance difference between D j and D s .

步骤4:估计位置。动态权值表示为:Step 4: Estimate the location. The dynamic weight is expressed as:

Figure BDA0002456329910000121
Figure BDA0002456329910000121

其中,ΔD=DK-D1。特别地,当DK=D1时,ωj=1。定义:

Figure BDA0002456329910000122
则最终的位置估计的具体形式如下:Wherein, ΔD=D K −D 1 . In particular, when D K =D 1 , ω j =1. definition:
Figure BDA0002456329910000122
The specific form of the final location estimation is as follows:

Figure BDA0002456329910000123
Figure BDA0002456329910000123

其中,(xj,yj)表示第j个保留的位置标签的坐标。Among them, (x j , y j ) represents the coordinates of the jth reserved position label.

在所提出的基于空间映射的动态加权K近邻算法步骤(1)中,计算信号距离时,考虑到在不同的CSI幅值量级上信号距离和物理距离不匹配的事实,提出了一种基于极限学习机(Extreme Learning Machine,ELM)的空间映射方法。将这个问题描述如下:In step (1) of the proposed dynamic weighted K-nearest neighbor algorithm based on spatial mapping, when calculating the signal distance, considering the fact that the signal distance and the physical distance do not match at different CSI amplitude levels, a new algorithm based on A spatial mapping method for Extreme Learning Machine (ELM). Describe the problem as follows:

Figure BDA0002456329910000124
Figure BDA0002456329910000124

其中,SD和SC分别为信号空间距离和几何空间距离。的目的是设法找到二者的映射关系。因此设计了一种基于ELM的自适应空间映射方法。据所知,这是首次将机器学习用于信号空间距离和几何空间距离的空间映射,并有效显著提高到了定位精度。Among them, S D and S C are the signal space distance and the geometric space distance, respectively. The purpose is to try to find the mapping relationship between the two. Therefore, an adaptive spatial mapping method based on ELM is designed. To the best of our knowledge, this is the first time that machine learning is used for spatial mapping of signal-space distance and geometric-space distance, and the localization accuracy is effectively and significantly improved.

3)为了验证本发明提出的分级指纹定位方法的性能,进行了如下仿真:3) In order to verify the performance of the hierarchical fingerprint positioning method proposed by the present invention, the following simulations were carried out:

为了更好地评估所提方法的性能,在28GHz毫米波信道、室内尺寸为70×120×4m3的传播环境中进行实验。基站(AP)的位置设置为(47.5m,57.5m,4.0m)。在发射器处使用具有256根天线的单基站,在接收器处配置32根天线。相邻天线之间的距离和每个均匀圆形阵列的半径分别毫米波载频的半波长和两倍波长。此外,对于毫米波室内传播环境,采用近自由空间路径损耗模型(the close-in free space reference distance path lossmodel),即:To better evaluate the performance of the proposed method, experiments are carried out in a 28 GHz mmWave channel with an indoor propagation environment with dimensions of 70 × 120 × 4 m. The location of the base station (AP) is set to (47.5m, 57.5m, 4.0m). A single base station with 256 antennas is used at the transmitter and 32 antennas are configured at the receiver. The distance between adjacent antennas and the radius of each uniform circular array are half the wavelength and twice the wavelength of the mmWave carrier frequency, respectively. In addition, for the millimeter-wave indoor propagation environment, the close-in free space reference distance path loss model is adopted, namely:

Figure BDA0002456329910000131
Figure BDA0002456329910000131

其中,用dl表示第l个路径的长度,γ和

Figure BDA0002456329910000132
分别为路径损耗因子和阴影衰落,FSPL(f,d0)=20log10(4πf/c)为自由空间路径损耗。where dl is used to denote the length of the lth path, γ and
Figure BDA0002456329910000132
are the path loss factor and shadow fading, respectively, and FSPL(f,d 0 )=20log 10 (4πf/c) is the free-space path loss.

实验的性能主要由根均方误差距离(Root Mean Square Error Distance,RMSED)、误差中值与累计分布函数(Cumulative Distribution Function,CDF)三个方面来评价,其中RMSED为实际位置与估计位置的均方误差:The performance of the experiment is mainly evaluated by three aspects: Root Mean Square Error Distance (RMSED), median error and Cumulative Distribution Function (CDF), where RMSED is the average of the actual position and the estimated position. Square error:

Figure BDA0002456329910000133
Figure BDA0002456329910000133

首先,选择了400个测试点进行测试,并从中随机选取120个测试点绘制定位效果图。参见图5,其中,六角星标记为实际位置,圆形标记为估计位置。从图中明显可以看出,所有测试点的估计位置与实际位置都非常接近,甚至重合。进而表明所提出的分级定位系统具有良好的定位性能。First, 400 test points were selected for testing, and 120 test points were randomly selected to draw the positioning effect map. See Figure 5, where the six-pointed star marks the actual position and the circle marks the estimated position. It can be clearly seen from the figure that the estimated positions of all test points are very close to the actual positions, or even coincide. Furthermore, it shows that the proposed hierarchical localization system has good localization performance.

然后,为了进一步验证所提方案的有效性,比较了不同定位方法的定位性能。如表1所示,第二列为平均误差距离,第三列为误差中值,最后一列为最大误差距离。从表中可以看出所提出的定位方法最终可达到0.4738m的定位误差。误差中值为0.2619m,最大误差距离也明显小于其他对比方法。Then, to further verify the effectiveness of the proposed scheme, the localization performance of different localization methods is compared. As shown in Table 1, the second column is the average error distance, the third column is the median error, and the last column is the maximum error distance. It can be seen from the table that the proposed positioning method can finally achieve a positioning error of 0.4738m. The median error is 0.2619m, and the maximum error distance is also significantly smaller than other comparison methods.

表1 不同定位方法结果对比Table 1 Comparison of results of different positioning methods

Figure BDA0002456329910000134
Figure BDA0002456329910000134

本发明与其他定位方案性能比较参见图6。从图中可以看出,所提定位系统明显优于其他算法,约77%的测试点的定位误差在0.5m以下,88%的测试点的定位误差在1m以下。而其他算法定位误差在1m以内的测试点分别仅有55%、60%和64%。The performance comparison between the present invention and other positioning schemes is shown in FIG. 6 . It can be seen from the figure that the proposed positioning system is significantly better than other algorithms, the positioning error of about 77% of the test points is below 0.5m, and the positioning error of 88% of the test points is below 1m. The test points with positioning errors within 1m of other algorithms are only 55%, 60% and 64% respectively.

所提算法在不同细化标签数(n=7,9,11,13)情况下的CDF对比参见图7。从图中可以看出随着滑动窗内细化标签数的增加,CDF值逐渐增加,表明定位效果越来越好。特别是当n=13时,误差在1m以内的测试点约占97%。此外,随着n的增加,最大误差距离每次约减少0.5m。这是因为,设置相邻细化标签的固定间隔为0.5m,当n由7变为9时,滑动窗的边长增加了1m,但是实际上滑动窗向四个方向只扩展了0.5m,所以最大误差大约减少0.5m。以上分析说明,可以通过合理设置细化标签数将误差水平控制在一定范围内。See Figure 7 for the CDF comparison of the proposed algorithm under different number of refined labels (n=7, 9, 11, 13). It can be seen from the figure that with the increase of the number of refined labels in the sliding window, the CDF value gradually increases, indicating that the positioning effect is getting better and better. Especially when n=13, the test points with error within 1m account for about 97%. Furthermore, as n increases, the maximum error distance decreases by about 0.5m each time. This is because the fixed interval between adjacent refinement labels is set to 0.5m. When n changes from 7 to 9, the side length of the sliding window increases by 1m, but in fact the sliding window only expands by 0.5m in four directions. So the maximum error is reduced by about 0.5m. The above analysis shows that the error level can be controlled within a certain range by reasonably setting the number of refined labels.

表2为不同细化标签数情况下定位效果对比,可以看出,随着n的增加,平均定位误差、误差中值、最值都逐渐减小。当n=13时,误差均值更是降低至0.3101m。这是因为,随着细化标签数的增加,滑动窗的尺寸在增加,因而定位性能会越来越好。Table 2 shows the comparison of the positioning effect under different number of refined labels. It can be seen that with the increase of n, the average positioning error, the median error and the maximum value all gradually decrease. When n=13, the mean error value is reduced to 0.3101m. This is because, as the number of refined labels increases, the size of the sliding window increases, so the localization performance will get better and better.

表2 不同细化标签数下定位效果对比Table 2 Comparison of positioning effects under different number of refined labels

细化标签数Number of refinement labels Mean(m)Mean(m) Median(m)Median(m) Max(m)Max(m) n=7n=7 0.70060.7006 0.36530.3653 3.96133.9613 n=9n=9 0.47380.4738 0.26190.2619 3.41693.4169 n=11n=11 0.37290.3729 0.25060.2506 2.97772.9777 n=13n=13 0.31010.3101 0.23150.2315 2.49032.4903

在所提出的SMWKNN算法中,在计算平均信号距离前,通过设置阈值对候选标签进行了筛选,删除奇异信号距离对应的标签点。因此,在评估性能时,比较了阈值系数α对定位误差的影响,同时为了选择出普适最优的阈值系数,在不同细化标签数的情况下都进行了实验,参见图8。显然,当α=2时,对实验设置的所有细化标签数,定位性能都最优,因此选择阈值系数为2。In the proposed SMWKNN algorithm, before calculating the average signal distance, the candidate labels are screened by setting a threshold, and the label points corresponding to the singular signal distance are deleted. Therefore, when evaluating the performance, the influence of the threshold coefficient α on the positioning error was compared, and in order to select the universally optimal threshold coefficient, experiments were carried out with different number of refined labels, see Figure 8. Obviously, when α=2, the localization performance is optimal for all the number of refined labels set in the experiment, so the threshold coefficient is chosen to be 2.

因此综上可知,本发明提出的基于分级模型的室内指纹定位方法能有效降低定位复杂度,提高定位精度,同时减少定位成本。Therefore, it can be seen from the above that the indoor fingerprint positioning method based on the hierarchical model proposed by the present invention can effectively reduce the positioning complexity, improve the positioning accuracy, and at the same time reduce the positioning cost.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施方式仅限于此,对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单的推演或替换,都应当视为属于本发明由所提交的权利要求书确定专利保护范围。The above content is a further detailed description of the present invention in conjunction with the specific preferred embodiments, and it cannot be considered that the specific embodiments of the present invention are limited to this. Below, some simple deductions or substitutions can also be made, all of which should be regarded as belonging to the invention and the scope of patent protection determined by the submitted claims.

Claims (4)

1. An indoor fingerprint positioning method for a millimeter wave large-scale MIMO system is characterized in that a receiving end acquires a CSI multipath signal of the millimeter wave large-scale MIMO system, which can be separated in time domain, and performs data collection and preprocessing on the CSI multipath signal; in the coarse-grained positioning scheme, AOA information estimated by a multipath CSI signal is used as fingerprint characteristics, a deep learning method is combined, characteristic quantities are extracted in a self-adaptive mode, and a fingerprint database is established to achieve coarse-grained positioning; in order to overcome the high complexity caused by multiple antennas, in a fine-grained positioning scheme, positioning is carried out by taking averaged multipath CSI (channel state information) as fingerprint characteristics; meanwhile, considering the problem that the traditional WKNN algorithm depends on a preselected fixed K value to a great extent, a dynamic weighted K nearest neighbor algorithm is adopted to realize better positioning accuracy; the method comprises the following specific steps:
firstly, in a coarse-grained positioning stage, estimating acquired multipath CSI fingerprint data by using a classical MUSIC algorithm to obtain multipath AOA information as fingerprint characteristics, extracting the fingerprint characteristics in a self-adaptive manner through a multilayer convolutional neural network to construct a fingerprint database, and then using a position label with the maximum output probability as a final estimation position in the coarse-grained positioning stage through a softmax classifier;
the data collection and pretreatment in the coarse-grained positioning stage specifically comprise the following steps:
step 1: uniformly dividing cells into N1A block having its geometric center as a classification position label;
step 2: in the coarse-grained location stage, the selected coarse-grained location labels are sparsely distributed and are few in number, so that the N divided is1Multipath CSI information respectively collected in the blocks is estimated through a classical MUSIC estimation algorithm to obtain multipath AOA information of all coarse-grained position label points, and the multipath AOA information is used as fingerprint characteristics;
and step 3: adding the sample characteristics into a label, wherein the sample in the coarse-grained positioning stage is represented as follows:
Figure FDA0003037190100000011
wherein phi is0AOA, phi of direct path1Scattering for the first stripeThe AOA of the path is determined,
Figure FDA0003037190100000012
is the NthrayThe AOA and T of the scattering paths are matrix transposes;
the task of the coarse-grained positioning stage is to train parameters of a deep convolutional neural network and a regression classifier network according to the acquired labeled training data, and the training aim is to minimize the mean square error output by a training label and the network;
the off-line stage training process of the coarse-grained location link is as follows:
for a deep learning network, a deep convolutional neural network is adopted, a ReLU function is adopted as an excitation function of each layer of nodes, after training data are input into the network, the output of each layer is obtained according to the excitation function and is used as the input of the next layer, and finally, the network output is obtained through layer-by-layer forward propagation; constructing a penalty function according to a minimum mean square error principle, updating and iterating by using a random gradient descent algorithm to obtain a final training parameter, and storing a trained weight W, b as a part of a fingerprint library;
then, taking neural network training output data as input of a softmax classifier, then dividing the neural network training output data into C classes, taking the probability that the input data belongs to each class as output of the classifier, constructing a penalty function according to a minimum mean square error principle, updating and iterating by using a random gradient descent algorithm to obtain final training parameters, and forming W, b and theta together into a fingerprint library, wherein the theta is a classifier parameter;
the output of the classifier is as follows:
Figure FDA0003037190100000021
wherein,
Figure FDA0003037190100000022
is a C1 matrix, each term is represented in
Figure FDA0003037190100000023
In the given case of the situation where,
Figure FDA0003037190100000024
the probability of belonging to each of the classes,
Figure FDA0003037190100000025
the method comprises the following steps of (1) inputting training output of a neural network, namely input of a regression classifier, and theta is a parameter of the classifier;
the on-line stage positioning process of the coarse grain positioning link is as follows:
step 1: after receiving CSI information from users at unknown positions, the MUSIC algorithm estimates the received AOA information, namely
Figure FDA0003037190100000026
The probability that the unknown data belong to each to-be-determined position is obtained through forward propagation of a machine learning network and classification of a regression classifier;
step 2: using a probability method to take the position label with the maximum output probability as the final position estimation of coarse-grained positioning;
then, in a fine-grained positioning stage, on the basis of the coarse-grained positioning labels obtained through estimation, fine-grained labels are generated by taking the coarse-grained positioning labels as a core, and considering that the more the number of the fine-grained labels is, the finer the fine-grained positioning result is, the averaged CSI amplitude information is selected as the fingerprint characteristic of the fine-grained positioning stage, and a dynamic weighted K nearest neighbor algorithm based on space mapping is provided for fine-grained positioning;
finally, in order to improve the positioning accuracy, at the fine-grained stage, the following facts are considered: the same CSI difference may correspond to different geometric distances, that is, for CSI differences of different magnitudes, the signal distances represented by the CSI difference may correspond to different geometric distances; therefore, the relationship between the signal distance space and the geometric distance space is established by training the ELM to realize the spatial mapping and prevent the influence of the distance mismatch from causing the reduction of the positioning precision.
2. The indoor fingerprint positioning method for the millimeter wave massive MIMO system as claimed in claim 1, wherein the data collection and preprocessing at the fine-grained positioning stage comprises the following steps:
step 1: based on the coarse-grained positioning result, the coarse-grained positioning result is used as a core, the coarse-grained positioning result is expanded outwards at equal intervals to generate a fine-grained label called an expanded sliding window, and N is generated in the sliding window according to the method2Fine-grained location tags;
step 2: for a fine-grained positioning stage, in order to further reduce data dimension and operation complexity, sampling CSI data of each path, then averaging amplitude channel matrixes on different antennas, and grouping and numbering the amplitude data according to the corresponding relation between known CSI information and user positions;
and step 3: adding the sample characteristics into a label, wherein the sample in the fine-grained positioning stage is represented as follows after the label is added:
Figure FDA0003037190100000031
wherein,
Figure FDA0003037190100000032
N2the position label number of the fine-grained positioning stage.
3. The indoor fingerprint positioning method for the millimeter wave massive MIMO system as claimed in claim 2, wherein the task of the fine-grained positioning stage is to extend outward to form a sliding window full of the refined virtual tags with the estimated position as the center on the basis of the coarse-grained positioning; considering that phase shift exists in CSI, and in order to overcome high complexity brought by multiple antennas, averaged multipath CSI amplitude information is used as a position label, and a space mapping-based adaptive dynamic weighting K nearest neighbor algorithm comprises the following algorithm steps:
step 1: calculating the signal distance between all sample points of the fingerprint library:
Figure FDA0003037190100000033
step 2: deleting singular distance, and setting threshold T ═ alpha × D1Keeping the signal distance which is not more than the threshold value T in the formula, and sequentially marking as D from small to large1,...,DSS-1, 2, …, S represents the number of retained neighboring reference points;
and step 3: calculate the mean distance difference of the retention points from each other:
Figure FDA0003037190100000041
wherein, Δ dj,sRepresents DjAnd DsThe distance difference of (a);
and 4, step 4: estimating the final position, the dynamic weight value is expressed as:
Figure FDA0003037190100000042
wherein Δ D ═ DK-D1(ii) a In particular, when DK=D1Time, omegaj1 is ═ 1; defining:
Figure FDA0003037190100000043
the specific form of the final position estimate is then as follows:
Figure FDA0003037190100000044
wherein (x)j,yj) The coordinates of the jth remaining location tag are represented.
4. The indoor fingerprint positioning method for mmwave massive MIMO system as claimed in claim 3, wherein in the proposed dynamic weighted K-nearest neighbor algorithm step (1) based on spatial mapping, when calculating the signal distance, considering the fact that the signal distance and the physical distance do not match at different CSI amplitude levels, the spatial mapping method based on extreme learning machine is adopted, and this problem is described as follows:
Figure FDA0003037190100000045
wherein S isDAnd SCRespectively signal space distance and geometric space distance.
CN202010307606.5A 2020-04-17 2020-04-17 An indoor fingerprint localization method for millimeter-wave massive MIMO system Active CN111479231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010307606.5A CN111479231B (en) 2020-04-17 2020-04-17 An indoor fingerprint localization method for millimeter-wave massive MIMO system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010307606.5A CN111479231B (en) 2020-04-17 2020-04-17 An indoor fingerprint localization method for millimeter-wave massive MIMO system

Publications (2)

Publication Number Publication Date
CN111479231A CN111479231A (en) 2020-07-31
CN111479231B true CN111479231B (en) 2021-07-13

Family

ID=71753994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010307606.5A Active CN111479231B (en) 2020-04-17 2020-04-17 An indoor fingerprint localization method for millimeter-wave massive MIMO system

Country Status (1)

Country Link
CN (1) CN111479231B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040394B (en) * 2020-08-05 2022-06-10 深圳市微能信息科技有限公司 Bluetooth positioning method and system based on AI deep learning algorithm
CN111918388A (en) * 2020-08-17 2020-11-10 南京邮电大学 Passive localization method of CSI fingerprint based on depthwise separable convolution
CN112040400B (en) * 2020-08-25 2021-08-13 西安交通大学 A single-site indoor fingerprint positioning method, storage medium and device based on MIMO-CSI
CN112712557B (en) * 2020-12-17 2023-04-07 上海交通大学 Super-resolution CIR indoor fingerprint positioning method based on convolutional neural network
CN112770390B (en) * 2020-12-30 2022-07-12 东南大学 Robust fingerprint extraction method based on large-scale MIMO single station system
CN112964960B (en) * 2021-02-04 2024-04-12 国网上海市电力公司 Power grid fault diagnosis method based on multi-source data fusion of scheduling fault fingerprint library
CN112995892B (en) * 2021-02-08 2022-11-29 东南大学 Massive MIMO fingerprint location method based on complex neural network
US11885899B2 (en) 2021-05-07 2024-01-30 Qualcomm Incorporated Generating indoor maps based on radio frequency sensing
CN113676857B (en) * 2021-08-19 2023-05-26 重庆邮电大学 Channel state information feature extraction method for indoor Wi-Fi positioning
CN117062002B (en) * 2023-08-01 2024-04-30 哈尔滨工程大学 A 5G NR indoor positioning method and system based on lightweight TRANSFORMER
CN116828596B (en) * 2023-08-28 2023-11-10 四川思凌科微电子有限公司 High-precision positioning method using RSSI
CN117576225B (en) * 2023-11-28 2024-05-31 吉林化工学院 Indoor visible light positioning method and system based on received signal strength ratio

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332277A (en) * 2016-09-05 2017-01-11 中南大学 An Indoor Positioning Method Based on Channel State Information Distribution
CN107241700A (en) * 2017-04-23 2017-10-10 西安电子科技大学 Indoor orientation method based on CSI Space-frequency characters and reference point locations clustering algorithm
CN107517446A (en) * 2017-09-28 2017-12-26 知谷(上海)网络科技有限公司 Indoor orientation method and device based on Wi Fi focuses
CN107769828A (en) * 2017-09-27 2018-03-06 中国电子科技集团公司第五十四研究所 A kind of the CSI MIMO indoor orientation methods and system of the extraction of feature based value
CN108696932A (en) * 2018-04-09 2018-10-23 西安交通大学 It is a kind of using CSI multipaths and the outdoor fingerprint positioning method of machine learning
CN110381436A (en) * 2019-06-25 2019-10-25 东南大学 A kind of quick fingerprint positioning method based on the mono- station system of extensive MIMO
US10531421B1 (en) * 2018-12-06 2020-01-07 At&T Intellectual Property I, L.P. Systems and methods for locating user equipment during disasters

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685590B (en) * 2016-12-08 2019-10-29 浙江工业大学 Indoor human body orientation identification method based on channel state information and KNN
CN108304826A (en) * 2018-03-01 2018-07-20 河海大学 Facial expression recognizing method based on convolutional neural networks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332277A (en) * 2016-09-05 2017-01-11 中南大学 An Indoor Positioning Method Based on Channel State Information Distribution
CN107241700A (en) * 2017-04-23 2017-10-10 西安电子科技大学 Indoor orientation method based on CSI Space-frequency characters and reference point locations clustering algorithm
CN107769828A (en) * 2017-09-27 2018-03-06 中国电子科技集团公司第五十四研究所 A kind of the CSI MIMO indoor orientation methods and system of the extraction of feature based value
CN107517446A (en) * 2017-09-28 2017-12-26 知谷(上海)网络科技有限公司 Indoor orientation method and device based on Wi Fi focuses
CN108696932A (en) * 2018-04-09 2018-10-23 西安交通大学 It is a kind of using CSI multipaths and the outdoor fingerprint positioning method of machine learning
US10531421B1 (en) * 2018-12-06 2020-01-07 At&T Intellectual Property I, L.P. Systems and methods for locating user equipment during disasters
CN110381436A (en) * 2019-06-25 2019-10-25 东南大学 A kind of quick fingerprint positioning method based on the mono- station system of extensive MIMO

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Xuyu Wang.CSI Phase Fingerprinting for Indoor Localization With a Deep Learning Approach.<IEEE>.2016, *
王亚涛.基于位置指纹的WiFi室内定位研究.《中国优秀硕士学位论文全文数据库(电子期刊) 信息科技辑》.2019, *

Also Published As

Publication number Publication date
CN111479231A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN111479231B (en) An indoor fingerprint localization method for millimeter-wave massive MIMO system
CN108696932B (en) Outdoor fingerprint positioning method using CSI multipath and machine learning
Sun et al. Fingerprint-based localization for massive MIMO-OFDM system with deep convolutional neural networks
Ibrahim et al. CNN based indoor localization using RSS time-series
CN110012428B (en) A WiFi-based indoor positioning method
CN103476118B (en) A kind of WLAN indoor location fingerprint positioning method for monitoring in real time
CN109743683B (en) A method of using deep learning fusion network model to determine the location of mobile phone users
Liu et al. Improving positioning accuracy using GPS pseudorange measurements for cooperative vehicular localization
CN106912105B (en) Three-dimensional positioning method based on PSO _ BP neural network
Janssen et al. Benchmarking RSS-based localization algorithms with LoRaWAN
Yadav et al. A systematic review of localization in WSN: Machine learning and optimization‐based approaches
CN113207089A (en) Position fingerprint positioning method based on CSI and crowdsourcing migration self-calibration updating
CN111556431A (en) Fingerprint indoor positioning method based on signal subspace
CN113344220B (en) A user screening method, system, device and storage medium based on local model gradient in federated learning
CN110049549A (en) More fusion indoor orientation methods and its system based on WiFi fingerprint
CN111461251A (en) Indoor positioning method of WiFi fingerprint based on random forest and self-encoder
Shit et al. AI-enabled fingerprinting and crowdsource-based vehicle localization for resilient and safe transportation systems
CN112616184A (en) Mobile equipment position estimation method based on multi-base station channel state information fusion
CN111523571B (en) Semi-supervised learning positioning method for distributed large-scale multi-antenna system
Yadav et al. Machine learning based techniques for node localization in WSN: A survey
Huai et al. Multifeature-Based Outdoor Fingerprint Localization With Accuracy Enhancement for Cellular Network
Mukhtar et al. Machine learning-enabled localization in 5g using lidar and rss data
CN114269014B (en) Large-scale MIMO dynamic environment fingerprint positioning method based on domain adaptive network
Guo et al. Research on indoor wireless positioning precision optimization based on UWB
Nie et al. Joint access point fuzzy rough set reduction and multisource information fusion for indoor Wi-Fi positioning

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