scieee AI-readable full text Open interactive document viewer

Cognitive management frameworks and spectrum management strategies exploiting cognitive radio paradigm

Raschellà, Alessandro

Abstract

Cognitive Radio (CR) paradigm represents an innovative solution to mitigate the spectrum scarcity problem by enabling Dynamic Spectrum Access (DSA), defined in order to conciliate the existing conflicts between the ever-increasing spectrum demand growth and the currently inefficient spectrum utilization. The basic idea of DSA is to provide proper solutions that allow sharing radio spectrum among several radio communication systems with sake of optimizing the overall spectrum utilization. This dissertation addressed the problem of modelling cognitive management frameworks that provide innovative strategies for spectrum management suitable to different scenarios and use cases in the context of DSA/CR Networks (CRNs). The first solution presented in this dissertation initially addressed the development of a framework that provides spectrum management strategies for Opportunistic Networks (ONs) defined as extended infrastructures created temporarily to serve specific regions following the policies dictated by the operator. The development of systems based on the CR paradigm to support the ONs is considered a key aspect to allow autonomous decisions and reconfiguration ability mechanisms because of the temporarily nature of these networks and the highly dynamic nature of the radio environment. Then, in order to expand the design of cognitive management frameworks providing spectrum management solutions that have applicability in a number of different scenarios and use cases, a cognitive management framework that exploits the Partially Observable Markov Decision Process (POMDP) concept has been proposed to combine the CR capabilities of radio environment awareness with a statistical characterization of the system dynamic. Finally, the framework based on POMDPs has been further extended with new functionalities able to characterize the environment dynamic through long-term predictions carried out exploiting the so-called belief vector. These frameworks as a whole aimed at demonstrating that a reliable characterization of the radio environment that combines awareness of its surrounding with a statistical evaluation of the system dynamics is able to guarantee an effcient utilization of the available spectrum resources. From a methodological point of view, the development and assessment of the proposed cognitive management frameworks and the corresponding spectrum management solutions involved analytical studies, system-level simulations and a real-time platform implementation. Overall, the research conducted in the context of this dissertation has revealed that proper cognitive management functionalities can be extremely beneficial to support spectrum management in a wide variety of scenarios and use cases.

Full text

COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES EXPLOITING COGNITIVE RADIO PARADIGM By Alessandro Raschellà A Thesis Submitted to the Department of Signal Theory and Communications of the Universitat Politècnica de Catalunya in Partial Fulfillment of the Requirements for the Degree of DOCTOR OF PHILOSOPHY Barcelona, May 2015 Thesis Advisors: Prof. Oriol Sallent and Dra. Anna Umbert Mobile Communication Research Group (GRCM) Department of Signal Theory and Communications (TSC) Universitat Politècnica de Catalunya (UPC) To my beloved parents for their unconditional love and support. Ai miei cari genitori per il loro affetto e supporto incondizionato. Abstract Cognitive Radio (CR) paradigm represents an innovative solution to mitigate the spectrum scarcity problem by enabling Dynamic Spectrum Access (DSA), defined in order to conciliate the existing conflicts between the ever-increasing spectrum demand growth and the currently inefficient spectrum utilization. The basic idea of DSA is to provide proper solutions that allow sharing radio spectrum among several radio communication systems with sake of optimizing the overall spectrum utilization. This dissertation addresses the problem of modelling cognitive management frameworks that provide innovative strategies for spectrum management suitable to different scenarios and use cases in the context of DSA/CR Networks (CRNs). The first solution presented in this dissertation initially addresses the development of a framework that provides spectrum management strategies for Opportunistic Networks (ONs) defined as extended infrastructures created temporarily to serve specific regions following the policies dictated by the operator. The development of systems based on the CR paradigm to support the ONs is considered a key aspect to allow autonomous decisions and reconfiguration ability mechanisms because of the temporarily nature of these networks and the highly dynamic nature of the radio environment. Then, in order to expand the design of cognitive management frameworks providing spectrum management solutions that have applicability in a number of different scenarios and use cases, a cognitive management framework that exploits the Partially Observable Markov Decision Process (POMDP) concept is proposed to combine the CR capabilities of radio environment awareness with a statistical characterization of the system dynamic. Finally, the framework based on POMDPs is further extended with new functionalities able to characterize the environment dynamic through long-term predictions carried out exploiting the socalled belief vector. These frameworks as a whole aim at demonstrating that a reliable characterization of the radio environment that combines awareness of its surrounding with a statistical evaluation of the system dynamics is able to guarantee an efficient utilization of the available spectrum resources. From a methodological point of view, the development and assessment of the proposed cognitive management frameworks and the corresponding spectrum management solutions involve analytical studies, system-level simulations and a real-time platform implementation. Acknowledgments I would like to express my gratitude to all the people who were with me and gave me their support during this important stage of my life. First of all, I want to thank my advisors Prof. Oriol Sallent and Dra. Anna Umbert for their guidance, suggestions and support whenever needed. They have indubitably contributed to improve the quality of my research work and to get all the performed achievements. I would also like to thank Dr. Jordi Pérez-Romero for his valuable and helpful assistance, the rest of the members of the Mobile Communication Research Group (GRCM) and all my colleagues that I met, for the nice times we shared over these years. I could not forget to thank here Dr. Giuseppe Araniti, from University Mediterranea of Reggio Calabria, Italy, who introduced me to the fascinating world of research during my undergraduate studies. I learnt from his motivation and enthusiasm for research, essential for the objectives I achieved. I am deeply thankful to my parents, my five brothers and sisters, my brothers and sisters in law and to all my nieces and nephews for always being there for me, supporting me despite the distance that separated us. Their unconditional love and support has been a constant source of strength and motivation to always continue on. I am also grateful to all my friends from my home town, my school, the University where I studied and those I met during these unforgivable years in Barcelona. All of them have encouraged me in some small way. Last but not least, I would like to thank my beloved wife, who has always supported, encouraged and stood by me throughout these years. She made me laugh in the tough times, she celebrated my achievements with me, she made me feel capable to solve any problem whenever I needed and she always helped me to explain to realtives and friends the main topics of my research work. Contents List of Figures ...................................................................................................................... ........ xiii List of Tables ....................................................................................................................... ....... xvii Acronyms ............................................................................................................................. ........ xix 1 Introduction 1.1 Background ........................................................................................................................................ 1 1.2 Motivations, Objectives and Contributions ........................................................................................ 4 1.2.1 List of Publications ...................................................................................................................... 7 1.2.2 Relation to Research Projects ...................................................................................................... 8 1.3 Thesis Outline .................................................................................................................................... 8 2 Cognitive Radio and Opportunistic Networks 2.1 Introduction ...................................................................................................................................... 11 2.2 Cognitive Radio Paradigm ............................................................................................................... 11 2.3 Dynamic Spectrum Access to exploit Cognitive Radio Paradigm ................................................... 13 2.3.1 Dynamic Spectrum Access Models ........................................................................................... 14 2.3.2 Cognitive Radio as an enabler of Dynamic Spectrum Access .................................................. 15 2.3.3 DSA/CR Networks Architecture ............................................................................................... 17 2.3.4 Standardization Activity ............................................................................................................ 20 2.4 Opportunistic Networks ................................................................................................................... 22 2.4.1 Basic Concepts and State of the Art .......................................................................................... 22 2.4.2 Opportunistic Network Scenarios .............................................................................................. 23 2.4.3 Opportunistic Network Life Cycle ............................................................................................ 25 2.5 Summary .......................................................................................................................................... 29 3 Proposed Cognitive Management Frameworks and Spectrum Management LIST OF TABLES xvii List of Tables Table 4.1: Characteristics of the Links ........................................................................................ 67 Table 4.2: Bit Rates and Reward Values of the Links in the Spectrum Blocks .......................... 68 Table 4.3: Durations of the Interference States for the different Spectrum Blocks .................... 70 Table 4.4: Durations of the Interference States for the different Spectrum Blocks .................... 73 Table 4.5: Durations of the Interference States for the different Spectrum Blocks in case of high predictably ................................................................................................................................... 77 Table 5.1: Spectrum blocks obtained through spectrum opportunity identification .................. 90 Table 5.2: Result of the spectrum opportunity identification strategy ........................................ 92 Table 5.3: Activity patterns of the external interference and the ON link .................................. 93 Table 5.4 : Spectrum Handover rate for the random selection .................................................... 95 Table 5.5: Spectrum opportunity identification result ............................................................... 100 Table 5.6: Experiment Assumptions ......................................................................................... 100 Table 5.7: Characterization of the interference states ............................................................... 104 Table 5.8: Characterization of the Scenarios ............................................................................. 105 Table 5.9: Performance Results in terms of reward, throughput and observation rate .............. 109 Table 5.10: Characterization of the interference states ............................................................. 112 ACRONYMS xix Acronyms 3GPP 3rd Generation Partnership Project ADC Analog to Digital Converter AP Access Point ARQ Automatic Repeat reQuest BCMF Base-line Cognitive Management Framework BS Base Station BST Base Station Transceiver C4MS Control Channel for the Cooperation of the Cognitive Management System CA Context Awareness CCM Configuration Control Module CDF Cumulative Distribution Function CDMA Code Division Multiple Access CMON Cognitive systems for Managing the Opportunistic Network CR Cognitive Radio CRC Cyclic Redundancy Check CRN Cognitive Radio Network CSCI Cognitive management Systems for Coordinating the Infrastructure CSI Channel State Information D2D Device-To-Device DAC Digital to Analog Converter xx ACRONYMS DBPSK Differential Binary Phase Shift Keying DFS Dynamic Frequency Selection DH Digital Home DSA Dynamic Spectrum Access DSM Dynamic Spectrum Management DSONPM Dynamic, Self-Organising Network Planning and Management DSP Digital Signal Processor ECMF Evolved Cognitive Management Framework ETSI European Telecommunications Standards Institute FA Functional Architecture FCMF Final Cognitive Management Framework FFT Fast Fourier Transform FI Future Internet FPGA Field-Programmable Gate Array GMSK Gaussian Minimum Shift Keying GRC GNU Radio Companion GSM Global System for Mobile Communications ICIC Inter-Cell Interference Coordination IEEE Institute of Electrical and Electronics Engineers IMT International Mobile Telecommunications ISM Industrial, Scientific and Medical ITU International Telecommunication Union JRRM Joint Radio Resources Management KD Knowledge Database KM Knowledge Manager LBT Listen Before Talk LTE Long-Term Evolution MIH Media-Independent Handover MSC Message Sequence Chart ACRONYMS xxi ON Opportunistic Network OSA Opportunistic Spectrum Access OSDM Observation Strategy Decision Making POMDP Partially Observable Markov Decision Process QoE Quality of Experience QoS Quality of Service RAN Radio Access Network RAT Radio Access Technology RF Radio Frequency RRS Reconfigurable Radio System SCC Standards Coordinating Committee SDR Software Defined Radio SOI Spectrum Opportunity Index SpHO Spectrum HandOver SSDM Spectrum Selection Decision Making SWIG Simplified Wrapper and Interface Generator TBS Television Broadcast Service TPC Transmit Power Control UE User Equipment UHF Ultra High Frequency UMTS Universal Mobile Telecommunications System USRP Universal Software Radio Peripheral UWB Ultra Wide Band WiMAX Worldwide Interoperability for Microwave Access WIR Wireless Innovation Forum WLAN Wireless Local Area Network WRAN Wireless Regional Area Network WS White Space WSD White Space Device Chapter 1 Introduction 1.1 Background The licensed static spectrum allocation policy, in use since the early days of radio communications, has been proven to effectively control interference among the radio communication systems. However, the overwhelming proliferation of new operators, innovative services and wireless technologies during the last years has resulted, under this static regulatory regime, in the exhaustion of spectrum bands with commercially attractive radio propagation characteristics. The vast majority of spectrum regarded as usable has already been assigned, then hindering commercial rollout of new emerging services. This situation produced the common belief about depletion of usable radio frequencies that was certainly strengthened by the overly crowded frequency allocation charts of many countries. Notwithstanding, some preliminary field measurements of spectrum usage revealed that most of the allocated spectrum was vastly underutilized [1], with temporal and geographical variations in the use of the assigned spectrum ranging from 15% to 85% [2]. More recent spectrum measurement campaigns carried out all over the world have confirmed the underutilization of the spectrum, then indicating that the spectrum scarcity problem actually results from the static and inflexible spectrum management policies rather than the physical depletion of usable radio frequencies. For instance, in [3] authors illustrate a spectral occupancy measurement campaign conducted in the frequency range between 806 MHz and 2750 MHz in urban Auckland, New Zealand. While in [4] a detailed analysis from 20 MHz to 3 GHz spectrum band and at different locations in Guangdong (province of China) has been performed. Several spectrum measurement campaigns covering wide frequency ranges have been carried out in USA [5]-[9] in different locations and scenarios in order to determine the degree to which allocated spectrum bands are used in real wireless communication systems. Moreover, in [10] authors provide an extensive measurement campaign conducted in Germany, comparing indoor and outdoor measurement results also in the band from 20 MHz to 3 GHz. 2 1. INTRODUCTION All these studies have confirmed that the static spectrum allocation policy was once appropriate and then, this outdated scheme has become obsolete. Therefore, new spectrum management paradigms are required for a more efficient exploitation of the precious radio resources. This situation has motivated the emergence of flexible spectrum access policies aimed at overcoming the drawbacks and shortcomings of the currently inefficient static allocation policies. In this context, the so-called Cognitive Radio (CR) represents an innovative way to detect and use the precious wireless spectrum resources. CR was originally defined as a context-aware intelligent radio capable of autonomous reconfiguration by learning from and adapting to the surrounding [11]. In particular, it interacts with the environment following the cognition cycle defined in [11] that allows CRs continually observing their Radio Frequency (RF) environment, orienting themselves, creating a plan, deciding and then acting. In addition, learning may be pursued in the background. CR paradigm is considered a key solution to mitigate the spectrum scarcity problem by enabling Dynamic Spectrum Access (DSA), defined in order to conciliate the existing conflicts between the everincreasing spectrum demand growth and the currently inefficient spectrum utilization [12]. DSA stands for the opposite of the static spectrum management policy and covers any innovative solution meant to share spectrum among several radio systems with sake of increasing the overall spectrum utilization. The basic idea of the DSA is to allow the so-called secondary users accessing in an opportunistic and noninterfering way some licensed bands temporarily unoccupied by the licensed (or primary) users. Secondary terminals monitor the spectrum in order to identify time and frequency gaps left unused by primary users, perform transmissions and vacate the channel as soon as primary users return. Secondary transmissions are allowed following this operating principle as long as they do not result in harmful interference to primary radios. The temporarily unused portions of spectrum are called spectrum White Spaces (WSs) that may exist in time, frequency, and space domains. The basic concept of the CR paradigm introduced in [11] has been reconsidered in the literature by many subsequent papers, each trying to redefine it in particular scenarios. In the specific DSA context, the following definition given in [12] is the most cited one: “Cognitive radio is an intelligent wireless communication system that is aware of its surrounding environment (i.e., outside world), and uses the methodology of understanding-by-building to learn from the environment and adapt its internal states to statistical variations in the incoming RF stimuli by making corresponding changes in certain operating parameters (e.g., transmit-power, carrier-frequency and modulation strategy) in real-time, with two primary objectives in mind: highly reliable communications whenever and wherever needed; efficient utilization of the radio spectrum.” According to this definition, the tasks of the CR cycle should be characterized in the context of DSA in order to enable the following capabilities [12]: • Radio-scene analysis, which consists in estimating interference conditions of the radio environment and identifying the set of available spectrum holes or WSs. 1.1 BACKGROUND 3 • Channel identification, which consists in estimating the Channel State Information (CSI) and predicting the channel capacity. • Transmit-power control and Spectrum management, which adjusts transmission parameters based on a feedback received from previous tasks. A detailed description of the cognitive cycle and its characterization to the DSA context will be given in Chapter 2. With the advent of the CR paradigm as a key enabler of DSA, many papers proclaimed the need of Cognitive Radio Networks (CRNs), which allow a wireless communication system based on the cognitive cycle to observe the environment, act, and learn in order to optimize its performance. For instance, in [14] a CRN is defined as a wireless network with the capabilities of radio environment awareness, autonomous decision making, adaptive reconfiguration of its infrastructure and intelligent learning from experience of a continuously changing environment to solve the challenges of efficient spectrum management and high quality end-to-end performance. Hence, a CRN needs the ability to be aware of certain information, such as the available spectrum, the operation mode of the wireless network, the transmitted waveform, the network protocol, the geographical information, the type of services, the user needs and the security policy. Furthermore, a CRN must analyse the achieved information and make the decision to optimize the end-to-end performance of the wireless network. Based on the optimized decision, a CRN must finally reconfigure its network parameters when necessary. Moreover, CRNs deal with challenges in terms of coexistence with primary users and different Quality of Service (QoS) requirements associated with the various cognitive communications. According to [15], in a network that guarantees the cognitive capabilities the following issues have to be considered: • Interference avoidance: to operate while controlling the amount of interference perceived by primary networks. • QoS awareness: to enable QoS-aware communications in dynamic and heterogeneous spectrum environments. • Seamless communication: to provide seamless communications regardless of the activity of primary users. Several papers have illustrated the expected benefits of developing cognitive management functional architectures, which support CRNs to exploit the mentioned cognitive radio capabilities for efficient spectrum management and high quality end-to-end performance [14], [16], [17]. These studies have motivated the development of advanced cognitive management tools in many specific scenarios and presented in several papers. For instance, in [17] a cognitive management framework is illustrated to carry out an autonomous optimization of resource usage in next-generation home networks. The proposed 10 1. INTRODUCTION Chapter 4 provides all the details of the design and the implementation of the off-line simulator envisaged to assess the frameworks based on the cognitive cycle. In particular, firstly the details of the scenario developed in the simulator for the implementation of the proposed frameworks and for the evaluation of the corresponding spectrum management strategies are given. Then, the performance results of these solutions provided, respectively, by the ECMF and the FCMF are widely illustrated in the rest of the chapter. Chapter 5 gives a comprehensive description of the testbed, providing details of hardware, software and its capabilities. In details, in the second section of the chapter the implementation of the individual node that will compose both versions of the testbed, the baseline version and the extended one, is presented. While in the third section of the chapter the design of the baseline testbed architecture for the implementation of the BCMF together with the spectrum management strategies provided for ONs, and the corresponding emulation results are widely analysed. An example of how the baseline testbed works in an ON in case of real-time scenario characterized by interference variations with the help of some screenshots is provided in Appendix B. Finally, in the fourth section of the chapter the extended testbed architecture for the implementation of the FCMF together with the spectrum management strategies based on the belief vector concept, and the corresponding emulation results are illustrated. The strategy implemented in the extended testbed that enables to compute and to store the statistical information of the radio environment is explained in Appendix C. Moreover, in the fourth section of the chapter an example that demonstrates the practicability of the belief-based approach for a realistic entertainment application in a Digital Home (DH) scenario is provided. Further details of this experiment are given in Appendix D with the help of some screenshots. Finally, Chapter 6 summarizes the main conclusions derived from the work carried out in this thesis and it suggests possible directions for future works. Chapter 2 Cognitive Radio and Opportunistic Networks 2.1 Introduction DSA based on the CR principles is considered a key solution to increase the efficiency of spectrum use in radio communication systems. For this purpose, the definition of a CRN supported by specific management tools that exploit the CR capabilities has been considered essential in the literature. Furthermore, the development of cognitive management systems has been taken into consideration in many specific scenarios such as in the case of ONs exploitation for FI applications. In that context, this chapter provides a general overview of the CR paradigm and of the ONs. In particular, in Section 2.2 the introduction of the CR and a detailed description of the CR cycle are given; while, Section 2.3 presents the basic concepts of the DSA and how it is enabled by the CR; moreover, in this section a typical example of CRN with the corresponding functionalities, which enables DSA, is provided. In Section 2.4 the general concepts of the ONs are given with particular emphasis on the scenarios where they can be implemented and the explanation of the different tasks involved from their realization to their termination. Finally, Section 2.5 provides the summary of this chapter. 2.2 Cognitive Radio Paradigm The CR concept was introduced by J. Mitola III as a smart, context-sensitive radio that can be programmed and configured dynamically under varying environmental conditions [11]. The operations of the CR systems are typically assumed to follow the cognitive cycle illustrated in Figure 2.1 in order to interact with the environment. Any CR system following this cycle gathers observations from the outside world through different types of sensors, orients itself, creates a plan of possible courses of actions, decides and then acts. During this cycle, the CR system also learns from the outcomes of its decisions and sensory inputs from the outside world. Clearly this original definition of CR is very general, applicable to a vast number of scenarios; in details, in the original study of J. Mitola III the observations were focused 12 2. COGNITIVE RADIO AND OPPORTUNISTIC NETWORKS on the following inputs: (i) radio spectrum; (ii) images from cameras; (iii) speech recognition and; (iv) geo-location. Hence, general CR is an adaptive, self-organizing architecture for holistic resource management in wireless networks capable of adjusting its own behaviour through learning. A CR system can observe a number of different aspects of its environment. The most commonly mentioned example is the radio environmental information achieved by some kind of spectrum sensor. Usually, a spectrum sensor would measure features such as either the sensed power in a range of frequencies, or the presence of signals transmitted through particular technologies or digital modulation schemes. This spectrum sensor could also be implemented either on an individual CR system by a hardware component, or it could be based on cooperation between several CR systems in the neighbourhood. The observations could also be done through explicit communication amongst different radios such as transmitters that send control information on the used frequencies. Figure 2.1: Cognitive Cycle The orientation stage involves the processing of the information achieved from the different sensors, and the integration with any prior knowledge for updating the estimated state of the system and its environment. Depending on the diversity of the sensing information and available prior knowledge, numerous different state estimation and learning mechanisms can be used in the orientation state. For instance, further processing of information achieved by spectrum sensors can be gathered with location information to make logical conclusions whether certain transmitters are active or not. Depending on the change in state, the CR shifts either to the planning state, or, in case urgent reaction is needed, to the decision one. After reaching the decision making state, the CR should potentially act according to the decisions made. Actions here would usually relate to change in any of the tuneable parameters across the entire protocol stack, including selection of protocols to be used, and actual links or end-to-end 2.3 DYNAMIC SPECTRUM ACCES TO EXPLOIT COGNITIVE RADIO PARADIGM 13 connections established to other nodes. During the learning state the CR updates the different models that have been constructed on the environment, on the properties of other radios, and on the dynamics of its own state. CR paradigm relies frequently, but not necessarily, on the use of the Software Defined Radio (SDR) technology, which is a multi-band radio supporting multiple air interfaces and protocols. It is reconfigurable through software running on a Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or general purpose microprocessor [33]. Hence, CR systems, usually built upon a SDR platform, are context-aware intelligent radio capable of autonomous reconfiguration by learning from and adapting to the surrounding communication environment [34]. They are capable of sensing their Radio Frequency (RF) environment, learning about their radio resources, user and application requirements, and adapting their behaviour accordingly. The idea behind SDR is to define all radio functionalities in software rather than in dedicated hardware, in order to reuse one platform for many different radio standards, to achieve the CR activities. Through the SDR the following main characteristics of the CR defined in [12], [16] can be exploited: cognitive capability, i.e. the ability to capture information from the radio environment, and reconfigurability, which enables the transmitter parameters to be dynamically programmed and modified according to the radio environment. In fact, SDR is capable of sensing spectrum occupancy and opportunistically adapting transmission parameters to utilize empty frequency bands without causing harmful interference to primary networks. Moreover, through SDR, a CR system is able to reconfigure several parameters such as the operating frequency (to take profit of spectrum holes detected on different frequency bands), modulation and/or channel coding (to adapt to the application requirements and the instantaneous channel quality conditions), transmission power (to control interference), and communication technology (to adapt to specific communication needs). Based on the characteristics of the detected spectrum holes, these parameters can be reconfigured so that the CR is switched to a different spectrum band; transmitter and receiver parameters are reconfigured and the appropriate communication protocols and modulation schemes are used. 2.3 Dynamic Spectrum Access to exploit Cognitive Radio Paradigm Spectrum underutilization has motivated different activities and initiatives in the regulatory, economic and research communities in looking for better spectrum management policies [35]. DSA solutions have been proposed to provide procedures or schemes to achieve flexible spectrum access approaches aimed at overcoming the disadvantages and shortcoming of the currently inefficient static allocation policies. The key enabler of the DSA concept is the CR that provides functionalities such as the possibility to use the spectrum in an opportunistic way observing the outside world. 14 2. COGNITIVE RADIO AND OPPORTUNISTIC NETWORKS 2.3.1 Dynamic Spectrum Access Models Several DSA models have been defined to optimize the spectrum usage depending on the specificities of the radio environment as shown in Figure 2.2. From the figure the following classification can be defined: • Dynamic exclusive use model. It basically keeps the structure of the static spectrum allocation policy. Spectrum bands are licensed to operators, technologies and/or services for exclusive use, but some flexibility is introduced to optimize spectrum efficiency. Two different approaches can be distinguished in this model: – Spectrum property rights [36]. It enables licensed users to sell and lease some portions of its licensed spectrum and to select the technology to be employed as well as the service to be given in that band. Hence, in this context, economy and market would play a more important role in driving the most profitable use of spectrum under this scheme. It is worth highlighting that even though licensed users can sell or lease the spectrum for economic profit, this spectrum sharing is not mandated by the regulatory organism. – Dynamic spectrum allocation [37], [38]. It aims at managing the spectrum used by a converged radio system and sharing it between participating Radio Access Networks (RANs) over space and time to optimize overall spectrum efficiency. A bandwidth reservation will result in unused spectrum for long periods of time and along large geographical areas. Hence, spectrum efficiency can be improved by exploiting the spatial and temporal traffic variations of different services. The underlying idea of DSA methods is to enable two or more networks of a converged radio system to share an overall block of spectrum such that spectrum allocations can adapt to either temporal or spatial variations in demand on the networks. However, such strategies allocate, at a given time and region, a portion of the spectrum to a RAN for its exclusive use. Furthermore, such an allocation varies at a much faster scale than the current policy (e.g., traffic demands usually exhibit a periodic daily pattern). This approach received great attention within the research community. • Open sharing model [39]. Also defined as spectrum commons, it considers open sharing amongst peer users as the basis for managing a spectral region in a similar way as wireless services operating in the unlicensed Industrial, Scientific and Medical (ISM) band. Spectrum commons proponents declare that wireless transmissions can be regulated by baseline rules enabling users to coordinate their utilization, avoiding interference-producing collisions, and preventing congestion. 2.3 DYNAMIC SPECTRUM ACCES TO EXPLOIT COGNITIVE RADIO PARADIGM 15 Figure 2.2: Classification of the Dynamic Spectrum Access Models • Hierarchical access model. It is a hybrid model of the above two and built upon a hierarchical access structure that distinguishes between primary or licensed users, and secondary or licenseexempt users. The basic idea is to open licensed spectrum to secondary users limiting the interference perceived by primary ones. Two approaches to spectrum sharing between primary and secondary users have been considered: – Spectrum underlay. It enables to overlap transmissions from secondary users but imposes severe constraints on their transmission power so that they operate below the noise floor of primary users. Therefore, secondary transmissions have to spread over a wide frequency band, which can be achieved by means of technologies such as Code Division Multiple Access (CDMA) or Ultra Wide Band (UWB). This approach enables secondary users to potentially obtain short-range high data-rates with extremely low transmission power. Another advantage is that the activity of primary users does not need to be tracked by secondary ones. The most important problem in this approach is that the low transmission power still limits the applicability of spectrum underlays to short-range applications [40]. – Spectrum overlay. It is not necessarily characterized by severe restrictions on the transmission power of secondary users, but rather on when and where they may transmit. The basic idea of this approach is to define spatial and temporal spectrum gaps not occupied by primary users, referred to as spectrum holes or white spaces, and place secondary transmissions within these spaces. Hence, the purpose of this scheme is to define and exploit local and instantaneous spectrum availability in a nonintrusive and opportunistic way. This approach is also defined as Opportunistic Spectrum Access (OSA) [42]. 2.3.2 Cognitive Radio as an enabler of Dynamic Spectrum Access The CR technology in the context of DSA enables the users to: (1) determine which portion of the spectrum is available and detect the presence of licensed users when a user operates in a licensed band (spectrum sensing); (2) select the best available channel (spectrum decision); (3) coordinate access to this channel with other users (spectrum sharing); (4) get free the channel when a licensed user is detected 16 2. COGNITIVE RADIO AND OPPORTUNISTIC NETWORKS (spectrum mobility). Focusing on these functions, the result is the simplified version of the full cognitive cycle and it is shown in Figure 2.3 [43]. The states defined in the cycle can be characterized as: 1. Spectrum sensing. A CR user can only allocate an unused portion of the spectrum. Therefore, the CR user should monitor the available spectrum bands, capture their information, and then detect the spectrum holes. 2. Spectrum decision. Based on the spectrum availability, CR users can allocate a channel. This allocation not only depends on spectrum availability, but it is also determined based on internal (and possibly external) policies. 3. Spectrum sharing. Since there may be multiple CR users trying to access the spectrum, CR network access should be coordinated in order to prevent multiple users colliding in overlapping portions of the spectrum. 4. Spectrum mobility. If the specific portion of the spectrum in use is required by a primary user, or if the Quality of Service (QoS) of the spectrum worsens, the communication needs to be continued in another vacant portion of the spectrum. Figure 2.3: Specialization of the cognitive cycle to the DSA case However, compared to the full cognitive cycle, the loop missed a few important components. For instance, one is the learning module, which prevents mistakes from previous iterations from being made on future ones. Several schemes have been proposed to classify the functions required in the context of 2.3 DYNAMIC SPECTRUM ACCES TO EXPLOIT COGNITIVE RADIO PARADIGM 17 the described CR and the DSA cycle. For instance, according to [1], the main functions are categorized into: 1. Spectrum opportunity identification. It is responsible for accurately identifying and intelligently tracking idle frequency bands that are dynamic in both time and space. Hence, this function is equivalent to the spectrum sensing function previously described. 2. Spectrum opportunity exploitation. It takes input from the spectrum opportunity identification function and it decides whether and how a transmission should be carried out. This function comprises the aforementioned spectrum decision and spectrum sharing ones. 3. Regulatory policy. It defines the basic etiquette for secondary users, dictated by a regulatory body, to guarantee compatibility with legacy systems. An example of this DSA policy is Dynamic Frequency Selection (DFS) [2]. DFS allows unlicensed 802.11 communications devices in the 5 GHz band to coexist with legacy radar systems. The policy specifies the sensor detection threshold as well as the timeline for radar sensing, usage, abandoning the channel, and a non-occupancy time after detection. This policy allows limited but minimal harm to legacy radar systems by accounting for the specific form of sensor for detection and prescribing the timeline for channel use and release. The spectrum mobility function is not explicitly considered in the classification criterion proposed in [1], but it could be included within the spectrum opportunity exploitation one. 2.3.3 DSA/CR Networks Architecture Once a radio supports the capability to select the best available channel, the next challenge is to make the network protocols adaptive to the available spectrum. Therefore, new functionalities are required in a DSA/CRN (CRN for simplicity from here on) to support this adaptively and to achieve spectrum-aware communication protocols. A typical CRN architecture is illustrated in Figure 2.4 according to the open sharing and hierarchical DSA models described in Section 2.3.1 [43]. For each of these models, the interconnection architecture may be built without a central network entity such as a Base Station (BS) or an access point (CR ad hoc Access) or rely on some additional network nodes (CR Network Access). Moreover, the figure illustrates how the network allows the access to both unlicensed band and licensed bands according to the open sharing and hierarchical access models, respectively. In case of hierarchical access model, so when licensed bands are considered, the components of the network can be classified in two groups: the first one is defined as primary network while there exist different ways to specify the second one, such as CR network or secondary network. Primary network is the legacy network having an exclusive right to a certain spectrum band such as the common cellular and TV broadcast networks; while, CR network does not have a license to operate in the desired band. 18 2. COGNITIVE RADIO AND OPPORTUNISTIC NETWORKS Figure 2.4: CRN architecture for DSA applications [43] Then, the spectrum access is allowed only in an opportunistic manner. The basic components of primary networks are: • Primary user. It is authorized to use always a particular spectrum band. This use is controlled only by the primary BS and it should not be affected by the operations of other unlicensed users. Primary users do not need any modification or additional functions for coexistence with BSs and CR users. • Primary BS. It is a fixed infrastructure network component which has a spectrum license such as BS Transceiver system (BST) in a cellular system. In principle, the primary BS does not have any CR capability for sharing spectrum with CR users. However, the primary BS may be requested to have both legacy and CR protocols for the primary network access of CR users. The basic elements of the CR network are defined as follows: • CR user. It does not hold spectrum license and it use detected spectrum holes in an opportunistic way. Hence, additional functionalities are required to share the licensed spectrum band. • CR BS. It is a fixed infrastructure component with CR capabilities. CR BS provides single hop connection to CR users without spectrum access license. Through this connection, a CR user can access other networks. 2.3 DYNAMIC SPECTRUM ACCES TO EXPLOIT COGNITIVE RADIO PARADIGM 19 • CR spectrum broker. It is a central network entity that controls the spectrum sharing among different CRNs. Spectrum broker can be connected to each network and can serve as a spectrum information manager to enable coexistence of multiple CRNs [45]-[46]. Since CRNs can operate in both licensed and unlicensed bands, the required functionalities that the cognitive management tools should provide vary according to the characteristic of the spectrum. The following CRNs operations can be distinguished [43]: • CRN on licensed band. In this case there are temporally unused spectrum holes. Therefore, CRNs can be deployed to use these spectrum holes through cognitive communication techniques. This architecture is illustrated in Figure 2.5; it can be observed that the CRN coexists with the primary network at the same location and on the same spectrum band. There exist various challenges for CRNs on licensed band due to the existence of the primary users. Although the main objective of the CRN is to find the best available spectrum, the interference avoidance with primary users is the most important issue in this architecture. In fact, when primary users appear in the spectrum band occupied by CR users, this must release the current spectrum band and select a new available spectrum. • CRN on unlicensed band. Open spectrum policy that began in the ISM band has provoked a wide variety of innovative technologies. Notwithstanding, due to the interference among multiple heterogeneous networks, the spectrum efficiency of the ISM band is worsening. CRNs can be designed for operation on unlicensed bands such that the efficiency is improved in this portion of the spectrum. The CRN on unlicensed band architecture is shown in Figure 2.6. As there are no license holders, all the entities of the network have the same right to access the spectrum bands. Multiple CRNs can coexist in the same area and share the same portion of the spectrum. Therefore, intelligent spectrum sharing algorithms are needed to improve the efficiency of spectrum usage. In this architecture, CR users focus on detecting the transmissions of other CR users; hence, sophisticated spectrum sharing methods among CR users are required. If multiple CRN operators reside in the same unlicensed band, fair spectrum sharing among these networks is also required. 26 2. COGNITIVE RADIO AND OPPORTUNISTIC NETWORKS c) Assessment of potential gains. Once the potential nodes and radio paths are selected, specific metrics to quantify the gain that can be obtained by the ON are performed. 2) Creation. This is the logical phase deriving by the suitability stage. In particular, the suitability stage provides different configurations for an ON, whose feasibility and potential gains have been already valuated. Then, the creation stage will carry out a detailed analysis that will need additional context awareness and/or more accurate estimations related to different aspects of the radio environment. Hence, the same functionalities as for the suitability determination stage are identified, although the specific algorithmic solutions are envisaged to be different. The creation stage will take the decision on whether to define an ON or not. In positive case, all the necessary procedures and associated signalling will be triggered in this stage. 3) Maintenance and Termination. The ON will be dynamic and temporary in nature during all its operational life-time. Capabilities for the reconfiguration of the ON will provide the adaptability needed for radio environment changes. Therefore, during these stages the following activities are defined: a) Monitoring. It will achieve all the information which can affect decision-making processes around the ON. Relevant changes are modifications in terms of nodes, spectrum, finalization of an application, changes in the gains achieved with the ON, etc. The finalization of an application causes termination decision and the corresponding signalling is triggered in order to get free the resources used by the ON. b) Reconfiguration decisions. This activity will be in charge of the modifications at the ON configuration to obtain its most efficient operation. Reconfiguration decisions will be supported by other functionalities such as discovery procedures for the identification of new nodes, identification of new spectrum opportunities, etc. This activity will be performed considering the procedures and associated signalling specified in the system. c) Handover to infrastructure decisions. When a termination decision is taken (e.g., if the achieved gains are inadequate, or if the desired QoS is degraded) but at the same time, there is some services that are expected to survive ON termination, handover decisions will be needed to manage these services (e.g., selecting new infrastructure nodes, modifying QoS settings, etc.). The ON definition needs optimum decisions to be realized for its configuration, in terms of the selection of the nodes that can participate, the spectrum for their communication and the applied routing schemes. Therefore, innovative strategies and mechanisms must be defined to carry out the functionalities of the ON life cycle illustrated above. Different strategies, which will be illustrated next in this section, with the aim to support suitability determination, creation, maintenance and termination of ONs can be 2.4 OPPORTUNISTIC NETWORKS 27 found in the literature. The solutions proposed in this dissertation concern the spectrum management during ON creation and ON maintenance. Figure 2.10: Life cycle of the ON and management stages Before to examine in depth the development of the ON spectrum management solutions proposed in this dissertation, which will be provided in the next chapter, a brief revision of the state-of-the-art for the other functionalities of the ON life cycle is given in the following: RADIO ENVIRONMENT SUITABILITY DETERMINATION CREATION CREATE ASSESSMENT OF POTENTIAL GAINS SUITABILITY DETERMINATION TRIGGER IDENTIFICATION OF POTENTIAL RADIO PATHS ASSESSMENT OF GAINS SELECTION OF RADIO PATHS IDENTIFICATION OF POTENTIAL NODES NODE SELECTION TERMINATE RECONFIGURE ON management algorithmic component Context awareness Procedure execution Internal ON management triggers ON management algorithmic stage MAINTENANCE & TERMINATION RECONFIGURATION DECISIONS HANDOVER TO INFRASTRUCTURE DECISIONS MONITORING TERMINATION TRIGGER ASSESSMENT OF CHANGES IN GAINS CHANGES IN RADIO PATHS CHANGES IN NODES RA DIO PATH RECONFIG. NODE RECONFIG. 28 2. COGNITIVE RADIO AND OPPORTUNISTIC NETWORKS • Discovery procedure. This task is part of the suitability determination. In [70]-[72] the main discovery IEEE and 3rd Generation Partnership Project (3GPP) mobility procedures are illustrated. Such mechanisms will be the basis of discovery procedures in ONs environments. In particular, through these documents, node-to-node discovery mechanisms of nodes that could belong to ONs can be realized. • Candidate node identification. Also this task is part of the suitability determination. During this phase algorithms for the determination of the nodes that are candidate to be introduced in the ON and privacy/security issues must be defined. For instance, in [73], [74] authors propose different privacy models adapted to content-based ONs. • Handling interference scenarios. This area involves the suitability determination management task. The main objective of this phase is to avoid interfering with primary users. Extensive simulation scenarios, including various combinations of macro/micro/pico structures, to realize interference studies have been carried out. Further studies have been made to characterize the default requirements; they are related to Inter-Cell Interference Coordination (ICIC) illustrated in 3GPP specifications [75]. Therefore, these results will be used for examination of interference scenarios and to decide the suitability of the ON. Moreover, coexistence of ON and infrastructure utilizing licensed bands must be analysed. • Routing schemes. This task is part of the ON creation. In [50], [51] and [76], different strategies are proposed regarding routing schemes. Moreover, the ECODE project [52] defines routing systems for cognitive radio networking. • Network design. Also this task involves the ON creation. In literature some optimization algorithms can be found, like in [52] important for the design and the reconfiguration of networks. The computational effort associated with the optimal solution of the problem has led to the design of heuristic algorithms. • QoS control. This area is part of the ON maintenance task. For instance, in [77], [78] considered QoS metrics are the delay in delivering the different messages as well as the message delivery ratio, measured during different considered routing. The provision of QoS mechanisms is identified also as a research challenge in [43] through the development of spectrum mobility mechanisms ensuring that the secondary communication can be continued whenever the primary user appears. In a similar context, in [79] an intercell spectrum sharing for infrastructure-based CRNs, which includes QoS monitoring mechanisms in the secondary transmissions to detect QoS degradations and decide on spectrum reallocations, was proposed also as a solution suitable for ON. 2.5 SUMMARY 29 • Handling of forced terminations. There may be situations in which the network operator may no longer maintain the assignment of resources to the ON. In such cases there can be the forced termination of the network. The issue is to preserve application provision until either the network resources are exhausted, or all applications are reassigned to another network. The basis for solving this problem is again 3GPP as well as various works in the area of equipment management through legacy or cognitive techniques [65], [66] and [80]. These mechanisms acquire process and exploit context, profiles, policies and knowledge. Then, they reach distributed and autonomous decisions on the best network to be connected. 2.5 Summary This chapter has presented the general concepts related to CR paradigm, DSA and ON that represent an essential baseline towards the description of the cognitive management frameworks and the spectrum management solutions proposed in this dissertation and illustrated in the following chapters. In details, a general overview of the CR concept and the definition of its cycle have been described. Then, how CR enables DSA and the general CR/DSA Network has been illustrated highlighting the most important functionalities to be implemented. Finally, a general overview of the ON, considered as a powerful tool that exploits the CR capabilities in the context of the FI has been illustrated. Moreover, different scenarios where the ON can be proposed and its life cycle from its creation to its termination, together with the functionalities defined for each phase have been explained as well. Chapter 3 Proposed Cognitive Management Frameworks and Spectrum Management Strategies 3.1 Introduction Spectrum management solutions are responsible of proper utilization of the radio resources and they are decisive to allow spectrum sharing among different radio systems guaranteeing QoS requirements for different service classes and without causing any interference. In this respect, the objective of this chapter is to describe the cognitive management frameworks and the spectrum management solutions that exploit CR networking proposed in this dissertation. The Functional Architectures (FAs) of the proposed cognitive management frameworks are based on the one defined in [81] by the European Telecommunications Standardization Institute (ETSI) for Reconfigurable Radio Systems (RRSs). Moreover, all the solutions illustrated in this chapter involve a set of j=1,..., L links each one intended to support data transmission between a pair of terminals and/or infrastructure nodes. The generic radio link j is characterized by a required bit rate Rreq,j, while the potential spectrum to be assigned to the different radio links is organized in a set of i=1,..., M spectrum blocks. The first framework described in Section 3.2 is the Base-line Cognitive Management Framework (BCMF) whose FA is a particularization of the one introduced in [82], for the management of ONs from their creation to their termination. In details, the FA of the BCMF includes cognitive management modules that provide solutions specifically for spectrum management in ONs, which has been divided in two different steps: (i) the spectrum opportunity identification that is in charge of finding out the set i of possible spectrum blocks available for the set j of links; (ii) the spectrum selection that, based on the results of the previous step, is responsible to decide the most adequate spectrum block for the communication. While the second framework defined in this dissertation, which is illustrated in Section 3.3, is the Evolved Cognitive Management Framework (ECMF) whose FA includes all the cognitive management modules that provide strategies for an efficient spectrum selection based on the CR cycle paradigm 32 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES described in Section 2.2. Moreover, in this version of the framework Partially Observable Markov Decision Processes (POMDPs) are considered as decision-making strategy in order to combine the observations that characterize the CR cycle with a statistical characterization of the system dynamics through a first definition of the belief vector concept, which will be better assessed in the third framework proposed in this dissertation. In fact, the FA of the ECMF has been extended with new functionalities that have led to the definition of the third framework illustrated in Section 3.4 that is the Final Cognitive Management Framework (FCMF). The new functionalities enable to exploit the belief vector, which was introduced in the ECMF, as a long-term means to characterize and predict the environment dynamics in terms of the traffic generation patterns and the interference behaviour in the radio electrical spectrum. Finally, Section 3.5 provides the summary of this chapter. 3.2 Base-line Cognitive Management Framework for Opportunistic Networks As it was mentioned, the FA of the first framework proposed in this dissertation is based on the one considered in [82], which extends the ETSI’s approach defined in [81], basically by adding two new cognitive management entities, to achieve close cooperation between the infrastructure and the ONs. These entities are the Cognitive management Systems for Coordinating the Infrastructure (CSCI) and the Cognitive systems for Managing the Opportunistic Network (CMON). The BCMF envisaged in this dissertation aims at implementing in a real-time environment the entities of the FA described in [82] that allow spectrum management during the ON creation and the ON maintenance stages. Hence, in Section 3.2.1 a comprehensive description of the FA introduced in [82] is provided; while, in Section 3.2.2 the proposed framework and the corresponding strategies for spectrum opportunity identification and spectrum selection are illustrated. 3.2.1 Opportunistic Network Functional Architecture Figure 3.1 provides a high level representation of the main functional blocks of the FA defined in [82]. Besides the CSCI and CMON entities, some further features need to be added to the existing RRS FA building blocks and/or existing Radio Access Technologies (RATs), for the support of ONs with regard to UE discovery, link establishment, relay function and associated security. The blocks defined in the FA illustrated in Figure 3.1 and their main functions are the following: • Cognitive management System for the Coordination of the Infrastructure (CSCI). It is mainly responsible for the activities before an ON is created. In fact, it is the functional entity in charge of the detection of situations where an ON is useful, which decides on the suitability of an ON and which provides policy and context information from the infrastructure to the ON. 3.2 BASE-LINE COGNITIVE MANAGEMENT FRAMEWORK FOR OPPORTUNISTIC NETWORKS 33 Figure 3.1: FA as an evolution of the ETSI RRS [82] • Cognitive Management system for the Opportunistic Network (CMON). It controls the life cycle of the ON from creation to termination. This includes the execution of the creation procedures to enforce the design obtained from the CSCI, the supervision of the ON during maintenance phase and as well as the termination procedures. • Dynamic Spectrum Management (DSM). It provides mid- and long-term management (e.g. in the order of hours and days) of the spectrum availability conditions and related constraints to guide the spectrum selection decision making. • Dynamic, Self-Organising Network Planning and Management (DSONPM). It provides mid- and long-term decisions upon the configuration and reconfiguration of the network or parts of it. • Joint Radio Resources Management (JRRM). It performs the joint management of the radio resources across different radio access technologies. It selects the best radio access for a given user based on the session’s requested QoS, radio conditions, and network conditions. • Configuration Control Module (CCM). It is responsible for executing the reconfiguration of a terminal or a BS, following the directives provided by the JRRM or the DSONPM. Moreover, the following used interfaces illustrated in Figure 3.1 have been defined: • CI-Interface for the Coordination with the Infrastructure. It is located between different CSCI blocks and it is used by the infrastructure network with a twofold aim: (i) to inform infrastructure network elements about the suitability of an ON; (ii) to provide context and policy information needed for the creation and maintenance of the ON. By this interface, the network can also receive context information from the terminals to enable the ON suitability determination. • OM-Interface for Opportunistic Management between different CMON blocks. Nodes can negotiate about the creation of an ON through this interface. During the negotiation, node capabilities and user preferences can be exchanged and the QoS capabilities of an ON can be 34 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES negotiated. After the negotiation, OM interface is also used for the exchange of ON-creation, ON- maintenance and ON-termination messages. • CC-Interface. It connects CSCI in a node with the CMON in the same node and it is used e.g. to send a trigger for the creation of an ON from the CSCI to the CMON as well to provide information about the resources which can be used by the ON. • CS-Interface. It connects both CSCI and CMON entities with the DSM and it is used by CSCI and CMON to obtain information on spectrum usage and spectrum policies from the DSM. This spectrum related information can be used for the suitability determination of ONs as well as for the decision making on which spectrum shall be used in an ON. • MS-Interface. It connects DSONPM and DSM and it is used by the DSONPM to achieve information on spectrum usage and spectrum policies from the DSM. It enables DSONPM to obtain information about the available spectrum for different RATs, unoccupied spectrum bands and spectrum opportunities. • OJ-Interface. It connects JRRM with both, CSCI and CMON entities and it is used to trigger the JRRM for the establishment and release of radio links during the creation, maintenance and termination of an ON. Further on, context information e.g. on available access networks or on link performance can also be exchanged via this interface. • OC-Interface. It connects CCM with both, CSCI and CMON entities and may be used to obtain additional information about the current device configuration which cannot be provided by the JRRM. However, it is assumed that for the normal ON management procedures, the CCM is not involved because the CMON uses the OJ interface to trigger link setup or release procedures. • CR-Interface. It connects CCM and the underlying RAT to control the reconfiguration of the radio access in a terminal or BS by the CCM. • JR-Interface. It connects JRRM and RAT to report information on resource status such as cell load or link measurements towards the JRRM. • CJ-Interface. It connects CCM and JRRM and it is used by the JRRM to instruct the CCM on reconfigurations. • MJ-Interface. It connects DSONPM and JRRM to provide status information like cell load and other Key Performance Indicators (KPIs) from the JRRM towards the DSONPM. • MC-Interface. It connects DSONPM and CCM and it is used by the DSONPM to instruct the CCM on reconfigurations. 3.2 BASE-LINE COGNITIVE MANAGEMENT FRAMEWORK FOR OPPORTUNISTIC NETWORKS 35 • JJ-Interface. It connects different JRRM instances for the exchange of JRRM related information between different nodes. • RR-Interface. It connects different RATs. This can e.g. be the interface used by a GSM, UMTS, LTE, WLAN or other protocol stack in the terminal towards a protocol stack of the same RAT in another terminal or in the network infrastructure. More detailed descriptions of CSCI and CMON functionalities are illustrated in Figure 3.2 and Figure 3.3, respectively, in the network infrastructure side and in the terminal one [82]. The CSCI is the functional entity in charge of the ON suitability determination phase which allows determining whether or not right conditions are in place for creating an ON. Then, the CSCI delegates the creation, the maintenance and the termination of the ON to the associated CMON functional entity. As it can be observed from Figure 3.2 and Figure 3.3, the CSCI is located in both, the operator infrastructure side (where it is defined as CSCI-N) and the terminal side (where it is defined as CSCI-T). The suitability determination is typically a centralized process with the decision making located in the infrastructure; notwithstanding, in some cases it can be located inside a device. Hence, the decision making in the CSCI can be based on both, infrastructure information provided by functional entities in the network and user/device information given by functional entities from a selected set of devices. The CSCI-N involves Context Awareness (CA), operator policy derivation and profile management which give the input to the decision-making mechanism that establishes the time and the place where it is suitable an ON creation. The CSCI-T involves CA, operator policy acquisition and profile management which provide the input to the decision-making mechanism as well. In details, the CA functional entity of the CSCI-N involves the monitoring of the status of the infrastructure network, in order to achieve information from the radio environment and to evaluate the necessity to create an ON. This information includes capabilities, status, location, mobility level and supported applications of the candidate nodes. Also the CA functional entity in the CSCI-T is used in order to acquire information for the status of the nodes, which then will be used as input to the decision-making mechanism. The operator policy derivation and management in the infrastructure side designates high level rules to be followed. These rules are imposed by operators/regulators and involve reconfiguration strategies with the aim to maximize the QoS levels and to minimize the cost factors. In the terminal side, the operator policy derivation and management is replaced by the policy acquisition which is responsible for acquiring the necessary policies defined in the CSCI-N by the operators. 42 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES The proposed formulation of the fittingness factor increases with the available bit rate Rj,i up to the maximum Rreq,j value and then it starts to smoothly decrease reflecting that it becomes less efficient from a system perspective to have an available bit rate much higher than the required one. In Figure 3.5 different entities composing the CMON-N can be observed; in details, each entity involved in the spectrum selection strategy and its specific role in the execution of this solution are explained in the follow: • Control. It triggers the ON creation to the Decision Making and, after that whether to proceed with an ON reconfiguration decided during the maintenance phase. • Context Awareness (CA). It provides feedback of the QoS experienced by the nodes of the ON to trigger reconfiguration or termination procedures in case of either a detriment of QoS, or the loss of the resources. • Knowledge Management. It stores in a knowledge database the channel occupancy information from past time periods. • Decision Making. It implements the spectrum selection strategy that, considering the set i of spectrum blocks as the result of the spectrum opportunity identification, selects at time t the spectrum block that can guarantee to the link j during its activation the highest fittingness factor in accordance with the statistic information stored in the Knowledge Management. In details, the Decision Making selects the spectrum block SBj(t)∈i characterized by fj central frequency and BWj bandwidth that from time t can guarantee to the link j the following highest fittingness factor: , ( ) argmax( ( )) j ji SB t f t= (3.4) Hence, the proposed spectrum selection solution reassures the assignment of the most suitable spectrum block in terms of requested bit rate among the available ones, resulting from the spectrum opportunity identification strategy, and by exploiting the information stored in the Knowledge Management. 3.3 EVOLVED COGNITIVE MANAGEMENT FRAMEWORK BASED ON POMDPs 43 3.3 Evolved Cognitive Management Framework based on POMDPs The ECMF proposed in this dissertation exploits the DSA/CR cycle paradigm including observation, analysis, decision and action in order to perform efficient decision making strategies for spectrum selection in CRNs. The observation of the radio environment and the analysis of such observations will lead to acquire knowledge about the state of the potential spectrum blocks that can be selected (e.g. the amount of measured interference, their occupation, etc.) as well as their dynamic behaviour (e.g. how the interference changes with time). Observations of the radio environment involve making measurements at several nodes of a CRN. Then, these measurements need to be reported to the node in charge of the decision making. This is usually done through signalling procedures supported by cognitive control channels [81], [95]. As a result, the observation stage can be very costly in terms of practical requirements such as signalling overhead, battery consumption, etc. Consequently, decision making strategies able to efficiently operate with the minimum amount of measurements would be of high interest. In this respect, in the framework proposed in this section, POMDPs have been considered as decision making strategy since they allow achieving an optimized performance by combining observations at specific periods of time with a statistical characterization of the system dynamics through the belief vector whose elements represent the statistical characterization of the processes. Different decision making criteria for spectrum selection that can be found in the literature rely on databases that record historical information about the occupation in the different channels [96], [97]. This type of information can be used to build predictive models on spectrum availability like in [97]. In [99] an adaptive spectrum decision framework is presented taking into account different type of applications while in [100] a radio resource management method using both long and short term history information is analysed. In [101] the use of reinforcement learning for the detection of spectral resources in a multi-band CR scenario was investigated. The idea to exploit POMDPs as decision making tool has been considered in several research works. For instance, in [102], [103] opportunistic spectrum access approaches to channels that can be either busy or idle are proposed, assuming a single unlicensed user. While, in [104] the problem was studied to a multi-user scenario through a collaborative approach in which users need to exchange information about their belief vectors at each time slot to generate consistent actions. The main contributions of this framework respect to the state of the art can be summarized as follows: (i) the proposed framework, as a difference from previous works such as [102], [103], does not rely only on binary (i.e., idle/occupied) measurements of the different spectrum blocks but it considers a generalization in which the temporal variation of each spectrum block is able to capture different degrees of interference; (ii) the proposed framework inherently considers heterogeneity of the requirements for the different users accessing the spectrum, so that not all the channels are equally appropriate for all the users depending on application needs; (iii) the proposed framework captures the multi-user perspective in 44 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES a centralized way hence having a single decision making point. This allows avoiding the inter-terminal information exchange that would be required in other collaborative decentralized approaches such as [104], where all the terminals need to have knowledge about the state of each other to ensure consistency between the actions taken by each one, which would involve large amounts of signalling; (iv) the considered candidate spectrum blocks can belong to different bands allowing different degrees of spectrum sharing with other systems (e.g. non-licensed ISM bands, licensed bands allowing primary/secondary spectrum sharing such as TVWS bands, licensed bands with exclusive use such as those belonging to the mobile network operator in charge of the CRN, etc.). Correspondingly, the channels in each spectrum band can be subject to very different interference conditions. The strategy considered in this section consists in performing an efficient allocation of the i-th spectrum block to the j-th radio link by properly matching the bit rate requirements with the achievable bit rate in each spectrum block. This will be conducted by the execution of the spectrum selection decision making, which will take a so-called action, corresponding to the allocation of a spectrum block to a radio link, anytime that a data transmission session is initiated on this radio link. The action made for the j-th link at time t is denoted as aj(t)∈{1,..., M} and corresponds to the selected spectrum block among those currently available. The considered interference model denotes as Ij,i(t)=Imax,j,i·σi(t) the interference spectral density measured by the receiver of the j-th link in the i-th spectrum block at a given time due to other external transmitters (i.e. outside the control of the decision making entity). In order to capture that interfering sources may exhibit time-varying characteristics, σi(t) is a spectrum block-specific term between 0 and 1 (i.e. σi(t)=0 when no interference exists and σi(t)=1 when the interference reaches its maximum value Imax,j,i ). For modelling purposes, it is considered that the set of possible values of σi(t) is translated into a discrete set of interference states S(i)(t)∈{0,1,..., K} where state S(i)(t)=k corresponds to σk-1<σi(t)<σk for k>0 and to σi(t)=σ0=0 for k=0. Note also that σK=1. The system state at time t is then given by the M- column vector S(t)=[S(i)(t)]. Moreover, assuming that the state of each spectrum block remains the same for a time step of duration Δt, the interference evolution for the i-th block is modelled as a discrete-time Markov process with the state transition probability from state k to k’ given by: ( ) ( ) () () () ,' Pr ' ii i kk p St tkStk  = +∆ = =  (3.5) It is assumed that the state of the i-th spectrum block S(i)(t) evolves independently from the other blocks, and that the state evolution is independent from the assignments made by the spectrum selection strategy. The execution of the spectrum selection decision-making strategy proposed in this framework results into actions corresponding to the allocation of spectrum blocks to the different radio links. The action made for link j at time t is denoted as aj(t)∈{1,..., M} and corresponds to the selected spectrum 3.3 EVOLVED COGNITIVE MANAGEMENT FRAMEWORK BASED ON POMDPs 45 block among those currently available (i.e. not allocated to other links). It is assumed that an action is taken for a given link at any time that a data transmission session is initiated on this radio link. As a consequence of the different actions and resulting spectrum block assignments, each radio link with a data session in course (i.e., an active link) will obtain a reward that measures the obtained performance depending on the interference state of the spectrum block at each time. Then, let denote () () () ,i i jS t r the reward that the j-th link gets at time t when using its allocated spectrum block i and the interference state is S(i)(t). The reward is defined as a metric between 0 and 1 capturing how suitable the i-th spectrum block is for the j-th radio link/application, depending on the bit rate that can be achieved in this block with respect to the bit rate required by the application Rreq,j. Several possible definitions of the reward metric as a function of the bit rate may exist such as sigmoid functions, linear functions or fittingness factor. The reward function considered in this framework is based on the fittingness factor defined in Section 3.2.2. Hence, the definition of the reward can be formulated starting from equation (3.1) and taking into account also the state k as follows: ( ) ( ) ,, 1/ ,, , · 1/ () , 1 jik j i k req j U RR i jk e r ξ ξ λ Γ −− − = (3.6) where it can be observed that in this case the parameter Rj,i,k , and consequently Uj,i,k, depend also on the state k. The total system reward TR(t) is then given by the sum of rewards of all the active links at time t. As a general target, the spectrum selection decision making should follow the optimal policy that maximizes the performance in terms of the expected long-term total system reward TR(t) accumulated over a certain time horizon tending to infinity. For this purpose, the decision making entity would ideally need to know the actual interference state of all the spectrum blocks at time t. However, this would impact in terms of increasing signalling overheads and battery consumption to perform all the required observations and report them to the decision-making entity. To overcome this issue, this framework proposes to make the decisions based on a statistical characterization of the interference state of the different spectrum blocks rather than on actual exhaustive observations. In the proposed solution, observations about the interference state of the spectrum blocks are carried out only at specific time instants defined according to a certain observation strategy. In this case, due to the partial knowledge that the decision making process has about the actual interference state of the spectrum blocks, the spectrum selection process can be modelled as a POMDP and the statistical characterization of the spectrum blocks at time t is given in terms of the belief vector ϒ (t)=[ ( ) ( ) i k bt ] where component ( ) ( ) i k bt is the probability that the i-th block will be in state S(i)(t)=k at time t. 46 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES In a POMDP the complexity associated to finding the optimal policy that maximizes the expected long-term system reward can be prohibitive, mainly because the number of states (K+1)M grows exponentially with the number of spectrum blocks. Consequently, in this framework the so-called myopic policy that maximizes the immediate system reward TR(t+Δt) is proposed for the analysis phase. It is worth mentioning that myopic policies have been found in some works to be optimal under certain conditions [105]. More specifically, considering that the spectrum block selection is made at time t for just one link j and among the set of available blocks, the selection will not impact on the immediate reward of any other link and the myopic spectrum selection policy becomes: () {} ( ) { } ( ) () () , 1,..., 1,..., available available arg max arg max i i jR jS t t iM iM ii a t ET t t Er +∆ ∈∈  = +∆ =     (3.7) The expected reward ( ) () () , i i jS t t Er +∆    is computed using the belief vector values at time t and the state transition probabilities that the spectrum block i is in state k at time t and jumps to state k’ in the next period t+∆t. Then, the decision policy is formulated as: ( ) { } ( ) ,' () () () ,' 1,..., 0 '0 available arg max jk k KK i ii j kk t iM kk i at b p r ∈= = = ⋅ ∑∑ (3.8) The FA envisaged to implement the ECMF, which is based on the ETSI’s one [83], is illustrated in Figure 3.6; specifically, it provides the spectrum selection policy considered in this section and it is characterized by the following entities: • Knowledge Management. It includes the Knowledge Database (KD) and the Knowledge Manager (KM). The KD stores the information about the state transition probabilities () ,' i kk p , the reward values () ,i jk r and belief vectors ( ) i k b . While the KM is in charge of updating the belief vector values ( ) ( ) i k bt with time resolution ∆t in accordance with the discrete-time Markov process that models the interference state in each spectrum block. To perform this update, the knowledge about the real interference of the spectrum blocks obtained through observations performed at certain time instants can be exploited to obtain a more accurate estimation of the probability that the i-th block will be in state k at a later time. More precisely, let define as o(i)(t) the observation made at time t in the spectrum block i. This observation is needed to provide the actual interference state of 3.3 EVOLVED COGNITIVE MANAGEMENT FRAMEWORK BASED ON POMDPs 47 the spectrum block, that is o(i)(t)=k. Using the available observations o(i)(t), the values of ( ) ( ) i k bt are updated for all the spectrum blocks every ∆t as follows: ( ) ( ) ( ) ' () () ,' () () () ,' 0 if ( ) otherwise k n ii kk iK tt ii nk t n p ot k bpb +∆ = =  =⋅   ∑ (3.9) The first condition in (3.9) corresponds to the spectrum blocks for which an observation is performed at time t providing the actual interference state of the spectrum block (i.e. o(i)(t)=k). Then, the probability ( ) () i k bt t+∆ that spectrum block i will be in state k’ in the next time period t+∆t is simply given by the state transition probability () ,' i kk p . In turn, the second condition in (3.9) corresponds to those spectrum blocks for which no observation has been performed at time t. In this case, the actual interference state is not known and thus the value ( ) ( ) i k bt t+∆ is computed probabilistically from the belief values ( ) ( ) i n bt and the state transition probabilities to state k’. According to the above, an observation strategy is required in the Decision Making entity to determine the time instants in which the observations of the different spectrum blocks must be triggered. Figure 3.6: FA of the proposed ECMF • Decision Making. It is in charge of selecting the most appropriate spectrum block each time that a new session is established in a certain radio link following the decision policy (3.8). Furthermore, in the framework illustrated in this section the observation strategy implemented in the Decision Making triggers the execution of the observations with a certain time period defined as Tobs for all 48 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES the spectrum blocks. In order to assess the performance of the proposed POMDP-based approach, the following reference strategies have been also implemented in the Decision Making:  Full Observation spectrum selection strategy (FO). This strategy performs an observation of the actual interference state S(i)(t) for all the available spectrum blocks (i.e. those that are not allocated to any link) whenever a new link establishment is required. Then, the spectrum block that provides the highest reward is allocated, that is: ( ) { } ( ) () () , 1,..., available arg max i i jjS t iM i at r ∈ = (3.10)  Steady state probabilities-based spectrum selection strategy (PR). This strategy makes the decisions based on the steady state probabilities ()i k π that simply measure the probability that the spectrum block i will be in state k. Hence, the decision policy is then formulated in a similar way as for the POMDP-based strategy in (3.8) but with the static values of ()i k π instead of the dynamic values of the belief vector, that is: ( ) { } () () () ,' ,' 1,..., 0 '0 available arg max KK i ii j k kk jk iM kk i at p r π ∈= = = ⋅ ∑∑ (3.11) • Context Awareness (CA). It is in charge of performing the observations o(i)(t) through measurements of the interference states k of the set i of spectrum blocks triggered by the Decision Making entity every Tobs; then, the CA provides to the KM the knowledge about the real interference of the spectrum blocks achieved through the execution of the observations. Measurements are also needed for acquiring the statistics of the state transition probabilities and of the rewards stored in the KD. The values of () ,' i kk p and () ,i jk r can be obtained based on some initial acquisition mechanisms including measurements of the different links and spectrum blocks. The details on how to perform this acquisition as well as the capability to update the stored values whenever relevant changes are detected are out of the scope of this framework. The dynamic acquisition of unknown transition probabilities will be defined in the final version of this framework illustrated in Section 3.4. • Control. It handles message exchange between the terminals and the Decision Making to support the establishment/release of radio links. Moreover, this entity can exchange the necessary 3.3 EVOLVED COGNITIVE MANAGEMENT FRAMEWORK BASED ON POMDPs 49 signalling messages with any node that requests to the CA measurements of the radio environment. a) POMDP Observation Strategy Next the impact of the observation strategy implemented in the Decision Making entity to determine the time instants in which the observations of the different spectrum blocks are realized is examined. In fact, if measurements are made very often, this will turn into a more accurate knowledge of the actual system state that will impact on making better decisions thus resulting in better performance. On the contrary, this will increase the cost in terms of sensing requirements and signalling overheads to report the measurement results. Hence, a trade-off arises between performance and measurement cost. To account for the above trade-offs, the following POMDP-based observation strategies have been also proposed, implemented and assessed in the Decision Making entity: • Periodic Observation strategy. This strategy supports the POMDP-based decision making of equation (3.8) by means of observations triggered periodically every Tobs for all the spectrum blocks that are not allocated to any link. • Adaptive Observation strategy. This strategy supports the POMDP-based decision making of equation (3.8) by means of observations whose periodicity is adaptively varied depending on the dynamics of each spectrum block. In particular, assuming that the last observation made for the ith spectrum block at time t indicated that the real interference state was k, the next observation will be triggered by the Decision Making entity at time t+Tobs(i,k). The period Tobs(i,k) is computed based on the expected duration of the k-th interference state obtained from the transition probabilities for the i-th spectrum block: () , (, ) 1 obs i kk t T ik p t ∆ =− (3.12) where t is a coefficient to be selected (0< t ≤1). Moreover, in both approaches, measurements are triggered by the Decision Making entity for nonused spectrum blocks, while allocated blocks will be measured at the time when they are released if the time elapsed since the last observation is higher than Tobs(i,k). 50 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES 3.4 Final Cognitive Management Framework based on Belief-vector The ECMF based on the POMDPs has been extended towards the FCMF in order to exploit the belief vector as a long-term means to characterize and predict the environment dynamics. Therefore, key elements to achieve a smart characterization of the scenario dynamicity have been included in this version of the framework. In the ECMF illustrated in Section 3.3 the observation strategies based on partial observations implemented in the Decision Making entity allow triggering an observation at time t (i.e., o(i)(t)) that gives the interference state k used to update the belief vector of the spectrum blocks through a prediction made only for the next time step t+Δt. While, in the proposed FCMF the use of the belief vector in the spectrum selection decision making strategy is exploited in order to carry out a long-term prediction of the interference dynamic of the spectrum blocks. In fact, as long as the belief vector predicts with sufficient accuracy the existing conditions at the decision making time, smart and proper decisions can be made with minimum requirements in terms of observations. Moreover, further observation strategies have been considered associated to the dynamicity of the scenario besides the POMDPs. In particular, such strategies determine the instants when measurements on the radio environment need to be performed. Hence, in the FCMF the prediction of the environment will enable to choose the most appropriate observation strategy and the associated spectrum selection decision-making criterion broadening the concept of partial observations considered in the ECMF, and then balancing the trade-off between performance and measurement requirements. Firstly, it will be described how the POMDP-based decision making strategy of equation (3.8) is extended in order to exploit the belief vectors of the spectrum blocks for long-term predictions; then, it will be illustrated the introduction of the new entities in the FA introduced in Section 3.3 that enable to smartly characterize the scenario dynamicity in the FCMF and how they interact with the existing modules of the FA defined to implement the ECMF. The main contributions of this solution respect to the framework proposed in Section 3.3 are the following: (i) the FCMF exploits the belief vector concept for long-term prediction of the environment dynamics in terms of traffic generation patterns and interference states durations. Furthermore, it does not consider only the POMDPs but it takes into consideration different observation strategies to determine the instants when measurements on the radio environment need to be performed assessing the trade-off existing between performance and observation requirements of the cognitive cycle; (ii) the ECMF proposed in Section 3.3 relies only on simulation studies. While in the FCMF, after a previous simulation analysis with the aim to assess the effectiveness of the new definition of the spectrum selection policy, the framework has been designed, developed and evaluated also by means of a real-time testbed; (iii) the FCMF allows acquiring dynamically all the transition probabilities stored in the KD by means of realtime measurements of the spectrum blocks interferences. 3.4 FINAL COGNITIVE MANAGEMENT FRAMEWORK BASED ON BELIEF-VECTOR 51 The interference model and its time evolution is the same as the one defined in the ECMF. Considering the state transition probability given for the i-th spectrum block from state k to k’ given by equation (3.5), the state transition probability matrix for the i-th spectrum block is: ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 0,0 0,1 0, 1,0 1,1 1, ,0 ,1 , ii i K ii i K ii i K K KK pp p pp p pp p    =    i P     (3.13) Moreover, let define ( ) ( ) ( ) ( ) 01 ii i K ππ π  = T i π , where superscript T denotes transpose operation, as the steady state probability vector whose k-th component is the probability that the i-th spectrum block is in the k-th interference state. Each radio link with a data session in course will obtain the reward defined in equation (3.6) that measures the obtained performance for the j-th link depending on the interference state k of the allocated spectrum block i at each time t. Using vector notation, the reward is ( ) ( ) ( ) ( ) ,0 ,1 , ii i j j jK rr r  = T i j r . Considering equation (3.6), the average reward experienced on the j-th link and i-th spectrum block along a session starting to transmit data at time t+1 and ending after a certain duration Dj time steps, can be defined as: ( ) ( ) ( ) ( ) ,, 1 1 j i D ii SESSION j jS t n n j rr D+ = =∑ (3.14) Therefore, the spectrum selection policy proposed in equation (3.7) and executed at time t for the j-th radio link is redefined here to target the maximization of the expected reward that the session will experience along its overall duration: ( ) { } ( ) { } ( ) ( ) ( ) ,, 1,..., 1,..., 1 available available 1 arg max arg max j i D ii j SESSION j jS t n iM iM n j ii a t Er E r D+ ∈∈ =   = =     ∑ (3.15) To be able to estimate the interference state of the different spectrum blocks at future time instants t+n, 58 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES to get multiple time samples of each parameter to be acquired (e.g. the values of the state transition probabilities, steady state probabilities, etc.). The details on the estimation of each parameter will be provided in Chapter 5.  Reliability Tester (Stationarity Analysis). Once the acquisition phase has been completed, the resulting values of the above parameters will be kept in the KD and they will be assumed to be valid as long as the stationary conditions of the environment do not change significantly with respect to the existing conditions at the time when statistics were taken. In case of nonstationary environments, in which the statistical behaviour of the interference in the different spectrum blocks may change after some time, the system needs to implement mechanisms to detect these relevant changes and trigger again the KD acquisition process so that statistics are properly updated. The details on this procedure are, however, out of the scope of this dissertation. As a reference, the hypothesis testing mechanism proposed in [107] to detect this type of changes could be easily adapted to work in the proposed framework. ii. Decision Making entity The Decision Making entity involves SSDM and OSDM entities that are illustrated in the following. • Observation Strategy Decision Making (OSDM). The observation strategy specifies the time instants when the actual interference state in each spectrum block is measured. Then, the OSDM functionality is in charge of selecting the observation strategy to be applied in each spectrum block. The observation strategy should make sure that the time m(i) elapsed between the last observation and the spectrum selection decision-making time t is adequate enough to compute the belief vector b(i)T(t+n) and make accurate decisions based on (3.20). As explained in the previous section this will be related with the interference dynamics in each spectrum block. Therefore, the OSDM functionality will make use of the eigenvalues ( ) 1 i λ associated to each spectrum block provided by the Eigenvalue Analysis function. In addition, the estimation of the belief vector b(i)T(t+n) at the future time instants t+n depends also on the application duration Dj, which will establish the maximum time horizon n over which the belief vector needs to be estimated. To take this into account, the OSDM will also make use of the traffic characterization in terms of the average session duration for all the links D and the average session generation rate ρ (sessions/time step). Then, in this framework the decision making criterion has been implemented to select one of the following observation strategies:  Instantaneous Measurements (IM) strategy. This strategy consists in performing instantaneous measurements of the interference states in all the spectrum blocks at the time t when a new session has to be established, i.e. at the time when the spectrum selection decision making is executed. In this specific case, the belief vector in (3.24) will always be computed 3.4 FINAL COGNITIVE MANAGEMENT FRAMEWORK BASED ON BELIEF-VECTOR 59 with m(i)=0 and therefore it will capture the exact interference state at the decision making time t. Then, the belief vector at t will be given by: ( ) ( ) ( ) ( ) ( ) i t St= iT T bx (3.29)  Periodic Measurements (PM) strategy. This strategy consists in performing periodic measurements of the i-th spectrum block with observation period ( ) i obs T . In this way, the elapsed time m(i) between the last observation of the i-th spectrum block and the decision making time t will always be upper bounded by ( ) ( ) ii obs mT≤ . Then, in order to make sure that the measurement obtained m(i) time steps ago is sufficiently representative of the interference state at time t, it can be sufficient to ensure that the belief vector has not reached convergence during the time between two consecutive observations. According to the abovementioned corollary this can be achieved if the observation period fulfils the following condition: ( ) ( ) 1 1 ln i obs i T λ <− (3.30) Also in this case like for the observation strategies defined in Section a), it will be assumed that only the spectrum blocks that are not allocated to any link will be measured, since they are the only spectrum blocks that can be considered in the decision making process. In turn, when a spectrum block is released, it will also be measured in case that the time since the last observation exceeds ( ) i obs T .  Steady-state (StS) strategy. This is the simple case in which no actual observations are performed. In this case, ( ) i m→∞ so from (3.26) the values of the belief vector will be equal to the steady-state probabilities π(i)T. The rationality of the observation strategies proposed in the Decision Making entity will be assessed in chapters 4 and 5, and it is due to the following considerations:  In low predictable environments (i.e. ( ) 1 i THR λλ < where THR λ is a threshold to be set), the convergence of the belief vector towards the steady state probabilities will be very fast, so measurements made at a given time will no longer be a valid indication of the actual interference state after a short time. In this case, two extreme approaches are considered for the observation strategy depending on the actual needs of the decision making: 1. If the decision making needs to accurately track the actual variability of the environment 60 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES (e.g. this would be the case when decisions need to look only for a very short term period after the decision is made, like when applications generate sessions with a very short duration D in comparison with the duration ( ) 1 1/ ln i λ − to reach the steady-state), the observation strategy would need to ensure that the time m(i) between the last measurement and the decision making time is as close to 0 as possible, so IM strategy that executes measurements just at the time when the decision is made (i.e. each time that a session is generated) is a good option. 2. If the decision making needs to have a longer term perspective (i.e. when the session duration D is larger than the time ( ) 1 1/ ln i λ − needed to reach the steady-state), the steadystate probabilities already provide a good indication of the dynamic behaviour of the interference, so measurements would not actually be needed. Then, the StS strategy is the most preferable option.  In environments with high predictability (i.e. ( ) 1 i THR λλ ≥ ), the convergence of the belief vector towards the steady state can be slower. This means that the observations made at a certain time can be representative of the actual behaviour over a longer time horizon (i.e. over a longer time m(i)). Also in this case the following extreme approaches are taken into account: 1. For session durations D shorter than the time ( ) 1 1/ ln i λ − needed to reach the steady state, it will be worth to use previous measurements (either through IM or PM strategies) because they can be representative of the spectrum block state along the session duration. In this case, the choice between IM and PM is related to the session arrival rate ρ that reflects the rate at which the spectrum selection decision making is triggered. In particular, if the session arrival rate is high in comparison with the observation period () i obs T of PM (i.e. ( ) 1/ i obs T ρ > ) this strategy becomes a good option because each observation made will be applicable for multiple spectrum selection decision making processes associated to the new sessions generated between two consecutive observations. In this way, this can substantially reduce the signalling and battery consumption associated to the measurement procedures in comparison to IM that would make measurements for every new generated session. On the contrary, if the session arrival rate is low (i.e. ( ) 1/ i obs T ρ < ) meaning that the spectrum selection decision making will be mainly inactive between two consecutive observation periods, IM becomes a better option, because it only makes the measurements at the time when they are needed. 2. In the case of long session durations (i.e. larger than the time needed to achieve the steady state ( ) 1 1/ ln i D λ >− ) the average reward achieved along the session duration will be 3.4 FINAL COGNITIVE MANAGEMENT FRAMEWORK BASED ON BELIEF-VECTOR 61 mainly driven by the steady-state behaviour of the spectrum block instead of the actual measurements at session initiation, so in this case the simpler StS strategy becomes a good choice. Figure 3.8 summarizes the decision making criterion implemented in the OSDM entity to choose the observation strategy that better fits the radio environment conditions. From the figure it can be observed that:  IM strategy is selected either in case of low predictability and short sessions, or in case of high predictability, short sessions and low session rate.  StS strategy is selected either in case of low predictability and long sessions, or in case of high predictability and long sessions.  PM strategy is selected in case of high predictability, short sessions and high session rate. Figure 3.8: Decision making criterion for the selection of the observation strategy • Spectrum Selection Decision Making (SSDM). It will be in charge of executing the Spectrum Selection decision making each time that a new session is established in a certain radio link. For that purpose, it will implement the decision making criterion given by (3.16) based on the general decision function (3.20). This general decision function can be particularized for each of the observation strategy selected by the OSDM as follows:  IM strategy. In this case, the belief vector at the decision-making time t is given by (3.29). Then, by considering (3.29) and the estimation of the future belief vector given by (3.25) in the general decision making function (3.20) it yields: 62 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES () () () ( ) ( ) ( ) ( ) 1 1 j Dn ii jn j t St D=   Φ=     ∑ ii Tj x Pr (3.31)  PM strategy. In this case, the general decision making function (3.20) can be computed from the belief vector b(i)T(t) at the decision-making time t given by (3.24) and its future evolution given by (3.25), yielding: ( ) ( ) ( ) ( ) ( ) ( ) 1 1 j Dn i jn j tt D =   Φ=     ∑ iT i i j b Pr (3.32)  StS strategy. In this case ( ) i m→∞ , so from (3.26) the belief vector yields ( ) ( ) ( ) t→ iT iT bπ . Then, by using (3.25) and (3.26), the general decision making function (3.20) becomes: () () ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 1 11 1 1 lim 11 1 j i jj j Dn i jmn j DD nn nn jj D n j tt D DD D →∞ = = = =   Φ= =          ===            = = ∑ ∑∑ ∑ iT i i j iT i i iT i i jj iT i iT i jj b Pr π Pr πPr πr πr (3.33) The Belief Computation entity in the KM will provide the decision making with the values of the belief vector b(i)T(t), the state transition probability matrices P(i) and the reward vector ( ) i j r so that the abovementioned decision making functions (3.31) to (3.33) can be computed in accordance with the observation strategy. 3.5 SUMMARY 63 iii. Context Awareness entity This entity keeps the functionality implemented in the first version of the framework. Hence, it is in charge of acquiring the required measurements to support the operation of the Knowledge Management entity. Specifically, it will provide the different observations o(i)(t) = S(i)(t) that will be used by the KM and will be stored in the KD. Measurements in the extended version will be triggered by the OSDM functionality in accordance to the observation strategy or by the KD Acquisition functionality (e.g. at initial acquisition or after detecting a change in the stationary conditions in order to fill the contents of the KD). Measurements will be delivered to the KM and/or the KD Acquisition that will process them to obtain the KD statistics. Measurements done by the CA can be carried out at either the centralized entity or at other nodes of the different links. In this case, the CA will rely on the Control entity to communicate with these nodes and retrieve the measurements. iv. Control entity Also the control entity keeps its previous functionality providing the signalling means to support the communication between the cognitive management entity and the different nodes of the network. Hence, in the context of the spectrum selection process considered in this framework two main functions are envisaged for this control entity: • Whenever a new session has to be established in a given radio link, the control entity will trigger the decision making requesting the allocation of a spectrum block and will inform the involved nodes about the result of this allocation. • Whenever the CA needs to collect a measurement at a certain node of the network, the control entity will exchange the necessary signalling messages with this node in order to request and retrieve the measurement. The signalling exchange relies on a cognitive control channel that allows the transmission of different information elements and the realization of diverse operations within a cognitive radio system. Details on the specific implementation and signalling exchange can be found in [81] and [95]. 3.5 Summary This chapter has presented the cognitive management frameworks and the strategies proposed in this dissertation to support spectrum management exploiting CR networking. The first cognitive management framework (i.e., the BCMF) has been considered as a baseline for deriving spectrum management solutions. In details, the considered FA represents a centralized architecture, which enables the formulation of strategies for spectrum management, particularly for creation and maintenance stages of 64 3. PROPOSED COGNITIVE MANAGEMENT FRAMEWORKS AND SPECTRUM MANAGEMENT STRATEGIES the ON life cycle. The FA of the BCMF is composed of a DSM designed for spectrum opportunity identification and a CMON-N implemented for spectrum selection. Moreover, the CMON-N is made of a decision making process associated to creation, maintenance and termination stages that achieves the information on spectrum opportunity identification from the DSM. Furthermore, in the module are implemented a control mechanism, which executes the decisions taken, the Knowledge Management module that allows exploiting the cognitive features and the CA, which provides the necessary inputs about the radio environment conditions to the decision-making strategies. Inspired on this first framework, the second framework proposed in this dissertation (i.e., the ECMF) has been based on the CR cycle paradigm with the aim to perform efficient decision-making strategies for spectrum selection in CRNs. The POMDPs have been proposed as decision-making strategy in order to exploit partial observations at specific periods of time with a statistical characterization of the system dynamics through a first definition of the belief vector concept. The second framework has been further expanded, and a third framework (i.e., the FCMF) has been defined to exploit the belief vector as a long-term means to characterize and predict the environment dynamics. Moreover, different observation strategies have been implemented each one selected appropriately to balance the trade-off between performance and measurement requirements. The FAs of the ECMF and the FCMF are both based on: (i) a Knowledge Management module that includes a KD, which stores the information about the statistics of the radio environment and a KM that is in charge of updating such information; (ii) a Decision Making that selects the most appropriate spectrum block each time that a new session is established in a certain radio link; (iii) a CA, which performs observations through measurements of the interference states triggered by the Decision Making; (iv) a Control module that manages message exchange between the terminals and the cognitive management frameworks to support the establishment/release of radio links. Although the main modules of these solutions are the same, essential new functionalities with the aim to characterize the radio environment dynamic have been developed in the FA of the FCMF. Chapter 4 Evaluation through Simulations 4.1 Introduction To validate the effectiveness of the spectrum management strategies based on the CR cycle proposed in Section 3.3 and Section 3.4, the corresponding cognitive management frameworks have been implemented through a Matlab-based simulator. The simulator represents the first step towards the assessment of the proposed solutions, which have also been analysed through emulation platforms that enable real-time evaluations, as it will be described in Chapter 5. In this chapter the main principles of the simulator and the performance study of the spectrum management strategies are presented. In particular, in Section 4.2 details on the evaluation scenario are provided; while, in Section 4.3 the Key Performance Indicators (KPIs) considered in order to assess the performance of the proposed strategies are presented. In Section 4.4 the results of the performance assessing the POMDP-based strategy implemented in the ECMF and described in Section 3.3 are illustrated. Then, in Section 4.5 performance results are presented in order to assess the belief-based decision-making approach implemented in the FCMF proposed in Section 3.4 depending on several traffic generation patterns and particularised to the different observation strategies that can be selected in the Observation Strategy Decision Making (OSDM) entity. Finally, concluding remarks are given in Section 4.6. 4.2 Evaluation Scenario The considered scenario assumes that a set j of radio links are controlled by the centralized management entity that resides at the infrastructure side in charge of deciding the spectrum block belonging to the set i to be used by each radio link. Some illustrative use cases where this system model can be applicable are: (i) a Digital Home (DH) scenario in which different devices need to communicate; (ii) a set of cognitive 66 4. EVALUATION THROUGH SIMULATIONS small cells deployed in a cellular network that make use of additional spectrum to increase the network capacity; (iii) an opportunistic Device-To-Device (D2D) radio link created to extend the coverage of certain cellular terminals that are outside the coverage area of the cellular infrastructure. In the context of this dissertation a realistic DH environment has been implemented in the simulator to evaluate the effectiveness of the proposed strategies. A set of i = 5 spectrum blocks has been considered. Blocks B1 and B5 belong to the ISM band at 2.4 GHz with bandwidth 20 MHz. Spectrum blocks B2, B3 and B4 belong to the WSs in the TV band operated at frequencies 400, 800 and 600 MHz, respectively. Their bandwidths are 16, 24 and 16 MHz, respectively. Three different interference states are considered for the five spectrum blocks. A set of j = 3 links is considered in the evaluation. The j-th link is supposed to generate sessions whose duration is exponentially distributed with average Dj which is varied in the different simulations. The time between the end of a session and the beginning of the next one is also exponentially distributed with average Tinter also varied in different simulations. The simulator takes as input different parameters that characterize the scenario such as the duration of the interference states of the spectrum blocks, the bit rate requirements, the Tobs parameter in case of partial observations and the overall duration of the simulation. The bit rate requirement considered throughout this chapter reflects possible DH entertainment applications; in details, for the link 1 it is Rreq,1=200 Mb/s, while for links 2 and 3 it is Rreq,2= Rreq,3=100 Mb/s. The simulated DH scenario consists in an indoor environment in a single floor of dimensions 16.8m x 30.4m organised in six different rooms. The propagation losses between any two positions are computed using the following model [108], [109]: () ( ) 0 ( ) 20log 10 log ww L dB L f MHz d m N L α =+ ++ (4.1) where L0=-27.55 dB is the free space loss, α is the propagation coefficient with the distance between transmitter and receiver d expressed in meters, f is the frequency used for the communication, Nw is the number of traversed walls between transmitter and receiver, and Lw is the attenuation of one wall dependent on the material and width. In this scenario walls are considered made out of bricks with a width of 15cm, while the ceiling height is around 3.5m. Based on measurements, the estimated values of the propagation model in this scenario resulted to be α=2.6 and LW=5.1 dB [108]. The considered relationship between the bit rate experienced by the j-th link in the i-th spectrum block and the interference conditions is given by: 4.2 EVALUATION SCENARIO 67 ( ) , ,2 0 max , log 1 j ji ji i ji i i P L R BW N I BW σ    = +  +   (4.2) where BWi is the total bandwidth of the i-th spectrum block, Pj is the transmit power in link j and Lj,i are the propagation losses associated to link j when using the i-th spectrum block according to equation (4.1). No is the background noise spectral density and the term Imax,j,i· σ i is the interference spectrum density when using the i-th spectrum block depending on its interference state, as described in Section 3.3. Simulations take into account No=-164 dBm/Hz. All the simulation parameters related to the links to evaluate Rj,i are summarized in Table 4.1. Table 4.1: Characteristics of the Links Parameter Value Link 1 Transmission Power 20 dBm Distance 10 m Nw 1 Link 2, 3 Transmission Power 20 dBm Distance 20 m Nw 3 The interference that affects the five spectrum blocks implemented in the simulator are defined as follows: • For the spectrum block B1 that belongs to the ISM band, the interference comes from an external interferer located at 20m, traversing 2 walls and with average transmit power of 20 dBm in interference state 1 and 10 dBm in interference state 2. • For the spectrum blocks B2, B3 and B4 that belong to the white spaces in the TV band, the interference causes a reduction in the signal-to-noise ratio of 10 dB in interference state 1 and a reduction of 40 dB in interference state 2. These reductions are associated to different densities of White Space Devices (WSDs) located in the surroundings of the building. • For the spectrum block B5 that also belongs to the ISM band, the interference comes from another external interferer located at 10m, traversing 1 wall and with average transmit power of 20 dBm in interference state 1 and 10 dBm in interference state 2. 74 4. EVALUATION THROUGH SIMULATIONS (a) (b) (c) Figure 4.3: Performance Results as a function of the coefficient t 4.4 PERFORMANCE RESULTS OF THE POMDP-BASED FRAMEWORK 75 However, as seen in Figure 4.3(c), this is achieved with a very significant reduction in the observation rate with respect to FO. For instance, when t is 0.1 with AO the observation rate is reduced in 89% with respect to FO, while for PO the reduction is 72% and 88% for the cases Tobs=60 and Tobs=150 time steps, respectively. In turn, the reward and satisfaction achieved with AO and t=0.1 is only 3% less than with FO, while the reduction with PO is between 1.5% and 3% depending on Tobs. Then, AO strategy with setting t=0.1 is a good trade-off among the considered fixed Tobs period values of PO strategy. Moreover, increasing factor t tends to degrade the performance of AO because of the longer time between observations. To further gain insight in the capability of the AO strategy to adapt to interference dynamics, the impact of varying the average durations of the interference states for each spectrum block has been analysed. Hence, the durations of Table 4.4 have been multiplied by a factor varied between 0.5 and 3. Figure 4.4 presents the corresponding performance in terms of observation rate for the different strategies, considering t = 0.1 for the AO one. From the figure it can be observed that the observation rate requirements for AO are significantly reduced when the state durations are longer, which leads to further improvements in comparison with FO and PO. For instance, when the durations are multiplied by a factor 3, AO strategy allows a reduction in the observation rate of 75% with respect to PO with Tobs=150 time steps and of 89% with Tobs=60 time steps. This reduction is achieved without having a significant impact in terms of neither reward nor satisfaction. Specifically, the obtained values for all the considered strategies range from 0.68 to 0.70 in the case of the reward, and from 72% to 76% in the case of the satisfaction. Figure 4.4: Performance Results as a function of the average duration of the spectrum blocks states 76 4. EVALUATION THROUGH SIMULATIONS In summary, an adaptive observation strategy able to modify the observation rate requirements in accordance with the observed interference dynamics allows further reduction in the observation rate with respect to a periodical approach. 4.5 Performance results of the Belief-based framework Once assessed the usefulness of the POMDP-based solution, in this section performance evaluation of the belief-based one implemented in the FCMF proposal introduced in Section 3.4 is analysed. The objective of this section is to assess the observation strategies under different environment conditions in terms of the traffic generation patterns. In details, simulation results aim at demonstrating that a proper characterization of the traffic in terms of the average session duration for all the links D and the average session generation rate ρ will drive the OSDM in the Decision Making entity to select the observation strategy that better balance the trade-off between achievable performance and measurement requirements. Hence, the simulator has been extended in order to consider also new entities of the extended FA of the FCMF described in Figure 3.7, such as: the Belief Computation module that updates the belief vectors of the spectrum blocks following the new observation strategies implemented in the Decision Making; the Eigenvalue Analysis module implemented to determine the predictability of the interference conditions that characterize the different spectrum blocks. Notice that in this case the KD Acquisition entity has not been implemented in the simulator; in fact, the values of the parameters stored in the KD are supposed to be obtained after an initial acquisition mechanism that is out of the scope of this chapter and that will be presented in Chapter 5. Since the objective of this study is to assess the observation strategies depending only on the traffic generation patterns, the interference conditions of the five spectrum blocks do not change during the simulation campaign. In details, the average durations of the states for each spectrum block are presented in Table 4.5. Furthermore, the corresponding second highest eigenvalues, which drive the convergence of the belief vector of the transition probability matrices, are 0.994 for B1, B2 and B3, 0.991 for B4 and 0.993 for B5; moreover, λTHR is assumed to be 0.95. Therefore, the considered eigenvalues reflect the high predictability defined in Figure 3.8. The durations defined in Table 4.5 have been considered to compute and store in the KD the state transition probability matrix P(i) and the steady state probability π(i) for the different spectrum blocks. While, for each link the session durations and the session generation rates of the data transmissions are varied in the different simulations and they are exponentially distributed with averages, respectively, j D (time steps) and ρj (sessions/time step). Finally, different values of Tobs for PM strategy and simulation time TSIM=10000 time steps have been taken into account. 4.5 PERFORMANCE RESULTS OF THE BELIEF-BASED FRAMEWORK 77 Table 4.5: Durations of the Interference States for the different Spectrum Blocks in case of high predictably State B1 B2 B3 B4 B5 Si=0 480 steps 120 steps 480 steps 240 steps 360 steps Si=1 120 steps 120 steps 120 steps 120 steps 160 steps Si=2 120 steps 480 steps 160 steps 60 steps 60 steps The performance of the different strategies as a function of the session rates ρ is presented in Figure 4.5 in terms of average system session reward, satisfaction probability for the different links and observation rate. Also in this study the random strategy is considered as additional baseline reference. j D = 15 time steps and Tobs=10, 50 and 100 time steps in case of PM strategy, in order to fulfil condition (3.30), are considered in these results. While, j D and ρ are the same for all the links. Firstly it can be observed how all the proposed strategies allow achieving a clear improvement in terms of both reward and satisfaction probability with respect to the random selection of the spectrum block. The IM strategy, which makes decisions based on the most recent information at the decision making time, achieves the best performance in terms of reward and satisfaction probability. However, it can be observed in Figure 4.5(c) that the observation rate increases linearly with the session generation rate, because each time a new session arrives it requires performing observations on all the available spectrum blocks. Regarding StS strategy, from the perspective of observation rate it would be the best strategy because it does not require observations at all. However, its performance in terms of reward/satisfaction is highly degraded with respect to IM in the considered scenario (reward reductions of around 35% can be observed in Figure 4.5(a) because decisions are made without considering the real interference state of the spectrum blocks. Concerning PM strategy, the figure reflects that the proper setting of the observation period Tobs should result from the trade-off between reward and observation rate, even if its value fulfils condition (3.30). In fact, low values such as Tobs=10 time steps lead to a large reward at the expense of an increase in the observation rate, as seen in Figure 4.5(a) and Figure 4.5(c), respectively. In turn, when increasing the value of Tobs the observation rate can be substantially reduced. However, this is at the expense of degrading the reward, because the time elapsed between the measurements and the decision making time increases with Tobs and thus the belief becomes less accurate. Taking as a reference the reward degradation with respect to IM, values of Tobs between 50 and 100 time steps achieve a good trade-off between reward/observation rate in this scenario, because the reward reduction with respect to IM is around 10%, while a very significant reduction in terms of observation rate is achieved, particularly for large session generation rates ρ. 78 4. EVALUATION THROUGH SIMULATIONS (a) (b) (c) Figure 4.5: Performance Results as a function of the session generation rate 4.5 PERFORMANCE RESULTS OF THE BELIEF-BASED FRAMEWORK 79 It is also worth mentioning that, while the observation rate in IM increases linearly with the session generation rate ρ (see Figure 4.5(c)), in the case of PM it decreases slightly with ρ. This slight decrease, particularly noticeable in Figure 4.5(c) for the case Tobs=10 time steps, is due to the fact that observations in PM are only carried out in the spectrum blocks that are not allocated to any link, so observation rate decreases when increasing the spectrum block occupation (i.e. when increasing ρ). Figure 4.6 presents the performance comparison between the different strategies as a function of the average session duration j D . In this case Tobs=50 and 100 time steps are considered. The time between the end of a session and the beginning of the next one Tinter is exponentially distributed with average 50 time steps. From the figures it can be noticed how, for short session durations the comparison between the different techniques leads to similar conclusions as those obtained in Figure 4.5. However, for long session durations it is observed that IM, PM and StS techniques tend to converge towards similar values of the reward. The reason is that, when a spectrum block is allocated to a link for a long time, the link will tend to experience the steady-state conditions in this spectrum block. Therefore, the reward estimation based on the steady-state probabilities made by the StS at the decision-making time becomes a good estimate of the actual performance that will be achieved. Correspondingly, for long session durations, StS becomes the most adequate strategy because it is capable of properly estimating the performance without requiring any observations. In summary, based on the obtained results it can be concluded that the traffic generation pattern plays a key role when the OSDM has to select the most adequate observation strategy in the belief-based decision making approach. On the one hand, for long session durations, the approach selected by the OSDM would be the decision making based on steady-state conditions because it allows properly estimating the performance without requiring dynamic observations of the environment. On the contrary, for shorter session durations the choice between IM and PM is related to the session arrival rate ρ that reflects the rate at which the spectrum selection functionality is triggered. In particular, a belief-based decision making with periodic observations would be the selected approach by the OSDM for large session generation rates ρ as long as the observation period is properly set, because it allows achieving good performance in terms of reward while significantly reducing the observation rate requirements. In details, in the considered scenario, a proper setting of the observation period included between 50 and 100 time steps allows the periodic approach performing better than IM for session generation rates ρ approximately above 1/Tobs, while for lower session generation rates the OSDM would select the IM approach that is more convenient than the PM one. Motivated by the obtained results, a detailed assessment of the FCMF including also low predictable conditions and the KD acquisition entity will be performed in an actual environment by a real-time testbed in the next chapter. 80 4. EVALUATION THROUGH SIMULATIONS (a) (b) Figure 4.6: Performance Results as a function of the session durations 4.6 Summary This chapter has presented the simulation-based performance results of the spectrum management strategies based on the CR cycle proposed in this dissertation. The main conclusions that can be drawn from this performance assessment are summarized as follows. The assessment of the use of partial observations in the Decision Making entity has revealed that the POMDP-based strategy implemented in the ECMF enables the achievement of similar performance in terms of reward and satisfaction as the full observation approach making decisions based on accurate knowledge about the actual interference state in all the available spectrum blocks. Nevertheless, through the combination of partial observations of the system at specific time instants and the statistical 4.6 SUMMARY 81 information stored in the Knowledge Database, it has been shown that the ECMF approach requires a much lower measurement rate compared to the full observation scheme. In addition, it achieves a significant performance gain in terms of reward with respect to a random spectrum selection and to a strategy that makes decisions based on static knowledge of the spectrum block statistics. Regarding the impact of the observation strategy implemented in the Decision Making entity, it has been obtained that the POMDP-based solution characterized by an adaptive observation strategy is able to modify the observation rate requirements in accordance with the observed interference dynamics, thus allowing a further reduction in the observation rate with respect to a periodical approach. The analysis of the belief-based policy proposed in the FCMF has revealed that the characterization of the traffic in terms of the average session duration and the average session generation rate allows the OSDM entity selecting the observation strategy that better balances the trade-off between achievable performance and measurement requirements. In details, the simulation results have shown that, for long session durations a steady state-based strategy that does not require dynamic observations becomes the best approach to be selected. In turn, for short session durations the use of periodic measurements achieves a good trade-off between reward and observation rate for large session generation rates, while for low session generation rates the use of instantaneous measurements made at the decision making time is the option that would be selected by the OSDM. Chapter 5 Evaluation through Real-Time Testbed 5.1 Introduction This chapter presents the real-time testbed developed to implement and evaluate the spectrum management solutions proposed in this dissertation. In details, the first version of the testbed consists of wireless software-defined nodes that provide a hardware platform supported by software for emulating spectrum management strategies in ONs. Then, the testbed has been extended in order to evaluate the proposed belief-based spectrum selection strategy. The chapter is organized as follows. Section 5.2 presents the implementation of the individual node with details about hardware and software components. Moreover, the implementation and validation of the functionalities provided by each node are described. Section 5.3 illustrates the architecture of the first version of the platform for the implementation of the BCMF and the emulation results assessing the proposed solutions for spectrum opportunity identification and spectrum selection in ONs. In turn, Section 5.4 describes the architecture of the extended version of the platform for the implementation of the FCMF and the emulation results that assess the proposed belief-based spectrum selection strategy. Finally, concluding remarks are given in Section 5.5. 5.2 Individual Node Each individual node is implemented through Universal Software Radio Peripheral (USRP) version 1 integrated boards [110] controlled by a Personal Computer (PC) running Linux Operating System (OS) where GNU radio [111] software for properly configuring the transmission and reception parameters of the USRP modules is implemented. The Linux OS was selected for the implementation of the testbed for its capability to guarantee appropriate levels of real-time management while guaranteeing a high degree of flexibility, and for its interprocess communication methods considered in order to exploit the auto reconfigurability functionality of the hardware. 90 5. EVALUATION THROUGH REAL-TIME TESTBED block have been set, respectively, to Pmin=30 and Pmax=300. Correspondingly, the available set of portions between 2442 to 2500 MHz with a total of 58 MHz has been split into 2 blocks of 29 MHz (i.e., each one of 290 blocks). Hence, it can be concluded that the measurement procedure of the spectrum opportunity identification strategy validates the capability of the individual node to detect the spectrum portions free of the interference caused by the APs whose configuration is known. Moreover, it was assessed how the spectrum block formation procedure of the spectrum opportunity identification strategy is able to define available spectrum blocks guaranteeing the conditions dictated by Pmin and Pmax. This validation has motivated the development of the testbed platforms that will be illustrated in the next sections ensuring their capability of perceiving correctly the actual condition of the spectrum band under study. Figure 5.6: Measured Spectrum Opportunity Index Table 5.1: Spectrum blocks obtained as a result of the spectrum opportunity identification strategy Index Central Frequency (MHz) Bandwidth (MHz) 1 2401.500 3 2 2422.000 4 3 2456.500 29 4 2485.500 29 5.3 Baseline Testbed 5.3.1 Testbed Architecture The objective of this testbed is to provide a real-time platform that allows implementing the BCMF and evaluating the spectrum management solutions for ONs illustrated in Section 3.2.2. For that purpose, a scenario is considered where two devices need to communicate through an ON link controlled by the 5.3 BASELINE TESTBED 91 infrastructure that includes the BCMF. Hence, spectrum opportunity identification and spectrum selection functionalities reside in the infrastructure node. Figure 5.7 illustrates the developed testbed. Figure 5.7: Testbed Architecture for Spectrum opportunity Identification and Spectrum Selection in ONs Node#1 represents the infrastructure side where the DSM for spectrum opportunity identification and all the functionalities of the CMON-N for spectrum selection in case of ON creation and ON maintenance are implemented. In turn, Node#2 and Node#3 are the terminals exchanging data through the ON link. Node#2 is programmed to monitor periodically the performance achieved in the selected spectrum channel and sent to Node#1. In order to illustrate how the BCMF is able to detect and react to time-varying interference conditions over the different spectrum channels during the ON maintenance, a controlled interference source is also included. It is implemented as Node#4, whose operating frequency at each time can be defined as part of the testbed configuration set-up. Moreover, the periods in which the interference source is active or inactive are also controlled following specific patterns whose statistic can also be configured. A single RAT is considered and, therefore, the JRRM module in ETSI RRS functional architecture is omitted in the implemented testbed. It can be observed from Figure 5.7 that the signalling flow is implemented through the Control Channel for the Cooperation of the Cognitive Management System (C4MS) protocol, which uses the implementation option based on IEEE 802.21 “Media-Independent Handover (MIH) Services” [114]. C4MS constitutes a key element for the operations of the ONs life cycle because it enables the delivery of guidance/assistance information among the nodes of ONs and providing means for their management. 92 5. EVALUATION THROUGH REAL-TIME TESTBED 5.3.2 Evaluation of Spectrum Selection The purpose of this section is to evaluate the performance of the spectrum selection strategy based on the fittingness factor concept proposed in Section 3.2.2 and implemented in the testbed. For benchmarking purposes, a random spectrum selection scheme is considered. a) Configuration In the scenario illustrated in Figure 5.7, the two terminals forming the ON (i.e., Node#2 and Node#3) need a spectrum block to transmit data in the ON link under the infrastructure (i.e., Node#1) control. The allocated spectrum block is selected by the Decision Making implemented in the Node#1 following equation (3.4) among the blocks resulting from the spectrum opportunity identification executed in the ISM 2.4 GHz band. Once the spectrum is assigned, Node#2 is the data transmitter and Node#3 the receiver. Since the main objective of this section is to assess the spectrum selection strategy, it is supposed that the spectrum opportunity identification has been executed considering Pmin=Pmax=50 and its result is represented by the spectrum blocks illustrated in Table 5.2. Table 5.2: Result of the spectrum opportunity identification strategy Index Central Frequency (MHz) Bandwidth (MHz) 1 2472 5 2 2484 5 Moreover, the external interference (i.e., Node#4) is configured to operate on the specific spectrum block centred at 2.472 GHz. The activity of this external interference is automatically adjusted following the transmission patterns indicated in Table 5.3, considering 4 different experiments whose duration is 10 minutes each. The spectrum block centred at frequency 2.484 GHz is available during the overall experiment, although it is subject to some spurious uncontrolled interference existing in the environment. Statistics obtained in this spectrum block indicate that it is free of interference during 99.92% of the time. These activities are supposed to be known and stored in the Knowledge Management. The ON link is configured to generate sessions with a certain average duration and an inactivity time between them, shown in Table 5.3 as well. The requested bit rate for the link is 512 kb/s with GMSK modulation; while, the available bit rate is 512 kb/s when the spectrum blocks are free of interference and 0 kb/s otherwise. Consequently, the fittingness factor achieved by the link using the spectrum block centred at 2.472 GHz ranges between 0 (when the interference is active) and 1 (when the spectrum block is free of interference and the available bit rate equals the requested one); while, the fittingness factor obtained using the spectrum block centred at 2.484 GHz is able to reach its maximum value during all the experiments. 5.3 BASELINE TESTBED 93 Table 5.3: Activity patterns of the external interference and the ON link Experiment Average inactivity time interferer Average activity time interferer Average inactivity time ON link Average session duration ON link 1 300s 300s 30s 60s 2 300s 60s 30s 60s 3 60s 300s 30s 60s 4 300s 300s 90s 120s b) Key Performance Indicators In order to assess the performance of the proposed spectrum selection strategy, two KPIs are taken into account. In this case the stop and wait error-control method provided by the data transmission functionality implemented in the individual node is exploited to evaluate the spectrum selection strategy. Hence, in this study the following KPIs are considered: • Efficiency in the data transmission: it is defined as the ratio between successfully transmitted data packets in the ON link and total number of transmitted data packets including retransmissions. This KPI is periodically computed by Node#2. • Spectrum HO rate (SpHO): it is defined as the ratio of spectrum handovers per unit of time that have occurred during the experiment in the ON link. The spectrum handover procedure is executed whenever the efficiency falls below 80%. c) Obtained Results Four experiments characterized by different durations of the interference activity on the spectrum block centred at 2.472 GHz, and average link activity are considered in this study. Results compare the behaviour of the proposed spectrum selection strategy based on the fittingness factor against a random spectrum selection. For that purpose, each experiment has been carried out two times, one per strategy. Figure 5.8 plots the results of experiment 1 in terms of efficiency observed by the ON link. Notice that only the periods in which a session in the ON link has been established are plot. The results for the execution of the random strategy are plot in Figure 5.8(a) and the results for the fittingness factor-based strategy are plot in Figure 5.8(b). Notice that, although the statistical pattern is the same for the two executions, the actual durations of each session are different due to the randomness in the session generation. In this experiment, the interferer in one of the spectrum blocks is active 50% of the time, with an average duration much longer than the session duration of the ON link. Correspondingly, in the random spectrum selection (see Figure 5.8(a)) spectrum handovers need to be carried out soon after if the allocation has been performed in this block during the ON maintenance phase in case the interference arises in the allocated block. This can be observed in the figure because the efficiency falls below the limit of 80%. The resulting spectrum handover rate observed during the whole execution for the different experiments with the random strategy is indicated in Table 5.4. On the contrary, 94 5. EVALUATION THROUGH REAL-TIME TESTBED with the fittingness factor based spectrum selection strategy the efficiency is kept at a high level during the whole execution and correspondingly no spectrum handovers are required. (a) (b) Figure 5.8: Spectrum Selection Results of experiment 1 - (a) Random, (b) Fittingness factor-based Figure 5.9 plots the results corresponding to experiment 2. In this case, the duration of the interferer activity is much lower (17% of the time with an average duration of 60s). (a) (b) Figure 5.9: Spectrum Selection Results of experiment 2 - (a) Random, (b) Fittingness factor-based As it can be noticed in Figure 5.9(a) and Table 5.4, the resulting SpHO rate for the random case is more reduced than with experiment 1. In any case, the fittingness factor achieves a better efficiency (see Figure 5.9(b)). In experiment 3, the activity factor of the interference is 83%, so it is most of the time interfered. As a result, it can be observed in Figure 5.10(a) that the random selection strategy is able to keep a good degree of efficiency by executing a high number of spectrum handovers, resulting in the largest SpHO rate among 5.3 BASELINE TESTBED 95 all the experiments, as seen in Table 5.4. Again, the fittingness factor spectrum selection provides the best performance. (a) (b) Figure 5.10: Spectrum Selection Results of experiment 3 - (a) Random, (b) Fittingness factor-based Finally, experiment 4 illustrated in Figure 5.11 considers that the interferer has the same activity pattern as in experiment 1 (50% of activity) but with much longer session durations in the ON link. (a) (b) Figure 5.11: Spectrum Selection Results of experiment 4 - (a) Random, (b) Fittingness factor-based In this case, the SpHO for the random selection case is more reduced than with experiment 1 as shown in Table 5.4. The reason is that, once a SpHO is executed during the ON link session, if the new allocation is done over the spectrum block with less interference, it is possible to keep it until the end of the session. In any case, fittingness factor based spectrum selection is able to provide again a much better performance. 96 5. EVALUATION THROUGH REAL-TIME TESTBED Table 5.4 : Spectrum Handover rate for the random selection Experiment SpHO rate (HO/min) 1 2.2 2 0.5 3 2.8 4 0.6 5.3.3 Demonstration of Opportunistic Network Management The aim of this section is to illustrate how the result of the spectrum opportunity identification strategy is used to perform the spectrum selection functionality in a scenario where the interference conditions vary during the ON management phase and, therefore, can affect the performance of the selected spectrum. Furthermore, the demonstration highlights the signaling means implemented in the platform, which support the different ON stages. To this end, in the scenario illustrated in Figure 5.7 the terminals (i.e., Node#2 and Node#3) will constitute an ON to exchange data through the ON link. The first step of this demonstration is the ON creation, which includes the execution of the spectrum opportunity identification and the spectrum selection strategies by the Node#1. Once the ON has been created, the transmission of data between Node#2 and Node#3 starts on the spectrum block assigned by Node#1. At this stage, the ON is in maintenance mode and the Node#2 starts to monitor the radio link. If the node perceives degradation in the data transmission, it triggers the ON reconfiguration in order to achieve a cleaner spectrum block. The signalling messages flow exchanged among the nodes implemented in the baseline testbed follows the procedures for the ON creation and ON reconfiguration of the Message Sequence Chart (MSC) based on the MIH defined in [114]. The procedure for the ON creation implemented in the testbed is illustrated in Figure 5.12. The steps of the procedure that lead to the creation of the ON are the following: 1. The first step towards the ON Creation (ONC) is the ON Negotiation (ONN) that allows achieving the information used for the configuration of the radio link. Hence, the message MIH_C4MS_ONN.request defined to start the negotiation is sent from Node#2 to Node#1 to obtain a valid configuration of the radio link. The message indicates the terminals involved (i.e., Node#2 and Node#3) and the QoS requirements that the link is expected to support, in terms of required bit rate. 5.3 BASELINE TESTBED 97 Figure 5.12: Implemented message exchange for the ON creation 2. Node#1 sends a MIH_C4MS_ONN.request to Node#3 informing it about the intention to establish a direct radio link with Node#2 and allowing it to join the negotiation process for the derivation of the radio link configuration. 3. Node#3 replies to Node#1 with a MIH_C4MS_ONN.response message, notifying its acceptance for the establishment of the link. 4. The CMON-N entity in the BS inquires the DSM entity to determine spectrum availability for the link. Therefore, the spectrum opportunity identification strategy is executed. 5. DSM reply provides the CMON-N entity in the BS the available spectrum blocks, and the spectrum selection strategy is executed to decide the spectrum block to be allocated to the link. 6. The proposed ON configuration with the selected spectrum is transferred to Node#2 by issuing a MIH_C4MS_ONN.response message. 7. Then the ONC can be started. Hence, Node#2 sends the message MIH_C4MS_ONC.request defined to start the creation to Node#1 with the final ON configuration. 8. Node#1 sends another MIH_C4MS_ONC.request towards Node#3 with the final ON configuration. 9. Node#3 replies with a MIH_C4MS_ONC.response message with a successful result-code indicating that the terminal is ready to establish the link. 10. Node#1 concludes the ON creation procedure by sending a MIH_C4MS_ONC.response message to 98 5. EVALUATION THROUGH REAL-TIME TESTBED Node#2. 11. The link establishment takes place at this point. 12. Finally, the creation of the ON is notified to Node#1 from Node#2 by sending a MIH_C4MS_ONSN.indication message. Similarly, Figure 5.13 describes the MSC of an ON reconfiguration process that can take place during the ON maintenance phase. The description of the different steps is as follows: 1. Node#2 detects that the radio link is not performing as expected. In the evaluation of the performance results, this will be due to interference generated by Node#4 in the spectrum currently in use in the radio link connecting Node#2 and Node#3. 2. As in the creation phase, it is considered that ON operational policies dictate that the direct link establishment can be assisted by the infrastructure so that a MIH_C4MS_ONN.request is sent from Node#2 to the infrastructure. This message will indicate the reason (low link quality level), the ON identifier and the required QoS in terms of bit rate. 3. Also as in the creation phase, CMON-N entity in the BS may need to refresh spectrum availability information and determine to send an inquiry to the DSM entity, triggering the spectrum opportunity identification. Figure 5.13: Implemented message exchange for the ON reconfiguration 5.3 BASELINE TESTBED 99 4. DSM reply provides the CMON-N entity in the BS with the available spectrum blocks at this time. Based on this information, the selection of new spectrum blocks to carry out the transmission will be performed. 5. The new proposed ON configuration in terms of selected spectrum is transferred to Node#2 by issuing a MIH_C4MS_ONN.response message. 6. Node#2 sends a MIH_C4MS_ONM.request message (ON-Modification) towards Node#3 with the new ON configuration. 7. Node#3 replies with a MIH_C4MS_ONM.response message where a successful result-code is reported to indicate that the terminal is ready to reconfigure the link with the proposed settings. 8. The link is reconfigured at this step. 9. Finally, the modification of the ON is notified to the infrastructure from Node#2 by sending a MIH_C4MS_ONSN.indication message. Notice that, from the spectrum management perspective, the spectrum opportunity identification strategies used in the ON creation and ON maintenance stages are the same. Similarly, the spectrum selection strategy considered in case of ON creation and ON maintenance stages is also the same, but, as a difference from the ON creation stage, in the ON maintenance case the trigger of the strategy occurs whenever some changes are identified in the environment such as bad channel quality experienced by an active link or a link release while there are other active links. In these two cases, the spectrum selection solution makes decisions on spectrum mobility to modify the current spectrum block allocated to an active link. During the execution of the demonstration, the nodes follow the procedures illustrated in the MSCs of Figure 5.12 and Figure 5.13 for, respectively, ON creation and ON reconfiguration. In details, for the ON creation the allocated spectrum block will be decided by the infrastructure (i.e. Node#1) during the ONN procedure based on the spectrum opportunity identification executed by Node#1 in the ISM 2.4 GHz band. The spectrum opportunity identification procedure is the same explained in Section 5.2.4, but now performing the spectrum sensing functionality during few milliseconds for each portion, averaging the measurements during a period of 10s and with Pmin=Pmax=50. Firstly, Node#2 has sent the MIH_C4MS_ONN.request message to Node#1 to start the negotiation for the creation of ON indicating the requested bit rate. After receiving the MIH_C4MS_ONN.request message from Node#2 and contacting Node#3 to confirm its availability to create the ON, Node#1 executes the spectrum opportunity identification strategy. Table 5.5 illustrates the result of the spectrum opportunity identification at this stage. 106 5. EVALUATION THROUGH REAL-TIME TESTBED c) Obtained Results This section compares the performance obtained in a real-time environment by each of the observation strategies and associated spectrum selection decision-making criteria considered in Section 3.4, namely IM, PM and StS. For that purpose, the different scenarios considered in Table 5.8 are evaluated during a total emulation time Tem= 3600 steps (i.e. 10 hours) starting from the time when the KD statistics have been acquired under the considered convergence criterion. Figure 5.18 to Figure 5.22 present the time evolution of the average system reward for the different strategies in all the scenarios. As a baseline reference the random strategy in which the spectrum block is randomly selected among the available ones at the time that each session is established is also included in the comparison. Table 5.9 summarizes the average reward, throughput and observation rate for the different strategies along the whole emulation time. Moreover, the last column of Table 5.9 indicates the strategy that will be selected by the proposed OSDM approach in each of the considered scenarios assuming λTHR= 0.95. Firstly it can be observed from the figures and Table 5.9 that the proposed strategies in all the scenarios allow achieving a clear improvement in terms of both reward and throughput with respect to the random selection of the spectrum block. Focusing on scenario 1, characterized by LP of the interference together with very short sessions, the results illustrated in Figure 5.18 highlight that the best performance is achieved by IM strategy, which would be the one selected by OSDM in this scenario. In fact, instantaneous measurements allow obtaining an improvement of around 9% and 19% with respect to PM and StS solutions, respectively. In turn, in scenario 2 the interference dynamics is the same as in scenario 1, but in this case longer sessions are considered. Correspondingly, the interference will exhibit variations along the session duration, meaning that in this case the performance is not very sensitive to the actual interference state at the time when a session is started. Instead, steady-state probabilities are already good representatives in most of the cases of the actual interference conditions that will be experienced along each session. As a result, it can be observed in Figure 5.19 and Table 5.9 that in this scenario there are very small differences in the reward performance obtained by IM, PM and StS, while StS does not require carrying out observations and consequently it becomes the best choice to be made by OSDM. 5.4 EXTENDED TESTBED 107 Figure 5.18: Average system reward Scenario 1 emulated by the Extended Testbed Figure 5.19: Average system reward Scenario 2 emulated by the Extended Testbed Scenario 3 is characterized by HP in the interference; moreover, session duration is much shorter than the interference dynamics (i.e., ( ) 1 1/ ln i D λ <− ) and session generation rate is low, meaning that in this case the IM approach is the one selected by OSDM. Results in Figure 5.20 and Table 5.9 reveal that this is a good option since it allows achieving the highest reward with very reduced requirements in terms of observation rate. On the contrary, scenario 4 corresponds to the same interference dynamics and session duration as in scenario 3 but with higher session generation rate. 108 5. EVALUATION THROUGH REAL-TIME TESTBED As a result, IM suffers an increase in the observation rate that is almost 5 times higher than with scenario 3. Then, in scenario 4, PM strategy becomes a better option since it allows achieving a similar reward as IM but with much less observation requirements, as seen in Table 5.9 and Figure 5.21. In turn, it achieves an improvement in around 15% with respect to StS. Correspondingly, the selection made by OSDM in this scenario is PM. Figure 5.20: Average system reward Scenario 3 emulated by the Extended Testbed Figure 5.21: Average system reward Scenario 4 emulated by the Extended Testbed 5.4 EXTENDED TESTBED 109 Finally, scenario 5 is characterized by the same interference dynamics as scenarios 3 and 4 but now the session duration is much longer, so that in this case OSDM selects StS as the most appropriate strategy. Results in Table 5.9 and Figure 5.22 reveal that this becomes the best option because it provides a very similar reward performance as IM and PM but without requiring observations. Figure 5.22: Average system reward Scenario 5 emulated by the Extended Testbed Table 5.9: Average performance Results in terms of reward, throughput (kb/s) and observation rate (observations/time step) Scenario KPI IM PM StS random Selected Strategy by OSDM 1 Reward 0.94 0.86 0.79 0.55 IM Throughput 477 425 403 281 Observation rate 1.5 1.1 0.0 0.0 2 Reward 0.89 0.87 0.86 0.55 StS Throughput 452 443 432 284 Observation rate 0.19 1.1 0.0 0.0 3 Reward 0.97 0.91 0.79 0.55 IM Throughput 491 465 406 274 Observation rate 0.04 0.06 0.0 0.0 4 Reward 0.98 0.95 0.82 0.54 PM Throughput 502 486 413 305 Observation rate 0.19 0.06 0.0 0.0 5 Reward 0.85 0.83 0.83 0.09 StS Throughput 441 388 409 47 Observation rate 0.01 0.07 0.0 0.0 110 5. EVALUATION THROUGH REAL-TIME TESTBED In order to complement the analysis, while the previous results have focused on the performance achieved after the proper convergence of the KD statistics in the KD initial acquisition functionality, the operation of this functionality is studied. Specifically, Figure 5.23 depicts the initial acquisition process for one of the parameters stored in the KD, namely the state transition probability ( ) 1 0,0 p for spectrum block #1 with the configuration LP. To compute it, the CA entity performs on spectrum block #1 a measurement once per time step during a sensing time ∆tm=2s. Then, based on the energy detected it sends the interference state to the KD acquisition entity where the different samples of ( ) 1 0,0 p are computed. Figure 5.23 presents the evolution of the sample average ( ) 1 0,0 p and the 95% confidence interval bounds ( ) 1 0,0,min p and ( ) 1 0,0,max p as a function of the number of samples N. It can be observed in the figure how the confidence interval gets narrower when increasing the number of samples. Figure 5.23: Evolution of the initial acquisition process for parameter ( ) 1 0,0 p in terms of the sample average ( ) 1 0,0 p and the 95% confidence interval bounds () 1 0,0,min p and () 1 0,0,max p Then, considering the convergence condition with parameter η=0.2% it is shown in the figure that the convergence is achieved after N=100 samples. Then, the sample average ( ) 1 0,0 p existing at this point of time is the one stored in the KD. 5.4.3 Demonstration of Cognitive Network Management on Applications The aim of this section is to illustrate the practicability of the proposed belief-based spectrum selection policy for an application in a realistic Digital Home (DH) scenario. The future DH is expected to consist 5.4 EXTENDED TESTBED 111 of different kind of devices such as equipment with communication capabilities (e.g., desktop PCs and laptops), consumer electronics (e.g., TV sets with wireless interfaces, digital media servers, game consoles, home security and automation systems), more traditional appliances equipped with communication interfaces to allow, for example, remote control and monitoring (e.g., washing machines and fridges). On the other hand, the provisioning of wireless management applications in the DH needs an efficient exploitation of all possible sources of available spectrum resources, such as license-exempt ISM bands and Ultra High Frequency (UHF) bands (i.e., TVWSs) through e.g., the ECMA-392 radio networking standard [59] and also the exploitation of licensed spectrum (e.g., spectrum licensed to a mobile network operator providing management services in the DH) as a mechanism for enhancing QoS provision to some DH connections. In the context of this section, the emulation of a DH scenario where an entertainment application is provided has been implemented through the extended version of the testbed. For this evaluation the scenario of Figure 5.16 representing a general configuration of the six individual nodes, which compose the extended version of the testbed, can be particularized to emulate the specific entertainment DH scenario illustrated in Figure 5. 24. Figure 5.24: Emulated Digital Home scenario In details, Node#1 emulates the infrastructure that includes the decision making, the knowledge management and the CA functionalities. Node#2 and Node#3 emulate two PCs that need a spectrum block selected by Node#1 for the transmission of a streaming video. After the selection of the spectrum block, the video is transmitted by Node#2 where it is stored to Node#3 that is connected to a large screen where the video will be displayed. Moreover, Nodes #4, #5 and #6 are possible external interference sources transmitting in the spectrum blocks considered for this evaluation. 112 5. EVALUATION THROUGH REAL-TIME TESTBED a) Configuration The spectrum blocks and the interference states considered to assess the practicability of the proposed belief-based spectrum selection strategy are the same taken into account in Section 5.4.2. While the average durations of the interference states for each spectrum block and the corresponding values of ( ) 1 i λ considered for this evaluation are illustrated in Table 5.10. A radio link is considered to transfer the streaming video, whose duration D is of around 20 minutes, from Node#2 to Node#3 with bit rate requirement Rreq = 1 Mbps. Node#2 implements a packet segmentation that allows dividing the video into Ethernet frames whose size can be selected during the configuration set-up of the testbed. Notice that considering λTHR= 0.95 this scenario is characterized by high predictability condition (i.e., ( ) 1 i THR λλ ≥ ) and short sessions (i.e., ( ) 1 1/ ln i D λ <− ); moreover, the session generation rate is low (during this evaluation only one data transmission session is carried out). With all the above, the IM strategy is the approach considered in the OSDM for the spectrum selection executed by the SSDM at the decision making time for the streaming video transmission (see Figure 3.8). Table 5.10: Characterization of the interference states Spectrum Block State S(i)=0 (time steps) State S(i)=1 (time steps) ( ) 1 i λ #1 600 200 0.993 #2 170 650 0.993 #3 600 400 0.996 b) Key Performance Indicators In order to demonstrate the practicability of the belief-based spectrum selection strategy proposed in this dissertation in a realistic DH scenario, the following appropriate KPIs are considered: • Interference behaviour of the spectrum blocks: it illustrates the temporal evolution of the interference states that characterizes each spectrum block. This KPI is considered to show how the belief-based approach allows a streaming video transmission in a spectrum block free of interference. • Received Ethernet frames: it is the total number of frames received by Node#3 during the streaming video transmission that includes the number of frames received correctly, the number of frames received erroneously and the number of frames lost during the transmission. 5.4 EXTENDED TESTBED 113 c) Obtained Results The aim of this section is to assess the practicability of the belief-based approach proposed in this dissertation for the realistic entertainment application provided in a DH scenario illustrated in Figure 5.24. Considering the configuration previously described, in the infrastructure node the IM strategy is executed at the decision-making time; moreover, a random strategy as a baseline reference for performance comparison is also included. For that purpose, the streaming video transmission has been carried out twice, one per strategy at different times. Figure 5.25 illustrates the temporal evolution of the interference states that characterize each spectrum block during 15 hours (i.e., S(i)=0 when no interference exists and S(i)=1 when the interference reaches its maximum value); moreover, in the figure it is shown the time instant at which Node#2 requires a spectrum block for the video transmission and then, at which the SSDM selects a spectrum block for each strategy (i.e., the IM and the random). In details, from the figure it can be observed that after 120 minutes the SSDM selects for the video transmission the first spectrum block executing the decision making criterion given by (3.16) and based on the decision function (3.20) that is particularized to equation (3.31) for the IM selection strategy. Notice that this selection guarantees a video transmission free of the interference during its duration of around 20 minutes. While after roughly 720 minutes the SSDM selects the second spectrum block for the video transmission following the random strategy; in this case the selected block is affected by the interference at the decision-making time instant. It is worth mentioning that the SSDM would have selected in this case the third spectrum block following the IM strategy and then, ensuring a block free of interference for the streaming video transmission. The consequent performance results achieved through each observation strategy are illustrated in Figure 5.26 in terms of received Ethernet frames. From the figure it can be observed that in case of IM strategy only the 0.5% of the frame has been received erroneously by Node#3 and the 0.03% of the frames has been lost; although the spectrum block has been free of interference during the overall video transmission, possible spurious uncontrolled interference existing in the realistic scenario can cause the detriment of few frames. While in case of random strategy it can be noticed that the 17% of the frame has been received erroneously by Node#3 and even the 61% of the frames has been lost. For a clearer illustration of the effects caused by error-affected frames and lost frames on the quality of the transmission, some screenshots of the video displayed on the screen connected to Node#3 are presented in Appendix D. 114 5. EVALUATION THROUGH REAL-TIME TESTBED Figure 5.25: Temporal evolution of the interference of the spectrum blocks Figure 5.26: Transmitted and received frames 5.5 Summary This chapter has presented the real-time testbed platform developed to implement and evaluate the spectrum management solutions proposed in this dissertation. In details, the hardware and the software components, and the implementation of the individual node of the platform have been firstly described. Furthermore, the spectrum opportunity identification strategy has been executed in the individual node in order to validate its capability to properly capture the actual conditions of the spectrum band in the scenario under test. Then, the first version of the testbed and the emulation results of the solutions for ONs proposed in this dissertation have been presented. Finally, the extended version of the testbed 5.5 SUMMARY 115 implemented for the emulation of the proposed belief-based spectrum selection policy and the performance results have been illustrated. In details, the spectrum selection policy has been assessed in the real-time environment provided by the testbed taking into consideration also the low predictably described in Figure 3.8. Moreover, the practicability of the proposed strategy has been illustrated for an entertainment application provided in a realistic DH scenario. The main conclusions achieved through this performance evaluation are summarized as follows. The execution of the spectrum opportunity identification policy in the individual node has validated its capability to capture the actual conditions of the spectrum band in the scenario under test. In fact, the results have shown that the measurement procedure of the strategy enables the individual node to detect correctly the real interference condition of the spectrum band under study. A performance comparison of the proposed spectrum selection solution has been carried out against a random selection, revealing that the knowledge about the statistical behaviour of the different spectrum blocks provided by the spectrum selection approach based on the fittingness factor is able to reduce the spectrum handover ratio while keeping the desired efficiency level of the communication. It has been illustrated that, during the ON management phase, the spectrum selection functionality is able to trigger the necessary ON reconfiguration procedure and associated spectrum handover during the ON maintenance stage to react in front of changes in the interference that arises in the different spectrum blocks. Through this feature, it is possible to keep the on-going communication in the ON link. Results achieved through the extended version of the testbed have validated the satisfactory performance of the belief-based spectrum selection policy obtained by the simulator also in a real-time environment. In details, it has been observed that: (i) IM strategy is suitable for scenarios with low predictability with short session durations or for scenarios with high predictability under low traffic conditions (i.e. short sessions and low session rates); (ii) PM strategy is suitable for highly predictable scenarios with traffic characterized by high session rates and short session durations; (iii) StS strategy is suitable for scenarios with long session durations. It has been demonstrated how the knowledge management entity of the FCMF proposed in this dissertation is able to properly extract the relevant knowledge from the radio environment. In this respect, it has been illustrated how the KD acquisition entity allows assessing the degree of predictability of the interference of the different spectrum blocks through the spectrum sensing functionality provided by the USRP. Finally, it has been illustrated how the belief-based spectrum selection policy can be exploited in a realistic application in a DH scenario, showing that the proposed solution allows the transmission of a high resolution streaming video compared to a random selection strategy. Appendices Appendix A Demonstration of the Behaviour of the Belief Vector Theorem 1 Let us consider the eigenvalue decomposition of matrix P(i)T: ( ) = iT -1 P V·Σ·V (A.1) where ( ) ( ) ( ) ( ) 01 , ,..., ii i K diag λλ λ =Σ is a diagonal matrix formed by the ordered eigenvalues of P(i)T ()( ) ( ) 01 ... ii i K λλ λ ≥ ≥≥ . The eigenvalues of P(i)T are the same as those of P(i). Since P(i) is a stochastic irreducible matrix, the Perron-Frobenius theorem [119] ensures that the largest eigenvalue is unique and equal to ( ) 01 i λ = , so that ( ) 1 i k λ < for k>0. Moreover, V=[v0 v1... vK] is a matrix whose columns are the eigenvectors of P(i)T. By multiplying n times (A.1) the eigenvalue decomposition of matrix [P(i)T]n is easily obtained as: () nn  =  iT -1 P V·Σ ·V (A.2) where ( ) ( ) ( ) 01 , ,..., nn n ii i nK diag λλ λ    =    Σ . Consequently, the following relationship is fulfilled: ( ) ( ) nn i k λ    =    iT kk P ·v v (A.3) 126 A. DEMONSTRATION OF THE BEHAVIOUR OF THE BELIEF VECTOR or, by transposing both sides of the equation, ( ) () · nn i k λ  =  i TT kk vP v (A.4) In addition, the steady state probability vector π (i) of an ergodic discrete time Markov process fulfils the following relationship [106]: ( ) () ( ) = ii i TT πP π (A.5) By comparing (A.4) with (A.5) for the case n=0 it is observed that the steady state probability vector is the eigenvector associated to ( ) 0 i λ =1, that is: ( ) 0=iT T vπ (A.6) Moreover, since the eigenvectors T k v are orthonormal, any arbitrary vector, and in particular the belief vector b(i)T(t), can be expressed as a linear combination of these eigenvectors, that is: () () 0 K k k ta = =∑ iT T k bv (A.7) Consequently, by combining (3.25), (A.4), (A.6), (A.7) it yields: () () ( ) ( ) ( ) ( ) 0 00 1 · KK K nn n ii k kk kk kk k tn a a a a λλ = = =    += = = +    ∑∑ ∑ iT i iT TT T kk k b vP v πv (A.8) Since ( ) 1 i k λ < for all k>0, the second term of the summation in (A.8) will tend to 0 when n→∞ , so the belief vector ( ) ( ) ( ) ( ) 0 tn a+→ = iT iT iT bππ tends to the steady state. Note that necessarily a0=1, because otherwise the summation of all the components of b(i)T(t+n) (i.e. the sum of the probabilities for all the states) would not be 1. Moreover, looking at the summation in (A.8) it is observed that the speed of convergence will be driven by the largest value of ( ) n i k λ , k>0, or equivalently by the absolute value of the largest eigenvalue after ( ) 0 i λ =1, that is ( ) 1 i λ . The lowest the value of ( ) 1 i λ the faster will be the convergence, reflecting that the scenario suffers from more variability. A. DEMONSTRATION OF THE BEHAVIOUR OF THE BELIEF VECTOR 127 Corollary 1 The dynamic evolution of the belief vector b(i)T(t) towards the steady state is reflected in (A.8) for n→∞ . The speed of convergence is driven by the term ( ) 1 n i λ   whose absolute value can also be expressed as: ( ) ( ) 1 ·ln 1 i nn i e λ λ = (A.9) When increasing n this relationship is a classical exponential decay with time constant ( ) 1 1/ ln i tλ = − time steps. Consequently, the value ( ) 1 1/ ln i λ − provides a rule of thumb to roughly estimate the time needed for convergence of the belief vector ( ) ( ) t iT b . Appendix B Messages Sequence Illustrating the Adaptation of the Spectrum Selection to Interference Variations Figure B.1 presents a screenshot of the Terminal 1 (i.e. Node#2) when the ON creation procedure starts. As it can be observed in the right side of the screen, the terminal has sent the MIH_C4MS_ONN.request message to request the support of the infrastructure (i.e. Node#1) to create the ON. Transmission has not started yet, waiting for the response of the infrastructure indicating the spectrum block to use. Figure B.2 presents the screenshot of the infrastructure node at this time. As shown in Figure B.2, after receiving the MIH_C4MS_ONN.request message from Terminal 1, the infrastructure contacts Terminal 2 (i.e., Node#3) to confirm its availability to create the ON; then, it executes the spectrum opportunity identification. At the right side of the figure the list of available spectrum blocks can be observed. The spectrum selection has chosen the spectrum block centred at 2.447 GHz. This information is communicated to Terminal 1 in the MIH_C4MS_ONN.response message. This triggers the MIH_C4MS_ONC.request message to finalise the ON creation. At this stage, it can be seen in the screenshot of Terminal 1 in Figure B.3 that, after the ON has been created the transmission has started in this spectrum block. At the left side of the figure the on-line evolution of the efficiency is shown (each point corresponds to 30s), reflecting a high level of efficiency. 130 B. MESSAGES SEQUENCE ILLUSTRATING THE ADAPTATION OF THE SPECTRUM SELECTION TO INTERFERENCE VARIATIONS Figure B.1: Screenshot of Terminal 1 at the start of the ON creation Figure B.2: Screenshot of the Infrastructure Node at the start of the ON creation B. MESSAGES SEQUENCE ILLUSTRATING THE ADAPTATION OF THE SPECTRUM SELECTION TO INTERFERENCE VARIATIONS 131 Figure B.3: Screenshot of Terminal 1 after the ON link has been established Looking at Figure 5.15, it can be observed that the efficiency monitored by Terminal 1 is above 80% until minute 9, when the interferer source is activated in the same frequency of the link. As a consequence, Terminal 1 detects a degradation of the efficiency down to 60%. At this point, the screenshot of Terminal 1 is shown in Figure B.4. At the left side the degradation below the 80% level has been detected and correspondingly a MIH_C4MS_ONN.request message is sent to the infrastructure starting the ON reconfiguration procedure. Figure B.4: Screenshot of Terminal 1 after switching on the external interferer