Modified Three-Dimensional Multicarrier Optical Prime Codes

We propose a mathematical model for novel three-dimensional multicarrier optical codes in terms of wavelength/time/space based on the prime sequence algorithm. The proposed model has been extensively simulated on MATLAB for prime numbers (P) to analyze the performance of code in terms of autocorrelation and cross-correlation. The simulated outcome resembles the mathematical model and gives better results over other methods available in the literature as far as autocorrelation and crosscorrelation are concerned.Theproposed 3Doptical codes aremore efficient in terms of cardinality, improved security, and providing quality of services.


Introduction
Optical Code Division Multiple Access (OCDMA) network has a great potential to cater the needs of the fast access communication system.OCDMA is a suitable multiple access technique for local area network where traffic is bursty in nature [1].Optical CDMA is an efficient multiplexing scheme, as it does not require synchronization between the transmitter and receiver and there is the efficient utilization of available bandwidth [2].The performance of optical CDMA networks depends on the optimal selection of the optical code and coding configuration.It is desired to have code set that can correctly decode the desired user signal in the presence of other users [3].The motivation for designing more dimensional code is to have increased code set and also have significant code weight to support quality of services for the given code length.The length of a code plays an important role in system performance and system complexity [4], although it is possible to improve the correlation property by using long code words.However, the code length cannot be increased much because of the power and processing time restrictions for encoder and decoder [5].The weight of code represents the signal power.A code sequence with larger code weight is less sensitive to interference than that with a lower code weight.In this paper, novel modified threedimensional (3D) multicarrier prime codes are proposed having sufficient code weight along with significant code length for supporting QoS in optical CDMA communication systems.The construction of proposed three-dimensional codes is conceptualized on the basis of prime sequence algorithm.
The rest of paper is organized as follows: Section 2 discusses the OCDMA coding theory that gives an insight of the optical codes for optical CDMA communication system.A concise introduction to optical prime codes for OCDMA systems is also discussed.Section 3 presents the mathematical modeling of proposed wavelength/time/space modified 3D multicarrier optical prime codes.Section 4 discusses the result of the proposed 3D optical prime codes and its performance estimation in terms of the autocorrelation and cross-correlation function.In Section 5 the current findings along with the future directions are concluded.The paper ends with the references studied and cited in the paper.

Optical Codes
A lot of researchers have studied optical codes like onedimensional (1D), two-dimensional (2D), and now threedimensional codes to provide efficient codes.Prucnal has proposed one-dimensional optical code based on the prime number  over a Galois field GF().The codes have an autocorrelation value of  − 1 and cross-correlation value of two [6].The construction of prime codes is based on the congruence codes.Later on, one-dimensional prime code  [11].
with improved correlation property is proposed by many researchers [7][8][9][10].In the one-dimensional code to increase the code set size, the code length is increased significantly to keep the correlation property satisfactory.To overcome this limitation two-dimensional codes are developed with better code set size and good correlation properties.Mendez et al. describe the 2D codes constructed from 1D code based on Golomb ruler to increase the number of code set sizes [7].Yu and Park have proposed an algorithm to construct 2D code based on 1D prime sequence [8].Yim et al. proposed a design for wavelength/time 2D code for O-CDMA and carried out the performance analysis of the 2D codes [9].The performance analysis of the two-dimensional optical codes for bit error rate and a number of users supported carried out by Shivaleela and Kaur has revealed that there is a significant improvement in optical CDMA system using 2D codes over 1D code [10,11].
The successful performance of two-dimensional optical codes over the one-dimensional codes has led the researcher to construct the three-dimensional codes with better code set size and improved system performance.McGeehan presented a time-wavelength-polarization 3D optical code for increasing the number of users in OCDMA LAN's application.This coding technique has limitation due to the polarization mode dispersion and complex polarization control at all the stages in the network [12,13].Kumar et al. present multiple pulse per plane codes using a row-wise orthogonal pairs (RWOP) algorithm for wavelength and spatial channel allocation [14].The design offers the very low probability of error due to multiple access interference at lower cardinality.The RWOP algorithm based 3D code has a limitation imposed by multipath interference.The hierarchy of prime sequence codes is represented in Figure 1 [11].Here we proposed wavelength/time/space spread 3D optical codes based on prime sequence algorithm derived from multicarrier prime codes for OCDMA [14,15].The comparative analysis of 1D, 2D, and 3D optical codes based on prime sequence is carried out by Yadav and Kaur [16].The generation algorithm of 3D codes is discussed in detail and the orthogonality of the 3D optical codes is demonstrated mathematically and simulated on the MATLAB.

Generation of 3D Optical Code
In this research work, we have presented new modified threedimensional multicarrier optical code for OCDMA network based on prime sequence algorithm.The 3D codes family can be represented as ( *  * , ,   ,   ) where , , and  denote the number of wavelengths, time, and spatial channels domain used, respectively."" signifies the weight of the code.  and   are the autocorrelation and cross-correlation of the optical code, respectively.Figure 2 illustrates the algorithm of modified three-dimensional multicarrier prime code constructions.
In  , code word matrix, each row will have one set of disjoint wavelength and in total, there are  distinct wavelengths per row.The space group is represented by  = (0, 1, . . .,  − 1).In this way, we have  2 − 1 prime code words of length  2 and weight  2 and have  2 different wavelengths where  ≤ .These  2 distinct wavelengths are divided into "" space groups with  different wavelengths per space/channel.Every time slot can have a minimum of one wavelength.The optical code words can then be transmitted over "" different channels having  different wavelengths each distributed over  2 time slots thus acting as a 3D code.In this way, the position of  different wavelengths can be calculated in every  spatial channel according to the formula given in (5).The cardinality of 3D optical prime code is given by || =  2 − 1; therefore for  = 3 it will be 8 and  0,0 for (, ) = (0, 0), respectively, will not exist.
For prime number  = 3 the valid value of  we have is 2. In the codeword  0,1 ,  = 0 and  = 1 are in GF (3).The elements of the code word matrix are calculated according to the rule  , =  ⋅⊕⋅⋅,⋅⊕⋅ as shown in ] .
The corresponding code matrix is of size 3 × 9 and weight 9.Each "" in the code word matrix represents the position of "1" in the code word that will be transmitted using an optical pulse of certain wavelength over the space channel in the corresponding time slot.It can be seen that each code word matrix of a three-dimensional code is divided into  rows in the space domain having length  2 for each row in the time domain; the  2 column has been divided into  groups each having  subcolumns.
The code word has  2 wavelengths distributed over the  2 time slot with each column having only one wavelength and each space channel will have  wavelengths.The  2 wavelengths are in the shape of 3 groups and 3 wavelengths per group.The length of the 3D optical code word is 9 for  = 3. Figure 3 shows the visualization of a wavelength/time/space spread 3D code word  0,1 for prime sequence ( = 3) and  = 2. Similarly, for the code word  2,2 the elements are calculated according to the rule  , =  ⋅⊕⋅⋅,⋅⊕⋅ .The corresponding code matrices  , for  = 2 and  = 2 are of size 3 × 9 and weight 9 as shown in Figure 4. Equation (7) shows the resulting code word matrix as follows: In OCDMA system using modified 3D multicarrier prime code, each subscriber is allocated a code matrix as its code word.To transmit information bit "1" subscriber sends out a sequence of the optical signal in the space, time, and wavelength domain as per the intended receiver code word matrix.At the receiving end, the optical signal in every spatial channel is segregated and routed to correlate the every wavelength separately in the time domain.After successfully correlating the received optical signals are combined together, thus resulting in a high peak optical signal for the proposed receiver.This is considered as autocorrelation function, whereas for all others, it gives a series of low peak optical signal.This is considered as cross-correlation function.The received peak optical pulse is further passed

Result and Discussion
From optical CDMA network point of view, there is a need to design more secure codes with sufficient code weight, optimal code length, and higher code set size.The proposed code is compared with the 1D and 2D optical codes based on prime sequence algorithm for analysis as presented in Figure 5.It can be observed that the proposed 3D codes are better in terms of a number of available codes (Cardinality) whereas they have comparable code length for a given prime number.However, the proposed 3D codes have higher code weight than 1D and 2D codes.
In optical CDMA, the interference among the users sharing the common fiber channel known as the multiple access interference is usually the dominant source of bit errors [6].The performance of optical codes in OCDMA networks is mainly measured in terms of the autocorrelation and cross-correlation function values.The cross-correlation value depicts the interference between users.In contrast, the autocorrelation value depicts signal power and differentiates the users in the presence of other users.The intelligent design of the code word sequence is important to reduce the contribution of MAI to the total received signal.The address code words must satisfy two conditions; that is, all address code words should be distinguishable from shifted versions of it and all address code words should be distinguished from a possibly shifted version of every other code word in a code set [16].
The autocorrelation and cross-correlation value of the developed 3D optical code are evaluated on MATLAB tool.The wavelength/time/space spread 3D optical code is represented by ( *  * , ,   ,   )."" signifies the wavelengths, "" denotes the time slots, and "" specifies the space channels."" signifies the weight of the code.  and   are the autocorrelation and cross-correlation of the code, respectively.In (8a) and (8b) the correlation property for a pair of prime code words   and   with discrete data stream format are calculated.
where  ,, and  ,, ∈ (0, 1) are an element of matrix ,  is the prime number over Galois field, and ⊕ denotes the modulo addition.
It can be observed from the above correlation function that the peak autocorrelation is  2 which occurs when  ,, =  ,, .Also, the cross-correlation value is "3" occurring at all synchronized time  when  ,, ̸ =  ,, .Figure 6 shows the two code words  0,1 and  2,2 of the code set of wavelength/time/space spread modified 3D multicarrier codes over GF(3) and of the length 9 and weight 9.It also illustrates that the autocorrelation property of 3D code sequence  0,1 having maximum peak value equals 9 at all synchronized times when the sequence follows the data stream 10100.Similarly, the cross-correlation property of 3D code sequence  0,1 with  2,2 is equal to 3 at all synchronized time  for the same data stream 10100.Similarly, Figure 7 represents the code words  2,0 and  1,1 and their autocorrelation and cross-correlation property, respectively, for the input data stream 10100.
Yen and Chen carried out the study of three-dimension Optical Code Division Multiple Access for optical fiber sensor networks.For efficient communication using OCDMA system, it is preferred to maximize the autocorrelation peak and minimize the cross-correlation function for sorting the correct signal and interference [18].J. Singh and M. L. Singh present a new family of 3D wavelength/time/space codes named Golomb ruler-with-zero-insertions balanced codes for differential detection (GRZI-BCDD) using the unique interpulse distance property of Golomb rulers.The 3D code based on GRZI-BCDD requires fiber ribbons that International Journal of Optics increase the system complexity [19].To improve the ability of suppressing the multiple access interference, the 3D code set must have a sufficient code length of each code word.The proposed code incorporates the third dimension to improve the code cardinality, security, and coding flexibility that will help in providing multimedia services and quality of services.The limiting factor is its implementation because the complexity of system hardware is increased as the dimension increases.However do not require fiber ribbons for practical implementation.

Conclusion
This work presents the proposed wavelength/time/space spread modified 3D multicarrier codes using the prime sequence algorithm.The code discussed in the text has been designed for the prime number ( = 3) having code length 9; however, it can be increased for the assumed prime number.Thus, by introducing more dimensions, this coding approach not only overcomes the problem of a sufficient number of users for a given prime number but also makes the proposed code more secure and support quality of services.However, a marginal complexity is increased from an implementation point of view due to additional dimension as compared to 1D and 2D codes.In addition, the generation algorithm of code is simple and has optimum orthogonal properties.Therefore, it reduces the cost involved.The simulation results on MATLAB depict that these 3D optical codes have maximum autocorrelation peak (  =  2 ) with cross-correlation value (  = 3).

Figure 2 :
Figure 2: Flowchart of three-dimensional code construction algorithm.

Figure 6 :
Figure 6: (a) Code word  0,1 of the code set of 3D optical code over GF(3).(b) Code word  2,2 of the code set of 3D optical code over GF(3).(c) Autocorrelation function of optical code  0,1 for the data bit stream 10100.(d) Cross-correlation function of optical codes  0,1 and  2,2 , for the data bit stream 10100.

Figure 7 :
Figure 7: (a) Code word  2,0 of the code set of 3D optical code over GF(3).(b) Code word  1,1 of the code set of 3D optical code over GF(3).(c) Autocorrelation function of optical code  2,0 for the data bit stream 10100.(d) Cross-correlation function of optical codes  2,0 and  1,1 , for the data bit stream 10100.