X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/ThesisAli.git/blobdiff_plain/90920ab3bc58bd72650c687b100ba3fece7650b0..6a69f6fbd00159f3ee3efd2536815457a556b09a:/CHAPITRE_05.tex?ds=inline diff --git a/CHAPITRE_05.tex b/CHAPITRE_05.tex index d542a14..c3839fc 100644 --- a/CHAPITRE_05.tex +++ b/CHAPITRE_05.tex @@ -14,53 +14,46 @@ %The fast developments of low-cost sensor devices and wireless communications have allowed the emergence of WSNs. A WSN includes a large number of small, limited-power sensors that can sense, process, and transmit data over a wireless communication. They communicate with each other by using multi-hop wireless communications and cooperate together to monitor the area of interest, so that each measured data can be reported to a monitoring center called sink for further analysis~\cite{ref222}. There are several fields of application covering a wide spectrum for a WSN, including health, home, environmental, military, and industrial applications~\cite{ref19}. %On the one hand sensor nodes run on batteries with limited capacities, and it is often costly or simply impossible to replace and/or recharge batteries, especially in remote and hostile environments. Obviously, to achieve a long life of the network it is important to conserve battery power. Therefore, lifetime optimization is one of the most critical issues in wireless sensor networks. On the other hand we must guarantee coverage over the area of interest. To fulfill these two objectives, the main idea is to take advantage of overlapping sensing regions to turn-off redundant sensor nodes and thus save energy. In this paper, we concentrate on the area coverage problem, with the objective of maximizing the network lifetime by using an optimized multiround scheduling. -We study the problem of designing an energy-efficient optimization algorithm that divides the sensor nodes in a WSN into multiple cover sets such that the area of interest is monitored as long as possible. Providing multiple cover sets can be used to improve the energy efficiency of WSNs. Therefore, in order to increase the longevity of the WSN and conserve the energy, it can be useful to provide multiple cover sets in one time and schedule them for multiple rounds, so that the battery life of a sensor is not wasted due to the repeated execution of the coverage optimization algorithm, as well as the information exchange and leader election. +We study the problem of designing an energy-efficient optimization algorithm that divides the sensor nodes in a WSN into multiple cover sets such that the area of interest is monitored as long as possible. Providing multiple cover sets can be used to improve the energy efficiency of WSNs. Therefore, in order to increase the longevity of the WSN and conserve the energy, it can be useful to provide multiple cover sets in one time step and schedule them for multiple rounds, so that the battery life of a sensor is not wasted due to the repeated execution of the presensing phases of MuDiLCO protocol. -The MuDiLCO protocol (for Multiround Distributed Lifetime Coverage Optimization protocol) presented in this chapter is an extension of the approach introduced in chapter 4. Simulation results have shown that it was more interesting to divide the area into several subregions, given the computation complexity. Compared to our protocol in chapter 4, in this one we study the possibility of dividing the sensing phase into multiple rounds. In fact, in this chapter we make a multiround optimization while it was a single round optimization in our protocol in chapter 4. +The MuDiLCO protocol (for Multiround Distributed Lifetime Coverage Optimization protocol) presented in this chapter is an extension of the approach introduced in chapter 4. +%Simulation results have shown that it was more interesting to divide the area into several subregions, given the computation complexity. +Compared to DiLCO protocol in chapter 4, in this one we study the possibility of dividing the sensing phase into multiple rounds. In fact, in this chapter we make a multiround optimization while it was a single round optimization in our protocol in chapter 4. -The remainder of the chapter continues with section \ref{ch5:sec:02} where a detail of MuDiLCO Protocol is presented. The next section describes the Primary Points based Multiround Coverage Problem formulation which is used to schedule the activation of sensors in T cover sets. Section \ref{ch5:sec:04} shows the simulation +The remainder of this chapter continues with section \ref{ch5:sec:02} where a detailed description of MuDiLCO Protocol is given. The next section describes the primary points based multiround coverage problem formulation which is used to schedule the activation of sensors in multiple cover sets. Section \ref{ch5:sec:04} shows the simulation results. The chapter ends with a conclusion and some suggestions for further work. -\section{MuDiLCO Protocol Description} +\section{Description of the MuDiLCO Protocol } \label{ch5:sec:02} -\noindent In this section, we introduce the MuDiLCO protocol which is distributed on each subregion in the area of interest. It is based on two energy-efficient -mechanisms: subdividing the area of interest into several subregions (like cluster architecture) using divide and conquer method, where the sensor nodes cooperate within each subregion as independent group in order to achieve a network leader election; and sensor activity scheduling for maintaining the coverage and prolonging the network lifetime, which are applied periodically. MuDiLCO protocol uses the same assumptions and network model that presented in chapter 4, section \ref{ch4:sec:02:01} and it uses the primary point coverage model which is described in the same chapter, section \ref{ch4:sec:02:02}. +%\noindent In this section, we introduce the MuDiLCO protocol which is distributed on each subregion in the area of interest. It +Like DiLCO, the MuDiLCO protocol is based on two energy-efficient +mechanisms: subdividing the area of interest into several subregions (like cluster architecture) using divide and conquer method, where the sensor nodes cooperate within each subregion as independent group in order to achieve a network leader election; and sensor activity scheduling for maintaining the coverage and prolonging the network lifetime, which are applied periodically. MuDiLCO uses the same assumptions, primary point coverage and network models, than DiLCO, given in section \ref{ch4:sec:02:01} and \ref{ch4:sec:02:02}, respectively. -\subsection{Background Idea and Algorithm} -\label{ch5:sec:02:02} -The area of interest can be divided using the divide-and-conquer strategy into -smaller areas, called subregions, and then our MuDiLCO protocol will be -implemented in each subregion in a distributed way. - -As can be seen in Figure~\ref{fig2}, our protocol works in periods fashion, -where each is divided into 4 phases: Information~Exchange, Leader~Election, -Decision, and Sensing. The information exchange among wireless sensor nodes is described in chapter 4, section \ref{ch4:sec:02:03:01}. The leader election in each subregion is explained in chapter 4, section \ref{ch4:sec:02:03:02}, but the difference in that the elected leader in each subregion is for each period. In decision phase, each WSNL will solve an integer program to select which cover sets will be -activated in the following sensing phase to cover the subregion to which it belongs. The integer program will produce $T$ cover sets, one for each round. The WSNL will send an Active-Sleep packet to each sensor in the subregion based on the algorithm's results, indicating if the sensor should be active or not in -each round of the sensing phase. Each sensing phase is itself divided into $T$ rounds -and for each round a set of sensors (a cover set) is responsible for the sensing -task. Each sensor node in the subregion will -receive an Active-Sleep packet from WSNL, informing it to stay awake or to go to -sleep for each round of the sensing phase. Algorithm~\ref{alg:MuDiLCO}, which -will be executed by each node at the beginning of a period, explains how the -Active-Sleep packet is obtained. In this way, a multiround optimization process is performed during each -period after Information~Exchange and Leader~Election phases, in order to -produce $T$ cover sets that will take the mission of sensing for $T$ rounds. +%\subsection{Background Idea and Algorithm} +%\label{ch5:sec:02:02} +%The area of interest can be divided using the divide-and-conquer strategy into smaller areas, called subregions, and then our MuDiLCO protocol will be implemented in each subregion in a distributed way. + +As can be seen in Figure~\ref{fig2}, our protocol works in periods fashion, where each is divided into 4 phases: Information~Exchange, Leader~Election, Decision, and Sensing. +%The information exchange among wireless sensor nodes is described in chapter 4, section \ref{ch4:sec:02:03:01}. The leader election in each subregion is explained in chapter 4, section \ref{ch4:sec:02:03:02}, +The difference with MuDiLCO in that the elected leader in each subregion is for each period. In decision phase, each leader will solve an integer program to select which cover sets will be activated in the following sensing phase to cover the subregion to which it belongs. The integer program will produce $T$ cover sets, one for each round. The leader will send an ActiveSleep packet to each sensor in the subregion based on the algorithm's results, indicating if the sensor should be active or not in +each round of the sensing phase. Each sensing phase is itself divided into $T$ rounds and for each round a set of sensors (a cover set) is responsible for the sensing task. +%Each sensor node in the subregion will receive an ActiveSleep packet from leader, informing it to stay awake or to go to sleep for each round of the sensing phase. +Algorithm~\ref{alg:MuDiLCO}, which will be executed by each node at the beginning of a period, explains how the ActiveSleep packet is obtained. In this way, a multiround optimization process is performed during each +period after Information~Exchange and Leader~Election phases, in order to produce $T$ cover sets that will take the mission of sensing for $T$ rounds. \begin{figure}[ht!] \centering \includegraphics[width=160mm]{Figures/ch5/GeneralModel.jpg} % 70mm Modelgeneral.pdf -\caption{The MuDiLCO protocol scheme executed on each node} +\caption{MuDiLCO protocol.} \label{fig2} \end{figure} -This protocol minimizes the impact of unexpected node failure (not due to batteries running out of energy), because it works in periods. - -On the one hand, if a node failure is detected before making the decision, the node will not participate during this phase, and, on the other hand, if the node failure occurs after the decision, the sensing task of the network will be temporarily affected: only during the period of sensing until a new period starts. +This protocol minimizes the impact of unexpected node failure (not due to batteries running out of energy), because it works in periods. On the one hand, if a node failure is detected before making the decision, the node will not participate during this phase, and, on the other hand, if the node failure occurs after the decision, the sensing task of the network will be temporarily affected: only during the period of sensing until a new period starts. The energy consumption and some other constraints can easily be taken into account since the sensors can update and then exchange their information (including their residual energy) at the beginning of each period. However, the pre-sensing phases (Information Exchange, Leader Election, and Decision) are energy consuming for some nodes, even when they do not join the network to monitor the area. @@ -86,7 +79,7 @@ The energy consumption and some other constraints can easily be taken into \emph{$\left\{\left(X_{1,k},\dots,X_{T,k}\right)\right\}_{k \in J}$ = Execute Integer Program Algorithm($T,J$)}\; \emph{$s_j.status$ = COMMUNICATION}\; - \emph{Send $ActiveSleep()$ to each node $k$ in subregion a packet \\ + \emph{Send $ActiveSleep()$ to each node $k$ in subregion: a packet \\ with vector of activity scheduling $(X_{1,k},\dots,X_{T,k})$}\; \emph{Update $RE_j $}\; } @@ -113,15 +106,13 @@ The energy consumption and some other constraints can easily be taken into \label{ch5:sec:03} -According to our algorithm~\ref{alg:MuDiLCO}, the integer program is based on the model -proposed by \cite{ref156} with some modifications, where the objective is -to find a maximum number of disjoint cover sets. To fulfill this goal, the -authors proposed an integer program which forces undercoverage and overcoverage -of targets to become minimal at the same time. They use binary variables -$x_{jl}$ to indicate if sensor $j$ belongs to cover set $l$. In our model, we -consider binary variables $X_{t,j}$ to determine the possibility of activating +According to Algorithm~\ref{alg:MuDiLCO}, the integer program is based on the model +proposed by \cite{ref156} with some modifications, where the objective of our model is +to find a maximum number of non-disjoint cover sets. +%To fulfill this goal, the authors proposed an integer program which forces undercoverage and overcoverage of targets to become minimal at the same time. They use binary variables $x_{jl}$ to indicate if sensor $j$ belongs to cover set $l$. In our model, +We consider binary variables $X_{t,j}$ to determine the possibility of activating sensor $j$ during round $t$ of a given sensing phase. We also consider primary -points as targets. The set of primary points is denoted by $P$ and the set of +points as targets. The set of primary points is denoted by $P$ and the set of sensors by $J$. Only sensors able to be alive during at least one round are involved in the integer program. @@ -237,21 +228,23 @@ large compared to $W_{\theta}$. \label{ch5:sec:04:01} We conducted a series of simulations to evaluate the efficiency and the relevance of our approach, using the discrete event simulator OMNeT++ -\cite{ref158}. The simulation parameters are summarized in chapter 4, Table~\ref{tablech4}. Each experiment for a network is run over 25~different random topologies and the results presented hereafter are the average of these 25 runs. +\cite{ref158}. We performed the optimization in the same manner than in chapter 4, considering the same energy model. The simulation parameters are summarized in Table~\ref{tablech4}. Each experiment for a network is run over 25~different random topologies and the results presented hereafter are the average of these 25 runs. We performed simulations for five different densities varying from 50 to 250~nodes deployed over a $50 \times 25~m^2 $ sensing field. More precisely, the deployment is controlled at a coarse scale in order to ensure that the deployed nodes can cover the sensing field with the given sensing range. -Our protocol is declined into four versions: MuDiLCO-1, MuDiLCO-3, MuDiLCO-5, and MuDiLCO-7, corresponding respectively to $T=1,3,5,7$ ($T$ the number of rounds in one sensing period). In the following, we will make comparisons with two other methods. DESK \cite{DESK} and GAF~\cite{GAF}. +Our protocol is declined into four versions: MuDiLCO-1, MuDiLCO-3, MuDiLCO-5, and MuDiLCO-7, corresponding respectively to $T=1,3,5,7$ ($T$ the number of rounds in one sensing period). In the following, we will make comparisons with three other methods. DESK \cite{DESK}, GAF~\cite{GAF}, and DiLCO~\cite{Idrees2}, where MuDiLCO-1 is the same of DiLCO. %Some preliminary experiments were performed in chapter 4 to study the choice of the number of subregions which subdivides the sensing field, considering different network sizes. They show that as the number of subregions increases, so does the network lifetime. Moreover, it makes the MuDiLCO protocol more robust against random network disconnection due to node failures. However, too many subdivisions reduce the advantage of the optimization. In fact, there is a balance between the benefit from the optimization and the execution time needed to solve it. Therefore, -We set the number of subregions to 16 rather than 32 as explained in chapter 4, section \ref{ch4:sec:04:05}. We use the modeling language and the optimization solver which are mentioned in chapter 4, section \ref{ch4:sec:04:02}. In addition, the energy consumption model is presented in chapter 4, section \ref{ch4:sec:04:03}. +We set the number of subregions to 16 rather than 32 as explained in section \ref{ch4:sec:04:05}. +We use the modeling language and the optimization solver which are mentioned in section \ref{ch4:sec:04:02}. +%In addition, the energy consumption model is presented in chapter 4, section \ref{ch4:sec:04:03}. \subsection{Metrics} \label{ch5:sec:04:02} -To evaluate our approach we consider the following performance metrics: - +To evaluate our approach we consider the following performance metrics +\begin{frame}{} \begin{enumerate}[i)] \item {{\bf Coverage Ratio (CR)}:} The coverage ratio can be calculated by: @@ -260,9 +253,8 @@ To evaluate our approach we consider the following performance metrics: \mbox{CR}(\%) = \frac{\mbox{$n^t$}}{\mbox{$N$}} \times 100, \end{equation*} where $n^t$ is the number of covered grid points by the active sensors of all -subregions during round $t$ in the current sensing phase and $N$ is the total number -of grid points in the sensing field of the network. In our simulations $N = 51 -\times 26 = 1326$ grid points. +subregions during round $t$ in the current sensing phase. +% and $N$ is the total number of grid points in the sensing field of the network. In our simulations $N = 51 \times 26 = 1326$ grid points. \item{{\bf Number of Active Sensors Ratio (ASR)}:} The Active Sensors Ratio for round t is defined as follows: @@ -271,43 +263,32 @@ of grid points in the sensing field of the network. In our simulations $N = 51 \mbox{$A_r^t$}}{\mbox{$|J|$}} \times 100, \end{equation*} where $A_r^t$ is the number of active sensors in the subregion $r$ during round -$t$ in the current sensing phase, $|J|$ is the total number of sensors in the -network, and $R$ is the total number of subregions in the network. - -\item {{\bf Network Lifetime}:} Described in chapter 4, section \ref{ch4:sec:04:04}. +$t$ in the current sensing phase. +%, $|J|$ is the total number of sensors in the network, and $R$ is the total number of subregions in the network. -\item {{\bf Energy Consumption (EC)}:} the average energy consumption can be - seen as the total energy consumed by the sensors during the $Lifetime_{95}$ or - $Lifetime_{50}$ divided by the number of rounds. EC can be computed as - follows: +\item {{\bf Energy Consumption (EC)}:} EC can be computed as follows: - % New version with global loops on period \begin{equation*} \scriptsize \mbox{EC} = \frac{\sum\limits_{m=1}^{M} \left[ \left( E^{\mbox{com}}_m+E^{\mbox{list}}_m+E^{\mbox{comp}}_m \right) +\sum\limits_{t=1}^{T} \left( E^{a}_t+E^{s}_t \right) \right]}{\sum\limits_{m=1}^{M} T}, \end{equation*} +The energy factors of above equation are described in section \ref{ch4:sec:04:04}. $E^a_t$ and $E^s_t$ +indicate the energy consumed by the whole network in round $t$ of the sensing phase. -where $M$ is the number of periods and $T$ the number of rounds in a -period~$m$, both during $Lifetime_{95}$ or $Lifetime_{50}$. The total energy -consumed by the sensors (EC) comes through taking into consideration four main -energy factors. The first one , denoted $E^{\scriptsize \mbox{com}}_m$, -represents the energy consumption spent by all the nodes for wireless -communications during period $m$. $E^{\scriptsize \mbox{list}}_m$, the next -factor, corresponds to the energy consumed by the sensors in LISTENING status -before receiving the decision to go active or sleep in period $m$. -$E^{\scriptsize \mbox{comp}}_m$ refers to the energy needed by all the leader -nodes to solve the integer program during a period. Finally, $E^a_t$ and $E^s_t$ -indicate the energy consumed by the whole network in round $t$. +%where $M$ is the number of periods and $T$ the number of rounds in a period~$m$, both during $Lifetime_{95}$ or $Lifetime_{50}$. The total energy consumed by the sensors (EC) comes through taking into consideration four main energy factors. +%The first one , denoted $E^{\scriptsize \mbox{com}}_m$, represents the energy consumption spent by all the nodes for wireless communications during period $m$. $E^{\scriptsize \mbox{list}}_m$, the next factor, corresponds to the energy consumed by the sensors in LISTENING status before receiving the decision to go active or sleep in period $m$. $E^{\scriptsize \mbox{comp}}_m$ refers to the energy needed by all the leader nodes to solve the integer program during a period. Finally, $E^a_t$ and $E^s_t$ indicate the energy consumed by the whole network in round $t$. - -\item {{\bf Execution Time}:} Described in chapter 4, section \ref{ch4:sec:04:04}. - -\item {{\bf Stopped simulation runs}:} Described in chapter 4, section \ref{ch4:sec:04:04}. + %$\right\}$ + +\item {{\bf Execution Time}:} +\item {{\bf Stopped simulation runs}:} \makebox(0,0){\put(0,2.2\normalbaselineskip){% + $\left.\rule{0pt}{2.3\normalbaselineskip}\right\}$ Described in section \ref{ch4:sec:04:04}.}} +\item {{\bf Network Lifetime}:} \end{enumerate} - +\end{frame} \subsection{Results Analysis and Comparison } \label{ch5:sec:04:02} @@ -351,8 +332,8 @@ minimize the communication overhead and maximize the network lifetime. Figure~\ref{fig4} presents the active sensor ratio for 150 deployed nodes all along the network lifetime. It appears that up to round thirteen, DESK and GAF have respectively 37.6\% and 44.8\% of nodes in active mode, whereas -MuDiLCO clearly outperforms them with only 24.8\% of active nodes. After the -thirty-fifth round, MuDiLCO exhibits larger numbers of active nodes, which agrees +MuDiLCO clearly outperforms them with only 23.7\% of active nodes. After the +thirty-sixth round, MuDiLCO exhibits larger numbers of active nodes, which agrees with the dual observation of higher level of coverage made previously. Obviously, in that case, DESK and GAF have fewer active nodes since they have activated many nodes in the beginning. Anyway, MuDiLCO activates the available nodes in a more efficient manner. @@ -412,7 +393,7 @@ network sizes, for $Lifetime_{95}$ and $Lifetime_{50}$. The results show that MuDiLCO is the most competitive from the energy consumption point of view. The other approaches have a high energy consumption due to activating a larger number of redundant nodes, as well as the energy consumed during the different status of the sensor node. Among the different versions of our protocol, the MuDiLCO-7 one consumes more energy than the other versions. This is easy to understand since the bigger the number of rounds and -the number of sensors involved in the integer program is, the larger the time computation to solve the optimization problem is. To improve the performances of MuDiLCO-7, we should increase the number of subregions in order to have fewer sensors to consider in the integer program. +the number of sensors involved in the integer program, the larger the time computation to solve the optimization problem. To improve the performances of MuDiLCO-7, we should increase the number of subregions in order to have fewer sensors to consider in the integer program. @@ -426,7 +407,7 @@ seconds (needed to solve optimization problem) for different values of $T$. The %The original execution time is computed on a laptop DELL with Intel Core~i3~2370~M (2.4 GHz) processor (2 cores) and the MIPS (Million Instructions Per Second) rate equal to 35330. To be consistent with the use of a sensor node with Atmels AVR ATmega103L microcontroller (6 MHz) and a MIPS rate equal to 6 to run the optimization resolution, this time is multiplied by 2944.2 $\left( \frac{35330}{2} \times \frac{1}{6} \right)$ and reported on Figure~\ref{fig77} for different network sizes. -\begin{figure}[H] +\begin{figure}[h!] \centering \includegraphics[scale=0.8]{Figures/ch5/R1/T.pdf} \caption{Execution Time (in seconds)} @@ -448,7 +429,7 @@ This point was already noticed in \ref{subsec:EC} devoted to the energy consumption, since network lifetime and energy consumption are directly linked. -\begin{figure}[hi] +\begin{figure}[h!] \centering % \begin{multicols}{0} \centering @@ -469,14 +450,10 @@ energy consumption, since network lifetime and energy consumption are directly \section{Conclusion} \label{ch5:sec:05} -We have addressed the problem of the coverage and of the lifetime optimization in wireless sensor networks. This is a key issue as sensor nodes have limited resources in terms of memory, energy, and computational power. To cope with this problem, the field of sensing is divided into smaller subregions using the concept of divide-and-conquer method, and then we propose a protocol which optimizes coverage and lifetime performances in each subregion. Our protocol, -called MuDiLCO (Multiround Distributed Lifetime Coverage Optimization) combines two efficient techniques: network leader election and sensor activity scheduling. - -The activity scheduling in each subregion works in periods, where each period consists of four phases: (i) Information Exchange, (ii) Leader Election, (iii) Decision Phase to plan the activity of the sensors over $T$ rounds, (iv) Sensing Phase itself divided into T rounds. - -Simulations results show the relevance of the proposed protocol in terms of lifetime, coverage ratio, active sensors ratio, energy consumption, execution time. Indeed, when dealing with large wireless sensor networks, a distributed approach, like the one we propose, allows to reduce the difficulty of a single global optimization problem by partitioning it into many smaller problems, one per subregion, that can be solved more easily. Nevertheless, results also show that it is not possible to plan the activity of sensors over too many rounds because the resulting optimization problem leads to too high-resolution times and thus to an excessive energy consumption. - +We have addressed the problem of the coverage and of the lifetime optimization in wireless sensor networks. This is a key issue as sensor nodes have limited resources in terms of memory, energy, and computational power. To cope with this problem, the field of sensing is divided into smaller subregions using the concept of divide-and-conquer method, and then we propose a protocol which optimizes coverage and lifetime performances in each subregion. Our protocol, +called MuDiLCO (Multiround Distributed Lifetime Coverage Optimization) combines two efficient techniques: network leader election and sensor activity scheduling. The activity scheduling in each subregion works in periods, where each period consists of four phases: (i) Information Exchange, (ii) Leader Election, (iii) Decision Phase to plan the activity of the sensors over $T$ rounds, (iv) Sensing Phase itself divided into T rounds. +Simulations results show the relevance of the proposed protocol in terms of lifetime, coverage ratio, active sensors ratio, energy consumption, execution time. Indeed, when dealing with large wireless sensor networks, a distributed approach, like the one we propose, allows to reduce the difficulty of a single global optimization problem by partitioning it into many smaller problems, one per subregion, that can be solved more easily. Nevertheless, results also show that it is not possible to plan the activity of sensors over too many rounds because the resulting optimization problem leads to too high-resolution times and thus to an excessive energy consumption. Compared with DiLCO, It is clear that MuDiLCO improves the network lifetime especially for the dense network, but it is less robust than DiLCO under sensor nodes failures. Therefore, choosing the number of rounds $T$ depends on the type of application the WSN is deployed for. \ No newline at end of file