The Wireless Sensor Networks Base Layout and Density Optimization Oriented towards Traffic Information Collection

1College of Information Science and Technology, Chengdu University, Chengdu 610106, China 2Key Laboratory of Pattern Recognition and Intelligent Information Processing, Institutions of Higher Education of Sichuan Province, Chengdu 610106, China 3Faculty of Computer Science, Chengdu Normal University, Chengdu 611130, China 4School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China 5Unocal East China Sea, Co. Ltd., Chengdu 610012, China


Introduction
The wireless sensor network is a brand new information collection and processing technology.Compared with the various technologies of the present traffic monitoring system, the wireless sensor network boasts the advantage of being unrestricted by the environment, self-organizing, and distribution.And, thus, WSN is now tentatively applied in the intelligent traffic system [1] for data collection.With the low redundancy rate of the sensor nodes in the traffic monitoring system [2], reasonable deployment of the sensor nodes should be made to enable WSN to function more effectively, and, thus, the base network structure composition and density optimization [3,4] are one of the main problems of WSN application.
Most of the researches on WSN both domestic and overseas are conducted in the monitoring area where nodes are spilled randomly and multiple optimization methods are employed for nodes distribution such as virtual force oriented particle swarm strategy [5], genetic algorithms [6], and simulated annealing algorithm [7].In [8], an approximate algorithm is applied to solve the sensor distribution integral linear planning problem for the purpose of the lowest cost based on the satisfaction of coverage.Literature [9] applies Particle Swarm Algorithm to study the coverage of the wireless sensor networks.
Although the existing research results have provided the optimization method of the sensor network node deployment, they take no account of the impact on the perception coverage by the intercommunication among sensors.In the paper, according to the requirement of the traffic information collection for the sensor, the comprehensive evaluation function of coverage and connectivity of the wireless sensor network nodes is used; for the reasonable deployment of the 2 Mathematical Problems in Engineering sensor network nodes, the multiple constrained optimization mathematical model is established, which is converted into the single constrained optimization problem by means of the geometric weighting method, solving the problem by means of the chemical reaction optimization (CRO) [10][11][12][13].

Problem Description
WSN consists of management grids, sink nodes, and wireless sensor nodes.The management nodes are set in the regional control room or cabinet; the sink nodes are set around roadside traffic signal controller and cabinet; the wireless sensor nodes are buried on road surface or roadside.The traffic information collected by the wireless sensor nodes is transmitted hop by hop to the sink nodes along other sensor nodes.The sink nodes integrate the data of the wireless sensor nodes to obtain the data of the region or a small area, communicating with the management nodes through the Ethernet.The management nodes receive the data transmitted by the sink nodes to make an integration and comprehensive application of a large-scale regional data.
For the characteristics of the traffic information acquisition system and the wireless sensor networks, the following provisions are made for studying the problem: (1) The starting point and the ending point of the simulation road section are known; there are  wireless sensor nodes,  sink nodes, and one management node.
(2) The number of sensor nodes set on the road is relevant to the length of the road and the distance of the sensor communication; depending on the traffic information collection need and the experience of experts, the position of sink nodes is determined around the signal or in the cabinet.

Wireless Sensor Networks Coverage Problem
In building the wireless sensor networks, the network coverage is one of the standard problems of the wireless sensor networks, which is concerning how to deploy the sensor network nodes to reach the biggest network coverage with as few network nodes as possible while guaranteeing the quality of service to some degree.Priority should be given to the node coverage rate and the regional coverage rate in the optimization of network coverage of the wireless sensor.
The node coverage rate: we assume that the monitored two-dimensional area  is distributed into  ×  meter by figure, where the number of sensor nodes with the same parameter launched is , the coordinate of every node is known, the perception radius is , and the communication radius is .To ensure the connectivity of the network, the communication radius  is usually bigger than the sensor radius .Meanwhile, the communication effect may be influenced by the wireless disturbance if the communication radius  is too big.According to experimental results, it achieves the best communication effect when  equals 2.  = (  ,   , ) is applied to indicate the circle with the node coordinate {  ,   } as the center and the monitored radius as .We assume the pixel coordinate is (, ); then the distance between the target pixel and the sensor node is (  , ) = √ (  − ) 2 + (  − ) 2 .The case of the pixel being covered by the sensor nodes is defined as   ; then the probability of the case occurring is the same as that of the pixel (, ) being covered by the sensor node   ; considering the monitored environment and the noise interruption [14], the measuring model of the sensor node shows the probability distribution with certain characteristics in actual application, which is In the formula,   (0 <   < ) is the reliability parameter of the sensor node measurement,  1 ,  2 ,  1 , and  2 are the measuring parameters relevant to the characteristics of sensor nodes, and  1 and  2 are the input parameters: Communication model: to analyze the network performance, we adopt probability model as the communication model of the wireless sensor node   , reflecting the communication quality between nodes in actual network environment: In the formula, (  ,   ) is the communication strength between the sensor nodes   and   . 1 is effective communication range,  2 is the communication range value of signal attenuation, and we set  1 = 50 m and  2 = 100 m.  is the physical parameter of the sensor nodes, indicating the degree of attenuation of the communication strength as the distance increases; we set  = 1.

Optimization Model of Wireless Sensor Networks Deployment of Traffic Information Collection
Evaluation function: the position vector of all sensor nodes in the wireless sensor network is indicated as the -dimensional vector, in which  = [ 1 ,  2 , . . .,   ] is the vector of the sensor node coordinate.
(a) Coverage Redundancy.Take the mean value of the probability of all the nodes being detected on the road, indicating the coverage performance of the sensor networks.In order to improve the target measurement probability, multiple sensor nodes are needed to measure the target.The joint probability is as follows: (b) Regional Coverage Rate.There is  ×  meter in the monitored region .The node set and the measuring probability  cov () are used to measure whether every pixel is covered.
In the paper, the regional coverage rate of the node set  is defined as the ratio of the coverage area of the node set  to the total area of the monitored area , which is Step 1. Formula (1)∼formula ( 2) are used to calculate the coverage rate of one pixel over each sensor node.
Step 2. Formula ( 4) is used to calculate the joint coverage rate of the pixel over each sensor node.
Step 3. Repeat procedures of Steps 1 and 2 to calculate the joint coverage rate of each pixel over each sensor node.
Step 4. Formula ( 5) is used to calculate the regional coverage rate of the region.
(c) The Number of Neighboring Nodes of the Network.Take the mean value of the number of neighboring nodes of all sensor nodes, indicating the connectivity of the network.The concept of the neighboring node is that if   = 1, then the sensor node   and the sensor node   are the neighboring nodes of each other.We set that there are  neighboring nodes for the node   ; the number of the neighboring nodes of the network is According to the rules above,  = ( 1 ,  2 , . . .,  + ) is converted to   = ( 1 ,  2 , . . .,  + )  , where   is referred to as the connection matrix, the characteristic of which is, in the row vector with module value >1, the working nodes corresponding to the row of nonzero factor are connected; the working nodes corresponding to the different row vector with the module value >1 are not connected.Therefore, the rank(  ) connecting the matrix   indicates the number of the connection areas in the separate regions formed by the nodes, which is the number of islands.
(f) The Minimum Cost Model.  is the sensor node,  cost is the cost of every sensor node, and  is the number of the sensor nodes: 4.1.Constrained Optimization Problem.The solution to multiple target planning is the main research area of multiple target planning problem.For the characteristics of the multiple target planning itself, seeking the solution to the multiple target planning is also seeking the noninferior solution.
The main solution methods are evaluation function method, constraint method, interaction, voting analytic hierarchy process, power function method, fuzzy method, maximum entropy, and human intelligence method.Moreover, there are also some improved hereditary algorithms, particle swarm optimization and other human intelligence algorithms.
The key of the wireless sensor network deployment optimization is, through optimizing the position of the sensor nodes, the coverage and connectivity performance of the network comprised of nodes can reach the optimal state and meet the requirement of both the coverage of the road network and the connectivity of the network.And, thus, the wireless sensor network deployment optimization oriented towards the traffic information collection is a constrained optimization problem: But formula (10) does not reflect the cost of the sensor network building; formula (9) should be introduced to our final model.Meanwhile, through comparison, the geometric weighting method can make a better result.
The first step is to uniform the dimension and standardize the target functions   ( = 1, 2, . . ., ).Solve the maximum value  ,max and the minimum value  ,min of the target functions, standardizing the target function by means of the function   () = (  () −  ,min )/( ,max −  ,min ).
The second step is to give a group of weight coefficients corresponding to the target function   based on different significance of the target function; in the formula,   > 0 ( = 1, 2, . . ., ) and ∑  =1   = 1.The linear weighting method is to give a group of nonnegative number   ( = 1, 2, . . ., ) Mathematical Problems in Engineering corresponding to the target   for different significance of the target function; then the linear combination is made of   and   to obtain the following evaluation function: The multiple target solution problem is converted to be is the constraint set of the multiobject function, which ensures that the solution of the objective function is a noninferior solution of the multiobject programming.
Specifically, when   = 1/ ( = 1, 2, . . ., ), the evaluation function is This is the arithmetic mean made of  1 (),  2 (), . . .,   ().Similar to the arithmetic mean, the geometric mean is made of  1 (),  2 (), . . .,   (), obtaining Generally, when   ( = 1, 2, . . ., ) are not all equivalent, the evaluation function is taken: Then the multiple target solution problem is converted to be The unconstrained optimization problem equivalent to the constrained optimization problem above is In the formula,   () > 0 is the constrained condition determined by the requirement of the road network coverage and the network connection.
(a) Coverage Requirement.The sensor networks coverage level reaches to some certain value.In the formula,  area () is the requirement of the road networks for the coverage level, which should be more than 95%.

(b) Connectivity Requirement.
The number of the neighboring nodes of any sensor node is larger than 0.
The number of the neighboring nodes of any sink node is larger than 0.
In the island formed by the networks, the number of islands not including the sink node is 0.
The problem can be classified as the optimization problem.As the problem model is complex, thus we can employ a new intelligent optimization algorithm, the chemical reaction optimization algorithm, to solve it.

Chemical Reaction Optimization Algorithm
The chemical reaction optimization algorithm simulates the chemical molecules' change and migration which prompt the molecules to move towards the optimal node in the solution space.A chemical reaction occurs in a vessel containing a certain number of molecules.Every molecule has one molecule solution structure, dynamic energy, and potential energy.The chemical reaction optimization uses the potential energy to simulate the value of optimization function: PE  = (), where  is the optimization function and  is the molecule solution structure.These reaction modes include the following: nondestructive on-wall collision, decomposition reaction, nondestructive molecule collision, and combination reaction.These basic reaction modes all have different algorithms of changing the molecule solution structure.

Algorithm Design.
In the nondestructive on-wall collision, one molecule strikes the vessel wall.We can make small perturbation by randomly changing the position of any two of the binary strings, changing the existing solution  to   ; for example, consider the following.
(a) On-Wall Ineffective Collision.This operator only changes the solution structure of one molecule when the nondestructive on-wall collision occurs.Therefore, in the algorithm, the existing molecule  should be the input, outputting a new molecule   .The main design purpose of the operator is to make a small-scale exploration on the potential energy surface, and thus it should change the molecule solution structure in a small scale: (b) Decomposition.A molecule  is decomposed into two new molecules   1 and   2 ; the new molecules have a big difference from the original molecule.In order to achieve this, we adopt the following method.Consider the -bit of  as ().If it equals 1, then its value is copied to the same position of   1 and the rest bits of   1 are set at random.Meanwhile, the value of () is copied to the same position of   2 and the rest bits of   2 are set at random.With this method,   1 and   2 will have clear difference.This mechanism will make CRO algorithm jump out of the local minimum value; for example, consider the following.
This operator applies the existing two molecules  to produce two new molecules   1 and   2 .This operator can help the molecule jump out of the regional minimum value.In the chemical reaction optimization, we divide  into two parts,   1 and   2 , and then complement randomly the missing part of the molecules to produce two new molecule solution structures: (c) Intermolecular Ineffective Collision.In the intermolecular ineffective collision, the two molecules  1 and  2 strike each other.We add perturbation to the two molecules simultaneously to obtain the new molecules   1 and   2 .In order to achieve this, we employ the same method for   1 and   2 as that in the nondestructive on-wall collision.For example, consider the following.
This operator randomly changes the two existing  1 and  2 to produce new molecules   1 and   2 when the nondestructive molecules collide with each other.This operator randomly combines and exchanges the existing molecules, so different parts of the potential optimum can possibly be changed into the same molecule solution structure.In the chemical reaction optimization, the operator involves two steps.
Step one: the comparison is made of the two molecule solution structures for selecting one commonly owned node.
Step two: the four parts with the node as the boundary will be crossed and exchanged to produce a new molecule solution structure: (20) (d) Synthesis.We produce the existing two molecules  1 and  2 into a new molecule   .In order to differentiate   from  1 and  2 , we make a XOR of  1 and  2 to produce the new molecule   .For example, this operator combines two existing molecules  1 and  2 to produce a new molecule   .
In the chemical reaction optimization, the operator is rather similar to the nondestructive collision operator.Differently, after choosing the commonly owned node in step one, the four parts will pair with each other two by two to calculate the occupation rate of the total resources.The new molecule solution structure is the structure occupying the minimum rate of the total resources: Figure 1 illustrates the flowchart of CRO algorithm; the main procedures of the algorithm are described as follows.
Step 1.In the initialization, we initialize a set of molecules with the size of popsize.The objective function is the PE of the molecule.The initial KE of every molecule is set to the value of initial KE.
Step 2. In each iteration, we decide the collision type according to whether it is a unimolecular or an intermolecular reaction.When it is a unimolecular reaction, we adopt the on-wall ineffective collision or decomposition.When it is an intermolecular reaction, we adopt the intermolecular ineffective collisions or synthesis.
Step 3. Calculate the value of the objective function and check if it is the new minimum point.
Step 4. The iteration process continues until a stopping criterion is satisfied.We output the best-so-far solution in the final stage.
Stopping Criterion.The program will be stopped when the iteration number reaches the predetermined maximum iteration number.

Simulation Results
In MATLAB simulation environment, simulate the network structural layout of the base and the density optimization process, verify the performance of CRO algorithm in solving the wireless sensor networks deployment, and compare it with   Figure 2 is the neighboring relation schema between nodes, in which the red circle is the sensor node and the blue connecting line is the communication link between nodes.If the communication can be made between two nodes, then the blue connecting line can be established between them as the neighboring nodes of each other.From Figure 2, we can see that the nodes are connecting and communicating with each other, and thus no separate nodes and information island are produced.the area sensed and detected by the node.We hope to make a better deployment of the node by means of CRO algorithm to cover most parts of the area.
Figure 4 is the chemical reaction optimization algorithm diagram.In the algorithm, we employ different operators to make the potential energy of the overall model function approach the low area as much as possible (the global optimum), and thus, compared with other algorithms, it can always find the global optimum.As the algorithm contains the nondestructive on-wall collision which can speed up the movement and change of the molecule and the operating speed of the whole procedure and the decomposition and combination operators which can intensify the movement between molecules, thus it can jump out of the local optimal trap.Overall, the CRO algorithm is a powerful new intelligence algorithm with high speed.
Figure 5 is the relation schema between the number of iterations and the perception radius.In the simulation, we compare CRO algorithm with other two commonly used intelligent algorithms PSO and BGPSO.The perception radius of the node is from 8 m to 9.8 m with the step length  as 0.3 m.Record the number of iterations as the constrained conditions in formula (17) are met.Moreover, in order to avoid the procedure to be elected for long-time ineffective running, when the number of iterations of the procedure reaches 700 times, this operation would be stopped, and the number of iterations is set to be 700.From Figure 5, we can find that CRO algorithm can meet the constrained conditions of the system under different perception radius in the case of a small number of iterations; that is, the area coverage is larger than 95% and the nodes can communicate with each other without generation of islands.Therefore, we can conclude that the efficiency of CRO algorithm is much higher than that of BGPSO and PSO algorithm.
Table 1 is the checklist of fitness function optimum, where five simulation experiments are conducted of CRO algorithm, BGPSO algorithm, and PSO algorithm, respectively.In every experiment, the optimal fitness function value of the three algorithms should be recorded to indicate the best networks deployment and density optimization effect obtained.From Table 1, we can see in the five experiments that the optimal mean value of the fitness function of CRO algorithm is 11.656, the optimal mean value of the fitness function of BGPSO algorithm is 10.924, the optimal mean value of the fitness function of PSO algorithm is 10.38, and the optimal mean value of the fitness function of CRO algorithm is higher than that of BGPSO algorithm and PSO algorithm by 0.732 and 1.276, respectively.
The main reason is that CRO algorithm is a comprehensive algorithm, which contains multiple operators such as decomposition, combination, and nondestructive on-wall collision, capable of changing the coordinate position of the node to a great extent when the procedure is in operation, which can help to find the global optimum in a better and more rapid way.

Figure 1 :
Figure 1: The flowchart of CRO algorithm.
multiple and repeated experiments, the controlling parameters are set as follows: the node perception radius is co = 20 m, the communication distance of the node  1 = 20 m, the weight of networks area coverage  1 = 0.6, the weight of the networks communication strength  2 = 0.25, the weight of the networks connectivity  3 = 0.15, and the number of sensor nodes  1 = 100.

Figure
Figure The neighboring relation schema between nodes.

Figure 3 Figure 3 :Figure 4 :
Figure3is the area coverage schema of nodes, in which the red asterisk is the sensor node, the blue circle is the sensor radius of the node, and the area located in the blue circle is iterations-the perception radius

Figure 5 :
Figure 5: Relation schema between the number of iterations and the perception radius.
The entire network can be divided into unconnected regions, indicating the connectivity of the network.The concept of the joint node is that if   > 0, then the sensor node   and the sensor node (d) The Communication Strength of Network.Take the mean value of the communication strength of all wireless sensor nodes, indicating the network communication performance.Depending on the communication model, the communication strength of the node   is (which is the communication strength of the wireless sensor network)  are the joint nodes of each other.The  + -dimensional adjacency matrix  = {  } is written, in which