Next Article in Journal
Comparison of Point Cloud Registration Techniques on Scanned Physical Objects
Next Article in Special Issue
Coded Excitation for Ultrasonic Testing: A Review
Previous Article in Journal
High-Density Glass Scintillators for Proton Radiography—Relative Luminosity, Proton Response, and Spatial Resolution
Previous Article in Special Issue
Full-Matrix Imaging in Fourier Domain towards Ultrasonic Inspection with Wide-Angle Oblique Incidence for Welded Structures
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ultrasonic Through-Metal Communication Based on Deep-Learning-Assisted Echo Cancellation

1
Engineering Training Center, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
2
College of Telecommunications & Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(7), 2141; https://doi.org/10.3390/s24072141
Submission received: 25 February 2024 / Revised: 21 March 2024 / Accepted: 26 March 2024 / Published: 27 March 2024
(This article belongs to the Special Issue Ultrasound Imaging and Sensing for Nondestructive Testing)

Abstract

:
Ultrasound is extremely efficient for wireless signal transmission through metal barriers due to no limit of the Faraday shielding effect. Echoing in the ultrasonic channel is one of the most challenging obstacles to performing high-quality communication, which is generally coped with by using a channel equalizer or pre-distorting filter. In this study, a deep learning algorithm called a dual-path recurrent neural network (DPRNN) was investigated for echo cancellation in an ultrasonic through-metal communication system. The actual system was constructed based on the combination of software and hardware, consisting of a pair of ultrasonic transducers, an FPGA module, some lab-made circuits, etc. The approach of DPRNN echo cancellation was applied to signals with a different signal-to-noise ratio (SNR) at a 2 Mbps transmission rate, achieving higher than 20 dB SNR improvement for all situations. Furthermore, this approach was successfully used for image transmission through a 50 mm thick aluminum plate, exhibiting a 24.8 dB peak-signal-to-noise ratio (PSNR) and a about 95% structural similarity index measure (SSIM). Additionally, compared with three other echo cancellation methods—LMS, RLS and PNLMS—DPRNN has demonstrated higher efficiency. All those results firmly validate that the DPRNN algorithm is a powerful tool to conduct echo cancellation and enhance the performance of ultrasonic through-metal transmission.

1. Introduction

In many sensing and control scenarios, signal transmission through metal barriers is necessary without physically penetrating them as much as possible. This includes monitoring the internal running status of a nuclear reactor [1,2], acquiring information from sensors deployed in high-pressure pipes [3,4], and passing data from one side of a watertight bulkhead to the other [5]. Traditional wireless communication based on electromagnetic waves is ineffective due to the Faraday shielding effect. Ultrasound propagates readily in metal; therefore, it has been suggested to replace electromagnetic waves for through-metal communication [6,7,8,9]. However, the acoustic impedance mismatch between the ultrasonic transducer and the metal structure leads to numerous acoustic reflections at interfaces. Consequently, the communication channel presents severe echoing, which further causes intersymbol interference (ISI) at a high data rate and limits the communication rate.
The echoing in the ultrasonic channel is considerably similar to the multipath effect and frequency-selective fading phenomenon observed in radio frequency (RF) communications, which is typically addressed by an equalizer performed at the output of the channel. Some filtering algorithms including least mean square (LMS), normalize least mean square (NLMS) recursive least square(RLS) [10,11,12], subband adaptive filter (SAF), and sparse filter (SF) [13,14,15] have been applied for equalization in the acoustic channel. It was found that frequently-used LMS and NLMS could not satisfyingly remove the echoing impact except its simplicity [10,11]. RLS, SAF and SF exhibited better performance, but their operation complexity partially prevented the actual utilization [13,14,15,16].
The echo cancellation was also investigated by using an experimental-based or model-driven filter at the input of the channel to pre-distort signals, which might simplify the receiver’s duties [17,18,19]. Primerano et al. introduced a canceling pulse at the transmitter of their communication system and destructively combined it with the echoes to suppress its amplitude [17]. Their report demonstrated that the data rate was significantly enhanced from 50 kbps to 1 Mbps. Following that, they further improved the echo cancelation process by building a more accurate model and using that model to derive a better pre-distorting filter [18]. Actually, the pre-distorting filter was constructed based on certain channel conditions, for instance, the metal type and wall thickness, and hence it easily lost robustness due to the diversity and variability of practical applications.
On the other hand, orthogonal frequency division multiplexing (OFDM) is considered a powerful solution to the multi-path problem. The OFDM technique divides the frequency-selective channel into orthogonal flat fading bands, allowing for a marked increase in data rate without using highly complex equalizers to correct signal fading. Previous literature indicated that OFDM-based communications could accomplish high-data-rate transmission through metal barriers [20,21,22]; however, one shortcoming of OFDM is that it will result in a high peak-to-average power ratio (PAPR). High PAPR means that the system should consume high power and employ a power amplifier with a broad linear range for the transmitter.
Over the past decade, deep learning (DL) has been widely used in engineering fields [23,24], for example, natural language processing. Some DL algorithms have been proven to be greatly efficient for treating unintelligible subjects in the physical layer of wireless communication where the channel conditions are unknown or too complicated for analyzing [25,26,27]. Recent reports indicated that DL-based methods were substantially powerful for echo cancellation at audio frequency, implying its potential application in ultrasonic communication [28,29]. It is noted that the ultrasonic wave used for through-metal communication is generally in the range of hundreds of kHz, which is two to three orders of magnitude higher than audio frequency. In this paper a DL algorithm of dual-path recurrent neural network (DPRNN) was investigated to undertake this task for an ultrasonic through-metal communication system. Additionally, to evaluate the validity of the DPRNN algorithm, the conventional LMS approach is comparatively employed to equalize the same channel. The communication system assisted with the trained DPRNN model exhibited a higher signal-to-noise ratio (SNR) signal transmission than the one only using LMS. Finally, the transmission of an image with 100 × 100 pixels was achieved in a 50 mm long aluminum channel to verify the advantage of the DPRNN strategy, and a 24.8 dB peak-signal-to-noise ratio (PSNR) and 95% structural similarity (SSIM) were, respectively, obtained for the recovered image.

2. Materials and Methods

2.1. Echoing Problem

As shown in Figure 1, the ultrasonic transmission channel consisted of a pair of coaxially aligned transducers and a 50 mm thick aluminum plate. The nominal resonance frequency of both transducers was 10 MHz. To obtain a good coupling, a thin layer of couplant gel was added between each one of the transducers and the metal plate. During propagation, ultrasound experiences reflection and refraction at the inner surface of the metal plate, causing the carried signals to reach the receiver through multiple paths. Due to the different lengths of these paths, the signals in the receiver exhibit various delays and attenuations, which further leads to the incorrect superposition of multiple signals. Consequently, signal distortion occurs and the communication performance deteriorates.
An impulse response test for this channel was conducted with a signal generator (DG1022U, RIGOL, Beijing, China) and an oscilloscope (DSO-X 2012A, Agilent, Beijing, China). In this test, the transmitting transducer was excited with a pulse of 20 volts and 50 ns (this pulse width of 50 ns was equal to one-half of the resonant period of transducers being chosen for maximizing the response amplitude of the receiving transducer), and the response at the receiving transducer was recorded with the oscilloscope. Figure 2 plotted the data collected from the impulse response experiment. The trace in Figure 2a is the signal exerted on the transmitting transducer, and the trace in Figure 2b is the waveform collected at the receiving transducer. It was found that the transducer acted as a bandpass filter, resonating at approximately 10 MHz. According to Figure 2, it can be calculated that the signal was attenuated by 17.96 dB by the time it reached the receiver.
The ultrasonic channel in Figure 1 could be looked at as a two-port network with transmitted and reflected power at each port. For obtaining the channel characteristics, a vector network analyzer (E5080A, KEYSIGHT, Beijing, China) was used to measure its scattering parameters which included the reflection coefficient for the transmitted port S 11 , the reverse power gain S 12 , the forward power gain S 21 , and the reflection coefficient for the received port S 22 . The voltage transfer function H ( f ) of the channel was calculated with these parameters using the expression:
H ( f ) = S 21 ( f ) 1 + S 11 ( f )
b 1 b 2 = [ S ] × a 1 a 2 = S 11 S 12 S 21 S 22 × a 1 a 2
where a 1 and a 2 were incident power waves on port 1 and port 2, respectively, and b 1 and b 2 were reflected power waves from port 1 and port 2, respectively.
Figure 3 shows a plot of S 21 2 ( 20 l o g 10 | S 21 | (dB)), the magnitude response of the channel. A dramatic frequency selectivity with periodic channel fading can be observed, which is attributed to the echoing of acoustic energy in the channel. For a frequency-selective channel, the multipath delay spread is defined as the arrival time difference between the first significant multipath and the last multipath, and its coherence bandwidth is defined as the frequency bandwidth over which the channel is correlated. These two indexes have a relationship as
F c = 1 D
where D is the delay spread, and F c is the coherence bandwidth.
The impulse response in Figure 2 clearly indicates that the first multipath signal in the channel appeared at 7.97 μ s which was approximately the time it took for the ultrasound to travel through the 50 mm thick aluminum barrier. The speed of sound in aluminum is 6.27 km/s. The last detectable multipath signal arrived at 57.06 μ s , meaning that the delay spread D of the channel was approximately 49.09 μ s . According to Equation (3), F c should be 20.37 kHz. Therefore, when a signal with a bandwidth larger than 20.37 kHz passes through the channel, severe intersymbol interference will appear. The intersymbol interference problem in RF communications is generally dealt with by the channel equalization method. Taking into account that channel equalization was considerably complex for an uncertain or unstable channel, in this study an elaborately trained DPRNN model was introduced into the communication system to perform the echo cancellation and hinder intersymbol interference.

2.2. System Architecture

Figure 4 depicts a block diagram of an ultrasonic through-metal communication system assisted with two alternative approaches of echo cancellation. The upper part of this figure is the system architecture similar to a general one, comprised of a signal transmitting side, a 50 mm long metal channel, and a signal receiving side. Signals undergo several processing steps upon entering the transmitting side, including source coding, ASK digital modulation, DA conversion, and signal amplification. Following that, the modulated ultrasound is transmitted into the metal channel via electroacoustic conversion afforded by the transmitting transducer. On the signal receiving side, ultrasonic signals are subjected to the reverse process including acoustoelectric conversion, signal amplification, AD conversion, synchronization, channel equalization, digital demodulation, and source decoding.
The lower part of Figure 4 illustrates that two alternative routes, LMS adaptive filtering and DPRNN processing, are utilized to replace the equalization module in the above system. LMS adaptive filtering as a typical equalization approach has been frequently used in traditional communication systems, here being conducted just for making a comparison of equalization efficiency with DPRNN. As for the DPRNN route, it simultaneously accomplishes equalization and synchronization tasks, which are mainly composed of segmentation, block processing and overlap-add. The introduction of LMS adaptive filtering or DPRNN algorithm into the channel mitigates the intersymbol interference that resulted from acoustic echoing.

2.3. Echo Cancellation Approach I: Adaptive Filtering

The internal structure of the LMS adaptive filter is shown in Figure 5, and adaptive algorithms are used to update the filter coefficients of the adaptive filter. LMS is a search algorithm in which weight coefficients w n of a filter are updated on the basis of the steepest descent, moving weight coefficients in proportion to the instantaneous gradient estimate of the mean square error [30]. The formula is as follows:
y n = w T n x N n
e n = d n y n
w n + 1 = w n + 2 μ e n x N n
where y n , · T , x T n , e n , d n and μ are the output signal, transposition operation, input signal, error signal, reference signal and step size, respectively. N denotes the filter order, which means the number of delay units in the filter, or the dimension of the filter’s weight vector. It can be seen that the filter coefficient update is driven by the error signal which generates filter coefficients in a manner of minimizing the error signal.
The PNLMS adaptive filter uses a variable step size parameter proportional to the filter taps’ sparsity to adjust the convergence rate. It determines the active state based on tap sparsity, assigning larger step sizes to active taps for faster convergence and smaller step sizes to inactive taps for reduced steady-state error. Literature indicated that PNLMS had a much higher convergence rate than LMS. The PNLMS filter weight update formula is as follows:
w ( n + 1 ) = w ( n ) + μ G ( n + 1 ) δ + x T ( n ) G ( n + 1 ) x ( n ) · e ( n ) x ( n )
where G ( n ) is an N-dimensional diagonal gain matrix used to allocate step length weights to the filter’s weight coefficients, and δ is a regularization parameter.
The fundamental principle of the RLS algorithm involves utilizing the available observation data to estimate the necessary filter coefficients and minimizing the mean square error of prediction in order to optimize the filtering effect. The formula is as follows:
w ( n ) = w ( n 1 ) + k ( n ) e ( n )
k ( n ) = P ( n 1 ) x ( n ) λ + x T ( n ) P ( n 1 ) x ( n )
P ( n ) = 1 λ [ P ( n 1 ) k ( n ) x T ( n ) P ( n 1 ) ]
where k ( n ) , P ( n ) and λ are the gain vector, inverse matrix and forgetting factor. The further away from time n, the smaller the weight allocated to the error, with λ determining the magnitude of the weight between 0 and 1.

2.4. Echo Cancellation Approach II: DPRNN

In comparison to traditional recurrent neural networks (RNN), DPRNN is a recently proposed neural network algorithm with much higher computation efficiency for long sequence modeling [31,32,33,34]. RNN readily suffers from gradient vanishing and explosion when handling long sequential data and exhibits long-term dependency. DPRNN handles long sequences in a unique way of segmenting them into shorter sub-sequences of fixed length. This network structure incorporates two types of RNN: an intra-chunk RNN in which the training within sub-sequence is conducted, and an inter-chunk RNN in which the modeling operation between sub-sequences is conducted, respectively, responsible for handling local and global information. Each RNN block receives only a small number of time steps throughout the entire sequence and thereby simplifies the optimization training. Considering that ultrasonic communication involves the transmission of long sequential signals, we pioneeringly take advantage of DPRNN as a reasonable approach for echo cancellation.
As Figure 6 shows, the DPRNN architecture is comprised of three stages: segmentation, block processing, and overlap-add. In the first stage, the continuous input is divided into overlapped blocks, and then all these blocks are concatenated into a three-dimensional tensor. Secondly, the tensor is passed to stacked DPRNN blocks to iteratively perform local and global modeling. Finally, the output of the last layer is transformed into an output sequence through the overlap-add way.
The segmentation operation divides continuous input signals with a feature dimension of N and a time step of L into overlapped blocks of length K and hop size P, where K = 2 P . This performance results in S blocks with equal size, denoted as D s R N × K ,   s = 1 , , S . Subsequently, all the blocks are concatenated to form a 3D tensor T = [ D 1 , , D S ] R N × K × S .
Block processing takes the segmented output T and passes it through B DPRNN blocks. Each block accomplishes both intra- and inter-chunk processing, yielding another T b R N × K × S with the same shape as the input, where b = 1 , , B . The intra-clunk RNN is kept bidirectional, and applied to the second dimension of T b :
U b = f b T b , s
Here, U b R H × K × S is the output of the intra-chunk RNN, H is the hidden dimension of the RNN, and f b ( · ) is the mapping function. T b , s = T b [ : , : , s ] R N × K ,   s = 1 , , S denotes the sequence corresponding of data block s. The feature dimension of U b is transformed to match that of T b using a linear fully-connected (FC) layer, and then layer normalization (LN) is conducted to enhance generalization:
L N U ^ b = U ^ b μ U ^ b σ U ^ b + ε z + r
where U ^ b = G U b , s + m is the transformed output, G R N × H and m R N × 1 are, respectively, the weights and biases of the FC layer, z and r R N × 1 are scaling factors, μ ( · ) and σ ( · ) represent, respectively, the mean and variance of the 3D tensor, and ⊙ denotes the Hadamard product. A residual connection is established by adding the LN output to its input, formulated as T ^ b = T b + L N ( U ^ b ) . The intermediate tensor T ^ b is then fed as the input to the inter-chunk RNN. This feeding operation is conducted on its third dimension which corresponds to the k time steps within each block:
V b = h b T ^ b , k
Here, V b R H × K × S denotes the output of the RNN, h b ( · ) is the mapping function defined by the RNN and T ^ b , k is the sequence corresponding to the k-th time step within each block. Similar to the inter-chunk RNN, V b also undergoes linear FC layer and then LN operations, being further treated with the addition of a residual connection between the output and T ^ b to form the output of block b. For b < B , the output of block b acts as the input to the next block T b + 1 .
Finally, the S blocks are recombined using an overlap-add method to obtain the final output Q R N × L , meaning that the reconstruction of the long sequence signal has been accomplished.

2.5. Implementation of Signal Transmission

Each module in the aforementioned communication system was actually constructed with the means of hardware or software for the signal transmission experiment. Figure 7 illustrates the constructed signal transmitting side, which utilizes a field programmable logic gate array (FPGA, EP4CE10F17C8, Cyclone IV E) as its core unit. The FPGA contains two image acquisition methods: camera and data interface, and generates a carrier wave with its numerically controlled oscillator (NCO). After image data are collected by the FPGA, they undergo sequentially SDRAM buffering, parallel-serial conversion, and ASK digital modulation. Since the output signals of the FPGA are digital, a DA circuit is applied to carry out the digital-to-analog conversion. Converted signals further experience bandpass filtering to remove out-of-band noise and their amplitude is increased by an amplification circuit. Finally, the ultrasonic transmitting transducer is driven to transmit ultrasonic signals into the metal channel.
As depicted in Figure 8, the signal-receiving side is actually constructed with an amplification circuit, an AD conversion circuit, and a personal computer (PC). After the received signals pass through amplification and AD conversion circuits, they are captured by an oscilloscope and then sent to the PC. Within the PC, signals are treated with two routes of echo cancellation. One route is called LMS adaptive filtering which is built with Matlab. Another one is DPRNN processing which is established with Python. The implementation of ASK demodulation, serial-parallel conversion and image restoration are also performed on the PC.
A photo of the constructed ultrasonic communication system is shown in Figure 9. It is noted that data were simultaneously collected at two sites of the transmitting transducer and AD conversion circuit with the oscilloscope, denoted as S T ( t ) and S R ( t ) , respectively. The carrier frequency f c was set as 10 MHz, while the sampling frequency f s was set as 50 MHz, and the transmission rate was kept at 2 Mpbs. Continuous data sampling was conducted for a duration of 1.2 s, producing 60 million data points at each signal collection site. As for the DPRNN route of echo cancellation, the data streams S T ( t ) and S R ( t ) were, respectively, partitioned into 20,000 segments, with each segment containing 3000 data points. By grouping together corresponding data segments from S T ( t ) and S R ( t ) that were captured simultaneously, a total of 20,000 data sets were formed.
The training of the LMS adaptive filter and DPRNN model was conducted on a PC equipped with a Geforce MX450 (2G) graphics card. The DPRNN model was developed based on the PyTorch deep learning framework, utilizing Python interpreter version 3.8. Signals captured from the transmitting transducer served as source signals, and were used as the labels for the model; signals captured from the receiving transducer contained echoes and noise. The data treated with echo cancellation of LMS and DPRNN were signed as S L M S ( t ) and S D P R N N ( t ) , respectively.

3. Results

3.1. Data Transmission

3.1.1. Generating Initial Received Signals with Different SNRs

In ultrasonic communication systems, the characteristics of the channel are highly sensitive to many physical conditions such as channel length, the coaxial alignment offset of the transmitting and receiving transducers, and environmental temperature. Any variation in channel conditions may lead to fluctuations in energy dissipation, acoustic echo, and noise intrusion within the channel. These variations and fluctuations generally have a considerable impact on signal attenuation, delay, and waveform distortion. SNR is one of the most crucial metrics for assessing signal quality. In order to evaluate the effectiveness of the LMS adaptive filter and DPRNN models for echo cancellation, we artificially made the received signals S R t with different SNRs. Here, SNR was defined as the ratio of the power of the reference waveform to the power of the estimated waveform as follows:
S N R x , x ^ = 10 l o g 10 x ^ 2 x ^ x 2
where x and x ^ represented the estimated waveform and reference waveform, respectively.
Two methods were adopted to generate the above-mentioned signals at a 2 Mbps transmission rate. Method 1 was to change the channel length by using aluminum plates with thicknesses of 30 mm, 40 mm, 50 mm, and 60 mm, respectively. Method 2 was to adjust the alignment offset distance of the transmitting and receiving transducers along their axis while keeping the 50 mm long aluminum channel for data transmission. For both transducers with the same diameter of 16 mm, offset distances were set as 0 mm, 6 mm, 12 mm, and 18 mm, respectively. Table 1 shows the different SNRs of the signals collected at the AD conversion circuit of the signal receiving side under various channel conditions, implying that SNR is highly affected by channel conditions.

3.1.2. Quality Evaluation Indexes of Signal Recovery

Besides SNR, we introduced scale-invariant signal-to-noise ratio (SISNR), normalized correlation coefficient (NCC), bit error rate (BER) and echo return loss enhancement (ERLE), to more sufficiently assess the applicability of the LMS adaptive filter and DPRNN model for echo cancellation. SISNR might remodify the clean signal using a scaling factor, ensuring that the distorted portion and the clean signal vector are orthogonal. This index eliminates substantial distortion resulting from the SNR when the generated and true signals hold parallel directions and different amplitudes but share similar waveforms. SISNR is formulated as below:
S I S N R = 10 log 10 | | x t a r g e t | | 2 | | e n o i s e | | 2
x t a r g e t = x ^ , x x | | x | | 2 e n o i s e = x ^ x t a r g e t
where, x t a r g e t denotes the norm of the clean signal, and the e n o i s e represents the norm of the difference between the clean signal and the estimated signal.
NCC is a parameter to quantify the overall waveform similarity before and after signal denoising, which is expressed as follows:
N C C = n = 1 N A s n A d n ( n = 1 N A s n 2 ) ( ( n = 1 N A d n 2 ) )
where A s n is the reference signal and A d n is the separated signal. In this study, a higher NCC means a better efficiency of echo cancellation.
BER is the probability of code transmission error and is calculated as:
P e = 1 4 e r f c r 4 + 1 2 e r 4
where r = 20 lg ( V s / V n ) , V n is the amplitude of received signals, and V n represents the amplitude of the noise in received signals.
ERLE is a metric used to evaluate the performance of echo cancellation in acoustic systems, indicating the degree of improvement in the audio signal after echo elimination. ERLE is defined as below:
E R L E = 10 log 10 E { y 2 ( n ) } E { s 2 ( n ) }
In the equation, y ( n ) represents the desired signal and s ( n ) represents the estimated signal. A higher ERLE value indicates a better echo cancellation.

3.1.3. Comparison of Echo Cancellation Performance

During the training of the DPRNN model, the dataset of 20,000 pairs of data was divided into a training set, validation set, and test sets with a ratio of 6:2:2, ensuring sizable validation and test sets for evaluating the model performance. Considering the computational efficiency and memory capacity limitation, the block size K for segmentation was set as 250. Within each block, a bidirectional long-short-term memory (LSTM) layer [35] was employed with 128 hidden units in each direction to effectively capture complex temporal dependencies in both directions. The configuration of the inter-block RNN was the same as the intra-block RNN. The DPRNN model consisted of two interleaved intra-block RNNs and two inter-block RNNs. The Adam optimizer [36] was adopted with an initial learning rate of 0.001, a learning rate decay of 0.95 for every two epochs, and an initial training of 50 epochs for all training sets. The decay of the learning rate is used as a rule for fine-tuning the model over the entire duration. This prevents it from getting stuck in suboptimal solutions. To maximize the SISNR value during the training, SISNR was used as the loss function in the DPRNN model.
Figure 10 plots the training loss and valid loss of the trained network with different epochs. It can be observed that the validation set’s loss function began to stabilize around the 40th epoch. To prevent overfitting, the model trained with 40 epochs was selected for echo cancellation in the ultrasonic through-metal communication.
Table 2 lists the signal quality of DPRNN-based echo cancellation, and compares it with the LMS, PNLMS and RLS algorithms. All four evaluation indexes of the signals treated with the DPRNN algorithm are very impressive. In practice, NCC of 0.9829, BER of 3.502 × 10 4 and ERLE of 32.53 should sufficiently meet most application requirements. Compared with the adaptive algorithms listed, the DPRNN algorithm displayed a more distinct improvement in efficiency, and its BER was two orders of magnitude higher than that of LMS.
Figure 11 presents the partial waveforms of signals before and after LMS, RLS, PNLMS and DPRNN echo cancellation, i.e., six series of signals: S T t and S R t are, respectively, collected on the transmitting and receiving transducer; S L M S t , S R L S t and S P N L M S t are independently collected after LMS, RLS and PNLMS adaptive filtering; and S D P R N N t collected after DPRNN treatment. A 50 mm thick aluminum plate and an 18 mm offset distance of axial alignment are chosen as the channel conditions. It can be found that after being processed with the DPRNN model, echoes as well as other noises have been fairly eliminated from the source signals, firmly proving the effectiveness of the DPRNN-based approach. Moreover, the distortion level of signals dealt with the DPRNN approach is far lower than that of signals treated with adaptive filtering.
As shown in Figure 12, SNR of initial received signal apparently affects echo cancellation of LMS, RLS, PNLMS and DPRNN. Low SNR of initial received signal suppresses the efficiency of the adaptive filter and DPRNN model, but compared with adaptive algorithms listed, DPRNN exhibits higher bearing capability against this impact in a fashion of relatively slow declining rate. After these signals with different initial SNRs were conducted with DPRNN echo cancellation, their SNR improvements were still higher than 20 dB, implying that they were greatly applicable.

3.2. Image Transmission

Based on the aforementioned adaptive filter and trained DPRNN model, we conducted the image transmission through a 50 mm thick aluminum metal plate. On the transmitting side, the FPGA chip acquires the data of an image with 100 × 100 pixels with one of its I/O interfaces and saves them in its ROM. This image has the RGB565 color format in which each pixel uses 16 bits for color value. As shown in Figure 13, each pixel cell is composed of start, sync, data, parity, end and guard interval bits, entirely occupying 32 bits. The following steps of signal transmission were the same as those of the aforementioned data transmission. The image recovery was also implemented with Matlab, being involved multiple steps: signal reading, AC-DC conversion, envelope extraction, sampling and decision-making. Finally, the recovered images were displayed on the PC screen.
Figure 14 displays images recovered from signals treated with different approaches of echo cancellation. Figure 14b is the recovered image without any echo cancellation, in which severely distorted lines and colors imply the existence of strong intersymbol interference. Figure 14c is the image recovered after received signals undergo LMS adaptive filtering. The distortion degrees of patterns and colors in Figure 14c have been obviously mitigated in comparison with Figure 14b, revealing that LMS adaptive filtering can serve echo cancelation and weaken intersymbol interference to some extent. Figure 14d represents the image recovered after received signals were processed with DPRNN echo cancellation. In this case, no discernible distortion can be found, meaning that both intersymbol interference and noise have been almost eliminated, and DPRNN is significantly effective for echo cancellation.
To quantitatively evaluate the image recovery, two metrics are adopted: peak signal-to-noise ratio (PSNR), structural similarity index measure (SSIM) and color difference value ( Δ E ). PSNR denotes the ratio of the maximum possible power of a signal to the power of the noise that affects its representation accuracy, formulated as below:
P S N R = 10 lg M A X I 2 M S E
M S E = 1 m n j = 0 n 1 I i , j K i , j 2
where M A X I is the possible maximum pixel value in the image. If the pixels are represented by N-bit binary, M A X I = 2 N 1 . MSE denotes the mean square error, with I representing the clean image and K representing the noisy image.
SSIM is a reliable scale for measuring the similarity between two images of x and y and contains three major features: luminance, contrast, and structure. A higher SSIM value indicates better image restoration quality in this study. SSIM is calculated as follows:
S S I M x , y = l x , y α · c x , y β · s x , y γ
l x , y = 2 μ x μ y + c 1 μ x 2 + μ y 2 + c 1
c x , y = 2 σ x σ y + c 2 σ x 2 + σ y 2 + c 2
s x , y = σ x y + c 3 σ x σ y + c 3
In the SSIM formula, l x , y , c x , y , and s x , y denote the similarity of luminance, contrast, and structure between x and y, respectively. μ x and μ y are, respectively, the mathematical means of x and y; σ x 2 and σ y 2 are, respectively, the variances of x and y, and σ x y is the covariance between x and y. The constants c 1 , c 2 , and c 3 are used to avoid division by zero. α , β , and γ represent the weighting factors for different features in the SSIM measurement, here customarily set to 1.
Δ E as an important indicator was proposed by the International Commission on Illumination (CIE) to evaluate color accuracy, with the Δ E 2000 defined as:
Δ E = Δ L K L S L 2 + Δ C K C S C 2 + Δ H K H S H 2 + R T Δ C Δ H K C S C K H S H
The equation includes parameters K L , K C , K H for luminance, chroma, and hue factors; Δ L , Δ C , Δ H for their respective differences and weighting factors S L , S C , S H for each. R T is the rotation factor. By calculating the Δ E between the original image and the image restored after echo cancellation, color fidelity can be evaluated. Typically, a smaller Δ E value indicates a higher quality of image restoration.
Table 3 shows the computed evaluation indexes of image restoration for different echo cancellation methods. As can be seen, both the LMS filter and DPRNN model remarkably enhance the image restoration level, and the DPRNN model is far more efficient in echo cancellation than the LMS filter. SSIM in the DPRNN case is up to 0.9471 high, which is quite favorable from the view of image restoration.

4. Conclusions

In this study, the application of the DPRNN approach for echo cancellation was investigated in the ultrasonic through-metal communication system. Firstly, the characterization of the ultrasonic channel was examined through the experiment of impulse response and magnitude response, revealing that owing to the echo cancellation, the coherence bandwidth was only 20.37 kHz and strong frequency selectivity existed. Subsequentially, an actual system was constructed based on software and hardware, consisting of a pair of ultrasonic transducers, an FPGA module, some lab-made circuits, etc. Two approaches of LMS and DPRNN echo cancelation were comparatively applied to signals with different SNRs at a 2 Mbps transmission rate. Both exhibited a substantial improvement in signal quality, but the DPRNN one evidently achieved much higher efficiency with 20 dB SNR improvements for all situations. Furthermore, the image transmissions through a 50 mm thick aluminum plate were conducted in which the DPRNN also performed well, and achieved a 24.8 dB PSNR and about 95% SSIM. We sufficiently demonstrated that the DPRNN echo cancellation was a suitable choice to improve the ultrasonic through-metal transmission.

Author Contributions

Conceptualization, Z.C. and J.Z. (Jinya Zhang); methodology, Z.C. and M.J.; software, M.J.; validation, M.J., J.Z. (Jingyi Zhang) and Z.C.; formal analysis, Z.C. and M.J.; investigation, Z.C. and M.J.; resources, Z.C.; data curation, M.J. and J.Z. (Jingyi Zhang); writing—original draft preparation, M.J.; writing—review and editing, Z.C., M.J., J.Z. (Jingyi Zhang) and M.G.; visualization, M.J.; supervision, Z.C. and J.Z. (Jinya Zhang); project administration, Z.C. and J.Z. (Jinya Zhang); funding acquisition, Z.C. and J.Z. (Jinya Zhang). All authors have read and agreed to the published version of the manuscript.

Funding

National Natural Science Foundation 62371253.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data included in this study are available upon request by contact with the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DPRNNDual-path Recurrent Neural Network
SNRSignal-to-noise Ratio
PSNRPeak-signal-to-noise Ratio
SSIMStructural Similarity Index Measure
ISIIntersymbol Interference
RFRadio Frequency
LMSLeast Mean Square
NLMSNormalize Least Mean Square
OFDMOrthogonal Frequency Division Multiplexing
PAPRPeak-to-average Power Ratio
DLDeep Learning
SISNRScale-invariant Signal-to-noise Ratio
NCCNormalized Correlation Coefficient
BERBit Error Rate

References

  1. Bahouth, R.; Benmeddour, F.; Moulin, E.; Assaad, J. Lamb wave wireless communication through healthy and damaged channels with symmetrical and asymmetrical steps and notches. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2022, 69, 2390–2399. [Google Scholar] [CrossRef] [PubMed]
  2. Sun, K.; Wu, Y.; Qian, F.; Jung, H.; Kaluvan, S.; Huijin, H.; Zhang, C.; Reed, F.K.; Ericson, M.N.; Zhang, H. Self-powered Through-wall communication for dry cask storage monitoring. Ann. Nucl. Energy 2022, 177, 109306. [Google Scholar] [CrossRef]
  3. Guo, H.; Prince, M.; Ramsey, J.; Turner, J.; Allen, M.; Samuels, C.; Nuako, J.A. A Low-cost Through-metal Communication System for Sensors in Metallic Pipes. IEEE Sens. J. 2023, 23, 8952–8960. [Google Scholar] [CrossRef]
  4. Chakraborty, S.; Saulnier, G.J.; Wilt, K.W.; Curt, E.; Scarton, H.A.; Litman, R.B. Low-power, low-rate ultrasonic communications system transmitting axially along a cylindrical pipe using transverse waves. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2015, 62, 1788–1796. [Google Scholar] [CrossRef] [PubMed]
  5. Bielinski, M.; Wanuga, K.; Sosa, G.; Primerano, R.; Kam, M.; Dandekar, K.R. Transceiver design for high-data rate through-metal communication in naval applications. Nav. Eng. J. 2013, 125, 121–126. [Google Scholar]
  6. Pereira, R.B.; Braga, A.M.; Kubrusly, A.C. Ultrasonic Energy and Data Transfer through a Metal—Liquid Multi-Layer Channel Enhanced by Automatic Gain and Carrier Control. Sensors 2023, 23, 4697. [Google Scholar] [CrossRef] [PubMed]
  7. Sugino, C.; Gerbe, R.; Baca, E.; Reinke, C.; Ruzzene, M.; Erturk, A.; El-Kady, I. Machined phononic crystals to block high-order Lamb waves and crosstalk in through-metal ultrasonic communication systems. Appl. Phys. Lett. 2022, 120, 191705. [Google Scholar] [CrossRef]
  8. Zhang, J.; Yu, Z.; Yang, H.; Wu, M.; Yang, J. Ultrasonic Wireless Communication through Metal Barriers. Sound Vib. 2019, 53, 2–15. [Google Scholar] [CrossRef]
  9. Yang, D.-X.; Hu, Z.; Zhao, H.; Hu, H.-F.; Sun, Y.-Z.; Hou, B.-J. Through-metal-wall power delivery and data transmission for enclosed sensors: A review. Sensors 2015, 15, 31581–31605. [Google Scholar] [CrossRef]
  10. Pujari, S.S.; Panda, A.; Dash, P. Design & Implementation of FPGA based Adaptive Filter for Echo Cancellation. In Proceedings of the International Conference for Convergence for Technology—2014, Pune, India, 6–8 April 2014. [Google Scholar]
  11. Pauline, S.H.; Samiappan, D.; Kumar, R.; Anand, A.; Kar, A. Variable tap-length non-parametric variable step-size NLMS adaptive filtering algorithm for acoustic echo cancellation. Appl. Acoust. 2020, 159, 107074. [Google Scholar] [CrossRef]
  12. Dogariu, L.M.; Paleologu, C.; Benesty, J.; Ciochină, S. On the Performance of a Data-Reuse Fast RLS Algorithm for Acoustic Echo Cancellation. In Proceedings of the 2022 IEEE International Black Sea Conference on Communications and Networking (BlackSeaCom), Sofia, Bulgaria, 6–9 June 2022; pp. 135–140. [Google Scholar]
  13. Duttweiler, D.L. Proportionate normalized least-mean-squares adaptation in echo cancelers. IEEE Trans. Speech Audio Process. 2000, 8, 508–518. [Google Scholar] [CrossRef]
  14. Lee, K.A.; Gan, W.S.; Kuo, S.M. Subband Adaptive Filtering: Theory and Implementation; John Wiley & Sons: Hoboken, NJ, USA, 2009. [Google Scholar]
  15. Guo, G.; Yu, Y.; de Lamare, R.C.; Zheng, Z.; Lu, L.; Cai, Q. Proximal normalized subband adaptive filtering for acoustic echo cancellation. IEEE/ACM Trans. Audio Speech Lang. Process. 2021, 29, 2174–2188. [Google Scholar] [CrossRef]
  16. Bahraini, T.; Sadigh, A.N. Proposing a robust RLS based subband adaptive filtering for audio noise cancellation. Appl. Acoust. 2024, 216, 109755. [Google Scholar] [CrossRef]
  17. Primerano, R.; Wanuga, K.; Dorn, J.; Kam, M.; Dandekar, K. Echo-cancellation for ultrasonic data transmission through a metal channel. In Proceedings of the 2007 41st Annual Conference on Information Sciences and Systems, Baltimore, MD, USA, 14–16 March 2007; pp. 841–845. [Google Scholar]
  18. Primerano, R.; Kam, M.; Dandekar, K. High bit rate ultrasonic communication through metal channels. In Proceedings of the 2009 43rd Annual Conference on Information Sciences and Systems, Baltimore, MD, USA, 18–20 March 2009; pp. 902–906. [Google Scholar]
  19. Tian, D.; Yang, D.; Hou, B. Identification and Communication Simulation of an Ultrasonic Through-metal-wall Channel. In Proceedings of the 2nd International Conference on Computer Engineering, Information Science & Application Technology, Wuhan, China, 8–9 July 2016; Volume 74, pp. 621–625. [Google Scholar]
  20. Xu, L.S.; Yang, W.; Tian, H.X. A Channel Estimation Method for Ultrasonic Through-Metal Communication. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2022, 69, 823–832. [Google Scholar] [CrossRef] [PubMed]
  21. Oya, J.R.G.; Miguel, J.M.A.; Doblado, J.G.; Chavero, F.M.; Fort, E.H.; Lecuyer, V.B.; Martín, A.J.L. Subsampling ofdm-based ultrasonic data communication through metallic channels for monitoring of cargo containers. IEEE Trans. Intell. Transp. Syst. 2018, 20, 4245–4250. [Google Scholar]
  22. Xu, L.; Yang, W.; Tian, H.; Wu, T. Bit-filling algorithm for fast subcarrier-selecting in ultrasonic through-metalcommunication. J. Commun. 2020, 41, 11. [Google Scholar]
  23. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
  24. Mnih, V.; Kavukcuoglu, K.; Silver, D.; Rusu, A.A.; Veness, J.; Bellemare, M.G.; Graves, A.; Riedmiller, M.; Fidjeland, A.K.; Ostrovski, G. Human-level control through deep reinforcement learning. Nature 2015, 518, 529–533. [Google Scholar] [CrossRef]
  25. Soltani, M.; Pourahmadi, V.; Mirzaei, A.; Sheikhzadeh, H. Deep learning-based channel estimation. IEEE Commun. Lett. 2019, 23, 652–655. [Google Scholar] [CrossRef]
  26. Shen, B.; Huang, C.; Xu, W.; Yang, T.; Cui, S. Blind channel codes recognition via deep learning. IEEE J. Sel. Areas Commun. 2021, 39, 2421–2433. [Google Scholar] [CrossRef]
  27. Mattu, S.R.; Theagarajan, L.N.; Chockalingam, A. Deep channel prediction: A DNN framework for receiver design in time-varying fading channels. IEEE Trans. Veh. Technol. 2022, 71, 6439–6453. [Google Scholar] [CrossRef]
  28. Zhang, C.; Zhang, X. A Robust and Cascaded Acoustic Echo Cancellation Based on Deep Learning. In Proceedings of the INTERSPEECH, Shanghai, China, 25–29 October 2020; pp. 3940–3944. [Google Scholar]
  29. Ivry, A.; Cohen, I.; Berdugo, B. Nonlinear acoustic echo cancellation with deep learning. arXiv 2021, arXiv:2106.13754. [Google Scholar]
  30. Butterweck, H.-J. A wave theory of long LMS adaptive filters. In Proceedings of the 2000 10th European Signal Processing Conference, Tampere, Finland, 4–8 September 2000; pp. 1–4. [Google Scholar]
  31. Luo, Y.; Chen, Z.; Yoshioka, T. Dual-path RNN: Efficient long sequence modeling for time-domain single-channel speech separation. In Proceedings of the ICASSP 2020—2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Barcelona, Spain, 4–8 May 2020; pp. 46–50. [Google Scholar]
  32. Li, C.; Luo, Y.; Han, C.; Li, J.; Yoshioka, T.; Zhou, T.; Delcroix, M.; Kinoshita, K.; Boeddeker, C.; Qian, Y. Dual-path RNN for long recording speech separation. In Proceedings of the 2021 IEEE Spoken Language Technology Workshop (SLT), Shenzhen, China, 19–22 January 2021; pp. 865–872. [Google Scholar]
  33. Wijayakusuma, A.; Gozali, D.R.; Widjaja, A.; Ham, H. Implementation of Real-Time Speech Separation Model Using Time-Domain Audio Separation Network (TasNet) and Dual-Path Recurrent Neural Network (DPRNN). Proc. Comput. Sci. 2021, 179, 762–772. [Google Scholar] [CrossRef]
  34. Zhu, J.; Yeh, R.A.; Hasegawa-Johnson, M. Multi-decoder DPRNN: Source separation for variable number of speakers. In Proceedings of the ICASSP 2021—2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada, 6–11 June 2021; pp. 3420–3424. [Google Scholar]
  35. Graves, A.; Graves, A. Long short-term memory. In Supervised Sequence Labelling with Recurrent Neural Networks; Springer: Berlin/Heidelberg, Germany, 2012; pp. 37–45. [Google Scholar]
  36. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
Figure 1. Ultrasonic transmission channel.
Figure 1. Ultrasonic transmission channel.
Sensors 24 02141 g001
Figure 2. Impulse response of the 50 mm long aluminum channel with a pair of coaxially aligned ultrasonic transducers. (a) signal exerted on the transmitting transducer. (b) signals collected at the receiving transducer.
Figure 2. Impulse response of the 50 mm long aluminum channel with a pair of coaxially aligned ultrasonic transducers. (a) signal exerted on the transmitting transducer. (b) signals collected at the receiving transducer.
Sensors 24 02141 g002
Figure 3. Magnitude response of the 50 mm long aluminum channel with a pair of coaxially aligned ultrasonic transducers.
Figure 3. Magnitude response of the 50 mm long aluminum channel with a pair of coaxially aligned ultrasonic transducers.
Sensors 24 02141 g003
Figure 4. System architecture of ultrasonic through-metal communication.
Figure 4. System architecture of ultrasonic through-metal communication.
Sensors 24 02141 g004
Figure 5. Internal structure of the LMS adaptive filtering.
Figure 5. Internal structure of the LMS adaptive filtering.
Sensors 24 02141 g005
Figure 6. Block diagram of DPRNN algorithm.
Figure 6. Block diagram of DPRNN algorithm.
Sensors 24 02141 g006
Figure 7. Actual construction of the signal transmitting side.
Figure 7. Actual construction of the signal transmitting side.
Sensors 24 02141 g007
Figure 8. Actual constructure of the signal receiving side.
Figure 8. Actual constructure of the signal receiving side.
Sensors 24 02141 g008
Figure 9. Photo of actual ultrasonic through-metal communication system.
Figure 9. Photo of actual ultrasonic through-metal communication system.
Sensors 24 02141 g009
Figure 10. Loss function curves of DPRNN for echo cancellation.
Figure 10. Loss function curves of DPRNN for echo cancellation.
Sensors 24 02141 g010
Figure 11. Signals before and afte echo cancellation. (a) Signals S T t on the transmitting transducer. (b) Signals S R t on the receiving transducer. (c) Signals S L M S t after LMS adaptive filtering. (d) Signals S R L S t after RLS adaptive filtering. (e) Signals S P N L M S t after PNLMS adaptive filtering. (f) Signals S D P R N N t after DPRNN treating.
Figure 11. Signals before and afte echo cancellation. (a) Signals S T t on the transmitting transducer. (b) Signals S R t on the receiving transducer. (c) Signals S L M S t after LMS adaptive filtering. (d) Signals S R L S t after RLS adaptive filtering. (e) Signals S P N L M S t after PNLMS adaptive filtering. (f) Signals S D P R N N t after DPRNN treating.
Sensors 24 02141 g011
Figure 12. Effect of initial received signals’ SNR on SNR of signals treated with LMS, RLS, PNLMS and DPRNN, respectively.
Figure 12. Effect of initial received signals’ SNR on SNR of signals treated with LMS, RLS, PNLMS and DPRNN, respectively.
Sensors 24 02141 g012
Figure 13. Data structure of Pixel cell.
Figure 13. Data structure of Pixel cell.
Sensors 24 02141 g013
Figure 14. Images recovered from signals treated with different approaches of echo cancellation. (a) image collected by FPGA chip in the transmitting side. (b) image recovered from signals without any echo cancellation. (c) image recovered from signals with LMS adaptive filtering. (d) image recovered from signals with DPRNNN-based echo cancellation.
Figure 14. Images recovered from signals treated with different approaches of echo cancellation. (a) image collected by FPGA chip in the transmitting side. (b) image recovered from signals without any echo cancellation. (c) image recovered from signals with LMS adaptive filtering. (d) image recovered from signals with DPRNNN-based echo cancellation.
Sensors 24 02141 g014
Table 1. SNRs of received signals S R t under different channel conditions.
Table 1. SNRs of received signals S R t under different channel conditions.
Channel Length/mm30405050505060
Offset Distance/mm000612180
SNR/dB12.3610.7613.449.547.874.108.67
Table 2. Signal quality with different methods of echo cancellation.
Table 2. Signal quality with different methods of echo cancellation.
Evaluation Index S LMS t S PNLMS t S RLS t S DPRNN t
SNR (dB)9.33114.1125.97429.437
SISNR (dB)22.91143.68816.243113.826
NCC0.75330.89520.63910.9829
BER5.593 × 10 2 2.182 × 10 3 3.742 × 10 2 3.502 × 10 4
ERLE6.4717.824.2232.53
Table 3. Evaluation of image restoration using signals with different echo cancellation methods.
Table 3. Evaluation of image restoration using signals with different echo cancellation methods.
Evaluation IndexImage without Echo
Cancellation
Image with LMS
Filter
Image with DPRNN
Model
PSNR/dB11.891119.177624.8396
SSIM0.41440.89110.9471
Δ E 17.14295.66383.6256
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

Zhang, J.; Jiang, M.; Zhang, J.; Gu, M.; Cao, Z. Ultrasonic Through-Metal Communication Based on Deep-Learning-Assisted Echo Cancellation. Sensors 2024, 24, 2141. https://doi.org/10.3390/s24072141

AMA Style

Zhang J, Jiang M, Zhang J, Gu M, Cao Z. Ultrasonic Through-Metal Communication Based on Deep-Learning-Assisted Echo Cancellation. Sensors. 2024; 24(7):2141. https://doi.org/10.3390/s24072141

Chicago/Turabian Style

Zhang, Jinya, Min Jiang, Jingyi Zhang, Mengchen Gu, and Ziping Cao. 2024. "Ultrasonic Through-Metal Communication Based on Deep-Learning-Assisted Echo Cancellation" Sensors 24, no. 7: 2141. https://doi.org/10.3390/s24072141

APA Style

Zhang, J., Jiang, M., Zhang, J., Gu, M., & Cao, Z. (2024). Ultrasonic Through-Metal Communication Based on Deep-Learning-Assisted Echo Cancellation. Sensors, 24(7), 2141. https://doi.org/10.3390/s24072141

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