A rapid prediction method for the impact of intermediate frequency errors of optical components on image quality of imaging systems.

Through the Transformer network, the optical element mid-frequency error information and imaging system image quality parameters are used as a data set to establish a prediction model, which solves the problem of complexity and accuracy in predicting the impact of optical element mid-frequency error in the existing technology, and achieves fast and accurate imaging system image quality. Impact prediction.

CN118641157BActive Publication Date: 2024-10-18CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI

Patent Information

Application Number
CN202411071019.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-18
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

Existing methods for predicting the impact of optical element mid-frequency errors on imaging system image quality are computationally complex and difficult to achieve fast and accurate predictions. In particular, there are knowledge barriers and accuracy implications for complex mid-frequency error structure analysis.

Method used

The Transformer network is used to take the mid-frequency error information of optical components and the image quality evaluation parameters of the imaging system as a data set. A prediction model is established through neural network training. Normalization processing and B-spline transformation are used to optimize the data input. The mean absolute error is used as the loss function. The Adam algorithm was selected as the optimization algorithm to construct a prediction network model for the impact of optical element mid-frequency errors on the image quality of the imaging system.

Benefits of technology

It achieves a fast and accurate prediction of the impact of the optical element's mid-frequency error on the image quality of the imaging system, reduces the calculation time and improves the understandability. It has obvious advantages over the traditional complex formula method and can quickly obtain the imaging quality parameters in the new system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118641157B_ABST
    Figure CN118641157B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of prediction of the influence of errors on system quality, and in particular to a method for quickly predicting the influence of intermediate frequency errors of optical elements on the image quality of an imaging system. The method comprises: determining the structural parameters of the imaging system; actually building an initial ideal imaging system, assembling and adjusting, and recording the intermediate frequency error information of all optical elements; measuring and recording the image quality evaluation parameters of the imaging system; replacing a certain optical element so that the intermediate frequency error on the surface is inconsistent, recording the intermediate frequency error information and the structural parameters in the system; measuring and recording the image quality evaluation parameters; repeating the above steps to obtain an error information data set and an image quality information data set; constructing a Transformer network, inputting the data set for training, and obtaining a prediction network model; installing the optical element to be predicted into the imaging system, obtaining the intermediate frequency error information and inputting it into the prediction network model, and predicting its influence on the image quality of the imaging system. The advantages are: less calculation time and fast prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of prediction of the influence of errors on system quality, and in particular to a method for quickly predicting the influence of intermediate frequency errors of optical elements on the image quality of an imaging system. Background Art

[0002] The existing prediction methods of the effect of the intermediate frequency error of optical components on the image quality of imaging systems have complex calculation theories and certain knowledge barriers, which are not conducive to the use of engineers. A blind box-style fast and accurate prediction method of the effect of the intermediate frequency error of optical components on the image quality of imaging systems is urgently needed to be developed.

[0003] There are two existing methods for predicting the impact of component intermediate frequency errors on imaging systems: (1) The first method is to perform Fourier decomposition of the impact of component intermediate frequency errors at the exit pupil of the optical system, and then use the knowledge of Fourier optics to directly calculate PSF and MTF, etc. For example, in the scheme published in "Theory of modulation transfer function artifacts due to mid-spatial-frequency errors and its application to optical tolerancing", only the impact of a certain basis function on MTF is analyzed; however, the number of main basis functions in the Fourier decomposition of complex intermediate frequency errors is large, and such integration will hinder the rapid prediction of the impact of errors on image quality. (2) The second method is to use the spatial correlation of the surface mid-frequency error to establish a connection with the OTF of the optical system, such as the method reported in "Pupil-difference moments forestimating relative modulation from general mid-spatial frequency surface errors". This method performs well in analyzing the impact of simple mid-frequency error structures on the MTF of optical systems, and is also effective in analyzing complex mid-frequency error structures. The method reported in "Workflow for modeling of generalized mid-spatial frequency errors in optical systems" is sufficient for preliminary impact prediction and analysis, but some of the key theories still use many approximations, which may affect the accuracy of the prediction. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a method for quickly predicting the influence of the intermediate frequency error of an optical element on the image quality of an imaging system.

[0005] The present invention aims to provide a method for quickly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system, which specifically comprises the following steps:

[0006] S1. Determine the structural parameters of the ideal imaging system of the established network according to specific needs;

[0007] S2. Actually build the initial ideal imaging system and perform assembly and adjustment; after the assembly and adjustment is completed, record the intermediate frequency error information of all optical components; measure and record the image quality evaluation parameters of the imaging system;

[0008] S3. Error information acquisition: replace a certain optical element in the initial ideal imaging system, and make the surface shape and low-frequency surface shape of the replaced optical element consistent with that of the replaced optical element, and the surface intermediate frequency error is inconsistent, and record the intermediate frequency error information of the replaced optical element and the structural parameters in the imaging system after the replacement;

[0009] S4. Image quality information acquisition: Determine and record the image quality evaluation parameters of the replaced imaging system;

[0010] S5. Repeat steps S3-S4 to obtain an error information data set and an image quality information data set; construct a Transformer network, input the data set into the Transformer network for training, and obtain a prediction network model for the effect of the intermediate frequency error of the optical element on the image quality of the imaging system;

[0011] S6. Install the optical element to be predicted into the imaging system, obtain the intermediate frequency error information of the optical element to be predicted and input it into the prediction network model of the influence of the intermediate frequency error of the optical element on the image quality of the imaging system, and predict the influence of the optical element to be predicted on the image quality of the imaging system.

[0012] Preferably, the structural parameters include the type of imaging system, and the relative positions, placement angles, surface shapes, low-order surface shapes and substrate materials of all optical elements in the imaging system.

[0013] Preferably, the intermediate frequency error information includes at least one of an amplitude error, a phase error, a period error, an angle relative to a coordinate system, a surface power spectrum density or a surface structure function of the error;

[0014] The image quality evaluation parameter includes at least one of an amplitude modulation function, a point spread function, a power enclosing circle, a wave aberration or a Strehl ratio.

[0015] Preferably, in step S5, steps S3 to S4 are repeated for at least N groups, where N≥200.

[0016] Preferably, in step S5, before inputting the data set into the Transformer network for training, normalization processing and B-spline transformation processing are first performed.

[0017] Preferably, step S5 specifically includes the following sub-steps:

[0018] S501. Normalize N groups of error information data sets;

[0019] S502. After normalization, the data is subjected to B-spline transformation, and the number of nodes is set to 3;

[0020] S503. Input the processed data set into the Transformer network for training, use the mean absolute error as the loss function, and use the optimization algorithm to optimize and select the Adam algorithm.

[0021] Preferably, the normalization process is a maximum and minimum value normalization process, and the normalized data set is P Defined as:

[0022] ;

[0023] in, P i Represents the i-th group of error information data, i ranges from 1 to N, is the N sets of error information data sets initially collected, for The minimum value in for The maximum value in .

[0024] Preferably, the optimization process of training the Transformer network in step S503 is as follows:

[0025] S5031. Initialization: Initialization parameters , first-order moment vector , second-order moment vector ; Set hyperparameters: learning rate , the exponential decay rate of the first-order moment estimate , exponential decay rate of the second-order moment estimate , a small constant for numerical stability and number of iterations ;

[0026] S5032. Update parameters: At each iteration t Perform the following operations:

[0027] Update iterations t , t=t+ 1, calculate the number of iterations t The gradient of :

[0028] ;

[0029] in, is the loss function, Indicates the current parameters Loss function Parameters The gradient of the current parameter value The rate and direction of the loss function as the parameters change;

[0030] Update the first moment estimate: ;

[0031] Update the second moment estimate: ;

[0032] Compute the bias-corrected first moment estimate: ;

[0033] Compute the bias-corrected second-order moment estimate: ;

[0034] Update parameters: ;

[0035] In the above formula, represents the exponential decay rate of the first-order moment estimate, represents the exponential decay rate of the second-order moment estimate, , They represent the t-th power of the exponential decay rate of the first-order moment estimate and the t-th power of the exponential decay rate of the second-order moment estimate, respectively. α represents the learning rate, represents a small constant used for numerical stability;

[0036] S5033. Loop step S5032 until the number of iterations reaches the stop iteration number ; When the mean absolute error between the predicted value and the actual value is less than 0.01, the network stops optimizing.

[0037] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0038] (1) The purpose of the present invention is to disclose a blind box type fast and accurate prediction method for the effect of optical element intermediate frequency error on the image quality of an imaging system. Without using complex formulas and some approximations for simplification, a neural network prediction structure is established for a specific and commonly used imaging optical system, and the relationship between its element error and imaging quality is established, thereby realizing the prediction of the effect of optical element intermediate frequency error on the image quality of the imaging system.

[0039] (2) The intermediate frequency error parameter information of the component surface and the system image quality evaluation parameters equipped in the previous actual system are used as data sets, and the neural network is used to mine the intrinsic relationship between the intermediate frequency error of the component surface and the system image quality. When a new actual system with the same structure comes, it is only necessary to input the intermediate frequency error of the component in the new system into the network to quickly obtain the imaging quality parameters of the optical system. Compared with the traditional complex formula method, the method proposed in the present invention has obvious advantages in terms of calculation time and ease of understanding. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 The present invention provides a flowchart of a method for quickly predicting the effect of an intermediate frequency error of an optical element on the image quality of an imaging system.

[0041] Figure 2 It is a flow chart of Transformer network training provided according to an embodiment of the present invention.

[0042] Figure 3 It is a schematic diagram of the Transformer network structure provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same modules are represented by the same reference numerals. In the case of the same reference numerals, their names and functions are also the same. Therefore, the detailed description thereof will not be repeated.

[0044] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.

[0045] like Figure 1 As shown, the present invention provides a method for quickly predicting the effect of the intermediate frequency error of an optical element on the image quality of an imaging system, which specifically includes the following steps:

[0046] S1. Determine the structural parameters of the ideal imaging system of the established network according to specific needs;

[0047] In a specific embodiment, the imaging system is an optical system, and the structural parameters include the type of the optical system (such as off-axis three-mirror type, Cassegrain type), and the relative positions, placement angles, surface shapes, low-order surface shapes, substrate materials, etc. of all optical elements in the optical system;

[0048] S2. Actually build the initial ideal imaging system and perform assembly and adjustment; after the assembly and adjustment is completed, record the intermediate frequency error information of all optical components; measure and record the image quality evaluation parameters of the imaging system;

[0049] The intermediate frequency error information includes the error amplitude, phase, period, angle relative to the coordinate system, surface power spectral density (PSD), surface structure function (ASF), etc.

[0050] Image quality evaluation parameters include amplitude modulation function (MTF), point spread function (PSF), energy enclosing circle (EE), wave aberration, Strehl ratio and other parameters.

[0051] S3. Error information acquisition: replace an optical element in the initial ideal imaging system. The surface shape and low-frequency surface shape of the replaced optical element are consistent with that of the replaced optical element, but the surface intermediate-frequency error is inconsistent. Record the intermediate-frequency error information of the replaced optical element and the structural parameters in the imaging system after replacement. The low-frequency surface shape is consistent, that is, the low-frequency error is basically consistent, that is, the basic surface shape is guaranteed to be consistent.

[0052] S4. Image quality information acquisition: measure and record the image quality evaluation parameters of the replaced imaging system.

[0053] S5. Repeat steps S3-S4 for at least N groups (N≥200) to obtain an error information dataset and an image quality information dataset; construct a Transformer network, input the dataset into the Transformer network for training, and obtain a prediction network model for the impact of the intermediate frequency error of the optical element on the image quality of the imaging system.

[0054] Specifically, the network training flow chart is as follows Figure 2 As shown;

[0055] S501. Normalize N groups of error information data sets;

[0056] In a specific embodiment, the maximum and minimum value normalization process is specifically adopted;

[0057] First, in order to make the input data have the same dimension, the N sets of error information data sets obtained from the experiment are normalized. Data normalization is a common technique that can convert inconsistent scale data to a single scale, making the model converge faster and the results more accurate. Using maximum and minimum value normalization, the normalized data set P Defined as:

[0058] ;

[0059] in, P i Represents the i-th group of error information data, i ranges from 1 to N, is the N sets of error information data sets initially collected, for The minimum value in for The maximum value in .

[0060] S502. In order to make the data better for network training, after normalization, the data is subjected to B-spline transformation and the number of nodes is set to 3.

[0061] S503. Input the processed data set into the Transformer network for training, use the mean absolute error (MAE) as the loss function, and select the Adam algorithm as the optimization algorithm; the specific optimization process is:

[0062] S5031. Initialization

[0063] Initialization parameters , first-order moment vector , second-order moment vector ; Set hyperparameters: learning rate , the exponential decay rate of the first-order moment estimate , exponential decay rate of the second-order moment estimate , and a small constant for numerical stability , time step (i.e. number of iterations);

[0064] S5032. Update parameters

[0065] At each time step (i.e., number of iterations) and perform the following operations:

[0066] Update iterations t , t=t+ 1. Calculate the gradient (The number of iterations is Gradient at time ): ;

[0067] in, is the loss function, Indicates the current parameters Next, the loss function Parameters The gradient of is the current parameter value The rate and direction of change of the loss function with the parameters.

[0068] Update the first moment estimate: ;

[0069] Update the second moment estimate: ;

[0070] Compute the bias-corrected first moment estimate: ;

[0071] Compute the bias-corrected second-order moment estimate: ;

[0072] Update parameters: ;

[0073] In the above formula, represents the exponential decay rate of the first-order moment estimate, represents the exponential decay rate of the second-order moment estimate, , They represent the t-th power of the exponential decay rate of the first-order moment estimate and the t-th power of the exponential decay rate of the second-order moment estimate, respectively. α represents the learning rate, represents a small constant used for numerical stability;

[0074] S5033. Loop step S5032 until the number of iterations reaches the stop iteration number , It is set according to the specific situation, generally around 100,000 times; when the MAE between the predicted value and the actual value is less than 0.01, it can be considered that the network optimization has met the standard and the network optimization stops.

[0075] like Figure 3 The figure shows the Transformer network structure, which is derived from (Vaswani, N. Shazeer, N. Parmar, et al. Attention is all you need[J]. Advances in neural information processing systems, 2017, 30). The error information data set and the image quality information data set after data processing are passed through an N=6-layer encoder and then decoded through a 6-layer decoder to finally obtain the output parameters such as the amplitude modulation function (MTF), point spread function (PSF), energy enclosing circle (EE), wave aberration, and Strehl ratio.

[0076] S6. Install the optical element to be predicted into the imaging system, obtain the intermediate frequency error information of the optical element to be predicted, input it into the prediction network model of the influence of the intermediate frequency error of the optical element on the image quality of the imaging system obtained in step S5, and predict the influence of the optical element to be predicted on the image quality of the imaging system;

[0077] Specifically, when a new evaluation task arrives, that is, when an optical component with intermediate frequency error is to be installed in a specific system, to evaluate its impact on the image quality of the imaging system, it is only necessary to obtain the error information of the component in step S3. Then, the error information is input into the Transformer network to predict its impact on the image quality of the imaging system.

[0078] The present invention is not limited to an optical system, but can also be the prediction of the effect of component errors in a laser system on laser convergence and laser damage evaluation, or the prediction of the effect of component errors in a large lighting system on lighting uniformity, etc.

[0079] Although the method requires a large amount of data to be collected in the early stage, once the neural network calculation model is built, it is very fast to predict the impact of the intermediate frequency error of the optical component on the image quality of the imaging system; therefore, the prediction of the impact of the intermediate frequency error of the optical component on the image quality of the imaging system based on the neural network proposed in the present invention has obvious advantages in terms of calculation time and ease of understanding compared to the traditional complex formula method.

[0080] Brief description of the invention concept: The core idea of ​​the prediction method of the present invention includes: recording the component error information in an actual imaging optical system of a specific structure (such as off-axis three-mirror type, Cassegrain type), including but not limited to parameters that can reflect the error characteristics, such as error amplitude, phase, period, angle relative to the coordinate system, surface power spectrum density (PSD), surface structure function (ASF), etc., as input; and measuring the evaluation index of the imaging optical system after the actual adjustment of the system, including but not limited to parameters that can reflect the characteristics of the optical system, such as amplitude modulation function (MTF), point spread function (PSF), power enclosing circle (EE), wave aberration, Strehl ratio and other parameters, as output. The two are fitted through a neural network to establish the relationship between the optical component error and the imaging quality of the optical system.

[0081] The present invention uses the component surface intermediate frequency error parameter information and system image quality evaluation parameters equipped in the previous actual system as a data set, and uses a neural network to mine the intrinsic relationship between the component surface intermediate frequency error and the system image quality. When a new actual system with the same structure comes, it only needs to input the component intermediate frequency error in the new system into the network to quickly obtain the optical system imaging quality parameters.

[0082] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0083] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for quickly predicting the effect of optical element intermediate frequency error on the image quality of an imaging system, characterized in that: The specific steps include: S1. Determine the structural parameters of the ideal imaging system of the established network according to specific needs; S2. Actually build the initial ideal imaging system and perform assembly and adjustment; after the assembly and adjustment is completed, record the intermediate frequency error information of all optical components; measure and record the image quality evaluation parameters of the imaging system; S3. Error information acquisition: replace a certain optical element in the initial ideal imaging system, and make the surface shape and low-frequency surface shape of the replaced optical element consistent with that of the replaced optical element, and the surface intermediate frequency error is inconsistent, and record the intermediate frequency error information of the replaced optical element and the structural parameters in the imaging system after the replacement; S4. Image quality information acquisition: Determine and record the image quality evaluation parameters of the replaced imaging system; S5. Repeat steps S3-S4 to obtain an error information data set and an image quality information data set; construct a Transformer network, input the data set into the Transformer network for training, and obtain a prediction network model for the effect of the intermediate frequency error of the optical element on the image quality of the imaging system; S6. Install the optical element to be predicted into the imaging system, obtain the intermediate frequency error information of the optical element to be predicted and input it into the prediction network model of the influence of the intermediate frequency error of the optical element on the image quality of the imaging system, and predict the influence of the optical element to be predicted on the image quality of the imaging system.

2. The method for rapidly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system according to claim 1, characterized in that: The structural parameters include the type of imaging system, and the relative positions, placement angles, surface shapes, low-order surface shapes and substrate materials of all optical elements in the imaging system.

3. The method for rapidly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system according to claim 2, characterized in that: The intermediate frequency error information includes at least one of an amplitude error, a phase error, a period error, an angle relative to a coordinate system, a surface power spectrum density or a surface structure function of the error; The image quality evaluation parameter includes at least one of an amplitude modulation function, a point spread function, a power enclosing circle, a wave aberration or a Strehl ratio.

4. The method for rapidly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system according to claim 3, characterized in that: In step S5, steps S3 to S4 are repeated for at least N groups, where N≥200.

5. The method for rapidly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system according to claim 4, characterized in that: In step S5, before the data set is input into the Transformer network for training, it is first normalized and transformed with B-spline.

6. The method for rapidly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system according to claim 5, characterized in that: The step S5 specifically includes the following sub-steps: S501. Normalize N groups of error information data sets; S502. After normalization, the data is subjected to B-spline transformation, and the number of nodes is set to 3; S503. Input the processed data set into the Transformer network for training, use the mean absolute error as the loss function, and use the optimization algorithm to optimize and select the Adam algorithm.

7. The method for rapidly predicting the effect of intermediate frequency error of an optical element on the image quality of an imaging system according to claim 6, characterized in that: The normalization process is a maximum and minimum value normalization process, and the data set after normalization process P Defined as: ; in, P i Represents the i-th group of error information data, i ranges from 1 to N, is the N sets of error information data sets initially collected, for The minimum value in for The maximum value in .

8. The method for rapidly predicting the effect of the intermediate frequency error of an optical element on the image quality of an imaging system according to claim 7, characterized in that: The optimization process of training the Transformer network in step S503 is as follows: S5031. Initialization: Initialization parameters , first-order moment vector , second-order moment vector ; Setting Hyperparameters: Learning Rate , the exponential decay rate of the first-order moment estimate , exponential decay rate of the second-order moment estimate , a small constant for numerical stability and number of iterations ; S5032. Update parameters: At each iteration t Perform the following operations: Update iterations t , t=t+ 1, calculate the number of iterations t The gradient of : ; in, is the loss function, Indicates the current parameters Loss function Parameters The gradient of the current parameter value The rate and direction of the loss function as the parameters change; Update the first moment estimate: ; Update the second moment estimate: ; Compute the bias-corrected first moment estimate: ; Compute the bias-corrected second-order moment estimate: ; Update parameters: ; In the above formula, represents the exponential decay rate of the first-order moment estimate, represents the exponential decay rate of the second-order moment estimate, , They represent the t-th power of the exponential decay rate of the first-order moment estimate and the t-th power of the exponential decay rate of the second-order moment estimate, respectively. α represents the learning rate, represents a small constant used for numerical stability; S5033. Loop step S5032 until the number of iterations reaches the stop iteration number ; When the mean absolute error between the predicted value and the actual value is less than 0.01, the network stops optimizing.

Citation Information

Patent Citations

  • Convolutional neural network transcendentally enhanced phase retrieval detection system for intermediate frequency errors of optical elements

    CN109596227A

  • Wide-band wavefront error detection device and method based on phase retrieval

    CN110160751A

Cited By

  • Imaging performance prediction method for full-aperture error actual measurement before assembly, medium and equipment

    CN122217594A