Optical engine modeling method, device and equipment based on OPM pupil matching

Through parametric modeling and ray tracing of complex optical systems, combined with adaptive weight multi-objective optimization, the problem of simplification and insufficient flexibility of the OPM method in the pupil matching measurement and optimization process in complex optical systems is solved, and achieved Efficient optical system design improves design efficiency and performance.

CN118569002BActive Publication Date: 2024-10-29SHENZHEN BAIBOHE TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When dealing with complex optical systems, the existing OPM optical design method suffers from oversimplification of the pupil matching measurement method, lack of flexibility in weighing multiple performance indicators, and difficulty in handling high-dimensional and strong coupling optimization problems. It is difficult to meet the high-precision, high-performance requirements of modern optical systems. Efficiency design requirements.

Method used

By obtaining the initial parameter set of the target optical system, perform parametric modeling and ray tracing, combined with the phase delay calculation of wavefront distortion, obtain global optical path distribution data, perform OPM pupil matching metric analysis, and construct adaptive weighted multi-objective optimization. function, using hybrid algorithms to optimize parameters to form a closed-loop optimization process to improve the design efficiency and performance of optical systems.

Benefits of technology

It significantly improves the design efficiency and performance of the optical engine, enhances the reliability and practicality of the system, extends the service life and stability, and can adapt to the needs of different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569002B_ABST
    Figure CN118569002B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of optical engine modeling, and discloses an optical engine modeling method, device and equipment based on OPM pupil matching. The method includes: obtaining the initial optical system parameter set of the target optical system and performing parameterized modeling to obtain the initial optical system model; performing ray tracing and optical path integral operations on the initial optical system model to obtain global optical path distribution data; performing OPM pupil matching metric analysis on the global optical path distribution data to obtain pupil matching feature maps; performing multi-dimensional performance index quantification and constructing an adaptive weight multi-objective optimization function; performing parameter optimization and solving of the initial optical system parameter set based on the adaptive weight multi-objective optimization function and hybrid algorithm to obtain the optimal optical system parameter set; performing parameterized reconstruction and error simulation on the optimal optical system parameter set, and outputting the target optical engine model. The present application improves the accuracy of OPM pupil matching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of optical engine modeling, and in particular to an optical engine modeling method, device and equipment based on OPM pupil matching. Background Art

[0002] With the rapid development of optical technology, optical systems are increasingly used in various fields, and the performance requirements for optical systems are also increasing. Traditional optical system design methods mainly rely on the designer's experience and trial and error, which is difficult to meet the high-precision and high-efficiency design requirements of modern optical systems. Especially in complex optical systems, pupil matching has an important impact on system performance, but traditional methods are difficult to accurately control and optimize.

[0003] In recent years, optical design methods based on optical path matching (OPM) have attracted widespread attention. They can effectively evaluate and optimize the pupil matching characteristics of optical systems. However, existing OPM methods still have some limitations when dealing with complex optical systems. The measurement methods of pupil matching are usually oversimplified and difficult to fully reflect the actual performance of the system. Secondly, the trade-offs between multiple performance indicators during the optimization process lack flexibility and are difficult to adapt to the needs of different application scenarios. In addition, in terms of parameter optimization and error analysis, existing methods often find it difficult to effectively deal with high-dimensional and strongly coupled optimization problems. Summary of the invention

[0004] The present application provides an optical engine modeling method, device and equipment based on OPM pupil matching, which are used to improve the accuracy of OPM pupil matching.

[0005] In a first aspect, the present application provides an optical engine modeling method based on OPM pupil matching, and the optical engine modeling method based on OPM pupil matching includes:

[0006] Acquire an initial optical system parameter set of a target optical system, and perform parameterized modeling on the target optical system to obtain an initial optical system model;

[0007] Performing ray tracing and optical path integration operations on the initial optical system model to obtain global optical path distribution data;

[0008] Performing OPM pupil matching metric analysis on the global light path distribution data to obtain a pupil matching feature map;

[0009] Quantifying the multi-dimensional performance index of the pupil matching feature map and constructing an adaptive weight multi-objective optimization function;

[0010] Based on the adaptive weight multi-objective optimization function and the hybrid algorithm, the initial optical system parameter set is optimized to obtain the optimal optical system parameter set;

[0011] The optimal optical system parameter set is parameterized and reconstructed and error simulated to output a target optical engine model.

[0012] In a second aspect, the present application provides an optical engine modeling device based on OPM pupil matching, and the optical engine modeling device based on OPM pupil matching includes:

[0013] An acquisition module is used to acquire an initial optical system parameter set of a target optical system, and perform parameterized modeling on the target optical system to obtain an initial optical system model;

[0014] A calculation module, used for performing ray tracing and optical path integration calculations on the initial optical system model to obtain global optical path distribution data;

[0015] An analysis module, used for performing OPM pupil matching metric analysis on the global light path distribution data to obtain a pupil matching feature map;

[0016] A construction module is used to quantify the multi-dimensional performance indicators of the pupil matching feature map and construct an adaptive weight multi-objective optimization function;

[0017] A solution module, used for performing parameter optimization on the initial optical system parameter set based on the adaptive weight multi-objective optimization function and the hybrid algorithm to obtain an optimal optical system parameter set;

[0018] The output module is used to perform parameterized reconstruction and error simulation on the optimal optical system parameter set and output a target optical engine model.

[0019] A third aspect of the present application provides an optical engine modeling device based on OPM pupil matching, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the optical engine modeling device based on OPM pupil matching executes the above-mentioned optical engine modeling method based on OPM pupil matching.

[0020] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned optical engine modeling method based on OPM pupil matching.

[0021] In the technical solution provided by the present application, an accurate geometric description function and an initial optical system model are obtained by structural analysis, parameter measurement and mathematical modeling of the target optical system. Vectorized ray tracing and optical path integral operations are used, combined with phase delay calculation of wavefront distortion, to obtain more accurate global optical path distribution data. Through sub-region division and optical path difference calculation, combined with spatial interpolation and Fourier transform, a detailed pupil matching feature map is obtained. The pupil matching feature map is analyzed from multiple angles, including spatial frequency, aberration, dispersion and distortion, etc., to comprehensively evaluate the system performance and provide a multi-dimensional objective function for optimization. An adaptive weight mechanism is used to automatically adjust the importance of each indicator according to different application scenarios. A balance is achieved between global optimal solution search and local refinement by combining genetic algorithms and local search. Through virtual assembly, tolerance analysis and dynamic compensation simulation, the performance fluctuations of the system in actual production and use are predicted, and the reliability and practicality of the model are improved. From initial parameter acquisition to final model output, a complete closed-loop optimization process is formed, which significantly improves the design efficiency and performance of the optical engine. By generating and analyzing error sample sets, possible problems that may occur in actual production can be predicted and compensated. Through dynamic compensation simulation and parameter sensitivity analysis, real-time adjustments can be made during system use to extend the service life and stability of the optical engine. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0023] Figure 1 A schematic diagram of an embodiment of an optical engine modeling method based on OPM pupil matching in an embodiment of the present application;

[0024] Figure 2 It is a schematic diagram of an embodiment of an optical engine modeling device based on OPM pupil matching in an embodiment of the present application. DETAILED DESCRIPTION

[0025] Embodiments of the present application provide an optical engine modeling method, device and equipment based on OPM pupil matching. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 In the embodiment of the present application, an embodiment of the optical engine modeling method based on OPM pupil matching includes:

[0027] Step S101, obtaining an initial optical system parameter set of a target optical system, and performing parameterized modeling on the target optical system to obtain an initial optical system model;

[0028] It is understandable that the execution subject of the present application may be an optical engine modeling device based on OPM pupil matching, or a terminal or a server, which is not specifically limited here. The present application embodiment is described by taking a server as the execution subject as an example.

[0029] Specifically, the target optical system is structurally analyzed, and the overall structure of the optical system is dissected, and each optical element and its configuration in the system are identified and recorded to obtain a list of optical element types and the number of optical elements. According to the list of optical element types and the number of optical elements, each optical element is parameterized, and these parameter measurements include the shape, size, position, tilt angle, etc. of each optical element, and an initial geometric parameter set is obtained. The initial geometric parameter set is mathematically modeled, and an overall geometric description function is formed by converting the geometric parameters of each optical element into a mathematical expression. The geometric description function can accurately describe the spatial structure and geometric characteristics of the target optical system. According to the geometric description function, the optical material is characteristically analyzed, and the physical properties of the optical material are analyzed, including key parameters such as the refractive index and dispersion coefficient of the material. Through the analysis of the optical material, the refractive index and dispersion coefficient data of each optical element at different wavelengths are obtained. The material refractive index and dispersion coefficient are numerically fitted, and the discrete refractive index and dispersion coefficient data are converted into a continuous mathematical expression to obtain the refractive index function. Based on the refractive index function and the previously obtained geometric description function, the target optical system is optically analyzed. The analysis process traces the propagation path of light in the optical system, calculates the optical path length of each light, and finally obtains the initial optical path function. The optical path function can fully describe the path and phase change of light propagating in the system. The initial optical path function is differentiated to calculate the wavefront function and the light direction vector field. The wavefront function describes the phase distribution of light waves in the optical system, while the light direction vector field describes the propagation direction of light in the system. Based on this information, the aperture analysis of the target optical system is performed, and the effective pupil function is calculated by analyzing the situation of light passing through each aperture in the system. The effective pupil function can describe the pupil structure of the system and its limiting effect on light. The effective pupil function is Fourier transformed, and the Fourier transform can convert the spatial information of the optical system into frequency domain information. The initial point spread function of the target optical system is obtained through Fourier transform. The initial point spread function describes the response characteristics of the system to point light sources. According to the initial point spread function and geometric description function, the target optical system is parametrically modeled, and the complete initial optical system model is constructed by combining the parameter characteristics of each optical element.

[0030] Step S102, performing ray tracing and optical path integration operations on the initial optical system model to obtain global optical path distribution data;

[0031] Specifically, the initial optical system model is sampled for the incident pupil, and the pupil area of ​​the system is sampled at equal intervals or randomly to generate a series of incident light sets. According to the incident light set, each light is vectorized and described in the form of a vector to obtain an initial light direction vector group. The initial light direction vector group is calculated using Snell's law, which is used to describe the refraction phenomenon of light at the interface of two media. Through calculation, the refraction direction vector of the light on each interface is obtained. According to the refraction direction vector, the propagation path of each light between each interface is geometrically calculated to obtain a light path point set. The light path point set contains all the key points and path information that the light passes through when propagating in the optical system. The light path point set is accumulated for the optical path, and the geometric optical path value of each light is obtained by accumulating the optical path of the light on each path segment. According to the geometric optical path value, the wavefront distortion is phase delayed and the corrected optical path value is obtained by taking into account the phase change of the light on different paths. This process can reflect the actual optical path length and phase change of the light during propagation. The energy transmission efficiency is calculated for the corrected optical path value, and the energy distribution function of the light is obtained by considering the attenuation and distribution of the energy of the light during the propagation process. According to the light energy distribution function, the light intensity distribution of the image plane is calculated, and the image plane light intensity distribution diagram is obtained by projecting the energy and position of each light ray onto the image plane. The image plane light intensity distribution diagram can intuitively reflect the light intensity distribution of the optical system during the imaging process. The global light path information is integrated on the image plane light intensity distribution diagram, and all the path, phase, energy and other information of each light ray during the propagation process are integrated to obtain the global light path distribution data.

[0032] Step S103, performing OPM pupil matching metric analysis on the global optical path distribution data to obtain a pupil matching feature map;

[0033] Specifically, the global optical path distribution data is divided into an image plane, and the image plane is divided into a plurality of sub-region light sets. According to the sub-region light sets, the optical path difference is calculated for each sub-region, and the optical path difference distribution of each sub-region is calculated. The sub-region optical path difference distribution is statistically analyzed to obtain the RMS wavefront error and PV wavefront error of each sub-region. The RMS wavefront error represents the root mean square value of the optical path difference, while the PV wavefront error represents the peak-to-valley difference of the optical path difference. Through these error indicators, the optical quality of each sub-region is quantified. According to the RMS wavefront error and PV wavefront error of the sub-region, the pupil matching degree of each sub-region is evaluated to obtain the sub-region pupil matching degree index. The pupil matching degree index can reflect the matching effect of the optical system in different sub-regions and evaluate its optical performance. The sub-region pupil matching degree index is spatially interpolated to convert the discrete pupil matching degree index into a continuous pupil matching degree function. The continuous pupil matching degree function can provide smoother and continuous matching degree distribution information. According to the continuous pupil matching function, the energy density of the image plane is weighted, and the weighted pupil matching distribution is obtained by combining the energy density with the matching function. The weighted pupil matching distribution can more accurately reflect the overall optical performance of the optical system. The weighted pupil matching distribution is Fourier transformed, and the matching information in the spatial domain is converted into frequency domain information through Fourier transform to obtain the pupil matching spectrum. The pupil matching spectrum can provide the matching characteristics of the optical system in the frequency domain. According to the pupil matching spectrum, the system transfer function is corrected to obtain the pupil matching corrected transfer function. By correcting the transfer function, the transfer performance and matching effect of the optical system are improved. The pupil matching corrected transfer function is inversely transformed, and the matching information in the frequency domain is converted back to the spatial domain through inverse Fourier transform to obtain the corrected point spread function. The corrected point spread function can more accurately describe the imaging quality and resolution of the optical system. According to the corrected point spread function and the weighted pupil matching distribution, the pupil matching characteristics are comprehensively analyzed, and all the matching information is combined to obtain a complete pupil matching feature map.

[0034] Step S104, quantifying the multi-dimensional performance index of the pupil matching feature map, and constructing an adaptive weight multi-objective optimization function;

[0035] Specifically, the pupil matching feature map is subjected to spatial frequency analysis, and the modulation transfer function of the system is obtained by analyzing the response of the optical system at different spatial frequencies. The modulation transfer function of the system can describe the imaging performance of the optical system at different spatial frequencies and reflect the contrast and resolution of the system. According to the modulation transfer function of the system, the resolution of the system is evaluated to obtain a spatial resolution index. The spatial resolution index can quantify the clarity and recognition ability of details of the optical system during the imaging process. The pupil matching feature map is subjected to polynomial decomposition, and the aberration coefficient set of the system is obtained by decomposing the pupil matching feature map into a series of orthogonal polynomial forms. The aberration coefficient set can describe the aberration characteristics of the system during the imaging process. According to the aberration coefficient set, the wave aberration of the system is calculated to obtain the wave aberration index. The wave aberration index can reflect the distortion of the wavefront of the optical system during the imaging process and is an important parameter for evaluating the imaging quality of the system. The pupil matching feature map is subjected to dispersion analysis, and the chromatic aberration distribution function of the system is obtained by analyzing the imaging performance of the optical system at different wavelengths. The chromatic aberration distribution function can describe the imaging deviation of the system at different wavelengths. According to the chromatic aberration distribution function, the chromatic aberration of the system is quantitatively evaluated to obtain the chromatic aberration index. The chromatic aberration index can quantify the color distortion caused by the dispersion effect in the optical system during the imaging process. The pupil matching feature map is subjected to distortion analysis, and the distortion function of the system is obtained by analyzing the imaging characteristics of the optical system at different field angles. The distortion function can describe the geometric distortion of the system at different field angles. According to the distortion function, the geometric distortion of the system is quantified to obtain the distortion index. The distortion index can quantify the shape deformation caused by the geometric distortion in the optical system during the imaging process. The spatial resolution index, wave aberration index, chromatic aberration index and distortion index are normalized. Through normalization, each index is converted to the same scale range to obtain a standardized performance index set. According to the standardized performance index set and pupil matching, the initial multi-objective optimization function is constructed. The initial multi-objective optimization function combines various performance indicators, and the overall performance of the optical system is evaluated and optimized through the construction of the optimization function. The indicator weights of the initial multi-objective optimization function are adaptively adjusted. According to the performance requirements and weight distribution in actual applications, the weight ratio of each indicator in the optimization function is adjusted, and finally an adaptive weight multi-objective optimization function is obtained.

[0036] Step S105, based on the adaptive weight multi-objective optimization function and the hybrid algorithm, the initial optical system parameter set is optimized to obtain the optimal optical system parameter set;

[0037] Specifically, the initial optical system parameter set is encoded, and each parameter is represented by a specific encoding method to form an initial population. According to the adaptive weight multi-objective optimization function, the initial population is evaluated for fitness, and the fitness level of each individual in the population is evaluated to obtain the initial fitness distribution. The initial fitness distribution can reflect the pros and cons of each individual relative to the optimization target. The initial fitness distribution is non-dominated sorted, and the initial Pareto front is obtained by comparing each individual. The initial Pareto front consists of individuals that are not dominated by other individuals in all objectives, representing the excellent individuals in the population. According to the initial Pareto front, the initial population is selected, crossed and mutated to generate a new generation of population. The selection operation is to select better individuals from the initial population for reproduction, the crossover operation is to combine the coding parts of two individuals to generate new individuals, and the mutation operation is to randomly modify the coding of individuals to increase the diversity of the population. The new generation of population is locally searched, and the local optimal solution set is found by performing a more refined search in the new generation of population. The local optimal solution set is the best performing individual in the new generation of population. According to the local optimal solution set, the global search direction is adjusted to obtain the optimized search strategy. The optimized search strategy is iteratively executed, and the population is continuously improved through multiple iterative optimizations to obtain multi-generation evolution results. In each generation of evolution, selection, crossover, mutation and local search operations are performed to continuously optimize individuals. According to the multi-generation evolution results, the convergence is judged to evaluate whether the algorithm has reached the convergence state. When the algorithm reaches the convergence state, the target Pareto solution set is obtained. The target Pareto solution set represents the solution set with the best performance in multi-objective optimization. Cluster analysis is performed on the target Pareto solution set, and a representative solution vector is found by clustering the individuals in the target Pareto solution set. The representative solution vector can effectively summarize the characteristics of the Pareto solution set. According to the representative solution vector, the optical system parameters are de-decoded, the original parameter form is restored, and the optimal optical system parameter set is obtained.

[0038] Step S106: perform parameterized reconstruction and error simulation on the optimal optical system parameter set, and output a target optical engine model.

[0039] Specifically, geometric modeling is performed on the optimal optical system parameter set, and the optimized optical element model is constructed by geometrically describing the parameters of each optical element. According to the optimized optical element model, the target optical system is assembled and simulated to simulate the actual assembly process of the optical element to obtain a virtual assembly model. The tolerance sensitivity analysis is performed on the virtual assembly model to analyze the influence of the tolerance of each component on the system performance during the assembly process and obtain the tolerance distribution of the key dimensions. According to the tolerance distribution of the key dimensions, error simulation is performed to generate an error sample set. The error sample set contains system models under different assembly errors and can reflect the performance changes of the system under different error conditions. Ray tracing analysis is performed on the error sample set to simulate the propagation path of light under error conditions and obtain the system performance fluctuation range. The system performance fluctuation range can describe the performance changes of the system under different error conditions. According to the system performance fluctuation range, the compensation strategy is optimized and designed, and an adaptive compensation scheme is formulated. The adaptive compensation scheme can adjust the system according to the actual error situation and improve the stability of system performance. Parameter sensitivity analysis is performed on the adaptive compensation scheme, and the compensation parameter sensitivity matrix is ​​obtained by analyzing the influence of the compensation parameters on the system performance. The compensation parameter sensitivity matrix can quantify the influence of each compensation parameter on the system performance. According to the compensation parameter sensitivity matrix, the target optical system is dynamically compensated and the performance of the system under different compensation parameters is simulated to obtain the performance distribution after compensation. The performance distribution after compensation can reflect the system performance after the implementation of the compensation scheme and improve the reliability and stability of the system. Reliability evaluation is performed based on the performance distribution after compensation. By evaluating the performance stability of the system under different conditions, the reliability of the system in practical applications is ensured. According to the evaluation results, the optical engine model is parameterized and the target optical engine model is output.

[0040] In the embodiment of the present application, by performing structural analysis, parameter measurement and mathematical modeling on the target optical system, an accurate geometric description function and an initial optical system model are obtained. Vectorized ray tracing and optical path integral operations are used, combined with phase delay calculation of wavefront distortion, to obtain more accurate global optical path distribution data. Sub-region division and optical path difference calculation are combined with spatial interpolation and Fourier transform to obtain a detailed pupil matching feature map. The pupil matching feature map is analyzed from multiple angles, including spatial frequency, aberration, dispersion and distortion, to comprehensively evaluate the system performance and provide a multi-dimensional objective function for optimization. An adaptive weight mechanism is used to automatically adjust the importance of each indicator according to different application scenarios. A genetic algorithm and local search are combined to achieve a balance between global optimal solution search and local refinement. Through virtual assembly, tolerance analysis and dynamic compensation simulation, the performance fluctuations of the system in actual production and use are predicted, and the reliability and practicality of the model are improved. From initial parameter acquisition to final model output, a complete closed-loop optimization process is formed, which significantly improves the design efficiency and performance of the optical engine. By generating and analyzing error sample sets, possible problems that may occur in actual production can be predicted and compensated. Through dynamic compensation simulation and parameter sensitivity analysis, real-time adjustments can be made during system use to extend the service life and stability of the optical engine.

[0041] In a specific embodiment, the process of executing step S101 may specifically include the following steps:

[0042] (1) Performing a structural analysis on the target optical system to obtain a list of optical element types and the number of optical elements. Based on the list of optical element types and the number of optical elements, performing parameter measurements on each optical element to obtain an initial geometric parameter set.

[0043] (2) Mathematically model the initial geometric parameter set to obtain the geometric description function of the target optical system, and analyze the characteristics of the optical material based on the geometric description function to obtain the material refractive index and dispersion coefficient;

[0044] (3) Numerical fitting is performed on the material refractive index and dispersion coefficient to obtain the refractive index function. Based on the refractive index function and the geometric description function, the optical path analysis of the target optical system is performed to obtain the initial optical path function.

[0045] (4) Performing differential operation on the initial optical path function to obtain the wavefront function and the light direction vector field, and performing aperture analysis on the target optical system based on the wavefront function and the light direction vector field to obtain the effective pupil function;

[0046] (5) Performing Fourier transform on the effective pupil function to obtain the initial point spread function of the target optical system. Based on the initial point spread function and the geometric description function, parameterized modeling of the target optical system is performed to obtain the initial optical system model.

[0047] Specifically, the overall structure of the optical system is dissected and studied. By analyzing the actual assembly drawings or three-dimensional models of the optical system, the types and quantities of all optical components in the system, such as lenses, prisms, reflectors, etc., are determined. Assuming that a complex optical system containing multiple groups of lenses is being studied, a list of optical component types is obtained, such as "convex lens, concave lens, plane mirror", etc., and the number of each type of component is recorded. According to the list of optical component types and quantities, the parameters of each optical component are measured. The parameters of each optical component include its geometric shape, size, material properties, etc. For example, for a convex lens, its parameters such as radius of curvature, diameter, thickness, and the refractive index and dispersion coefficient of the material used for the lens are measured. These measurement data constitute the initial geometric parameter set, which includes detailed geometric and material information of each optical component. The initial geometric parameter set is mathematically modeled to convert the geometric characteristics of the optical element into mathematical expressions. Suppose there is a lens with a radius of curvature and thickness , use the equation to describe the surface of the lens: ;in is the height of the lens surface, is the distance from any point on the surface to the optical axis. Similarly, for a prism, the shape is described by the triangle formula in geometry. Through mathematical expressions, the geometric description function of the entire optical system is obtained. Based on the geometric description, the characteristics of the optical material are analyzed to obtain the refractive index and dispersion coefficient of the material. Refractive index Describes the speed at which light travels in different materials and can be measured experimentally or found in a materials handbook. Describes the relationship between the refractive index and wavelength. Assume that the refractive index of a certain glass material varies with wavelength. The change relationship is: ;in , and It is the characteristic constant of the material. Numerical fitting is performed on the refractive index and dispersion coefficient of the material to convert discrete data points into a continuous refractive index function. This fitting process can be achieved through polynomial fitting or other numerical methods, and the obtained refractive index function It can be used to describe the refractive properties of materials in the entire spectral range. According to the refractive index function and geometric description function, the optical path analysis of the target optical system is performed. The purpose of optical path analysis is to calculate the propagation path and optical path length of the light in the system. For each light ray, the optical path It can be expressed as an integral: ;in, is the path of the light in the system, is the refractive index at each point on the path, is a tiny path segment. This integral calculation can be realized by numerical methods to obtain the initial optical path function The initial optical path function is differentiated to obtain the wavefront function and the light direction vector field. Wavefront function Describes the phase distribution of light waves in space and can be obtained by differentiating the optical path function: ; The light direction vector field describes the propagation direction of the light at each point and can be obtained by spatially differentiating the light path function: ;in is the light direction vector. According to the wavefront function and the light direction vector field, the aperture analysis of the target optical system is performed and the effective pupil function is calculated. Describes the shape and size of the pupil, which can be obtained by integrating the distribution of light in the pupil: ;in is the pupil area, It is the distribution function of light on the pupil. The effective pupil function is Fourier transformed to obtain the initial point spread function of the target optical system. Fourier transform can convert the pupil function into a frequency domain representation, reflecting the response characteristics of the optical system to a point light source. The point spread function is an important indicator to measure the imaging quality of the optical system, which describes the degree of diffusion of the system's imaging of a point light source. According to the initial point spread function and the geometric description function, the target optical system is parametrically modeled to obtain the initial optical system model. By combining the parameter characteristics of each optical element and the results of the optical path analysis, a parametric model of the entire optical system is constructed.

[0048] In a specific embodiment, the process of executing step S102 may specifically include the following steps:

[0049] (1) Sampling the incident pupil of the initial optical system model to obtain a set of incident rays, and vectorizing each ray according to the set of incident rays to obtain a set of initial ray direction vectors;

[0050] (2) Snell's law is used to calculate the initial light direction vector group to obtain the refraction direction vector of each interface, and geometric calculations are performed on the propagation path of each light ray between the interfaces based on the refraction direction vector to obtain a light path point set;

[0051] (3) Accumulate the optical path of the light path point set to obtain the geometric optical path value of each light ray, and calculate the phase delay of the wavefront distortion based on the geometric optical path value to obtain the corrected optical path value;

[0052] (4) Calculating the energy transmission efficiency of the corrected optical path value to obtain the light energy distribution function, and calculating the light intensity distribution on the image plane based on the light energy distribution function to obtain the image plane light intensity distribution diagram;

[0053] (5) Integrate the global light path information of the image plane light intensity distribution map to obtain the global light path distribution data.

[0054] Specifically, determine the position and size of the pupil. The pupil is the entrance for light to enter the optical system. Assuming that the lens system is under study, a set of incident light rays is generated by uniformly or randomly sampling the pupil. These rays represent the light entering the optical system from different positions and angles. Based on the set of incident light rays, each ray is vectorized. Assume that a ray starts from point Departure direction , using vector To represent the position and direction of this light. By vectorizing all incident light rays, we get the initial light direction vector group. These vector groups contain the initial position and propagation direction of each light ray. Snell's law is used to calculate the initial light direction vector group. Snell's law describes the refraction behavior of light at the interface of different media. The formula of Snell's law is: ;in and are the refractive indices of the two media, and are the incident angle and refraction angle of the light, respectively. By calculating the refraction direction of the light on each interface, the refraction direction vector of each interface is obtained. Assume that the incident light direction vector is , the direction vector of the refracted light is , calculated according to Snell's law According to the refraction direction, the propagation path of each light ray between the interfaces is geometrically calculated to obtain the light path point set. Assume that the light ray starts from point After several refractions and propagations, it finally reaches point , we can record the intersection of each interface to form a light path point set. These point sets describe the specific path of light in the optical system. We can add up the optical path of the light path point set and calculate the geometric optical path value of each light. The optical path is the distance that light travels in different media. The total geometric optical path value can be obtained by adding up the optical path. The formula is: ;

[0055] in The light is The refractive index in the segment path, It is The length of each path. By accumulating the optical path of each path, the geometric optical path value of each light is obtained. According to the geometric optical path value, the phase delay of the wavefront distortion is calculated to obtain the corrected optical path value. During the propagation of light, phase differences will occur due to different optical paths, which will lead to wavefront distortion. The phase delay calculation formula is: ;in is the phase delay, is the wavelength of light, is the geometric optical path value of the light, is the reference optical path value. By calculating the phase delay, the optical path value of the light is corrected to obtain the corrected optical path value. The energy transmission efficiency is calculated for the corrected optical path value to obtain the light energy distribution function. The energy transmission efficiency describes the energy loss of light in the system and can be calculated by the relationship between the optical path and the light intensity. Assume that the initial intensity of the light is , through the optical path The intensity after propagation is , we can use the formula: ;in is the absorption coefficient, is the optical path. By calculating the energy change of the light during propagation, the light energy distribution function is obtained. According to the light energy distribution function, the light intensity distribution of the image plane is calculated to obtain the image plane light intensity distribution diagram. The light intensity distribution diagram describes the light intensity distribution of the optical system on the image plane. Assume that the light intensity of a point on the image plane is , by accumulating the energy of all the light rays reaching the point, the light intensity value of the point is obtained. The global light path information is integrated on the image plane light intensity distribution map to obtain the global light path distribution data.

[0056] In a specific embodiment, the process of executing step S103 may specifically include the following steps:

[0057] (1) Dividing the global optical path distribution data into image planes to obtain multiple sub-region light sets, and calculating the optical path difference for each sub-region based on the sub-region light sets to obtain the sub-region optical path difference distribution;

[0058] (2) Statistically analyze the distribution of sub-region optical path differences to obtain the sub-region RMS wavefront error and PV wavefront error;

[0059] (3) Evaluate the pupil matching of each sub-region based on the sub-region RMS wavefront error and PV wavefront error to obtain the sub-region pupil matching index;

[0060] (4) Perform spatial interpolation on the sub-region pupil matching index to obtain a continuous pupil matching function, and perform energy density weighting on the image plane according to the continuous pupil matching function to obtain a weighted pupil matching distribution;

[0061] (5) Performing Fourier transform on the weighted pupil matching degree distribution to obtain a pupil matching degree spectrum, and correcting the system transfer function according to the pupil matching degree spectrum to obtain a pupil matching corrected transfer function;

[0062] (6) Performing an inverse Fourier transform on the pupil matching correction transfer function to obtain a corrected point spread function. Based on the corrected point spread function and the weighted pupil matching degree distribution, a comprehensive analysis of the pupil matching features is performed to obtain a pupil matching feature map.

[0063] Specifically, the image plane is divided into several sub-areas. The image plane can be divided into multiple rectangular or square areas of the same size, and each sub-area contains the intersection of a part of the light rays. This division method ensures that the light behavior of each sub-area can be analyzed separately when calculating the optical path difference. According to the sub-area light set, the optical path difference is calculated for each sub-area. The optical path difference refers to the difference in optical path length caused by different paths during the propagation of light. Assume that in a certain sub-area, there is The geometric optical path lengths of the rays are (in ), then the optical path difference can be expressed as: ;in, It is the average optical path value of all the light in the sub-area. Through calculation, the optical path difference distribution of the sub-area is obtained, which reflects the optical path difference of the light in the sub-area. The sub-area optical path difference distribution is statistically analyzed to calculate the RMS wavefront error and PV wavefront error of the sub-area. The RMS wavefront error (root mean square error) is used to measure the average discrete degree of the optical path difference, and its calculation formula is: ;in, is the number of rays in the subregion, It is The PV wavefront error (peak-to-valley error) represents the difference between the maximum and minimum optical path difference, and its calculation formula is: ; According to the RMS wavefront error and PV wavefront error of the sub-region, the pupil matching degree of each sub-region is evaluated to obtain the sub-region pupil matching degree index. The pupil matching degree index can be used to measure the matching effect of the optical system in the sub-region, and is calculated based on the weighted sum of the RMS wavefront error and the PV wavefront error. For example: matching degree RMS PV; among them, and is a weighting factor that reflects the relative importance of RMS error and PV error in matching evaluation. The sub-region pupil matching index is spatially interpolated to obtain a continuous pupil matching function. Through the interpolation method, the discrete sub-region matching index is converted into a continuous function to ensure a smooth matching distribution on the entire image plane. According to the continuous pupil matching function, the image plane is energy-density weighted to obtain a weighted pupil matching distribution. The energy density weighting method is to weight the matching degree of each point according to the energy distribution of light on the image plane. For example, assuming the energy density of a point is , the corresponding matching degree is , then the weighted matching degree It can be expressed as: Perform Fourier transform on the weighted pupil matching distribution to obtain the pupil matching spectrum. Fourier transform can transform spatial domain information into frequency domain information and provide analysis of the frequency characteristics of matching distribution. The formula of Fourier transform is: ;in, is the matching degree distribution in the frequency domain, and is a frequency variable. According to the pupil matching spectrum, the system transfer function is corrected to obtain the pupil matching corrected transfer function. The system transfer function describes the frequency response characteristics of the optical system. By correcting the transfer function, the imaging quality of the system is optimized. Assume that the original transfer function is , the modified transfer function is , then the correction can be expressed as: ; Perform inverse Fourier transform on the pupil matching correction transfer function to obtain the corrected point spread function. The formula for inverse Fourier transform is: ;in, It is the point spread function in the spatial domain. According to the modified point spread function and the weighted pupil matching degree distribution, the pupil matching features are comprehensively analyzed to obtain the pupil matching feature map.

[0064] In a specific embodiment, the process of executing step S104 may specifically include the following steps:

[0065] (1) Perform spatial frequency analysis on the pupil matching feature map to obtain the system modulation transfer function, and evaluate the system resolution based on the system modulation transfer function to obtain the spatial resolution index;

[0066] (2) Performing polynomial decomposition on the pupil matching feature map to obtain a system aberration coefficient set, and calculating the system wave aberration based on the aberration coefficient set to obtain a wave aberration index;

[0067] (3) Performing dispersion analysis on the pupil matching feature map to obtain the system color difference distribution function, and quantitatively evaluating the system color difference based on the color difference distribution function to obtain the color difference index;

[0068] (4) Perform distortion analysis on the pupil matching feature map to obtain the system distortion function, and quantify the system geometric distortion based on the distortion function to obtain the distortion index;

[0069] (5) Normalizing the spatial resolution index, wavefront aberration index, chromatic aberration index, and distortion index to obtain a standardized performance index set;

[0070] (6) Based on the standardized performance indicator set and pupil matching, an initial multi-objective optimization function is constructed, and the indicator weights of the initial multi-objective optimization function are adaptively adjusted to obtain an adaptive weight multi-objective optimization function.

[0071] Specifically, the pupil matching feature map is converted into a frequency domain representation to obtain the modulation transfer function of the system. The modulation transfer function describes the response ability of the optical system to different spatial frequencies and is a key parameter for evaluating the resolution of the system. Assume that the pupil matching feature map is represented in the spatial domain as , through Fourier transform, we get its frequency domain representation F , which is the modulation transfer function The formula is: ;in, is the modulation transfer function of the system, and is a frequency variable. By analyzing the modulation transfer function curve, the response of the system at different spatial frequencies is determined. The resolution of the system is usually determined by the spatial frequency corresponding to the modulation transfer function at a certain threshold (such as 0.1 or 0.5). Through this process, the spatial resolution index of the system is obtained. The pupil matching feature map is decomposed into polynomials to obtain the aberration coefficient set of the system. Aberration refers to the error that deviates from the ideal imaging during the imaging process of the optical system. Polynomial decomposition is an effective method to represent these errors. Assume that the pupil matching feature map A set of Zernike polynomials can be used To represent it, it can be written as: ;in, is the coefficient of the Zernike polynomial, representing the magnitude of each order of aberration. These coefficients constitute the aberration coefficient set of the system. The wavefront aberration of the system is calculated based on the aberration coefficient. Wavefront aberration is an important indicator for measuring the imaging quality of an optical system, usually expressed by RMS wavefront error, and its formula is: ;in, is the number of rays, It is The wavefront error of a ray, is the average wavefront error. The chromatic aberration distribution function of the system is obtained by performing dispersion analysis on the pupil matching characteristic spectrum. Chromatic aberration is an imaging error caused by different refractions of light of different wavelengths when passing through the optical system. Assuming that the pupil matching characteristic spectrum is The following expression is , the color difference distribution function can be obtained by analyzing the spectra of these different wavelengths . The chromatic aberration distribution function describes the imaging deviation of the optical system at different wavelengths. Based on this function, the system chromatic aberration is quantitatively evaluated to obtain the chromatic aberration index. The chromatic aberration index is usually expressed as the maximum chromatic aberration value of the optical system in the visible light range. The pupil matching feature map is subjected to distortion analysis to obtain the system's distortion function. Distortion refers to the geometric distortion caused by lens design or manufacturing errors during the imaging process of the optical system. Distortion function Describes the deviation between the ideal imaging position and the actual imaging position. Assuming the ideal imaging point is , the actual imaging point is , then the distortion function can be expressed as: ;

[0072] Through the distortion analysis of the pupil matching feature map, the distortion index of the system is obtained, which is expressed as the maximum distortion of the system at different viewing angles. The spatial resolution index, wave aberration index, chromatic aberration index and distortion index are normalized to convert the indexes of different dimensions into a dimensionless standardized performance index set. According to the standardized performance index set and pupil matching, the initial multi-objective optimization function is constructed. Assume that the pupil matching degree is , the standardized performance indicator set is , the initial multi-objective optimization function can be expressed as: ;in, and is the weight of each indicator, reflecting the importance of different performance indicators in the optimization. The indicator weights of the initial multi-objective optimization function are adaptively adjusted to obtain an adaptive weight multi-objective optimization function. Adaptive weight adjustment can be achieved through an iterative algorithm, dynamically adjusting each weight according to the feedback during the optimization process, so that the optimization result can better meet the actual needs. Assume that in the The weight in the iteration is , then in The weights in the iteration can be adjusted by the following formula: ;in, is the learning rate, reflecting the size of the adjustment step, It is the weight The partial derivative of reflects the influence of the weight on the optimization function.

[0073] In a specific embodiment, the process of executing step S105 may specifically include the following steps:

[0074] (1) Encode the initial optical system parameter set to obtain an initial population, and evaluate the fitness of the initial population according to an adaptive weight multi-objective optimization function to obtain an initial fitness distribution;

[0075] (2) Perform non-dominated sorting on the initial fitness distribution to obtain the initial Pareto frontier, and perform selection, crossover and mutation operations on the initial population based on the initial Pareto frontier to obtain a new generation of population;

[0076] (3) Perform local search on the new generation population to obtain the local optimal solution set, and adjust the global search direction based on the local optimal solution set to obtain the optimized search strategy;

[0077] (4) Iterate the optimization search strategy to obtain multiple generations of evolution results, and judge the convergence based on the multiple generations of evolution results to obtain the target Pareto solution set;

[0078] (5) Cluster analysis is performed on the target Pareto solution set to obtain a representative solution vector, and the optical system parameters are de-decoded based on the representative solution vector to obtain the optimal optical system parameter set.

[0079] Specifically, the parameters of the optical system are converted into a form suitable for processing by the optimization algorithm. Assume that the optical system parameter set includes focal length, radius of curvature, thickness, material refractive index, etc. These parameters can be represented by binary coding or real number coding. For example, the numerical values ​​within each parameter range are discretized and represented by binary numbers, and a set of parameters is represented as a binary string to form an initial population. According to the adaptive weight multi-objective optimization function, the fitness of the initial population is evaluated. Fitness evaluation is to measure the quality of each individual in the population. Assume that the multi-objective optimization function is: ;in, It is the first in the set of standardized performance indicators. indicators, is its corresponding weight, is the pupil matching, is its weight. By calculating the fitness value of each individual, the initial fitness distribution is obtained. The fitness distribution can reflect the fitness of each individual in the population relative to the optimization target. The initial fitness distribution is non-dominated sorted to obtain the initial Pareto front. Non-dominated sorting is a key step in multi-objective optimization. By comparing the fitness between individuals, it is determined which individuals are not dominated by other individuals on all targets. The initial Pareto front contains the individuals with the best performance on all targets and is an important reference in the optimization process. According to the initial Pareto front, the initial population is selected, crossed and mutated to generate a new generation of population. The selection operation selects the better individuals from the Pareto front for reproduction, the crossover operation combines the coding parts of two individuals to generate new individuals, and the mutation operation randomly modifies the coding of individuals to increase the diversity of the population. The new generation of population is searched locally to obtain the local optimal solution set. Local search is a more refined search in the new generation of population to find the optimal solution near the current solution space. Through local search, the overall fitness of the population is improved. According to the local optimal solution set, the global search direction is adjusted to obtain the optimized search strategy. The adjustment of the global search direction can be achieved by changing the probability of selection, crossover and mutation, so that the optimization process can explore more effectively in the global solution space. The optimized search strategy is iteratively executed, and the population is continuously improved through multiple iterative optimizations to obtain multi-generation evolution results. In each generation of evolution, selection, crossover, mutation and local search operations will continuously optimize individuals. According to the multi-generation evolution results, the convergence is judged to evaluate whether the algorithm has reached a convergence state. When the algorithm reaches a convergence state, the target Pareto solution set is obtained. The target Pareto solution set represents the solution set with the best performance in multi-objective optimization. Cluster analysis is performed on the target Pareto solution set to obtain a representative solution vector. Cluster analysis is to classify the individuals in the Pareto solution set and find representative solution vectors. These solution vectors can effectively summarize the characteristics of the Pareto solution set. According to the representative solution vector, the optical system parameters are de-decoded to restore the original parameter form to obtain the optimal optical system parameter set. Through inverse decoding, the coding results obtained in the optimization process are converted into actual optical system parameters, which are then applied to the design and optimization of the optical system.

[0080] In a specific embodiment, the process of executing step S106 may specifically include the following steps:

[0081] (1) Perform geometric modeling on the optimal optical system parameter set to obtain the optimized optical element model;

[0082] (2) Perform assembly simulation on the target optical system based on the optimized optical component model to obtain a virtual assembly model;

[0083] (3) Perform tolerance sensitivity analysis on the virtual assembly model to obtain the tolerance distribution of key dimensions, and perform error simulation based on the tolerance distribution of key dimensions to obtain an error sample set;

[0084] (4) Perform ray tracing analysis on the error sample set to obtain the system performance fluctuation range, and optimize the compensation strategy based on the system performance fluctuation range to obtain an adaptive compensation scheme;

[0085] (5) Perform parameter sensitivity analysis on the adaptive compensation scheme to obtain the compensation parameter sensitivity matrix;

[0086] (6) Perform dynamic compensation simulation on the target optical system according to the compensation parameter sensitivity matrix to obtain the performance distribution after compensation;

[0087] (7) Perform reliability evaluation based on the compensated performance distribution and parameterize the optical engine model to output the target optical engine model.

[0088] Specifically, the optimized parameters are converted into a geometric model of an optical element. The parameters of each optical element (such as radius of curvature, thickness, refractive index, etc.) are concretized into a visualized three-dimensional model. Assume that the optimized parameter set includes the radius of curvature of a lens ,thickness , and refractive index , standard optical design software (such as Zemax, Code V, etc.) can be used to construct the geometric model of these parameters. The surface of the lens can be described by the formula: ;in is the surface height, is the radial distance. According to the optimized optical element model, the target optical system is assembled and simulated to obtain a virtual assembly model. Assembly simulation is to ensure that each optical element can be properly installed and aligned during the actual assembly process. Through virtual assembly, potential assembly problems and errors are found. The virtual assembly model can be carried out in CAD software to ensure that the position and orientation of each optical element meet the design requirements. Tolerance sensitivity analysis is performed on the virtual assembly model to obtain the tolerance distribution of key dimensions. Tolerance sensitivity analysis is to determine which dimensions and parameters have the greatest impact on system performance. Assuming that the radius of curvature, center thickness and position of the lens are tolerance analyzed, the impact of the change of each parameter on the system performance is analyzed through Monte Carlo simulation or other statistical methods to obtain the tolerance distribution of key dimensions. Error simulation is performed according to the tolerance distribution of key dimensions to generate an error sample set. The errors that may occur in the actual production and assembly process are simulated in a virtual environment. The error sample set contains multiple optical system models with different error distributions. These samples are used for subsequent ray tracing analysis to evaluate the performance fluctuation of the system in the presence of errors. Ray tracing analysis is performed on the error sample set to obtain the range of system performance fluctuation. Ray tracing analysis simulates the propagation path of light in the optical system and calculates the performance indicators of the system under different error conditions. Assuming that the imaging quality of the system is evaluated, the point spread function or modulation transfer function of each error sample can be calculated to obtain the fluctuation range of the system performance. According to the fluctuation range of the system performance, the compensation strategy is optimized and designed to obtain an adaptive compensation scheme. The compensation strategy is to compensate for the performance loss caused by errors by adjusting system parameters in practical applications. Assuming that it is found that some key parameters (such as the position and tilt angle of the lens) have a significant impact on the system performance, an adaptive compensation scheme can be designed to optimize the system performance by adjusting these parameters. The optimization design of the compensation strategy can be achieved through an optimization algorithm to ensure that the system can maintain the best performance under different error conditions. Parameter sensitivity analysis is performed on the adaptive compensation scheme to obtain the compensation parameter sensitivity matrix to determine which compensation parameters have the greatest impact on the system performance. According to the compensation parameter sensitivity matrix, the target optical system is dynamically compensated to obtain the performance distribution after compensation. The dynamic compensation simulation simulates the performance of the system under different conditions by adjusting the compensation parameters in the simulation environment. Assuming that the compensation parameters are adjusted The performance indicators after , through the sensitivity matrix and the adjustment amount of compensation parameters Perform the calculation: ; In this way, the performance distribution of the system under different compensation parameters is obtained. Reliability evaluation is performed based on the performance distribution after compensation, and the optical engine model is parameterized to output the target optical engine model. By analyzing the performance distribution after compensation, the reliability of the system under different environments and conditions is evaluated. The optical engine model is parameterized to accurately record the various parameters and performance indicators of the system in the documentation and design files.

[0089] The above describes the optical engine modeling method based on OPM pupil matching in the embodiment of the present application. The following describes the optical engine modeling device based on OPM pupil matching in the embodiment of the present application. Figure 2 In the embodiment of the present application, an optical engine modeling device based on OPM pupil matching includes:

[0090] An acquisition module 201 is used to acquire an initial optical system parameter set of a target optical system, and perform parameterized modeling on the target optical system to obtain an initial optical system model;

[0091] The operation module 202 is used to perform ray tracing and optical path integration operations on the initial optical system model to obtain global optical path distribution data;

[0092] An analysis module 203 is used to perform OPM pupil matching metric analysis on the global light path distribution data to obtain a pupil matching feature map;

[0093] A construction module 204 is used to quantify the multi-dimensional performance index of the pupil matching feature map and construct an adaptive weight multi-objective optimization function;

[0094] A solution module 205 is used to perform parameter optimization on the initial optical system parameter set based on an adaptive weight multi-objective optimization function and a hybrid algorithm to obtain an optimal optical system parameter set;

[0095] The output module 206 is used to perform parameterized reconstruction and error simulation on the optimal optical system parameter set and output a target optical engine model.

[0096] Through the cooperation of the above components, the target optical system is analyzed, parameters are measured and mathematically modeled to obtain accurate geometric description functions and initial optical system models. Vectorized ray tracing and optical path integral operations are used, combined with phase delay calculation of wavefront distortion, to obtain more accurate global optical path distribution data. Sub-region division and optical path difference calculation are combined with spatial interpolation and Fourier transform to obtain detailed pupil matching feature maps. The pupil matching feature maps are analyzed from multiple angles, including spatial frequency, aberration, dispersion and distortion, to comprehensively evaluate system performance and provide multi-dimensional objective functions for optimization. Adopting an adaptive weight mechanism, the importance of each indicator is automatically adjusted according to different application scenarios. Combined with genetic algorithms and local search, a balance is achieved between global optimal solution search and local refinement. Through virtual assembly, tolerance analysis and dynamic compensation simulation, the performance fluctuations of the system in actual production and use are predicted, and the reliability and practicality of the model are improved. From initial parameter acquisition to final model output, a complete closed-loop optimization process is formed, which significantly improves the design efficiency and performance of the optical engine. By generating and analyzing error sample sets, possible problems that may occur in actual production can be predicted and compensated. Through dynamic compensation simulation and parameter sensitivity analysis, real-time adjustments can be made during system use to extend the service life and stability of the optical engine.

[0097] The present application also provides an optical engine modeling device based on OPM pupil matching, and the optical engine modeling device based on OPM pupil matching includes a memory and a processor, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the optical engine modeling method based on OPM pupil matching in the above-mentioned embodiments.

[0098] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the optical engine modeling method based on OPM pupil matching.

[0099] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0101] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An optical engine modeling method based on OPM pupil matching, characterized in that: The method comprises: Acquire an initial optical system parameter set of a target optical system, and perform parameterized modeling on the target optical system to obtain an initial optical system model; Performing ray tracing and optical path integration operations on the initial optical system model to obtain global optical path distribution data; Performing OPM pupil matching metric analysis on the global light path distribution data to obtain a pupil matching feature map; Quantifying the multi-dimensional performance index of the pupil matching feature map and constructing an adaptive weight multi-objective optimization function; Based on the adaptive weight multi-objective optimization function and the hybrid algorithm, the initial optical system parameter set is optimized and solved to obtain the optimal optical system parameter set; specifically, the method includes: encoding the initial optical system parameter set to obtain an initial population, and performing fitness evaluation on the initial population according to the adaptive weight multi-objective optimization function to obtain an initial fitness distribution; performing non-dominated sorting on the initial fitness distribution to obtain an initial Pareto frontier, and performing selection, crossover and mutation operations on the initial population according to the initial Pareto frontier to obtain a new generation population; performing local search on the new generation population to obtain a local optimal solution set, and adjusting the global search direction according to the local optimal solution set to obtain an optimized search strategy; iteratively executing the optimized search strategy to obtain multi-generation evolution results, and judging the convergence according to the multi-generation evolution results to obtain a target Pareto solution set; performing cluster analysis on the target Pareto solution set to obtain a representative solution vector, and de-decoding the optical system parameters according to the representative solution vector to obtain an optimal optical system parameter set; The optimal optical system parameter set is parameterized and reconstructed and error simulated to output a target optical engine model.

2. The optical engine modeling method based on OPM pupil matching according to claim 1, characterized in that: The step of acquiring an initial optical system parameter set of the target optical system and performing parameterized modeling on the target optical system to obtain an initial optical system model includes: Performing a structural analysis on the target optical system to obtain a list of optical element types and the number of optical elements, and performing parameter measurement on each optical element according to the list of optical element types and the number of optical elements to obtain an initial geometric parameter set; Performing mathematical modeling on the initial geometric parameter set to obtain a geometric description function of the target optical system, and performing characteristic analysis on the optical material according to the geometric description function to obtain a material refractive index and a dispersion coefficient; Numerically fitting the refractive index of the material and the dispersion coefficient to obtain a refractive index function, and performing optical path analysis on the target optical system according to the refractive index function and the geometric description function to obtain an initial optical path function; Performing a differential operation on the initial optical path function to obtain a wavefront function and a light direction vector field, and performing an aperture analysis on the target optical system based on the wavefront function and the light direction vector field to obtain an effective pupil function; The effective pupil function is Fourier transformed to obtain an initial point spread function of the target optical system, and parameterized modeling is performed on the target optical system according to the initial point spread function and the geometric description function to obtain an initial optical system model.

3. The optical engine modeling method based on OPM pupil matching according to claim 1, characterized in that: The performing of ray tracing and optical path integration operations on the initial optical system model to obtain global optical path distribution data includes: Performing incident pupil sampling on the initial optical system model to obtain an incident light set, and performing vectorization on each light ray according to the incident light set to obtain an initial light direction vector group; Performing Snell's law calculation on the initial light direction vector group to obtain the refraction direction vector of each interface, and performing geometric calculation on the propagation path of each light ray between the interfaces according to the refraction direction vector to obtain a light path point set; Accumulating the optical path of the light path point set to obtain the geometric optical path value of each light ray, and performing phase delay calculation on the wavefront distortion according to the geometric optical path value to obtain a corrected optical path value; Calculating the energy transmission efficiency of the corrected optical path value to obtain a light energy distribution function, and calculating the light intensity distribution of the image plane according to the light energy distribution function to obtain an image plane light intensity distribution diagram; The global light path information is integrated on the image plane light intensity distribution diagram to obtain global light path distribution data.

4. The optical engine modeling method based on OPM pupil matching according to claim 1, characterized in that: The performing OPM pupil matching metric analysis on the global light path distribution data to obtain a pupil matching feature map includes: Dividing the global light path distribution data into image planes to obtain a plurality of sub-region light sets, and calculating the optical path difference of each sub-region according to the sub-region light sets to obtain a sub-region optical path difference distribution; Performing statistical analysis on the sub-region optical path difference distribution to obtain the sub-region RMS wavefront error and PV wavefront error; Perform pupil matching evaluation on each sub-region according to the sub-region RMS wavefront error and the PV wavefront error to obtain a sub-region pupil matching index; Performing spatial interpolation on the sub-region pupil matching index to obtain a continuous pupil matching function, and performing energy density weighting on the image plane according to the continuous pupil matching function to obtain a weighted pupil matching distribution; Performing Fourier transformation on the weighted pupil matching degree distribution to obtain a pupil matching degree spectrum, and correcting the system transfer function according to the pupil matching degree spectrum to obtain a pupil matching correction transfer function; The pupil matching correction transfer function is subjected to inverse Fourier transformation to obtain a correction point spread function, and pupil matching features are comprehensively analyzed based on the correction point spread function and the weighted pupil matching degree distribution to obtain a pupil matching feature map.

5. The optical engine modeling method based on OPM pupil matching according to claim 1, characterized in that: The multi-dimensional performance index quantification of the pupil matching feature map and the construction of an adaptive weight multi-objective optimization function include: Performing spatial frequency analysis on the pupil matching feature spectrum to obtain a system modulation transfer function, and evaluating the system resolution according to the system modulation transfer function to obtain a spatial resolution index; Performing polynomial decomposition on the pupil matching characteristic spectrum to obtain a system aberration coefficient set, and calculating the system wave aberration according to the aberration coefficient set to obtain a wave aberration index; Performing dispersion analysis on the pupil matching characteristic spectrum to obtain a system chromatic aberration distribution function, and performing quantitative evaluation on the system chromatic aberration according to the chromatic aberration distribution function to obtain a chromatic aberration index; Performing distortion analysis on the pupil matching feature map to obtain a system distortion function, and quantifying the system geometric distortion according to the distortion function to obtain a distortion index; Normalizing the spatial resolution index, the wavefront aberration index, the chromatic aberration index, and the distortion index to obtain a standardized performance index set; According to the standardized performance indicator set and the pupil matching degree, an initial multi-objective optimization function is constructed, and the indicator weights of the initial multi-objective optimization function are adaptively adjusted to obtain an adaptive weight multi-objective optimization function.

6. The optical engine modeling method based on OPM pupil matching according to claim 1, characterized in that: The parameterized reconstruction and error simulation of the optimal optical system parameter set are performed to output a target optical engine model, including: Performing geometric modeling on the optimal optical system parameter set to obtain an optimized optical element model; Performing assembly simulation on the target optical system according to the optimized optical element model to obtain a virtual assembly model; Performing tolerance sensitivity analysis on the virtual assembly model to obtain key dimension tolerance distribution, and performing error simulation based on the key dimension tolerance distribution to obtain an error sample set; Performing ray tracing analysis on the error sample set to obtain a system performance fluctuation range, and optimizing the compensation strategy according to the system performance fluctuation range to obtain an adaptive compensation solution; Performing parameter sensitivity analysis on the adaptive compensation scheme to obtain a compensation parameter sensitivity matrix; Performing dynamic compensation simulation on the target optical system according to the compensation parameter sensitivity matrix to obtain a performance distribution after compensation; Reliability evaluation is performed according to the compensated performance distribution, the optical engine model is parameterized, and a target optical engine model is output.

7. An optical engine modeling device based on OPM pupil matching, characterized in that: The device is used to perform the optical engine modeling method based on OPM pupil matching as described in any one of claims 1 to 6, comprising: An acquisition module is used to acquire an initial optical system parameter set of a target optical system, and perform parameterized modeling on the target optical system to obtain an initial optical system model; A calculation module, used for performing ray tracing and optical path integration calculations on the initial optical system model to obtain global optical path distribution data; An analysis module, used for performing OPM pupil matching metric analysis on the global light path distribution data to obtain a pupil matching feature map; A construction module is used to quantify the multi-dimensional performance indicators of the pupil matching feature map and construct an adaptive weight multi-objective optimization function; A solution module, used for performing parameter optimization on the initial optical system parameter set based on the adaptive weight multi-objective optimization function and the hybrid algorithm to obtain an optimal optical system parameter set; The output module is used to perform parameterized reconstruction and error simulation on the optimal optical system parameter set and output a target optical engine model.

8. An optical engine modeling device based on OPM pupil matching, characterized in that: The optical engine modeling device based on OPM pupil matching includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the optical engine modeling device based on OPM pupil matching to execute the optical engine modeling method based on OPM pupil matching as described in any one of claims 1-6.

9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the optical engine modeling method based on OPM pupil matching as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Optical system initial structure generation method based on dual-threshold algorithm

    CN109164575A

  • Global optimization design method of photoelectric imaging system based on computational imaging

    CN110458901A