Multi-lens assembling method, device and equipment and medium

By determining the small displacement rotation error and inclination error of the lens and choosing a reasonable assembly route, the problem of high failure rate in lens assembly is solved and the production quality and efficiency of the lens is improved.

CN120276148APending Publication Date: 2025-07-08JIANGXI LIANYI OPTICS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510540409.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the lens assembly process, the same batch of lenses is not fully qualified and there are installation errors, resulting in low lens unqualification rate and low production quality and efficiency.

Method used

By determining the small displacement rotation error and tilt error of the lens to be assembled, a reasonable assembly route is selected, and a qualified assembly plan is quickly and accurately selected from multiple lenses using electronic equipment and calculation methods.

Benefits of technology

It improves the pass rate of the lens assembly route and improves the production quality and production efficiency of the lens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276148A_ABST
    Figure CN120276148A_ABST
Patent Text Reader

Abstract

The invention provides a multi-lens assembly method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: determining a small displacement spinor error of each to-be-assembled lens based on assembly information of a plurality of to-be-assembled lenses, wherein the plurality of to-be-assembled lenses are generated according to different acupoints of a plurality of types of molds; furthermore, based on the assembly information of the plurality of lenses to be assembled and the small displacement spinor error, the inclination error of the assembly body is determined. And determining a qualified assembly route set from the plurality of to-be-assembled lenses at least based on the small displacement spinor errors of the plurality of to-be-assembled lenses and the inclination error of the assembly body. In this way, a reasonable assembling scheme can be rapidly and accurately extracted from the multiple to-be-assembled lenses, the qualified rate of the lens assembling route is effectively improved, and then the production quality and production efficiency of the lens are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of lenses, and particularly to an assembly method, apparatus, device, and computer-readable storage medium for multiple lenses. Background Art

[0002] With the development of technology, lenses (such as glass lenses) are widely used in imaging devices of industrial products such as cameras and mobile phones. In the production of imaging devices, a lens can be assembled from multiple different lenses. During the production process, a batch of lenses with the same specifications can be produced at one time through a mold, and different lenses for assembling the lens can be produced through different molds. Then, qualified lenses are selected from the multiple lenses produced by these different molds for assembly. During assembly, the positions (mainly the inclination) of each lens need to be adjusted to appropriate positions to finally obtain a qualified lens.

[0003] However, when assembling multiple lenses, on the one hand, not all of the lenses in the same batch with the same specifications produced by one mold are qualified lenses. On the other hand, if multiple qualified lenses are selected, due to the installation errors between these qualified lenses, the lens assembled from these lenses is not a qualified lens. Therefore, it is desirable to obtain a reasonable lens assembly scheme to improve the production quality and production efficiency of the lens. Summary of the Invention

[0004] In a first aspect of the present disclosure, an assembly method for multiple lenses is provided. The method includes: determining a small displacement screw error of each to-be-assembled lens based on the assembly information of multiple to-be-assembled lenses, where the multiple to-be-assembled lenses are generated according to different cavities of multiple types of molds; determining an inclination error of the assembly based on the assembly information and the small displacement screw error of the multiple to-be-assembled lenses; and determining a set of qualified assembly routes from the multiple to-be-assembled lenses based at least on the small displacement screw error of the multiple to-be-assembled lenses and the inclination error of the assembly.

[0005] In a second aspect of the present disclosure, an assembly device for multiple lenses is provided. The device includes: a small displacement screw error determination module configured to determine a small displacement screw error of each to-be-assembled lens based on the assembly information of multiple to-be-assembled lenses, where the multiple to-be-assembled lenses are generated according to different cavities of multiple types of molds; an inclination error determination module configured to determine an inclination error of the assembly based on the assembly information and the small displacement screw error of the multiple to-be-assembled lenses; and an assembly route set determination module configured to determine a set of qualified assembly routes from the multiple to-be-assembled lenses based at least on the small displacement screw error of the multiple to-be-assembled lenses and the inclination error of the assembly.

[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.

[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium and can be executed by a processor to implement the method of the first aspect.

[0008] It should be understood that the content described in part of the present disclosure is not intended to define the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent. In the drawings, the same or similar reference numerals denote the same or similar elements, where:

[0010] Figure 1 A schematic diagram showing an exemplary environment in which the embodiments of the present disclosure can be implemented;

[0011] Figure 2 A flowchart showing a method for assembling multiple lenses according to some embodiments of the present disclosure;

[0012] Figure 3A A schematic diagram showing a small position screw error between an actual mounting surface and an ideal mounting surface according to some embodiments of the present disclosure;

[0013] Figure 3B A schematic diagram showing a small position screw error between an actual mounting surface and an ideal mounting surface according to some other embodiments of the present disclosure;

[0014] Figure 4 A schematic block diagram showing a planar bonding error between two adjacent lenses according to some embodiments of the present disclosure;

[0015] Figure 5 A schematic diagram showing an inclination error of an assembly according to some embodiments of the present disclosure;

[0016] Figure 6 A flowchart showing a process of determining a set of qualified assembly routes from multiple lenses to be assembled according to some embodiments of the present disclosure;

[0017] Figure 7A flowchart showing a process of determining a set of qualified assembly routes from a plurality of qualified lenses participating in the assembly according to the matching rules according to some embodiments of the present disclosure;

[0018] Figure 8 A flowchart showing a process of determining a set of qualified assembly routes from a set of alternative assembly routes according to the second matching rule according to some embodiments of the present disclosure;

[0019] Figure 9 A block diagram of an assembly device for multiple lenses according to some embodiments of the present disclosure; and

[0020] Figure 10 A block diagram of a device capable of implementing multiple embodiments of the present disclosure. Detailed Description of Specific Embodiments

[0021] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0022] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. In addition, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different sections / subsections in any manner.

[0023] In the description of the embodiments of the present disclosure, the term "including" and its like terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". There may be other explicit and implicit definitions hereinafter. The terms "first", "second", etc. may refer to different or the same objects. There may be other explicit and implicit definitions hereinafter.

[0024] Embodiments of the present disclosure may involve user data, data acquisition and / or usage, etc. All these aspects comply with the corresponding laws, regulations and related provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, usage, etc. of all data are carried out on the premise that the user is aware and confirms. Accordingly, when implementing the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained through appropriate means in accordance with the relevant laws and regulations. The specific informing and / or authorization methods may vary according to the actual situation and application scenarios, and the scope of the present disclosure is not limited in this regard.

[0025] As used herein, the term "model" can learn the association between the corresponding input and output from training data, so that after training is completed, for a given input, the corresponding output can be generated. The generation of the model can be based on machine learning techniques. Deep learning is a machine learning algorithm that processes the input and provides the corresponding output by using multiple layers of processing units. In this article, "model" can also be referred to as "machine learning model", "machine learning network" or "network", and these terms are used interchangeably in this article. The neural network model is a type of machine learning model.

[0026] As used herein, the term "dimension error" refers to the allowable variation of the actual dimension of the lens relative to the ideal dimension.

[0027] As used herein, the term "position error" (also known as parallelism) refers to the allowable variation of the actual position of the lens rotating relative to the ideal position.

[0028] As used herein, the term "dimension position error" refers to the general term of the above "dimension error" and "position error".

[0029] As used herein, the term "small displacement screw error" refers to the error of the actual plane and the ideal plane in six degrees of freedom in space, that is, the dimension error in the X-axis, Y-axis, and Z-axis directions and the rotation error around the X-axis, Y-axis, and Z-axis.

[0030] During the lens production process, multiple cavities (also known as "holes") are provided on the mold. Multiple lenses of the same batch, with the same specifications and the same type, are produced at one time through multiple holes. One cavity corresponds to the production of one lens. Multiple lenses of different types produced by different molds can be assembled into a lens. For example, a lens can include three lenses (for example, the lenses can be lenses), and these three lenses are lens A, lens B, and lens C respectively. Multiple lenses, such as lens A1, A2....An, are produced at one time through multiple holes on the first mold; multiple lenses, such as lens B1, B2....Bm, are produced at one time through multiple holes on the second mold; multiple lenses, such as lens C1, C2....Cs, are produced at one time through multiple holes on the third mold. One lens can be selected from lens A1, A2....An as lens A, one lens can be selected from lens B1, B2....Bm as lens B, and one lens can be selected from lens C1, C2....Cs as lens C. Then, the selected lens A, lens B, and lens C are assembled into a lens. Multiple different lenses selected for assembling the lens can be called an "assembly route". For example, lens A1 - lens B1 - lens C1, lens A2 - lens B3 - lens C4, lens A3 - lens B5 - lens C1, etc. These can all be collectively referred to as "assembly routes".

[0031] However, due to the dimensional position errors existing among multiple lenses of the same type produced by different cavities in the same mold, affected by the dimensional position errors, the lens assembled by multiple different types of lenses selected may not meet the qualified conditions and become defective products, resulting in a reduction in the qualified rate of the lens, as well as a reduction in production quality and production efficiency. For example, there are dimensional position errors among the lenses A1, A2....An produced by multiple holes on the first mold. Similarly, there are dimensional position errors among the lenses B1, B2....Bm produced by multiple holes on the second mold. During assembly, due to the influence of dimensional position errors, there is no one-to-one correspondence and matching between the multiple lenses produced by the first mold and the multiple lenses produced by the second mold. For example, lens A1 does not match lens B1, but may match lens B5. Lens A2 does not necessarily match lens B2, but may match lens B1. Eventually, the assembly scheme of lens A1 and lens B5, and the assembly scheme of lens A2 and lens B1 are qualified. Therefore, only a qualified assembly scheme can obtain a qualified lens.

[0032] As briefly mentioned before, it is necessary to obtain a qualified assembly scheme for multiple lenses. Traditionally, by adjusting the dimensional position errors, a qualified lens assembly scheme is obtained to improve the production quality and production efficiency of the lens. However, the traditional scheme cannot quickly and accurately extract a qualified assembly scheme, cannot effectively improve the qualified rate of the lens assembly scheme, resulting in a relatively low qualified rate, as well as relatively low production quality and production efficiency of the lens.

[0033] To this end, embodiments of the present disclosure propose an assembly scheme for multiple lenses. Based on the assembly information of multiple lenses to be assembled, the small displacement screw errors of each lens to be assembled are determined. The multiple lenses to be assembled are generated according to different acupoints of multiple types of molds. Further, based on the assembly information of the multiple lenses to be assembled and the small displacement screw errors, the tilt error of the assembled body is determined. At least based on the small displacement screw errors of the multiple lenses to be assembled and the tilt error of the assembled body, a set of qualified assembly routes is determined from the multiple lenses to be assembled. In this way, a reasonable assembly scheme can be quickly and accurately extracted from the multiple lenses to be assembled, effectively improving the qualification rate of the lens assembly route, and further effectively improving the production quality and production efficiency of the lens.

[0034] Some exemplary embodiments of the present disclosure will be described below with continued reference to the drawings.

[0035] Figure 1 A schematic diagram of an exemplary environment 100 in which embodiments of the present disclosure can be implemented is shown. The exemplary environment 100 generally can include an electronic device 110. In some embodiments, the electronic device 110 can be a computing device with computing capabilities such as a server, a personal computer, a computing device in a cloud environment, etc. The present disclosure is not specifically limited in this regard. Generally speaking, the electronic device 110 obtains the assembly information of multiple lenses to be assembled as input, determines the small displacement screw errors of each lens to be assembled based on the assembly information of the multiple lenses to be assembled, and then determines the tilt error of the assembled body based on the assembly information of the multiple lenses to be assembled and the small displacement screw errors. At least based on the small displacement screw errors of the multiple lenses to be assembled and the tilt error of the assembled body, a set of qualified assembly routes is determined from the multiple lenses to be assembled, and finally the set of qualified assembly routes is output. This will be described in further detail below.

[0036] Figure 2 A flowchart of an assembly method 200 for multiple lenses according to some embodiments of the present disclosure is shown. In some embodiments, the method 200 can be executed by an electronic device 110 as shown in Figure 1 It should be understood that the method 200 may further include additional blocks not shown and / or certain (or some) of the shown blocks may be omitted, and the scope of the present disclosure is not limited in this regard.

[0037] In block 210, the electronic device 110 determines the small displacement screw errors of each lens to be assembled based on the assembly information of the multiple lenses to be assembled. The multiple lenses to be assembled are generated according to different acupoints of multiple types of molds.

[0038] Exemplarily, referring to Figure 1 , Figure 1 shows 1 to n types of molds, such as mold T1, mold T2... mold Ti ... mold T n 。Each type of mold may include 1 to k cavities, such as cavity X1, cavity X2... cavity X j ... cavity X k 。At least one lens to be assembled can be generated through each cavity. For example, lens TX is generated by cavity X1 of mold T1 1,1 、lens TX is generated by cavity X2 of mold T1 1,2 .. cavity X of mold T1 j generates lens TX 1,j ... cavity X of mold T1 k generates lens TX 1,k 。And so on, lens TX is generated by cavity X1 of mold T2 2,1 、lens TX is generated by cavity X2 of mold T2 2,2 、cavity X of mold T2 j generates lens TX 2,j ... cavity X of mold T2 k generates lens TX 2,k 。Cavity X1 of mold T i generates lens TX i,1 、cavity X of mold T i generates lens TX i,2 、cavity X of mold T i generates lens TX j ... cavity X of mold T i,j generates lens TX i ... cavity X of mold T k generates lens TX i,k 。Cavity X1 of mold T n generates lens TX n,1 、cavity X of mold T n generates lens TX n,2 、cavity X of mold T n generates lens TX j ... cavity X of mold T n,j generates lens TX n ... cavity X of mold T k generates lens TX n,k 。As described above, the multiple lenses generated by 1 to k cavities in 1 to n types of molds are collectively referred to as "lenses to be assembled".

[0039] In some embodiments, the lens to be assembled is generally a three-dimensional structure with an actual mounting surface, which may include an object-side mounting surface and an image-side mounting surface. It should be understood that the lens may also include other actual mounting surfaces in addition to the object-side mounting surface and the image-side mounting surface, and the present disclosure does not make specific limitations in this regard. The actual mounting surface may correspond to an ideal mounting surface, which refers to the standard mounting surface of the lens obtained under ideal processing conditions. Alternatively and / or additionally, the actual mounting surface and the ideal mounting surface may be flat or curved, square or circular, or any other shape or structure, and it should be understood that the present disclosure does not make specific limitations in this regard.

[0040] Due to the influence of factors such as environment, process, and materials, there will be errors (such as small displacement screw errors) between the actual mounting surface and the ideal mounting surface. Taking the actual mounting surface and the ideal mounting surface of each lens as a planar structure during assembly as an example, in combination with Figure 3A and Figure 3B to illustrate the process of determining the small displacement screw error of the lens to be assembled based on the assembly information of multiple lenses to be assembled.

[0041] Figure 3A FIG. 300A shows a schematic diagram of the small displacement screw error between the actual mounting surface and the ideal mounting surface according to some embodiments of the present disclosure. As Figure 3A shown, Figure 3A shows the actual mounting surface a'310 and the ideal mounting surface a320. The dashed box indicates the allowable change range of the actual mounting surface a'310 relative to the ideal mounting surface a320, that is, it shows the small displacement screw error of the actual mounting surface a'310.

[0042] In some embodiments, the electronic device 110 may obtain the assembly information of the lens to be assembled, and the assembly information includes the dimension information of the ideal mounting surface and the dimension information of the actual mounting surface. Further, based on the dimension information of the ideal mounting surface and the dimension information of the actual mounting surface, the dimension error of the actual mounting surface relative to the ideal mounting surface is determined.

[0043] The dimension information of the actual mounting surface a'310 can be obtained in any way. For example, if the shape of the actual mounting surface a'310 is square, the dimension information may include the length, width, height, etc. of the actual mounting surface. Another example is that if the shape of the actual mounting surface a'310 is circular, the dimension information may include the diameter, thickness, etc. of the actual mounting surface. It should be understood that the dimension information is specifically determined according to the shape of the lens to be assembled, and the present disclosure does not make specific limitations in terms of dimension information. Correspondingly, the dimension information of the corresponding ideal mounting surface can be obtained according to the dimension information of the actual mounting surface.

[0044] Determine the normal dimension upper error T of the actual mounting surface a'310 relative to the ideal mounting surface a320 according to the dimension information of the actual mounting surface and the dimension information of the ideal mounting surface a320 U , and the normal dimension lower error T L . According to the formula T D = T U - T L Determine the normal dimension error T of the actual mounting surface a'310 relative to the ideal mounting surface a320 D . Determine the dimension error T of the actual mounting surface a'310 relative to the ideal mounting surface a320 according to the above method D .

[0045] In some embodiments, the electronic device 110 may obtain the assembly information of the lens to be assembled, and the assembly information further includes the parallelism between the actual mounting surface and the ideal mounting surface. Further, based on the dimension information and parallelism of the ideal mounting surface, determine the rotation angle between the actual mounting surface and the ideal mounting surface, and determine the small displacement screw error based on the rotation angle

[0046] Figure 3B Shows a schematic diagram 300B of the small displacement screw error between the actual mounting surface and the ideal mounting surface according to other embodiments of the present disclosure. As Figure 3B shown, the highest point A can be taken on the surface of the actual mounting surface a'310, and the distance between the highest point A and the foot B on the ideal mounting surface a320 is obtained, and this distance is determined as the parallelism T between the actual mounting surface a'310 and the ideal mounting surface a320 P .

[0047] Continue to refer to Figure 3A , and establish a O-XYZ coordinate system with the center point O of the ideal mounting surface a320 as the origin. There are at least three degrees of freedom between the actual mounting surface a'210 and the ideal mounting surface a320, which are the angle α of the actual mounting surface a'310 rotating around the X-axis relative to the ideal mounting surface a320, the angle β rotating around the Y-axis, and the angle Figure 3B Shows the included angle between the actual mounting surface a'310 and the ideal mounting surface a320. For the convenience of calculation, the angle α of the actual mounting surface a'310 rotating around the X-axis or the angle β rotating around the Y-axis relative to the ideal mounting surface a320 can be set to 0, that is, α = 0 or β = 0, and the included angle between the actual mounting surface a'310 and the ideal mounting surface a320 is calculated as follows

[0048]

[0049] Where DL represents the length or diameter of the ideal mounting surface a320, and T D represents the parallelism of the actual mounting surface a'310 relative to the ideal mounting surface a320.

[0050] The angles of rotation α about the X-axis, β about the Y-axis, and the angle of rotation about the Z-axis respectively correspond to the screw error components of the actual mounting surface a'210 rotating about the X-axis, Y-axis, and Z-axis. When the angle of rotation β about the Y-axis = 0, the calculation formula for the rotation error component about the X-axis Or, when the angle of rotation α about the X-axis = 0, the calculation formula for the screw error component of rotation about the Y-axis In this embodiment, it is mainly considered to improve the tilt error of the assembly formed by the lens to be assembled. Therefore, the rotation error δ about the Z-axis can be not considered. The screw error component δ of the actual mounting surface a'210 rotating about the Z-axis relative to the ideal mounting surface a320 aa’ = 0. Therefore, the small displacement screw error of the lens to be assembled can include the three screw error components α of the actual mounting surface a'210 rotating about the X-axis, Y-axis, and Z-axis relative to the ideal mounting surface a320 aa’ 、β aa’ 、δ aa’ . The small displacement screw error of the lens to be assembled can also include the dimensional error of the actual mounting surface a'210 relative to the ideal mounting surface a320.

[0051] The above describes the calculation process of the small displacement screw error of the lens to be assembled. Since the assembly information such as the dimensional information and parallelism of the lenses to be assembled generated by different cavities of the same mold is different, the dimensional position errors obtained from the assembly information are different, resulting in obvious differences in the small displacement screw errors of the lenses to be assembled generated by different cavities.

[0052] Next, select multiple different types of lenses to be assembled for assembly, so as to obtain an assembly (such as a lens). Since there are obvious differences in the small displacement screw errors of the lenses to be assembled generated by different cavities on the same mold, the assembly has a tilt error, and the assembly with a tilt error may not be qualified. Therefore, a qualified assembly route can be selected to assemble an assembly (such as a lens). If the tilt error of the assembly is within the preset error range, the assembly assembled by the qualified assembly route is qualified, and in this way, the qualification rate of the assembly is improved. The following further describes the process of determining the tilt error of the assembly.

[0053] Continue to refer to Figure 2 , in block 220, the electronic device 110 determines the tilt error of the assembly based on the assembly information and small displacement screw errors of multiple lenses to be assembled.

[0054] The selected assembly route may include n lenses to be assembled, where n is greater than or equal to 2. For example, the first lens, the second lens, the third lens... the nth lens. These lenses are different types of lenses to be assembled generated by different types of molds. Generally speaking, the electronic device 110 can determine the error variation matrix from the ideal mounting surface a to the actual mounting surface a' of the lens to be assembled according to the small displacement screw error of each lens to be assembled, and determine the contact surface variation matrix between two adjacent lenses to be assembled according to the error variation matrices of two adjacent lenses to be assembled. The contact surface variation matrix refers to the error transformation matrix from the ideal mounting surface a1 of the previous lens to the ideal mounting surface a2 of the next lens. Finally, the tilt error of the single assembly is determined by using the error transfer process of the single assembly assembled by this assembly route.

[0055] The error variation matrix from the ideal mounting surface a to the actual mounting surface a' of the lens to be assembled can be determined according to the small displacement screw error of the lens to be assembled. In some embodiments, the electronic device 110 can determine the first error variation matrix E1 of the first lens and the nth error variation matrix E of the nth lens based on the small displacement screw errors of the first lens and the nth lens respectively. n 。

[0056] Specifically, based on the screw error component α of the actual mounting surface a' of the lens to be assembled rotating around the X-axis relative to the ideal mounting surface a aa’ 、the screw error component β rotating around the Y-axis aa’ 、and the screw error component δ rotating around the Z-axis aa’ to determine the error variation matrix E from the actual mounting surface a' to the ideal mounting surface a of the lens to be assembled aa’ , the formula is as follows:

[0057]

[0058] where, u aa’ 、v aa’ and w aa’ respectively represent the movement error components of the actual mounting surface a' relative to the ideal mounting surface a along the X-axis, Y-axis, and Z-axis. Considering that the lens to be assembled is a rotationally symmetric structure and only considering the influence of parallelism (lens tilt assembly is the main influencing factor), here δ aa’ 、u aa’ 、v aa’ and w aa’ are all set to 0.

[0059] Therefore, the error variation matrix E1 of the first lens and the nth error variation matrix E of the nth lens can be determined according to the above formula (1). n. Based on the same principle, the error variation matrix E2 of the second lens, ..., the error variation matrix Ei of the i-th lens can also be determined according to the above formula (1). i , the (i + 1)-th error variation matrix E of the (i + 1)-th lens adjacent to the i-th lens i+1 ... the (n - 1)-th error variation matrix E of the (n - 1)-th lens n-1 .

[0060] In some embodiments, the electronic device 110 may be based on the i-th error variation matrix E of the i-th lens i , the (i + 1)-th error variation matrix E of the (i + 1)-th lens adjacent to the i-th lens i+1 , to determine the contact surface variation matrix E between the i-th lens and the (i + 1)-th lens i,i+1 (1 ≤ i ≤ N - 1), the error variation matrix E of the i-th lens i,i+1 indicates the error variation matrix between the ideal mounting surface of the i-th lens and the ideal mounting surface of the (i + 1)-th lens.

[0061] In some embodiments, in the case where the lens to be assembled includes an actual mounting surface, Figure 4 FIG. 400 shows a schematic block diagram of the planar combination error of two adjacent lenses according to some embodiments of the present disclosure. As Figure 4 shown, when assembling the i-th lens 410 and the (i + 1)-th lens 420, in other words, when performing planar combination on these two adjacent lenses to be assembled, the ideal situation for planar combination is to combine according to the ideal mounting surface A of the i-th lens 410 and the ideal mounting surface B of the (i + 1)-th lens 420. However, when performing planar combination according to the ideal situation, a planar combination error will occur. The planar combination error may include the machining error X between the actual mounting surface A' of the i-th lens 410 and the ideal mounting surface A i , the machining error X between the actual mounting surface B' of the (i + 1)-th lens 420 and the ideal mounting surface B i+1 , and the assembly error Y between the actual mounting surface A' of the i-th lens 410 and the actual mounting surface B' of the (i + 1)-th lens 420 i,i+1 .

[0062] In some embodiments, the machining error X of the i-th lens 410 i can be represented by the error variation matrix E from the actual mounting surface A to the ideal mounting surface A' AA’ , the machining error X of the (i + 1)-th lens 420 i+1 can be represented by the error variation matrix E from the ideal mounting surface B to the actual mounting surface B' BB’ . The specific calculation processes of E AA’ and E BB’ can refer to the error variation matrix E of the lens in the above text.i and the error variation matrix E i+1 The example calculation process will not be elaborated here. The assembly error Y i,i+1 can be represented by the error variation matrix E A’B’ of the actual mounting surface A' and the actual mounting surface B'. For the convenience of matching, it can be assumed here that no assembly error is introduced, so the error variation matrix E A’B’ is set as the identity matrix Therefore, according to the following formula (2), the contact surface variation matrix E AB (that is, the contact surface variation matrix E i,i+1 ) between the i-th lens 410 and the (i + 1)-th lens 420 is determined as follows:

[0063]

[0064] where α AB , β AB and δ AB respectively represent the rotational error components of the ideal mounting surface B relative to the ideal assembly plane A about the X, Y, and Z axes, and v AB and w AB respectively represent the translational error components of the ideal mounting surface B relative to the ideal mounting surface A along the X, Y, and Z axes. Since the lens is a rotationally symmetric structure, δ AB , and u AB , v AB’ and w AB are all set to 0. For the error variation matrix E BB’ from the ideal mounting surface B to the actual mounting surface B', a conversion is performed to obtain the error variation matrix E B’B from the actual mounting surface B' to the ideal mounting surface B. According to formula (2), α AB and β AB can be obtained, and then the error variation matrix E AB from the ideal mounting surface A to the ideal mounting surface B can be obtained, that is, the contact surface variation matrix E AB .

[0065] In some embodiments, the calculation method for converting the error variation matrix E BB’ from the ideal mounting surface B to the actual mounting surface B' to obtain the error variation matrix E B’B from the actual mounting surface B' to the ideal mounting surface B is as follows: Rotate the lens 180° around the Y axis, and according to the pose, rotate the lens θ angle around the Z axis. If the lens structure type is set, such as a circular lens, a square lens, etc., then the rotation angle θ around the Z axis is a corresponding fixed value. As an example, since the circular lens is rotationally symmetric, θ can be set to 0, and the transformation matrix is as follows:

[0066]

[0067] Among them, M c-y is an orthogonal matrix,

[0068] which is calculated from E B’B and obtained The error variation matrix E of the actual mounting surface B' to the ideal mounting surface B B’B has the following calculation formula:

[0069]

[0070] The above describes the calculation process of the planar combination error during the assembly of two adjacent lenses to be assembled in the case where the lens to be assembled includes one actual mounting surface.

[0071] The following describes the calculation process of the tilt error of the entire assembly in the case where the lens to be assembled includes two actual mounting surfaces.

[0072] In some embodiments, in combination with Figure 5 the calculation process of the tilt error of the entire assembly is further described. Figure 5 FIG. 500 shows a schematic diagram of the tilt error of an assembly according to some embodiments of the present disclosure. As Figure 5 shown, one lens is selected from the k lenses produced by the mold T1 as the first lens 510, one lens is selected from the k lenses produced by the mold T2 as the second lens 520, and so on. One lens is selected from the k lenses produced by the mold T i as the i-th lens... One lens is selected from the k lenses produced by the mold T n-1 as the T n-1 -th lens 530, and one lens is selected from the k lenses produced by the mold T n as the n-th lens 540. Each lens among the selected n lenses may include two actual mounting surfaces, namely the first actual mounting surface and the second actual mounting surface. For example, the first actual mounting surface may be the object-side mounting surface, and the second mounting surface may be the image-side mounting surface. Among them, the first actual mounting surface corresponds to the first ideal mounting surface, and the second actual mounting surface corresponds to the second ideal mounting surface.

[0073] Since each lens has two actual mounting surfaces, the pose change between the first actual mounting surface and the second actual mounting surface can be taken into account in the tilt error of the assembly. In some embodiments, based on the respective lens thicknesses of the first lens to the n-th lens, the pose transformation matrix M of the first lens to the n-th lens is determined according to the following formula (3) 1,12 ...M i,12 ...M n,12, the pose transformation matrix M of the i-th lens i,12 Indicates the pose transformation matrix between the first ideal mounting surface and the second ideal mounting surface of the i-th lens.

[0074]

[0075] where, w n,12 represents the height or thickness of the n-th lens.

[0076] In some embodiments, the electronic device 110 can be based on the matrix E1 of the first lens, the matrix E of the n-th lens n , the contact surface change matrix E between adjacent lenses from the first lens to the (n - 1)-th lens 1,2 ...E i,i+1 ...E (n-1),n , and the pose transformation matrix M from the first lens to the n-th lens 1,12 ...M i,12 ...M n,12 , and determine the tilt error M of a single assembly according to the following formula (4) s ;

[0077]

[0078] where, E0 represents the identity matrix, E1 represents the error change matrix of the first lens, that is, the error change matrix from the actual mounting surface to the ideal mounting surface of the first lens, E n represents the error change matrix of the n-th lens, that is, the error change matrix from the actual mounting surface to the ideal mounting surface of the n-th lens. The calculation processes of E1 and E n refer to the calculation process of the error change matrix in the above text, which will not be elaborated here. α s , β s , δ s , u s , v s and w s are the error components of a single assembly, that is, the components of the lens in six degrees of freedom. For the convenience of calculation, δ s , u s , v s and w s can be taken as 0. According to formula (4), α s , β s are obtained, then the tilt error component of the single assembly relative to the XOY plane can be determined, that is, the tilt error M s .

[0079] The above describes the process of determining the tilt error of an assembly based on the assembly information of multiple lenses to be assembled and the small displacement screw error.

[0080] Continue to refer toFigure 2 In block 230, the electronic device 110 determines a set of qualified assembly routes from multiple lenses to be assembled based at least on the small displacement screw errors of the multiple lenses to be assembled and the tilt error of the assembly.

[0081] Figure 6 FIG. 600 is a flowchart showing a process of determining a set of qualified assembly routes from multiple lenses to be assembled according to some embodiments of the present disclosure.

[0082] In some embodiments, as Figure 6 shown, in block 610, the electronic device 110 obtains the small displacement screw errors of each lens to be assembled. As an example, referring to Figure 1 , the small displacement screw errors of multiple lenses to be assembled generated by molds T1 to T n are obtained. For example, the small displacement screw errors of each lens such as lens TX 1,1 ...... lens TX n,k are obtained. The calculation process of the small displacement screw errors of these lenses refers to the calculation process of the small displacement screw errors in block 210 and will not be elaborated here.

[0083] In actual production, due to factors such as operators, operating machines, and materials, it is very difficult to ensure that all the lenses to be assembled generated by all the cavities in each mold are qualified lenses, that is, there are unqualified lenses to be assembled produced by some cavities. Therefore, qualified lenses can be selected from the multiple lenses to be assembled produced by each mold, so as to select multiple lenses from these qualified lenses for assembly.

[0084] Qualified lenses can be selected according to the small displacement screw errors of the lenses to be assembled. In block 620, the electronic device 110 determines whether the small displacement screw errors of each lens to be assembled are within a preset screw error range. It should be understood that the preset screw error range can be any suitable range, and the present disclosure does not make specific limitations in this regard.

[0085] If the small displacement screw error of the lens to be assembled is within the preset screw error range, it means that the lens to be assembled is qualified. Correspondingly, process 600 proceeds to block 630. In block 630, the electronic device 110 can determine the lens to be assembled as a qualified lens participating in the selection. Exemplarily, continuing to refer to Figure 1 , lenses with small displacement screw errors within the preset screw error range can be determined from the lenses TX n generated by molds T1 to T 1,1 ...... lens TX n,k , and these lenses are determined as qualified lenses participating in the selection.

[0086] Since qualified lenses participating in the selection may not necessarily be assembled into a qualified assembly (e.g., a lens), in order to improve the qualified rate of the assembly, a qualified assembly route can be determined from multiple qualified lenses according to the selection rule. In block 640, the electronic device 110 can determine a set of qualified assembly routes from multiple qualified lenses participating in the selection based on the selection rule.

[0087] Figure 7 A flowchart of a process 700 of determining a qualified set of fitting routes from a plurality of qualified lenses participating in fitting according to fitting rules according to some embodiments of the present disclosure is shown.

[0088] In some embodiments, Figure 7 As shown, in box 710, the electronic device 110 can determine a set of alternative assembly routes from multiple qualified lenses participating in the matching according to the first matching rule, the set of alternative assembly routes including the total number of assembly routes, and the alternative assembly routes are used to assemble into a first assembly.

[0089] The alternative assembly route refers to the assembly of mold T1 to mold T2 according to the first selection rule. n The assembly routes are obtained by assembling the generated qualified lenses. The assemblies assembled by these alternative assembly routes are collectively referred to as "first assemblies". The total number of assembly routes refers to the total number of alternative assembly routes, that is, the total number of first assemblies. It should be pointed out that although these alternative assembly routes are all composed of qualified lenses, there may be unqualified assemblies among these assembled assemblies. Therefore, it is necessary to select qualified assembly routes from these alternative assembly routes to obtain qualified assemblies, which will be further explained below.

[0090] Alternatively and / or additionally, the first matching rule indicates at least one of the following: in adjacent first and second molds, a qualified lens generated for one cavity of the first mold is combined with multiple qualified lenses generated for multiple cavities of the second mold, or multiple qualified lenses generated for multiple cavities on the first mold are combined with a qualified lens generated for one cavity on the second mold.

[0091] Exemplary, reference Figure 1 , can be from mold T1 to mold T n The qualified lenses that meet the small displacement screw error within the preset screw error range are determined from the generated lenses to be assembled. For example, there are x1 qualified lenses determined in mold T1, x2 qualified lenses determined in mold T2, .....Mold T n The qualified lenses determined in npieces. The first matching rule means that any one of the x1 qualified lenses of mold T1 can be combined with the x2 qualified lenses of mold T2, or the x1 qualified lenses of mold T1 can be combined with any one of the x2 qualified lenses of mold T2. Therefore, according to the first matching rule, the qualified lenses of every two adjacent molds are combined to obtain the alternative assembly routes of the total assembly route number, and the alternative assembly routes of the total assembly route number are used as the alternative assembly route set.

[0092] According to the first matching rule, the total assembly route number X E = x1 × x2 ×... x n . For example, the first assembly is assembled by three qualified lenses. Suppose there are 2 qualified lenses determined in mold T1, 3 qualified lenses determined in mold T2, and 4 qualified lenses determined in mold T3, then the total assembly route number X E = 2 * 3 * 4 = 24, that is, the alternative assembly route set includes 24 alternative assembly routes. For example, for instance, the alternative assembly route can be composed of the first qualified lens TX 1,2 , the second qualified lens TX 2,4 and the third qualified lens TX 3,1 . Another example, the alternative assembly route can also be composed of the first qualified lens TX 1,1 , the second qualified lens TX 2,3 and the third qualified lens TX 3,3 . It can be understood that all alternative assembly routes are not exhaustively listed, and the alternative assembly route set can be determined according to the specific number of qualified lenses generated by each mold. The present disclosure does not make specific limitations in this regard.

[0093] In block 720, the electronic device 110 can determine whether the tilt error of the first assembly is within the preset tilt error range. If the tilt error of the first assembly is within the preset tilt error range, the alternative assembly route that makes up the first assembly is determined as the qualified assembly route. This means that the first assembly is qualified. Correspondingly, process 700 proceeds to block 730. In block 730, the electronic device 110 can determine the alternative assembly route that makes up the first assembly as the qualified assembly route.

[0094] The calculation process of the tilt error of a single assembly (that is, the first assembly) assembled by multiple qualified lenses (such as a lens) can refer to the calculation process in block 220 and will not be elaborated here. The tilt error of the first assembly can be less than 2' (2 angular minutes, where 1° = 60'). It should be understood that the preset tilt error range can be determined according to the specific situation of production practice and can be any range. The present disclosure does not make specific limitations in this regard.

[0095] At block 740, the electronic device 110 may determine a set of qualified assembly routes from the set of alternative assembly routes according to a second selection rule.

[0096] The electronic device 110 may determine, from the set of alternative assembly routes, alternative assembly routes with the tilt error of the assembled body within a preset tilt error range as qualified assembly routes, and the set of qualified assembly routes represents the tilt error of the i-th assembled body assembled by the i-th qualified assembly route relative to the XOY plane, and μ represents the threshold value of the preset tilt error. The calculation process of may refer to the calculation process in block 220. For example, may be calculated from the error components α s and β s as follows: Or Thus, it is determined that the number B of qualified assembly routes exists in the set Q of qualified assembly routes, and the number B of qualified assembly routes is less than or equal to the total number X of assembly routes E .

[0097] In some embodiments, the second selection rule at least indicates the target qualification rate of the assembly route. It should be understood that the target qualification rate can be arbitrarily set in advance according to production practice, and the present disclosure does not make specific limitations in this regard. According to the above, the number B of qualified assembly routes is determined from the total number X of assembly routes E Therefore, the qualification rate of the assembly route If the qualification rate of the assembly route is greater than the target qualification rate, the electronic device 110 may output the set of qualified assembly routes and the qualification rate of the assembly route. If the qualification rate of the assembly route is less than the target qualification rate, increase the limit corresponding number or decrease the acupuncture point rate to increase the qualification rate of the assembly route until the qualification rate of the assembly route is greater than the target qualification rate, and then output the final set of qualified assembly routes and the qualification rate of the assembly route. This part will be further described below.

[0098] Figure 8 FIG. shows a flowchart of a process 800 for determining a set of qualified assembly routes from a set of alternative assembly routes according to a second selection rule according to some embodiments of the present disclosure.

[0099] In some embodiments, as Figure 8 shown, at block 810, the electronic device 110 may determine qualified assembly routes with a first qualified route number from the set of alternative assembly routes, and the first qualified route number is less than or equal to the total number of assembly routes. At block 820, the electronic device 110 may determine a first qualification rate of the assembly route based on the first qualified route number and the total number of assembly routes.

[0100] Determine a set of qualified assembly routes from the set of alternative assembly routes. The set of qualified assembly routes includes qualified assembly routes with the number of the first qualified routes. The specific process can refer to block 710 to block 740. In some embodiments, the electronic device 110 may randomly generate an initial set of qualified assembly routes, and use the number of initial qualified routes in this set as the number of the first qualified routes. Further, the electronic device 110 may determine an initial qualification rate as the first qualification rate based on the number of initial qualified routes and the total number of assembly routes.

[0101] At block 830, the electronic device 110 may determine whether the first qualification rate is greater than the target qualification rate. If the first qualification rate is greater than the target qualification rate, process 800 proceeds to block 880. At block 880, the electronic device 110 may determine the qualified assembly routes with the number of the first qualified routes as the set of qualified assembly routes, and output the set of qualified assembly routes.

[0102] In some embodiments, the second assembly rule also instructs at least one of the following: increasing the limit corresponding number, where the limit corresponding number indicates determining the absolute value of the difference between the number of first cavities of qualified lenses generated based on the first mold and the number of second cavities of qualified lenses generated based on the second mold; or decreasing the cavity selection rate, where the cavity selection rate indicates the ratio of the number of cavities that make up the qualified assembly route to the number of cavities of qualified lenses generated by the mold.

[0103] Continue to refer to Figure 8 If the first qualification rate is less than the target qualification rate, process 800 proceeds to block 840. At block 840, the electronic device 110 may increase the limit corresponding number or decrease the cavity selection rate. Then at block 850, the electronic device 110 may correspondingly reduce the total number of assembly routes, thereby increasing the qualification rate, and the increased qualification rate is used as the second qualification rate. At block 860, the electronic device 110 may determine the second qualification rate of the assembly route based on the number of the first qualified routes and the reduced total number of assembly routes, and the reduced total number of assembly routes is greater than the number of the first qualified routes.

[0104] The electronic device 110 can discard relatively poor qualified lenses by increasing the limit corresponding number or decreasing the cavity selection rate. Although the discarded qualified lenses meet the screening condition that the small displacement screw error is within the preset screw error range, the small displacement screw error of the discarded qualified lenses is still greater than that of other non-discarded qualified lenses. After discarding the relatively poor qualified lenses, the number of qualified lenses participating in the selection is correspondingly reduced, thereby increasing the number of alternative assembly routes, that is, the total number of assembly routes X E Ultimately, this leads to an increase in the qualification rate (for example, an increase in the second qualification rate).

[0105] Continue to refer to Figure 8, at block 870, the electronic device 110 can determine whether the second qualification rate is greater than the target qualification rate. If the second qualification rate is greater than the target qualification rate, process 800 proceeds to block 880. At block 880, the electronic device 110 can determine the qualified assembly routes with the number of the first qualified routes as the qualified assembly route set, and output the qualified assembly route set. If the second qualification rate is less than the target qualification rate, return to execute the steps of block 840 to block 870 at least once. Suppose it is executed N times, and the qualification rate of the Nth time is greater than the target qualification rate. The electronic device 110 can output the qualification rate determined at the Nth time, and the set of qualified assembly routes determined at the Nth time.

[0106] Exemplarily, assume that there are 2 qualified lenses determined in mold T1, 3 qualified lenses determined in mold T2, and 5 qualified lenses determined in mold T3. Then the total number of assembly routes X E1 = 2×3×5 = 30. The randomly generated number of the first qualified routes is 6. Therefore, the first qualification rate is 6 / 30 = 1 / 5. Assume that the target qualification rate is 1 / 3. The first qualification rate 1 / 5 is less than the target qualification rate 1 / 3. Then increase the limit corresponding number or decrease the acupoint selection rate. For example, there is 1 qualified lens determined in mold T1, 3 qualified lenses determined in mold T2, and 5 qualified lenses determined in mold T3. Then the total number of assembly routes X E2 = 1×3×5 = 15. The number of the first qualified routes is 6. Therefore, the second qualification rate is 6 / 15 = 2 / 5. The second qualification rate 2 / 5 is greater than the target qualification rate 1 / 3. Therefore, the second qualification rate 2 / 5 can be output, and the set of qualified assembly routes, and the set of qualified assembly routes includes the qualified assembly routes with the number of the first qualified routes as 6.

[0107] It should be understood that the above process is only an example, and the present disclosure does not make specific limitations in this regard.

[0108] In some embodiments, the electronic device 110 can also use the trained matching model to perform the step of determining the set of qualified assembly routes from multiple lenses to be assembled at least based on the small displacement screw error of the multiple lenses to be assembled and the tilt error of the assembled body. The simulated annealing algorithm is used to optimize the model. The constraint condition of the model can be the matching rule (such as the second matching rule). The simulated annealing algorithm will confirm whether to increase the limit corresponding number once or decrease the acupoint selection rate once according to the current qualification rate. The process is as Figure 8 shown. The termination condition is set to loop x (such as 1000) times or the qualification rate is greater than or equal to the target qualification rate, and output the final qualification rate and the set of qualified assembly routes.

[0109] In the exemplary embodiments of the present disclosure described above, the small displacement screw error of each lens to be assembled is determined based on the assembly information of a plurality of lenses to be assembled. Further, based on the assembly information of the plurality of lenses to be assembled and the small displacement screw error, the tilt error of the assembled body is determined; and at least based on the small displacement screw error of the plurality of lenses to be assembled and the tilt error of the assembled body, a set of qualified assembly routes is determined from the plurality of lenses to be assembled. Through the process described above, a reasonable assembly scheme can be quickly and accurately extracted from the plurality of lenses to be assembled, effectively improving the qualification rate of the lens assembly route, and further effectively improving the production quality and production efficiency of the lens.

[0110] Example devices and equipment

[0111] Figure 9 FIG. shows a schematic structural block diagram of an apparatus 900 for multi-lens assembly according to certain embodiments of the present disclosure. The apparatus 900 may be implemented as or included in an electronic device 110. Each module / component in the apparatus 900 may be implemented by hardware, software, firmware, or any combination thereof.

[0112] As shown in the figure, the apparatus 900 includes a small displacement screw error determination module 910 configured to determine the small displacement screw error of each lens to be assembled based on the assembly information of a plurality of lenses to be assembled, and the plurality of lenses to be assembled are generated according to different cavities of a plurality of types of molds. The apparatus 900 further includes a tilt error determination module 920 configured to determine the tilt error of the assembled body based on the assembly information of the plurality of lenses to be assembled and the small displacement screw error. The apparatus 900 further includes an assembly route set determination module 930 configured to determine a set of qualified assembly routes from the plurality of lenses to be assembled based at least on the small displacement screw error of the plurality of lenses to be assembled and the tilt error of the assembled body.

[0113] In some embodiments, the lens to be assembled includes at least two actual mounting surfaces, and each actual mounting surface corresponds to an ideal mounting surface. The small displacement screw error determination module 910 is further configured to obtain the assembly information of the lens to be assembled, and the assembly information includes the dimension information of the ideal mounting surface and the dimension information of the actual mounting surface; and based on the dimension information of the ideal mounting surface and the dimension information of the actual mounting surface, determine the dimension error of the actual mounting surface relative to the ideal mounting surface.

[0114] In some embodiments, the assembly information further includes the parallelism of the actual mounting surface relative to the ideal mounting surface. The small displacement screw error determination module 910 is further configured to determine the rotation angle between the actual mounting surface and the ideal mounting surface based on the dimension information of the ideal mounting surface and the parallelism; and determine the small displacement screw error based on the rotation angle.

[0115] In some embodiments, the multiple lenses to be assembled include N lenses, where N is greater than or equal to 2. Each lens to be assembled includes a first actual mounting surface and a second actual mounting surface. The first actual mounting surface corresponds to a first ideal mounting surface, and the second actual mounting surface corresponds to a second ideal mounting surface. The assembly information includes the lens thickness. The tilt error determination module 920 is further configured to determine a first error variation matrix E1 of the first lens and an nth error variation matrix E of the nth lens based on the small displacement screw error of the first lens and the nth lens respectively n ; based on the ith error variation matrix E of the ith lens i and the (i + 1)th error variation matrix E of the (i + 1)th lens adjacent to the ith lens i+1 , determine a contact surface variation matrix E between the ith lens and the (i + 1)th lens i,i+1 (1 ≤ i ≤ n - 1). The contact surface variation matrix E i,i+1 indicates the error variation matrix between the ideal mounting surface of the ith lens and the ideal mounting surface of the (i + 1)th lens; based on the respective lens thicknesses of the first lens to the nth lens, determine the pose transformation matrices M 1,12 ...M i,12 ...M n,12 of the ith lens. The pose transformation matrix M i,12 indicates the pose transformation matrix between the first ideal mounting surface and the second ideal mounting surface of the ith lens; and based on the matrix E1 of the first lens, the matrix E of the nth lens n , the contact surface variation matrices E between adjacent lenses of the first lens to the (n - 1)th lens 1,2 ...E i,i+1 ...E (n-1),n , and the pose transformation matrices M of the first lens to the nth lens 1,12 ...M i,12 ...M n,12 , determine the tilt error M of the assembly according to the following formula s ;

[0116]

[0117] In some embodiments, the assembly route set determination module 930 is further configured to determine that the lens to be assembled is a qualified lens participating in the selection if the small displacement screw error of the lens to be assembled is within the preset screw error range; and determine a qualified assembly route set from multiple qualified lenses participating in the selection based on the selection rules

[0118] In some embodiments, the assembly route set determination module 930 is further configured to determine an alternative assembly route set from multiple qualified lenses participating in the matching according to a first matching rule. The alternative assembly route set includes alternative assembly routes of the total number of assembly routes, and the alternative assembly routes are used to assemble a first assembly; if the tilt error of the first assembly is within a preset tilt error range, the alternative assembly routes forming the first assembly are determined as qualified assembly routes; and according to a second matching rule, a qualified assembly route set is determined from the alternative assembly route set.

[0119] In some embodiments, the first matching rule indicates at least one of the following: among an adjacent first mold and second mold, a qualified lens generated for one acupoint of the first mold is combined with multiple qualified lenses generated for multiple acupoints of the second mold, or multiple qualified lenses generated for multiple acupoints on the first mold are combined with a qualified lens generated for one acupoint on the second mold.

[0120] In some embodiments, the second matching rule at least indicates the target qualification rate of the assembly route. The assembly route set determination module 930 is further configured to determine a qualified assembly route of a first qualified route number from the alternative assembly route set, where the first qualified route number is less than or equal to the total number of assembly routes; based on the first qualified route number and the total number of assembly routes, determine the first qualification rate of the assembly route; and if the first qualification rate is greater than the target qualification rate, the qualified assembly route of the first qualified route number is determined as the qualified assembly route set.

[0121] In some embodiments, the second assembly rule further indicates at least one of the following: increasing the limit corresponding number, where the limit corresponding number indicates determining the absolute value of the difference between the number of first acupoints and the number of second acupoints based on the qualified lenses of the first acupoint number generated by the first mold and the qualified lenses of the second acupoint number generated by the second mold; or decreasing the acupoint selection rate, where the acupoint selection rate indicates the ratio of the number of acupoints forming the qualified assembly route to the number of acupoints of the mold generating the qualified lenses.

[0122] In some embodiments, the assembly route set determination module 930 is further configured to, if the first qualification rate is less than the target qualification rate, perform the following steps at least once: increase the limit corresponding number, or decrease the acupoint selection rate, and the total number of assembly routes is correspondingly reduced; based on the first qualified route number and the reduced total number of assembly routes, determine the second qualification rate of the assembly route, where the reduced total number of assembly routes is greater than the first qualified route number; and if the second qualification rate is greater than the target qualification rate, determine the qualified assembly route of the first qualified route number as the qualified assembly route set.

[0123] Figure 10 The block diagram of the electronic device 1000 in which one or more embodiments of the present disclosure can be implemented is shown. It should be understood that Figure 10The illustrated electronic device 1000 is merely exemplary and should not constitute any limitation to the functions and scope of the embodiments described herein. Figure 10 The illustrated electronic device 1000 can be used to implement Figure 1 electronic device 110.

[0124] As Figure 10 shown, the electronic device 1000 is in the form of a general-purpose electronic device. The components of the electronic device 1000 can include, but are not limited to, one or more processors or processing units 1010, a memory 1020, a storage device 1030, one or more communication units 1040, one or more input devices 1050, and one or more output devices 1060. The processing unit 1010 can be an actual or virtual processor and is capable of performing various processes according to the programs stored in the memory 1020. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing ability of the electronic device 1000.

[0125] The electronic device 1000 generally includes multiple computer storage media. Such media can be any accessible media that can be obtained by the electronic device 1000, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1020 can be a volatile memory (such as registers, caches, random access memory (RAM)), a non-volatile memory (such as read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1030 can be a removable or non-removable medium and can include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data (such as training data for training) and can be accessed within the electronic device 1000.

[0126] The electronic device 1000 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Figure 10 it, a disk drive for reading from or writing to a removable, non-volatile magnetic disk (such as a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk can be provided. In these cases, each drive can be connected to a bus (not shown) by one or more data media interfaces. The memory 1020 can include a computer program product 1025 that has one or more program modules configured to perform various methods or actions of the various embodiments of the present disclosure.

[0127] The communication unit 1040 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 1000 may be implemented by a single computing cluster or multiple computer machines that are capable of communicating via a communication connection. Thus, the electronic device 1000 may operate in a networked environment using a logical connection to one or more other servers, network personal computers (PCs), or another network node.

[0128] The input device 1050 may be one or more input devices such as a mouse, keyboard, trackball, etc. The output device 1060 may be one or more output devices such as a display, speaker, printer, etc. The electronic device 1000 may also communicate with one or more external devices (not shown) as needed via the communication unit 1040, the external devices such as storage devices, display devices, etc., communicate with one or more devices that enable a user to interact with the electronic device 1000, or communicate with any device that enables the electronic device 1000 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0129] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, where the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, the computer program product being tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, and the computer-executable instructions being executed by a processor to implement the method described above.

[0130] Aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0131] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when the instructions are executed by the processing unit of the computer or other programmable data processing apparatus, an apparatus is created that implements the functions / acts specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises a manufacture including instructions that implement various aspects of the functions / acts specified in one or more boxes of the flowchart and / or block diagram.

[0132] The computer-readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other devices to produce a computer-implemented process such that the instructions executed on the computer, other programmable data processing apparatus, or other devices implement the functions / acts specified in one or more boxes of the flowchart and / or block diagram.

[0133] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a segment of code, or a portion of an instruction, and the module, segment of code, or portion of an instruction contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the boxes may occur out of the order noted in the figures. For example, two consecutive boxes may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functionality involved. It should also be noted that each box in the block diagrams and / or flowcharts, and combinations of boxes in the block diagrams and / or flowcharts, can be implemented by a special-purpose hardware-based system that performs the specified functions or acts, or by a combination of special-purpose hardware and computer instructions.

[0134] The implementations of the present disclosure have been described above. The description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The choice of terms used herein is intended to best explain the principles of the implementations, the practical application, or improvements made to the technology in the marketplace, or to enable other ordinary skilled artisans in the art to understand the implementations disclosed herein.

Claims

1. An assembly method for multiple lenses, comprising: Determining the small displacement screw error of each lens to be assembled based on the assembly information of multiple lenses to be assembled, where the multiple lenses to be assembled are generated according to different positions of multiple types of molds; Determining the tilt error of the assembly based on the assembly information of the multiple lenses to be assembled and the small displacement screw error; and Determining a set of qualified assembly routes from the multiple lenses to be assembled based at least on the small displacement screw error of the multiple lenses to be assembled and the tilt error of the assembly.

2. The assembly method according to claim 1, wherein the lens to be assembled includes at least two actual mounting surfaces, and each actual mounting surface corresponds to an ideal mounting surface. The step of determining the small displacement screw error includes: Obtaining the assembly information of the lens to be assembled, where the assembly information includes the dimension information of the ideal mounting surface and the dimension information of the actual mounting surface; And Determining the dimension error of the actual mounting surface relative to the ideal mounting surface based on the dimension information of the ideal mounting surface and the dimension information of the actual mounting surface.

3. The assembly method according to claim 2, wherein the assembly information further includes the parallelism of the actual mounting surface relative to the ideal mounting surface. The step of determining the small displacement screw error further includes: Determining the rotation angle between the actual mounting surface and the ideal mounting surface based on the dimension information of the ideal mounting surface and the parallelism; And Determining the small displacement screw error based on the rotation angle.

4. The assembly method according to claim 3, wherein the multiple lenses to be assembled include N lenses, N is greater than or equal to 2, each lens to be assembled includes a first actual mounting surface and a second actual mounting surface, the first actual mounting surface corresponds to a first ideal mounting surface, the second actual mounting surface corresponds to a second ideal mounting surface, and the assembly information includes the lens thickness. The step of determining the tilt error of the assembly includes: Based on the small displacement screw errors of the first lens and the nth lens respectively, determine the first error variation matrix E1 of the first lens and the nth error variation matrix En of the nth lens n ; The i-th error variation matrix E based on the i-th lens i and the (i + 1)-th error variation matrix E of the (i + 1)-th lens adjacent to the i-th lens i+1 to determine the contact surface variation matrix E between the i-th lens and the (i + 1)-th lens i,i+1 (1 ≤ i ≤ n - 1), the contact surface variation matrix E i,i+1 indicating the error variation matrix between the ideal mounting surface of the i-th lens and the ideal mounting surface of the (i + 1)-th lens; Determine the pose transformation matrix M of the first lens to the nth lens based on the respective lens thicknesses of the first lens to the nth lens 1,12 ...M i,12 ...M n,12 , the pose transformation matrix M of the ith lens i,12 indicating the pose transformation matrix of the first ideal mounting surface and the second ideal mounting surface of the ith lens; And Based on the matrix E1 of the first lens, the matrix E of the nth lens n , the contact surface variation matrix E between adjacent lenses from the first lens to the (n - 1)th lens 1,2 ...E i,i+1 ...E (n-1),n , and the pose transformation matrix M from the first lens to the nth lens 1,12 ...M i,12 ...M n,12 , determine the tilt error M of the assembly according to the following formula s ; 5. The assembly method according to claim 4, wherein the step of determining a set of qualified assembly routes includes: If the small displacement screw error of the lens to be assembled is within a preset screw error range, the lens to be assembled is determined as a qualified lens participating in the selection; And Determining the set of qualified assembly routes from multiple qualified lenses participating in the selection based on the selection rule.

6. The assembly method according to claim 5, wherein the step of determining the set of qualified assembly routes from multiple qualified lenses participating in the selection based on the selection rule includes: Determining a set of alternative assembly routes from multiple qualified lenses participating in the selection according to a first selection rule, where the set of alternative assembly routes includes alternative assembly routes with the total number of assembly routes for assembling a first assembly; If the tilt error of the first assembly is within a preset tilt error range, the alternative assembly routes forming the first assembly are determined as qualified assembly routes; And Determining the set of qualified assembly routes from the set of alternative assembly routes according to a second selection rule.

7. The assembly method according to claim 6, wherein the first matching rule indicates at least one of the following: In adjacent first and second molds, the qualified lenses generated for one cavity of the first mold are combined with the multiple qualified lenses generated for multiple cavities of the second mold, or The multiple qualified lenses generated for multiple cavities on the first mold are combined with the qualified lens generated for one cavity on the second mold.

8. The assembly method according to claim 7, wherein the second matching rule at least indicates the target qualification rate of the assembly route. According to the second matching rule, the steps of determining the qualified assembly route set from the set of alternative assembly routes include: Determining qualified assembly routes with a first qualified route number from the set of alternative assembly routes, where the first qualified route number is less than or equal to the total number of assembly routes; Based on the first qualified route number and the total number of assembly routes, determining the first qualification rate of the assembly route; And If the first qualification rate is greater than the target qualification rate, the qualified assembly routes with the first qualified route number are determined as the qualified assembly route set.

9. The assembly method according to claim 8, wherein the second assembly rule further indicates at least one of the following: Increasing the limit corresponding number, where the limit corresponding number indicates determining the absolute value of the difference between the number of cavities of the first mold generating the first number of qualified lenses and the number of cavities of the second mold generating the second number of qualified lenses; or Reducing the cavity selection rate, where the cavity selection rate indicates the ratio of the number of cavities forming the qualified assembly route to the number of cavities of the mold generating the qualified lenses.

10. The assembly method according to claim 9, wherein according to the second matching rule, the steps of determining the qualified assembly route set from the set of alternative assembly routes include: If the first qualification rate is less than the target qualification rate, performing the following steps at least once: Increasing the limit corresponding number, or reducing the cavity selection rate, and the total number of assembly routes is correspondingly reduced; Based on the first qualified route number and the reduced total number of assembly routes, determining the second qualification rate of the assembly route, where the reduced total number of assembly routes is greater than the first qualified route number; And If the second qualification rate is greater than the target qualification rate, determining the qualified assembly routes with the first qualified route number as the qualified assembly route set.

11. A multi-lens assembly device, comprising: A small displacement screw error determination module configured to determine the small displacement screw error of each lens to be assembled based on the assembly information of multiple lenses to be assembled, where the multiple lenses to be assembled are generated according to different cavities of multiple types of molds; An inclination error determination module configured to determine the inclination error of the assembly based on the assembly information and the small displacement screw error of the multiple lenses to be assembled; And An assembly route set determination module configured to determine a qualified assembly route set from the multiple lenses to be assembled based at least on the small displacement screw error of the multiple lenses to be assembled and the inclination error of the assembly.

12. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Method and device for predicting lens manufacturing related information, equipment and storage medium

    CN122286196A