Next Article in Journal
Chaos in Optomechanical Systems Coupled to a Non-Markovian Environment
Previous Article in Journal
Adaptive Top-K Algorithm for Medical Conversational Diagnostic Model
Previous Article in Special Issue
On the Dimensions of Hermitian Subfield Subcodes from Higher-Degree Places
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Construction of Optimal Two-Dimensional Optical Orthogonal Codes with at Most One Pulse per Wavelength

School of Computer and Software Engineering, Xihua University, Chengdu 610097, China
*
Author to whom correspondence should be addressed.
Entropy 2024, 26(9), 741; https://doi.org/10.3390/e26090741
Submission received: 24 July 2024 / Revised: 12 August 2024 / Accepted: 13 August 2024 / Published: 30 August 2024
(This article belongs to the Special Issue Discrete Math in Coding Theory)

Abstract

:
Two-dimensional optical orthogonal codes have important applications in optical code division multiple access networks. In this paper, a generic construction of two-dimensional optical orthogonal codes with at most one pulse per wavelength (AM-OPPW 2D OOCs) is proposed. As a result, some optimal AM-OPPW 2D OOCs with new parameters can be yielded. The new AM-OPPW 2D OOC may support more subscribers and heavier asynchronous traffic compared with known constructions.

1. Introduction

With the advantage of combining the large transmission bandwidth of fiber-optic media and the flexibility of code division multiple access (CDMA) techniques, the optical code division access system (OCDMA) has been extensively studied since the 1980s. In this system, unipolar { 0 , 1 } optical orthogonal codes (OOCs [1]) are employed as spreading codes. However, this multiple-access scheme has a drawback in that the effect of multiple-access interference (MAI) cannot be completely eliminated as in directly spreading CDMA systems. Thus, one of the key points for the OCDMA system is to design OOCs with low cross-correlation and off-peak autocorrelation. In the meantime, to enlarge the discrimination between the correct codeword and interfering codewords, we also need a large peak autocorrelation value, i.e.,  the weight of the OOCs. Finally, since the number of users in the system is less than or equal to the code size of OOCs, it is beneficial to design OOCs with large code sizes. However, as the volume of codewords or the weight of the code increases rapidly, the code length increases rapidly. Thus, optimal solutions, i.e., optimal OOCs, were proposed with respect to the tradeoff of those parameters (see, e.g., [2,3,4,5,6,7,8,9,10]).
In the meantime, two-dimensional optical orthogonal codes (2D OOCs) that spread in both time and wavelength were introduced for the OCDMA system to overcome this drawback. Similarly, to minimize multiple-access interference, we have to minimize the cross-correlation and off-peak autocorrelation of 2D OOCs; to support a large number of users, we need a large set of 2D OOCs. Moreover, to simplify the practical implementations, restrictions, such as at most one pulse per wavelength (AM-OPPW) and at most one pulse per time slot (AM-OPPTS), are often imposed on 2D OOCs [11]. However, these parameters are not independent of each other. They suffer some theoretic bounds, for instance, the Johnson bound [4] and the bound for 2D OOCs with the AM-OPPW restriction [11]. So far, various works have addressed optimal 2D OOCs with respect to these bounds [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27].
The main idea of this paper is to generate new optimal AM-OPPW 2D OOCs based on known OOCs and 2D OOCs. In [16,17,19], OOCs were used to construct 2D OOCs by spreading them in the time domain, i.e., the OOCs form rows of 2D OOCs. In our construction, the OOCs are utilized to determine which rows of 2D OOCs are not all-zero vectors. In this way, new AM-OPPW 2D OOCs can be yielded with large sizes, some of which are optimal with respect to the theoretic bound proposed in [11]. Further, we also analyze the performances of the new 2D OOCs under the chip-synchronous and chip-asynchronous assumptions, respectively.
The remainder of this paper is organized as follows. Section 2 reviews some necessary preliminaries. Section 3 introduces the new construction of AM-OPPW 2D OOCs. Section 4 conducts the performances of the new AM-OPPW 2D OOCs under the chip-synchronous and chip-asynchronous assumptions, respectively. Section 5 concludes this paper.

2. Preliminaries

Let Λ , T, w, and λ be positive integers, and  a b be the least non-negative residue of a modulo b for positive integers a and b. A  ( Λ × T , w , λ )  two-dimensional optical orthogonal code (2D OOC) C is a family of { 0 , 1 } arrays of order Λ × T with constant weight w satisfying the following two properties:
(1)
The autocorrelation property
R X , X ( τ ) = k = 0 Λ 1 t = 0 T 1 X k , t X k , t + τ T λ , 0 < τ T 1 ,
(2)
The cross-correlation property
R X , Y ( τ ) = k = 0 Λ 1 t = 0 T 1 X k , t Y k , t + τ T λ , 0 τ T 1 ,
where X = ( X k , t ) 0 k < Λ , 0 t < T C , Y = ( Y k , t ) 0 k < Λ , 0 t < T C and X Y .
If λ is the smallest integer such that (1) and (2) hold, then we say that λ is the maximum collision parameter (MCP) of C . If  Λ = 1 , then C is exactly an optical orthogonal code (OOC) [1].
The following restrictions on the placement of pulse within an array are often proposed for 2D OOCs to simplify the practical implementations [11]:
  • Arrays with one pulse per wavelength (OPPW): For any array X in C , the element 1 appears exactly once in each row of X.
  • Arrays with at most one pulse per wavelength (AM-OPPW): For any array X in C , the element 1 appears at most once in each row of X.
  • Arrays with one pulse per time slot (OPPTS): For any array X in C , the element 1 appears exactly once in each column of X.
  • Arrays with at most one pulse per time slot (AM-OPPTS): For any array X in C , the element 1 appears at most once in each column of X.
Obviously, OPPW (OPPTS resp.) is a special case of AM-OPPW (AM-OPPTS resp.).
In the following, we briefly review the theoretic bounds on the code size of OOCs and 2D OOCs with AM-OPPW.
Lemma 1
([4]). The maximum possible size Φ ( 1 × T , w , λ ) of an OOC with parameters ( 1 × T , w , λ ) is bounded by
Φ ( 1 × T , w , λ ) 1 w T 1 w 1 T 2 w 2 T λ w λ .
Lemma 2
([11]). The maximum possible size Φ ( Λ × T , w , λ ) of a ( Λ × T , w , λ ) 2D OOC with AM-OPPW is bounded by
Φ ( Λ × T , w , λ ) Λ w T ( Λ 1 ) w 1 T ( Λ 2 ) w 2 T ( Λ λ ) w λ .
In particular, for the 2D OOC with OPPW,
Φ ( Λ × T , w , λ ) T λ .
An OOC (a 2D OOC with AM-OPPW resp.) is called optimal if the number of codewords achieves the theoretic bound in Lemma 1 (Lemma 2 resp.).

3. Optimal AM-OPPW 2D OOCs via Known AM-OPPW 2D OOCs and OOCs

In this section we introduce a general construction of AM-OPPW 2D OOCs based on known OOCs and AM-OPPW 2D OOCs.
Let C = { C 0 , C 1 , , C M 1 } be an AM-OPPW 2D OOC with parameters ( Λ × T , Λ , λ 1 ) . For  0 i < M , C i is defined by
C i = ( C 0 i , C 1 i , , C Λ 1 i ) = c 0 , 0 i , c 0 , 1 i , , c 0 , T 1 i c 1 , 0 i , c 1 , 1 i , , c 1 , T 1 i c Λ 1 , 0 i , c Λ 1 , 1 i , , c Λ 1 , T 1 i ,
where ⊤ is the transpose operation, and the T-dimensional vector C j i = c j , 0 i , c j , 1 i , , c j , T 1 i is the ( j + 1 ) -th row of the array C i , 0 j < Λ . Let S = { S 0 , , S N 1 } be an OOC with parameters ( n , Λ , λ 2 ) , where S r = ( s 0 r , , s n 1 r ) for 0 r < N .
With the above preparation, we can construct an AM-OPPW 2D OOC X = { X ( C i , S r , j ) | C i C , S r S , 0 i < M , 0 r < N , 0 j < n } as follows.
Construction A: For each three-tuple ( i , r , j ) , 0 i < M , 0 r < N , 0 j < n , run the following Algorithm 1 to generate a new n × T array X ( C i , S r , j ) :
Algorithm 1 Generate the new array
Input:  C i S r j.
Initiate:  τ = 0 t = 0 ;
while  0 k < n   do
  if  s k + j r = 1  then
    X k ( C i , S r , j ) = C τ i ;
    τ = τ + 1 ;
  else
    X k ( C i , S r , j ) = 0 ;  // 0 is the all-zero T-dimensional vector
  end if
   k = k + 1 ;
end while
return  X ( C i , S r , j ) = X 0 ( S r , C i , j ) , X 1 ( S r , C i , j ) , , X n 1 ( S r , C i , j ) .
Theorem 1.
The 2D OOC X generated by Construction A is an AM-OPPW 2D OOC with parameters ( n × T , w , λ ) , code size n N M , and λ max { λ 1 , λ 2 } .
Proof. 
We first show that the MCP of X is less than or equal to max { λ 1 , λ 2 } . By (1) and (2), it is sufficient to investigate
R X ( C i 1 , S r 1 , j 1 ) , X ( C i 2 , S r 2 , j 2 ) ( τ ) = k = 0 Λ 1 t = 0 T 1 X k , t ( C i 1 , S r 1 , j 1 ) X k , t + τ T ( C i 2 , S r 2 , j 2 ) ,
which is divided into two cases according to the values of i, r, and j.
Case I: ( r 1 , j 1 ) ( r 2 , j 2 ) . By Algorithm 1, the rows X k ( C i 1 , S r 1 , j 1 ) 0 and X k ( C i 2 , S r 2 , j 2 ) 0 if and only if s k + j 1 r 1 = 1 and s k + j 2 r 2 = 1 , where 0 k < n . Note that both X k ( C i 1 , S r 1 , j 1 ) 0 and X k ( C i 2 , S r 2 , j 2 ) 0 contain at most one element 1. Thus, the cross-correlation value R X ( C i 1 , S r 1 , j 1 ) , X ( C i 2 , S r 2 , j 2 ) ( τ ) is less than or equal to the correlation of S r 1 and S r 2 at time shift j 2 j 1 , i.e., ≤ λ 2 .
Case II: ( r 1 , j 1 ) = ( r 2 , j 2 ) . By Algorithm 1, X k ( C i 1 , S r 1 , j 1 ) 0 and X k ( C i 2 , S r 1 , j 1 ) 0 are rows of C i 1 and C i 2 , respectively. Hence, the correlation value R X ( C i 1 , S r 1 , j 1 ) , X ( C i 2 , S r 1 , j 1 ) ( τ ) is less than or equal to the correlation of C i 1 and C i 2 at time shift τ . Then, the nontrivial correlation value R X ( C i 1 , S r 1 , j 1 ) , X ( C i 1 , S r 1 , j 1 ) ( τ ) , i.e., i 1 i 2 or ( i 1 = i 2 and τ 0 ( mod T ) ), is less than or equal to λ 1 .
In addition, it is easy to check that | X | = n N M . Therefore, the AM-OPPW 2D OOC X has parameters ( n × T , Λ , λ ) and size n N M , where λ max { λ 1 , λ 2 } .
In what follows, we present some results obtained by Construction A for specific cases of λ = 1 , 2 . Firstly, for λ = 1 , we have the following result:
Corollary 1.
If C is an optimal OPPW 2D OOC with parameters ( Λ × T , Λ , 1 ) and S is an optimal OOC with parameters ( n , Λ , 1 ) , then the AM-OPPW 2D OOC X generated by Construction A with parameters ( n × T , Λ , 1 ) is optimal for T Λ and Λ ( Λ 1 ) ( n 1 ) .
Proof. 
Because of the optimality of both the OOC S and the OPPW 2D OOC C , the code size of S and C are, respectively, M = T and N = 1 Λ n 1 Λ 1 by Lemmas 1 and 2. Thus, applying Theorem 1, we obtain that X is an AM-OPPW 2D OOC with parameters ( n × T , Λ , 1 ) and the code size n N M = n T 1 Λ n 1 Λ 1 . On the one hand, the fact Λ ( Λ 1 ) ( n 1 ) implies that n T 1 Λ n 1 Λ 1 = n T n 1 Λ ( Λ 1 ) , i.e., the code size of X is n T n 1 Λ ( Λ 1 ) . On the other hand, it follows from Lemma 2 that
| X | n Λ T ( n 1 ) Λ 1 = n T n 1 Λ ( Λ 1 ) ,
where the last equality holds for Λ ( Λ 1 ) ( n 1 ) . Thus, X is optimal with respect to the bound in Lemma 2. This finishes the proof. □
In Table 1, we list some known optimal OOCs with parameters ( n , Λ , 1 ) satisfying Λ ( Λ 1 ) | ( n 1 ) , where p is a prime and q is a prime power.
As an application of Corollary 1, in Table 2, we provide some optimal AM-OPPW 2D OOCs by means of the optimal OPPW 2D OOCs in [19] and optimal OOCs in Table 1.
Next, for λ = 2 , we have the following corollary.
Corollary 2.
Let C be an optimal OPPW 2D OOC with parameters ( Λ × T , Λ , 2 ) and S be an optimal OOC with parameters ( n , Λ , 2 ) . Then, the AM-OPPW 2D OOC X generated by Construction A with parameters ( n × T , Λ , 2 ) is optimal if Λ ( Λ 1 ) ( Λ 2 ) | ( n 2 ) or ( Λ 2 ) | ( n 2 ) and Λ ( Λ 1 ) | ( n 1 ) ( n 2 ) Λ 2 .
Proof. 
The proof is similar to that of Corollary 1. □
It was shown in [30] that there exist optimal OOCs with parameters ( n , 4 , 2 ) for n { 10 , 26 , 34 , 50 , 74 , 98 } . Note that ( 4 × 3 ) × 2 | ( n 2 ) or 2 | ( n 2 ) and ( 4 × 3 ) | ( n 1 ) ( n 2 ) 2 for n { 10 , 26 , 34 , 50 , 74 , 98 } . Associated with the optimal OPPW 2D OOC of parameters ( Λ × p , Λ , 2 ) in [11], where p is a prime and 2 < Λ p , the following result can be directly obtained from Corollary 2.
Corollary 3.
Let C be the optimal OPPW 2D OOC with parameters ( 4 × p , 4 , 2 ) and S be the optimal OOC with parameters ( n , 4 , 2 ) , where p 4 is a prime and n { 10 , 26 , 34 , 50 , 74 , 98 } . Then, AM-OPPW 2D OOC generated from Construction A is optimal with parameters ( n × p , 4 , 2 ) .
Remark 1.
Compared with 2D OOCs, the AM-OPPW 2D OOC may have a lower code rate because the AM-OPPW condition is indeed a constraint from the perspective of code construction. The reader may refer to [12] for a more detailed comparison.

4. Performance Analysis of the New Optimal AM-OPPW 2D OOCs

Let X be the optimal AM-OPPW 2D OOC with parameters ( n × T , Λ , 1 ) and code size n M N generated from Corollary 1 based on a known AM-OPPW 2D OOC with parameters ( Λ × T , Λ , 1 ) and code size M together with a known OOC with parameters ( n , Λ , 1 ) and code size N. From now on, we examine its performances under the chip-synchronous and chip-asynchronous assumptions, respectively.
In an OCDMA using on–off keying (OOK), “1” and “0” are sent with equal probability but only bit “1” is encoded by the 2D OOC. Following the simple protocol in [1], we analyze the performance of the OCMDA in an ideal case where performance deterioration is only due to multiple-access interference (MAI) so that the effects of physical noises, such as thermal noise, shot noise, and beat noise are ignored [31]. That is, a decision error occurs only when the accumulative MAI reaches over a decision threshold and a data bit zero is transmitted. In addition, before correlation is performed, a hard-limiter is often placed at the front end of a receiver for reducing the effects of MAI [32]. Thus, throughout this section we discuss the performances of the new 2D OOC in the ideal case with a hard-limiter.

4.1. Performance Analysis under the Chip-Synchronous Assumption

Without loss of generality, let X ( C 0 , S 0 , 0 ) be the desired codeword. Let q l be the probability of l hits in a time slot when it cross-correlates with all the other codewords X ( C i 1 , S r 1 , j 1 ) , where 0 l 1 , 0 i 1 < M , 0 r 1 < N , 0 j 1 < n , and ( i , r , j ) ( 0 , 0 , 0 ) .
For the chip-synchronous case, the hard-limiting error probability of the new AM-OPPW 2D OOCs with parameters ( n × T , Λ , λ ) in on–off keying (OOK) data modulation is [33]
P s y n = 1 2 j = Δ Λ Λ j i = 0 j ( 1 ) j i j i m = 0 λ m i m Λ q m K 1 ,
where K denotes the number of simultaneous users and Δ is the decision threshold. Hence, for the case λ = 1 , to derive the error probability of the new AM-OPPW 2D OOCs we only need to calculate the probabilities q 0 and q 1 .
Firstly, we count the number of the hits between arrays X ( C 0 , S 0 , j 0 ) and X ( C i 1 , S r 1 , j 1 ) to compute q 1 . Recall from Algorithm 1 that their k-th rows X k ( C 0 , S 0 , 0 ) 0 and X k ( C i 1 , S r 1 , j 1 ) 0 if and only if
s k 0 = s k + j 1 r 1 = 1 , 0 k < n .
When s k + 0 0 = s k + j 1 r 1 = 1 , one hit occurs exactly once as τ running through all the possible time delays, i.e., 0 τ < T , since the two rows X k ( C 0 , S 0 , 0 ) and X k ( C i 1 , S r 1 , j 1 ) contain exactly one element 1, respectively. Note that the OOCs S 0 and S r 1 have weight Λ . According to the proof of Theorem 1, the following are true:
  • When r 1 0 , (4) happens exactly Λ 2 times as j 1 ranges from 0 to n 1 . Then, there are M ( N 1 ) Λ 2 hits since i 1 and r 1 , respectively, have M and N 1 possible choices;
  • When r 1 = 0 and j 1 0 , (4) happens exactly Λ 2 Λ times as j 1 ranges from 1 to n 1 . Then, there are M ( Λ 2 Λ ) hits since i 1 has M possible choices;
  • When r 1 = 0 and j 1 = 0 , (4) happens exactly Λ times. Then, there are ( M 1 ) Λ hits since i 1 has M 1 possible choices.
Therefore, there are Λ 2 N M Λ hits in total. Then, we have
q 1 = Λ 2 N M Λ 2 T ( n M N 1 ) ,
where the factor 1 / 2 comes from the assumptions that the error occurs only if a data bit zero is transmitted and the element 0 is sent with probability 1 / 2 . ( n M N 1 ) denotes the number of codewords except for X ( C 0 , S 0 , 0 ) , and T is the number of all the time slots. Secondly, the fact q 0 + q 1 = 1 implies
q 0 = 1 Λ 2 N M Λ 2 T ( n M N 1 ) .
In the sequel, we present some simulation results acquired by MATLAB r2023b as an example.
Example 1.
Let C be the optimal OPPW 2D OOC with parameters ( 5 × 25 , 5 , 1 ) and code size M = 25 [19] and S be the optimal OOC with parameters ( 41 , 5 , 1 ) and code size N = 2 [5]. Then, we can construct a new optimal AM-OPPW 2D OOC with parameters ( 41 × 25 , 5 , 1 ) and code size n M N = 41 × 25 × 2 = 2050 using Construction A. In this case, using (5) and (6) we obtain q 1 = 0.0122 and q 0 = 0.9878 . Then, we can calculate the hard-limited chip-synchronous error probability by means of (3), which is plotted against K simultaneous users with threshold Δ = Λ = 5 in Figure 1. Similarly, based on the OPPW 2D OOC with parameters ( 5 × 35 , 5 , 1 ) [19], an optimal AM-OPPW 2D OOC with parameters ( 41 × 35 , 5 , 1 ) and code size n M N = 41 × 35 × 2 = 2870 can also be yielded by Construction A.
In [34], the multi-wavelength optical orthogonal codes (MWOOCs) with parameters ( 41 × 31 , 5 , 1 ) and code size 1681 can be generated. As a comparison, we plot the hard-limited chip-synchronous error probability of the MWOOCs with parameters ( 41 × 31 , 5 , 1 ) and our new 2D OOCs with parameters ( 41 × 25 , 5 , 1 ) and ( 41 × 35 , 5 , 1 ) together in Figure 1.
Further, simulation for the new 2D OOCs with parameters ( 41 × 25 , 5 , 1 ) ( ( 41 × 35 , 5 , 1 ) resp.) is performed by choosing K codewords for K simultaneous users randomly from the 2050 (2870 resp.) codewords. Particularly, the transmission time delay of each codeword is chosen from a random integer in [0,25) to simulate the chip-synchronous condition. In order to attain the error probability, the simulation is iterated 10 4 times for K { 350 , 400 , 450 , 500 , 550 } .
As shown in Figure 1, the new 2D OOC with parameters ( 41 × 35 , 5 , 1 ) has better performance than the MWOOC with parameters ( 41 × 31 , 5 , 1 ) , while the MWOOC performs better than the new 2D OOC parameters ( 41 × 25 , 5 , 1 ) . However, the code size of the new 2D OOCs, even for the case with parameters ( 41 × 25 , 5 , 1 ) , are larger than that of the MWOOCs. This is desirable. On the one hand, the larger the code size, the more the users in the OCDMA systems. On the other hand, new 2D OOCs with large size may support multicode keying in OCDMA systems [35].

4.2. Performance Analysis under the Chip-Asynchronous Assumption

It is known that the chip-synchronous assumption provides pessimistic upper bounds on the performance of the system, whereas the chip-asynchronous assumption assures a more accurate performance [32]. In this subsection, we study the hard-limiting performance of the new AM-OPPW 2D OOCs under the chip-asynchronous assumption.
For the chip-asynchronous case, the hard-limiting error probability of the new AM-OPPW 2D OOCs with parameters ( n × T , Λ , λ ) in on–off keying (OOK) data modulation is [17,33]
P a s y n = 1 2 r = Δ Λ Λ r j = 0 Λ r Λ r j 2 j · i = 0 2 r + j ( 1 ) 2 r + j i 2 r + j i · k = 0 λ l = 0 λ q k , l i k + l 2 Λ k + l K 1 ,
where K denotes the number of simultaneous users, q i , j denotes the probability of the cross-correlation value in the preceding time slot equal to 0 i λ (the present time slot 1 j λ , respectively), and Δ is the decision threshold. In particular, for the new AM-OPPW 2D OOCs with parameters ( n × T , Λ , 1 ) , we then have
P a s y n = 1 2 r = Δ Λ Λ r j = 0 Λ r Λ r j 2 j · i = 0 2 r + j ( 1 ) 2 r + j i 2 r + j i · q 0 , 0 + ( q 0 , 1 + q 1 , 0 ) i 2 w + q 1 , 1 i 2 2 Λ 2 K 1 .
That is, it is sufficient to determine q i , j , i , j { 0 , 1 } for computing P a s y n .
According to [36], the 2D OOCs with λ = 1 satisfy that
q 1 , 0 = q 0 , 1 ,
q 1 , 1 = q 1 q 0 , 1 ,
q 0 , 0 = 1 q 1 , 1 q 1 , 0 q 0 , 1 .
To derive q 1 , 1 , we need to count the total number of two consecutive hits, i.e., two hits occurring firstly at the preceding time slot and subsequently the present time slot, when the desired code array correlates with all the other arrays in the code set. Without loss of generality, assume that X ( C 0 , S 0 , 0 ) is the desired array.
Firstly, we discuss the arrays from the set { X ( C , S , j ) | C C and ( S S 0 or j 0 ) } . Assume that there exists a hit at the time slot τ , i.e., R X ( C 0 , S 0 , 0 ) , X ( C , S , j ) ( τ ) = 1 . Note that for S S 0 or j 0 , there exists at most one integer k, 0 k < n , such that s k + j = s k 0 = 1 since their non-trivial correlation value is no more than 1. Then, by Algorithm 1, for any C C and any 0 j n 1 , both X k ( C , S , j ) 0 and X k ( C 0 , S 0 , 0 ) 0 occur at most once for all the integers 0 k < n , which indicates that X ( C , S , j ) and X ( C 0 , S 0 , 0 ) have at most one hit for all the time slots. This is to say, no other hits happen except for the one at time slot τ .
Secondly, we investigate the arrays based on the same OOC S 0 and j = 0 , i.e., X ( C , S 0 , 0 ) | C C . Suppose that there is a hit at the time slot τ , i.e., R X ( C 0 , S 0 , 0 ) , X ( C , S 0 , 0 ) ( τ ) = 1 . In the OOC S 0 , there are Λ elements s k 0 = 1 where 0 k < n . If s k 0 = 1 , the rows X k ( C , S 0 , 0 ) and X k ( C 0 , S 0 , 0 ) contain exactly one element 1 otherwise they are all-zero vectors according to Algorithm 1. Then, there are Λ possible time slots τ such that R X ( C 0 , S 0 , 0 ) , X ( C , S 0 , 0 ) ( τ ) = 1 and Λ 1 times τ such that R X ( C 0 , S 0 , 0 ) , X ( C , S 0 , 0 ) ( τ ) = 1 when τ varies over { 0 , 1 , , T 1 } { τ } for a given τ . Thus, in total, Λ ( Λ 1 ) ( M 1 ) hits happen as C ranging over the set C { C 0 } . This to say, there are Λ ( Λ 1 ) ( M 1 ) T 1 consecutive hits on average.
Based on the above analysis, we have
q 1 , 1 = Λ ( Λ 1 ) ( M 1 ) 2 T ( n M N 1 ) ( T 1 ) ,
where the factor 1 / 2 comes from the assumptions that the error occurs only if a data bit zero is transmitted and the element 0 is sent with probability 1 / 2 , ( n M N 1 ) is the number of codewords except X ( C 0 , S 0 , 0 ) , and T is the number of all the time slots.
Then, by (8)–(10), we get
q 1 , 0 = q 0 , 1 = q 1 q 1 , 1 = Λ 2 N M Λ 2 T ( n M N 1 ) Λ ( Λ 1 ) ( M 1 ) 2 T ( n M N 1 ) ( T 1 ) ,
and
q 0 , 0 = 1 q 1 , 1 q 1 , 0 q 0 , 1 = 1 Λ 2 N M Λ T ( n M N 1 ) + Λ ( Λ 1 ) ( M 1 ) 2 T ( n M N 1 ) ( T 1 ) .
Finally, we present some simulation results obtained using MATLAB as an example.
Example 2.
Analyzing the new 2D OOCs with parameters ( 41 × 25 , 5 , 1 ) and ( 41 × 35 , 5 , 1 ) generated in Example 1, using (11), (13), and (12), we can calculate that q 11 = 0.0002 , q 00 = 0.9759 and q 10 = 0.0120 ( q 11 = 0.0001 , q 00 = 0.9827 and q 10 = 0.0086 resp.). Substituting them into (7), we derive the hard-limited chip-asynchronous error probability, which is plotted against K simultaneous users in Figure 2, where Δ = Λ = 5 . As a comparison, we also plot the hard-limited chip-asynchronous error probability of the MWOOCs with parameters ( 41 × 31 , 5 , 1 ) together with our new 2D OOCs with parameters ( 41 × 25 , 5 , 1 ) and ( 41 × 35 , 5 , 1 ) in Figure 2.
Simulations are conducted by choosing K codewords for K simultaneous users randomly from 2050 (2870 resp.) codewords. Specifically, the transmission time of each codeword is chosen from a random real number between 0 and 25 to simulate the chip asynchronous condition. In order to acquire an error probability, the simulations are iterated 10 4 times for K { 350 , 400 , 450 , 500 , 550 } . As shown in Figure 2, the simulation result is very close to the chip-asynchronous curves given by (7).
In addition, we compare the performance of the new optimal AM-OPPW 2D OOC with parameters ( 41 × 25 , 5 , 1 ) under the hard-limited chip asynchronous and hard-limited chip synchronous conditions in Figure 3. It is seen that the performance of the hard-limited chip asynchronous is better than the hard-limited chip synchronous case, which is consistent with the result in [32].
In Figure 4, we plot the performance of the new 2D OOC with parameters ( 41 × 25 , 5 , 1 ) under hard-limited chip-asynchronous conditions for the decision threshold Δ with the value varying from 3 to 5. It was firstly pointed out in [32] that the higher the threshold level, the better system performance since multiple users will become less probable to occupy a particular chip above the level of the threshold. Clearly, our simulation result reveals this fact.

5. Conclusions

In this paper, a new generic construction of AM-OPPW 2D OOCs was proposed. By restricting the OOCs and OPPW 2D OOCs to optimal ones, optimal AM-OPPW 2D OOCs and asymptotically optimal 2D OOCs with new parameters were obtained. Additionally, the performance of the new AM-OPPW 2D OOCs was demonstrated under both chip-synchronous and chip-asynchronous assumptions.
However, in general, the known parameters of AM-OPPW 2D OOCs are quite limited, and the performance of AM-OPPW 2D OOCs in real-world scenarios remains an open question.

Author Contributions

Investigation, M.S.; Writing—original draft, M.S.; Writing—review & editing, X.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Sichuan Provincial Natural Science Foundation Innovative Research Group under Grant 2024NSFTD0008.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Salehi, J.A. Code division multiple-access techniques in optical fiber networks-part I: Fundamental principles. IEEE Trans. Commun. 1989, 37, 824–833. [Google Scholar] [CrossRef]
  2. Chang, Y.; Fuji-Hara, R.; Miao, Y. Combinatorial construcions of optimal optical orthogonal codes with weight 4. IEEE Trans. Inf. Theory 2003, 49, 1283–1292. [Google Scholar] [CrossRef]
  3. Chu, W.; Golomb, S.W. A new recursive construction for optical orthogonal codes. IEEE Trans. Inf. Theory 2003, 49, 3072–3076. [Google Scholar]
  4. Chung, F.R.K.; Salehi, J.A.; Wei, V.K. Optical orthogonal codes: Design, analysis, and applications. IEEE Trans. Inf. Theory 1989, 35, 595–604. [Google Scholar] [CrossRef]
  5. Chung, J.-H.; Yang, K. Asymptotically optimal optical orthogonal codes with new parameters. IEEE Trans. Inf. Theory 2013, 59, 3999–4005. [Google Scholar] [CrossRef]
  6. Ding, C.; Xing, C. Cyclotomic optical orthogonal codes of composite lengths. IEEE Trans. Commun. 2004, 52, 263–268. [Google Scholar] [CrossRef]
  7. Ge, G.; Yin, J. Constructions for optimal (v, 4, 1) optical orthogonal codes. IEEE Trans. Inf. Theory 2001, 47, 2998–3004. [Google Scholar] [CrossRef]
  8. Fuji-Hara, R.; Miao, Y. Optical orthogonal codes: Their bounds and new optimal constructions. IEEE Trans. Inf. Theory 2000, 46, 2396–2406. [Google Scholar]
  9. Moreno, O.; Omrani, R.; Kumar, P.V.; Lu, H. A generalized Bose-Chowla family of optical orthogonal codes and distinct differnece sets. IEEE Trans. Inf. Theory 2007, 53, 1907–1910. [Google Scholar] [CrossRef]
  10. Yin, J. Some combinatorial constructions for optical orthogonal codes. Discr. Math. 1998, 185, 201–219. [Google Scholar] [CrossRef]
  11. Omrani, R.; Garg, G.; Kumar, P.V.; Elia, P.; Bhambhani, P. Large families of asymptotically optimal two-dimensional optical orthogonal codes. IEEE Trans. Inf. Theory 2012, 58, 1163–1185. [Google Scholar] [CrossRef]
  12. Cai, H.; Liang, H.B.; Tang, X.H. Constructions of optimal 2-D optical orthogonal codes via generalized cyclotomic classes. IEEE Trans. Inf. Theory 2015, 61, 688–695. [Google Scholar] [CrossRef]
  13. Cao, H.; Wei, R. Combinatorial constructions for optimal two-dimensional optical orthogonal codes. IEEE Trans. Inf. Theory 2009, 55, 1387–1394. [Google Scholar] [CrossRef]
  14. Feng, T.; Chang, Y. Combinatorial constructions for optimal two-dimensional optical orthogonal codes with λ = 2. IEEE Trans. Inf. Theory 2011, 57, 6796–6819. [Google Scholar] [CrossRef]
  15. Shivaleela, E.S.; Sivarajan, K.N.; Selvarajan, A. Design of a new family of two-dimensional codes for fiber-optic CDMA networks. J. Lightw. Technol. 1998, 16, 501–508. [Google Scholar] [CrossRef]
  16. Sun, S.; Yin, H.; Wang, Z.; Xu, A. A new family of 2-D optical orthogonal codes and analysis of its performance in optical CDMA access networks. J. Lightw. Technol. 2006, 24, 1646–1653. [Google Scholar]
  17. Wang, T.-C.; Yang, G.-C.; Chang, C.Y.; Kwong, W.C. A new family of 2-D codes for fiber-optic CDMA systems with and without the chip-synchronous assumption. J. Lightw. Technol. 2009, 27, 2612–2620. [Google Scholar] [CrossRef]
  18. Wang, J.; Yin, J. Two-dimensional optical orthogonal codes and semicyclic group divisible designs. IEEE Trans. Inf. Theory 2010, 56, 2177–2187. [Google Scholar] [CrossRef]
  19. Yang, G.-C.; Kwong, W.C. Performance comparison of multiwavelength CDMA and WDMA+ CDMA for fiber-optic networks. IEEE Trans. Commun. 1997, 45, 1426–1434. [Google Scholar] [CrossRef]
  20. Yang, Y.; Tang, X.H.; Udaya, P.; Peng, D.Y. New bound on frequency hopping sequence sets and its optimal constructions. IEEE Trans. Inf. Theory 2011, 57, 7605–7613. [Google Scholar] [CrossRef]
  21. Alderson, T.L.; Mellinger, K.E. Optical orthogonal codes from singer groups. In Coding Theory and Cryptology; World Scientific: Hackensack, NJ, USA, 2007; Volume 3, pp. 51–70. [Google Scholar]
  22. Cai, H.; Zhou, Z.C.; Yang, Y.; Tang, X.H. A new construction of frequency-hopping sequences with optimal partial hamming correlation. IEEE Trans. Inf. Theory 2014, 60, 1139–1141. [Google Scholar]
  23. Chen, J.-J.; Yang, G.-C. CDMA fiber-optic systems with optical hard limiters. J. Lightw. Technol. 2001, 19, 950–958. [Google Scholar] [CrossRef]
  24. Gu, F.R.; Wu, J. Construction of two-dimensional wavelength/time optical orthogonal codes using difference family. J. Lightw. Technol. 2005, 23, 3642–3652. [Google Scholar] [CrossRef]
  25. Shivaleela, E.S.; Selvarajan, A.; Srinivas, T. Two-dimensional optical orthogonal codes for fiber-optic CDMA networks. J. Lightw. Technol. 2005, 23, 647–654. [Google Scholar] [CrossRef]
  26. Wang, X.; Chang, Y.; Feng, T. Optimal 2-D (n × m, 3, 2, 1)-optical Orthogonal Codes. IEEE Trans. Inf. Theory 2013, 59, 710–725. [Google Scholar] [CrossRef]
  27. Yin, J. A general construction for optimal cyclic packing designs. J. Combin. Theory Ser. A 2002, 97, 272–284. [Google Scholar] [CrossRef]
  28. Lee, S.; Seo, S. New construction of multiwavelength optical orthogonal codes. IEEE Trans. Commun. 2002, 50, 2003–2008. [Google Scholar]
  29. Chung, H.; Kumar, P.V. Optical orthogonal codes-new bounds and an optimal construction. IEEE Trans. Inf. Theory 1990, 36, 866–873. [Google Scholar] [CrossRef]
  30. Feng, T.; Chang, Y.; Ji, L. Constructions for strictly cyclic 3-designs and applications to optimal OOCs with λ = 2. J. Combin. Theory Ser. A 2008, 115, 1527–1551. [Google Scholar] [CrossRef]
  31. Tancevski, L.; Rusch, L.A. Impart of the beat noise on the performance of 2-D optimal CDMA systems. IEEE Commun. Lett. 2000, 4, 264–266. [Google Scholar] [CrossRef]
  32. Salehi, J.A.; Brackett, C.A. Code division multiple-access techniques in optical fiber networks-part II: Systems performance analysis. IEEE Trans. Commun. 1989, 37, 834–850. [Google Scholar] [CrossRef]
  33. Hus, C.-C.; Chang, Y.-C.; Yang, G.-C.; Chang, C.-L.; Kwong, W.C. Performance analysis of 2-D O-CDMA codes without the chip-synchronous assumption. IEEE J. Sel. Areas Commun. 2007, 25, 135–143. [Google Scholar]
  34. Kwong, W.C.; Yang, G.-C.; Baby, V.; Brés, C.-S.; Prucnal, P.R. Multiple-wavelength optical orthogonal codes under prime-sequence permutations for optical CDMA. IEEE Trans. Commun. 2005, 53, 117–123. [Google Scholar] [CrossRef]
  35. Narimanov, E.; Kwong, W.C.; Yang, G.-C.; Prucnal, P.R. Shifted carrier-hopping prime codes for multicode keying in wavelength-time O-CDMA. IEEE Trans. Commun. 2005, 53, 2150–2156. [Google Scholar] [CrossRef]
  36. Hsu, C.-H.; Yang, G.-C.; Kwong, W.C. Hard-limiting performance analysis of 2-D optical codes under the chip-asynchronous assumption. IEEE Trans. Commun. 2008, 56, 762–768. [Google Scholar] [CrossRef]
Figure 1. Error probabilities versus the numbers of simultaneous users under the chip-synchronous assumptions [33].
Figure 1. Error probabilities versus the numbers of simultaneous users under the chip-synchronous assumptions [33].
Entropy 26 00741 g001
Figure 2. Error probabilities versus the numbers of simultaneous users under chip-asynchronous assumptions [33].
Figure 2. Error probabilities versus the numbers of simultaneous users under chip-asynchronous assumptions [33].
Entropy 26 00741 g002
Figure 3. Error probabilities of the new optimal AM-OPPW 2D OOC under hard-limited chip-asynchronous and hard-limited chip synchronous conditions.
Figure 3. Error probabilities of the new optimal AM-OPPW 2D OOC under hard-limited chip-asynchronous and hard-limited chip synchronous conditions.
Entropy 26 00741 g003
Figure 4. Error probabilities of the new optimal AM-OPPW 2D OOC under the hard-limited chip asynchronous with different decision threshold Δ .
Figure 4. Error probabilities of the new optimal AM-OPPW 2D OOC under the hard-limited chip asynchronous with different decision threshold Δ .
Entropy 26 00741 g004
Table 1. Some known optimal OOCs with Λ ( Λ 1 ) | ( n 1 ) .
Table 1. Some known optimal OOCs with Λ ( Λ 1 ) | ( n 1 ) .
ParametersCode SizeConstraintRef.
( q 2 + q + 1 , q + 1 , 1 ) 1 [4,28]
q d + 1 1 q 1 , q + 1 , 1 q d 1 q 2 1 d even[4]
( n , 3 , 1 ) n 1 6 n 1 ( mod 6 ) [4]
( p , w , 1 ) r p = w ( w 1 ) r + 1 [29]
Table 2. Some new optimal AM-OPPW 2D OOCs from Corollary 1.
Table 2. Some new optimal AM-OPPW 2D OOCs from Corollary 1.
ParametersCode SizeConstraint
( ( q 2 + q + 1 ) × T , q + 1 , 1 ) ( q 2 + q + 1 ) T T = p k p k 1 p 1
with p k p k 1 p 1 q + 1
q d + 1 1 q 1 × T , q + 1 , 1 T ( q d + 1 1 ) ( q d 1 ) ( q 1 ) ( q 2 1 ) T = p k p k 1 p 1
with p k p k 1 p 1 q + 1
( n × T , 3 , 1 ) T n ( n 1 ) 6 T = p k p k 1 p 1
with p k p k 1 p 1 3
n 1 mod 6
( p × T , w , 1 ) r p T p = w ( w 1 ) r + 1
T = p k p k 1 p 1
with p k p k 1 p 1 w
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Shao, M.; Niu, X. Construction of Optimal Two-Dimensional Optical Orthogonal Codes with at Most One Pulse per Wavelength. Entropy 2024, 26, 741. https://doi.org/10.3390/e26090741

AMA Style

Shao M, Niu X. Construction of Optimal Two-Dimensional Optical Orthogonal Codes with at Most One Pulse per Wavelength. Entropy. 2024; 26(9):741. https://doi.org/10.3390/e26090741

Chicago/Turabian Style

Shao, Minfeng, and Xianhua Niu. 2024. "Construction of Optimal Two-Dimensional Optical Orthogonal Codes with at Most One Pulse per Wavelength" Entropy 26, no. 9: 741. https://doi.org/10.3390/e26090741

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop