Method, device and equipment for detecting rear surface profile of optical lens and storage medium
The distance matrix between the rear surface of the optical lens and the reference mirror is calculated by interferometer and spectral image collector, and the surface profile behind the lens is determined by using the plane fitting algorithm, which solves the problem of inconsistency in the flip-based measurement method, and improves the accuracy of detection and reliability.
Patent Information
- Application Number
- CN202411300197.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-09-18
AI Technical Summary
In the existing lens detection method, the flip-type measurement method changes the measurement reference due to the movement of the mechanical device, resulting in inaccurate data and affects the imaging quality.
Using an interferometer combined with the first and second spectral image collectors, the distance matrix between the back surface of the optical lens and the reference mirror is calculated by calculating the first and second distance matrices, and the optical lens is determined by using the predesign calculation formula and the plane fitting algorithm. The rear surface profile avoids the problem of inconsistency in reference caused by mechanical movement.
The accuracy of lens detection is improved, measurement errors caused by mechanical movement are avoided, and the reliability and accuracy of the detection results are ensured.
Smart Images

Figure CN119245541A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lens detection, and in particular to a method, device, equipment and storage medium for detecting the profile of the rear surface of an optical lens. Background Art
[0002] With the widespread application of machine vision technology, different vision technology solutions have emerged. However, in the vision system, the lens is a necessary basic component. The contours of the lens on its front and back surfaces and the accuracy of mechanical positioning often directly affect the quality of imaging. The front and back surface contours of the lens must be measured before leaving the factory. At present, the flip measurement method is often used. During the measurement process, the lens needs to be controlled to flip front and back. This flip measurement method requires adjusting the position of the lens, which will cause the movement of the mechanical device and cause errors. This change in the measurement reference makes the measured data inaccurate.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for detecting the profile of the rear surface of an optical lens, aiming at improving the accuracy of lens detection.
[0005] To achieve the above object, the present invention provides a method for detecting the profile of the rear surface of an optical lens, which is applied to an interferometer. The interferometer is provided with a first spectral image collector and a second spectral image collector. The steps of the method for detecting the profile of the rear surface of the optical lens include:
[0006] Control the first spectral image collector to collect a first interference spectral image, control the second spectral image collector to collect a second interference spectral image, and calculate a first distance matrix according to the first interference spectral image, and calculate a second distance matrix according to the second interference spectral image, wherein the first distance matrix is a distance matrix between a front surface of the optical lens and a surface of a reference mirror, and the second distance matrix is a distance matrix between a rear surface of the optical lens and a front surface of the optical lens;
[0007] Calculate a third distance matrix according to the first distance matrix and the second distance matrix, wherein the third distance matrix is a distance matrix between the rear surface of the optical lens and the surface of the reference mirror;
[0008] The detection result of the rear surface profile of the optical lens is determined according to the third distance matrix.
[0009] Optionally, the step of calculating a third distance matrix according to the first distance matrix and the second distance matrix includes:
[0010] Calculate a third distance matrix according to a preset calculation formula, the first distance matrix and the second distance matrix;
[0011] The preset calculation formula is:
[0012]
[0013] Among them, Z 2-R is the third distance matrix, Z 1-R is the first distance matrix, Z 2-1 is the second distance matrix, and n is the refractive index of the optical lens.
[0014] Optionally, the step of determining the detection result of the rear surface profile of the optical lens according to the third distance matrix includes:
[0015] Determine a third distance data point set according to the third distance matrix, wherein the third distance data point set is a distance data point set between the rear surface of the optical lens and the surface of the reference mirror;
[0016] Determine a plane equation corresponding to a distance data point set between a rear surface of the optical lens and a surface of a reference mirror according to the third distance data point set and a plane fitting algorithm;
[0017] The detection result is determined by comparing the plane equation with a scatter plot of three-dimensional data of the rear surface of the optical lens.
[0018] Optionally, the step of determining, according to the third distance data point set and a plane fitting algorithm, a plane equation corresponding to a distance data point set between the rear surface of the optical lens and the surface of the reference mirror comprises:
[0019] Constructing a plane expression of the plane equation, and inputting the third distance data point set into the plane expression to calculate the values of the parameters of the plane expression;
[0020] The plane equation is determined according to the parameter value.
[0021] Optionally, after the step of inputting the third distance data point set into the plane expression to calculate the numerical value of the parameter of the plane expression, the method further comprises:
[0022] Determine a least squares error function according to the third distance data point set and the values of the parameters of the plane expression;
[0023] Calculate the goodness of fit of the numerical values of the parameters of the plane expression according to the error function;
[0024] Determine whether to execute the step of determining the plane equation according to the parameter value according to the goodness of fit.
[0025] Optionally, the step of comparing the plane equation with a scatter plot of three-dimensional data of the rear surface of the optical lens to determine the detection result comprises:
[0026] Calculate the corresponding vertical direction vector according to the plane equation;
[0027] The mean square error result is calculated based on the plane formed by the vertical direction vector and the scatter diagram of the three-dimensional data of the rear surface of the optical lens;
[0028] The mean square error result is used as the detection result.
[0029] Optionally, the step of calculating a first distance matrix according to the first interference spectrum image and calculating a second distance matrix according to the second interference spectrum image comprises:
[0030] Establishing a wavenumber domain interference spectrum algorithm according to a random Fourier transform algorithm, and calculating the first distance matrix according to the first interference spectrum image and the wavenumber domain interference spectrum algorithm;
[0031] The second distance matrix is calculated according to the second interference spectrum image and the wavenumber domain interference spectrum algorithm.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a detection device for the profile of the rear surface of an optical lens, wherein the detection device for the profile of the rear surface of an optical lens is provided with a first spectral image collector and a second spectral image collector, and the detection device for the profile of the rear surface of an optical lens comprises:
[0033] an acquisition module, used to control the first spectral image collector to collect a first interference spectral image, control the second spectral image collector to collect a second interference spectral image, and calculate a first distance matrix according to the first interference spectral image, and calculate a second distance matrix according to the second interference spectral image, wherein the first distance matrix is a distance matrix between a front surface of the optical lens and a surface of a reference mirror, and the second distance matrix is a distance matrix between a rear surface of the optical lens and a front surface of the optical lens;
[0034] A calculation module, used for calculating a third distance matrix according to the first distance matrix and the second distance matrix, wherein the third distance matrix is a distance matrix between the rear surface of the optical lens and the surface of the reference mirror;
[0035] An analysis module is used to determine a detection result of the rear surface profile of the optical lens according to the third distance matrix.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a device for detecting the profile of the back surface of an optical lens, the device for detecting the profile of the back surface of an optical lens comprising: a memory, a processor, and a detection program for the profile of the back surface of an optical lens stored in the memory and executable on the processor, the detection program for the profile of the back surface of an optical lens being configured to implement the steps of the method for detecting the profile of the back surface of an optical lens described in any one of the above-mentioned items.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a detection program for the back surface profile of an optical lens is stored. When the detection program for the back surface profile of an optical lens is executed by a processor, the steps of the detection method for the back surface profile of an optical lens described in any one of the above-mentioned items are implemented.
[0038] The present invention proposes a method for detecting the profile of the rear surface of an optical lens. The method controls the first spectral image collector to collect a first interference spectral image, controls the second spectral image collector to collect a second interference spectral image, and calculates a first distance matrix according to the first interference spectral image, and calculates a second distance matrix according to the second interference spectral image, so that a third distance matrix can be calculated. Compared with a flip-type detection method, the method does not need to move the optical lens, thereby avoiding the problem of different measurement benchmarks caused by mechanical movement, thereby improving the accuracy of detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a structural schematic diagram of a device for detecting the profile of the rear surface of an optical lens in a hardware operating environment involved in an embodiment of the present invention;
[0040] Figure 2 It is a schematic flow chart of a first embodiment of a method for detecting the back surface profile of an optical lens according to the present invention;
[0041] Figure 3 A geometrical schematic diagram of a method for perspective measurement of the front and rear surfaces of a lens according to an embodiment of the present invention;
[0042] Figure 4 Schematic diagram of the flow of a third embodiment of a method for detecting the back surface profile of an optical lens according to the present invention;
[0043] Figure 5 The front surface S of the optical lens measured by the tilted Fizeau interferometer according to the third embodiment of the present invention is 1 With reference surface S R The three-dimensional distance point set data C 1-R , i.e. the first distance data point set;
[0044] Figure 6 is the rear surface S of the optical lens measured by the tilted Fizeau interferometer according to the third embodiment of the present invention.2 With the front surface S 1 The three-dimensional distance point set data C 2-1 , that is, the second distance data point set;
[0045] Figure 7 The third distance data point set is obtained by measuring the tilted Fizeau interferometer according to the third embodiment of the invention.
[0046] Figure 8 A comparison diagram of the fitted plane and the scattered points of the three-dimensional data in the fourth embodiment of the invention;
[0047] Fig. 9 This is a residual distribution histogram in the fourth embodiment of the invention.
[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0050] Reference Figure 1 , Figure 1 It is a schematic diagram of the structure of a device for detecting the profile of the rear surface of an optical lens in the hardware operating environment involved in an embodiment of the present invention.
[0051] like Figure 1 As shown, the detection device for the back surface profile of the optical lens may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, an interactive device 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The interactive device 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional interactive device 1003 may also be connected to the communication bus through a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0052] In addition, the detection device for the rear surface profile of the optical lens may include: a camera, a telecentric lens mounted on the camera, a reflector, a lens, etc.
[0053] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the detection device of the rear surface profile of the optical lens, and may include more or less components than those shown in the figure, or a combination of certain components, or a different arrangement of components.
[0054] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a detection program for the profile of the rear surface of the optical lens.
[0055] exist Figure 1 In the optical lens rear surface profile detection device shown, the network interface 1004 is mainly used for data communication with other devices; the interactive device 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the optical lens rear surface profile detection device of the present invention can be set in the optical lens rear surface profile detection device, and the optical lens rear surface profile detection device calls the optical lens rear surface profile detection program stored in the memory 1005 through the processor 1001, and executes the optical lens rear surface profile detection method provided by the embodiment of the present invention.
[0056] The embodiment of the present invention provides a method for detecting the profile of the rear surface of an optical lens, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a method for detecting the back surface profile of an optical lens according to the present invention.
[0057] In this embodiment, the method is applied to an interferometer, the interferometer is provided with a first spectral image collector and a second spectral image collector, and the steps of the method for detecting the profile of the rear surface of the optical lens include:
[0058] Step S10, controlling the first spectral image collector to collect a first interference spectral image, controlling the second spectral image collector to collect a second interference spectral image, and calculating a first distance matrix according to the first interference spectral image, and calculating a second distance matrix according to the second interference spectral image, wherein the first distance matrix is a distance matrix between a front surface of the optical lens and a surface of a reference mirror, and the second distance matrix is a distance matrix between a rear surface of the optical lens and a front surface of the optical lens;
[0059] In this embodiment, refer to Figure 3 , Figure 3: is a geometrical schematic diagram of the perspective measurement method of the front and rear surfaces of the lens of an embodiment of the present invention, wherein the first interference spectrum image here is the interference spectrum image of the front surface of the optical lens and the surface of the reference mirror, and the second interference spectrum image here is the interference spectrum image of the rear surface of the optical lens and the front surface of the optical lens. The interferometer here can be specifically a Fizeau interferometer or a Michelson interferometer, and further the Fizeau interferometer here is preferably a tilted Fizeau wave number scanning interferometer. The interference spectrum image is formed by dividing the light beam into two beams by a beam splitting element, and then remerging after passing through different paths to form an interference spectrum image. This embodiment is described based on the tilted Fizeau wave number scanning interferometer. In this embodiment, it should be noted that the method of calculating the second distance matrix and the method of calculating the first distance matrix can be obtained by commonly used optical calculation formulas. It should be noted that the first spectrum image collector and the second spectrum image collector here collect at the same time, so as to obtain the first interference spectrum image and the second interference spectrum image; in this embodiment, it should be noted that the spectrum image collector here can be a camera, and the size of the sensor of the first spectrum image collector and the second spectrum image collector is the same. Optionally, the number of pixels of the camera here is 801 times 827 at the same time. In addition, it is also necessary to explain that a half-reflective mirror can be set in front of the second spectral image collector, and the ratio of reflection and transmission can be 50:50, 70:30, 30:70, etc. Of course, the second spectral image collector here can also receive the interference spectral image in other ways. It should be noted that before step S10, calibration and other methods are also included to ensure that the light received by the first spectral image collector and the second spectral image collector is matched. In addition, the front surface of the optical lens and the rear surface of the optical lens are specifically determined according to the distance between the surface of the optical lens and the spectral image collector, and the distance between the front surface of the optical lens and the spectral image collector is greater than the distance between the front and back surfaces of the optical lens and the spectral image collector.
[0060] Step S20, calculating a third distance matrix according to the first distance matrix and the second distance matrix, wherein the third distance matrix is a distance matrix between the rear surface of the optical lens and the surface of the reference mirror;
[0061] In this embodiment, the first distance matrix reflects the distance between the front surface of the optical lens and the surface of the reference mirror, and the second distance matrix reflects the distance between the rear surface of the optical lens and the front surface of the optical lens. And the sizes of the first distance matrix and the second distance matrix are the same.
[0062] Step S30: determining a detection result of the rear surface profile of the optical lens according to the third distance matrix.
[0063] In this embodiment, a point set of the contour of the rear surface of the optical lens can be determined according to the third distance matrix, and then a plane is fitted based on the point set through a variety of fitting methods to determine the detection result based on the fitting result.
[0064] In this embodiment, the first spectral image collector is controlled to collect the first interference spectral image, the second spectral image collector is controlled to collect the second interference spectral image, and the first distance matrix is calculated according to the first interference spectral image, and the second distance matrix is calculated according to the second interference spectral image, so that the third distance matrix can be calculated. Compared with the flip-type detection method, there is no need to move the optical lens, so as to avoid the problem of different measurement references caused by mechanical movement, thereby improving the accuracy of detection.
[0065] Further, based on the first embodiment, a second embodiment of detecting the profile of the rear surface of an optical lens of the present invention is proposed. In this embodiment, the step of calculating the third distance matrix according to the first distance matrix and the second distance matrix includes:
[0066] Calculate a third distance matrix according to a preset calculation formula, the first distance matrix and the second distance matrix;
[0067] The preset calculation formula is:
[0068]
[0069] Among them, Z 2-R is the third distance matrix, Z 1-R is the first distance matrix, Z 2-1 is the second distance matrix, and n is the refractive index of the optical lens.
[0070] The calculation formula for the elements in the third distance matrix is as follows:
[0071]
[0072] In this embodiment, the refractive index of the optical lens can be optionally 1.5168. Of course, the refractive index of the optical lens here is specifically determined by the refractive index of the sample selected for testing by the manager. The third distance calculation matrix can be obtained by the preset formula. x and y represent the positions in the matrix respectively.
[0073] In this embodiment, the third distance matrix is obtained through the first distance matrix, the second distance matrix, a preset calculation formula and the refractive index of the optical lens, so that the third distance matrix can be accurately obtained.
[0074] Further, based on the first embodiment or the second embodiment, a third embodiment of detecting the back surface profile of the optical lens of the present invention is proposed. In this embodiment, referring to Figure 4 The step of determining the detection result of the rear surface profile of the optical lens according to the third distance matrix comprises:
[0075] Step S31, determining a third distance data point set according to the third distance matrix, wherein the third distance data point set is a distance data point set between the rear surface of the optical lens and the surface of the reference mirror;
[0076] In this embodiment, specifically, the third distance data point set is as follows:
[0077]
[0078] Furthermore, in this embodiment, the third distance data point set can be split into a matrix, X' 2-R ,as follows:
[0079]
[0080] Y' 2-R ,as follows:
[0081]
[0082] Z' 2-R ,as follows:
[0083]
[0084] Reference Figure 5 , Figure 5 The front surface S of the optical lens measured by the tilted Fizeau interferometer in this embodiment 1 With reference surface S R The three-dimensional distance point set data C 1-R , i.e. the first distance data point set;
[0085] Reference Figure 6 , Figure 6 The back surface S of the optical lens measured by the tilted Fizeau interferometer in this embodiment 2 With the front surface S 1 The three-dimensional distance point set data C 2-1 , that is, the second distance data point set;
[0086] Reference Figure 7 , Figure 7 It is the third distance data point set obtained by measuring the tilted Fizeau interferometer in this embodiment.
[0087] Step S32, determining a plane equation corresponding to the distance data point set between the rear surface of the optical lens and the surface of the reference mirror according to the third distance data point set and a plane fitting algorithm;
[0088] In this embodiment, the plane fitting algorithm may be a least squares method, a principal component analysis method, a singular value decomposition method, a neural network algorithm, and the like.
[0089] Step S33, comparing the plane equation with the scatter plot of the three-dimensional data of the rear surface of the optical lens to determine the detection result.
[0090] The detection result is determined by calculating the error function.
[0091] In this embodiment, the third distance data point set is determined by the third distance matrix, and the plane equation corresponding to the distance data point set between the rear surface of the optical lens and the surface of the reference mirror is determined according to the third distance data point set and the plane fitting algorithm. In fact, a plane for comparison is obtained, and the detection result is determined by plane comparison, thereby improving the accuracy of the detection result.
[0092] Further, the step of determining the plane equation corresponding to the distance data point set between the rear surface of the optical lens and the surface of the reference mirror according to the third distance data point set and the plane fitting algorithm comprises:
[0093] Constructing a plane expression of the plane equation, and inputting the third distance data point set into the plane expression to calculate the values of the parameters of the plane expression;
[0094] The plane equation is determined according to the parameter value.
[0095] In this embodiment, the plane expression here is:
[0096]
[0097] Among them Then we can get:
[0098]
[0099] In this embodiment, the least square method is preferably used for fitting. Specifically, the above formula is converted into a least square matrix form as follows:
[0100] PX=F
[0101] The column vector X 2-R ,Y 2-R ,Z 2-R Substituting in, we get:
[0102] P=(X 2-R Y2-R 1), F=Z 2-R ,
[0103] At this time, the matrices P and F are known quantities, and X is an unknown quantity. Find the value of the matrix X, which is a 0 , a 1 , a 2 , we can get the plane equation.
[0104] In this embodiment, the value of the matrix X is calculated by the least square method, so that the accuracy of the subsequent detection result can be improved compared with the flip detection method.
[0105] Furthermore, after the step of inputting the third distance data point set into the plane expression to calculate the numerical value of the parameter of the plane expression, the method further includes:
[0106] Determine a least squares error function according to the third distance data point set and the values of the parameters of the plane expression;
[0107] Calculate the goodness of fit of the numerical values of the parameters of the plane expression according to the error function;
[0108] Determine whether to execute the step of determining the plane equation according to the parameter value according to the goodness of fit.
[0109] In this embodiment, the error function is E, and the specific calculation formula is as follows:
[0110] argminE(x,y,z)=∑(z i -a 0 x i -a 1 y i -a 2 ) 2 =||PX-F|| 2
[0111] After calculating the error function, calculate the minimized target value.
[0112] Expand and simplify the square of the matrix. The formula is as follows:
[0113] ||PX-F|| 2 =X T P T PX-2X T PF+F T F
[0114] Furthermore, the above formula is derived and made equal to 0, as follows:
[0115]
[0116] Then simplify to get X, X is as follows:
[0117] X=(P T P) -1 P T F
[0118] Calculate the goodness of fit R 2 , the maximum value is 1, R 2 The closer the value of is to 1, the better the fitting plane fits the observed value; on the contrary, R 2 The smaller the value, the worse the fitting plane fits the observed value. The specific calculation formula is as follows:
[0119]
[0120] Among them, F i represents the i-th element of matrix F, P i represents the i-th row of the matrix P, represents the average value of the elements in the matrix, and k represents the total number of rows in the matrix F. By calculating the goodness of fit, it is used to determine whether the obtained fitting plane is accurate. In addition, in other embodiments, the goodness of fit can also be calculated to determine the detection result.
[0121] In this embodiment, by calculating the goodness of fit, it is determined whether the fitted plane is appropriate, thereby avoiding the problem of inaccurate detection results in subsequent calculations due to inaccurate fitted plane.
[0122] Further, based on any of the above embodiments, a fourth embodiment of detecting the profile of the rear surface of an optical lens of the present invention is proposed. In this embodiment, the step of comparing the plane equation with the scatter plot of the three-dimensional data of the rear surface of the optical lens to determine the detection result includes:
[0123] Calculate the corresponding vertical direction vector according to the plane equation;
[0124] The mean square error result is calculated based on the plane formed by the vertical direction vector and the scatter diagram of the three-dimensional data of the rear surface of the optical lens;
[0125] The mean square error result is used as the detection result.
[0126] In this embodiment, the vertical direction vector is The specific calculation formula is:
[0127]
[0128] And the residual vector ΔZ is calculated according to the vertical direction vector and the vertical direction vector corresponding to the fitting plane, as follows:
[0129]
[0130] Calculate the mean square error MSE, the calculation formula is as follows:
[0131]
[0132] Where k is the total number of residual vectors, ΔZ i Represents the i-th element of the residual vector ΔZ. For specific comparison results, please refer to Figure 8 , Figure 8 This is a comparison chart of the scatter points of the fitted plane and three-dimensional data; refer to Fig. 9 , Fig. 9 is the residual distribution histogram.
[0133] Furthermore, the step of calculating a first distance matrix according to the first interference spectrum image and calculating a second distance matrix according to the second interference spectrum image comprises:
[0134] Establishing a wavenumber domain interference spectrum algorithm according to a random Fourier transform algorithm, and calculating the first distance matrix according to the first interference spectrum image and the wavenumber domain interference spectrum algorithm;
[0135] The second distance matrix is calculated according to the second interference spectrum image and the wavenumber domain interference spectrum algorithm.
[0136] In addition, an embodiment of the present invention further provides a device for detecting the profile of the rear surface of an optical lens. The device for detecting the profile of the rear surface of an optical lens is provided with a first spectral image collector and a second spectral image collector. The device for detecting the profile of the rear surface of an optical lens includes:
[0137] an acquisition module, used to control the first spectral image collector to collect a first interference spectral image, control the second spectral image collector to collect a second interference spectral image, and calculate a first distance matrix according to the first interference spectral image, and calculate a second distance matrix according to the second interference spectral image, wherein the first distance matrix is a distance matrix between a front surface of the optical lens and a surface of a reference mirror, and the second distance matrix is a distance matrix between a rear surface of the optical lens and a front surface of the optical lens;
[0138] A calculation module, used for calculating a third distance matrix according to the first distance matrix and the second distance matrix, wherein the third distance matrix is a distance matrix between the rear surface of the optical lens and the surface of the reference mirror;
[0139] An analysis module is used to determine a detection result of the rear surface profile of the optical lens according to the third distance matrix.
[0140] In addition, an embodiment of the present invention also proposes a device for detecting the back surface profile of an optical lens, wherein the device for detecting the back surface profile of an optical lens comprises: a memory, a processor, and a detection program for the back surface profile of an optical lens stored in the memory and executable on the processor, wherein the detection program for the back surface profile of an optical lens is configured to implement the steps of any of the above-described methods for detecting the back surface profile of an optical lens.
[0141] In addition, an embodiment of the present invention further proposes a storage medium, on which a detection program for the back surface profile of an optical lens is stored. When the detection program for the back surface profile of an optical lens is executed by a processor, the steps of the method for detecting the back surface profile of an optical lens described in any one of the above are implemented.
[0142] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0143] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0145] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting the profile of the rear surface of an optical lens, characterized in that: Applied to an interferometer, the interferometer is provided with a first spectral image collector and a second spectral image collector, and the steps of the method for detecting the profile of the rear surface of the optical lens include: Control the first spectral image collector to collect a first interference spectral image, control the second spectral image collector to collect a second interference spectral image, and calculate a first distance matrix according to the first interference spectral image, and calculate a second distance matrix according to the second interference spectral image, wherein the first distance matrix is a distance matrix between a front surface of the optical lens and a surface of a reference mirror, and the second distance matrix is a distance matrix between a rear surface of the optical lens and a front surface of the optical lens; Calculate a third distance matrix according to the first distance matrix and the second distance matrix, wherein the third distance matrix is a distance matrix between the rear surface of the optical lens and the surface of the reference mirror; The detection result of the rear surface profile of the optical lens is determined according to the third distance matrix.
2. The method for detecting the rear surface profile of an optical lens according to claim 1, characterized in that: The step of calculating the third distance matrix according to the first distance matrix and the second distance matrix comprises: Calculate a third distance matrix according to a preset calculation formula, the first distance matrix and the second distance matrix; The preset calculation formula is: Among them, Z 2-R is the third distance matrix, Z 1-R is the first distance matrix, Z 2-1 is the second distance matrix, and n is the refractive index of the optical lens.
3. The method for detecting the rear surface profile of an optical lens according to claim 1, characterized in that: The step of determining the detection result of the rear surface profile of the optical lens according to the third distance matrix comprises: Determine a third distance data point set according to the third distance matrix, wherein the third distance data point set is a distance data point set between the rear surface of the optical lens and the surface of the reference mirror; Determine a plane equation corresponding to a distance data point set between a rear surface of the optical lens and a surface of a reference mirror according to the third distance data point set and a plane fitting algorithm; The detection result is determined by comparing the plane equation with a scatter plot of three-dimensional data of the rear surface of the optical lens.
4. The method for detecting the rear surface profile of an optical lens as claimed in claim 3, characterized in that: The step of determining the plane equation corresponding to the distance data point set between the rear surface of the optical lens and the surface of the reference mirror according to the third distance data point set and the plane fitting algorithm comprises: Constructing a plane expression of the plane equation, and inputting the third distance data point set into the plane expression to calculate the values of the parameters of the plane expression; The plane equation is determined according to the parameter value.
5. The method for detecting the rear surface profile of an optical lens as claimed in claim 3, characterized in that: After the step of inputting the third distance data point set into the plane expression to calculate the numerical value of the parameter of the plane expression, the method further includes: Determine a least squares error function according to the third distance data point set and the values of the parameters of the plane expression; Calculate the goodness of fit of the numerical values of the parameters of the plane expression according to the error function; Determine whether to execute the step of determining the plane equation according to the parameter value according to the goodness of fit.
6. The method for detecting the rear surface profile of an optical lens as claimed in claim 3, characterized in that: The step of comparing the plane equation with a scatter plot of three-dimensional data of the rear surface of the optical lens to determine the detection result comprises: Calculate the corresponding vertical direction vector according to the plane equation; The mean square error result is calculated based on the plane formed by the vertical direction vector and the scatter diagram of the three-dimensional data of the rear surface of the optical lens; The mean square error result is used as the detection result.
7. The method for detecting the rear surface profile of an optical lens according to claim 1, characterized in that: The step of calculating a first distance matrix according to the first interference spectrum image and calculating a second distance matrix according to the second interference spectrum image comprises: Establishing a wavenumber domain interference spectrum algorithm according to a random Fourier transform algorithm, and calculating the first distance matrix according to the first interference spectrum image and the wavenumber domain interference spectrum algorithm; The second distance matrix is calculated according to the second interference spectrum image and the wavenumber domain interference spectrum algorithm.
8. A device for detecting the back surface profile of an optical lens, characterized in that: The detection device for the rear surface profile of the optical lens is provided with a first spectral image collector and a second spectral image collector, and the detection device for the rear surface profile of the optical lens comprises: an acquisition module, used to control the first spectral image collector to collect a first interference spectral image, control the second spectral image collector to collect a second interference spectral image, and calculate a first distance matrix according to the first interference spectral image, and calculate a second distance matrix according to the second interference spectral image, wherein the first distance matrix is a distance matrix between a front surface of the optical lens and a surface of a reference mirror, and the second distance matrix is a distance matrix between a rear surface of the optical lens and a front surface of the optical lens; A calculation module, used for calculating a third distance matrix according to the first distance matrix and the second distance matrix, wherein the third distance matrix is a distance matrix between the rear surface of the optical lens and the surface of the reference mirror; An analysis module is used to determine a detection result of the rear surface profile of the optical lens according to the third distance matrix.
9. An optical lens rear surface profile detection device, characterized in that: The optical lens back surface profile detection device comprises: a memory, a processor, and an optical lens back surface profile detection program stored in the memory and executable on the processor, wherein the optical lens back surface profile detection program is configured to implement the steps of the optical lens back surface profile detection method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a detection program for the back surface profile of an optical lens, and when the detection program for the back surface profile of an optical lens is executed by a processor, the steps of the detection method for the back surface profile of an optical lens as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Secondary constant measuring method for aspherical mirrors
CN104034262A
Non-contact high-precision length measuring system with adjustable scale
CN108413875A
Lens three-dimensional contour measuring device and method based on current wave number scanning
CN109990729A
Two-channel optical three-dimensional interference method based on underdetermined blind source separation
CN110260812A
Apparatus for measuring thickness and surface profile of multilayered film structure using imaging spectral optical system and measuring method
US20190101373A1
