Next Article in Journal
Ship Autonomous Collision-Avoidance Strategies—A Comprehensive Review
Next Article in Special Issue
On Detection of Anomalous VHF Propagation over the Adriatic Sea Utilising a Software-Defined Automatic Identification System Receiver
Previous Article in Journal
Optimized Route Planning under the Effect of Hull and Propeller Fouling and Considering Ocean Currents
Previous Article in Special Issue
A Multi-Beam Seafloor Constant False Alarm Detection Method Based on Weighted Element Averaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Carrier-Based Gardner Timing Synchronization Algorithm for BPSK Signal in Maritime Communication

1
The Engineering Research Center of Oceanic Sensing Technology and Equipment, Ministry of Education, Zhejiang University, Zhoushan 316021, China
2
Donghai Laboratory, Zhoushan 316021, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(4), 829; https://doi.org/10.3390/jmse11040829
Submission received: 13 March 2023 / Revised: 8 April 2023 / Accepted: 11 April 2023 / Published: 13 April 2023
(This article belongs to the Special Issue Advanced Marine Electronic Applications in Smart Ocean)

Abstract

:
Wireless communication at sea is an essential way to establish a smart ocean. In the communication system, however, signals are affected by the carrier frequency offset (CFO), which results from the Doppler effect and crystal frequency offset. The offset deteriorates the demodulation performance of the communication system. The conventional Gardner bit-synchronization algorithm performs timing synchronization on the baseband, but it fails to solve the problem of carrier frequency offset. In this paper, a carrier-based timing-synchronization Gardner algorithm was proposed. The algorithm performed error detection in the carrier signal to estimate the synchronization error in real time and the time-domain expansion in the passband signal. Based on the estimated expansion factor, the algorithm located the sampling points of the ideal signal and re-interpolated all the sampling points on the passband to recover the passband signal without Doppler. This algorithm can solve both the frequency shift and time-domain expansion caused by the Doppler effect without further CFO estimation and compensation, thus reducing the overall computational complexity of the system. The simulations showed that the proposed algorithm greatly improves the ability of the communication system to combat Doppler compared to the conventional Gardner algorithm. The algorithm is primarily designed for binary phase-shift keying (BPSK)-modulated signals under the additive white Gaussian noise (AWGN) channel and can be applied to various maritime communication scenarios.

1. Introduction

Medium-wave communication is a radio communication technique that uses electromagnetic waves with a wavelength of 1000 m~100 m (a frequency range of 300~3000 kHz) and is an important component of maritime communication. Medium-wave communication is widely used for maritime emergency rescue, aircraft and ship communication, and radio navigation. However, in digital communication systems, the received carrier signal is affected by the Doppler effect and the local crystal frequency offset, which creates frequency offset in the frequency domain and changes the length of the signal in the time domain. To synchronize the carrier signal with the local clock signal, carrier synchronization and bit synchronization are required at the receiver. Bit synchronization, also known as symbol synchronization, extracts the timing pulse sequence for sampling judgments at the receiver side and is the foundation for accurate sampling judgments.
Bit-synchronization algorithms can be divided into feedforward synchronization algorithms and feedback synchronization algorithms according to the algorithm structure. It can also be classified as data-assisted and non-data-assisted algorithms [1,2]. The classical synchronization algorithms include the early-late gate (E-LG) algorithm [3], M&M (Mueller & Muller) algorithm [4], maximum likelihood algorithm [5], wave division multiplex (WDM) algorithm [6], and Gardner algorithm [7]. Among them, refs. [3,4,6,7] belong to timing recovery synchronization algorithms. The Gardner timing recovery bit synchronization algorithm requires only two resamples in one symbol for error detection. The carrier phase does not affect the synchronization judgment performance, data assistance and judgment feedback are not required, and it is easy to implement in high-speed digital communication systems. Hence, it is widely used in engineering practice. Gardner algorithm is continuously applied to quadrature amplitude modulation (QAM) signals [8,9,10], multiple phase shift keying (MPSK) signals [11,12], Gaussian minimum frequency shift keying (GMSK) signals [13], and other modulation systems [14,15,16], with an ever-expanding range of applications.
The Gardner algorithm works by resampling the rough demodulated baseband signal. The feasibility of the algorithm depends on an assumption that the phase deviation of each sampled value is constant, which means there is no carrier frequency deviation. When the assumptions are not satisfied, the performance of the algorithm may degrade. As a result, improved algorithms for correcting frequency deviation are proposed [10]. In addition, Gardner algorithm introduces a certain amount of self-source noise when the roll-off factor (ROF) is small and adjacent symbols are the same, which affects the performance of bit synchronization.
Improved algorithms using pre-filtering method [8,17] and compensation method [18,19] have been gradually proposed for Gardner algorithm with large self-jitter in systems with small ROF. However, the complexity of these improved algorithms is relatively high. For the method applicable to MPSK modulation proposed in [11], ref. [20] proposed an improved algorithm applicable to higher-order MPSK modulation. Ref. [21] improved the Gardner phase detector (GPD) so that the algorithm still performs well in QAM modulated systems with the ROF close to 0.
When adjacent symbols are the same, the symbol difference is always zero and the Gardner algorithm cannot capture the timing error, which makes the Gardner algorithm generate large timing jitter [22] and leads to a high level of self-noise in the system. Some improved algorithms were proposed to address this issue [23]. Correction algorithms [9] and preprocessing algorithms [24] were proposed to mitigate self-noise in the Gardner algorithm. To solve the problem of long synchronization timing time, an improved method that increases the gain control processing was proposed in [25]. Other research directions on bit synchronization and the Gardner algorithm include frequency-domain bit-synchronization algorithms [26,27], parallel processing on field programmable gate array (FPGA) [28], the effect of loop delay [29] on system performance, and performance comparisons with various algorithms [30,31].
The existing improved methods of the Gardner algorithm all detect timing errors based on the baseband signal, which is vulnerable to residual-frequency offset. In addition, the system needs to perform additional frequency-offset estimation and compensation. Based on the characteristics of the carrier signal, this paper proposed a Carrier-Based Gardner (CB-Gardner) algorithm for timing synchronization. The algorithm can directly perform error detection on the carrier signal in the passband, eliminate the carrier frequency offset caused by Doppler effect and local crystal frequency bias, and perform timing synchronous sampling. The main improvements of the algorithm include: (1) changing the error-detection point and the error-calculation formula; (2) simplifying the operation of the numerically controlled oscillator (NCO); and (3) resampling all sampling points on the passband using an interpolator. This algorithm can be applied to single-carrier signals with binary phase-shift keying (BPSK) modulation, especially in wireless communication systems.

2. Problem Formulation

2.1. Problem Statement

In this paper, the main problem we address is the effect of the Doppler on the carrier signal. In a communication system, the carrier frequency of the signal may change due to the relative motion between the transmitter and the receiver. The carrier frequency with Doppler effect is
f = ( v ± v 0 v v s ) f c
where f denotes the observed signal frequency, v denotes the wave propagation speed, v 0 is the movement speed of the receiver, and v s denotes the movement speed of the transmitter source, f c is the original frequency of the signal. The ratio of f and f c is defined as
λ = f / f c = ( f c + f ) / f c = 1 + δ
where f denotes the absolute Doppler shift, and the Doppler factor δ = f / f c denotes the magnitude of the Doppler shift with respect to the carrier frequency.
In the time domain, the Doppler effect causes the length of the received signal to be compressed or broadened, resulting a length ratio of 1 / λ between the received signal and the original signal. This length change corresponds to a change in the sampling rate at the receiver. If the original sampling rate is F s , then the actual sampling rate is
F s = F s / λ
Thus, in the time domain, the effect of Doppler is equivalent to signal resampling. The frequency shift caused by Doppler prevents the receiver from performing accurate carrier synchronization. The change in sampling rate also affects bit synchronization and thus degrades the decoding performance. Considering a single-carrier communication system with BPSK modulation, if the transmitted symbol is x n , the transmitted signal can be expressed as
s BPSK ( t ) = A cos ( w c t )   ,   x n = 0 A cos ( w c t )   ,   x n = 1
The CB-Gardner algorithm proposed in this paper processes the passband signal in (4). This method can also be extended to higher-order modulations.

2.2. Solutions to Doppler

To eliminate the Doppler effects, two methods are usually used.
Method 1: Resampling the passband signal directly. This method requires estimating the Doppler factor. One approach is to calculate the Doppler factor by measuring the change of the length of signal through a synchronization method in the time domain and resample the passband signal. This method assumes a constant Doppler factor throughout the signal time, which may not hold true for time-varying Doppler. As a result, the performance of this method may degrade.
Method 2: Carrier frequency offset (CFO) estimation and compensation, and bit synchronization. The former eliminates the frequency offset of the signal, allowing for accurate bit synchronization, which eliminates the spreading effect of the signal in the time domain. The Gardner algorithm is a canonical example of bit-synchronization algorithms.
Figure 1 shows the closed-loop feedback structure of the Gardner algorithm [32]. The loop consists of an interpolator, a timing error detector (TED), a loop filter (LF) and an NCO. The input signal is the baseband signal after down-conversion, and the output is the baseband symbol after decimation.
Figure 2 shows the principle of the Gardner algorithm for TED on the baseband signal. The figure depicts a baseband signal containing two symbols, where y n 1 , y n 1 / 2 and y n are the three detection points required to detect timing error. y n 1 and y n are the optimal sampling instants for the two adjacent symbols in the baseband, and y n 1 / 2 is the midpoint of these two adjacent symbols. Therefore, the Gardner algorithm performs two resampling points per symbol on average.
Let x n 1 and x n be the symbols adjudicated based on y n 1 and y n . The error detection equation of Gardner algorithm is
e r r n = y ( n 1 2 ) [ x ( n 1 ) x ( n ) ]
where e r r n contains the information that the signal is extended or compressed and therefore Doppler can be detected.
As seen in Figure 2, the shape of the baseband signal bears some similarity to the cosine signal. This similarity serves for timing error detection in CB-Gardner, which can eliminate the impact of Doppler directly on the passband while maintaining the real-time iterative property of the Gardner algorithm.

3. Materials and Methods

The proposed CB-Gardner in this paper is a feedback loop consisting mainly of two interpolators, a timing error detector, a loop filter, and a numerically controlled oscillator. This feedback loop is executed once per symbol to counteract the time-varying Doppler. Figure 3 illustrates the structure and model of the proposed CB-Gardner.
The fundamental difference between CB-Gardner and Gardner algorithm lies in the error detector, which is mainly reflected in the difference of the location of error detection point and the change of the error detection equation. Error detection in the CB-Gardner can be divided into two steps: finding the error-detection point and calculating the timing error. An interpolator is also needed before calculating the timing error. Next, we will describe the detailed process of the algorithm.

3.1. Error Detection Point

For a BPSK signal, (4) shows that the signal can be represented as a cosine waveform. However, the signal amplitude around the symbol instant decreases gradually due to the forming filter. Nevertheless, since the symbol period is usually much larger than the carrier period for medium wave, the amplitude of the filter can be approximated as constant when considering only the waveform of the first carrier period after the symbol instant. At this point, the passband waveform can be approximated as a cosine function.
Observing the baseband waveform in Figure 2, we find that its shape is similar to that of a cosine waveform. Therefore, the three points used for error detection in the CB-Gardner are chosen with a phase difference of π / 2 , where the phase of the first detection point belongs to [ 0 , π 2 , π , 3 π 2 ] , and all detection points are located after the symbol instant. Specifically, the phase values of the three error-detection points ( y 1 , y 2 , y 3 ) are
φ y 1 [ 0 , π 2 , π , 3 π 2 ] φ y 2 = φ y 1 + π 2 φ y 3 = φ y 1 + π
To minimize the decay of the cosine waveform, we choose the optimal sampling instant for each symbol as the reference and position of y 1 as close to the symbol instant as possible. Figure 4 shows the positions of the three detection points ( y 1 , y 2 , y 3 ) in the improved algorithm when φ y 1 = 0 . S 1 is the optimal judgment instant for one symbol and S 2 is the optimal judgment instant for another symbol after S 1 . For symbol S 1 , the nearest y 1 is located at the instant with a phase of 0. The phases of y 2 ,   y 3 are then π / 2 and π , respectively.
Suppose the symbol rate is F b , and the symbol period is T = 1 / F b . We set the first symbol instant to t 1 = 0 , its sampling point to P 1 = 1 . For the nth symbol instant, we have t n = n 1 T and its sampling points are P n . The phase of the nth symbol instant is
φ n = w c t n + φ x n = ( n 1 ) w c T   ,   x n = 0 ( n 1 ) w c T + π ,   x n = 1
where w c = 2 π f c . At this point, the instant of the nearest y 1 after t n is
t y 1 = t n + { π 2 [ φ n mod ( π 2 ) ] } / w c   = t n + { π 2 [ ( n 1 ) w c T ] mod ( π 2 ) } / w c
where the time difference t y 1 with t n is t y 1 , n = { π 2 [ ( n 1 ) w c T ] mod ( π 2 ) } / w c . For the current nth symbol, we can use the estimated λ n 1 from the previous symbol as a priori information. Considering the variation of the signal length due to Doppler, the number of sampling points corresponding to t y 1 , n is
p = t y 1 , n F s / λ n 1     = { π 2 [ ( n 1 ) w c T ] mod ( π 2 ) } / w c F s / λ n 1     = 1 / λ n 1 { π 2 [ ( n 1 ) w c T ] mod ( π 2 ) } / ( 2 π ) F s f c     = 1 / λ n 1 s p c { π 2 [ ( n 1 ) w c T ] mod ( π 2 ) } / ( 2 π )
where s p c = F s / f c denotes the average number of samples per carrier cycle. Therefore, the positions of the error-detection points ( y 1 , y 2 , y 3 ) are
p y 1 , n = P n + 1 / λ n 1 s p c { π 2 [ ( n 1 ) w c T ] mod ( π 2 ) } / ( 2 π ) p y 2 , n = p y 1 , n + 1 / λ n 1 s p c / 4 p y 3 , n = p y 1 , n + 1 / λ n 1 s p c / 2
Once we get the positions of all three error detection points, we can obtain their corresponding values using the interpolation method, which will be described later.

3.2. Timing Error Detection

Unlike (5), the CB-Gardner performs error detection by utilizing three sampled values on the passband instead of determined symbols. When φ y 1 [ 0 , π ] , for example φ y 1 = 0 , as shown in Figure 5, and assuming that the position of y 1 is relatively accurate, the signal may broaden due to the effect of Doppler (i.e., λ < 1 ), and the detection points y 2 and y 3 may shift.
Referring to the error detection Equation (5) of the Gardner algorithm, we define the detection error as
e r r n = y 2 ( y 1 y 3 )
It can be inferred that e r r n > 0 , which leads to a decrease in the control word in the NCO. Consequently, the NCO estimates that λ n < 1 . Conversely, when λ > 1 , the NCO estimates that λ n > 1 . Thus, e r r n accurately indicates the directional information of Doppler and can be used as timing synchronization error. But when φ y 1 [ π 2 , 3 π 2 ] , for example, φ y 1 = π 2 , if λ < 1 , as shown in Figure 6, according to (11), we can see that e r r n < 0 at this point. This will give the NCO incorrect information of λ n > 1 .
Therefore, we need to correct (11). To differentiate between the two cases of φ y 1 [ 0 , π ] and φ y 1 [ π 2 , 3 π 2 ] , a simple method is to compare the absolute values of y 1 and y 2 when the signal-to-noise ratio (SNR) is not very low. Thus, the final equation for CB-Gardner’s error detection is
e r r n = y 2 ( y 1 y 3 )   ,   y 1 > y 2 y 2 ( y 3 y 1 )   ,   y 1 < y 2
In this case, the sign of e r r n will correctly indicate the directional information of Doppler. In addition, e r r n also contains information about the magnitude of the Doppler, enabling the NCO to accurately detect both the magnitude and direction of the Doppler. Since the error detection is carrier-based and independent of the specific symbol, the CB-Gardner does not fail even when there are a large number of consecutive identical symbols.
For BPSK signals, (11) is used for error detection, while for quadrature phase shift keying (QPSK) and higher-order modulation methods, (12) is required.

3.3. Loop Filter

For the nth symbol, once the synchronization error e r r n is detected by the error detector, it is fed into the loop filter. The loop filter here is identical to the one used in the Gardner algorithm, which is a second-order proportional integral filter. The output of the filter can be obtained by
E L F , n = c 1 e r r n + c 2 i = 1 n e r r n
where c 1 and c 2 are scaling and integration coefficients, respectively. The filter output E L P , n is then fed to the NCO.

3.4. Numerically Controlled Oscillator

The NCO is used to determine the position of the optimal sampling instant for the next symbol, i.e., P n + 1 . Figure 7 shows the flowchart of NCO in the CB-Gardner algorithm.
In the CB-Gardner, we modified the expression of the control word in the NCO. Since the NCO only needs to obtain the position of the next symbol and does not require knowledge of the midpoint position between two symbols, the NCO only needs to overflow once per symbol period, i.e., the NCO overflows with a period of T i = T . Therefore, the initial value of the control word is
W 0 = T s / T i = 1 F s / T = 1 F s / 1 F b = = 1 / ( F s F b ) = 1 / s p s
where T s is the sampling period, and s p s = F s F b denotes the average number of samples per symbol. For the nth symbol, the control word within the NCO is
W n = W 0 E L P , n = 1 / s p s E L F , n
Below, we provide a brief derivation of the register values in the NCO after each overflow. We define the location of each NCO overflow as the best sampling instant for the symbols. For the nth symbol, we assume that the NCO overflows at the position of P n = m n + u n , where m n is the integer part of P n and u n is the fractional part. The register value after the overflow is η n , which is
η n = ( m k + u k ) W n
where m k is an integer and u k is a fractional number. From P n , η n and W n , we can directly obtain the position and register value of the next NCO overflow, as given by
P n + 1 = m n + 1 + m k + u k = int ( P n ) + 1 + η n W n
η n + 1 = η n ( m k + 1 ) W n + 1 = η n [ int ( η n W n ) + 1 ] W n + 1
Then, from the nth symbol to the (n + 1)th symbol, the NCO estimates the signal expansion factor as
λ n = s p s / ( P n + 1 P n ) = s p s / [ int ( P n ) + 1 + η n W n P n ]
In this way, we estimate the magnitude of the signal expansion factor in real time. Subsequently, we again search for the nearest three error detection points after the (n + 1)th symbol to form a feedback loop.

3.5. Interpolator

After performing the aforementioned operation, we can obtain the position of optimal sampling instant P n for each symbol. However, as we are dealing with a passband carrier signal, we need to determine the position of each sampling point and resample them in order to recover the passband signal without Doppler effects. This necessitates the use of interpolation algorithms.

3.5.1. Location of Sampling Points

There should be s p s sampling points within each symbol. Assuming that Doppler is approximately constant within a symbol period, these sampling points should be equidistantly distributed. Therefore, the position interval of each sampling point between the nth symbol and the (n + 1)th symbol is
P n = ( P n + 1 P n ) / s p s = 1 / λ n
The location of each sampling point is:
P n , i = P n + i P n = P n + i / λ n , i = 1 , 2 , , s p s
After that, we can get the values of all sampling points again according to P n , i . For n = 1 , the position of the first symbol is P 1 = 1 .

3.5.2. Interpolation Algorithm

The interpolation method of CB-Gardner uses the four-point Lagrange cubic interpolation method with Farrow structure [33]. Once the positions of the error detection points ( p y , n ) and each sampling point ( P n , i ) are obtained, an interpolation algorithm is applied to resample them and obtain their true values without the influence of Doppler. For any resampling position P = m + u , where m is the integer part of P and u is the fractional part of P , let s be the received original passband signal, the interpolated value after resampling according to P is
y in = X T B T U
where X consists of four sampling points in s :
X = s ( m + 2 ) s ( m + 1 ) s ( m ) s ( m 1 )
B is the Farrow cubic interpolation structure matrix:
B = 0 0 1 0 1 6 1 1 2 1 3 0 1 2 1 1 2 1 6 1 2 1 2 1 6
and U is the matrix determined by u :
U = 1 u u 2 u 3
The resampling value for the sampling point location P n , i is y in _ n , i , and the combination of y in _ n , i forms the final passband signal s C B after Doppler elimination, i.e.,
s C B [ ( n 1 ) s p s + i ] = y in _ n , i   ,   n = 1 , 2 , ; i = 1 , 2 , , s p s
and s C B ( 1 ) = s ( 1 ) . The algorithm terminates when the number of symbols ( n ) in a packet reaches its maximum value ( N ). In the subsequent demodulation process, we only need to perform down-conversion, matched filtering, and equalization operations on s C B to decode the transmitted symbols x .
Algorithm 1 summarizes the proposed CB-Gardner algorithm.
Algorithm 1: CB-Gardner algorithm.
 1: s , s p s , N
 2: Initialization of λ 0 = 1 , P 1 = 1 , η 1 = 1 , s C B ( 1 ) = s ( 1 ) ;
 3: for n = 1 : N
 4: Step 1: Finding detection points
 5:   getting p y 1 , n , p y 2 , n , p y 3 , n
 6:   interpolating to get y 1 , y 2 , y 3
 7: Step 2: Timing Error detection
 8:    e r r n = y 2 ( y 1 y 3 )   or   e r r n = y 2 ( y 3 y 1 )
 9: Step 3: Loop filter
 10:   E L F , n = c 1 e r r n + c 2 i = 1 n e r r n
 11: Step 4: Numerically controlled oscillator
 12:   W n = 1 / s p s E L F , n
 13:   P n + 1 = int ( P n ) + 1 + η n / W n
 14:   η n + 1 = η n [ int ( η n / W n ) + 1 ] W n + 1
 15:   λ n = s p s / ( P n + 1 P n )
 16: Step 5: Calculating s C B
 17:   for i = 1 : s p s
 18:     P n , i = P n + i / λ n
 19:    interpolating to get y in _ n , i
 20:     s C B [ ( n 1 ) s p s + i ] = y in _ n , i
 21:   end for
 22: end for

4. Simulation

To evaluate the effectiveness of the CB-Gardner algorithm, a simulation was performed using Matlab R2017b. The transmitted signal was a BPSK single-carrier signal that passed through an additive white Gaussian noise (AWGN) channel and had artificially Doppler added to simulate the signal distortion caused by the Doppler effect and local crystal frequency offset. In our method, the received signal was processed by the CB-Gardner algorithm, after which the output signal underwent down-conversion and matched filtering. The method differed from the traditional Gardner method where these two procedures were inverted. Finally, equalization was performed, and the bit error rate (BER) was calculated. The transmitted signal consisted of both pilot and data. The pilot was an m-sequence of length 511, and the data consisted of N symbols, with both the pilot and data modulated with BPSK.
For the Gardner algorithm, the receiver needs to perform CFO estimation and compensation before applying the Gardner algorithm. The CFO estimation method used in this paper is as follows: assume that the maximum CFO is ± f m a x , all frequency offsets between f c f m a x and f c + f m a x are traversed with an interval of f d , and then frequency compensation is performed. After that, the m-sequence part of the received signal is correlated with the local m-sequence signal, and the CFO is estimated as the frequency offset resulting in the maximum correlation peak. When the CB-Gardner is used, the passband signal is directly fed into it, and the receiver-side process is much simpler because CB-Gardner eliminates both the frequency offset and the sampling bias.
Although the carrier signal is not affected by multipaths in the AWGN channel, residual frequency offset still exists when using the Gardner algorithm due to the inaccuracy of the estimated CFO, which can lead to an increasing phase shift of the symbols. The phase-locked loop of the equalizer is utilized to eliminate the residual phase distortion of the symbols. Therefore, it is necessary to use an equalization method when implementing the Gardner algorithm. For the sake of fairness, the CB-Gardener also employs equalization, which uses a decision-feedback equalizer based on root recursive least squares [34].
Since the CB-Gardner requires multiple sampling points in each carrier cycle of the carrier signal for error detection, this method is suitable for medium-wave communication scenarios with relatively low frequencies. To simulate the medium-wave communication system at sea, the simulation parameters were set as follows: the number of symbols N is 10,000, the sampling rate F s is 2.4 MHz, the symbol rate F b is 100 k, the carrier frequency f c is 0.4 MHz, the roll-off factor of the forming filter α is 0.2, the filter length is 40, and the feedforward and feedback filter lengths of the equalizer are 5 and 4. The number of simulations is set to 4000. The added frequency offset is measured in P P M (parts per million), i.e.,
P P M 10 6 = δ = f / f c
First, we set the SNR of the passband signal to 25 dB and varied the PPM from −32,000 to 32,000 with an interval of 4000. Figure 8 shows the simulated BER variation curves for different PPM when using the Gardner algorithm and the CB-Gardner algorithm. As shown in the figure, the BER is almost 0.5 when PPM ≥ 8000 or PPM ≤ −12,000 when using the Gardner algorithm, indicating that the communication system cannot work at all. For the CB-Gardner, however, the communication system fails when PPM ≥ 28,000 or PPM ≤ −32000. Therefore, the CB-Gardner can resist a maximum PPM of about ± 28,000 , which is much larger than the corresponding ± 8000 value for the Gardner. For the Gardner algorithm, its BER is much less than 10−4 when −8000 ≤ PPM ≤ 4000. Correspondingly, the BER for the CB-Gardner is much less than 10−4 when −28,000 ≤ PPM ≤ 20,000. The use of the CB-Gardner significantly enhanced the ability of the communication system against Doppler.
Based on Figure 8, it can be seen that the BER of the system experiences a sharp increase when the PPM exceeds a certain value, irrespective of whether the Gardner or CB-Gardner algorithm is employed. The result indicates that the stability of the communication system undergoes an abrupt change instead of a smooth change as the PPM increases. Additionally, the results showed that the system can resist a greater Doppler when PPM < 0 in comparison with PPM > 0 for both Gardner and CB-Gardner algorithm. This could be attributed to the smaller jitter of the Doppler factor estimated by the NCO of the algorithm when PPM < 0, with the current loop filter parameters used in the simulation.
We conducted further simulations to verify the performance of CB-Gardner on SNR. The PPM was set as −2000, and the SNR of the passband signal ranged from −10 dB to 50 dB with an interval of 5 dB. Figure 9 shows the BER variation curves for different SNRs when using the Gardner and CB-Gardner algorithms for BPSK- and QPSK-modulated signals. Figure 9 demonstrates that the BER using the Gardner algorithm for BPSK signals is less than 10−6 when SNR > 10 dB. In contrast, when using CB-Gardner, the BER for BPSK signals is less than 10−6 when SNR 20 dB. However, for QPSK signals, the BER remains greater than 10−2 when SNR 50 dB. The simulation results indicate that CB-Gardner is currently only suitable for BPSK signals, and the required SNR is less than 10 dB larger than that of the Gardner. This is because the error-detection points of the Gardner algorithm are located in the symbol envelope, whereas the error-detection point of the CB-Gardner algorithm are located within one carrier cycle. As a result, it can be inferred that the error detection in the CB-Gardner is more susceptible to noise than that of the Gardner. Although the error-detection equation (12) of the CB-Gardner can theoretically be used for QPSK, the BER is relatively high. Thus, the CB-Gardner is currently less applicable to QPSK signals.

5. Discussion

The CB-Gardner algorithm proposed in this paper opens up several avenues for future research and discussion, as described below.
(1) In this paper, the first sampling point was set as the exact first symbol instant. However, in a practical communication system, it is challenging to locate the first symbol instant with such precision. One potential solution is to use pilot signals to detect the arrival time of the signal;
(2) CB-Gardner requires knowledge of the phase of each symbol instant to locate the error-detection point. However, in a multipath environment, the phase of the symbol instant may be random, making it impossible for the algorithm to locate the error-detection point. Although we have explored alternative methods to estimate phase, they also eliminate the phase variation caused by Doppler, leading to error-detection failure. Therefore, CB-Gardner is currently unsuitable for multipath environments, especially complex underwater acoustic environments, but it may be useful in wireless communication with fewer channel taps;
(3) In our simulations, CB-Gardner had a high BER for QPSK modulated signals. Several factors may have contributed to this result. First, the phase variations in QPSK are more diverse, resulting in a waveform at the symbol instant that is less like a cosine waveform. Second, the error detection Equation (12) may fail, causing the localized symbol instant to drift. Third, the constellations of the QPSK signal are relatively dense and require a higher SNR. These factors can increase the self-jitter of error detection, resulting in a higher BER.

6. Conclusions

The Gardner algorithm and various improved algorithms are based on baseband signals for error detection. In this paper, we proposed an improved Gardner algorithm applied to the carrier signals based on the similarity between the carrier signal and the baseband symbols in the waveform. Compared to the Gardner algorithm, the CB-Gardner algorithm redefined the position of the error detection point, improved the error-detection equation, simplified the working process of the NCO, and resampled all passband sampling points using an interpolator. The improved algorithm performed error detection directly on the passband while eliminating the frequency offset and sampling-point bias caused by Doppler; thus, the estimation and compensation of CFO at the receiver side are no longer required, simplifying the processing flow. The error detection remained valid when adjacent symbols were the same, reducing the self-noise to a certain extent. CB-Gardner retains the real-time iterative property of the Gardner algorithm and can resist time-varying Doppler.
The CB-Gardner algorithm was primarily designed for single-carrier BPSK signals under AWGN channels, particularly for wireless communication systems located in the medium-wave band, making it suitable for maritime wireless communication. Simulations showed that the performance of CB-Gardner against Doppler is about three times better than that of the Gardner algorithm. However, CB-Gardner requires a higher SNR for the system. The main improvement direction for CB-Gardner may be to continue reducing self-noise, making it suitable for QPSK and other modulation systems.

Author Contributions

Conceptualization, F.Q.; methodology, F.Q., Z.L. and X.T.; software, Z.L. and M.Z.; validation, F.Q., Z.L. and M.Z.; formal analysis, F.Q., Z.L. and M.Z.; investigation, Z.L.; resources, F.Q., X.T. and Y.W.; data curation, Z.L.; writing—original draft preparation, F.Q. and Z.L.; writing—review and editing, X.T. and M.Z.; visualization, Z.L. and X.T.; supervision, F.Q. and Y.W.; project administration, Y.W.; funding acquisition, F.Q., Y.W. and X.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Science Fund for Distinguished Young Scholars under Grant 62225114 and in part by the National Natural Science Foundation of China under Grant 62171405 and Grant 62101489.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Code for data analysis is available on request from the authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mengali, U. Synchronization Techniques for Digital Receivers; Springer Science & Business Media: Berlin, Germany, 1997. [Google Scholar]
  2. Meyr, H.; Moeneclaey, M.; Fechtel, S.A. Digital Communication Receivers: Synchronization, Channel Estimation, and Signal Processing; Wiley Online Library: New York, NY, USA, 1998; Volume 444. [Google Scholar]
  3. Louveaux, J.; Vandendorpe, L.; Cuvelier, L.; Pollet, T. An early-late timing recovery scheme for filter-bank-based multicarrier transmission. IEEE Trans. Commun. 2000, 48, 1746–1754. [Google Scholar] [CrossRef]
  4. Mueller, K.; Muller, M. Timing recovery in digital synchronous data receivers. IEEE Trans. Commun. 1976, 24, 516–531. [Google Scholar] [CrossRef]
  5. Classen, F.; Meyr, H.; Sehier, P. Maximum likelihood open loop carrier synchronizer for digital radio. In Proceedings of the Proceedings of ICC’93-IEEE International Conference on Communications, Geneva, Switzerland, 23–26 May 1993; pp. 493–497. [Google Scholar]
  6. Suzuki, T.; Takatori, H.; Ogawa, M.; Tomooka, K. Line equalizer for a digital subscriber loop employing switched capacitor technology. IEEE Trans. Commun. 1982, 30, 2074–2082. [Google Scholar] [CrossRef]
  7. Gardner, F. A BPSK/QPSK timing-error detector for sampled receivers. IEEE Trans. Commun. 1986, 34, 423–429. [Google Scholar] [CrossRef]
  8. D’Andrea, A.N.; Luise, M. Optimization of symbol timing recovery for QAM data demodulators. IEEE Trans. Commun. 1996, 44, 399–406. [Google Scholar] [CrossRef] [Green Version]
  9. Leng, W.; Zhang, Y.; Yang, Z. A modified gardner detector for multilevel PAM/QAM system. In Proceedings of the 2008 International Conference on Communications, Circuits and Systems, Fujian, China, 25–27 May 2008; pp. 891–895. [Google Scholar]
  10. Chen, Q.; Li, M. Modified gardner algorithm for bit synchronization in high-order QAM system. In Proceedings of the 2013 International Conference on Computational Problem-Solving (ICCP), Jiuzhai, China, 26–28 October 2013; pp. 427–432. [Google Scholar]
  11. Lim, D. A modified Gardner detector for symbol timing recovery of M-PSK signals. IEEE Trans. Commun. 2004, 52, 1643–1647. [Google Scholar] [CrossRef]
  12. Zhao, H.; Gong, Y. Demodulation of 8PSK Signal with Gardner Bit Synchronization Using FPGA. In Proceedings of the Communications, Signal Processing, and Systems: Proceedings of the 2017 International Conference on Communications, Signal Processing, and Systems, Harbin, China, 14–17 July 2017; pp. 661–668. [Google Scholar]
  13. Azam, M.; Akram, E.; Ahmad, J.; Shah, I. An improved, non-data aided symbol timing recovery for GMSK modulated signals. In Proceedings of the 7th International Multi Topic Conference—INMIC 2003, Islamabad, Pakistan, 8–9 December 2003; pp. 107–111. [Google Scholar]
  14. Hu, H.; Zhang, C.; Li, Y.; Jia, W. Demodulation of continuous phase 2FSK signal with Gardner synchronization. In Proceedings of the 2016 6th International Conference on Electronics Information and Emergency Communication (ICEIEC), Beijing, China, 17–19 June 2016; pp. 228–231. [Google Scholar]
  15. Hua, J.; Zhou, L.; Chen, C.; Jiang, L. Synchronization for QDPSK—Costas loop and Gardner algorithm using FPGAs. In Proceedings of the 2014 IEEE/ACIS 13th International Conference on Computer and Information Science (ICIS), Taiyuan, China, 4–6 June 2014; pp. 27–31. [Google Scholar]
  16. Bazdresch, M.; Al-Hamiri, M. Symbol synchronization of the Alamouti space-time block code with the Gardner algorithm. In Proceedings of the 2017 8th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, Canada, 3–5 October 2017; pp. 635–639. [Google Scholar]
  17. D’Andrea, N.A.; Luise, M. Design and analysis of a jitter-free clock recovery scheme for QAM systems. IEEE Trans. Commun. 1993, 41, 1296–1299. [Google Scholar] [CrossRef]
  18. Ogmundson, P.G.; Driessen, P.F. Zero-crossing DPLL bit synchronizer with pattern jitter compensation. IEEE Trans. Commun. 1991, 39, 603–612. [Google Scholar] [CrossRef]
  19. Lankl, B.; Sebald, G. Jitter-reduced digital timing recovery for multilevel PAM and QAM systems. In Proceedings of the Proceedings of ICC’93-IEEE International Conference on Communications, Geneva, Switzerland, 23–26 May 1993; pp. 804–810. [Google Scholar]
  20. Gappmair, W.; Cioni, S.; Corazza, G.E.; Koudelka, O. Extended Gardner Detector for Improved Symbol-Timing Recovery of M-PSK Signals. IEEE Trans. Commun. 2006, 54, 1923–1927. [Google Scholar] [CrossRef]
  21. Stojanović, N.; Xie, C.; Zhao, Y.; Mao, B.; Gonzalez, N.G.; Qi, J. Modified Gardner phase detector for Nyquist coherent optical transmission systems. In Proceedings of the 2013 Optical Fiber Communication Conference and Exposition and the National Fiber Optic Engineers Conference (OFC/NFOEC), Anaheim, CA, USA, 17–21 March 2013; pp. 1–3. [Google Scholar]
  22. Gappmair, W. Self-noise performance of zero-crossing and Gardner synchronisers applied to one/two-dimensional modulation schemes. Electron. Lett. 2004, 40, 1–2. [Google Scholar] [CrossRef]
  23. Yu, Q.; Huang, Z.; Ba, J. An Improved Gardner Feedback Timing Synchronization Loop. In Proceedings of the 2022 10th International Conference on Intelligent Computing and Wireless Optical Communications (ICWOC), Chongqing, China, 10–12 June 2022; pp. 63–67. [Google Scholar]
  24. Yang, D.; Yan, C.; Wang, H.; Kuang, J.; Wu, N. Extension to Gardner timing error detector for QPSK signals. In Proceedings of the 2010 International Conference on Wireless Communications & Signal Processing (WCSP), Suzhou, China, 21–23 October 2010; pp. 1–5. [Google Scholar]
  25. Zhu, J.; Jiang, Y.; Zhao, K.; Ma, P. An Improved Timing Recovery Method Based on Gardner Algorithm. In Proceedings of the 8th International Symposium on Test Automation & Instrumentation (ISTAI 2020), Online, 28–29 November 2020; pp. 1–5. [Google Scholar]
  26. Barton, S.; Al-Jalili, Y. A symbol timing recovery scheme based on spectral redundancy. In Proceedings of the IEE Colloquium on Advanced Modulation and Coding Techniques for Satellite Communications, London, UK, 27 January 1992; pp. 3/1–3/6. [Google Scholar]
  27. Luan, M.; Zhu, H.; Li, M. High-Speed Frequency Domain Bit Synchronization Algorithm for Parallel Implementation. In Proceedings of the 2018 10th International Conference on Communication Software and Networks (ICCSN), Chengdu, China, 6–9 July 2018; pp. 479–483. [Google Scholar]
  28. Hu, J.; Zhu, L.; Wang, J. The Implementation of High Speed Parallel Timing Synchronization Algorithm Based on FPGA. In Proceedings of the 2018 10th International Conference on Communication Software and Networks (ICCSN), Chengdu, China, 6–9 July 2018; pp. 484–487. [Google Scholar]
  29. Barletta, L.; Magarini, M.; Scardoni, F.; Spalvieri, A. Impact of loop delay on the performance of Gardner timing recovery. IEEE Photonics Technol. Lett. 2013, 25, 1797–1800. [Google Scholar] [CrossRef]
  30. Gappmair, W. Open-loop analysis of a nonlinearly modified Gardner synchronizer. IEEE Commun. Lett. 2014, 18, 1963–1966. [Google Scholar] [CrossRef]
  31. Dorize, C.; Ghazisaeidi, A.; Renaudier, J.; Charlet, G. Performance analysis of nonlinear and gardner timing error detectors with frequency selective pulse shaping. In Proceedings of the 2015 European Conference on Optical Communication (ECOC), Valencia, Spain, 27 September–1 October 2015; pp. 1–3. [Google Scholar]
  32. Gardner, F.M. Interpolation in digital modems. I. Fundamentals. IEEE Trans. Commun. 1993, 41, 501–507. [Google Scholar] [CrossRef]
  33. Erup, L.; Gardner, F.M.; Harris, R.A. Interpolation in digital modems. II. Implementation and performance. IEEE Trans. Commun. 1993, 41, 998–1008. [Google Scholar] [CrossRef]
  34. Hsu, F. Square root Kalman filtering for high-speed data received over fading dispersive HF channels. IEEE Trans. Inf. Theory 1982, 28, 753–763. [Google Scholar] [CrossRef]
Figure 1. The structure of Gardner algorithm.
Figure 1. The structure of Gardner algorithm.
Jmse 11 00829 g001
Figure 2. Timing error detection schematic of Gardner algorithm.
Figure 2. Timing error detection schematic of Gardner algorithm.
Jmse 11 00829 g002
Figure 3. The structure of carrier-based Gardner algorithm.
Figure 3. The structure of carrier-based Gardner algorithm.
Jmse 11 00829 g003
Figure 4. The positions of three detection points ( y 1 , y 2 , y 3 ) in CB-Gardner.
Figure 4. The positions of three detection points ( y 1 , y 2 , y 3 ) in CB-Gardner.
Jmse 11 00829 g004
Figure 5. The positions of three actual detection points ( y 1 , y 2 , y 3 ), when λ < 1 , φ y 1 = 0 .
Figure 5. The positions of three actual detection points ( y 1 , y 2 , y 3 ), when λ < 1 , φ y 1 = 0 .
Jmse 11 00829 g005
Figure 6. The positions of three actual detection points ( y 1 , y 2 , y 3 ), when λ < 1 , φ y 1 = π / 2 .
Figure 6. The positions of three actual detection points ( y 1 , y 2 , y 3 ), when λ < 1 , φ y 1 = π / 2 .
Jmse 11 00829 g006
Figure 7. The flowchart of NCO in CB-Gardner.
Figure 7. The flowchart of NCO in CB-Gardner.
Jmse 11 00829 g007
Figure 8. BER for different PPM with Gardner and CB-Gardner algorithm, SNR = 25 dB.
Figure 8. BER for different PPM with Gardner and CB-Gardner algorithm, SNR = 25 dB.
Jmse 11 00829 g008
Figure 9. BER for different SNRs with Gardner and CB-Gardner algorithms.
Figure 9. BER for different SNRs with Gardner and CB-Gardner algorithms.
Jmse 11 00829 g009
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

Qu, F.; Li, Z.; Zhang, M.; Tu, X.; Wei, Y. A Carrier-Based Gardner Timing Synchronization Algorithm for BPSK Signal in Maritime Communication. J. Mar. Sci. Eng. 2023, 11, 829. https://doi.org/10.3390/jmse11040829

AMA Style

Qu F, Li Z, Zhang M, Tu X, Wei Y. A Carrier-Based Gardner Timing Synchronization Algorithm for BPSK Signal in Maritime Communication. Journal of Marine Science and Engineering. 2023; 11(4):829. https://doi.org/10.3390/jmse11040829

Chicago/Turabian Style

Qu, Fengzhong, Zhengchao Li, Minhao Zhang, Xingbin Tu, and Yan Wei. 2023. "A Carrier-Based Gardner Timing Synchronization Algorithm for BPSK Signal in Maritime Communication" Journal of Marine Science and Engineering 11, no. 4: 829. https://doi.org/10.3390/jmse11040829

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