Lens performance detection system and method
Through the lens performance detection system combined with software and hardware, fully automatic detection of lens performance is achieved, solving the problem of manual detection time and incomplete function, improving detection efficiency and data stability, and suitable for lens quality evaluation and monitoring.
Patent Information
- Application Number
- CN202011329194.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-11-24
AI Technical Summary
In the prior art, lens performance detection relies on manual testing, which consumes time, is unstable, has incomplete functional detection, and cannot detect multiple lenses online in real time, affecting production efficiency and quality traceability.
The lens performance detection system combined with software and hardware is adopted to automatically adjust the focus through the electric sliding table and the motion module. The camera and the computer work together to conduct fully automatic detection, and the data is stored and visualized in the cloud.
It realizes full automatic detection of single-shot multi-lens, improves detection efficiency and data stability, reduces human resource consumption, comprehensive functional testing, reduces result error, data reliability and traceability.
Smart Images

Figure CN112333443B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of lens performance detection in optical systems, and in particular relates to a lens performance automatic detection system and method. Background Art
[0002] The field of machine vision has developed rapidly in recent years. Among them, 70% of the most important sensing visual instruments are implemented through lenses. Therefore, manufacturers who develop and produce lenses have flourished in recent years. However, there are currently no standard lens inspection methods and devices on the market for lens manufacturers to inspect their own lens products and lens buyers to inspect and test outsourced lens products.
[0003] The traditional way to test the optical performance of industrial lenses is to perform the test manually. The method is to fix the camera / lens on the visual experiment frame, and place the calibration plate under the lens in a non-fixed manner. The optical performance test is completed by manual focusing and other auxiliary tools (such as a ruler). This test method has the following problems:
[0004] 1. Manual testing can only test one lens at a time, and the preparation for each function test is cumbersome and time-consuming.
[0005] 2. The calibration plate is not fixed, and when testing different lenses, the calibration plate needs to be relocated and adjusted.
[0006] 3. The focusing method, non-fixed placement of the calibration plate and functional testing are subject to subjective influences of personnel. The test data of different testers or different batches of lenses may vary greatly. The accuracy, consistency and repeatability of the lens imaging performance parameters are poor, the production efficiency is low, and the traceability is poor, which cannot meet the quality and efficiency requirements of mass production of lenses.
[0007] 4. Some optical lens functions cannot be tested manually, such as lens distortion.
[0008] In the prior art, some industrial lens performance tests still use simple image quality test and analysis software. This technology requires the imaging device to manually focus and capture images for different tests with the assistance of a photographic fill light box, and then select the corresponding test items on the software interface and import the stored images. Some items require setting parameters, and then select the area to be tested in the graphic, and then click "Start Analysis" to generate the results. This detection method only performs tests on the two functions of "resolution" and "distortion". The functional detection is not comprehensive, and the environment for shooting images is high. A photographic fill light box is required. Different lenses need to replace different test cards and non-real-time online image acquisition and automatic testing, which is relatively time-consuming. Summary of the invention
[0009] In view of the above problems, the present invention provides a lens performance detection system and method, which realizes single-time multi-lens fully automatic lens optical performance detection through a combination of software and hardware, automatically generates test data and stores it in the cloud and displays it on the Web, thereby improving the stability and reliability of the test data, effectively saving human resources, and overcoming the problems of traditional manual detection such as long time consumption, unstable data, incomplete functional testing, etc.
[0010] To achieve the above object, the present invention provides a lens performance detection system, which mainly includes:
[0011] First electric slide;
[0012] a second electric slide, the second electric slide being fixed on the first electric slide;
[0013] The camera is fixed on the second electric slide;
[0014] A lens to be tested, mounted on the camera;
[0015] The first electric slide table drives the second electric slide table to move, and performs coarse focus adjustment on the lens to be tested;
[0016] The second electric slide table drives the lens to be tested to move, and performs fine focus adjustment on the lens to be tested;
[0017] The computer obtains the image information captured by the lens to be tested, and controls the movement of the second electric slide according to the image information.
[0018] Furthermore, the first electric slide comprises a first motor, a first slide rail and a first slider, the first slider is fixed on the first slide rail, and the first motor drives the first slider to move on the first slide rail.
[0019] Furthermore, the second electric slide includes a second motor, a second slide rail and a second slider, the second slider is fixed on the second slide rail, the second motor drives the second slider to move on the second slide rail, and the second slide rail is fixed on the first slider.
[0020] Furthermore, the lens performance detection system further includes a motion module, which is driven by a third motor to move the calibration plate to below the lens to be tested.
[0021] Furthermore, the motion module includes a motion platform and a third slide rail, the motion platform is arranged on the third slide rail, and the third motor drives the motion platform to move on the third guide rail.
[0022] Furthermore, the lens performance detection system also includes a rangefinder, which is installed on the side of the lens to be tested, and the laser head of the rangefinder is vertically downward.
[0023] Furthermore, the lens performance detection system also includes an ID entry device, which records the ID number of the lens to be tested and transmits the ID number to the computer.
[0024] The present invention provides a lens performance detection method, comprising the following steps:
[0025] Arrange a first electric slide and a second electric slide, and fix the second electric slide on the first electric slide;
[0026] Fix the camera on the second electric slide and install the lens to be tested on the camera;
[0027] A loading platform is arranged below the lens to be tested;
[0028] The computer controls the first electric slide and the second electric slide to reset, and the lens to be tested reaches the first position;
[0029] The computer controls the first electric slide to drive the lens to be tested to move from the first position to the second position, and the vertical distance between the second position and the object-carrying platform is the maximum object distance of the lens to be tested;
[0030] The computer controls the second electric slide to drive the lens to be tested to move from the second position to the third position, and the vertical distance between the third position and the object loading platform is the minimum object distance of the lens to be tested.
[0031] Furthermore, the lens performance detection method further includes the following steps:
[0032] During the movement of the lens to be tested, the camera is used to synchronously capture images for multiple times, and the position of the lens to be tested is recorded each time an image is captured, and the captured image information and the position of the lens to be tested are transmitted to the computer.
[0033] Furthermore, the lens performance detection method further includes the following steps:
[0034] The computer selects the best clear images from the captured pictures.
[0035] Furthermore, the lens performance detection method further includes the following steps:
[0036] The computer controls the second electric slide to move the lens to be tested to the shooting position of the best clear image.
[0037] Furthermore, the lens performance detection method further includes the following steps:
[0038] A third motor is provided to drive the loading platform to move;
[0039] Loading a plurality of calibration plates on the loading platform;
[0040] The computer controls the third motor to drive the loading platform to move the calibration plate under the lens to be tested;
[0041] The lens to be tested captures the image of the calibration plate and stores the image information in a computer;
[0042] The computer generates test data of the lens to be tested based on the image information.
[0043] Furthermore, the lens performance detection method further includes the following steps:
[0044] A cloud disk is set up, and the computer uploads the generated test data to the cloud disk for storage.
[0045] Furthermore, the lens performance detection method further includes the following steps:
[0046] Develop a web page and display the test data stored in the cloud disk on the web page.
[0047] Furthermore, the lens performance detection method further includes the following steps:
[0048] Step 1: The computer locates the features of the white squares on the image taken by the lens to be tested and determines the area that needs to be calculated;
[0049] Step 2: The computer calculates the MTF values of the black and white line pairs in the area;
[0050] Step 3: Determine whether the currently calculated MTF value of the black and white line pair is less than the minimum threshold; if it is less than the minimum threshold, execute step 4; if it is greater than the minimum threshold, jump to step 2 to continue execution;
[0051] Step 4: Output the line pair layer value corresponding to the previous set of black and white line pairs of the current black and white line pair.
[0052] The present invention provides an industrial lens performance detection system and method, which adopts a combination of software and hardware, can detect multiple lenses at the same time, realize full-automatic detection, simplify the test operation, improve the test efficiency, and save human resources and time; the whole process of functional testing is automated, the detection process reduces the intervention of human actions, the test stability and reliability are higher, and the possibility of misdetection of results is reduced; the test data is directly stored in the cloud, and there is no need to manually record the test data, which avoids the possibility of easy loss or accidental deletion of data; the visual web page presents the data, which is more convenient for querying and analyzing the lens test data. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings.
[0054] Figure 1 It is a structural schematic diagram of a lens performance detection system of the present invention;
[0055] Figure 2 This is an enlarged view of the second electric slide of the present invention;
[0056] Figure 3 The automatic focusing flow chart of the lens to be tested provided by the present invention;
[0057] Figure 4 A flowchart of a lens performance detection method provided by the present invention;
[0058] Figure 5 The flowchart of the resolution algorithm provided by the present invention.
[0059] Legend:
[0060] 1 is a first electric slide; 11 is a first motor; 12 is a first slide rail; 13 is a first slider;
[0061] 2 is a second electric slide; 21 is a second motor; 22 is a second slide rail; 23 is a second slider;
[0062] 3 is a motion module; 31 is a motion platform; 32 is a third slide rail;
[0063] 4 is the camera;
[0064] 5 is the lens to be tested;
[0065] 6 is a calibration plate. DETAILED DESCRIPTION
[0066] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the described embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] Figure 1 The present invention provides a lens performance detection system, which includes a first electric slide 1, a second electric slide 2 arranged on the first electric slide 1, a camera 4 installed on the second electric slide 2, and a lens 5 to be tested installed on the camera 4.
[0068] The first electric slide 1 includes a first motor 11, a first slide rail 12 and a first slider 13. The first motor 11 is arranged at the upper end of the first slide rail 12, and the first slider 13 is arranged on the first slide rail 12. The first motor 11 can drive the first slider 13 to move up and down on the first slide rail 12 under the control of a computer.
[0069] The second electric slide 2 includes a second motor 21, a second slide rail 22 and a second slider 23. The second motor 21 is arranged at the upper end of the second slide rail 22, and the second slider 23 is arranged on the second slide rail 22. The second motor 21 can drive the second slider 23 to move up and down on the second slide rail 22 under the control of a computer.
[0070] The second slide rail 22 is fixed on the first slider 13, so that the first electric slide 1 can drive the second electric slide 2 to move under the control of the computer, and the second electric slide 2 can drive the camera 4 and the lens to be tested 5 to move under the control of the computer.
[0071] The lens performance detection system provided by the present invention can be provided with a plurality of second electric slides 2 according to actual detection requirements, and the plurality of second electric slides 2 are all fixed on the first slider 13 in the first electric slide 1. Figure 1-2 As shown, a lens performance detection system includes 5 second electric slides 2, that is, 5 second motors 21, 5 second slide rails 22 and 5 second sliders 23, so that 5 lenses to be tested can be tested simultaneously. The present invention only takes this as an example, and the number of lenses to be tested is adjusted according to actual needs. This technical solution improves the detection efficiency and saves the detection time.
[0072] like Figure 1 As shown, a lens performance detection system provided by the present invention also includes a motion module 3, the motion module 3 includes a motion platform 31 and a third slide rail 32, the motion platform 31 is arranged on the third slide rail 32, the motion platform 31 is used to place a calibration plate 6, and the third motor drives the motion platform 31 to move on the third slide rail 32 under the control of a computer, and moves the calibration plate 6 on the motion platform 31 to the bottom of the lens 5 to be tested.
[0073] Corresponding to the embodiment of simultaneously testing 5 lenses 5 to be tested, the motion platform 31 provided by the present invention is designed to be 25 partitions with 5 rows and 5 columns, and each partition can be placed with a calibration plate 6. Of course, the motion platform 31 is not limited to the design of 25 partitions, and it can be designed according to the number of lenses 5 to be tested 5 and the number of styles of calibration plates 6 that are actually tested simultaneously.
[0074] The calibration plate 6 used in the present invention includes five types, namely, the USAF1951 US military standard identification resolution plate, the depth of field scale, the checkerboard, the Halcon calibration plate and the standard backlight calibration plate. The USAF1951 US military standard identification resolution plate is mainly used for image capture in automatic resolution test, the checkerboard calibration plate can be used for image capture in three performance index tests of field of view, sharpness and contrast, the Halcon calibration plate can be used for image capture in automatic optical distortion test, the standard backlight calibration plate can be used for image capture in automatic uniformity test, and the depth of field scale can be used for image capture in automatic depth of field test.
[0075] We prepare the same number of calibration plates 6 as the number of lenses 5 to be tested, which is 5 in this embodiment. The number of calibration plates 6 is determined according to the number of lenses 5 to be tested. When in use, 5 calibration plates 6 of the same style are placed in each row, so that 5 lenses 5 to be tested can simultaneously capture images of the same calibration plate 6. After capturing an image of a calibration plate 6, under the control of the computer, the motion platform 31 is driven by the third motor to move toward the direction of the lens 5 to be tested, and the next set of calibration plates 6 is moved to the bottom of the lens 5 to be tested.
[0076] A lens performance testing system also includes an ID entry device for recording the ID number of the lens 5 to be tested, such as a scanner of model Honeywell 3310G-HD. After the scanner records the ID number of the lens 5 to be tested, it transmits the ID number to a computer for storage.
[0077] A lens performance detection system also includes a rangefinder, such as a Ruite brand USB laser rangefinder JWU151, which is fixed to the side of the lens 5 to be tested, with the laser head pointing vertically downward to obtain the distance between the lens 5 to be tested and the object being photographed.
[0078] Based on the above lens performance detection system, the present invention also provides a lens performance detection method, the flow chart of which is as follows: Figure 3 As shown, the method comprises the following steps:
[0079] Step S11: five cameras 4 are mounted on five second sliders 23 respectively, and five lenses 5 to be tested are mounted on the cameras 4 respectively, and the scanner records the ID numbers of the five lenses 5 to be tested.
[0080] Step S12: The computer controls the first electric slide 1 and the second electric slide 2 to reset, and the lens to be tested 5 reaches the first position.
[0081] First, the detection system is reset, including the first motor 11 driving the first slider 13 to move upward on the first slide rail 12 under the control of the computer to reach the upper limit position of the first slide rail 12, that is, close to the first motor 11; the second motor 21 driving the second slider 23 to move upward on the second slide rail 22 under the control of the computer to reach the upper limit position of the second slide rail 22, that is, close to the second motor 21, and the upper limit positions of the five second slide rails 22 are at the same level. At this time, the position reached by the five lenses 5 to be tested is the first position.
[0082] Step S13: The computer controls the first electric slide 1 to drive the lens 5 to be tested to move from the first position to a second position whose vertical distance from the motion platform 31 is the maximum object distance of the lens 5 to be tested.
[0083] When testing lens performance, lenses of the same model are generally put in the same batch for testing.
[0084] First, the computer retrieves relevant parameters from the database according to the lens model of the lens to be tested 5, and calculates the distance L1 that the first sliding block 13 needs to move downward on the first sliding rail 12 according to formula (1).
[0085] L1=H1-T1-Dx(1)
[0086] Wherein, H1 is the distance from the camera port to the motion platform 31 in the vertical direction after the system is reset, T1 is the length of the lens 5 to be tested, and Dx is the maximum object distance of the lens 5 to be tested.
[0087] Then, the computer calculates the number of pulses based on the pulse relationship between the distance L1 and the rotation of the first motor 11; the computer then sends a pulse instruction based on the pulse number to control the rotation of the first motor 11, driving the first slider 13 to move downward a distance L1 on the first slide rail 12. At this time, the vertical distance between the five lenses 5 to be tested and the motion platform 31 is the maximum object distance Dx of the lens 5 to be tested of this model, that is, it reaches the second position.
[0088] Usually, we will adjust the moving distance L1 according to the situation and set the margin △L1. The range of the margin △L1 is selected according to the needs of the tester, for example, -5mm to 5mm. In one embodiment of the present invention, △L1=-1mm is selected, then the distance L1 that the first slider 13 moves downward on the first slide rail 12=H1-T1-Dx-1. At this time, the vertical distance between the five lenses 5 to be tested and the motion platform 31 is Dx+1.
[0089] The above step S13 is the coarse focus adjustment process performed on the lens 5 to be tested.
[0090] Step S14: the computer controls the second electric slide 2 to drive the lens to be tested 5 to move from the second position to a third position whose vertical distance from the motion platform 31 is the minimum object distance of the lens to be tested 5; during the movement of the lens to be tested 5, the camera 4 and the lens to be tested 5 synchronously capture images multiple times, and record the position of the lens to be tested 5 when each image is captured.
[0091] The computer calculates the distance L2 that the second sliding block 23 moves downward on the second sliding rail 22 according to formula (2).
[0092] L2=Dx-Dn(2)
[0093] Wherein, Dx is the maximum object distance of the lens 5 to be tested, and Dn is the minimum object distance of the lens 5 to be tested.
[0094] Similarly, the computer calculates the number of pulses based on the pulse relationship between the distance L2 and the rotation of the second motor 21; then sends a pulse instruction based on the pulse number to control the rotation of the second motor 21, driving the second slider 23 to move downward a distance L2 on the second slide rail 22. At this time, the vertical distance between the five lenses 5 to be tested and the motion platform 31 is the minimum object distance Dn of the lens 5 to be tested of this model, that is, it reaches the third position.
[0095] Usually, we will adjust the moving distance L2 according to the situation and set the margin △L2. The range of the margin △L2 is selected according to the needs of the tester, for example, -5mm to 5mm. In one embodiment of the present invention, △L2=2mm is selected, that is, the distance L2 that the second slider 23 moves downward on the second slide rail 22=Dx-Dn+2. At this time, the vertical distance between the five lenses 5 to be tested and the motion platform 31 is Dn-2.
[0096] The above step S14 is the process of fine-tuning the focus of the lens to be tested 5. When the lens to be tested 5 synchronously captures images, the image capture range includes defocus-focus-defocus.
[0097] Step S15: transmitting the image information captured by the five test lenses 5 and the moving distance of the second slider 23 on the second slide rail 22 corresponding to each image information to the computer.
[0098] Step S16: The computer selects the best clear image from the captured images.
[0099] The computer uses a clarity analysis algorithm to analyze and calculate image information and select the best and clearest image.
[0100] Step S17: the computer controls the second motor 21 to drive the second slider 23 to move the lens 5 to be tested to a shooting position corresponding to the best clear image.
[0101] Through the above method, the autofocus of the five lenses to be tested is completed.
[0102] Figure 4 The flowchart of a lens performance detection method provided by the present invention is shown. The lens performance detection method provided by the present invention also includes the following steps:
[0103] Step 21: Place the calibration plate 6 on the motion platform 31 .
[0104] The calibration plates 6 are placed on the motion platform 31 in 5 rows and 5 columns, with 5 identical calibration plates 6 placed in each row.
[0105] Step 22: The computer controls the third motor to drive the motion platform 31 to move toward the lens 5 to be tested on the third slide rail 32, and the five calibration plates 6 are moved to the bottom of the lens 5 to be tested in turn. The five lenses 5 to be tested complete the image capture of the five calibration plates 6 and store them in the camera 4.
[0106] When the lens 5 to be tested completes capturing images of the five calibration plates, the computer controls the motion platform 31 to return to the initial position.
[0107] Step 23: The camera 4 stores the image information in the computer, and the computer generates performance test data of the five lenses 5 to be tested according to the image information.
[0108] In the process of analyzing and calculating the image, the computer uses a plurality of algorithms such as a clarity analysis algorithm, a resolution algorithm, and a contrast analysis algorithm, and finally generates various performance test data of the lens 5 to be tested.
[0109] Step 24: The computer obtains the object distance information of the current lens 5 to be tested through the rangefinder and stores it in the computer.
[0110] Step 25: The computer uploads the generated performance test data to the cloud disk for storage.
[0111] The computer uploads the performance test data and the corresponding ID number of the lens 5 to be tested to the cloud disk for storage, so that there is no need for manual recording of the test data, which saves human resources and avoids the possibility of losing or accidentally deleting data.
[0112] Step 26: Display the performance test data of the lens to be tested on a web page.
[0113] The present invention specially develops a corresponding Web page for displaying the performance test data of the lens 5 to be tested, so that the performance test data can be visualized. At the same time, users can query the performance test data by time period or ID number on the Web page, which provides convenience for querying or analyzing the performance test data of the lens.
[0114] Through the lens performance detection method provided by the present invention, eight optical performance indicators of the lens to be tested, including resolution, depth of field, field of view, sharpness, uniformity, contrast, distortion and object distance, can be detected, and the quality of the lens can be evaluated based on these eight performance test data.
[0115] like Figure 5 FIG. 1 is a flowchart of a resolution algorithm in a lens performance testing method provided by the present invention. When testing the resolution performance of the lens 5 to be tested, a USAF1951 US military standard identification resolution plate is used as a calibration plate. The resolution algorithm mainly includes the following steps:
[0116] Step 31: The computer locates features based on the white squares on the image captured by the lens to be tested, and determines the area that needs to be calculated;
[0117] Step 32: The computer calculates the MTF values of the black and white line pairs in the area;
[0118] MTF is the abbreviation of Modulation Transfer Function, which means modulation transfer function in Chinese. In the resolution algorithm, three templates are established, corresponding to different calculation areas. The computer calculates the MTF of black and white line pairs in the area based on the templates;
[0119] Step 33: Determine whether the currently calculated MTF value of the black and white line pair is less than the minimum threshold; if it is less than the minimum threshold, execute step 34; if it is greater than the minimum threshold, jump to step 32 to continue execution;
[0120] Step 34: Output the line pair layer value corresponding to the previous set of black and white line pairs of the current black and white line pair.
[0121] The above resolution algorithm uses artificial intelligence learning technology and combines human eye recognition and judgment methods as training basis to complete lens resolution testing of different magnifications. The algorithm has consistent lens resolution detection basis, does not have the subjectivity of human eye recognition, and produces high-quality resolution detection results.
[0122] The present invention provides a lens performance detection system and method, which can detect multiple lenses at a time, simplify the test operation, improve the stability and reliability of the test data, reduce the misdetection of the results, directly store the test data in the cloud, avoid data loss or accidental deletion, and present the data on a visual web page, which is more convenient for querying and analyzing the lens test data.
[0123] For all manufacturers who develop, produce and use lenses, if they need to evaluate and monitor the quality of lenses, they can apply the lens performance detection system and method provided by the present invention.
[0124] It can be understood that the above specific description of the present invention is only used to illustrate the present invention and is not limited to the technical solutions described in the embodiments of the present invention. Those skilled in the art should understand that the present invention can still be modified or replaced by equivalents to achieve the same technical effects; as long as the use requirements are met, they are within the protection scope of the present invention.
Claims
1. A lens performance detection method, It is characterized in that The following steps are involved: Arrange a first electric slide and a second electric slide, and arrange the second electric slide on the first electric slide; Fix the camera on the second electric slide and install the lens to be tested on the camera; A loading platform is arranged below the lens to be tested; The computer controls the first electric slide and the second electric slide to reset, and the lens to be tested reaches the first position; The computer controls the first electric slide to drive the lens to be tested to move from the first position to the second position, and the vertical distance between the second position and the object-carrying platform is the maximum object distance of the lens to be tested; The computer controls the second electric slide to drive the lens to be tested to move from the second position to the third position, and the vertical distance between the third position and the object-carrying platform is the minimum object distance of the lens to be tested; During the movement of the lens to be tested, the camera is used to synchronously capture images for multiple times, and the position of the lens to be tested is recorded each time an image is captured, and the captured image information and the position of the lens to be tested are transmitted to the computer; The computer selects the best clear image from the captured pictures; The computer controls the second electric slide to drive the lens to be tested to move to the shooting position of the best clear image; A third motor is provided to drive the loading platform to move; Loading a plurality of calibration plates on the loading platform; The computer controls the third motor to drive the loading platform to move the calibration plate under the lens to be tested; The lens to be tested captures the image of the calibration plate and stores the image information in a computer; The computer generates test data of the lens to be tested according to the image information; Step 1: The computer locates the features of the white squares on the image taken by the lens to be tested and determines the area that needs to be calculated; Step 2: The computer calculates the MTF values of the black and white line pairs in the area; Step 3: Determine whether the currently calculated MTF value of the black and white line pair is less than the minimum threshold; if it is less than the minimum threshold, execute step 4; if it is greater than the minimum threshold, jump to step 2 to continue execution; Step 4: Output the line pair layer value corresponding to the previous set of black and white line pairs of the current black and white line pair.
2. A lens performance detection method as claimed in claim 1, It is characterized in that The method further comprises the steps of: A cloud disk is set up, and the computer uploads the generated test data to the cloud disk for storage.
3. A lens performance detection method as claimed in claim 2, It is characterized in that The method further comprises the steps of: Develop a web page and display the test data stored in the cloud disk on the web page.
4. A lens performance detection system, used to implement the lens performance detection method according to any one of claims 1 to 3, It is characterized in that include: First electric slide; a second electric slide, the second electric slide being mounted on the first electric slide; Camera, mounted on the second electric slide; A lens to be tested, mounted on the camera; The first electric slide table drives the second electric slide table to move, and performs coarse focus adjustment on the lens to be tested; The second electric slide table drives the lens to be tested to move, and performs fine focus adjustment on the lens to be tested; The computer obtains the image information captured by the lens to be tested, and controls the movement of the second electric slide according to the image information.
5. A lens performance detection system as claimed in claim 4, It is characterized in that The first electric slide comprises a first motor, a first slide rail and a first slider. The first slider is arranged on the first slide rail, and the first motor drives the first slider to move on the first slide rail.
6. A lens performance detection system as claimed in claim 5, It is characterized in that The second electric slide comprises a second motor, a second slide rail and a second slider, the second slider is arranged on the second slide rail, the second motor drives the second slider to move on the second slide rail, and the second slide rail is fixed on the first slider.
7. A lens performance detection system as claimed in claim 4, It is characterized in that It also includes a motion module, which moves the calibration plate to below the lens to be tested under the drive of a third motor.
8. A lens performance detection system as claimed in claim 7, It is characterized in that The motion module includes a motion platform and a third slide rail. The motion platform is arranged on the third slide rail. The third motor drives the motion platform to move on the third slide rail.
9. A lens performance detection system as claimed in claim 4, It is characterized in that It also includes a rangefinder, which is installed on the side of the lens to be tested, and the laser head of the rangefinder is vertically downward.
10. A lens performance detection system as claimed in claim 4, It is characterized in that It also includes an ID entry device, which records the ID number of the lens to be tested and transmits the ID number to the computer.
Citation Information
Patent Citations
Control method capable of supporting simultaneous automatic focusing of 12 cameras at most
CN110568699A
Lens performance detection system
CN213403309U
