Research Article  Open Access
The Wireless Sensor Networks Base Layout and Density Optimization Oriented towards Traffic Information Collection
Abstract
Wireless sensor networks (WSN) are applied in Intelligent Transport System for data collection. For the low redundancy rate of the wireless sensor networks nodes of traffic information collection, the senor nodes should be deployed reasonably for the WSN nodes to work effectively, and, thus, the base network structure and the density optimization of the sensor network are one of the main problems of WSN application. This paper establishes the wireless sensor networks design optimization model oriented to the traffic information collection, solving the design optimization model with the chemical reaction optimization (CRO) algorithm. The experimental results show that CRO algorithm outperforms the traditional particle swarm optimization (PSO) in solving the wireless sensor network design optimization oriented to the traffic information collection, capable of optimizing the wireless sensor network deployment of traffic information collection to contribute to the great improvement of the comprehensive value of the network performance. The reasonable design of the wireless sensor network nodes has great significance for the information collection, postmaintenanceandextension, and cost saving of a monitoring system.
1. 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, selforganizing, 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 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–13].
2. 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 largescale 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.
3. 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 twodimensional 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 . 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 . 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, is the reliability parameter of the sensor node measurement, , , , and are the measuring parameters relevant to the characteristics of sensor nodes, and and 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 . is effective communication range, is the communication range value of signal attenuation, and we set = 50 m and = 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 .
4. 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 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 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
(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)
(e) The Number of Islands. The entire network can be divided into unconnected regions, indicating the connectivity of the network. The concept of the joint node is that if , then the sensor node and the sensor node are the joint nodes of each other. The dimensional adjacency matrix is written, in which
According to the rules above, is converted to , 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, 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 (). Solve the maximum value and the minimum value of the target functions, standardizing the target function by means of the function .
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, () and . The linear weighting method is to give a group of nonnegative number () 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 (), the evaluation function is
This is the arithmetic mean made of . Similar to the arithmetic mean, the geometric mean is made of , obtaining
Generally, when () 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, 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, 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.
5. 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: , where is the optimization function and is the molecule solution structure. These reaction modes include the following: nondestructive onwall collision, decomposition reaction, nondestructive molecule collision, and combination reaction. These basic reaction modes all have different algorithms of changing the molecule solution structure.
5.1. Algorithm Design
In the nondestructive onwall 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) OnWall Ineffective Collision. This operator only changes the solution structure of one molecule when the nondestructive onwall 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 smallscale 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 and ; 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 and the rest bits of are set at random. Meanwhile, the value of is copied to the same position of and the rest bits of are set at random. With this method, and 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 and . This operator can help the molecule jump out of the regional minimum value. In the chemical reaction optimization, we divide into two parts, and , 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 and strike each other. We add perturbation to the two molecules simultaneously to obtain the new molecules and . In order to achieve this, we employ the same method for and as that in the nondestructive onwall collision. For example, consider the following.
This operator randomly changes the two existing and to produce new molecules and 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:
(d) Synthesis. We produce the existing two molecules and into a new molecule . In order to differentiate from and , we make a XOR of and to produce the new molecule . For example, this operator combines two existing molecules and 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 onwall 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 bestsofar solution in the final stage.
Stopping Criterion. The program will be stopped when the iteration number reaches the predetermined maximum iteration number.
6. 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 PSO (particle swarm optimization) algorithm and BGPSO (bacterial foraging particle swarm optimization) algorithm.
The simulating experiment conditions are that the nodes are randomly deployed in a range of 500 m × 500 m. The main detection criteria for locating problem are Average Localization Error. The experiment results are shown in Figures 3~5. After multiple and repeated experiments, the controlling parameters are set as follows: the node perception radius is m, the communication distance of the node m, the weight of networks area coverage , the weight of the networks communication strength , the weight of the networks connectivity , and the number of sensor nodes .
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.
Figure 3 is 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 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 onwall 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 longtime 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 onwall 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.
7. Conclusion
For the reasonable deployment of the wireless sensor, we establish the wireless sensor network deployment optimization model, applying CRO algorithm to solve the deployment optimization. The experiment results show that CRO algorithm outperforms PSO algorithm in solving the wireless sensor networks deployment optimization of traffic information collection, which can effectively optimize the wireless sensor network layout of traffic information collection to improve the comprehensive evaluation value of networks performance by 12.29%; CRO algorithm can improve the disadvantage of PSO algorithm in sinking into the optimal local solution easily to obtain a better wireless sensor network layout.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This work is supported by a project funded by the National Natural Science Foundation of China (Grant no. 61304187), funded by China Postdoctoral Science Foundation (Grant no. 2014M560040), funded by the Scientific Research Fund of SiChuan Provincial Science and Technology Department of China (Grant no. 2015JY0213), funded by Scientific Research Fund of SiChuan Provincial Education Department of China (Grant no. 15TD0038), and funded by the Foundation of Chengdu University (no. 2014XJZ21).
References
 K. C. Sinha, “Can technologies cure transportation,” in Proceedings of the 6th International Conference on Application of Advance Technology in Transportation Engineering, pp. 242–246, August 2000. View at: Google Scholar
 J. Alder, “Dynamic route guidance and in vehicle systems,” Intelligent Transport Systems, vol. 2, no. 3, pp. 125–132, 2000. View at: Google Scholar
 J. Jia, J. Chen, G. Chang, and Z. Tan, “Energy efficient coverage control in wireless sensor networks based on multiobjective genetic algorithm,” Computers & Mathematics with Applications, vol. 57, no. 1112, pp. 1756–1766, 2009. View at: Publisher Site  Google Scholar  MathSciNet
 J. Chen, J. Li, S. He, Y. Sun, and H.H. Chen, “Energyefficient coverage based on probabilistic sensing model in wireless sensor networks,” IEEE Communications Letters, vol. 14, no. 9, pp. 833–835, 2010. View at: Publisher Site  Google Scholar
 G. Lei and L. Shixiang, “Coal resources demand evaluation based on support vector regression with improved quantumbehaved PSO,” Journal of Convergence Information Technology, vol. 7, no. 1, pp. 405–412, 2012. View at: Publisher Site  Google Scholar
 D. E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning, AddisonWesley, Reading, Mass, USA, 1989.
 E. Aarts and J. Korst, Simulated Annealing and Boltzmann Machines: A Stochastic Approach to Combinatorial Optimization and Neural Computing, John Wiley & Sons, 1989. View at: MathSciNet
 K. Wu, Y. Gao, F. Li, and Y. Xiao, “Lightweight deploymentaware scheduling for wireless sensor networks,” Mobile Networks and Applications, vol. 10, no. 6, pp. 837–852, 2005. View at: Publisher Site  Google Scholar
 T. Niknam, “An approach based on particle swarm optimization for optimal operation of distribution network considering distributed generators,” in Proceedings of the 32nd Annual Conference on IEEE Industrial Electronics (IECON '06), pp. 633–637, IEEE, Paris, France, November 2006. View at: Publisher Site  Google Scholar
 A. Y. S. Lam and V. O. K. Li, “Chemicalreactioninspired metaheuristic for optimization,” IEEE Transactions on Evolutionary Computation, vol. 14, no. 3, pp. 381–399, 2010. View at: Publisher Site  Google Scholar
 A. Y. S. Lam, J. Xu, and V. O. K. Li, “Chemical Reaction Optimization for population transition in peertopeer live streaming,” in Proceedings of the IEEE Congress on Evolutionary Computation (CEC '10), pp. 1–8, Barcelona, Spain, July 2010. View at: Publisher Site  Google Scholar
 J. Xu, A. Y. S. Lam, and V. O. K. Li, “Chemical reaction optimization for task scheduling in grid computing,” IEEE Transactions on Parallel and Distributed Systems, vol. 22, no. 10, pp. 1624–1631, 2011. View at: Publisher Site  Google Scholar
 J. Xu, A. Y. S. Lam, and V. O. K. Li, “Chemical reaction optimization for the grid scheduling problem,” in Proceedings of the IEEE International Conference on Communications (ICC '10), pp. 470–475, May 2010. View at: Publisher Site  Google Scholar
 G. Jun, “Research on wireless sensor network coverage algorithm and simulation,” Computational Simulation, vol. 27, no. 9, pp. 146–149, 2010. View at: Google Scholar
Copyright
Copyright © 2015 Musong Gu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.