Stochastic parallel gradient descent adaptive optical wavefront correction method, system and electronic device based on Sophia

By using Sophia optimizer in adaptive optical systems to improve the stochastic parallel gradient descent algorithm, first-order and second-order momentum are constructed and gain coefficient adaptation is achieved, which solves the slow correction speed of strong turbulent wavefront distortion and is prone to fall into local poles in traditional systems. The value problem improves the correction accuracy and real-time performance of the system.

CN118409427BActive Publication Date: 2025-01-17JINLING INST OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410579291.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2025-01-17
Estimated Expiration
2044-05-11

AI Technical Summary

Technical Problem

Due to the existence of wavefront sensors, traditional adaptive optical systems have high cost and complex structures. The convergence speed is slow in the correction of strong turbulent wavefront distortion, which is easy to fall into local extreme values ​​and is not suitable for strong turbulent flow. Optimization problem of phase distortion.

Method used

The Sophia optimizer is used to improve the stochastic parallel gradient descent algorithm. By constructing first-order momentum and second-order momentum and adding weight parameters, the gain coefficient adaptation is achieved, and the voltage of the wavefront corrector is updated using the combination of first-order momentum and second-order momentum of the gradient. Control the signal to improve convergence speed and accuracy.

Benefits of technology

Improve the convergence speed and accuracy of the system, reduce the probability of falling into local extreme values, enhance the correction ability of turbulent wavefront distortion of different intensities, reduce the number of iterations and the calculation of control parameters, and improve the wavefront sensing self-sensing Adapt to the real-time and effectiveness of optical systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118409427B_ABST
    Figure CN118409427B_ABST
Patent Text Reader

Abstract

The present invention discloses a random parallel gradient descent adaptive optical wavefront correction method, system and electronic device based on Sophia, which calculates the change of signal performance index generated by an image sensor according to the random disturbance generated by the voltage control signal of a wavefront corrector in iteration; improves the SPGD algorithm based on the Sopiha optimizer, and uses the change of performance index and random disturbance to calculate the gradient; constructs first-order momentum and second-order momentum in the improved SPGD algorithm; adds weight parameters and gradient shearing to the algorithm for constructing first-order momentum and second-order momentum, and updates the voltage control signal of the wavefront corrector by combining the first-order momentum and the second-order momentum to achieve adaptive gain coefficient. The scheme of the present invention can improve the system convergence accuracy, accelerate the system convergence speed, and reduce the probability of falling into a local extreme value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of adaptive optics, and in particular to a random parallel gradient descent adaptive optics wavefront correction method, system and electronic equipment based on Sophia. Background Art

[0002] Adaptive optics (AO) is an optical system technology that aims to correct aberrations caused by non-uniform materials or defects in optical components. Adaptive optical systems usually include wavefront sensors, wavefront correctors, and wavefront controllers. They analyze the data from the wavefront sensor in real time and use feedback mechanisms to control the wavefront corrector to deform and compensate for the distorted wavefront.

[0003] The existence of wavefront sensors in traditional adaptive optical systems makes them expensive and complex in structure. For fields that require miniaturized structures, traditional adaptive optical systems can no longer meet application requirements. Wavefront-sensor-less adaptive optical systems (Wavefront-sensor-less AO) are an adaptive optical technology that does not rely on wavefront sensors. It uses adaptive algorithms or model methods to achieve wavefront correction without measuring wavefront distortion. Currently, this technology is widely used for wavefront correction in various application scenarios, such as optical microscopy, free-space optical communications, space detection and measurement, astronomical target observation, retinal imaging, etc.

[0004] Whether the expected correction effect can be achieved in the actual application of the adaptive optical system without wavefront sensing depends on the system control algorithm, and the control algorithm involves the iterative solution of the control parameters. The system first initializes the wavefront corrector of the adaptive optical system and other parameters required by the correction algorithm. The image sensor is used to measure the far-field spot corresponding to the wavefront distortion, and the system performance indicators, such as the square sum of the far-field spot intensity distribution, Strehl ratio and average radius, and ring energy, are calculated based on the far-field spot information. The control algorithm calculates the control signal required by the wavefront corrector according to the change of the performance index value, and applies it to the wavefront corrector to correct the wavefront distortion; iterate the above process until the predetermined correction criterion or convergence standard is met. In the iterative process, different control methods can be used, such as genetic algorithm (GA), simulated annealing algorithm (SA), particle swarm optimization algorithm (PSO) and stochastic parallel gradient descent algorithm (SPGD), etc., which can effectively adjust the control parameters to minimize the wavefront residual.

[0005] The wavefront sensor-free adaptive optical system based on the stochastic parallel gradient descent algorithm SPGD is a wavefront correction technology that combines stochastic gradient descent (SGD) and parallel computing. Its main idea is to use parallel computing to accelerate the gradient calculation process, and use stochastic gradient descent to update the control parameters. Since SPGD adopts the idea of ​​stochastic gradient descent, the gradient updated at each node is based on randomly selected samples, which may cause fluctuations or oscillations in the algorithm during the iteration process, making the convergence speed unstable; the conventional SPGD algorithm uses a fixed gain coefficient, and has poor performance in correcting wavefront distortion in strong turbulence, is prone to falling into local extremes, and converges slowly; SPGD is not suitable for the optimization problem of strong turbulence phase distortion, and its correction ability is not as good as other optimization algorithms, and its application scenarios are limited. Summary of the invention

[0006] The purpose of the present invention is to address the above problems and propose a random parallel gradient descent adaptive optical wavefront correction method, system and electronic equipment based on Sophia, which adopts an adaptive gain adjustment strategy, has better correction capability for wavefront distortion of turbulence of different intensities, reduces the probability of falling into local extreme values, improves the convergence speed, and enhances the generalization ability of the system.

[0007] To achieve the above purpose, the technical solution provided by the present invention is:

[0008] A random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising the following steps:

[0009] Initialize the parameters, and calculate the change in the signal performance index corresponding to the image sensor according to the random perturbation of the voltage control signal of the wavefront corrector in the iteration;

[0010] The gradient is calculated from the change of signal performance index and random disturbance, and the Sopiha optimizer is used to improve the SPGD algorithm according to the gradient to perform wavefront correction;

[0011] The first-order momentum and the second-order momentum are constructed in the improved SPGD algorithm. The weight parameter is added to the SPGD algorithm with the first-order momentum and the second-order momentum constructed, and the voltage control signal of the wavefront corrector is updated by the combination of the first-order momentum and the second-order momentum to achieve the adaptive gain coefficient.

[0012] The initial value of the SPGD algorithm is set, and the change in the signal performance index corresponding to the image sensor is calculated according to the random disturbance of the voltage control signal of the wavefront corrector in the iteration, specifically:

[0013] Set the initial value of the SPGD algorithm and assume that the voltage control signal of the wavefront corrector is u(k)={u1,u2,···,uN}, where N represents the number of driver units of the wavefront corrector. At the kth iteration, a random disturbance {Δu} is generated, and the corresponding disturbances Δu and -Δu in two directions are applied to the wavefront corrector respectively. The controller collects the signal of the image sensor and calculates the performance indicators J(u+Δu) and J(u-Δu), and obtains the signal performance indicator change ΔJ(k):

[0014] ΔJ(k)=J(u+Δu)-J(u-Δu).

[0015] The calculation of the gradient based on the signal performance index change and the random disturbance specifically includes:

[0016] The first-order gradient g(k) is calculated by multiplying the signal performance index change ΔJ(k) and the random disturbance Δu:

[0017] g(k)=ΔJ(k)·sign(Δu);

[0018] Wherein, sign() is a sign function, whose function is to take the positive or negative sign of a number; the sign of ΔJ(k)·sign(Δu) is determined by the optimization direction of the signal performance index. If the optimization direction of the signal performance index is forward, it is positive, otherwise it is negative.

[0019] The construction of first-order momentum and second-order momentum in the improved SPGD algorithm is specifically as follows:

[0020] The calculation formula for first-order momentum is:

[0021] m(k+1)=β1·m(k)+(1-β1)·g(k);

[0022] Where β1 is the set hyperparameter, m(k) represents the first-order momentum of the kth iteration, and m(k+1) represents the first-order momentum of the k+1th iteration;

[0023] Calculate the second-order gradient using the formula:

[0024]

[0025] In the formula, represents the second-order gradient of k iterations;

[0026] Construct the second-order momentum, and the calculation formula is:

[0027]

[0028] Where β2 is the set hyperparameter, h(k) represents the second-order momentum of the kth iteration, and h(k+1) represents the second-order momentum of the k+1th iteration.

[0029] The Sopiha optimizer updates the voltage parameters of the wavefront corrector according to the combined optimization of the first-order gradient and the second-order gradient, finds the optimal solution, and completes the wavefront correction.

[0030] The weight parameter is added to the SPGD algorithm that constructs the first-order momentum and the second-order momentum, and the voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve adaptive gain coefficient, specifically:

[0031] Add the weight parameter λ to achieve adaptive gain coefficient and improve the convergence speed. At this time, the voltage control signal formula of the wavefront corrector is updated as follows:

[0032] u(k)=u(k)+λ·α(k)·u(k);

[0033] In the formula, λ is the set parameter, α(k) is the adaptive learning rate, and the reference expression is α(k) = 0.05 / (1+0.001*k);

[0034] The voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve adaptive gain coefficient and improve convergence speed. The updated voltage control signal of the wavefront corrector is obtained as follows:

[0035] u(k+1)=u(k)+α(k)·clip(m / max(γ·h(k),ε),ρ(k))

[0036] Where u(k+1) represents the voltage signal of the k+1th iteration; ρ(k) is the adaptive clipping range parameter, and its reference expression is 0.5*(1+cos((π*k) / T)), where T is the total number of iterations; clip(m / max(γ·h(k),ε),ρ(k)) is the clipping function, which is used to limit m / max(γ·h(k),ε) to the range of -ρ(k) to ρ(k); the parameter ε is 10 -8 ;

[0037] The updated voltage control signal of the wavefront corrector is applied to the wavefront corrector through the amplifier to complete the current iteration; the above correction process is repeated until the end condition is met; the end condition is a certain number of iterations or the performance index reaches a fixed value.

[0038] The present invention also protects a system used in the random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising:

[0039] The gradient descent module is used to initialize parameters and calculate the change in the signal performance index corresponding to the image sensor according to the random perturbation of the voltage control signal of the wavefront corrector in the iteration; the gradient is calculated from the change in the signal performance index and the random perturbation, and the Sopiha optimizer is used to improve the SPGD algorithm according to the gradient to perform wavefront correction;

[0040] The gain coefficient adaptive module is used to construct the first-order momentum and the second-order momentum in the improved SPGD algorithm; a weight parameter is added to the SPGD algorithm that constructs the first-order momentum and the second-order momentum, and the voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve gain coefficient adaptation.

[0041] The present invention also protects an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the random parallel gradient descent adaptive optical wavefront correction method based on Sophia as described above is implemented.

[0042] The beneficial effects of the present invention are:

[0043] The present invention integrates the deep learning Sophia optimizer into the conventional SPGD algorithm, approximates the product of the micro-change and disturbance of the system performance index as the gradient, calculates the first-order gradient and the second-order gradient, and uses the first-order momentum, second-order momentum and adaptive parameters of the gradient to control the direction and step size of the gradient descent, realizes the adaptation of the gain coefficient, improves the convergence speed of the algorithm, and reduces the probability of falling into the local extreme value; adopts a single loop structure and vector parallel operation to reduce the calculation amount and running time of the controller, greatly reduces the number of iterations, that is, the number of far-field camera sampling, and further improves the system correction speed.

[0044] In aberration-free target imaging, the light beam will form an Airy disk at the imaging position, reaching the diffraction limit, while in an aberrated optical system, the far-field spot is diffuse; the conventional SPGD algorithm uses a fixed gain coefficient for random gradient descent. When the wavefront aberration changes randomly, it is easy to fall into a local extreme value, the convergence speed is slow, and the convergence is not stable enough. The solution of the present invention solves the above-mentioned problems of conventional SPGD, and has the advantages of adaptive learning rate characteristics and parallel control of SPGD. The micro-change amount of the system performance index is approximated as the gradient, the first-order mean and second-order mean of the gradient are calculated, and the weight decay and adaptive shear limit update mechanism are introduced to control the direction and step size of the gradient descent in combination, so as to realize the adaptive adjustment of the gain coefficient, improve the system convergence accuracy, accelerate the system convergence speed, and reduce the probability of falling into a local extreme value.

[0045] The Sopiha optimizer is a second-order optimizer. In order to improve and optimize the effect of gradient descent, the present invention uses the Sopiha optimizer to improve the SPGD algorithm, so as to improve the adaptive learning rate adjustment and realize a more accurate update strategy of the wavefront corrector voltage signal, so as to improve the convergence speed and convergence accuracy of the SPGD algorithm and realize a more efficient wavefront correction effect.

[0046] The algorithm of the present invention can further accelerate the convergence speed, reduce the calculation amount of the control parameters of the wavefront corrector and the sampling times of the image sensor information, and improve the real-time performance and effectiveness of the adaptive optical system without wavefront sensing.

[0047] Specifically, compared with the prior art, the solution of the present invention has the following advantages:

[0048] (1) Compared with traditional adaptive optics systems, the wavefront correction system based on Sophia's SPGD optimization algorithm does not require a wavefront sensor;

[0049] (2) Compared with the wavefront correction system based on the conventional SPGD optimization algorithm, the gradient descent strategy is improved, and the mechanisms of gain coefficient adaptation, weight attenuation and adaptive shear limit update are realized, which makes the system converge faster, reduces the probability of falling into local extreme values, and can perform wavefront correction more efficiently.

[0050] (3) The wavefront correction system is based on Sophia's SPGD optimization algorithm, and has strong adaptability to wavefront distortion under different turbulence intensities and good correction effect on strong turbulence. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a system structure diagram of the random parallel gradient descent adaptive optical wavefront correction method based on Sophia of the present invention.

[0052] Figure 2 This is an algorithm flow chart of the Sophia-based random parallel gradient descent adaptive optical wavefront correction method of the present invention.

[0053] Figure 3 This is an example of the wavefront distortion to be corrected in the present invention, where (a) is the far-field spot diagram before correction, (b) is the far-field spot diagram after correction, and (c) is a comparison of the convergence of the control algorithm. DETAILED DESCRIPTION

[0054] The above contents of the present invention are further described in detail below in the form of embodiments, but this should not be understood as the scope of the above subject matter of the present invention being limited to the following embodiments, and all technologies realized based on the above contents of the present invention belong to the scope of the present invention.

[0055] The present invention provides a random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising the following steps:

[0056] Step S1: Initialize parameters, and calculate the change in the signal performance index corresponding to the image sensor according to the random disturbance of the voltage control signal of the wavefront corrector in the iteration;

[0057] Step S2: Calculate the gradient from the signal performance index change and the random disturbance, and use the Sopiha optimizer to improve the SPGD algorithm according to the gradient to perform wavefront correction;

[0058] Step S3: construct the first-order momentum and the second-order momentum in the improved SPGD algorithm; add weight parameters in the SPGD algorithm that constructs the first-order momentum and the second-order momentum, and update the voltage control signal of the wavefront corrector by combining the first-order momentum and the second-order momentum to achieve gain coefficient adaptation.

[0059] The present invention also provides a system adopted by the random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising:

[0060] The gradient descent module is used to initialize parameters and calculate the change in the signal performance index corresponding to the image sensor according to the random perturbation of the voltage control signal of the wavefront corrector in the iteration; the gradient is calculated from the change in the signal performance index and the random perturbation, and the Sopiha optimizer is used to improve the SPGD algorithm according to the gradient to perform wavefront correction;

[0061] The gain coefficient adaptive module is used to construct the first-order momentum and the second-order momentum in the improved SPGD algorithm; a weight parameter is added to the SPGD algorithm that constructs the first-order momentum and the second-order momentum, and the voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve gain coefficient adaptation.

[0062] The present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the random parallel gradient descent adaptive optical wavefront correction method based on Sophia as described above is implemented.

[0063] The present invention is further described in detail below in conjunction with specific embodiments:

[0064] like Figure 1As shown, a wavefront sensor-free adaptive wavefront correction system based on Sophia's SPGD optimization algorithm is mainly composed of a wavefront corrector, a lens, an image sensor and a controller; in the specific implementation scheme, the wavefront corrector takes a deformable mirror as an example, the image sensor takes a CCD as an example, the system performance indicator takes the mean radius (Mean Radius, MR) of far-field light as an example, and the system performance observation indicator takes the Strehl Ratio (Strehl Ratio, SR) as an example; the above are only specific embodiments of the present invention, and the present invention is not limited to the above implementation examples.

[0065] The wavefront distortion is reflected by the deformable mirror and enters the CCD camera to obtain the far-field light spot information; the controller reads the far-field light spot image and calculates the performance index MR based on the far-field light spot information.

[0066]

[0067] Sophia's SPGD optimization algorithm is used to update the voltage control signal and then drive the deformable mirror to correct the wavefront distortion. The algorithm flow is as follows: Figure 2 shown.

[0068] The specific implementation steps are as follows:

[0069] Step 1: Set the initial value of the control algorithm; assume that the current voltage of the wavefront corrector is u(k) = {u1,u2,···,u N}, N represents the number of driver units of the wavefront corrector. At the kth iteration, a small random voltage disturbance {Δu} is generated, and the corresponding disturbances Δu and -Δu in two directions are applied to the deformable mirror respectively. The controller collects the CCD signal and calculates the performance indicators J(u+Δu) and J(u-Δu), and obtains the signal performance indicator change ΔJ(k):

[0070] ΔJ(k)=J(u+Δu)-J(u-Δu);

[0071] Wherein, k represents the number of iterations, that is, the voltage control signal of the wavefront corrector is updated for the kth time, and the voltage control signal of the wavefront corrector is updated iteratively. k is usually sequentially increasing, representing the order of iterations, and each iteration k+1 is based on the result of the previous iteration k;

[0072] Step 2: Calculate the first-order gradient g(k) by multiplying the change in the signal performance index ΔJ(k) and the random disturbance Δu;

[0073] g(k)=ΔJ(k)·sign(Δu);

[0074] Where sign() is a sign function, which is used to take the positive or negative sign of a number; the sign and performance of ΔJ(k)·sign(Δu) are determined by the optimization direction of the performance index. If the performance index moves in the direction of maximum, it is positive, otherwise it is negative;

[0075] Step 3: Improve the conventional SPGD algorithm based on the Sopiha optimizer and add the first-order momentum. The calculation formula of the first-order momentum is:

[0076] m(k+1)=β1·m(k)+(1-β1)·g(k);

[0077] Where β1 is a set hyperparameter with a reference value of 0.9; m(k) represents the first-order momentum m of the k-th iteration, and m(k+1) represents the first-order momentum of the k+1-th iteration;

[0078] Step 4: Calculate the second-order gradient The approximate calculation formula is

[0079]

[0080] The Sopiha optimizer updates the voltage parameters of the wavefront corrector according to the combined optimization of the first-order gradient and the second-order gradient, so that it can find the optimal solution faster and more accurately and complete the wavefront correction.

[0081] Step 5: Add a hyperparameter β2 to construct the second-order momentum h, calculated as

[0082]

[0083] Where β2 is a hyperparameter with a reference value of 0.99; h(k) represents the second-order momentum of the kth iteration, and h(k+1) represents the second-order momentum of the k+1th iteration;

[0084] Among them, β1 and β2 are hyperparameters, which are the decay rates of two moving averages respectively. The reference values ​​of β1 and β2 are mainly obtained through experimental tests, and the values ​​with the best effect are selected as reference values. When starting to test, the recommended default values ​​can be used, for example, β1 = 0.9, β2 = 0.999.

[0085] Step 6: Add weight parameter λ to achieve adaptive gain coefficient and improve convergence speed. At this time, the control voltage signal update formula is:

[0086] u(k)=u(k)+λ·α(k)·u(k)

[0087] Where λ is a hyperparameter, the reference value is 0.01, α(k) is the adaptive learning rate, and the reference expression is α(k) = 0.05 / (1+0.001*k);

[0088] λ is mainly used to increase the regularization effect. The weight decay coefficient is usually set in the range of 10-4 to 10-2. The specific value of λ should be adjusted based on the experimental performance.

[0089] The expression of α(k) is obtained according to the inverse time decay strategy of learning rate decay in the gradient descent algorithm:

[0090]

[0091] The values ​​of α0 and β are measured experimentally;

[0092] Step 7: Further update the control signal by combining the first-order momentum and the second-order momentum to achieve adaptive gain coefficients, improve convergence speed, and avoid falling into local extreme solutions. The final control voltage signal update formula is:

[0093] u(k+1)=u(k)+α(k)·clip(m / max(γ·h(k),ε),ρ(k))

[0094] Where u(k+1) represents the voltage signal of the k+1th iteration; ρ(k) is the adaptive clipping range parameter, and its reference expression is 0.5*(1+cos((π*k) / T)), where T is the total number of iterations; clip(m / max(γ·h(k),ε),ρ(k)) is the clipping function, which is used to limit m / max(γ·h(k),ε) to the range of -ρ(k) to ρ(k); the parameter ε is 10 -8 , to avoid the denominator being zero during the algorithm iteration process; the expression of ρ(k) is obtained according to the cosine decay strategy of the learning rate decay in the gradient descent algorithm:

[0095]

[0096] Among them, the value of α0 is measured by experiment;

[0097] Step 8: The updated voltage control signal is applied to the wavefront calibrator through the amplifier to complete the current iteration, and the correction process from the first step to the seventh step is repeated until the end condition is met. The end condition can be a certain number of iterations or the performance index reaches a fixed value.

[0098] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any technician familiar with the profession, without departing from the scope of the technical solution of the present invention, according to the technical essence of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.

Claims

1. A random parallel gradient descent adaptive optical wavefront correction method based on Sophia, characterized by: The following steps are involved: Initialize the parameters, and calculate the change in the signal performance index corresponding to the image sensor according to the random perturbation of the voltage control signal of the wavefront corrector in the iteration; The gradient is calculated from the change of signal performance index and random disturbance, and the Sopiha optimizer is used to improve the SPGD algorithm according to the gradient to perform wavefront correction; The first-order momentum and the second-order momentum are constructed in the improved SPGD algorithm; the weight parameter and the gradient clipping are added to the SPGD algorithm which constructs the first-order momentum and the second-order momentum, and the voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to realize the adaptive gain coefficient; The construction of first-order momentum and second-order momentum in the improved SPGD algorithm is specifically as follows: The calculation formula for first-order momentum is: m(k+1)=β1·m(k)+(1-β1)·g(k); Where β1 is the set hyperparameter, m(k) represents the first-order momentum of the kth iteration, and m(k+1) represents the first-order momentum of the k+1th iteration; Calculate the second-order gradient using the formula: In the formula, represents the second-order gradient of k iterations; Construct the second-order momentum, and the calculation formula is: Where β2 is the set hyperparameter, h(k) represents the second-order momentum of the kth iteration, and h(k+1) represents the second-order momentum of the k+1th iteration; The weight parameter and gradient clipping are added to the SPGD algorithm that constructs the first-order momentum and the second-order momentum, and the voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve adaptive gain coefficient, specifically: Add the weight parameter λ to achieve adaptive gain coefficient and improve convergence speed. At this time, the voltage control signal formula of the wavefront corrector is updated as follows: u(k)=u(k)+λ·α(k)·u(k); Where α(k) is the adaptive learning rate; The voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve adaptive gain coefficient and improve convergence speed. The updated voltage control signal of the wavefront corrector is obtained as follows: u(k+1)=u(k)+α(k)·clip(m / max(γ·h(k),ε),ρ(k)) Where u(k+1) represents the voltage signal of the k+1th iteration; ρ(k) is the adaptive clipping range parameter, T is the total number of iterations; clip(m / max(γ·h(k),ε),ρ(k)) is the clipping function, which is used to limit m / max(γ·h(k),ε) to the range of -ρ(k) to ρ(k); ε is a parameter to avoid the denominator being zero in the iteration.

2. The random parallel gradient descent adaptive optical wavefront correction method based on Sophia according to claim 1, characterized in that: The initial value of the SPGD algorithm is set, and the change in the signal performance index corresponding to the image sensor is calculated according to the random disturbance of the voltage control signal of the wavefront corrector in the iteration, specifically: Set the initial value of the SPGD algorithm and assume that the voltage control signal of the wavefront corrector is u(k)={u1,u2,···,u N }, where N represents the number of driver units of the wavefront corrector. At the kth iteration, a random disturbance {Δu} is generated, and the corresponding disturbances Δu and -Δu in two directions are applied to the wavefront corrector respectively. The controller collects the signal of the image sensor and calculates the performance indicators J(u+Δu) and J(u-Δu), and obtains the signal performance indicator change ΔJ(k): ΔJ(k)=J(u+Δu)-J(u-Δu).

3. The random parallel gradient descent adaptive optical wavefront correction method based on Sophia according to claim 2, characterized in that: The calculation of the gradient based on the signal performance index change and the random disturbance specifically includes: The first-order gradient g(k) is calculated by multiplying the signal performance index change ΔJ(k) and the random disturbance Δu: g(k)=ΔJ(k)·sign(Δu); Wherein, sign() is a sign function, which is used to obtain the positive or negative sign of a number; the sign of ΔJ(k)·sign(Δu) is determined by the optimization direction of the signal performance index.

4. The Sophia-based random parallel gradient descent adaptive optical wavefront correction method according to claim 1, characterized in that: The updated voltage control signal of the wavefront corrector is applied to the wavefront corrector through the amplifier to complete the current iteration; the above correction process is repeated until the end condition is met; the end condition is a certain number of iterations or the performance index reaches a fixed value.

5. The system used in the Sophia-based stochastic parallel gradient descent adaptive optical wavefront correction method according to any one of claims 1 to 4, characterized in that: include: The gradient descent module is used to initialize parameters and calculate the change in the signal performance index corresponding to the image sensor according to the random perturbation of the voltage control signal of the wavefront corrector in the iteration; the gradient is calculated from the change in the signal performance index and the random perturbation, and the Sopiha optimizer is used to improve the SPGD algorithm according to the gradient to perform wavefront correction; The gain coefficient adaptive module is used to construct the first-order momentum and the second-order momentum in the improved SPGD algorithm; a weight parameter is added to the SPGD algorithm that constructs the first-order momentum and the second-order momentum, and the voltage control signal of the wavefront corrector is updated by combining the first-order momentum and the second-order momentum to achieve gain coefficient adaptation.

6. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the Sophia-based stochastic parallel gradient descent adaptive optical wavefront correction method is implemented as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • A power load prediction method based on a Bayesian regularization neural network

    CN109409614A

  • Coherent FSOC system based on improved Adam optimizer and SPGD algorithm

    CN116915333A