1 Introduction

Visible light communication (VLC) is a form of optical wireless communication (OWC) in which visible light is used to carry a signal. The VLC has been promoted as a complementary technology designed to reduce the overloads on conventional radio frequency (RF) technologies. A light fidelity (LiFi) utilizes the VLC channel to deliver wireless high-capacity transmission. The LiFi protocol was defined by IEEE 802.15.7 standard specification in 2011. The spectrum of light used by the LiFi system has a broad range of wavelengths from the infrared and visible to the most ultraviolet (Wu et al. 2021). The LiFi also provides from hundred megabits to gigabits data rates for short and medium ranges (Haas et al. 2016). Moreover, the LiFi technique offers new functionality to existing and future services and allows new use cases for end-users.

The orthogonal frequency division multiplexing (OFDM) scheme provides an opportunity for increasing the overall spectral efficiency, improving the energy consumption, and reducing transmission delay (Lowery 2008). Furthermore, the OFDM simultaneously supports multiple users by assigning them specific subcarriers for intervals of time. This enables the transmitter to adjust the required bandwidth based on resource availability dynamically. However, the conventional OFDM signal cannot be considered an effective solution for optical wireless communication because it does not meet the real and positive signal requirements. Therefore, Hermitian symmetry is widely used to generate real-valued signals (Ibrahim et al. 2020). Compared to conventional OFDM, the bandwidth efficiency of optical OFDM is reduced by half due to the Hermitian symmetry. Additionally, the OFDM scheme employs a cyclic-prefix to avoid the intercarrier interference (ICI) and the production of a high peak to average power ratio (PAPR) that distorts the signal. The cyclic-prefix contributes overhead to the transmission and thus affects throughput, whereas a high PAPR requires the use of highly-efficient linear amplifiers or combanding techniques(Svaluto et al. 2010).

A modified version of the classical OFDM technique is introduced as a modulation technique in the LiFi system to get real and positive signals such as asymmetrical clipped optical OFDM (ACO-OFDM), dc-clipped optical OFDM (DCO-OFDM), and asymmetrically clipped DC biased optical OFDM (ADO-OFDM) (Ibrahim et al. 2020; Dissanayake and Armstrong 2013; Deng et al. 2019). In these techniques, Hermitian symmetry is imposed on the carriers in the frequency domain to generate a real OFDM signal which decreases the spectral efficiency of the optical OFDM. The generated real signal is bipolar, so the ACO-OFDM uses only the odd subcarriers to transmit the data and clips the negative parts at zero. In the DCO-OFDM, all subcarriers are utilized to transmit the data. However, it adds a DC offset to the OFDM signal to be positive. The ADO-OFDM is a technique that combines aspects of ACO-OFDM and DCO-OFDM by simultaneously transmitting ACO-OFDM on the odd subcarriers and DCO-OFDM on the even subcarriers. Accordingly, ACO-OFDM is more power-efficient than DCO-OFDM and ADO-OFDM, as DCO-OFDM increases the power signal by adding DC offset. The DCO-OFDM provides better spectral efficiency than ACO-OFDM, where the ACO-OFDM uses only odd subcarriers to send its data. The overall optical power efficiency of the ADO-OFDM is better than DCO-OFDM as well as it gives better spectral efficiency than ACO-OFDM. The most significant advantage of ACO-OFDM over other techniques is its ability to cope with extreme channel conditions without complex equalization filters by avoiding intersymbol interference (ISI).

In Játiva et al. (2019), the authors evaluated ACO-OFDM, DCO-OFDM, and ADO-OFDM. These techniques are evaluated and compared for different M-QAM modulation index in terms of bit error rate (BER). It is shown that ACO-OFDM, in general terms, presents a better performance compared to the conventional DCO-OFDM and ADO-OFDM schemes. In Jiang et al. (2021), a superposition-based LED nonlinearity reduction scheme for ACO-OFDM systems is proposed. In contrast, a non-redundant signal is superimposed with the ACO-OFDM signal to minimize the large amplitude signals and increase the signal symmetry clipped to zero. Furthermore, a threshold factor is introduced to limit the reduction amount of the large amplitude signal. The numerical results of the proposed scheme show that it has the potential to outperform most conventional approaches in terms of BER. The results also show that the proposed scheme is energy-efficient since the large-amplitude signal reduction is equivalent to the symmetric signal enhancement without the need for additional power.

An attractive multicarrier scheme based on the filter bank multicarrier (FBMC) has recently been proposed (Farhang-Boroujeny and Kempter 2008; Premnath et al. 2012). The FBMC offers the potential for better spectral efficiency and spectral containment compared to traditional OFDM. Among various FBMC schemes, offset quadrature amplitude modulation (OQAM) is used with FBMC (Saltzberg 1967). The FBMC/OQAM inherits the advantages of OFDM, such as excellent spectral efficiency and receiver sensitivity. Furthermore, the side-lobe suppression ratio of FBMC/OQAM is much higher than the conventional OFDM. The FBMC/OQAM can achieve smaller ICI by using well-designed pulse shapes that satisfy the perfect reconstruction conditions without using cyclic-prefix. This absence of cyclic-prefix creates a potential for improved bandwidth efficiency (Saljoghei et al. 2017). The BER performance for DCO-FBMC/OQAM was introduced in Chen et al. (2018) over laser-based VLC link at 1.5 Gbit/s. The BER performance of DCO-FBMC/OQAM and DCO-OFDM systems under different received signal power are compared. The results show that using 64-QAM, the BER of DCO-FBMC/OQAM is lower than \(10^{-4}\) compared to \(10^{-3}\) when DCO-OFDM was used. The ACO-FBMC/OQAM was first developed in Ibrahim et al. (2021). The Interframe interference is eliminated using a proposed iterative receptive model. The BER performance over additive white Gaussian noise (AWGN) is studied with an 8 overlapping factor. The results show that the SNR is improved by 4 dB over the ACO-OFDM scheme due to the perfect rectangular pulse shaping, eliminating the out-of-band transmission. However, the authors did not study the effect of the VLC channel and ICI on system performance. In order to resolve the PAPR, a trellis-based selective mapping (TSLM) and A-law companding scheme is proposed in InLi et al. (2020). The integrated TSLM and A-law companding scheme offers a lower BER than just A-law companding is used while the two techniques have the same computational complexity.

Non-orthogonal multiple access (NOMA) is one of the most promising access techniques in next-generation wireless communications. It can fulfil the diverse requirements for low latency, high reliability, massive connectivity, enhanced fairness, and high throughput. It allows multiple users to communicate with each other simultaneously using the same time/frequency channel, leading to significant capacity enhancement to accommodate traffic demand (Obeed et al. 2019; Mahmoud et al. 2021). Furthermore, it helps increase cell-edge throughput, enhances the cell-edge user experience, and gives massive communication by simultaneously supporting more uses (Dai et al. 2018).

The principle of NOMA includes a non-orthogonal resource allocation scheme among the users, which is required for separating the transmitted signals (Li et al. 2015). The signals are combined at the transmitter using superposition coding, and the multiplexed signal is forwarded to multiple recipients. At the receiver side, a successive interference cancellation (SIC) technique is applied to extract the own data for each user. The NOMA schemes can be classified in general into two types: power-based and code-based. In power-based NOMA, the transmitter allocates different power coefficients for different users according to their channel conditions and achieves a high system performance. A successive interference cancellation (SIC) is a technique used by a NOMA receiver for efficient signal separation between two or more decoded signals arrived simultaneously (Abumarshoud et al. 2019). In code-based NOMA, different users are allocated different codes and multiplexed over the same time-frequency resources (Aldababsa et al. 2018).

In Uday et al. (2021), a DCO-OFDM NOMA-based scheme for multiple access channels and broadcast channels in indoor VLC is proposed. The proposed scheme used a SIC-based decoding and maximum joint likelihood (JML) decoding to improve the performance of the VLC system in terms of BER and computational complexity. The results show that the proposed system gives less average BER when the received SNR exceeds 40 dB. An OP-NOM scheme that uses the LED power/current linear dynamic range is developed in Lin et al. (2019). This scheme reduced the nonlinear distortion for low power signals, which improved the performance of the system in terms of BER when compared to conventional NOMA with the same driver circuit with a limited gain-bandwidth product.

The feasibility of the NOMA-VLC with single carrier transmission is demonstrated experimentally in Lin et al. (2019). The effect of PAR on BER performance is investigated for both the downlink and the uplink. The proposed scheme that used single carrier transmission and frequency-domain SIC achieved a lower PAPR with a good balance between throughput and fairness of served users compared with NOMA-VLC with OFDM modulation. In Yin et al. (2015), the performance of the combined NOMA and VLC systems are characterized by a downlink guaranteed quality of service (QoS). In Yapıcı and Guvenc (2019), the authors proposed a multi-user VLC network where mobile users with random position and vertical orientation are concurrently supported by proposing scheduling strategies and feedback mechanisms to achieve near-optimal summary performance. The authors in Zhao et al. (2020) applied a simplified gain ratio power allocation that obtains the channel gains by using a look-up table to ensure efficiency and fairness of resource distribution among the users. In Elewah et al. (2020), a multi-user VLC system with \(4\times {4}\) multiple-input multiple-output (MIMO) was investigated. The gain ratio power allocation scheme was introduced to realize an effective and less complex power allocation scheme. The system sum rate of the VLC system increased by \(40\%\).

The performance of power domain NOMA is highly dependent on the particular user pairing/grouping and power allocation techniques that are applied, and it may be challenging to obtain optimal performance due to the high implementation complexity of such a system (Khan and Shin 2021). Furthermore, given the difficulties of SIC at the receiver, the number of multiplexed users permitted on each subcarrier remains limited (Wang et al. 2021; Chen et al. 2019). As a result, in order to support various users at the same time, an efficient multiple access scheme should be implemented. In this paper, we investigate a cooperative NOMA-based ACO-FBMC/OQAM over LiFi system. This investigation aims to address the resource allocation problem for multi-user downlinks to maximize the throughput and minimize the unserved users. A simplified algorithm for both subcarrier and power allocation is proposed to share the available resources among the users fairly. In addition, to resolve the effect of PAPR, the \(\mu \)-law companding technique is presented under the Additive White Gaussian Noise (AWGN) channel.

The rest of the paper is structured as follows. Preliminaries and significant definitions are presented are presented in Sect. 2. Section 3 introduces the proposed hybrid access technique with ACO-FBMC/OQAM for downlinks to the LiFi network. A combined algorithm was proposed to optimize system throughput and minimize the number of non-serviced users in Sect. 4. Simulation scenarios and results are discussed in Sect. 5. Finally, Section 6 concludes the paper.

2 Channel model and system components

This section, VLC channel model and main system components are presented in order to state-of-the-art the used technology in developing the proposed architecture and the resource allocation algorithm. This paper uses the concept of a resource block as the smallest distribution unit per user. The resource block is the lowest unit of resources that can be allocated to a user. The bandwidths defined by the 3GPP standard are 1.4, 3, 5, 10, 15,  and 20 MHz. In Long-Term Evolution (LTE), one resource block is about 180 kHz, and a 20MHz leads about 100 blocks. If the modulation used is 64-QAM (6 bits per symbol), then the throughput of each resource block will be 1Mbps.

2.1 VLC channel model

The VLC channel has two components, line-of-sight (LOS) and non-line-of-sight (NLOS). The LOS channel gain can be expressed as (Wang et al. 2018; Ahmad et al. 2020)

$$\begin{aligned} H_{\text {LOS}} = \frac{(m + 1) A_{\text {PD}}}{2\pi d_u^2} cos^m(\phi ) T_s(\psi ) g(\psi ) \cos (\psi ) \;, \end{aligned}$$
(1)

where \(A_{\text {PD}}\) is the physical area of photodetector (PD), m is the Lambertian order of the transmitter, \(d_u\) is the distance between LiFi AP and the user u, \(\phi \) is the angle of irradiance, \(\psi \) is the angle of incidenc, and \(g_c\) is the optical concentrator gain, which is given by

$$\begin{aligned} g(\psi ) {=} {\left\{ \begin{array}{ll} \frac{n^2}{\sin ^2{(\psi )}} \quad \quad \quad 0 \le \psi \le \psi _{f_{1/2}}\\ \quad 0, \quad \quad \quad \quad \quad \quad \psi > \psi _{f_{1/2}} \end{array}\right. } \;, \end{aligned}$$
(2)

where n is the internal refractive index, and \(\psi _{f_{1/2}}\) is the semi-angle of field of view (FOV) of PD. Additionally, the NLOS component is the superposition of all non-LOS components that are due to one or more reflections at the wall surfaces. The frequency dependence NLOS optical impulse response for a room corresponds to a first-order low-pass filter with transfer function is given by Ahmad et al. (2020), Schulze (2016)

$$\begin{aligned} H_{\text {NLOS}}(f) = \frac{\rho \; A_{\text {PD}} \; \text {exp}{(j2\pi f \Delta T)}}{A_{\text {room}} (1-\rho )(1+jf/f_c)} \;, \end{aligned}$$
(3)

where \(\rho \) is the wall reflectivity, \(\Delta T\) is the delay between the LOS and diffused signals, \(A_{\text {room}}\) is the area of the room, and \(f_c\) is the cut-off frequency. The complete optical channel gain can be expressed as \(H = H_{\text {LOS}}+ H_{\text {NLOS}}\). The SINR for user (u) connected to LiFi AP (\(\alpha \)) can be written as follows (Wang et al. 2017):

$$\begin{aligned} \text {SINR}_{u,\alpha } = \frac{\big (H_{u,\alpha }P_{\text {opt}}\mathfrak {R}\big )^2}{B_s N_0 + \sum _{\xi \in \text {AP}}\big (H_{u,\xi }P_{\text {opt}}\mathfrak {R}\big )^2} \;;\quad \alpha \ne \xi \;, \end{aligned}$$
(4)

where \(P_{\text {opt}}\) is the average transmitted optical power of a LiFi AP, and \(\mathfrak {R}\) is the responsivity of PD. Thus, the link data rate between user (u) and AP (\(\alpha \)) is calculated by the capacity lower bound, which can be written as Wang et al. (2013):

$$\begin{aligned} R_{u,\alpha } \ge \frac{B_s}{2} \;\text {log}_2(1+\frac{e}{2\pi }\text {SINR}_{u,\alpha }) \;. \end{aligned}$$
(5)

2.2 ACO-filter bank multicarrier (ACO-FBMC)

FBMC is an advanced version of OFDM, providing better bandwidth efficiency and greater resistance to narrowband noise effects. It integrates multiplexing and modulation operations by separating the wideband channel into several narrowband channels called subchannels. Furthermore, it overcomes the limitations of OFDM by introducing generalized pulse shaping filters that deliver a well-located subchannel in both the time and frequency domains. The FBMC uses the OQAM for individual sub-carrier to maximize the spectrum efficiency and lead to a higher data rate (Zhao 2014). In FBMC/OQAM, multiple frames separated by a time shift of T/2 are sent simultaneously, where T is the FBMC/OQAM symbol period. Implicitly, the real component carries the first frame. In contrast, the second frame is carried by the imaginary component of the transmitted signal, representing the orthogonal phase between the simultaneously transmitted frames. The continuous-time baseband modulated signal type FBMC/OQAM can be expressed as Khrouf et al. (2018)

$$\begin{aligned} x(t) = \sum _{n=-\infty }^{\infty } \sum _{m=0}^{N_c-1} a_{m,n} \; g(t - n T/2) \; e^{j2\pi mFt} \; e^{\theta {m,n}} \;, \end{aligned}$$
(6)

where \(N_c\) is the total number of subcarriers, F is the frequency separation between adjacent subcarriers, \(F=1/T\), \(a_{m,n}\) is the M-ary QAM symbol transmitted at time nT and frequency mF, and g(t) is the prototype filter impulse response. The \(\theta {m,n}\) is a phase shift uses to guarantee the orthogonality between the in-phase and quadrature phase components which is given by

$$\begin{aligned} \theta {m,n} = \frac{\pi }{2} (m+n) \end{aligned}$$
(7)

In order to use the FBMC/OQAM in the LiFi system, the time domain signal should be both real and positive; the asymmetrically-clipped optical (ACO) technique is employed to ensure that. In ACO-FBMC, only the odd subcarriers carry data symbols, while the even subcarriers are set to zeros, ensuring that the transmitted signal meets the non-negative requirement. The ACO modulated signal is expressed as follows (Dissanayake and Armstrong 2013):

$$\begin{aligned} Y[n] = {\left\{ \begin{array}{ll} X[\frac{m-1}{2}] ,&{} \text {if } m \text { odd}, m < \frac{N_c}{2}\\ \\ X[\frac{N_c-m-1}{2}] ,&{} \text {if } m \text { odd}, m > \frac{N_c}{2}\\ \\ 0, &{} \text {otherwise} \end{array}\right. }\;. \end{aligned}$$
(8)

One of the significant problems with the FBMC is the PAPR similar to OFDM and other multicarrier schemes. The PAPR results in nonlinearity and degradation in system performance due to LED chip overheating and signal clipping distortion. The PAPR is defined as the crest factor of the signal over average power. The mathematical definition of the PAPR denotes as Mohammed et al. (2021):

$$\begin{aligned} \text {PAPR}[Y(t)]= \frac{\max \limits _{0 \le t \le T_s}|Y(t)|^2}{P_{\text {avg}}} \;, \end{aligned}$$
(9)

where Y(t) at the output of IFFT, \(Y(t)=\text {IFFT}\{X[k]\}\), \(P_{\text {avg}}\) is the average power of signal \(\{Y(t)\}\), and \(T_{s} = N_cT\) is the duration of the symbol. Several PAPR reduction approaches for FBMC are presented such as \(\mu \)-law, A-law, clipping, non-linear companding, ton reservation, selective mapping (SLM) and partial transmit sequence (PTS) (Agarwal and Sharma 2020). Among these approaches, the \(\mu \)-law PAPR reduction of FBMC/OQAM scheme will be used in this paper becouse it has low complexity and easy to be implemented.

\(\mu \)-law is an effective companding technique that can be used to reduce PAPR. In the \(\mu \)-law, the compressor characteristic is a linear form for low-level inputs and a logarithmic form for high-level inputs. \(\mu \)-law compression signal at the transmitter is expressed as:

$$\begin{aligned} f(x) = x_{\text {max}}(t) \times \text {Sgn}(x(t)) \frac{\text {ln}(1+\mu |x(t)|/x_{\text {max}}(t))}{\text {ln}(1+\mu )} \;, \end{aligned}$$
(10)

where \(\mu \) is the compand parameter, x(t) is the input instantaneous amplitude, and \(x_{\text {max}}(t)\) is the peak amplitude of x(t).

2.3 Non-orthogonal multiplexing access (NOMA)

NOMA has been shown in the literature for further capacity enhancement and to maintain the future traffic demand (Al-Abbasi and So 2017; Thet et al. 2020). NOMA can yield the best performance over orthogonal multiple access (OMA) as weaker users reach a higher rate by considering stronger users as interference. The users with strong channel gain can first identify and delete the interference from weak users before decoding their signals. Therefore, this requires sufficient power to be assigned to the weaker users in order for such detection to be successful. At the transmitter side, the users are multiplexed in the power domain and are separated by SIC at the receiver side. Figure 1 presents the spectral occupancy of a two-users scenario. The horizontal axis indicates the bandwidth in terms of resource blocks (RBs), and the vertical axis is the power allocated for each resource. The achievable rate for the two users of the lower (l) and higher (h) channel gain are respectively given by Al-Abbasi and So (2017)

$$\begin{aligned} R^{l}= & {} S \times B_s \text {log}_2 (1+\text {SINR}^l) \;, \; \nonumber \\ R^{h}= & {} S \times B_s \text {log}_2 (1+\text {SINR}^h)\;, \end{aligned}$$
(11)

where S is the total number of RBs and \(B_s\) is the bandwidth of each RB. Additionally, The signal-to-interference-noise ratio (SINR) of the two users are given by

$$\begin{aligned} \text {SINR}^l= & {} \frac{P_s^l |H^l|^2}{B_s N_0} \;\; \;, \nonumber \\ \text {SINR}^h= & {} \frac{P_s^h |H^h|^2}{B_s N_0} \;, \end{aligned}$$
(12)

where \(P_s^l = (1- \beta ) P_s\) and \(P_s^h = \beta P_s\) are the power allocated to lower and higher users, \(\beta \) is the power ratio, \(P_s\) is the allocated power for RB, \(N_0\) is the noise power spectral density, \(|H^l|^2\) and \(|H^h|^2\) are the sum of all channel powers in the stronger and weaker users, respectively. These channel powers include the effect of fading, interference from a neighboring cell, and path loss while neglecting the co-channel interference and noise from pair users due to a perfect SIC mechanism with equalization technique is applied (Datta and Lin 2018).

Fig. 1
figure 1

Illustration of RB allocation for NOMA system

3 Proposed architecture and resource allocation algorithm

3.1 Hybrid NOMA-based ACO-FBMC/OQAM architecture

In this subsection, a multi-user hybrid NOMA-Based ACO-FBMC/OQAM over LiFi network is presented for indoor communication. Figure 2 illustrates the block diagrams of transmitter and receiver. At the transmitter, the M-QAM mapper separates real and imaginary parts of the input signal. Then, the imaginary parts are delayed by half of the symbol duration to realize OQAM conversion. The result from the OQAM mapper is processed by the physical prototype filter to create FBMC/OQAM symbols then processed by Hermitian symmetry and then carried by odd subcarriers. The generated symbols are then converted from the frequency domain to the time domain using IFFT. A \(\mu -\)law companding technique is applied to the IFFT signals to minimize the PAPR. Since only the odd frequency subcarriers are modulated, all of the intermodulation results from clipping falls on the even subcarriers and does not affect the data-carried by odd subcarriers. Because of the odd frequency and Hermitian constraint, there are only N/4 input values are carried for N points IFFT. Finally, both users with different power allocations, \(\alpha _{u_l}\) and \(\alpha _{u_h}\), are superposed in the power domain to yield NOMA signal over the VLC communication channel.

Fig. 2
figure 2

Block diagram of hybrid NOMA-Based ACO-FBMC/OQAM system

At the receiver, SIC is used to detect the user signal and treat the other as interference. In the SIC, the signals are ordered according to their SNR strengths, and the user decodes the stronger signal first, subtracting it from the combined signal and isolating the weaker. After successive isolating and decoding of the received signals, they are converted from the time domain symbols to the frequency domain using FFT. Afterward, the frequency domain signals are equalized and filtered by a physical prototype filter to remove the interference and noise received by the channel. Next, the transmitted symbols are demodulated and then demapping by the OQAM demapper, finally deinterleaves and decoded.

3.2 Combined resource allocation algorithm

In this subsection, we developed a combined resource allocation algorithm, named positioning, clustering and resource allocation (PCRA), that performs the following steps: (1) determines the position of all UEs, (2) clusters the UEs based on geographical distribution under each AP to near and far UEs, (3) associates user pairing, and finally (4) distributes the resources (RBs and transmitted power) on the UEs in two scenarios maximizing the throughput or minimizing the unserved users. These steps are introduced in Algorithm 1, which is described in more detail as following.

figure a

3.2.1 Positioning

The positioning technique uses to determine the location of mobile user u moving within the coverage area of AP \(\alpha \). The VLC indoor positioning system is shown Fig. 3. Several works have been successfully explored for accurate indoor positioning in VLC systems (Hesham et al. 2020; Zayed et al. 2020). The UE position \((x_u, y_u)\) is given by

$$\begin{aligned} \begin{aligned} x_u = x_\alpha \pm d_{u,\alpha } \cos {(\varphi )} \;,\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\; \\ y_u = y_\alpha \pm \sqrt{d_{u,\alpha }^2 - (x_\alpha - x_u)^2 - h^2} \;, \end{aligned} \end{aligned}$$
(13)

where \(x_{\alpha }\) and \(y_{\alpha }\) is coordinate of AP \(\alpha \), \(d_{u,\alpha }\) the distance between AP \(\alpha \) and UE u, \(\varphi \) is the incident angle to PD, and h is the vertical distance between the AP and UE (Hesham et al. 2020).

Fig. 3
figure 3

Schematic diagram of the VLC-based positioning system

3.2.2 Clustering and association

After allocating the position of all UEs within AP coverage, they will be sorted in ascending order based on their distance away from the AP and then divided them into two clusters (near and far), as shown in Fig. 4. Subsequently, the two-user NOMA pair should be formed so that a minimum distance (\(d_{\text {min}}\)) separates the near and far users is a necessary condition to keep a minimum intra-cluster interference (Mounchili and Hamouda 2020). The distance between pair users in the two clusters, (\(d_{\text {up}}\)), is calculated by

$$\begin{aligned} d_{\text {up}}=\sqrt{(x_{n} - x_{f})^2 + (y_{n} - y_{f})^2} \ge d_{\text {min}} \end{aligned}$$
(14)

where \(x_{n}\), \(y_{n}\) is the coordinates of near user, and \(x_{f}\), \(y_{f}\) is the coordinates of far user.

Fig. 4
figure 4

Users distribution on two clusters

3.2.3 Resource allocation

The resource allocation mechanism should satisfy the quality of service (QoS) provisioning under the constraint of power and bandwidth (resource blocks) that maximizes the frequency reuse in the NOMA system. The Algorithm 1 has been developed on two scenarios (1) maximizing the overall system throughput and (2) minimizing the unserved users.

The following assumptions have been considered

  • The users who did not satisfy the \(d_{min}\) condition will be excluded from the NOMA system and will be served individuals with lower priority,

  • The power distributed factor between the two pairs (near and far) per RB is (\(\beta P_s\) and \((1-\beta )P_s\)), respectively,

  • Any user has SINR less than 14 dB, the threshold of bit-error-rate (BER) \(= 10^{-3}\) in 64-QAM, will not be served by the system.

4 Simulation results and discussion

This section discusses the numerical simulation and results for the proposed hybrid NOMA/FBMC system using two approaches, maximizing system throughput and minimizing the number of blocked (unserved) users. We considered a \(16\times 16\times 4\) m indoor space, which is entirely covered by 64 LiFi APs. Table 1 shows the system parameters considered for simulation and the reported results as an average over 1000 iteration. The users are assumed to be uniformly distributed across the room, and they could require data rates up to 20Mbps follows a Poisson distribution.

Table 1 Simulation Parameters

The optimized power distribution ratio between two paired users and the separation distance, presented in Fig. 4, is calculated in order to select the optimal value of \(\beta \) and corresponding \(d_{\text {mim}}\) which are required to achieve minimum SINR of 14 dB, which provides a BER \(\le 10^{-3}\) in MQAM modulation. Accordingly, Fig. 5 is presented to show the effect of changing the distance between the two paired users on the received SINR at various distributed power factors (\(\beta = 10\%, 20\%,\) and \(30\% \)). As shown, the best configuration for achieving SINR greater than 14dB for each users pair is to limit \(\beta = 20\% \) and the separation distance to be greater than 2.5m.

Figure 6 shows the sum-rate versus the numbers of users with system resource blocks, S, equals 100. Four different system configurations are considered, FBMC only, OFDM only, hybrid NOMA/FBMC, and hybrid NOMA/OFDM to maximize the overall system throughput. As shown, The proposed hybrid NOMA/FBMC system could significantly improve the throughput compared to other systems. In contrast, the system throughput could reach 175Mbps instead of 100Mbps, 85Mbps, and 70Mbps when applied on hybrid NOMA/OFDM, OFDM, and FBMC, respectively. Thus, the proposed hybrid NOMA/FBMC with could improve the overall system throughput by \(175\%\) compared with traditional hybrid NOMA/OFDM.

Finally, Fig. 7 illustrates the comparison in terms of the number of unserved users versus the increasing number of users. The figure shows that, as the number of users increases, the number of unserved users also increases accordingly. However, the proposed algorithm, which a configuration that reduces the number of unserved users, achieves a better performance than other configurations. As shown, while the proposed algorithm could receive only \(10\%\) blocking, while the other three configurations, FBMC only, OFDM only, and hybrid NOMA/OFDM, provided \(40\%\), \(60\%\) and \(60\%\) blocking, respectively.

Fig. 5
figure 5

SINR for UE\(^l\) and UE\(^h\) with different power ratio against separation distance \(d_{\text {min}}\)

Fig. 6
figure 6

Sum rate (Mbps) versus Total Number of Users with \(P_{\text {opt}} = 1\) W, and \(R_B = 100\)

Fig. 7
figure 7

Number of Unserved Users versus Total Number of Users with \(P_{\text {opt}} = 1\) W, and \(R_B = 100\)

5 Conclusion

In this paper, a hybrid structure that combines ACO, OQAM, FBMC, companding, and NOMA has been developed over the VLC communication channel. The proposed hybrid scheme allows two users simultaneously to be multiplexed over the shared RBs using a power allocation solution, enhancing the performance of the LiFi system. A resource allocation algorithm has been developed for two scenarios, maximizing the system throughput or minimizing the number of unserved users. The overall system, including ACO modulation, OQAM, OFDM, \(\mu \)-law, filters, optical modulation, are implemented using the MATLAB tools. The system is applied over the VLC channel considering the LoS and NLOS models. The developed algorithm showed that the proposed hybrid structure could increase the overall system throughput twice-times if only a FBMC was used and the case of OFDM. Furthermore, the proposed algorithm able to reduce the number of unserved users to less than \(10\%\) compared to FBMC with \(30\%\) and OFMC that has \(60\%\).