Next Article in Journal
Turbidity and RI Dependency of a Polymer Optical Fiber-Based Chromatic Sensor
Previous Article in Journal
Development of a Network of Accurate Ozone Sensing Nodes for Parallel Monitoring in a Site Relocation Study
Previous Article in Special Issue
User Association and Power Control for Energy Efficiency Maximization in M2M-Enabled Uplink Heterogeneous Networks with NOMA
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Distributed Testbed for 5G Scenarios: An Experimental Study

by
Mohammad Kazem Chamran
1,
Kok-Lim Alvin Yau
1,*,
Rafidah M. D. Noor
2 and
Richard Wong
1
1
School of Science and Technology, Sunway University, Subang Jaya 47500, Malaysia
2
Department of Computer System and Technology, University of Malaya, Kuala Lumpur 50603, Malaysia
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(1), 18; https://doi.org/10.3390/s20010018
Submission received: 16 September 2019 / Revised: 25 October 2019 / Accepted: 29 October 2019 / Published: 19 December 2019
(This article belongs to the Special Issue Internet of Things and Sensors Networks in 5G Wireless Communications)

Abstract

:
This paper demonstrates the use of Universal Software Radio Peripheral (USRP), together with Raspberry Pi3 B+ (RP3) as the brain (or the decision making engine), to develop a distributed wireless network in which nodes can communicate with other nodes independently and make decision autonomously. In other words, each USRP node (i.e., sensor) is embedded with separate processing units (i.e., RP3), which has not been investigated in the literature, so that each node can make independent decisions in a distributed manner. The proposed testbed in this paper is compared with the traditional distributed testbed, which has been widely used in the literature. In the traditional distributed testbed, there is a single processing unit (i.e., a personal computer) that makes decisions in a centralized manner, and each node (i.e., USRP) is connected to the processing unit via a switch. The single processing unit exchanges control messages with nodes via the switch, while the nodes exchange data packets among themselves using a wireless medium in a distributed manner. The main disadvantage of the traditional testbed is that, despite the network being distributed in nature, decisions are made in a centralized manner. Hence, the response delay of the control message exchange is always neglected. The use of such testbed is mainly due to the limited hardware and monetary cost to acquire a separate processing unit for each node. The experiment in our testbed has shown the increase of end-to-end delay and decrease of packet delivery ratio due to software and hardware delays. The observed multihop transmission is performed using device-to-device (D2D) communication, which has been enabled in 5G. Therefore, nodes can either communicate with other nodes via: (a) a direct communication with the base station at the macrocell, which helps to improve network performance; or (b) D2D that improve spectrum efficiency, whereby traffic is offloaded from macrocell to small cells. Our testbed is the first of its kind in this scale, and it uses RP3 as the distributed decision-making engine incorporated into the USRP/GNU radio platform. This work provides an insight to the development of a 5G network.

1. Introduction

Fifth generation (5G) is a promising next-generation cellular network armed with new features, particularly device-to-device (D2D) communication that enables direct communication between devices without going through base stations (BSs). This helps to offload traffic from macrocell (MC) BSs to small cell (SC) (i.e., femtocell) BSs, as well as user equipment and devices, including sensors, while increasing network cell coverage via multihop transmission [1,2,3]. In 5G, a node can operate either as a licensed user (or a primary user, PU) to utilize its licensed channels (or cellular channels), or as an unlicensed user (or a secondary user, SU) to explore and utilize white spaces, which are the underutilized licensed channels (or cognitive channels) [4]. D2D enables nodes to access both cellular and cognitive channels to improve spectrum efficiency in order to improve data transmission rate and quality of service (QoS) [5,6,7].

1.1. Our Contributions

At present, the majority of the research related to 5G presents theoretical analysis [8,9,10,11,12] and simulation studies [11,12,13,14,15,16]. In general, various theoretical state of the art and open issues are presented In [8], the effects of ultra-densification are investigated In [9], various network architectures, medium access mechanisms, and open issues are presented In [10], as well as routing algorithms to achieve lower interference and a balanced traffic load amoung routes in 5G environment are investigated In [11,12], respectively. In addition, traffic offloading from backbone routes and the central controller to distributed nodes is investigated In [13,14], the transmission delay is predicted based on channel states In [15], and the feasiblity of D2D in 5G environment is investigated In [16]. Some researchers conduct proof of concept experiments; however, the focus is primarily on the physical layer, particularly spectrum management In [2], interference mitigation In [17], channel sensing In [18], as well as on the data link layer, particularly channel hopping (or switches) In [19].
This study focuses on the networking aspect over a 5G-based platform using universal software radio peripheral with GNU radio (USRP/GNU radio) units and Raspberry Pi3 B+ (RP3) processors [20]. GNU radio is an open source software that serves as development toolkit [21] in the platform (for more details see Section 2.3). There are two types of testbeds under investigation in this paper: (a) the traditional testbed comprised of BSs or nodes connected to a single traditional processing unit using a wired medium via a switch [2]; and (b) our distributed testbed in which each BS and node is embedded with a separate processing unit, namely Raspberry Pi3 B+ (RP3). We consider a 5G scenario with: (a) D2D communication; and (b) heterogeneous MC and small cell BSs with different sensing and transmission capabilities, as well as processing capabilities (i.e., using operating systems with different capabilities). Comparison is made on the performance measures of routes via D2D and MC BS. The MC BS selects a route, and informs FC BSs and nodes about the route; subsequently, the FC BSs and nodes setup the route accordingly. Therefore, FC BSs and nodes can be relaxed from performing route selection and channel sensing. Our testbeds are sufficient for the investigation of our contributions, although further extension is suggested in Section 7.
Our contributions are twofold:
  • Performance comparison achieved in our distributed testbed based on proof of concept experiments involving multihop transmission, which is necessary in next-generation wireless sensor networks. The BSs and nodes are heterogeneous from MC and SCs with different sensing and transmission capabilities, as well as processing capabilities (i.e., using operating systems with different capabilities).
  • Performance analysis of the software and hardware processing delays for communication via D2D and going through BSs over the testbed, which is required for route selection.

1.2. Significance of This Paper

There are two main investigations in this paper. Firstly, comparison is made of the performance measures achieved by the traditional testbed and our distributed testbed. Our proposed testbed is distributed in nature and it has a closer resemblance to a real deployed network. The software and hardware processing delays, which are generally ignored in theoretical analysis and simulation, are investigated. Secondly, using the testbeds, comparison is made on the performance measures achieved by: (a) the traditional direct communication with MC BS; and (b) the D2D communication. This comparison is useful for the MC BS to make decision on route selection. This is because, while D2D communication can offload traffic from MC BSs to SC BSs, the end-to-end delay over a multihop transmission increases, and so the direct communication with MC BS can be favorable. The end-to-end delay of a route changes with its operating environment (e.g., the processing capability) and its operation (e.g., the lower read and write rates of RP3 contribute to a higher end-to-end delay and lower packet delivery ratio in our distributed testbed compared to the traditional testbed). Lower end-to-end delay is favorable to support real-time applications integrated with sensors, such as driverless vehicles. To the best of our knowledge, this is the first USRP/GNU radio platform incorporated with RP3 implementation with this scale and functionality.

1.3. Organization of This Paper

The rest of this paper is organized as follows. Section 2 presents research background. Section 3 presents related work. Section 4 presents system model and delay measurement. Section 5 presents experimental setup. Section 6 presents experimental results. Section 7 presents our conclusion and future work.

2. Background

This section presents an overview of 5G, USRP, GNU radio, and RP3.

2.1. 5G

The 5G network is a heterogeneous network that consists of different kinds of network cells, including MC and femtocell (FC). The transmission of the BSs and nodes are characterized by different frequency bands and transmission power levels. In Figure 1, a 5G network consists of two main planes: (a) control plane consists of MC BSs, which use higher transmission power levels at lower frequency bands, contributing to larger transmission ranges; and (b) data plane consists of FC BSs and nodes, which use lower transmission power levels at higher frequency bands, contributing to smaller transmission ranges [22]. The control plane communicates with the cloud, which consists of a central controller (CC) that manages and coordinates global functions, such as route selection. MC BSs can coordinate and communicate among themselves via the cloud [12,23], and this helps them to determine the nodes that each of them must cover. The FC BSs can coordinate and communicate among themselves via D2D if they are within each other’s transmission range, and this helps them to: (a) use a route established from a FC source node F C s to a FC destination node F C d by the CC; and (b) offload traffic from MC BSs. Both MC and FC overlap, and FC BSs can communicate with each other directly. Hence, the MC BS in the control plane can select a route, and inform FC BSs and nodes in the data plane about the route; subsequently, the FC BSs and nodes setup the D2D route accordingly. Therefore, FC BSs and nodes can be relaxed from performing complex tasks, such as route selection.

2.2. Universal Software Radio Peripheral

USRP is an off-the-shelf wireless device that can be configured with a wide range of operating parameters, such as the types of modulation schemes and the channel frequency bands. Our testbed uses USRP N200 series that provides high processing capability. Figure 2 shows a USRP unit that has a set of two omni-directional VERT900 antennas—one for transmission and one for reception—for simultaneous transmissions in two different operating channels within channel frequency bands 850–890 MHz and 2.3–2.4 GHz. The selected channel frequency bands include the television and global system for mobile communication (GSM) bands. The antennas are connected to a daughterboard. There are two types of paths: (a) receive path in which analogue signals are received and moved from the radio frequency (RF) front end towards RP3 for reception; and (b) transmit path in which digital signals move from RP3 towards the RF front end for transmission.
The USRP consists of three main sections as follows:
  • Wide bandwidth transceive (WBX) is the RF front end that provides access to different operating channels within a range of 50 MHz of RF bandwidth with 8 bit samples, or 25 MHz of RF bandwidth with 16 bit samples. The maximum transmission power is 100 mW (or 20 dBm) with a noise figure of 5 dB.
  • Converter consists of: (a) an analogue-to-digital converter (ADC) and a digital down converter (DDC) in the receive path; and (b) a digital-to-analogue converter (DAC) and a digital up converter (DUC) in the transmit path. DDC selects desired signals from an array of signals captured by ADC, while DUC increases the bandwidth of baseband signals so that they are compatible with DAC.
  • Field-programmable gate array (FPGA), specifically the Xilinx Spartan 3A-DSP 1800 board [24] used in this platform, consists of: (a) a decimation filter for achieving the required interface bandwidth in the receive path, and an interpolation filter for achieving the opposite in the transmit path; (b) a USRP hardware driver (UHD) block with a software interface that enables various components to communicate among themselves; and (c) a processor block that performs encoding/decoding, modulation/demodulation, timing synchronization, and other signal processes required for software defined radio (SDR) operations. The FPGA communicates with RP3 via power over Ethernet (PoE). It provides connection between: (a) gigabit Ethernet CAT 5E-350 MHz cables, which provide a maximum data rate of 1000 megabits per second (Mbps) connected to a Gigabit switch; and (b) USB3, which provides a maximum data rate of 1600 Mbps. During system initialization, the kernel, which is the fundamental part of an operating system, of GNU radio controls and monitors programs and systems, as well as performs default functions, such as checking and assigning memory space to FPGA [24].

2.3. GNU Radio

GNU radio, together with its extended version called GNU radio companion (GRC), is an open source SDR that enables users to design: (a) configurable blocks to perform communication tasks using the C++ language; and (b) flow graphs to connect the blocks using the Python language. As shown in Figure 3, the blocks and flow graphs define the roles of the source, intermediate, and destination nodes as follows:
  • Source node, which is a RP3 unit with an Internet protocol (IP) address (e.g., 192.168.10.2) and a port number (e.g., 1234), generates and sends a data or video stream in the form of frames encapsulated in user datagram protocol (UDP). In GRC, the frames pass through three main components: (a) an encoder that converts the frames into packets with a predefined payload length (e.g., 1472 bytes); (b) a Gaussian minimum shift keying (GMSK) modulator that converts the packets into modulated signals at baseband (e.g., the minimum non-zero frequencies); and (c) a USRP sink block that sets the center frequency (e.g., 850 MHz), channel gain (e.g., 1dB), and sample rate (e.g., 1 MHz). Finally, the signals are broadcasted.
  • Intermediate node receives signals from a transmitter, which can be a source node or an upstream intermediate node, and transmits them to the next-hop node, which can be a destination or a downstream intermediate node. There are two processes that help to improve the quality of packets before forwarding them in order to reduce interference and address poor channel quality [25]: (a) to demodulate signals to packets, and then to decode packets to frames; and (b) to encode frames to packets, and then to modulate packets to signals. The demodulation and decoding processes are performed at the receiver unit, and then modulation and encoding processes at the transmitter unit.
  • Destination node, which is a RP3, receives and demodulates signals to packets, and then decodes packets to frames. Then, a UDP sink block sends the frames to an application (e.g., a VLC media player) through a port (e.g., port number 1236 or udp://@:1236).

2.4. Raspberry Pi3 B+

Conventionally, a testbed consists of BSs or nodes connected to a single traditional processing unit (e.g., a personal computer or a laptop) using a wired medium via a switch [2] (see Section 5). The BSs and nodes exchange control messages and data packets over the wired and wireless media, respectively. In this paper, each BS and node is embedded with a separate processing unit, namely the RP3 unit. Both control messages and data packets are exchanged over the wireless medium.
There are three main advantages. Firstly, ease of implementation because nodes can be placed further apart from each other rather than being constrained by physical cables and connections to a single switch. Secondly, higher cost efficiency (or lower overhead) because nodes do not communicate with a traditional processing unit. Thirdly, lower energy consumption with the use of RP3 compared to personal computers, laptops, and a switch.
However, there are three main disadvantages. Firstly, lower processing capability. The RP3 processor (e.g., 1.4 GHz 64-bit quad-core processor with 1 GB non-expandable on-board RAM) is suffice to perform basic tasks and support simple applications (e.g., running GRC in the Linux environment). Secondly, lower data rate. The network interface of RP3 has approximately 324 Mbps data rate only, which is low compared to 761 Mbps offered by the gigabit Ethernet of a CORE i7 personal computer. This increases the end-to-end delay of the communication between a RP3 and a USRP. In addition, RP3 is embedded with an SD card, such as a high capacity HC-I class 10 SD card that offers a data rate of 10 megabytes per second (MBps), which is low compared to 550 MBps offered by a solid-state hard drive. This increases the internal delay of the communication between a RP3 and an SD card. This is significant because such communication is commonplace as an operating system (e.g., Ubuntu) is stored as an image in the SD card. It is worth mentioning that the speed (or rate) of read and write on SD cards reduces with the increase of occupied space, and the read rate is generally higher than the write rate as shown in Section 5.3.2. Thirdly, lower storage space. The SD card provides low storage space (e.g., 32 GB) for operating systems and software applications.

3. Related Work

This section presents related works on testbeds, particularly USRP/GNU radio platforms, for investigating the networking aspect of 5G. It covers two main topics. Firstly, the communication delay between nodes along a route. The routes are assumed to be readily available, and they are selected and provided by the central controller. Secondly, the testbeds, particularly USRP/GNU radio and RP3 platforms.

3.1. Communication Delay between Nodes

In [26], the hardware and software processing delays are investigated on a testbed comprised of ten USRP/GNU radio nodes connected to a single traditional processing unit (i.e., a personal computer) via a switch. The end-to-end delay has shown to reduce since the personal computer can pre-process route selection prior to data transmission.
In [27], the response delay (or the round-trip time) is investigated on a testbed comprised of two USRP/GNU radio nodes connected to a personal computer. The response delay is the duration between the moment the first byte of a packet passes the digital signal processing block of a sender and the moment the first byte of an acknowledgement packet arrives at the sender. The delay is incurred in: (a) the initiation process that includes modulation, sampling, encoding, as well as packet transfer between GNU radio and kernel (or the operating system); (b) the buffering process that collects and stores packets in a buffer (e.g., the buffer of a VLC media player); and (c) the transmission process that receives and sends packets to the FPGA unit of USRP so that they are interpolated before being transmitted via antenna. Measurement shows that the initiation process has the highest time delay, and the transmission process has the lowest time delay.
In [28], the hardware and software processing delays, as well as the response delay, are investigated on a testbed comprised of two USRP/SDR nodes, which serve as the source and destination nodes, connected to a single traditional processing unit (i.e., a personal computer). The source node transmits a data packet to the destination node; and subsequently, the destination node returns a response packet to the source node. The delays are incurred in: (a) processes run in a USRP/SDR node (e.g., operating system and the modulation process); and (b) communication between the two nodes. Measurement shows that the software processing delay incurred in SDR is significantly higher than the hardware processing delay incurred in USRP and the communication delay incurred between the two nodes.
In [29], the response delay, which includes the waiting time of a packet in a queue, is investigated on a testbed comprised of four USRP/GNU radio nodes connected to a single traditional processing unit (i.e., another USRP/GNU radio unit). There are a pair of PU transmitter and receiver, and another pair of SU transmitter and receiver. The SU transmitter must sense the operating channels before transmission so as not to interfere with the PUs. Up to 30% of the delay incurred in the SU transmitter is attributed to channel sensing, which can be reduced to increase throughput at the expense of higher interference level to PUs. Hence, there is a tradeoff between the delay and throughput performances.
In [30], the hardware and software processing delays of different processes are investigated on a testbed comprised of two USRP/GNU radio nodes embedded with separate processing units (i.e., personal computers). The nodes are connected to each other via Ethernet. Examples of the USRP processes are the operating system processes in the kernel, and the decimation filtering in FPGA; and an example of the GNU radio process is the modulation process. During measurement, a 1 μ s guard time is included between the processes. A node transmits a ping packet to another node. The packet moves through the transmit and receive paths, and the timestamps for different processes in the USRP/GNU radio node are recorded. Measurement shows that the hardware and software processing delays are highest for processes running in the Kernel. This indicates that the USRP/GNU radio platform has low efficiency providing low network performance, particularly high end-to-end delay.
In this paper, the testbed is comprised of five USRP/GNU radio nodes embedded with separate processing units. Investigation is conducted on multihop transmissions in the network layer.

3.2. Testbed of USRP/GNU Radio and Raspberry Pi

This section presents related works on USRP/GNU radio with and without Raspberry Pi.

3.2.1. USRP/GNU Radio without Raspberry Pi

In [2,31,32,33,34,35,36], a testbed consists of BSs or nodes connected to a single traditional processing unit (e.g., a personal computer or a laptop) via a switch (i.e., Gigabit D-link) [2] (see Figure 4a). This allows the central controller to exchange control messages with BSs and nodes via a switch in a centralized manner, while the BSs and nodes can exchange data packets using the wireless medium [37] in a distributed manner. Examples of control messages include those that carry information about channel sensing and selection, route discovery and selection, and handshaking (e.g., request, acknowledgement, and response messages). Therefore, the response delay of a D2D type of communication in a real testbed is a cause of concern because of the sensitivity of wireless communication and the delay incurred due to the distance between a node pair. The response delay is important in D2D communication because if it may not fulfill the delay requirement (or higher than a threshold), MC BS must be used. This paper focuses on the response delay, which is end-to-end in nature, between a source node from first transmitted packet up to last received one.
In this paper, each BS or node is embedded with a separate processing unit, particularly RP3 as the core processing unit, to provide a more realistic wireless testbed, and so a single traditional processing unit is not needed.

3.2.2. USRP/GNU Radio with Raspberry Pi

In [38], a single USRP/GNU radio embedded with Raspberry Pi3 is used to generate signals in the range of FM radio frequency bands. In addition, a radio station also generates signals in the frequency bands. Subsequently, the signals generated by the Raspberry Pi3 and radio station are measured using a spectrum analyzer, and a comparison is made. The quality of signals generated by the USRP/GNU radio, despite using a lower transmission power at lower frequency bands, has shown to be close to that from a radio station. In general, the received signals from USRP/GNU radio has a lower throughput and energy consumption.
In [39], a single USRP/GNU radio node embedded with Raspberry Pi3 is used to perform energy-based channel sensing in order to detect PUs activities. There are two main sources of energy consumption in Raspberry Pi3: (a) software initiation; and (b) the calculation of the available memory of the kernel running GNU radio libraries. Channel sensing has shown to incur the highest delay. Similar investigation is performed In [20]. Energy consumption in Raspberry Pi3 has shown to be considerably lower compared to that in personal computer.
In [40], a single register transfer level (RTL) dongle embedded with a Raspberry Pi transmits and receives in the frequency bands 24–1850 MHz. The general-purpose input/output (GPIO) pins of the Raspberry Pi is used to generate and transmit pulse width modulation (PWM). The energy consumption of the RTL dongle embedded with Raspberry Pi has shown to be less than 3 watts, and so the dongle and Raspberry Pi can be powered by portable batteries. In addition, the use of Raspberry Pi has shown to enable the detection of a wide range of frequency bands while incurring low energy consumption.
In [41], a single USRP/GNU radio node connected to a personal computer, which serves as the transmitter, broadcasts signals to a RTL dongle embedded with a Raspberry Pi, which serves as the receiver. The testbed consists of a low-cost radio community that transmit at two frequency bands, namely 915 MHz (or the ISM band) and 40.68 MHz (or the FM radio frequency band). The testbed has demonstrated the capability of Raspberry Pi for transmitting and receiving signals in these frequency bands, and the quality of reception depends on the transmission power and the height of the antenna of the transmitter.
In [42], a testbed consists of two USRP/GNU radio nodes: (a) a static node, which is connected to a personal computer, serves as the ground BS; and (b) a dynamic node, which is embedded with Raspberry Pi3, is installed on an unmanned aerial vehicle (or a drone). The ground BS receives location information from the drones so that it can monitor the location of the drone. The ground BS and drone exchange messages in the frequency bands 400–4400 MHz. The testbed has demonstrated the capability of Raspberry Pi3 for setting up communication and processing information with lower energy consumption.
In [43], a testbed consists of three main USRP/GNU radio nodes: (a) a SU source node, which is connected to a personal computer; (b) a SU intermediate node, which is embedded with Raspberry Pi3, that performs energy-based channel sensing; and (c) a SU destination node, which is embedded with Raspberry Pi3. The rest of the nodes are PUs. The SU source node transmits data packets to the SU destination node in multiple hops without interfering with the random PUs’ activities. The channel sensing delay incurred by the SU intermediate node embedded with Raspberry Pi3 has shown to be twice of that incurred by the SU source node connected to a personal computer.
In this paper, our testbed consists of five USRP/GNU radio nodes embedded with Raspberry Pi3 B+ (RP3) that constitutes a source node and four intermediate nodes. In addition, a personal computer serves as the destination node. The USRP/GNU radio performs communication, and the RP3 performs processes. While existing works in the literature [20,38,39,40,41,42,43], focus on the capability and compatibility of USRP/GNU radio and RP3, this paper focuses on end-to-end hardware and software processing delays between a source node and a destination node, and the use of the delay measurement for route selection (i.e., either via D2D or MC BS).

4. System Model and Delay Measurement

This study measures network performance, particularly end-to-end delay, packet delivery ratio, and throughput, under different scenarios characterized by the characteristics of 5G, and compares results obtained from two types of testbeds, namely: (a) a testbed with a single traditional processing unit via a switch (see Figure 4a), (see Section 5.3.1); and (b) a testbed with separate processing unit (see Figure 4b), particularly RP3, embedded in each node and BS without using a switch (see Section 5.3.2).
The rest of this section presents system model in Section 4.1, D2D link delay in Section 4.2.1, and D2D end-to-end delay in Section 4.2.2.

4.1. System Model

The system topology consists of femtocell nodes f c f { f c 1 , f c 2 , , f c | F | } located within the transmission range of a MC BS. Nodes can transmit UDP packets in one of the routes in a route set, specifically k k K = k 1 , k 2 , , k | K | . Each link l n L = { l 1 , l 2 , , l | L | } uses one of the channels c c C = c 1 , c 2 , , c | C | . Each route k k = l n L consists of a set of links from a femtocell source node to a femtocell destination node. a femtocell source node f c s sends packets to a femtocell destination node f c d along a primary route k k = ( f c s , f c 1 , f c 2 , f c 3 , f c 4 , f c d ) , which is D2D and multihop in nature. In a testbed with a single traditional processing unit, the femtocell nodes f c s , f c 1 , f c 2 , f c 3 , f c 4 , f c d are connected to a MC BS, which serves as the centralized processor, via a switch as shown in Figure 4a (see Section 5.3.1 for more descriptions). On the other hand, in a testbed with separate processing units, each femtocell node is embedded with a separate processing unit, namely RP3, as shown in Figure 4b (see Section 5.3.2 for more descriptions). In this paper, a primary route has up to five hops. The primary route uses cognitive channels (or white spaces in licensed channels), and the secondary route uses cellular channels (or the licensed channels). The use of primary routes helps to reduce the congestion level of MC BS [4]. However, when the primary route becomes unavailable or broken, then a secondary route k k = ( f c s , m c 1 , f c d ) , which passes through the macrocell BS m c 1 . The route selection between primary and secondary routes is shown in the form of a flowchart in Figure 5 and an algorithm in Algorithm 1.
Algorithm 1 Route selection between the primary route (via D2D) and the secondary route (via MC BS)
1:
procedureRoute selection
2:
for k 1 = ( f c s , f c 1 , f c 2 , f c 3 , f c 4 , f c d ) and k 2 = ( f c s , m c 1 , f c d ) do
3:
  if route k 1 is available then
4:
    f c s send packet to f c 1
5:
   if f c 1 is not available then
6:
    packet goes through m c 1 (secondary route) to f c d
7:
   end if
8:
   if f c 2 is available then
9:
    check the second condition:
10:
    if t f c 1 t o f c 2 is α then
11:
      f c 1 send packet to f c 2
12:
    end if
13:
   end if
14:
   if f c 2 is not available then
15:
    packet goes through m c 1 to f c d
16:
   end if
17:
   if f c 3 is available then
18:
    check the second condition:
19:
    if t f c 2 t o f c 3 is α then
20:
      f c 2 send packet to f c 3
21:
    end if
22:
   end if
23:
   if f c 3 is not available then
24:
    packet goes through m c 1 to f c d
25:
   end if
26:
   if f c 4 is available then
27:
    check the second condition:
28:
    if t f c 3 t o f c 4 is α then
29:
      f c 3 send the packet to f c 4
30:
      f c 4 send the packet to destination f c d
31:
    else packet goes through m c 1 to f c d
32:
    end if
33:
   end if
34:
  end if
35:
end for
36:
end procedure
The end-to-end delay t k k of a primary route k k increases with the number of hops [44], and it must be less than a threshold t k k < α , where α = 10 ms is imposed by the IEEE 802.15.4 standard [14,45]. The secondary route is selected if the threshold is not fulfilled. The threshold α is imposed due to the need to reduce end-to-end delay in order to support and deploy real-time applications, including applications integrated with sensors such as driverless vehicles, in 5G. Long software and hardware processing delays can increase the queue size of base stations and nodes, and so they affect network performance, such as reducing packet delivery ratio [46,47].
In this paper, route selection is made by a central controller, and so the underlying routes, as well as the channels of the links in the routes, are readily available. There is a single MC BS that selects a route, and informs FC BSs and nodes about the route; subsequently, the FC BSs and nodes setup the route accordingly. Further extension to the testbed, such as increasing the number of MC BSs, is suggested in Section 7. The investigation takes into account the effects of the characteristics of 5G, including heterogeneity that involves nodes with different features and characteristics (i.e., different transmission power, frequency range, and strength of operating system).

4.2. Delay Measurement

This section presents D2D link and end-to-end delay, respectively.

4.2.1. D2D Link Delay

The D2D link delay (or per-hop delay) consists of three kinds of delays as shown in Figure 6. Firstly, the software processing delay t l n s is incurred in GNU radio running on processing unit, such as personal computer and RP3, to process packets, such as encoding and modulating packets (see Section 2.3), over a link l n . Secondly, hardware processing delay t l n h is incurred in USRP to convert electrical packets to RF signals for transmission in the transmit path, and to convert RF signals to electrical packets upon reception in the receive path, over a link l n . Thirdly, the propagation delay t l n p is incurred for the RF signal to travel from one USRP/GNU radio node to another over a link l n ; however, it is negligible compared to software and hardware processing delays [27].
The D2D link or per-hop delay t l n for link l n L is as follows:
t l n = t l n s + t l n h

4.2.2. D2D End-to-End Delay

The D2D end-to-end delay t k k of a route k k K = { k 1 , k 2 , , k | K | } is the accumulation of the D2D link delay at each link, which consists of software and hardware processing delays, as follows:
t k k = l n k k t l n

5. Experimental Setup

This experiment investigates the link (or per hop) and end-to-end delays of a route via D2D communication among heterogeneous BSs and nodes (i.e., MC and FCs) (see Section 4 for more details).

5.1. Experiment Parameters

The experiment uses: (a) licensed channels, including the TV frequency bands (i.e., 850–890 MHz) and long term evolution (LTE) frequency bands (i.e., 2.3–2.4 GHz) [48]; and (b) unlicensed channels, particularly the industrial, scientific and medical (ISM) frequency bands (i.e., 2.4 GHz). The experimental parameters are summarized in Table 1. In addition, the USRP parameters are presented in Section 2.2, and the GNU radio parameters and flow graph are presented in Section 2.3 and Figure 3, respectively. In GNU radio, the bandwidth can be represented by sample rate (or the number of samples per second). The transmission power used for the range of frequency bands within 850 and 890 MHz with a 1 dB set gain is 10 mW for 10 dBm.

5.2. Experiment Measurement

The software and hardware processing delays are measured using Wireshark [49], which is an open source packet analyzer (or a packet sniffer) software. For each packet transmission, Wireshark is used to measure the delays incurred by the processing unit (i.e., the time period for a media stream to be transformed into packets), the USRP (i.e., the time period for a packet to traverse from the USRP sink block to the antenna for transmission), and the propagation from one USRP unit to another. The IP address of the source node of the packet can be identified using Wireshark. The delay incurred by GNU radio (i.e., time period for a packet to traverse from the USRP source block to the USRP sink block) can be measured using Python, whereby the delay is given by the time difference between the USRP source block and the USRP sink block.
Meanwhile, there are two types of delays that are negligible: (a) the delay incurred for the initialization of different software prior to converting frames into packets; and (b) the delay incurred for signal propagation because the same transmit and receive components are used in both PCU and RPU.

5.3. Experiment Testbeds

The testbed has a route with five hops as shown in Figure 7. A video stream in the form of UDP packets is generated at a source node, forwarded along a route with four intermediate nodes, and received at a destination node. Video stream is chosen in this experiment due to its stringent QoS compared to data packets. Two types of testbeds are considered. Figure 4a shows a testbed with a single processing unit (PCU), in which a number of heterogeneous MC and FC BSs connect to a single traditional processing unit (i.e., a personal computer) using a wired medium via a switch. Figure 4b shows a testbed with separate processing units (RPU), in which the MC and FC BSs are embedded with separate processing units, namely RP3, and the FC BSs are located within the MC BS proximity. The rest of this section presents the two types of testbeds and their differences.

5.3.1. Testbed with a Single Processing Unit (PCU)

Figure 8a shows a testbed in which BSs or nodes are connected to a single traditional processing unit (PCU) (i.e., a personal computer) via a switch [2]. The personal computer has a CORE i7 processor, a 8 GB RAM, and a 1 terabyte of storage space in hard disk, and it provides a centralized approach to handle D2D communication. In other words, a single GNU radio flow graph (see Figure 3 in Section 2.3) is installed in the personal computer. The BSs and nodes exchange control messages with the personal computer via Gigabit Ethernet CAT 5E-350 MHz cables connected to a Gigabit switch, and data messages among themselves via wireless transmission. The control message has a packet size of 826 megabytes and a payload size of 1472 bytes, and it contains the source node IP address, destination node IP address, available channels, acknowledgement, packet types, and timestamp. The source node incurs three types of delays: (a) the software processing delay incurred in the personal computer (i.e., to generate and segment video stream into UDP packets); (b) the software processing delay incurred in GNU radio (see Section 2.3 for the processes); and (c) the hardware processing delay incurred in USRP (see Section 2.2 for the processes) and the propagation delay in the transmission incurred from the current node to the next-hop node. Subsequently, the intermediate nodes do not incur the software processing delay in the personal computer. Based on Equation (2), the end-to-end delay of a route k k K is as follows:
t k k = ( t l 1 P C + t l 1 G N U + t l 1 h ) + ( t l 2 G N U + t l 2 h ) + + ( t l n G N U + t l n h )
where t l P C is the single processing unit delay, t l G N U is the GNU radio processing delay, and t l h is the hardware processing delay (see Figure 6). The software processing delay is t l n = l 1 s = t l 1 P C + t l 1 G N U for the first hop and t l n l 1 s = t l G N U for the subsequent hops. The t l G N U includes the response time incurred for a node of a route to request for next-hop node information (e.g., the next-hop node IP address and operating channel) from the personal computer.

5.3.2. Testbed with Separate Processing Units (RPU)

Figure 8b shows a testbed in which each BS or node is connected to a separate processing unit (RPU) (i.e., a RP3), and so a switch is not required. RP3 provides a distributed approach to handle D2D communication. In the route, f c s transmits to next-hop f c 1 in 850 MHz. Then, f c 1 receives in 850 MHz and transmits in 860 MHz; f c 2 receives in 860 MHz and transmits in 870 MHz; f c 3 receives in 870 MHz and transmits in 880 MHz; f c 4 receives in 880 MHz and transmits in 890 MHz to the destination node f c d .
The BSs and nodes exchange control and data messages among themselves via wireless transmission. Each node incurs three types of delays: (a) the software processing delay incurred in RP3; (b) the software processing delay incurred in GNU radio; and (c) the hardware processing delay incurred in USRP and the propagation delay. In contrast to the testbed with a PCU (see Section 5.3.1), the intermediate nodes incur the software processing delay in the RP3. Unlike PCU, in RPU, every single node (either source, intermediate, or destination node) receives decision on the next-hop node and the transmission channel, which incurs t l n R P 3 (see Figure 8), from the personal computer. The node can also receive such information from the personal computer. Since RP3 has limited processing capability, the software processing delay for the software processes is non-negligible at each node in RPU, causing longer end-to-end delay compared to that in PCU. Based on Equation (2), the end-to-end delay of a route k k K is as follows:
t k k = ( t l n R P 3 + t l n G N U + t l n h )
where the software processing delay is t l s = t l R P 3 + t l G N U for all hops.
The software processing delay for personal computer t l P C and RP3 t i R P 3 are different. There are two types of access rates: (a) the read rate is the speed in which a node reads information and reading is needed during transmission; and (b) the write rate is the speed in which a node writes information and writing is needed during reception. For both read and write, the access time defines their rates. Access time is the average duration for the kernel to access a partition and perform a task, including read and write. In this evaluation, the kernel performs read and write operations from the boot partition of the Linux Ubuntu MATE operating system installed in RP3. The read rate is considered in a source node, both read and write rates are considered in an intermediate node, and the write rate is considered in a destination node. In general, the average read rate is higher than the average write rate. In personal computer, the read and write rates are much higher; specifically the hard disk drive (HDD) of a personal computer has a drives spin of 7200 revolutions per minute (RPM) in our testbed, and the read and write rates are approximately 80 MBps and 50 MBps, respectively. In RP3, the read and write rates are approximately 22.6 MBps and 16.6 MBps, respectively, for the memory card (i.e., the SD card) on RP3. Due to the lower write rate, the packet queue size at intermediate and destination nodes increase with the number of packets. Hence, RP3 has a limited performance. Figure 9 shows the average read and write rates for reading and writing 1000 samples from/to the boot partition of RP3 with an average access time of 0.48 ms. The average read rate hovers between 22 and 23 MBps, and the average write rate varies between 9 and 20 MBps. The average access time refers to the duration of reading a packet from or writing a packet to the boot partition, and it has an average value of 0.56 ms. The significant lower read and write rates of RP3 can contribute to a higher end-to-end delay and lower packet delivery ratio in RPU compared to PCU.
For an intermediate node, it receives and processes (i.e., decodes and demodulates) packets before it writes them in its memory, then it reads them from the memory and processes (i.e., encodes and modulates) the packets for transmission. The intermediate node must write an entire packet before it can read the packet again for transmission, which is a phenomenon called buffering that occurs during initiation. This allows packets to be fully converted (or digitized) before transmission; however, it causes a higher end-to-end delay as the number of hops increases.

6. Experimental Results

This section compares the PCU and RPU performance measures in Section 6.1, and the packet delivery via primary route (i.e., via D2D) and secondary route (i.e., via MC BS) in Section 6.2.

6.1. Performance Comparison between PCU and RPU

Figure 10a presents a logarithmic graph that shows the total delay, as well as the software and hardware processing delays, for a route from the source node to the destination node. For each number of hops, the results are presented using a pair of bars: the left represents PCU, and the right represents RPU. The total delay is higher in RPU, and it increases as the number of hops increases, specifically the total delay increases from 0.024102 s for a single hop to 0.10566 s for five hops in PCU, and from 0.02992 s for a single hop to 0.18924 s for five hops in RPU. Compared to the hardware processing delay, the software processing delay is significantly lower due to the high processing capability of the personal computer in PCU; specifically, the software processing delay is 0.00018 s (or 0.7468 % ) for a single hop, 0.00023 s (or 0.6189 % ) for two hops, 0.00038 s (or 0.6316 % ) for three hops, 0.00057 s (or 0.6958 % ) for four hops, and 0.00079 s (or 0.7476 % ) for five hops. However, the software processing delay is significantly higher than that in PCU (i.e., approximately five times higher); specifically, the software processing delay is 0.00141 s (or 4.7125 % ) for a single hop, 0.00433 s (or 6.252 % ) for two hops, 0.00628 s (or 6.8484 % ) for three hops, 0.00771 s (or 6.5844 % ) for four hops, and 0.01074 s (or 5.675 % ) for five hops. This is because, in RPU, RP3 has a lower processing capability, causing a higher total delay in each hop.
Figure 10b shows that the packet delivery ratio reduces as the number of hops in a route from the source node to the destination node increases because more intermediate nodes are affected by the ambient noise in the operating environment. Specifically, the packet delivery ratio reduces from 99.7 % for a single hop to 94.8 % for five hops in PCU, and it reduces from 97.49 % for a single hop to 88.73 % for five hops in RPU.

6.2. Comparison of Packet Delivery via Primary and Secondary Routes

This section compares the performance of a communication that uses: (a) a multihop primary route (via D2D); and (b) a secondary route (via MC BS). This is because a source node can communicate with a destination node via either a multihop D2D route or going through a BS. Nevertheless, the delay in a multihop D2D route must be less than 10 ms (see Section 4). Figure 11 shows that a packet delivered via a D2D route has a higher end-to-end delay than its counterpart route using MC BS.
This section investigates the end-to-end delay of a primary route when nodes are embedded with RP3, and compares it with that of a secondary route, in which only source and destination nodes are embedded with RP3, and the BS is implemented using a personal computer. In Figure 12, a RP3 source node f c s can communicate with a RP3 destination node f c d via either: (a) Case I which is a direct communication with MC BS M C 1 (i.e., a personal computer), specifically f c s M C 1 f c d in PCU; or (b) Case II which is a two-hop route using D2D communication, specifically f c s f c 1 f c d in RPU, whereby f c 1 is an intermediate node embedded with RP3. The total delay of Cases I and II are 0.039736 s and 0.08666 s, respectively, and so the total delay of Case II is more than twice higher than that in Case I. In RPU, the total software and hardware processing delay of a D2D communication from the source node up to the intermediate node is 0.03384 s; while in PCU, the total software and hardware processing delay from the source node up to the MC BS is 0.01655 s. In RPU, the total software and hardware processing delay from the intermediate node f c 1 to the destination node is 0.05282 s; while in PCU, the total software and hardware processing delay from the MC BS to the destination is 0.02318 s. Hence, Case I has a lower total delay as compared to Case II due to its greater processing capability. Figure 11 shows the total delay, which includes software and hardware processing delays, of a direct communication with MC BS and a multihop D2D route. Figure 13 shows the packet delivery ratio via D2D and MC BS. A source node transmits a packet towards a destination node, the packet goes through intermediate node as the destination node is beyond the transmission range of the transmitter. For this packet transmission, the intermediate node is first selected (i.e., Case I), and then the MC BS is selected (i.e., Case II). From the source node to the intermediate node in Figure 13, the MC BS has a 99.65 % packet delivery ratio, while the node with RP3 has 97.32 % . From the intermediate node to the destination node, MC BS delivers 99.59 % of the packets, while the node with RP3 delivers 96.63 % of the packets. Therefore, in Figure 13 the total packet delivery ratio from a source node to a destination node via MC BS is 99.24 % . However, the packet delivery ratio from the source node to the destination node via RP3 is 93.95 % , which is about 7 % lesser.
In Figure 14, a throughput comparison is made between PCU and RPU. Higher throughput refers indicates a higher successful packets transmission rate [26]. Throughput reduces as the number of hops increases for both PCU and RPU; however, PCU achieves a higher throughput compared to RPU because of higher packet delivery ratio (see Figure 10b).

7. Conclusions and Future Work

This paper presented an experimental study to compare performance measures in a testbed with a single processing unit (PCU) and a testbed with separate processing units (RPU). The testbed consists of nodes implemented using universal software radio peripheral with GNU radio. In PCU, base stations and user equipment, including sensors, connect to a single centralized traditional processing unit (e.g., a personal computer or a laptop) via physical cables and a switch. On the other hand, in RPU, each BS or node is embedded with a separate processing unit, particularly Raspberry Pi3 B+. While PCU is a widely used testbed in the literature, nodes are constrained to be located at close proximity to the centralized processing unit. Meanwhile, RPU has a closer resemblance to a real deployed network, and it has not been investigated in the literature, and so it is the focus of this paper. Our experimental results showed that: (a) the end-to-end delay is lower in PCU as control messages are exchanged via a switch using gigabit Ethernet; and (b) the per-hop and end-to-end delays increase with the number of hops in RPU. However, in RPU, device-to-device communication between nodes from a source node to a destination node can offload traffic from BS, which is one of the promising features of 5G. Therefore, this paper presents a case study in which the intermediate node of a two-hop route can be: (a) a node (via D2D); or (b) a macrocell BS. While the preceding case can reduce the traffic amount at a macrocell BS, it can increase end-to-end delay and reduce packet delivery ratio compared to the latter case due to its lower processing capability.
As for future work, we aim to relax the assumptions made in this article to enable a macrocell base station (MC BS) to receive updates from femtocell base stations and nodes. Examples of such updates are the packet delivery ratio and per-hop delay, which allows MC BS to make decision on route selection based on the updates under unpredictable and dynamic operating environment.

Author Contributions

M.K.C. designed and implemented testbed. K.-L.A.Y. contributed to system model and literature review. R.M.D.N. and R.W. contributed to paper review and formatting. All authors have read and agreed to the published version of the manuscript.

Funding

This work was part of the project entitled “A Novel Clustering Algorithm based on Reinforcement Learning for the Optimization of Global and Local Network Performances in Mobile Networks” funded by the Malaysian Ministry of Education under Fundamental Research Grant Scheme FRGS/1/2019/ICT03/SYUC/01/1, as well as the Partnership Grant CR-UM-SST-DCIS-2018-01 and RK004-2017 between Sunway University and University of Malaya.

Conflicts of Interest

The author declares no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
USRPUniversal software radio partnership
RP3Raspberry Pi3 B+
5GFifth generation
D2DDevice to device
MCMacrocell
FCFemtocell
PCPicocell
CCCentral controller
BCBase station
WBXWide bandwidth transceiver
FPGAField-programmable gate array
RFRadio frequency
ADCAnalogue-to-digital converter
DACDigital-to-analogue converter
DUDDigital up converter
DDCDigital down converter
UHDUSRP hardware driver
SDRSoftware defined radio
PoEPower over Ethernet
MbpsMegabits per second
USPUniversal serial bus
CATCategory
GRCGNU radio companion
IPInternet protocol
UDPUser datagram protocol
GMSKGausian minimum shift keying
SDSecure digital
RAMRandom access memory
RPUSeparate processing unit
PCUSingle processing unit
HDDHard disk drive

References

  1. Ashraf, M.I.; Tamoor-Ul-Hassan, S.; Mumtaz, S.; Tsang, K.F.; Rodriquez, J. Device-to-device assisted mobile cloud framework for 5G networks. In Proceedings of the IEEE International Conference on Industrial Informatics (INDIN), Emden, Germany, 24–26 July 2017; pp. 1020–1023. [Google Scholar] [CrossRef]
  2. Raschellà, A.; Umbert, A. Implementation of Cognitive Radio Networks to evaluate spectrum management strategies in real-time. Comput. Commun. 2016, 79, 37–52. [Google Scholar] [CrossRef]
  3. Okasaka, S.; Weiler, R.J.; Keusgen, W.; Pudeyev, A.; Maltsev, A.; Karls, I.; Sakaguchi, K. Proof-of-concept of a millimeter-wave integrated heterogeneous network for 5G cellular. Sensors 2016, 16, 1362. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Asadi, A.; Member, S.; Wang, Q.; Member, S.; Mancuso, V. A Survey on Device-to-Device Communication in Cellular Networks. IEEE Commun. Surv. Tutor. 2014, 16, 1801–1819. [Google Scholar] [CrossRef] [Green Version]
  5. Aly, A.A.; ELAttar, H.M.; ElBadawy, H.; Abbas, W. Aggregated Throughput Prediction for Collated Massive Machine-Type Communications in 5G Wireless Networks. Sensors 2019, 19, 3651. [Google Scholar] [CrossRef] [Green Version]
  6. Chang, B.; Zhao, G.; Imran, M.A.; Chen, Z.; Li, L. Dynamic Wireless QoS Analysis for Real-Time Control in URLLC. In Proceedings of the 2018 IEEE Globecom Workshops, GC Wkshps 2018—Proceedings, Abu Dhabi, UAE, 9–13 December 2018; pp. 1–5. [Google Scholar] [CrossRef] [Green Version]
  7. Zhang, H.; Liao, Y.; Song, L. D2D-U: Device-to-Device Communications in Unlicensed Bands for 5G System. IEEE Trans. Wirel. Commun. 2017, 16, 3507–3519. Available online: http://xxx.lanl.gov/abs/1610.04982 (accessed on 1 August 2019). [CrossRef]
  8. Yau, K.l.A.; Qadir, J.; Wu, C.; Imran, M.A.L.I.; Ling, M.E.E.H. Cognition-inspired 5G cellular networks: A review and the road ahead. IEEE Access 2018, 6, 35072–35090. [Google Scholar] [CrossRef]
  9. Ge, X.; Tu, S.; Mao, G.; Wang, C.X.; Han, T. 5G Ultra-Dense Cellular Networks. IEEE Wirel. Commun. 2016, 23, 72–79. Available online: http://xxx.lanl.gov/abs/1512.03143 (accessed on 22 December 2018). [CrossRef] [Green Version]
  10. Agiwal, M.; Roy, A.; Saxena, N. Next generation 5G wireless networks: A comprehensive survey. IEEE Commun. Surv. Tutor. 2016, 18, 1617–1655. [Google Scholar] [CrossRef]
  11. Kim, J.; Molisch, A.F. Quality-aware millimeter-wave device-to-device multi-hop routing for 5G cellular networks. In Proceedings of the 2014 IEEE International Conference on Communications, ICC 2014, Sydney, Australia, 10–14 June 2014; pp. 5251–5256. [Google Scholar] [CrossRef]
  12. He, J.; Song, W. Evolving to 5G: A Fast and Near-optimal Request Routing Protocol for Mobile Core Networks. IEEE Wirel. Netw. 2014, 4586–4591. [Google Scholar] [CrossRef]
  13. Tran, T.X.; Hajisami, A.; Pompili, D. ULTRA-DENSE HETEROGENEOUS SMALL CELL DEPLOYMENT IN 5G AND BEYOND Cooperative Hierarchical Caching in 5G Cloud Radio Access Networks. IEEE Netw. 2017, 31, 35–41. [Google Scholar] [CrossRef]
  14. Chávez-Santiago, R.; Szydełko, M.; Kliks, A.; Foukalas, F.; Haddad, Y.; Nolan, K.E.; Kelly, M.Y.; Masonta, M.T.; Balasingham, I. 5G: The Convergence of Wireless Communications. Wirel. Pers. Commun. 2015, 83, 1617–1642. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Mahmood, A.M.; Al-yasiri, A.; Alani, O.Y. Cognitive Neural Network Delay Predictor for High Speed Mobility in 5G C-RAN Cellular Networks. In Proceedings of the 2018 IEEE 5G World Forum (5GWF), Silicon Valley, CA, USA, 9–11 July 2018; pp. 93–98. [Google Scholar] [CrossRef]
  16. Abd, S.A.; Manjunath, S.; Abdulhayan, S. Direct Device-to-Device Communication in 5G Networks. In Proceedings of the 2016 International Conference on Computation System and Information Technology for Sustainable Solutions (CSITSS), Bangalore, India, 6–8 October 2016; pp. 216–219. [Google Scholar] [CrossRef]
  17. Wassie, D.A.; Berardinelli, G.; Tavares, F.M.L. Experimental Verification of Interference Mitigation techniques for 5G Small Cells. In Proceedings of the 2015 IEEE 81st Vehicular Technology Conference (VTC Spring), Glasgow, UK, 11–14 May 2015; pp. 1–5. [Google Scholar] [CrossRef]
  18. Quaresma, J.; Ribeiro, C.; Gameiro, A.; Zelenak, M.; Duplicy, J. Distributed RF sensing framework with radio environment emulation. In Proceedings of the 2013 IEEE 14th International Symposium on a World of Wireless, Mobile and Multimedia Networks, WoWMoM 2013, Madrid, Spain, 4–7 June 2013; pp. 1–6. [Google Scholar] [CrossRef]
  19. Jain, A.; Sharma, V.; Amrutur, B. Soft real time implementation of a Cognitive Radio testbed for frequency hopping primary satisfying QoS requirements. In Proceedings of the 2014 20th National Conference on Communications, NCC 2014, Kanpur, Uttar Pradesh, India, 28 February–2 March 2014; pp. 1–6. [Google Scholar] [CrossRef]
  20. Barrak, S.E.; Lyhyaoui, A.; Puliafito, A.; Serrano, S. Implementation of a low cost SDR-based Spectrum Sensing Prototype using USRP and Raspberry Pi board. Int. Conf. Autom. Control Eng. Comput. Sci. (ACECS) 2017, 20, 54–58. [Google Scholar]
  21. Briand, A.; Albert, B.B.; Gurjao, E.C. Complete software defined RFID system using GNU radio. In Proceedings of the 2012 IEEE International Conference on RFID-Technologies and Applications, RFID-TA 2012, Nice, France, 5–7 November 2012; pp. 287–291. [Google Scholar] [CrossRef]
  22. Öhlén, P.; Skubic, B.; Rostami, A.; Ghebretensaé, Z.; Mårtensson, J.; Fiorani, M.; Monti, P.; Wosinska, L. Data Plane and Control Architectures for 5G Transport Networks. J. Light. Technol. 2016, 34, 1501–1508. [Google Scholar] [CrossRef]
  23. Maksymyuk, T.; Gazda, J.; Yaremko, O.; Nevinskiy, D. Deep Learning Based Massive MIMO Beamforming for 5G Mobile Network. In Proceedings of the 2018 IEEE 4th International Symposium on Wireless Systems within the International Conferences on Intelligent Data Acquisition and Advanced Computing Systems (IDAACS-SWS), Lviv, Ukraine, 20–21 September 2018; pp. 241–244. [Google Scholar] [CrossRef]
  24. Ettus, M.; Braun, M. The universal software radio peripheral (usrp) family of low-cost sdrs. In Opportunistic Spectrum Sharing and White Space Access: The Practical Reality; Wiley Telecom: Hoboken, NJ, USA, 2015; pp. 3–23. [Google Scholar]
  25. Ali, S.A.; Umrani, F.A.; Umrani, N.A. Performance Evaluation Of Decode and Forward Cooperative Communication Protocol. Int. J. Inf. Technol. Electr. Eng. 2012, 1, 321–325. [Google Scholar]
  26. Syed, A.; Yau, K.L.; Qadir, J.; Mohamad, H.; Ramli, N.; Keoh, S. Route selection for multi-hop cognitive radio networks using reinforcement learning: An experimental study. IEEE Access 2016, 4, 6304–6324. [Google Scholar] [CrossRef]
  27. Truong, N.B.; Suh, Y.J.; Yu, C. Latency analysis in GNU radio/USRP-based software radio platforms. In Proceedings of the IEEE Military Communications Conference MILCOM, San Diego, CA, USA, 18–20 November 2013; pp. 305–310. [Google Scholar] [CrossRef]
  28. Van den Bergh, B.; Vermeulen, T.; Verhelst, M.; Pollin, S. CLAWS: Cross-Layer Adaptable Wireless System enabling full cross-layer experimentation on real-time software-defined 802.15. 4. EURASIP J. Wirel. Commun. Netw. 2014, 1–13. [Google Scholar] [CrossRef] [Green Version]
  29. Khandakar, A.; Mohamed, A.M.S. Understanding probabilistic cognitive relaying communication with experimental implementation and performance analysis. Sensors 2019, 19, 179. [Google Scholar] [CrossRef] [Green Version]
  30. Nychis, G.; Hottelier, T.; Yang, Z.; Seshan, S.; Steenkiste, P. Enabling MAC Protocol Implementations on Software-Defined Radios. Netw. Syst. Des. Implement. 2009, 9, 91–105. [Google Scholar]
  31. Chen, W.T.; Chang, K.T.; Ko, C.P. Spectrum monitoring for wireless TV and FM broadcast using software-defined radio. Multimed. Tools Appl. 2016, 75, 9819–9836. [Google Scholar] [CrossRef]
  32. Byun, S.S. TCP over scarce transmission opportunity in cognitive radio networks. Comput. Netw. 2016, 103, 101–114. [Google Scholar] [CrossRef]
  33. Gameiro, A.; Ribeiro, C.; Quaresma, J. Selective reporting—A half signalling load algorithm for distributed sensing. Eurasip J. Wirel. Commun. Netw. 2013, 2013, 1–14. [Google Scholar] [CrossRef] [Green Version]
  34. Marko, H.; Korpi, J.; Hiivala, M. Predictive Channel Selection for over-the-Air Video Transmission Using Software-Defined Radio Platforms. In International Conference on Cognitive Radio Oriented Wireless Networks; Springer: Cham, Switzerland, 2016; Volume 172, pp. 569–579. [Google Scholar] [CrossRef]
  35. Berardinelli, G.; Buthler, J.L.; Tavares, F.M.L.; Tonelli, O.; Wassie, D.A.; Hakhamaneshi, F.; Sørensen, T.B.; Mogensen, P. Distributed Synchronization of a testbed network with USRP N200 radio boards. In Proceedings of the IEEE International Conference on Communications, Pacific Grove, CA, USA, 2–5 November 2014; pp. 563–567. [Google Scholar] [CrossRef]
  36. Nagaraju, P.B.; Ding, L.; Melodia, T.; Batalama, S.N.; Pados, D.A.; Matyjas, J.D. Implementation of a Distributed Joint Routing and Dynamic Spectrum Allocation Algorithm on USRP2 Radios. In Proceedings of the IEEE International Conference on Communications, Boston, MA, USA, 21–25 June 2010; pp. 26–27. [Google Scholar] [CrossRef]
  37. Chang, B.; Zhao, G.; Chen, Z.; Li, L.; Imran, M.A. Packet-Drop Design in URLLC for Real-Time Wireless Control Systems. IEEE Access 2019. [Google Scholar] [CrossRef]
  38. Martínez-quintero, J.C.; Estupiñán-cuesta, E.P.; Rodríguez-ortega, V.D. Raspberry PI 3 RF signal generation system. Visión Electrónica 2019, 13, 2. [Google Scholar]
  39. Zhang, N.; Sun, W.; Lou, W.; Hou, Y.T.; Trappe, W. ROSTER: Radio context attestation in cognitive radio network. In Proceedings of the 2018 IEEE Conference on Communications and Network Security, CNS 2018, Beijing, China, 30 May–1 June 2018; pp. 1–9. [Google Scholar] [CrossRef]
  40. Tomar, V.S.; Bhatia, V. Low Cost and Power Software Defined Radio Using Raspberry Pi for Disaster Effected Regions. Procedia Comput. Sci. 2015, 58, 401–407. [Google Scholar] [CrossRef] [Green Version]
  41. Al-safi, A.; Narasimhan, L.; Bazuin, B. Software Defined Community Radio Using Low Cost Hardware and Free Software. In Proceedings of the Universal Technology Management Conference (UTMC), Bemidji, MN, USA, 26–28 May 2016; pp. 51–55. [Google Scholar]
  42. Shi, Y.; Wensowitch, J.; Ward, A.; Badi, M.; Camp, J. Building UAV-Based Testbeds for Autonomous Mobility and Beamforming Experimentation. In Proceedings of the 2018 IEEE International Conference on Sensing, Communication and Networking, SECON Workshops 2018, Hong Kong, China, 11–13 June 2018; pp. 1–5. [Google Scholar] [CrossRef]
  43. Park, H.J.; Lee, G.M.; Shin, S.H.; Roh, B.H.; Oh, J.M. Implementation of Multi-Hop Cognitive Radio Testbed using Raspberry Pi and USRP. Int. J. Interdiscip. Telecommun. Netw. 2017, 9, 37–48. [Google Scholar] [CrossRef] [Green Version]
  44. Habib, M.A.; Moh, S. Robust Evolutionary-Game-Based Routing for Wireless Multimedia Sensor Networks. Sensors 2019, 19, 3544. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  45. Shariatmadari, H.; Iraji, S.; Anjum, O.; Riku, J.; Li, Z.; Wijting, C. Delay Analysis of Network Architectures for Machine-to-Machine Communications in LTE System. In Proceedings of the 21st International Conference on Telecommunications (ICT)—Workshop on M2M Solutions and Services, Lisbon, Portugal, 4–7 May 2014; pp. 502–506. [Google Scholar] [CrossRef] [Green Version]
  46. Homaei, M.H.; Salwana, E.; Shamshirband, S. An Enhanced Distributed Data Aggregation Method in the Internet of Things. Sensors 2019, 19, 3173. [Google Scholar] [CrossRef] [Green Version]
  47. Jin, Z.; Ma, Y.; Su, Y.; Li, S.; Fu, X. A Q-learning-based delay-aware routing algorithm to extend the lifetime of underwater sensor networks. Sensors 2017, 17, 1660. [Google Scholar] [CrossRef] [Green Version]
  48. Zhang, W.; Wang, C.X.; Ge, X.; Chen, Y. Enhanced 5G Cognitive Radio Networks Based on Spectrum Sharing and Spectrum Aggregation. IEEE Trans. Commun. 2018, PP, 492–496. [Google Scholar] [CrossRef] [Green Version]
  49. Orebaugh, A.; Ramirez, G.; Beale, J. Wireshark & Ethereal Network Protocol Analyzer Toolkit; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
Figure 1. A 5G network that consists of a single MC BS and a number of FC BSs.
Figure 1. A 5G network that consists of a single MC BS and a number of FC BSs.
Sensors 20 00018 g001
Figure 2. Transmit and receive paths between an antenna and a RP3 via a USRP/GNU radio unit. Solid arrow line is part of a receive path, and dotted arrow line is part of a transmit path.
Figure 2. Transmit and receive paths between an antenna and a RP3 via a USRP/GNU radio unit. Solid arrow line is part of a receive path, and dotted arrow line is part of a transmit path.
Sensors 20 00018 g002
Figure 3. GNU radio flow graph that consists of source, intermediate and destination nodes.
Figure 3. GNU radio flow graph that consists of source, intermediate and destination nodes.
Sensors 20 00018 g003
Figure 4. Two scenarios in experimental setup.
Figure 4. Two scenarios in experimental setup.
Sensors 20 00018 g004
Figure 5. Conditions for selecting a primary route (via D2D).
Figure 5. Conditions for selecting a primary route (via D2D).
Sensors 20 00018 g005
Figure 6. D2D link delay for a single-hop transmission over a link l n . The processing unit can be either a personal computer or a RP3.
Figure 6. D2D link delay for a single-hop transmission over a link l n . The processing unit can be either a personal computer or a RP3.
Sensors 20 00018 g006
Figure 7. An experimental setup for a D2D route with five hops using RP3 in the RPU testbed, which is equivalent to Figure 4b.
Figure 7. An experimental setup for a D2D route with five hops using RP3 in the RPU testbed, which is equivalent to Figure 4b.
Sensors 20 00018 g007
Figure 8. The end-to-end delay of a route in the two testbeds. The delays are shown in same sized blocks although the time period of each block may be different.
Figure 8. The end-to-end delay of a route in the two testbeds. The delays are shown in same sized blocks although the time period of each block may be different.
Sensors 20 00018 g008
Figure 9. Comparison between read and write performance of SD card on RP3.
Figure 9. Comparison between read and write performance of SD card on RP3.
Sensors 20 00018 g009
Figure 10. End-to-end delay and packet delivery ratio for PCU and RPU. (a) Comparison of software and hardware processing delays between PCU and RPU. (b) Comparison of packet delivery ratio between PCU and RPU.
Figure 10. End-to-end delay and packet delivery ratio for PCU and RPU. (a) Comparison of software and hardware processing delays between PCU and RPU. (b) Comparison of packet delivery ratio between PCU and RPU.
Sensors 20 00018 g010
Figure 11. Comparison of software and hardware processing delays between Case I and Case II. In Case I, a two-hop communication is performed via MC BS in PCU. In Case II, a two-hop communication is performed via D2D in RPU.
Figure 11. Comparison of software and hardware processing delays between Case I and Case II. In Case I, a two-hop communication is performed via MC BS in PCU. In Case II, a two-hop communication is performed via D2D in RPU.
Sensors 20 00018 g011
Figure 12. A D2D route from a FC source node f c s to a FC destination node f c d .
Figure 12. A D2D route from a FC source node f c s to a FC destination node f c d .
Sensors 20 00018 g012
Figure 13. Comparison of the two-hop packet delivery via D2D and MC BS.
Figure 13. Comparison of the two-hop packet delivery via D2D and MC BS.
Sensors 20 00018 g013
Figure 14. Throughput comparison between RPU and PCU.
Figure 14. Throughput comparison between RPU and PCU.
Sensors 20 00018 g014
Table 1. Experimental parameters.
Table 1. Experimental parameters.
CategoryParameterPCURPU
ExperimentDuration300 s300 s
USRPNumber of channels66
Transport layerUDPUDP
Bandwidth1.6 Mbps1.6 Mbps
Transmission power10 dBm10 dBm
AntennaCarrier frequency850 MHz850 MHz
ComputerOperating systemUbuntu-
SwitchNumber of units1-
Number of inputs6-
RP3Operating system-Ubuntu-Mate
PoENumber of units-5
Number of inputs-1

Share and Cite

MDPI and ACS Style

Chamran, M.K.; Yau, K.-L.A.; Noor, R.M.D.; Wong, R. A Distributed Testbed for 5G Scenarios: An Experimental Study. Sensors 2020, 20, 18. https://doi.org/10.3390/s20010018

AMA Style

Chamran MK, Yau K-LA, Noor RMD, Wong R. A Distributed Testbed for 5G Scenarios: An Experimental Study. Sensors. 2020; 20(1):18. https://doi.org/10.3390/s20010018

Chicago/Turabian Style

Chamran, Mohammad Kazem, Kok-Lim Alvin Yau, Rafidah M. D. Noor, and Richard Wong. 2020. "A Distributed Testbed for 5G Scenarios: An Experimental Study" Sensors 20, no. 1: 18. https://doi.org/10.3390/s20010018

APA Style

Chamran, M. K., Yau, K. -L. A., Noor, R. M. D., & Wong, R. (2020). A Distributed Testbed for 5G Scenarios: An Experimental Study. Sensors, 20(1), 18. https://doi.org/10.3390/s20010018

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop