1 Introduction

A wireless sensor network consists of energy-constrained nodes that are deployed for monitoring multiple phenomena of interest. A sensor node consists of a sensing unit, a processing unit, a radio transceiver and a power management unit [1]. Sensor nodes produce some measurable responses to changes in physical or chemical conditions and transmit these responses to a common sink in the form of packets of data over a wireless channel. There are three broad classes of sensor networks, viz. (i) data gathering (clock-driven), (ii) event-driven and (iii) demand-driven [2]. All these categories have been widely considered for studying several issues such as assessment of network lifetime, energy- aware routing procedures, data aggregation and traffic modeling.

The sensor nodes are sometimes deployed in adverse conditions with limited energy that may not be replenished. An accepted definition of lifetime of a sensor network is the time span from the instant when the network is deployed to the instant when the network is considered to be non-functional. A network is considered to be non-functional (a) even when a single sensor node dies, or (b) a percentage of the nodes die or (c) when a loss of coverage occurs due to mobility of the nodes or due to failure of a node [24].

In a multi-hop linear wireless sensor network, the nodes closer to the sink may have higher load of relaying packets as compared to the distant nodes. Hence the nodes closer to the sink are likely to get over-burdened and run out of their battery energy sooner. This type of linear sensor network has applications in highway traffic monitoring, border line surveillance, oil and natural gas pipeline monitoring etc. to mention a few. Bhardwaj et al. [5] have considered a linear multi-hop network and proposed an upper bound on the lifetime of the network for an optimum number of intermediate nodes. However, this analysis is not applicable to situations where each node in the network senses and transmits its own packet, in addition to the packets received from other nodes.

Shelby et al. [6] have considered a linear many-to-one multi-hop sensor network. The issue of optimal spacing between consecutive nodes in a data gathering network over a given distance has been addressed while minimizing the overall energy consumption during a data gathering cycle. It has been shown that the node farthest from the sink consumes maximum energy as compared to the nodes nearer to the sink. However, in the case of a weighted spacing arrangement, nodes nearer to the sink consume more energy than the distant nodes. So the problem of non-uniform energy consumption by the nodes still exists.

Several authors have focused on the issue of minimization of total energy consumed by the network in a data gathering cycle while allowing dissimilar energy consumption by the nodes. This approach results in faster burn out of nodes far away from the sink. A different approach has been reported in [7], where nodes are intelligently placed in a linear array ensuring that all nodes run out of energy at the same time.

Haenggi [8] has found the inter-node distance for a linear sensor network ensuring equal energy consumption. This analysis has been done considering only the energy required to transmit a packet. Energy requirement for receiving a packet and idle state energy are not included in the analysis.

It may be noted that, none of the reported work has addressed the issue of random node placement and its effect on energy dissipation profile of the array. These issues are important in the practical scenarios. Another common feature of the related reported work is that the total energy consumed by the overall network is minimized. This implies that the nodes dissipate different amount of energy over a data gathering cycle. In our work, we enforce equal energy dissipation by each and every node except the sink in our network. This approach helps to eliminate the non-uniform energy consumption pattern in the network. We give an explicit analysis of node placement strategy ensuring same energy dissipation by all nodes in a data gathering cycle. An expression for network lifetime is also developed. We have compared our results with [6] and [8]. With our scheme, the lifetime is seen to increase significantly. In the process, we have introduced a new performance measure of the whole network, viz. energy utilization ratio (η), which indicates the percentage of energy of the network that is consumed when the network dies. It is shown that energy utilization as per our scheme is much higher than other comparable schemes. We also address the issue of random placement of nodes to obtain the statistics of energy consumption of a node. The analytical results are also validated through simulation studies.

The rest of the paper is organized as follows. Section 2 gives the system description and problem formulation. Section 3 illustrates the proposed scheme. Random node placement is analyzed in Sect. 4. In Sect. 5, we present extensive analytical and simulation results. Finally, Sect. 6 concludes the paper.

2 System Description

A linear array of K wireless sensor nodes is considered with the sink at one end (Fig. 1). We assume that all the K nodes have same initial energy of E 0 units. The distance between ith node and (i−1)th node is indicated as h i units for 2≤ iK. The distance between the sink and the 1st node is denoted as h 1. The farthest Kth node is at a distance of D units from the sink. For this model

$$ \sum\limits_{i=1}^K {h_i } =D $$
(1)
Fig. 1
figure 1

Linear array of wireless sensor nodes

Let x i be the distance between the sink and the ith node where \(x_i=\sum\nolimits_{j=1}^i h_j\) for 1 ≤ iK. We consider a data-gathering network where each node generates one packet of equal length (B bits) over a data gathering cycle of T d sec. We have assumed that a sensor node has adjustable sensing range and is equal to half of the corresponding maximum inter-node distance. This assumption requires maximum sensing range for the node farthest from the sink. We also assume that sensed data can fit into one data gathering cycle.

A node sends a packet to the sink by using the nearest neighbour towards the sink as a repeater. Nodes closer to the sink are expected to forward all the packets towards the sink. One can incorporate data aggregation at the node level by incorporating extra processing software to all the nodes. In our model, no data aggregation is assumed for simplicity. We assume that each node can deal with maximum P packets/second. This implies that P· T d K.

2.1 Energy Dissipation Model of a Node

The energy dissipation model (Fig. 2) for radio communication is assumed similar to [9] and [10], following which the energy consumed by the ith node for transmitting a packet to the (i−1)th node over a distance h i is

$$ E_{t,i} =e_t +e_d h_i^{n} $$
(2)
Fig. 2
figure 2

Radio energy consumption model

In E t,i , the suffix t denotes the transmission and i denotes the node number and it varies between 1 and K. The term e t is the amount of energy spent per packet in the transmitter electronics circuitry and \(e_d h_i^{n}\) is the amount of energy necessary for transmitting a packet satisfactorily to the (i−1)th node over a distance h i . The constant ‘e d ’ is dependent on the transmit amplifier efficiency, antenna gains and other system parameters. The path loss exponent is n (usually 2.0≤ n≤ 4.0) [11]. On the receiving end, the amount of energy spent to capture an incoming packet of B bits is e r units. The radio is assumed to consume energy even during idle state, i.e., when the radio neither transmits nor receives. The idle state energy consumption is equal to e id T id P, where T id is the idle time and e id  = c· e r is the idle state energy spent per packet duration, where 0 <  c ≤ 1.0 [9].

Let the maximum radio range of a sensor node be R r units. Perfect power control is employed i.e., the radio of the node is capable of adjusting its transmitting power to reach a node at a distance less than R r from it. We assume an idealistic channel where the channel can be represented by radio disc model. The uncertainty in received signal strength due to fading channel has not been considered in our analysis. As a result, there is no message failure due to insufficient signal to noise ratio within the radio range from a transmitting node. Further, we assume that there is no collision between the transmitted packets. We have also assumed that h i R r , for 1 ≤ iK.

In the next section, we determine the distance h i between neighboring sensor nodes (1 ≤ iK) such that each node spends same energy over a data gathering cycle. This constraint ensures that all the nodes get exhausted of their stored battery energy almost simultaneously. The lifetime that can be achieved by such an array of sensor nodes is of interest.

3 Regular Placement of Sensor Nodes for Equal Energy Dissipation

According to the system model, the number of packets A r (i) received by the ith node per data gathering cycle is

$$ A_r (i)=K-i,\hbox{ for }1 \le i\le K $$
(3)

The number of packets A t (i) transmitted by the ith node including its own packet per data gathering cycle is

$$ A_t (i)=(K-i)+1=A_r (i)+1,\hbox{ for }1 \le i\le K $$
(4)

The idle time, T id (i) i.e., the fraction of a data gathering cycle (Td) over which the radio of the ith sensor node neither transmits nor receives any packets may be expressed as

$$ T_{id} (i)=\left( {T_d -\frac{2(K-i)+1}{P}} \right),\hbox{ for }1 \le i\le K $$
(5)

where, P is the packet dealing rate of a node and the term [2(Ki) + 1]/P is the busy time for ith node over T d . The scheduling time has not been considered in our analysis.

Following the energy consumption model, the total amount of energy E(i) spent by the ith node per data gathering cycle is,

$$ E(i)=E_1-iE_2+e_d (K-i+1)h_i^{n},\hbox{ for }1 \le i \le K $$
(6)

where, E1 and E2 are constants and defined as

$$ E_1=e_t (K+1)+e_r K+e_{id} (PT_d -2K-1) $$
(7)

and

$$ E_2=(e_t+e_r-2e_{id} ) $$
(8)

Now, imposing the condition that all the nodes dissipate same energy E joule per data gathering cycle i.e., E(i) = E, for 1≤ iK, the inter-node distance h i can be expressed as

$$ h_i=\left[{\frac{1}{(K-i+1)e_d} \left[{E+(K-i)(2e_{id}-e_r)-(PT_d-1)e_{id} -e_t(K-i+1)}\right]}\right]^{\frac{1}{n}},\quad 1\le i\le K $$
(9)

The distance h i can be obtained from (9) normalized to h K , the inter-node distance between Kth node and (K−1)th node. A solution for h K can be obtained from (10) graphically:

$$ C_1 h_K^n -Dh_K^{n-1} -C_2 =0 $$
(10)

where, \(C_1=\sum\nolimits_{i=1}^K i^{-1/n}\) and \(C_2=\frac{(e_t +e_r -2e_{id})}{ne_d} \sum\nolimits_{i=1}^K {(i-1)} i^{-1/n}\)

It is interesting to note that each node dissipates a minimum energy \(\user2{E}_{\user2{min}}\) joule based on the values of D, K, e t , e r , e d and e id as obtained from (9)

$$ E_{\rm min}=Ke_t+(K-1)e_r+(PT_d -2K+1)e_{id} $$
(11)

For known values of radio parameters, the feasible solution of h i can be found when EE min, as has been implicitly assumed in (9).

In the next section, we present an analysis about the effects of random node placement on the overall energy dissipation of the array.

4 Analysis for Random Node Placement

In the previous section we have derived the exact position of K nodes over a distance (D) to ensure equal energy dissipation by each node. However, in practice, the nodes are not expected to be placed so ideally. In this section we consider a situation wherein the position of a node is random within a defined distance bin. We divide the total link distance D into (K−1) unequal bin width (Fig. 3). The width of each bin is decided by x i and h i . We assume that each bin contains one node. Let the position of the Kth node be fixed at distance D from the sink.

Fig. 3
figure 3

Scheme for random node placement with variable bin width

We assume that the position of the ith node is a random variable (Y i ) and it varies between \(\left({x_i-\frac{h_i}{2}} \right)\) and \(\left({x_i+\frac{h_{i+1}}{2}}\right),\) for i = 1 to (K−1). Assuming Y i follows a uniform probability density function (pdf), \(f_{Y_{i}} (y_i),\)

$$f_{Y_{i}} (y_i) = \left\{ \begin{aligned} & \frac{2}{h_i+h_{i+1}},\; \left({x_i-\frac{h_i}{2}}\right) < y_i \le\left({x_i+\frac{h_{i+1}}{2}}\right) \\ &0,\hbox{ otherwise }\\ \end{aligned}\right. \quad {\hbox{where,}}\; 1\le i\le K-1 $$
(12)

Now, the inter-node distance Z i may be expressed as

$$ Z_{i}=\left\{\begin{array}{l} Y_i,\;i=1 \\ Y_i -Y_{i-1},\;2\le i\le K-1 \\ D-Y_{i-1},\;i=K \\ \end{array}\right. $$
(13)

The energy consumption (ɛ i ) of the ith node may be expressed from (6) as:

$$ \varepsilon_i=E_3 (i)+a(i)Z_i^{n},\hbox{ for }1\le i\le K $$
(14)

where,

$$ E_3 (i)=E_1-iE_{2}\hbox{ and }a(i)=e_d (K-i+1),\hbox{ for }1\le i\le K $$
(15)

The probability density function (pdf) of ɛ i can be obtained as

For i = 1:

$$ f_{\varepsilon_i} (e_i)=\left\{ \begin{aligned} \frac{2}{nt_ia(i)}\left({\frac{e_i-E_3 (i)}{a(i)}}\right)^{\left({\frac{1}{n}-1}\right)}, E_3(i)+a(i)\left({\frac{h_i}{2}}\right)^{n} < e_i \le E_3(i)+a(i)\left({h_i +\frac{h_{i+1}}{2}} \right)^{n} \\ \hbox{0,otherwise} \\ \end{aligned}\right. $$

For 2 ≤ iK−1:

$$ f_{\varepsilon_i} (e_i)= \left\{\begin{aligned} & \frac{4}{ns_it_i a(i) }\left( {\frac{e_i -E_3 (i)}{a(i)}} \right)^{\left({\frac{2}{n}-1} \right)}, E_3 (i) < e_i \le E_3 (i)+a(i)\left({\frac{s_i }{2}} \right)^{n} \\& \frac{2}{nt_i a(i)}\left({\frac{e_i -E_3 (i)}{a(i)}} \right)^{\left( {\frac{1}{n}-1}\right)}, E_3 (i)+a(i)\left( {\frac{s_i }{2}} \right)^{n} < e_i\le E_3 (i)+a(i)\left( {\frac{t_i} {2}} \right)^{n} \\ &-\frac{4}{ns_i t_i a(i)}\left( {\frac{e_i -E_3 (i)}{a(i)}}\right)^{\left( {\frac{2}{n}-1} \right)}+\hbox{}\frac{2}{na(i)}\left( {\frac{1}{s_i }+\frac{1}{t_i }}\right)\left( {\frac{e_i -E_3 (i)}{a(i)}} \right)^{\left({\frac{1}{n}-1} \right)}, E_3 (i)+a(i)\left( {\frac{t_i }{2}}\right)^{n} < e_i \le E_3 (i)+a(i)\left( {\frac{s_i +t_i }{2}}\right)^{n} \\& \hbox{0, otherwise} \\ \end{aligned}\right. $$

For i = K:

$$ f_{\varepsilon_i} (e_i)= \left\{\begin{aligned} & \frac{2}{ns_ia(i)}\left( {\frac{e_i -E_3 (i)}{a(i)}} \right)^{\left({\frac{1}{n}-1} \right)}, E_3 (i)+a(i)\left( {\frac{h_i }{2}}\right)^{n} < e_i \le E_3 (i)+a(i)\left( {h_i +\frac{h_{i-1}}{2}} \right)^{n} \\ & \hbox{ 0, otherwise} \\\end{aligned}\right. $$
(16)

where, s i h i  + h i-1, for 2≤ i≤ K; and t i  = h i  + h i+1, for 1≤ iK−1.

The mean of ɛ i may be expressed as:

$$ \bar{\varepsilon}_i =\left\{\begin{aligned} & E_3(i)+\frac{2a(i)}{t_i (n+1)}\left\{ {\left( {\frac{t_i +h_i }{2}}\right)^{n+1}-\left( {\frac{h_i }{2}} \right)^{n+1}} \right\},\;i=1 \\ & E_3 (i)+\frac{a(i)2^{-n}\{(s_i +t_i )^{n+2}-s_i^{n+2}-t_i ^{n+2}\}}{(n+1)(n+2)s_i t_i },\;2\le i\le K-1 \\ & E_3(i)+\frac{2a(i)}{s_i (n+1)}\left\{ {\left( {\frac{s_i +h_i }{2}}\right)^{n+1}-\left( {\frac{h_i }{2}} \right)^{n+1}} \right\},\;i=K \\ \end{aligned}\right. $$
(17)

The variance of ɛ i , \(\sigma_{\varepsilon _{\rm i}}^2 =\overline{\varepsilon_i^{2}} -(\bar{\varepsilon}_i)^{2}\) is

$$ \sigma_{\varepsilon_i}^2 =\left\{ \begin{aligned} &\frac{2a(i)^{2}}{t_i }\left[ {\frac{1}{(2n+1)}\left\{ {\left( {\frac{h_i +t_i }{2}} \right)^{2n+1}-\left( {\frac{h_i }{2}} \right)^{2n+1}} \right\}-\frac{2}{t_i (n+1)^{2}}\left\{ {\left( {\frac{h_i +t_i }{2}} \right)^{n+1}-\left( {\frac{h_i }{2}} \right)^{n+1}} \right\}^{2}} \right],\;i=1 \\& \frac{a(i)^{2}}{2^{2n}s_i t_i }\left[ {\frac{(s_i +t_i )^{2(n+1)}-s_i ^{2(n+1)}-t_i ^{2(n+1)}}{2(n+1)(2n+1)}-\frac{1}{s_i t_i }\left\{ {\frac{(s_i +t_i )^{n+2}-s_i ^{n+2}-t_i ^{n+2}}{(n+1)(n+2)}} \right\}^{2}} \right],\;2\le i\le K-1\\& \frac{2a(i)^{2}}{s_i }\left[ {\frac{1}{(2n+1)}\left\{ {\left( {\frac{h_i +s_i }{2}} \right)^{2n+1}-\left( {\frac{h_i }{2}} \right)^{2n+1}} \right\}-\frac{2}{s_i (n+1)^{2}}\left\{ {\left( {\frac{h_i +s_i }{2}} \right)^{n+1}-\left( {\frac{h_i }{2}} \right)^{n+1}} \right\}^{2}} \right],\;i=K \\ \end{aligned}\right. $$
(18)

Mean and variance of ɛ i depend on the radio parameters, K, n and h i . In the next section, we present numerical and simulation results.

5 Results and Case Studies

5.1 Regular Node Placement

In this sub-section we present some numerical examples to study the issue of node placement and its effects on network lifetime. Specifically, the following issues are considered:

  1. (i)

    Node placement strategies to obtain desired energy consumption pattern (equal energy dissipation).

  2. (ii)

    Energy consumption pattern of each node to give an insight of how placement of a node affects its energy consumption profile in a data gathering cycle.

  3. (iii)

    Comparison of network lifetime and energy utilization ratio (η) achieved by different node placement schemes.

Let E th be the threshold of residual energy below which a sensor node becomes non-functional. Also, let E max denote the maximum energy consumed by a node over a data gathering cycle in a sensor network. Since the duration of each data gathering cycle is T d units, the network lifetime (T life ) is

$$ T_{life}=T_d \left({\frac{E_0-E_{th}}{E_{\rm max}}}\right) $$
(19)

Energy utilization ratio (η) is defined as

$$ \eta=\frac{E_{used}}{E_T}\times 100\% $$
(20)

where, E used is the total energy utilized by the network during its lifetime and E T is the total deployed energy. For K nodes E T equals to KE 0.

For all the studies we consider a typical set of parameters as shown in Table 1. Following three schemes have been used for performance comparison:

  • Scheme a—All nodes have equal inter-node spacing i.e. h i  = D/K [6].

  • Scheme b—Nodes are placed for minimizing the overall energy dissipation in a data gathering cycle [6].

  • Scheme c—This is our proposed scheme. Here, the nodes are placed so that each node dissipates equal amount of energy in a data gathering cycle.

Table 1 System parameters considered for performance analysis

First we consider free space communication (i.e. path loss exponent, n = 2.0) for ease of explanation. Typical values of other relevant parameters in Table 1 have been chosen following [9] closely. The radio parameters are given on a per packet basis.

Using the constraint h K R r we get form (10)

$$ \sum\limits_{i=1}^K {(2R_r ^{2}-(i-1){e}^{\prime})/\sqrt{i}} \ge 2R_r D $$
(21)

where, the constant e′ = (e t  + e r −2e id )/e d .

The minimum value of K satisfying the inequality (21) is 33 for the chosen parameter values.

Figure 4 shows comparison of inter-node distance among schemes-a, b and c. Curves-a, b and c describe the inter-node distance for schemes-a, b and c, respectively. Nodes are equally spaced for scheme-a and it is reflected from curve-a. For curves-b and c the inter-node distance increases as node index (i) increases. For node index i < 28, the inter-node distance for scheme-b is smaller than that of the scheme-c. For node index i≥ 28, the inter-node distance for scheme-b is larger than that of our scheme-c. Inter-node distance for the farthest node from the sink has highest value for both the schemes-b and c. In light of connectivity of the array, the farthest node has major role. The inter-node distances for the farthest node from the sink are 725 and 300 m for schemes-b and c, respectively. Thus higher radio range or more powerful radio is required for scheme-b to cover a given distance. On the other hand scheme-c requires moderate radio range to cover the same distance. Usually a sensor node has low or moderate radio range. Thus in the context of connectivity of the array, our scheme-c outperforms scheme-b.

Fig. 4
figure 4

Inter-node distance for different node placement (K = 33, D = 3,000 m, n = 2.0): (a) for scheme-a; (b) for scheme-b; (c) for scheme-c

We have also compared our result with [8]. In [8], only the energy consumed in the transmitter amplifier has been considered for balancing energy consumption. In this paper we have included other possible energy consumption components like transmitter electronics energy, receiving energy and idle state energy while maintaining the energy balancing conditions. There is a slight difference in inter-node distance between our scheme and [8]. However, this is not clear from Fig. 4 since the ratio of the difference to the maximum value of inter-node distance is very small.

Figure 5 shows the variation of energy consumption pattern of each node per data gathering cycle. Curves-a, b and c show the patterns for the schemes-a, b and c respectively. Curves-a and b reflect non-uniform energy dissipation profile while curve-c shows the uniform one. The node nearest to the sink limits the lifetime of the network for scheme-a while the farthest node from the sink limits it for scheme-b. Curve-c shows uniform energy dissipation pattern where each node dissipates equal energy per data gathering cycle. This ensures that all nodes will run out their battery energy almost simultaneously.

Fig. 5
figure 5

Energy consumption pattern for different node placement (K = 33, D = 3,000 m, n = 2.0): (a) for scheme-a; (b) for scheme-b; (c) for scheme-c

Figure 6 compares the number of data gathering cycles with normalized number of nodes (K/D) for different node placement strategies. It shows that lifetime increases with the increase of number of nodes, K (for a fixed link distance D). However, for higher value of K the increment in network lifetime is marginally low because the hop distances are becoming smaller and smaller as K increases and receiving energy for packets are dominating. Curve-c shows the highest number of data gathering cycles that can be achieved when the nodes are placed according to scheme-c. Scheme-b results in lower number of data gathering cycles (i.e. smaller lifetime) for the same set of system parameters. As an example, for K/D = 0.03, scheme-c offers about 2.5 and 1.3 times lifetime improvement while comparing with schemes-b and a respectively. Scheme a, though simple, performs moderately.

Fig. 6
figure 6

Lifetime variation with number of nodes deployed (D = 3,000 m, n = 2.0): (a) for scheme-a; (b) for scheme-b; (c) for scheme-c

Figure 7 shows the variation of residual energy of the nodes for different schemes. It indicates that for scheme-c there is hardly any residual energy left to the nodes when the network dies. We have derived the value of the performance measure energy utilization ratio (η) for all the schemes. Numerical results show that 73.29% and 38.43% of the deployed energy is utilized for schemes-a and b respectively. On the other hand our proposed scheme has the highest value of η and it is about 100%. Thus by ensuring equal energy consumption one can gain two things: effectively no residual energy when network dies and the consequence of that is gaining a maximum network lifetime. In the next sub-section we present the results with random node placement.

Fig. 7
figure 7

Residual energy of the network (D = 3,000 m, K = 33, n = 2.0): (a) for scheme-a; (b) for scheme-b; (c) for scheme-c

5.2 Random node placement

In this sub-section we present numerical and simulation results for random node placement. We show results for two types of random node placement. In case-1, we present results by considering the variable bin width while in case-2 we present that for fixed bin width.

Case-1 (Variable bin width): In this case we present the effect of random node placement with variable bin width on overall energy dissipation of the array. In the previous sub-section, we have seen that scheme-c only provides uniform energy dissipation over the array. Thus, we present the results only for scheme-c. The analytical results are validated through the simulation studies using MATLAB. For simulation, we have generated (K−1) independent uniformly distributed random numbers. The generated random numbers represent the position of nodes on the array. In our simulation we have assumed fixed position of the Kth node at a distance D from the sink. The result is obtained by running the simulation for 2,000 times.

Figure 8 compares the energy consumption profile between regular and random placement of nodes. The simulation results agree with the analytical results. By introducing randomness in node placement the energy consumption profile is not significantly changed from its regularly placed counterpart. It is interesting to note that by introducing randomness in node placement most of the nodes spend about 1 mJ more energy per data gathering cycle in comparison to regular placement. The (K−1)th node dissipates maximum energy per data gathering cycle for random placement. However, the difference of energy consumption from other nodes is not so significant. The discrepancy in energy consumption by the 1st node and Kth node from the rest of the nodes is due to inter-node distance. According to the present random node placement strategy, the distance between 1st node and sink i.e. Z 1 and distance between Kth node and (K−1)th node i.e. Z K are lesser than the other values of Z i for 2≤ iK−1. This study shows that equal energy dissipation condition is achieved for the case where nodes are placed randomly.

Fig. 8
figure 8

Comparison of energy consumption profile of nodes (K = 33, D = 3,000 m, n = 2.0): (a) regular placement (scheme-c); (b) analytical result (scheme-c) for random placement with variable bin width; (c) simulation result (scheme-c) for random placement with variable bin width

Figure 9 shows the variance of energy consumed by nodes for random placement with variable bin width. The analytical result for variance of ɛ i is also validated through the simulation studies. The profile of the energy variance is similar to mean energy dissipation profile. In case-2, we present results for another strategy of random node placement.

Fig. 9
figure 9

Variance of energy consumed by nodes (K = 33, D = 3,000 m, n = 2.0): (a) analytical result for random placement with variable bin width; (b) simulation result for random placement with variable bin width

Case-2 (Fixed bin width): Another interesting random node placement is shown in Fig. 10. Here, all the bin widths are equal to the smallest inter-node distance i.e. h 1. The bin boundaries for the ith node are [x i −(h 1/2)] and [x i  + (h 1/2)] for 1≤ iK−1. In this case we assume that each bin contains one node and its position is uniformly distributed within the bin boundaries where the mean position is the exact position of the node for regular placement with scheme-c. The performance of this type of random node placement is compared with the previous type of node placement strategy.

Fig. 10
figure 10

Random node placement with fixed bin width (Case-2)

Figures 11 and 12 show the variation of mean and variance of energy with node number. The mean of energy consumption for random placement with fixed bin width is decreasing with node number and it converges to the regular placement for the nodes far away from the sink. This convergence takes place due to the introduction of fixed bin width i.e. node placement error is fixed for all the K nodes. The placement error affects the statistics of the nodes nearer to the sink while it does not affect that of the nodes far away from the sink. It is clear from Fig. 12 that the variance is decreasing with node number for fixed bin width while it is almost same for variable bin width. The random node placement scheme with fixed bin width outperforms the variable bin width scheme.

Fig. 11
figure 11

Variation of mean energy with node number (K = 33, D = 3,000 m, n = 2.0): (a) regular placement with scheme-c; (b) random placement with variable bin width; (c) random placement with fixed bin width

Fig. 12
figure 12

Variation of energy variance with node number (K = 33, D = 3,000 m, n = 2.0): (a) random placement with variable bin width; (b) random placement with fixed bin width

6 Conclusion

In this paper we have considered a linear array of K wireless sensor nodes over a distance (D). An exact placement of nodes has been obtained in order to ensure equal energy dissipation by each node in a data gathering cycle. We have compared network lifetime that provides our proposed scheme with two other schemes. It is found that maximum network lifetime is achieved when each node dissipates same energy per data gathering cycle. The residual energy in the network is also minimized in the process. We have also addressed the issue of random node placement and its effect on energy consumption profile. It is evident from our study that equal energy consumption condition can also be achieved for restricted random node placement. The result of random analysis can be used for mobile wireless sensor network with restricted movement of nodes.