Phase difference wavefront reconstruction method based on multi-order Taylor expansion
The multi-order Taylor expansion method simplifies the calculation of the phase difference method, which solves the problems of complex calculation and slow convergence speed of the phase difference method in wavefront detection, achieves high-precision and fast convergence wavefront detection, and has global search capabilities.
Patent Information
- Application Number
- CN202411027902.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-29
AI Technical Summary
The existing phase difference method has problems in wavefront detection such as complex calculation, dependence on initial values, slow convergence speed, and easy falling into local minimum, making it difficult to implement an efficient and concise optimization algorithm.
The multi-order Taylor expansion method is used to approximate the point spread function, simplify the calculation process of the phase difference method, approximate the objective function to a linear equation through Taylor expansion, and iteratively optimize the wave aberration coefficient matrix, ignoring high-order terms and Peano The remaining term improves the convergence speed and accuracy.
It achieves high-precision, fast-converging wavefront detection, does not rely on initial value selection, has global search capabilities, and simplifies the calculation process of the phase difference method.
Smart Images

Figure CN118859518A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of high-precision wavefront detection and reconstruction, and in particular to a phase difference wavefront reconstruction method based on multi-order Taylor expansion. Background Art
[0002] For traditional imaging systems, due to the limitations of processing, assembly and other technological means as well as environmental factors such as atmospheric turbulence, it is inevitable that aberrations will be introduced into the optical imaging system, which will reduce the imaging quality and make it difficult to meet the design indicators. Therefore, in order to ensure the imaging quality of the optical system, active optical technology is introduced to detect and correct the image quality of the optical system to ensure that the imaging quality of the optical system meets the design indicators and usage requirements. For active optical systems, they can be mainly divided into three parts: wavefront detection, wavefront correction and wavefront control. Among them, high-precision wavefront detection is the premise and key for the entire active optical system to be able to perform effective wavefront correction.
[0003] Currently, the commonly used wavefront detection can be divided into two categories. One category, such as Hartmann sensor and shearing interferometry technology, measures the wavefront curvature to obtain wavefront information. Its characteristics are that it needs to use related hardware facilities, has a relatively complex structure and has certain requirements for the optical path. The other category, such as phase difference method and phase recovery algorithm, uses the light intensity distribution obtained by the detector to invert and obtain wavefront information. Its characteristics are simple structure, no need to add additional optical paths or devices, low requirements for light sources and environments, strong anti-interference ability, and wide applicability. Compared with the phase recovery algorithm, the phase difference method can be used not only for point target imaging, but also for extended target imaging, and is more versatile.
[0004] The concept of phase difference method was first proposed by Gonsalves and Chidlaw. It is based on the Fourier transform relationship between the generalized pupil function and the square root of the point spread function of the optical system. It uses the focal plane image and the defocused image with known defocus aberration as constraints, and repeatedly iterates between the pupil plane and the image plane until the preset convergence conditions are met and the phase value of the final reconstructed wavefront aberration is output. The wavefront aberration can be obtained after the phase value of the wavefront aberration is converted. Therefore, the key to the phase difference method lies in the construction of the error matrix and the calculation of the optimization process.
[0005] For a general optical imaging system, under isovain conditions, for an incoherent light diffraction limited system, the light intensity distribution on the image plane can be expressed as:
[0006] i(x)=o(x)*psf
[0007] Among them, i(x) is the light intensity distribution collected by the image plane, o(x) is the light intensity distribution at the pupil, and psf is the point spread function corresponding to the system. The generalized pupil function is defined as:
[0008]
[0009] Among them, P(ε,η) is the aperture function, which is 1 within the pupil and 0 otherwise; represents the wavefront phase, j is an imaginary unit, and (ε,η) represents the pupil plane coordinates. The point spread function of the imaging system is expressed by the generalized pupil function as follows:
[0010]
[0011] For an optical system with a rotationally symmetric pupil, the phase can be described by a complete set of orthogonal polynomials:
[0012]
[0013] Among them, Z(ε,η) represents the Zernike coefficient matrix, and α represents the aberration coefficient matrix. The objective function is established by using the degree of closeness between the reconstructed image of the focal plane and the defocused plane and the actual image. The objective function can be expressed as:
[0014]
[0015] Therefore, the core problem of wavefront detection using phase difference algorithm is ultimately simplified to solving the optimal solution of an objective function. The choice of solution method directly determines the accuracy and execution efficiency of wavefront solution. Existing optimization algorithms have problems such as dependence on initial values, complex calculations, slow convergence speed, and easy to fall into local minimum values. It is necessary to build an efficient and concise optimization algorithm. Summary of the invention
[0016] The present invention aims to solve the technical problems in the prior art and provides a phase difference wavefront reconstruction method based on multi-order Taylor expansion.
[0017] In order to solve the above technical problems, the technical solutions of the present invention are as follows:
[0018] A phase difference wavefront reconstruction method based on multi-order Taylor expansion comprises the following steps:
[0019] Step 1: Wave aberration of the system The relationship between the point spread function (psf) is expressed as:
[0020]
[0021] in, represents Fourier transform, A(x,y) is the pupil function;
[0022] Step 2: Taylor expand the point spread function to the wave aberration coefficient matrix a at α0 to obtain:
[0023]
[0024] Among them, B0, B1, and B2 represent the point spread function when the aberration coefficient matrix is α0, the first-order derivative and the second-order derivative of the point spread function to the wave aberration coefficient matrix, respectively. represents the transposed matrix, o((α-α0) 3 ) represents the Peano remainder and indicates the approximation error of the Taylor expansion.
[0025] In the above technical solution, the mathematical expressions of B0, B1, and B2 in step 2 are as follows:
[0026]
[0027] In the above technical solution, in step 2, when the wave aberration is small, the second-order Taylor expansion term B2=0 and the Peano remainder term i((α-α0)) in the formula is ignored. 3 ); the Taylor expansion equation is now expressed as a linear equation:
[0028] y=B s α+b s
[0029] in:
[0030] y=[psf1,psf2,…,psf j ]
[0031] B s =[B 1,1 ,B 1,2 ,…,B 1,j ]
[0032] b s =[(B 0,1 -B 1,1 α0),(B 0,2 -B 1,2 α0),…,(B 0,j -B 1,j α0)]
[0033] Among them, the subscript j indicates the jth image used;
[0034] The wave aberration coefficient matrix is directly iteratively optimized and solved:
[0035]
[0036] represents the estimated value of the aberration coefficient matrix; argmin(·) represents finding the minimum value.
[0037] In the above technical solution, in step 2, based on the first-order Taylor expansion, a calculation formula for the second-order Taylor expansion is proposed, ignoring the high-order terms. At this time, the Taylor expansion is expressed as:
[0038]
[0039] Where, subscript i represents the i-th image used; subscript j represents the j-th pixel in the i-th image; β i represents the defocus distance of the i-th image; represents the transposed matrix; b = α-α0; y i,j represents the intensity value of the jth pixel in the i-th image; B 0,j (β i ),B 1,j (β i ),B 2,j (β i ) are respectively represented by the aberration coefficient matrix as α0 and the defocus distance as β i The intensity value of the jth pixel in the i-th image, the first derivative of the point spread function to the wave aberration coefficient matrix, and the value of the second derivative at that point;
[0040] Using the properties of the matrix, the second-order Taylor expansion is expressed as:
[0041]
[0042] Where Tr represents the trace of the matrix, Ψ j (β i ) and X are as follows:
[0043]
[0044] At this time, the error function for solving the wave aberration parameter matrix is expressed as:
[0045]
[0046] Where rank(·) represents the rank of the matrix; ∥·∥ 2 Represents the L2 norm.
[0047] The present invention has the following beneficial effects:
[0048] Compared with the existing technology, the phase difference wavefront reconstruction method based on multi-order Taylor expansion of the present invention utilizes Taylor expansion to approximate the point spread function, simplifies the calculation of the phase difference method, and greatly improves the convergence speed while ensuring the convergence accuracy. At the same time, the algorithm does not depend on the selection of the initial value and has global search capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0050] Figure 1 It is a flow chart of the phase difference wavefront reconstruction method based on multi-order Taylor expansion of the present invention.
[0051] Figure 2 It is a focal plane image and its corresponding defocused plane image of the phase difference wavefront reconstruction method based on multi-order Taylor expansion of the present invention when the observed object is a point target and an extended target.
[0052] Figure 3 This is a schematic diagram comparing the inversion results of the wavefront phase using the phase inversion algorithm based on Taylor expansion technology with the results in the Zemax simulation software. The root mean square of the wave aberration in the left figure is 0.0246λ, and the root mean square of the wave aberration in the right figure is 0.1644λ. DETAILED DESCRIPTION
[0053] Since the objective function to be optimized is a nonlinear implicit function, it is impossible to directly derive the expression between the aberration parameter matrix and the objective function, and the calculation process is relatively cumbersome. Taylor expansion technology uses a weighted sum of a set of polynomials of different power orders to approximate complex functions, which can greatly reduce the degree of solution of complex functions. In order to construct a more concise and efficient optimization algorithm, the present invention proposes an optimization algorithm based on Taylor expansion.
[0054] The basic idea of the present invention is to use Taylor expansion technology to approximate the objective function as a combination of a series of simple functions to reduce the complexity of the objective function, and to optimize and solve the objective function in combination with the least squares method or other optimization algorithms.
[0055] The phase difference wavefront reconstruction method based on multi-order Taylor expansion of the present invention comprises the following steps:
[0056] Wave aberration of the system The relationship between the point spread function (psf) and the point spread function (psf) can be expressed as:
[0057]
[0058] in, represents Fourier transform, and A(x,y) is the pupil function.
[0059] Taylor expansion of the point spread function on the wave aberration coefficient matrix α at α0 yields:
[0060]
[0061] in, represents the transposed matrix, o((α-α0) 3) represents the Peano remainder, which represents the approximate error of the Taylor expansion. B0, B1, and B2 represent the point spread function when the aberration coefficient matrix is α0, the first derivative of the point spread function to the wave aberration coefficient matrix, and the second derivative, respectively. The mathematical expressions are as follows:
[0062]
[0063] To simplify the calculation, when the wave aberration is small, the second-order Taylor expansion term A2 can be set to 0 and the Lagrangian term o((α-α0)) can be ignored. 3 ). The Taylor expansion equation at this time can be expressed as a linear equation:
[0064] y=B s a+b s
[0065] in:
[0066] y=[psf1,psf2,…,psf j ]
[0067] B s =[B 1,1 ,B 1,2 ,…,B 1,j ]
[0068] b s =[(B 0,1 -B 1,1 α0),(B 0,2 -B 1,2 α0),…,(B 0,j -B 1,j α0)]
[0069] The subscript j indicates the jth image used. Therefore, the wavefront aberration coefficient matrix can be directly solved by iterative optimization:
[0070]
[0071] represents the estimated value of the aberration coefficient matrix; argmin(·) represents finding the minimum value.
[0072] In order to further improve the inversion accuracy, a calculation formula for the second-order Taylor expansion is proposed based on the first-order Taylor expansion. Ignoring the high-order terms, the Taylor expansion can be expressed as:
[0073]
[0074] Where, subscript i represents the i-th image used; subscript j represents the j-th pixel in the i-th image; β i represents the defocus distance of the i-th image; represents the transposed matrix; b = α-α0. i,j represents the intensity value of the jth pixel in the i-th image; B 0,j (β i ),B 1,j (β i ),B 2,j (β i ) are respectively represented by the aberration coefficient matrix as α0 and the defocus distance as β i The intensity value of the jth pixel in the ith image, the first-order derivative of the point spread function with respect to the wave aberration coefficient matrix, and the value of the second-order derivative at that point.
[0075] Using the properties of the matrix, the second-order Taylor expansion can be expressed as:
[0076]
[0077] Where Tr represents the trace of the matrix. j (β i ) and X are as follows:
[0078]
[0079] At this time, the error function for solving the wave aberration parameter matrix can be expressed as:
[0080]
[0081] Where rank(·) represents the rank of the matrix; ∥·∥ 2 Represents the L2 norm.
[0082] Compared with the existing technology, the phase difference wavefront reconstruction method based on multi-order Taylor expansion of the present invention utilizes Taylor expansion to approximate the point spread function, simplifies the calculation of the phase difference method, and greatly improves the convergence speed while ensuring the convergence accuracy. At the same time, the algorithm does not depend on the selection of the initial value and has global search capability.
[0083] The detailed contents of the present invention and the technical solutions in the application examples are described clearly and completely below. The described examples are only some examples of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0084] In order to simplify the calculation of the phase difference method, the present invention proposes a phase difference wavefront reconstruction method based on multi-order Taylor expansion, such as Figure 1 As shown, the following steps are included:
[0085] First, the focus plane intensity image and the defocus plane intensity image with known defocus distance are acquired. The relationship between the defocus distance and the defocus term can be expressed by the formula:
[0086]
[0087] Wherein: d represents the defocus distance, Δw represents the change in wave aberration, F represents the F number of the system; and Z4 represents the fourth term in the Zernike polynomial.
[0088] The initial value α0 of the algorithm is randomly assigned (usually α0=0), and the point spread function is Taylor expanded at α0. According to different requirements, the first-order Taylor approximation and the second-order Taylor approximation are used to construct the objective function E:
[0089] argmin(B s (yb s )) or argmin||y i,j -Tr(Ψ j (β i )X)|| 2
[0090] The objective function is solved by linear programming or quadratic programming optimization to obtain the wave aberration coefficient matrix α. It is judged whether the objective function value E meets the accuracy requirement ε at this time. If it does, the wave aberration coefficient matrix α is output; if not, α0=α is set, and a loop iteration is performed until the objective function value meets the accuracy requirement, and the wave aberration parameter matrix α is output.
[0091] When the wavelength of the incident light wave is 632.8nm, the F number of the system is 10, and the defocus distance is 0.05mm, the inversion is performed for the point target (top) and the extended target (bottom), respectively. The input focus image (left) and the defocus surface image (right) are shown in Figure 2. Figure 2 shown.
[0092] The aberration coefficient matrix obtained by inversion using the phase difference algorithm is compared with the aberration coefficient matrix obtained in Zemax. Figure 3 It can be seen that the phase difference algorithm based on Taylor expansion proposed in the present invention can correctly invert and obtain the wavefront phase, which verifies the feasibility and practicality of the present invention.
[0093] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A phase difference wavefront reconstruction method based on multi-order Taylor expansion, characterized in that: The following steps are involved: Step 1: Wave aberration of the system The relationship between the point spread function (psf) is expressed as: in, represents Fourier transform, A(x,y) is the pupil function; Step 2: Taylor expand the point spread function on the wave aberration coefficient matrix a at α0 to obtain: Among them, B0, B1, and B2 represent the point spread function when the wave aberration coefficient matrix is α0, the first-order derivative and the second-order derivative of the point spread function to the wave aberration coefficient matrix, respectively. represents the transposed matrix, Represents the remainder of Peano.
2. The phase difference wavefront reconstruction method based on multi-order Taylor expansion according to claim 1, characterized in that: The mathematical expressions of B0, B1, and B2 in step 2 are as follows:
3. The phase difference wavefront reconstruction method based on multi-order Taylor expansion according to claim 1, characterized in that: In step 2, when the wave aberration is small, let the second-order Taylor expansion term B2 = 0 and ignore the Peano remainder o((α-α0) 3 ); the Taylor expansion equation is now expressed as a linear equation: y=B s a+b s in: y=[psf1,psf2,…,psf j ] B s =[B 1,1 ,B 1,2 ,…,B 1,j ] b s =[(B 0,1 -B 1,1 α0),(B 0,2 -B 1,2 α0),…,(B 0,j -B 1,j a0)] Among them, the subscript j indicates the jth image used; The wave aberration coefficient matrix is directly iteratively optimized and solved: represents the estimated value of the aberration coefficient matrix; argmin(·) represents finding the minimum value.
4. The phase difference wavefront reconstruction method based on multi-order Taylor expansion according to claim 3 is characterized in that: In step 2, based on the first-order Taylor expansion, the calculation formula of the second-order Taylor expansion is proposed, ignoring the high-order terms. At this time, the Taylor expansion is expressed as: Wherein, subscript i represents the i-th image used; subscript j represents the j-th pixel in the i-th image; β i represents the defocus distance of the i-th image; represents the transposed matrix; b = α-α0; y i,j represents the intensity value of the jth pixel in the i-th image; B 0,j (β i ),B 1,j (β i ),B 2,j (β i ) are respectively represented by the aberration coefficient matrix as α0 and the defocus distance as β i The intensity value of the jth pixel in the i-th image, the first derivative of the point spread function to the wave aberration coefficient matrix, and the value of the second derivative at that point; Using the properties of the matrix, the second-order Taylor expansion is expressed as: Where Tr represents the trace of the matrix, Ψ j (β i ) and x are as follows: At this time, the error function for solving the wave aberration parameter matrix is expressed as: Where rank(·) represents the rank of the matrix; ∥·∥ 2 Represents the L2 norm.
Citation Information
Cited By
Multi-element pose error distribution method for light path collimation
CN120427232A
