CN110376548A - A kind of multi-target orientation method and system - Google Patents

A kind of multi-target orientation method and system Download PDF

Info

Publication number
CN110376548A
CN110376548A CN201910659653.3A CN201910659653A CN110376548A CN 110376548 A CN110376548 A CN 110376548A CN 201910659653 A CN201910659653 A CN 201910659653A CN 110376548 A CN110376548 A CN 110376548A
Authority
CN
China
Prior art keywords
target
signals
anchor node
grid
anchor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910659653.3A
Other languages
Chinese (zh)
Other versions
CN110376548B (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.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN201910659653.3A priority Critical patent/CN110376548B/en
Publication of CN110376548A publication Critical patent/CN110376548A/en
Application granted granted Critical
Publication of CN110376548B publication Critical patent/CN110376548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0278Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves involving statistical or probabilistic considerations
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本发明公开了一种多目标定位方法,包括响应于N个目标进入监测区域,采集目标从监测区域锚节点接收的信号;将最强的前N个信号对应的锚节点作为簇心,采用网格聚类算法将监测区域划分成N个网格;各网格内,根据目标接收到的锚节点信号,计算目标的位置。本发明以信号最强的几个锚节点作为簇点,采用网格聚类算法将监测区域划分成多个网格,根据目标所在网格位置以及接收到锚节点信号数量,采用不同的方法计算目标位置,定位精确,适用于各种不同场景,具有良好的推广性。

The invention discloses a multi-target positioning method, which includes responding to N targets entering the monitoring area, collecting signals received by the targets from anchor nodes in the monitoring area; taking the anchor nodes corresponding to the strongest first N signals as cluster centers, and adopting network The grid clustering algorithm divides the monitoring area into N grids; in each grid, the position of the target is calculated according to the anchor node signal received by the target. The present invention uses several anchor nodes with the strongest signals as cluster points, uses a grid clustering algorithm to divide the monitoring area into multiple grids, and uses different methods to calculate Target position, accurate positioning, applicable to various scenarios, and has good promotion.

Description

一种多目标定位方法及系统A multi-target positioning method and system

技术领域technical field

本发明涉及一种多目标定位方法及系统,属于物联网定位技术领域。The invention relates to a multi-target positioning method and system, and belongs to the technical field of Internet of Things positioning.

背景技术Background technique

随着科技的发展,定位技术得到了广泛的关注,室外定位技术主要通过全 球定位系统(GPS)或北斗定位系统对目标进行定位,而在室内,上述定位系统 难以接收到卫星信号,失去了定位精度;因此现在室内急需一种精度较高的定 位方法。With the development of science and technology, positioning technology has received extensive attention. Outdoor positioning technology mainly uses the Global Positioning System (GPS) or Beidou positioning system to locate the target. Indoors, the above positioning systems are difficult to receive satellite signals and lose their positioning. Accuracy; therefore, there is an urgent need for a positioning method with higher accuracy indoors.

发明内容Contents of the invention

本发明提供了一种多目标定位方法及系统,解决了现有室内定位存在的上 述问题。The present invention provides a multi-target positioning method and system, which solves the above-mentioned problems existing in the existing indoor positioning.

为了解决上述技术问题,本发明所采用的技术方案是:In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is:

一种多目标定位方法,包括,A multi-target localization method comprising,

响应于N个目标进入监测区域,采集目标从监测区域锚节点接收的信号;In response to N targets entering the monitoring area, collecting signals received by the targets from anchor nodes in the monitoring area;

将最强的前N个信号对应的锚节点作为簇心,采用网格聚类算法将监测区 域划分成N个网格;The anchor nodes corresponding to the strongest first N signals are used as cluster centers, and the monitoring area is divided into N grids using a grid clustering algorithm;

各网格内,根据目标接收到的锚节点信号,计算目标的位置。In each grid, the position of the target is calculated according to the anchor node signal received by the target.

锚节点将自身位置信息和RSSI值发送给目标。The anchor node sends its location information and RSSI value to the target.

网格聚类算法中N个簇心保持不变。In the grid clustering algorithm, the N cluster centers remain unchanged.

响应于目标位于网格内并且接收到大于等于三个锚节点信号,采用加权质 心法求解目标位置;In response to the target being located in the grid and receiving more than or equal to three anchor node signals, the weighted centroid method is used to solve the target position;

响应于目标位于网格内并且接收到二个锚节点信号,以二个锚节点位置为 球心,到目标的距离为半径画球;如果两个球相切,目标位于两球球心所在直 线和切点所在切线的交点上;如果两个球相交,利用余弦定理和两个锚节点位 置求解目标位置;In response to the target being located in the grid and receiving two anchor node signals, draw a ball with the two anchor node positions as the center of the sphere and the distance to the target as the radius; if the two spheres are tangent, the target is located on the line where the centers of the two spheres are located and the intersection point of the tangent line where the tangent point is located; if the two balls intersect, use the law of cosines and the positions of the two anchor nodes to solve the target position;

响应于目标位于网格内并且接收到一个锚节点信号,以该锚节点和惯导数 据,按接收到二个锚节点信号的方法进行定位。In response to the target being located in the grid and receiving one anchor node signal, the anchor node and inertial navigation data are used to perform positioning according to the method of receiving two anchor node signals.

响应于目标位于相邻网格交界处,筛选出目标接收到的四个不同方位的最 强信号,根据这四个最强信号的锚节点位置,采用加权质心法求解目标位置。In response to the fact that the target is located at the junction of adjacent grids, the strongest signals received by the target in four different directions are screened out. According to the anchor node positions of the four strongest signals, the weighted centroid method is used to solve the target position.

响应于目标位于监测区域外,利用已经定位的监测区域边缘的普通节点定 位目标;In response to the target being located outside the monitoring area, locating the target using already located common nodes at the edge of the monitoring area;

若有三个以上普通节点与目标通信,则采用加权质心法求解目标位置;If there are more than three common nodes communicating with the target, the weighted centroid method is used to solve the target position;

若有两个普通节点与目标通信,则余弦定理和两个普通节点位置求解目标 位置;If there are two common nodes communicating with the target, then the law of cosines and the positions of the two common nodes solve the target position;

若有一个普通节点与目标通信,则以该普通节点和惯导数据,按接收到二 个普通节点信号的方法进行定位。If there is a common node communicating with the target, then use the common node and inertial navigation data to locate according to the method of receiving signals from two common nodes.

一种多目标定位系统,包括,A multi-target positioning system comprising,

信号采集模块:响应于N个目标进入监测区域,采集目标从监测区域锚节 点接收的信号;Signal collection module: in response to N targets entering the monitoring area, collecting signals received by the target from the monitoring area anchor node;

网格聚类模块:将最强的前N个信号对应的锚节点作为簇心,采用网格聚 类算法将监测区域划分成N个网格;Grid clustering module: use the anchor nodes corresponding to the strongest first N signals as cluster centers, and use grid clustering algorithm to divide the monitoring area into N grids;

目标计算模块:各网格内,根据目标接收到的锚节点信号,计算目标的位 置。Target calculation module: in each grid, calculate the position of the target according to the anchor node signal received by the target.

目标计算模块包括第一计算模块、第二计算模块和第三计算模块;The target calculation module includes a first calculation module, a second calculation module and a third calculation module;

第一计算模块:响应于目标位于网格内并且接收到大于等于三个锚节点信 号,采用加权质心法求解目标位置;The first calculation module: in response to the target being located in the grid and receiving more than or equal to three anchor node signals, the weighted centroid method is used to solve the target position;

第二计算模块:响应于目标位于网格内并且接收到二个锚节点信号,以二 个锚节点位置为球心,到目标的距离为半径画球;如果两个球相切,目标位于 两球球心所在直线和切点所在切线的交点上;如果两个球相交,利用余弦定理 和两个锚节点位置求解目标位置;The second calculation module: in response to the target being located in the grid and receiving two anchor node signals, draw a ball with the two anchor node positions as the center of the sphere and the distance to the target as the radius; if the two spheres are tangent, the target is located at two At the intersection of the straight line where the center of the ball is located and the tangent where the tangent point is located; if the two balls intersect, use the law of cosines and the positions of two anchor nodes to solve the target position;

第三计算模块:响应于目标位于网格内并且接收到一个锚节点信号,以该 锚节点和惯导数据,按接收到二个锚节点信号的方法进行定位。The third calculation module: in response to the target being located in the grid and receiving an anchor node signal, the anchor node and inertial navigation data are used to perform positioning according to the method of receiving two anchor node signals.

目标计算模块包括第四计算模块;The target computing module includes a fourth computing module;

第四计算模块:响应于目标位于相邻网格交界处,筛选出目标接收到的四 个不同方位的最强信号,根据这四个最强信号的锚节点位置,采用加权质心法 求解目标位置。The fourth calculation module: in response to the target being located at the junction of adjacent grids, filter out the strongest signals received by the target in four different directions, and use the weighted centroid method to solve the target position according to the anchor node positions of the four strongest signals .

目标计算模块包括第五计算模块;The target computing module includes a fifth computing module;

第五计算模块:响应于目标位于监测区域外,利用已经定位的监测区域边 缘的普通节点定位目标;The fifth calculation module: in response to the target being located outside the monitoring area, using the already located common nodes on the edge of the monitoring area to locate the target;

若有三个以上普通节点与目标通信,则采用加权质心法求解目标位置;If there are more than three common nodes communicating with the target, the weighted centroid method is used to solve the target position;

若有两个普通节点与目标通信,则余弦定理和两个普通节点位置求解目标 位置;If there are two common nodes communicating with the target, then the law of cosines and the positions of the two common nodes solve the target position;

若有一个普通节点与目标通信,则以该普通节点和惯导数据,按接收到二 个普通节点信号的方法进行定位。If there is a common node communicating with the target, then use the common node and inertial navigation data to locate according to the method of receiving signals from two common nodes.

本发明所达到的有益效果:本发明以信号最强的几个锚节点作为簇点,采 用网格聚类算法将监测区域划分成多个网格,根据目标所在网格位置以及接收 到锚节点信号数量,采用不同的方法计算目标位置,定位精确,适用于各种不 同场景,具有良好的推广性。The beneficial effects achieved by the present invention: the present invention uses several anchor nodes with the strongest signals as cluster points, and uses a grid clustering algorithm to divide the monitoring area into multiple grids. The number of signals, using different methods to calculate the target position, accurate positioning, suitable for various scenarios, and has good scalability.

附图说明Description of drawings

图1为本发明的流程图;Fig. 1 is a flowchart of the present invention;

图2为目标和两个锚节点组成的三角形。Figure 2 shows the triangle formed by the target and two anchor nodes.

具体实施方式Detailed ways

下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明 本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to more clearly illustrate the technical solutions of the present invention, but cannot limit the protection scope of the present invention with this.

如图1所示,一种多目标定位方法,在定位之前,先部署定位网络,将多 个锚节点部署在监测区域内,当N个目标进入监测区域,锚节点向目标发送信 号,信号包括锚节点自身位置信息和RSSI值,服务器与目标进行通信,进行多 目标定位,具体方法如图1所示,包括:As shown in Figure 1, a multi-target positioning method. Before positioning, deploy a positioning network and deploy multiple anchor nodes in the monitoring area. When N targets enter the monitoring area, the anchor nodes send signals to the targets. The signals include The anchor node's own location information and RSSI value, the server communicates with the target, and performs multi-target positioning. The specific method is shown in Figure 1, including:

步骤1,响应于N个目标进入监测区域,采集目标从监测区域锚节点接收 的信号。Step 1, in response to N targets entering the monitoring area, collect the signal received by the target from the anchor node in the monitoring area.

步骤2,对所有的信号强度从强到弱进行排序,提取最强的前N个信号。Step 2, sort all signal strengths from strong to weak, and extract the strongest top N signals.

步骤3,将最强的前N个信号对应的锚节点作为簇心,采用网格聚类算法 将监测区域划分成N个网格;其中,网格聚类算法中N个簇心保持不变,不仅 简化了计算过程,又利用了距离目标最近的N个锚节点位置信息,可以实现一 次扫描中多目标定位。Step 3: Use the anchor nodes corresponding to the strongest top N signals as the cluster centers, and use the grid clustering algorithm to divide the monitoring area into N grids; among them, the N cluster centers in the grid clustering algorithm remain unchanged , not only simplifies the calculation process, but also utilizes the position information of the N anchor nodes closest to the target, which can realize multi-target positioning in one scan.

步骤3,各网格内,根据目标接收到的锚节点信号,计算目标的位置。Step 3, in each grid, calculate the position of the target according to the anchor node signal received by the target.

目标在网格内的位置,可分为以下几种情况:The position of the target in the grid can be divided into the following situations:

1、目标位于网格内部;1. The target is located inside the grid;

目标接收到大于等于三个锚节点信号,将RSSI数据转化为距离信息,然后 以锚节点位置为圆心,以目标与第i个锚节点距离Ri为半径画球,采用加权质心 法求解目标位置,具体公式如下:The target receives more than or equal to three anchor node signals, converts the RSSI data into distance information, then draws a ball with the anchor node position as the center and the distance R i between the target and the i-th anchor node as the radius, and uses the weighted centroid method to solve the target position , the specific formula is as follows:

其中,(x0,y0,z0)为目标坐标,(xi,yi,zi)为第i个锚节点坐标,i1为接收 到锚节点信号数量, Among them, (x 0 , y 0 , z 0 ) are the target coordinates, ( xi , y i , zi ) are the coordinates of the i-th anchor node, i1 is the number of anchor node signals received,

目标接收到二个锚节点信号,以二个锚节点位置为球心,到目标的距离为 半径画球,这两个球存在以下两种情况:The target receives the signals of two anchor nodes, draw a ball with the position of the two anchor nodes as the center of the sphere, and the distance to the target as the radius. The two spheres have the following two situations:

A、如果两个球相切,可得,A. If two balls are tangent, we can get,

其中,(x1,y1,z1)为第一个锚节点坐标,(x2,y2,z2)为第二个锚节点坐标,R1为第一个锚节点到目标的距离,R2为第二个锚节点到目标的距离;Among them, (x 1 , y 1 , z 1 ) is the coordinates of the first anchor node, (x 2 , y 2 , z 2 ) is the coordinates of the second anchor node, and R 1 is the distance from the first anchor node to the target , R 2 is the distance from the second anchor node to the target;

由R1和R2公式可得,From the R 1 and R 2 formulas,

式(4)可进一步简化为:Formula (4) can be further simplified as:

ax0+by0+cz0=d (5)ax 0 +by 0 +cz 0 =d (5)

其中-2(x1-x2)=a,-2(y1-y2)=b,-2(z1-z2)=c, where -2(x 1 -x 2 )=a, -2(y 1 -y 2 )=b, -2(z 1 -z 2 )=c,

根据两个锚节点位置坐标,可得直线方程为:According to the position coordinates of the two anchor nodes, the linear equation can be obtained as:

目标位于两球球心所在直线和切点所在切线的交点上,则目标位置的计算 公式为,The target is located at the intersection of the straight line where the centers of the two balls are located and the tangent where the tangent point is located, then the calculation formula for the target position is:

其中,k为斜率。Among them, k is the slope.

B、如果两个球相交,目标和两个锚节点可组成三角形,利用余弦定理和两 个锚节点位置求解目标位置,具体公式如下:B. If the two balls intersect, the target and the two anchor nodes can form a triangle. Use the law of cosines and the positions of the two anchor nodes to solve the target position. The specific formula is as follows:

其中,D为两个球心之间的距离,α1为第一个锚节点到目标的连线与两锚 节点连线的夹角。Among them, D is the distance between the two centers of spheres, and α1 is the angle between the line connecting the first anchor node to the target and the line connecting the two anchor nodes.

目标接收到一个锚节点信号,以该锚节点和惯导数据,按接收到二个锚节 点信号的方法进行定位。The target receives an anchor node signal, and uses the anchor node and inertial navigation data to perform positioning according to the method of receiving two anchor node signals.

2、目标位于相邻网格交界处,此时目标收到两个强度大小接近的锚节点信 号,目标越网格时采用动态虚拟网格方式,即当目标到达网格边界时,筛选出 目标接收到的四个不同方位(一般为上下左右四个方位)的最强信号,将这四 个最强信号的锚节点重新组合成新网格,根据这四个最强信号的锚节点位置, 采用加权质心法求解目标位置。2. The target is located at the junction of adjacent grids. At this time, the target receives two anchor node signals with similar strengths. When the target crosses the grid, the dynamic virtual grid method is used, that is, when the target reaches the grid boundary, the target is screened out The strongest signals received from four different orientations (generally the four orientations of up, down, left, and right), recombine the anchor nodes of the four strongest signals into a new grid, and according to the positions of the anchor nodes of the four strongest signals, The weighted centroid method is used to solve the target position.

3、响应于目标位于监测区域外,利用已经定位的监测区域边缘的普通节点 定位目标:若有三个以上普通节点与目标通信,则采用加权质心法求解目标位 置;若有两个普通节点与目标通信,则余弦定理和两个普通节点位置求解目标 位置;若有一个普通节点与目标通信,则以该普通节点和惯导数据,按接收到 二个普通节点信号的方法进行定位。3. In response to the target being located outside the monitoring area, use the already located common nodes on the edge of the monitoring area to locate the target: if there are more than three common nodes communicating with the target, use the weighted centroid method to solve the target position; if there are two common nodes communicating with the target For communication, the cosine law and the positions of two common nodes are used to solve the target position; if there is a common node communicating with the target, the common node and inertial navigation data are used to locate the target according to the method of receiving the signals of the two common nodes.

采用上述方法对多个目标进行定位,将定位结果与实测结构对比,发现该 方法的定位结果精准度能达到厘米级。Using the above method to locate multiple targets, and comparing the positioning results with the measured structure, it is found that the accuracy of the positioning results of this method can reach centimeter level.

综上,上述方法以信号最强的几个锚节点作为簇点,采用网格聚类算法将 监测区域划分成多个网格,根据目标所在网格位置以及接收到锚节点信号数量, 采用不同的方法计算目标位置,定位精确,适用于各种不同场景,具有良好的 推广性。In summary, the above method uses several anchor nodes with the strongest signal as cluster points, and uses a grid clustering algorithm to divide the monitoring area into multiple grids. According to the grid position of the target and the number of anchor node signals received, different The method calculates the target position with accurate positioning, is applicable to various scenarios, and has good generalization.

一种多目标定位系统,包括:A multi-target positioning system comprising:

信号采集模块:响应于N个目标进入监测区域,采集目标从监测区域锚节 点接收的信号。Signal acquisition module: in response to N targets entering the monitoring area, collecting signals received by the targets from the anchor nodes in the monitoring area.

网格聚类模块:将最强的前N个信号对应的锚节点作为簇心,采用网格聚 类算法将监测区域划分成N个网格。Grid clustering module: use the anchor nodes corresponding to the strongest top N signals as the cluster centers, and use the grid clustering algorithm to divide the monitoring area into N grids.

目标计算模块:各网格内,根据目标接收到的锚节点信号,计算目标的位 置。Target calculation module: in each grid, calculate the position of the target according to the anchor node signal received by the target.

目标计算模块包括第一计算模块、第二计算模块、第三计算模块、第四计 算模块和第五计算模块。The target computing module includes a first computing module, a second computing module, a third computing module, a fourth computing module and a fifth computing module.

第一计算模块:响应于目标位于网格内并且接收到大于等于三个锚节点信 号,采用加权质心法求解目标位置。The first calculation module: in response to the target being located in the grid and receiving more than or equal to three anchor node signals, the weighted centroid method is used to solve the target position.

第二计算模块:响应于目标位于网格内并且接收到二个锚节点信号,以二 个锚节点位置为球心,到目标的距离为半径画球;如果两个球相切,目标位于 两球球心所在直线和切点所在切线的交点上;如果两个球相交,利用余弦定理 和两个锚节点位置求解目标位置。The second calculation module: in response to the target being located in the grid and receiving two anchor node signals, draw a ball with the two anchor node positions as the center of the sphere and the distance to the target as the radius; if the two spheres are tangent, the target is located at two At the intersection of the straight line where the center of the sphere is located and the tangent where the tangent point is located; if the two spheres intersect, use the law of cosines and the positions of the two anchor nodes to find the target position.

第三计算模块:响应于目标位于网格内并且接收到一个锚节点信号,以该 锚节点和惯导数据,按接收到二个锚节点信号的方法进行定位。The third calculation module: in response to the target being located in the grid and receiving an anchor node signal, the anchor node and inertial navigation data are used to perform positioning according to the method of receiving two anchor node signals.

第四计算模块:响应于目标位于相邻网格交界处,筛选出目标接收到的四 个不同方位的最强信号,根据这四个最强信号的锚节点位置,采用加权质心法 求解目标位置。The fourth calculation module: in response to the target being located at the junction of adjacent grids, filter out the strongest signals received by the target in four different directions, and use the weighted centroid method to solve the target position according to the anchor node positions of the four strongest signals .

第五计算模块:响应于目标位于监测区域外,利用已经定位的监测区域边 缘的普通节点定位目标;若有三个以上普通节点与目标通信,则采用加权质心 法求解目标位置;若有两个普通节点与目标通信,则余弦定理和两个普通节点 位置求解目标位置;若有一个普通节点与目标通信,则以该普通节点和惯导数 据,按接收到二个普通节点信号的方法进行定位。The fifth calculation module: in response to the target being located outside the monitoring area, use the already located common nodes on the edge of the monitoring area to locate the target; if there are more than three common nodes communicating with the target, use the weighted centroid method to solve the target position; if there are two common nodes If the node communicates with the target, the cosine law and two common node positions can solve the target position; if there is a common node communicating with the target, then the common node and the inertial navigation data are used to locate the position according to the method of receiving the signals of the two common nodes.

一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包 括指令,所述指令当由计算设备执行时,使得所述计算设备执行多目标定位方 法。A computer-readable storage medium storing one or more programs comprising instructions that, when executed by a computing device, cause the computing device to perform a multi-object location method.

一种计算设备,包括一个或多个处理器、存储器以及一个或多个程序,其 中一个或多个程序存储在所述存储器中并被配置为由所述一个或多个处理器执 行,所述一个或多个程序包括用于执行多目标定位方法的指令。A computing device comprising one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the One or more programs include instructions for performing the multi-object localization method.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计 算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结 合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包 含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、 CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品 的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/ 或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或 方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式 处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机 或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流 程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It should be understood that each process and/or block in the flowchart and/or block diagrams, and a combination of processes and/or blocks in the flowchart and/or block diagrams can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备 以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的 指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流 程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使 得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处 理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个 流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上仅为本发明的实施例而已,并不用于限制本发明,凡在本发明的精神 和原则之内,所做的任何修改、等同替换、改进等,均包含在申请待批的本发 明的权利要求范围之内。The above are only embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention are included in the pending application of the present invention. within the scope of the claims.

Claims (10)

1.一种多目标定位方法,其特征在于:包括,1. A multi-target positioning method, characterized in that: comprising, 响应于N个目标进入监测区域,采集目标从监测区域锚节点接收的信号;In response to N targets entering the monitoring area, collecting signals received by the targets from anchor nodes in the monitoring area; 将最强的前N个信号对应的锚节点作为簇心,采用网格聚类算法将监测区域划分成N个网格;The anchor nodes corresponding to the strongest top N signals are used as cluster centers, and the monitoring area is divided into N grids by using a grid clustering algorithm; 各网格内,根据目标接收到的锚节点信号,计算目标的位置。In each grid, the position of the target is calculated according to the anchor node signal received by the target. 2.根据权利要求1所述的一种多目标定位方法,其特征在于:锚节点将自身位置信息和RSSI值发送给目标。2. A multi-target positioning method according to claim 1, characterized in that: the anchor node sends its own position information and RSSI value to the target. 3.根据权利要求1所述的一种多目标定位方法,其特征在于:网格聚类算法中N个簇心保持不变。3. A multi-target positioning method according to claim 1, characterized in that: the N cluster centers remain unchanged in the grid clustering algorithm. 4.根据权利要求1所述的一种多目标定位方法,其特征在于:响应于目标位于网格内并且接收到大于等于三个锚节点信号,采用加权质心法求解目标位置;4. A kind of multi-target positioning method according to claim 1, characterized in that: in response to the target being located in the grid and receiving more than or equal to three anchor node signals, the weighted centroid method is used to solve the target position; 响应于目标位于网格内并且接收到二个锚节点信号,以二个锚节点位置为球心,到目标的距离为半径画球;如果两个球相切,目标位于两球球心所在直线和切点所在切线的交点上;如果两个球相交,利用余弦定理和两个锚节点位置求解目标位置;In response to the target being located in the grid and receiving two anchor node signals, draw a ball with the two anchor node positions as the center of the sphere and the distance to the target as the radius; if the two spheres are tangent, the target is located on the line where the centers of the two spheres are located and the intersection point of the tangent line where the tangent point is located; if the two balls intersect, use the law of cosines and the positions of the two anchor nodes to solve the target position; 响应于目标位于网格内并且接收到一个锚节点信号,以该锚节点和惯导数据,按接收到二个锚节点信号的方法进行定位。In response to the target being located in the grid and receiving one anchor node signal, the anchor node and inertial navigation data are used to perform positioning according to the method of receiving two anchor node signals. 5.根据权利要求1所述的一种多目标定位方法,其特征在于:响应于目标位于相邻网格交界处,筛选出目标接收到的四个不同方位的最强信号,根据这四个最强信号的锚节点位置,采用加权质心法求解目标位置。5. A kind of multi-target positioning method according to claim 1, characterized in that: in response to the target being located at the junction of adjacent grids, the strongest signals of four different orientations received by the target are screened out, and according to the four The anchor node position of the strongest signal, using the weighted centroid method to solve the target position. 6.根据权利要求1所述的一种多目标定位方法,其特征在于:响应于目标位于监测区域外,利用已经定位的监测区域边缘的普通节点定位目标;6. A kind of multi-target positioning method according to claim 1, characterized in that: in response to the target being located outside the monitoring area, utilizing the common nodes on the edge of the monitoring area already located to locate the target; 若有三个以上普通节点与目标通信,则采用加权质心法求解目标位置;If there are more than three common nodes communicating with the target, the weighted centroid method is used to solve the target position; 若有两个普通节点与目标通信,则余弦定理和两个普通节点位置求解目标位置;If there are two common nodes communicating with the target, then the law of cosines and the positions of the two common nodes solve for the target position; 若有一个普通节点与目标通信,则以该普通节点和惯导数据,按接收到二个普通节点信号的方法进行定位。If there is an ordinary node communicating with the target, the ordinary node and the inertial navigation data are used to locate according to the method of receiving the signals of two ordinary nodes. 7.一种多目标定位系统,其特征在于:包括,7. A multi-target positioning system, characterized in that: comprising, 信号采集模块:响应于N个目标进入监测区域,采集目标从监测区域锚节点接收的信号;Signal acquisition module: in response to N targets entering the monitoring area, collecting signals received by the targets from the anchor nodes in the monitoring area; 网格聚类模块:将最强的前N个信号对应的锚节点作为簇心,采用网格聚类算法将监测区域划分成N个网格;Grid clustering module: use the anchor nodes corresponding to the strongest top N signals as the cluster center, and use the grid clustering algorithm to divide the monitoring area into N grids; 目标计算模块:各网格内,根据目标接收到的锚节点信号,计算目标的位置。Target calculation module: in each grid, calculate the position of the target according to the anchor node signal received by the target. 8.根据权利要求7所述的一种多目标定位系统,其特征在于:目标计算模块包括第一计算模块、第二计算模块和第三计算模块;8. A kind of multi-target positioning system according to claim 7, characterized in that: the target calculation module comprises a first calculation module, a second calculation module and a third calculation module; 第一计算模块:响应于目标位于网格内并且接收到大于等于三个锚节点信号,采用加权质心法求解目标位置;The first calculation module: in response to the target being located in the grid and receiving more than or equal to three anchor node signals, the weighted centroid method is used to solve the target position; 第二计算模块:响应于目标位于网格内并且接收到二个锚节点信号,以二个锚节点位置为球心,到目标的距离为半径画球;如果两个球相切,目标位于两球球心所在直线和切点所在切线的交点上;如果两个球相交,利用余弦定理和两个锚节点位置求解目标位置;The second calculation module: in response to the target being located in the grid and receiving two anchor node signals, draw a ball with the two anchor node positions as the center of the sphere and the distance to the target as the radius; if the two spheres are tangent, the target is located at two At the intersection of the straight line where the center of the ball is located and the tangent where the tangent point is located; if the two balls intersect, use the law of cosines and the positions of two anchor nodes to solve the target position; 第三计算模块:响应于目标位于网格内并且接收到一个锚节点信号,以该锚节点和惯导数据,按接收到二个锚节点信号的方法进行定位。The third calculation module: in response to the target being located in the grid and receiving one anchor node signal, using the anchor node and the inertial navigation data to perform positioning according to the method of receiving two anchor node signals. 9.根据权利要求7所述的一种多目标定位系统,其特征在于:目标计算模块包括第四计算模块;9. A multi-target positioning system according to claim 7, characterized in that: the target calculation module includes a fourth calculation module; 第四计算模块:响应于目标位于相邻网格交界处,筛选出目标接收到的四个不同方位的最强信号,根据这四个最强信号的锚节点位置,采用加权质心法求解目标位置。The fourth calculation module: in response to the target being located at the junction of adjacent grids, filter out the strongest signals received by the target in four different directions, and use the weighted centroid method to solve the target position according to the anchor node positions of the four strongest signals . 10.根据权利要求7所述的一种多目标定位系统,其特征在于:目标计算模块包括第五计算模块;10. A multi-target positioning system according to claim 7, characterized in that: the target calculation module includes a fifth calculation module; 第五计算模块:响应于目标位于监测区域边缘,利用已经定位的监测区域边缘的普通节点定位目标;The fifth calculation module: in response to the target being located at the edge of the monitoring area, using the already located common nodes at the edge of the monitoring area to locate the target; 若有三个以上普通节点与目标通信,则采用加权质心法求解目标位置;If there are more than three common nodes communicating with the target, the weighted centroid method is used to solve the target position; 若有两个普通节点与目标通信,则余弦定理和两个普通节点位置求解目标位置;If there are two common nodes communicating with the target, then the law of cosines and the positions of the two common nodes solve for the target position; 若有一个普通节点与目标通信,则以该普通节点和惯导数据,按接收到二个普通节点信号的方法进行定位。If there is an ordinary node communicating with the target, the ordinary node and the inertial navigation data are used to locate according to the method of receiving the signals of two ordinary nodes.
CN201910659653.3A 2019-07-22 2019-07-22 A multi-target positioning method and system Active CN110376548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910659653.3A CN110376548B (en) 2019-07-22 2019-07-22 A multi-target positioning method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910659653.3A CN110376548B (en) 2019-07-22 2019-07-22 A multi-target positioning method and system

Publications (2)

Publication Number Publication Date
CN110376548A true CN110376548A (en) 2019-10-25
CN110376548B CN110376548B (en) 2023-06-20

Family

ID=68254550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910659653.3A Active CN110376548B (en) 2019-07-22 2019-07-22 A multi-target positioning method and system

Country Status (1)

Country Link
CN (1) CN110376548B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900886A (en) * 2022-05-16 2022-08-12 浙江中烟工业有限责任公司 Optimal positioning method based on iterative optimal anchor node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158956A (en) * 2011-03-08 2011-08-17 哈尔滨工业大学 Improved weighting trilateral positioning method based on RSSI (received signal strength indicator) in wireless sensor network
US20160187460A1 (en) * 2014-05-14 2016-06-30 Shenyang Institute Of Automation Of The Chinese Academy Of Sciences Rssi positioning method based on frequency-hopping spread spectrum technology
CN106792496A (en) * 2015-11-25 2017-05-31 大唐移动通信设备有限公司 A kind of localization method and system based on region division
CN108716918A (en) * 2018-04-24 2018-10-30 合肥工业大学 A kind of RSSI indoor positioning algorithms based on Grid Clustering

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158956A (en) * 2011-03-08 2011-08-17 哈尔滨工业大学 Improved weighting trilateral positioning method based on RSSI (received signal strength indicator) in wireless sensor network
US20160187460A1 (en) * 2014-05-14 2016-06-30 Shenyang Institute Of Automation Of The Chinese Academy Of Sciences Rssi positioning method based on frequency-hopping spread spectrum technology
CN106792496A (en) * 2015-11-25 2017-05-31 大唐移动通信设备有限公司 A kind of localization method and system based on region division
CN108716918A (en) * 2018-04-24 2018-10-30 合肥工业大学 A kind of RSSI indoor positioning algorithms based on Grid Clustering

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
常家银: "基于RSSI和APIT的无线传感器网络定位算法的改进研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
林志贵 等: "融合多跳机制的三维加权APIT定位算法", 《控制工程》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900886A (en) * 2022-05-16 2022-08-12 浙江中烟工业有限责任公司 Optimal positioning method based on iterative optimal anchor node

Also Published As

Publication number Publication date
CN110376548B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN113587933B (en) Indoor mobile robot positioning method based on branch-and-bound algorithm
CN112526513B (en) Millimeter wave radar environment map construction method and device based on clustering algorithm
CN111198389B (en) Positioning method and electronic equipment
KR101343174B1 (en) Determining a location of a mobile device using a location database
CN109683135A (en) A kind of sound localization method and device, target capturing system
CN108732582A (en) Vehicle positioning method and device
BR112012017530B1 (en) MANAGING A LOCATION DATABASE FOR NETWORK-BASED POSITIONING SYSTEM
CN113569958B (en) Laser point cloud data clustering method, device, equipment and medium
Walia et al. Three dimensional optimum node localization in dynamic wireless sensor networks
CN111538043B (en) Method and device for eliminating non-through-view satellite in complex environment and electronic equipment
CN103256914B (en) A kind of method and system calculating silt arrester inundated area based on DEM
CN108810802A (en) A kind of parking garage vehicle positioning method based on iBeacon
CN110376548B (en) A multi-target positioning method and system
CN112526572B (en) Network switching method and positioning system for indoor and outdoor seamless navigation
CN115629410A (en) Method, system and product for positioning along street in urban complex environment
CN113993069B (en) Indoor positioning method and device and electronic equipment
Guo et al. A localization algorithm for underwater wireless sensor networks based on ranging correction and inertial coordination
CN117908003B (en) Space people counting method and system
CN114299147A (en) Positioning method, positioning device, storage medium and electronic equipment
CN115235482A (en) Map update method, device, computer equipment and medium
CN117889858A (en) Positioning method, device, system and medium for multiple fire targets
CN112995902B (en) Remote wide area network positioning method, device, equipment and storage medium
CN111220943A (en) Positioning method, positioning system, computer-readable storage medium and vehicle
CN104457756B (en) A kind of sea surface drag localization method based on two-shipper ranging
CN110221322B (en) GPS/BDS/GLONASS three-constellation quick satellite selection method based on class balance configuration and regular trigonometry

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