Next Article in Journal
In Situ Response Time Measurement of RTD Based on LCSR Method
Previous Article in Journal
Vision-Based 6D Pose Analytics Solution for High-Precision Industrial Robot Pick-and-Place Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Stage Time-Domain Equalization Method for Mitigating Nonlinear Distortion in Single-Carrier THz Communication Systems

1
Key Laboratory of Terahertz Optoelectronics, Ministry of Education, Beijing 100048, China
2
Beijing Key Laboratory for Terahertz Spectroscopy and Imaging, Beijing 100048, China
3
Beijing Advanced Innovation Center for Imaging Theory and Technology, Beijing 100048, China
4
Department of Physics, Capital Normal University, Beijing 100048, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(15), 4825; https://doi.org/10.3390/s25154825
Submission received: 9 June 2025 / Revised: 28 July 2025 / Accepted: 31 July 2025 / Published: 6 August 2025
(This article belongs to the Section Communications)

Abstract

Terahertz (THz) communication is regarded as a key technology for achieving high-speed data transmission and wireless communication due to its ultra-high frequency and large bandwidth characteristics. In this study, we focus on a single-carrier THz communication system and propose a two-stage deep learning-based time-domain equalization method, specifically designed to mitigate the nonlinear distortions in such systems, thereby enhancing communication reliability and performance. The method adopts a progressive learning strategy, whereby global characteristics are initially captured before progressing to local levels. This enables the effective identification and equalization of channel characteristics, particularly in the mitigation of nonlinear distortion and random interference, which can otherwise negatively impact communication quality. In an experimental setting at a frequency of 230 GHz and a channel distance of 2.1 m, this method demonstrated a substantial reduction in the system’s bit error rate (BER), exhibiting particularly noteworthy performance enhancements in comparison to before equalization. To validate the model’s generalization capability, data collection and testing were also conducted at a frequency of 310 GHz and a channel distance of 1.5 m. Experimental results show that the proposed time-domain equalizer, trained using the two-stage DL framework, achieved significant BER reductions of approximately 92.15% at 230 GHz (2.1 m) and 83.33% at 310 GHz (1.5 m), compared to the system’s performance prior to equalization. The method exhibits stable performance under varying conditions, supporting its use in future THz communication studies.

1. Introduction

Terahertz communications have attracted widespread attention in recent years due to their ultra-high frequency and extremely wide bandwidth [1]. Typically operating in the frequency range of 0.1 to 10 THz, THz systems offer abundant spectrum resources, theoretically enabling transmission rates of hundreds of Gbps to Tbps. Thus, THz communication is considered a key enabler for next-generation wireless systems [2]. However, severe free-space path loss and strong molecular absorption—particularly by water vapor and oxygen—lead to rapid signal attenuation [3,4,5,6,7,8]. Additionally, multipath fading and the non-ideal behaviors of high-speed front-end components such as amplifiers, mixers, and antennas introduce significant nonlinear distortion and phase noise [9,10,11,12]. These impairments result in highly distorted and complex channel responses, drastically degrading system performance [13,14,15]. Therefore, a powerful equalization technique is critical for reliable THz communications [16].
Conventional channel equalization methods struggle to cope with these challenges. Linear equalizers such as minimum mean square error (MMSE) offer low complexity but fall short in addressing nonlinear impairments such as amplifier saturation and frequency-dependent phase distortion [17]. Nonlinear compensation techniques, such as digital predistortion (DPD), often rely on forward modeling and adaptive feedback, but are difficult to implement efficiently in THz systems due to hardware constraints and rapidly varying channel dynamics [18]. In recent years, with the increasing application of DL in physical-layer communications, many researchers have proposed deep neural network (DNN)-based equalization methods to overcome the limitations of traditional algorithms in modeling accuracy and nonlinear processing [19,20,21,22,23]. Leveraging the powerful fitting capability of DL, DNNs have become a promising solution for THz systems [24,25,26]. Some recent studies have applied DNN-based equalizers to address nonlinear issues in THz links. For instance, Wang et al. proposed a time–frequency domain equalizer (TFDE) based on a 2D convolutional neural network (Conv2D) to mitigate linear and nonlinear impairments in RoF-OFDM systems [27]. Shi et al. introduced an end-to-end waveform-to-waveform auto equalization framework (W2WAEF) to address similar challenges in seamlessly integrated fiber–THz communication systems [28].
In this work, a two-stage DL equalization method for single-carrier signals in the time-domain is proposed to effectively solve the serious nonlinear distortion problem in terahertz systems. The method hierarchically models the time-domain features of the received signal and realizes the joint compensation of multi-scale nonlinear effects. Specifically, in the first stage, the transmitted and received signals are upsampled to enable high temporal resolution, supporting global feature modeling in the first stage; then, they are downsampled in the second stage to focus on the compact refinement of residual distortion. To the best of our knowledge, this is the first time that this “coarse-to-fine” advanced learning strategy is systematically introduced into the equalization framework in a single-carrier terahertz communication system through explicit resolution control (up/downsampling) and stage division. Two DNN models are cascaded to form a complete equalizer to gradually suppress the nonlinearity in the received signal. Compared with the single-stage time-domain equalizer, the proposed two-stage scheme has an increased computational complexity, but significantly improves the processing capability, especially for effectively compensating for the severe nonlinear distortion that is difficult to handle with the single-stage model. Both simulation and measured results show that this scheme significantly reduces the system BER, demonstrates excellent nonlinear distortion suppression capability and enhanced system robustness, and provides an effective new approach to solving the equalization problem under complex channel conditions in terahertz communications.

2. Two-Stage Time-Domain Equalization Method

As shown in Figure 1, the DL-based two-stage time-domain equalization structure proposed in this study consists of three main components: the THz wireless communication system, the DL-based two-stage time-domain equalization module, and the equalization model validation module.

2.1. THz Wireless Communication System

In the THz wireless communication system, a pseudo-random bit sequence is first encoded using low-density parity-check (LDPC) coding and modulated using quadrature phase-shift keying (QPSK). The resulting symbols are then mapped to baseband In-phase and Quadrature (I/Q) signals via a field-programmable gate array (FPGA) and a digital-to-analog converter (DAC). Subsequently, the baseband signal is upconverted to the target carrier frequency through a radio frequency (RF) chain for transmission. At the receiver side, the signal is first downconverted to an intermediate frequency (IF) using a downconversion module, amplified by an intermediate-frequency low-noise amplifier (LNA), and further downconverted to baseband. The baseband signal is then digitized using an analog-to-digital converter (ADC) and processed by an FPGA. Frame synchronization is performed to extract valid segments for DL. After synchronization, the signal is fed into the proposed two-stage DL-based equalization module. Due to the highly directional nature and narrow beamwidth of THz signals, and given that the experiments are conducted under short-range line-of-sight (LOS) conditions, the effect of multipath interference is considered negligible [29,30,31,32]. It is also important to note that the selected channel is far from molecular resonance absorption frequencies, and the communication distance is relatively short [33,34,35]; thus, in this study, the dominant source of nonlinearity is attributed to the THz hardware itself.

2.2. Long Short-Term Memory

In our proposed two-stage time-domain equalization module, we use an LSTM network to deal with nonlinear noise and other distortions in terahertz communication systems. LSTM networks have been widely used in time series processing research, and their excellent performance has been fully verified and recognized.
Figure 2 illustrates the structure of the LSTM. As shown in the figure, at time step n, the LSTM module consists of an input vector x n , current cell state C n , candidate cell state C ˜ n , hidden state h n , and the forget gate f n , input gate i n , and output gate o n . The core working mechanism of the LSTM is to forget irrelevant information while retaining useful information. At each time step, the hidden state h n is output. During the establishment of the two-stage time-domain equalization model, the input sequence X = { x 1 , , x N } produces the output sequence H = { h 1 , , h N } through the following equations and is processed iteratively.
Forget gate:
f n = σ ( W f · [ h n 1 , x n ] + b f ) .
Memory gate:
i n = σ ( W i · [ h n 1 , x n ] + b i ) .
Temporary state of the cell:
C ˜ n = tanh ( W c · [ h n 1 , x n ] + b c ) .
Current state of the cell:
C n = f n C n 1 + i n C ˜ n .
Output gate:
o n = σ ( W o · [ h n 1 , x n ] + b o ) .
State of hidden layer:
h n = o n tanh ( C n ) .
Here, W represents the weight matrix, b denotes the bias vector, and σ is the sigmoid activation function. h n 1 and C n 1 are the hidden state and cell state from the previous time step n 1 , while h n and C n are the newly generated states at the current time step, which will be passed on to the next time step n + 1 . Therefore, LSTM not only accumulates information over a long period but also has the ability to reset old states through the forget gate, allowing it to restart the accumulation of information when needed.
It should be noted that although we used an LSTM network to solve the nonlinear noise problem in terahertz communication systems in this study, the choice of network architecture is not the focus of this paper. The reason for choosing LSTM is that it performs well in most time series tasks [36,37,38,39,40,41,42]. We use the network model as a tool to address the distortion problem in terahertz communication systems. The innovation of this paper lies in the two-stage time-domain equalization training strategy, so this paper will not discuss the choice of network architecture in detail.

2.3. Two-Stage Time-Domain Equalization Method

As shown in Figure 1, the proposed two-stage DL equalizer employs a global–local cooperative strategy to model and compensate for nonlinear distortion in THz communication systems. Figure 1a illustrates the process of data acquisition and construction. The system collects two datasets: training data and validation data. These two sets differ in frequency and transmission distance, and are used to evaluate the robustness and generalization ability of the model.
As depicted in Figure 1b, during the training phase, the collected transmit and receive signals are first upsampled and then sequentially processed by two DL modules. The first stage (global equalization module) performs global feature learning enabled by high temporal resolution through upsampling to capture broad nonlinear distortions. Its output is then downsampled and fed into the second stage (local equalization module) for localized residual compensation after downsampling. After training, two independent equalizer models are obtained: the global and the local equalizers.
As shown in Figure 1c, during the testing phase, the trained models are cascaded to form a complete equalization structure. The validation data are first upsampled and then passed through the global and local equalization modules sequentially to produce the final equalized signal. The BER is measured to evaluate model robustness under varying communication conditions.
In the global equalization module, signal upsampling enhances temporal resolution, allowing the DL model to capture nonlinear features caused by hardware impairments and complex channel effects. Then, global channel feature learning is performed at this scale.
The output of the global module is then downsampled and processed by a local equalization module to further compensate the signal locally. To maintain low implementation complexity while ensuring temporal awareness, the second stage also adopts an LSTM-based architecture. It is worth emphasizing that the two-stage framework itself is highly flexible, allowing different network structures to be selected for each stage as long as the desired balance effect can be achieved. Although heterogeneous combinations such as “LSTM in the first stage and CNNs in the second stage” can be adopted, we still choose to use LSTM in both stages, mainly for the consideration of unified structural design to avoid the additional design and parameter tuning complexity brought about by the hybrid architecture. By applying targeted residual corrections before decision-making, the local equalizer further improves overall equalization accuracy.
To assess the generalization capability of the proposed equalization architecture, testing data are collected under varying carrier frequencies and LOS distances by adjusting the operating conditions of the THz system. BER comparisons before and after equalization confirm that the two-stage equalizer achieves strong adaptability and robustness across different channel conditions.

2.4. Up/Downsampling Method

In this study, we adopted linear interpolation-based upsampling and downsampling methods to control the time resolution of the signal.
In the first-stage equalization, the acquired transmitted and received signals are upsampled before being input into the network for training. The linear interpolation method is employed in the upsampling process. For an original signal x [ n ] , upsampling by a factor of L involves two steps: (1) zero insertion, where L 1 zeros are inserted between each pair of adjacent samples; and (2) linear estimation of the intermediate values. The interpolated signal is given by the following formula:
x up [ k ] = x [ n ] + k mod L L · ( x [ n + 1 ] x [ n ] ) , where k = n L + i , i = 0 , 1 , , L 1 .
Here, x [ n ] and x [ n + 1 ] denote two adjacent original signal samples. The index k refers to the position in the upsampled sequence, while n is the corresponding original index such that k = n L + i . The operator mod returns the remainder when k is divided by the upsampling factor L, and thus, k mod L L represents the relative position between x [ n ] and x [ n + 1 ] . This term acts as a linear interpolation weight. The resulting x up [ k ] is the interpolated value at the k-th position of the upsampled signal.
In the second-stage equalization, the coarse equalized signal output by the first-stage equalization model and the transmission signal are downsampled and then the second-stage equalization training is performed. In order to avoid aliasing and retain the waveform trend, we use linear interpolation to reconstruct the continuous approximation of the upsampled output. The signal is then evaluated at a lower rate position to generate a downsampled sequence.
x down [ m ] = x ( m D )
In this equation, x ( t ) denotes the continuous signal reconstructed from the original discrete sequence via linear interpolation. The index m indicates the position in the downsampled sequence, and D is the downsampling factor. The value x down [ m ] = x ( m D ) is obtained by evaluating the reconstructed signal at intervals of D, thereby producing a lower-resolution version of the original signal while retaining its essential shape.

2.5. Frame Synchronization Using Zadoff–Chu Sequences

In order to achieve accurate frame synchronization, a Zadoff–Chu (ZC) sequence is embedded at the beginning of each transmission frame when the required signal is acquired for the experiment. The ZC sequence has constant amplitude and zero cycle autocorrelation, making it very effective in synchronization tasks in wireless communications.
z [ n ] = exp j π r n ( n + 1 ) N , for N odd exp j π r n 2 N , for N even , 0 n < N
Here, z [ n ] represents the n-th sample of the ZC sequence, N is the sequence length, and r is the root index of the sequence, which must be coprime with N to ensure ideal correlation properties. The exponential term creates a phase progression that results in a constant-modulus complex-valued sequence. The choice between n ( n + 1 ) and n 2 depends on whether N is odd or even.
At the receiver side, we apply a sliding cross-correlation between the incoming signal and the known reference ZC sequence. The frame boundary is identified by the location of the correlation peak, providing precise alignment for subsequent equalization. This synchronization step is implemented in LabVIEW and forms the basis for all downstream processing stages.

2.6. Data Preprocessing

In this study, in order to take advantage of LSTM in time series processing, we combined the concept of shift register in a traditional equalizer and used sliding window to preprocess the collected signal. Similar to the shift register, our sliding step is 1 and the time window length is L. At the same time, in order to ensure that the amount of data after the sliding window remains unchanged and that the subsequences at the boundary can be fully extracted, we used zero padding to pre-fill L 1 zero-value samples at the front-end of the original transmission signal.
This processing method is structurally consistent with the shift register: the generation process of each new sample is equivalent to moving a fixed-length region backward as a whole by one time unit and inserting the new value at the current moment. After this step, the transmission signal is organized into multiple overlapping subsequences, which can be used for subsequent training of the equalization model.
The processed signal is represented as
y = 0 0 0 y 1 0 0 y 1 y 2 y 1 y 2 y L 1 y L y N L + 1 y N L + 2 y N 1 y N
The received signal after data preprocessing corresponds one-to-one with the transmitted signal to form the original dataset. For the two-stage time-domain equalization module, both trainings will go through the data preprocessing part.

2.7. Data Augmentation

To enhance the generalization and noise robustness of the model, we perform data augmentation by introducing low signal-to-noise ratio (SNR) training samples. Specifically, the received signal is passed through a simulated additive white Gaussian noise (AWGN) channel to generate a noisy version with an SNR between 5 dB and 0 dB . These data are then passed through a tanh function to further impose nonlinear effects. The augmented samples are concatenated with the original (high SNR) training data and randomly shuffled to ensure diversity during mini-batch construction. This strategy enables the trained model to better generalize to unknown channel conditions and remain robust under varying degrees of interference.

3. Experiment Setup

3.1. Experimental System Setup

Figure 3 and Figure 4 illustrate the signal flow and the physical layout of the THz wireless communication test platform, respectively. At the transmitter, the upconversion module consists of a frequency multiplier chain (including one frequency doubler and two frequency triplers) and a mixer, both based on Schottky diode technology. The frequency multiplier chain upconverts the local oscillator (LO) signal, with an input power range of 3–6 dBm, to any carrier signal between 220 GHz and 330 GHz. The mixer modulates the upconverted carrier signal with the IF signal carrying the information, which has a maximum input power of −10 dBm, and the double-sideband conversion loss is 10 dB. The maximum output power of the upconversion module is −15 dBm. After generating the terahertz signal, the upconversion module transmits it through a horn antenna with a gain of 20 dBi into the indoor channel.
To generate the local oscillator (LO) signal, the R&S (Rohde & Schwarz, Munich, Germany) SMB100A RF and microwave signal generator (MSG) is used, which can produce highly stable sinusoidal signals in the range of 100 kHz to 40 GHz. The LO signal is then output through a power splitter to the transceiver upconversion module. For generating the intermediate frequency (IF) signal, the PXIe-5841 vector signal transceiver (VST) is employed. This instrument integrates a vector signal generator (RF output path), a vector signal analyzer (RF input path), high-speed serial interfaces, and an FPGA for real-time signal control. The PXIe-5841 combines the flexibility of a software-defined radio (SDR) architecture with the high performance of RF instruments. In this platform, the PXIe-5841 receives baseband I/Q signals from the embedded controller PXIe-8881 through the PXIe bus. These signals are captured by the FPGA and converted via two DAC channels with a maximum sampling rate of 1 GS/s. The signals are then upconverted by the RF output submodule into IF signals with an instantaneous RF bandwidth of up to 1 GHz, covering a range from 125 MHz to 6 GHz.
On the receiving end, the THz signal is downconverted by a downconversion module matching the transmitter’s setup, and the downconverted IF signal is received by the PXIe-5841. The signal is further downconverted to baseband through the corresponding RF input submodule, then collected as baseband I/Q digital signals via two ADC channels and sent to the embedded controller. To further amplify the received signal, a low-noise amplifier (LNA) can be used. Since designing a low-noise amplifier (LNA) with low phase noise (NF) in the high-bandwidth terahertz frequency range is challenging, the platform utilizes an LNA at the IF stage, which operates at a frequency range of 1–6 GHz with a gain of 30 dB.
The baseband digital signal processing in the physical layer is implemented in a software-defined manner on the embedded controller PXIe-8881. At the transmitter, LabVIEW is used to construct user-defined information data into frames, which are processed through constellation mapping, pulse shaping, and other steps to generate baseband I/Q signals. These signals are then sent to the VST via the PXIe backplane. Similarly, at the receiver, LabVIEW is used to perform matched filtering, synchronization, and other processing on the baseband I/Q signals, which are then sent to a Python node as the training dataset for deep learning. The equalization training and equalization processes are conducted offline in Python. This baseband digital signal processing design greatly simplifies the design flow of different signal processing modules and enables a fast transition from simulation to experimentation in baseband digital signal processing.

3.2. Neural Network Architecture and Training Configuration

The proposed two-stage time-domain equalization framework is implemented using a standard LSTM module in PyTorch 2.1.1. No pre-trained weights or external models are used; all networks are trained from scratch using internal experimental data collected from the system described in Section 3.1.
Each equalizer stage uses a four-layer LSTM network with 128 hidden units in each layer, and dropout is applied between layers to improve generalization and prevent overfitting. The input dimension is 2, representing the real and imaginary parts of the received baseband signal; the output dimension is also 2, corresponding to the complex signal components after equalization.
The original dataset (210 GHz/2.1 m) contains 15,000 transmitted symbols, each representing two bits. The data are randomly divided into training, validation, and test sets in a ratio of 7:2:1. In addition, the test set also includes signals acquired at 310 GHz/1.5 m. After applying the data augmentation strategy described in Section 2.7 and the upsampling process described in Section 2.2 to the training set, the total number of training samples increases to approximately 168,000. Each sample consists of a transmitted sequence and a corresponding received waveform sequence that has been expanded according to the sampling factor. The test set and validation set apply the same sampling strategy when used, but no data augmentation is performed. It should be added that in order to compare the two-stage method and the two traditional equalizers more fairly, when we tested the versatility of the two-stage method (that is, using the 310 GHz test set), we retrained the two traditional equalizers because the two models had poor learning ability and versatility. Here, the two equalizers were trained with the same data preprocessing and data enhancement. The purpose is to ensure fairness (the two-stage time-domain equalization method is tested directly without retraining).
All input sequences are normalized and sliding-windowed following the preprocessing procedure described in Section 2.6. Training is supervised, using the transmitted symbols as target labels. For the first-stage equalizer, augmented data are used for training to improve its robustness under low-SNR conditions. For the second-stage equalizer, the model is trained directly on the output of the first-stage equalizer after downsampling, so no data augmentation is required.
Both stages are trained using the Adam optimizer with an initial learning rate of 0.001. A learning rate scheduling mechanism is used during training to allow the learning rate to be automatically adjusted based on the optimization progress. The batch size is set to 64, and a weight decay of 1 × 10 7 is used to apply mild L2 regularization. Although the maximum number of training epochs is set to 100, we use an early stopping strategy with patience set to 10 epochs, monitor the validation set loss to prevent overfitting and reduce unnecessary computation, and adjust the number of training epochs based on the training results. In addition, as shown in Figure 5, through experimental comparison, we selected the number of LSTM units and the sampling factor to achieve a good balance between performance and efficiency. All training is performed on an NVIDIA RTX 3060 GPU with 8 GB of memory. The entire training process is implemented and executed independently by the author without using any pre-training modules or external training assistance. The entire training process is handled offline. Table 1 summarizes the key experimental parameters and configurations used in this study.

4. Experimental Results and Analysis

In order to comprehensively evaluate the performance of the proposed two-stage equalization method, this section analyzes the signal characteristics before and after equalization in detail, and compares them with the traditional LSTM-based equalizer and Volterra nonlinear equalizer to evaluate the effectiveness of the three methods in suppressing nonlinear distortion. The BER of the three methods before and after equalization is shown in Table 2. It should be noted that due to factors such as nonlinearity, the dataset after data augmentation is more complex, so the Volterra equalizer and the traditional LSTM equalizer fail to learn the channel characteristics, so the BER is about 0.5. In the following discussion, we will compare the data before and after data augmentation to illustrate that our method has certain advantages before and after data augmentation, especially the latter; that is, when the nonlinear influence is large, it can still effectively equalize the received sequence. The final Losses of the three methods after data augmentation are Volterra: 0.112; traditional LSTM: 0.064; and two-stage LSTM equalization: 0.019. The Volterra equalizer uses a second-order kernel function commonly used in nonlinear FIR modeling, and its memory length is 15. At the same time, in order to better compare the two-stage time-domain equalization strategy with the traditional LSTM time-domain equalizer, we further evaluate its performance through the BER assisted by the signal waveform diagram and the constellation diagram, thereby qualitatively and quantitatively verifying the proposed method. Since the effect of the Volterra equalizer is similar to the conventional LSTM equalization result, the following discussion only compares the conventional LSTM with the two-stage time-domain equalization strategy.
At the 230 GHz band with an LOS distance of 2.1 m, the received signals acquired after frame synchronization are shown in Figure 6b. Compared to the transmitted signals in Figure 6a, it is evident that the signals have been significantly affected by phase noise and hardware-induced nonlinearities during transmission. The demodulated BER reaches as high as 0.5072, further confirming that severe channel distortions have seriously degraded signal integrity. It is worth noting that, to clearly compare between the raw received signal, the signal processed by a conventional DL-based equalizer, and the signal processed by the proposed two-stage time-domain equalizer, only a portion of the signal waveform is displayed in the time-domain plots.
To highlight the advantages of the proposed method, the received signal is first directly processed by a traditional LSTM-based equalizer with the same architecture as the equalizer used in our model, without any upsampling. After equalization, the BER before and after data enhancement are 0.0022 and 0.4965, respectively. The results after data enhancement are shown in Figure 7a,d. From the time-domain waveform in Figure 7a, it can be seen that the signal amplitude fluctuates around zero. The constellation diagram in Figure 7d further shows that the model fails to learn the nonlinear distortion characteristics of the THz channel and the superimposed data enhancement processing to which the transmitted signal is subjected.
Subsequently, without modifying the LSTM architecture, we upsample the transmitted and received signals and apply the first-stage (global) equalization. The resulting time-domain waveforms are shown in Figure 7b. The waveforms after equalization show improved alignment with the original transmitted sequences in terms of both trend and amplitude. BER analysis indicates that the BER decreases to 0.1816 after the first-stage equalization, demonstrating the effectiveness of upsampling and the global equalizer in enhancing signal quality. However, the downsampled constellation diagram in Figure 7e reveals that while the overall constellation shape shows improved phase and amplitude recovery, some amplitude fluctuations remain. This suggests that although the first-stage equalizer is effective in correcting coarse signal distortions, it is insufficient in compensating for subtle nonlinear noise and residual distortions.
The downsampled signal is subsequently processed by the second-stage (local) equalizer. As shown in Figure 7c,f, the time-domain waveform after the second-stage equalization closely matches that of the transmitted signal, indicating a significant improvement in equalization performance. A comparison of the constellation diagrams before and after the second stage (Figure 7c vs. Figure 7f) reveals that the constellation points become more concentrated after the second-stage equalizer. The BER is further reduced from 0.1816 to 0.0398, demonstrating that the second-stage equalizer successfully compensates for most of the residual distortions and achieves the desired equalization effect. These results confirm that the proposed two-stage time-domain equalization method effectively implements a coarse-to-fine signal processing strategy. In addition, compared to conventional DL-based equalizers, the proposed method shows better adaptability across a wider range of channel conditions.
To further verify the robustness of the model, additional test data were collected at 310 GHz with a 1.5 m LOS channel. To prevent the two-stage model from memorizing training sequences rather than learning nonlinear channel characteristics, the new data were LDPC-encoded using an irregular parity-check matrix during transmission. The BER of the original, unprocessed signal is 0.012. After the first stage of equalization, the BER drops to 0.004, though slight distortions remain. Following the second stage of equalization, the BER is further reduced to 0.002, and the constellation points appear more concentrated, indicating improved signal quality. These results confirm that the two-stage equalizer can effectively enhance signal transmission under various frequencies and distances in complex THz channels.
Finally, we analyze three equalization methods that directly equalize the original collected signals without data enhancement processing. In the 230 GHz/2.1 m channel environment, the BER after Volterra equalization is 0.01104, the BER after traditional LSTM equalization is 0.0022, the BER after one-stage equalization of our method is 0.0013, and the BER after two-stage equalization is 0.0002. The problem reflected by such a BER is that only for the signals we actually collected, the two equalizers except for our method can show a relatively good effect, but the two-stage time-domain equalization method can still reduce the BER obtained by these two methods by one order of magnitude in the end. Combined with the signal equalization results after our data enhancement processing, we believe that our method can obtain slightly better results than the other two equalizers when the degree of channel nonlinearity is generally affected. When facing more complex nonlinearity and low SNR, our method can significantly lead the other two equalizers. Of course, this is the result obtained by sacrificing complexity. In the next section, we will discuss the impact of complexity on our method and the possibility of actual deployment.
In summary, the proposed two-stage time-domain equalization method mitigates signal distortion progressively, thereby improving transmission quality and reducing BER. This provides a feasible solution for signal equalization in THz communication systems, particularly in scenarios involving severe nonlinearity and signal attenuation. The proposed strategy demonstrates strong potential for future high-speed wireless communication systems.

Complexity Analysis and Discussion

In this section, to evaluate the computational complexity of the proposed two-stage time-domain equalization framework, we use the analytical formula introduced in [43], which contains three indicators: the number of real-valued multiplications (RMs), the number of bit-level operations (BOPs), and the number of additions and bit shifts (NABSs) during inference. The calculation results are shown in Table 3.
The RM can be calculated as follows:
RM LSTM = n s n h ( 4 n i + 4 n h + 3 )
Here, n s denotes the sequence length (i.e., the number of time steps), n h denotes the number of hidden units per layer, and n i represents the input vector dimension. Compared to the notation used in Table 2, the notations n s , n h , and n i in this section correspond to T, L, and input feature dimensions, respectively. In the expression n s n h ( 4 n i + 4 n h + 3 ) , the three terms inside the parentheses represent the computational contributions from different parts of the LSTM cell: 4 n i corresponds to the input-to-hidden multiplications across four gates, 4 n h accounts for the hidden-to-hidden multiplications involving recurrent weights, and the constant 3 approximates the number of element-wise multiplications required by activation functions such as sigmoid, tanh, and Hadamard operations. Since these operations are performed across all time steps and hidden units, the total number of real-valued multiplications scales with n s n h .
The BOP can be calculated as follows:
BOP LSTM = 4 n s n h · Mult ( n i , b w , b i ) + 4 n s n h · Mult ( n h , b w , b a ) + 3 n s n h b a 2 + 9 n s n h · Acc ( n h , b w , b a )
Here, n s represents the sequence length (the number of time steps), and n h represents the number of hidden units per layer, and n i represents the input vector dimension. The first term counts the bit-level multiplications between the input and weight matrices for each gate, with bit-widths b w and b i . The second term performs the same for the hidden state and its weights, using b a as the activation bit-width. The third term estimates the cost from applying nonlinear functions. The last part accounts for the accumulations needed after all the multiplications.
The NABS can be calculated as follows:
NABS LSTM = 4 n s n h n i ( X w + 1 ) 1 · Acc ( n i , b w , b i ) + 4 n s n h n h ( X w + 1 ) + 1 · Acc ( n h , b w , b a ) + 6 n s n h b a
Here, n s represents the sequence length (the number of time steps), n h represents the number of hidden units per layer, and n i represents the input vector dimension. The first part captures how many additions and shifts are needed for combining inputs and their weights, with X w representing whether weights are reused or sparse. The second part performs the same for the hidden state. The last term is a rough estimate of the extra additions and shifts inside the LSTM gates.
From the calculation results, the proposed two-stage time-domain equalization method has the highest computational complexity, which is about twice that of the conventional LSTM equalizer and much higher than the second-order Volterra equalizer. However, in terms of BER performance, the two-stage equalizer is significantly better than the conventional LSTM equalizer and the Volterra nonlinear equalizer.
This shows that the additional complexity introduced by this method is meaningful when dealing with nonlinear distortion that cannot be effectively suppressed by a single-stage equalizer. The inference time of the three equalizers measured in this study is as follows: Volterra = 0.844 s, traditional LSTM = 1.33 s, and two-stage equalization method = 2.37 s. Although the two-stage equalization method has a long inference time and currently has difficulty meeting the deployment requirements of real-time communication systems, since the method is not bound to the LSTM model, a shorter inference time can be achieved in the future by replacing the model and reducing the complexity of the algorithm.
Next, we would like to elaborate on the potential future potential of our model and why we believe it can be practically deployed. We believe that, given the current early stage of THz communication development and its limited transmission range [33], there is not yet an urgent demand for highly optimized channel equalizers. However, as discussed in the Introduction section, THz communications are affected by numerous impairments—such as water vapor absorption, atmospheric molecular attenuation, and hardware-induced nonlinearity—that necessitate the use of more advanced equalization techniques.
Our present work targets the equalization of nonlinear distortions introduced by THz channels. Experimental results indicate that, although our proposed method entails higher computational complexity, it consistently outperforms conventional nonlinear equalizers in both optimization accuracy and noise robustness. This validates the effectiveness of our two-stage approach in challenging channel environments.
Looking ahead, we believe that practical deployment of the proposed equalizer is feasible through future model and hardware optimizations. Importantly, our method is not inherently bound to the LSTM architecture; the current design can be readily replaced with more efficient models. As Freire et al. [43] have pointed out, by adopting lightweight alternatives and optimizing both the training and inference procedures, the path toward real-time implementation becomes realistic. This will be a key focus of our future work.

5. Conclusions

This study proposes a two-stage time-domain equalization method based on DL. This method adopts a global-to-local equalization strategy to effectively solve the factors that affect the communication quality in the terahertz channel, such as nonlinear distortion and random interference. In an indoor channel, the frequency is 230 GHz, the line-of-sight is 2.1 m, and experimental verification is carried out. Following two-stage time-domain equalization after data enhancement, the BER of the received signal is reduced from 0.5072 to 0.0398. In contrast, Volterra and traditional LSTM will be affected by the stronger nonlinear noise brought by data enhancement and cannot learn channel characteristics, which shows that the two-stage time-domain equalization has stronger anti-noise performance. In addition, the model shows a certain generalization ability. When applied to the newly collected received data generated by different transmission data under the same channel conditions (frequency is 310 GHz and line-of-sight is 1.5 m), the BER is reduced from 0.012 to 0.002, further demonstrating the versatility of the model. The above two-stage equalization process is an offline operation. The two-stage equalization method improves the stability and reliability of the communication quality of the terahertz communication system. However, due to the processing speed of the model, it is not currently applicable to real-time communication systems. Future research will focus on compressing and optimizing the model, as well as enhancing its adaptability to a wider range of channel environments, ultimately achieving real-time equalization across a variety of channel conditions.

Author Contributions

Conceptualization, Y.L. and H.Y.; methodology, Y.L.; software, Y.L.; validation, Y.L., H.Y. and Z.L.; formal analysis, Z.L.; investigation, Y.L., Z.L., S.L. and J.L.; resources, Y.L. and Z.L.; data curation, Y.L., M.J. and S.L.; writing—original draft preparation, Y.L.; writing—review and editing, J.H.; visualization, Y.L.; supervision, J.H.; project administration, J.H., Z.Y. and C.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Restrictions apply to the datasets. The datasets provided in this article are not easily accessible because the experimental setup involves a custom LabVIEW control program and a deep learning-based signal processing model, and the data are part of other ongoing research. To access the datasets, please contact the authors at 2230602063@cnu.edu.cn.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Akyildiz, I.F.; Jornet, J.M.; Han, C. TeraNets: Ultra-broadband communication networks in the terahertz band. IEEE Wirel. Commun. 2014, 21, 130–135. [Google Scholar] [CrossRef]
  2. Elayan, H.; Amin, O.; Shubair, R.M.; Alouini, M.S. Terahertz communication: The opportunities of wireless technology beyond 5G. In Proceedings of the 2018 International Conference on Advanced Communication Technologies and Networking (CommNet), Marrakech, Morocco, 2–4 April 2018; pp. 1–5. [Google Scholar]
  3. Elayan, H.; Amin, O.; Shihada, B.; Shubair, R.M.; Alouini, M.S. Terahertz band: The last piece of RF spectrum puzzle for communication systems. IEEE Open J. Commun. Soc. 2019, 1, 1–32. [Google Scholar] [CrossRef]
  4. Akyildiz, I.F.; Jornet, J.M.; Han, C. Terahertz band: Next frontier for wireless communications. Phys. Commun. 2014, 12, 16–32. [Google Scholar] [CrossRef]
  5. Khan, M.Q.; Gaber, A.; Schulz, P.; Fettweis, G. Machine learning for millimeter wave and terahertz beam management: A survey and open challenges. IEEE Access 2023, 11, 11880–11902. [Google Scholar] [CrossRef]
  6. Giordani, M.; Polese, M.; Mezzavilla, M.; Rangan, S.; Zorzi, M. Toward 6G networks: Use cases and technologies. IEEE Commun. Mag. 2020, 58, 55–61. [Google Scholar] [CrossRef]
  7. Ma, J.; Vorrius, F.; Lamb, L.; Moeller, L.; Federici, J.F. Experimental comparison of terahertz and infrared signaling in laboratory-controlled rain. J. Infrared Millimeter Terahertz Waves 2015, 36, 856–865. [Google Scholar] [CrossRef]
  8. Hall, J.; Jornet, J.M.; Thawdar, N.; Melodia, T.; Restuccia, F. Deep learning at the physical layer for adaptive terahertz communications. IEEE Trans. Terahertz Sci. Technol. 2023, 13, 102–112. [Google Scholar] [CrossRef]
  9. Ghafoor, S.; Boujnah, N.; Rehmani, M.H.; Davy, A. MAC protocols for terahertz communication: A comprehensive survey. IEEE Commun. Surv. Tutor. 2020, 22, 2236–2282. [Google Scholar] [CrossRef]
  10. Mao, T.; Wang, Z. Terahertz wireless communications with flexible index modulation aided pilot design. IEEE J. Sel. Areas Commun. 2021, 39, 1651–1662. [Google Scholar] [CrossRef]
  11. Zhang, J.; Björnson, E.; Matthaiou, M.; Ng, D.W.K.; Yang, H.; Love, D.J. Prospective multiple antenna technologies for beyond 5G. IEEE J. Sel. Areas Commun. 2020, 38, 1637–1660. [Google Scholar] [CrossRef]
  12. Chafii, M.; Bariah, L.; Muhaidat, S.; Debbah, M. Twelve scientific challenges for 6G: Rethinking the foundations of communications theory. IEEE Commun. Surv. Tutor. 2023, 25, 868–904. [Google Scholar] [CrossRef]
  13. Stallo, C.; Cianca, E.; Mukherjee, S.; Rossi, T.; De Sanctis, M.; Ruggieri, M. UWB for multi-gigabit/s communications beyond 60 GHz. Telecommun. Syst. 2013, 52, 161–181. [Google Scholar] [CrossRef]
  14. Ramadan, Y.R.; Minn, H.; Abdelgelil, M.E. Precompensation and system parameters estimation for low-cost nonlinear tera-hertz transmitters in the presence of I/Q imbalance. IEEE Access 2018, 6, 51814–51833. [Google Scholar] [CrossRef]
  15. Mao, T.; Wang, Q.; Wang, Z. Spatial modulation for terahertz communication systems with hardware impairments. IEEE Trans. Veh. Technol. 2020, 69, 4553–4557. [Google Scholar] [CrossRef]
  16. Sen, P.; Pados, D.A.; Batalama, S.N.; Einarsson, E.; Bird, J.P.; Jornet, J.M. The TeraNova platform: An integrated testbed for ultra-broadband wireless communications at true Terahertz frequencies. Comput. Netw. 2020, 179, 107370. [Google Scholar] [CrossRef]
  17. Huang, Z.; He, D.; Chen, J.; Wang, Z.; Chen, S. Autoencoder with fitting network for Terahertz wireless communications: A deep learning approach. China Commun. 2022, 19, 172–180. [Google Scholar] [CrossRef]
  18. Morgan, D.R.; Ma, Z.; Kim, J.; Zierdt, M.G.; Pastalan, J. A generalized memory polynomial model for digital predistortion of RF power amplifiers. IEEE Trans. Signal Process. 2006, 54, 3852–3860. [Google Scholar] [CrossRef]
  19. Gibson, G.J.; Siu, S.; Cowan, C.F. The application of nonlinear structures to the reconstruction of binary signals. IEEE Trans. Signal Process. 1991, 39, 1877–1884. [Google Scholar] [CrossRef]
  20. Chen, S.; Gibson, G.J.; Cowan, C.; Grant, P.M. Reconstruction of binary signals using an adaptive radial-basis-function equalizer. Signal Process. 1991, 22, 77–93. [Google Scholar] [CrossRef]
  21. Gibson, G.; Siu, S.; Cowan, C. Application of multilayer perceptrons as adaptive channel equalisers. In Adaptive Systems in Control and Signal Processing 1989; Elsevier: Amsterdam, The Netherlands, 1990; pp. 573–578. [Google Scholar]
  22. Hassan, S.; Tariq, N.; Naqvi, R.A.; Rehman, A.U.; Kaabar, M.K. Performance Evaluation of Machine Learning-Based Channel Equalization Techniques: New Trends and Challenges. J. Sens. 2022, 2022, 2053086. [Google Scholar] [CrossRef]
  23. Xie, T.; Sheng, Q.; Yu, J. Deep Learning Equalizer Connected with Viterbi-Viterbi Algorithm for PAM D-Band Radio over Fiber Link. Sensors 2023, 23, 9773. [Google Scholar] [CrossRef] [PubMed]
  24. Liu, X.; Zhang, J.; Gao, S.; Tong, W.; Wang, Y.; Lei, M.; Hua, B.; Cai, Y.; Zou, Y.; Zhu, M. Demonstration of 144-Gbps Photonics-Assisted THz Wireless Transmission at 500 GHz Enabled by Joint DBN Equalizer. Micromachines 2022, 13, 1617. [Google Scholar] [CrossRef] [PubMed]
  25. Li, J.; Zhang, Z.; Wang, Y.; He, B.; Zheng, W.; Li, M. Deep learning-assisted OFDM channel estimation and signal detection technology. IEEE Commun. Lett. 2023, 27, 1347–1351. [Google Scholar] [CrossRef]
  26. Cai, Y.; Zhang, L.; Zhang, J.; Hua, B.; Lei, M.; Zou, Y.; Zhao, G.; Yu, J.; Zhu, M. 140 Gbps Photonics-Aided THz Wireless Communication Around 400 GHz Band Based on Artificial Neural Network Equalizer. In Proceedings of the 2022 Asia Communications and Photonics Conference (ACP), Shenzhen, China, 5–8 November 2022; pp. 43–46. [Google Scholar]
  27. Wang, C.; Wang, K.; Tan, Y.; Wang, F.; Sang, B.; Li, W.; Zhou, W.; Yu, J. High-speed terahertz band radio-over-fiber system using hybrid time-frequency domain equalization. IEEE Photonics Technol. Lett. 2022, 34, 559–562. [Google Scholar] [CrossRef]
  28. Shi, J.; Li, Z.; Jia, J.; Li, Z.; Shen, C.; Zhang, J.; Chi, N. Waveform-to-waveform end-to-end learning framework in a seamless fiber-terahertz integrated communication system. J. Light. Technol. 2023, 41, 2381–2392. [Google Scholar] [CrossRef]
  29. He, Y.; Chen, Y.; Zhang, L.; Wong, S.W.; Chen, Z.N. An overview of terahertz antennas. China Commun. 2020, 17, 124–165. [Google Scholar] [CrossRef]
  30. Nagatsuma, T.; Ducournau, G.; Renaud, C.C. Advances in terahertz communications accelerated by photonics. Nat. Photonics 2016, 10, 371–379. [Google Scholar] [CrossRef]
  31. Jornet, J.M.; Akyildiz, I.F. Channel modeling and capacity analysis for electromagnetic wireless nanonetworks in the terahertz band. IEEE Trans. Wirel. Commun. 2011, 10, 3211–3221. [Google Scholar] [CrossRef]
  32. Han, C.; Akyildiz, I.F. Distance-aware bandwidth-adaptive resource allocation for wireless systems in the terahertz band. IEEE Trans. Terahertz Sci. Technol. 2016, 6, 541–553. [Google Scholar] [CrossRef]
  33. Liu, K.; Feng, Y.; Han, C.; Chang, B.; Chen, Z.; Xu, Z.; Li, L.; Zhang, B.; Wang, Y.; Xu, Q. High-speed 0.22 THz communication system with 84 Gbps for real-time uncompressed 8K video transmission of live events. Nat. Commun. 2024, 15, 8037. [Google Scholar] [CrossRef]
  34. Ma, J.; Song, Y.; Zhang, M.; Li, G.; Li, W.; Federici, J.; Mittleman, D. Terahertz channels in atmospheric conditions: Propagation characteristics and security performance. Fund. Res. 2025, 5, 526–555. [Google Scholar] [CrossRef]
  35. Kokkoniemi, J.; Lehtomäki, J.; Juntti, M. A discussion on molecular absorption noise in the terahertz band. Nano Commun. Netw. 2016, 8, 35–45. [Google Scholar] [CrossRef]
  36. Lindemann, B.; Müller, T.; Vietz, H.; Jazdi, N.; Weyrich, M. A survey on long short-term memory networks for time series prediction. Procedia Cirp 2021, 99, 650–655. [Google Scholar] [CrossRef]
  37. Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  38. Malhotra, P.; Vig, L.; Shroff, G.; Agarwal, P. Long short term memory networks for anomaly detection in time series. Proceedings 2015, 89, 94. [Google Scholar]
  39. Lu, X.; Lu, C.; Yu, W.; Qiao, L.; Liang, S.; Lau, A.P.T.; Chi, N. Memory-controlled deep LSTM neural network post-equalizer used in high-speed PAM VLC system. Opt. Express 2019, 27, 7822–7833. [Google Scholar] [CrossRef]
  40. Dai, X.; Li, X.; Luo, M.; You, Q.; Yu, S. LSTM networks enabled nonlinear equalization in 50-Gb/s PAM-4 transmission links. Appl. Opt. 2019, 58, 6079–6084. [Google Scholar] [CrossRef]
  41. Li, Z.; Hu, F.; Li, G.; Zou, P.; Wang, C.; Chi, N. Convolution-enhanced LSTM neural network post-equalizer used in probabilistic shaped underwater VLC system. In Proceedings of the 2020 IEEE International Conference on Signal Processing, Communications and Computing (ICSPCC), Macau, China, 21–24 August 2020; pp. 1–5. [Google Scholar]
  42. Liu, X.; Wang, Y.; Wang, X.; Xu, H.; Li, C.; Xin, X. Bi-directional gated recurrent unit neural network based nonlinear equalizer for coherent optical communication system. Opt. Express 2021, 29, 5923–5933. [Google Scholar] [CrossRef]
  43. Freire, P.; Srivallapanondh, S.; Spinnler, B.; Napoli, A.; Costa, N.; Prilepsky, J.E.; Turitsyn, S.K. Computational complexity optimization of neural network-based equalizers in digital signal processing: A comprehensive approach. J. Light. Technol. 2024, 42, 4177–4201. [Google Scholar] [CrossRef]
Figure 1. Two-stage time-domain equalization structure. Architecture of the proposed two-stage time-domain equalization method. (a) THz communication system model and dataset construction. Two datasets under different frequencies and transmission distances are collected as training and validation data sources. (b) Training process of two-stage equalizer. Both the transmitted and received signals are upsampled before being processed by the first-stage long short-term memory (LSTM)-based equalizer, making it more effective in capturing nonlinear distortions. The output is then downsampled and refined by the second-stage LSTM equalizer. (c) In the inference stage, the trained Stage-1 and Stage-2 models are cascaded to process validation data and generate equalization results.
Figure 1. Two-stage time-domain equalization structure. Architecture of the proposed two-stage time-domain equalization method. (a) THz communication system model and dataset construction. Two datasets under different frequencies and transmission distances are collected as training and validation data sources. (b) Training process of two-stage equalizer. Both the transmitted and received signals are upsampled before being processed by the first-stage long short-term memory (LSTM)-based equalizer, making it more effective in capturing nonlinear distortions. The output is then downsampled and refined by the second-stage LSTM equalizer. (c) In the inference stage, the trained Stage-1 and Stage-2 models are cascaded to process validation data and generate equalization results.
Sensors 25 04825 g001
Figure 2. LSTM block diagram at time step n: input vector x n , current cell state C n , candidate cell state C ˜ n , hidden state h n , and forget gate f n , input gate i n , and output gate o n .
Figure 2. LSTM block diagram at time step n: input vector x n , current cell state C n , candidate cell state C ˜ n , hidden state h n , and forget gate f n , input gate i n , and output gate o n .
Sensors 25 04825 g002
Figure 3. Signal flow chart of the THz wireless communication system performance test platform. The system consists of baseband signal generation and receive signal processing modules (LabVIEW), PXIe-based transceiver (VST), upconversion and downconversion chains based on Schottky diode mixers and multipliers, and a single carrier antenna. The communication link operates under indoor line-of-sight (LoS) conditions in the frequency range of 220 to 330 GHz.
Figure 3. Signal flow chart of the THz wireless communication system performance test platform. The system consists of baseband signal generation and receive signal processing modules (LabVIEW), PXIe-based transceiver (VST), upconversion and downconversion chains based on Schottky diode mixers and multipliers, and a single carrier antenna. The communication link operates under indoor line-of-sight (LoS) conditions in the frequency range of 220 to 330 GHz.
Sensors 25 04825 g003
Figure 4. Photograph of the real-time baseband digital signal processing testbed for THz communication. The platform integrates a PXIe-based system for baseband I/Q signal generation and acquisition, a Schottky diode-based RF front-end for up/downconversion, and IF-band low-noise amplification. Key components include a PXIe-8881 embedded controller, PXIe-5841 VST, and external LO and IF circuits. Baseband processing is implemented in LabVIEW 21.0, and equalization is performed offline using Python 3.9.18.
Figure 4. Photograph of the real-time baseband digital signal processing testbed for THz communication. The platform integrates a PXIe-based system for baseband I/Q signal generation and acquisition, a Schottky diode-based RF front-end for up/downconversion, and IF-band low-noise amplification. Key components include a PXIe-8881 embedded controller, PXIe-5841 VST, and external LO and IF circuits. Baseband processing is implemented in LabVIEW 21.0, and equalization is performed offline using Python 3.9.18.
Sensors 25 04825 g004
Figure 5. (a) BER performance of the two-stage equalization model with different numbers of LSTM units. As the number of units increases, the BER gradually decreases. However, beyond 128 units, the performance gain becomes marginal. Therefore, 128 is identified as the most cost-effective configuration based on our experimental results. (b) Comparison of BER and total computation time (including training and inference) under different up/downsampling factors. When the sampling factor is less than 8, the BER is significantly higher. When it exceeds 8, the BER improvement is negligible, but the total time increases substantially. Hence, a sampling factor of 8 provides the best trade-off between accuracy and efficiency. Both parameters were selected based on empirical evaluations to achieve a favorable balance between performance and computational cost during offline training.
Figure 5. (a) BER performance of the two-stage equalization model with different numbers of LSTM units. As the number of units increases, the BER gradually decreases. However, beyond 128 units, the performance gain becomes marginal. Therefore, 128 is identified as the most cost-effective configuration based on our experimental results. (b) Comparison of BER and total computation time (including training and inference) under different up/downsampling factors. When the sampling factor is less than 8, the BER is significantly higher. When it exceeds 8, the BER improvement is negligible, but the total time increases substantially. Hence, a sampling factor of 8 provides the best trade-off between accuracy and efficiency. Both parameters were selected based on empirical evaluations to achieve a favorable balance between performance and computational cost during offline training.
Sensors 25 04825 g005
Figure 6. Experimental results over a 230 GHz, 2.1 m LoS THz channel. (a,c) Time-domain waveform and ideal constellation of the transmitted signal. (b,d) Received signal and its constellation after passing through the THz channel, showing significant distortion.
Figure 6. Experimental results over a 230 GHz, 2.1 m LoS THz channel. (a,c) Time-domain waveform and ideal constellation of the transmitted signal. (b,d) Received signal and its constellation after passing through the THz channel, showing significant distortion.
Sensors 25 04825 g006
Figure 7. Experimental results over a 230 GHz, 2.1 m LoS THz channel. (a,d) Equalization result obtained by applying a conventional deep learning model directly to the raw signal, showing limited performance under the current setting. (b,e) Output after the first stage of the proposed two-stage time-domain equalization method. (c,f) Final equalized signal, demonstrating effective compensation for channel impairments and substantial restoration of the constellation integrity.
Figure 7. Experimental results over a 230 GHz, 2.1 m LoS THz channel. (a,d) Equalization result obtained by applying a conventional deep learning model directly to the raw signal, showing limited performance under the current setting. (b,e) Output after the first stage of the proposed two-stage time-domain equalization method. (c,f) Final equalized signal, demonstrating effective compensation for channel impairments and substantial restoration of the constellation integrity.
Sensors 25 04825 g007
Table 1. Key experimental and training parameters.
Table 1. Key experimental and training parameters.
ParameterValue
System Configuration
Modulation formatQPSK, 250 MHz bandwidth, 8 sps
Frame synchronization32-symbol Zadoff–Chu, sliding correlation
Tx/Rx filtersRoot-raised-cosine, roll-off = 0.25
Communication distance1.5 m/2.1 m (Indoor LoS)
Air data rate2 Gbps
VST output2 GHz IF, 10 dBm , 1 GS/s
LO frequency (MSG)16.4 GHz, 9.5 dBm
Upsampling/Downsampling factor8/8
Neural Network Configuration
Equalizer input size25 samples
Input/Output dimension2/2 (I/Q components)
LSTM architecture4 layers, 128 hidden units per layer
DropoutApplied between LSTM layers
Loss functionMean Square Error (MSE)
OptimizerAdam
Initial learning rate0.001 (with scheduling)
Weight decay 1 × 10 7
Batch size64
Max training epochs100
Early stoppingEnabled (patience = 10, based on validation loss)
Data augmentationLow-SNR noise (0–5 dB), applied to first stage only
Hardware Environment
Training platformNVIDIA RTX 3060 GPU
GPU memory8 GB
FrameworkPyTorch 2.1.1
Table 2. Comparison of equalization methods at 230 GHz and 310 GHz. All LSTM models use H = 4 hidden layers, L = 128 hidden units per layer, and T = 25 input length. Two-stage deep learning equalizers are trained in two stages. Volterra equalizer uses a second-order kernel with a memory length of 15. Abbreviations: Config represents the network structure in the format of (H, L, T), where H is the number of hidden layers, L is the number of LSTM units, and T is the input sequence length. DA stands for data augmentation, and NDA stands for non-data augmentation.
Table 2. Comparison of equalization methods at 230 GHz and 310 GHz. All LSTM models use H = 4 hidden layers, L = 128 hidden units per layer, and T = 25 input length. Two-stage deep learning equalizers are trained in two stages. Volterra equalizer uses a second-order kernel with a memory length of 15. Abbreviations: Config represents the network structure in the format of (H, L, T), where H is the number of hidden layers, L is the number of LSTM units, and T is the input sequence length. DA stands for data augmentation, and NDA stands for non-data augmentation.
MethodConfigBER (230 GHz (DA/NDA))BER (310 GHz)
Traditional DL(4, 128, 25)0.4965/0.00220.0080
Two-stage DL (S1)(4, 128, 25)0.1816/0.00130.0040
Two-stage DL (Final)(4, 128, 25)0.0398/0.00020.0020
Volterra(–, –, 25)0.5003/0.01100.0107
Table 3. Comparison of inference complexity for different equalization methods. RM: Real-valued multiplication; BOP: bit-level operation; NABS: addition and bit shift.
Table 3. Comparison of inference complexity for different equalization methods. RM: Real-valued multiplication; BOP: bit-level operation; NABS: addition and bit shift.
MethodTRMBOPNABS
Traditional DL251.66 M192.08 M4.86B
Two-stage DL253.32 M382.16 M9.72B
Volterra250.0034 M
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

Liu, Y.; Yang, H.; Liu, Z.; Jia, M.; Li, S.; Li, J.; He, J.; Yang, Z.; Zhang, C. A Two-Stage Time-Domain Equalization Method for Mitigating Nonlinear Distortion in Single-Carrier THz Communication Systems. Sensors 2025, 25, 4825. https://doi.org/10.3390/s25154825

AMA Style

Liu Y, Yang H, Liu Z, Jia M, Li S, Li J, He J, Yang Z, Zhang C. A Two-Stage Time-Domain Equalization Method for Mitigating Nonlinear Distortion in Single-Carrier THz Communication Systems. Sensors. 2025; 25(15):4825. https://doi.org/10.3390/s25154825

Chicago/Turabian Style

Liu, Yunchuan, Hongcheng Yang, Ziqi Liu, Minghan Jia, Shang Li, Jiajie Li, Jingsuo He, Zhe Yang, and Cunlin Zhang. 2025. "A Two-Stage Time-Domain Equalization Method for Mitigating Nonlinear Distortion in Single-Carrier THz Communication Systems" Sensors 25, no. 15: 4825. https://doi.org/10.3390/s25154825

APA Style

Liu, Y., Yang, H., Liu, Z., Jia, M., Li, S., Li, J., He, J., Yang, Z., & Zhang, C. (2025). A Two-Stage Time-Domain Equalization Method for Mitigating Nonlinear Distortion in Single-Carrier THz Communication Systems. Sensors, 25(15), 4825. https://doi.org/10.3390/s25154825

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