Underwater laser communication signal prediction method and model building method thereof

By combining MAML and cDCGAN networks, the MLCGAN framework is constructed, which solves the problem of poor performance of underwater optical communication signal prediction for untrained water bodies, improves the generalization performance and system stability of signal prediction, and achieves signal prediction under new water bodies. predict.

CN118869092AInactive Publication Date: 2024-10-29OCEAN UNIV OF CHINA

Patent Information

Application Number
CN202411068198.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The dynamics and complexity of the underwater optical communication environment lead to distance limitations and signal quality degradation when signals propagate underwater. Existing technologies have shortcomings in channel characteristic modeling and signal prediction, especially poor performance in untrained water bodies. .

Method used

Combining the meta-learning MAML method and the cDCGAN network, the MLCGAN framework is constructed. Through the training process of the inner loop and the outer loop, the generator and the discriminator are alternately trained to optimize the model to adapt to a variety of water conditions, reduce the risk of over-fitting, and improve the accuracy of signal prediction. Generalization performance.

Benefits of technology

It achieves signal prediction under untrained new water bodies, improves the stability and reliability of underwater wireless optical communication systems, ensures the reliability and accuracy of signals, and significantly improves the generalization performance of the network model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869092A_ABST
    Figure CN118869092A_ABST
Patent Text Reader

Abstract

The invention provides an underwater laser communication signal prediction method and a model building method thereof, and belongs to the technical field of underwater optical communication. Receiving signals, corresponding transmitting signals and corresponding water quality attenuation coefficients under various water quality conditions with different doping agent proportions are collected as a data set, and a meta-task set and a meta-query set are divided. Based on an MAML algorithm, a conditional convolution generative adversarial network cDCGAN is combined, and the generalization ability of the network is improved. MAML comprises an internal circulation process and an external circulation process, a generator G model and a discriminator D model of an alternate training network are trained in the internal circulation, and the models are optimized through different meta-tasks in the external circulation to obtain a final model. The signals generated by the network model established by the method are more real and reliable, and the generated signals of the untrained new water body are close to the signals of the real water body, so that the performance and generalization ability of the network are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of underwater optical communication, and in particular relates to an underwater laser communication signal prediction method and a model building method thereof. Background Art

[0002] In the field of underwater optical communication technology, the current problems mainly include the dynamics, complexity and variability of the underwater communication environment, which leads to the distance limitation and signal quality degradation of optical signals when propagating underwater, and has a significant impact on the stability and reliability of underwater communication systems. Therefore, it is necessary to predict and simulate underwater signals in order to more deeply understand and evaluate the characteristics and impacts of underwater channels.

[0003] The method based on the vector radiation transmission theory, because the attenuation characteristics of the optical signal caused by the underwater channel will cause the pulse broadening of the transmitted optical signal, and when the data transmission rate is too high, it will cause inter-code interference problems, which will have an adverse effect on the communication quality of the underwater wireless optical communication system. The traditional Monte Carlo simulation method focuses on simulating the physical attenuation of the optical signal during propagation in water, while ignoring the impact of communication equipment on signal transmission, resulting in insufficient modeling of the channel characteristics of the underwater wireless optical communication system. In recent years, deep learning networks have made significant progress in channel modeling, but these models are mainly applicable to trained water bodies in experiments and tests, and show poor performance for untrained water bodies. Therefore, in order to predict and simulate data under more new water bodies, a new signal prediction method is needed. Summary of the invention

[0004] In view of the above problems, the present invention aims to combine the meta-learning MAML method with the structure of the cDCGAN network to verify that the structure improves the generalization performance of the network model, reduces the risk of overfitting, and realizes the generation of untrained receiving signals under new water bodies. This solves the limitations of the existing technology in underwater wireless optical communication systems and improves the stability and reliability of the system.

[0005] The first aspect of the present invention provides a method for building an underwater laser communication signal prediction model, comprising the following process:

[0006] Step 1: Based on the constructed underwater laser digital communication system, the received signals, corresponding transmitted signals and corresponding water quality attenuation coefficients under various water quality conditions with different dopant ratios are collected as training sets, and the received signals, corresponding transmitted signals and corresponding water quality attenuation coefficients under two different real seawater conditions are collected as test sets;

[0007] Step 2, dividing the training set into meta-task sets according to different water qualities, with the data collected under each water quality as a meta-task for training and fine-tuning the network model; dividing the test set into two meta-query sets according to different water qualities for testing and evaluating the performance of the model; performing data preprocessing on the meta-task set and the meta-query set respectively;

[0008] Step 3: Based on the network structure of cDCGAN, an underwater signal prediction model MLCGAN is built. The MLCGAN model includes a generator G and a discriminator D. The MAML algorithm is combined to improve the training process, including an inner loop and an outer loop. The inner loop is executed in each meta-task, and the generator and the discriminator are trained alternately. The outer loop optimizes the model through different meta-tasks.

[0009] Step 4: Use the preprocessed meta-task set and meta-query set for testing and verification, and select the model that verifies that it generates more reliable signals as the final model.

[0010] Preferably, the data preprocessing in step 2 specifically includes: both the sending and receiving signals are digital sequence signals, and when collecting signals at the receiving end, it is ensured that at least 20 points are sampled for each sending signal; the dimension of the sending signal is filled to be consistent with the dimension of the receiving signal; samples are made using a sliding window method, 100 signals are selected every other signal, more samples are generated, and the training data is enriched; and the water attenuation of the training data is subjected to label encoding processing.

[0011] Preferably, the inner loop in step 3 is to perform training in each task in the meta-task set, and the parameter update formula is as follows:

[0012]

[0013] In the above formula, f θ and θ are the initial model and model random initialization parameters respectively, α is the inner loop learning rate, represents the loss function for the i-th meta-task, θ′ i is the updated weight;

[0014] The objective function of the inner loop is:

[0015]

[0016] Where k is the number of meta-tasks executed in the inner loop;

[0017] The outer loop iterates between multiple tasks, and the parameter update formula is as follows:

[0018]

[0019] In the above formula, β is the outer loop learning rate.

[0020] Preferably, in step 3, the training process is improved by combining the MAML algorithm, and the specific training process is as follows:

[0021] S1, initialize the generator and discriminator model parameters θ g ,θ d ;

[0022] S2, in each meta-task, performs an inner loop and first fixes the generator parameter θ g , train the discriminator θ d ; First, obtain the real transmitted signal x, the real received signal y and the corresponding water body attenuation value c, as well as the random noise sample z, and use the generator to simulate a sample G(z / (x, c));

[0023] S3, input the real sample and the simulated sample generated by the generator into D together with the water body attenuation condition, and then update and record the value of the loss function:

[0024]

[0025] in, Denotes the loss function of the discriminator; E x [*] indicates expectation for *; P x (x) and P z (z) represent the distribution of real samples and the distribution of model learning, logD(θ d , y / (x,c)) represents the value of the received signal y when the discriminator D input is the value of the received signal y under the condition that the x signal is sent and the water attenuation is c;

[0026] S4, update the parameters of the discriminator D:

[0027]

[0028] In the above formula, α d is the learning rate of the inner loop of the discriminator D;

[0029] S5, fixed discriminator parameters θ d , train the generator G, the loss function of the generator is as follows:

[0030]

[0031] S6, update the parameters of generator G:

[0032]

[0033] In the above formula, α g is the learning rate of the inner loop of generator G;

[0034] S7, the inner loop ends, and the final parameters are updated in the outer loop:

[0035]

[0036] Where β is the outer loop learning rate parameter.

[0037] Preferably, the network parameters of the underwater signal prediction model MLCGAN are specifically:

[0038] The generator G is a four-layer cascaded one-dimensional convolution layer structure, the dimensions of the output space of each layer are 64, 32, 16, and 20 respectively, the length of the one-dimensional convolution window is 5, 3, 3, and 3, the first two layers use ReLU as the activation function, the third layer uses Tanh function, and the fourth layer outputs the result linearly. The generator G is used to predict the real underwater received signal, accepts noise signals and water body attenuation condition information as input, and outputs the predicted signal after training; the discriminator D adopts a six-layer network structure, the first four layers are one-dimensional convolution layers, and the last two layers are fully connected layers, the dimensions of the output space of each layer of the convolution layer are 64, 32, 16, and 8 respectively, the length of the one-dimensional convolution window is 5, 3, 3, and 3, the number of neurons in the fifth and sixth layers are 64 and 1 respectively, the first three layers all use ReLU as the activation function, and the fourth, fifth, and sixth layers directly output the result linearly; the discriminator D is used to accept data signals and condition information as input, and determine whether the current data is a real sample or a false sample generated by the generator; the condition information is the current water body attenuation coefficient.

[0039] Preferably, the training parameters of the MLCGAN model are set as follows: the learning rates of the inner loop generator and the discriminator are both 0.001, the learning rate of the outer loop is 0.0001, and the batch size is set to 25; G and D are trained using the Adam optimizer, and each optimization of θ g Optimize θ five times d , the number of meta-tasks executed in the inner loop of the MLCGAN model is 5.

[0040] The second aspect of the present invention also provides a method for predicting underwater laser communication signals, comprising the following process:

[0041] Obtain data of underwater transmitted signals and water attenuation coefficient;

[0042] Input the obtained underwater transmission signal data and water body attenuation coefficient into the underwater signal prediction model constructed by the construction method described in the first aspect;

[0043] Output the predicted underwater received signal.

[0044] The third aspect of the present invention also provides an underwater laser communication signal prediction device, which includes at least one processor and at least one memory, and the processor and the memory are coupled; the memory stores a computer execution program of the underwater signal prediction model built by the building method described in the first aspect; when the processor executes the computer execution program stored in the memory, the processor executes an underwater laser communication signal prediction method.

[0045] The fourth aspect of the present invention also provides a computer-readable storage medium, which stores a computer execution program of the underwater signal prediction model constructed by the construction method described in the first aspect. When the computer execution program is executed by a processor, the processor executes a method for predicting underwater laser communication signals.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] 1. The present invention proposes an underwater signal prediction method for improving the generalization performance of the network. The MAML meta-learning algorithm is combined with cDCGAN to construct a new MLCGAN framework, which improves the training process of the underwater signal prediction model, enables the network to quickly adapt to a variety of new water tasks, improves the generalization performance of the network model, and reduces the risk of overfitting.

[0048] 2. Divide the training set into meta-task sets and the test set into meta-query sets according to different water quality conditions. The data under each water quality condition is used as an independent meta-task or meta-query set. Through this division method, the model can be refined and evaluated.

[0049] 3. Use the inner loop and outer loop training method. In the inner loop, each meta-task is executed, and the generator G and the discriminator D are trained alternately to enhance the learning ability of the model; in the outer loop, different meta-tasks are optimized to achieve better generalization effect.

[0050] 4. Prediction output model based on transmitted signal and attenuation coefficient. The model is trained by inputting the transmitted and received signals and the corresponding water body attenuation coefficient. The final output of the model is the predicted received signal data under a specific water quality attenuation. The signal reliability and accuracy are ensured by efficiently predicting the signal under different environmental conditions.

[0051] 5. Verify the indicators of the model from the perspectives of time domain and frequency domain respectively. In the time domain, the amplitude density distribution of the predicted signal is compared with that of the real signal. The more similar the distribution is, the closer the predicted signal is. In the frequency domain, the spectrum error between the predicted signal and the real signal is compared. The smaller the error is, the more similar the components of the predicted signal are in the frequency domain. The stronger the model's ability to predict the signal is. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a flow chart of the underwater signal prediction method proposed in the present invention.

[0053] Figure 2 This is a specific structural diagram of the MLCGAN model in Example 1 of the present invention.

[0054] Figure 3 Schematic diagram of the generator and discriminator network structures in Example 1 of the present invention.

[0055] Figure 4 This is a waveform comparison diagram of the received signal predicted by the trained MLC GAN model and the original GAN ​​model using clear seawater for testing in Example 1 of the present invention.

[0056] Figure 5 This is a waveform comparison diagram of the received signal predicted by the trained MLC GAN model and the original GAN ​​model when testing turbid seawater doped with silt in Example 1 of the present invention.

[0057] Figure 6 The density map comparison between the real data and the generated data of the MLC GAN model and the original GAN ​​model in Example 1 of the present invention tested in clear seawater and turbid seawater mixed with mud and sand, respectively.

[0058] Figure 7 Spectral error diagram of the signal predicted by the MLC GAN model and the original GAN ​​model in Example 1 of the present invention and the real signal in clear seawater h1 and turbid seawater h2 mixed with silt, respectively.

[0059] Figure 8 This is a simplified diagram of the device structure in Example 2 of the present invention. DETAILED DESCRIPTION

[0060] Embodiment 1:

[0061] The present invention proposes an underwater signal prediction method based on MLCGAN. The present invention is an algorithm based on MAML, combined with a conditional convolutional generative adversarial network cDCGAN, to improve the generalization ability of the network. MAML includes an inner loop and an outer loop process. The present invention trains the generator G and discriminator D models of the alternating training network in the inner loop, and optimizes the model through different meta-tasks in the outer loop to obtain the final model. The signal generated by the network model constructed by this method is more real and reliable, and the generated untrained new water body is close to the real water body, which significantly improves the performance and generalization ability of the network.

[0062] like Figure 1 As shown, it mainly includes the following steps:

[0063] Step 1: Build an underwater laser digital communication system, collect the received signals, corresponding transmitted signals and corresponding water quality attenuation coefficients under various water quality conditions with different dopant ratios as the training set of underwater optical communication, and collect the received signals, corresponding transmitted signals and corresponding water quality attenuation coefficients under two different real seawater conditions as the test set of underwater optical communication;

[0064] Step 2: Divide the training set collected in step 1 into meta-task sets according to different water qualities. The data collected under each water quality is used as a meta-task for training and fine-tuning the network model. Divide the test set collected in step 1 into two meta-query sets according to different water qualities for testing and evaluating the performance of the model. Preprocess the meta-task set and meta-query set separately.

[0065] Step 3: Based on the MAML algorithm and the network structure of cDCGAN, an MLCGAN underwater signal prediction model is built. The MLCGAN model includes a generator G and a discriminator D, and the MAML algorithm is combined to improve the training process.

[0066] Step 4: Set the network parameters and training parameters of the MLCGAN model built in step 3, using the MAML algorithm. The inner loop is executed in each meta-task, and the generator and discriminator are trained alternately. The outer loop optimizes the model through different meta-tasks;

[0067] Use the preprocessed meta-task set described in step 2, including the transmitted signal, the corresponding received signal, and the water attenuation, as input to train and fine-tune the model built in step 4.

[0068] Step 5: Use the transmission data in the meta-query set described in step 2 and the corresponding water quality attenuation coefficient to input into the trained network model for testing, and the model finally outputs the received signal data under the corresponding water body attenuation. The model that verifies the generation of more reliable signals is selected as the final model.

[0069] 1. Get the dataset

[0070] In the underwater laser digital communication system, the modulated non-return-to-zero code-on-off keying (NRZ-OOK) signal is used as the transmission signal and transmitted via Al(OH) 3 The synchronized signals after offline processing at the receiving end of various water environments mixed with different proportions are used as the received signals, and the sending signal, receiving signal and water attenuation under each water quality are used as a meta-task. The meta-task set is composed of multiple meta-tasks. The data of two real seawater are taken as the meta-query set for model verification and testing. The data in the meta-task set is input into the network model for training and fine-tuning.

[0071] 2. Data Preprocessing

[0072] Both the transmitted and received signals are digital sequence signals. When collecting signals at the receiving end, ensure that at least 20 points are sampled for each transmitted signal. Fill the dimension of the transmitted signal to keep it consistent with the dimension of the received signal; use the sliding window method to make samples, select 100 signals every other signal, generate more samples to enrich the training data; and perform label encoding on the water body attenuation of the training data.

[0073] 3. Model building

[0074] In the present invention, based on the MAML algorithm and the network structure of cDCGAN, an MLCGAN underwater signal prediction model is constructed, which includes two parts: a generator G and a discriminator D. In order to improve the generalization performance of the model, the present invention introduces the MAML algorithm. The schematic diagram of the MLCGAN model structure constructed by the present invention is shown in FIG. Figure 2 shown.

[0075] Generative adversarial network (GAN) is a generative network that learns data distribution in an adversarial way. GAN consists of a generator G and a discriminator D. cDCGAN adds conditional information to the original GAN, allowing the generator to predict and output the desired signal under the conditional information. At the same time, the network layer of the generator G and discriminator D models is changed to a one-dimensional convolution to better extract the features of the signal data.

[0076] In order to improve the generalization ability of the network model, the present invention introduces the MAML (Model Agnostic MetaLearning) algorithm to improve the training process. The training is divided into an inner loop and an outer loop process. The inner loop is executed in each meta-task in the meta-task set, and the outer loop is executed between different meta-tasks to achieve continuous fine-tuning and optimization of the model, helping the model to quickly adapt to new tasks.

[0077] In the inner loop, we first fix the generator parameter θ g , train the discriminator D. Get the real received signal samples, the transmitted signal and the corresponding water attenuation as x, y, c, and the random noise sample z. Input the real samples and the simulated samples generated by the generator into D together with the water attenuation condition. The loss function of the discriminator D is as follows:

[0078]

[0079] in, Denotes the loss function of the discriminator; E x [*] indicates expectation for *; P x (x) and P z (z) represent the distribution of real samples and the distribution of model learning, logD(θ d, y / (x, c)) represents the value of the received signal y when the discriminator D input is the value of the received signal y under the condition that the x signal is sent and the water attenuation is c;

[0080] Set α as the inner loop learning rate, thereby updating the parameter θ d The formula is as follows:

[0081]

[0082] Then fix the discriminator parameters θ d , train the generator G, the loss function of the generator is as follows:

[0083]

[0084] Update the parameter θ g The formula is as follows:

[0085]

[0086] After the inner loop is finished, β is the learning rate of the outer loop, and the final θ is updated in the outer loop. g :

[0087]

[0088] The network structure of the MLCGAN model constructed by the present invention is as follows: Figure 3 As shown in the figure, specifically: the generator G is a four-layer cascaded one-dimensional convolution layer structure, the dimensions of the output space of each layer are 64, 32, 16, and 20 respectively, the length of the one-dimensional convolution window is 5, 3, 3, and 3, the first two layers use ReLU as the activation function, the third layer uses Tanh function, and the fourth layer outputs the result linearly. The discriminator D adopts a six-layer network structure, in which the first four layers are one-dimensional convolution layers, and the last two layers are fully connected layers. The dimensions of the output space of each convolution layer are 64, 32, 16, and 8 respectively, the length of the one-dimensional convolution window is 5, 3, 3, and 3, the number of neurons in the fifth and sixth layers are 64 and 1 respectively, the activation function of the first three layers all use ReLU, and the fourth, fifth, and sixth layers directly output the result linearly.

[0089] 4. Model Training

[0090] In this embodiment, an underwater signal prediction method for improving the generalization performance of the network is implemented based on the Linux operating system, the programming language is Python 3.6.10, the deep learning framework is TensorFlow 1.15.0, the CUDA version is 10.0, and Adam is used as the optimizer. The number of meta-tasks is 5, the learning rate of the inner loop generator G and the discriminator D is 0.001, the outer loop learning rate is 0.0001, and the batch size is set to 25. The generator G and the discriminator D are trained alternately, and each optimization of θ g Optimize θ five timesd , a total of 500 rounds of training can reach convergence.

[0091] In order to verify whether the signal predicted by the model is reliable, the present invention builds the MLCGAN underwater signal prediction model to evaluate the model from two aspects: time domain and frequency domain. In the time domain, the amplitude density spectrum is selected as the evaluation index. The closer the amplitude density is, the closer the signal predicted by the model is to the real sample signal.

[0092] In the frequency domain, the difference between the spectrum of the model-predicted output signal and the spectrum of the real signal is selected as the indicator to test the performance of the model. The formula is:

[0093]

[0094] The smaller the spectrum difference, the more similar the components of the predicted signal in the frequency domain, and the stronger the model's ability to predict the signal.

[0095] 5. Experimental Results

[0096] In this example, 5 kinds of Al(OH) 3 The data under water quality doped with different proportions were used as the meta-task set, and the data collected under two real seawaters were used as the meta-query set for model verification. The performance of the proposed method was compared with that of the original network, verifying the effectiveness of the scheme proposed in the present invention.

[0097] In the time domain, Figure 4 and Figure 5 The blue line is the real received signal waveform, the green line is the signal waveform predicted by the MLCGAN model built by the present invention, and the yellow line is the signal waveform predicted by the original GAN ​​model. It can be seen that the signal waveform predicted by the MLCGAN model built by the present invention is more similar to the waveform of the received signal under real seawater.

[0098] Figure 6 The density plots of the real data and generated data of the MLCGAN model and the original GAN ​​model tested in clear seawater and turbid seawater mixed with silt are compared. The blue line represents the density distribution of the real data, and the pink line represents the distribution of the model-generated data. It can be seen from the figure that whether it is clear coastal waters or turbid seawater mixed with silt, the MLCGAN model predicts the output signal distribution more accurately than the original GAN ​​network model, showing better performance.

[0099] In the frequency domain, the error between the model-predicted output signal spectrum and the true signal spectrum is Figure 7As shown in the figure, h1 is the spectrum error of the predicted signal in clear coastal waters, and h2 is the spectrum error of the predicted signal in turbid waters. The average spectrum errors of the GAN network in h1 and h2 water bodies are 1.88dB and 2.34dB, respectively, while the average spectrum errors of our MLCGAN network in h1 and h2 water bodies are only 0.18dB and 0.25dB, respectively.

[0100] Whether in the time domain or the frequency domain, it can be concluded that the network model based on MLCGAN has shown good adaptability and generalization ability in real new water body tests, proving the effectiveness and superiority of the network structure.

[0101] Embodiment 2:

[0102] like Figure 8 As shown, the present invention also provides an underwater laser communication signal prediction device, the device includes at least one processor and at least one memory, and also includes a communication interface and an internal bus; a computer execution program is stored in the memory; a computer execution program of an underwater signal prediction model built by the construction method described in Example 1 is stored in the memory; when the processor executes the computer execution program stored in the memory, the processor can execute an underwater laser communication signal prediction method. The internal bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus. The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a U disk, a mobile hard disk, a read-only memory, a disk or an optical disk.

[0103] The device may be provided as a terminal, a server or other forms of devices.

[0104] Figure 8is a block diagram of a device shown as an example. The device may include one or more of the following components: a processing component, a memory, a power component, a multimedia component, an audio component, an input / output (I / O) interface, a sensor component, and a communication component. The processing component generally controls the overall operation of the electronic device, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component may include one or more processors to execute instructions to complete all or part of the steps of the above method. In addition, the processing component may include one or more modules to facilitate interaction between the processing component and other components. For example, the processing component may include a multimedia module to facilitate interaction between the multimedia component and the processing component.

[0105] The memory is configured to store various types of data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0106] The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0107] In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0108] Embodiment 3:

[0109] The present invention also provides a computer-readable storage medium, which stores a computer execution program of the underwater signal prediction model constructed by the construction method described in Example 1. When the computer execution program is executed by a processor, the processor can perform an underwater laser communication signal prediction.

[0110] Specifically, a system, device or equipment equipped with a readable storage medium may be provided, on which a software program code for implementing the functions of any of the above-mentioned embodiments is stored, and a computer or processor of the system, device or equipment reads and executes the instructions stored in the readable storage medium. In this case, the program code read from the readable medium itself can implement the functions of any of the above-mentioned embodiments, so the machine-readable code and the readable storage medium storing the machine-readable code constitute a part of the present invention.

[0111] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk (such as CD-ROM, CD-R, CD-RW, DVD-20ROM, DVD-RAM, DVD-RW, DVD-RW), magnetic tape, etc. The storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0112] It should be understood that the storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in a terminal or server.

[0113] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0114] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0115] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0116] Although the above describes the specific implementation methods of the present invention, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for building a prediction model for underwater laser communication signals. It is characterized in that The process includes: Step 1: Based on the constructed underwater laser digital communication system, the received signals, corresponding transmitted signals and corresponding water quality attenuation coefficients under various water quality conditions with different dopant ratios are collected as training sets, and the received signals, corresponding transmitted signals and corresponding water quality attenuation coefficients under two different real seawater conditions are collected as test sets; Step 2, dividing the training set into meta-task sets according to different water qualities, and using the data collected under each water quality as a meta-task for training and fine-tuning the network model; The test set is divided into two meta-query sets according to different water qualities, which are used to test the performance of the evaluation model; the meta-task set and the meta-query set are respectively subjected to data preprocessing; Step 3: Based on the network structure of cDCGAN, an underwater signal prediction model MLCGAN is built. The MLCGAN model includes a generator G and a discriminator D. The MAML algorithm is combined to improve the training process, including an inner loop and an outer loop. The inner loop is executed in each meta-task, and the generator and the discriminator are trained alternately. The outer loop optimizes the model through different meta-tasks. Step 4: Use the preprocessed meta-task set and meta-query set for testing and verification, and select the model that verifies that it generates more reliable signals as the final model.

2. A method for building an underwater laser communication signal prediction model as claimed in claim 1, Features: The data preprocessing in step 2 specifically includes: both the transmitted and received signals are digital sequence signals, and when collecting signals at the receiving end, it is ensured that at least 20 points are sampled for each transmitted signal; the dimension of the transmitted signal is filled to be consistent with the dimension of the received signal; samples are made using a sliding window method, 100 signals are selected every other signal, more samples are generated, and the training data is enriched; and the water body attenuation of the training data is subjected to label encoding processing.

3. A method for building an underwater laser communication signal prediction model as claimed in claim 1, Features: The inner loop in step 3 is to perform training in each task in the meta-task set, and the parameter update formula is as follows: In the above formula, f θ and θ are the initial model and model random initialization parameters respectively, α is the inner loop learning rate, represents the loss function for the i-th meta-task, θ′ i is the updated weight; The objective function of the inner loop is: Where k is the number of meta-tasks executed in the inner loop; The outer loop iterates between multiple tasks, and the parameter update formula is as follows: In the above formula, γ is the outer loop learning rate.

4. A method for building an underwater laser communication signal prediction model as claimed in claim 1, Features: In step 3, the MAML algorithm is combined to improve the training process. The specific training process is as follows: S1, initialize the generator and discriminator model parameters θ g ,θ d ; S2, in each meta-task, performs an inner loop and first fixes the generator parameter θ g , train the discriminator θ d ; First, obtain the real transmitted signal x, the real received signal y and the corresponding water body attenuation value c, as well as the random noise sample z, and use the generator to simulate a sample G(z / (x,c)); S3, input the real sample and the simulated sample generated by the generator into D together with the water body attenuation condition, and then update and record the value of the loss function: in, Denotes the loss function of the discriminator; E x [*] indicates expectation for *; P x (x) and P z (z) represent the distribution of real samples and the distribution of model learning, logD(θ d ,y / (x,c)) represents the value of the received signal y when the input of the discriminator D is the value of the received signal y under the condition that the x signal is sent and the water attenuation is c; S4, update the parameters of the discriminator D: In the above formula, α d is the learning rate of the inner loop of the discriminator D; S5, fixed discriminator parameters θ d , train the generator G, the loss function of the generator is as follows: S6, update the parameters of generator G: In the above formula, α g is the learning rate of the inner loop of generator G; S7, the inner loop ends, and the final parameters are updated in the outer loop: Where β is the outer loop learning rate parameter.

5. A method for building an underwater laser communication signal prediction model as claimed in claim 1, Features: The network parameters of the underwater signal prediction model MLCGAN are specifically: The generator G is a four-layer cascaded one-dimensional convolution layer structure, the dimensions of the output space of each layer are 64, 32, 16, and 20 respectively, the length of the one-dimensional convolution window is 5, 3, 3, and 3, the first two layers use ReLU as the activation function, the third layer uses Tanh function, and the fourth layer outputs the result linearly. The generator G is used to predict the real underwater received signal, accepts noise signals and water body attenuation condition information as input, and outputs the predicted signal after training; the discriminator D adopts a six-layer network structure, the first four layers are one-dimensional convolution layers, and the last two layers are fully connected layers, the dimensions of the output space of each layer of the convolution layer are 64, 32, 16, and 8 respectively, the length of the one-dimensional convolution window is 5, 3, 3, and 3, the number of neurons in the fifth and sixth layers are 64 and 1 respectively, the first three layers all use ReLU as the activation function, and the fourth, fifth, and sixth layers directly output the result linearly; the discriminator D is used to accept data signals and condition information as input, and determine whether the current data is a real sample or a false sample generated by the generator; The condition information is the current water body attenuation coefficient.

6. A method for building an underwater laser communication signal prediction model as claimed in claim 1, Features: The training parameters of the MLCGAN model are set as follows: the learning rates of the inner loop generator and the discriminator are both 0.001, the learning rate of the outer loop is 0.0001, and the batch size is set to 25; G and D are trained using the Adam optimizer, and each optimization of θ g Optimize θ five times d , the number of meta-tasks executed in the inner loop of the MLCGAN model is 5.

7. A method for predicting underwater laser communication signals. It is characterized in that The process includes: Obtain data of underwater transmitted signals and water attenuation coefficient; Inputting the obtained underwater transmission signal data and water body attenuation coefficient into the underwater signal prediction model constructed by the construction method according to any one of claims 1 to 6; Output the predicted underwater received signal.

8. An underwater laser communication signal prediction device, Features: The device includes at least one processor and at least one memory, and the processor and the memory are coupled; the memory stores a computer execution program of an underwater signal prediction model constructed by the construction method described in any one of claims 1 to 6; when the processor executes the computer execution program stored in the memory, the processor executes a method for predicting underwater laser communication signals.

9. A computer-readable storage medium, Features: The computer-readable storage medium stores a computer execution program of the underwater signal prediction model constructed by the construction method as described in any one of claims 1 to 6. When the computer execution program is executed by the processor, the processor executes a method for predicting underwater laser communication signals.

Citation Information

Patent Citations

  • Channel modeling and simulating method for underwater laser digital communication system

    CN114866158A

  • Editing model generation method and apparatus, face image editing method and apparatus, device, and medium

    WO2021254499A1

Cited By

  • Seawater channel environment simulation device

    CN121308870A