Simulation optimization method for optical lens design and related device

By decomposing the optical lens into sub-models and using coupling loss to quantify boundary matching quality, the problem of wasted computational resources and low efficiency caused by unified tracing across the entire system is solved, achieving efficient local simulation optimization.

CN123179682APending Publication Date: 2026-11-27江西华兆光学有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611352518.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing optical lens designs, the unified tracking across the entire system leads to a waste of computational resources and limited design iteration efficiency. It is impossible to adopt differentiated simulation strategies for different optical regions, and wavefront transfer function reconstruction loses its acceleration advantage.

Method used

The full optical model of the optical lens is decomposed into multiple sub-models along the optical path. Adjacent sub-models share a virtual reference surface and perform ray tracing independently. The boundary matching quality is quantified by coupling loss and re-simulation is triggered in local areas to avoid recalculation of the entire system.

Benefits of technology

It improves the efficiency of simulation optimization for optical lens design, reduces the waste of computing resources, achieves efficient simulation of local parameter adjustment, and avoids redundant calculations for the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179682A_ABST
    Figure CN123179682A_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of computer-aided optical design, and particularly relates to a simulation optimization method and related device for optical lens design. The method comprises the following steps: decomposing a full optical model of an optical lens into a plurality of sub-models arranged along an optical path direction, and adjacent sub-models sharing a virtual reference surface at a boundary; performing ray tracing on each sub-model with a simulation precision matching the optical characteristics of the sub-model to obtain an outgoing wavefront and an incoming wavefront of each sub-model at the corresponding virtual reference surface; calculating a coupling loss degree according to the outgoing wavefront of an upstream sub-model and the incoming wavefront of a downstream sub-model; comparing the coupling loss degree with an adaptive threshold to determine simulation convergence; and performing local re-simulation along the optical path direction when there is an out-of-standard sub-model. In the method, the full system is decomposed into sub-models for independent tracing, the boundary matching quality is quantified through a wavefront splicing deviation index, and re-simulation is triggered only in a local area where splicing is substandard, which is conducive to reducing redundant calculation during parameter adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer-aided optical design technology, and in particular relates to simulation optimization methods and related devices for optical lens design. Background Technology

[0002] In optical lens design, simulation optimization is a core step in determining design parameters such as lens curvature radius, thickness, glass material, and lens spacing. Designers use ray tracing software (such as Zemax OpticStudio, Synopsys CodeV, Lambda Research TracePro, etc.) to numerically simulate the imaging performance of the lens and repeatedly adjust the design parameters based on the simulation results until the image quality requirements are met.

[0003] Existing optical simulation optimization methods typically treat the entire lens system as an indivisible holistic model for ray tracing and optimization. In each design iteration, the optimization algorithm performs a complete ray tracing evaluation of all variable parameters of all lenses, calculates imaging quality indices (such as wavefront error, modulation transfer function (MTF), and RMS radius of the dot plot) under the current parameter configuration, and then determines the parameter adjustment amount and direction for the next iteration based on the optimization algorithm (such as damped least squares method or global optimization algorithm). Existing methods have the following drawbacks: unified ray tracing of the entire system cannot avoid redundant calculations; independent sub-beam algorithms rely on physical boundaries and use linear approximations with accuracy loss, making them unsuitable for refractive lens design; the wavefront transfer function must be completely reconstructed after parameter adjustment, losing its speedup advantage. Summary of the Invention

[0004] This application provides a simulation optimization method and related apparatus for optical lens design, which can solve the problem that the existing optical lens simulation optimization treats the entire system as an indivisible whole model, resulting in wasted computing resources and limited design iteration efficiency.

[0005] In a first aspect, embodiments of this application provide a simulation optimization method for optical lens design, applied to a computing device, wherein the optical lens is composed of multiple optical surfaces arranged along an optical path, and the method includes: The full optical model of the optical lens is decomposed into multiple sub-models arranged along the optical path along a preset dimension, and adjacent sub-models share a virtual reference surface at the boundary; wherein, the virtual reference surface is the optical reference surface on the common optical path between adjacent sub-models; Ray tracing is performed on each of the sub-models with simulation accuracy matching their optical properties to obtain the outgoing wavefront and incident wavefront of each sub-model at the corresponding virtual reference surface; For each pair of adjacent sub-models, the coupling loss is calculated based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane; wherein, the coupling loss is used to quantify the wavefront splicing deviation of adjacent sub-models at the boundary. The coupling loss of all adjacent sub-model pairs is compared with the adaptive threshold. If all thresholds are met, the simulation is considered to have converged. When there are out-of-specification sub-model pairs, local re-simulation is performed sequentially along the optical path for the first out-of-specification pair and its downstream sub-model pairs until the cascade termination condition is met; wherein, the simulation scope of the local re-simulation is limited to the sub-model pairs involved and is not extended to all sub-models.

[0006] The technical solutions described in this application embodiment have at least the following technical effects: The simulation optimization method for optical lens design provided in this application first decomposes the full optical model of the optical lens into multiple sub-models arranged along the optical path direction along a preset dimension. Adjacent sub-models share a virtual reference surface at the boundary. In this step, the entire system is divided into multiple sub-models, and each sub-model runs ray tracing independently. Rays no longer need to pass through the entire system, which is the basis for improving efficiency in all subsequent steps. Second, ray tracing is performed on each sub-model with simulation accuracy matching its optical characteristics to obtain the outgoing wavefront and incident wavefront of each sub-model at the corresponding virtual reference surface. In this step, ray tracing is performed on each sub-model individually to obtain the outgoing and incident wavefronts of the front and rear virtual reference surfaces of each sub-model. Then, for each pair of adjacent sub-models, the coupling loss is calculated based on the outgoing wavefront of the upstream sub-model at the virtual reference surface and the incident wavefront of the downstream sub-model at the virtual reference surface. In this step, the coupling loss is defined to quantify the difference between the outgoing wavefront of the upstream sub-model and the incident wavefront of the downstream sub-model, and can be used as a criterion for judging whether the assembly of each sub-model is qualified. Next, the coupling loss of all adjacent sub-model pairs is compared with an adaptive threshold. If all meet the threshold, the simulation is considered converged. In this step, the coupling loss is used to determine whether the stitching of all adjacent sub-model pairs is acceptable. If all stitching is acceptable, the simulation is considered converged. Finally, when there are sub-model pairs that exceed the threshold, local re-simulation is performed sequentially along the optical path for the first sub-model pair and its downstream sub-model pairs until the cascade termination condition is met. This step explains that when the stitching of adjacent sub-model pairs is unacceptable, local re-simulation is performed sequentially from the point of unacceptable stitching to its downstream sub-model pair until the cascade termination condition is met. This ensures that sub-model pairs before unacceptable stitching do not participate in the simulation, avoiding global recalculation and reducing computational load. In this method, the whole system simulation is decomposed into multiple sub-models that are independently traced. The boundary matching quality is quantified by wavefront stitching deviation (coupling loss). Re-simulation is triggered only in local areas where stitching is unacceptable, avoiding recalculation of the whole system when local parameters are adjusted. This solves the problem in existing technologies where optical lens simulation optimization treats the whole system as an indivisible whole model, leading to wasted computational resources and limited design iteration efficiency.

[0007] Secondly, embodiments of this application provide a simulation optimization device for optical lens design. The device is applied to a computing device, and the optical lens is composed of multiple optical surfaces arranged along an optical path. The device includes: The optical path simulation unit is used to decompose the full optical model of the optical lens into multiple sub-models arranged along the optical path direction along a preset dimension, and adjacent sub-models share a virtual reference surface at the boundary; wherein, the virtual reference surface is an optical reference surface on the common optical path between adjacent sub-models; A ray tracing unit is used to perform ray tracing on each of the sub-models with simulation accuracy matching their optical characteristics, and to obtain the outgoing wavefront and the incoming wavefront of each sub-model at the corresponding virtual reference surface. The calculation unit is used to calculate the coupling loss degree for each pair of adjacent sub-models based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane; wherein, the coupling loss degree is used to quantify the wavefront splicing deviation of adjacent sub-models at the boundary. The judgment unit is used to compare the coupling loss of all adjacent sub-model pairs with the adaptive threshold. If all the thresholds are met, the simulation is considered to have converged. An optimization unit is used to perform local re-simulation of the first outlier pair and its downstream sub-model pairs along the optical path direction when outlier sub-model pairs exist, until the cascade termination condition is met; wherein, the simulation scope of the local re-simulation is limited to the sub-model pairs involved and is not extended to all sub-models.

[0008] Thirdly, embodiments of this application provide a computing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method described in any of the first aspects above.

[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the first aspects above.

[0010] Fifthly, embodiments of this application provide a computer program product that, when run on a computing device, causes the computing device to execute the simulation optimization method for optical lens design described in any one of the first aspects.

[0011] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a flowchart illustrating a simulation optimization method for optical lens design provided in an embodiment of this application. Figure 2 This is a schematic diagram of the structure of the simulation optimization device for optical lens design provided in the embodiments of this application; Figure 3This is a schematic diagram of the structure of the computing device provided in the embodiments of this application. Detailed Implementation

[0014] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0015] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0016] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0017] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0018] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0019] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0020] In related technologies, simulation optimization is a core step in optical lens design to determine design parameters such as lens curvature radius, thickness, glass material, and lens spacing. Designers use ray tracing software (such as Zemax OpticStudio, Synopsys Code V, Lambda Research TracePro, etc.) to numerically simulate the imaging performance of the lens and repeatedly adjust the design parameters based on the simulation results until the image quality requirements are met.

[0021] Existing optical simulation optimization methods typically treat the entire lens system as an indivisible holistic model for ray tracing and optimization. In each design iteration, the optimization algorithm performs a complete ray tracing evaluation of all variable parameters of all lenses, calculates imaging quality indices (such as wavefront error, modulation transfer function MTF, and RMS radius of the dot plot) under the current parameter configuration, and then determines the parameter adjustment amount and direction for the next iteration based on the optimization algorithm (such as damped least squares method or global optimization algorithm). This existing method faces the following limitations: First, there is a high concentration and inefficient use of computational resources. Complex lens systems (such as zoom lenses, catadioptric systems, and freeform surface systems) may contain dozens of lenses. The computational cost of sequential or non-sequential ray tracing for the entire system is positively correlated with the product of the number of lenses and the number of rays being traced. When only a few lenses have a large adjustment range for their parameters, performing complete tracing with the same precision on all lenses results in a significant waste of computational resources.

[0022] Second, there is the serial bottleneck in full-system simulation. During the design iteration process, any fine adjustment to the radius of curvature or thickness of any lens requires triggering a complete re-tracing and re-evaluation of the entire system, causing the design cycle to be strictly constrained by the computational cost of the full-system model. This is especially true for multi-state systems (such as those requiring simultaneous optimization at multiple zoom positions and multiple operating wavelengths), where the computational load increases exponentially with each iteration.

[0023] Third, it is impossible to apply differentiated simulation strategies to different optical regions. In actual lens design, the contributions of different lens groups to image quality vary significantly. For example, the front fixed group mainly controls the focal length and entrance pupil position, the zoom and compensation groups dominate aberration correction, and the rear fixed group is responsible for image plane matching. Bundling these optically decoupled lens groups into a single model makes it impossible to apply differentiated tracking accuracy and optimization strategies for the local optical characteristics of each lens group.

[0024] In summary, the core challenge of existing technologies lies in the fact that none of them—whether it's unified ray tracing across the entire system, linear approximation of independent sub-beams, or wavefront transfer functions—can achieve "resimulation of only the localized areas where design parameters have been adjusted, without recalculating the entire ray tracing of the rest of the system" while maintaining simulation accuracy. Unified ray tracing across the entire system cannot avoid redundant calculations; independent sub-beam algorithms rely on physical boundaries and employ linear approximations that incur accuracy losses, making them unsuitable for refractive lens designs; and wavefront transfer functions must be completely reconstructed after parameter adjustments, losing their speedup advantage. Therefore, how to achieve structured decomposition of the entire optical model in the simulation optimization of optical lens design, so that local parameter adjustments only trigger local resimulation of the affected areas, and adaptively control global convergence through quantified boundary stitching indices, has become a pressing technical problem to be solved in this field.

[0025] To address the aforementioned issues, this application provides a simulation optimization method for optical lens design. In this method, the full optical model of the lens is first decomposed along a preset dimension into multiple sub-models arranged along the optical path direction. Adjacent sub-models share a virtual reference surface at their boundaries. This step divides the entire system into multiple sub-models, each of which undergoes independent ray tracing. Rays no longer need to pass through the entire system, which is fundamental to improving efficiency in all subsequent steps. Secondly, ray tracing is performed on each sub-model with simulation accuracy matching its optical characteristics to obtain the outgoing and incoming wavefronts of each sub-model at the corresponding virtual reference surface. This step involves separate ray tracing for each sub-model to obtain the outgoing and incoming wavefronts of the front and rear virtual reference surfaces of each sub-model. Then, for each pair of adjacent sub-models, the coupling loss is calculated based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incoming wavefront of the downstream sub-model at the virtual reference plane. This step defines the coupling loss, which quantifies the difference between the outgoing and incoming wavefronts of the upstream and downstream sub-models and serves as a criterion for determining whether the sub-model assembly is successful. Next, the coupling loss of all adjacent sub-model pairs is compared with an adaptive threshold. If all thresholds are met, the simulation is considered converged. This step uses the coupling loss to determine whether the assembly of all adjacent sub-model pairs is successful; successful assembly of all pairs indicates successful simulation convergence. Finally, when there are sub-model pairs exceeding the limit, local re-simulation is performed sequentially along the optical path for the first sub-model pair and its downstream sub-model pairs until the cascade termination condition is met. This step explains that when the assembly of adjacent sub-model pairs fails, local re-simulation is performed sequentially from the point of failure to the downstream sub-model pair until the cascade termination condition is met. This ensures that sub-model pairs before the failure do not participate in the simulation, avoiding global recalculation and reducing computational load. In this method, the whole system simulation is broken down into multiple sub-models and traced independently. The boundary matching quality is quantified by wavefront splicing deviation (coupling loss degree). Resimulation is triggered only in local areas where splicing is substandard, avoiding the need to recalculate the whole system when local parameters are adjusted. This method can solve the problem in the existing technology of optical lens simulation optimization that treats the whole system as an indivisible whole model, which leads to waste of computing resources and limited design iteration efficiency.

[0026] The simulation optimization method for optical lens design provided in this application embodiment can be applied to a computing device. In this case, the computing device is the execution subject of the simulation optimization method for optical lens design provided in this application embodiment. This application embodiment does not impose any restrictions on the specific type of computing device.

[0027] For example, computing devices can be tablets, laptops, ultra-mobile personal computers (UMPCs), netbooks, desktop computers, computers, laptops, etc.

[0028] To better understand the simulation optimization method for optical lens design provided in the embodiments of this application, the specific implementation process of the simulation optimization method for optical lens design provided in the embodiments of this application will be described by way of example below.

[0029] Figure 1 This illustration shows a schematic flowchart of a simulation optimization method for optical lens design provided in an embodiment of this application. The simulation optimization method for optical lens design includes: S100 decomposes the full optical model of the optical lens into multiple sub-models arranged along a preset dimension, with adjacent sub-models sharing a virtual reference surface at the boundary. The virtual reference surface is the optical reference surface on the common optical path between adjacent sub-models.

[0030] It can be understood that a full optical model refers to a complete simulation model that includes all optical surfaces of an optical lens (including the front and rear surfaces of the lens, the aperture stop, the image plane, etc.). In traditional methods, ray tracing of this model requires tracing from the first surface to the last. In this step, the full optical model is divided into multiple sub-models according to preset dimensions, with each sub-model containing only a portion of the optical surfaces. The preset dimensions can be one of the following: lens group division (divided according to the functions of the lens group such as the front fixed group, zoom group, compensation group, and rear fixed group of a zoom lens), field of view division (divided according to the central field of view and the edge field of view), or wavelength band division (divided according to different working bands such as visible light and near-infrared). The virtual reference surface is not a physical surface that actually exists in the optical system, but a mathematical reference surface constructed in the computer to connect two adjacent sub-models. The shape of this reference surface is adaptively determined according to the geometric characteristics of the common optical path of the adjacent sub-models, and can be a plane, a sphere, or an aspherical surface. The function of the virtual reference surface is to ensure that the two adjacent sub-models have the same reference coordinate system at this position, so that their respective wavefront information can be extracted and compared on this reference surface.

[0031] This setup breaks the constraint that all rays in the system must be traced to the end in one go. Rays tracing within a sub-model no longer cross the boundaries of the sub-model to enter adjacent sub-models. Each sub-model becomes an independent computational unit that can be executed in parallel on different computational nodes, or only the affected sub-models can be recalculated when local parameters are adjusted.

[0032] In one possible implementation, in S100, the full optical model is decomposed into multiple sub-models along a preset dimension, including: S110 calculates the sensitivity coupling degree between every two adjacent optical surfaces in the full optical model. The sensitivity coupling degree is determined based on the difference between the partial derivatives of the root mean square value of the wavefront error of the whole system with respect to the optical parameters of the two adjacent surfaces under each sampling field of view.

[0033] Sensitivity coupling degree can be understood as measuring the degree of cross-influence between two adjacent optical surfaces on the overall system imaging quality (measured by the root mean square value of wavefront error). Specifically, for the j-th and j+1-th optical surfaces, the partial derivatives of the root mean square value of the wavefront error of the entire system with respect to the optical parameters (curvature, thickness, eccentricity, or tilt, etc.) of these two surfaces are calculated. The partial derivatives are calculated separately for each sampling field of view (e.g., the central field of view, the 0.7 field of view, and the full field of view). The absolute value of the difference between the partial derivatives of the two surfaces in each field of view is calculated, and the maximum value among all sampling fields of view is taken as the cross-field sensitivity difference between the two surfaces. Then, the maximum sensitivity of the surface itself is used for normalization to obtain the coupling degree C(j). The closer C(j) is to zero, the more similar the ways in which the two surfaces affect the imaging quality. When the whole system is cut at this position, the wavefront changes generated by the two sub-models at the boundary tend to be consistent, and the additional adjustments required for subsequent stitching are less, which is conducive to the rapid achievement of the coupling loss. Conversely, the larger C(j) is, the more the two surfaces dominate different aberration types and the stronger the optical coupling. Cutting at this position will bring a greater burden to the subsequent boundary stitching.

[0034] This configuration allows the sensitivity coupling metric to automatically identify the adjacent surfaces with the weakest optical coupling as candidate boundaries. This ensures that the optical properties of the decomposed sub-models at the boundaries are as independent as possible, reducing human-induced stitching errors between sub-models caused by segmentation. This facilitates the rapid achievement of the coupling loss target in subsequent steps. Compared to manually selecting boundary locations based on experience, the automatic decomposition method based on sensitivity coupling is reproducible and data-driven, providing reliable decomposition suggestions for complex lens systems.

[0035] S120, select the adjacent optical surface with the lowest sensitivity coupling as the boundary of the sub-model.

[0036] It is understandable that after calculating the sensitivity coupling degree of all adjacent surfaces (M-1 adjacent surfaces if the entire system has M optical surfaces), the coupling degrees of each adjacent pair are arranged in ascending order. If the entire system needs to be decomposed into N sub-models, then the N-1 adjacent surfaces with the lowest coupling degree are selected as boundaries. The first boundary with the lowest coupling degree usually appears near the aperture stop, because the optical groups on both sides of the aperture stop are naturally decoupled in function. The optical group in front of the aperture stop mainly controls the entrance pupil and focal length, while the optical group behind the aperture stop dominates aberration correction and image plane matching.

[0037] This setting allows the automatic decomposition to ensure that the optical coupling at the selected boundary is naturally the weakest, which is beneficial for the sub-model to converge quickly without repeated simulations after independent simulation.

[0038] S200 performs ray tracing on each sub-model with simulation accuracy matching its optical characteristics to obtain the outgoing wavefront and incident wavefront of each sub-model at the corresponding virtual reference surface.

[0039] Simulation accuracy refers to the fineness of ray tracing, including the density of tracing rays (e.g., how many rays are traced per millimeter) and the tracing mode (sequential or non-sequential tracing). In sequential tracing, rays are traced according to the arrangement of optical surfaces, resulting in fast computation. Non-sequential tracing considers effects such as scattering, reflection, and ghosting, offering high accuracy but requiring significant computation. Different sub-models contribute differently to image quality: for example, mirror groups near the aperture stop are highly sensitive to aberrations (e.g., spherical aberration, coma) and should be traced with higher precision using non-sequential tracing; while the fixed front group, primarily responsible for power distribution, has lower aberration sensitivity and can be traced with medium precision using sequential tracing. Matching optical characteristics means assigning appropriate tracing accuracy to each mirror group in the sub-model based on their contribution weight to the final image quality, avoiding the use of the same accuracy across all sub-models. A wavefront is a physical quantity describing the phase distribution of a light wave at a specific location in space, typically represented by a wavefront diagram in optical simulations. The outgoing wavefront refers to the wavefront shape of light rays when they leave the last optical surface in the sub-model and reach the virtual reference surface; the incident wavefront refers to the wavefront shape of light rays at the virtual reference surface when they are about to enter the first optical surface in the next sub-model.

[0040] For example, taking a four-element zoom lens (front fixed group G1, zoom group G2, compensation group G3, rear fixed group G4) as an example, accuracy matching can be performed as follows: First, apply a small perturbation (e.g., one-thousandth) of the same magnitude to the radius of curvature of each lens in each lens group, and calculate the change in the root mean square value of the wavefront error of the entire system after the perturbation. The larger the change, the higher the sensitivity of the lens group to aberrations. Assuming that the calculation results show that G3 (compensation group) has the highest sensitivity, followed by G2 (zoom group), and G4 (rear fixed group) and G1 (front fixed group) have the lowest sensitivity, the accuracy of the four sub-models is divided into three levels: G3 corresponds to high accuracy—using non-sequential tracing mode, the tracing light density is not less than 200 rays per millimeter; G2 corresponds to medium accuracy—using sequential tracing mode, the tracing light density is not less than 100 rays per millimeter; G1 and G4 correspond to basic accuracy—using sequential tracing mode, the tracing light density is not less than 50 rays per millimeter. When performing ray tracing, the sampling grid for the tracing rays is determined based on the pupil diameter corresponding to each sub-model at the virtual reference plane. In this way, high-sensitivity sub-models achieve high precision to ensure simulation quality, while low-sensitivity sub-models use lower precision to save computational costs. The allocation of simulation resources for the entire system is proportional to the actual impact weight of each sub-model on the final image quality.

[0041] This configuration allows for differentiated allocation of simulation computing resources. High-precision calculations are used on sub-models with high aberration sensitivity to ensure simulation quality, while lower-precision calculations are used on sub-models with low aberration sensitivity to save computational overhead. This reduces unnecessary high-precision calculations while maintaining overall simulation accuracy.

[0042] S300, for each pair of adjacent sub-models, calculate the coupling loss degree based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane. The coupling loss degree is used to quantify the wavefront splicing deviation of adjacent sub-models at the boundary.

[0043] It is understandable that in an ideal continuous optical system, the upstream outgoing wavefront should be completely identical to the downstream incident wavefront, i.e., the wavefront is continuously and seamlessly transmitted. However, the sub-models are simulated independently, each using potentially different tracing parameters and assumptions. The wavefronts at both ends may deviate at the virtual reference plane. The coupling loss coefficient (CLM) is used to quantitatively describe the extent of this deviation. A larger CLM indicates a worse fit between the two sub-models at the boundary, resulting in a more severe impact on image quality when reconstructed as a whole system. The coupling loss coefficient comprises two components: the first component, CLM_Z, is the root mean square value of the Zernike coefficient difference vector between the upstream outgoing and downstream incident wavefronts, measuring the overall matching degree of the two wavefronts at various aberration levels; the second component, CLM_R, is the root mean square value of the residual between the actual wavefront difference and the Zernike polynomial reconstructed wavefront difference, used to assess high-frequency fitting deviations exceeding the Zernike expansion order. Both components must simultaneously not exceed an adaptive threshold for the simulation to be considered converged.

[0044] In one possible implementation, in S300, the coupling loss is calculated based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane, including: S310, perform Zernike polynomial expansions on the outgoing and incoming wavefronts respectively to obtain the first coefficient vector and the second coefficient vector.

[0045] Zernike polynomials are a sequence of mutually orthogonal polynomials on a unit circle, each order corresponding to a classical type of optical aberration. For example, the first term is piston, the second and third are tilt, the fourth is defocus, the fifth and sixth are astigmatism, and so on. In optical engineering, Zernike polynomials are the standard mathematical tool for describing wavefront morphology. Expanding the two-dimensional distribution data of the wavefront using Zernike polynomials on a unit circle yields a set of coefficients (i.e., a coefficient vector), where each coefficient represents the intensity of the corresponding order of aberration on that wavefront. In this step, the first coefficient vector refers to the set of coefficients obtained by expanding the outgoing wavefront of the upstream sub-model at the virtual reference plane using Zernike polynomials, reflecting the wavefront aberration composition when the light leaves the upstream sub-model; the second coefficient vector refers to the set of coefficients obtained by expanding the incoming wavefront of the downstream sub-model at the virtual reference plane, reflecting the wavefront aberration composition at the same reference plane when the light is about to enter the downstream sub-model. By comparing the differences between these two coefficient vectors, the degree of matching between the two sub-models at each order of aberration at the boundary can be quantified.

[0046] This configuration compresses two-dimensional wavefront plot data into a set of Zernike coefficients, significantly reducing the computational complexity when comparing differences between two wavefronts. Furthermore, each order of the Zernike coefficients has a clear physical meaning, which is beneficial for diagnosing the sources of splicing bias.

[0047] S320, calculate the root mean square value of the difference vector between the first coefficient vector and the second coefficient vector, and use it as the first coupling loss component. The root mean square (RMS) value can be understood as the result of first squaring the difference of each element, taking the arithmetic mean, and then taking the square root. The difference vector is obtained by subtracting the Zernike coefficient vector (first coefficient vector) of the outgoing wavefront of the upstream sub-model and the Zernike coefficient vector (second coefficient vector) of the incident wavefront of the downstream sub-model. Each element in the difference vector represents the mismatch of that order of aberration at the boundary. Calculating the RMS value of the difference vector summarizes the multidimensional bias information into a single scalar value, namely the first coupling loss component. Taking the first-order piston term as an example, since the absolute phase difference (piston) does not affect the final image sharpness, when considering imaging optical systems, the first-order Zernike coefficients can be excluded from the CLM calculation or assigned zero weight.

[0048] With this setting, the first coupling loss component reflects the degree of matching between the two wavefronts at the low-order aberration level, and can quickly determine whether the combination between sub-models is acceptable on a macroscopic level.

[0049] S330, calculate the root mean square value of the residual between the actual wavefront difference and the Zernike fitted wavefront difference, and use it as the second coupling loss component.

[0050] It can be understood that the actual wavefront difference refers to the two-dimensional wavefront difference distribution obtained by subtracting the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the same reference plane point by point. The Zernike polynomial expansion is an approximate description of this difference map at the low-order aberration level. The Zernike polynomial expansion order is finite, and the prerequisite for perfectly reconstructing the original wavefront is that there are no high-frequency components in the wavefront that exceed the expansion order. However, in actual simulation data, especially when the simulation accuracy is low, there may be high-frequency ripples or microstructures in the wavefront that the Zernike order cannot capture. The root mean square value of the residual measures the residual error between the actual wavefront difference and the wavefront difference that can be perfectly fitted by the finite-order Zernike polynomial. If the second coupling loss component CLM_R is very large, it indicates that the simulation accuracy is insufficient to capture the true wavefront characteristics. The value of the first coupling loss component CLM_Z may be unreliable, either artificially high (noise inflates the value) or artificially low (coarse sampling just missed the true deviation).

[0051] With this setup, the second coupling loss component CLM_R serves as a self-check signal for the accuracy of the CLM calculation. If CLM_Z meets the standard but CLM_R is too large, it indicates that the CLM results for this sub-model pair need to be verified with higher-precision tracing.

[0052] S340: Simulation convergence is determined only when both the first coupling loss component and the second coupling loss component do not exceed the adaptive threshold.

[0053] Understandably, a dual criterion is used here instead of a single threshold. Meeting the CLM_Z criterion indicates that the two sub-models are well-aligned at the macroscopic aberration level; meeting the CLM_R criterion indicates that the wavefront data is reliable at the current accuracy, and there are no misjudgments due to insufficient sampling. Both criteria must be met simultaneously for the simulation to be considered convergent.

[0054] This configuration avoids the risk of misconvergence caused by a single criterion.

[0055] S400 compares the coupling loss of all adjacent sub-model pairs with the adaptive threshold; if all thresholds are met, the simulation is considered to have converged.

[0056] It is understandable that if a system is decomposed into N sub-models, then there are N-1 pairs of adjacent sub-models. Convergence criteria require all N-1 pairs of CLMs to meet the criteria; if any pair fails to meet the criteria, it is considered non-converged. The role of the adaptive threshold is that different optical systems have different tolerances for wavefront stitching errors: high numerical aperture diffraction-limited systems (such as lithography objectives) are extremely sensitive to wavefront errors and require very strict thresholds; while large field-of-view photographic lenses have a higher tolerance for wavefront errors and can use relatively lenient thresholds.

[0057] In one possible implementation, in S400, the adaptive threshold is determined according to the following relationship: the adaptive threshold epsilon is equal to the greater of the limiting threshold multiplied by the maximum value function value, where the maximum value function is 1 and the NA reference value divided by the square of NA. Wherein, the limiting threshold is equal to a preset coefficient multiplied by the operating wavelength, NA is the numerical aperture, the NA reference value is a preset reference numerical aperture, and the adaptive threshold epsilon does not exceed 0.5 times the operating wavelength.

[0058] It can be understood that the limiting threshold represents the baseline tolerance for the diffraction limit level. The preset coefficient ranges from 0.07 to 0.10, corresponding to the Mareczal criterion in classical optics. This means that the diffraction limit is reached when the RMS wavefront error (the root mean square value of the deviation between the actual wavefront and the ideal spherical wave) is less than approximately the working wavelength / 14. The working wavelength refers to the wavelength of light used by the optical lens for normal imaging. The meaning of the maximum value function is to provide differentiated threshold amplification strategies for lenses with different numerical apertures: when the actual numerical aperture NA of the lens is greater than or equal to the reference numerical aperture NA, the quotient obtained by dividing the reference NA by NA is not greater than 1, and the square of this quotient is also not greater than 1. In this case, the maximum value function outputs 1, and the adaptive threshold directly takes the limiting threshold without any amplification. For example, for a lithography objective with a numerical aperture of 0.93, under the condition of a reference value of 0.5, the square of the quotient is approximately 0.29, the maximum value is 1, and the threshold is 0.07 times the working wavelength corresponding to the limiting threshold. When the actual numerical aperture (NA) of the lens is less than the NA reference value, the quotient is greater than 1. Its square is amplified by the square of the decrease in NA, and the maximum value function outputs this amplified value, with the threshold correspondingly relaxed. For example, for a mobile phone lens with a numerical aperture of 0.15, under the same reference value, the square of the quotient is approximately 11.1, the maximum value is 11.1, and the unconstrained threshold is approximately 0.78 times the working wavelength. To ensure the physical meaning of the stitching error, the adaptive threshold epsilon is also constrained by an upper limit of no more than 0.5 times the working wavelength. This is because when the deviation between two wavefronts exceeds half a wavelength, they can be considered optically independent wavefronts, and restoring them to a complete continuous wavefront is no longer physically feasible; further relaxing the threshold loses engineering value. In the example mobile phone lens, epsilon is truncated to 0.5 times the wavelength by the upper limit constraint.

[0059] With this setup, for lens systems requiring high numerical aperture and high image quality, the stitching threshold strictly converges to the diffraction-limited level; for lens systems with low numerical aperture and relatively loose wavefront tolerance, the threshold is adaptively amplified according to the square of the numerical aperture. The reference numerical aperture NA in the threshold formula can be uniformly set to 0.5, or it can be specified by the optical designer according to the image quality level of the target system, to flexibly adapt to the stitching accuracy requirements of different types of lenses.

[0060] S500: When there are out-of-specification sub-model pairs, local resimulation is performed sequentially along the optical path for the first out-of-specification pair and its downstream sub-model pairs until the cascade termination condition is met. The simulation scope of the local resimulation is limited to the sub-model pairs involved and does not extend to all sub-models.

[0061] It can be understood that the first out-of-range pair refers to the first sub-model pair whose CLM exceeds the adaptive threshold when scanning all sub-model pairs along the optical path (from the object side to the image side). Local resimulation only resimulates and recalculates the CLM for this sub-model pair and all sub-model pairs downstream of it along the optical path. Other sub-model pairs will not be resimulated if their CLM has already met the threshold and their location is not in the downstream propagation path. This local resimulation is effective because the sub-models are segmented based on the optical decoupling positions determined by sensitivity coupling analysis, and the internal optical relationships of non-out-of-range sub-model pairs do not change substantially due to adjustments in upstream parameters.

[0062] This setup replaces the cost of resimulating the entire system in traditional methods with resimulating only the problem area. The computational cost of resimulation is proportional to the number of problematic sub-model pairs, rather than proportional to the overall system size, which helps reduce the iteration time of simulation optimization.

[0063] In one possible implementation, in the S500, local re-simulation includes a first stage and a second stage: S510, Phase 1: After improving the boundary ray tracing accuracy of the first superscale sub-model pair to the preset highest level, the coupling loss is recalculated. If the target is met, the resimulation is terminated.

[0064] Understandably, the first stage is essentially a noise reduction and verification step. At normal simulation accuracy, wavefront data may contain high-frequency noise due to insufficient discretization sampling. This noise will additionally increase the calculated CLM value, leading to an artificially high CLM value and triggering unnecessary resimulations. Increasing the boundary tracing accuracy to the preset highest level, for example, increasing the light density from a lower level to the user-preset highest density, can reduce the contribution of discretization noise to the CLM.

[0065] This setup eliminates false alarms caused by insufficient sampling accuracy before parameter adjustments. If the CLM meets the standard after improving accuracy, it indicates that the original CLM's failure to meet the standard was merely a noise issue, and the design parameters of the sub-model itself do not need to be modified, thus avoiding unnecessary optical parameter adjustments and the additional design iterations that may be introduced as a result.

[0066] S520, the second stage: if the accuracy is still not met after improving it, the optical design parameters of the sub-models involved are adjusted and the simulation is re-executed.

[0067] Understandably, if the CLM still exceeds the limit after the first stage of denoising verification, it indicates the existence of a real boundary stitching error, meaning that the wavefronts of the two sub-models are objectively mismatched under the current optical parameter configuration. In this case, the design parameters of the sub-models (such as lens curvature radius, thickness, glass material refractive index, or dispersion coefficient) need to be adjusted to eliminate or reduce this stitching error. The adjusted sub-model needs to be re-simulated with ray tracing, and its CLM with adjacent sub-models needs to be recalculated.

[0068] Optionally, when adjusting the optical design parameters in the second stage, the product of the changes in coupling loss between adjacent sub-model pairs and their upstream sub-model pairs shall not be greater than zero, and the parameter adjustment of each sub-model shall be proportional to the corresponding global adjustment weight, which is the reciprocal of the distance from the optical surface closest to the aperture stop in the sub-model to the aperture stop.

[0069] It can be understood that the change in coupling loss refers to the difference in CLM before and after parameter adjustment. The constraint requires that the product of the CLM change of an adjacent sub-model pair and the CLM change of its upstream pair is not greater than zero, that is, the two changes cannot both be positive or both be negative. This means that the stitching quality of these two adjacent boundaries cannot deteriorate simultaneously. When correcting the stitching error of the k-th pair of sub-models, if the (k-1)-th pair (the upstream sub-model pair) is also affected and its CLM increases, the product is negative, which is a normal cost, and the constraint is passed; however, if both increase simultaneously, it indicates that there is a problem with the adjustment direction, and the parameters need to be reselected. The global adjustment weight w_k = 1 / d_k, where d_k is the distance from the optical surface closest to the aperture stop in the sub-model to the aperture stop. The physical meaning is: the closer the sub-model is to the aperture stop, the greater its global influence on the wavefront error of the system, and correspondingly, it should have a larger degree of freedom in parameter adjustment and a smaller adjustment amount to prevent overcorrection.

[0070] This setup, through a coordination constraint mechanism, prevents oscillations between sub-models caused by independent adjustments (i.e., modifying A leads to a deterioration in B, which in turn leads to a deterioration in A, resulting in a vicious cycle that fails to converge). The weighting factors, based on physical optics principles, provide a quantified rule for allocating degrees of freedom for the coordinated adjustment of multiple sub-models.

[0071] Optionally, in the S500, the cascading termination condition includes any of the following: The first requirement is to check along the optical path to the last sub-model pair and ensure that all coupling loss values ​​meet the standard.

[0072] Second: If the cascading depth exceeds the total number of sub-models, switch to unified simulation of the entire system.

[0073] The third condition is that the change in coupling loss of the same sub-model pair after two consecutive resimulations is less than the preset change threshold.

[0074] The first term is understandable: normal convergence termination occurs when all sub-model pairs meet the threshold after local resimulation, achieving the expected stitching quality. The second term is a safety net exit mechanism. When local resimulation continuously triggers further downstream resimulations, and the cascading depth (i.e., the number of resimulation propagations) exceeds the total number of sub-models, it means the current decomposition method may not be suitable for the lens system (excessive coupling between sub-models). In this case, the local resimulation strategy is abandoned, and a complete system-wide unified simulation is performed to obtain a deterministic convergence result. The third term is stabilization termination. When the change in CLM for a sub-model pair is extremely small after two resimulations, it indicates that local parameter adjustments can no longer further improve the stitching quality, and continued iteration is pointless. The decision is left to the designers to decide whether to accept the current stitching quality or adopt another adjustment scheme.

[0075] With this setup, the three-level termination condition provides predictable termination behavior for cascaded resimulation, ensuring from an engineering perspective that the method will not fall into an infinite loop due to excessive parameter coupling or poor sub-model decomposition.

[0076] Optionally, before calculating the coupling loss, the method further includes: S610, verify whether the pupil size of adjacent sub-models matches at the virtual reference plane. If the normalized pupil diameter deviation is not less than the preset pupil tolerance, mark the corresponding sub-model pair as unqualified and do not calculate the coupling loss degree.

[0077] It can be understood that the pupil size refers to the diameter of the beam cross-section (i.e., the aperture) at the virtual reference plane. Zernike polynomial expansion is performed on the normalized unit circle—for two wavefronts to be meaningfully compared within the Zernike framework, their corresponding actual pupil sizes must be identical. If the pupil diameter of the upstream sub-model at the virtual reference plane deviates too much from the entrance pupil diameter of the downstream sub-model, even if their wavefront shapes are exactly the same, the results of directly comparing the Zernike coefficients will be distorted due to the different normalization references used in the expansion. The normalized pupil diameter deviation is defined as the absolute value of the difference between the two diameters divided by the larger of the two values; the pupil tolerance can be between 0.5% and 2%.

[0078] This setting eliminates false deviations caused by pupil mismatch. When the pupil deviation exceeds the tolerance, it is directly marked as substandard, avoiding invalid numerical calculations when the physical premises are not met.

[0079] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0080] Corresponding to the simulation optimization method for optical lens design in the above embodiments, this application also provides a simulation optimization device for optical lens design, wherein each unit of the device can implement each step of the simulation optimization method for optical lens design. Figure 2 A structural block diagram of a simulation optimization device for optical lens design provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0081] Reference Figure 2 The device includes: The optical path simulation unit is used to decompose the full optical model of the optical lens into multiple sub-models arranged along a preset dimension, with adjacent sub-models sharing a virtual reference surface at the boundary. The virtual reference surface is the optical reference surface on the common optical path between adjacent sub-models. The ray tracing unit is used to perform ray tracing on each sub-model with simulation accuracy matching its optical characteristics, and obtain the outgoing wavefront and incident wavefront of each sub-model at the corresponding virtual reference surface. The computational unit is used to calculate the coupling loss for each pair of adjacent sub-models, based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane. The coupling loss is used to quantify the wavefront splicing deviation between adjacent sub-models at the boundary. The judgment unit is used to compare the coupling loss of all adjacent sub-model pairs with the adaptive threshold. If all the thresholds are met, the simulation is considered to have converged. The optimization unit is used to perform local resimulation along the optical path for the first outlier pair and its downstream sub-model pairs when outlier sub-model pairs exist, until the cascade termination condition is met. The simulation scope of the local resimulation is limited to the involved sub-model pairs and does not extend to all sub-models.

[0082] It should be noted that the information interaction and execution process between the above-mentioned units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.

[0083] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0084] This application also provides a computing device. Figure 3 This is a schematic diagram of the structure of a computing device provided in one embodiment of this application. Figure 3 As shown, the computing device 4 in this embodiment includes: at least one processor 40 ( Figure 3 Only one is shown in the image), at least one memory 41 ( Figure 3 (Only one is shown in the image) and a computer program 42 stored in the at least one memory 41 and executable on the at least one processor 40, wherein when the processor 40 executes the computer program 42, it causes the computing device 4 to implement the steps of any of the above-described simulation optimization method embodiments for optical lens design, or causes the computing device 4 to implement the functions of each unit in the above-described device embodiments.

[0085] For example, the computer program 42 may be divided into one or more units, which are stored in the memory 41 and executed by the processor 40 to complete this application. The one or more units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 42 in the computing device 4.

[0086] The computing device 4 may be a microcontroller, microprocessor, mobile phone, tablet computer, wearable device, in-vehicle device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), desktop computer, smart screen, smart TV, or handheld device with wireless communication capabilities. The computing device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that... Figure 3This is merely an example of computing device 4 and does not constitute a limitation on computing device 4. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.

[0087] The processor 40 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0088] In some embodiments, the memory 41 may be an internal storage unit of the computing device 4, such as a hard disk or memory of the computing device 4. In other embodiments, the memory 41 may be an external storage device of the computing device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computing device 4. Furthermore, the memory 41 may include both internal storage units and external storage devices of the computing device 4. The memory 41 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0089] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0090] This application provides a computer program product that, when run on a computing device, enables the computing device to implement the steps in any of the above-described method embodiments.

[0091] If the integrated unit is implemented as 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, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a computing device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0093] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0094] In the embodiments provided in this application, it should be understood that the disclosed simulation optimization method, simulation optimization device, and computing device for optical lens design can be implemented in other ways. For example, the embodiments of the simulation optimization method, simulation optimization device, and computing device for optical lens design described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0095] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0096] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A simulation optimization method for optical lens design, characterized in that, Applied to computing devices, the optical lens is composed of multiple optical surfaces arranged along the optical path, and the method includes: The full optical model of the optical lens is decomposed into multiple sub-models arranged along the optical path along a preset dimension, and adjacent sub-models share a virtual reference surface at the boundary; wherein, the virtual reference surface is the optical reference surface on the common optical path between adjacent sub-models; Ray tracing is performed on each of the sub-models with simulation accuracy matching their optical properties to obtain the outgoing wavefront and incident wavefront of each sub-model at the corresponding virtual reference surface; For each pair of adjacent sub-models, the coupling loss is calculated based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane; wherein, the coupling loss is used to quantify the wavefront splicing deviation of adjacent sub-models at the boundary. The coupling loss of all adjacent sub-model pairs is compared with the adaptive threshold. If all thresholds are met, the simulation is considered to have converged. When there are out-of-specification sub-model pairs, local re-simulation is performed sequentially along the optical path for the first out-of-specification pair and its downstream sub-model pairs until the cascade termination condition is met; wherein, the simulation scope of the local re-simulation is limited to the sub-model pairs involved and is not extended to all sub-models.

2. The simulation optimization method for optical lens design as described in claim 1, characterized in that, The calculation of coupling loss based on the outgoing wavefront of the upstream sub-model and the incident wavefront of the downstream sub-model at the virtual reference surface includes: The Zernike polynomial expansion is performed on the outgoing wavefront and the incident wavefront respectively to obtain the first coefficient vector and the second coefficient vector. Calculate the root mean square value of the difference vector between the first coefficient vector and the second coefficient vector, and use it as the first coupling loss component; Calculate the root mean square value of the residual between the actual wavefront error and the Zernike fitted wavefront error, and use it as the second coupling loss component. The simulation is considered to have converged only when both the first coupling loss component and the second coupling loss component do not exceed the adaptive threshold.

3. The simulation optimization method for optical lens design as described in claim 1, characterized in that, The process of decomposing the full optical model of the optical lens into multiple sub-models arranged along the optical path direction along a preset dimension includes: Calculate the sensitivity coupling degree between every two adjacent optical surfaces in the full optical model. The sensitivity coupling degree is determined based on the difference between the partial derivatives of the root mean square value of the wavefront error of the whole system with respect to the optical parameters of the two adjacent surfaces under each sampling field of view. The adjacent optical surface with the lowest sensitivity coupling is selected as the boundary of the sub-model.

4. The simulation optimization method for optical lens design as described in claim 1, characterized in that, The local re-simulation includes a first stage and a second stage: In the first stage, the boundary ray tracing accuracy of the first superscale sub-model pair is improved to the preset highest level, and the coupling loss is recalculated. If the target is met, the resimulation is terminated. In the second stage, if the accuracy still fails to meet the target after improving it, the optical design parameters of the sub-models involved are adjusted and the simulation is re-executed.

5. The simulation optimization method for optical lens design as described in claim 4, characterized in that, In the second stage, when adjusting the optical design parameters, the product of the changes in coupling loss between adjacent sub-model pairs and their upstream sub-model pairs is not greater than zero, and the parameter adjustment of each sub-model is proportional to the corresponding global adjustment weight. The global adjustment weight is the reciprocal of the distance from the optical surface closest to the aperture stop in the sub-model to the aperture stop.

6. The simulation optimization method for optical lens design as described in claim 1, characterized in that, The adaptive threshold is determined according to the following relationship: The adaptive threshold is equal to the limit threshold multiplied by the maximum value function, where the maximum value function is the larger of 1 and the NA reference value divided by the square of NA; wherein, the limit threshold is equal to a preset coefficient multiplied by the working wavelength, NA is the numerical aperture, the NA reference value is a preset reference numerical aperture, and the adaptive threshold does not exceed 0.5 times the working wavelength.

7. The simulation optimization method for optical lens design as described in claim 1, characterized in that, The cascade termination condition includes any of the following: The optical path is checked until the last sub-model pair, and all of the coupling loss values ​​have met the standard. If the cascading depth exceeds the total number of sub-models, switch to unified simulation of the entire system; The change in coupling loss of the same sub-model pair after two consecutive resimulations is less than the preset change threshold.

8. The simulation optimization method for optical lens design as described in claim 1, characterized in that, Before calculating the coupling loss, the method further includes: Verify whether the pupil size of adjacent sub-models matches at the virtual reference surface. If the normalized pupil diameter deviation is not less than the preset pupil tolerance, then mark the corresponding sub-model pair as substandard and do not calculate the coupling loss degree.

9. A simulation optimization device for optical lens design, characterized in that, The device is applied to a computing device, the optical lens is composed of a plurality of optical surfaces arranged along the optical path, and the device includes: The optical path simulation unit is used to decompose the full optical model of the optical lens into multiple sub-models arranged along the optical path direction along a preset dimension, and adjacent sub-models share a virtual reference surface at the boundary; wherein, the virtual reference surface is an optical reference surface on the common optical path between adjacent sub-models; A ray tracing unit is used to perform ray tracing on each of the sub-models with simulation accuracy matching their optical characteristics, and to obtain the outgoing wavefront and the incoming wavefront of each sub-model at the corresponding virtual reference surface. The calculation unit is used to calculate the coupling loss degree for each pair of adjacent sub-models based on the outgoing wavefront of the upstream sub-model at the virtual reference plane and the incident wavefront of the downstream sub-model at the virtual reference plane; wherein, the coupling loss degree is used to quantify the wavefront splicing deviation of adjacent sub-models at the boundary. The judgment unit is used to compare the coupling loss of all adjacent sub-model pairs with the adaptive threshold. If all the thresholds are met, the simulation is considered to have converged. An optimization unit is used to perform local re-simulation of the first outlier pair and its downstream sub-model pairs along the optical path direction when outlier sub-model pairs exist, until the cascade termination condition is met; wherein, the simulation scope of the local re-simulation is limited to the sub-model pairs involved and is not extended to all sub-models.

10. A computing device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 8.