Research Article  Open Access
SOFM Neural Network Based Hierarchical Topology Control for Wireless Sensor Networks
Abstract
Welldesigned network topology provides vital support for routing, data fusion, and target tracking in wireless sensor networks (WSNs). Selforganization feature map (SOFM) neural network is a major branch of artificial neural networks, which has selforganizing and selflearning features. In this paper, we propose a clusterbased topology control algorithm for WSNs, named SOFMHTC, which uses SOFM neural network to form a hierarchical network structure, completes cluster head selection by the competitive learning among nodes, and takes the node residual energy and the distance to the neighbor nodes into account in the clustering process. In addition, the approach of dynamically adjusting the transmitting power of the cluster head nodes is adopted to optimize the network topology. Simulation results show that SOFMHTC may get a better energyefficient performance and make more balanced energy consumption compared with some existing algorithms in WSNs.
1. Introduction
Wireless sensor networks (WSNs) are selforganized networks consisting of sensor nodes with multiple functions such as sensing, computing, and wireless communication. The sensor nodes are able to sense, collect, process, and forward information of the monitored objects; the information is transferred to sink node or base station; then the sink node makes a further processing before the information is transferred to the end user, and the network can achieve effective control of the monitored object [1]. WSNs are generally deployed in the complex environment of the monitored region; nodes’ energy depletion or new nodes deployed in the coverage area of the network may change the topology of the network, which often changes frequently and affects network performance. Welldesigned network topology provides vital support for information routing, data fusion, and target tracking and can help to improve efficiency of the energy utilization and increase the network lifetime.
A distributed topology control in WSNs is employed to permit a hierarchical network structure and save energy and prolong the lifetime of the batterypowered networks through a clustering approach [2], such as LEACH [3], SEP [4], and ECHERP [5]. Computational intelligence provides adaptive mechanisms that enable or facilitate intelligent behavior in complex and dynamic environments like WSNs, which encompasses paradigms such as neural networks, swarm intelligence, and evolutionary algorithms [6]. Selforganizing feature map (SOFM) neural network simulates behaviors of special neurons. These neurons process the input signal from the outside world. They are highly sensitive to some features of the signal through selflearning and suppress or do not deal with the other features of the signal; they can quickly extract the specific characteristics of the signal and adjust the network link weight coefficient, so that the signals with the same characteristics can come together [7]. SOFM neural network shows great compatibility as intelligent tools with the characteristics of WSNs and can be applied in reduction of energy consumption in sensor nodes [8, 9].
In this paper, we use SOFM neural network to optimize the hierarchical topology in WSNs. In order to form selforganization topology mapping structure according to the requirements of the dynamic environment of WSNs, SOFM changes the coefficient values of link weights by the competition and collaboration among neurons.
The rest of this paper is organized as follows. Section 2 briefly introduces related work. Section 3 presents the network model of WSNs. The process of the SOFM based topology control algorithm is described in Section 4. The simulation and results analysis is given in Section 5 and finally, the conclusions are drawn in Section 6.
2. Related Work
SOFM neural network is a duplex network structure, which consists of components called nodes or neurons, and has an input layer and a competitive layer as shown in Figure 1. The input layer reflects external status information on the competitive layer with the weight vector; the number of nodes in the layer is limited by the data dimension. The competitive layer collects changing information of link weights between the winning node and its adjacent nodes. Neurons in the input layer and the competitive layer have a variety of arrangements; neurons in the input layer usually adopt monolayer arrangement; neurons in the competitive layer adopt grid arrangement through lateral connections.
SOFM neural network adopts unsupervised, selflearning Kohonen learning rules to train the network. In Kohonen learning rule, neurons can adjust their link weights and have a certain impact on link weight vector of the surrounding neurons. The network determines the scale of adjacent cells by the neighborhood functions such as the Mexican hat function which is commonly used neighborhood function. SOFM neural network defines the region in which the link weights can get an effective gain as the winning neighborhood. In the winning neighborhood, the change of link weight between the winning node and its adjacent nodes is closely related to the distance to the winning node.
Barbancho et al. proposed a QoS routing algorithm (SIR) for WSNs which applies SOFM neural networks to a network of meters and implements an SOFM algorithm inside every sensor node [10, 11]. Cordina and Debono proposed a clustering routing algorithm based on Fuzzy_ART neural network, which combines neural networks and fuzzy adaptive resonance theory to optimize the routing of network nodes, and balanced network energy consumption and prolonged the network lifetime [12]. Patra et al. took advantage of SOFM neural networks for node clustering in a heterogeneous sensor network, which optimized node transmission power to improve the energysaving performance of the routing through the network training, and combined neural network to improve the robustness of the network topology [13, 14].
Hu and Lee proposed a distributed positioning algorithm for WSNs based on SOFM to get rid of the dependence of the anchor node in the case of lower time complexity, and the network got smaller positioning error [15]. Gholami et al. developed an artificial neural network approach for sensor network localization under the harsh, uncertain, noisy conditions of a manufacturing environment [16]. Zheng and Dehghani proposed a rangefree localization algorithm based on neural network ensembles (LNNE), which can improve the localization accuracy for WSNs by utilizing the diversity of the component neural networks [17]. O’Connor et al. applied neural network to WSNs for water quality monitoring and extended the network lifetime and improved the water quality monitoring accuracy with neural network learning characteristic to assess radar precipitation [18]. Abdul used neural network to optimize energy consumption in WSNs and got the purpose of extending the network lifetime by network training [19].
3. Network Model
To simplify the network model, we make some reasonable assumptions about WSNs as follows.(1)Network nodes are randomly and uniformly distributed in the monitored area and the deployed position of every node is fixed.(2)Sink node has unlimited available energy, but other nodes have the same initial limited energy.(3)Every network node has a unique node identifier and can get the location information.(4)Every network node has the same physical structure except sink node.(5)Every network node has the same communication radius; the communication link between two nodes is twoway; sensor node can communicate with sink node by power control.(6)The network is divided into clusters by the clusterbased routing mechanism; each cluster consists of a cluster head and some cluster members; the cluster head directly communicates with the sink node and manages or controls its cluster members; the entire network forms a hierarchical topology structure.
The topology of WSNs can be regarded as a weighted undirected graph , where is the set of all nodes; is the number of network nodes; the communication link between the node and the node is expressed by , where and is the set of the links between two arbitrary nodes.
In clusterbased WSNs, the number of cluster heads generally has a direct impact on energy performance. When the number of cluster heads, which communicate with the sink node directly, is too much, the longdistance communications may increase the overall network energy consumption; when the number of cluster heads is too small, each cluster has a lot of nodes, and cluster heads may find it difficult to manage many nodes. Some cluster nodes come to premature death due to the long distance from the cluster head, which increases the energy consumption in data transmission.
In this paper, the consumed energy of WSNs is evaluated by the energy model in LEACH [3]. We assume the square as the monitored area, where sensor nodes are randomly distributed and divided into clusters, and the ideal number of nodes in each cluster is . The energy consumption of one cluster head consists of three parts; data transmission consumption within its cluster, data fusion consumption, and transmission consumption of forwarding its cluster data to the sink node. Cluster heads are generally far from the sink node, and data transmission between the cluster head and the sink node produces multipath fading phenomenon, so the cluster head adopts multipath fading energy consumption model. The energy consumption of one cluster head [3] is where is the number of transmitted data bits, is the distance between the cluster head and the sink node, is the energy consumption of transmitting oneunit bit data within one cluster, is the energy consumption of processing oneunit bit data, and is the energy consumption of transmitting oneunit bit data to the sink node.
The distance between two nodes in one cluster is near, so we adopt the free space energy consumption model within one cluster. The energy consumption of nodes sending bit data to the cluster head is where means the distance between one node and its cluster head in one cluster and is the energy consumption of the signal power amplifier per square meter. The region occupied by each cluster head may be approximated by a circular which sets the cluster head as the circle center and as the circle radius, and the region area is . Assuming nodes are evenly distributed within the region and the density function is , where , we can get
The energy consumption of all nodes within one cluster [3] is
The total energy consumption of the entire network [3] is
Taking the first derivative of (5) with respect to gives us the optimal number of clusters:
4. SOFM Based Hierarchical Topology Control Algorithm
We propose an SOFM based hierarchical topology control algorithm (SOFMHTC) for WSNs, which uses selflearning characteristics of SOFM neural network. A network node acts as a neuron; the entire network is considered as multineurons structure, and the input layer consists of nodes. SOFMHTC consists of four phases: initializing network, establishing clusters, clustering optimization, and transferring Data. The process of SOFMHTC is as follows.
4.1. Initializing Network
Sink node broadcasts “HELLO” packet in the entire network, and when one sensor node receives the “HELLO” packet, it broadcasts the “SEARCH” packet, which includes the information of its identifier and location and monitors the network. When one sensor node receives “SEARCH” packets transmitted by its neighbor nodes, it records the information of its neighbor node identifier, location, and the receiving signal strength from the “SEARCH” packets. Each node transmits the recorded information and its residual energy to sink node via floodingbased routing protocol. Sink node collects and acquires the information such as the identifier of all nodes, residual energy, the number of being elected as the cluster head, and the neighbor set.
4.2. Establishing Clusters
Sink node uses SOFM neural network training to generate cluster heads, and other sensor nodes evaluate the cost of each cluster head and join the cluster in which the cluster head has the minimum cost. In the SOFM neural network training, the competition vector , where is the set of neighbor nodes, is the average distance to the neighbor nodes, is the residual energy, and is the optimal number of cluster heads calculated by (6). Assuming the input vector is and the link weight vector is , the process of establishing clusters is as follows.
4.2.1. Normalization
Sink node collects nodes’ initial information, sets the learning rate as , and normalizes the input vector and the link weight vector . Consider
4.2.2. Finding the Winning Node
The process of finding the winning node by sink node is just to determine the node with the maximum output value which is the nonlinear combination of the link weight and the input value . After the sink node makes the normalization of the input vector and the output vector, the value of output vector is equivalent to minimum Euclidean distance between normalized input vector and the link weight vector. If the input node has more residual energy and smaller average distance to its neighbor nodes, it has higher probability to become a cluster head. The sink node calculates each node’s output value and selects the node with the minimum distance as the winning node . Consider
4.2.3. Determining the Winning Neighborhood of the Winner Node
Sink node adopts the Kohonen learning rule with the winning node as the anchor node to determine the neighborhood , where the link weights need to be adjusted. is determined by the neighborhood function :
4.2.4. Adjusting the Link Weights
In the winning neighborhood determined by (9), sink node updates link weight vector by the following equation to adjust the link weights:
After adjusting the link weights, sink node readjusts the learning rate and the scope of the winning neighborhood and normalizes nodes’ link weights again. Consider
4.2.5. Determining the ClusterBased Network Topology
When the times of network training have reached the predetermined maximum threshold, sink node stops the training, estimates the next retraining threshold time, and finishes determining the current clusterbased network topology consisting of the winning nodes; otherwise, SOFMHTC continues to run from (Section 4.2.2).
Sink node notifies the winning nodes as the cluster heads; then each head node broadcasts “BE HEAD” packet to notify that it is an available cluster head. After receiving “BE HEAD” packet, network nodes calculate the cost of each cluster head by (12), which is proportional to energy consumption of the cluster head and is inversely proportional to the distance to the cluster head. Network nodes join the cluster in which the cluster head has the minimum cost and send “JOIN” packet to the cluster head. When one cluster head receives “JOIN” packet, it notifies the packet source node that its request is approved. Consider where is the residual energy of the cluster head, is the node initial energy, is the node residual energy, is the combined coefficient of energy and distance, and is the distance between the node and its cluster head .
4.3. Clustering Optimization
After clustering WSNs using SOFM neural network, due to the random deployment of network nodes, the number and distribution of cluster member nodes are different; while all nodes adopt the same transmission power, we can adjust the cluster head transmit power to optimize the cluster head coverage and keep the cluster head power control in a reasonable level. According to the network topology information generated by SOFM neural network, sink node compares the current number of sensor nodes and the ideal number in each cluster; if the former is less than the latter, the transmit power of the cluster head will be properly increased; if the former is more than the latter, the transmitting power of the cluster head node will be properly reduced and when they have the equal value, the optimization of clusterbased network topology is completed.
4.4. Transferring Data
After the completion of clustering, each cluster head assigns time slots to its member nodes for transferring data by TDMA. When the next retraining threshold time has arrived, network nodes stop transferring data and SOFMHTC continues to run from (Section 4.2.1).
5. Simulation and Results Analysis
We use Matlab to make the simulation in which the network consists of 200 sensor nodes randomly distributed in a square area and a sink node locates at any corner. To evaluate the performance of SOFMHTC, simulation results are compared to those of LEACH [3], SEP [4], ECHERP [5], and SIR [11] using the same parameters as shown in Table 1.

Figures 2 and 3, respectively, show network average residual energy and the number of nodes that remain alive versus the network lifetime in rounds when SOFMHTC, LEACH, SEP, ECHERP, and SIR are applied. As shown from these figures, we find that the performance of SOFMHTC is considerably better than LEACH, SEP, ECHERP, and SIR at the same round. Compared with LEACH, SEP, and ECHERP, SOFMHTC uses competition learning of the SOFM neural network to optimize the number and distribution of the cluster head node. In the learning process, the sink node takes precedence to select the nodes with more residual energy, the least average distance to the neighbors as the cluster heads, and the cluster head selection reduces the energy consumption of the network and increases the lifetime of the network. As it has been shown in Figure 1, SOFMHTC has an 8.57% longer network lifetime than SIR which also uses SOFM neural network for QoS routing and topology control of WSNs. The cause of this effect can be found in the fact that, while SOFMHTC and SIR both use SOFM neural network training and learning to establish clusters, SOFMHTC adjusts the cluster head transmit power to optimize the cluster head coverage. Thus, the cluster head power control of SOFMHTC is kept in a more reasonable level than SIR, and the network topology optimization is achieved.
6. Conclusions
A welldesigned topology control algorithm for WSNs can reduce energy consumption and the interference of communication among nodes to extend the network lifetime. SOFM neural network has selforganizing, selflearning features. In this paper, we apply SOFM neural network for topology control of WSNs and propose an algorithm, SOFMHTC, which completes the cluster head selection by the competitive learning among nodes and takes the node residual energy and the distance to the neighbor nodes into account in the clustering process. Then we dynamically adjust transmit power of the cluster head node using power control to optimize network energy consumption. Simulation results show that SOFMHTC may get a better energyefficient performance with more residual energy and alive nodes than LEACH, SEP, ECHERP, and SIR in some application scenarios of WSNs.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This work was supported by the National Natural Science Foundation of China (Grant no. 60905040), the Basic Research Program of Jiangsu Province (Natural Science Foundation) (Grant nos. BK2011756 and BK20131382), China Postdoctoral Science Foundation (Grant nos. 2012M511251 and 2013M531393), Jiangsu Planned Projects for Postdoctoral Research Funds (Grant nos. 1101006B and 1102102C), Scientific Research Foundation of Nanjing University of Posts and Telecommunications (Grant nos. NY213135 and NY213152), and the Project Funded by the Priority Academic Program Development of Jiangsu Higher Education Institutions (Grant no. yx002001).
References
 I. F. Akyildiz, W. Su, Y. Sankarasubramaniam, and E. Cayirci, “Wireless sensor networks: a survey,” Computer Networks, vol. 38, no. 4, pp. 393–422, 2002. View at: Publisher Site  Google Scholar
 A. A. Aziz, Y. A. Şekercioǧlu, P. Fitzpatrick, and M. Ivanovich, “A survey on distributed topology control techniques for extending the lifetime of battery powered wireless sensor networks,” IEEE Communications Surveys and Tutorials, vol. 15, no. 1, pp. 121–144, 2013. View at: Publisher Site  Google Scholar
 W. B. Heinzelman, A. P. Chandrakasan, and H. Balakrishnan, “An applicationspecific protocol architecture for wireless microsensor networks,” IEEE Transactions on Wireless Communications, vol. 1, no. 4, pp. 660–670, 2002. View at: Publisher Site  Google Scholar
 G. Smaragdakis, I. Matta, and A. Bestavros, “SEP: a stable election protocol for clustered heterogeneous wireless sensor networks,” in Proceedings of the 2nd International Workshop on Sensor and Actor Network Protocols and Applications (SANPA '04), pp. 251–261, August 2004. View at: Google Scholar
 S. A. Nikolidakis, D. Kandris, D. D. Vergados, and C. Douligeris, “Energy efficient routing in wireless sensor networks through balanced clustering,” Algorithms, vol. 6, no. 1, pp. 29–42, 2013. View at: Publisher Site  Google Scholar  MathSciNet
 R. V. Kulkarni, A. Förster, and G. K. Venayagamoorthy, “Computational intelligence in wireless sensor networks: a survey,” IEEE Communications Surveys and Tutorials, vol. 13, no. 1, pp. 68–96, 2011. View at: Publisher Site  Google Scholar
 A. Kulakov and D. Davcev, “Tracking of unusual events in wireless sensor networks based on artificial neuralnetworks algorithms,” in Proceedings of the 2005 International Conference on Information Technology: Coding and Computing (ITCC '05), vol. 2, pp. 534–539, April 2005. View at: Google Scholar
 N. Enami, R. A. Moghadam, K. Dadashtabar et al., “Neural network based energy efficiency in wireless sensor networks: a survey,” International Journal of Computer Science & Engineering Survey, vol. 1, no. 1, pp. 39–53, 2010. View at: Google Scholar
 M. Cordina and C. J. Debono, “Increasing wireless sensor network lifetime through the application of SOM neural networks,” in Proceedings of the 3rd International Symposium on Communications, Control, and Signal Processing (ISCCSP '08), pp. 467–471, March 2008. View at: Publisher Site  Google Scholar
 J. Barbancho, C. León, J. Molina, and A. Barbancho, “Giving neurons to sensors: QoS management in wireless sensors networks,” in Proceeding of the IEEE Conference on Emerging Technologies and Factory Automation (ETFA '06), pp. 594–597, Prague, Czech Republic, September 2006. View at: Publisher Site  Google Scholar
 J. Barbancho, C. León, F. J. Molina, and A. Barbancho, “A new QoS routing algorithm based on selforganizing maps for wireless sensor networks,” Telecommunication Systems, vol. 36, no. 1–3, pp. 73–83, 2007. View at: Publisher Site  Google Scholar
 M. Cordina and C. J. Debono, “Maximizing the lifetime of wireless sensor networks through intelligent clustering and data reduction techniques,” in Proceedings of the IEEE Wireless Communications and Networking Conference (WCNC '09), pp. 1–6, April 2009. View at: Publisher Site  Google Scholar
 C. Patra, “Using Kohonen's selforganizing map for clustering in sensor networks,” International Journal of Computer Applications, no. 24, pp. 94–95, 2010. View at: Google Scholar
 C. Patra, M. Chattopadhyay, P. Bhaumik, and A. G. Roy, “Using self organizing map in wireless sensor network for designing energy efficient topologies,” in Proceedings of the 2nd International Conference on Wireless Communication, Vehicular Technology, Information Theory and Aerospace and Electronic Systems Technology (Wireless VITAE '11), pp. 1–6, FebruaryMarch 2011. View at: Publisher Site  Google Scholar
 J. Hu and G. Lee, “Distributed localization of wireless sensor networks using selforganizing maps,” in Proceedings of the IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems (MFI '08), pp. 284–289, August 2008. View at: Publisher Site  Google Scholar
 M. Gholami, N. Cai, and R. W. Brennan, “An artificial neural network approach to the problem of wireless sensors network localization,” Robotics and ComputerIntegrated Manufacturing, vol. 29, no. 1, pp. 96–109, 2013. View at: Publisher Site  Google Scholar
 J. Zheng and A. Dehghani, “Rangefree localization in wireless sensor networks with neural network ensembles,” Journal of Sensor and Actuator Networks, vol. 1, no. 3, pp. 254–271, 2012. View at: Google Scholar
 E. O'Connor, A. F. Smeaton, N. E. O'Connor, and F. Regan, “A neural network approach to smarter sensor networks for water quality monitoring,” Sensors, vol. 12, no. 4, pp. 4605–4632, 2012. View at: Publisher Site  Google Scholar
 M. Abdul, “Self organizing maps based life enhancement framework for wireless sensor networks,” International Arab Journal of eTechnology, vol. 2, no. 4, pp. 223–228, 2012. View at: Google Scholar
Copyright
Copyright © 2014 Zhi Chen 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.