<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">WSN</journal-id><journal-title-group><journal-title>Wireless Sensor Network</journal-title></journal-title-group><issn pub-type="epub">1945-3078</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/wsn.2013.54009</article-id><article-id pub-id-type="publisher-id">WSN-30906</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  MED-BS Clustering Algorithm for the Small-Scale Wireless Sensor Networks
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>watef</surname><given-names>Ben Fradj Guiloufi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Nejah</surname><given-names>Nasri</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mohamed</surname><given-names>Alamine Ben Farah</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Abdennaceur</surname><given-names>Kachouri</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>National Engineering School of Sfax, Higher Institute of Technological Studies of Gabès, Gabès, Tunisia</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>benfradj_awatef@yahoo.fr(WBFG)</email>;<email>nejah.nasri@isecs.rnu.tn(NN)</email>;<email>med.farah@yahoo.fr(MABF)</email>;<email>abdennaceur.kachouri@enis.rnu.tn(AK)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>30</day><month>04</month><year>2013</year></pub-date><volume>05</volume><issue>04</issue><fpage>67</fpage><lpage>75</lpage><history><date date-type="received"><day>January</day>	<month>12,</month>	<year>2013</year></date><date date-type="rev-recd"><day>February</day>	<month>11,</month>	<year>2013</year>	</date><date date-type="accepted"><day>February</day>	<month>25,</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   With the spectacular progress of technology, we have witnessed the appearance of wireless sensor networks (WSNs) in several fields. In a hospital for example, each patient will be provided with one or more wireless sensors that gather his physiological data and send them towards a base station to treat them on behalf of the clinicians. The WSNs can be integrated on a building surface to supervise the state of the structure at the time of a destroying event such as an earthquake or an explosion. In this paper, we presented a Mobility-Energy-Degree-Distance to the Base Station (MED-BS) Clustering Algorithm for the small-scale wireless Sensor Networks. A node with lower mobility, higher residual energy, higher degree and closer to the base station is more likely elected as a clusterhead. The members of each cluster communicate directly with their ClusterHeads (CHs) and each ClusterHead aggregates the received messages and transmits them directly to the base station. The principal goal of our algorithm is to reduce the energy consumption and to balance the energy load among all nodes. In order to ensure the reliability of MED-BS, we compared it with the LEACH (Low Energy Adaptive Clustering Hierarchy) clustering algorithm. Simulation results prove that MED-BS improves the energy consumption efficiency and constructs a stable structure which can support new sensors without returning to the clusters reconstruction phase.
     
 
</p></abstract><kwd-group><kwd>Wireless Sensor Networks (WSNs); Clustering; Clusterhead</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>During recent years, we have seen a miniaturization brings technology. This aptitude for the miniaturization brought a new generation of telecommunication networks which presents important challenges. The Wireless Sensor Networks are one of the technologies aiming at solving the problems of this new telecommunication and computer age [<xref ref-type="bibr" rid="scirp.30906-ref1">1</xref>].</p><p>The WSNs are composed of a large number of nodes communicating between them and distributed on a given geographic zone to measure a physical quantity or to supervise an event (temperature, pressure, earthquake&#183;&#183;&#183;) ([2-5]).</p><p>The WSNs architecture breaks up into three underlayers: a sensor network which is composed of the information received from the external world, the clusterheads witch carried out the complex tasks of signal treatment, and a base station which received the information on behalf of the clusterheads ([5-7]).</p><p>The WSNs are particular networks, having different characteristics from the wired networks (absence of infrastructure, resource’s constraints, heterogeneity and dynamics structure). So, it was necessary to think of an auto-organized virtual topology which should be adaptive and effective in energy ([8,9]).</p><p>To conceive such topology, several solutions were suggested in the literature like the clustering, the heterogeneous networks and the dorsal.</p><p>In this paper, we proposed a clustering algorithm adopted with the small-scale Wireless Sensor Networks which goal is the minimization of the energy consumption by taking on account the patient’s mobility.</p></sec><sec id="s2"><title>2. Previous Work</title><p>In this section, we will classify the clustering algorithms according to whether the deployed nodes are homogeneous (have the same features) or heterogeneous.</p><sec id="s2_1"><title>2.1. Clustering Algorithm: Heterogeneous Nodes</title><p>Heterogeneous network is a network where certain nodes have more raised capacities (processor, capacity for treatment, power of transmission, band-width, power of energy,&#183;&#183;&#183;) than others. The use of heterogeneous networks can triple the delivery average rate and offer a network lifetime five times larger than the homogeneous networks [<xref ref-type="bibr" rid="scirp.30906-ref10">10</xref>].</p><p>Several algorithms of heterogeneous networks were invoked in the literature such as [<xref ref-type="bibr" rid="scirp.30906-ref11">11</xref>], where the authors propose an algorithm called GS3. It is an evolutionary and distributed algorithm intended for the wireless networking. The network is covered with a virtual hexagonal structure, the heterogeneous nodes choose the clusterheads of the hexagonal cells’ neighbors, the heterogeneous nodes which were not selected as clusterheads connect the cells as members. The same procedure is repeated to the total cover of the network. GS3 attaches a great importance to the geographical ray of the cluster, which influences according to Zhang and Arora on dissipated energy (network lifetime), on the effectiveness of the functions of local coordination and finally on the evolutionarily and availability of a network. However, topological changes of super-nodes need a total reorganization of all the structure. Moreover, GS3 requires that the super-nodes be equipped with directional antennas to enable them to reposition itself in the center of their hexagonal cell, which makes it ineffective for the majority of the classical applications.</p><p>The authors introduce another algorithm of the heterogeneous nodes in [<xref ref-type="bibr" rid="scirp.30906-ref12">12</xref>], called LBC (Load-balanced clustering). LBC uses many Gateways, which has a more important energy capacity: each gateway is responsible for managing the totality of its group, to correlate the data and to organize the sensors in a cluster. Each sensor belongs to one and only one Gateway, and this Gateway is its only means to communicate with the base station. In order to ensure the balance load, the super-nodes must have all information about the network and decide the optimal cluster size, this requires much information collection time. Added to that, the algorithm requires that each node is equipped with a system of localization such as a GPS (Global Positioning System.) which proves to be expensive. Moreover, one topology change requires a total rebuilding of topology. An improvement of this algorithm was proposed in [<xref ref-type="bibr" rid="scirp.30906-ref13">13</xref>].</p><p>Another algorithm was proposed in [<xref ref-type="bibr" rid="scirp.30906-ref14">14</xref>], its aims is to balance the load between nodes by using heterogeneous nodes. The heterogeneous nodes are selected like stations of data collection, which improve by consequence the lifetime of the network. To guarantee the stability of the structure, this algorithm offers a maintenance procedure in which, a topological change is treated locally. Nevertheless, the algorithm generates a high number of clusters. That impacts the cost of communication inter-cluster and the delivery period.</p><p>Others authors proposed the DEEC (Distributed Energy Efficient Clustering) [<xref ref-type="bibr" rid="scirp.30906-ref15">15</xref>] algorithm, the clusterheads election criterion was probabilistic and based on the waste heat of the nodes as well as the average energy of the network. If the probability of a node is higher than a certain threshold, then, it can become a clusterhead.</p><p>Admittedly, this algorithm is effective and makes nodes share energy consumption between, but the enormous exchange of the control messages can involve a performance degradation of the structure.</p><p>MDC/PEQ (Mobile data collector/PEQ) [<xref ref-type="bibr" rid="scirp.30906-ref16">16</xref>] was proposed like an algorithm of data collection intended to solve the critical time applications. This algorithm aims to decrease the load and to reduce energy consumption. With the super mobile nodes deployed in the interest zone, static nodes were employed to guarantee a fixed way between nodes and base station. The purpose of this procedure is the transmission of the urgent data to the destination.</p><p>Another example of the clustering heterogeneous nodes’ algorithm is found in [<xref ref-type="bibr" rid="scirp.30906-ref17">17</xref>]. The clusterheads election criterion is probabilistic and depends on the waste heat of nodes. In addition, this algorithm does not consider nodes mobility.</p><p>Cheick Tidjane KONE introduced into [<xref ref-type="bibr" rid="scirp.30906-ref18">18</xref>] new communication architecture for great dimensional sensor networks. He worked on heterogeneous structures based on the clustering to improve the performances of the network and to ease its management and its extensibility. The built clusters were limited of many hops in order to decrease the number of retransmission and the latency. KONE showed that the use of the multichannel strategy improves the network performances in terms of load and energy consumption.</p></sec><sec id="s2_2"><title>2.2. Clustering Algorithm: Homogeneous Nodes</title><p>Several researchers such as [<xref ref-type="bibr" rid="scirp.30906-ref19">19</xref>] choose these types of algorithms. The election of the clusterheads in LCA (Linked Cluster Algorithm) is based on the ID of nodes. The communication between the clusters is carried out using the selected gateways according to their sites. The structure built by LCA allows a communication between the nodes, diffusion of the messages and on avoidance of hidden problem of station. Moreover, LCA is robust against the breakdowns and topology changes.</p><p>In 1995, the HCC (Highest Connectivity Cluster) [<xref ref-type="bibr" rid="scirp.30906-ref20">20</xref>] algorithm was proposed, the choice of clusterheads was based on the nodes’ degree (number of the neighbors). Topology would be configured dynamically to support the mobility of nodes. Gerla and Tsai compared the algorithms LCA and HCC and showed that the first preserved the stability of structure.</p><p>In 2000, Amis and al. introduced the algorithm max-Min d-cluster [<xref ref-type="bibr" rid="scirp.30906-ref21">21</xref>]. The clusterheads election proceeds in two stages: a first stage made up of D-turns where the nodes choose the highest ID like winner value (WINNER), and a second whose selected values are those of weakest IDs. The goal of this algorithm is the minimization of the load, minimization of the number of clusterheads formed as well as the stability of the network. However, the knowledge of the neighborhood with D-hops requires enormous exchanges of messages and leads to a considerable latency.</p><p>Another example of clustering is found in [<xref ref-type="bibr" rid="scirp.30906-ref22">22</xref>], it is the most popular algorithm. LEACH chooses by chance the clusterheads for one time according to a policy called “Round Robin”. The communication intra-cluster as well as the communication between the clusterheads and the base station is carried out in 1-hop. The principal goal of LEACH is the balance of energy dissipation between sensors. Nevertheless, the election procedure (random) can lead clusterheads to have a weak energy reserve, which can affect the data transmission and can lead to a reconfiguration of the built structure.</p><p>Several improvements were made to LEACH such as LEACH-C [<xref ref-type="bibr" rid="scirp.30906-ref23">23</xref>] (LEACH-Centralized), which implies the remaining energy of nodes in the criterion of clusterheads election. This algorithm was called centralized LEACH because the procedure of clustering is controlled by the base station. A second example is M-LEACH [<xref ref-type="bibr" rid="scirp.30906-ref23">23</xref>] algorithm (Multi-hops LEACH). Contrary to LEACH, the connection intra-cluster is multi-hops, these involve a stability of the structure by reducing clusterheads dissipated energy. LEACH-F (LEACH with Fixed Cluster) is another algorithm based on LEACH. This algorithm proposes that the formed clusters are fixed, and the nodes’ mobility is not considered.</p><p>In 2002, Chatter and al. introduced an algorithm based on the principle of LCA called WCA (weighted Clustering Algorithm) [<xref ref-type="bibr" rid="scirp.30906-ref24">24</xref>]. The clusterheads selection criterion depends on their degrees of connectivity, their powers of transmission, their mobility and their energy reserves. The authors still require that the dominant nodes have to be in the center of their cells and that the nodes’ number is limited in each zone, which poses a problem with the dynamic structures.</p><p>Mitton and al. proposed a clustering algorithm in [<xref ref-type="bibr" rid="scirp.30906-ref25">25</xref>] whose clusterheads election was based on K-density metric. The k-density of a node east defines as the relationship between the bonds and the number of node in a K-neighbourhood. This algorithm offers the maintenance policy ensuring more stability of the structure by choosing the same nodes each time if that is possible.</p><p>HEED (Hybrid Energy-Efficient Distributed) [<xref ref-type="bibr" rid="scirp.30906-ref26">26</xref>] algorithm is developed in 2004 by Y. Ossama and S. Fahmy. The choice of the clusterheads depends on their degrees of connectivity and their reserves on energy. The principal goal of HEED is to balance energy consumption between nodes.</p><p>DEBC [<xref ref-type="bibr" rid="scirp.30906-ref27">27</xref>] (Distributed Energy Balance Clustering) is an algorithm of clustering invented by Duan and Fun in 2007, the clusterheads election criterion is probabilistic and depends on the nodes remaining energy. This algorithm is supposed to be complex because of enormous number of transmitted messages which makes it more effective for the small networks.</p><p>In 2008, Yu and al. introduced the EEDMC [<xref ref-type="bibr" rid="scirp.30906-ref28">28</xref>] (Energy-Efficient Distributed Multi-level Clustering) algorithm whose goal was the minimization and the balancing of the energy consumption. The node weight is defined as being the quotient between its average residual energy and the medium residual energy of its neighbors. A multi-hops communication is supposed between the clusterheads and only one clusterhead is selected for the communication with the base station. The simulation results show that EEDMC is effective and allows increase the lifetime of the network.</p></sec></sec><sec id="s3"><title>3. Contribution</title><p>The sensors networks are used for vital and crucial applications (monitoring of habitat, detection of earthquake, military monitoring, &#183;&#183;&#183;). For this reason, reliability represents a very important challenge ([5,6], [29,30]). In addition, energy consumption (lifetime of network) presents the most important metric in the performance evaluation of network [<xref ref-type="bibr" rid="scirp.30906-ref1">1</xref>]. Indeed, the lifetime is regarded as a fundamental factor in the context of availability in the WSN [<xref ref-type="bibr" rid="scirp.30906-ref31">31</xref>]. This parameter poses energy safeguarding problems particularly if the application must work a long time. In fact, it is impossible to reload or replace nodes’ batteries after their exhaustion [<xref ref-type="bibr" rid="scirp.30906-ref18">18</xref>].</p><p>Then we propose an efficient algorithm to solve this problem. Some of the designed goals are:</p><p>• Minimize the quantity of data transmitted in the network.</p><p>• Define a standby mode</p><p>• Balance the energy dissipation between nodes.</p><p>• Limit the number of hops between an ordinary node and clusterhead to 1 hop.</p><p>• When CH receives the data, it transmits them directly towards the base station.</p><p>• Reduce the nodes transmission range.</p><p>• Minimize the number of control messages in the clusters construction phase.</p></sec><sec id="s4"><title>4. Network Architecture</title><p>The sensor network considered is composed of three levels (<xref ref-type="fig" rid="fig1">Figure 1</xref>): the first level represents the whole sensors (nodes members) whose roles are the capture and the sending of information towards the corresponding clusterhead. These sensors have the same radio transmission range.</p><p>The whole clusterheads (CH) constitute the second level; they merge the attentive messages transmitted by their members and send the created signal towards the base station. CH and its members form a cluster. A cluster is defined as being the coverage area of its CH.</p><p>The members as well as CHs have the same features (a limited battery in energy and two radios receiving/ transmitters: to communicate with the network of the first level and another for the communication with the base station). The base station forms the third level, it treats the received data.</p><p>The members of cluster communicate directly with their CHs (connectivity intra-cluster to 1 hop). CHs communicate directly with the base station. This communication procedure is defined in LEACH clustering algorithm [<xref ref-type="bibr" rid="scirp.30906-ref22">22</xref>] whose goal is to lower the energy consumption during the communication.</p><p>We suppose that the nodes of the first level work on the frequency channels 802.15.4 (zigbee). Indeed, four frequency channels are enough to sweep all the communication surface while being based on the principle of frequency re-uses. We also suppose that CHs use the protocol pile of standard 802.11 for their communication with the base station.</p></sec><sec id="s5"><title>5. Model and Notation</title><p>We will model the RCSF by a graph <img src="1-9501279\e8f4a434-d553-4946-be3f-81707f1dcd0f.jpg" /> where V represents the whole of sensors and</p><p><img src="1-9501279\83aa6efe-980e-441a-a8f2-01a75a7c253a.jpg" /></p><p>represents the whole of wireless connections between nodes. R is the communication range, and D(U,v) defines the Euclidean distance between the nodes U and V.</p><p>The properties are the following:</p><p>• N: the number of nodes.</p><p>• ID (U): the identifier of node U.</p><p>• D (U): the connectivity degree of U.</p><p>• M (U): the mobility of U.</p><p>• E<sub>c</sub><sub>/</sub><sub>com</sub>(U): power consumption by communication unit of U.</p><p>• Dis(U): the distance between the node U and the base station.</p><p>• Neigh (U): is the whole of nodes in the neighborhood of 1-hop of U.</p><p>• D (U): the degree U.</p><p>• Weight (U): the weight of U.</p><p>• State (U): state of U. We distinguish two states: “CH” (clusterhead) and “Nm” (nodes member)</p><p>• T: is the period of standby mode (deactivation period).</p></sec><sec id="s6"><title>6. MED-BS Clustering Algorithm</title><p>In this section, we propose a new clustering algorithm called MED-BS (Mobility Energy Degree Distances to Base Station) Clustering Algorithm for the sensors networks of which the goal is the minimization of the power consumption in the cluster creation phase.</p><sec id="s6_1"><title>6.1. Mobility Model</title><p>Mobility is the leading cause of topology changes in the sensors networks. It should be essential to integrate mobility metric for the clusterheads election and the clusters’ formation.</p><p>We will define three mobility levels for sensors:</p><p>• Level 1: nodes speed is very weak in this case, speed lies between 0 and 5 km/h.</p><p>• Level 2: nodes speed is average, in this case, speed lies between 5 km/h and 20 km/h.</p><p>• Level 3: nodes speed is high, in this case, speed lies between 20 km/h and 44 km/h.</p><p>We suppose that the sensors speed is constant. The sensor mobility is characterized by the mobility level and can have the following values:</p><p>• M(U) = 1, if the node speed U belongs to first level.</p><p>• M(U) = 2, if the node speed U belongs to second level.</p><p>• M(U) = 3, if the node speed U belongs to third level.</p><p>We also suppose that sensors nodes know in advance their mobility levels and that the nodes having mean and high mobility will not take part in the clusterheads election phase. The purpose of this assumption is to maintain the stability of the structure. The consumed power by the mobility of nodes is not considered into account.</p></sec><sec id="s6_2"><title>6.2. Energy Consumption Model</title><p>The energy consumption rate in the sensors networks represents the most important metric in the perform ances’ evaluation phase. This parameter depends on the used nodes’ characteristics (standby mode, nature of data processing, transmitted power, &#183;&#183;&#183;), and nodes behavior during the communication (retransmission, congestion, diffusion of the messages, &#183;&#183;&#183;) [<xref ref-type="bibr" rid="scirp.30906-ref32">32</xref>].</p><p>The consumed power by sensor is that the consumed power by these capture units, treatment units and communication units. So the energy consumption formula is defined as follows [<xref ref-type="bibr" rid="scirp.30906-ref25">25</xref>]:</p><disp-formula id="scirp.30906-formula14733"><label>(1)</label><graphic position="anchor" xlink:href="1-9501279\4a078291-bfdd-44b0-9166-382c1841f468.jpg"  xlink:type="simple"/></disp-formula><p>where:</p><p>• E<sub>c</sub><sub>/</sub><sub>capture</sub>: is the energy consumed by a sensor during the capture unit activation. This energy depends primarily on the type of detected event (image, its, temperature&#183;&#183;&#183;) and of the tasks to be realized by this unit (sampling, conversion &#183;&#183;&#183;).</p><p>• E<sub>c</sub><sub>/</sub><sub>treatment</sub>: is the energy consumed by the sensor during the activation of its treatment unit.</p><p>• E<sub>c</sub><sub>/</sub><sub>communication</sub> is the energy consumed by the sensor during the activation of its communication unit.</p><p>The consumed energy by sensors during communication is larger than those consumed by the treatment unit and the capture unit. Indeed, the transmission of a bit of information can consume as much as the execution of a few thousands instructions [<xref ref-type="bibr" rid="scirp.30906-ref33">33</xref>]. For that, we can neglect the energy of the capture unit, and the treatment unit compared to the energy consumed by the communication unit. In this case, the Equation (1) will be thus:</p><disp-formula id="scirp.30906-formula14734"><label>(2)</label><graphic position="anchor" xlink:href="1-9501279\740661f9-5d06-4b54-9327-547df6168731.jpg"  xlink:type="simple"/></disp-formula><p>The communication energy breaks up into emission energy and reception energy:</p><disp-formula id="scirp.30906-formula14735"><label>(3)</label><graphic position="anchor" xlink:href="1-9501279\bd0d3369-e745-4e42-85f7-5b4ef81b8d42.jpg"  xlink:type="simple"/></disp-formula><p>Referring to [<xref ref-type="bibr" rid="scirp.30906-ref34">34</xref>], the transmission energy and reception energy are defined as follows:</p><disp-formula id="scirp.30906-formula14736"><label>(4)</label><graphic position="anchor" xlink:href="1-9501279\8d06dbee-d49b-40ba-86d5-06da88c1b48a.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.30906-formula14737"><label>(5)</label><graphic position="anchor" xlink:href="1-9501279\53cedbfc-7038-4f22-ae55-e1aecfdd6d12.jpg"  xlink:type="simple"/></disp-formula><p>where:</p><p>• K: message length (bits).</p><p>• D: distance between transmitting node and receiving node (m).</p><p>• λ: of way loss exhibitor,<img src="1-9501279\7d0ea922-85cc-4839-b706-8755e4e21ed5.jpg" />.</p><p>• E<sub>elec</sub>: emission /reception energy,<img src="1-9501279\4ecc9730-40c5-482c-931f-85435c293c59.jpg" />.</p><p>• ε<sub>amp</sub>: transmission amplification coefficient, <img src="1-9501279\db92adfe-584b-458f-b708-f242478a7639.jpg" />.</p><p>In [<xref ref-type="bibr" rid="scirp.30906-ref22">22</xref>], the authors compared the consumed power by a clusterhead by carrying out the aggregation of received messages with that consumed without aggregation. They showed that when the energy considered for aggregation is lower than a limits value (1 &#181;J/bit/signal), then, the transmission with aggregation requires a weaker energy than that without aggregation.</p><p>We suppose that the aggregation energy cost respects the limiting value introduced into [<xref ref-type="bibr" rid="scirp.30906-ref22">22</xref>]. The power consumed by a clusterhead during the transmission towards the base station will be thus:</p><disp-formula id="scirp.30906-formula14738"><label>(6)</label><graphic position="anchor" xlink:href="1-9501279\1d15f50e-2b93-44c6-8ad7-b0ba033c8cb6.jpg"  xlink:type="simple"/></disp-formula><p>where E<sub>DA</sub>: power consumed during aggregation.</p></sec><sec id="s6_3"><title>6.3. ClusterHeads Election Procedure</title><p>Step 1: Each node sends a message “hello” for the discovery of 1-hop neighborhood.</p><p>Step 2: Nodes having a low level of mobility (M(U) = 1) calculate their weights, the weight is calculated as follows:</p><disp-formula id="scirp.30906-formula14739"><label>(6)</label><graphic position="anchor" xlink:href="1-9501279\0abc3026-7d80-468e-95be-9435b23e4d1f.jpg"  xlink:type="simple"/></disp-formula><p>Two nodes do not having the same weight because of the distance parameter (Dis(U)).</p><p>Step 3: The nodes diffuse their weights towards their neighbors.</p><p>Step 4: The node which has the weakest weight is declared like clusterhead by putting its state = “CH” and sends a message “clusterhead_elected” (containing its identity) to its neighbors.</p><p>Step 5: The neighbors receiving this message, declare themselves like “Nm”, send to the clusterhead a message “clusterhead_accepted”, and record the identity of their clusterheads in their databases.</p></sec><sec id="s6_4"><title>6.4. Particular Conditions</title><p>Condition 1: A node receiving two messages “clusterhead_elected” on behalf of both clusterheads, chooses that having the weakest weight.</p><p>Condition 2: A node having a worthless degree (not having neighbors), sends its data directly towards the base station and starts the “to join a new cluster” procedure (this procedure will be thereafter detailed).</p><p>Condition 3: An outgoing node (from the cluster), sends its data directly towards the base station and starts the “to join a new cluster” procedure.</p><p>Condition 4: A clusterhead checks its reserve of energy periodically, if the remaining energy is about 40% * initial energy, then the clusterhead starts the procedure of “change clusterhead” then is declared like “Nm”.</p></sec><sec id="s6_5"><title>6.5. To Join New Cluster Procedure</title><p>Periodically, the base station sends to the disconnected nodes the list of clusterheads and their place. Each node calculates at each period its distances from different clusterheads, if a distance is ≤R, then it sends a message “hello” towards the concerned clusterhead. The clusterhead sends its ID and the node joins this cluster by sending a message “clusterhead_accepted”.</p></sec><sec id="s6_6"><title>6.6. ClusterHeads Change Procedure</title><p>Step 1: The clusterhead sends to its neighbors a message “clusterhead-changes”, and is declared like “Nm”.</p><p>Step 2: The nodes having a low mobility calculate and send their weights Step 3: The node having the weakest weight is declared like “CH”, and diffuses a message “clusterhead_elected ”.</p><p>Step 4: The neighbors send to the clusterhead a message “clusterhead_accepted”, and record the identity of their clusterhead in their databases.</p></sec><sec id="s6_7"><title>6.7. Sending Information towards the Base Station</title><p>Each member has one period of deactivation T. It awakes each time, collects information and sends it towards its clusterhead. The clusterhead aggregates received informations and sending the built message towards the base station.</p></sec></sec><sec id="s7"><title>7. Simulations Results</title><p>The results of our algorithm are getting using Matlab 7.0.1 in a computer Intel<sup>&#174;</sup> Pentium<sup>&#174;</sup> Dual CPU 1.86 Ghz with 1.99 Go of RAM.</p><p>The network of first level is composed of set of sensors. The number node in the sensor network varies between 10 and 200 nodes. The mobility of each sensor is supposed constant, and a speed is dedicated for each level of mobility: level 1:1 km/h, level 2:5 km/h and level 3:20 km/h. The initial energy for each sensor is equal to 0.5 J.</p><p>The simulation of our algorithm was carried out during 10 deactivation intervals T (standby mode) in a space of 150 m &#215; 150 m and the range of the nodes (Tx-Arranges) varies between 20 m and 100 m. The size of a measured data package for sensors and envoy towards their clusterheads is 4000 bits.</p><p>During simulation, several metric were taken into account: the energy consumption, median number of clusterheads, median number of emitted packages towards the base station, average number of emitted packages towards the clusterheads, control traffic emitted/received during the clusters construction phase and the control traffic emitted/received during the data emission phase.</p><p>In this section, we will represent the results of our algorithm by varying the nodes range then we will compare our algorithm with LEACH algorithm while varying the size of the network each time.</p><sec id="s7_1"><title>7.1. Performances Evaluation: MED-BS Algorithm</title><p>In follows, we consider 100 nodes spaced in a geographical zone of 150 m &#215; 150 m, the range of the nodes varies between 20 m and 100 m.</p><p>The following figure (<xref ref-type="fig" rid="fig2">Figure 2</xref>) represents the impact of energy consumption on tx-ranges. We can see that the energy consumption increases with the nodes’ transmission range. We also notice that this energy increases proportionally but slightly with the value of the tx-range; this is explained by the increase in the node tx-range which leads to an increase in the emission power and thus to the increase in the consumed power.</p><p>On the same figure, we can see that the percentage of the consumed power remains weak (about 0.088%) and does not exceed the 0.146% in the worst cases (100 m), these values remain reasonable for a network having 100 nodes.</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> represents the impact of clusterheads number on tx-ranges. We can notice that the clusterheads number falls regularly according to nodes’ tx-range. This is explained by the increase of tx-range which leads to the increase among neighbors (degree) for each node. Under these conditions, the number of members of clusterhead increases and by results, the number of created clusterheads too.</p><p>The following figure (<xref ref-type="fig" rid="fig4">Figure 4</xref>) shows the impact on the evolution of the median number of packages emitted towards the base station (resp. towards the cluster-</p><p>heads) on tx-range. The number of packages sent towards the clus-terheads increases regularly with tx-ranges, that is due to the amplification of the clusterheads members by multi-plying their coverage areas.</p><p>The same figure shows that the shape of the second curve is opposed to that of the first. Indeed, the increase in the tx-range minimizes the number of the clusterheads created (<xref ref-type="fig" rid="fig3">Figure 3</xref>) and thereafter reduces the number of the sent packages towards the base station.</p><p><xref ref-type="fig" rid="fig5">Figure 5</xref> describes the evolution of the sent control traffic according to tx-ranges during clusters’ construction phase like after their construction. During the clusters’ construction phase, the control traffic is rather high, that is due to the messages “hello” transmitted at the time of the neighborhood discovery as well as the sent messages between each clusterhead and its members (“clusterhead-elected” and “clusterhead-accepted”). We can notice that the control traffic evolves with the increase in tx-ranges, and this is explained by the increase of neighbors’ number each time.</p><p>The same figure shows us after the clusters construction phase, the control traffic decreases according to the tx-range, the measured values are rather lower than those measured with the first phase. This pace shows well the stability of built structure throughout the data sending phase.</p><p>The same pace characterizes the received control traffic (<xref ref-type="fig" rid="fig6">Figure 6</xref>). The value of the received messages at the clusters construction phase is raised and arrives at 170 messages/node with a tx-range of 100 m, explained by the increase of neighbors’ number leads to the increase among messages “hello” received during the discovered neighborhood phase.</p></sec><sec id="s7_2"><title>7.2. MED-BS vs Leach</title><p>Among the most known clustering algorithm in literature: we distinguish, LEACH algorithm. LEACH is a famous</p><p>algorithm which goal is the minimization of the energy consumption in the sensors networks.</p><p>We wish in this part to compare MED-BS Clustering Algorithm with the LEACH clustering algorithm. The same energy and mobility models were considered for the two algorithms. LEACH was carried out during 10 successive towers, in parallel; MED-BS was carried out during 10 successive deactivation periods. The networks’ size tested varied between 10 and 200 nodes.</p><p><xref ref-type="fig" rid="fig7">Figure 7</xref> represents the impact of the median number of built clusterheads on the network cardinality. We notice that the number of clusterheads increases regularly with the network size.</p><p>The same figure shows that MED-BS Clustering Algorithm produces less clusterheads in most shared of cases (size between 40 and 200). For LEACH more clusterheads are necessary for a larger cardinality. For MED-BS, the same number of clusterheads can be used to manage a higher network size. That explains the effecttiveness of the structure created by MED-BS if a set of sensors is added.</p><p><xref ref-type="fig" rid="fig8">Figure 8</xref> represents the impact of average spent en-</p></sec></sec></body><back><ref-list><title>References</title><ref id="scirp.30906-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">R. Kacimi, “Techniques de Conservation D’Energie Pour les Réseaux de Capteurs Sans Fil,” Ph.D., Toulouse University, Toulouse, 2009.</mixed-citation></ref><ref id="scirp.30906-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">H. Cuong, “Optimisation D’Accès au Médium et Stockage de donnEes Distribuées Dans les Réseaux de Capteurs,” Ph.D., University of Franche-Comté, Besancon, 2008.</mixed-citation></ref><ref id="scirp.30906-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">A. Makhoul, “Réseaux de Capteurs: Localisation, Couverture et Fusion de Données,” Ph.D., university of Franche-Comté, Besancon, 2008.</mixed-citation></ref><ref id="scirp.30906-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">L. Samper, “Modélisations et Analyses de Réseaux de Capteurs,” Ph.D., Verimag Laboratory, Grenoble, 2008.</mixed-citation></ref><ref id="scirp.30906-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Y. Yaser, “Routage pour la Gestion de l’Energie ans les Réseaux de Capteurs Sans Fil,” Ph.D., University of Hight Alsase, Mulhouse, 2010.</mixed-citation></ref><ref id="scirp.30906-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">P. Parrend, “Localisation dans les Réseaux de Capteurs,” Ph.D., Californie University, Berkeley, 2005.</mixed-citation></ref><ref id="scirp.30906-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">K. Beydoun, “Conception d’un Protocole de Routage Hiérarchique Pour les Réseaux de Capteurs,” Ph.D., University of Franche-Comté, Besancon, 2009.</mixed-citation></ref><ref id="scirp.30906-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">K. Drira, H. Kheddouci and N. Tabbane, “Topologie Dynamique Virtuelle pour le Routage dans les Réseaux Mobiles Ad Hoc,” SETIT 2007, Tunisia, 2007, pp. 25-29.</mixed-citation></ref><ref id="scirp.30906-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">M. Ayaz, I. Baig, A. Abdullah and I. Faye, “A Survey on Routing Techniques in Underwater Wireless Sensor Networks,” Journal of Network and Computer Applications, Vol. 34, No. 6, 2011, pp. 1908-1927. 
doi:10.1016/j.jnca.2011.06.009</mixed-citation></ref><ref id="scirp.30906-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">M. Yarvis, N. Kushalnagar, H. Singh, A. R. Garajan, Y. Liu and S. Singh, “Exploiting Heterogeneity in Sensor Networks,” Proceedings of IEEE 24th Annual Joint Conference of the IEEE Computer and Communications Societies, Vol. 2, 2005, pp. 878-890. 
doi:10.1109/INFCOM.2005.1498318</mixed-citation></ref><ref id="scirp.30906-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Z. Hongwei and A. Arora, “Gs3: Scalable Self-Configuration and Self-Healing in Wireless Networks,” Proceedings of the 21 Annual Symposium on Principles of Distributed Computing, Mobile and Wireless Communications Network, USA, 2002.</mixed-citation></ref><ref id="scirp.30906-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">G. Gupta and M. Younis, “Load-Balanced Clustering of Wireless Sensor Networks,” Proceedings of the IEEE International Conference, Vol. 3, 2003, pp. 1848-1852.</mixed-citation></ref><ref id="scirp.30906-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">C. P. Low, C. Ping, C. Fang, J. Mee and Y. H. Ang, “Load-Balanced Clustering Algorithms for Wireless Sensor Networks,” IEEE International Conference on Communications, Glasgow, 24-28 June 2007, pp. 3458-3490.</mixed-citation></ref><ref id="scirp.30906-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">T. Neeta, G. Elangovan, S. Iyengar and N. Balakrishnan, “A Message-Efficient, Distributed Clustering Algorithm for Wireless Sensor and Actor Networks,” IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems, Heidelberg, September 2006, pp. 53-58.</mixed-citation></ref><ref id="scirp.30906-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">L. Qing, Q. Zhu and M. Wang, “Design of a Distributed Energy-Efficient Clustering Algorithm for Heterogenous Wireless Sensor Networks,” Computer Communications, Vol. 29, No. 12, 2006, pp. 2230-2237. 
doi:10.1016/j.comcom.2006.02.017</mixed-citation></ref><ref id="scirp.30906-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">W. N. Richard and A. Boukerche, “Mobile Data Collector Strategy for Delay—Sensitive Applications over Wireless Sensor Networks,” Computer Communications, Vol. 31, No. 5, 2008, pp. 1028-1039.  
doi:10.1016/j.comcom.2007.12.024</mixed-citation></ref><ref id="scirp.30906-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">D. Kumar, D. Trilok, C. Aseri and R. B. Patel, “EEHC: Energy Efficient Heterogeneous Clustered Scheme for Wireless Sensor Networks,” Computer Communication, Vol.32, No. 4, 2009, pp. 662-667.  
doi:10.1016/j.comcom.2008.11.025</mixed-citation></ref><ref id="scirp.30906-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">C. T. Kone, “Conception de l’Architecture d’un Réseau de Capteurs sans Fil de Grande Dimension,” Ph.D., University of Henri Poincaré, Nancy, 2011.</mixed-citation></ref><ref id="scirp.30906-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">A. Ephremides, J. E. Wieselthier and D. J. Baker, “A Design Concept for Reliable Mobile Radio Networks with Frequency Hopping Signaling,” Proceedings of the IEEE, Vol. 75, No. 1, 1987, pp. 56-73.  
doi:10.1109/PROC.1987.13705</mixed-citation></ref><ref id="scirp.30906-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">G. Mario and J. T.-C. Tsai, “Multicluster, Mobile, Multimedia Radio Network,” Wireless Networks, Vol. 1 No. 3, 1995, pp. 255-265 doi:10.1007/BF01200845</mixed-citation></ref><ref id="scirp.30906-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">A. D. Amis, R. Prakash, T. H. P. Vuong and D. T. Huynh, “Max-Min d-Cluster Formation in Wireless Ad Hoc Networks,” Proceedings of 19th Annual Joint Conference of the IEEE Computer and Communications Societies, Vol. 1, 2000, pp. 32-41.</mixed-citation></ref><ref id="scirp.30906-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">W. R. Heinzelman, A. Chandrakasan and H. Balakrishnan, “Energy-Efficient Communication Protocol for Wireless Microsensor Networks,” Proceedings of IEEE 33rd Hawaii International Conference on System Sciences, USA, 4-7 January 2000. doi:10.1109/HICSS.2000.926982</mixed-citation></ref><ref id="scirp.30906-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">W. B. Heinzelman, “Application-Specific Protocol Architectures for Wireless Networks,” Ph.D, B. S. Cornell University, New York, 2000.</mixed-citation></ref><ref id="scirp.30906-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">C. Mainak, K. Das and D. Turgut, “Wca: A weighted Clustering Algorithm for Mobile Ad Hoc Networks,” Cluster Computing, Vol. 5, No. 2, 2002, pp. 193-204. 
doi:10.1023/A:1013941929408</mixed-citation></ref><ref id="scirp.30906-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">N. Mitton, A. Busson and E. Fleury, “Self-Organization in Large Scale Adhoc Networks,” Mediterranean Ad Hoc Networking Workshop (Med-Hoc-Net’04), Bodrum, 2004.</mixed-citation></ref><ref id="scirp.30906-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Y. Ossama and S. Fahmy, “HEED: A Hybrid Energy-Efficient Distributed Clustering Approach for Ad Hoc Sensor Networks,” IEEE Transactions on Mobile Computing, Vol. 3, No. 4, 2004, pp. 366-379. 
doi:10.1109/TMC.2004.41</mixed-citation></ref><ref id="scirp.30906-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">C. M. Duan and F. Hong, “A Distributed Energy Balance Clustering Protocol for Heterogeneous Wireless Sensor Neworks,” International Conference on Wireless Communications, Networking and Mobile Computing, Shanghai, 21-25 September 2007, pp. 2469-2473.</mixed-citation></ref><ref id="scirp.30906-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Z. H. Yu, Y. Liu and Y. L. Cai, “Design of an Energy-Efficient Distributed Multi-Level Clustering Algorithm for Wireless Sensor Networks,” Proceedings of IEEE 4th International Conference: Wireless Communications, Networking and Mobile Computing (WiCOM’08), Dalian, 12-14 October 2008, pp. 1-4.</mixed-citation></ref><ref id="scirp.30906-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">L. Mohamed, “Diffusion et Couverture Basées sur le Clustering Dans les Réseaux de Capteurs: Application à la Domotique,” Ph.D., University of Franche-Comté, Besancon, 2009.</mixed-citation></ref><ref id="scirp.30906-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">G. Chalhoub, “Les Réseaux de Capteurs Sans Fil”, Ph.D, University of Clermont, Auvergne, 2010.</mixed-citation></ref><ref id="scirp.30906-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">M. Khan and J. Misic, “On the Lifetime of Wireless Sensor Networks,” ACM Transactions on Sensor Networks (TOSN), Vol. 5, No. 5, 2009, Article ID: 5.</mixed-citation></ref><ref id="scirp.30906-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">V. Raghunathan, C. Schurgers, S. Park and M. B. Srivastava, “Energy-Aware Wireless Micro-Sensor Networks,” IEEE Signal Processing Magazine, Vol. 19 No. 2, 2002, pp. 40-50. doi:10.1109/79.985679</mixed-citation></ref><ref id="scirp.30906-ref33"><label>33</label><mixed-citation publication-type="other" xlink:type="simple">G. J. Pottie and W. J. Kaiser, “Wireless Integrated Network Sensors,” Communications of the ACM, Vol. 43, No. 5, 2000, pp. 51-58. doi:10.1145/332833.332838</mixed-citation></ref><ref id="scirp.30906-ref34"><label>34</label><mixed-citation publication-type="other" xlink:type="simple">M. J. Handy, M. Haase and D. Timmermann, “Low Energy Adaptive Clustering Hierarchy with Deterministic Cluster-Head Selection,” Proceedings of the IEEE 4th International Workshop Mobile and Wireless Communication Network, Germany, 2002, pp. 368-372. 
doi:10.1109/MWCN.2002.1045790</mixed-citation></ref></ref-list></back></article>