1 Introduction

The continually growing demands of higher data-rates, device connectivity, and smaller latency have compelled telecom service providers to switch their wireless communication systems from fourth-generation 4G to the new one, commonly termed as fifth-generation 5G. The long-term goals and visions of 5G communication systems lie in offering a complete solution that enables both voice and high-speed data traffic to users at any point, anytime, and anywhere [1, 2]. Nonetheless, the scarcity of traditional radio frequency (RF) spectrum set limits in achieving these goals for wireless communications. With current technology modernizations in the computing era i.e., the Internet of Things (IoT) where every device is capable of providing connectivity and processing will necessitate more updated technology [3, 4]. In such circumstances, there is a dire need to emphasize on emerging wireless technologies; Visible Light Communication (VLC) is one of them that can mitigate the scarcity of RF spectra. The VLC system uses prevailing lighting infrastructure with the addition of a communication chip to understand the functionality of lighting and high-speed data communications concurrently. VLC transmitters are realized via LEDs or laser-diodes that can transfer the information by the fast flickering of light (on and off) while the receiver uses photo-diodes to detect the changing intensity of light [5,6,7].

In comparison with the RF-based wireless communication system, VLC provides interference-free bandwidth of approximately 300 THz, which is significantly broader than RF. Moreover, the process of license permission is not mandatory [8]. The other key merits include inherent secure communication as the light signals do not penetrate through non-transparent objects, high-quality service, and inexpensive optoelectronic components, harmless to human bodies, and no electromagnetic interference (EMI) [9]. From this perspective, it is commonly used in airplanes, hospitals, intelligent transportation systems, undersea communications, and indoor positioning, etc. that have been vulnerable to EMI or safety concerns [10, 11].

A VLC system uses pulse modulation schemes like on–off keying (OOK), pulse-position modulation (PPM), and pulse-amplitude modulation (PAM) as an obvious choice. However, as data-rates of VLC system approaches to hundreds of megabits per second or even more, these modulation techniques put limits on spectral and power efficiency due to inter-symbol interference (ISI) [12]. To overcome the aforesaid issues, the MC-CDMA technique draws the attention of various researchers, since it makes maximum use of available restricted bandwidth and takes good care of severe ISI that occurs mainly because of high data-rates [13,14,15,16,17]. MC-CDMA is a combination of a multi-carrier scheme called Orthogonal Frequency Division Multiplexing (OFDM) and CDMA. The central idea of utilizing OFDM transmission within a CDMA technique is to maximize the symbol period to ensure that a frequency selective fading channel is split up into several narrowband flat fading channels [17].

A typical MC-CDMA modem is developed by applying Inverse Discrete Fourier Transform (IDFT) block at the transmitter and Discrete Fourier Transform (DFT) block at the receiver respectively. With these blocks, sinusoidal waveforms are used as sub-carriers that are not well-localized in the time domain. Thereby, a cyclic prefix (CP) is positioned in between the successive OFDM symbols that will not only exclude the ISI but also provides a solution for Inter-Channel Interference (ICI) [17]. In practice, the length of the CP is 1/4th of the modulating waveform and it acts as an overhead that alleviates the data-rate, energy, and bandwidth efficiency. Further, another negative aspect of OFDM is high PAPR which also degrades the effectiveness of optical MC-CDMA transmission [18].

To address the aforementioned intrinsic issues of OFDM, numerous techniques are suggested in the literature that confines the PAPR and exterminates the utilization of CP in the traditional OFDM based communication system. In this connection, the work done in [19] expresses that a transmitted signal can be changed from stationary characteristics to cyclo-stationary with the help of an overlapped pulse shaping filter. The key concept of this technique is to attain time localization. Nevertheless, this technique needs to optimize filter parameters for pulse shaping which is a tedious task to do. While in [20], a blind channel estimation technique is engaged in OFDM design that eradicates the CP by exploiting the Toeplitz channel matrix. The benefit of this technique lies in the higher data-rate and bandwidth efficiency. Conversely, this technique increases the computational complexity of the receiver.

The subspace methods for the detection of the MC-CDMA signal without CP are employed in [21], however, the computational complexity is the main concern in such methods. A time-domain equalizer was offered in [22] that reduces the delay spread of the channel. Likewise, an MMSE algorithm was also proposed for channel shortening [23]. In [24], a block coding based multi-carrier scheme is proposed for the reduction of PAPR that parades higher performance but at lower bit rates. Later, clipping and filtering based multi-carrier technique [25] is also proposed that delivers acceptable results but at the outlay of quantifiable distortion. Meanwhile, Muller et. al [26] and Bauml et. al [27] have suggested probabilistic methods that curb the PAPR within an OFDM system. These reduction techniques portray efficient distortionless PAPR results, yet, these techniques face a serious disadvantage, i.e., the computational complexity of the system surges due to the rise in the number of DFT points. It is also pertinent to state here that all previously mentioned proposed techniques have a common demerit of maximizing the computational complexity of the receiver that is divergent to the basic design of MC-CDMA.

To generate the MC-CDMA symbol, the current work cascaded the enhanced form of OFDM, which is characterized as enhanced sub-carrier index-modulation OFDM (ESIM) with the CDMA scheme. Moreover, to improve the performance of the proposed system the traditional Fourier transforms are swap with the wavelet transforms (WT). The proposed system appears to be a good remedy for both CP and PAPR concerns of OFDM. ESIM with its state-of-the-art framework wrestles the problem of high PAPR while wavelet techniques carry excellent orthogonal properties due to which CP is no more necessary between the two consecutive symbols. Hence, the spectral efficiency of the system is amended to some extent. With WT, the system also turns out to be more robust to ISI as the side-lobes of the wavelet-based OFDM system are much lower when compared with the Fourier transform-based system. Therefore, the overall energy of the system is also conserved [28].

This work presents the comparative analysis for OFDM based MC-CDMA, ESIM based FT-MC-CDMA and ESIM based WT-MC-CDMA in the existence of a line-of-sight (LoS) environment. OFDM based MC-CDMA technique is used as a benchmark while the proposed techniques are compared with it. For the qualitative and quantitative performance assessment of any system, an analytical expression is used to obtain more accurate results. Therefore, exact closed-form mathematical expressions for BER of IM/DD optical systems based on the proposed techniques are also derived and provided in the work. The computer programs are developed in MATLAB tool while the main performance metrics for the aforementioned systems are BER and PAPR. The simulation results are produced exclusively to validate the derived analytical expressions. Additionally, the work also offers a series of simulation results with a detailed description of the visible light characteristics.

The entire research article is planned in the succeeding sections. Section 2 contributes a comprehensive description of the systems modeling. This section also illustrates the mathematical equations to compute an impulsive response of the VLC channel. Later, in Sect. 3 the analytical BER expressions for the conventional and proposed systems are derived that will help in performance assessment. While Sect. 4 shows the simulation results with significant discussions. The last section will conclude the complete work.

2 Analytical System Modeling

This section presents a thorough discussion of the VLC system design for both Fourier and Wavelet-based MC-CDMA techniques. Further, a brief description of the VLC channel employed for the computer simulations is also delineated.

2.1 Discrete Fourier Transform Based MC-CDMA Technique

The VLC system for ESIM based FT-MC-CDMA technique is demonstrated in Fig. 1. Binary data from the user are first multiplied by the Optical Orthogonal Code (OOC) code. OOC codes are the family of unipolar (0,1) codes that exhibit brilliant cross-correlation and autocorrelation properties. These codes are closely linked to constant weight error-correcting codes and therefore, they can also introduce link reliability in the proposed system. The code length of the OOC is selected to be 7 while the code weight is 3. After the spreading/encoding of binary data, the resultant sequence is divided into parallel sub-carriers and then input to the ESIM-OFDM modulator.

Fig. 1
figure 1

VLC system design for DFT based MC-CDMA

In the ESIM-OFDM modulator, initially, the sub-carriers are split into two subsequences namely SOOK and SQAM. Subsequence SOOK is employed to represent the capacity of two sub-carriers (active and inactive) while SQAM shows constellation points transmitted within the sub-carriers [29]. In the subsequent step, the mapper traverses the complete OOK subsequence and if the mapper found that the OOK bit is 1 then a pair of sub-carriers is selected. The first sub-carrier is an active one and it transmits the QAM symbol while the other sub-carrier is inactive. The inactive sub-carrier conveys no information and ideally, it is assumed that it has no energy. Moreover, if the OOK bit is found to be 0, then the first sub-carrier of the pair is inactive while the other has a QAM symbol. In this manner, the complete operation is done on every OOK bit of subsequence, and sub-carriers are formed.

To ensure a real-valued and non-negative modulating waveform necessary for the IM/DD, Hermitian symmetry is levied on the incoming signals before applying the IDFT operation [30]. The sub-carriers are then supplied to the IDFT block that shifts them from the frequency domain to the time domain and later CP or guard intervals are added between two consecutive ESIM symbols. After CP insertion, the data within the sub-carriers are serially combined and it is noticeable that the modulating waveform is still bipolar. Therefore, proper convergence into a unipolar signal is necessary and for this, DC offset is added in the MC-CDMA waveform. At this point, it is worth telling here that due to the inherent PAPR issue of MC-CDMA a higher DC offset is obligatory to completely exclude the negative peaks which in turn increases the optical energy-per-bit to single-sided noise power-spectral density, \({\raise0.7ex\hbox{${E_{{b_{{\left( {opt} \right)}} }} }$} \!\mathord{\left/ {\vphantom {{E_{{b_{{\left( {opt} \right)}} }} } {N_{0} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${N_{0} }$}}\), hence, the optical energy is not conserved [31]. So, a suitable DC offset is added and the leftover negative peaks are clipped to zero. In the last step, the DFT based MC-CDMA waveform is provided to the ideal optical modulator wherein the optical intensity is produced with the input electrical signal. The optical signal is then moved through the free-space medium.

The photo-diode positioned at the receiver side gathers the optical signal which is degraded by the free-space VLC channel. After optical to electrical convergence, a shot noise which is modeled as additive white Gaussian noise (AWGN) is included in the electrical domain. The noise added electrical signal is applied to the sub-optimal zero forcing equalizer that diminishes the channel effects. Subsequently, the serial data is transformed back to the parallel sub-carriers and the CP is removed. Moreover, the time domain signals are also transmuted back to the frequency domain using DFT block and the signals are making free of Hermitian symmetry. The recovered signals are applied to the demapper that separates the two sequences SOOK and SQAM. This can be done by applying the comparator approach on a pair of consecutive sub-carriers. The magnitude of both sub-carriers is computed and compared with each other [32].

Let's consider a case in which the magnitude of the first sub-carrier is greater than the second sub-carrier. The comparator decides that the first sub-carrier is an active one and it contains a QAM symbol. While the corresponding OOK bit is detected as 1. In the meantime, the second sub-carrier of the pair is detected as an inactive. Similarly, if the magnitude of the first sub-carrier is less than the second, then, in that case, the comparator decides that the first sub-carrier is inactive while the second has a QAM symbol. The corresponding OOK bit with this sub-carrier is detected as zero. Likewise, all sub-carrier pairs are traversed by the demapper, and subsequences (SOOK and SQAM) are separated and then combined to form a single bitstream. This stream is then multiplied with the spreading waveform to get the original bitstream.

2.2 Discrete Wavelet Transform Based MC-CDMA Technique

The existing section enlightens the framework for the proposed discrete wavelet transforms (DWT) based VLC system. In the suggested scheme, the IDFT/DFT blocks utilized in the traditional system (Fig. 1) are substituted by the IDWT/DWT blocks which in turn eliminate the usage of the CP. To explain the working of IDWT/DWT blocks a brief introduction of wavelets is necessary.

A wavelet is referred to as a wave of small duration that has finite energy focused around a point in time and thus provides a means for the investigation of non-stationary, transient, and time-varying phenomena [33, 34]. It offers the characteristics that are similar to an oscillating wave and has the potential to permit concurrent analysis both in time and frequency-domain. Due to this fact, wavelets become a strong contender that can replace Fourier analysis. A wavelet is represented by a window function that splits the user information into completely different frequency bands and thereafter, analyses the selected band of interest [35].

The fundamentals of DWT started in 1976 when Crosier, Esteban, and Galand conceived a method of decomposing a discrete-time signal [36]. The DWT of the given discrete signals is computed by decomposing the signal into distinct frequency bands by succeeding high and low pass filter banks. These two filters are also known as the Quadrature Mirror Filter (QMF) pair and the process of decomposition is termed as sub-band coding [37]. On passing through low pass filter, high frequencies components are blocked and it contains only slowly changing information of the signal also termed as approximation coefficients (AC). While high pass filter stops low frequencies components and yields detailed coefficients (DC) that are rapidly changing components of the signal. Figure 2 shows the three-level decomposition of the input signal. However, the decomposition procedure can be elongated based upon at what level of precision and accuracy in the results are required.

Fig. 2
figure 2

Three level signal decomposition

An information signal \(X\left[ n \right]\) is input to filter banks that comprise high \(G\left[ n \right]\) and lowpass \(H\left[ n \right]\) filters respectively [37]. For analysis at the first level, \(X\left[ n \right]\) is split into a pair of equal high and low-frequency components. The higher frequency components due to less information can be discarded while lower frequency has a lot of information and thus it can be further processed. It is pertinent to discuss here that due to the removal of high-frequency components samples within the signal are reduced which results in the reduction of sampling rate and therefore, the time resolution becomes half while the spectral resolution is doubled [38].

At the next level, the output of \(H\left[ n \right]\) is sampled by factor 2 to satisfy the Nyquist criterion and again decomposed in high and low-frequency components. In the same manner, the decomposition process continues at the third level. Mathematically, the process of decomposition is given as [39, 40]:

$$ W_{high} \left[ k \right] = \mathop \sum \limits_{n} D\left[ n \right]G\left[ {2k - n} \right] $$
(1)
$$ V_{low} \left[ k \right] = \mathop \sum \limits_{n} D\left[ n \right]H\left[ {2k - n} \right] $$
(2)

The operation of inverse DWT is converse to DWT. In IDWT, the operation of downsampling is replaced by upsampling.

2.3 VLC Channel Model

In VLC systems, an air interface is used as a communication medium. Owing to the natural randomness in our surroundings, it is difficult to receive the exact message which was originally transmitted. Therefore, it is of great importance that the channel characteristics need to be identified to maximize the error performance of the VLC system. An indoor VLC channel model is categorizing into directed/LoS and non-directed/NLoS paths [41, 42]. The overall impulsive response of the VLC channel is computed by summing up the individual responses of both configurations. Mathematically, the cumulative VLC channel response is expressed as:

$$ h\left( t \right) = H_{LoS} \delta \left( {t - \tau_{LoS} } \right) + H_{NLoS} \delta \left( {t - \tau_{NLoS} } \right) $$
(3)

where \(H_{LoS} \delta \left( {t - \tau_{LoS} } \right)\) is the impulsive response due to the LoS signal while \(H_{NLoS} \delta \left( {t - \tau_{NLoS} } \right)\) is the response due to the reflections. Also, the parameters \(\tau_{LoS}\) and \(\tau_{NLoS}\) represents the delay for the first incoming LoS and NLoS signal, moving from LED towards the photo-diode. The LoS path is realized as a point-to-point link in which a VLC transmitter can communicate with the receiver through narrow beams. This would mean that there exist no obstacles in the LoS link and for this reason, it is free from the reflections. In the LoS scenario, the signal attenuation is depending upon the path-loss that can be evaluated by utilizing the knowledge of distance and beam divergence between transmitter and receiver. The LoS link is demonstrated in Fig. 3 in which an LED transmitter is considered as a monochromatic source having a Lambertian radiation pattern. Mathematically, the channel DC gain \(H_{LoS}\) for LoS link is given as [43, 44]:

$$ H_{LoS} = \frac{{(m_{e} + 1)*A_{d} }}{{2\pi d^{2} }}*cos^{{m_{e} }} \left( \theta \right)*\cos \left( {\Psi } \right)*g\left( {\Psi } \right)*T\left( {\Psi } \right) $$
(4)
Fig. 3
figure 3

VLC channel model

where \(A_{d}\) denotes the area of photo-diode, \(d\) shows the separation between the emitter and detector, \(\Psi\) and \(\theta\) express the incidence and irradiance angle respectively, \(g\left( {\Psi } \right)\) denotes the gain of a concentrator, \(T\left( {\Psi } \right)\) illustrates optical filter gain. The aforesaid Eq. 4 is valid only when the incidence angle is less than Field of View (\({\Psi }_{FOV}\)) i.e., \({\Psi } < {\Psi }_{FOV}\). The parameter \(m_{e}\) recognizes the Lambertian emission and it is expressed as [43]:

$$ m_{e} = \frac{ - \ln \left( 2 \right)}{{\ln \left( {{\text{cos}}\left( {\theta_{1/2} } \right)} \right)}} $$
(5)

where \(\theta_{1/2}\) shows the half-power angle of the LED. The current work only deals with the LoS link as it carries nearly 95% of the entire optical power. As we are dealing only with the LoS link, the Eq. 3 can be rewritten in the simplified form as:

$$ h\left( t \right) = H_{LoS} \delta \left( {t - \tau_{LoS} } \right) $$
(6)
$$ h\left( t \right) = \frac{{(m_{e} + 1)*A_{d} }}{{2\pi d^{2} }}*cos^{{m_{e} }} \left( \theta \right)*\cos \left( {\Psi } \right)*g\left( {\Psi } \right)*T\left( {\Psi } \right)\left( {t - \tau_{LoS} } \right) $$
(7)

3 Performance Evaluation for MC-CDMA Systems

This section is aimed to provide the complete analytical derivations of BER for MC-CDMA systems discussed in Sect. 2. We first analytically evaluate the performance of the traditional MC-CDMA system in the presence of the LoS channel and then correlate it for the proposed systems.

3.1 Analytical Derivation of BER for Traditional MC-CDMA System

In a typical MC-CDMA modem, the data is transmitted in \(N\) narrowband sub-carriers. Nonetheless, due to the Hermitian symmetry constraint, only \({\raise0.7ex\hbox{$N$} \!\mathord{\left/ {\vphantom {N 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}\) sub-carriers are transmitting the data while other \({\raise0.7ex\hbox{$N$} \!\mathord{\left/ {\vphantom {N 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}\) sub-carriers transmit complex conjugation of first \({\raise0.7ex\hbox{$N$} \!\mathord{\left/ {\vphantom {N 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}\) sub-carriers. Hence, the transmitted MC-CDMA signal \(S_{m} \left( t \right)\) can be articulated as:

$$ S_{m} \left( t \right) = \sqrt {\frac{2P}{N}} \mathop \sum \limits_{k = 0}^{\frac{N}{2}} b_{k} \left[ n \right]c_{k} \left[ n \right]\cos \left( {\omega_{n} t} \right)P_{T} \left( t \right) $$
(8)

where \(N\) designates the number of sub-carriers (equals to the size of FFT transform), \(P\) signifies the power of the data bit, \(b_{k} \left[ n \right]\) denotes the uniformly distributed incoming data bit where \(b_{k} \in \left( {0,1} \right)\) with \(E\left[ {b_{k} \left[ n \right]} \right] = 0\) and \(E\left[ {\left| {b_{k} \left[ n \right]} \right|^{2} } \right] = 1\), \(c_{k} \left[ n \right]\) epitomizes the spreading sequence, \(\omega_{n}\) is the angular frequency of the nth sub-carrier and, \(P_{T} \left( t \right)\) represents the rectangular pulse which is non-zero in the interval [0, T].

For IM/DD based optical wireless link, the received signal \(r\left( t \right)\) before the channel equalization can be summarized as:

$$ r\left( t \right) = RS_{m} \left( t \right) \otimes h\left( t \right) + \eta \left( t \right) $$
(9)

where \(S_{m} \left( t \right)\) is the transmitted MC-CDMA signal, \(h\left( t \right)\) is the impulse response of the VLC channel, \(R\) represents the responsitivity of the photo-diode, the symbol \(\otimes\) signifies the convolution operator and \(\eta \left( t \right)\) is the shot noise modeled as Gaussian noise with zero mean and variance [43].

$$ \sigma_{shot}^{2} = 2qRP_{r} B + N_{0} I_{2} B $$
(10)

where \(q\) is the electron charge, \(P_{r}\) designates the received optical power, \(B\) denotes the equivalent noise bandwidth, \(N_{0}\) signifies the noise density, and \(I_{2}\) epitomizes the noise bandwidth factor. By replacing the \(S_{m} \left( t \right)\) in Eq. 9 with its actual value (Eq. 8), the received signal can be given as:

$$ r\left( t \right) = R\sqrt {\frac{2P}{N}} \mathop \sum \limits_{k = 0}^{\frac{N}{2}} b_{k} \left[ n \right]c_{k} \left[ n \right]\cos \left( {\omega_{n} t} \right)P_{T} \left( {t - \tau } \right) \otimes h\left( t \right) + \eta \left( t \right) $$
(11)

where \(\tau\) indicates the time delay facing by the optical signal in moving from the transmitter LED to the receiver photo-diode. In our case, we assume \(\tau = 0\) because of perfect synchronization between the VLC transmitter and receiver. To derive the analytical BER for the MC-CDMA system, a random variable must be obligatory that is not accessible for the LoS link because of all the parameters given in Eq. 7 are known and fixed. So, in this scenario, the only random variable available for BER derivations is \(\eta \left( t \right)\). For zero-forcing equalizer, the channel equalization coefficients \(c\left( t \right)\) must satisfy,

$$ h\left( t \right) \otimes c\left( t \right) = \delta $$
(12)

where \(\delta\) symbolizes the Dirac delta function. The received signal after the equalization is specified as:

$$ r_{e} \left( t \right) = c\left( t \right) \otimes r\left( t \right) = RS_{m} \left( t \right) c\left( t \right) \otimes h\left( t \right) + c\left( t \right) \otimes \eta \left( t \right) $$
(13)
$$ r_{e} \left( t \right) = RS_{m} \left( t \right) + \eta \left( t \right) $$
(14)
$$ r_{e} \left( t \right) = R\sqrt {\frac{2P}{N}} \mathop \sum \limits_{k = 0}^{\frac{N}{2}} b_{k} \left[ n \right]c_{k} \left[ n \right]\cos \left( {\omega_{n} t} \right)P_{T} \left( t \right) + \eta \left( t \right) $$
(15)

Using some results given in [12], the decision variable used to estimate the \(k\) th bit is given as,

$$ V_{0} = \frac{1}{T}\mathop \int \limits_{0}^{T} r_{e} \left( t \right)\mathop \sum \limits_{i = 1}^{\frac{N}{2}} c\left[ i \right]\cos \left( {\omega_{i} t} \right)dt $$
(16)
$$ V_{0} = {\frac{1}{T}}\mathop \int \limits_{0}^{T} \left( {R\sqrt {\frac{2P}{N}} \mathop \sum \limits_{k = 1}^{\frac{N}{2}} b_{k} \left[ n \right]c_{k} \left[ n \right]{\text{cos}}\left( {\omega_{n} t} \right)P_{T} \left( t \right) + \eta \left( t \right)} \right)\mathop \sum \limits_{i = 1}^{\frac{N}{2}} c\left[ i \right]\cos \left( {\omega_{i} t} \right)dt $$
(17)
$$ V_{0} = \mathop \sum \limits_{k = 1}^{\frac{N}{2}} \mathop \sum \limits_{i = 1}^{\frac{N}{2}} \frac{R}{T}\sqrt {\frac{2P}{N}} b_{k} \left[ n \right]c_{k} \left[ n \right]c\left[ i \right]\mathop \int \limits_{0}^{T} {\text{cos}}\left( {\omega_{n} t} \right)\cos \left( {\omega_{i} t} \right) + \mathop \sum \limits_{i = 1}^{\frac{N}{2}} \mathop \int \limits_{0}^{T} \eta \left( t \right){\text{cos}}\left( {\omega_{i} t} \right)dt $$
(18)

It is imperative to mention here that multiplying the Gaussian variable with any signal does not change the statistics of the Gaussian noise and thus it remains the same. Therefore, the simplified form of the decision variable given in [12] can be written as,

$$ V_{0} = D + I + \eta $$
(19)

where \(I\) is the multiple access interference which is not considered in this work as the system is designed just for the single user, \(\eta\) is the corresponding noise term and \(D\) indicates the desired signal which is computed when the variable \(k = i\),

$$ D = R\sqrt {\frac{2P}{N}} \mathop \sum \limits_{k = 1}^{\frac{N}{2}} \left( {c\left[ k \right]} \right)^{2} b_{k} \left[ n \right] = R\sqrt {\frac{2P}{N}} b_{k} \left[ n \right] $$
(20)

The energy of the desired bit, \(E_{b}\), can be calculated as,

$$ E_{b} = E\left\{ {\left| D \right|^{2} } \right\} = \left( {R\sqrt {\frac{2P}{N}} } \right)^{2} = \frac{{2PR^{2} }}{N} $$
(21)

By employing the Eqs. 10 and 21 the signal-to-noise ratio (SNR) is defined as,

$$ SNR = \frac{{\frac{{2PR^{2} }}{N}}}{{\sigma_{shot}^{2} }} $$
(22)

For \(M -\) ary rectangular QAM modulation with an even number of bits per symbol, the analytical BER can be obtained by the renowned relation [45],

$$ BER_{M - QAM} = \frac{{2\left( {\sqrt M - 1} \right)}}{{\sqrt M log_{2} \left( M \right)}}Q\left( {\sqrt {\frac{3SNR}{{2\left( {M - 1} \right)}}} } \right) $$
(23)

In the above relation, \(Q\left( x \right)\) is given by,

$$ Q\left( x \right) = \frac{1}{2\pi }\mathop \int \limits_{x}^{\infty } e^{{\frac{{ - y^{2} }}{2}}} dy $$
(24)

3.2 Analytical Derivation of BER for Proposed ESIM Based FT-MC-CDMA System

The existing subsection acquaints with the analytical BER for ESIM based FT-MC-CDMA system. For generalization, a single sub-carrier pair is transmitted and received through an LoS-VLC channel. As fading is not considered in this work, therefore, the data is corrupted by the AWGN channel as discussed in the previous subsection. The BER equations derived in this section are similar for all other sub-carrier pairs. Now consider that a QAM symbol ‘1 + j’ is transmitted with inactive sub-carrier of the pair. The contour lines of distribution of received sub-carriers are displayed in Fig. 4 in which an active sub-carrier is indicated by a mark ‘ × ’ and mathematically, it is denoted as \(\hat{D}\left[ k \right]\) that takes a value of \(p + jq\). The decision for an inactive sub-carrier is considered as correct only when all possible values lie inside the shaded circle. Therefore, the integration of the shaded region of the circle provides the probability for accurately identifying active and inactive sub-carrier within a pair. The results of integration can be understood from [46] and are expressed as:

$$ P_{r} \left\{ {b_{k} = 1{|}\hat{D}\left[ k \right] = p + jq} \right\} = \mathop \int \limits_{{ - \sqrt {\left| {p + jq} \right|^{2} } }}^{{\sqrt {\left| {p + jq} \right|^{2} } }} \mathop \int \limits_{{ - \sqrt {\left| {p + jq} \right|^{2} - b^{2} } }}^{{\sqrt {\left| {p + jq} \right|^{2} - b^{2} } }} \frac{1}{{\pi \sigma_{n}^{2} }}e^{{{ -({a^{2} + b^{2} }) \!\mathord{\left/ {\vphantom {{a^{2} + b^{2} }) {\sigma_{n}^{2} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\sigma_{n}^{2} }$}}}} da \cdot db $$
(25)
Fig. 4
figure 4

Contour lines of distribution for received sub-carrier pair

By converting the Cartesian coordinates to polar coordinates, the aforesaid equation (Eq. 25) can be simplified as [47]:

$$ P_{r} \left\{ {b_{k} = 1{|}\hat{D}\left[ k \right] = p + jq} \right\} = \mathop \int \limits_{0}^{2\pi } \mathop \int \limits_{0}^{{\sqrt {\left| {p + jq} \right|^{2} } }} \frac{1}{{\pi \sigma_{n}^{2} }}e^{{ - \frac{{r^{2} }}{{\sigma_{n}^{2} }}}} r dr \cdot d\theta $$
(26)
$$ P_{r} \left\{ {b_{k} = 1{|}\hat{D}\left[ k \right] = p + jq} \right\} = 1 - e^{{ - \frac{{\left| {p + jq} \right|^{2} }}{{\sigma_{n}^{2} }}}} $$
(27)

For accurately identifying the active sub-carrier \(b_{k}\) = 1. It is important to discuss here that when AWGN is not added to the signal, then there is an equal probability that a sub-carrier is correctly identified from \(M\) constellation points. Therefore, the probability density of the received sub-carrier is the weighted sum of \(M\) distinct probability densities originating from Gaussian functions. The probability density of received sub-carrier is given as [47]:

$$ \hat{D}\left[ k \right] = \frac{1}{M}\mathop \sum \limits_{i = 1}^{M} \frac{1}{{\pi \sigma_{n}^{2} }}e^{{ - \frac{{\left( {p - Re\left( {\mu_{i} } \right)} \right)^{2} + \left( {q - Img\left( {\mu_{i} } \right)} \right)^{2} }}{{\sigma_{n}^{2} }}}} $$
(28)

where \(\mu\) signifies the constellation point, \(i\) refers to the number of constellation points and it varies from 1 to \(M\), \(Re\left( {\mu_{i} } \right)\) denotes the real part of the constellation point and, \(Img\left( {\mu_{i} } \right)\) gives an imaginary part.

By using Eqs. 27 and 28, the probability for correctly identifying active and passive sub-carrier is formulated as [47]:

$$ P_{r} \left\{ {b_{k} = 1} \right\} = \mathop \int \limits_{ - \infty }^{\infty } \mathop \int \limits_{ - \infty }^{\infty } P_{r} \left\{ {b_{k} = 1{|}\hat{D}\left[ k \right]} \right\}*P_{r} \left\{ {\hat{D}\left[ k \right] = p + jq} \right\} dx \cdot dy $$
(29)
$$ P_{r} \left\{ {b_{k} = 1} \right\} = \mathop \int \limits_{ - \infty }^{\infty } \mathop \int \limits_{ - \infty }^{\infty } 1 - e^{{ - \frac{{\left| {p + jq} \right|^{2} }}{{\sigma_{n}^{2} }}}} *\frac{1}{M}\mathop \sum \limits_{i = 1}^{M} \frac{1}{{\pi \sigma_{n}^{2} }}e^{{ - \frac{{\left( {p - Re\left( {\mu_{i} } \right)} \right)^{2} + \left( {q - Img\left( {\mu_{i} } \right)} \right)^{2} }}{{\sigma_{n}^{2} }}}} $$
(30)

The simplification of Eq. 30 yields:

$$ P_{r} \left\{ {b_{k} = 1} \right\} = 1 - \frac{1}{2M}\mathop \sum \limits_{i = 1}^{M} e^{{ - \frac{{\left| {\mu_{i} } \right|^{2} }}{{2\sigma_{n}^{2} }}}} $$
(31)

While the probability of incorrect identification of active and inactive sub-carrier is given as [47]:

$$ P_{r} \left\{ {b_{k} = 0} \right\} = 1 - P_{r} \left\{ {b_{k} = 1} \right\} $$
(32)
$$ P_{r} \left\{ {b_{k} = 0} \right\} = 1 - \left[ {1 - \frac{1}{2M}\mathop \sum \limits_{i = 1}^{M} e^{{ - \frac{{\left| {\mu_{i} } \right|^{2} }}{{2\sigma_{n}^{2} }}}} } \right] $$
(33)
$$ P_{r} \left\{ {b_{k} = 0} \right\} = \frac{1}{2M}\mathop \sum \limits_{i = 1}^{M} e^{{ - \frac{{\left| {\mu_{i} } \right|^{2} }}{{2\sigma_{n}^{2} }}}} $$
(34)

The overall error performance of the ESIM-OFDM system is assessed through probability density equations which are already computed in Eqs. 31 and 34. If the state of the sub-carrier is not correctly identified then the corresponding OOK bit that encodes the sub-carrier state also detected as wrong. The BER which is contributed by this erroneous OOK bit is formulated as [47]:

$$ BER_{OOK} = P_{r} \left\{ {b_{k} = 0} \right\}*\frac{1}{{log_{2} \left( M \right) + 1}} $$
(35)
$$ BER_{OOK} = \frac{1}{{2M\left( {log_{2} \left( M \right) + 1} \right)}}\mathop \sum \limits_{i = 1}^{M} e^{{ - \frac{{\left| {\mu_{i} } \right|^{2} }}{{2\sigma_{n}^{2} }}}} $$
(36)

The BER analysis of QAM symbol is similar to the analysis already done in [47] which is mathematically expressed as:

$$ BER_{QAM} = P_{r} \left\{ {b_{k} = 0} \right\}*\frac{1}{{log_{2} \left( M \right) + 1}} + P_{r} \left\{ {b_{k} = 1} \right\}*BER_{M - QAM} \frac{{log_{2} \left( M \right)}}{{log_{2} \left( {M + 1} \right)}} $$
(37)

Next, by employing the Eqs. 23, 31, and 34, The aforesaid Eq. 37 can be written in the simplified form as,

$$ \begin{aligned} BER_{QAM} & = \frac{1}{{2M\left( {log_{2} \left( M \right) + 1} \right)}}\mathop \sum \limits_{i = 1}^{M} e^{{ - \frac{{\left| {\mu_{i} } \right|^{2} }}{{2\sigma_{n}^{2} }}}} + \frac{{2\left( {\sqrt M - 1} \right)}}{{\sqrt M \left( {log_{2} \left( M \right) + 1} \right)}}Q\left( {\sqrt {\frac{3SNR}{{2\left( {M - 1} \right)}}} } \right) \\ & \quad - \frac{{\left( {\sqrt M - 1} \right)}}{{M\sqrt M \left( {log_{2} \left( M \right) + 1} \right)}}Q\left( {\sqrt {\frac{3SNR}{{2\left( {M - 1} \right)}}} } \right)\mathop \sum \limits_{i = 1}^{M} e^{{ - \frac{{\left| {\mu_{i} } \right|^{2} }}{{2\sigma_{n}^{2} }}}} \\ \end{aligned} $$
(38)

The final expression that yields the complete BER of ESIM-OFDM is formulated as [47]:

$$ BER_{ESIM - OFDM} = BER_{OOK} + BER_{QAM} $$
(39)

3.3 Analytical Derivation of BER for Proposed ESIM Based WT-MC-CDMA System

From Sect. 2.2 it is apparent that in wavelet analysis the input signal is linearly convolved with the QMF filter bank. Nonetheless, the linear convolution yields an output signal with excessive length. To circumvent this, circular convolution is more preferable for wavelet analysis. Consider a QMF filter with length \(L\) in which the last \(\frac{L}{2}\) components resulted because of linear convolution are added to first \(\frac{L}{2}\) components. To ensure the perfect reconstruction of the signal, \(\frac{L}{2}\) the left circular shift is essential to carry out for the input of each DWT procedure [48]. As in the proposed WT based MC-CDMA system, the complex sinusoids of FFT are replaced with the QMF filter pair, therefore, the noise acting on each sub-carrier must be different. To derive the exact BER equation, we first determine the noise variance. Also, to make the model simple we only demonstrated the derivations using the QMF filter for AC components. The DC components are derived by a similar process.

The circular shift can be represented by a specific permutation and for this reason, the DWT operation is defined as \(\zeta \left( {j,S} \right) \cong \left( {j + \frac{L}{2}} \right)\) mod \(S\). By taking the circular shift of the noise term in Eq. 13, each element in the input signal can be signified as [48],

$$ \begin{aligned} \eta_{m} \left( t \right) & = c_{{\zeta \left( {m,\frac{N}{2}} \right)}} \otimes \eta \left( t \right) \\ \eta_{m} \left( t \right) & = \mathop \sum \limits_{n} c_{{\zeta \left( {m,\frac{N}{2}} \right) - n}} \eta \left( t \right) \\ \eta_{m} \left( t \right) & = \mathop \sum \limits_{n} c_{{m + \zeta \left( { - n,\frac{N}{2}} \right)}} \eta \left( t \right) \\ \end{aligned} $$
(40)

For the analysis of the AC part, a low pass filter \(G\left[ n \right]\) is used and the circular convolution of two series \(a\) and \(b\) with period \(N\) is defined as \(a_{n} \otimes b_{n} = \mathop \sum \limits_{m} a_{m} b_{n - m}^{N}\). The downsampling operation is indicated by the operator \(\downarrow\). The DWT for the first level is given as [48],

$$ \begin{aligned} al1_{m} & = (\eta_{m} \left( t \right) \otimes G_{m} ) \downarrow 2 \\ al1_{m} & = \mathop \sum \limits_{n} \left( {\mathop \sum \limits_{k} c_{{\zeta \left( {n,\frac{N}{2}} \right) - k}} \cdot \eta \left( t \right)} \right)G_{2m - n} \\ al1_{m} & = \mathop \sum \limits_{k} \eta \left( t \right)\mathop \sum \limits_{n} c_{{\zeta \left( {n,\frac{N}{2}} \right) - k}} G_{2m - n} \\ \end{aligned} $$
(41)

As the noise term is Gaussian distribution with zero mean, therefore, the mean value of \(al1_{m}\) is also zero. However, the variance can be found as,

$$ \begin{aligned} Var\left\{ {al1_{m} } \right\} & = E\left\{ {al1_{m}^{2} } \right\} - \left( {E\left\{ {al1_{m} } \right\}} \right)^{2} = E\left\{ {al1_{m}^{2} } \right\} \\ Var\left\{ {al1_{m} } \right\} & = \mathop \sum \limits_{k} \eta^{2} \left( t \right)\left( {\mathop \sum \limits_{n} c_{{\zeta \left( {n,\frac{N}{2}} \right) - k}} G_{2m - n} } \right)^{2} \\ Var\left\{ {al1_{m} } \right\} & = \delta^{2} \mathop \sum \limits_{k} \left( {\mathop \sum \limits_{n} c_{{\zeta \left( {n,\frac{N}{2}} \right) - k}} G_{ - n} } \right)^{2} \\ Var\left\{ {al1_{m} } \right\} & = \delta^{2} \mathop \sum \limits_{k} \left( {\mathop \sum \limits_{n} c_{{\zeta + k\left( { - n,\frac{N}{2}} \right)}} G_{ - n} } \right)^{2} \\ Var\left\{ {al1_{m} } \right\} & = \delta^{2} \mathop \sum \limits_{k} \left( {\mathop \sum \limits_{n} c_{{\zeta \left( {k,\frac{N}{2}} \right) - n}} G_{n} } \right)^{2} \\ Var\left\{ {al1_{m} } \right\} & = \delta^{2} \mathop \sum \limits_{k} \left( {c_{{\zeta \left( {k,\frac{N}{2}} \right)}} \otimes G_{k} } \right)^{2} \\ \end{aligned} $$
(42)

Similarly, the variance of multi-level DWT can be computed. Using the tree structure of DWT and some useful results obtained through [48] the noise variance for \(N = 64\) and 3-level DWT can be computed as,

$$ {N_{0}} = {V_{W}} \left(m,N = 64,L = 3 \right) = \left\{ {\begin{array}{*{20}l} Var \left( {ag1_{m} } \right) &\quad 0 \le m < 32 \\Var \left( {ag2_{m} } \right) &\quad 32 \le m < 48 \\ Var \left( {ag3_{m} } \right) &\quad 48 \le m < 56 \\ Var \left( {ah3_{m} } \right) & \quad 56 \le m < 64 \\ \end{array} } \right. $$
(43)

The SNR equation is derived in Eq. 22 remains the same, however, the only change is the change in noise variance. Further, the exact BER equation for ESIM based WT-MC-CDMA is also similar to the Eq. 38.

4 Simulation Results and Discussions

The current section is distributed into three sub-sections wherein the initial section elaborates on the simulation setup. This section also gives the channel parameters essential for the characterization of the LoS link. The second sub-section offers a statistical analysis of visible light characteristics from LED lightings. The characteristics of visible light within a room are the distribution of transmitter illuminance (lm), received power distribution (dBm), coverage area (m), and variations of received power concerning LED’s semi angle at half power (degrees) and receivers FOV. While the third section conveys the simulation results and discussions on traditional OFDM based MC-CDMA, ESIM based DFT-MC-CDMA, and ESIM based proposed DWT-MC-CDMA based on numerous performance metrics. Although, it is shown in [29, 32] that ESIM performs better than traditional OFDM. However, the author believes that this is the first work on ESIM based MC-CDMA. So, to assess its performance, simulations of the traditional MC-CDMA system are also conducted.

4.1 Simulation Setup

For performance assessments, the computer-based programs for traditional and proposed systems are formulated in MATLAB tool with the LoS VLC channel. The parameters required for the simulations of all systems are recorded in Table 1 whereas the simulation setup is exhibited in Fig. 3. For the LoS link, a vacant room with measurements of 5 m × 5 m × 3 m is considered. A VLC transmitter is affixed on the ceiling at an elevation of 2.75 m above the floor emitting light in the downward direction whereas a user terminal equipped with photo-diode is positioned on the desk at the height of 0.5 m from the floor. Thus, the total communication distance of the directed path is 2.25 m.

Table 1 Simulation parameters for conventional and proposed MC-CDMA systems

To make the channel simulation realistic, OSW4XME3C1S cool white star-shaped off-the-shelf LEDs are selected for the transmitter while silicon pin photo-diodes S6775 are used to gather the optical signals. In a transmitter, the LEDs are arranged in an array of 10 × 10. Each LED provides the luminous flux of 200 lm which is sufficient to illumine the room [49]. OSW4XME3C1S LED is easily accessible in a market with a broader viewing angle of 120° and emits an optical power of 3 W. The S6775 photo-diode is manufactured by the Hamamatsu in a clear plastic package with an effective area of 26.4 mm2 [50]. The spectral response range and peak sensitivity wavelength of S6775 are 320 nm to 1100 nm and 960 nm respectively. While the photosensitivity of the photo-diode is 0.7A/W. The other specifications of the used LEDs and photo-diodes are also listed in Table 2.

Table 2 Specifications of LED and photo-diode

The transmitter of each system communicates 104 MC-CDMA symbols. Under the simulation parameters mentioned in Table 1, the OFDM and ESIM based MC-CDMA transmitter generates binary random bits that are moved within one symbol. On these data bits, the procedure of MC-CDMA discussed in Sect. 2 is executed. The modulated waveform is then conveyed through the free-space LoS VLC channel. In the receiver design, a sub-optimal time-domain zero forcing equalizer is employed that nullifies the adverse effects of the channel. For all simulations, it is also considered that the emitter and receiver are well synchronized with each other. The BER results are acquired using Monte-Carlo simulations.

4.2 Statistical Analysis of Visible Light Characteristics

This section presents the results and discussions about visible light characteristics. For the given setup, computer-based simulations for the illuminance distribution within a room are carried out in MATLAB and a 3D based numerical result is plotted in Fig. 5. From this result, it is perceptible that the VLC transmitter offers sufficient illuminance at the boundaries of the room, thereby, making the communication possible. The maximum illuminance of about 86.52 lm is realized in the middle of the room. However, on heading towards the boundaries, illuminance is decreasing having a value of 13.39 lm.

Fig. 5
figure 5

Distribution of illuminance within a room

Figure 6 exhibits the 3D plot of the received power distribution with and without a lens. In both cases, the power received is concentrated in the center of the room where the transmitter is installed. Nevertheless, power reduces when moving away from the center. It can be grasped from the result that with 100 LEDs the maximum power received without a lens at the center of the room is 0.1884 dBm and it is around − 9.66 dBm at the boundaries of the room. Figure 6 also displays the received power graph when a lens is considered at the receiver. For this situation, the power received at the center of the room is 10.19 dBm while at the boundaries it is 0.34 dBm. From both results, it is evident that to realize efficient communication the receiver should be fitted out with a lens that focusses the optical signals on the photo-diodes.

Fig. 6
figure 6

Received power distribution within a room

The subsequent result Fig. 7, illustrates the coverage area of the room with reverence to the received power. It is worth mentioning from the contour lines-based result that the proposed setup of the LED transmitter provides the complete coverage of optical power to the users. Although, the optical power at the boundaries is lesser than the power at the center, however, it is still enough to achieve successful communication.

Fig. 7
figure 7

Coverage area distribution concerning received power

Figure 8 exhibits the result of the received power with and without optical lens at various semi angles at half power. For simulations, the FOV of the receiver and channel distance is fixed at 70° and 2.25 m respectively. Further, the VLC transmitter power is also fixed at 300 W, however, the semi angle of the LED varies from 5° to 70° with the range difference of 5°. The result shows that for both cases (with and without optical lens) the maximum power is received at a semi angle of 5°. By increasing the semi angle, the received power in the LoS link will become lesser. This is because by deviating the semi angle from 0° the optical radiation within the room becomes more diffusive and thus some of the optical transmitter power is captivated by the non-reflective objects.

Fig. 8
figure 8

Effects on received power by varying LED semi angle

The next result Fig. 9 demonstrates the received power with and without optical lens at numerous FOV angles. As it is observed in the previous result (Fig. 8) that the maximum power is received at lower semi angles so for simulations the LED semi angle is fixed at 10°. Moreover, the distance and transmitted power are also fixed as discussed previously. It has been depicted from the simulation result that the characteristics of the FOV on the photo-diode are slowly affecting the received power.

Fig. 9
figure 9

Effects on received power by varying FOV of the receiver

4.3 Results for Performance Comparison

The proposed ESIM based MC-CDMA system is assessed based on BER and PAPR metrics. Depending on the results shown in Figs. 8 and 9 the LED semi angle and FOV are fixed at 10° and 30° respectively. A series of simulations are run on MATLAB where the transmitter and receiver separation are 2.25 m. For DWT analysis, ‘Haar’ and other orthogonal wavelet families with different vanishing moments are selected. Figure 10 displays the plot for one MC-CDMA symbol generated by ESIM based MC-CDMA techniques. The QAM modulation order is fixed to 16 and the sub-carrier length is 64. Further, the x-axis of the graph shows the time axis while the y-axis epitomizes the voltage level. It can be evident from the time-domain spectra that after adding the DC bias there still exits some negative peaks which are clipped at zero. Also, the analysis of the spectra confirms that for ESIM based FT-MC-CDMA, the peak voltage level is 1.788 V while for WT-MC-CDMA, the voltage is 1.117 V. Hence, the PAPR of FT-MC-CDMA is high as compare to WT-MC-CDMA.

Fig. 10
figure 10

Transmitted waveforms for a single sub-carrier of ESIM based MC-CDMA systems

The simulations are also conducted to verify the BER expressions (Eqs. 23, 39, and 43) that are derived in Sect. 3. For the simulations, the applied QAM sizes are 16-QAM and 64-QAM while the sub-carrier size is 64. Moreover, the wavelet analysis is conducted by considering the Haar wavelet with level 2. The analytical and Monte-Carlo based simulated BER outcomes of the simulations are exhibited in Fig. 11. By comparing the analytical and simulated results, it can be noticed that analytical BER curves fit well with the simulated curves.

Fig. 11
figure 11

Analytical and theoretical comparisons between proposed ESIM based MC-CDMA and conventional OFDM based MC-CDMA systems

Next, the simulated results are also inspected for the targeted BER of 10–4 and it should be perceived that for the same QAM modulation order i.e., 16-QAM, the ESIM based FT-MC-CDMA needs less energy and performs approximately 2 dB superior to its counterpart OFDM based FT-MC-CDMA system. The error performance of the ESIM based FT-MC-CDMA system is further enhanced by replacing the Fourier transform with the wavelet transforms. The results illustrate that the proposed ESIM based WT-MC-CDMA system outperforms the ESIM based FT-MC-CDMA system and accomplishes a coding gain of approximately 4.4 dB. However, in comparison with OFDM based FT-MC-CDMA, this coding gain is 6.5 dB. It is noteworthy here that this performance improvement is due to the inherent orthogonal ability of wavelet transform which, unfortunately, could not be portrayed by Fourier transform. The similar improvements in the BER results could also be seen for high orders of \(M\) i.e., 64-QAM.

Keeping in view the superior performance of wavelet-based multi-carrier systems, ESIM based WT-MC-CDMA is also simulated with the different wavelet families listed in Table 1. The effectiveness of the ESIM based WT-MC-CDMA system with different wavelet families are exhibited in Fig. 12. A very interesting fact can be deduced from the results as for all listed wavelet families the performance of the system is exactly similar except for the biorthogonal and reverse orthogonal wavelets with vanishing moments 3.3. Though the error performance of bior3.3 and rbio3.3 are similar to each other while this performance is about 2 dB poor than other wavelet families.

Fig. 12
figure 12

Effectiveness of ESIM based WT-MC-CDMA with different wavelet families

The MATLAB codes for the calculation of PAPR of the discussed systems are also developed and simulated. As observed from Fig. 10 that the high peaks in multi-carrier systems occur randomly, therefore, complementary cumulative distribution function (CCDF) is one of the best options to describe the PAPR. It is defined as the probability that illustrates the obtained PAPR exceeds a specific value PAPR0. Mathematically [51],

$$ CCDF = P_{r} (PAPR > PAPR_{0} ) $$
(44)

Figure 13 shows the graphs for CCDF versus PAPR of traditional and suggested systems. These graphs are attained by considering the QAM modulation order of 16 and sub-carrier size \(M = 1024\). The graphs illustrate that the PAPR of proposed ESIM based FT-MC-CDMA is reduced than traditional OFDM based MC-CDMA. On the other hand, the PAPR performance of the system is enriched by using wavelets. The PAPR of ESIM based DWT-MC-CDMA is 4.5 dB reduced than traditional MC-CDMA and achieves CCDF of 10–4 at 11 dB.

Fig. 13
figure 13

PAPR versus CCDF plots for DFT and DWT based ESIM MC-CDMA systems

5 Conclusions

Owing to the inherent merits, VLC is deemed as a success key in the implementation of attocells used within the upcoming 5G standards. In VLC systems, the placement of LEDs and photo-diodes within a room (attocell) plays a pivotal role in the reception of power at the boundaries of the room. Moreover, the use of an optical lens in the designing of the VLC receiver also helps in focusing the optical power at photo-diodes. With the given settings, the simulation results display that the received power at the boundaries of the room is 0.34 dBm and coverage is satisfactory.

With the help of DWT and an improved version of OFDM (ESIM), a novel VLC system is designed and simulated. The work also includes the BER derivations for the ESIM based WT-MC-CDMA system which are validated by a comparison between simulations and analytical computations. The simulations are accomplished via MATLAB tool and it is examined through the comparison results that analytical BER curves fit well to the simulated curves. Moreover, the effectiveness of the suggested system is estimated concerning PAPR and BER. The simulated outcomes for proposed and conventional systems are also compared. The results also confirm that the ESIM based WT-MC-CDMA system outperforms other MC-CDMA systems. It is also concluded that inherent time–frequency localization properties of DWT reduce noise from the system, which ultimately eliminates the need for cyclic prefix and conserve the energy and bandwidth. Moreover, the CCDF graphs also demonstrate that PAPR of ESIM based MC-CDMA system reduces than OFDM based MC-CDMA system. Hence, the proposal of both ESIM and DWT schemes in the MC-CDMA structure is acceptable and the improvement in results demonstrates that the wavelet transform has a bright future in the field of VLC. Due to the noise suppression capability of wavelets, they are best suited in VLC based indoor localization system. The future work includes a low cost and efficient hardware implementation that strengthen the proposed technique.