[go: up one dir, main page]

CN118409427A - Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment - Google Patents

Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment Download PDF

Info

Publication number
CN118409427A
CN118409427A CN202410579291.8A CN202410579291A CN118409427A CN 118409427 A CN118409427 A CN 118409427A CN 202410579291 A CN202410579291 A CN 202410579291A CN 118409427 A CN118409427 A CN 118409427A
Authority
CN
China
Prior art keywords
order momentum
wavefront
order
momentum
gradient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410579291.8A
Other languages
Chinese (zh)
Other versions
CN118409427B (en
Inventor
陈鹏
杨慧珍
杨文杰
李先硕
祁正青
朱荣刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinling Institute of Technology
Original Assignee
Jinling Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinling Institute of Technology filed Critical Jinling Institute of Technology
Priority to CN202410579291.8A priority Critical patent/CN118409427B/en
Publication of CN118409427A publication Critical patent/CN118409427A/en
Application granted granted Critical
Publication of CN118409427B publication Critical patent/CN118409427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/0012Optical design, e.g. procedures, algorithms, optimisation routines
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/0025Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00 for optical correction, e.g. distorsion, aberration
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/0025Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00 for optical correction, e.g. distorsion, aberration
    • G02B27/0068Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00 for optical correction, e.g. distorsion, aberration having means for controlling the degree of correction, e.g. using phase modulators, movable elements

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention discloses a self-adaptive optical wavefront correction method, a system and electronic equipment based on the random parallel gradient descent of Sophia, wherein the method calculates the signal performance index variation quantity generated by an image sensor according to the random disturbance generated in the iteration of a voltage control signal of a wavefront corrector; the SPGD algorithm is improved based on Sopiha optimizers, and gradients are calculated by using the variation of the performance indexes and random disturbance; constructing a first-order momentum and a second-order momentum in the improved SPGD algorithm; and adding weight parameters and gradient shearing into an algorithm for constructing first-order momentum and second-order momentum, and updating a voltage control signal of the wavefront corrector in a mode of combining the first-order momentum and the second-order momentum to realize gain coefficient self-adaption. The scheme of the invention can improve the system convergence accuracy, accelerate the system convergence speed and reduce the probability of sinking into local extremum.

Description

基于Sophia的随机并行梯度下降自适应光学波前校正方法、 系统及电子设备Stochastic parallel gradient descent adaptive optical wavefront correction method, system and electronic equipment based on Sophia

技术领域Technical Field

本发明涉及自适应光学领域,具体涉及一种基于Sophia的随机并行梯度下降自适应光学波前校正方法、系统及电子设备。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 technique

自适应光学(Adaptive Optics,AO)是一种光学系统技术,旨在校正光学系统中由于非均匀物质或光学元件缺陷而产生的像差。自适应光学系统通常包括波前传感器、波前校正器和波前控制器,通过实时分析波前传感器的数据,并利用反馈机制控制波前校正器使之产生形变,补偿畸变波前。Adaptive optics (AO) is an optical system technology that aims to correct aberrations caused by non-uniform materials or defects in optical components. Adaptive optics 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.

传统自适应光学系统因为存在波前传感器,使得自适应光学系统成本高,结构复杂。对于要求结构小型化的领域,传统自适应光学系统已不能满足应用需求,而无波前传感器自适应光学系统(Wavefront-sensor-less AO)是一种不依赖于波前传感器的自适应光学技术,通过使用自适应算法或模型法来实现波前校正,无需对波前畸变进行测量。目前,该技术被广泛使用于各种应用场景的波前校正,如光学显微成像、光自由空间光通信、空间探测与测量、天文目标观测、视网膜成像等。The existence of wavefront sensors in traditional adaptive optical systems makes adaptive optical systems 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. At present, this technology is widely used in wavefront correction in various application scenarios, such as optical microscopy, free-space optical communications, space detection and measurement, astronomical target observation, retinal imaging, etc.

无波前传感自适应光学系统实际应用中能否取得预期的校正效果取决于系统控制算法,而控制算法则涉及到迭代求解控制参数的方式。系统首先初始化自适应光学系统的波前校正器以及校正算法所需的其他参数。使用图像传感器测量波前畸变对应的远场光斑,根据远场光斑信息计算系统性能指标,例如远场光斑强度分布的平方和、斯特列尔比和平均半径、环围能量等。控制算法根据性能指标值的变化计算出波前校正器所需控制信号,并施加到波前校正器,使波前畸变得到校正;迭代以上过程,直到满足预定的校正准则或收敛标准。在迭代的过程中,可以采用不同的控制方法,例如遗传算法(Genetic Algorithm,GA)、模拟退火算法(Simulated annealing,SA)、粒子群优化算法(Particle SwarmOptimization,PSO)和随机并行梯度下降算法(SPGD)等,可以有效地调整控制参数以最小化波前残差。Whether the adaptive optical system without wavefront sensing can achieve the expected correction effect in practical applications depends on the system control algorithm, and the control algorithm involves the iterative solution of 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.

基于随机并行梯度下降算法SPGD的无波前传感自适应光学系统是一种结合了随机梯度下降(Stochastic Gradient Descent,SGD)和并行计算的波前校正技术。它的主要思想是利用并行计算加速梯度计算的过程,同时使用随机梯度下降来更新控制参数。由于SPGD采用了随机梯度下降的思想,每个节点更新的梯度是基于随机选择的样本,这可能导致算法在迭代过程中产生波动或震荡,使得收敛速度不稳定;常规SPGD算法采用固定增益系数,对于强湍流的波前畸变校正性能差,容易陷入局部极值,且收敛的速度慢;SPGD并不适用于强湍流相位畸变的优化问题,校正能力表现不如其他优化算法,应用场景受到限制。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

本发明的目的是针对上述问题,提出一种基于Sophia的随机并行梯度下降自适应光学波前校正方法、系统及电子设备,采用自适应增益调整策略,对于不同强度湍流的波前畸变具有更好的校正能力,降低陷入局部极值概率,提高收敛速度,增强系统泛化能力。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.

为实现上述目的,本发明提供的技术方案是:To achieve the above object, the technical solution provided by the present invention is:

一种基于Sophia的随机并行梯度下降自适应光学波前校正方法,包括以下步骤:A random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising the following steps:

初始化参数,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量;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;

由信号性能指标变化量和随机扰动计算梯度,采用Sopiha优化器根据梯度改进SPGD算法,进行波前校正;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;

在改进的SPGD算法中构建一阶动量和二阶动量;在构建了一阶动量和二阶动量的SPGD算法中添加权重参数,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应。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.

所述的设置SPGD算法的初始值,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量,具体为: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:

设置SPGD算法的初始值,设波前校正器的电压控制信号为u(k)={u1,u2,···,uN},其中N表示波前校正器的驱动器单元数,第k次迭代时,产生一个随机扰动{Δu},将两个方向的对应扰动Δu和-Δu分别施加到波前校正器;控制器采集图像传感器的信号并计算性能指标J(u+Δu)和J(u-Δu),得到信号性能指标变化量ΔJ(k):Set the initial value of the SPGD algorithm, assume that the voltage control signal of the wavefront corrector is u(k) = {u 1 ,u 2 ,···,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)。ΔJ(k)=J(u+Δu)-J(u-Δu).

所述的由信号性能指标变化量和随机扰动计算梯度,具体包括:The calculation of the gradient based on the signal performance index change and the random disturbance specifically includes:

使用信号性能指标变化量ΔJ(k)和随机扰动Δu的乘积计算一阶梯度g(k):The first-order gradient g(k) is calculated using the product of the signal performance index change ΔJ(k) and the random disturbance Δu:

g(k)=ΔJ(k)·sign(Δu);g(k)=ΔJ(k)·sign(Δu);

式中,sign()为符号函数,其功能为取数的正或负符号;ΔJ(k)·sign(Δu)的符号由信号性能指标的优化方向确定,若信号性能指标的优化方向为前进,则取正,反之取负。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.

所述的在改进的SPGD算法中构建一阶动量和二阶动量,具体为: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);m(k+1)=β 1 ·m(k)+(1-β 1 )·g(k);

式中,β1为设定的超参数,m(k)表示第k次迭代的一阶动量,m(k+1)表示第k+1次迭代的一阶动量;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:

式中,表示k次迭代的二阶梯度;In the formula, represents the second-order gradient of k iterations;

构建二阶动量,计算公式为:Construct the second-order momentum, and the calculation formula is:

式中,β2为设定的超参数,h(k)表示第k次迭代的二阶动量,h(k+1)表示第k+1次迭代的二阶动量。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.

所述的Sopiha优化器根据一阶梯度和二阶梯度的组合优化更新波前校正器的电压参数,找到最优解,完成波前校正。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.

所述的在构建了一阶动量和二阶动量的SPGD算法中添加权重参数,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应,具体为: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:

添加权重参数λ,实现增益系数自适应,提高收敛速度,此时波前校正器的电压控制信号公式更新为: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:

u(k)=u(k)+λ·α(k)·u(k);u(k)=u(k)+λ·α(k)·u(k);

式中,λ为设定的参数,α(k)为自适应学习率,参考表达式为α(k)为=0.05/(1+0.001*k);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);

通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应,提高收敛速度,得到波前校正器更新后的电压控制信号,公式为: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))u(k+1)=u(k)+α(k)·clip(m/max(γ·h(k),ε),ρ(k))

式中,u(k+1)表示第k+1次迭代的电压信号;ρ(k)为自适应剪切范围参数,参考表达式为0.5*(1+cos((π*k)/T)),T为总的迭代次数;clip(m/max(γ·h(k),ε),ρ(k))为剪切函数,用于将m/max(γ·h(k),ε)限制在-ρ(k)~ρ(k)范围内;参数ε取10-8Wherein, u(k+1) represents the voltage signal of the k+1th iteration; ρ(k) is the adaptive clipping range parameter, the reference expression is 0.5*(1+cos((π*k)/T)), 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),ε) within the range of -ρ(k)~ρ(k); the parameter ε is 10 -8 ;

波前校正器更新后的电压控制信号经过放大器施加给波前校器,完成当前迭代;重复以上校正流程,直至满足结束条件;结束条件为一定的迭代次数或性能指标达到固定值。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.

本发明还保护所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法采用的系统,包括:The present invention also protects a system used in the random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising:

梯度下降模块,用于初始化参数,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量;由信号性能指标变化量和随机扰动计算梯度,采用Sopiha优化器根据梯度改进SPGD算法,进行波前校正;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;

增益系数自适应模块,用于在改进的SPGD算法中构建一阶动量和二阶动量;在构建了一阶动量和二阶动量的SPGD算法中添加权重参数,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应。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.

本发明还保护一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行计算机程序时,实现如上所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法。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.

本发明的有益效果是:The beneficial effects of the present invention are:

本发明将深度学习Sophia优化器融入常规SPGD算法中,将系统性能指标的微变化量和扰动量乘积近似为梯度,计算一阶梯度和二阶梯度,利用梯度的一阶动量、二阶动量和自适应参数控制梯度下降的方向和步长,实现增益系数的自适应,提高算法收敛速度,且减小陷入局部极值的概率;采用单一循环结构和矢量并行运算,减少控制器计算量和运行时间,大幅减少迭代次数,即远场相机采样次数,进一步提高系统校正速度。The present invention integrates the deep learning Sophia optimizer into the conventional SPGD algorithm, approximates the product of the micro-change amount and the disturbance amount 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.

在无像差目标成像中,光束会在成像位置形成艾里斑,达到衍射极限,而在有像差的光学系统中,远场光斑弥散;常规SPGD算法采用某一个固定的增益系数进行随机梯度下降,当波前像差随机发生变化时,容易陷入局部极值、收敛速度慢、收敛性不够稳定。本发明的方案解决了常规SPGD的上述问题,同时具有自适应学习率特性和SPGD的并行控制优势,将系统性能指标的微变化量近似作为梯度,计算梯度一阶的均值和二阶均值,并引入权重衰减和自适应剪切限制更新的机制,组合控制梯度下降的方向和步长,从而实现增益系数自适应调整,提高系统收敛精度、加快系统收敛速度、减少陷入局部极值的概率。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 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.

Sopiha优化器是一种二阶优化器,本发明为改进和优化梯度下降的效果,使用Sopiha优化器对SPGD算法进行改进,以对自适应的学习率调整改进,实现更精确的波前校正器电压信号的更新策略,达到提高SPGD算法的收敛速度和收敛精度,实现更高效的波前校正效果。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 implement a more accurate update strategy for the wavefront corrector voltage signal, thereby improving the convergence speed and convergence accuracy of the SPGD algorithm and achieving a more efficient wavefront correction effect.

本发明的算法能进一步加快收敛速度,降低波前校正器控制参数的计算量和图像传感器信息的采样次数,提高无波前传感自适应光学系统的实时性和有效性。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.

具体地,与现有技术相比,本发明的方案具有以下优势:Specifically, compared with the prior art, the solution of the present invention has the following advantages:

(1)基于Sophia的SPGD优化算法的波前校正系统与传统自适应光学系统相比较不需要波前传感器;(1) Compared with traditional adaptive optics systems, the wavefront correction system based on Sophia's SPGD optimization algorithm does not require a wavefront sensor;

(2)与基于常规的SPGD优化算法的波前校正系统相比,改进了梯度下降策略,实现了增益系数自适应、权重衰减和自适应剪切限制更新的机制,使系统收敛速度快,陷入局部极值的概率更低,能够更高效的进行波前校正。(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.

(3)基于Sophia的SPGD优化算法的波前校正系统,并且对于不同湍流强度下波前畸变适应性强,对强湍流的校正效果好。(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

图1为本发明的基于Sophia的随机并行梯度下降自适应光学波前校正方法的系统结构图。FIG1 is a system structure diagram of the Sophia-based random parallel gradient descent adaptive optical wavefront correction method of the present invention.

图2为本发明的基于Sophia的随机并行梯度下降自适应光学波前校正方法的算法流程图。FIG. 2 is an algorithm flow chart of the Sophia-based random parallel gradient descent adaptive optical wavefront correction method of the present invention.

图3为本发明待校正的波前畸变示例,其中(a)为校正前的远场光斑图,(b)为校正后远场光斑图,(c)为控制算法的收敛情况对比。FIG3 is an example of wavefront distortion to be corrected in the present invention, wherein (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 ways

以下通过实施例的形式对本发明的上述内容再作进一步的详细说明,但不应将此理解为本发明上述主题的范围仅限于以下的实施例,凡基于本发明上述内容所实现的技术均属于本发明的范围。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.

本发明提供了一种基于Sophia的随机并行梯度下降自适应光学波前校正方法,包括以下步骤:The present invention provides a random parallel gradient descent adaptive optical wavefront correction method based on Sophia, comprising the following steps:

步骤S1:初始化参数,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量;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;

步骤S2:由信号性能指标变化量和随机扰动计算梯度,采用Sopiha优化器根据梯度改进SPGD算法,进行波前校正;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;

步骤S3:在改进的SPGD算法中构建一阶动量和二阶动量;在构建了一阶动量和二阶动量的SPGD算法中添加权重参数,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应。Step S3: construct the first-order momentum and the second-order momentum in the improved SPGD algorithm; add weight parameters to 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.

本发明还提供了所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法采用的系统,包括:The present invention also provides a system adopted by the Sophia-based random parallel gradient descent adaptive optical wavefront correction method, comprising:

梯度下降模块,用于初始化参数,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量;由信号性能指标变化量和随机扰动计算梯度,采用Sopiha优化器根据梯度改进SPGD算法,进行波前校正;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;

增益系数自适应模块,用于在改进的SPGD算法中构建一阶动量和二阶动量;在构建了一阶动量和二阶动量的SPGD算法中添加权重参数,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应。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.

本发明还提供了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行计算机程序时,实现如上所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法。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.

以下结合具体实施例对本发明做进一步的详细说明:The present invention is further described in detail below in conjunction with specific embodiments:

如图1所示,一种基于Sophia的SPGD优化算法的无波前传感自适应波前校正系统,主要由波前校正器、透镜、图像传感器和控制器组成;具体实施方案中波前校正器以变形镜为例,图像传感器以CCD为例,系统性能指标以远场光的平均半径(Mean Radius,MR)为例,系统性能观察指标以斯特列尔比(Strehl Ratio,SR)为例;以上列举的仅是本发明的具体实施例,本发明不仅限于以上实施例子。As shown in FIG1 , 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, a deformable mirror is used as an example of the wavefront corrector, a CCD is used as an example of the image sensor, the mean radius (MR) of the far-field light is used as an example of the system performance indicator, and the Strehl ratio (SR) is used as an example of the system performance observation indicator. The above examples are only specific embodiments of the present invention, and the present invention is not limited to the above embodiments.

波前畸变经变形镜反射后进入CCD相机,获得远场光斑信息;控制器读取远场光斑图像,根据远场光斑信息,计算性能指标MR。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.

采用Sophia的SPGD优化算法更新电压控制信号,然后驱动变形镜,从而实现对波前畸变的校正,算法流程如图2所示。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 shown in Figure 2.

具体实施步骤,如下:The specific implementation steps are as follows:

第一步:设置控制算法初始值;设当前波前校正器的电压为u(k)={u1,u2,···,uN},N表示波前校正器的驱动器单元数,第k次迭代时,产生一个小的随机电压扰动{Δu},分别将两个方向的对应扰动Δu和-Δu施加到变形镜,控制器采集CCD信号并计算性能指标J(u+Δu)和J(u-Δu),得到信号性能指标变化量ΔJ(k):Step 1: Set the initial value of the control algorithm; assume that the current voltage of the wavefront corrector is u(k) = {u 1 ,u 2 ,···,u N }, where 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):

ΔJ(k)=J(u+Δu)-J(u-Δu);ΔJ(k)=J(u+Δu)-J(u-Δu);

其中,k代表迭代次数,即对波前校正器的电压控制信号进行第k次更新,波前校正器的电压控制信号进行迭代更新,k通常是顺序递增的,代表迭代的次序,每一次迭代k+1是建立在前一次迭代k的结果之上的;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;

第二步:使用信号性能指标的变化量ΔJ(k)和随机扰动Δu乘积计算一阶梯度g(k);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;

g(k)=ΔJ(k)·sign(Δu);g(k)=ΔJ(k)·sign(Δu);

式中sign()为符号函数,其功能为取数的正或负符号;ΔJ(k)·sign(Δu)的符号和性能由性能指标的优化方向确定,若性能指标极大的方向前进,则取正,反之取负;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;

第三步:基于Sopiha优化器对常规SPGD算法进行改进,添加一阶动量,一阶动量的计算公式为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:

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

式中,β1为设定的超参数,参考值为0.9;m(k)表示第k次迭代的一阶动量m,m(k+1)表示第k+1次迭代的一阶动量;Where β 1 is a set hyperparameter with a reference value of 0.9; m(k) represents the first-order momentum m of the kth iteration, and m(k+1) represents the first-order momentum of the k+1th iteration;

第四步:计算二阶梯度近似计算公式为Step 4: Calculate the second-order gradient The approximate calculation formula is

所述的Sopiha优化器根据一阶梯度和二阶梯度的组合优化更新波前校正器的电压参数,使其更快更准的找到最优解,完成波前校正。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.

第五步:添加一个超参数β2构建二阶动量h,计算公式为Step 5: Add a hyperparameter β 2 to construct the second-order momentum h, calculated as

式中β2为超参数,参考值为0.99;h(k)表示第k次迭代的二阶动量,h(k+1)表示第k+1次迭代的二阶动量;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;

其中,β1和β2为超参数,分别为两个移动平均的衰减率;β1和β2参考值的选取主要通过实验测试得到,选取效果最好的值为参考值;开始测时可以使用推荐的默认值,例如取值为β1=0.9,β2=0.999。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 effects are selected as reference values; when starting to measure, the recommended default values can be used, for example, β 1 = 0.9, β 2 = 0.999.

第六步:添加权重参数λ,实现增益系数自适应,提高收敛速度,此时控制电压信号更新公式为Step 6: Add weight parameter λ to achieve adaptive gain coefficient and improve convergence speed. At this time, the control voltage signal update formula is:

u(k)=u(k)+λ·α(k)·u(k)u(k)=u(k)+λ·α(k)·u(k)

式中λ为超参数,参考值为0.01,α(k)为自适应学习率,参考表达式为α(k)为=0.05/(1+0.001*k);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);

λ主要是来增加正则化效果,权重衰减系数通常设定在10-4到10-2的范围内,λ的具体值应通过实验的性能来调整;λ 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.

α(k)的表达式根据梯度下降算法中的学习率衰减的逆时衰减策略得到:The expression of α(k) is obtained according to the inverse time decay strategy of learning rate decay in the gradient descent algorithm:

其中α0和β的取值通过实验测得;The values of α 0 and β are measured experimentally;

第七步:通过一阶动量和二阶动量组合的方式进一步更新控制信号,实现增益系数自适应,提高收敛速度,避免陷入局部极值解,最终控制电压信号更新公式为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:

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

式中,u(k+1)表示第k+1次迭代的电压信号;ρ(k)为自适应剪切范围参数,参考表达式为0.5*(1+cos((π*k)/T)),T为总的迭代次数;clip(m/max(γ·h(k),ε),ρ(k))为剪切函数,用于将m/max(γ·h(k),ε)限制在-ρ(k)~ρ(k)范围内;参数ε取10-8,避免算法迭代过程中出现分母为零;ρ(k)的表达式根据梯度下降算法中的学习率衰减的余弦衰减策略得到:Wherein, 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)~ρ(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 attenuation strategy of the learning rate attenuation in the gradient descent algorithm:

其中,α0的值通过实验测得;Among them, the value of α 0 is measured by experiment;

第八步:更新后的电压控制信号经过放大器施加给波前校器完成当前迭代,重复第一步至第七步的校正流程,直至满足结束条件,结束条件可以是一定的迭代次数或性能指标达到固定值。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.

以上所述,仅是本发明的较佳实施例,并非对本发明作任何形式上的限制,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,依据本发明的技术实质,对以上实施例所作的任何简单的修改、等同替换与改进等,均仍属于本发明技术方案的保护范围之内。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 (8)

1.一种基于Sophia的随机并行梯度下降自适应光学波前校正方法,其特征在于:包括以下步骤:1. A random parallel gradient descent adaptive optical wavefront correction method based on Sophia, characterized in that it includes the following steps: 初始化参数,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量;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; 由信号性能指标变化量和随机扰动计算梯度,采用Sopiha优化器根据梯度改进SPGD算法,进行波前校正;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; 在改进的SPGD算法中构建一阶动量和二阶动量;在构建了一阶动量和二阶动量的SPGD算法中添加权重参数和梯度剪切,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应。The first-order momentum and the second-order momentum are constructed in the improved SPGD algorithm. The weight parameters and gradient clipping are added to the SPGD algorithm with the first-order momentum and the second-order momentum constructed. 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 gain coefficient adaptation. 2.根据权利要求1所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法,其特征在于:所述的设置SPGD算法的初始值,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量,具体为:2. The Sophia-based random parallel gradient descent adaptive optical wavefront correction method according to claim 1 is 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 perturbation of the voltage control signal of the wavefront corrector in the iteration, specifically: 设置SPGD算法的初始值,设波前校正器的电压控制信号为u(k)={u1,u2,…,uN},其中N表示波前校正器的驱动器单元数,第k次迭代时,产生一个随机扰动{Δu},将两个方向的对应扰动Δu和-Δu分别施加到波前校正器;控制器采集图像传感器的信号并计算性能指标J(u+Δu)和J(u-Δu),得到信号性能指标变化量ΔJ(k):Set the initial value of the SPGD algorithm, assume that the voltage control signal of the wavefront corrector is u(k) = {u 1 ,u 2 ,…,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)。ΔJ(k)=J(u+Δu)-J(u-Δu). 3.根据权利要求2所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法,其特征在于:所述的由信号性能指标变化量和随机扰动计算梯度,具体包括:3. The random parallel gradient descent adaptive optical wavefront correction method based on Sophia according to claim 2 is characterized in that: the gradient is calculated based on the signal performance index change and the random disturbance, specifically including: 使用信号性能指标变化量ΔJ(k)和随机扰动Δu的乘积计算一阶梯度g(k):The first-order gradient g(k) is calculated using the product of the signal performance index change ΔJ(k) and the random disturbance Δu: g(k)=ΔJ(k)·sign(Δu);g(k)=ΔJ(k)·sign(Δu); 式中,sign()为符号函数,其功能为取数的正或负符号;Δ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.根据权利要求3所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法,其特征在于:所述的在改进的SPGD算法中构建一阶动量和二阶动量,具体为:4. The Sophia-based random parallel gradient descent adaptive optical wavefront correction method according to claim 3 is characterized in that: the first-order momentum and the second-order momentum are constructed in the improved SPGD algorithm, specifically: 一阶动量的计算公式为:The calculation formula for first-order momentum is: m(k+1)=β1·m(k)+(1-β1)·g(k);m(k+1)=β 1 ·m(k)+(1-β 1 )·g(k); 式中,β1为设定的超参数,m(k)表示第k次迭代的一阶动量,m(k+1)表示第k+1次迭代的一阶动量;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: 式中,表示k次迭代的二阶梯度;In the formula, represents the second-order gradient of k iterations; 构建二阶动量,计算公式为:Construct the second-order momentum, and the calculation formula is: 式中,β2为设定的超参数,h(k)表示第k次迭代的二阶动量,h(k+1)表示第k+1次迭代的二阶动量。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. 5.根据权利要求4所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法,其特征在于:所述的在构建了一阶动量和二阶动量的SPGD算法中添加权重参数和梯度剪切,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应,具体为:5. The Sophia-based random parallel gradient descent adaptive optical wavefront correction method according to claim 4 is characterized in that: 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 gain coefficient adaptation, 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);u(k)=u(k)+λ·α(k)·u(k); 式中,α(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))u(k+1)=u(k)+α(k)·clip(m/max(γ·h(k),ε),ρ(k)) 式中,u(k+1)表示第k+1次迭代的电压信号;ρ(k)为自适应剪切范围参数,T为总的迭代次数;clip(m/max(γ·h(k),ε),ρ(k))为剪切函数,用于将m/max(γ·h(k),ε)限制在-ρ(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. 6.根据权利要求1所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法,其特征在于:波前校正器更新后的电压控制信号经过放大器施加给波前校器,完成当前迭代;重复以上校正流程,直至满足结束条件;结束条件为一定的迭代次数或性能指标达到固定值。6. According to the Sophia-based random parallel gradient descent adaptive optical wavefront correction method according to claim 1, it is 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. 7.根据权利要求1-6任一项所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法采用的系统,其特征在于:包括:7. The system used in the Sophia-based random parallel gradient descent adaptive optical wavefront correction method according to any one of claims 1 to 6, characterized in that it comprises: 梯度下降模块,用于初始化参数,根据波前校正器的电压控制信号在迭代中的随机扰动计算图像传感器对应产生的信号性能指标变化量;由信号性能指标变化量和随机扰动计算梯度,采用Sopiha优化器根据梯度改进SPGD算法,进行波前校正;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; 增益系数自适应模块,用于在改进的SPGD算法中构建一阶动量和二阶动量;在构建了一阶动量和二阶动量的SPGD算法中添加权重参数,通过一阶动量和二阶动量组合的方式更新波前校正器的电压控制信号,实现增益系数自适应。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. 8.一种电子设备,其特征在于,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行计算机程序时,实现如权利要求1-6任一项所述的基于Sophia的随机并行梯度下降自适应光学波前校正方法。8. An electronic device, characterized in that it comprises: 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 6.
CN202410579291.8A 2024-05-11 2024-05-11 Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment Active CN118409427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410579291.8A CN118409427B (en) 2024-05-11 2024-05-11 Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410579291.8A CN118409427B (en) 2024-05-11 2024-05-11 Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment

Publications (2)

Publication Number Publication Date
CN118409427A true CN118409427A (en) 2024-07-30
CN118409427B CN118409427B (en) 2025-01-17

Family

ID=92002971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410579291.8A Active CN118409427B (en) 2024-05-11 2024-05-11 Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN118409427B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130100405A1 (en) * 2011-10-20 2013-04-25 University Of Houston System Wavefront sensorless adaptive correction of the wave aberration for an eye
US20130343673A1 (en) * 2012-06-22 2013-12-26 Debashish Pal Method and apparatus for iterative reconstruction
CN109409614A (en) * 2018-11-16 2019-03-01 国网浙江瑞安市供电有限责任公司 A kind of Methods of electric load forecasting based on BR neural network
CN114626202A (en) * 2022-02-16 2022-06-14 国家电网有限公司 Adaptive optics control method without wavefront sensing based on moment estimation
CN115857157A (en) * 2022-11-25 2023-03-28 西华师范大学 Wavefront-free sensing self-adaptive optical correction method based on SPGD algorithm of AMSGrad
CN116915333A (en) * 2023-07-11 2023-10-20 重庆邮电大学 Coherent FSOC system based on improved Adam optimizer and SPGD algorithm
CN117934430A (en) * 2024-01-26 2024-04-26 中国特种设备检测研究院 Industrial pipeline defect detection method and system based on improvement YOLOv8

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130100405A1 (en) * 2011-10-20 2013-04-25 University Of Houston System Wavefront sensorless adaptive correction of the wave aberration for an eye
US20130343673A1 (en) * 2012-06-22 2013-12-26 Debashish Pal Method and apparatus for iterative reconstruction
CN109409614A (en) * 2018-11-16 2019-03-01 国网浙江瑞安市供电有限责任公司 A kind of Methods of electric load forecasting based on BR neural network
CN114626202A (en) * 2022-02-16 2022-06-14 国家电网有限公司 Adaptive optics control method without wavefront sensing based on moment estimation
CN115857157A (en) * 2022-11-25 2023-03-28 西华师范大学 Wavefront-free sensing self-adaptive optical correction method based on SPGD algorithm of AMSGrad
CN116915333A (en) * 2023-07-11 2023-10-20 重庆邮电大学 Coherent FSOC system based on improved Adam optimizer and SPGD algorithm
CN117934430A (en) * 2024-01-26 2024-04-26 中国特种设备检测研究院 Industrial pipeline defect detection method and system based on improvement YOLOv8

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HONG LIU, ZHIYUAN LI, DAVID HALL, ET AL: "Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training", ARXIV, 5 March 2023 (2023-03-05), pages 1 - 32 *

Also Published As

Publication number Publication date
CN118409427B (en) 2025-01-17

Similar Documents

Publication Publication Date Title
CN103901617B (en) A model-based adaptive optics system without wavefront detection
CN103247210B (en) Method and system for simulating aero-optical effect
CN116400495B (en) Wavefront correction system based on RUN optimization algorithm
Landman et al. Self-optimizing adaptive optics control with reinforcement learning for high-contrast imaging
CN103593538A (en) Fiber optic gyroscope temperature drift modeling method by optimizing dynamic recurrent neural network through genetic algorithm
Landman et al. Self-optimizing adaptive optics control with reinforcement learning
Zhao et al. Nesterov-accelerated adaptive momentum estimation-based wavefront distortion correction algorithm
CN106526839A (en) Synchronous wavefront-free self-adaptive optical system based on mode
CN115933159B (en) A real-time high-precision wavefront distortion phase compensation system
CN105933060A (en) Wavefront reconstruction method based on dynamics recurrent neural network
CN116700359A (en) Unmanned aerial vehicle disturbance control method and device under load change condition
Li et al. A novel SPGD algorithm for wavefront sensorless adaptive optics system
Nousiainen et al. Laboratory experiments of model-based reinforcement learning for adaptive optics control
CN118778233A (en) A step-by-step assembly method for reflective optical system based on neural network
CN119846804A (en) Beam focal length controllable system of BOSA optical device and implementation method thereof
CN115753018A (en) A look-ahead prediction and correction method for distorted vortex beams under dynamic turbulence
CN118409427A (en) Sophia-based random parallel gradient descent self-adaptive optical wavefront correction method, system and electronic equipment
WO2019128056A1 (en) Method and device for determining temperature coefficient
CN115857157B (en) A wavefront sensorless adaptive optics correction method based on AMSGrad's SPGD algorithm
CN115309043B (en) A self-disturbance rejection control method for photoelectric tracking system
CN118011788A (en) Magnetic bearing control method, device, medium, electronic equipment and system
CN116882257A (en) Wavefront distortion correction method for wavefront-free sensor based on PSO and SPGD algorithm
Wang et al. Environmental adaptive enhancement for the bionic polarized compass based on multi-scattering light model
CN114626202A (en) Adaptive optics control method without wavefront sensing based on moment estimation
CN109695893B (en) Method, device, equipment and system for controlling oxygen concentration in boiler system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant