Table of Contents Author Guidelines Submit a Manuscript
Journal of Electrical and Computer Engineering
Volume 2015 (2015), Article ID 545798, 6 pages
Research Article

Efficient Cross-Layer Optimization Algorithm for Data Transmission in Wireless Sensor Networks

School of Information Science and Engineering, Northeastern University, Shenyang, Liaoning 110819, China

Received 23 June 2015; Accepted 13 October 2015

Academic Editor: Jun Bi

Copyright © 2015 Chengtie Li et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


In this paper, we address the problems of joint design for channel selection, medium access control (MAC), signal input control, and power control with cooperative communication, which can achieve tradeoff between optimal signal control and power control in wireless sensor networks (WSNs). The problems are solved in two steps. Firstly, congestion control and link allocation are separately provided at transport layer and network layer, by supply and demand based on compressed sensing (CS). Secondly, we propose the cross-layer scheme to minimize the power cost of the whole network by a linear optimization problem. Channel selection and power control scheme, using the minimum power cost, are presented at MAC layer and physical layer, respectively. These functions interact through and are regulated by congestion rate so as to achieve a global optimality. Simulation results demonstrate the validity and high performance of the proposed algorithm.

1. Introduction

Wireless sensor networks find many applications in military areas detection, habitat monitoring, and so on. Performance degenerate analysis has gained much interest due to unbalanced power allocation in physical layer, excessive contention wireless channel in MAC layer, unfair link capacity allocation in network layer, and the inappropriate transport protocol in transport layer. WSNs suffer from several restrictions of the sink nodes and sensor nodes on account of the battery powered, computation complexity, communication, and storage capabilities [13].

MAC (medium access control), which is critical technology concerning net performance [4], is in charge of allocation wireless communication resources for contention nodes in protocol stack.

Scheduling effectively achieves resource allocation for wireless communication. To reach a satisfying scheduling scheme, scheduling cost, and scheduling objective regularly compromised, the scheduling problem is transferred to multiobjective optimization. Recently, scholars integrated scheduling and power control for better performance and obtained certain achievements [5, 6].

Reference [7] provided an in-depth analysis on the CS-based medium access control schemes and revealed the impact of communication signal-to-noise ratio on the reconstruction performance. Authors showed the process of the sensor data converted to the modulated symbols for transmission and how the modulated symbols are recovered via compressed sensing. Reference [8] studied the optimal flow control by a multiobjective linear programming problem, which achieved the optimization between utility and lifetime in WSNs. Reference [9] jointly designed rate control, scheduling, and power control with stochastic optimization problems to achieve cross-layer optimization protocol designing. Reference [10] investigated optimal power control, rate adaptation, and scheduling for an ultrawideband-based Intravehicular Wireless Sensor Network for one-electronic-control-unit (ECU) and multiple-ECU cases. These methods are widely applied into many-to-one data transmission control protocols and solved the problems in every aspect [1114]. However, the above algorithms did not give a comprehensive analytic process for considering energy consumption, channel selection, link capacity, and congestion control to ensure better performance.

In this paper, cross-layer optimal design is presented, which considers the influence for congestion rate at physical layer, MAC layer, network layer, and transport layer to achieve minimum power cost in WSNs. The algorithm coordinates communication protocols by congestion rate in the several layers to solve lossy wireless channel, excessive contention and unfair access, disabled bandwidth allocation, and the fundamentally inappropriate mechanisms of TCP. First, we design a packet error rate control strategy based on congestion rate, which makes the packet error rate in the domain of validity. The power is exactly allocated on the basis of “to each according to his needs.” Second, the optimal schemes of control input and link capacity with compressed sensing are discussed. Third, we construct minimum energy problem with power control function, congestion control function, link allocation function, and so on. The optimum solutions are the optimal power control and channel selection.

2. Network and Node Model

For energy efficiency purpose, the transmission power at every node is assumed to be adjustable resulting in congestion price: when the congestion rate is bigger, the power should be increased for data transmitted successfully; when the congestion rate is smaller, the power is only satisfied for data transmitted regularly. We assume that the sensor network consists of nodes, of which the sink node is defined as node #.

Communication from node to node contains directed communication hop (DCH) [15] and cooperative communication hop (CCH) , as shown in Figure 1. CCH consists of a sender, a relay, and a receiver ( in Figure 1, resp.), such that both direct and relayed copies of the information transmitted by the sender are received at the receiver.

Figure 1: Multihop routing cooperative communication model.

3. Cross-Layer Optimization Design of Cooperative Communication

In the wireline networks, the protocols hold rigorous constraint at each layer, which is only responsible for oneself, not being infiltrated. Physical layer is mostly in charge of power allocation; channel selection is achieved in MAC layer; flow control is implemented in transport layer; network layer is usually responsible for scheduling design. However, the requirement like this does not occur in WSNs. Cooperative communication is applied for protocols at each layer to make net performance better.

3.1. Power Control

Define packet error rate with white Gaussian noise [15] as follows:where is energy per bit to noise power spectral density ratio, is the aggregated power for transmitting a packet at , is the noise bandwidth, is the path loss of link in linear units, is the average noise power, is the maximum link data rate in bits per second, bits/s, and is the length of the packet. The power consumption of a packet transmitted successfully is if congestion occurs in the WSNs, denotes transmitted power to a packet at ideal condition (congestion does not occur), and is the congestion rate at node ; the average noise power , where is the average noise power at ideal condition; the maximum link data rate , where is the maximum link data rate at ideal condition. Thus,

We can conclude that is adjusted to be smaller, and is bigger when congestion rate is increased from formula (2). The power, appropriately adjusted by congestion rate, makes the packet error rate constraint the domain of validity. The power is exactly allocated on the basis of “to each according to his needs,” which can extensively highlight power efficiency.

3.2. Congestion Control

Recently, lots of researchers have addressed the signal function with cross-layer optimal design to achieve better performance due to the characteristic of higher communication consumption and lower data process consumption in WSNs [1618]. However, almost all congestion control algorithms did not consider the data preprocessing before being transmitted [19]. In this section, we try to reduce the number of transmissions with a Toeplitz matrix in compressed sensing that enables the number of transmissions to be extensively decreased in WSNs. The transmission of compressed signal is not only relieving the congestion in data process overabundance but also economizing energy in the transmission. Compressed sensing model is expressed as follows: where is input signal, is measurement vector, is sensing matrix, , and is unknown vector for measurement noise. Suppose that the input signal is sparse, and sensing matrix satisfies restricted isometry property (RIP) [20]. To speed up congestion control, we select Toeplitz matrix as sensing matrix, meeting .

The scheduling algorithm and signal control scheme are the same in each link or at each node. In this paper, only consider the scheduling in and signal control at . The linear function of the link capacity in denotes the service capacity, and the service requirement at node by a linear function of the control input signal and original signal indicates the service requirement. ConsiderFormula (4) represents supply and demand function of the service. The valid service capacity achieves optimality if and only if it is exactly satisfied with service requirement. Otherwise, it will bring unnecessary energy consumption:The most desired input feedback signal is . Considering congestion in the WSNs, however, input signal should reach to expression in (5).

3.3. Scheduling Algorithm

The adjustment of the transmitted power in Section 3.1, being changed in the transmission range and the connectivity of the node, causes the changes in the requirement of the link capacity. In Section 3.2, the input signal satisfying supply and demand function minimum is generated. On this basis, we will discuss the link capacity allocation in the link in this section. From analysis, the network optimal condition is that supply and demand function attains minimum. When function (4) is the actual minimum, the link capacity is the optimal link capacity. In this scheduling, on the one hand, unnecessary energy consumption with link capacity too big is effectively avoided; on the other hand, the new congestion with link capacity too small is suppressed. Thus, can be denoted as follows:

3.4. Channel Selection

Power control is applied to dynamically adjust transmission power, which can not only effectively reduce energy consumption in communication, but also prolong network lifetime in WSNs. In addition, power control could remarkably influence the topology control, connectivity, throughput, and real-time of message transmission. Moreover, MAC layer or cross-layer design with power control evidently optimizes network performance and highlights QoS. In this section, we will discuss how to select channel by cutting down unnecessary energy consumption [21]. Energy is mainly expended at communications, and computation brings the energy to be neglected. For a CCH with relay node , power consumption chiefly includes three parts: the first part is transmission power of a packet sent at node ; the second part indicates that, for relay node , the power aggregate to receive a packet from node and successfully transmit a packet to node is The third part indicates that, for node , the power aggregate to receive a packet from node and node is Suppose that is the required power for receiving a packet for node at ideal condition. Congestion should be considered for data valid transmission. To achieve energy optimization, let From formula (10), the power aggregate is as follows:The energy for the packet transmitted or sent is considered equal at each node (not considering congestion); thus (11) becomesSuppose that the desired packet error ratio at hop is and power allocation constraint packet error ratio at hop can be denoted:Node making (13) optimal is the optimal occupied node.

3.5. Algorithm Design

Algorithm 1. Step 1. InitializationStep 1.1. Initialize original signal , and select appropriate , , calculate ;Step 1.2. Given , , , .Step 2. Given the original and the expression of , ,Step 2.1. , calculate , and ;Step 2.2. Given ,If Then calculate , ;Else go to Step 1.Step 3For If , Then calculate ;Else if , Then go to Step 2.2;Else if Then go to Step 2.1;End End End End For.The performance analysis of the algorithm is presented and proves its validity.

Theorem 2. If is sparse signal satisfying formula (5), measurement vector with noise is expressed to , where the optimal vector is constrained by . Let sensing matrix obey restricted isometry property (RIP); thenwhere is the optimal value of .

Proof. By formula (5), we haveThe optimal value is the minimum value of ; formula (17) is transformed intoThus, formula (17) becomes Therefore formula (15) becomesThus, algorithm (5) converges statistically to within a small neighborhood of the optimal values .
Since is continuous, Theorem 2 implies that the input signal approaches the optimal when is small enough.

4. Simulation Analysis

In this section, we exhibit numerical examples and simulation results for the proposed algorithm (cross-layer optimal design, CLOD). We conduct numerical experiments using NS2 to confirm the efficiency of the proposed algorithm. We also perform simulations using Lee and Lim [3] and DCH to validate our assumptions. In our numerical examples, we set a net topology with 100 nodes placed randomly in a 10 × 10 field, where the distance of neighboring nodes is set to 20 m. The buffers are 10–100 packets. Packet size is 1024 bits, and simulation time is 300 ms.

Figure 2 indicates that the dropped packets of the Lee algorithm and CLOD algorithm are relatively lower. This illustrates that the algorithms could relieve congestion at a certain extent. However, there are some differences in the algorithms: CLOD dropped packet is the lowest when node-level congestion and link-level congestion are simultaneously existing. This verifies that the algorithm achieves better network control by signal compressed and channel selection; the dropped packet is lower in CLOD algorithm than Lee algorithm, which is owing to only dispose node-level congestion and ignore link-level congestion in Lee algorithm; DCH makes the congestion stay at the top because the coping mechanism for congestion is weak.

Figure 2: Comparison of dropped packet.

Figure 3 shows that CLOD makes transmitted packet remarkably increase per second for signal compressed and channel selection strategy. The other algorithms cannot achieve so high throughput for required transmitted data too large resulting in congestion. In addition, the Lee algorithm and DCH algorithm show incapability of channel contention triggered congestion.

Figure 3: Comparison of throughput.

Figure 4 displays comparison with energy in three algorithms. From Figure 4, it can be observed that the best results of CLOD can reach the lowest energy consumption. Such a phenomenon implies that compressed data makes the transmission traffic drastically decrease, which can effectively reduce energy consumption, and distinctly relieve node-level congestion. Channel selection makes certain positive contribution to save energy, and link capacity allocation can be used to take full advantage of limited energy. The others are to be considerably inferior to CLOD in this problem.

Figure 4: Comparison of remaining energy.

5. Conclusions

In this paper, we propose a cross-layer optimal protocol by integrating using “cross-layer design,” “optimal theory,” and “compressed sensing” to achieve higher throughput and power efficiency. In the power control protocol, by adjusting congestion rate to the reduction of power, we could attain lower power consumption than the former algorithms. In the proposed input signal control algorithm, the signal size is adjusted to stable state. Link capacity allocation is presented by supply and demand function of the service. Channel is selected by energy minimum optimal. Through the analysis, accuracy of signal transmission is guaranteed, although signal is to be lossy compression. In addition, simulation results show that the proposed algorithm offers better performance in terms of throughput and power consumption compared with the other protocols.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.


This work has been supported by the Fundamental Research Funds for the Central Universities of China no. N142303013 and the Program of Science and Technology Research of Hebei University no. QN2014326.


  1. J. Cheng, Q. Ye, H. Jiang, D. Wang, and C. Wang, “STCDG: an efficient data gathering algorithm based on matrix completion for wireless sensor networks,” IEEE Transactions on Wireless Communications, vol. 12, no. 2, pp. 850–861, 2013. View at Publisher · View at Google Scholar · View at Scopus
  2. Y. Li, M. Sheng, C. Wang, X. Wang, Y. Shi, and J. Li, “Throughput-delay tradeoff in interference-free wireless networks with guaranteed energy efficiency,” IEEE Transactions on Wireless Communications, vol. 14, no. 3, pp. 1608–1621, 2015. View at Publisher · View at Google Scholar
  3. H.-J. Lee and J.-T. Lim, “Cross-layer congestion control for power efficiency over wireless multihop networks,” IEEE Transactions on Vehicular Technology, vol. 58, no. 9, pp. 5274–5278, 2009. View at Publisher · View at Google Scholar · View at Scopus
  4. W. Chen and I. J. Wassell, “Optimized node selection for compressive sleeping wireless sensor networks,” IEEE Transactions on Vehicular Technology, 2015. View at Publisher · View at Google Scholar
  5. L. Orihuela, F. Gomez-Estern, and F. R. Rubio, “Scheduled communication in sensor networks,” IEEE Transactions on Control Systems Technology, vol. 22, no. 2, pp. 801–808, 2014. View at Publisher · View at Google Scholar · View at Scopus
  6. D. Liao and A. K. Elhakeem, “A cross-layer joint optimization approach for multihop routing in TDD-CDMA wireless mesh networks,” European Transactions on Telecommunications, vol. 23, no. 1, pp. 6–15, 2012. View at Publisher · View at Google Scholar · View at Scopus
  7. T. Xue, X. D. Dong, and Y. Shi, “Multiple access and data reconstruction in wireless sensor networks based on compressed sensing,” IEEE Transactions on Wireless Communications, vol. 12, no. 7, pp. 3399–3411, 2013. View at Publisher · View at Google Scholar · View at Scopus
  8. J. Chen, S. He, Y. Sun, P. Thulasiraman, and X. M. Shen, “Optimal flow control for utility-lifetime tradeoff in wireless sensor networks,” Computer Networks, vol. 53, no. 18, pp. 3031–3041, 2009. View at Publisher · View at Google Scholar · View at Scopus
  9. S. Y. Xiang and L. Cai, “Transmission control for compressive sensing video over wireless channel,” IEEE Transactions on Wireless Communications, vol. 12, no. 3, pp. 1429–1437, 2013. View at Publisher · View at Google Scholar · View at Scopus
  10. Y. Sadi and S. C. Ergen, “Optimal power control, rate adaptation, and scheduling for UWB-based intravehicular wireless sensor networks,” IEEE Transactions on Vehicular Technology, vol. 62, no. 1, pp. 219–234, 2013. View at Publisher · View at Google Scholar · View at Scopus
  11. S. B. He, J. M. Chen, D. K. Y. Yau, and Y. X. Sun, “Cross-layer optimization of correlated data gathering in wireless sensor networks,” IEEE Transactions on Mobile Computing, vol. 11, no. 11, pp. 1678–1691, 2012. View at Publisher · View at Google Scholar · View at Scopus
  12. Y. B. Wang, M. C. Vuran, and S. Goddard, “Cross-layer analysis of the end-to-end delay distribution in wireless sensor networks,” IEEE/ACM Transactions on Networking, vol. 20, no. 1, pp. 305–318, 2012. View at Publisher · View at Google Scholar · View at Scopus
  13. X. Zhang, H. V. Poor, and M. Chiang, “Optimal power allocation for distributed detection over MIMO channels in wireless sensor networks,” IEEE Transactions on Signal Processing, vol. 56, no. 9, pp. 4124–4140, 2008. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  14. G. A. Shah, V. C. Gungor, and O. B. Akan, “A cross-layer QoS-aware communication framework in cognitive radio sensor networks for smart grid applications,” IEEE Transactions on Industrial Informatics, vol. 9, no. 3, pp. 1477–1485, 2013. View at Publisher · View at Google Scholar · View at Scopus
  15. L. Shi and A. O. Fapojuwo, “Cross-layer optimization with cooperative communication for minimum power cost in packet error rate constrained wireless sensor networks,” Ad Hoc Networks, vol. 10, no. 7, pp. 1457–1468, 2012. View at Publisher · View at Google Scholar · View at Scopus
  16. M. C. Vuran and I. F. Akyildiz, “XLP: a cross-layer protocol for efficient communication in wireless sensor networks,” IEEE Transactions on Mobile Computing, vol. 9, no. 11, pp. 1578–1591, 2010. View at Publisher · View at Google Scholar · View at Scopus
  17. P. F. Zhang and S. Jordan, “Cross layer dynamic resource allocation with targeted throughput for WCDMA data,” IEEE Transactions on Wireless Communications, vol. 7, no. 12, pp. 4896–4906, 2008. View at Publisher · View at Google Scholar · View at Scopus
  18. G. Athanasiou, T. Korakis, O. Ercetin, and L. Tassiulas, “A cross-layer framework for association control in wireless mesh networks,” IEEE Transactions on Mobile Computing, vol. 8, no. 1, pp. 65–80, 2009. View at Publisher · View at Google Scholar · View at Scopus
  19. P. Yang and B. Chen, “To listen or not: distributed detection with asynchronous transmissions,” IEEE Signal Processing Letters, vol. 22, no. 5, pp. 628–632, 2015. View at Publisher · View at Google Scholar · View at Scopus
  20. H. Mamaghanian, N. Khaled, D. Atienza, and P. Vandergheynst, “Compressed sensing for real-time energy-efficient ECG compression on wireless body sensor nodes,” IEEE Transactions on Biomedical Engineering, vol. 58, no. 9, pp. 2456–2466, 2011. View at Publisher · View at Google Scholar · View at Scopus
  21. F. Fazel, M. Fazel, and M. Stojanovic, “Random access compressed sensing for energy-efficient underwater sensor networks,” IEEE Journal on Selected Areas in Communications, vol. 29, no. 8, pp. 1660–1670, 2011. View at Publisher · View at Google Scholar · View at Scopus