Packet Size Optimization for Wireless Nanosensor Networks in the Terahertz Band

Similar documents
Nanonetwork Minimum Energy coding

Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs)

NANOTECHNOLOGY is providing a new set of tools to. Femtosecond-Long Pulse-Based Modulation for Terahertz Band Communication in Nanonetworks

Low-weight Channel Codes for Error Prevention in Electromagnetic Nanonetworks in the Terahertz Band

Joint physical and link layer error control analysis for nanonetworks in the Terahertz band

Abstract: Purpose: Information of IEEE IG THz

Wake-Up Transceiver Architectures with Symbol Time Estimation Schemes for ElectroMagnetic NanoNetworks

SBN: Simple Block Nanocode for nanocommunications

A routing framework for energy harvesting wireless nanosensor networks in the Terahertz Band

Joint parameter optimization for perpetual nanonetworks and maximum network capacity

Communications over the THz band: Challenges and opportunities

Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies

ENERGY EFFICIENT SENSOR NODE DESIGN IN WIRELESS SENSOR NETWORKS

An Ultrasonic Sensor Based Low-Power Acoustic Modem for Underwater Communication in Underwater Wireless Sensor Networks

An Approch For Nanoscale Wireless Communication Using Minimum Energy Channel Code

Medium Access Control for Underwater Acoustic Sensor Networks with MIMO Links

Multiple Antenna Processing for WiMAX

3432 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 53, NO. 10, OCTOBER 2007

Throughput-optimal number of relays in delaybounded multi-hop ALOHA networks

Ultra-Massive MIMO Channel Modeling for Graphene-Enabled Terahertz-Band Communications

Design and Implementation of Short Range Underwater Acoustic Communication Channel using UNET

Performance Analysis of Cognitive Radio based on Cooperative Spectrum Sensing

REVIEW OF COOPERATIVE SCHEMES BASED ON DISTRIBUTED CODING STRATEGY

Three Dimensional End-to-End Modeling and Directivity Analysis for Graphene-based Antennas in the Terahertz Band

An Efficient Forward Error Correction Scheme for Wireless Sensor Network

Distributed Timely-Throughput Optimal Scheduling for the Internet of Nano-Things

Nano-scale Communication Networks

This is the author s final accepted version.

Average Delay in Asynchronous Visual Light ALOHA Network

TIME- OPTIMAL CONVERGECAST IN SENSOR NETWORKS WITH MULTIPLE CHANNELS

Pulse Arrival Scheduling for Nanonetworks under Limited IoT Access Bandwidth

Implementation of Different Interleaving Techniques for Performance Evaluation of CDMA System

On the Effects of Node Density and Duty Cycle on Energy Efficiency in Underwater Networks

Reliable and Energy-Efficient Data Delivery in Sparse WSNs with Multiple Mobile Sinks

Hybrid ARQ Scheme with Antenna Permutation for MIMO Systems in Slow Fading Channels

Energy Optimization with Delay Constraints in Underwater Acoustic Networks

p J Data bits P1 P2 P3 P4 P5 P6 Parity bits C2 Fig. 3. p p p p p p C9 p p p P7 P8 P9 Code structure of RC-LDPC codes. the truncated parity blocks, hig

Hybrid throughput aware variable puncture rate coding for PHY-FEC in video processing

Energy Efficient Source Coding and Modulation for Wireless Applications

On the Capacity Regions of Two-Way Diamond. Channels

Exploiting Soil Moisture Information for Adaptive Error Control in Wireless Underground Sensor Networks

Simple and energy efficient image compression for pulse-based communication in THz band

On the Performance of Cooperative Routing in Wireless Networks

Hybrid throughput aware variable puncture rate coding for PHY-FEC in video processing

On Event Signal Reconstruction in Wireless Sensor Networks

Optimal Power Allocation for Type II H ARQ via Geometric Programming

Information-Theoretic Study on Routing Path Selection in Two-Way Relay Networks

PERFORMANCE ANALYSIS OF COLLABORATIVE HYBRID-ARQ INCREMENTAL REDUNDANCY PROTOCOLS OVER FADING CHANNELS

WIRELESS sensor and actor networks (WSANs) consist

Optimum Power Allocation in Cooperative Networks

Noise Plus Interference Power Estimation in Adaptive OFDM Systems

Synchronization of Hamming Codes

Panda: Neighbor Discovery on a Power Harvesting Budget. Robert Margolies, Guy Grebla, Tingjun Chen, Dan Rubenstein, Gil Zussman

Cooperative MIMO schemes optimal selection for wireless sensor networks

Collaborative transmission in wireless sensor networks

ADVANCES in NATURAL and APPLIED SCIENCES

SYSTEM LEVEL DESIGN CONSIDERATIONS FOR HSUPA USER EQUIPMENT

EE 382C Literature Survey. Adaptive Power Control Module in Cellular Radio System. Jianhua Gan. Abstract

Iterative Detection and Decoding with PIC Algorithm for MIMO-OFDM Systems

Diversity Techniques

ANTI-JAMMING PERFORMANCE OF COGNITIVE RADIO NETWORKS. Xiaohua Li and Wednel Cadeau

arxiv: v1 [cs.it] 29 Sep 2014

How (Information Theoretically) Optimal Are Distributed Decisions?

II. FRAME STRUCTURE In this section, we present the downlink frame structure of 3GPP LTE and WiMAX standards. Here, we consider

On the Achievable Diversity-vs-Multiplexing Tradeoff in Cooperative Channels

IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 58, NO. 3, MARCH

Energy Efficiency Optimization in Multi-Antenna Wireless Powered Communication Network with No Channel State Information

A Practical Approach to Bitrate Control in Wireless Mesh Networks using Wireless Network Utility Maximization

Reduced Complexity by Incorporating Sphere Decoder with MIMO STBC HARQ Systems

Maximising Average Energy Efficiency for Two-user AWGN Broadcast Channel

Efficient Recovery Algorithms for Wireless Mesh Networks with Cognitive Radios

Computationally Efficient Optimal Power Allocation Algorithms for Multicarrier Communication Systems

BER Performance of CRC Coded LTE System for Various Modulation Schemes and Channel Conditions

Relay for Data: An Underwater Race

Arda Gumusalan CS788Term Project 2

Performance of Combined Error Correction and Error Detection for very Short Block Length Codes

A Novel Hybrid ARQ Scheme Using Packet Coding

6. FUNDAMENTALS OF CHANNEL CODER

C th NATIONAL RADIO SCIENCE CONFERENCE (NRSC 2011) April 26 28, 2011, National Telecommunication Institute, Egypt

Mobile Base Stations Placement and Energy Aware Routing in Wireless Sensor Networks

Color of Interference and Joint Encoding and Medium Access in Large Wireless Networks

Research Letter Throughput of Type II HARQ-OFDM/TDM Using MMSE-FDE in a Multipath Channel

Cross-layer Routing on MIMO-OFDM Underwater Acoustic Links

Efficient Lower Layer Techniques for Electromagnetic Nanocommunication Networks

Transport Capacity and Spectral Efficiency of Large Wireless CDMA Ad Hoc Networks

Distance-Aware Multi-Carrier (DAMC) Modulation in Terahertz Band Communication

Department of Computer Science and Engineering. CSE 3213: Computer Networks I (Fall 2009) Instructor: N. Vlajic Date: Dec 11, 2009.

Performance Analysis of Cooperative Communication System with a SISO system in Flat Fading Rayleigh channel

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 9: Error Control Coding

Optimal Utility-Based Resource Allocation for OFDM Networks with Multiple Types of Traffic

Chapter 3 Convolutional Codes and Trellis Coded Modulation

Combined Transmitter Diversity and Multi-Level Modulation Techniques

RESOURCE MANAGEMENT FOR WIRELESS AD HOC NETWORKS

Digital Television Lecture 5

Buddy routing: a routing paradigm for nanonets based on physical layer network coding. Creative Commons: Attribution 3.0 Hong Kong License

Compressive Sensing based Asynchronous Random Access for Wireless Networks

Applications and Performance of a Nanoreceiver with a Carbon Nanotube Antenna Forest

Lab/Project Error Control Coding using LDPC Codes and HARQ

Simple Algorithm in (older) Selection Diversity. Receiver Diversity Can we Do Better? Receiver Diversity Optimization.

Performance Analysis of LTE Downlink System with High Velocity Users

Transcription:

IEEE ICC 216 Ad-hoc and Sensor Networking Symposium Packet Size Optimization for Wireless Nanosensor Networks in the Terahertz Band Pedram Johari and Josep Miquel Jornet Department of Electrical Engineering, University at Buffalo, The State University of New York Buffalo, NY 1426, USA. E-mail: {pedramjo, jmjornet}@buffalo.edu. Abstract Wireless Nanosensor Networks (WNSNs), i.e., networks of miniaturized devices with unprecedented sensing capabilities, are at the basis of transformative applications in the biomedical, environmental and industrial fields. Recent developments in plasmonic nano-antennas point to the Terahertz (THz) band (.1-1 THz) as the frequency range of communication among nanosensors. While this potentially enables extremely high data rates in WNSNs, the very high path-loss at such frequencies and the limited power of energy-harvesting nano-devices limit the achievable throughput. In this paper, the link throughput maximization problem in WNSNs is addressed by taking into account the device and communication interdependencies in WNSNs. The optimal data packet size which maximizes the link efficiency is derived by capturing the device, channel, physical and link layer peculiarities of WNSNs. The energy harvesting limits and the successful packet transmission time are defined as the optimization problem constraints, and the optimal solution is derived by using a bisection method. Numerical results are provided to analyze the impact of the packet size for different error control strategies. The results show that the optimal packet size quickly decreases with the transmission distance, approaching several hundreds bits for distances beyond a few millimeters. I. INTRODUCTION Nanotechnology is enabling the development of nanodevices, which are able to perform unprecedented tasks at the nanoscale. One example of these nano-devices is given by the miniature sensing devices called nanosensors, which can detect and measure new types of events with unbeatable accuracy by leveraging the properties of novel nanomaterials. By means of communication, these nanosensors will form Wireless Nanosensor Networks (WNSNs) [1] which will be able to achieve more complex tasks and introduce an extensive range of novel applications in the bio-medical, industrial, and military fields as well as for consumer goods. Several wireless technologies have been proposed to enable the communication between nanosensors such as molecular communication and ultrasonic communication. Among others, recent developments in plasmonic nano-antennas [2] enable the communication in the Terahertz (THz) band (.1 1 THz) and even at higher frequencies. The THz band provides nanosensors with a very large bandwidth, which potentially enables extremely high data rates Acknowledgement of Support and Disclaimer: (a) The State University of New York at Buffalo acknowledges the U.S. Government s support in the publication of this paper. This material is based upon work funded by AFRL, under AFRL Grant No. FA875-15-1-5. (b) Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of AFRL. in the order of multi Gigabits-per-second (Gbps) [3]. However, the very high propagation loss at such frequencies combined with the very limited transmission power of nanosensors result in extremely short communication distances. Moreover, the limited capacity of nano-batteries, which requires the use of time-consuming energy-harvesting procedures [4], [5], and the limited computational capabilities of nanosensors, affect the throughput of WNSNs. All these interdependencies motivate the joint analysis of the nano-device capabilities, the THz band peculiarities and their impact on the achievable throughput. There have been many cross-layer studies on packet size optimization in wireless communication networks for a myriad of environments, including terrestrial, underwater, underground, and intra-body sensor networks [6], [7], [8], [9]. However, all these works cannot be directly applied for energy-harvesting networks, in which the energy fluctuates with time instead of monotonically decreasing. In this direction, several energy consumption optimization problems for wireless networks with energy harvesting nodes have been proposed over the recent years [1], [11], [12]. All these works are mainly focused on optimizing the utilization of the harvested energy following a general approach to find the trade-off between the consumed energy and the achieved quality of service. While the aforementioned studies are applicable to general wireless communication networks, in [13], a study is performed for the specific case of communication in nanonetworks. However, the impact of such energy management policies on the achievable throughput at the link layer is not analyzed. In this paper, we address the throughput maximization problem in WNSNs, by taking into account the device and communication interdependencies in WNSNs. In particular, a link throughput optimization problem is defined, and the optimal data packet size which maximizes the link efficiency is derived by capturing the power, energy and computational constraints of nanosensors; the very high path-loss and very large bandwidth of the THz-band channel; the possibility to communicate by transmitting one-hundred-femtosecond-long pulses, which can virtually create parallel orthogonal channels between nanosensors [14]; and three different error control strategies tailored to WNSNs, namely, Automatic Repeat request (), Forward Error Correction () and novel Error Prevention Codes (s), which have been designed with the WNSNs peculiarities in mind [15]. Both the energy harvesting limits and the successful packet transmission time are defined as the optimization problem constraints, and the 978-1-4799-6664-6/16/$31. 216 IEEE

optimal solution is derived by using a bisection method. Our results show that the link efficiency quickly decreases when considering the energy constraints compared to the scenario that there is no energy shortage. The decrease depends on various parameters including the error-control technique, the communication distance, and the harvesting capability of the nanosensors. Similarly, the packet size quickly decreases with the transmission distance, approaching several hundreds bits for distances beyond a few millimeters. The remainder of the paper is organized as follows. In Sec. II, we define the system model for WNSNs and discuss the throughput optimization problem while defining different constraints for various error-control methods. Sec. III contains the approach to solve the optimization problem, and covers the related algorithm to find the optimal solution for our problem. In Sec. IV, we numerically study the optimal packet size for different error-control techniques and compare the performance of them under different conditions. Finally, we conclude the paper in Sec. V. II. SYSTEM MODEL AND OPTIMIZATION PROBLEM FORMULATION Two nanosensors with a single communication link between them is assumed. Nanosensors communicate with each other using TS-OOK [14], i.e., a recently proposed communication scheme based on the transmission of one-hundredfemtosecond-long pulses by following an asymmetric On- Off Keying modulation spread in time. Such mechanism can effectively provide nanomachines with orthogonal communication channels, thus minimizing the potential multi-user interference. The transmitter node is a nanomachine with the capability of harvesting energy by means of piezoelectric nano-generators [4], which converts kinetic energy into electricity by exploiting nanowires. At the receiver node it is assumed that always enough energy is available to receive the packets successfully, and the receiver has enough amount of memory to buffer the received data. Based on these assumptions, first a throughput optimization problem with the objective of maximizing the link throughput between a pair of transceivers in a WNSN is defined, by capturing the aforementioned constraints in a general form. Then the constraints are explained in details for different error-control techniques respectively. We start with the definition of throughput in a WNSN link as the rate of successful message transmission measured in bits per second (bps), which is given by Useful Data Length Successful T ransmission T ime S =. Without loss of generality, instead we can optimize the link utilization efficiency η for a given transmission rate r which can be further defined as: η = 1 r L data N ret T, (1) where L data is the useful data length in bits, N ret represents the expected number of retransmissions needed for the packet to be received and processed successfully at the receiver node according to the chosen error-control method. T is the total time required to accomplish a complete packet transmission including the time required to harvest enough energy for transmission, and will be defined later in Sec. II-A as one of the constraints of the optimization problem. Hence, for a chosen error-control technique, to find optimal data length which maximizes the link efficiency, the optimization problem can be formulated as follows. A. Channel Efficiency Maximization Problem for WNSNs We define next the optimization problem with the objective function of maximizing the channel efficiency in WNSNs, and the constraints which will be defined later in Sec. II-B through II-D in details according to the error-control method. Optimization Problem [P1] r, ψ E, φ E, N, p E x, f, d, θ E, τ E, E E, λ harv L data Maximize : η = 1 r N ret T Subject to : where: L data > (2) N ret = 1 1 p e (3) p e = ψ E (BER, L data, L E ) (4) BER = φ E( E bit ), p E x P L N (5) T = max{t E, T E harv} (6) T E = θ E (L data, L E, T E proc, T E, T prop) (7) T E harv = τ E (L data, L E, E E, p E x, λ harv ) (8) E E λ harv T E harv (9) p e = ψ E (BER, L data, L E ) is the Packet Error Rate (PER), which is a function of the Bit Error Rate (BER), data length L data, and the length of the redundant bits L E, which depends ( on the) error-control scheme E. BER = φ E E bit, p E P L N x is a function of energy required to transmit a bit E bit, the path loss P L, and the noise spectral density N. It also depends on the pulse probability p E x that itself varies according to the chosen error-control method E. P L(f, d) is the path loss between the transmitter and receiver nodes and depends on the transmission frequency f and the distance between the nodes d. T E = θ E (L data, L E, Tproc, E T E, T prop) is the packet round-trip time or the total time needed for the packet to be transmitted and the acknowledgment to be received. Tproc E and T E are the processing time for a complete packet transmission and the time-out before retransmission respectively, for a chosen E. T prop is the propagation time and is relative to the distance between

the transmitter and receiver nanomachines and it can be rewritten as d/c, where c is the speed of light. T harv E = τ E (L data, L E, E, E p E x, λ harv ) is the time to harvest enough energy for a complete transmission including processing and transmitting the data. E E is the energy consumed to transmit a packet of length L data. Note that this energy contains both the required energy to process data according to the selected E, and the required energy for transmitting the data which depends on L data, L E, and p E x. λ harv is the rate at which the nanosensor transmitter mote is able to harvest energy in J/s. Here we assume that the nano-transmitter always transmits with the maximum available energy, hence the inequality in (9) reduces to equality, and therefore the function τ E, can be defined as follows: τ E = EE. (1) λ harv Hence the two constraints (8) and (9) can be merged into one constraint as in (1). Moreover, for the BER, the function φ E does not depend on the optimization variable L data, and depends on the physical layer parameters. In this paper we use the derived values for BER in [16], as given values of the proposed optimization problem. As it can be seen, the optimization problem defined in [P1] is a general problem with functions ψ E, θ E, and E E which has to be tailored for three different error-control techniques, namely,, and, which are addressed as follows. B. Automatic Repeat request () Constraints The packet error rate in is defined as follows: ψ E = 1 (1 BER ) l, (11) where l = L data + L CRC, and L CRC is the length of Cyclic Redundancy Check (CRC) used for error detection. Moreover, the packet round-trip time is given by the following equation: T = T,data + T CRC + p s,data p s,ack (2T prop + T CRC + T,ack ) + (1 p s,data p s,ack )T, (12) where T,data and T,ack are the data and acknowledgment transmission times and are given by l/r and L ack /r respectively, where L ack is the acknowledgment packet length. T CRC refers to the delay caused by computational process of the CRC, and is given by (L data T clk ), where T clk is the inverse of the nanomachine s clock frequency. p s,data and p s,ack are data and acknowledgment packet success rate respectively and can be obtained from (11) with l = L data and l = L ack respectively. Finally T is defined as follows: T = 1.1(2T prop + T CRC + T,ack ), (13) which is the propagation delay to transmit the data and receive the acknowledgment, plus the time the receiver takes to process the CRC and transmit the acknowledgement packet, plus a ten percent margin time. The energy required for transmission process in can be defined as follows [16]: E = E,data + E CRC + p s,data p s,ack E rx,ack, (14) where E,data and E rx,ack refer to the energy required to transmit the data packet and receive the acknowledgement packet, and are given by (l p E x E bit ) and (p s,data p s,ack L ack Erx bit ) respectively. E CRC stands for the consumed energy caused by computational process of the CRC, and is given by (L CRC L data (E shift + E hold )), where E shift and E hold are the energies consumed to shift and hold a registry value in a shift register. Note that the value of E CRC is defined based on the assumption that a CRC is implemented by exploiting shift registers and XOR logic gates as described in [16]. C. Forward Error Correction () Constraints For the, the packet error rate depends on the Block Error Rate (BLER), and is defined as follows: ψ E = 1 (1 BLER F EC ) n, (15) where n is the number of blocks per data packet payload, and BLER F EC is given as follows: k ( ) k BLER F EC = (BER) j (1 BER) k j, (16) j j=t+1 where k refers to the block size and t is the error correction capability of the code. Moreover, the packet round-trip time for can be defined as follows: T F EC = T,data F EC + Tcode F EC + p F s,data(t EC prop + Tdecode) F EC + (1 p F s,data)t EC F EC, T F EC (17) where T,data F EC is the data transmission time and is given by l/r, where l is the total length of the transmitted data and is equal to (L data + L F EC ), and L F EC is the length of the redundant bits added for error correction. Tcode F EC and Tdecode F EC refer to the latency caused by coding and decoding processes of the data respectively, given by Tcode F EC = 2nT clk, and Tdecode F EC = (k + 1)nT clk [16]. p F s,data EC is the data packet success rate and can be obtained from (15). Finally, T F EC is given by: = 1.1(2T prop + Tdecode). F EC (18) The function E E for mode is defined as follows: E F EC = E F EC,data + E F EC code, (19) where E,data F EC refers to the energy required to transmit the data packet, given by (l p E x E bit ), and Ecode F EC stands for the consumed energy caused by computational process of coding the data in transmitter, given by n k(e load + E hold ), where E load and E hold are the energies consumed to load and hold a registry value in a shift register. The value of Ecode F EC is defined based on the assumption that a Hamming code is exploited for the which can be implemented by using shift registers as well as XOR and AND logic gates as described in [16].

D. Error Prevention Codes () Constraints Instead of correcting channel errors or just detecting them and asking for retransmissions a posteriori, the idea of preventing channel errors from occurring in advanced or a priori, has been recently proposed [15]. The idea comes from the fact that both the molecular absorption in the Terahertz Band and the multi-user interference in TS-OOK [14], are correlated to the transmitted signal. Therefore, by exploiting low weight codes, i.e., codewords with lower average number of logical 1 s, both the molecular absorption noise and the multi-user interference can be reduced, which effectively results in lower BERs. For the, the packet error rate is given by [16]: ψ E = 1 (1 BER EP C ) nk, (2) where n is the number of blocks per data packet payload, and k refers to the block size. Moreover, the packet round-trip time in is defined as follows: T EP C = T,data EP C + Tcode EP C + p EP s,data(t C prop + Tdecode) EP C + (1 p EP s,data)t C EP C, (21) where T,data EP C is the data transmission time and is given by l/r, where l is the total length of the transmitted data and is equal to (L data + L EP C ), and L EP C is the length of the redundant bits added by error prevention codes. Tcode EP C and Tdecode EP C refer to latency caused by coding and decoding processes of the data respectively, given by Tcode EP C = Tdecode EP C = 2nT clk [16]. p EP s,data C is the data packet success rate and can be obtained from (2). Finally, T EP C is given as follows: T EP C = 1.1(2T prop + T EP C decode). (22) Eventually, the following equation describes the energy required to accomplish the transmission process E E in : E EP C = E EP C,data + E EP C code, (23) where E,data EP C refers to the energy required to transmit the data packet, and is given by (l p E x E bit ), and Ecode EP C stands for the consumed energy caused by computational process of coding the data in transmitter, and is given by n (l d +k)(e load +E hold ), where l d is the length of useful data bits in a transmitted block. Note that the value of Ecode EP C is defined based on exploiting logic gates and parallel-load shift registers to implement the as described in [16]. III. PROBLEM SOLUTION APPROACH AND ALGORITHM To solve the optimization problem [P1], we start with the equality constraints (3), (4), and (5). As it is mentioned earlier in Sec. II-A, the BER does not depend on the optimization variable and the constraint (5) can be defined as a given parameter to our optimization problem. Moreover the equalities (3) and (4) can be merged with the objective function of [P1]. For the equality constraint (6) which contains the nonsmooth maximum function, we can also plug it in the objective function by defining η = min{η 1 (L data ), η 2 (L data )}, and using auxiliary functions η 1 (L data ) and η 2 (L data ) as follows: η 1 = 1 r Ldata(1 ψ E ) θ E, η 2 = 1 r Ldata(1 ψ E ) τ E. (24) Note that η 1 (L data ) and η 2 (L data ) only depend on L data as the optimization variable, and all other parameters are assumed to be given. Also the functions ψ E, θ E, and τ E are all functions of L data which are defined in Sections II-B through II-D for different error-control techniques. Therefore, the following equivalent optimization problem can be defined: Optimization Problem [P2] r, ψ E, θ E, τ E Minimize : η = max{ η 1 (L data ), η 2 (L data )} Subject to : L data > Note that here we are using the standard minimization problem by changing the sign of the functions η, η 1 (L data ) and η 2 (L data ), and using max function instead of min. It can be shown that [P2] is a Quasi-Convex optimization problem. More specifically, η 1 (L data ) and η 2 (L data ) are Quasi-Convex functions and since nonnegative weighted maximum function preserves Quasi-Convexity, therefore the objective function η(l data ) is Quasi-Convex as well. Moreover, the inequality constraint (2) is a convex set, hence [P2] is a Quasi-Convex optimization problem. For solving this optimization problem we define the epigraph form of the problem and use a bisection method as follows: Epigraph form of Optimization Problem [P2] Minimize : r, ψ E, θ E, τ E Subject to : η(l data ) t t L data < Now, our quasi-convex optimization problem can be solved as a sequence of convex feasibility problems as follows: r, ψ E, θ E, τ E Subject to : η(l data ) t L data < (25) The above feasibility problem is convex, since all its inequality constraints are convex. Now let us define p as the optimal value of our optimization problem in [P2]. If the problem (25) is feasible, then p t, and if it is not feasible, then p t. Therefore by using a bisection method we can solve our quasi-convex optimization problem, by solving a convex feasibility problem in each iteration of the algorithm. For the bisection algorithm we have to determine a lower bound l and an upper bound u for the possible values of p. Since we are dealing with efficiency ( η) as our objective function so we know that always η [, 1]. Hence we can set the bounds to l = 1 and u =. However, it can be easily observed that min( η) max{min(η 1 ), min(η 2 )} 1, and since η 1 and η 2 are both quasi-convex, differentiable, and continuous,

we can directly calculate the min value of them and use it for the lower bound as l = max{min( η 1 ), min( η 2 )} which results in less iterations. IV. NUMERICAL RESULTS AND PERFORMANCE EVALUATION In this section we numerically study the performance of different error-control techniques, in terms of maximum link throughout achievable under the energy harvesting and transmission delay constraints. In our analysis we use the following parameters. We consider that nanosensors communicate by using TS-OOK, hence every bit of logic 1 is transmitted as a pulse (which is modeled as the derivative of a one-hundred-femtosecond long Gaussian pulse) with energy of E bit = 1 aj, and the logic is transmitted as silence [14]. The propagation of the pulses is modeled by utilizing the THz-band channel model in [3]. Both TS-OOK and this model have been validated by means of extensive simulations with COMSOL Multi-physics. Due to the limited computational capability of nanomachines, only very simple error-control methods are utilized. For the, we use a 16-bit CRC for error correction with a 2 bytes long acknowledgement packet; a Hamming(15,11) code is assumed for the ; and, for, a 16-bit low-weight code with codeword size of 19 bits is used ( type II [16]). The resulting probability to transmit a pulse p E x is.5 for and, and.31 for. We further consider that the nanosensors communicate with a bit rate of r = 1 Gbps, and the the clock period to compute the latency caused by the CRC or coding and decoding processes is T clk = 1 ps. We also consider the energy required to shift, hold, and load in a shift register as E shift = E hold = E load =.1 aj. The communication distance range is assumed to be d = 1 1 mm, and the energy harvesting rate ranges λ harv = 1 4 nj/s. The link efficiency η of the is shown in Fig. 1 as a function of packet size for a fixed distance and energy harvesting rate. η 1 in this figure represents the link efficiency affected only by the transmission time, i.e., the nanotransmitter has enough energy to transmit and does not need time to harvest energy. In contrary η 2, shows the link efficiency which is only affected by energy harvesting time consumption, i.e., the transmission time is always less than the time needed to harvest energy. Finally, η shows the trade-off between these two scenarios and shows the link efficiency considering both constraints. As shown in Fig. 1, as we increase the packet size, at some point, the energy harvesting time consumption becomes dominant and restricts the efficiency of the link. In Fig. 2, the link efficiency η of different error-control techniques is shown as a function of packet size for a fixed distance and energy harvesting rate. As it can be seen in this figure, performs better than the other two techniques for very small packet sizes, and as we increase the packet size outperforms, while has the lowest efficiency. Fig. 3 and Fig. 4 depict the optimal link efficiency and the optimal packet size respectively, for different error-control Link Effieciency Link Effieciency.3.25.2.15.1.5.6.5.4.3.2.1 η, λ harv =2 nj/s η 1, λharv η 2, λharv =2 nj/s 5 1 15 2 25 3 35 Packet Length [bits] Fig. 1. Link efficiency for, when d = 1 cm. 2 4 6 8 1 12 Packet Length [bits] Fig. 2. Link efficiency for d = 1 cm and λ harv = 2 nj/s. techniques as a function of distance for a fixed energy harvesting rate. It can be seen that for very short distances outperforms the other two error-control methods, while transmitting smaller packets. However, has a better performance for longer distances and uses bigger packets for transmission. The optimal packet size is in between the other two methods, and has the lowest link efficiency. Finally, in Fig. 5, we show the optimal link efficiency for different error-control methods as a function of energy harvesting rate, for a fixed distance. This figure shows that and have better performance for low energy harvesting Optimal Link Effieciency.9.8.7.6.5.4.3.2.1 1 3 1 2 1 1 Distance [m] Fig. 3. Optimal link efficiency for λ harv = 2 nj/s, and L max data = 16 Kbits.

Optimal Packet Length [Kbits] 16 14 12 1 8 6 4 2 1-3 1-2 1-1 Distance [m] Fig. 4. Optimal packet size for λ harv = 2 nj/s, and L max data = 16 Kbits. Optimal Link Efficiency 1 1 1 1 2 5 1 15 2 25 3 35 4 Energy harvesting rate [nj/s] Fig. 5. Optimal link efficiency for d = 1 mm, and L max data = 16 Kbits. rates, while outperforms the other two techniques when the nanomachine is capable to harvest energy at higher rates. As the results show, the optimal packet size abruptly decreases with distance. Transmission of very small packets can cause message delivery delay and eventually leads to low link efficiency. A remedy to overcome the drawbacks caused by transmitting very small packets, is to utilize the concept of packet train, in which a train of packets are transmitted consecutively without releasing the channel [6]. For each packet train a single acknowledgment will be sent, which may contain either a cumulative acknowledgement for all packets in the train, or a request for retransmission of specific packets. V. CONCLUSIONS In this paper, we have addressed the trade-off between the energy harvesting and data transmission process time to improve the link throughput efficiency in WNSNs. In particular, we have developed an optimization problem with the objective function of link throughput efficiency and the constraints that cover the latency caused by both the energy harvesting and data transmission process, while considering the peculiarities of nanosensors. The optimal packet size which maximizes the link throughput in WNSNs has been analyzed for three different error-control techniques, which included using a 16-bit CRC, based on Hamming(15,11) codes for error correction, and with a 16-bit low-weight code. The analysis has captured the peculiarities of THz band, as well as nano-devices and their capabilities of harvesting energy and data transmission. The results show that outperforms the other two techniques in terms of link throughput efficiency in short range communications as well as low energy harvesting rates. Also, we have shown that in case of higher energy harvesting rates provides a higher link throughput than and in similar conditions. For each error control strategy, the optimal packet size has been obtained. It has been shown that this quickly decreases with distance, and the transmission of very short frames, just hundreds of bits long, becomes necessary to maximize the link utilization for distances beyond a few millimeters. These results provide the design requirements in terms of special computation and energy harvesting capabilities needed for nanomachines that will be exploited for different applications. REFERENCES [1] I. F. Akyildiz and J. M. Jornet, Electromagnetic wireless nanosensor networks, Nano Communication Networks (Elsevier) Journal, vol. 1, no. 1, pp. 3 19, 21. [2] J. M. Jornet and I. F. Akyildiz, Graphene-based plasmonic nanoantenna for terahertz band communication in nanonetworks, IEEE Journal on Selected Areas in Communications, vol. 31, no. 12, pp. 685 694, 213. [3], Channel modeling and capacity analysis of electromagnetic wireless nanonetworks in the terahertz band, IEEE Transactions on Wireless Communications, vol. 1, no. 1, pp. 3211 3221, Oct. 211. [4] Z. L. Wang, Towards self-powered nanosystems: From nanogenerators to nanopiezotronics, Advanced Functional Materials, vol. 18, no. 22, pp. 3553 3567, 28. [5] J. M. Jornet and I. F. Akyildiz, Joint energy harvesting and communication analysis for perpetual wireless nanosensor networks in the terahertz band, IEEE Transactions on Nanotechnology, vol. 11, no. 3, pp. 57 58, 212. [6] D. Pompili, T. Melodia, and I. F. Akyildiz, Routing algorithms for delay-insensitive and delay-sensitive applications in underwater sensor networks, in Proc. of the 12th ACM Annual International Conference on Mobile Computing and Networking (MobiCom), 26, pp. 298 39. [7] M. Vuran and I. F. Akyildiz, Cross-layer packet size optimization for wireless terrestrial, underwater, and underground sensor networks, in Proc. of the 27th IEEE Conference on Computer Communications (INFOCOM), 28. [8] M. Stojanovic, Optimization of a data link protocol for an underwater acoustic channel, in Proc. of IEEE Oceans 25-Europe, vol. 1, 25, pp. 68 73. [9] M. C. Domingo, Packet size optimization for improving the energy efficiency in body sensor networks, ETRI Journal, vol. 33, no. 3, pp. 299 39, 211. [1] A. Seyedi and B. Sikdar, Energy efficient transmission strategies for body sensor networks with energy harvesting, IEEE Transactions on Communications, vol. 58, no. 7, pp. 2116 2126, 21. [11] K. Tutuncuoglu and A. Yener, Optimum transmission policies for battery limited energy harvesting nodes, IEEE Transactions on Wireless Communications, vol. 11, no. 3, pp. 118 1189, 212. [12] V. Sharma, U. Mukherji, V. Joseph, and S. Gupta, Optimal energy management policies for energy harvesting sensor nodes, IEEE Transactions on Wireless Communications, vol. 9, no. 4, pp. 1326 1336, 21. [13] S. Mohrehkesh and M. C. Weigle, Optimizing energy consumption in terahertz band nanonetworks, IEEE Journal on Selected Areas in Communications, vol. 32, no. 12, pp. 2432 2441, 214. [14] J. M. Jornet and I. F. Akyildiz, Femtosecond-long pulse-based modulation for terahertz band communication in nanonetworks, IEEE Transactions on Communications, vol. 62, no. 5, pp. 1742 1754, 214. [15] J. M. Jornet, Low-weight error-prevention codes for electromagnetic nanonetworks in the terahertz band, Nano Communication Networks (Elsevier), vol. 5, no. 1, pp. 35 44, 214. [16] N. Akkari, J. Jornet, P. Wang, E. Fadel, L. Elrefaei, M. Malik, S. Almasri, and I. Akyildiz, Joint physical and link layer error control analysis for nanonetworks in the terahertz band, Wireless Networks (Springer), pp. 1 13, 215.