Product assembling method and device and readable storage medium

Through mobile platform and camera technology, high-precision alignment and assembly of optical machines and waveguides in AR modules are achieved, which solves the assembly accuracy problem caused by low mechanical control accuracy and improves assembly accuracy and automation.

CN118809115AActive Publication Date: 2024-10-22GOERTEK INC
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411034930.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-22
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

During the assembly process of the optical machine and waveguide sheet of the AR module, due to the low mechanical control accuracy, the assembly accuracy of the optical machine and waveguide sheet is not high and cannot meet the high-precision parallelism, alignment and rotation angle requirements.

Method used

By controlling the rotation and translation of the mobile platform, combined with camera shooting and measurement technology, the precise alignment and assembly of the optical machine and waveguide sheet can be achieved. Specific steps include: controlling the first mobile platform to drive the first product to rotate so that the angle between it and the reference plane is less than or equal to the threshold; controlling the second mobile platform to drive the second product to rotate so that the angle between it and the first product is less than or equal to the threshold. ; Using the image captured by the camera, adjust the translation and rotation of the second product in the reference plane to align it with the first product; finally move the second product to the first product for assembly.

Benefits of technology

It achieves high-precision assembly of optical machines and waveguides, improves assembly accuracy, and can be applied to automatic assembly of products of any shape.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118809115A_ABST
    Figure CN118809115A_ABST
Patent Text Reader

Abstract

The invention discloses a product assembling method and device and a readable storage medium, and the method comprises the steps: controlling a first moving platform to drive a first product to rotate, and enabling a first included angle between the first product and a reference plane to be smaller than or equal to a first threshold value; a second moving platform is controlled to drive a second product to rotate, so that a second included angle between the second product and the first product is smaller than or equal to a second threshold value; controlling a camera to shoot the first product and the second product to obtain a first image; according to the first image, controlling the second moving platform to drive the second product to translate and / or rotate in the reference plane, so that the second product is aligned with the first product; and the second moving platform is controlled to drive the second product to move towards the first product, so that the first product and the second product are assembled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic equipment, and more specifically, to a product assembly method, a product assembly device, and a computer-readable storage medium. Background Art

[0002] Augmented Reality (AR) technology is an emerging technology that superimposes computer-generated virtual information onto the user's real world. It is an important branch of virtual reality technology. It improves the user's perception of the real world and provides a new way for humans to communicate with the world. The AR module is the core component of the AR device, responsible for generating and transmitting images to the user's field of view. In order for the AR module to present the best visual effect, the parallelism of the optical machine and waveguide assembly in the AR module, the alignment in the xy direction, and the rotation angle need to meet the preset high precision requirements.

[0003] In the assembly process of the optomechanics and waveguides, mechanical assembly is usually performed based on an artificial assembly algorithm. However, due to the low accuracy of the artificial assembly algorithm in the mechanical control process, the coordinate error calculated based on the algorithm is large, and then after the AR module is assembled, the deviation between the optomechanics and the waveguide is large, resulting in low assembly accuracy of the optomechanics and the waveguide. Summary of the invention

[0004] An object of an embodiment of the present invention is to provide a product assembly method, device and readable storage medium.

[0005] According to a first aspect of the present disclosure, there is provided a product assembly method, comprising:

[0006] Controlling the first mobile platform to drive the first product to rotate so that a first angle between the first product and the reference plane is less than or equal to a first threshold;

[0007] Controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold;

[0008] Controlling a camera to photograph the first product and the second product to obtain a first image;

[0009] According to the first image, controlling the second mobile platform to drive the second product to translate and / or rotate within the reference plane so that the second product is aligned with the first product;

[0010] The second mobile platform is controlled to drive the second product to move toward the first product, so as to assemble the first product with the second product.

[0011] Optionally, controlling the first mobile platform to drive the first product to rotate so that a first angle between the first product and the reference plane is less than or equal to a first threshold includes:

[0012] Measuring first coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane;

[0013] The first mobile platform is controlled to drive the first product to rotate according to the first coordinate, so that the first angle is less than or equal to a first threshold.

[0014] Optionally, controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold includes:

[0015] Measuring the second coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane;

[0016] measuring third coordinates of at least three second identification points in the second product in the measurement coordinate system;

[0017] According to the second coordinate and the third coordinate, the second mobile platform is controlled to drive the second product to rotate so that the second angle is less than or equal to a second threshold.

[0018] Optionally, before controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold, the method further includes:

[0019] The second moving platform is controlled to drive the second product to move below the first product.

[0020] Optionally, before controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold, the method further includes:

[0021] Measuring fourth coordinates of at least three second identification points in the second product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane;

[0022] The second mobile platform is controlled to drive the second product to rotate according to the fourth coordinate, so that a third angle between the second product and the reference plane is less than or equal to a third threshold.

[0023] Optionally, controlling the second mobile platform to drive the second product to translate and / or rotate within the reference plane according to the first image so that the second product is aligned with the first product includes:

[0024] determining, according to the first image, a rotation angle deviation and / or a distance deviation between the first product and the second product in the reference plane;

[0025] The second mobile platform is controlled according to the rotation angle deviation to drive the second product to rotate within the reference plane, and / or, the second mobile platform is controlled according to the distance deviation to drive the second product to translate within the reference plane, so that the second product is aligned with the first product.

[0026] Optionally, controlling the second mobile platform to drive the second product to rotate within the reference plane according to the rotation angle deviation includes:

[0027] According to the rotation angle deviation, the second mobile platform is controlled to drive the second product to rotate within the reference plane and in a direction perpendicular to the reference plane, so that the rotation angle deviation between the second product and the first product within the reference plane is less than or equal to a fourth threshold.

[0028] Optionally, controlling the second mobile platform to drive the second product to translate within the reference plane according to the distance deviation includes:

[0029] According to the distance deviation, the second mobile platform is controlled to drive the second product to translate within the reference plane, so that the distance deviation between the second product and the first product within the reference plane is less than or equal to a fifth threshold.

[0030] According to a second aspect of the present disclosure, there is provided a product assembly device, comprising:

[0031] A first control module, configured to control the first mobile platform to drive the first product to rotate, so that a first angle between the first product and the reference plane is less than or equal to a first threshold;

[0032] A second control module, used for controlling the second mobile platform to drive the second product to rotate, so that a second angle between the second product and the first product is less than or equal to a second threshold;

[0033] A third control module, used to control a camera to shoot the first product and the second product to obtain a first image;

[0034] a fourth control module, configured to control the second mobile platform to drive the second product to translate and / or rotate within the reference plane according to the first image, so that the second product is aligned with the first product;

[0035] The fifth control module is used to control the second moving platform to drive the second product to move toward the first product, so as to assemble the first product with the second product.

[0036] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect of the present disclosure is implemented.

[0037] Through the embodiments of the present disclosure, the first mobile platform is controlled to drive the first product to rotate so that a first angle between the first product and a reference plane is less than or equal to a first threshold; the second mobile platform is controlled to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold; based on a first image of the first product and the second product captured by a camera, the second mobile platform is controlled to drive the second product to translate and / or rotate within the reference plane so that the second product is aligned with the first product; the second mobile platform is controlled to drive the second product to move toward the first product so as to assemble the first product with the second product. This can realize automatic assembly of the first product and the second product of any shape, and can improve the assembly accuracy of the first product and the second product.

[0038] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0040] Figure 1 is a schematic diagram of a product assembly system according to an embodiment of the present disclosure;

[0041] Figure 2 is a schematic diagram of a measurement coordinate system according to an embodiment of the present disclosure;

[0042] Figure 3 is a schematic diagram of a first mobile coordinate system according to an embodiment of the present disclosure;

[0043] Figure 4 is a schematic diagram of a second mobile coordinate system according to an embodiment of the present disclosure;

[0044] Figure 5is a schematic diagram of a field of view coordinate system according to an embodiment of the present disclosure;

[0045] Figure 6 is a flow chart of a product assembly method provided according to an embodiment of the present disclosure;

[0046] Figure 7 is a flowchart of an example of a product assembly method provided according to an embodiment of the present disclosure;

[0047] Figure 8 It is a block diagram of a product assembly device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0048] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0049] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0050] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0051] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0052] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0053] This embodiment provides a product assembly system, such as Figure 1 As shown, the product assembly system 100 may include a measurement mechanism 110 , a camera 120 , a first mobile platform 130 , and a second mobile platform 140 .

[0054] In this embodiment, the first product can be placed on the first mobile platform 130, and the first mobile platform 130 can drive the first product to rotate. The first mobile platform 130 can be a 2-axis mobile platform, which can drive the first product to rotate around a first direction and a second direction, wherein the first direction can be the same as the X-axis direction of the reference Cartesian coordinate system, and the second direction can be the same as the Y-axis direction of the reference Cartesian coordinate system.

[0055] In this embodiment, the second product can be placed on the second mobile platform 140, and the second mobile platform 140 drives the second product to rotate and translate. The second mobile platform 140 can be a 6-axis mobile platform, which can drive the second product to translate along the first direction, the second direction, and the third direction, and can also drive the second product to rotate around the first direction, the second direction, and the third direction, wherein the third direction can be the same as the Z axis of the reference Cartesian coordinate system.

[0056] In one embodiment of the present disclosure, before executing the product assembly method of this embodiment, the measuring mechanism 110, the camera 120, the first mobile platform 130 and the second mobile platform 140 can be adjusted according to the following example: Figure 2 The reference Cartesian coordinate system shown in (b) is used to construct the measurement coordinate system X corresponding to the measurement mechanism 110. a Y a Z a ,like Figure 2 As shown in (a); according to Figure 3 The reference Cartesian coordinate system shown in (b) is used to construct the first mobile coordinate system X1Y1Z1 corresponding to the first mobile platform 130, such as Figure 3 (a) as shown; according to Figure 4 The reference Cartesian coordinate system shown in (b) is used to construct the second mobile coordinate system X corresponding to the second mobile platform 140. W Y W Z W ,like Figure 4 (a) shows; constructing the visual coordinate system X corresponding to the camera 120 b OY b ,like Figure 5 As shown in (a). Among them, Figure 2 Middle (b), Figure 3 Middle (b), Figure 4 The same as the base Cartesian coordinate system shown in (b).

[0057] In this embodiment, the measurement mechanism 110 is constructed based on the measurement coordinate system X a Y a Z a Measure and obtain the coordinate system X a Y a Z a The camera 120 is based on the visual coordinate system X b OY b Measure and get the coordinate corresponding to the visual coordinate system X b OY b The first mobile platform 130 drives the first product to rotate based on the first mobile coordinate system X1Y1Z1. The second mobile platform 140 drives the first product to rotate based on the second mobile coordinate system X1Y1Z1. WY W Z W Drive the second product to rotate and translate.

[0058] Furthermore, if Figure 2 As shown, the X coordinate system of the measurement a The direction of the axis is the same as the X-axis direction of the reference Cartesian coordinate system, and the Y-axis direction of the measurement coordinate system is the same as the X-axis direction of the reference Cartesian coordinate system. a The direction of the axis is the same as the Y axis of the reference Cartesian coordinate system, and the Z axis of the measurement coordinate system a The axis direction is the same as the Z axis direction of the base Cartesian coordinate system; Figure 3 As shown, the X1-axis direction of the first moving coordinate system is the same as the X-axis direction of the reference Cartesian coordinate system, and the Y1-axis direction of the first moving coordinate system is the same as the Y-axis direction of the reference Cartesian coordinate system; Figure 4 As shown, the X coordinate of the second moving coordinate system W The direction of the axis is the same as the X-axis direction of the base Cartesian coordinate system, and the Y-axis direction of the second moving coordinate system is the same as the X-axis direction of the base Cartesian coordinate system. W The direction of the axis is the same as the Y axis of the base Cartesian coordinate system, and the Z axis of the second moving coordinate system is the same as the Y axis of the base Cartesian coordinate system. W The axis direction is the same as the Z axis direction of the base Cartesian coordinate system.

[0059] Furthermore, if Figure 5 As shown, Figure 5 The visual coordinate system X shown in (a) b OY b Can be with Figure 5 X in the second moving coordinate system shown in (b) W OY W The plane is affine transformed to obtain the visual coordinate system X b OY b and X in the second moving coordinate system W OY W The transformation matrix between the planes is used for the subsequent conversion of the visual coordinate system X b OY b The pixel data below is converted to X W OY W Distance data below the plane.

[0060] In one embodiment, if the X a OY a There is a non-negligible angle between the plane and the XOY plane of the base Cartesian coordinate system. You can use the rotation matrix to transform the X a OY a The coordinates of the plane are converted to the XOY plane. a OY a If the straightness of the single-axis robot on the plane does not meet the requirements, it is necessary to aMake height compensation on the measurement results.

[0061] In one embodiment, the first mobile platform 130 may be used to roughly adjust the pitch angle of the first product, and the accuracy of the first mobile platform 130 may be relatively large.

[0062] In one embodiment, before using the second mobile platform 140, an algorithm may be used to declare the working coordinate system X W Y W Z W and tool coordinate system X T Y T Z T , associated working coordinate system X W Y W Z W and tool coordinate system X T Y T Z T , so that the rotation and translation centers of the 6-axis second mobile platform are close to the center of the second product, and the position parameters fed back by the 6-axis second mobile platform are consistent with the parameters adjusted by the algorithm. W Y W Z W The direction is completely parallel to the base Cartesian coordinate system XYZ.

[0063] Figure 6 It is a flow chart of a product assembly method provided according to an embodiment of the present disclosure.

[0064] like Figure 6 As shown, the product assembly method may include steps S6100 to S6500 as shown below:

[0065] Step S6100: Control the first mobile platform to drive the first product to rotate, so that a first angle between the first product and the reference plane is less than or equal to a first threshold.

[0066] The first product of this embodiment may be a waveguide plate.

[0067] In this embodiment, the first threshold may be pre-set according to an application scenario or specific requirements. For example, the first threshold may be 1 degree.

[0068] In one embodiment of the present disclosure, controlling the first mobile platform to drive the first product to rotate so that a first angle between the first product and a reference plane is less than or equal to a first threshold value may include: controlling a camera to photograph the first product, and determining the first angle between the first product and the reference plane based on a second image obtained by the photograph; and then controlling the first mobile platform to drive the first product to rotate based on the first angle so that the first angle is less than or equal to the first threshold value.

[0069] In this embodiment, the camera may be a 3D camera.

[0070] In another embodiment of the present disclosure, controlling the first mobile platform to drive the first product to rotate so that a first angle between the first product and a reference plane is less than or equal to a first threshold value may include: measuring first coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein a first coordinate axis and a second coordinate axis of the measurement coordinate system are both parallel to the reference plane; and controlling the first mobile platform to drive the first product to rotate according to the first coordinates so that the first angle is less than or equal to the first threshold value.

[0071] In this embodiment, the measuring mechanism may be controlled to move above the first identification point of the first product to measure the first coordinate of the first identification point of the first product in the measurement coordinate system.

[0072] In this embodiment, the first coordinates of at least three first identification points in the measurement coordinate system can be used to obtain the rotation angle of the first product relative to the reference plane in the first direction and the rotation angle of the first product relative to the reference plane in the second direction.

[0073] According to the rotation angle of the first product relative to the reference plane in the first direction and the rotation angle of the first product relative to the reference plane in the second direction, the first mobile platform is controlled to drive the first product to rotate, that is, the first angle can be made less than or equal to the first threshold.

[0074] For example, the rotation angle of the first product relative to the reference plane in the first direction is A1, and the rotation angle of the first product relative to the reference plane in the second direction is A2. Then, according to the rotation angle of the first product relative to the reference plane in the first direction and the rotation angle of the first product relative to the reference plane in the second direction, the first mobile platform is controlled to drive the first product to rotate. The first mobile platform can be controlled to drive the first product to rotate around the first direction -A1, and the mobile platform can be controlled to drive the first product to rotate around the second direction -A2, so that the first angle can be less than or equal to the first threshold.

[0075] Furthermore, in order to ensure that the first angle is less than or equal to the first threshold, the steps of measuring the first coordinates of at least three first identification points in the first product in the set measurement coordinate system multiple times and controlling the first mobile platform to drive the first product to rotate according to the first coordinates can be performed.

[0076] Furthermore, in the process of measuring the first coordinates of at least three first identification points in the first product in the set measurement coordinate system, the camera can be controlled to photograph the first product, and the measuring mechanism can be guided to move above the first identification point of the first product according to the photographed image to measure the first coordinates of the first identification point of the first product in the measurement coordinate system.

[0077] Step S6200: Control the second mobile platform to drive the second product to rotate, so that a second angle between the second product and the first product is less than or equal to a second threshold.

[0078] The second product in this embodiment may be an optical machine to be assembled with the waveguide plate.

[0079] In this embodiment, the second threshold may be pre-set according to an application scenario or specific requirements. For example, the second threshold may be 1 degree.

[0080] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold value may include: controlling a camera to photograph the first product and the second product, and determining the second angle between the second product and the first product based on a third image obtained by the photographing; and then controlling the second mobile platform to drive the second product to rotate based on the second angle so that the second angle is less than or equal to the second threshold value.

[0081] In another embodiment of the present disclosure, controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold value may include: measuring the second coordinates of at least three first identification points in the first product in the measurement coordinate system; measuring the third coordinates of at least three second identification points in the second product in the measurement coordinate system; and controlling the second mobile platform to drive the second product to rotate according to the second and third coordinates so that the second angle is less than or equal to the second threshold value.

[0082] In this embodiment, the measuring mechanism can be controlled to move above the first identification point of the first product, and the second coordinate of the first identification point of the first product in the measurement coordinate system is measured; the measuring mechanism can be controlled to move above the second identification point of the second product, and the third coordinate of the second identification point of the second product in the measurement coordinate system is measured.

[0083] In this embodiment, based on the second coordinates of at least three first identification points in the measurement coordinate system and the third coordinates of at least three second identification points in the measurement coordinate system, the rotation angle of the second product relative to the first product in the first direction and the rotation angle of the second product relative to the first product in the second direction can be obtained.

[0084] According to the rotation angle of the second product relative to the first product in the first direction and the rotation angle of the second product relative to the first product in the second direction, the second mobile platform is controlled to drive the second product to rotate, so that the second angle can be less than or equal to the second threshold.

[0085] For example, the rotation angle of the second product relative to the first product in the first direction is A3, and the rotation angle of the second product relative to the first product in the second direction is A4. Then, according to the rotation angle of the second product relative to the first product in the first direction and the rotation angle of the second product relative to the first product in the second direction, the second mobile platform is controlled to drive the second product to rotate. The second mobile platform can be controlled to drive the second product to rotate around the first direction by -A3, and the mobile platform can be controlled to drive the second product to rotate around the second direction by -A4, so that the second angle can be less than or equal to the second threshold.

[0086] Furthermore, in order to ensure that the second angle is less than or equal to the second threshold, the steps of measuring the second coordinates of at least three first identification points in the first product in the measurement coordinate system for multiple times; measuring the third coordinates of at least three second identification points in the second product in the measurement coordinate system; and controlling the second mobile platform to drive the second product to rotate according to the second and third coordinates can be performed.

[0087] Furthermore, in the process of measuring the second coordinates of at least three first identification points of the first product in the measurement coordinate system, the camera may be controlled to photograph the first product, and the measurement mechanism may be guided to move above the first identification point of the first product according to the image obtained by the photographing, and the second coordinates of the first identification point of the first product in the measurement coordinate system may be measured. In the process of measuring the third coordinates of at least three second identification points of the second product in the measurement coordinate system, the camera may be controlled to photograph the second product, and the measurement mechanism may be guided to move above the second identification point of the second product according to the image obtained by the photographing, and the third coordinates of the second identification point of the second product in the measurement coordinate system may be measured.

[0088] In one embodiment of the method, before executing step S6200, the method may include: controlling the second moving platform to drive the second product to move below the first product.

[0089] In this way, it is convenient to subsequently adjust the posture of the second product so as to assemble the first product and the second product.

[0090] In one embodiment of the method, before executing step S6200, the method may include: controlling the second mobile platform to drive the second product to rotate, so that a third angle between the second product and the reference plane is less than or equal to a third threshold.

[0091] In this embodiment, the third threshold may be pre-set according to an application scenario or specific requirements. For example, the third threshold may be 1 degree.

[0092] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to rotate so that a third angle between the second product and the reference plane is less than or equal to a third threshold value may include: controlling the camera to photograph the second product, and determining the third angle between the second product and the reference plane based on a fourth image obtained by the photographing; and then controlling the second mobile platform to drive the second product to rotate based on the third angle so that the third angle is less than or equal to the third threshold value.

[0093] In another embodiment of the present disclosure, controlling the second mobile platform to drive the second product to rotate so that a third angle between the second product and the reference plane is less than or equal to a third threshold value may include: measuring the fourth coordinates of at least three second identification points in the second product in a set measurement coordinate system; wherein the fourth coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane; and controlling the second mobile platform to drive the second product to rotate according to the fourth coordinate so that the third angle is less than or equal to the third threshold value.

[0094] In this embodiment, the measuring mechanism may be controlled to move above the second identification point of the second product to measure the fourth coordinate of the second identification point of the second product in the measurement coordinate system.

[0095] In this embodiment, the fourth coordinates of at least three second identification points in the measurement coordinate system can be used to obtain the rotation angle of the second product relative to the reference plane in the first direction and the rotation angle of the second product relative to the reference plane in the second direction.

[0096] According to the rotation angle of the second product relative to the reference plane in the first direction and the rotation angle of the second product relative to the reference plane in the second direction, the second mobile platform is controlled to drive the second product to rotate, so that the third angle can be less than or equal to the third threshold.

[0097] For example, the rotation angle of the second product relative to the reference plane in the first direction is A5, and the rotation angle of the second product relative to the reference plane in the second direction is A6. Then, according to the rotation angle of the second product relative to the reference plane in the first direction and the rotation angle of the second product relative to the reference plane in the second direction, the second mobile platform is controlled to drive the second product to rotate. The second mobile platform can be controlled to drive the second product to rotate around the first direction by -A5, and the mobile platform can be controlled to drive the second product to rotate around the second direction by -A6, so that the third angle can be less than or equal to the third threshold.

[0098] Step S6300: Control the camera to shoot the first product and the second product to obtain a first image.

[0099] In this embodiment, the first product and the second product are both within the shooting field of view of the camera, and the second product may be adjusted using a passive AA method.

[0100] Step S6400: According to the first image, control the second mobile platform to drive the second product to translate and / or rotate in the reference plane, so that the second product is aligned with the first product.

[0101] In this embodiment, by controlling the second mobile platform according to the first image to drive the second product to translate and / or rotate in the reference plane, the first product and the second product can be aligned in the first image, that is, the position area of ​​the second product to be assembled with the first product coincides with the first product in the first image, and the posture of the second product matches the posture of the first product, so that assembly can be performed.

[0102] In one embodiment of the present disclosure, based on the first image, controlling the second mobile platform to drive the second product to translate and / or rotate in a reference plane so that the second product is aligned with the first product, including: determining the rotation angle deviation and / or distance deviation between the first product and the second product in the reference plane based on the first image; controlling the second mobile platform to drive the second product to rotate in the reference plane based on the rotation angle deviation, and / or controlling the second mobile platform to drive the second product to translate in the reference plane based on the distance deviation so that the second product is aligned with the first product.

[0103] In this embodiment, the position area of ​​the first product to be assembled in the second product and the pixel angle and pixel distance of the first product in the first image can be transformed respectively according to the transformation matrix obtained by pre-affine transformation to obtain the rotation angle deviation and / or distance deviation of the first product and the second product in the reference plane.

[0104] In this embodiment, the second mobile platform is controlled to drive the second product to rotate in the reference plane according to the rotation angle deviation, so as to reduce the rotation angle deviation between the first product and the second product in the reference plane; the second mobile platform is controlled to drive the second product to translate in the reference plane according to the distance deviation, so as to reduce the distance deviation between the first product and the second product in the reference plane.

[0105] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to rotate in a reference plane according to a rotation angle deviation includes: controlling the second mobile platform to drive the second product to rotate in the reference plane and in a direction perpendicular to the reference plane according to the rotation angle deviation, so that the rotation angle deviation between the second product and the first product in the reference plane is less than or equal to a fourth threshold value.

[0106] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to translate in a reference plane according to the distance deviation includes: controlling the second mobile platform to drive the second product to translate in the reference plane according to the distance deviation, so that the distance deviation between the second product and the first product in the reference plane is less than or equal to a fifth threshold value.

[0107] Through this embodiment, by controlling the second mobile platform to drive the second product to translate and / or rotate in the reference plane, the second product can be aligned with the first product to facilitate subsequent assembly of the first product and the second product.

[0108] Step S6500: Control the second moving platform to drive the second product to move toward the first product, so as to assemble the first product and the second product.

[0109] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to move toward the first product may be controlling the second mobile platform to drive the second product to translate in a direction perpendicular to the reference plane and close to the first product.

[0110] Through the embodiments of the present disclosure, the first mobile platform is controlled to drive the first product to rotate so that a first angle between the first product and a reference plane is less than or equal to a first threshold; the second mobile platform is controlled to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold; based on a first image of the first product and the second product captured by a camera, the second mobile platform is controlled to drive the second product to translate and / or rotate within the reference plane so that the second product is aligned with the first product; the second mobile platform is controlled to drive the second product to move toward the first product so as to assemble the first product with the second product. This can realize automatic assembly of the first product and the second product of any shape, and can improve the assembly accuracy of the first product and the second product.

[0111] Figure 7 It is a flowchart of an example of a product assembly method provided according to an embodiment of the present disclosure.

[0112] like Figure 7 As shown, the product assembly method may include the following steps:

[0113] Step S7001, measuring the first coordinates of at least three first identification points in a first product in a set measurement coordinate system.

[0114] Step S7002: Control the first mobile platform to drive the first product to rotate according to the first coordinate, so that the first angle is less than or equal to the first threshold.

[0115] Step S7003, measuring the fourth coordinates of at least three second identification points in the second product in the set measurement coordinate system.

[0116] Step S7004: Control the second mobile platform to drive the second product to rotate according to the fourth coordinate, so that the third angle is less than or equal to the third threshold.

[0117] Step S7005, controlling the second moving platform to move the second product to below the first product.

[0118] Step S7006, controlling the camera to photograph the first product and the second product to obtain a first image.

[0119] Step S7007: determining the rotation angle deviation between the first product and the second product in the reference plane according to the first image.

[0120] Step S7008, controlling the second mobile platform to drive the second product to rotate in the reference plane and in a direction perpendicular to the reference plane according to the rotation angle deviation, so that the rotation angle deviation between the second product and the first product in the reference plane is less than or equal to a fourth threshold.

[0121] Step S7009: measuring the second coordinates of at least three first identification points in the first product in the measurement coordinate system.

[0122] Step S7010: measuring the third coordinates of at least three second identification points in the second product in the measurement coordinate system.

[0123] Step S7011: Control the second mobile platform to drive the second product to rotate according to the second coordinate and the third coordinate, so that the second angle is less than or equal to the second threshold.

[0124] Step S7012: Control the camera to shoot the first product and the second product to obtain a first image.

[0125] Step S7013: determining a distance deviation between the first product and the second product in a reference plane according to the first image.

[0126] Step S7014: Control the second mobile platform to drive the second product to translate in the reference plane according to the distance deviation, so that the distance deviation between the second product and the first product in the reference plane is less than or equal to a fifth threshold.

[0127] Step S7015, controlling the second mobile platform to drive the second product to move toward the first product, may be controlling the second mobile platform to drive the second product to translate along a direction perpendicular to the reference plane and close to the first product, so as to assemble the first product with the second product.

[0128] This embodiment also provides a product assembly device 8000, such as Figure 8 As shown, the product assembly device 8000 includes: a first control module 8100 , a second control module 8200 , a third control module 8300 , a fourth control module 8400 and a fifth control module 8500 .

[0129] The first control module 8100 is used to control the first mobile platform to drive the first product to rotate, so that a first angle between the first product and the reference plane is less than or equal to a first threshold.

[0130] The second control module 8200 is used to control the second mobile platform to drive the second product to rotate, so that a second angle between the second product and the first product is less than or equal to a second threshold.

[0131] The third control module 8300 is used to control the camera to shoot the first product and the second product to obtain a first image.

[0132] The fourth control module 8400 is used to control the second mobile platform to drive the second product to translate and / or rotate within the reference plane according to the first image, so that the second product is aligned with the first product.

[0133] The fifth control module 8500 is used to control the second mobile platform to drive the second product to move toward the first product, so as to assemble the first product and the second product.

[0134] In one embodiment of the present disclosure, the first control module 8100 is specifically used to:

[0135] Measuring first coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane;

[0136] The first mobile platform is controlled to drive the first product to rotate according to the first coordinate, so that the first angle is less than or equal to a first threshold.

[0137] In one embodiment of the present disclosure, the second control module 8200 is specifically used to:

[0138] Measuring the second coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane;

[0139] Measuring third coordinates of at least three second identification points in the second product in the measurement coordinate system;

[0140] According to the second coordinate and the third coordinate, the second mobile platform is controlled to drive the second product to rotate so that the second angle is less than or equal to a second threshold.

[0141] In one embodiment of the present disclosure, the product assembly device 8000 further includes:

[0142] The sixth control module is used to control the second moving platform to drive the second product to move below the first product.

[0143] In one embodiment of the present disclosure, the product assembly device 8000 further includes:

[0144] A measuring module, used for measuring fourth coordinates of at least three second identification points in the second product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane;

[0145] A seventh control module is used to control the second mobile platform to drive the second product to rotate according to the fourth coordinate, so that a third angle between the second product and the reference plane is less than or equal to a third threshold.

[0146] In one embodiment of the present disclosure, the fourth control module 8400 is specifically used to:

[0147] determining, according to the first image, a rotation angle deviation and / or a distance deviation between the first product and the second product in the reference plane;

[0148] The second mobile platform is controlled according to the rotation angle deviation to drive the second product to rotate within the reference plane, and / or, the second mobile platform is controlled according to the distance deviation to drive the second product to translate within the reference plane, so that the second product is aligned with the first product.

[0149] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to rotate within the reference plane according to the rotation angle deviation includes:

[0150] According to the rotation angle deviation, the second mobile platform is controlled to drive the second product to rotate within the reference plane and in a direction perpendicular to the reference plane, so that the rotation angle deviation between the second product and the first product within the reference plane is less than or equal to a fourth threshold.

[0151] In one embodiment of the present disclosure, controlling the second mobile platform to drive the second product to translate within the reference plane according to the distance deviation includes:

[0152] According to the distance deviation, the second mobile platform is controlled to drive the second product to translate within the reference plane, so that the distance deviation between the second product and the first product within the reference plane is less than or equal to a fifth threshold.

[0153] This embodiment further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.

[0154] The above embodiments mainly focus on describing the differences from other embodiments, but it should be clear to those skilled in the art that the above embodiments can be used alone or in combination with each other as needed.

[0155] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments, but it should be clear to those skilled in the art that the above embodiments can be used alone or in combination with each other as needed. In addition, for the device embodiment, since it corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the corresponding part of the method embodiment. The system embodiment described above is merely illustrative, and the modules described as separate components may or may not be physically separated.

[0156] The present invention may be an apparatus, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0157] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical compression device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0158] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0159] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0160] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0161] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0162] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0163] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0164] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. 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 embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A product assembly method, characterized in that: include: Controlling the first mobile platform to drive the first product to rotate so that a first angle between the first product and the reference plane is less than or equal to a first threshold; Controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold; Controlling a camera to shoot the first product and the second product to obtain a first image; According to the first image, controlling the second mobile platform to drive the second product to translate and / or rotate within the reference plane so that the second product is aligned with the first product; The second mobile platform is controlled to drive the second product to move toward the first product, so as to assemble the first product with the second product.

2. The method according to claim 1, characterized in that The controlling the first mobile platform to drive the first product to rotate so that a first angle between the first product and a reference plane is less than or equal to a first threshold value includes: Measuring first coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane; The first mobile platform is controlled to drive the first product to rotate according to the first coordinate, so that the first angle is less than or equal to a first threshold.

3. The method according to claim 1, characterized in that: The controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold value includes: Measuring the second coordinates of at least three first identification points in the first product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane; Measuring third coordinates of at least three second identification points in the second product in the measurement coordinate system; According to the second coordinate and the third coordinate, the second mobile platform is controlled to drive the second product to rotate so that the second angle is less than or equal to a second threshold.

4. The method according to claim 1, characterized in that: Before controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold, the method further includes: The second moving platform is controlled to drive the second product to move below the first product.

5. The method according to claim 1, characterized in that Before controlling the second mobile platform to drive the second product to rotate so that a second angle between the second product and the first product is less than or equal to a second threshold, the method further includes: Measuring fourth coordinates of at least three second identification points in the second product in a set measurement coordinate system; wherein the first coordinate axis and the second coordinate axis of the measurement coordinate system are both parallel to the reference plane; The second mobile platform is controlled to drive the second product to rotate according to the fourth coordinate, so that a third angle between the second product and the reference plane is less than or equal to a third threshold.

6. The method according to claim 1, characterized in that The controlling the second mobile platform to drive the second product to translate and / or rotate in the reference plane according to the first image so that the second product is aligned with the first product includes: determining, according to the first image, a rotation angle deviation and / or a distance deviation between the first product and the second product in the reference plane; The second mobile platform is controlled according to the rotation angle deviation to drive the second product to rotate within the reference plane, and / or, the second mobile platform is controlled according to the distance deviation to drive the second product to translate within the reference plane, so that the second product is aligned with the first product.

7. The method according to claim 6, characterized in that The step of controlling the second mobile platform to drive the second product to rotate within the reference plane according to the rotation angle deviation includes: According to the rotation angle deviation, the second mobile platform is controlled to drive the second product to rotate within the reference plane and in a direction perpendicular to the reference plane, so that the rotation angle deviation between the second product and the first product within the reference plane is less than or equal to a fourth threshold.

8. The method according to claim 6, characterized in that Controlling the second mobile platform to drive the second product to translate within the reference plane according to the distance deviation includes: According to the distance deviation, the second mobile platform is controlled to drive the second product to translate within the reference plane, so that the distance deviation between the second product and the first product within the reference plane is less than or equal to a fifth threshold.

9. A product assembly device, characterized in that: include: A first control module, configured to control the first mobile platform to drive the first product to rotate, so that a first angle between the first product and the reference plane is less than or equal to a first threshold; A second control module, used for controlling the second mobile platform to drive the second product to rotate, so that a second angle between the second product and the first product is less than or equal to a second threshold; A third control module, used to control a camera to shoot the first product and the second product to obtain a first image; a fourth control module, configured to control the second mobile platform to drive the second product to translate and / or rotate within the reference plane according to the first image, so that the second product is aligned with the first product; The fifth control module is used to control the second moving platform to drive the second product to move toward the first product, so as to assemble the first product with the second product.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Robot, robot system, control device, and control method

    CN104889973A

  • Method for identifying feature objects in automatic heart-regulating process in camera module group

    CN105991912A

  • Method for identifying feature object in automatic aligning process of camera module

    CN110519508A

  • Component laminating method and device

    CN115229804A

  • Vision-based automatic assembly system for water pressure test of serpentine pipe robot

    CN118205018A