Indexed in
SCI
EI
Scopus
Supervisory by: Global Energy Interconnection Development and Cooperation Organization
Sponsored by: Global Energy Interconnection Group Limited

Contents

Figure(0)

    Tables(0)

      Global Energy Interconnection

      Volume 9, Issue 5, Oct 2026, Pages 1,147-1,160
      Ref.

      Optimized Bi-LSTM model with attention mechanism for power line communication signal recognition in the distribution network

      Guoxiang Huaa,b ,Lianhai Tangc ,Weiwei Lia,* ,Peng Lia,c
      ( a School of Automation, Wuxi Universi ty, Wuxi, P.R. China , b School of Electrical and Electronic Engineering North China Electric Power University, Beijing, P.R. China , c School of Automation, Nanjing University of Information Science & Technology, Nanjing, P.R. China )

      Abstract

      Abstract Communication technology that utilizes power lines can substantially elevate the intelligent management capabilities of smart grid infrastructure and bolster the operational efficiency of the grid. A Two-Way Automatic Communication System (TWACS) enables relay-free signal transmission across transformers, thereby enhancing system robustness. However, the accuracy of modulated signal identification in traditional TWACS implementations is often inadequate. Consequently, this paper introduces a novel signal recognition approach that employs a Bidirectional Long Short-Term Memory (Bi-LSTM) neural network optimized by the Dandelion Optimization Algorithm (DO) and augmented with an attention mechanism. Initially, the model employs a convolutional neural network (CNN) to adaptively extract significant features from TWACS signals. Subsequently, it utilizes the DO method to perform hyper-parameter optimization for the Bi-LSTM. With the optimized parameters, the model constructs the neural network and integrates an attention mechanism to assign varying weights to the input features.This integration enhances the model’s capacity to recognize signals more effectively.The proposed method is capable of recognizing modulated signals even under conditions of low signal-to-noise ratios.The resultant model, designed for signal identification, satisfies the fundamental requirements for real-time processing. When applied to analyze transmission signals from distribution areas with new energy access,the proposed algorithm achieves a recognition rate of 92.32%.This high rate indicates that the method can efficiently and accurately identify TWACS modulated signals,thereby offering robust support for the integration of power line communication technology into smart grid applications.

      0 Intr oduction

      The widespread adoption of distributed power sources and interactive loads has positioned the development of a pervasively interconnected, highly intelligent, open, and interactive Energy Internet as a pivotal trend in modern energy systems [1]. The Energy Internet is distinguished by its comprehensive interconnectivity, extensive sensing capabilities, and the efficient transmission and intelligent processing of information. Intelligent energy measurement technologies, informed by Internet-centric approaches to system architecture, operational paradigms, and foundational technologies, not only leverage advanced information and communication technologies but also ensure compatibility with existing power grid infrastructures.The strategic management of diverse load types and the establishment of a dependable information transmission channel are essential for achieving the intelligent integration of the energy system’s various components. Given the concentration of distributed energy terminal devices,along with load control and collection equipment, in the medium- and low-voltage sectors, the development of secure, reliable, and cost-effective communication solutions for this equipment has become a focal point for researchers globally [2]. Power line communication(PLC), which employs power lines as the medium for signal transmission, offers a cost-effective alternative by obviating the need for additional communication lines and associated service costs, thereby facilitating effective remote monitoring of distributed energy resources [3].

      Historically, scholars have predominantly focused on enhancing the physical layer aspects of Power Line Communication (PLC), including the establishment of relay networks,with research topics such as channel characteristics [4], grid topology methods [5], signal attenuation [6],and noise suppression [7]. The primary goal of these studies has been to enhance the point-to-point communication capabilities of PLC rather than the overall reliability of the distribution network. More recently, several researchers have made significant advancements in low-voltage PLC,successfully integrating these technologies into distribution networks. For instance, an innovative algorithm for physical-layer resource allocation was proposed by [8],which is predicated on the principle of equal power distribution and is designed to minimize complexity. Experimental findings demonstrate that the algorithm significantly enhances network throughput by ensuring that the minimum transmission rate requirements for concurrent services of multiple users are met. The authors of[9] initially developed a cross-layer resource allocation model for distribution networks, incorporating a utility function-based resource allocation strategy. This strategy encompasses user scheduling at the Medium Access Control (MAC) layer and resource allocation at the physical layer. It effectively addresses the challenge of resource allocation during concurrent multiple services in power line carrier communication. Furthermore, in the context of broadband power line carrier communication,the authors of [10] devised an ultra-long-distance PLC protocol technique. This technique, based on multi-frequency relay networking, is tailored for long-distance line scenarios within power distribution communication networks. Utilizing a frequency adaptive algorithm, the proposed method selects the optimal operating frequency and bandwidth for various sites, enabling swift adaptation to fluctuations in the power line carrier channel and consequently enhancing the success rate of power line communications. None theless, Power Line Communication (PLC) faces inherent robustness limitations and is prone to significant interference from the electromagnetic power distribution network.This susceptibility leads to a degradation of communication quality with increasing transmission distances,a challenge that remains unresolved.

      The reliability of PLC systems is inherently constrained by the complex noise environment in low-voltage distribution networks. PLC channel noise can be divided into two categories: background and pulse. Background noise,which is generated by a large number of low-power electrical devices, exhibits continuous and broadband characteristics. Experimental results indicate that background noise conforms to the Nakagami-m distribution and exhibits non-Gaussian behavior when m <1. Pulse noise, on the other hand, originates from periodic devices, such as switching power supplies and dimmers. It is characterized by burstiness and high amplitude.It is commonly modeled as a Middleton Type A distribution.

      Different noise models have been studied separately in the literature, and c orresponding countermeasures have been proposed.Paper[11] focuses on analyzing the impact of Nakagami-m distribution background noise on PLC system performance. The authors propose an optimal coherent detector based on a Hoyt distribution approximation combined with receive diversity techniques, which significantly improves the error performance of BPSK modulation systems.However, this study did not consider pulse noise interference, which limits its practicality in environments with strong burst noise.

      Paper [12] expands the research perspective further by considering the combined effects of Nakagami-m background noise and Middleton Class A pulse noise. The authors derive the probability density function of the decision variable under composite noise and propose an analytical expression for the bit error rate. The study revealed that, even if background noise is not severe,adding pulse noise can significantly decrease error performance. Nevertheless, the non-optimal detector employed by the authors simplifies the receiver structure, facilitating theoretical analysis, yet it falls short of optimal performance.

      In contrast, Pape r [13] focuses on signal fading and pulse noise issues in long-distance communication scenarios by introducing an amplification-and-forwarding (AF)relay mechanism. The study combines a log-normal fading model with a Bernoulli-Gaussian pulse noise model to derive approximate expressions for the end-to-end bit error rate and channel capacity. The study demonstrates that relays can mitigat e signal attenuation over distance and outperform direct transmission under fixed power conditions. However, this model simplifies background noise to a Gaussian distribution, ignoring its non-Gaussian characteristics and interaction with pulse noise.

      Previous studies have systematically investigated PLC interference mechanisms and mitigation strategies. As highlighted in [14], while static interference sources and frequency band characteristics were quantitatively analyzed, dynamic noise scenarios and concrete reliability enhancement schemes remain underexplored. For bandwidth-constrained environments, [15] achieved 8bit/s reliable communication in complex multi-story buildings through quasi-peak opportunity rules and chirp modulation, albeit with limitations in transmission speed and multi-user scalability. A comprehensive review by [16]spanning five decades of PLC noise modeling reveals persistent challenges in industrial noise characterization,advocating machine learning as a promising direction for noise suppression and system optimization. Addressing low-SNR conditions, [17] developed a cost-effective hardware solution for long-distance communication, though adaptive filtering processes introduced efficiency tradeoffs under dynamic channel conditions. These studies collectively demonstrate the fundamental tension between transmission reliability and efficiency imposed by timevarying channel characteristics and mult i-source interference in low-voltage grids.Notably,while TWACS technology has proven effective in monitoring kilometer-long oil wells through controlled signal perturbations [18,19], its application in general distribution networks requires sophisticated de tection methods to overcome environmental complexity [20].

      Currently, despite the availability of numerous technical approaches for power line communication, these methods exhibit significant variability, often hindering the achievement of long-distance communication in complex settings. In contrast, the Two-Way Automatic Communication System (TWACS) facilitates information transmission by generating weak low-frequency distortion signals(200-600 Hz) at the voltage and current waveforms’zero-crossing points within the power grid [21]. This distorted signal’s ability to traverse transformers endows TWACS with considerable advantages over power line carrier communication, which typically employs highfrequency signals, particularly in terms of flexibility, ease of installation and maintenance, and lower equipment costs. However, the method’s development has been impeded by its slow transmission speed and the challenges associated with adapting the uplink signal detection method to the complex distribution network channel environment. Consequently, this paper focuses on researching uplink signal detection methods that are well-suited to complex channel environments.

      At present, the identification of Two-Way Automatic Communication System (TWACS) signals predominantly relies on traditional methodologies, including the timedomain difference method [22] and the time-frequency analysis method [23,24]. The time-domain difference method is characterized by its simplicity, ease of implementation, and portability; however, it suffers from high error rates and low reliability. While the time-frequency analysis method boasts great er recognition accuracy, its computational efficiency is lacking, making it challenging to satisfy stringent real-time demands. Furthermore, the authors of [25] have amalgamated the adaptive damped Jacobi algorithm with the conjugate gradient algorithm to achieve uplink signal detection, yet the success rate of detection remains suboptimal. Differential techniques have been employed in uplink signal feature extraction, followed by classification using Support Vector Machines(SVM) [26]. However, the classification performance is highly dependent on the quality of the extracted features,which may be affected by variations in the differential process.In the field of automatic modulation recognition,various advanced approaches have been explored. A study[27] proposed a convolutional neural network (CNN) integrated with a time-frequency attention mechanism to enhance feature extraction efficiency. Research [28] introduced a hybrid CVCNN-LSTM architecture designed for the effective recognition of wireless communication signals by leveraging both convolutional and recurrent neural networks. Additionally, an optimization-driven modulation recognition framework was developed [29], utilizing the Archimedes Optimization Algorithm (AOA) in combination with a Random Forest (RF) classifier to identify seven distinct signal types, achieving a recognition accuracy exceeding 95% at a signal-to-no ise ratio (SNR) of 5 dB or higher. Furthermore, an attention mechanism-based convolutional neural network for I/Q signal recognition was proposed [30], demonstrating a 10% improvement in recognition accuracy compared to traditional VT-CNN models. These approaches have shown significant potential in enhancing both recogni tion accuracy and real-time capabilities, offering innovative perspectives for the recognition of power line signals.

      In conclusion, while traditional methodologies contribute to the recognition of power line signals, their inherent limitations are evident. The integration of advanced techniques from the domain of automatic modulation recognition is anticipated to yield significant advancements in both recognition accuracy and real-time performance.With this objective, the present paper introduces an innovative approach to the recognition of power line signals.This paper specifically employs a three-layer onedimensional Convolutional Neural Network (1D-CNN)for the extraction of signal features. It utilizes the Dandelion Optimization Algorithm (DO) to fine-tune the hyperparameters of the Bidirectional Long Short-Term Memory neural network (Bi-LSTM). Additionally, it incorporates a self-attention mechanism to enhance the model’s capacity for high-dimensional feature extraction, thereby achieving precise signal recognition. The experimental outcomes demonstrate that the recognition rate of this proposed methodology surpasses that of traditional algorithms across various signal-to-noise ratio conditions. Notably,when the model trained in the laboratory is deployed for field data detection, it achieves an accuracy of up to 92.32%, which markedly outperforms modulation recognition models like DenseNet.This accomplishment not only offers robust technical support for integrating power line communication technology into smart grid applications but also is expected to stimulate further advancements in the development of smart grid infra structure. The main contribution of this paper is summarized as follows:

      An uplink signal recognition model for low-frequency power line communication (PLC) is proposed, integrating deep learning techniques to enhance recognition accuracy and model efficiency. Specifically:

      1) Deep Feature Extraction and Pattern Recognition: A multi-layer convolutional neural network (CNN) is utilized for feature extraction, while a Bidirectional Long Short-Term Memory (Bi-LSTM) network is employed for pattern recognition, effectively capturing both spatial and temporal signal characteristics.

      2) Automated Hyperparameter Optimization: The Dandelion Optimization Algorithm (DO) is applied to optimize model hyperparameters, enhancing generalization and accuracy while reducing convolutional kernel sizes to achieve a more lightweight and efficient model.

      3) Attention Mechanism for Adaptive Feature Weighting: An attention mechanism is incorporated to dynamically assign weights to extracted features,improving convergence speed, strengthening generalization ability, and enhancing robustness in noisy environments. Experimental results show that the proposed method achieves a 3.38% to 29.82% accuracy improvement over traditional algorithms and other deep learning-based models, offering a novel approach to improving PLC communication reliability.

      1 Model overview and fundamentals

      The objective of this paper is to develop a model capable of accurately recognizing power line modulation signals amidst complex noise and varying background current conditions. To optimize the utilization of collected data and ensure effective model generalization, we have created time series datasets by sampling power line modulated signals from both laboratory settings and distribution areas with photovoltaic (PV) access. In the laboratory, power line noise is superimposed on the ideal signal, and these datasets are subsequently processed through a Convolutional Neural Network (CNN) for feature fusion and extraction. The outcomes of this process serve as input data for the model.Furthermore,a Bidirectional Long Short-Term Memory (Bi-LSTM) network enhanced with a self-attention mechanism is trained. The Dandelion Optimization Algorithm is employed to iteratively determine the optimal hyperparameters for the network. Once the model is optimally configured, it is applied to recognize TWACS modulated signals.The comprehensive recognition process is illustrated in Fig. 1.

      Fig. 1. System voltage and harmonic contents.

      1.1 Convolutional neural network

      A Convolutional Neural Network (CNN) is a deep feed-forward neural network that employs convolutional computations, effectively address ing issues such as spatial information loss, inefficiency, and the risk of overfitting.

      The Convolutional Neural Network (CNN) utilized in this study is structured with an input layer, a onedimensional (1D) convolutional layer, a 1D pooling layer,and an output layer. Given the one-dimensional nature of the input data, both the convolutional and pooling layers are configured to operate in a 1D manner. The convolutional layer extracts input features through a convolution process,while the pooling layer obtains features that exhibit spatial invariance via pooling operations. The 1D convolution and pooling processes are illustrated in Fig. 2.

      As an example of maximum pooling, the formula for the convolutio nal layer and pooling layer is as follows:

      Fig. 2. Structure of one-dimensional convolutional neural network.

      where a is a constant, usually taken as 0.01. The image of this activation function is shown in Fig. 3.

      1.2 Bidirectional long short-term memory neural network

      1.2.1 Long Short-Term Memory

      Long Short-Term Memory (LSTM) is an advanced variant of the recurrent neural network (RNN). As depicted in Fig. 4, the LSTM architecture incorporates three logical gating mechanisms: the input gate, the forgetting gate, and the output gate. The forgetting gate determines which information to retain or discard from the cell state, the input gate selectively updates the cell state with new information, and the output gate regulates the transmission of the updated cell state to subsequent time steps.Consequently, LSTM is capable of more effectively extracting temporal information from data and addressing the issues of vanishing and exploding gradients that plague traditional RNNs.

      Fig. 3. Graph of LeakyReL U function.

      Fig. 4. LSTM structure.

      1.2.2 Bidirectional long short-term memory neural network

      While LSTM can handle long time series, it can only make predictions from prior data. For this reason, Bi-LSTM was derived, which consists of a layer of forward LSTM and reverse LSTM combined and has the advantage of utilizing future information compared to unidirectional LSTM [31]. Its structure is shown in Fig. 5.

      To ensure stable network training, the Xavier initialization method is employed to initialize all weight parameters, which helps maintain a balanced variance across layers and prevents gradient-related issues. Given that Bi-LSTM networks are prone to vanishing and exploding gradients, this choice ensures numerical stability and faster convergence. Although this study does not explicitly compare different initialization strategies, prior research suggests that poor initialization may slow down convergence and degrade recognition accuracy.

      Fig. 5. Bi-LSTM structure.

      1.3 Dandelion optimizer

      The Dandelion Optimizer (DO) is an optimization algorithm that imitates the way dandelion seeds spread. After the initial setup, it explores the search space through a series of steps: an ‘‘ascent phase,” a ‘‘des cent phase,” and a‘‘landing phase”.Notably,the DO algorithm has been successfully used in the power systems field and has shown great results. [32].

      1) Rising phase

      During that phase, dandelion seeds exhibit two distinct landing patterns, as detailed below:

      Scenario 1: Dandelion seeds spiral upward on a sunny day due to wind, at which point the expression is

      where t is the current number of iterations and α is the convergence factor with the following expression:

      Case 2: During overcast and rainy conditions, dandelion seeds engage in localized search behavior, with the seed update expression given by:

      where k is a parameter that adjusts the search domain with the expression:

      where T denotes the maximum num ber of iterations.

      2) Descent phase

      At this stage, the trajectory of the dandelion seed is characterized by Brownian motion. The mathematical expression is presented as follows:

      where βtrepresents the Brownian motion. Represents the average position of the popula tion at the first iteration,and the expression is:

      3) Landing phase

      The landing phase exp ression is:

      1.4 Attention mechanism

      Attention mechanisms, a pivotal technology in the realm of deep learning, have gained widespread application across diverse fields due to the rapid advancements in this domain[33]. Fundamentally, these mechanisms filter the salient aspects from an array of complex information, thereby enabling a more efficient distribution of computational resources. By assigning variable weights to the input features, the attention mechanism rationalizes the influence of each feature on the output, minimizing redundancy. This approach not only bolsters the model’s predictive accuracy but also en hances its interpretability. The formula representing the attention mechanism is delineated below:

      2 Novel BiLSTM model with DO opti mization and attention mechanism

      Deep learning models typically require careful selection of numerous hyperparameters, such as learning rate, the number of neurons in hidden layers, and the number of training iterations. The proposed model is no exception,as these hyperparameters significantly impact its recognition accuracy and generalization ability. However, there is no established reference for determining optimal configurations due to the lack of prior research on hyperparameter selection for TWACS signal recognition. While manual tuning through exhaustive trial-and-error is possible,it is not only time-consuming but also prone to suboptimal selections. Instead, employing an intelligent optimization algorithm can improve efficiency by automating the search process and systematically identifying the most suitable set of hyperparameters.

      The optimization problem in this study does not belong to the category of convex optimization but rather focuses on hyperparameter tuning to maximize the recognition accuracy on the training set. Unlike traditional optimization problems that can be formulated as explicit mathematical models, hyperparameter optimization involves a complex, high-di mensional search space with nondifferentiable and non-convex characteristics, making it unsuitable for conventional convex optimization techniques. Therefore, intelligent optimization algorithms are required to search effectively for optimal hyperparameters.

      In this work, we employ the Dandelion Optimization Algorithm (DO) for hyperparameter optimization, leveraging its proven effectiveness in related domains. As demonstrated in [30], DO has been successfully applied in similar optimization tasks, demonstrating strong performance in balancing exploration and exploitation within complex search spaces. By integrating DO into our model,we aim to enhance generalization capability, improve recognition accuracy, and achieve a more efficient model configuration. The adoption of DO provides a structured and adaptive approach to hyperparameter tuning, ensuring that the proposed Bi-LSTM model attains optimal performance for TWACS signal recognition.

      The principle of modulated signal recognition outlined in this paper is detailed as follows: Initially, the current sensor collects the modulated signal, which includes current distortion, along with the non-distorted, nonmodulated signal transmitted by the transmitter. Subsequently, a three-layer one-dimensional Convolutional Neural Network (1D-CNN) is employed for feature extraction and dataset fusion. To mitigate the issue of gradient vanishing, the LeakyReLU activation function is applied, enabling the determination of input feature counts based on parame ter settings. Thereafter, the Dandelion Optimization Algorithm is applied, followed by the integration of a self-attention mechanism, to curtail subsequent model processing time. The fitness function,which optimizes the Bi-LSTM neural network’s hidden layer neurons and input weight learning rate, is calibrated using the average accuracy from the training set’s fifty-fold cross-validation on the test set recognition. The architecture of the designed network model is depicted in Fig. 6.

      The process of the algorithm proposed in this paper for signal recognition is as follows:

      1)The laboratory dataset is segmented into a training set and a validation set. Additionally, the dataset is optimized using the fifty-fifty cross-validation method, with the accuracy achieved during training serving as the fitness metric.

      2)Initialize the Dandelion Optimization Algorithm.Once the dataset partitioning is complete, a population of dandelion seed analogs is randomly generated, with each position in the population representing an optimization parameter. These parameters encompass the Dropout probabil ity, the count of hidden layer units in the Bi-LSTM, the learning rate factor for input weights, the learning rate factor for biases, and the number of attention channels.

      3)The model’s hyperparameters are optimized utilizing the Dandelion Optimization Algorithm, following which the refined parameters are input into the model to conduct each recognition cycle.

      4)The Bi-LSTM network adjusts for bias through backpropagation, utilizing the concatenated hidden states derived from forward and reverse directions to form neuron outputs. Consequently, a selfattention mechanism is employed to delve deeper into the data,extracting more profound information.

      5)Given the significant impact of network model hyperparameters on convergence velocity, an intelligent optimization algorithm is implemented to dynamically refine these key hyperparameters,thereby accelerating the model’s convergence.

      6)Ultimately, the model’s generalization capability is validated by applyin g it to field data identification at distribution areas.

      Fig. 6. Network model diagram.

      2.1 Data acquisition and analysis

      TWACS technology introduces intentional signal distortion near 30° before the zero-crossing point to encode binary information. Therefore, the demodulation process is centered around this 30° threshold prior to the zero crossing to accurately extract modulated signals. The modulation scheme adopted in this study differs from conventional high-frequency PLC methods, as it injects a small distortion at the zero-crossing point of the sinusoidal voltage (downlink) or current (uplink) waveform to represent a binary‘1.This approach allows signals to traverse transformers efficiently, ensuring compatibility with existing power grid infrastructure.

      To achieve precise demodulation, an STM32 microcontroller is utilized to sample the modulated signal. The sampling duration is set to 150 microseconds, with a sampling frequency of 1.5 MHz, ensuring that each sample consists of 100 data points. This high-resolution sampling allows for accurate feature extraction while meeting real-time processing requirements. The laboratory setup for signal acquisition is illustrated in Fig. 7.

      In this setup, the transmitter and receiver are placed in close proximity, connected solely through purely resistive elements such as light bulbs. The acquisition terminal captures the downstream current signal via a ZHT36KH current transformer (CT). Given that the load is a resistive component, according to Ohm’s law, the current waveform remains directly proportional to the voltage waveform. The de modulated signal is then preprocessed and fed into the deep learning-based recognition model,where a Bi-LSTM network optimized by the Dandelion Optimization Algorithm(DO),along with an attention mechanism, is employed to enhance classification accuracy.

      The modulation module adopts a novel approach to generating distortion signals, differing from the conventional thyristor-based method. While retaining the structural characteristics of thyristors to achieve distortion attenuation, the proposed method utilizes an LC oscil lation circuit to generate low-frequency oscillations at a natural resonant frequency. By adjusting circuit component parameters, the distortion frequency can be precisely controlled, offering the potential for increased transmission rates in future applications.

      Fig. 7. Laboratory collection environment.

      To implement modulation, a Pulse Width Modulation(PWM) signal is used to control the switching of the driving transistor. Electrical isolation between the input and output is achieved using an optocoupler, ensuring reliable signal transmission. When the driving transistor is turned on, the left-side circuit is activated, allowing current to flow. Due to the presence of the LC oscillation circuit, a transient distortion signal with a frequency of approximately 503 Hz is generated and injected into the system,effectively modulating the power frequency signal. Fig. 8 illustrates the detailed design of the modulation signal generation and sampling process.

      The demodulation module is designed to facilitate the acquisition of uplink signals by precisely controlling the sampling process. The sampling duration is set to 150 μs,ensuring that the captured signals can be directly fed into the pre-trained deep learning model for recognition. The circuit implementation is illustrated in Fig. 9.

      The input of the demodulation circuit is connected to the output of a current transformer (CT) sensor, where a resistor is used to establish a closed-loop path, converting the CT output into a voltage signal at the positive input of the amplifier. To suppress high-frequency noise, a capacitor-based filtering mechanism is employed. The signal is then processed through a single-stage amplification circuit followed by a buffer circuit, ensuring stability and signal integrity. The conditioned signal is subsequently fed into the analog-to-digital co nverter of the microcontroller for digitization.Once data acquisition is completed,the recorded signals are transmitted to a computer for further data analysis, model training, and signal recognition evaluation. This circuit design ensures that the extracted signal retains its essential features while minimizing distortion, providing high-quality input for the deep learningbased recognition framework.

      A total of 900,000 data points were collected for the experimental analysis. Given that the modulator emits signals at 5-second intervals, transmitting data packets such as EA, 9B, 0A, 01, and 2F, the modulated signals constitute only 7.2% of the entire dataset. Consequently, this translates to 64,800 modulated signals with a signal value of ’1. To maintain a balance between the numbers of distorted and non-distorted signals, precisely 50 cycles that include modulated signals have been chosen to form the initial training set.

      Fig. 8. Modulated signal generation circuit.

      Fig. 9. Current signal acquisition circuit.

      K. F. Nieman, et al. [34] collected power line noise across various environments. Fig. 10 illustrates the time domain, power spectral density, cyclic spectral density,and cyclic spectral correlation plots of the power line noise signals from these diverse settings, as included in the power line noise dataset. This paper incorporates the aforementioned noise into the low-noise signals obtained from laboratory collections to emulate real-environment signal reception and to finalize the signal identification model. Given that the noise dataset’s sampling frequency is 0.4 MHz, the data is interpolated to achieve a sampling frequency of 1.5 MHz. The preprocessed noise signal is then introduced as interference to the signal acquired in the laboratory.

      The environment for this experiment is an NVIDIA GTX1050Ti graphics card with i5-7300HQ CPU using matlab2023b for model building and training.

      2.2 Model evaluation

      2.2.1 Network comparison

      In this experiment, we compare the performance of the CNN2 model with other models known for their effective recognition in the modulation recognition domain,namely ResNet, DenseNet, and CLDNN, as reported in the literature [35]. Additionally, we include the algorithm introduced in this paper. To simulate real-world conditions,we subject the laboratory-collected modulated signals to the channel interference detailed in the previous section and introduce noise at varying signal-to-noise ratios(SNRs). The SNR range spans from 20 dB to 18 dB,incremented by 2 dB steps. This setup allows us to assess the detection accuracy of the various algorithms across different SNR levels. The network model parameters are detailed in Table 1.

      Fig. 10. Graph of eight power line noise signals.

      The recognition rates of the above models at different signal-to-noise ratios are shown in Fig. 1 1. When the signal-to-noise ratio is lower than 8dB, the recognition rates of the comparison model and the model proposed in this paper are poor; as the signal-to-noise ratio is increased, the recognition accuracy of each model is significantly improved, and when the signal-to-noise ratio is greater than 2dB, all networks have been able to effectively recognize the modulation signal, and the network performance enhancement speed is slowed down by the further increase of the signal-to-noise ratio. Under this overall trend, the recognition accuracy of the network proposed in this paper is higher than that of other network models after optimization. The maximum recognition accuracy of CNN2, ResNet, DenseNet, CLDNN, and the proposed model are 85.06%, 89.93%, 89.07%,87.39%, and 94.07%, respectively. Collectively, these results indicate that the model introduced in this paper significantly outperforms the other models in terms of recognition accuracy (see Table 2).

      The model proposed herein employs an iterative approach using the Dandelion Optimization Algorithm to determine the optimal count of attention channels in the attention layer and the number of hidden units in the Bi-LSTM layer. This method circumvents the pitfalls of manual parameter selection, such as arbitrariness and the risk of local optima, while also mitigating the overfitting that can arise from an excessive number of parameters.Consequently, the model proposed in this paper not only has the fewest parameters but also achieves the highest average recognition rate on the dataset used in this study,outperforming the other models by 3.28% to 5.32%.

      2.2.2 Network ablation

      Ablation studies were conducted to ascertain the impact of each network module. The DO-CAB model served as a benchmark, ensuring uniformity in the dataset, training methodology, and the utilization of parameters optimized by the Dandelion Optimization (DO) algorithm. Three comparative models were crafted: one comprising solely the convolutio nal module (DO-CNN), another incorporating both the convolutional and self-attention modules(DO-CA), and a third integrating the convolutional module with the bidirectional long short-term memory (Bi-LSTM) module (DO-CB). Fig. 12 illustrates the recognition accuracy across varying signal-to-noise ratios for each model. Evidently, the benchmark model surpasses other models deficient in modules across all signal-to-noise ratios. The incorporation of the attention mechanism enhanced the model’s ave rage accuracy by 4.1%, and the addition of the Bi-LSTM module further increased it by 6.2%. The simultaneous addition of both modules led to an improvement of 11.2% in average accuracy. The DOCAB model consistently demonstrated superior average recognition accuracy and peak recognition rates across all signal-to-noise ratios, thereby validating the efficacy of the proposed model.

      Fig. 11. Recognition accuracy of different algorithms.

      Table 2 Comparison of the number of parameters and average recognition rate of each model.

      network models quantity of particip ants Average recognition rate CNN2 739,330 57.75%ResNet 492,642 59.01%DenseNet 534,882 58.62%CLDNN 2,086,942 56.96%DO-CAB 478,556 62.28%

      Table 3 records the highest recognition accuracy and average recognition accuracy for each model under the ablation experiment.

      2.2.3 Field test

      Following the identification of the analog signals, the transmitter is installed at the low-voltage desk area within the unit building that accommodates photovoltaic (PV)access. The receiver is situated in the branch box. The transmitter conveys meter data corresponding to each user load. Given that various user loads are distributed across different phases, there are three distinct channels. The signals are transmitted and collected at staggered times to ascertain the actual interference of loads on the channelsduring various periods. The installation environm ent is depicted in Fig. 1 3.

      Table 1 Contrasting network model parameter settings.

      network models convolutional layer full connection CNN2 (256,2 8), (128,2 8), (64,2 8), (64,2 8) 100,2 ResNet (256,1 3), (256,2 3), (80,1x3), (80,1 3) 100,2 DenseNet (256,1 3), (256,2 3), (80,1x3), (80,1 3) 100,2 CLDNN (256,1 3), (256,2 3), (80,1 3), (80,1 3) 100,2

      Fig. 12. Comparison of the effect of different modules on the recognition rate of the DO-CAB network.

      Residential electrical consumption patterns are significantly influenced by the day of the week and the time of day, whether it is a working day or a rest period. To evaluate this, current data were systematically gathered at 9:00 a.m., 3:00p.m., and 7:00p.m. on Mondays, Wednesdays,and Saturdays. These time points were selected to represent typical working days and a weekend day. The collected data, along with comparative laboratory current graphs, are presented in Fig. 14, where signal 2 represents the laboratory current. Upon examination of the figure, it is evident that anomalous signals exhibit various forms depending on the load and the phase of the noise during distinct periods. Furthermore, the non-anomalous signals capture d, as seen in Figure (b), include a background signal that corresponds to signal 1 in Figure(a).Distinguishing these signals using conventional time-domain analysis methods is challenging.

      The model previously described, along with traditional time-domain and time-frequency analysis methods, were employed to identify field data. The performance of these methods was assessed using four bina ry metrics: Receiver Operating Characteristic (ROC), Area Under the Curve(AUC), Accuracy, and Sensitivity and Specificity.

      Table 3 Comparison of ablation experiment data.

      network models Average accuracy Maximum accuracy DO-CNN 51.09% 80.71%DO-CB 57.27% 90.12%DO-CA 55.10% 86.14%DO-CAB 62.28% 94.07%DO-CNN 51.09% 80.71%

      Fig. 13. Photo of Field Test Installation.

      Fig. 14. Field distortion signals and background currents.

      where TP and TN are true positives and true negatives, and FP and FN are false positives and false negatives.

      The actual test results of different methods are shown in Table 4, The Difference Algorithm is derived from the method proposed in [26], while the time-frequency analysis (TFA) method is based on [21]. The remaining algorithms, including CNN2, ResNet, DenseNet, and CLDNN, are widely used in the field of modulation recognition. However, no prior research has applied these methods specifically to power line communication(PLC)signal recognition. Their selection is based on their effectiveness in modulation classification, as referenced in [35].

      An analysis of the tabulated data reveals that the Receiver Operating characteristic- area under the Curve (ROCAUC) for the time-domain difference method is below 0.6, indicating a classification performance barely exceeding chance levels, particularly in the poor identification of positive instances. Models two and three exhibit a higher detection rate for positive examples, yet their overall recognition accuracy remains low. They are prone to misclassifying distortion-free signals as distorted, which hinders accurate signal recognition under varying loads and at different times. In contrast, models four and five demonstrate higher accuracy. The proposed algorithm in this study achieves a model recognition accuracy of 92.32%, with enhanced specificity significantly reducing the likelihood of false alarms compared to other models. This characteristic enhances the system’s reliability. A comprehensive evaluation of the metrics indicates that the model introduced in this paper offers superior reliability and accuracy across diverse practical application scenarios.

      We conducted an additional computational efficiency comparison experiment to further demonstrate the proposed method’s advantages. This analysis evaluates key performance metrics, including training time, inference speed, and parameter count, as these factors are critical for real-time TWACS applications. The results are presented in Table 5.

      Table 5 presents a comparative analysis of computational efficiency and model complexity among different signal recognition methods. The table evaluates recognition accuracy, training time, inference speed, and parameter count, critical for real-time power line communication(PLC) applications. The ‘‘/” symbol indicates that the Difference Algorithm and TFA (Time-Frequency Analysis)methods are not machine learning models, thus lacking a training process. Additionally, TFA’s parameter count is omitted due to its reliance on complex mathematical transformations beyond simple neural network parameters. The results demonstrate the superior performance of the proposed DO-CAB model: Highest Recognition Accuracy:DO-CAB achieves 92.32% accuracy, significantly surpassing the Difference Algorithm (+29.82%), TFA (+18.82%),and outperforming deep learning models such as CNN2(+16.69%), ResNet (+4.71%), and DenseNet (+3.38%).Improved Training Efficiency: The training time of 425 s is 31.45% shorter than CNN2 (620 s) and slightly optimized compared to DenseNet (470 s, 9.57%), while maintaining a superior accuracy-performance trade-off over ResNet (414 s).Faster Inference Speed: DO-CAB achieves the fastest inference time (2.4 ms/sample) among deep learning models, reducing computational latency by 31.43% compared to CNN2 (3.5 ms) and outperforming ResNet (2.7 ms, 11.11%) and DenseNet (2.8 ms,14.29%). It also outperforms TFA (4.1 ms), reinforcing its suitability for real-time PLC applications. Lower Computational Complexity: DO-CAB’s parameter count(478,556) is 35.27% lower than CNN2 (739,330) and 10.53% lower than DenseNet (534,882), reducing memory and computational demand,making it ideal for low-power embedded PLC systems.

      Table 4 Actual test results of the model.

      network models ROC-AUC Accuracy Sensitivity Specificity Difference Algorithm 0.5945 0.625 0.442 0.747 TFA 0.7748 0.735 0.9735 0.576 CNN2 0.7929 0.7563 0.9758 0.61 ResNet 0.8898 0.8761 0.9583 0.8213 DenseNet 0.8935 0.8894 0.914 0.873 DO-CAB 0.9255 0.9232 0.9367 0.9142

      Table 5 Computational efficiency comparison.

      network models Accuracy/% Training Time/s Inference Speed/ (ms/sample) Parameter Count Difference Algorithm 62.5 / 0.1 202 TFA 73.5 / 4.1 /CNN2 75.63 620 3.5 739,330 ResNet 87.61 414 2.7 492,642 DenseNet 88.94 470 2.8 534,882 DO-CAB 92.32 425 2.4 478,556

      3 Conc lusions

      The DO-CAB model introduced in this paper has been validated through laboratory testing and field data analysis, demonstrating its practical utility in the identification of uplink signals for TWACS. Although the presence of substantial uncertainty in field data noise leads to discrepancies between the recognition outcomes and those from controlled laboratory settings, the model maintains high accuracy in the low-voltage distribution area with actual new energy integration. This suggests that the model possesses robust generalization capabilities. The findings underscore the significant potential of power line communication for real-world applications within smart grid infrastructure,contributing to the advancement and global competitiveness of smart grid development in China.

      This study’s field data is sourced exclusively from a lowvoltage distribution area integrated with new energy access. The scope does not currently extend to larger industrial distribution areas or other unique environments,which presents certain limitations. To this end, further indepth investigation will be conducted on the recognition algorithms. Achieving flawless recognition of power line TWACS signals is the ultimate goal,which would establish a robust foundation for a more efficient and intelligent power system.This,in turn,would stimulate technological innovation and advancement across the power industry.

      CRediT authorship contribution statement

      Guoxiang Hua: Data curation. Lianhai Tang: Formal

      analysis. Weiwei Li: Writing - review & editing, Writing- original draft, Conceptualization. Peng Li: Software.

      Declaration of competing interest

      The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

      Acknowledgments

      This work was supported by the State Key Laboratory Program of China (Grant/Award Number: LAPS23014)and the Wux i University Research Start-up Fund for Introduced Talents (Grant/Award Number: 2022r021).

      References

      1. [1]

        J.X. Shen, W.J. Cai, X.T. Chen, et al., Synergies of carbon neutrality, air pollution control, and health improvement: a case study of China energy interconn ection scenario, Global Energy Interconnect. 5 (5) (2022) 531-542. [百度学术]

      2. [2]

        J. Li, C.W. Sun, Q.Y. Su, Analysis of cascading failures of power cyber-physical systems considering false data injection attacks,Global Energy Interconnect. 4 (2) (2021) 204-213. [百度学术]

      3. [3]

        K. Sharma, L.M. Saini, Power-line communication s for smart grid:Progress, challenges, opportunities and status, Renew. Sustain.Energy Rev. 67 (2017) 704-751. [百度学术]

      4. [4]

        A.M. Tonello, F. Versolatto, A. Pittolo, In-home power line communication channel: Statistical characterization, IEEE Trans.Commun. 62 (6) (2014) 2096-2106. [百度学术]

      5. [5]

        N. Zhou, B.W. Shang, J.S. Zhang, et al., Modeling load distribution for rural photovoltaic grid areas using image recognition, Global Energy Interconnect. 7 (3) (2024) 270-283. [百度学术]

      6. [6]

        S.N. Li, X.R. Hu, K. Zheng, et al., Measurement and research on attenuation characteristics of low voltage power line communication channel, Power Syst. Protect. Contr. 46 (4)(2018) 99-106. [百度学术]

      7. [7]

        M. Katayama, T. Yamazato, H. Okada, A mathematical model of noise in narrowband power line communication systems, IEEE J.Sel. Areas Commun. 24 (7) (2006) 1267-1276. [百度学术]

      8. [8]

        Q. Wang, Z. Jing, C.C. Li, et al., A novel algorithm of physical layer resource allocation for broadband power line carrier communication, Electr. Measur. Instrum. 58 (7) (2021) 124-129. [百度学术]

      9. [9]

        T. Yang, Z.Y. He, Z.S. Sun, et al.,Research on cross-layer resource allocation algorithm for concurrent multi-service in broadband power line carrier communication, Power Syst. Technol. 45 (8)(2021) 3257-3267. [百度学术]

      10. [10]

        S.F. Li, Y.F. Zhang, H.J. Gao, et al., An ultra-long distance PLC communication protocol based on multi-frequency relay networking, J. Inner Mongolia Agricult. Univ. (Nat. Sci. Ed.) 43(3) (2022) 67-73. [百度学术]

      11. [11]

        S.P. Dash, R.K. Mallik, S.K. Mohammed, Coherent detection in a receive diversity PLC system under Nakagami-m noise environment, in: Proceedings of 2016 IEEE 27th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), 2016 in Valencia, Spain, 2016.pp. 1-6. [百度学术]

      12. [12]

        A. Mathur, M.R. Bhatnagar, B.K. Panigrahi, Performance evaluation of PLC under the combined effect of background and impulsive noises, IEEE Commun. Lett. 19 (7) (2015) 1117-1120. [百度学术]

      13. [13]

        A. Dubey, R.K. Mallik, PLC system performance with AF relaying, IEEE Trans. Commun. 63 (6) (2015) 2337-2345. [百度学术]

      14. [14]

        M. Wasowski, M. Habrych, T. Sikorski, et al., Sources of nonintentional supraharmonics in LV network and its impact on OSGP PLC communication-experimental study, IEEE Trans.Power Delivery 37 (6) (2022) 5244-5254. [百度学术]

      15. [15]

        A.O. Aderibole, E.K. Saathoff, K.J. Kircher, et al., Power line communication for low-bandwidth control and sensing, IEEE Trans. Power Delivery 37 (3) (2022) 2172-2181. [百度学术]

      16. [16]

        T. Bai, H.M. Zhang, J.J. Wang, et al.,Fifty years of noise modeling and mitigation in power-line communicatio ns, IEEE Commun.Surv. Tutorials 23 (1) (2021) 41-69. [百度学术]

      17. [17]

        F. Wang, D.K. Yuan, X.K. Zhang, Low-voltage inbound powerline communication based on talkative power conversion,IEEE J. Emerg. Selected Top. Power Electr. 12 (4) (2024) 3348-3359. [百度学术]

      18. [18]

        X.D. Liang, O. Ghoreishi, W. Xu, Downhole tool design for conditional monitoring of electrical submersible motors in oil field facilities, IEEE Trans. Ind. Appl. 53 (3) (2017) 3164-3174. [百度学术]

      19. [19]

        O. Ghoreishi, X.D. Liang, W. Xu, Phase-to-phase communication scheme for downhole monitoring tool design in electrical submersible pump systems, IEEE Trans. Ind. Appl. 52 (3) (2016)2077-2087. [百度学术]

      20. [20]

        Z.G. Du, S.X. Zhang, Z.J. Yao, et al.,Attack-detection and multiclock source cooperation-based accurate time synchronization for PLC-AIoT in smart parks, Digital Commun. Networks 10 (6)(2024) 1732-1740. [百度学术]

      21. [21]

        W.B. Lu, Research on the key technology of p ower line communication for remote monitoring of electric machine group,Electric Power University, North China, 2011. [百度学术]

      22. [22]

        S.T. Mak, T.G. Moore, TWACSTM, a new viable two-way automatic communication system for distribution networks. part II: Inbound communication, IEEE Trans. Power Syst.PAS-103(8)(1984) 2141-2147. [百度学术]

      23. [23]

        S. Ma, C.Y. Ji, Modeling heterogeneous network traffic in wavelet domain, IEEE/ACM Trans. Networking 9 (5) (2001) 634-649. [百度学术]

      24. [24]

        A.C. Cristan, A.T. Walden, Multitaper power spectrum estimation and thresholding: Wavelet packets versus wavelets, IEEE Trans.Signal Process. 50 (12) (2002) 2976-2986. [百度学术]

      25. [25]

        D. Shen, D. Zhao, Q. Li, et al.,Low-complexity soft-output signal detection on uplink for large-scale MIMO, Appl.Res.Comput.38(5) (2021) 1524-1528. [百度学术]

      26. [26]

        W. Liu, Automatic detection of uplink signal in power frequency communication system based on differential technology,Automat.Instrum. 10 (2022). [百度学术]

      27. [27]

        S.G. Lin, Y. Zeng, Y. Gong, Learning of time-frequency attention mechanism for automatic modulation recognition, IEEE Wireless Commun. Lett. 11 (4) (2022) 707-711. [百度学术]

      28. [28]

        R.J. Cheng, Q. Chen, M. Huang, Automatic modulation recognition using deep CVCNN-LSTM architecture, Alex. Eng.J. 104 (2024) 162. [百度学术]

      29. [29]

        M.F. Wang, Z.J. Zhu, G.F. Qian, Modulation signal recognition of underwater acoustic communication based on Archimedes optimization algorithm and random forest, Sensors 23 (5) (2023)2764. [百度学术]

      30. [30]

        Z. Yin, C.J. Wang, Z.H. Cheng, et al., An automatic modulation recognition algorithm based on convolutio nal neural networks with attention mechanism, Chinese J. Radio Sci.38(5)(2023)773. [百度学术]

      31. [31]

        K.T. Wu, X.G. Peng, Z.W. Chen, et al., A novel short-term household load forecasting method combined BiLSTM with trend feature extraction, Energy Rep. 9 (2023) 1013-1022. [百度学术]

      32. [32]

        T. Ali, S.A. Malik, A. Daraz, et al., Dandelion optimizer-based combined automatic voltage regulation and load frequency control in a multi-area, multi-source interconnected power system with nonlinearities, Energies 15 (22) (2022) 8499. [百度学术]

      33. [33]

        Q.L. Qian, W.H. Sun, Z. Wang, et al., GIS partial discharge data enhancement method based on self attention mechanism VAEGAN, Global Energy Interconnect. 6 (5) (2023) 601-613. [百度学术]

      34. [34]

        K.F. Nieman, J. Lin, M. Nassar, et al., Cyclic spectral analysis of power line noise in the 3-200 kHz band, in: Proceedings of 2013 IEEE 17th International Symposium on Power Line Communications and Its Applications. 2013 in Johannesburg,2013, pp. 315-320. [百度学术]

      35. [35]

        X.Y. Liu, D.Y. Yang, A. El Gamal, Deep neural network architectures for modulation classification, in: Proceedings of 51st Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, 2017 in USA. 2018. Pp. 915-919. [百度学术]

      Fund Information

      Author

      • Guoxiang Hua

        was born in Jiangsu Province,China, in 1985. He received his B.S. and M.S.degrees in Electrical Engineering from North China Electric Power University, Beijing,China, in 2008 and 2011, respectively. He is currently pursuing his Ph.D. degree at the same university. Since he was appointed an associate professor and master’s supervisor, he has been with the School of Automation, Wuxi University, Wuxi, China. His research interests include smart grids, machine learning, power communication, and intelligent control.

      Publish Info

      Received:

      Accepted:

      Pubulished:2026-10-16

      Reference: Guoxiang Hua,Lianhai Tang,Weiwei Li,et al.(2026) Optimized Bi-LSTM model with attention mechanism for power line communication signal recognition in the distribution network.Global Energy Interconnection,9(5):1,147-1,160.

      Share to WeChat friends or circle of friends

      Use the WeChat “Scan” function to share this article with
      your WeChat friends or circle of friends