Optical lens light path tracing simulation method, system, imaging objective lens and endoscope
Through interactive acquisition of geometric design parameters and performance expectation information of optical lenses, design analysis and model fitting are carried out, and combined with performance index call and simulation parameter adjustment, the problem of cumbersome and unobjective evaluation of optical lens performance in the existing technology is solved, and high-precision and highly reliable evaluation results are achieved, providing an effective reference for the production design of optical lenses.
Patent Information
- Application Number
- CN202411030732.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2044-07-30
AI Technical Summary
When performing performance evaluation of high-precision optical lenses, the process is complicated and the evaluation results are not objective, which affects the production design of high-precision optical lenses.
Through interactive acquisition of geometric design parameters and optical performance expectations of the optical lens to be produced, design feature analysis and lens model fitting are carried out to generate lens geometric model. Then, based on performance indicator calls and performance test correlation analysis, an integrated optical path tracking strategy is obtained, optical simulation parameter adjustment and quantitative simulation are performed, and the measured values of optical parameters and performance measurement information are obtained. Finally, the optical performance deviation function is pre-constructed, and the expectations and measured information are synchronized to obtain the optical path tracking simulation results.
It reduces the complexity of the performance evaluation of optical lenses, improves the evaluation accuracy, and provides a highly reliable reference for the production design of high-precision optical lenses.
Smart Images

Figure CN118915308B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and particularly to an optical lens light path tracing simulation method, system, imaging objective lens and endoscope. Background Art
[0002] The optical system of an endoscope objective lens is an optical component located at the end of the endoscope, and it is responsible for collecting and focusing the light reflected from the target observation area. The objective lens optical system generally consists of at least one optical lens to provide more precise light path control and image magnification functions.
[0003] When evaluating the performance of high-precision optical lenses in the prior art, it often relies on technicians to adjust the irradiation parameters and irradiation positions of the light beam on the lens, and then evaluate the optical performance of the lens based on the collected light beam irradiation data after adjustment. The entire process requires multiple adjustments of the light beam type and light beam parameters, and the evaluation based on manual operation is affected by subjective experience, resulting in the defect of non-objective evaluation results.
[0004] In summary, when evaluating the lens performance of high-precision optical lenses in the prior art, there are technical problems of cumbersome and complex processes and low auxiliary effects of the evaluation results on the production of high-precision optical lenses. Summary of the Invention
[0005] The present application provides an optical lens light path tracing simulation method, system, imaging objective lens and endoscope, which are used to solve the technical problems of cumbersome and complex processes in evaluating the lens performance of high-precision optical lenses in the prior art and low auxiliary effects of the evaluation results on the production of high-precision optical lenses.
[0006] In view of the above problems, the present application provides an optical lens light path tracing simulation method, system, imaging objective lens and endoscope.
[0007] In the first aspect of the present application, an optical lens optical path tracing simulation method is provided. The method includes: interactively obtaining geometric design parameters and optical performance expectation information of an optical lens to be produced; performing design feature analysis based on the geometric design parameters to obtain lens type information, and performing lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model; invoking performance indicators for the optical performance expectation information, and performing performance test correlation analysis based on the performance indicator invocation results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; performing optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and performing quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; performing optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; pre-constructing an optical performance deviation function, and synchronizing the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0008] In the second aspect of the present application, an optical lens optical path tracing simulation system is provided. The system includes: a lens information acquisition unit for interactively obtaining geometric design parameters and optical performance expectation information of an optical lens to be produced; a geometric model construction unit for performing design feature analysis based on the geometric design parameters to obtain lens type information, and performing lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model; a tracing strategy output unit for invoking performance indicators for the optical performance expectation information, and performing performance test correlation analysis based on the performance indicator invocation results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; a quantitative simulation execution unit for performing optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and performing quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; a measured performance calculation unit for performing optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; a simulation result output unit for pre-constructing an optical performance deviation function, and synchronizing the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0009] In a third aspect of the present application, an imaging objective lens is provided. The imaging objective lens includes an optical system and a computer-readable storage medium. The optical system is used for optical imaging. A computer program is stored on the computer-readable storage medium. The computer program is executed by a processor to perform the following steps to evaluate the performance deviation of the optical lens of the imaging objective lens:
[0010] Interactively obtain the geometric design parameters and optical performance expectation information of the optical lens to be produced; perform design feature analysis according to the geometric design parameters to obtain lens type information, and perform lens model fitting according to the lens type information and the geometric design parameters to generate a lens geometric model; perform performance index calls on the optical performance expectation information, and perform performance test correlation analysis based on the performance index call results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; perform optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; pre-construct an optical performance deviation function, and synchronize the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0011] In a fourth aspect of the present application, an endoscope is provided, including an imaging device. The imaging device includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0012] Interactively obtain the geometric design parameters and optical performance expectation information of the optical lens to be produced; perform design feature analysis based on the geometric design parameters to obtain lens type information, and perform lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model; perform performance index calls on the optical performance expectation information, and perform performance test correlation analysis based on the performance index call results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; perform optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; pre-construct an optical performance deviation function, and synchronize the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0013] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0014] The method provided in the embodiment of this application interactively obtains the geometric design parameters and optical performance expectation information of the optical lens to be produced; performs design feature analysis based on the geometric design parameters to obtain lens type information, and performs lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model; performs performance index calls on the optical performance expectation information, and performs performance test correlation analysis based on the performance index call results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; perform optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; pre-construct an optical performance deviation function, and synchronize the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result. It achieves the technical effects of reducing the complexity of lens performance evaluation of optical lenses, improving the accuracy of lens performance evaluation, and providing a highly reliable reference for the production design of high-precision optical lenses. Description of the Drawings
[0015] Figure 1 It is a schematic flow chart of the optical path tracing simulation method for the optical lens provided in this application;
[0016] Figure 2 Schematic flow chart of generating a lens geometric model in the optical lens optical path tracing simulation method provided by this application;
[0017] Figure 3 Schematic structural diagram of the optical lens optical path tracing simulation system provided by this application.
[0018] Explanation of reference numerals: lens information acquisition unit 1, geometric model construction unit 2, tracing strategy output unit 3, quantitative simulation execution unit 4, measured performance calculation unit 5, simulation result output unit 6. Specific embodiments
[0019] This application provides an optical lens optical path tracing simulation method, system, imaging objective lens and endoscope, which are used to solve the technical problems in the prior art that the process of evaluating the lens performance of high-precision optical lenses is cumbersome and complex, and the evaluation results have a low auxiliary effect on the production of high-precision optical lenses. It achieves the technical effects of reducing the complexity of evaluating the lens performance of optical lenses, improving the accuracy of lens performance evaluation, and providing a highly credible reference for the production design of high-precision optical lenses.
[0020] Next, the technical solutions in the present invention will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments of the present invention. It should be understood that the present invention is not limited by the example embodiments described herein. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention. Additionally, it should be noted that for the sake of description, only the parts related to the present invention are shown in the accompanying drawings rather than all of them.
[0021] Embodiment 1
[0022] As Figure 1 shown, this application provides an optical lens optical path tracing simulation method, including:
[0023] A100: Interactively obtain the geometric design parameters and optical performance expectation information of the optical lens to be produced;
[0024] Specifically, in this embodiment, the optical lens to be produced is a conceptual optical lens that has not been produced yet and only has geometric design concepts and performance estimates. Interactively obtain the geometric design parameters and optical performance expectation information of the optical lens to be produced. The geometric design parameters include the shape, size, radius of curvature, thickness, etc. of the lens, which directly affect the optical performance of the optical lens, such as imaging quality, light transmission and reflection. The optical performance expectation is the specific parameters of the optical performance indicators expected to be achieved by the optical lens, usually including multiple, such as resolution, aberration, and distortion.
[0025] A200: Perform a design feature analysis based on the geometric design parameters to obtain lens type information, and perform a lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model;
[0026] In one embodiment, as Figure 2 shown, perform a design feature analysis based on the geometric design parameters to obtain lens type information, and perform a lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model. The method step A200 provided in this application further includes:
[0027] A210: Pre - construct a lens optical design mapping, where the lens optical design mapping includes multiple sample lens types, multiple sample lens models, and multiple sample parameter index sets;
[0028] A220: Invoke parameter indices according to the geometric design parameters to obtain multiple geometric parameter indices, and traverse the lens optical design mapping through the multiple geometric parameter indices to obtain a suitable lens type, a suitable lens model, and a suitable parameter index set;
[0029] A230: Fit the geometric design parameters to the suitable lens model to perform parameter adjustment processing on the suitable lens model to obtain the lens geometric model.
[0030] Specifically, it should be understood that different types of lenses may have different compositions of geometric parameter indices. For example, convex lenses and concave lenses have differences in the composition of geometric parameter indices based on different shapes and optical characteristics.
[0031] Based on this, in this embodiment, multiple sample lens types with different lens types are invoked, and the standard lens models of the multiple sample lens types are invoked, obtaining a total of multiple sample lens models. Furthermore, the multiple sample parameter index sets representing the compositions of geometric parameter indices of the multiple sample lens types are invoked, and the multiple sample lens types, multiple sample lens models, and multiple sample parameter index sets are stored in an associated manner based on a knowledge graph to obtain the lens optical design mapping.
[0032] It should be understood that the multiple sample lens models in this embodiment can perform ray - optical simulations, simulate the reflection and refraction of light passing through the lens, and can adjust the parameters of the light beam passing through the lens.
[0033] In this embodiment, parameter indices are invoked according to the geometric design parameters to obtain multiple geometric parameter indices, and the multiple geometric parameter indices are used to traverse the multiple sample parameter index sets in the lens optical design mapping to match the sample parameter index sets with the same parameter index composition, obtaining a suitable lens type, a suitable lens model, and a suitable parameter index set.
[0034] Fitting the geometric design parameters to the adapted lens model to adjust the parameters of the adapted lens model including but not limited to the radius of curvature and thickness to obtain the lens geometric model, and the lens geometric model restores the geometric design parameters.
[0035] In this embodiment, by constructing a lens optical design mapping, after obtaining the geometric design parameters of the optical lens to be produced, without starting from scratch to model and only adjusting the parameters of the existing optical lens model, a lens geometric model can be constructed and generated for optical path tracing simulation to determine whether the performance of the optical lens to be produced meets the performance expectations.
[0036] A300: Invoke performance indicators for the optical performance expectation information, and perform performance test correlation analysis based on the performance indicator invocation results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer;
[0037] In one embodiment, invoke performance indicators for the optical performance expectation information, and perform performance test correlation analysis based on the performance indicator invocation results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers. The method step A300 provided in this application further includes:
[0038] A310: Interactively obtain a lens-related performance set, and construct a text recognizer based on the lens-related performance set;
[0039] A320: Use the text recognizer to traverse the optical performance expectation information to invoke performance indicators, and obtain the performance indicator invocation results, where the performance indicator invocation results include M performance expectation parameters of M performance indicators, where M is a positive integer greater than K;
[0040] A330: Constrained by the adapted lens type, collect multiple sample optical path tracing strategies for multiple sample performance indicators, where each sample optical path tracing strategy includes a sample beam type, a sample wavelength parameter, a sample intensity parameter, a sample angle parameter, and a sample relative position parameter;
[0041] A340: Based on a knowledge graph, perform associated storage of the multiple sample optical path tracing strategies for the multiple sample performance indicators to generate a strategy matcher, and perform M rounds of strategy matching by inputting the M performance indicators into the strategy matcher to obtain M matching optical path tracing strategies;
[0042] A350: The integrated optical path tracking strategy is obtained by performing performance test correlation analysis on the M matching optical path tracking strategies.
[0043] In one embodiment, the integrated optical path tracking strategy is obtained by performing performance test correlation analysis on the M matching optical path tracking strategies. Step A350 of the method provided in this application further includes:
[0044] A351: Aggregate the M matching optical path tracking strategies based on the beam type to obtain multiple matching strategy sets;
[0045] A352: Pre-construct an execution order optimization space, where the execution order optimization space is a three-dimensional space constructed with wavelength index, intensity index, and angle index as constraints;
[0046] A353: Synchronize the multiple matching strategy sets to the order optimization space respectively for spatial particle point positioning to obtain multiple matching particle point sets;
[0047] A354: Perform the shortest connection line fitting on the multiple matching particle point sets to obtain multiple local tracking simulation strategy sequences;
[0048] A355: Connect the multiple local tracking simulation strategy sequences based on the relative position parameters to obtain the K optical path tracking simulation strategies.
[0049] Specifically, it should be understood that by manually performing quantitative parameter adjustment on the optical path beam for optical path tracking of the lens geometric model, the performance status of the optical lens to be produced can be tested and known, but there is a defect that multiple parameter adjustments of the optical path beam are required.
[0050] Based on this, in this embodiment, the lens correlation performance set composed of the lens optical performance indicators covering all types of lenses is obtained interactively, and a text recognizer is constructed based on the lens correlation performance set. The text recognizer can perform keyword recognition on the input text to obtain the performance indicators related to the lens performance in the text and the parameter values corresponding to the indicators.
[0051] In this embodiment, the text recognizer is used to traverse the optical performance expectation information for performance indicator invocation to obtain the performance indicator invocation result, and the performance indicator invocation result includes M performance expectation parameters of M types of performance indicators.
[0052] The adapted lens type is the lens type of the optical lens to be produced. In this embodiment, all types of optical performance tests required for the optical lens entity of the adapted lens type are collected with the adapted lens type as a constraint to obtain the multiple sample performance indicators.
[0053] Furthermore, when interacting to obtain multiple sample optical path tracking strategies for controlling the light beam passing through the lens during various sample performance index tests, each sample optical path tracking strategy includes a sample light beam type, a sample wavelength parameter, a sample intensity parameter, a sample angle parameter, and a sample relative position parameter. The angle parameter is the incident angle of the light beam irradiating the lens, and the relative position parameter is the relative position between the light source emitting the light beam and the lens.
[0054] Generate a policy matcher for associatively storing multiple sample optical path tracking strategies of the multiple sample performance indexes based on a knowledge graph, and perform policy matching by inputting the M performance indexes into the policy matcher one by one. A total of M rounds of policy matching are performed to obtain the M matching optical path tracking strategies for performing performance tests of the M performance indexes.
[0055] It should be understood that in order to effectively track the optical path of the lens and effectively detect the performance of the lens based on the optical path tracking, different light beam types need to be adopted, including but not limited to point light sources and parallel light beams.
[0056] In this implementation, aggregate the M matching optical path tracking strategies based on the light beam type to obtain multiple matching strategy sets corresponding to multiple light beam types, and perform the light beam control strategies of the multiple matching strategy sets one by one for lens testing, which can reduce the complexity of light beam type adjustment.
[0057] Furthermore, this embodiment simplifies the complexity of light beam adjustment of the same light beam type. Specifically, this embodiment constructs the execution order optimization space based on wavelength indexes, intensity indexes, and angle indexes, and the execution order optimization space is a three-dimensional space.
[0058] Randomly call based on the multiple matching strategy sets to obtain a first matching strategy set, and synchronize several groups of sample wavelength parameter - sample intensity parameter - sample angle parameters in the first matching strategy set to the order optimization space for spatial particle point positioning to obtain a first matching particle point set.
[0059] Furthermore, select a first particle point from the first matching particle point set, and obtain a second particle point that is the closest to the first particle point based on distance measurement comparison. And so on, connect the particle points of the first matching particle point set to complete the fitting of the shortest connection line, obtain a first light beam parameter adjustment sequence, and fit the sample relative position parameters corresponding to several groups of sample wavelength parameter - sample intensity parameter - sample angle parameters in the first matching strategy set into the first light beam parameter adjustment sequence to generate a first local tracking simulation strategy sequence.
[0060] Adopting the first local tracking simulation strategy sequence for quantitative light beam parameter adjustment control corresponding to the first matching strategy set and the relative position control between the light source emitting the light beam and the lens can reduce the difficulty of light beam parameter adjustment.
[0061] Using the same method, in this embodiment, the multiple matching strategy sets are respectively synchronized to the sequential optimization space for spatial particle point positioning to obtain the multiple local tracking simulation strategy sequences, and then sample relative position parameters at the start and end of the sequences are called from the multiple local tracking simulation strategy sequences to obtain multiple groups of start relative position - end relative position.
[0062] Constrained by the shortest connection distance of the relative position parameters, referring to the multiple groups of start relative position - end relative position, the multiple local tracking simulation strategy sequences are connected to obtain the K optical path tracking simulation strategies. The K optical path tracking simulation strategies have strategy execution sequence identifiers, and here the strategy execution sequence identifier is the connection relationship of the multiple local tracking simulation strategy sequences.
[0063] In this embodiment, based on the beam parameters during different optical path tracking executions and the relative position relationship between the beam and the lens, position parameter adjustment and optical data parameter adjustment of different beam types are optimized, realizing beam parameter adjustment based on an automated and low - complexity optical path tracking simulation process, and indirectly realizing the improvement of the efficiency of optical lens optical path tracking simulation to determine the performance of optical lenses.
[0064] A400: Perform optical simulation parameter adjustment according to the K optical path tracking simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values;
[0065] Specifically, it should be understood that based on step A200, in this embodiment, the lens geometric model can perform ray - optical simulation, simulate the reflection and refraction of light passing through the lens, and can perform parameter adjustment of the light beam passing through the lens.
[0066] Based on this, in this embodiment, optical simulation parameter adjustment is performed according to the K optical path tracking simulation strategies, and quantitative simulation is performed on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values. Each measured optical parameter value corresponds to an optical data set obtained by performing optical path tracking on the lens geometric model under the execution of an optical path tracking simulation strategy.
[0067] For example, if an optical path tracking simulation strategy is to simulate the focal positions of light rays with different wavelengths passing through the lens, then the corresponding measured optical parameter values are multiple focal position parameters.
[0068] For example, if an optical path tracking simulation strategy is to simulate the position when a parallel light beam forms an image after passing through the lens, then the corresponding measured optical parameter values are multiple image position offsets.
[0069] A500: Perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information;
[0070] In one embodiment, the measured optical performance of the K measured optical parameters is solved according to the expected optical performance information to obtain the measured optical performance information. The method step A500 provided in this application further includes:
[0071] A510: Interactively obtain M associated optical indicators and M performance calculation strategies for the M performance indicators;
[0072] A520: Construct M data call layers based on the M associated optical indicators, and generate M performance calculation layers based on the M performance calculation strategies;
[0073] A530: Cascade the M data call layers and the M performance calculation layers based on the M performance indicators to obtain M optical performance calculation branches;
[0074] A540: Parallelly connect the M optical performance calculation branches to generate an optical performance analysis network;
[0075] A550: Synchronize the K measured optical parameters to the M optical performance calculation branches of the optical performance analysis network respectively to perform optical performance solving, and obtain M measured performance parameters, and the M measured performance parameters constitute the measured optical performance information.
[0076] Specifically, it should be understood that the evaluation of different performance indicators is based on different optical indicator data. For example, the optical indicator involved in the evaluation of the distortion lens performance is the position offset of the parallel beam, and the optical indicator involved in the evaluation of the focal length performance is the focusing position of the parallel beam, and the calculation methods of the optical indicator parameters used in different lens performance evaluations are different.
[0077] Based on this, in this embodiment, M associated optical indicators and M performance calculation strategies for the M performance indicators are interactively obtained. The associated optical indicators are the reference optical indicators for participating in the evaluation of specific lens performance, and the performance calculation strategy is the calculation method for converting the reference optical indicator into the lens optical performance.
[0078] Using the same method as in the previous step A320 to construct the text recognizer, construct M data call layers based on the M associated optical indicators, and generate M performance calculation layers based on the M performance calculation strategies.
[0079] Based on the M performance indicators, cascade the M data call layers and the M performance calculation layers to obtain M optical performance calculation branches, and parallelly connect the M optical performance calculation branches to generate an optical performance analysis network;
[0080] Synchronize the K measured values of the optical parameters to the M optical performance calculation branches of the optical performance analysis network respectively, call the optical data required for the corresponding performance analysis branches based on the M associated optical indicators in the M data call layers, perform calculation transformation on the called optical data in the M performance calculation layers, generate M measured performance parameters, and the M measured performance parameters constitute the measured optical performance information.
[0081] In this embodiment, by constructing a multi-channel optical performance analysis network, rapid extraction of scattered optical performance parameters and rapid calculation of lens performance parameters are realized.
[0082] A600: Pre-construct an optical performance deviation function, and synchronize the optical performance expected information and the optical performance measured information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0083] In one embodiment, before pre-constructing an optical performance deviation function and synchronizing the optical performance expected information and the optical performance measured information to the optical performance deviation function to obtain an optical path tracing simulation result, the method step A600 provided by this application further includes:
[0084] A611: Configure deviation weights for the M performance indicators to obtain a performance deviation weight distribution;
[0085] A612: Pre-construct a standard deviation threshold, and perform adaptive adjustment of the standard deviation threshold based on the performance deviation weight distribution to obtain M performance deviation thresholds;
[0086] A613: Perform performance deviation calculation on the M performance expected parameters and the M performance measured parameters to obtain M performance deviation indices;
[0087] A614: Traverse the M performance deviation indices with the M performance deviation thresholds. If all of the M performance deviation indices fall within the M performance deviation thresholds, synchronize the optical performance expected information and the optical performance measured information to the optical performance deviation function, and calculate to obtain the optical path tracing simulation result;
[0088] A615: Conversely, if any one of the M performance deviation indices does not fall within the M performance deviation thresholds, delete the geometric design parameters of the optical lens to be produced.
[0089] In one embodiment, after pre-constructing an optical performance deviation function and synchronizing the optical performance expected information and the optical performance measured information to the optical performance deviation function to obtain an optical path tracing simulation result, the method step A600 provided by this application further includes:
[0090] A621: The optical performance deviation function is as follows:
[0091]
[0092] Where S is the optical performance deviation degree, x i is the i-th performance expectation parameter in the optical performance expectation information, and the weight corresponding to the i-th performance expectation parameter is w xi , X = (x1, x2,..., x M ), W X = (w x1 , w x2 ,..., w xM ), y i is the i-th performance measured parameter in the optical performance measured information, and the weight corresponding to the i-th performance measured parameter is w yi , Y = (y1, y2,..., y M ), W Y = (w y1 , w y2 ,..., w yM );
[0093] A622: Synchronize the performance deviation weight assignment, the optical performance expectation information, and the optical performance measured information to the optical performance deviation function, and use the calculated optical performance deviation degree as the optical path tracing simulation result of the optical lens to be produced.
[0094] Specifically, in this embodiment, perform deviation weight configuration on the M performance indicators to obtain a performance deviation weight assignment;
[0095] Pre-construct a standard deviation threshold (for example, the deviation between the performance expectation parameter and the performance measured parameter is less than or equal to 13%), and perform adaptive adjustment of the standard deviation threshold based on the performance deviation weight assignment to obtain M performance deviation thresholds.
[0096] Perform performance deviation calculation on the M performance expectation parameters and the M performance measured parameters to obtain M performance deviation indices (deviation percentages), and traverse the M performance deviation indices with the M performance deviation thresholds. If all the M performance deviation indices fall within the M performance deviation thresholds, synchronize the optical performance expectation information and the optical performance measured information to the optical performance deviation function, and calculate the optical path tracing simulation result.
[0097] Conversely, if any one of the M performance deviation indices does not fall within the M performance deviation thresholds, delete the geometric design parameters of the optical lens to be produced.
[0098] The optical performance deviation function is as follows:
[0099]
[0100] Among them, S is the optical performance deviation degree, and x i is the i-th performance expectation parameter in the optical performance expectation information, and the weight corresponding to the i-th performance expectation parameter is w xi , X = (x1, x2,..., x M ), W X = (w x1 , w x2 ,..., w xM ), y i is the i-th performance measured parameter in the optical performance measured information, and the weight corresponding to the i-th performance measured parameter is w yi , Y = (y1, y2,..., y M ), W Y = (w y1 , w y2 ,..., w yM );
[0101] Synchronize the performance deviation weight assignment, the optical performance expectation information, and the optical performance measured information to the optical performance deviation function, and use the calculated optical performance deviation degree as the optical path tracing simulation result of the to-be-produced optical lens. The optical path tracing simulation result is a quantitative evaluation of the deviation between the physical optical performance of the to-be-produced optical lens based on geometric design parameters and the optical performance expectation information, and is used to provide a reference for the manufacturer to judge whether to put the to-be-produced optical lens into production.
[0102] This embodiment achieves the technical effects of reducing the complexity of lens performance evaluation of optical lenses, improving the accuracy of lens performance evaluation, and providing a highly reliable reference for the production design of high-precision optical lenses.
[0103] Embodiment 2
[0104] Based on the same inventive concept as the optical lens optical path tracing simulation method in the foregoing embodiment, as Figure 3 shown, the present application provides an optical lens optical path tracing simulation system, where the system includes:
[0105] A lens information acquisition unit 1, configured to interactively obtain the geometric design parameters and optical performance expectation information of the to-be-produced optical lens;
[0106] A geometric model construction unit 2, configured to perform design feature analysis according to the geometric design parameters to obtain lens type information, and perform lens model fitting according to the lens type information and the geometric design parameters to generate a lens geometric model;
[0107] A tracking strategy output unit 3, configured to call performance indicators for the optical performance expectation information, and perform performance test correlation analysis based on the performance indicator call results to obtain an integrated optical path tracking strategy, where the integrated optical path tracking strategy includes K optical path tracking simulation strategies, and the K optical path tracking simulation strategies have strategy execution sequence identifiers, where K is a positive integer;
[0108] A quantitative simulation execution unit 4, configured to perform optical simulation parameter adjustment according to the K optical path tracking simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values;
[0109] A measured performance calculation unit 5, configured to perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information;
[0110] A simulation result output unit 6, configured to pre-construct an optical performance deviation function, and synchronize the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracking simulation result.
[0111] In one embodiment, the geometric model construction unit 2 further includes:
[0112] Pre-construct a lens optical design mapping, where the lens optical design mapping includes multiple sample lens types, multiple sample lens models, and multiple sample parameter index sets;
[0113] Call parameter indicators according to the geometric design parameters to obtain multiple geometric parameter indicators, and traverse the lens optical design mapping through the multiple geometric parameter indicators to obtain a suitable lens type, a suitable lens model, and a suitable parameter index set;
[0114] Fit the geometric design parameters to the suitable lens model to perform parameter adjustment processing on the suitable lens model to obtain the lens geometric model.
[0115] In one embodiment, the tracking strategy output unit 3 further includes:
[0116] Interactively obtain a lens correlation performance set, and construct a text recognizer based on the lens correlation performance set;
[0117] Use the text recognizer to traverse the optical performance expectation information to call performance indicators to obtain the performance indicator call results, where the performance indicator call results include M performance expectation parameters of M types of performance indicators, where M is a positive integer greater than K;
[0118] Constrained by the type of the adaptive lens, multiple sample optical path tracking strategies for various sample performance indicators are acquired, where each sample optical path tracking strategy includes a sample beam type, a sample wavelength parameter, a sample intensity parameter, a sample angle parameter, and a sample relative position parameter;
[0119] Based on a knowledge graph, an association storage generation strategy matcher for the multiple sample optical path tracking strategies of the various sample performance indicators is generated, and by inputting the M performance indicators into the strategy matcher, M rounds of strategy matching are performed to obtain M matching optical path tracking strategies;
[0120] Through performance test correlation analysis of the M matching optical path tracking strategies, the integrated optical path tracking strategy is obtained.
[0121] In one embodiment, the tracking strategy output unit 3 further includes:
[0122] Aggregate the M matching optical path tracking strategies based on the beam type to obtain multiple matching strategy sets;
[0123] Pre-construct an execution order optimization space, where the execution order optimization space is a three-dimensional space constructed with wavelength indicators, intensity indicators, and angle indicators as constraints;
[0124] Synchronize the multiple matching strategy sets to the order optimization space respectively for spatial particle point positioning to obtain multiple matching particle point sets;
[0125] Perform shortest connection line fitting on the multiple matching particle point sets to obtain multiple local tracking simulation strategy sequences;
[0126] Connect the multiple local tracking simulation strategy sequences based on the relative position parameter to obtain the K optical path tracking simulation strategies.
[0127] In one embodiment, the measured performance calculation unit further includes:
[0128] Interactively obtain M associated optical indicators and M performance calculation strategies for the M performance indicators;
[0129] Based on the M associated optical indicators, construct M data call layers, and based on the M performance calculation strategies, generate M performance calculation layers;
[0130] Based on the M performance indicators, cascade the M data call layers and the M performance calculation layers to obtain M optical performance calculation branches;
[0131] Parallelize the M optical performance calculation branches to generate an optical performance analysis network;
[0132] Synchronize the K measured optical parameter values to the M optical performance calculation branches of the optical performance analysis network to perform optical performance solving, obtaining M measured performance parameters, and the M measured performance parameters constitute the measured optical performance information.
[0133] In one embodiment, the simulation result output unit 6 further includes:
[0134] Configure deviation weights for the M performance indicators to obtain performance deviation weight allocation;
[0135] Pre-construct a standard deviation threshold, and perform adaptive adjustment of the standard deviation threshold based on the performance deviation weight allocation to obtain M performance deviation thresholds;
[0136] Perform performance deviation calculation on the M performance expected parameters and the M measured performance parameters to obtain M performance deviation indices;
[0137] Traverse the M performance deviation indices using the M performance deviation thresholds. If all of the M performance deviation indices fall within the M performance deviation thresholds, synchronize the optical performance expected information and the measured optical performance information to the optical performance deviation function to calculate and obtain the optical path tracing simulation result;
[0138] Conversely, if any one of the M performance deviation indices does not fall within the M performance deviation thresholds, delete the geometric design parameters of the optical lens to be produced.
[0139] In one embodiment, the simulation result output unit 6 further includes:
[0140] The optical performance deviation function is as follows:
[0141]
[0142] Where S is the optical performance deviation degree, x i is the i-th performance expected parameter in the optical performance expected information, and the weight corresponding to the i-th performance expected parameter is w xi , X = (x1, x2,..., x M ), W X = (w x1 , w x2 ,..., w xM ), y i is the i-th measured performance parameter in the measured optical performance information, and the weight corresponding to the i-th measured performance parameter is w ii , Y = (y1, y2,..., y M ), W Y = (w y1 , wy2 ,..., w yM );
[0143] Synchronize the performance deviation weight assignment, the optical performance expectation information, and the measured optical performance information to the optical performance deviation function, and use the calculated optical performance deviation degree as the optical path tracing simulation result of the optical lens to be produced.
[0144] Embodiment III
[0145] An imaging objective lens, the imaging objective lens includes an optical system and a computer-readable storage medium. The optical system is used for optical imaging. A computer program is stored on the computer-readable storage medium. The computer program is executed by a processor to perform the following steps to evaluate the performance deviation of the optical lens of the imaging objective lens: interactively obtain the geometric design parameters and optical performance expectation information of the optical lens to be produced; perform design feature analysis based on the geometric design parameters to obtain lens type information, and perform lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model; perform performance index calls on the optical performance expectation information, and perform performance test correlation analysis based on the performance index call results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; perform optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; pre-construct an optical performance deviation function, and synchronize the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0146] Embodiment IV
[0147] An endoscope includes an imaging device, which is an imaging device with a built-in chip and program. The imaging device specifically includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented: interactively obtain the geometric design parameters and optical performance expectation information of the optical lens to be produced; perform design feature analysis based on the geometric design parameters to obtain lens type information, and perform lens model fitting based on the lens type information and the geometric design parameters to generate a lens geometric model; perform performance index calls on the optical performance expectation information, and perform performance test correlation analysis based on the performance index call results to obtain an integrated optical path tracing strategy, where the integrated optical path tracing strategy includes K optical path tracing simulation strategies, and the K optical path tracing simulation strategies have strategy execution sequence identifiers, where K is a positive integer; perform optical simulation parameter adjustment according to the K optical path tracing simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment results to obtain K measured optical parameter values; perform optical performance solution on the K measured optical parameter values according to the optical performance expectation information to obtain measured optical performance information; pre-construct an optical performance deviation function, and synchronize the optical performance expectation information and the measured optical performance information to the optical performance deviation function to obtain an optical path tracing simulation result.
[0148] Any of the methods or steps described above can be stored as computer instructions or programs in various types of computer memories, and the computer instructions or programs can be recognized by various types of computer processors, thereby implementing any of the above methods or steps.
[0149] Based on the above specific embodiments of the present invention, those skilled in the art of the present technology, without departing from the principle of the present invention, any improvements and modifications made to the present invention shall fall within the scope of patent protection of the present invention.
Claims
1. An optical lens light path tracing simulation method, characterized in that: The method comprises: Interactively obtain geometric design parameters and expected optical performance information of the optical lens to be produced; Performing design feature analysis according to the geometric design parameters to obtain lens type information, and performing lens model fitting according to the lens type information and the geometric design parameters to generate a lens geometric model; Performing a performance index call on the expected optical performance information, and performing a performance test correlation analysis based on the performance index call result to obtain an integrated light path tracing strategy, wherein the integrated light path tracing strategy includes K light path tracing simulation strategies, and the K light path tracing simulation strategies have a strategy execution order identifier, wherein K is a positive integer; Perform optical simulation parameter adjustment according to the K light path tracing simulation strategies, and quantitatively simulate the lens geometric model based on the parameter adjustment results to obtain K measured values of optical parameters; Performing optical performance solution on the K optical parameter measured values according to the expected optical performance information to obtain optical performance measured information; Pre-constructing an optical performance deviation function, and synchronizing the expected optical performance information and the measured optical performance information to the optical performance deviation function to obtain a light path tracing simulation result; A performance indicator is called for the expected optical performance information, and a performance test correlation analysis is performed based on the performance indicator call result to obtain an integrated light path tracing strategy, wherein the integrated light path tracing strategy includes K light path tracing simulation strategies, the K light path tracing simulation strategies have a strategy execution order identifier, and further include: interactively obtaining a lens-related performance set, and constructing a text recognizer based on the lens-related performance set; Using the text recognizer to traverse the optical performance expectation information to perform performance indicator calling, and obtain the performance indicator calling result, wherein the performance indicator calling result includes M performance expectation parameters of M performance indicators, wherein M is a positive integer greater than K; Taking the adapted lens type as a constraint, multiple sample light path tracing strategies for obtaining multiple sample performance indicators are collected, wherein each sample light path tracing strategy includes a sample beam type, a sample wavelength parameter, a sample intensity parameter, a sample angle parameter, and a sample relative position parameter; Based on the knowledge graph, a strategy matcher is generated by associating and storing a plurality of sample light path tracing strategies of the plurality of sample performance indicators, and M rounds of strategy matching are performed by inputting the M performance indicators into the strategy matcher to obtain M matching light path tracing strategies; The integrated light path tracing strategy is obtained by performing performance test correlation analysis on the M matching light path tracing strategies.
2. The method according to claim 1, characterized in that Performing design feature analysis according to the geometric design parameters to obtain lens type information, and performing lens model fitting according to the lens type information and the geometric design parameters to generate a lens geometric model, the method further comprising: Pre-constructing a lens optical design mapping, wherein the lens optical design mapping includes a plurality of sample lens types, a plurality of sample lens models, and a plurality of sample parameter indicator sets; Calling parameter indicators according to the geometric design parameters to obtain a plurality of geometric parameter indicators, and traversing the lens optical design mapping through the plurality of geometric parameter indicators to obtain an adapted lens type, an adapted lens model and an adapted parameter indicator set; The geometric design parameters are fitted to the adapted lens model to perform parameter adjustment processing on the adapted lens model to obtain the lens geometric model.
3. The method according to claim 1, characterized in that The integrated light path tracing strategy is obtained by performing performance test correlation analysis on the M matching light path tracing strategies, and the method further includes: Aggregating the M matching light path tracing strategies based on the beam type to obtain multiple matching strategy sets; Pre-constructing an execution order optimization space, wherein the execution order optimization space is a three-dimensional space constructed with wavelength index, intensity index, and angle index as constraints; Synchronizing the multiple matching strategy sets to the sequential optimization space to perform spatial particle point positioning to obtain multiple matching particle point sets; Performing shortest connection line fitting on the multiple matching particle point sets to obtain multiple local tracking simulation strategy sequences; The multiple local tracking simulation strategy sequences are connected based on the relative position parameters to obtain the K optical path tracking simulation strategies.
4. The method according to claim 1, characterized in that Performing optical performance solution on the K optical parameter measured values according to the expected optical performance information to obtain optical performance measured information, the method further comprising: Interactively obtaining M associated optical indicators and M performance calculation strategies of the M performance indicators; Constructing M data call layers based on the M associated optical indicators, and generating M performance calculation layers based on the M performance calculation strategies; Based on the M performance indicators, the M data call layers and the M performance calculation layers are cascaded to obtain M optical performance calculation branches; Connecting the M optical performance calculation branches in parallel to generate an optical performance analysis network; The K optical parameter measured values are respectively synchronized to the M optical performance calculation branches of the optical performance analysis network to perform optical performance solution, and M performance measured parameters are obtained. The M performance measured parameters constitute the optical performance measured information.
5. The method according to claim 4, characterized in that Pre-constructing an optical performance deviation function, and synchronizing the expected optical performance information and the measured optical performance information to the optical performance deviation function, to obtain a light path tracing simulation result, the method also includes: Performing deviation weight configuration on the M performance indicators to obtain performance deviation weight distribution; Pre-constructing a standard deviation threshold, and performing adaptive adjustment of the standard deviation threshold based on the performance deviation weight distribution to obtain M performance deviation thresholds; Performing performance deviation calculation on the M expected performance parameters and the M measured performance parameters to obtain M performance deviation indexes; The M performance deviation indexes are traversed using the M performance deviation thresholds, and if all of the M performance deviation indexes fall within the M performance deviation thresholds, the expected optical performance information and the measured optical performance information are synchronized to the optical performance deviation function, and the light path tracing simulation result is obtained by calculation; On the contrary, if any one of the M performance deviation indices does not fall within the M performance deviation thresholds, the geometric design parameters of the optical lens to be produced are deleted.
6. The method according to claim 5, characterized in that Pre-constructing an optical performance deviation function, and synchronizing the expected optical performance information and the measured optical performance information to the optical performance deviation function to obtain a light path tracing simulation result, the method further includes: The optical performance deviation function is as follows: ; in, is the optical performance deviation, The optical performance expectation information is performance expectation parameter, the The corresponding weights of the performance expectation parameters are , , , The optical performance measured information is The performance measured parameters, The corresponding weights of the measured performance parameters are , , ; The performance deviation weight distribution, the expected optical performance information and the measured optical performance information are synchronized to the optical performance deviation function, and the calculated optical performance deviation degree is used as the light path tracing simulation result of the optical lens to be produced.
7. An optical lens light path tracking simulation system, characterized in that: The steps for implementing the method according to any one of claims 1 to 6 include: A lens information acquisition unit, used to interactively obtain geometric design parameters and expected optical performance information of the optical lens to be produced; A geometric model building unit, used to perform design feature analysis according to the geometric design parameters to obtain lens type information, and perform lens model fitting according to the lens type information and the geometric design parameters to generate a lens geometric model; A tracking strategy output unit, used to perform a performance index call on the optical performance expectation information, and perform a performance test correlation analysis based on the performance index call result to obtain an integrated light path tracking strategy, wherein the integrated light path tracking strategy includes K light path tracking simulation strategies, and the K light path tracking simulation strategies have a strategy execution order identifier, wherein K is a positive integer; A quantitative simulation execution unit, configured to perform optical simulation parameter adjustment according to the K light path tracing simulation strategies, and perform quantitative simulation on the lens geometric model based on the parameter adjustment result to obtain K optical parameter measured values; A measured performance calculation unit, configured to perform optical performance solution on the K optical parameter measured values according to the optical performance expected information to obtain optical performance measured information; The simulation result output unit is used to pre-construct an optical performance deviation function, and synchronize the expected optical performance information and the measured optical performance information to the optical performance deviation function to obtain a light path tracing simulation result.
8. An imaging objective lens, comprising an optical system and a computer-readable storage medium, wherein the optical system is used for optical imaging, and the computer-readable storage medium stores a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented to evaluate the optical lens performance deviation of the optical system of the imaging objective.
9. An endoscope, comprising an imaging device, the imaging device comprising a memory and a processor, the memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Compensator for imperfect imaging off-axis three-reflection light path and design method
CN117270182A
Optical lens optical path optimization method and system based on path simulation
CN118112789A