Wavefront prediction method based on dynamic space-time diagram model
Through the wavefront prediction method based on the dynamic spatiotemporal graph model, the spatiotemporal characteristics of atmospheric turbulence are extracted, which solves the lag problem caused by the delay of the wavefront sensor in the adaptive optical system, achieves high-precision and low-cost wavefront prediction, and significantly improves the efficiency of the wavefront prediction. Correction performance of AO system.
Patent Information
- Application Number
- CN202410891207.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-08
AI Technical Summary
Due to the delay in readout data of the wavefront sensor and the delay in processor control calculation, the existing adaptive optics system has a significant lag in the correction of atmospheric turbulence distortion wavefront at high time frequencies, which limits the correction performance of the AO technology, and the existing adaptive optics system The wavefront prediction algorithm fails to effectively utilize the spatiotemporal characteristics and object characteristics of turbulence, resulting in limited prediction accuracy and a large amount of calculation, which affects real-time performance.
A wavefront prediction method based on a dynamic spatiotemporal graph model is adopted. By constructing a dynamic spatiotemporal graph network model, the temporal convolution module and the attention aggregation graph convolution module are used to extract the spatiotemporal characteristics of the wavefront data, and predict the Zernike at the wavefront correction moment. coefficients, reducing time delays and improving forecast accuracy.
It achieves high-precision wavefront prediction under various atmospheric conditions, reduces computing costs, avoids time delays in the AO system, significantly improves the correction performance of the adaptive optical system, and ensures real-time prediction and correction under harsh conditions. ability.
Smart Images

Figure CN118747267A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of adaptive optical prediction control, and in particular to a wavefront prediction method based on a dynamic space-time graph model. Background Art
[0002] Adaptive optics is an effective means of compensating for atmospheric turbulence in real time. However, for current adaptive optics systems, there is usually a time delay of 2 to 3 sampling cycles due to the delay in wavefront sensor readout data and the delay in processor control calculation. When correcting the distorted wavefront of atmospheric turbulence with a high temporal frequency, this time delay error will cause the compensation wavefront on the deformable mirror to lag significantly behind the change of the distorted wavefront, severely limiting the correction performance of the AO technology.
[0003] The traditional proportional integral (PI) control technology commonly used in the current AO system cannot fundamentally solve the delay problem, so the correction effect is not good when dealing with high-frequency wavefront aberrations. For this reason, the prediction technology is proposed. In the entire predictive adaptive optical system, the wavefront sensor detects turbulence distortion information over a period of time, and the wavefront prediction algorithm uses this past wavefront information to predict the turbulence distortion wavefront after 2 to 3 sampling cycles in the future. The predicted wavefront is loaded on the deformable mirror to complete the correction of atmospheric turbulence.
[0004] The existing wavefront prediction algorithms are roughly divided into three types: the first is the linear wavefront prediction method, which does not consider the spatiotemporal coupling characteristics of turbulent evolution and has limited prediction accuracy; the second is based on the control algorithm, but this type of method does not utilize the physical characteristics of turbulent evolution and requires repeated iterations; the third is based on the deep learning algorithm, which has strong nonlinear fitting capabilities, but the current related wavefront prediction algorithms do not take into account the object characteristics of turbulent evolution, and the amount of calculation is large, which affects the real-time performance of the adaptive optical system. At the same time, based on the correlation between the distorted wavefront caused by atmospheric turbulence in time and space, the algorithm needs to consider the spatiotemporal correlation of the wavefront data. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a wavefront prediction method based on a dynamic space-time graph model. The wavefront prediction algorithm uses the space-time graph model to extract the space-time characteristics of the Zernike coefficients of wavefront distortion and predict the Zernike coefficients at the moment of wavefront correction. Compared with the existing deep learning wavefront prediction method, it has high prediction accuracy, low computational cost, and stable prediction effect under various atmospheric conditions.
[0006] The technical solution of the present invention to solve the above technical problem is: a wavefront prediction method based on a dynamic spatiotemporal graph model, comprising the following steps:
[0007] (S1), collecting Zernike coefficient data of time-series continuous distortion wavefront through simulation;
[0008] (S2), preprocessing the collected wavefront data, and dividing the processed data into two groups, a training set and a test set, according to the requirements of the prediction model;
[0009] (S3), constructing a dynamic spatiotemporal graph network model to extract the time and space domain features of the wavefront data;
[0010] (S4), training the dynamic spatiotemporal graph network using the training set, selecting the optimal model structure and parameters according to the prediction results, and loading the best model weights into the test set to test the trained network;
[0011] (S5) Applying the optimal prediction model to the actual adaptive optical system to solve the correction delay problem.
[0012] Preferably, in step (S1), the time-series Zernike coefficient data is obtained by inputting a light beam through a multi-layer phase screen conforming to the statistical distribution of atmospheric turbulence and then inputting it into a Hartmann wavefront sensor system.
[0013] Preferably, in step (S3), the dynamic spatiotemporal graph network model consists of a dynamic graph learning module, a temporal convolution module, an attention aggregation graph convolution module, and an output module.
[0014] Preferably, in step (S4), the training is to use the first 15 frames of the atmospheric turbulence Zernike coefficient sequence of the N groups as historical frame information input to predict the third frame to be corrected.
[0015] Preferably, in step (S4), the evaluation index for selecting the best model is the root mean square (RMS) value, and the model with the smaller residual root mean square value is selected as the optimal model structure.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] The method can predict the Zernike coefficients at the correction moment by using a set of known Zernike coefficient data of wavefront distortion, and the prediction is accurate and stable. The present invention uses the time convolution module and the attention aggregation graph convolution module to fully extract the temporal and spatial correlation of the data to fit the mapping of the wavefront information to be corrected and the historical continuous wavefront information, which can be used for real-time prediction and estimation of the wavefront control system, avoiding the inherent delay error of the AO system causing the compensation wavefront on the deformable mirror to lag significantly behind the change of the distortion wavefront, which can effectively improve the correction performance of the AO system and help the prediction and correction of the adaptive optical system under severe atmospheric turbulence conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1A flow chart of a wavefront prediction method based on a dynamic space-time graph model of the present invention;
[0019] Figure 2 A schematic diagram of data collection in this embodiment;
[0020] Figure 3 This is a network model diagram of this embodiment;
[0021] Figure 4 is a comparison chart of the prediction results of this embodiment, wherein DSTGNN is the name of the model proposed in the present invention;
[0022] Figure 5 This is a schematic diagram of loading the network model into the actual system in this example. DETAILED DESCRIPTION
[0023] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0024] See also Figure 1 A wavefront prediction method based on a dynamic spatiotemporal graph model of the present invention comprises the following steps:
[0025] (S1), collecting Zernike coefficient data of time-series continuous distortion wavefront through simulation;
[0026] (S2), preprocessing the collected wavefront data, and dividing the processed data into two groups, a training set and a test set, according to the requirements of the prediction model;
[0027] (S3), constructing a dynamic spatiotemporal graph network model to extract the time and space domain features of the wavefront data;
[0028] (S4), training the dynamic spatiotemporal graph network using the training set, selecting the optimal model structure and parameters according to the prediction results, and loading the best model weights into the test set to test the trained network;
[0029] (S5) Applying the optimal prediction model to the actual adaptive optical system to solve the correction delay problem.
[0030] See also Figure 2 In step S1, the time series Zernike coefficient data is obtained by inputting the light beam through a three-layer phase screen that conforms to the statistical distribution of atmospheric turbulence and then inputting it into the Hartmann wavefront sensor system.
[0031] See also Figure 3In step S3, the dynamic spatiotemporal graph network model uses the temporal convolution module of TCN to extract the temporal association of data. TCN consists of two initial unit branches, including four types of convolutions for extracting various temporal patterns. Each branch controls the information flow through a tanh activation function and a sigmoid function, and finally realizes feature fusion through Hadamard multiplication. TCN extracts an overall feature from the coefficients of the previous frame and predicts future coefficients based on the temporal information to obtain the overall temporal feature.
[0032] At the same time, the dynamic graph learning layer (DGL) constructs the Zernike coefficients into graph nodes. The DGL layer first randomly initializes a node embedding dictionary for all nodes, calculates the dot product similarity between nodes, and uses the ReLU function to eliminate weak connections to obtain an adaptive matrix. At the same time, the multi-head attention mechanism is used to extract the dynamic weight A of the Zernike coefficient at each time step. w These weights determine the strength of one series's dependence on another. The weights are summed and normalized with the previously obtained adaptive matrix to construct the global dynamic adjacency matrix A. d :
[0033]
[0034] In the network, A d To be normalized to I represents the identity matrix. The dynamic graph learning module obtains the dynamic correlation matrix on the data time series and inputs it into the attention aggregation graph convolution module to extract the spatial features between the data. The attention aggregation graph convolution can be expressed as:
[0035]
[0036] where i is the depth of the layer, H in is the input feature of this layer, β is a hyperparameter control ratio, and “·” is a matrix multiplication. (i) Connect together and then pass through a linear layer to get the output features, where the weight α is the attention weight coefficient.
[0037] The wavefront data passes through the three-layer space-time module to obtain multi-level space-time features, and the features are fused through the output module. The final fully connected layer obtains the Zernike coefficients for predicting the future wavefront phase.
[0038] See also Figure 4 In step S4, we tested the above network. In this example, the dynamic graph neural network was input with 15 historical frames to predict the wavefront information of the third frame in the future, and compared with the LSTM model. We reconstructed the predicted coefficients into the wavefront phase and evaluated it using the root mean square (RMS) value:
[0039]
[0040] Where P(z pre ) is the pixel value of the predicted phase map, P(z true ) is the pixel value of the label phase, M and N are the length and width of the phase map. From the prediction results, we can see that compared with the prediction using LSTM, the dynamic spatiotemporal graph model can couple the spatiotemporal correlation of data, have better prediction accuracy, and have a stable prediction effect.
[0041] See also Figure 5 In step S5, in the actual adaptive optical system, the predicted wavefront of the network will be loaded into the control system, and the wavefront will be converted into the control command of the deformable mirror through the conversion equation to perform wavefront compensation and obtain the corrected wavefront. The network model in this paper has small prediction error and stable prediction, which is feasible and effective.
[0042] The above is only a preferred embodiment of the present invention. The protection scope of the present invention is not limited to the above embodiments. All technical solutions that belong to the spirit and principle of the present invention belong to the protection scope of the present invention. It should be pointed out that some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A wavefront prediction method based on a dynamic spatiotemporal graph model, characterized in that: The following steps are involved: (S1), collecting Zernike coefficient data of time-series continuous distortion wavefront through simulation; (S2), preprocessing the collected wavefront data, and dividing the processed data into two groups, a training set and a test set, according to the requirements of the prediction model; (S3), constructing a dynamic spatiotemporal graph network model to extract the time and space domain features of the wavefront data; (S4), training the dynamic spatiotemporal graph network using the training set, selecting the optimal model structure and parameters according to the prediction results, and loading the best model weights into the test set to test the trained network; (S5) Applying the optimal prediction model to the actual adaptive optical system to solve the correction delay problem.
2. A wavefront prediction method based on a dynamic spatiotemporal graph model according to claim 1, characterized in that: In step (S1), the time-series Zernike coefficient data is obtained by inputting a light beam through a multi-layer phase screen conforming to the statistical distribution of atmospheric turbulence and then inputting it into a Hartmann wavefront sensor system.
3. The wavefront prediction method based on a dynamic spatiotemporal graph model according to claim 1, characterized in that: In step (S3), the dynamic spatiotemporal graph network model consists of a dynamic graph learning module, a temporal convolution module, an attention aggregation graph convolution module, and an output module.
4. The wavefront prediction method based on a dynamic spatiotemporal graph model according to claim 1, characterized in that: In step (S4), the training is to use the first 15 frames of the atmospheric turbulence Zernike coefficient sequence of the N groups as historical frame information input to predict the third frame to be corrected.
5. The wavefront prediction method based on a dynamic spatiotemporal graph model according to claim 1, characterized in that: In step (S4), the evaluation index for selecting the best model is the root mean square (RMS) value, and the model with the smaller residual root mean square value is selected as the optimal model structure.
Citation Information
Cited By
Method for analyzing thermal halo aberration of different truncation factors based on Zernike polynomial
CN122171037A
