Keywords

1 Introduction

Wireless location network uses the characteristics of radio waves to determine the specific location of radio equipment in the network. People have proposed various wireless positioning methods, including the arrival time of signals, the arrival angle of signals, the intensity of signals and the phase of signals. In [1], the current several indoor positioning technologies are introduced, such as visual positioning, infrared positioning, pole positioning, ultrasonic positioning, WLAN positioning, RFID positioning, inertial navigation, geomagnetic localization, Bluetooth and ZigBee positioning and cellular network positioning.

Currently, Ultra-wideband (UWB) technology is being applied to wireless location networks. [2] points out that ultra-wideband technology can transmit data at the nanosecond level and below by transmitting ultra-narrow pulses, which can achieve GHz-level data bandwidth with low transmission power and no carrier. Because of its high bandwidth, theoretically based on Time of Arrived (TOA) or Time Difference Of Arrived (TDOA) method can achieve centimeter-level positioning. In [3] and [4], the development of ultra-wideband positioning technology, implementation principles and research prospects are reviewed. In [5], the time of arrival (TOA) algorithm is introduced in detail, and the indoor positioning performance of UWB is explored.

In [6], the Cramér–Rao bound in the satellite positioning scenario is introduced as the evaluation criterion of the positioning accuracy. In [7], the square error of position is used in wireless location network. In addition, [8] points out that for wireless wideband location networks, such as wireless sensor networks, resource allocation and optimization play a very important role in positioning accuracy because of the system resources are limited. In the current research of wireless location network, there are few researches about the optimal allocation when resources are limited.

This paper uses the square position error bound in [9] as the criterion for the positioning accuracy of wireless location networks, and focuses on the research of networks based on UWB technology. Base on the analysis of the impact of power allocation in wireless location network on positioning accuracy, the power allocation algorithm using particle swarm optimization theory is proposed.

2 Wireless Location Network

As shown in Fig. 1, wireless location network contains the anchors and agents. According to [7], agents cannot determine their position, and anchors obtain their positions through the GPS positioning system or other means. The agent can range with the anchor, and can also range with other agents. In fact, an agent needs at least three anchors to achieve positioning.

Fig. 1
figure 1

Wireless location network

The distance between agent \( k \) and \( j \) is given by

$$ d_{kj} = \left\| {{\mathbf{p}}_{{\mathbf{k}}} - {\mathbf{p}}_{{\mathbf{j}}} } \right\| $$
(1)

The angle from agent \( k \) and \( j \) is given by

$$ \varphi_{kj} = \arctan (\frac{{y_{k} - y_{j} }}{{x_{k} - x_{j} }}) $$
(2)

According to [10], the square position error bound of agent \( k \) is given by

$$ E\left\{ {\left\| {{\hat{\mathbf{p}}}_{{\mathbf{k}}} - {\mathbf{p}}_{{\mathbf{k}}} } \right\|} \right.\left. {^{2} } \right\} \ge p({\mathbf{p}}_{{\mathbf{k}}} ) = tr\left\{ {{\mathbf{J}}_{e}^{ - 1} ({\mathbf{p}}_{{\mathbf{k}}} )} \right\} $$
(3)

It has been shown in [10] that the network EFIM of \( N_{a} \) agents in a cooperative localization network can be written as

$$ {\mathbf{J}}_{e}^{G} = \left[ {\begin{array}{*{20}l} {{\mathbf{J}}_{1,1} } \hfill & \ldots \hfill & {{\mathbf{J}}_{{1,N_{a} }} } \hfill \\ \vdots \hfill & {{\mathbf{J}}_{i,j} } \hfill & \vdots \hfill \\ {{\mathbf{J}}_{{N_{a} ,1}} } \hfill & \ldots \hfill & {{\mathbf{J}}_{{N_{a} ,N_{a} }} } \hfill \\ \end{array} } \right] $$
(4)

where

$$ i = j,{\mathbf{J}}_{ij} = {\mathbf{J}}_{e}^{A} \left( {{\mathbf{p}}_{{\mathbf{i}}} } \right) + \sum\limits_{k \ne i} {{\mathbf{C}}_{ik} } $$
(5)
$$ i \ne j,{\mathbf{J}}_{ij} = - {\mathbf{C}}_{ij} $$
(6)

\( {\mathbf{J}}_{e}^{A} \left( {{\mathbf{p}}_{k} } \right) \) and \( {\mathbf{C}}_{kj} \) are the ranging information of agent \( k \) obtained from all \( N_{b} \) anchors and agent \( j \), expressed as

$$ {\mathbf{J}}_{e}^{A} ({\mathbf{p}}_{{\mathbf{k}}} ) = \sum\limits_{{j \in N_{b} }} {\lambda_{kj} } {\mathbf{q}}_{kj} {\mathbf{q}}_{kj}^{T} $$
(7)
$$ {\mathbf{C}}_{kj} = {\mathbf{C}}_{jk} = \left( {\lambda_{kj} + \lambda_{jk} } \right){\mathbf{q}}_{kj} {\mathbf{q}}_{kj}^{T} $$
(8)

where \( {\mathbf{q}}_{kj} = \left[ {\cos \varphi_{kj} ,\sin \varphi_{kj} } \right]^{T} \)

Moreover, the range information intensity can be given by

$$ \lambda_{kj} = \xi_{kj} \frac{{p_{k} \beta_{k}^{2} }}{{d_{kj}^{\delta } }} $$
(9)

where \( \xi_{kj} \) is the range channel gain between agent \( k \) and \( j \). \( p_{k} \) is the normalized power and \( \beta_{k} \) is the effective bandwidth allocated to agent \( k \).

According to [11], the total SPEB of all agents can be obtained as

$$ \sum\limits_{1}^{{N_{a} }} {p({\mathbf{p}}_{{\mathbf{k}}} )} = tr\left\{ {\left( {{\mathbf{J}}_{e}^{G} } \right)^{ - 1} } \right\} $$
(10)

With the square position error bound (SPEB), the positioning accuracy of the network can be evaluated. Research on the power resources in wireless location network mainly refers to the function of the square position error bound and the transmit power. By constraining the power allocation of agents in the network, it is further explored how to optimize the power allocation and increase the network positioning accuracy.

In fact, the optimal power allocation problem in this paper can be modeled as follows

$$ \hbox{min} \sum\limits_{{k \in N_{a} }} {\sum\limits_{{j \in N_{a} \cup N_{b} }} {p\left( {{\mathbf{p}}_{{\mathbf{k}}} ,\left\{ {p_{j} } \right\}} \right)} } $$
$$ \begin{aligned} s.t.\quad & p_{j} \le p_{peak} \quad \forall j = 1,2, \ldots N_{a} \cup N_{b} \\ & \sum\limits_{{j \in N_{a} \cup N_{b} }} {p_{j} \le p_{total} } \\ \end{aligned} $$
(11)

where \( p_{j} \) is the normalized power of each agent in the network.

3 Algorithm Design

Particle swarm optimization algorithm is initialized to a group of random particles (random solution), and then find the optimal solution through iteration. In each iteration, the particle updates itself by keeping track of the two extremes; the first one is the optimal solution found by the particle itself, which is called the individual extreme; the other extreme is the optimal one found so far for the entire population, this extreme is the global maximum. Alternatively, instead of using the entire population but only one of them as a particle’s neighbor, the extreme value in all neighbors is the local extreme.

Based on the wireless location network, the power allocation algorithm designed in this paper is as follows.

Step 1: Initialize the parameters of Particle swarm optimization. \( c_{1} \) = 1.4962, \( c_{2} \) = 1.4962, \( w \) = 0.7268.

Step 2: According to the above derivation, calculate the square position error bound of each agent in the wireless location network. Each agent is located with all other nodes, including the anchor and the agent. In this process, the normalized transmit power of the node needs to be limited according to the constraints.

Step 3: Calculate the square position error bound of the whole wireless location network, and get the function of the square position error bound of the wireless location network and the normalized transmitting power of the agents as the objective function of particle swarm optimization.

Step 4: Substituting the objective function and constraints into the particle swarm optimization algorithm for optimal solution. All vectors to be optimized form the dimension of power, i.e.

$$ {\mathbf{p}}_{j} = \left( {p_{1} ,p_{2} , \ldots p_{j} } \right) $$
(12)

In order to obtain the global optimal solution of power, we set the algorithm precision as \( 10^{ - 6} \), the maximum number of iterations is 250. All the algorithm parameters are given in Table 1. N represents the number of particles. \( c_{1} \) and \( c_{2} \) mean the learning factors of Particle swarm optimization. \( w \) represents inertia weight of Particle swarm optimization.

Table 1 Algorithm parameters

4 Simulation Analysis

The typical ranging signals are UWB signal (CM1 in the IEEE 802.15.4a channel model). And the pulse width of 2 ns Gaussian pulse signal (occupied bandwidth of 3.1–3.6 GHz) as the transmit waveform. Other parameters are given in Table 2.

Table 2 UWB signal parameters

Set up such a wireless location network, there are some agents in the network (label) randomly distributed in a square area, the square area is U [0,10] * [0,10]. Also set 4 anchors (base station). The total power is normalized to unity and the power peak for a single agent is 0.4. According to Table 2, the range channel gain is \( 10^{15} \). The path attenuation factor is 2.

In order to compare the impact of the transmit power of the anchors and the agents on the positioning accuracy of the network, different transmit power is used for the anchor and the agent. In this case, when the agent and the anchor use different transmit power, the square position error bound of the network with respect to the transmit power can be obtained, as shown in Fig. 2.

Fig. 2
figure 2

Effect of signal transmit power on positioning accuracy

It can be seen from Fig. 2 that the influence of power of anchors and agents on the square position error bound of network is different. Obviously, when the transmit power of the anchor and the agent reach the maximum, the square position error bound of the location network can reach the minimum, and the network’s positioning accuracy reaches the highest. However, it is not clearly from Fig. 2 that the anchor and the agent have different influences on the square position error bound of the positioning network. In order to know more clearly the different influences of these two on the network positioning accuracy, a location network with 4 agents and 4 anchors will be used in simulation. The location of anchors and agents is shown in Fig. 3. Red dots represent anchors, while blue dots represent agents.

Fig. 3
figure 3

Location of anchors and agents

First, the agents of the network use the same transmission power, and the anchors use the algorithm in this paper to optimize the power allocation. Then the corresponding power allocation value of the anchors can be obtained and the square position error bound of the network can be obtained. Then, the anchors of the network use the same transmission power, and the agents use the algorithm in this paper to optimize the power allocation, then the corresponding power allocation value of the agents can be obtained and the square position error bound of the network can be obtained. In this way, the influence of different power distributions on the network positioning accuracy can be compared by comparing the square position error bound of the two. It can be seen that the square position error bound of the network obtained by optimizing the power of the agents is smaller than the gain of the optimized anchors. According to Table 3, It can be seen that the power of the optimized agents is more conducive to improving the network positioning accuracy.

Table 3 Optimization results

Figure 4 shows the power allocation of anchors. It can be seen that the power allocated by anchor 1 is the lowest and the power allocated by anchor 4 is the highest. As can be seen from Fig. 3, the anchor 1 and the agent 1 and 2 approximate the geometric relationship in a straight line. In this way, the anchor 1 contributes little to improving the positioning accuracy of the two agents, so the power allocated to the anchor node 1 is also reasonable. Anchor 2 and 4 have a similar power allocation because all the agents are more concentrated in the location between these two anchors so the power allocated to anchor 2 and 4 is similar.

Fig. 4
figure 4

Power allocation of anchors

Figure 5 shows the power allocation of the agents. It can be seen that the power allocated by the agent 1 is the lowest and the power allocated by the agent 4 is the highest. In fact, since the distance between agent 1 and 2, agent 1 and 3 is relatively close, the agent 1 is at an intermediate position between the agent 2 and 3, the transmission power required for ranging between agent 1 and them can be lowered, and the agent 4 is far away from other agents, the transmission power required for ranging between the agent 4 and other agents is obviously higher.

Fig. 5
figure 5

Power allocation of agents

In this paper, UWB ranging technology is used to locate the agents of wireless location network. The square position error bound is introduced as the standard of positioning accuracy of wireless location network. The function of the transmit power of ranging signal and the square position error bound of network is established as the objective function of optimization and the necessary constraints are added. Particle swarm optimization is used to iteratively solve the optimization objective function to get the optimized power configuration solution of the network. The optimization results show that by optimizing the transmission power of network nodes, the positioning accuracy can be significantly improved. At the same time, the transmit power of the anchor and the agent has different impact on the positioning accuracy, which needs to be optimized according to the actual situation. Furthermore, when the anchor and the agent of the location network perform power optimization at the same time, the positioning accuracy of the network will be greatly improved.