# Fuzzy Based Network Assignment and Link-Switching Analysis in Hybrid OCC/LiFi System

Authors: Moh. Khalid Hasan; Mostafa Zaman Chowdhury; Md. Shahjalal; Yeong Min Jang
Journal: Wireless Communications and Mobile Computing
 (2018)

---

## Abstract

In recent times, optical wireless communications (OWC) have become attractive research interest in mobile communication for its inexpensiveness and high-speed data transmission capability and it is already recognized as complementary to radio-frequency (RF) based technologies. Light fidelity (LiFi) and optical camera communication (OCC) are two promising OWC technologies that use a photo detector (PD) and a camera, respectively, to receive optical pulses. These communication systems can be implemented in all kinds of environments using existing light-emitting diode (LED) infrastructures to transmit data. However, both networking layers suffer from several limitations. An excellent solution to overcoming these limitations is the integration of OCC and LiFi. In this paper, we propose a hybrid OCC and LiFi architecture to improve the quality-of-service (QoS) of users. A network assignment mechanism is developed for the hybrid system. A dynamic link-switching technique for efficient handover management between networks is proposed afterward which includes switching provisioning based on user mobility and detailed network switching flow analysis. Fuzzy logic (FL) is used to develop the proposed mechanisms. A time-division multiple access (TDMA) based approach, called round-robin scheduling (RRS), is also adopted to ensure fairness in time resource allocation while serving multiple users using the same LED in the hybrid system. Furthermore, simulation results are presented taking different practical application scenarios into consideration. The performance analysis of the network assignment mechanism, which is provided at the end of the paper, demonstrates the importance and feasibility of the proposed scheme.


---

## Body

## 1. Introduction

Communication currently relies on the radio-frequency (RF) spectrum, which is overcrowded and strictly regulated [1]. Because of several factors including interference, limited resources, and human safety it is obvious that RF based technologies will not be sufficient to manage the massive future data traffic. Wireless communication using the optical spectrum has been regarded as a congruent solution to the spectrum congestion of RF based technologies [2–6]. In particular, the optical wireless technology, especially visible light communication (VLC), has added a new dimension in the world of mobile communications for its huge unregulated spectrum (up to 800 THz [7]), cost effectiveness, energy efficiency, and high security [3, 8, 9]. Moreover, current indoor and outdoor environments are currently heavily congested with light-emitting diode (LED) based lighting infrastructures, enabling VLC to be exploited as a complementary technology to RF.Light fidelity (LiFi) is a subset of OWC technology in which a photo detector (PD) receives the variation in the intensity of light, which carries data bits encoded from the light source [3, 10, 11]. A PD can detect high-speed LED flickering, a capability that enables LiFi to support high data rates. An extensive improvement in bandwidth reuse is observed for LiFi technologies, resulting in excellent spectral efficiency. Because of these benefits provided by LiFi, several architectures integrating LiFi and RF have been already proposed to enhance the quality-of-service (QoS) of users; these architectures include those that manage resource allocation [12–15], dynamic handover [16, 17], energy harvesting [18], delay analysis [19], and channel assignment [20].However, LiFi cannot be efficiently utilized in daylight because it suffers from extensive interference generated by sunlight [3]. In indoor environments, it can suffer from the same problem resulting from neighboring lighting infrastructures. LiFi has a low signal-to-interference-plus-noise ratio (SINR) because it is heavily affected by the interferences generated by adjacent light sources. In addition, the communication distance that can be obtained using LiFi is comparatively short with respect to other existing technologies. These limitations inspire further research on the optimum potentiality of LiFi in practical environments.Optical camera communication (OCC) is a recently introduced VLC technique that uses an image sensor to receive optical signals [21–26]. The exponential growth in camera-mounted smart devices has enabled OCC to be utilized in innovative application scenarios, such as indoor/outdoor positioning [27, 28], localized advertising [29], digital signage, and vehicle-to-vehicle (V2V) or vehicle-to-infrastructure (V2I) communications [30–32]. OCC has added significant user flexibility with the use of smartphone cameras to receive data from LEDs. Furthermore, OCC is highly stable in terms of variations in communication distance. Because of the limited angle-of-view (AoV) of cameras, OCC is less affected by interferences generated from neighboring LEDs. However, similar to LiFi, OCC has several limitations. For example, because of the meager sampling rates of current commercial cameras, OCC offers a low data rate, which particularly decreases the user QoS.Until now, a hybrid OCC and LiFi model had not been developed. In this study, a hybrid networking architecture integrating OCC and LiFi is proposed to enhance the user QoS. The network is assigned to users through utilization of fuzzy logic (FL). FL is a convenient approach to map an input to an output and is provided on the basis of several truth scores ranging from 0 to 1 [33]. This method is flexible and intuitive without far-reaching complexity, which are characteristics that lead us to choose this approach. We propose a new network assignment mechanism inside the LED cell (the entire coverage area of the LED) for users. Fuzzy inputs are chosen using the parameters that determine the quality of both networks. The fuzzy rules are generated by considering real-world application scenarios of users. The center-of-gravity (CoG) method is used to defuzzify the inputs and obtain mark allocations for each user. Furthermore, we develop a FL-based vertical link-switching mechanism between the networking layers, as both of the networks support user mobility. We briefly discuss the switching probability and corresponding network switching flow analysis of the hybrid system. Round-robin scheduling (RRS) [34], an existing time-division multiple access (TDMA) approach, is adopted to ensure fairness in resource allocation among users.The remainder of the paper is organized as follows: Section2 provides a system overview and an analysis on channel parameters, which includes theoretical representations of SINR for both technologies. The FL-based network assignment mechanism, including a discussion on user QoS, is explained in Section 3. Sections 4 and 5 describe the link-switching strategy and the network switching flow process, respectively. The performance of the assignment mechanism is evaluated in Section 6, which also includes a discussion of the outage probability and QoS performance. A brief summary of our work is provided in Section 7. Finally, Section 8 presents future research possibilities related to our proposed hybrid infrastructure.


## 2. System Overview

### 2.1. Hybrid System Architecture

In this study, a hybrid OCC/LiFi networking layer is considered. Taking user mobility into account, this hybrid system can serve multiple users. Therefore, the hybrid system is suitable for any roaming or stationary user. A particular LED is configured by two parallel LED-driving circuitries. Although both technologies use the same optical spectrum, no interference will be generated because the TDMA based RRS method is exploited to allocate time resources when there are multiple users. A generalized block diagram of our proposed architecture is shown in Figure1. The PD can receive high-rate LED flickering, whereas a camera cannot. Current commercial cameras are configured with low frame rates (in most cases, 30–50 frames per second). This configuration particularly reduces the modulation bandwidth of OCC [35, 36]. It is also worth noting that the LED flickering must not be observed by human eyes (equivalent to a threshold of approximately 100 Hz [37]).Figure 1
Basic block diagram of the hybrid OCC/LiFi architecture.


### 2.2. OCC Channel Model

For a VLC system, the route for optical signal transmission has two components: line-of-sight (LOS) and non-line-of-sight (NLOS). Because of the nature of camera pixels, region-of-interest (RoI) mechanisms are applied for OCC, by which the reflection component of the transmitted signal is spatially separated from the LOS component [23]. An indoor hybrid system with the transmitter and receiver presented at Tx and Rx, respectively, is illustrated in Figure 2. The LED cell represents the entire coverage area of the LED.Figure 2
Data transmission model for the hybrid network.The LOS channel for optical signal transmission is modeled by Lambertian radiant intensity, which is represented by the following equation [38]:(1)Roα=ml+1cosml⁡αir2πwhere αir signifies the angle of irradiance of the LED. ml is the Lambertian emission index, which originates from the radiation angle Ψ1/2, called the radiation semiangle of the LED; ml is defined as(2)ml=-logcos⁡Ψ1/2⁡2We assume that the Euclidean distance betweenTx and Rx is da,b, which is calculated from the horizontal distance db,x and the vertical distance da,h (da,b=da,h2+db,x2). The overall DC channel gain for OCC is formulated as [12](3)Ht,rIS=gopcos⁡αinΔoccRoαAcda,b2where αin implies the corresponding angle of incidence, gop represents the gain of the optical filter, and Δocc is a rectangular function whose value implies that the channel has no gain if the LED remains outside of the angle-of-view (AoV) of camera receiver. If βaov is the AoV of the camera, then Δocc is represented as(4)Δocc=0,αin≥βaov1,αin<βaovAc is the area of the entire image of the LED projected in the image sensor. It is often signified by the number of pixels occupied by the image. If ρ denotes the pixel edge length, then the projected area is(5)Ac=Alfo2ρ2da,b2where fo denotes the focal length of the camera and Al represents the physical area of the LED.There is a minimum area of the projected image in the image sensor, below which the transmitted data cannot be decoded. The power received by the image sensor in this case is termed as the threshold power and expressed as(6)PthIS=arg⁡min⁡PrIS=arg⁡mingopcos⁡αinΔoccRoαAcPtda,b2where PrIS is the power received by the image sensor and Pt denotes the optical power transmitted by the LED.Most existing commercial cameras offer a low AoV. As a result, the LOS components of neighboring LEDs do not reach inside the camera’s AoV. Moreover, as mentioned above, introducing RoI signaling techniques significantly reduces the effect of the reflected components. Thus, OCC offers an excellent SINR, which is represented as(7)SINRocc=ζcPtHt,rIS2∑i=0NζcPtHi,rocc2+Nofrwhere ζc denotes the optical-to-electrical conversion efficiency at the image sensor, No is the spectral density of the noise power, fr is the sampling rate of the camera, N is the number of interfering transmitters, and Hi,rocc is the DC gain from these transmitters. The channel capacity can be expressed by the Shannon capacity formula [23], which is(8)Cocc=frWslog2⁡1+SINRoccwhere Ws represents the number of data symbols transmitted to the pixels within each image frame.


### 2.3. LiFi Channel Model

The NLOS part of the transmitted signal is disregarded in terms of LiFi because our baseband modulation bandwidthB is 20 MHz, which does not exceed the maximum allowable value [16, 39]. Thus, the LOS transmission model for LiFi is represented as(9)Ht,rPD=gopgconcos⁡αinΔlifiRoαApda,b2where Ap denotes the physical area of the PD sensitive to light and gcon is the gain of the optical concentrator, which is a function of the refractive index and field-of-view (FoV) of PD. The rectangular function Δlifi is expressed as(10)Δlifi=0,αin≥βfov1,αin<βfovwhere βfov denotes the PD FoV. The PD should receive a certain amount of power to generate a minimum electrical current in order to decode the actual sent data bits. The threshold power of LiFi is denoted as(11)PthPD=arg⁡min⁡PrPD=arg⁡min⁡gopgconcos⁡αinΔlifiRoαApPtda,b2where PrPD denotes the total amount of power received by the PD. LiFi uses an intensity based modulation scheme; as such, LiFi is affected by the interference generated by neighboring LEDs and other background lights. This interference ultimately results in reducing the SINR to a great extent, as LED infrastructures are commonly developed for indoor environments. Several studies [16, 40] have investigated the SINR in terms of LiFi, which can be expressed as (12)SINRlifi=ζpPe/PtPtHt,rPD2∑i=0NζpPe/PtPtHi,rPD2+NoBwhere ζp is the optical-to-electrical conversion efficiency at the PD and Pe is the amount of electrical power converted after receiving the optical signals. The LiFi channel capacity can also be calculated from the Shannon capacity formula, which is(13)Clifi=Blog2⁡1+SINRlifi


## 2.1. Hybrid System Architecture

In this study, a hybrid OCC/LiFi networking layer is considered. Taking user mobility into account, this hybrid system can serve multiple users. Therefore, the hybrid system is suitable for any roaming or stationary user. A particular LED is configured by two parallel LED-driving circuitries. Although both technologies use the same optical spectrum, no interference will be generated because the TDMA based RRS method is exploited to allocate time resources when there are multiple users. A generalized block diagram of our proposed architecture is shown in Figure1. The PD can receive high-rate LED flickering, whereas a camera cannot. Current commercial cameras are configured with low frame rates (in most cases, 30–50 frames per second). This configuration particularly reduces the modulation bandwidth of OCC [35, 36]. It is also worth noting that the LED flickering must not be observed by human eyes (equivalent to a threshold of approximately 100 Hz [37]).Figure 1
Basic block diagram of the hybrid OCC/LiFi architecture.


## 2.2. OCC Channel Model

For a VLC system, the route for optical signal transmission has two components: line-of-sight (LOS) and non-line-of-sight (NLOS). Because of the nature of camera pixels, region-of-interest (RoI) mechanisms are applied for OCC, by which the reflection component of the transmitted signal is spatially separated from the LOS component [23]. An indoor hybrid system with the transmitter and receiver presented at Tx and Rx, respectively, is illustrated in Figure 2. The LED cell represents the entire coverage area of the LED.Figure 2
Data transmission model for the hybrid network.The LOS channel for optical signal transmission is modeled by Lambertian radiant intensity, which is represented by the following equation [38]:(1)Roα=ml+1cosml⁡αir2πwhere αir signifies the angle of irradiance of the LED. ml is the Lambertian emission index, which originates from the radiation angle Ψ1/2, called the radiation semiangle of the LED; ml is defined as(2)ml=-logcos⁡Ψ1/2⁡2We assume that the Euclidean distance betweenTx and Rx is da,b, which is calculated from the horizontal distance db,x and the vertical distance da,h (da,b=da,h2+db,x2). The overall DC channel gain for OCC is formulated as [12](3)Ht,rIS=gopcos⁡αinΔoccRoαAcda,b2where αin implies the corresponding angle of incidence, gop represents the gain of the optical filter, and Δocc is a rectangular function whose value implies that the channel has no gain if the LED remains outside of the angle-of-view (AoV) of camera receiver. If βaov is the AoV of the camera, then Δocc is represented as(4)Δocc=0,αin≥βaov1,αin<βaovAc is the area of the entire image of the LED projected in the image sensor. It is often signified by the number of pixels occupied by the image. If ρ denotes the pixel edge length, then the projected area is(5)Ac=Alfo2ρ2da,b2where fo denotes the focal length of the camera and Al represents the physical area of the LED.There is a minimum area of the projected image in the image sensor, below which the transmitted data cannot be decoded. The power received by the image sensor in this case is termed as the threshold power and expressed as(6)PthIS=arg⁡min⁡PrIS=arg⁡mingopcos⁡αinΔoccRoαAcPtda,b2where PrIS is the power received by the image sensor and Pt denotes the optical power transmitted by the LED.Most existing commercial cameras offer a low AoV. As a result, the LOS components of neighboring LEDs do not reach inside the camera’s AoV. Moreover, as mentioned above, introducing RoI signaling techniques significantly reduces the effect of the reflected components. Thus, OCC offers an excellent SINR, which is represented as(7)SINRocc=ζcPtHt,rIS2∑i=0NζcPtHi,rocc2+Nofrwhere ζc denotes the optical-to-electrical conversion efficiency at the image sensor, No is the spectral density of the noise power, fr is the sampling rate of the camera, N is the number of interfering transmitters, and Hi,rocc is the DC gain from these transmitters. The channel capacity can be expressed by the Shannon capacity formula [23], which is(8)Cocc=frWslog2⁡1+SINRoccwhere Ws represents the number of data symbols transmitted to the pixels within each image frame.


## 2.3. LiFi Channel Model

The NLOS part of the transmitted signal is disregarded in terms of LiFi because our baseband modulation bandwidthB is 20 MHz, which does not exceed the maximum allowable value [16, 39]. Thus, the LOS transmission model for LiFi is represented as(9)Ht,rPD=gopgconcos⁡αinΔlifiRoαApda,b2where Ap denotes the physical area of the PD sensitive to light and gcon is the gain of the optical concentrator, which is a function of the refractive index and field-of-view (FoV) of PD. The rectangular function Δlifi is expressed as(10)Δlifi=0,αin≥βfov1,αin<βfovwhere βfov denotes the PD FoV. The PD should receive a certain amount of power to generate a minimum electrical current in order to decode the actual sent data bits. The threshold power of LiFi is denoted as(11)PthPD=arg⁡min⁡PrPD=arg⁡min⁡gopgconcos⁡αinΔlifiRoαApPtda,b2where PrPD denotes the total amount of power received by the PD. LiFi uses an intensity based modulation scheme; as such, LiFi is affected by the interference generated by neighboring LEDs and other background lights. This interference ultimately results in reducing the SINR to a great extent, as LED infrastructures are commonly developed for indoor environments. Several studies [16, 40] have investigated the SINR in terms of LiFi, which can be expressed as (12)SINRlifi=ζpPe/PtPtHt,rPD2∑i=0NζpPe/PtPtHi,rPD2+NoBwhere ζp is the optical-to-electrical conversion efficiency at the PD and Pe is the amount of electrical power converted after receiving the optical signals. The LiFi channel capacity can also be calculated from the Shannon capacity formula, which is(13)Clifi=Blog2⁡1+SINRlifi


## 3. FL-Based Network Assignment

Inside the hybrid network, the network is selected according to the type of service and quality that the user requires. FL is dispensed to assign a particular user to a network. Instead of making decisions for choosing a network in a hybrid system in terms of Boolean logic (only true or false values), the FL-based assignment considers truth values of variables ranging from 0 to 1 [33, 41–43]. We apply the Mamdani fuzzy inference system to evaluate our proposed scheme; this system includes three principal steps: fuzzification of input variables, rules evaluation, and defuzzification.Fuzzification refers to the process of transforming the crisp inputs into degrees of functional blocks through using the different types of fuzzifiers, called membership functions. A fuzzy set is graphically represented by membership functions. For example, a triangular function is presented in Figure3(a) and described as(14)μx;aT,bT=0,x≤aTRedlinex-aTbT-aT,aT≤x≤bTBlueline1,x≥bTGreenlinewhere aT and bT are the breakpoints of the membership functions and x is a particular input.Figure 3
Fuzzification process: (a) a generalized triangular function; (b) SINR requirement.
(a) (b)We considered four input variables to perform the network assignment mechanism: data rate requirement, SINR requirement, amount of instantaneous received power, and LOS Euclidean distance between the access point (AP) and the receiver. The variables are chosen on the basis of application scenarios. For example, if a user wants to localize its position, it will definitely need an excellent SINR rather than high data rate to minimize the localization resolution. On the contrary, both data rate and SINR must be high for a real-time video call. Moreover, the instantaneous power significantly contributes to determining the bit-error performance of connectivity. In addition, a low received power degrades the user’s QoS level by increasing the outage probability to a great extent. On the other hand, the maximum communication distance varies for different optical wireless systems and user achieves satisfactory QoS when the communication distance is short. A long distance between the LED and receiver increases the interference for LiFi, although OCC is less affected by interference. In particular, the maximum communication distance for LiFi is very short compared to OCC for stable communications.The membership functions are chosen on the basis of several experiments involving the use of training data. The grades of the membership functions are assigned according to the effect of variations in the value of a particular input. Figure3(b) shows an illustration of the fuzzification of the SINR requirement of a specific user on the basis of service type and quality. The procedure is characterized by four different membership grades: low, average, high, and excellent. These grades are distributed from –10 to 60 dB. As shown in Figure 3(b), the four membership grades can be represented in a similar approach, which is(15)Low→μx;p,q,x≥pAverage→1-μx;p,q,x>pμx;q,r,x≥qHigh→1-μx;q,r,x>qμx;r,s,x≥rExcellent→1-μx;r,s,x<sThe chosen SINR values of the breakpoints are –10, 10, 30, and 40 dB. For example, if a user requires an SINR of around 25 dB, then the user will be categorized as “average” in the fuzzification process. Other inputs are fuzzified through a similar approach. However, the status of the membership grades is varied according to the numerical information of the input variables. For example, the data rate requirement is fuzzified through three membership grades: low, average, and high.After fuzzifying the inputs, different rules are used to evaluate the performance of the hybrid system [41]. These if/then rules are generated by assigning a membership grade to each of the input variables, and a decision is made after multiplying (also can be referred to as “and” operation) the rules. For example, if the data rate requirement is low, the SINR requirement is excellent, and the instantaneous receive power is medium, then the user will be connected via LiFi for the shortest distance between the light source and receiver (or OCC for the highest distance). It is worth noting here that the rules are comprehensive and are generated keeping the nature and quality of the user requirements in mind. In general, rules are the guidelines generated according to the membership functions and serve as a basis for why we choose a particular network in a specific kind of service scenario.The network assignment procedure is illustrated in Figure4. The user must remain inside the LED cell in order to get connected via LiFi or OCC. However, the connection possibility significantly depends on the FoV or AoV offered by the PD or camera, respectively. Because the effects of the NLOS components on the optical signal are disregarded, the LED must appear inside the coverage area of the receiver. After getting a new network access request (NAR) from the user, the service type will be investigated. The examination on the input variables will be initiated immediately following the investigation. Then, the system will go through the fuzzification process described earlier.Figure 4
Admission strategy for a new network access request.Subsequently, the rules are employed and evaluated. The last stage of the network assignment mechanism is the mark allocation, a process that is also referred to defuzzification. The mark indicates the possibility of choosing a network in the network assignment process. Two separate outputs are considered for LiFi and OCC. Both outputs are characterized with triangular membership functions. We have considered five membership grades for each output to obtain a precise result in the network selection mechanism. In this paper, the mark is termed as network assignment factor (NAF) and denoted asϑlifi and ϑocc for LiFi and OCC, respectively. We have adopted CoG [33] method for defuzzification because it shows better performance results than the bisector-of-area (BoA) method, which is realized through several experiments on training data. The NAF is provided as a crisp value by the CoG method, which is represented as(16)For  LiFi,ϑlifi=∫01zμlzdz∫01μlzdzFor  OCC,ϑocc=∫01zμczdz∫01μczdzwhere ∫01μl(z)dz indicates the total area of the region after combining all the membership functions. NAF values range from 0 to 1. In fact, a higher NAF increases the possibility of choosing a network. Thus, when a network access is requested by a new user, the NAFs of both networks will be compared. The network with the higher NAF will be chosen. For example, if LiFi achieves an NAF of 0.6 for a new user, whereas OCC obtains 0.8, then the user will be connected to OCC instead of LiFi.When multiple users want to connect to the same AP and RRS [34], a TDMA technique is considered. Each user is allocated a particular time slot, referred to as quantum time, to ensure fairness among all users. If the process of serving the user is not entirely executed within that time slot, the process will resume after completing all other processes in the queue. Figure 5 illustrates an RRS scheduling process, in which four users want to get access from the serving light source. The process for LiFi user-2 does not finish within the allocated time slot, it gets connected again after the other time slots allocated in the queue have been completed.Figure 5
Example of RRS scheduling process.The user QoS is measured considering achievable user data rate and SINR. We develop a parameter, referred as demand satisfaction factor (DSF), to analyze the QoS of users. If the user achieves a lower data rate or SINR than it requires, the DSF will be decreased. In general, DSF is calculated on the basis of time resource allocation to each user. The DSF of a particular user is represented as follows:(17)DSF=1-nNtλσiφaiχaiφriχri,λ<σi&φai<φri&χai<χriφaiχaiφriχri,λ≥σi&φai<φri&χai<χriχaiχri,λ≥σi&φai≥φri&χai<χriφaiφri,λ≥σi&φai<φri&χai≥χri1,λ≥σi&φai≥φri&χai≥χriwhere φai and φri indicate the achievable and required data rate, respectively, and χai and χri indicate the achievable and required SINR, respectively. λ and σi represent the quantum time and burst time of the user, respectively. n indicates the total number of users waiting in queue at the particular time and Nt is the maximum number of users that can be connected inside the LED cell.


## 4. Link-Switching Strategy

It is already known that LiFi suffers from more interference than OCC. This interference can originate from the LOS component of other light sources or other components reflected from painted walls or mirrors. For simplicity, we assume an indoor scenario, in which a user can be connected to several LEDs. It is obvious that the user device will be affected by the LOS component of the neighboring LED near the edge of the LED cell. Thus, if just under the LED cell, the user will suffer the least amount of interference and will receive the best SINR. Therefore, the probability of allocation to the LiFi network will be high. If the user appears to be connected with OCC at that time, the probability of link-switching to LiFi will also be high because the final goal of network allocation is increasing the user QoS as much as possible. In the same way, if the user goes too close to the edge of the LED cell, then the probability of switching from a LiFi to an OCC network will be high. Figure6 shows two LED cells, each having a diameter of ν. If γ% of the diameter of a specific LED cell is covered by a neighbor LED cell, the probability of user devices interfering with the neighbor LED within an LED cell will be(18)Pj=∑j=1τ2ε∫ν-2γjν/2ν/2ν2-4z2dzτπν2where ε is the total number of neighbor LED cells interfering with the serving LED cell and τ is the total number of user devices inside the cell. Thus, whenever the LOS distance between the LED AP and the receiver changes, the link-switching probability of either network will also be changed according to the user service requirements. The network assignment for the network switching request can be performed in two ways: LiFi-to-OCC and OCC-to-LiFi switching.Figure 6
Illustration of two adjacent LED cells.The link-switching can be implemented within either the same LED AP or different APs. Figure7 shows the switching policy for OCC-to-LiFi. Initially, the user communicates using the OCC network. Then, the condition of the user will be investigated, i.e., whether the user is remaining static or roaming around the LED cells. The LOS distance from the LED AP to the camera will change for every microsecond for the moving user. Therefore, there will be chance for the camera to receive power below PthIS. In this case, communication between the user and LED AP will terminate. The immediate received power will be compared with PthIS, and when the power exceeds the threshold value, the LiFi received power will be immediately compared with PthPD. If the received power is higher than the threshold, then the user will be connected to LiFi. However, if the received power is also below threshold, the user will be connected to the adjacent AP and follow a new NAR strategy. There is a high possibility for a static user to switch between service and quality requirements. For example, the user can switch from 360p to 1080p video calling, or can stop real-time communication and start browsing. For this reason, whenever the user switches between different services, the NAF will be investigated. If NAF is found decreasing, then it will be compared to that of LiFi. If LiFi offers a higher NAF than OCC, then the user will be switched to LiFi. A similar strategy will be followed for LiFi-to-OCC switching, which is shown in Figure 8.Figure 7
OCC-to-LiFi link-switching strategy.Figure 8
LiFi-to-OCC link-switching strategy.


## 5. Network Switching Flow Process

In this section, we propose a detailed network switching flow mechanism for the hybrid system. The flow procedure is generalized and applicable to either OCC-to-LiFi or LiFi-to-OCC switching. The flow mechanism is illustrated in Figure9.Figure 9
Network switching flow strategy.The switching flow mechanism is implemented through 25 steps. When the user device senses that the NAF of the serving receiver (SR) is decreasing (step-1), it sends a report to the serving AP (SAP) it is connected to (step-2). The SR then searches for new signals (step-3), and the SAP by which the user will be connected to the target receiver (TR) is selected (step-4). Then the preauthentication is checked by the receiver with the target AP (TAP) (step-5). On the basis of the preauthentication and the NAF, the SR investigates the signal quality. Together, the SAP and SR decide if a switch to the TAP should be executed (step-6). The SAP initiates the switching process by sending a request to the TAP via a gateway (steps-7 and 8). Network assignment control (NAC) is initiated to specify the possibility of whether or not the network can be assigned (step-9). Afterward, the TAP responds to the switching request (steps-10 and 11). Then, a new link is set up between the TAP and gateway (steps-12 to 15), and eventually, packet data are forwarded to the TAP (step-16). An optical channel is reestablished with the TAP (step-17), reconfigured (steps-18 to 20) and finally detached from the SAP and synchronized with the TAP (step-21). The SR then sends a signal to the gateway, indicating the completion of the switching mechanism and synchronization with the TAP (steps-22 and 23). Finally, the optical link between the former SAP and gateway is deleted (steps-24 and 25), and the packets are sent to the TR via the TAP.


## 6. Performance Evaluation

In this section, the network assignment mechanism is simulated considering the system parameters summarized in Table1. The hybrid system can be implemented in indoor and outdoor environments. OCC is particularly preferred in daylight, and both LiFi and OCC can be utilized during the nighttime. We performed the simulations while considering the maximum communication distance of LiFi and OCC. When the LOS distance is high, OCC is slightly more preferred than LiFi.Table 1
System parameters for the simulation.
Transmitter parameters LED radius 5 cm Transmitted optical power,Pt 10 W Half-intensity radiation angle,Ψ1/2 6 0 ∘ Gain of optical filter,gop 1.0  LiFi parameters  Physical area of PD 1 cm2 Gain of optical concentrator,gcon 1.5 Optical-to-electrical conversion efficiency,ζp 0.53 A/W Optical bandwidth,B 20 MHz FoV,βfov 85°  OCC parameters  Image sensor size 6 × 4 (3:2 aspect ratio) Pixel edge length,ρ 2μm Frame rate,fr 30 fps Focal length,fo 6 mm Optical-to-electrical conversion efficiency,ζc 0.51 A/W AoV (diagonal),βaov 60°Figures10 and 11 show how the NAFs vary with increasing communication distance for both LiFi and OCC. The considered fuzzy rules are arranged in Table 2. The simulations are particularly based on the different service scenarios of users. For example, in case a user wants to localize its position, the service does not need a high data rate; rather, it requires a least bit-error rate for precise localization. This case is considered in Scenario-A. A user who wants to browse websites is reflected in Scenario D. Scenarios B and C indicate high-quality voice and video calling users, and Scenarios E and F reflect the standard quality.Table 2
Selected fuzzy rules for different scenarios.
Scenarios Req. data rate Req. SINR Ins. receive power A Low Excellent Medium B Average High High C High Excellent High D Average Poor Low E Average Average High F Average High HighFigure 10
NAF variation using LiFi with increasing distance between user and LED AP.Figure 11
NAF variation using OCC with increasing distance between user and LED AP.As shown in Figure10, LiFi achieves an NAF higher than 0.5 when the communication distance is kept within 6 m in all cases. The main reason that LiFi works in a limited communication distance is because of the optical signal receiving characteristics of PDs. OCC provides a good NAF for all cases except high-quality voice and video calling users because of its data rate limitation, which is shown in Figure 11.For mobility supporting characteristics of LiFi and OCC technologies, our proposed hybrid system also ensures efficient switching between networks based on the service scenarios. The switching is very essential, as the size of the LED cell is very small, and our current indoor environment is decorated with numerous LED infrastructures. Link-switching is initiated whenever the receive power of the serving network falls below the threshold value. Figure12 illustrates the power received by the users from different distances from LED AP.Figure 12
Distribution of received power for LiFi and OCC.The link-switching probability of OCC and LiFi is illustrated in Figure13. The probability is measured considering an indoor scenario in which the diameter of the LED cell is 10 m. The link-switching probability is illustrated in terms of probability of user position inside the LED cell to receive highest optical signal. The highest position probability inside the LED cell corresponds with a user situated at the center of the LED cell (represented by O in Figure 6), and the lowest probability corresponds with a user located at the edge of the LED cell. It can be seen in Figure 13 that a user has a high probability of switching from LiFi-to-OCC when it remains near the LED cell origin. However, the probability decreases whenever the user comes close to the LED cell of the neighboring LED. The OCC-to-LiFi handover probability attains the inverse situation because of the capability of the camera to spatially separate the interfering element from the image sensor.Figure 13
Link-switching probability analysis.Figure14 illustrates the outage probability of our proposed hybrid scheme. We set the threshold of the LiFi SINR as 0 dB for the simulation. We can clearly see that the outage probability is higher when the user moves away from the AP in terms of using LiFi only. However, after integrating OCC and LiFi, a clear improvement in outage possibility can be observed. The QoS performance of users is presented in Figure 15. The average DSF is measured assuming 0.16 persons/meter2 can be served inside the LED cell. We also assume the number of users connected to OCC and LiFi in the hybrid infrastructure are same. Although the performance greatly depends on how much time is allocated to each user, our proposed scheme demonstrates better QoS performance than the case when only LiFi is present.Figure 14
Comparison of outage probability.Figure 15
Average DSF comparison for multiple users served by the same LED AP.


## 7. Conclusions

Next generation VLC networks will be exploited to achieve a higher service quality for users in all kinds of environments. One of the main advantages of using VLC is that existing lighting infrastructures can be utilized to send data to users. LiFi is a OWC technology that offers a high data rate. However, it suffers from interferences when there are multiple light sources, and the interference originated from these sources eventually degrades the service quality. Using OCC, the SINR can be significantly improved in all kinds of scenarios. Thus, the combination of high data rate and high SINR can be achieved by integrating OCC and LiFi. A hybrid OCC and LiFi architecture is proposed in this paper in which the network assignment for each user is based on FL. By using the FL concept, optimality can be achieved with less computational complexity. After defuzzification, each network generates a score called NAF, which is utilized to assign the appropriate network to a particular user. Furthermore, a link-switching mechanism based on FL is proposed, and a network switching flow analysis is provided. Performance is evaluated on the basis of different practical scenarios, and this evaluation includes switching and outage probability analysis inside the LED cell. The user QoS is also analyzed, and the results of this analysis demonstrate the importance of our proposed scheme.


## 8. Future Research

Currently, researchers are working on enabling the coexistence of RF and OWC to achieve high-data-rate output with improved coverage. The coexistence of different OWC technologies for the same kind of AP can be utilized to achieve a better service quality for users. The implementation of our proposed hybrid system in different application scenarios will be a momentous topic in future OWC related research, which will include testing our system’s optimality with respect to other future homogenous hybrid infrastructures.



---

*Source: 2870518-2018-11-19.xml*