Abstract
In mobile communication systems, the signals propagate through multipath over time-varying channels, which are subject to distortion caused by fading and Doppler shifts. In order to minimize such distortions, coding techniques and transmission diversity can be employed, e.g., wavelet coding. In this work, the wavelet coding is investigated in scenarios of cognitive radio systems with dynamic spectrum access. Cognitive radio systems with dynamic spectrum access should be able to sense unoccupied frequency bands for opportunistic transmissions, as well as detect the presence of primary users when they occupy their licensed spectrum. Therefore, an essential element for the accurate operation of cognitive radio systems encoded by wavelet coding is the ability to sense the signals encoded by this technique. It is effectively demonstrated that the possibility of sensing such signals is associated with a suitable design of the signal constellation used in the modulation of the coded symbols. The constellation design of these is performed via genetic algorithms using a multiobjective optimization approach. The developed system is evaluated according to the robustness to time-varying flat fading through a bit error probability (BER) versus Eb/N0 analysis. The spectral sensing ability is also addressed employing the cyclostationary analysis. The results denote the feasibility of using wavelet coding in radio scenarios with dynamic spectrum access, with good performance in terms of BER and signal detection rates.
1. Introduction
In wireless communication channels, the information signals propagate between the transmitting antenna and the receiving antenna through channels characterized by time-varying fading, which deteriorates the transmitted signals. One possible way to overcome such undesirable effect is to provide transmission diversity [1].
Transmission diversity techniques aim at transmitting signal replicas over uncorrelated channels. Thus, the greater the number of replicas, the greater the system diversity, while improved performance results if compared with the case where a single signal is transmitted [2]. In general, transmission diversity techniques reduce the spectral efficiency of the system [3]. However, when such diversity is provided by appropriate techniques, prominent advantages can be achieved by maintaining the spectral efficiency of the system at appropriate values. Wavelet coding is a transmission technique that can be used for this purpose [4].
Wavelet coding was initially proposed by Tzannes and Tzannes [5], being characterized by using wavelet matrices for information coding [2]. Because of the orthogonality property of the rows in the wavelet matrices, the information can be retrieved at the receiver through a bank of correlators that match the rows used for coding [4].
Simplicity regarding the wavelet coding process led to the investigation of this transmission technique applied to different communication scenarios, such as flat fading channels [6], frequency selective channels [4], analysis of channel estimation errors [7, 8], and identification of modulation schemes designed by genetic algorithms [9], in OFDM systems on a 4.9 Gbps W-Band Radio-over-Fiber Link [10] and in wireless adaptive control systems [11].
In fact, the computational complexity of wavelet coding is linear with increasing number of coding matrix columns [12]. On the other hand, wavelet coding has already been successfully used in real systems with small and medium size matrices. In [10], a 2 × 128-size matrix was used to enable communications on an 80 GHz carrier frequency real fiber radio system. In [11], a small (2 × 8) matrix was used to enable a microcontrolled wireless loop control system. However, the wavelet coding technique has not yet been investigated in scenarios where systems employ spectrum sensing and dynamic spectrum access.
Spectrum sensing is a task for which the radio system must detect free portions of the electromagnetic spectrum. One of the main advantages associated with spectrum sensing is the improved management of the electromagnetic spectrum. In particular, scientific studies have shown that the spectrum access problem is more significant than the physical scarce availability of this resource [13]. In this context, regulatory agencies have proposed a new spectrum allocation policy called dynamic spectrum access (DSA). In this case, the radio system must be capable of detecting free portions through spectral sensing techniques.
In general, three classical techniques are defined in the literature for spectral sensing: energy detection, cyclostationary analysis, and matched filters. In particular, cyclostationarity sensing stands out as the most efficient approach for detecting signals in environments with low signal-to-noise ratio (SNR), especially because it does require the prior knowledge of the signals to be sensed [14].
The possibility of detecting users through coding with wavelet matrices is of fundamental importance for the application of this coding technique to systems employing spectrum sensing. However, as it will be further demonstrated in this work, there are practical difficulties when applying cyclostationarity-based spectrum sensing techniques to wavelet-encoded signals. This is due to the fact that wavelet symbols are modulated and transmitted over the communication channel.
In this context, this work aims at adapting the wavelet coding to the DSA scenario using spectrum sensing by cyclostationarity analysis, without compromising the robustness provided by such transmission technique. In particular, wavelet coding becomes suitable to this application by adjusting the way the generated symbols are modulated by coding. The wavelet symbols are modulated from a phase-shift keying (PSK) constellation optimized via a genetic algorithm in order to meet the requirements of simple detection of encoded signals and robustness to fading effects, which is evaluated in terms of the bit error rate (BER).
The remainder of the paper is organized as follows. Section 2 introduces the fundamental concepts of wavelet coding. Section 3 presents the theory regarding cyclostationary spectrum sensing. Section 4 describes the design process of constellations that are suitable for spectrum sensing of wavelet coded symbols. Section 5 presents the simulation results, while Section 6 discusses the main conclusions of this work.
2. Concepts of Wavelet Coding
Let us consider matrix described by equation (1), which has m rows (m ≥ 2) and mg columns, whose elements belong to the set {+1, −1}:where A is defined as the wavelet coefficient matrix (WCM), which is an integer and plane with rank m and gender if the conditions given in equations (2) and (3) are satisfied [2]where [k + mr] is the result of operation k + mr modulus mg, is the complex conjugate of a, and δ(x, y) is the Kronecker delta function, which is defined by [2]
The condition given by equation (3) denotes that the rows of a wavelet matrix with rank m and gender have a norm m1/2 and are mutually orthogonal to each other, even when shifted by a multiple of m. Equation (2) shows that the sum of the elements in the first row of the wavelet matrix is equal to the matrix rank, while the sum of the elements in each one of the remaining rows is zero [4].
2.1. Wavelet Encoding
Let us consider a discrete source that generates symbols xi ∈ {1, −1}, which are statistically independent and have equal probability of occurrence. The wavelet coding can be defined mathematically by the matrix product as [5]where Y is a vector with N coded symbols referred to as wavelet symbols yn, X is a vector composed of a sequence with N information symbols xi, and CWCM is a transformation matrix with N rows, which is obtained from successive repetitions and shifting of the WCM in order to maintain the orthogonality as defined by equation (3). Equation (6) presents an example of CWCM obtained from a 2 × 8 WCM [4]:
It is possible to demonstrate that the wavelet symbols transmitted at time instant n = pm + q, where and , can be defined by [4]and belong to the setwhich has a cardinality mg + 1 and a probability mass function given by [2]where the mean is zero and the variance is mg.
2.2. Wavelet Decoding
Decoding the wavelet symbols yn is based on the orthogonality property of the WMC rows, which can be defined from the matrix product [5]:where corresponds to the conjugate transpose matrix of . From equations (2)–(4), the following statement results [2]:where I is the identity matrix with rank m. From each element zi of vector Z, the values assumed by the transmitted bits xi can be estimated by [4]where is the signal function.
2.3. Modulation of Wavelet Coded Signals
Increasing the size of the wavelet coding matrix leads to an increase in the variance of symbols and their respective values, as shown in equations (8) and (9), as well as the diversity generated by the coding process [2]. Thus, the use of a conventional PSK modulation for the transmission of equally spaced wavelet symbols would result in a constellation characterized by an agglomeration of points over a unit radius circle.
Thus, an unusual PSK modulation is better recommended for many wavelet coding systems, where the distribution of the points over the circle is performed in order to optimize some desired metric, e.g., the system BER [7]. It is important to note that the use of a usual PSK constellation, with equispaced points in the unit radius circle, for the transmission of wavelet symbols would result in a loss of transmission system performance [2].
Obtaining BER-optimized constellations has been discussed in several works. For instance, a method for searching genetic algorithms for a truncated constellation suitable to wavelet coding is presented in [2]. The result is an unusual PSK modulation with Np PSK symbols. Table 1 presents the resulting constellation for wavelet encoding systems based on a 2 × 128 WCM.
3. Cyclostationary Processes
A signal x(t) is said to be second-order cyclostationary if there is a second-order nonlinear transformation linear capable of leading the resulting signal to contain sinusoidal components with infinite amplitude [14]. In practice, second-order cyclostationary signals have a periodic autocorrelation function in the following form [15]:where T is the period and is the autocorrelation function defined by [16]where is the complex conjugate of , while the symbol denotes the temporal mean operator defined by [16]
When the theory of second-order cyclostationary processes is applied to spectral sensing, three important functions are used: the cyclic autocorrelation function (CAF), the spectral correlation density (SCD) function, and the alpha profile (AP) [9].
The autocorrelation function of a second-order cyclostationary process is periodic as it can be represented by a Fourier series. CAF can be defined as the coefficients resulting from the expansion of the autocorrelation function in terms of a Fourier series [14], i.e.,where α is the cyclic frequency, which is a discrete number. Therefore, a signal is second-order cyclostationary if the autocorrelation function is nonzero for any [16].
On the other hand, the SCD is defined as the Fourier transform of CAF, i.e., [16]where f is the signal frequency measured in Hz.
The evaluation of SCD as expressed by equation (17) generates a surface over plane , which is symmetric with respect to both f and α. Considering the symmetries associated with the function, the projection of the SCD on an orthogonal plane to f is often calculated for α > 0, which is called AP [9],
3.1. Cyclostationary Sensing
The cyclostationarity sensing method is based on the fact that the Gaussian noise has no spectral correlation for a nonzero cyclic frequency [16]. From this principle, a simple method to check for communication signals in the spectrum range under analysis lies in detecting peaks in the alpha profile of the sensed channel α > 0 [9].
In this case, one possible way to obtain spectral sensing using cyclostationary process is to determine the value of a sensing metric () calculated as a function of the alpha profile according to [17],where is the value of the cyclic frequency defined as a function of the modulated signal format to be sensed by the architecture. Since the modulated signals have well-defined peaks in the alpha profile, the parameter represents a cyclic frequency chosen to match the occurrence of such peaks in the alpha profile.
Making a decision in terms of the presence or absence of the communication signal occurs through a Bayesian test. Assuming that there is a modulated signal in the analyzed spectrum range, the sensing metric value will tend to be greater than zero (). Otherwise, if there is no communication signal in the analyzed range, the sensing metric will tend to low values close to zero. Thus, assuming that the suboptimal threshold (δ) is known, which is calculated as a function of the desired false alarm probability, the proposed sensing architecture can perform the following test for the detection of communication signals in the analyzed spectrum:(i)If , the communication signal will exist(ii)Otherwise, the communication signal will be absent
3.2. Spectral Sensing of Signals Coded with Wavelet Matrices
Applying cyclostationarity metrics to signals containing a constellation whose patterns are similar as those described in Table 1 results in a shading of the cyclostationary characteristics of the transmitted coded signal. Figure 1 represents the alpha profile calculated for a signal using the modulation described in Section 3.

On the other hand, empirical results indicate that, by adjusting the mapping of wavelet symbols in a different way, the spectral lines resulting from the analysis of cyclostationary characteristics of signals with wavelet coding are evidenced [17]. Therefore, wavelet coding can be used in a DSA scenario with spectral sensing by cyclostationary analysis. However, an adjustment should be made to the way wavelet symbols are modulated and transmitted over the wireless communication channel. However, such adjustment must be performed so that it does not impair the performance of the channel encoder, which is measured in terms of the BER.
The forthcoming section details a method for searching a wavelet constellation that provides optimized BER performance and spectral sensing capability based on genetic algorithms.
4. Constellation Design for Wavelet Signal Sensing
In this work, a novel modulation scheme for signals encoded with wavelet matrices is proposed to meet the following optimization criteria:(i)Peak amplitudes in the alpha profile(ii)Low BERs
The search for such constellations was performed using genetic algorithms, given the versatility of this algorithm in solving predominantly stochastic problems [18]. The genetic algorithm was implemented in MATLAB® environment using the toolbox described in [19].
No previous truncation of the symbols was considered in the design so that there is a point in the associated constellation for each generated wavelet symbol.
The characterization of the genetic algorithm is based on the following variables: (i) chromosome representation; (ii) generation of the initial population; (iii) fitness function; (iv) selection method and genetic operators; and (v) stopping criterion. Each one of the aforementioned aspects is described in the forthcoming subsections.
4.1. Chromosome Representation
In this work, each chromosome gene indicates the angle of the points in a PSK constellation as expressed in radians. Thus, the floating point representation becomes the most suitable approach for the adopted genetic algorithm. Each chromosome is represented by a vector , where are the angles of the designed PSK constellation. The constellations are always symmetrical with respect to the abscissa axis and located in the unit radius circle. These constraints are associated with the nature of the wavelet coding process and reduce the constellation search space.
4.2. Initial Population
The initial population was randomly created by selecting the genes of each chromosome from a uniform distribution .
4.3. Fitness Function
The fitness function is defined in terms of the system bit error probability and the amplitudes of the peaks that exist in the alpha profile of the wavelet-encoded signals. Since it consists in an optimization involving two optimality criteria, it is characterized as a multiobjective optimization problem.
Considering that it is desired to minimize the BER and maximize the peaks in the alpha profile of this constellation, this work proposes the use of a novel fitness function F(x), which is composed of the linear combination of each one of the individual objective functions being defined aswhere vector x represents the angles of the designed constellation, is the value of the alpha profile of the constellation x calculated at the cyclic frequency , is the bit error probability of the constellation x, and and are the weights used in the multiobjective optimization process.
The alpha profile can be obtained using any cyclostationary analysis algorithm. In this work, this function was estimated based on the cyclic periodogram detection (CPD) algorithm described in [15].
The bit error probability of a wavelet-coding system can be determined from semianalytic functions. In this case, the constellation design was performed for Rayleigh channels with flat fading. Thus, the probability of bit error can be estimated from the analysis performed in [2].
It is important to note that wavelet coding provides diversity gain with unit coding rate and is therefore only interesting for fading channels. That is why we do not propose constellations optimized for AWGN channels.
4.4. Selection Method and Genetic Operators
The selection method and genetic operators aim at transforming the population over the generations, extending the search process until it reaches a stopping criterion. Table 2 indicates the chosen selection method and genetic operators.
4.5. Stopping Criterion
The stopping criterion determines when the genetic algorithm should stop its execution and resume the final population resulting from the optimization process. In this case, the stopping criterion corresponds to 900 generations.
5. Simulation Results
This section presents the simulation results for the analysis of wavelet coding in a DSA scenario. The constellation design considered a 2 × 128 WCM as the coding matrix. The modeled communication channel presents flat fading. In this case, the received signal vector y can be written as a function of the transmitted signal vector x aswhere h corresponds to the attenuation vector of the received signal and n is the additive Gaussian white noise (AWGN) vector with zero mean and variance N0/2 per dimension, where N0 is calculated fromwith Eb being the bit energy of the transmitted signal.
5.1. Obtaining Optimized Constellations
For obtaining optimized wavelet constellations used in sensing, the fitness function used by the genetic algorithm as given by equation (20) is employed, where = 25 × 10−6 and = 9.99975 × 10−1 were adopted. Such parameters were determined empirically from various tests with different weights until adequate values were obtained for BER and amplitude of the alpha profile associated with the signals encoded by wavelets matrices.
According to [2], when calculating the bit error probability of wavelet-encoded signals, the modeling of a discrete channel is required. In this case, a channel model described by equation (21) was adopted. Assuming perfect interweaving of the wavelet symbols generated by the encoder, coefficients h are modeled as independent complex Gaussian random variables, whose real and imaginary parts have zero mean and variance equal to 0.5. The simulations were performed based on the Monte Carlo method. The channel was simulated for a SNR of 17 dB, and a sufficient number of signals was adopted to obtain the demodulation error matrix with good statistical accuracy. The received signals are demodulated using the maximum a posteriori estimation (MAP) rule.
To obtain the alpha profile for the calculation of the fitness function, a signal defined by the constellation to be optimized was simulated. The signal was modulated with the parameters described in Table 3. The alpha profile was estimated using the CPD algorithm with the parameters described in Table 4. The parameters required by the genetic algorithm employed in the constellation design are listed in Table 5.
Table 6 presents the angles of the PSK constellation obtained with the genetic algorithm. Applying the cyclostationarity measurements to the constellation described in Table 6 leads to the alpha profile represented in Figure 2. It can be observed that the alpha profile has a spectral line located at α = fs/16, with a higher amplitude than that of the alpha profile of the constellation proposed in [2] as shown in Figure 1.

To validate the performance of the communication system using the designed constellation, BER versus Eb/N0(dB) curves were estimated and plotted considering a Rayleigh channel model with flat fading. The simulations were performed based on the Monte Carlo method. For each point of the BER curves, a minimum of 200 bit errors was ensured in the estimation. Perfect interweaving of the wavelet symbols generated by the encoder is assumed, as well as that the receiver has perfect knowledge of the channel state. During reception, the signals are demodulated by the MAP rule.
The results obtained for the system BER are shown in Figure 3. As a comparison metric, the BER of the wavelet-encoded system using a constellation optimized in terms of the BER only is presented previously in the literature and described in [2] (the constellation is presented in Table 1). Besides, the BER of the system encoded with space-time block coding (STBC) is assumed to present the same spectral efficiency [20].

From the analysis of Figure 3, it is observed that the bit error probability curve for the constellation obtained in this work is higher than that in [2], which is an expected result, given that the constellation in this case was optimized for two purposes: minimizing the BER and increasing the peak amplitudes in the alpha profile. The results for the BER from the aforementioned constellation differ by approximately 2 dB from those obtained in [2], thus reinforcing the compromise between the primary user detection and system BER.
Furthermore, looking at Figure 3, it is observed that since wavelet coding uses correlation decoding, the performance of this technique improves with high SNR, outperforming STBC coding. In addition, in STBC, diversity is achieved using multiple antennas, which yields better performance at lower SNRs.
5.2. Sensing Analysis of Wavelet-Coded Signals
Since the alpha profile of the designed constellation has a single peak at α = fs/16, the sensing metric is represented by
The results of the cyclostationarity spectrum sensing were obtained considering the metric defined in equation (23). In all simulations, the signal was modulated with the parameters described in Table 3. The parameters used in the CPD algorithm, which are necessary for the alpha profile calculation, are presented in Table 4. The communication channel was modeled as being Rayleigh correlated and generated using the Jakes method from 20 sinusoids so that the fading profile could be obtained [21]. The analyzed Doppler frequencies are fdTs = 0.0062 and fdTs = 0.0031.
Based on the international standard IEEE 802.22, which provides some requirements for DSA systems, a constant false alarm probability of 10% is desired [22]. This rate can be obtained by adjusting the comparison threshold used in the spectral sensing architecture. Since it was not possible to determine a mathematical relationship between the probability of false alarm and a given sensing threshold, a curve was employed instead in this work, as shown in Figure 4, which represents the relationship between such variables. This curve was obtained by simulating the probability of false alarm for the proposed architecture considering a white noise signal with unit variance and zero mean, where various threshold values were employed in a predetermined range [0, 0.30]. For each threshold value, 300 simulations were carried out and the probability of false alarm was calculated for each case.

From Figure 4, a comparison threshold of δ = 0.15 was established, which leads to a false alarm probability of approximately 10%. Therefore, the performance of the sensing architecture was evaluated considering this threshold.
Figure 5 presents the performance of the sensing architecture for the designed constellation. Each point of the curve was obtained through 3,500 simulations, which were divided into 35 groups of 100 tests. The detection probability was determined for each group, while the mean value of the detection probability was determined for the whole set considering a confidence interval of 95%.

From the results shown in Figure 5, it can be stated that sensing the wavelet-coded signals leads to satisfactory results for channels with AWGN and low SNRs, i.e., in the order of −12 dB. Furthermore, it is observed that the detection probability of the constellation in AWGN channels is higher than that found in fading channels for the same SNR as expected, being in accordance with the results found in the literature [17].
The receiver operating characteristic (ROC) curves of the spectral sensing method are shown in Figures 6 and 7 for AWGN and Rayleigh channels with fdTs = 0.0062, respectively. From such results, and considering the IEEE 802.22 standard, it is observed that the proposed constellation is efficiently sensed up to −14 dB in AWGN channels and −12 dB in Rayleigh channels, thus demonstrating the robustness of this sensing method in environments with low SNRs.


6. Conclusion
This work presents a method for obtaining constellations suitable for sensing wavelet-encoded signals. From the simulation results, it can be stated that the proposed design method is quite efficient for defining the constellations while also providing good results in spectral sensing without compromising the system performance in terms of BER.
The main contributions of this work are as follows: (i) a study performed on the cyclostationary characteristics of signals encoded with wavelet matrices; (ii) presentation of a design method for novel modulation systems suitable for wavelet coding in spectral-sensing environments based on multiobjective optimization theory and genetic algorithms; and (iii) investigation of spectral-sensing techniques in systems using wavelet coding.
Future work aims at investigating the influence of some variables that were taken into account in the system modeling a priori, e.g., detection in environments with spectrum spreading, detection in channels characterized by frequency selectivity, and fading by shading.
Data Availability
The algorithms used and the constellations projected are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
The authors acknowledge the valuable contributions of Dr. Edmar Candeia Gurjão (UFCG/Brazil), Dr. Adrião Duarte Doria Neto (UFRN/Brazil), and Dr. Vicente Angelo de Sousa Júnior (UFRN/Brazil). This study was financed in part by the Coordenação de perfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001, and technically supported by the High-Performance Computing Center at UFRN (NPAD/UFRN)