A lens interference detection method, system and related equipment based on optical simulation software

Through the method based on optical simulation software, a lens structure model is established and the target light source is set to detect changes in the surface light parameters of the lens, which solves the problem of low detection accuracy in the prior art, and realizes quantitative detection and accurate judgment of the degree of lens interference.

CN111985116BActive Publication Date: 2024-11-19HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010896331.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-31
Publication Date
2024-11-19
Estimated Expiration
2040-08-31

AI Technical Summary

Technical Problem

When detecting interference between the external structure of the camera lens on the field angle, the prior art only relies on two-dimensional straight line determination, the detection accuracy is low, quantization detection cannot be performed, and the degree of interference between the external structure on the lens cannot be accurately judged.

Method used

By establishing the structural model of the lens to be tested based on optical simulation software, determining the plane of the circular object, and setting the target light source model at its peripheral edge, obtaining the lighting parameters of the lens surface under the action of the light source, and adding external simulation structures before and after, and calculating the difference in lighting parameters to Judge the degree of interference.

Benefits of technology

Quantitative detection of the interference degree of the lens to be tested is realized, the detection accuracy is improved, and the degree of interference between the external structure and the lens can be accurately judged.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111985116B_ABST
    Figure CN111985116B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a lens interference detection method, system and related equipment based on optical simulation software, which are used to realize the quantitative detection of the interference degree of the lens to be tested and improve the detection accuracy. In the embodiment of the present invention, a structural model of the lens to be tested is established based on the simulation software, and a circular object plane with a diameter of is determined according to the field of view angle of the lens to be tested and the simulation distance, and then a target light source model is set at the circumferential edge of the circular object plane, and before adding an external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as a first parameter value, and after adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as a second parameter value; the interference degree of the external simulation structure of the lens to be tested on the lens to be tested is judged according to the difference between the first parameter value and the second parameter value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lens interference detection based on optical simulation software, and in particular to a lens interference detection method, system and related equipment based on optical simulation software. Background Art

[0002] Currently, the outer layer of the camera lens has a structure to fix the lens. For the sake of product aesthetics, the structure has different shapes and heights. Some structures will enter the field of view of the lens, causing dark corners or stray light in the camera.

[0003] In the existing scheme, the way to detect whether the external structure interferes with the lens is to draw two straight lines extending from the lens entrance pupil according to the size of the lens field of view, and see whether there is a structure inside the straight line to determine whether there is structural interference.

[0004] The existing technology only relies on two-dimensional straight lines to characterize whether the field of view angle range is interfered, which is far from the actual situation, cannot be quantitatively detected, and has low detection accuracy. Summary of the invention

[0005] The embodiments of the present invention provide a lens interference detection method, system and related equipment based on optical simulation software, which are used to realize quantitative detection of the interference degree of a lens to be tested and improve detection accuracy.

[0006] A first aspect of an embodiment of the present invention provides a lens interference detection method based on optical simulation software, which may include:

[0007] A structural model of the lens to be tested is established based on the simulation software, and a circular object plane with a diameter of D is determined according to the field angle θ of the lens to be tested and the simulation distance L, wherein D=2L*tan(θ / 2);

[0008] A target light source model is arranged at the circumferential edge of the circular object plane, and an emission mode of the target light source model is set to be a positioning area emission, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested;

[0009] Before adding the external simulation structure to the simulation model of the lens to be tested, obtaining a current value of an illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and recording it as a first parameter value; after adding the external simulation structure to the simulation model of the lens to be tested, obtaining a current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and recording it as a second parameter value;

[0010] The interference degree of the external simulation structure of the lens to be tested on the lens to be tested is determined according to the difference between the first parameter value and the second parameter value.

[0011] Optionally, as a possible implementation manner, the lens interference detection method based on optical simulation software in the embodiment of the present invention may further include:

[0012] One or more parameters among the light reflection parameter, the light absorption parameter and the light refraction parameter of the external simulation structure are adjusted to detect the interference degree of different external simulation structures on the lens to be tested.

[0013] Optionally, as a possible implementation manner, in an embodiment of the present invention, the lighting parameters include: one or more of lighting intensity, spatial brightness, and radiant illumination.

[0014] Optionally, as a possible implementation manner, in an embodiment of the present invention, the simulation software includes ZEMAX software, CODE V software, COMSOL software and LIGHT TOOLS software.

[0015] A second aspect of an embodiment of the present invention provides a lens interference detection system based on optical simulation software, which may include:

[0016] Establishing a module, establishing a structural model of the lens to be tested based on simulation software, and determining a circular object plane with a diameter of D according to the field angle θ of the lens to be tested and a simulation distance L, wherein D=2L*tan(θ / 2);

[0017] A setting module is used to set a target light source model on the circumferential edge of the circular object plane, and set the emission mode of the target light source model to be emission in a positioning area, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested;

[0018] an acquisition module, which acquires a current value of an illumination parameter of a lens surface of the lens to be tested under the action of the target light source model as a first parameter value before adding an external simulation structure to the simulation model of the lens to be tested, and acquires a current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model as a second parameter value after adding the external simulation structure to the simulation model of the lens to be tested;

[0019] A judging module is configured to judge the interference degree of the external simulation structure of the lens to be tested on the lens to be tested according to the difference between the first parameter value and the second parameter value.

[0020] Optionally, as a possible implementation manner, the lens interference detection system based on optical simulation software in the embodiment of the present invention may further include:

[0021] The adjustment module is used to adjust one or more parameters of the light reflection parameter, light absorption parameter and light refraction parameter of the external simulation structure to detect the interference degree of different external simulation structures on the lens to be tested.

[0022] Optionally, as a possible implementation manner, in an embodiment of the present invention, the lighting parameters include one or more of lighting intensity, spatial brightness, and radiant illumination.

[0023] Optionally, as a possible implementation manner, in an embodiment of the present invention, the simulation software includes: zemax software, code V software, comsol software, and light tools software.

[0024] A third aspect of an embodiment of the present invention provides a computer device, the computer device comprising a processor, the processor being configured to implement the steps in the first aspect and any possible implementation manner of the first aspect when executing a computer program stored in a memory.

[0025] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the first aspect and any possible implementation of the first aspect are implemented.

[0026] It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:

[0027] In the embodiment of the present invention, a structural model of the lens to be tested is established based on simulation software, and a circular object plane with a diameter of is determined according to the field of view angle of the lens to be tested and the simulation distance, and then a target light source model is set at the circumferential edge of the circular object plane, and before adding an external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as a first parameter value, and after adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as a second parameter value; and the degree of interference of the external simulation structure of the lens to be tested on the lens to be tested is judged according to the difference between the first parameter value and the second parameter value. Compared with the prior art, in the embodiment of the present invention, the degree of interference of the external simulation structure on the lens to be tested is judged based on the change of the illumination parameter value under the action of the target light source model of the simulation model of the lens to be tested detected by the simulation software, so as to realize the quantitative detection of the interference degree of the lens to be tested and improve the detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of an embodiment of a lens interference detection method based on optical simulation software in an embodiment of the present invention;

[0029] Figure 2 Schematic diagram of an object plane in a lens interference detection method based on optical simulation software in an embodiment of the present invention;

[0030] Figure 3A schematic diagram of the position of a light source in a lens interference detection method based on optical simulation software in an embodiment of the present invention;

[0031] Figure 4 A schematic diagram of a specific embodiment of the present invention;

[0032] Figure 5 A schematic diagram of the division of lens areas of a camera device in a specific embodiment of the present invention;

[0033] Figure 6 It is a schematic diagram of interference effect of the external structure of a lens in a specific embodiment of the present invention;

[0034] Figure 7 FIG. 1 is a schematic diagram of an embodiment of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The embodiments of the present invention provide a lens interference detection method, system and related equipment based on optical simulation software, which are used to realize quantitative detection of the interference degree of a lens to be tested and improve detection accuracy.

[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

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

[0038] For ease of understanding, the specific process in the embodiment of the present invention is described below. Figure 1 In an embodiment of the present invention, a lens interference detection method based on optical simulation software may include:

[0039] 101. Establish a structural model of the lens to be tested based on simulation software, and determine a circular object plane with a diameter of D according to the field angle θ of the lens to be tested and the simulation distance L;

[0040] The existing solution is to draw two straight lines extending from the lens entrance pupil according to the size of the lens field of view, and see if there is any structure inside the straight lines to determine whether there is structural interference. The accuracy is low and quantitative detection cannot be performed.

[0041] In order to improve the accuracy of detection, the embodiment of the present invention establishes a structural model of the lens to be tested based on simulation software (for example, ZEMAX software, CODE V software, COMSOL software, Light Tools software), and detects whether the lens to be tested is interfered in the outermost field of view and the degree of interference based on the simulation software.

[0042] Specifically, a structural model of the lens to be tested can be established based on simulation software, and a circular object plane with a diameter of D can be determined according to the field of view angle θ of the lens to be tested and the simulation distance L, where D=2L*tan(θ / 2). Figure 2 As shown, if the field angle of the lens to be tested is θ=160° and the simulation distance L=20 cm, the diameter of the circular object plane is D=227 cm.

[0043] 102. Setting a target light source model at the circumferential edge of the circular object plane, and setting the emission mode of the target light source model to be emission in a positioning area, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested;

[0044] After determining the circular object plane, the lens interference detection system based on the optical simulation software can set the target light source model (such as Figure 3 As shown). Under normal circumstances, the light emitted by the set light source is divergent and will not be directed to a specified position. However, in order to determine whether the lens interferes with the external structure, the light needs to be directed to a specified area (i.e., the lens surface). Specifically, the lens interference detection system based on the optical simulation software can set the emission mode of the target light source model to be a positioning area emission based on the simulation software, wherein the positioning area is set to be the lens surface area of ​​the lens to be tested.

[0045] 103. Before adding the external simulation structure to the simulation model of the lens to be tested, obtain the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and record it as the first parameter value; after adding the external simulation structure to the simulation model of the lens to be tested, obtain the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and record it as the second parameter value;

[0046] In order to quantify the interference degree of the external structure on the lens, in the embodiment of the present invention, the illumination parameter can be pre-set, and before adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as the first parameter value. Then, after adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as the second parameter value.

[0047] Optionally, the lighting parameters include one or more of lighting intensity, spatial brightness, and radiant illumination, which can be reasonably set according to actual needs and are not limited here. Light intensity refers to: the light intensity at a point in the light field refers to the average energy flux density passing through the point, with the unit of W / sr. Spatial brightness: the luminous intensity per unit projection area. The unit of brightness is candela / square meter (cd / m2); radiant illumination: the radiation flux per unit area of ​​the illuminated surface, unit: watt per square meter (W / ㎡).

[0048] 104. Determine the interference degree of the external simulation structure of the lens to be tested on the lens to be tested according to the difference between the first parameter value and the second parameter value.

[0049] After obtaining the first parameter value and the second parameter value, the interference degree of the external simulation structure of the lens to be tested on the lens to be tested can be determined according to the difference between the first parameter value and the second parameter value. For example, the interference degree of the external simulation structure on the lens to be tested can be quantified according to the difference or ratio of the first parameter value and the second parameter value.

[0050] In the embodiment of the present invention, a structural model of the lens to be tested is established based on simulation software, and a circular object plane with a diameter of is determined according to the field of view angle of the lens to be tested and the simulation distance, and then a target light source model is set at the circumferential edge of the circular object plane, and before adding an external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as a first parameter value, and after adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as a second parameter value, and the degree of interference of the external simulation structure of the lens to be tested on the lens to be tested is judged according to the difference between the first parameter value and the second parameter value. Compared with the prior art, in the embodiment of the present invention, the degree of interference of the external simulation structure on the lens to be tested is judged based on the change of the illumination parameter value under the action of the target light source model of the simulation model of the lens to be tested detected by the simulation software, so that the quantitative detection of the interference degree of the lens to be tested is realized, and the detection accuracy is improved.

[0051] Optionally, as a possible implementation method, in actual application, the light reflection parameters, light absorption parameters and light refraction parameters of the external structure of the lens may affect the imaging of the lens. For this reason, in an embodiment of the present invention, one or more of the light reflection parameters, light absorption parameters and light refraction parameters of the external simulation structure can also be adjusted to detect the degree of interference of different external simulation structures on the lens to be tested.

[0052] For easier understanding, see Figures 2 to 6 The lens interference detection method based on optical simulation software in the embodiment of the present invention will be described below in conjunction with specific application examples. Figure 4 , which can specifically include the following processes:

[0053] 1. Establish the object plane according to the lens field of view and the simulation distance (the distance from the lens to the object plane). In the simulation software (for example, Zemax software, Code V software, Comsol software, Light Tools software), such as Figure 2 As shown, the field of view angle is 160°, the simulation distance is 20 cm, and according to the field of view angle formula D=2Ltan(θ / 2) (D is the object plane diameter, L is the simulation distance, and θ is the field of view angle), the object plane diameter is inferred to be 227 cm.

[0054] 2. Create a light source at the edge of the object plane. For example, create a circular light source with a radius of 3 mm and place it at the edge of the object plane. Figure 3 shown.

[0055] 3. Set the light source. Under normal circumstances, the light emitted by the set light source is divergent and will not be directed to the specified position. It is necessary to determine whether the lens interferes with the external structure and to direct the light to the specified area (i.e. the lens surface).

[0056] 4. Set a receiving surface. The present invention mainly simulates the interference between the lens and the external structure of the lens, so the lens surface is used as the receiving surface. Figure 5 shown.

[0057] 5. Perform optical simulation and result analysis. ① According to the light path analysis, if the light emitted by the edge light source can reach the lens surface, it can be considered that there is no interference from the external structure; if part of the light emitted by the edge light source is absorbed, reflected or refracted by the external structure, it is considered that the external structure interferes with the lens. ② According to the light intensity distribution analysis on the lens surface, if the light intensity distribution with and without the external structure is the same, it indicates that there is no interference from the external structure of the lens. If the light intensity distribution area or intensity decreases after adding the external structure, it indicates that the external structure blocks the light from entering the lens, that is, there is interference from the structure (such as Figure 6 The interference degree of the lens to be tested is quantitatively analyzed based on the light intensity parameter value.

[0058] The embodiment of the present invention further provides a lens interference detection system based on optical simulation software, which may include:

[0059] Establish a module, establish a structural model of the lens to be tested based on the simulation software, and determine a circular object plane with a diameter of D according to the field angle θ of the lens to be tested and the simulation distance L, where D = 2L*tan(θ / 2);

[0060] A setting module is used to set a target light source model on the circumferential edge of the circular object plane, and set the emission mode of the target light source model to be emission in a positioning area, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested;

[0061] an acquisition module, which acquires the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model before adding the external simulation structure to the simulation model of the lens to be tested and records it as a first parameter value, and acquires the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model after adding the external simulation structure to the simulation model of the lens to be tested and records it as a second parameter value;

[0062] The judging module judges the interference degree of the external simulation structure of the lens to be tested on the lens to be tested according to the difference between the first parameter value and the second parameter value.

[0063] Optionally, as a possible implementation manner, the lens interference detection system based on optical simulation software in the embodiment of the present invention may further include:

[0064] The adjustment module is used to adjust one or more parameters of the light reflection parameter, light absorption parameter and light refraction parameter of the external simulation structure to detect the interference degree of different external simulation structures on the lens to be tested.

[0065] Optionally, as a possible implementation manner, in an embodiment of the present invention, the lighting parameters include one or more of lighting intensity, spatial brightness, and radiant illumination.

[0066] Optionally, as a possible implementation manner, in an embodiment of the present invention, the simulation software includes: zemax software, code V software, comsol software, and light tools software.

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

[0068] The lens interference detection system based on optical simulation software in the embodiment of the present invention is described above from the perspective of modular functional entities. Figure 7, the computer device in the embodiment of the present invention is described below from the perspective of hardware processing:

[0069] The computer device 1 may include a memory 11, a processor 12 and an input / output bus 13. When the processor 11 executes the computer program, the above Figure 1 The steps in the embodiment of the lens interference detection method based on optical simulation software shown are, for example, Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules or units in the above-mentioned device embodiments are realized.

[0070] In some embodiments of the present invention, the processor is specifically configured to implement the following steps:

[0071] A structural model of the lens to be tested is established based on the simulation software, and a circular object plane with a diameter of D is determined according to the field angle θ of the lens to be tested and the simulation distance L, where D = 2L*tan(θ / 2);

[0072] A target light source model is set at the circumferential edge of the circular object plane, and the emission mode of the target light source model is set to be a positioning area emission, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested;

[0073] Before adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as the first parameter value; after adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as the second parameter value;

[0074] The interference degree of the external simulation structure of the lens to be tested on the lens to be tested is determined according to the difference between the first parameter value and the second parameter value.

[0075] Optionally, as a possible implementation, the processor may also be used to implement the following steps:

[0076] One or more parameters among the light reflection parameter, the light absorption parameter and the light refraction parameter of the external simulation structure are adjusted to detect the interference degree of different external simulation structures on the lens to be tested.

[0077] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the computer device 1, such as a hard disk of the computer device 1. In other embodiments, the memory 11 may also be an external storage device of the computer device 1, such as a plug-in hard disk equipped on the computer device 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the computer device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the computer device 1, such as the code of the computer program 01, etc., but may also be used to temporarily store data that has been output or is to be output.

[0078] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 11, such as executing the computer program 01.

[0079] The input / output bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.

[0080] Furthermore, the computer device may also include a wired or wireless network interface 14. The network interface 14 may optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used to establish a communication connection between the computer device 1 and other electronic devices.

[0081] Optionally, the computer device 1 may also include a user interface, which may include a display (Display), an input unit such as a keyboard (Keyboard), and optionally, the user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the computer device 1 and to display a visual user interface.

[0082] Figure 7 Only the computer device 1 having components 11-14 and the computer program 01 is shown. It can be understood by those skilled in the art that Figure 7 The structure shown does not constitute a limitation on the computer device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0083] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps can be implemented:

[0084] A structural model of the lens to be tested is established based on the simulation software, and a circular object plane with a diameter of D is determined according to the field angle θ of the lens to be tested and the simulation distance L, where D = 2L*tan(θ / 2);

[0085] A target light source model is set at the circumferential edge of the circular object plane, and the emission mode of the target light source model is set to be a positioning area emission, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested;

[0086] Before adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as the first parameter value; after adding the external simulation structure to the simulation model of the lens to be tested, the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model is obtained and recorded as the second parameter value;

[0087] The interference degree of the external simulation structure of the lens to be tested on the lens to be tested is determined according to the difference between the first parameter value and the second parameter value.

[0088] Optionally, as a possible implementation, the processor may also be used to implement the following steps:

[0089] One or more parameters among the light reflection parameter, the light absorption parameter and the light refraction parameter of the external simulation structure are adjusted to detect the interference degree of different external simulation structures on the lens to be tested.

[0090] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

[0092] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

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

[0094] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A lens interference detection method based on optical simulation software, characterized in that: include: A structural model of the lens to be tested is established based on the simulation software, and a circular object plane with a diameter of D is determined according to the field angle θ of the lens to be tested and the simulation distance L, wherein D=2L*tan(θ / 2); A target light source model is arranged at the circumferential edge of the circular object plane, and an emission mode of the target light source model is set to be a positioning area emission, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested; Before adding the external simulation structure to the simulation model of the lens to be tested, obtaining a current value of an illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and recording it as a first parameter value; after adding the external simulation structure to the simulation model of the lens to be tested, adjusting one or more parameters of a light reflection parameter, a light absorption parameter, and a light refraction parameter of the external simulation structure, obtaining a current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and recording it as a second parameter value; The interference degree of the external simulation structure of the lens to be tested on the lens to be tested is determined according to the difference between the first parameter value and the second parameter value.

2. The method according to claim 1, characterized in that The lighting parameters include: one or more of lighting intensity, spatial brightness, and radiant illumination.

3. The method according to any one of claims 1 to 2, characterized in that The simulation software includes zemax software, code V software, comsol software and light tools software.

4. A lens interference detection system based on optical simulation software, characterized in that: include: Establishing a module, establishing a structural model of the lens to be tested based on simulation software, and determining a circular object plane with a diameter of D according to the field angle θ of the lens to be tested and a simulation distance L, wherein D=2L*tan(θ / 2); A setting module is used to set a target light source model on the circumferential edge of the circular object plane, and set the emission mode of the target light source model to be emission in a positioning area, wherein the positioning area is set to be a lens surface area of ​​the lens to be tested; an acquisition module, which, before adding the external simulation structure to the simulation model of the lens to be tested, acquires the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and records it as a first parameter value; and after adding the external simulation structure to the simulation model of the lens to be tested, adjusts one or more parameters among the light reflection parameter, the light absorption parameter and the light refraction parameter of the external simulation structure, and acquires the current value of the illumination parameter of the lens surface of the lens to be tested under the action of the target light source model and records it as a second parameter value; A judging module is configured to judge the interference degree of the external simulation structure of the lens to be tested on the lens to be tested according to the difference between the first parameter value and the second parameter value.

5. The system according to claim 4, characterized in that The lighting parameters include: one or more of lighting intensity, spatial brightness, and radiant illumination.

6. The system according to any one of claims 4 to 5, characterized in that The simulation software includes zemax software, codeV software, comsol software and lighttools software.

7. A computer device, characterized in that: The computer device comprises a processor, and the processor is configured to implement the steps of the method according to any one of claims 1 to 3 when executing a computer program stored in a memory.

8. A computer-readable storage medium having a computer program stored thereon, 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 3 are implemented.