Binocular camera lens optical center change measuring method and device and electronic equipment
By setting markers on the outer diameter of the binocular camera lens and establishing an absolute reference coordinate system using a positioning device, the problems of insufficient measurement accuracy and large human error in the existing technology are solved, and high-precision measurement of optical center change and stability determination are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- YUANQIAO TECHNOLOGY (JIAN) CO LTD
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-14
AI Technical Summary
Existing lens center deviation measurement technology has problems such as insufficient measurement accuracy, inability to accurately reflect optical center changes, and large human error in the inspection of binocular camera lenses, making it difficult to meet the requirements for lens optical center stability.
By setting markers on the outer diameter of the lens under test and establishing an absolute reference coordinate system using the contact points of the positioning device, the spatial coordinates of the optical center before and after the environmental test are directly measured. The three-point positioning method is used to ensure the consistency of the measurement reference. The optical center coordinates are obtained by combining the optical measurement system, and the stability of the optical center is determined by using a preset threshold.
It improves the stability and reliability of measurement data for the optical center change of binocular camera lenses, reduces human error, and achieves high-precision calculation and determination of optical center change.
Smart Images

Figure CN121855833A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical measurement technology, and in particular to a method, apparatus, and electronic device for measuring the optical center change of a binocular camera lens. Background Technology
[0002] With the rapid development of optical imaging technology, binocular cameras have been widely used in industrial inspection, intelligent manufacturing and other fields due to their stereo vision advantages. Binocular cameras achieve three-dimensional reconstruction by fitting images from two lenses, which requires extremely high stability of the lens optical center. Typically, the change in optical center of the lens is required to be less than 0.5µm under various environmental stresses (vibration, drop, high and low temperatures, humidity and heat, etc.).
[0003] Existing lens center deviation measurement techniques are mainly divided into two categories: interferometry and autocollimation imaging. Interferometry calculates center deviation by utilizing the displacement of interference fringes. Although it has the characteristics of high precision and high sensitivity, the system structure is complex and the operation is difficult. It is mainly used in scientific research fields, while autocollimation imaging is commonly used for civilian lens measurement.
[0004] Transmission-based autocollimation imaging, a mainstream technology in the industry, illuminates a reticle with a light source, which then projects the image onto a detector through a collimator, the lens under test, and a focusing lens. When the lens under test has a center deviation, rotating the lens causes the reticle image to move in a circular motion, and the eccentricity is determined by measuring the radius of the trajectory circle. The OptiCentric series instruments from the German company Trioptics represent this technology, achieving a measurement accuracy of ±1µm and becoming the industry benchmark. However, existing technologies have significant shortcomings in the inspection of binocular camera lenses: First, the measurement accuracy is insufficient; the ±1µm measurement error of benchmark equipment exceeds the <0.5µm specification requirement for binocular lenses. Second, existing difference measurement methods only calculate the change in eccentricity before and after the test, without considering the eccentricity direction shift, thus failing to accurately reflect the actual optical center change. Third, the rotating circular measurement method is highly dependent on operator skill, prone to human error, and requires repeated measurements and averaging, resulting in a lengthy process. These problems severely restrict the accurate assessment and quality control of the optical center stability of binocular camera lenses.
[0005] Therefore, there is an urgent need to provide a technical solution to address the above problems. Summary of the Invention
[0006] To address the aforementioned technical problems, this invention provides a method, apparatus, and electronic device for measuring the optical center change of a binocular camera lens.
[0007] In a first aspect, the present invention provides a method for measuring the optical center change of a binocular camera lens, the technical solution of which is as follows: The lens under test of the binocular camera is carried in the positioning device, wherein a first mark point is provided on the outer diameter side of the lens under test, and a second mark point is provided on the positioning device, and the first mark point and the second mark point coincide. A first reference point is determined based on at least three contact points formed by the positioning device on the outer diameter of the lens under test. With the first reference point as the origin and the direction from the first reference point to the first mark point as the coordinate axis, a first coordinate system is established, and the first coordinate of the optical center of the lens under test in the first coordinate system is obtained. After the lens under test completes the environmental test, the lens under test is placed in the positioning device again, and a second reference point is determined based on at least three contact points formed by the positioning device on the outer diameter of the lens under test. Using the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, a second coordinate system is established, and the second coordinate of the optical center of the lens under test in the second coordinate system is obtained; Determine the change in the optical center of the lens under test based on the first and second coordinates; The change in optical center is compared with a preset threshold, and the optical center stability of the lens under test is determined based on the comparison result.
[0008] The beneficial effects of the binocular camera lens optical center change measurement method of the present invention are as follows: The method of the present invention establishes an absolute reference coordinate system by setting a marker point on the outer diameter of the lens under test and using the contact point of the positioning device to directly measure the spatial coordinates of the optical center before and after the environmental test. This solves the problems of large human error and failure to consider the offset direction of the traditional rotating circle measurement method, and improves the stability and reliability of the measurement of the optical center change of the binocular camera lens.
[0009] Based on the above scheme, the method for measuring the optical center change of a binocular camera lens of the present invention can be further improved as follows.
[0010] In one alternative approach, the step of mounting the lens under test of the binocular camera in the positioning device includes: The V-shaped positioning structure of the positioning device supports the lens under test, which has the first marked point, so that the two support points on the outer diameter of the lens under test are in contact with the inner wall of the V-shaped positioning structure respectively. The mechanical probe of the control positioning device contacts a third point on the outer diameter of the lens being tested, which is different from the two support points, and the third point is not collinear with the two support points; Control and adjust the orientation of the lens under test in the V-shaped positioning structure until the first marker point coincides with the second marker point.
[0011] The advantages of adopting the above-mentioned optional method are: by further using the three-point contact method formed by the V-shaped positioning structure and the mechanical probe, the lens under test can be stably clamped and accurately positioned, improving the position repeatability accuracy during the measurement process and reducing the measurement uncertainty caused by positioning deviation.
[0012] In one alternative approach, the step of determining the first reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test includes: Based on the positional information of the two support points and the third point, the center of the first circumcircle formed by the two support points and the third point is calculated, and the center of the first circumcircle is determined as the first reference point.
[0013] The advantages of using the above-mentioned optional method are: further utilizing the three contact points to calculate the center of the circumscribed circle as the measurement reference point, establishing a precise reference center directly related to the geometric characteristics of the lens outer diameter, and providing a reliable origin basis for the construction of the coordinate system.
[0014] In one optional approach, the step of establishing a first coordinate system with the first reference point as the origin and the direction from the first reference point to the first mark point as the coordinate axis direction, and obtaining the first coordinate of the optical center of the lens under test in the first coordinate system includes: The direction from the first reference point to the first marker point is determined as the coordinate axis direction; Establish a first coordinate system with the first reference point as the origin and the coordinate axes as the axes; The optical center of the lens under test is obtained in the first coordinate system by using an optical measurement system.
[0015] The advantages of using the above-mentioned optional method are: further determining the coordinate axis direction based on the lens outer diameter mark point, establishing a measurement coordinate system in conjunction with the reference point, and directly obtaining the optical center coordinates using an optical measurement device to achieve high-precision spatial positioning measurement.
[0016] In one alternative approach, after the lens under test has completed environmental testing, the step of repositioning the lens under test in the positioning device and determining a second reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test includes: After the lens under test completes the environmental test, the lens under test is placed in the positioning device. Based on the position information of the two support points and the third point obtained by the second contact, the center of the second circumcircle formed by the two support points and the third point obtained by the second contact is calculated, and the center of the second circumcircle is determined as the second reference point.
[0017] The advantages of using the above-mentioned optional method are: after the environmental test, the same three-point positioning method is used to re-determine the reference point, ensuring the consistency of the measurement reference before and after the test, and providing a comparable coordinate reference for accurately calculating the change of optical center.
[0018] In one alternative approach, the step of establishing a second coordinate system with the second reference point as the origin and based on the same coordinate axis directions as determined in the first coordinate system, and obtaining the second coordinates of the optical center of the lens under test in the second coordinate system, includes: A second coordinate system is established with the second reference point as the origin and the same coordinate axis directions as when the first coordinate system was established. The optical center of the lens under test is obtained in the second coordinate system using an optical measurement system.
[0019] The advantages of using the above optional method are: further use the same marker points to determine the direction of the coordinate axes to establish a second coordinate system, ensuring that the directions of the two measurement coordinate systems are consistent, and obtaining the optical center coordinates after the experiment through an optical measurement device.
[0020] In one alternative approach, the step of determining the change in the optical center of the lens under test based on the first and second coordinates includes: Calculate the straight-line distance between the first coordinate and the second coordinate, and determine the straight-line distance as the change in the optical center of the lens being measured.
[0021] The advantages of using the above-mentioned optional method are: further directly calculating the straight-line distance between the two optical center coordinates as the change, comprehensively considering all displacement components of the optical center in three-dimensional space, and accurately reflecting the actual degree of offset of the lens optical center.
[0022] In one optional approach, the step of comparing the change in optical center with a preset threshold and determining whether the optical center stability of the lens under test is qualified based on the comparison result includes: Compare the change in optical center with a preset threshold; If the change in optical center is less than the preset threshold, the optical center stability of the lens under test is deemed to be qualified. If the change in optical center is greater than or equal to a preset threshold, the optical center stability of the lens under test is determined to be unqualified, and a warning message is output.
[0023] The advantages of adopting the above-mentioned optional method are: further quantifying the change in optical center by setting a preset threshold, avoiding subjective differences in human judgment, outputting early warning information and timely feedback of unqualified results, and improving the consistency and reliability of the judgment process.
[0024] Secondly, the present invention provides a device for measuring the optical center change of a binocular camera lens, the technical solution of which is as follows: A camera positioning module is used to carry the lens under test of a binocular camera in a positioning device. The lens under test has a first mark point on its outer diameter side and a second mark point on the positioning device. The first mark point and the second mark point coincide. The first determining module is used to determine a first reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test; The first acquisition module is used to establish a first coordinate system with the first reference point as the origin and the direction from the first reference point to the first mark point as the coordinate axis direction, and to acquire the first coordinate of the optical center of the lens under test in the first coordinate system. The second determining module is used to, after the lens under test has completed the environmental test, place the lens under test in the positioning device again, and determine the second reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test. The second acquisition module is used to establish a second coordinate system with the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, and to acquire the second coordinate of the optical center of the lens under test in the second coordinate system. The change measurement module is used to determine the change in the optical center of the lens under test based on the first coordinate and the second coordinate. The optical measurement module is used to compare the change in optical center with a preset threshold and determine whether the optical center stability of the lens under test is qualified based on the comparison result.
[0025] The beneficial effects of the binocular camera lens optical center change measurement device of the present invention are as follows: The device of the present invention directly measures the spatial coordinates of the optical center before and after environmental testing by setting a marker point on the outer diameter of the lens under test and establishing an absolute reference coordinate system using the contact point of the positioning device. This solves the problems of large human error and failure to consider the offset direction of the traditional rotating circle measurement method, and improves the stability and reliability of the measurement of the optical center change of the binocular camera lens.
[0026] Thirdly, the technical solution of an electronic device according to the present invention is as follows: It includes a memory, a processor, and a program stored in the memory and running on the processor. When the processor executes the program, it implements the steps of the binocular camera lens optical center change measurement method of the present invention.
[0027] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0028] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart illustrating an embodiment of a method for measuring the optical center change of a binocular camera lens according to the present invention. Figure 2 This is a schematic diagram of the measuring device. Figure 3 This is a schematic diagram of an embodiment of a binocular camera lens optical center change measurement device according to the present invention; Figure 4 This is a schematic diagram of an embodiment of an electronic device according to the present invention. Detailed Implementation
[0029] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0030] Figure 1 This diagram illustrates a flowchart of an embodiment of a method for measuring the optical center change of a binocular camera lens provided by the present invention. This method can be executed by an electronic device such as a terminal device or a server. The terminal device can be any fixed or mobile terminal, such as a user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, in-vehicle device, or wearable device. The server can be a single server or a server cluster consisting of multiple servers. Any electronic device can implement the method for measuring the optical center change of a binocular camera lens by having its processor call computer-readable instructions stored in its memory. Figure 1 As shown, it includes the following steps: S1. The lens 11 of the binocular camera is placed in the positioning device 10. The lens 11 has a first mark point 13 on its outer diameter side and a second mark point on the positioning device 10. The first mark point 13 and the second mark point coincide.
[0031] Here, "binocular camera" refers to a camera system with two independent optical imaging channels that acquires stereo images and performs 3D reconstruction by simulating the principle of binocular parallax; for example, a device for 3D dimension inspection of industrial parts, comprising left and right imaging lenses and an image sensor. "Lens under test 11" refers to a single lens assembly constituting the optical imaging system of the binocular camera, the specific object for which optical center stability measurement is required; for example, a single lens detached from the left imaging module of a binocular camera for part inspection, comprising a lens barrel, lens group, and filter. "Positioning device 10" refers to a mechanical device used to fix, support, and determine the spatial position of the lens under test 11 during measurement; for example, an integrated fixture comprising a V-shaped positioning structure 12 and a mechanical probe 16, used to stabilize and fix the cylindrical outer diameter of the lens. "Outer diameter side" refers to the cylindrical circumferential surface outside the lens barrel of the lens under test 11; for example, the cylindrical outer wall of the lens barrel to be inspected, with a diameter of approximately 30 mm and a frosted surface. The first marker 13 refers to a physical mark with a fixed shape and position attached to the outer diameter side of the lens 11 being measured, used to determine the rotational orientation of the lens during measurement; for example, a cylindrical protrusion formed by curing adhesive, with a height of 0.8 mm and a diameter of 1.5 mm, located 10 mm from the front end on the outer diameter side of the lens. The second marker refers to a fixed reference mark set on the positioning device 10, used to align with the first marker 13 to determine the lens orientation; for example, a cross-shaped engraving etched on the base of the positioning device 10.
[0032] S2. Determine the first reference point based on at least three contact points formed by the positioning device 10 on the outer diameter of the lens 11 under test.
[0033] The "at least three contact points" refers to a set of three or more points used for geometric positioning formed by the physical contact between the positioning device 10 and the outer diameter side of the lens 11 being measured during measurement; for example, the two support points formed by the contact between the two inner inclined surfaces of the V-shaped positioning structure 12 and the outer diameter of the lens, and the third point formed by the contact between the tip of the mechanical probe 16 and the outer diameter of the lens. The "first reference point" refers to a geometric reference point calculated based on the spatial positions of the at least three contact points before environmental testing, serving as the origin of the coordinate system for the first measurement; for example, the center of the circumscribed circle calculated using the three-point circle-fixing algorithm based on the coordinates of the three contact points formed by the V-shaped positioning structure 12 and the mechanical probe 16 is the first reference point.
[0034] S3. With the first reference point as the origin and the direction from the first reference point to the first mark point 13 as the coordinate axis, establish a first coordinate system and obtain the first coordinate of the optical center 14 of the lens under test 11 in the first coordinate system.
[0035] The coordinate axis direction refers to the fixed reference axis defined by the direction from the reference point to the marker point in the established measurement coordinate system, usually used as the positive direction of the X-axis or Y-axis of the coordinate system; for example, the direction from the first reference point to the first marker point 13 that coincides with the second marker point is defined as the positive X-axis direction of the established coordinate system. The first coordinate system refers to a two-dimensional rectangular coordinate system established before the environmental test, with the first reference point as the origin and the aforementioned coordinate axis direction as the axis; for example, a plane rectangular coordinate system established with the calculated first reference point as the origin and the direction from that point to the coincident marker point as the positive X-axis direction, used to record the position of the optical center before the test. The optical center 14 of the lens under test 11 refers to the focal point where the principal optical axis of the optical system of the lens under test 11 intersects the image plane, which is a key geometric point for measuring the optical performance of the lens; for example, the center point where rays of light incident at infinity parallel to the optical axis converge on the focal plane after being refracted by all the lenses of the lens under test 11. The first coordinate refers to the specific position value of the optical center 14 of the lens under test 11 in the first coordinate system before environmental testing; for example, the first coordinate of the optical center 14 in the first coordinate system is (5.2μm, -3.1μm) obtained by optical measurement.
[0036] S4. After the test lens 11 completes the environmental test, the test lens 11 is placed in the positioning device 10 again, and a second reference point is determined based on at least three contact points formed by the positioning device 10 on the outer diameter of the test lens 11.
[0037] The environmental test refers to a series of stress tests conducted to assess the reliability of the lens 11 under test, simulating the harsh conditions it may encounter during transportation, storage, and use. For example, vibration tests, drop tests, high and low temperature cycling tests, and high temperature and high humidity tests are performed on the lens in sequence. The second reference point refers to a geometric reference point calculated based on at least three newly formed contact points when the lens 11 under test is placed on the positioning device 10 again after the environmental test. For example, after the lens is repositioned after the test, the center of the new circumscribed circle calculated by the V-shaped positioning structure 12 and the mechanical probe 16 at the new contact point position is the second reference point.
[0038] S5. Using the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, establish a second coordinate system and obtain the second coordinate of the optical center 14 of the lens under test 11 in the second coordinate system.
[0039] The second coordinate system refers to a two-dimensional rectangular coordinate system established after the environmental test, with the second reference point as the origin and the same coordinate axis direction as when the first coordinate system was established. For example, a plane rectangular coordinate system established with the second reference point as the origin and the same direction pointing from that point to the coincident mark point as the positive X-axis, used to record the position of the optical center after the test. The second coordinate refers to the specific position value of the optical center 14 of the lens under test 11 in the second coordinate system after the environmental test. For example, the second coordinate of the optical center 14 in the second coordinate system obtained by optical measurement is (7.8μm, -2.5μm).
[0040] S6. Determine the change in the optical center of the lens 11 under test based on the first and second coordinates.
[0041] Among them, the change in optical center refers to the value used to quantify the degree of shift in the position of the optical center of the lens 11 before and after the environmental test. It is the straight-line distance between the coordinate points of the optical center 14 obtained from the two measurements. For example, the straight-line distance of 2.68 μm calculated based on the first coordinate (5.2, -3.1) and the second coordinate (7.8, -2.5) is the change in optical center.
[0042] S7. Compare the change in optical center with a preset threshold, and determine whether the optical center stability of the lens 11 under test is qualified based on the comparison result.
[0043] The preset threshold refers to a pre-defined quantitative standard value used to determine whether the optical center stability is qualified. For example, based on the performance requirements of a binocular camera, the qualified standard for optical center change is preset to 0.5μm, which can be adjusted according to actual needs without limitation. The comparison result refers to the qualitative conclusion drawn after comparing the optical center change with the preset threshold. For example, if the comparison shows that the optical center change of 2.68μm is greater than the preset threshold of 0.5μm, the preliminary conclusion is that it exceeds the standard. Whether the optical center stability is qualified refers to the final judgment on the resistance of the optical center of the measured lens to environmental stress based on the comparison result. For example, because the optical center change exceeds the preset threshold, the optical center stability of the tested lens 11 is ultimately determined to be unqualified.
[0044] The technical solution of this embodiment solves the problems of large human error and failure to consider eccentricity offset in the traditional rotating circle measurement method by setting a mark point on the outer diameter of the lens under test and establishing an absolute reference coordinate system using the contact point of the positioning device, and directly measuring the spatial coordinates of the optical center before and after the environmental test. This improves the stability of the measurement of optical center change of binocular camera lens and the reliability of the measurement data.
[0045] In one alternative approach, S1 specifically includes: The V-shaped positioning structure 12 of the positioning device 10 carries the lens 11 to be tested, which has a first mark point 13, so that the two support points on the outer diameter of the lens 11 to be tested are in contact with the inner wall of the V-shaped positioning structure 12 respectively.
[0046] The V-shaped positioning structure 12 refers to a fixed support component in the positioning device 10 with a V-shaped cross-section, used to provide definite two-point contact support for the cylindrical lens 11 under test; for example, a V-shaped block made of high-hardness metal with a V-groove opening angle of 90 degrees, used to stably support the cylindrical outer diameter of the lens. The two support points refer to the two physical contact points formed when the outer diameter of the lens 11 under test contacts the two inner surfaces of the V-shaped positioning structure 12; for example, the lens outer diameter contacts the left inclined surface of the V-groove to form one point, and contacts the right inclined surface to form another point, these two points constitute the two support points required for positioning.
[0047] The mechanical probe 16 of the control positioning device 10 contacts a third point on the outer diameter of the lens 11 being tested, which is different from the two support points, and the third point is not collinear with the two support points.
[0048] The mechanical probe 16 refers to a probe component in the positioning device 10 that can be precisely controlled to move and sense contact, used to actively contact the outer diameter of the lens 11 under test to provide a third positioning point; for example, a ruby probe connected to a precision electric displacement stage, which can move in a set direction and contact the outer diameter of the lens. The third point refers to the physical contact point formed by the mechanical probe 16 contacting the outer diameter of the lens, used to jointly determine a reference point with the two support points; for example, a point formed by the spherical probe of the mechanical probe 16 perpendicularly contacting the top of the outer diameter of the lens, which is not collinear with the two support points.
[0049] Control and adjust the orientation of the lens 11 under test in the V-shaped positioning structure 12 until the first marker point 13 coincides with the second marker point.
[0050] In the above-mentioned optional methods, the three-point contact method formed by the V-shaped positioning structure and the mechanical probe is further used to achieve stable clamping and precise positioning of the lens under test, improve the position repeatability accuracy during the measurement process, and reduce the measurement uncertainty caused by positioning deviation.
[0051] In one alternative approach, S2 specifically includes: Based on the positional information of the two support points and the third point, the center of the first circumcircle formed by the two support points and the third point is calculated, and the center of the first circumcircle is determined as the first reference point.
[0052] The location information refers to the spatial coordinate data of feature points such as contact points or marker points acquired by sensors during the measurement process. For example, by reading the values of a high-precision grating ruler and encoder, the precise coordinates of the two support points of the V-shaped positioning structure 12 and the third point of the mechanical probe 16 in the equipment coordinate system can be obtained. The center of the first circumscribed circle refers to the center of a circle uniquely determined by the three contact points formed by the V-shaped positioning structure 12 and the mechanical probe 16 before the environmental test. For example, the center coordinates of the circle obtained by substituting the coordinates of the three contact points measured before the test into the center calculation formula are the center coordinates of the first circumscribed circle.
[0053] In the above-mentioned optional methods, the center of the circumscribed circle is further calculated using the three contact points as the measurement reference point to establish a precise reference center directly related to the geometric characteristics of the lens outer diameter, providing a reliable origin basis for the construction of the coordinate system.
[0054] In one alternative approach, the step of establishing a first coordinate system with the first reference point as the origin and the direction from the first reference point to the first mark point 13 as the coordinate axis, and obtaining the first coordinate of the optical center 14 of the lens under test 11 in the first coordinate system includes: The direction from the first reference point to the first marker point 13 is determined as the coordinate axis direction.
[0055] Establish a first coordinate system with the first reference point as the origin and the coordinate axes as the axes.
[0056] The optical center 14 of the lens under test 11 is obtained in the first coordinate system using an optical measurement system.
[0057] Among them, the optical measurement system refers to a measurement system based on optical principles used for non-contact detection and positioning of the optical center position of the lens 11 under test; for example, a transmission autocollimating imager including a monochromatic light source, a reticle, a collimating lens, a focusing lens and an area array detector.
[0058] In the above-mentioned optional methods, the coordinate axis direction is further determined based on the lens outer diameter mark point, a measurement coordinate system is established in combination with the reference point, and the optical center coordinates are directly obtained using an optical measurement device to achieve high-precision spatial positioning measurement.
[0059] In one alternative approach, S4 specifically includes: After the lens under test 11 completes the environmental test, the lens under test 11 is carried in the positioning device 10. Based on the position information of the two support points and the third point obtained by the second contact, the center of the second circumscribed circle formed by the two support points and the third point obtained by the second contact is calculated, and the center of the second circumscribed circle is determined as the second reference point.
[0060] The center of the second circumscribed circle refers to the center of a circle determined by the three new contact points formed by the re-contact when the lens 11 under test is repositioned after the environmental test; for example, the new center coordinates are obtained by substituting the coordinates of the three contact points remeasured after the test into the same center calculation formula.
[0061] In the above-mentioned optional methods, the same three-point positioning method is used to re-determine the reference point after the environmental test to ensure the consistency of the measurement reference before and after the test, and to provide a comparable coordinate reference for accurately calculating the change of optical center.
[0062] In one alternative approach, S5 specifically includes: A second coordinate system is established with the second reference point as the origin and the same coordinate axis directions as when the first coordinate system was established.
[0063] The optical center 14 of the lens under test 11 is obtained in the second coordinate system using an optical measurement system.
[0064] In the above optional methods, the same marker points are used to determine the direction of the coordinate axes to establish a second coordinate system, ensuring that the directions of the two measurement coordinate systems are consistent, and the optical center coordinates after the experiment are obtained through an optical measurement device.
[0065] In one alternative approach, S6 specifically includes: Calculate the straight-line distance between the first coordinate and the second coordinate, and determine the straight-line distance as the change in the optical center of the lens 11 under test.
[0066] The straight-line distance refers to the length of the line segment connecting two coordinate points in two-dimensional or three-dimensional space; for example, the length value of 2.68 μm is calculated using the Euclidean distance formula based on the first and second coordinate points.
[0067] In the above-mentioned optional methods, the straight-line distance between the two optical center coordinates is further calculated directly as the change, and all displacement components of the optical center in three-dimensional space are comprehensively considered to accurately reflect the actual degree of offset of the lens optical center.
[0068] In one alternative approach, S7 specifically includes: The change in optical center is compared with a preset threshold.
[0069] If the change in optical center is less than the preset threshold, the optical center stability of the tested lens 11 is deemed to be qualified.
[0070] If the change in optical center is greater than or equal to a preset threshold, the optical center stability of the lens under test 11 is determined to be unqualified, and a warning message is output.
[0071] Among them, the warning information refers to the prompt or report information automatically generated by the measurement system when the optical center stability is determined to be unqualified; for example, the system displays a red warning message on the screen indicating that the optical center change exceeds the standard, and automatically generates a non-compliance report that records detailed measurement data and judgment results.
[0072] In the above-mentioned optional methods, the change in optical center is further quantified by a preset threshold to avoid subjective differences in human judgment, output early warning information and promptly feedback unqualified results, thereby improving the consistency and reliability of the judgment process.
[0073] To better illustrate the technical solution of this embodiment, the following complete example is used for explanation. Specifically: like Figure 2 As shown, the measurement device used in the binocular camera lens optical center change measurement method of this embodiment includes a light source, a reticle, a collimator, a positioning device 10 for supporting the lens 11 under test, a focusing lens, an autocollimator, and a detector. The light source illuminates the reticle, and the light rays become parallel light after passing through the collimator and are imaged at infinity. After the parallel light passes through the lens 11 under test, it is imaged on its focal plane. This image then passes through the focusing lens and the autocollimator, and is finally imaged on the detector. When the lens 11 under test has a center deviation, the image formed by the reticle on its focal plane will deviate from the reference optical axis of the measurement device. It should be noted that the lens reference axis 15 is a conceptual axis defined by the origin and coordinate axis direction of the first coordinate system and the second coordinate system, respectively. Specifically, the origin (i.e., the first reference point or the second reference point) of the coordinate system (first coordinate system or second coordinate system) established during each measurement determines a positioning point of the axis in space, and the coordinate axis direction (i.e., the direction from the origin to the marker point) determines the direction of the axis. Therefore, the lens reference axis 15 is a virtual reference line that is attached to and embodies the geometric properties of the coordinate system.
[0074] Step 1: Set the first marker point 13 and place the lens on the positioning device 10.
[0075] Before measurement, a first marker 13 is set on the outer diameter side of the lens 11 of the binocular camera. The first marker 13 is a raised structure, made of the same material as the lens housing, with a height between 0.5mm and 1mm and a diameter between 1mm and 2mm. The position of the first marker 13 must avoid the optically effective area of the lens, and the relative position between the first marker 13 and the optical center 14 of the lens is fixed. The lens 11 with the first marker 13 is placed in the positioning device 10, and the orientation of the lens 11 is adjusted so that the first marker 13 coincides with the second marker set on the positioning device 10, thereby fixing the placement orientation of the lens in subsequent measurements.
[0076] Step 2: Form a contact point and obtain position information through positioning device 10.
[0077] The positioning device 10 includes a V-shaped positioning structure 12 and a mechanical probe 16. The lens 11, with its orientation already fixed, is placed within the V-groove of the V-shaped positioning structure 12, so that two support points on the outer diameter of the lens contact the inner wall of the V-shaped positioning structure 12. The mechanical probe 16 is moved so that its tip contacts a third point on the outer diameter of the lens 11, different from the two support points, and this third point is not collinear with the two support points. The precise position information of these three contact points is obtained through a measuring device.
[0078] Step 3: Determine the first reference point and establish the first coordinate system.
[0079] Based on the positional information of the three contact points formed by the V-shaped positioning structure 12 and the mechanical probe 16 on the outer diameter of the lens under test 11, the first reference point is determined by calculating the center of the circumcircle formed by these three points. A first coordinate system is established with the first reference point as the origin and the direction from the first reference point to the first marker point 13 as the coordinate axis direction.
[0080] Step 4: Obtain the first coordinates of the optical center before the environmental test.
[0081] The optical measurement system is activated. A monochromatic light source illuminates the reticle, and the light sequence passes through a collimator, the lens under test 11, a focusing lens, and an autocollimator, ultimately forming an optical center imaging point on the detector. A machine vision algorithm is used to identify the optical center imaging point on the detector, and the coordinates of this imaging point in the first coordinate system are read. These coordinates represent the optical center position of the lens under test 11 before the environmental test, and are called the first coordinates, denoted as C1(X1,Y1). These coordinates are then stored in the database.
[0082] Step 5: Conduct environmental tests on the footage before the environmental test.
[0083] According to industry testing standards for binocular camera lenses, a series of environmental tests were conducted on the tested lens 11, which had already undergone measurement. These environmental tests included: a vibration test (frequency range 10Hz~2000Hz, acceleration 10g, lasting 60 minutes); a drop test (dropping from a height of 1.5m onto a concrete surface, repeated 3 times); a high and low temperature cycling test (cycling 5 times between -40℃ and 85℃, each cycle maintaining extreme temperatures for 2 hours); and a high temperature and high humidity test (continuously at 60℃ and 90% relative humidity for 48 hours). After the tests, the lens was left to stand for 2 hours to allow it to return to room temperature.
[0084] Step 6: After the experiment, re-determine the benchmark point and establish a second coordinate system.
[0085] After the environmental test is completed, the test lens 11 of the binocular camera is placed back into the positioning device 10. Step two is repeated to make the first marker point 13 coincide with the second marker point, and three new contact points are obtained. Based on the new contact point position information, the center of a new circumcircle is calculated, and this center is determined as the second reference point. A second coordinate system is established with the second reference point as the origin and based on the same coordinate axis directions as when the first coordinate system was established.
[0086] Step 7: Obtain the second coordinates of the optical center after the environmental test.
[0087] The optical center 14 of the lens under test 11 is obtained again through optical measurement device and machine vision algorithm in the second coordinate system. The coordinate value is the position of the optical center after environmental test, called the second coordinate, denoted as C2(X2,Y2), and the coordinate value of the second coordinate is stored.
[0088] Step 8: Calculate and determine the change in optical center.
[0089] Based on the stored first and second coordinates, the straight-line distance between them is calculated. This straight-line distance is the change in optical center ΔC of the tested lens 11. The calculation formula is as follows: ΔC = √[(X2-X1)² + (Y2-Y1)²]. Wherein, ΔC represents the change in optical center of the lens, in μm; X1 and Y1 represent the X-axis and Y-axis coordinates of the optical center 14 in the first coordinate system before the test; X2 and Y2 represent the X-axis and Y-axis coordinates of the optical center 14 in the second coordinate system after the test. The calculated change in optical center ΔC is compared with a preset threshold (default is 0.5μm). If ΔC is less than the preset threshold, the optical center stability of the tested lens 11 is deemed qualified; if ΔC is greater than or equal to the preset threshold, the optical center stability of the tested lens 11 is deemed unqualified, and a warning message can be output. At the same time, a measurement report containing all measurement data and judgment results is generated.
[0090] It should be noted that the fundamental reason why this embodiment can calculate the coordinates of the optical center 14 obtained in two different coordinate systems is that the coordinate systems established by the two measurements have strictly consistent coordinate axis directions. Although the physical state of the lens may change slightly before and after the environmental test, causing the first reference point and the second reference point determined by the three-point positioning to be not exactly the same in space, by making the first mark point 13 on the lens under test 11 coincide with the second mark point on the positioning device 10, the direction of the lens is fixed to the same orientation in each measurement, thereby ensuring that the coordinate axis directions of the first coordinate system established in the first time and the second coordinate system established in the second time are completely parallel in space. Therefore, the transformation between these two coordinate systems is only a translation of the origin, and there is no rotation relationship. The coordinates (X1, Y1) of the optical center 14 in the first coordinate system represent the position vector of the optical center 14 relative to the first reference point, and the coordinates (X2, Y2) of the optical center 14 in the second coordinate system represent the position vector of the optical center 14 relative to the second reference point. Since the two coordinate systems are axially parallel, these two position vectors can be compared under the same directional reference. The vector magnitude formed by the difference in their coordinate components (X2-X1, Y2-Y1), i.e., the straight-line distance ΔC = √[(X2-X1)² + (Y2-Y1)²]. The physical significance of the above calculation method is that it accurately represents the actual spatial displacement of the optical center 14 of the lens under test 11 relative to its own mechanical outer diameter reference after environmental testing. This displacement is independent of the absolute position of the origin of the two measurement coordinate systems, thus realizing the accurate calculation of the change in optical center.
[0091] Figure 3 A schematic diagram of an embodiment of a binocular camera lens optical center change measurement device 200 provided by the present invention is shown. Figure 3 As shown, the binocular camera lens optical center change measurement device 200 includes: The camera positioning module 201 is used to carry the lens 11 of the binocular camera under test in the positioning device 10. The lens 11 under test has a first mark point 13 on its outer diameter side and a second mark point on the positioning device 10. The first mark point 13 and the second mark point coincide. The first determining module 202 is used to determine a first reference point based on at least three contact points formed by the positioning device 10 on the outer diameter of the lens under test 11. The first acquisition module 203 is used to establish a first coordinate system with the first reference point as the origin and the direction from the first reference point to the first mark point 13 as the coordinate axis direction, and to acquire the first coordinate of the optical center 14 of the lens under test 11 in the first coordinate system. The second determining module 204 is used to, after the lens under test 11 has completed the environmental test, place the lens under test 11 back into the positioning device 10, and determine the second reference point based on at least three contact points formed by the positioning device 10 on the outer diameter of the lens under test 11. The second acquisition module 205 is used to establish a second coordinate system with the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, and to acquire the second coordinate of the optical center 14 of the lens under test 11 in the second coordinate system. The change measurement module 206 is used to determine the change in the optical center of the lens 11 under test based on the first coordinate and the second coordinate. The optical measurement module 207 is used to compare the change in optical center with a preset threshold and determine whether the optical center stability of the lens 11 under test is qualified based on the comparison result.
[0092] In one alternative embodiment, the camera positioning module 201 is specifically used for: The V-shaped positioning structure 12 of the positioning device 10 supports the lens 11 to be tested, which is provided with the first mark point 13, so that the two support points on the outer diameter of the lens 11 to be tested contact the inner wall of the V-shaped positioning structure 12 respectively. The mechanical probe 16 of the control positioning device 10 contacts a third point on the outer diameter of the lens 11 being tested, which is different from the two support points, and the third point is not collinear with the two support points; Control and adjust the orientation of the lens 11 under test in the V-shaped positioning structure 12 until the first marker point 13 coincides with the second marker point.
[0093] In one alternative approach, the first determining module 202 is specifically used for: Based on the positional information of the two support points and the third point, the center of the first circumcircle formed by the two support points and the third point is calculated, and the center of the first circumcircle is determined as the first reference point.
[0094] In one alternative approach, the first acquisition module 203 is specifically used for: The direction from the first reference point to the first marker point 13 is determined as the coordinate axis direction; Establish a first coordinate system with the first reference point as the origin and the coordinate axes as the axes; The optical center 14 of the lens under test 11 is obtained in the first coordinate system using an optical measurement system.
[0095] In one alternative approach, the second determining module 204 is specifically used for: After the lens under test 11 completes the environmental test, the lens under test 11 is carried in the positioning device 10. Based on the position information of the two support points and the third point obtained by the second contact, the center of the second circumscribed circle formed by the two support points and the third point obtained by the second contact is calculated, and the center of the second circumscribed circle is determined as the second reference point.
[0096] In one alternative approach, the second acquisition module 205 is specifically used for: A second coordinate system is established with the second reference point as the origin and the same coordinate axis directions as when the first coordinate system was established. The optical center 14 of the lens under test 11 is obtained in the second coordinate system using an optical measurement system.
[0097] In one alternative embodiment, the change measurement module 206 is specifically used for: Calculate the straight-line distance between the first coordinate and the second coordinate, and determine the straight-line distance as the change in the optical center of the lens 11 under test.
[0098] In one alternative embodiment, the optical measurement module 207 is specifically used for: Compare the change in optical center with a preset threshold; If the change in optical center is less than the preset threshold, the optical center stability of the tested lens 11 is deemed to be qualified. If the change in optical center is greater than or equal to a preset threshold, the optical center stability of the lens under test 11 is determined to be unqualified, and a warning message is output.
[0099] It should be noted that the beneficial effects of the binocular camera lens optical center change measurement device 200 provided in the above embodiments are the same as those of the above-described binocular camera lens optical center change measurement method, and will not be repeated here. Furthermore, the device provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the device can be divided into different functional modules according to the actual situation to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, and will not be repeated here.
[0100] The binocular camera lens optical center change measurement device 200 of the present invention can be a computer program (including program code) running on a computer device. For example, the binocular camera lens optical center change measurement device 200 of the present invention is an application software that can be used to execute the corresponding steps in the binocular camera lens optical center change measurement method of the present invention.
[0101] In some embodiments, the binocular camera lens optical center change measurement device 200 of the present invention can be implemented in a combination of hardware and software. As an example, the binocular camera lens optical center change measurement device 200 of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the binocular camera lens optical center change measurement method of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0102] The modules described in the embodiments of this invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.
[0103] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-described methods for measuring the optical center change of a binocular camera lens. That is, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the method for measuring the optical center change of a binocular camera lens according to any embodiment of the present invention by calling the computer program.
[0104] In one alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0105] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0106] Bus 4002 may include a path for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus 4002 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.
[0107] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0108] The memory 4003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0109] Among them, electronic devices can also be terminal devices. A terminal device can be any terminal device that can install applications and access web pages through applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.
[0110] It should be noted that, Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0111] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
[0112] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.
[0113] Those skilled in the art will recognize that this invention can be implemented as an apparatus, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "apparatus." Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0114] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for measuring the optical center change of a binocular camera lens, characterized in that, include: The lens under test of a binocular camera is carried in a positioning device, wherein a first mark point is provided on the outer diameter side of the lens under test, and a second mark point is provided on the positioning device, and the first mark point and the second mark point coincide. A first reference point is determined based on at least three contact points formed by the positioning device on the outer diameter of the lens under test. A first coordinate system is established with the first reference point as the origin and the direction from the first reference point to the first mark point as the coordinate axis direction, and the first coordinate of the optical center of the lens under test in the first coordinate system is obtained. After the lens under test completes the environmental test, the lens under test is placed in the positioning device again, and a second reference point is determined based on at least three contact points formed by the positioning device on the outer diameter of the lens under test. Using the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, a second coordinate system is established, and the second coordinate of the optical center of the lens under test in the second coordinate system is obtained; The change in the optical center of the lens under test is determined based on the first coordinate and the second coordinate. The change in optical center is compared with a preset threshold, and the optical center stability of the lens under test is determined based on the comparison result.
2. The method for measuring the optical center change of a binocular camera lens according to claim 1, characterized in that, The steps of mounting the lens under test of the binocular camera in the positioning device include: The lens under test, which has the first mark point, is supported by the V-shaped positioning structure of the positioning device, so that the two support points on the outer diameter of the lens under test are in contact with the inner wall of the V-shaped positioning structure respectively. The mechanical probe of the positioning device is controlled to contact a third point on the outer diameter of the lens being tested, which is different from the two support points, and the third point is not collinear with the two support points; The position of the lens under test in the V-shaped positioning structure is controlled and adjusted until the first marker point coincides with the second marker point.
3. The method for measuring the optical center change of a binocular camera lens according to claim 2, characterized in that, The step of determining the first reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test includes: Based on the position information of the two support points and the third point, the center of the first circumcircle formed by the two support points and the third point is calculated, and the center of the first circumcircle is determined as the first reference point.
4. The method for measuring the optical center change of a binocular camera lens according to claim 1, characterized in that, The step of establishing a first coordinate system with the first reference point as the origin and the direction from the first reference point to the first mark point as the coordinate axis, and obtaining the first coordinate of the optical center of the lens under test in the first coordinate system includes: The direction from the first reference point to the first marker point is determined as the coordinate axis direction; A first coordinate system is established with the first reference point as the origin and the coordinate axes as the axes. The optical center of the lens under test is obtained in the first coordinate system by an optical measurement system.
5. The method for measuring the optical center change of a binocular camera lens according to claim 2 or 3, characterized in that, After the lens under test completes the environmental test, the step of placing the lens under test back into the positioning device and determining the second reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test includes: After the lens under test completes the environmental test, the lens under test is carried in the positioning device. Based on the position information of the two support points and the third point obtained by the second contact, the center of the second circumscribed circle formed by the two support points and the third point obtained by the second contact is calculated, and the center of the second circumscribed circle is determined as the second reference point.
6. The method for measuring the optical center change of a binocular camera lens according to claim 5, characterized in that, The step of establishing a second coordinate system with the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, and obtaining the second coordinate of the optical center of the lens under test in the second coordinate system, includes: A second coordinate system is established with the second reference point as the origin and the same coordinate axis directions as when the first coordinate system was established. The optical measurement system obtains the second coordinate of the optical center of the lens under test in the second coordinate system.
7. The method for measuring the optical center change of a binocular camera lens according to claim 6, characterized in that, The step of determining the change in optical center of the lens under test based on the first coordinate and the second coordinate includes: Calculate the straight-line distance between the first coordinate and the second coordinate, and determine the straight-line distance as the change in the optical center of the lens under test.
8. The method for measuring the optical center change of a binocular camera lens according to claim 1, characterized in that, The step of comparing the change in optical center with a preset threshold and determining whether the optical center stability of the lens under test is qualified based on the comparison result includes: The change in optical center is compared with the preset threshold. If the change in optical center is less than the preset threshold, then the optical center stability of the lens under test is deemed to be qualified. If the change in optical center is greater than or equal to the preset threshold, the optical center stability of the lens under test is determined to be unqualified, and a warning message is output.
9. A device for measuring the change in optical center of a binocular camera lens, characterized in that, include: A camera positioning module is used to carry the lens under test of a binocular camera in a positioning device, wherein a first marking point is provided on the outer diameter side of the lens under test, and a second marking point is provided on the positioning device, and the first marking point and the second marking point coincide. The first determining module is used to determine a first reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test; The first acquisition module is used to establish a first coordinate system with the first reference point as the origin and the direction from the first reference point to the first mark point as the coordinate axis direction, and to acquire the first coordinate of the optical center of the lens under test in the first coordinate system. The second determining module is used to, after the lens under test has completed the environmental test, place the lens under test back into the positioning device and determine a second reference point based on at least three contact points formed by the positioning device on the outer diameter of the lens under test. The second acquisition module is used to establish a second coordinate system with the second reference point as the origin and based on the same coordinate axis direction determined in the first coordinate system, and to acquire the second coordinate of the optical center of the lens under test in the second coordinate system. The change measurement module is used to determine the change in the optical center of the lens under test based on the first coordinate and the second coordinate; An optical measurement module is used to compare the change in optical center with a preset threshold and determine whether the optical center stability of the lens under test is qualified based on the comparison result.
10. An electronic device, characterized in that, The electronic device includes a processor coupled to a memory, the memory storing at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the method for measuring the optical center change of a binocular camera lens as described in any one of claims 1 to 8.