Background technology
Wireless sensor network is used for environment is carried out observing and controlling, and one of them important application is target following.Because the sensor node volume is little, cheap, and sensor network disposition is at random, has self-organization, characteristics such as robustness and disguise, sensor network is very suitable for the location and the tracking of moving target.On the other hand, it is limited that wireless sensor network has the energy content of battery and the computing capability strictness of network node again, the huge and high-density deployment of number of nodes, and features such as network topology change complexity make relevant subject study have challenge.
Domestic and international many scholars have carried out deep research to the wireless senser monotrack, have proposed a lot of target tracking algorisms, mainly contain double base detection algorithm, information-driven cooperation track algorithm and transmit the tree track algorithm.In the above algorithm, based on the track algorithm that transmits tree is a kind of based on the dynamic bunch of distributed algorithm of choosing, promptly set up a Dynamic Tree Structure in the target area, and along with moving of target dynamically added or deletion of node, to reach the efficient tracking that guarantees target and to reduce the node communication expense, the purpose that prolongs network life.Distributed algorithm prolongs network life owing to can reduce energy consumption, is present main flow and hot research direction.
Chen W P, Hou J C, Sha L has studied the sonic transducer network and has carried out the target following problem, utilize Voronoi (Thiessen polygon) figure to realize a kind of dynamic bunch of creation method, defective is a bunch head election contest, needs to specify in advance some nodes as candidate's bunch first set, narrower (the unlimited dynamic bunch of acoustic target follow-up study of sensor network of applicability, IEEE Transactions on Mobile Computing, 3 (3), 2004:258-271).Zhang W S, Cao G H is used for the wireless sensor network self-organizing with the DCTC framework, this method is by dynamic increase and subdue node, guarantee to generate tree and have lower energy consumption and higher information acquisition amount simultaneously, defective is to calculate too complexity, be difficult to use (based on the energy-efficient target tracking algorithm, Proc.of the IEEE Military Communications Conference, 2003:597-602).Wan Jiangwen proposes dynamic bunch of algorithm under the time asynchronous condition, has tracking accuracy preferably, and balance the network energy consumption, what defective was the initial cluster head is chosen as the nearest node of distance objective, do not consider capacity factor (asynchronous unlimited sensor network distribution type target following of time. the high-tech communication, 2009:1026-1030).
Summary of the invention
The present invention is directed to the deficiency that existing wireless sensor network target tracking technique exists, provide a kind of take into account residue energy of node and with the wireless sensor network of the distance of target method for tracking target based on dynamic bunch of mechanism.
Wireless sensor network of the present invention is based on the method for tracking target of dynamic bunch of mechanism, be limited to following hypothesis: definition perception zone is F, N sensor node isodensity distribution at random, comprise ordinary node and converge (Sink) node, the transmission radiofrequency signal of target period, ordinary node only ought receive that group bunch signal just changes operating state later on over to, is in resting state At All Other Times, and periodically echo signal is detected; Fig. 1 has provided the sensor construction system model of simplifying: 1) node space is disposed isodensity and at random, and coordinate position (x, y) as can be known; 2) each node has unique ID, has the data fusion function; 3) node isomorphism equity, the radio transmission scope is identical; 4) node has group bunch ability.
Specifically may further comprise the steps:
(1) target following process
The sensor node set is A={A
1... A
n, the communication radius of transducer is R
N, effective transmission radius of echo signal is R
s(or detecting distance of title node), both satisfy R
s≤ R
N/ 2, so just can guarantee that all can detect the sensor node of target, all in communication range each other, and only can form one bunch, as shown in Figure 2.The echo signal intensity RSSI value that sensor node receives is P
i(d
i), d wherein
iBe the distance of node i and tracking target, the dump energy of node i is e
iThe initial value of node electric weight is 1 (promptly 100%).The flow process of dynamic bunch of track algorithm as shown in Figure 3, the target following process comprises that the establishment of initial cluster and clustering architecture dynamically adjust:
1. the establishment of initial cluster
The visioning procedure figure of initial cluster as shown in Figure 4.Because sensor resource is limited, in order to improve the life-span of sensor network, adopts dynamic clustering architecture to carry out distributed tracking, when not having detection task, all the sensors is in resting state, does not form clustering architecture, to save energy; When target entered the detection area of sensor network for the first time, node was sensed the RSSI intensity of target greater than P
0The time, promptly the distance of sensor node and target is less than threshold value R
0The time, these nodes constitute set
Their fellowships are in the election contest process of bunch head; The RSSI intensity that node receives is less than P
0Or do not detect echo signal, will continue to keep resting state; If the detecting of node distance is R
s, when target apart from nodal distance at R
0≤ (R
s-always be detected e) time; E=0.1R generally
s, use modified model radio free space propagation model:
Received power intensity when wherein, P (d) expression node and target range are d; P (d
0) be that reference range is d
0The time signal strength signal intensity; N represents the scale factor between path and the path loss, depends on the structure of building and the material of use; Get d during realization
0Be 1, n=2; Node set
Definition:
END for node
iValue, wherein e
iBe sensor node B
iCurrent dump energy, d
iBe the distance of node i and tracking target, R
sBe the perception radius of transducer, α, β are weight factor, and node i is calculated current END automatically
iValue is if target more than the appearance once of zone, is then used the END that upgraded last time at this
iValue, and the ID of broadcast node, phase related control information such as group bunch enable signal etc., node i also can be received the broadcast message that other node in the B set sends simultaneously;
The END value of node i comparison self and the END value that receives size are if the END value of this node then enters wait state less than the current END value of any one node; If the END value of this node then is elected as a bunch head (CH greater than any one node END value
0), and issue group bunch information activates node corresponding participation group bunch; If the END value of this node is identical with other nodes and be maximum simultaneously, then select ID number less as CH
0, be elected as CH
0Node issue group bunch information, group bunch information comprises node ID, positional information and time synchronized label, and activate the node participation group bunch that is in wait state by certain probability;
Other wait node of B set (election contest bunch member node set C is an example with node k) is received the group bunch signal of bunch head, and node k keeps CH
0ID and positional information.Node k produces one 0~1 random number then, and with the END of self node
kRelatively, if greater than END
k, then not adding bunch, node enters resting state again; If less than END
k, then preserve CH
0Information when adjusting (bunch dynamically use), it is synchronous with bunch head to adjust local clock, becomes a bunch member.Above step has been finished the establishment of an initial cluster.By formula (2) as can be known, node k dump energy e
kBig more, distance objective d
kMore little, corresponding END
kBe worth also greatly more, the random number that node k produces is less than END
kProbability also big more, the probability that becomes bunch member is just big more, as the dump energy e of node k
kMore little, distance objective d
kBig more, the probability that becomes bunch member is more little.Network energy can be fully utilized like this, and energy consumption also can be averaged in to each node, prolongs network life, and the near node measurement error of distance objective is less simultaneously, guarantees tracking accuracy.
2. clustering architecture is dynamically adjusted, and comprises bunch member's the adjustment and the adjustment of bunch head
A bunch of member's adjustment
Fig. 5 adjusts schematic diagram for a bunch member.Bunch target RSSI signal that the member receives changes along with moving of target, and node j self carries out record simultaneously in the moment that sends target position information.When continuous three times the record the target location all greater than R
0The time, this node j sends to leader cluster node and withdraws from signal and withdraw from clustering architecture automatically, leader cluster node receive node j withdraw from information after, with node j deletion from bunch member's tabulation, be not re-used as the Data Source that calculates target, and the signal that allows new node to add of broadcasting simultaneously, the non-bunch of member node h that receives a bunch broadcast singal in receiving target position continuously all less than R
0After, calculate the END of self
hValue, if the random number of generation 0-1 is less than END
h, then to select to add bunch head, solicited message comprises self ID, positional information, END
hIf values etc. are greater than END
h, then not adding a bunch head, bunch head is selected maximum END after receiving node request adding information
hValue node adds bunch;
The adjustment of B bunch of head
Along with moving of target, the distance of target range bunch head is more and more far away, as the distance of the target range bunch head d that satisfies condition
CH>ε R
sThe time (ε=0.4~0.5), start bunch head and transfer mechanism, work as the prevariety head this moment and deteriorate to interim bunch of head, interim bunch of head sends bunch head to bunch member and adjusts signal, bunch member is when a bunch hair send target information, again compete a bunch head with non-bunch of member node sensing target strength according to the END value, after new bunch head is determined, a former bunch of CH
0Send bunch end signal, a bunch head deteriorates to ordinary node, and node (former bunch of member and sense the new node of target) joins new bunch head by probability, the tracking of a beginning new round again.
(2) location of target and prediction
After initial cluster formed, the node member in joining bunch was defined as set D={D
1D
m; target coordinate constantly is (x; y); the RSSI intensity-conversion that member node in bunch periodically will be detected target becomes accordingly apart from d; in chronological sequence journal is in the internal memory of oneself; send to a bunch head then, leader cluster node i utilizes the maximum likelihood estimation technique that the target location is positioned according to bunch member's positional information with apart from d.Formula is used in conversion apart from d:
Use the position of maximum likelihood estimation technique location current goal then.
Target prediction is exactly next position and speed constantly of target of prediction, carries out redistributing of task and resource in view of the above.The target prediction algorithm mainly contains sequential least-squares prediction algorithm, and Bayes's filtering is estimated, Kalman filtering algorithm, particle filter.For reducing energy loss and the time delay that complicated calculations such as iteration are brought, choose the least square method curve and estimate target is predicted.If obeying following polynomial function, the target travel curve distributes:
When making following formula get minimum value,
Approach most actual function and distribute, promptly
Obtain following formula at last:
Try to achieve a
kThe function that can obtain target distributes, and predicts next position constantly thus.
Above-mentioned method for tracking target, broadcast node END (energy and distance) value method in the zone is adopted in the formation of initial cluster head, take into account residue energy of node and with the distance of target, effectively simple; Participating in choosing of target following node, not only consider the dump energy situation of node, and only choose of the node participation tracking of the RSSI signal strength signal intensity of receiving target greater than certain threshold value.The notion of interim bunch of head is introduced in dynamic bunch adjustment, guarantees that target is not lost in the process of next bunch of foundation.Forecasting mechanism is introduced in target following, adopts least square method that target trajectory is carried out curve fitting.
The present invention is based on a bunch choice mechanism of RSSI intensity, the sub-clustering algorithm take into account residue energy of node and with the factors such as RSSI signal strength signal intensity of target, the establishment of initial cluster is simply effective, interdependent node selects whether to add a bunch head according to dump energy and echo signal intensity, according to moving of target, clustering architecture is dynamically adjusted, and wakes respective nodes in real time up target is implemented to continue to follow the tracks of.When guaranteeing tracking accuracy, reduce energy consumption, prolong network life.
Embodiment
Utilize Matlab that method of the present invention is carried out emulation, to assess the feasibility of the group bunch algorithm that is proposed.
At first set up the two dimension target motion model:
x
k=Φx
k-1+Γw
k (6)
(1) when target moves with uniform velocity,
Be the dbjective state variable, and promptly (x, y)
TBe position vector,
Be velocity vector, Φ is a state-transition matrix, and Γ is the noise input matrix, w
kBe the zero-mean white Gaussian noise, its value is respectively:
(2) when target is done variable motion (y direction),
Be the dbjective state variable, Φ is a state-transition matrix, and Γ is the noise input matrix, w
kBe the zero-mean white Gaussian noise, its value is respectively:
Hypothetical target moves in two-dimensional space, and the perception zone is that (0m is 0m) to (200m, rectangular area 200m).Parameter is provided with as following table:
| Parameter |
Describe |
Value |
| R
N |
The node communication radius |
40m |
| R
s |
Target effective transmission radius |
20m |
| e
k |
Residue energy of node |
100% |
| α, β | Weight factor | | |
1,1 |
| ε |
Bunch head is transferred the factor |
0.4 |
| N |
The node number |
400 |
| Δt |
Sampling period |
1s |
The randomness that in simulation process, distributes owing to node, cause bunch member's number in the zone to differ greatly, can the complexity (bunch member is greater than ten) and the accuracy (bunch member is less than three) of simulation algorithm be impacted, so regulation bunch member's number is 3-6.Fig. 6 bunch organizes situation for the t=100s sampling instant, and wherein black line is the real goal track, and the black crunode is an ordinary node, and red crunode is bunch member node for election contest bunch member node, blue circle, and the black plus sige is the target following track; Simulated effect figure when Fig. 7 is the target uniform motion; Fig. 8 is the Error Graph of uniform motion for this reason; Simulated effect figure when Fig. 9 does variable motion for target; Figure 10 is the Error Graph of variable motion.
By above emulation as can be seen, no matter be at the uniform velocity or variable motion, method of the present invention can both be followed the tracks of effectively to target, because what adopt is dynamic bunch of machine-processed algorithm, each node that participates in following the tracks of constantly all is the node that dump energy and position optimization are crossed, and during most of node be in resting state, therefore both can guarantee the target following precision, can reduce energy consumption greatly again, compare with traditional centralized track algorithm, network life can be significantly improved.