Underwater acoustic signal reconstruction method and system
Through signal decomposition and one-dimensional convolution processing combined with the encoder-decoder structure, the problem of signal reconstruction due to seasonal factors in the underwater environment is solved, the reconstruction quality and communication reliability of the underwater acoustic signal are improved, and a better High signal-to-noise ratio and lower root mean square error.
Patent Information
- Application Number
- CN202410708515.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-03
AI Technical Summary
Existing hydroacoustic signal reconstruction technology is difficult to accurately process signals affected by seasonal factors in complex and changeable underwater environments, resulting in insufficient signal reconstruction quality and communication reliability.
The hydroacoustic signal is divided into trend terms and seasonal terms using the signal decomposition method. One-dimensional convolution is used to extract the trend term features, and the seasonal term signal is reconstructed through the encoder-decoder structure. The reconstructed signal is obtained by element-by-element addition.
It improves the reconstruction quality and communication reliability of underwater acoustic signals, reduces the noise ratio and root mean square error, and enhances signal processing efficiency.
Smart Images

Figure CN118733960A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of underwater acoustic signal processing, and in particular to an underwater acoustic signal reconstruction method and system. Background Art
[0002] Underwater acoustic communication is an important technology in the fields of ocean exploration, monitoring and communication. It relies on the propagation of acoustic signals in the underwater environment. However, the complexity of the underwater environment, including but not limited to changes in seawater temperature and salinity, currents, tides, and the variability of seabed topography, seriously affects the propagation stability of underwater acoustic signals. These factors can cause signal attenuation, scattering and reflection, and may even cause signal loss in certain circumstances, thereby reducing the quality and reliability of communication.
[0003] In the prior art, although a variety of signal reconstruction technologies have been developed, such as methods based on compressed sensing, which attempt to restore the sparse representation of the signal to reduce the number of required sampling points, thereby achieving effective signal reconstruction. However, the characteristics of the signal will change with the change of seasons and environmental conditions. For example, seasonal changes in factors such as water temperature, salinity, and water flow may affect the propagation characteristics of sound waves. This change makes it possible for the compressed sensing model originally based on the steady state assumption to be unable to accurately reconstruct the signal in practical applications.
[0004] On the other hand, traditional signal reconstruction methods, such as those based on Fourier transform or wavelet transform, often perform poorly when dealing with high noise or complex signal changes. These methods are prone to introduce additional noise or distortion during the reconstruction process, especially when there are many missing signals, which greatly reduces the accuracy of reconstruction. In addition, these traditional methods rarely take into account the seasonality of underwater acoustic signals, resulting in the inability to effectively reconstruct the signal parts affected by seasonal changes.
[0005] Machine learning technology provides a new way to reconstruct signals using large amounts of data. By training large neural network models, the intrinsic characteristics of complex signals can be captured in theory. However, this method requires a large amount of training data and expensive computing resources, and in practical applications, it is also necessary to solve the problems of overfitting and generalization of the model, which is particularly difficult in resource-constrained underwater communication equipment.
[0006] In summary, the existing underwater acoustic signal reconstruction technology has obvious limitations when facing complex and changeable underwater environments, especially when dealing with signal reconstruction problems affected by seasonal factors, the existing methods often fail to achieve satisfactory results. Therefore, there is an urgent need for a new signal reconstruction technology that can overcome the shortcomings of the existing technology and effectively improve the reconstruction quality of underwater acoustic signals and the reliability of communication. Summary of the invention
[0007] The purpose of the present invention is to provide a method and system for reconstructing an underwater acoustic signal, so as to effectively improve the quality of the underwater acoustic signal and ensure the performance and reliability of the underwater acoustic communication system.
[0008] The purpose of the present invention can be achieved by the following technical solutions:
[0009] A method for reconstructing an underwater acoustic signal comprises the following steps:
[0010] S1, using the hydroacoustic sensor node to receive the hydroacoustic signal;
[0011] S2, decomposing the hydroacoustic signal to obtain trend term signal and seasonal term signal;
[0012] S3, extracts the features of trend term signal based on one-dimensional convolution;
[0013] S4, reconstructing the trend item signal based on the extracted features;
[0014] S5, seasonal term signal reconstruction based on encoder-decoder;
[0015] S6, adding the reconstructed trend term signal and the seasonal term signal element by element to obtain a reconstructed underwater acoustic signal.
[0016] In step S1, the hydroacoustic signal received by the hydroacoustic sensor node is expressed as:
[0017]
[0018] in, Represents the superposition of multiple signals, each component is represented by an amplitude A i , attenuation coefficient α i and distance r; h(t-τ i ) represents the oscillation part of the i-th component; N(t,r) is the noise term; t represents time, r represents distance; N represents the number of signals.
[0019] The oscillation part of the hydroacoustic signal is expressed as: h(t-τ i )=cos(2πfi i (t-τ i )-k i r+φ i ), where f i represents the frequency, τ i represents the time delay, k i represents the wave number, φ i Indicates the initial phase.
[0020] In step S2, the trend term signal is obtained by weighting the underwater acoustic signal and performing a softmax operation, which includes the following steps:
[0021] S211, calculate the output of the autocorrelation function:
[0022] Considering the changes of the underwater acoustic signal at different time points, the autocorrelation function is defined as:
[0023]
[0024] R(τ) represents the correlation degree of the original signal P at the relative offset τ between different time points, where τ represents the time delay;
[0025] For each time point, extract the hydroacoustic signal P(t,r), and add the time delay τ to the current time node t to obtain the hydroacoustic signal P(t+τ,r) at the new time node t+τ, and calculate the output of the autocorrelation function;
[0026] S212, define the Gaussian weight vector:
[0027] Define the Gaussian function A weight vector used as the value of the weighted autocorrelation function, where τ is the time delay and σ is the standard deviation;
[0028] S213, weighted autocorrelation vector:
[0029] Use the Gaussian weight vector to weight the output of the autocorrelation function to obtain the weighted autocorrelation value R w (τ) = w(τ)·R(τ);
[0030] S214, apply the softmax function:
[0031] The weighted autocorrelation value R w (τ) is used as input and converted into a set of normalized weights S(τ) through the softmax function.
[0032]
[0033] S215, extract trend item signal:
[0034] The output S(τ) of the softmax function is used as the weight to perform weighted averaging on the original underwater acoustic signal P(t,r) to extract the trend term signal
[0035] In step S2, the seasonal term signal is obtained by subtracting the original hydroacoustic signal from the extracted trend term signal.
[0036] The step S3 comprises the following steps:
[0037] S31, preprocessing the trend item signal;
[0038] S32, according to a preset time window size, traverse the trend item signal in time order, and extract the trend item signal in each window as a vector S[t] as an input signal of the convolution module;
[0039] S33, define the underwater acoustic convolution kernel and perform a one-dimensional convolution operation on the input signal:
[0040] Define a one-dimensional underwater acoustic convolution kernel K[n], where n=0, 1, …, L-1, L is the length of the convolution kernel, and the weight distribution of the underwater acoustic convolution kernel is K[n]=acos(b·n+c)+d, where a is the amplitude, which controls the weight range, b is the modulation factor, which adjusts the sensitivity of the underwater acoustic convolution kernel to different paths, c is the phase offset, which adjusts the weight of the underwater acoustic convolution kernel to match the path effect in the signal, and d is the DC offset, which ensures that the weight of the underwater acoustic convolution kernel is a positive number; apply the underwater acoustic convolution kernel K[n] to the input signal S[t] and perform a one-dimensional convolution operation to obtain
[0041] S34, performing ReLu activation function processing on the output result of the one-dimensional convolution operation to obtain a feature vector of the trend item signal.
[0042] The step S4 comprises the following steps:
[0043] S41, respectively calculating the mean and variance of the characteristic data y of the trend item signal obtained in step S3, and normalizing it in real time based on the mean and variance to obtain the preprocessed signal Y=[Y (1) ,Y (2) ,…,Y (t) ];
[0044] S42, reconstructing the trend item signal, specifically includes the following steps:
[0045] S421, given the initial hidden state h (0) and memory unit m (0) ;
[0046] S422, calculate the forget gate:
[0047] f (t) =σ(W f ·[h (t-1) ,Y (t) ]+b f +γ·D)
[0048] Among them, f (t) is the forget gate of the current time step, σ is the sigmoid function, W f is the weight matrix of the forget gate, h (t-1) is the hidden state of the previous time step, Y(t) is the input signal at the current time step, b f is the bias term of the forget gate, D is a factor related to the attenuation of the underwater acoustic signal, and γ is an adjustment coefficient used to control the influence of the attenuation factor of the underwater acoustic signal on the forget gate;
[0049] S423, calculate the input gate:
[0050] i (t) =σ(W i ·[h (t-1) ,Y (t) ]+b i +δ·M)
[0051] Among them, i (t) Represents the input gate of the current time step. The input gate determines how much information will be written into the memory cell based on the hidden state of the previous time step and the input signal of the current time step. i is the weight matrix of the input gate, b i is the bias term of the input gate, M represents the delay metric based on the multipath effect, and δ is the adjustment coefficient;
[0052] S424, calculate candidate memory cells:
[0053]
[0054] in, is the candidate memory unit of the current time step, tanh is the hyperbolic tangent function, which converts the input value into a value between -1 and 1, indicating the possible value range of the memory unit, W m is the weight matrix of the candidate memory unit, b m is the bias term of the candidate memory unit;
[0055] S425, calculate the output gate:
[0056] o (t) =σ(W o ·[h (t-1) ,Y (t) ]+b o +η·N)
[0057] Among them, (t) is the output gate of the current time step, which determines how much information will be output according to the hidden state of the previous time step and the input signal of the current time step, W o is the weight matrix of the input gate, b o is the bias term of the input gate, N represents the parameter of the ambient noise level, and η is the adjustment coefficient to balance the effect of noise on the output gate;
[0058] S426, update the memory unit according to the forget gate and the input gate:
[0059]
[0060] Among them, m (t) Represents the memory unit of the current time step, ⊙ is element-by-element multiplication, the forget gate controls the proportion of memory information passed down from the previous time step, and the input gate controls the proportion of new candidate memory units. The two parts of information are combined through element-by-element multiplication and addition to obtain the memory unit value of the current time step;
[0061] S427, update hidden status:
[0062] h (t) =o (t) ⊙tanh(m (t) )
[0063] The output gate controls how the information in the memory cell is output to the hidden state. Element-by-element multiplication applies the value of the output gate to the value of the memory cell to obtain the hidden state value of the current time step.
[0064] S43, reconstructing the signal Xtrend through the output of the final trend term of the output layer.
[0065] The delay metric is constructed based on the delay difference, and the delay metric is obtained by summing the reciprocals of the delay differences:
[0066]
[0067] in, Indicates the delay difference.
[0068] The step S5 comprises the following steps:
[0069] S51, converting the seasonal term signal into a frequency domain signal, and processing the frequency domain signal in the encoder, the specific steps are as follows:
[0070] S511, converting the time domain representation of the seasonal term signal into a frequency domain representation;
[0071] S512, using a feedforward network module to perform propagation processing on the frequency domain seasonal term signal:
[0072]
[0073] in, is the seasonal term signal in the frequency domain, It represents the encoded signal with rich feature representation, FeedForward represents feedforward processing, and Add represents concatenation processing;
[0074] S52, using a decoder to decode the encoded signal to achieve reconstruction of the seasonal term signal, the specific steps are as follows:
[0075] S521, reverse processing: using a decoder to parse the encoded signal and convert it back to time domain representation through inverse Fourier transform;
[0076] S522, seasonal signal reconstruction:
[0077] The parsed coded signal is propagated and processed using the feedforward network module to obtain
[0078] The propagated signal is added and connected with the analyzed coded signal to obtain the seasonal term reconstructed signal
[0079] An underwater acoustic signal reconstruction system, comprising:
[0080] A signal acquisition module, used for receiving a hydroacoustic signal using a hydroacoustic sensor node;
[0081] A signal decomposition module is used to decompose the hydroacoustic signal to obtain a trend term signal and a seasonal term signal;
[0082] A feature extraction module, used for extracting features of trend item signals based on one-dimensional convolution;
[0083] A trend item signal reconstruction module, used for reconstructing the trend item signal based on the extracted features;
[0084] A seasonal item signal reconstruction module, used for reconstructing seasonal item signals based on a codec;
[0085] The signal reconstruction module is used to add the reconstructed trend item signal and the seasonal item signal element by element to obtain the reconstructed underwater acoustic signal.
[0086] Compared with the prior art, the present invention has the following beneficial effects:
[0087] (1) The present invention utilizes signal decomposition to divide the signal into trend terms and seasonal terms for analysis, thereby being able to better capture the dynamic changes in the trend of the underwater acoustic signal and the dynamic characteristics of the seasonal changes.
[0088] (2) The present invention analyzes the decomposed underwater acoustic trend item signal using a one-dimensional convolution processing method, including performing a sliding window operation on the input signal or data sequence, and performing a convolution operation with the data in the sliding window through a set of learnable filters to generate an output sequence, which helps to extract the data processing features of the input signal sequence, thereby improving the accuracy of the subsequent reconstructed signal.
[0089] (3) The present invention adopts an encoder and decoder structure in seasonal signal processing. The encoder uses a frequency domain attention mechanism to capture the frequency domain relationship in the underwater acoustic signal, and the decoder uses the frequency domain features extracted by the encoder for prediction. This structure has higher accuracy and reliability in predicting underwater acoustic signals.
[0090] (4) The signal reconstructed by the present invention has a higher signal-to-noise ratio and a lower root mean square error. The reconstructed signal is of high quality and less signal is lost during the reconstruction process, and is closer to the original signal.
[0091] (5) The reconstruction method adopted by the present invention has low model complexity and high signal processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] Figure 1 is a flow chart of the method of the present invention;
[0093] Figure 2 Flowchart for signal decomposition;
[0094] Figure 3 It is a flowchart of one-dimensional convolution processing;
[0095] Figure 4 The structure diagram of the long short-term memory network used for trend term signal reconstruction;
[0096] Figure 5 Flowchart reconstructed for seasonal term signal;
[0097] Figure 6 is a schematic diagram of a reconstructed signal in an embodiment;
[0098] Figure 7 A comparison diagram of the signal-to-noise ratio of the reconstructed signal of the present invention in one embodiment compared with the prior art;
[0099] Figure 8 is a time point root mean square error diagram of the present invention in one embodiment;
[0100] Fig. 9 It is a schematic diagram of the system structure of the present invention. DETAILED DESCRIPTION
[0101] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0102] This embodiment provides a method for reconstructing an underwater acoustic signal. Figure 1 As shown, the following steps are included:
[0103] S1, using the hydroacoustic sensor node to receive the hydroacoustic signal.
[0104] Considering the influence of multipath effect on underwater acoustic signal, the signal is expressed as:
[0105]
[0106] in, Represents the superposition of multiple signals, each component is represented by an amplitude A i , attenuation coefficient α i and distance r; h(t-τ i ) represents the oscillation part of the i-th component, and N represents the number of signals.
[0107] The signal is affected by random scattering, and the underwater acoustic signal is further expressed as:
[0108]
[0109] Among them, N(t,r) is the noise term; t represents time and r represents distance.
[0110] In one embodiment, the oscillation part of the hydroacoustic signal is expressed as: h(t-τ i )=cos(2πf i (t-τ i )-k i r+φ i ), where f i represents the frequency, τ i represents the time delay, k i represents the wave number, φ i Indicates the initial phase.
[0111] S2, decompose the hydroacoustic signal to obtain trend term signal and seasonal term signal.
[0112] In step S2, the trend term signal is obtained by weighting the underwater acoustic signal and performing a softmax operation, such as Figure 2 As shown, the following steps are included:
[0113] S21, extract trend item signal
[0114] S211, calculate the output of the autocorrelation function:
[0115] Considering the changes of the underwater acoustic signal at different time points, the autocorrelation function is defined as:
[0116]
[0117] R(τ) represents the correlation degree of the original signal P at the relative offset τ between different time points, where τ represents the time delay.
[0118] For each time point, extract the hydroacoustic signal P(t,r), add the time delay τ to the current time node t, get the new hydroacoustic signal P(t+τ,r) at the time node t+τ, and calculate the output of the autocorrelation function. By calculating the autocorrelation function, we can understand the periodic characteristics of the signal.
[0119] S212, define the Gaussian weight vector:
[0120] Define the Gaussian function A weight vector used as the value of the weighted autocorrelation function, where τ is the time delay and σ is the standard deviation.
[0121] S213, weighted autocorrelation vector:
[0122] Use the Gaussian weight vector to weight the output of the autocorrelation function to obtain the weighted autocorrelation value R w (τ)=w(τ)·R(τ).
[0123] S214, apply the softmax function:
[0124] The weighted autocorrelation value R w (τ) is used as input and converted into a set of normalized weights S(τ) through the softmax function.
[0125]
[0126] S215, extract trend item signal:
[0127] The output S(τ) of the softmax function is used as the weight to perform weighted averaging on the original underwater acoustic signal P(t,r) to extract the trend term signal
[0128] S22, extract seasonal signal
[0129] The seasonal term signal is obtained by subtracting the original hydroacoustic signal from the extracted trend term signal, which is expressed as Sseasonal = P-Strend. This design enables the seasonal information of the signal to be effectively obtained in practice, thereby better coping with the needs of periodic changes and trend analysis of the signal.
[0130] S3, extracts the features of trend term signal based on one-dimensional convolution.
[0131] like Figure 3 As shown, step S3 includes the following steps:
[0132] S31, preprocess the trend item signal and normalize the data to ensure that the data format meets the requirements of the model.
[0133] S32, in this embodiment, the time window is set to 1000 sampling points, and the required number of time windows is obtained by dividing the total number of sampling points by the length of the time window. The trend item signal is traversed in time order, and the trend item signal in each window is extracted as a vector S[t] as the input signal of the convolution module.
[0134] S33, define the underwater acoustic convolution kernel and perform a one-dimensional convolution operation on the input signal:
[0135] Define a one-dimensional underwater acoustic convolution kernel K[n], where n=0, 1, …, L-1, L is the length of the convolution kernel, and the weight distribution of the underwater acoustic convolution kernel is K[n]=acos(b·n+c)+d, where a is the amplitude, which controls the weight range, b is the modulation factor, which adjusts the sensitivity of the underwater acoustic convolution kernel to different paths, c is the phase offset, which adjusts the weight of the underwater acoustic convolution kernel to match the path effect in the signal, and d is the DC offset, which ensures that the weight of the underwater acoustic convolution kernel is a positive number; apply the underwater acoustic convolution kernel K[n] to the input signal S[t] and perform a one-dimensional convolution operation to obtain
[0136] S34, performing ReLu activation function processing on the output result of the one-dimensional convolution operation to obtain a feature vector of the trend item signal.
[0137] S4, reconstruct the trend item signal based on the extracted features.
[0138] Step S4 uses the long short-term memory network to reconstruct the trend item signal, and its structure is as follows: Figure 4 As shown, the following steps are included:
[0139] S41, respectively calculate the mean and variance of the characteristic data y of the trend item signal obtained in step S3, and perform real-time layer normalization on it based on the mean and variance to improve the adaptability of the network to changes in input data, thereby reducing internal covariate shift and improving the stability of network training.
[0140] S411, calculate the mean μ c :
[0141]
[0142] Where T is the signal length and y(t,c) represents the value of signal y at time t and channel c.
[0143] S412, calculate variance
[0144]
[0145] S413, normalize the underwater acoustic signal in real time:
[0146]
[0147] ∈ is a constant used to prevent square root overflow. γ c and β c is a learnable parameter. The implementation of real-time layer normalization is completed in the software part of the data preprocessing module to ensure the real-time processing and normalization of the underwater acoustic signal data. After real-time layer normalization, Y = [Y (1) ,Y (2) ,...,Y (t) ].
[0148] S42, reconstructing the trend item signal, specifically includes the following steps:
[0149] S421, given the initial hidden state h (0) and memory unit m (0) , set to the zero vector.
[0150] S422, calculate the forget gate:
[0151] f (t) =σ(W f ·[h (t-1) ,Y (t) ]+b f +γ·D)
[0152] Among them, f (t) is the forget gate of the current time step, σ is the sigmoid function, W f is the weight matrix of the forget gate, h (t-1) is the hidden state of the previous time step, Y (t) is the input signal at the current time step, b f is the bias term of the forget gate, D is a factor related to the attenuation of the underwater acoustic signal, and γ is an adjustment coefficient used to control the influence of the underwater acoustic signal attenuation factor on the forget gate.
[0153] S423, calculate the input gate:
[0154] i (t) =σ(W i ·[h (t-1) ,Y (t) ]+b i +δ·M)
[0155] Among them, i (t) Represents the input gate of the current time step. The input gate determines how much information will be written into the memory cell based on the hidden state of the previous time step and the input signal of the current time step. i is the weight matrix of the input gate, b iis the bias term of the input gate, M represents the delay metric based on the multipath effect, and δ is the adjustment coefficient.
[0156] The delay metric is constructed based on the delay difference. The delay metric is obtained by summing the inverse of the delay difference:
[0157]
[0158] in, Indicates the delay difference. To avoid the denominator being 0, 1 is added to each delay difference for smoothing.
[0159] S424, calculate candidate memory cells:
[0160]
[0161] in, is the candidate memory unit of the current time step, tanh is the hyperbolic tangent function, which converts the input value into a value between -1 and 1, indicating the possible value range of the memory unit, W m is the weight matrix of the candidate memory unit, b m is the bias term of the candidate memory cell.
[0162] S425, calculate the output gate:
[0163] o (t) =σ(W o ·[h (t-1) ,Y (t) ]+b o +η·N)
[0164] Among them, (t) is the output gate of the current time step, which determines how much information will be output according to the hidden state of the previous time step and the input signal of the current time step, W o is the weight matrix of the input gate, b o is the bias term of the input gate, N represents the parameter of the ambient noise level, and η is the adjustment coefficient to balance the effect of noise on the output gate.
[0165] S426, update the memory unit according to the forget gate and the input gate:
[0166]
[0167] Among them, m (t) Represents the memory unit of the current time step, ⊙ is element-by-element multiplication, the forget gate controls the proportion of memory information passed down from the previous time step, and the input gate controls the proportion of new candidate memory units. The two parts of information are combined through element-by-element multiplication and addition to obtain the memory unit value of the current time step.
[0168] S427, update hidden status:
[0169] h (t) =o (t) ⊙tanh(m (t) )
[0170] The output gate controls how the information in the memory cell is output to the hidden state. Element-wise multiplication applies the value of the output gate to the value of the memory cell to obtain the hidden state value of the current time step.
[0171] S43, reconstructing the signal Xtrend through the output of the final trend term of the output layer.
[0172] Table 1 shows the impact of the number of nodes and training cycles on the LSTM network. It can be seen that with the increase in the number of nodes and training cycles, the BER continues to decrease and eventually drops to 0.0817, indicating that the signal quality is significantly improved.
[0173] Table 1 The impact of the number of nodes and training cycles on the output of long short-term memory networks
[0174]
[0175] S5, seasonal term signal reconstruction based on encoder-decoder.
[0176] like Figure 5 As shown, step S5 includes the following steps:
[0177] S51, converting the seasonal term signal into a frequency domain signal, and processing the frequency domain signal in the encoder, the specific steps are as follows:
[0178] S511, converting the time domain representation of the seasonal term signal into a frequency domain representation.
[0179] Given a sequence x in the time domain n , where n = 1, 2, ..., N. The discrete Fourier transform is Where X(t) represents the frequency index, i is the imaginary unit, and u represents the frequency index. Perform discrete Fourier transform on the query vector q, key vector k, and value vector v, Q[u] = F(q[n]), K[u] = F(k[n]), V[u] = F(v[n]), and obtain the frequency domain representation.
[0180] S512, using a feedforward network module to perform propagation processing on the frequency domain seasonal term signal:
[0181]
[0182] in, is the seasonal term signal in the frequency domain, It represents the encoded signal with rich feature representation, FeedForward represents feedforward processing, and Add represents concatenation processing;
[0183] S52, using a decoder to decode the encoded signal to achieve reconstruction of the seasonal term signal, the specific steps are as follows:
[0184] S521, reverse processing: use the decoder to parse the encoded signal and convert it back to the time domain representation through inverse Fourier transform:
[0185]
[0186] Among them, d k is the dimension of the key vector, W path [u] is a weighting factor in the frequency domain, mapped from the path information. The softmax function is used for activation to ensure the effectiveness of the attention weight.
[0187] S522, seasonal signal reconstruction:
[0188] The parsed coded signal is propagated and processed using the feedforward network module to obtain
[0189] The propagated signal is added and connected with the analyzed coded signal to obtain the seasonal term reconstructed signal
[0190] S6, the reconstructed trend term signal and the seasonal term signal are added element by element to obtain the reconstructed hydroacoustic signal, which is expressed as like Figure 6 As shown, it can be seen that the signal reconstructed by the system removes the noise in the signal and successfully predicts the missing signal.
[0191] The present invention mainly includes the steps of signal decomposition, one-dimensional convolution processing, trend item signal reconstruction, seasonal item signal reconstruction, and overall signal reconstruction. In the signal decomposition step, the received hydroacoustic signal is preliminarily processed to decompose it into trend items and seasonal items. This step is the basis of the entire reconstruction process, and lays the foundation for subsequent accurate processing by distinguishing the long-term trend and periodic changes in the signal. For the trend item of the hydroacoustic signal after decomposition, a one-dimensional convolution processing method is used for analysis, and a sliding window operation is performed on the input signal or data sequence, and then a set of learnable filters (convolution kernels) are used to perform convolution operations with the data in the sliding window to generate an output sequence. This step is used to process the input signal sequence, and includes: an input module for receiving the input signal sequence; a convolution module for determining the size and parameters of the hydroacoustic convolution kernel, and performing convolution operations on the hydroacoustic convolution kernel sliding on the input signal sequence; and an output module for generating an output sequence. This step performs in-depth analysis of the signal through the designed hydroacoustic convolution kernel to effectively extract the time characteristics of the signal. This process enhances the system's ability to capture signal changes, especially when processing non-periodic and long-term changing signal components. The trend item signal after one-dimensional convolution processing is reconstructed based on the long short-term memory network. The trend item signal is predicted and reconstructed by using the powerful time series data processing capability of the long short-term memory network, especially when the signal data is missing, the missing signal value can be accurately predicted based on the existing data. It includes a data preprocessing unit and a signal reconstruction module. The data preprocessing unit normalizes the output sequence generated by the convolution to improve the training effect of the model. The reconstruction module learns and models the time series characteristics of the signal through the historical data of the input signal. During the training process, the module automatically learns the long-term dependencies and laws in the sequence data, so that accurate signal prediction can be performed. During the reconstruction process, the input module is the known historical signal data, and the signal reconstruction module predicts the missing signal value according to the laws and characteristics learned from the historical data. For the seasonal item signal, the present invention combines the encoder-decoder architecture and the frequency domain attention mechanism for processing. In the encoding stage, the periodic characteristics in the signal are deeply analyzed through the frequency domain attention mechanism; in the decoding stage, the seasonal item signal is accurately reconstructed using the feature information obtained by encoding. This process is particularly optimized for the periodic changes of the signal, and the reconstruction accuracy of the periodic signal components is improved. Finally, the prediction results of the trend term and the seasonal term are combined to obtain the final reconstructed signal.
[0192] In order to evaluate the performance of the present invention in effectively reconstructing seasonally affected hydroacoustic signals, we proposed the following evaluation criteria: signal-to-noise ratio (SNR), root mean square error (RMSE), and model time complexity. The advantages of the present invention over other methods include:
[0193] 1. Higher signal-to-noise ratio: The signal-to-noise ratio is an indicator of signal quality. It describes the relative strength between the signal and the noise. This is a very important indicator because it directly affects whether useful information can be accurately extracted from the data. Therefore, this embodiment uses the signal-to-noise ratio to evaluate signal quality. The calculation of SNR is completed by comparing the power of the signal with the power of the noise. A higher SNR value corresponds to a clearer and more reliable signal, which means that the signal has a stronger strength or higher quality relative to the noise. Definition of signal-to-noise ratio expressed in decibels (dB):
[0194]
[0195] Where P s is the power of the signal, P n is the power of the noise, the signal-to-noise ratio of the signal is Figure 7 . Figure 7 The signal-to-noise ratios of the original signal, the signal reconstructed based on Fourier transform, and the signal reconstructed using the reconstruction system method are shown. When the original signal has a signal-to-noise ratio of 0.26, the signal-to-noise ratio of the signal reconstructed based on Fourier transform is 3.29. The signal-to-noise ratio of the underwater acoustic signal reconstructed using the reconstruction system reaches 8.12, and the signal quality is significantly improved.
[0196] 2. Lower root mean square error: The root mean square error (RMSE) represents the square root of the mean of the squared differences between the estimated value and the actual value. Because it is the square root of the mean of the squared errors, the RMSE takes into account the absolute value of the errors as well as the average value between them. This makes the RMSE very useful in assessing the overall degree of difference between the reconstructed signal and the original signal. In the case of a reconstructed signal, if the RMSE value is low, it means that the difference between the reconstructed signal and the original signal is small, the reconstructed signal is closer to the original signal, and less information is lost during the reconstruction process. On the contrary, if the RMSE value is high, it means that there is a large difference between the reconstructed signal and the original signal, and the reconstruction effect may not be ideal.
[0197]
[0198] Where N represents the number of samples, s i represents the i-th sample point in the original signal, represents the i-th sample point in the reconstructed signal. The total root mean square error of the present invention is 0.19. Figure 8 The root mean square error diagram at different time points can be represented by Figure 8 It can be seen that the root mean square error of the reconstructed underwater acoustic signal fluctuates around 0.19, which indicates that the reconstructed signal is close to the original signal and very little signal is lost during the reconstruction process.
[0199] 3. Lower model time complexity: In this paper, a method of using frequency domain attention instead of traditional time domain attention is proposed to improve the efficiency and accuracy of signal processing. The traditional time domain attention mechanism performs calculations in the time domain, usually involving matrix multiplication and softmax operations, and its time complexity is O(N 2 ), where N is the length of the sequence. As the signal processing requirements increase, the time overhead in the time domain also increases. Therefore, this embodiment introduces a frequency domain attention mechanism, which uses discrete Fourier transform to convert the underwater acoustic signal from the time domain to the frequency domain, and calculates the attention in the frequency domain. The query vector q, key vector k, and numerical vector v are discretely transformed, and the time complexity of the transformation is O(N logN). To calculate the matrix multiplication and softmax operation of attention, the number of attention weights that need to be calculated is N, so the time complexity of the matrix multiplication is O(N 2 ), the time complexity of the softmax operation is O(N). Therefore, the total time complexity of calculating the attention weight is O(N 2 ). After calculating the attention weights, the frequency domain representation of the attention weights needs to be converted back to the time domain representation. The time complexity of the inverse Fourier transform is also O(N log N). The time complexity of the overall frequency domain attention mechanism is mainly determined by the time complexity of the discrete Fourier transform and the inverse Fourier transform, which is O(N log N).
[0200] For time-domain attention, it is necessary to store the query vector q, the key vector k, and the numeric vector v, whose dimensions are usually proportional to the length N of the input sequence. Therefore, the spatial complexity of time-domain attention is mainly determined by the storage space of these three, which is O(N×D), where D is the dimension of the numeric vector. In frequency-domain attention, for an input sequence of length N, the discrete Fourier transform will produce the same frequency-domain representation of the input sequence, so its spatial complexity is still O(N×D). Table 2 clearly shows the complexity of the model using the frequency domain and time domain.
[0201] Table 2 Model complexity
[0202] Time complexity Space complexity Frequency Domain Attention Model O(N log N) O(N×D) With temporal attention model <![CDATA[O(N 2 )]]> O(N×D)
[0203] This embodiment also provides an underwater acoustic signal reconstruction system. Fig. 9 As shown, including:
[0204] 1) A signal acquisition module is used to receive the hydroacoustic signal using the hydroacoustic sensor node.
[0205] In underwater acoustic communication missions, hydrophones are devices in underwater acoustic sensor nodes. At the beginning of underwater communication missions, hydrophones are lowered to a depth of about 50 meters underwater to capture transmitted acoustic signals in underwater environments. With the hydrophone in place, it begins to receive acoustic communication signals from the water surface. These signals propagate through water via sound waves.
[0206] The underwater data recorder converts these acoustic wave signals into corresponding electrical signals. The received electrical signals are recorded by the underwater data recorder and transmitted to the signal decomposition module through the underwater cable for signal decomposition processing.
[0207] The following is a detailed description of the underwater data logger:
[0208] An underwater data recorder is a device specifically designed to record and store data in an underwater environment. The data storage unit is the core component of an underwater data recorder, which is used to record and store received signal data. It has sufficient storage capacity to store long-term data records and transmits the stored data to other devices through a data interface for further analysis and processing.
[0209] 2) Signal decomposition module, used to decompose the underwater acoustic signal to obtain trend item signal and seasonal item signal.
[0210] 3) Feature extraction module, used to extract features of trend item signals based on one-dimensional convolution.
[0211] In this module, the parameters including weights and bias items are saved in the surface base station. For the one-dimensional convolution operation, the convolution calculation unit adopts a pipeline architecture, loads the input signal and the underwater acoustic convolution kernel parameters into different calculation units respectively, and implements the convolution operation through parallel calculation. In addition, the feature data processed by the ReLu activation function is transmitted to the surface base station for storage.
[0212] 4) A trend item signal reconstruction module, used to reconstruct the trend item signal based on the extracted features.
[0213] 5) A seasonal item signal reconstruction module, used for reconstructing seasonal item signals based on an encoder-decoder.
[0214] 6) A signal reconstruction module is used to add the reconstructed trend term signal and the seasonal term signal element by element to obtain a reconstructed underwater acoustic signal.
[0215] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0216] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning, or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A method for reconstructing underwater acoustic signals. It is characterized in that The following steps are involved: S1, using the hydroacoustic sensor node to receive the hydroacoustic signal; S2, decomposing the hydroacoustic signal to obtain trend term signal and seasonal term signal; S3, extracts the features of trend term signal based on one-dimensional convolution; S4, reconstructing the trend item signal based on the extracted features; S5, seasonal term signal reconstruction based on encoder-decoder; S6, adding the reconstructed trend term signal and the seasonal term signal element by element to obtain a reconstructed underwater acoustic signal.
2. The method for reconstructing an underwater acoustic signal according to claim 1, It is characterized in that In step S1, the hydroacoustic signal received by the hydroacoustic sensor node is expressed as: in, Represents the superposition of multiple signals, each component is represented by an amplitude A i , attenuation coefficient α i and distance r; h(t-τ i ) represents the oscillation part of the i-th component; N(t,r) is the noise term; t represents time, r represents distance; N represents the number of signals.
3. The method for reconstructing an underwater acoustic signal according to claim 2, It is characterized in that The oscillation part of the hydroacoustic signal is expressed as: h(t-τ i )=cos(2πf i (t-τ i )-k i r+φ i ), where f i represents the frequency, τ i represents the time delay, k i represents the wave number, φ i Indicates the initial phase.
4. The method for reconstructing an underwater acoustic signal according to claim 2, It is characterized in that In step S2, the trend term signal is obtained by weighting the underwater acoustic signal and performing a softmax operation, which includes the following steps: S211, calculate the output of the autocorrelation function: Considering the changes of the underwater acoustic signal at different time points, the autocorrelation function is defined as: R(τ) represents the correlation degree of the original signal P at the relative offset τ between different time points, where τ represents the time delay; For each time point, extract the hydroacoustic signal P(t,r), and add the time delay τ to the current time node t to obtain the hydroacoustic signal P(t+τ,r) at the new time node t+τ, and calculate the output of the autocorrelation function; S212, define the Gaussian weight vector: Define the Gaussian function A weight vector used as the value of the weighted autocorrelation function, where τ is the time delay and σ is the standard deviation; S213, weighted autocorrelation vector: Use the Gaussian weight vector to weight the output of the autocorrelation function to obtain the weighted autocorrelation value R w (τ) = w(τ)·R(τ); S214, apply the softmax function: The weighted autocorrelation value R w (τ) is used as input and converted into a set of normalized weights S(τ) through the softmax function. S215, extract trend item signal: The output S(τ) of the softmax function is used as the weight to perform weighted averaging on the original underwater acoustic signal P(t,r) to extract the trend term signal 5. The method for reconstructing an underwater acoustic signal according to claim 1, It is characterized in that In step S2, the seasonal term signal is obtained by subtracting the original hydroacoustic signal from the extracted trend term signal.
6. The method for reconstructing an underwater acoustic signal according to claim 1, It is characterized in that The step S3 comprises the following steps: S31, preprocessing the trend item signal; S32, according to a preset time window size, traverse the trend item signal in time order, and extract the trend item signal in each window as a vector S[t] as an input signal of the convolution module; S33, define the underwater acoustic convolution kernel and perform a one-dimensional convolution operation on the input signal: Define a one-dimensional underwater acoustic convolution kernel K[n], where n=0, 1, …, L-1, L is the length of the convolution kernel, and the weight distribution of the underwater acoustic convolution kernel is K[n]=a cos(b·n+c)+d, where a is the amplitude, controlling the weight range, b is the modulation factor, adjusting the sensitivity of the underwater acoustic convolution kernel to different paths, c is the phase offset, adjusting the weight of the underwater acoustic convolution kernel to match the path effect in the signal, and d is the DC offset, ensuring that the weight of the underwater acoustic convolution kernel is a positive number; apply the underwater acoustic convolution kernel K[n] to the input signal S[t] and perform a one-dimensional convolution operation to obtain S34, performing ReLu activation function processing on the output result of the one-dimensional convolution operation to obtain a feature vector of the trend item signal.
7. The method for reconstructing an underwater acoustic signal according to claim 1, It is characterized in that The step S4 comprises the following steps: S41, respectively calculating the mean and variance of the characteristic data y of the trend item signal obtained in step S3, and normalizing it in real time based on the mean and variance to obtain the preprocessed signal Y=[Y (1) ,Y (2) ,…,Y (t) ]; S42, reconstructing the trend item signal, specifically includes the following steps: S421, given the initial hidden state h (0) and memory unit m (0) ; S422, calculate the forget gate: f (t) =σ(W f ·[h (t-1) ,Y (t) ]+b f +γ·D) Among them, f (t) is the forget gate of the current time step, σ is the sigmoid function, W f is the weight matrix of the forget gate, h (t-1) is the hidden state of the previous time step, Y (t) is the input signal at the current time step, b f is the bias term of the forget gate, D is a factor related to the attenuation of the underwater acoustic signal, and γ is an adjustment coefficient used to control the influence of the attenuation factor of the underwater acoustic signal on the forget gate; S423, calculate the input gate: I (t) =σ(W i ·[h (t-1) ,Y (t) ]+b i +δ·M) Among them, i (t) Represents the input gate of the current time step. The input gate determines how much information will be written into the memory cell based on the hidden state of the previous time step and the input signal of the current time step. i is the weight matrix of the input gate, b i is the bias term of the input gate, M represents the delay metric based on the multipath effect, and δ is the adjustment coefficient; S424, calculate candidate memory cells: in, is the candidate memory unit of the current time step, tanh is the hyperbolic tangent function, which converts the input value into a value between -1 and 1, indicating the possible value range of the memory unit, W m is the weight matrix of the candidate memory unit, b m is the bias term of the candidate memory unit; S425, calculate the output gate: the (t) =σ(W o ·[h (t-1) ,Y (t) ]+b o +η·N) Among them, (t) is the output gate of the current time step, which determines how much information will be output according to the hidden state of the previous time step and the input signal of the current time step, W o is the weight matrix of the input gate, b o is the bias term of the input gate, N represents the parameter of the ambient noise level, and η is the adjustment coefficient to balance the effect of noise on the output gate; S426, update the memory unit according to the forget gate and the input gate: Among them, m (t) Represents the memory unit of the current time step, ⊙ is element-by-element multiplication, the forget gate controls the proportion of memory information passed down from the previous time step, and the input gate controls the proportion of new candidate memory units. The two parts of information are combined through element-by-element multiplication and addition to obtain the memory unit value of the current time step; S427, update hidden status: h (t) =o (t) ⊙tanh(m (t) ) The output gate controls how the information in the memory cell is output to the hidden state. Element-by-element multiplication applies the value of the output gate to the value of the memory cell to obtain the hidden state value of the current time step. S43, reconstructing the signal Xtrend through the output of the final trend term of the output layer.
8. The method for reconstructing an underwater acoustic signal according to claim 7, It is characterized in that The delay metric is constructed based on the delay difference, and the delay metric is obtained by summing the reciprocals of the delay differences: in, Indicates the delay difference.
9. The method for reconstructing an underwater acoustic signal according to claim 1, It is characterized in that The step S5 comprises the following steps: S51, converting the seasonal term signal into a frequency domain signal, and processing the frequency domain signal in the encoder, the specific steps are as follows: S511, converting the time domain representation of the seasonal term signal into a frequency domain representation; S512, using a feedforward network module to perform propagation processing on the frequency domain seasonal term signal: in, is the seasonal term signal in the frequency domain, It represents the encoded signal with rich feature representation, FeedForward represents feedforward processing, and Add represents concatenation processing; S52, using a decoder to decode the encoded signal to achieve reconstruction of the seasonal term signal, the specific steps are as follows: S521, reverse processing: using a decoder to parse the encoded signal and convert it back to time domain representation through inverse Fourier transform; S522, seasonal signal reconstruction: The parsed coded signal is propagated and processed using the feedforward network module to obtain The propagated signal is added and connected with the analyzed coded signal to obtain the seasonal term reconstructed signal 10. An underwater acoustic signal reconstruction system, It is characterized in that include: A signal acquisition module, used for receiving a hydroacoustic signal using a hydroacoustic sensor node; A signal decomposition module is used to decompose the hydroacoustic signal to obtain a trend term signal and a seasonal term signal; A feature extraction module, used for extracting features of trend item signals based on one-dimensional convolution; A trend item signal reconstruction module, used for reconstructing the trend item signal based on the extracted features; A seasonal item signal reconstruction module, used for reconstructing seasonal item signals based on a codec; The signal reconstruction module is used to add the reconstructed trend item signal and the seasonal item signal element by element to obtain the reconstructed underwater acoustic signal.
Citation Information
Patent Citations
Water consumption prediction method and system based on user mode and deep learning joint model
CN115730744A
Underwater acoustic signal intelligent receiving method based on noise reduction neural network
CN117614467A
Spread spectrum underwater acoustic signal demodulation method based on deep neural network
CN117639838A
Underwater acoustic communication system based on noise reduction of auto-encoder
CN117749578A
System and method for processing an underwater acoustic signal by identifying nonlinearity in the underwater acoustic signal
US6411566B1
Cited By
Acoustic tomography flow measurement system and acoustic signal positive and negative code coding method applied by acoustic tomography flow measurement system
CN119357696A
