Optical machine and waveguide plate posture control method, posture control device and storage medium

By obtaining the point and plane information of the optical machine and waveguide, calculating and adjusting their motion parameters, the problem of low assembly accuracy of the optical machine and waveguide is solved, high-precision assembly is achieved, and the visual effect of the AR module is improved.

CN118295094BActive Publication Date: 2024-10-11GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410725766.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-11
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Due to the low mechanical control accuracy of the optical machine and waveguide during the assembly process of the AR module, the assembly accuracy is insufficient, resulting in tip and tilt deviations, which affects the visual effect.

Method used

By obtaining the point and plane information of the optical machine and the waveguide, the corresponding motion parameters are calculated, and the postures of the optical machine and the waveguide are adjusted to achieve high-precision alignment and assembly.

Benefits of technology

It improves the assembly accuracy and efficiency of the optical machine and waveguide, ensuring the best visual effect of the AR module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118295094B_ABST
    Figure CN118295094B_ABST
Patent Text Reader

Abstract

The present application discloses a method for controlling the posture of an optical machine and a waveguide plate, a posture control device and a storage medium, and relates to the field of optical technology. The method discloses a method for controlling the posture of an optical machine and a waveguide plate, and includes: obtaining point plane information of an optical machine plane and a waveguide plate plane; determining the optical machine motion parameters of the optical machine according to the point plane information, and / or determining the waveguide plate motion parameters of the waveguide plate according to the point plane information; adjusting the optical machine posture of the optical machine based on the optical machine motion parameters, and / or adjusting the waveguide plate posture of the waveguide plate based on the waveguide plate motion parameters, so that the waveguide plate moves to the installation position. The motion parameters for adjusting the posture of the optical machine and the waveguide plate are calculated through the point plane information, and the positions of the optical machine and the waveguide plate are calibrated based on the motion parameters, so as to improve the assembly efficiency and assembly accuracy of the optical machine and the waveguide plate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical technology, and in particular to a method for controlling the position and posture of an optical machine and a waveguide, a position and posture control device, and a 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] During the assembly process of the optomechanic and waveguide, 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. As a result, after the AR module is assembled, the tip deviation and tilt deviation between the optomechanic and waveguide are large (tip deviation refers to rotation deviation, and tilt deviation refers to XY tilt), resulting in low assembly accuracy of the optomechanic and waveguide. Summary of the invention

[0004] The main purpose of the present application is to provide a method for controlling the position and posture of an optical machine and a waveguide, a position and posture control device and a storage medium, aiming to solve the technical problem of low assembly accuracy of an optical machine and a waveguide.

[0005] To achieve the above objectives, the present application proposes a method for controlling the position of an optical machine and a waveguide, the method comprising:

[0006] Obtaining point plane information of the optomechanical plane and the waveguide plane;

[0007] Determine an optomechanical motion parameter of an optomechanical machine according to the point plane information, and / or determine a waveguide motion parameter of a waveguide according to the point plane information;

[0008] The optomechanical posture of the optical machine is adjusted based on the optomechanical motion parameters, and / or the waveguide posture of the waveguide is adjusted based on the waveguide motion parameters, so that the waveguide moves to the installation position.

[0009] In one embodiment, the point plane information includes the optical-mechanical point information and the waveguide sheet point information, and the step of determining the optical-mechanical motion parameters of the optical machine according to the point plane information includes:

[0010] Taking the waveguide plane as a reference plane, determining the relative angular motion parameter of the optical machine according to first projection information of the normal vector of the optical machine point information on the waveguide plane;

[0011] Acquiring first visual information between the optical machine and the waveguide;

[0012] The translation motion parameter of the optical machine is determined according to the first visual information between the optical machine and the waveguide plate.

[0013] In one embodiment, the step of determining the translation motion parameter of the optical machine according to the first visual information between the optical machine and the waveguide comprises:

[0014] Acquire a first characteristic point of the optical machine and a second characteristic point of the waveguide based on the first visual information;

[0015] When the first feature point and the second feature point do not match on the waveguide plate plane, the translation motion parameter of the optical machine is determined according to the difference between the first feature point and the second feature point.

[0016] In one embodiment, the step of determining the waveguide motion parameters of the waveguide according to the point plane information comprises:

[0017] Taking the optomechanical plane as a reference plane, determining the relative angular motion parameter of the waveguide according to second projection information of the normal vector of the waveguide point information on the optomechanical plane;

[0018] According to the first visual information, a translation motion parameter of the waveguide is determined.

[0019] In one embodiment, the step of determining the translation motion parameter of the waveguide according to the first visual information comprises:

[0020] Acquire a third characteristic point of the optical machine and a fourth characteristic point of the waveguide sheet based on the first visual information;

[0021] When the third feature point and the fourth feature point do not match on the optomechanical plane, a translation motion parameter of the waveguide plate is determined according to a difference between the third feature point and the fourth feature point.

[0022] In one embodiment, the step of determining the optomechanical motion parameters of the optomechanical machine according to the point plane information, and / or determining the waveguide motion parameters of the waveguide according to the point plane information comprises:

[0023] Obtaining benchmark information of a benchmark system;

[0024] The optical-mechanical motion parameters and the waveguide plate motion parameters are determined according to the point plane information and the reference information.

[0025] In one embodiment, the step of determining the optical-mechanical motion parameters and the waveguide motion parameters according to the point plane information and the reference information comprises:

[0026] Determining a calibration angle motion parameter of the optical machine according to second projection information of a normal vector corresponding to the optical machine point information on the reference system;

[0027] Determine the calibration angle motion parameter of the waveguide according to the third projection information of the normal vector corresponding to the waveguide point information on the reference system;

[0028] Determining a rotational motion parameter of the optical machine according to second visual information between the optical machine and the reference system;

[0029] A rotation amount motion parameter of the waveguide is determined based on third visual information between the waveguide and the reference system.

[0030] In one embodiment, the optical-mechanical motion parameters and the waveguide motion parameters further include moving height motion parameters, and before the step of adjusting the optical-mechanical position of the optical machine based on the optical-mechanical motion parameters, the step further includes:

[0031] Acquiring pressure sensing information between the optical machine and the waveguide;

[0032] Determine the moving height motion parameter of the optical machine according to the pressure sensing information;

[0033] Before the step of adjusting the waveguide sheet position and posture of the waveguide sheet based on the waveguide sheet motion parameter, the method further includes:

[0034] The moving height motion parameters of the waveguide are determined according to the pressure sensing information.

[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a posture control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the posture control method of the optical machine and waveguide as described above.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the method for controlling the position of the optical machine and the waveguide plate as described above are implemented.

[0037] One or more technical solutions proposed in this application have at least the following technical effects:

[0038] The motion parameters corresponding to the optomechanics and waveguide are calculated through point plane information, and the positions of the optomechanics and waveguide are calibrated based on the motion parameters, thereby achieving high-precision assembly of the optomechanics and waveguide, and improving the assembly efficiency and accuracy of the optomechanics and waveguide. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0041] Figure 1 A schematic diagram of a flow chart provided for Embodiment 1 of the method for positioning the optical machine and waveguide of the present application;

[0042] Figure 2 A schematic diagram of a flow chart provided for Embodiment 2 of the method for positioning the optical machine and waveguide of the present application;

[0043] Figure 3 A schematic diagram of a flow chart provided for Embodiment 3 of the method for positioning the optical machine and waveguide of the present application;

[0044] Figure 4 Schematic diagram of the equipment structure of the hardware operating environment involved in the method for positioning the optical machine and waveguide in the embodiment of the present application.

[0045] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] During the assembly process of the optical machine and the waveguide, mechanical assembly is usually performed based on an artificial assembly algorithm. However, due to the low precision 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 tip deviation and tilt deviation between the optical machine and the waveguide are large, resulting in low assembly precision of the optical machine and the waveguide. The main technical solution adopted in the embodiment of the present application is: obtaining the point plane information of the optical machine plane and the waveguide plane, and then calculating the motion parameters of the optical machine or waveguide based on the point plane information, and adjusting the motion parameters of the optical machine or waveguide based on the motion parameters, so that the waveguide or optical machine moves to the accurate installation position. The position and posture of the optical machine or waveguide are calibrated by the motion parameters calculated by the point plane information to improve the assembly precision of the optical machine and the waveguide.

[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0048] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0049] The present application embodiment provides a method for controlling the position of an optical machine and a waveguide plate, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for controlling the position of an optical machine and a waveguide plate of the present application.

[0050] In this embodiment, the method for controlling the position and posture of the optical machine and the waveguide comprises steps S10 to S30:

[0051] Step S10, obtaining point plane information of the optomechanical plane and the waveguide plane;

[0052] It should be noted that in AR devices, the image generated by the optical machine is reflected by the waveguide and transmitted to the human eye, so the optical machine and the waveguide need to work perfectly together to present the best visual effect. In order to achieve high-precision assembly of the optical machine and the waveguide and thus improve the visual effect, the optical machine plane needs to be aligned with the waveguide plane during the production process. During the alignment process, in order to improve the assembly accuracy, it is necessary to obtain the point plane information corresponding to the side of the optical machine where light is emitted, and the point plane information corresponding to the side of the waveguide where light is incident, and calibrate the optical machine and the waveguide based on the point plane information corresponding to these two sides. Among them, the point plane information refers to the coordinates of the points on the optical machine plane and the waveguide plane, and there are at least three points that are not on the same straight line, so as to calculate the normal vectors of the optical machine plane and the waveguide plane based on at least three points that are not on the same straight line, and then calculate the position parameters of the optical machine or waveguide that need to be adjusted during the alignment process according to the normal vectors of the two.

[0053] As an optional implementation method for obtaining point plane information, the point plane information of the optomechanical plane and the waveguide plane can be obtained through a coaxial optical sensor camera combination or a 3D camera, wherein the coaxial optical sensor camera combination is a lighting and imaging device in a machine vision system, which combines a special light source and a camera to provide high-quality image capture. The point information is identified by machine vision to adjust the position and improve the assembly accuracy of the optomechanical and waveguide.

[0054] Step S20, determining an optical-mechanical motion parameter of the optical machine according to the point plane information, and / or determining a waveguide motion parameter of the waveguide according to the point plane information;

[0055] In this embodiment, the point plane information includes the optical machine point information and the waveguide sheet point information. In the process of adjusting the waveguide sheet and the optical machine posture so that the two are aligned and parallel, the motion parameters include the relative angle motion parameters for adjusting the optical machine plane and the waveguide sheet plane to be parallel, the translation motion parameters for aligning the two planes, and the moving height motion parameters for adjusting the gap between the two planes. In addition, in the process of adjusting the waveguide sheet and the optical machine posture so that the two are aligned and parallel with the reference system, the motion parameters also include the calibration angle motion parameters for adjusting the optical machine plane and the waveguide sheet plane to be parallel to the reference system, and the rotation motion parameters for adjusting the optical machine plane and the waveguide sheet plane to meet the rotation angle requirements of the reference system. Among them, the relative angle motion parameter is the angle that needs to be flipped when the two planes are adjusted to be parallel, the translation motion parameter is the xy translation that needs to be aligned on the plane after the two planes are parallel, and the moving height motion parameter is to adjust the Z-axis rise height after the alignment is parallel, so that the optical machine and the waveguide sheet reach a gap value (physical gap) suitable for assembly.

[0056] The process of adjusting the posture of the optical machine and the waveguide plate includes aligning the optical machine and the waveguide plate with the reference system respectively, and aligning the optical machine and the waveguide plate in parallel. It can be understood that when the optical machine and the waveguide plate are aligned in parallel, the optical machine can be used as a reference plane to adjust the posture of the waveguide plate based on the motion parameters of the waveguide plate, or the waveguide plate can be used as a reference plane to adjust the posture of the optical machine based on the motion parameters of the optical machine. That is, when the alignment and parallel processing between the optical machine and the waveguide plate is performed, only the posture of the optical machine can be adjusted, or the posture of the waveguide plate can be adjusted. Therefore, the motion parameters of the optical machine can be determined according to the point plane information, or the motion parameters of the waveguide plate can be determined.

[0057] When performing the alignment parallel processing between the optical machine and the waveguide, as an optional implementation, after obtaining the optical machine point information and the waveguide point information, the optical machine plane is used as the reference plane, and the relative position relationship between the optical machine and the waveguide can be determined by the known specific points on the optical machine point information and the waveguide point information, and then by the method of geometric construction. For example, three non-collinear points are taken on two planes respectively, and the relative angular motion parameters of the two planes can be calculated by the coordinates of these points, and the position and posture of the waveguide are adjusted accordingly. In addition, the normal vector of the three points on different lines on the waveguide plane can be calculated, and the relative angular motion parameters of the waveguide are calculated based on the normal vector and the normal vector of the optical machine plane. Among them, when the waveguide plane is used as the reference plane, the calculation method of the relative angular motion parameters is the same as the above calculation method, and it will not be repeated here.

[0058] In addition, the visual information between the optical machine and the waveguide can be obtained, and then the translation motion parameters of the optical machine or the waveguide can be calculated based on the visual information. Alternatively, the moving height motion parameters of the optical machine or the waveguide can be calculated based on the visual information, wherein the moving height motion parameters can also be calculated by the pressure information obtained by the pressure sensor. The optical machine motion parameters or the waveguide motion parameters are determined by the point information, visual information and pressure sensing information of the optical machine plane and the waveguide plane, so that when the alignment and parallel processing between the optical machine and the waveguide is performed, the rotation angle requirements and alignment requirements of the optical machine plane and the waveguide plane are guaranteed, so that the optical machine and the waveguide are parallel and aligned to each other, thereby improving the assembly accuracy of the optical machine and the waveguide.

[0059] When the optomechanical machine and the waveguide are aligned parallel to the reference system, the optomechanical motion parameters and the waveguide motion parameters need to be obtained at the same time, that is, the optomechanical motion parameters and the waveguide motion parameters need to be obtained at the same time in this process. In this process, the reference system is the reference plane, and the relative angle motion parameters can be calculated through the three non-collinear points in the optomechanical point information and the waveguide point information. At the same time, the rotation motion parameters are calculated based on the visual information of the optomechanical machine and the reference system, and the visual information of the waveguide and the reference system. Then the motion parameters corresponding to the optomechanical machine and the waveguide are obtained.

[0060] It should be noted that in mechanical adjustment or optical device setting, each adjustment of the device may introduce a small error. However, the purpose of this application is to adjust the optical machine and the waveguide to the exact position. When performing alignment and parallel processing based on the reference system, it is theoretically necessary to perform two steps of parallel adjustment and rotation processing. When aligning the optical machine and the waveguide to be parallel, it is theoretically necessary to perform three steps of parallel adjustment, displacement adjustment and height adjustment. Therefore, in order to reduce the accumulated errors due to multiple continuous adjustments and improve the final adjustment accuracy, the optical machine and the waveguide are usually aligned and paralleled with the reference system respectively, and then the alignment and parallel processing of the two is performed. It can be understood that when a certain motion parameter such as the translation motion parameter obtained is empty or zero, it means that the processing action does not need to be performed at present.

[0061] Exemplarily, after simultaneously acquiring the optomechanical motion parameters and the waveguide motion parameters, the optomechanical system is aligned parallel to the reference system, and the waveguide is aligned parallel to the reference system based on the optomechanical motion parameters and the waveguide motion parameters, and then further parallel calibration processing is performed based on the optomechanical and waveguide.

[0062] The optical machine and waveguide are adjusted to be parallel to the reference system respectively, so that the visual information obtained by the camera is more reliable and more accurate, making the translation motion parameters or rotation motion parameters calculated based on the visual information more accurate, further improving the accuracy of the tip and tilt of the optical machine and waveguide.

[0063] As an optional implementation, a 6-DOF assembly platform can be used to adjust the optical machine and waveguide. Based on the 6-DOF assembly platform, the optical machine or waveguide can achieve the movement of the three translational degrees of freedom of X, Y, and Z in space and the three rotational degrees of freedom of α (Roll), β (Pitch), and γ (Yaw).

[0064] Step S30, adjusting the optomechanical posture of the optical machine based on the optomechanical motion parameters, and / or adjusting the waveguide posture of the waveguide based on the waveguide motion parameters, so as to move the waveguide to an installation position.

[0065] It should be noted that after obtaining the optical-mechanical motion parameters and the waveguide motion parameters, the optical-mechanical posture and the waveguide posture can be adjusted based on the motion parameters, so that the optical-mechanical and the waveguide are moved to an installation position aligned parallel to the reference system. Subsequently, after obtaining the optical-mechanical motion parameters or the waveguide motion parameters, the optical-mechanical posture is adjusted based on the optical-mechanical motion parameters, so that the optical-mechanical moves to an installation position aligned parallel to the waveguide, or the waveguide posture is adjusted based on the waveguide motion parameters, so that the waveguide moves to an installation position aligned parallel to the optical-mechanical.

[0066] As an optional implementation, the point information of the waveguide plane can be obtained through a coaxial optical sensor camera combination or a 3D camera, and the plane normal vector and its projection can be calculated to decompose the angles required for each axis of the stage to move, and the waveguide and the reference system can be adjusted to be parallel. Then, the optical machine and the reference system can be adjusted to be parallel through the same processing process, and then the required rotation amount of the optical machine and the waveguide after being parallel to the reference system is calculated through the visual information obtained by the camera, and then the waveguide and the optical machine are adjusted based on the rotation amount to meet the rotation position requirements. At this time, the pre-calibration processing of the optical machine and the waveguide is completed through the reference system. Then, the point information of the waveguide plane and the optical machine plane is obtained through a coaxial optical sensor camera combination or a 3D camera, and the angle required to move is also calculated through the point information, and then the optical machine is moved to make it further parallel to the waveguide, or the waveguide is moved to make it further parallel to the optical machine. Then, the xy translation value required in the alignment process of the optical machine or waveguide is calculated through the visual information obtained by the camera, and the optical machine or waveguide is moved based on the translation value to achieve the alignment of the waveguide and the optical machine. Finally, the pressure sensor determines the Z-axis rise between the optical machine or waveguide, and adjusts the optical machine or waveguide based on the rise so that the gap between the two reaches a suitable assembly value. Based on this, the optical machine and waveguide are adjusted in position through pre-calibration processing, point information, visual information, and pressure sensing information, thereby improving the assembly accuracy of the optical machine and waveguide.

[0067] The embodiment of the application provides a method for controlling the posture of an optical machine and a waveguide plate, which obtains point plane information of the optical machine plane and the waveguide plate plane, and then calculates the motion parameters for aligning the optical machine and the waveguide plate to be parallel to the reference system based on the point plane information and visual information, and adjusts the posture of the optical machine and the waveguide plate based on the motion parameters, so that the optical machine and the waveguide plate are parallel to the reference system, and then adjusts the rotation angle between the optical machine and the reference system and the rotation angle between the waveguide plate and the reference system through visual information. After the optical machine and the waveguide plate are aligned parallel to the reference system respectively, the optical machine motion parameters or the waveguide plate motion parameters for aligning the optical machine and the waveguide plate to be parallel are calculated based on the point plane information, visual information and pressure information, and the optical machine posture is adjusted based on the optical machine motion parameters or the waveguide plate posture is adjusted based on the waveguide plate motion parameters, so as to achieve high-precision assembly of the optical machine and the waveguide plate.

[0068] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be repeated in the following. On this basis, when it is necessary to determine the motion parameters that make the optical machine and the waveguide plate aligned parallel, please refer to Figure 2 In step S20, the step of determining the optical-mechanical motion parameters of the optical machine according to the point plane information includes steps S21 to S23:

[0069] Step S21, taking the waveguide plane as a reference plane, and determining the relative angular motion parameter of the optical machine according to first projection information of the normal vector of the optical machine point information on the waveguide plane;

[0070] In this embodiment, as a feasible implementation method, the plane normal vector of the optomechanical plane is calculated based on the information of three optomechanical points that are not in the same straight line, and then the normal vector is projected into the waveguide plane, and then the relative angular motion parameters of the optomechanical machine are obtained by analyzing the angle deviation, and finally the motion parameters are decomposed into the angles that each axis of the stage needs to move, so that the stage can control the optomechanical machine to adjust the posture.

[0071] In an optional implementation of determining the motion parameters of the waveguide, it is necessary to use the optomechanical plane as a reference plane and determine the relative angular motion parameters of the waveguide based on second projection information of the normal vector of the waveguide point information on the optomechanical plane.

[0072] Step S22, obtaining first visual information between the optical machine and the waveguide plate;

[0073] Step S23, determining a translation motion parameter of the optical machine according to the first visual information between the optical machine and the waveguide plate.

[0074] In this embodiment, the visual information between the optical machine and the waveguide can be obtained by a camera. Based on the visual information, the xy translation of the optical machine on the plane is determined by feature point matching or edge detection, so that the waveguide and the optical machine can be aligned.

[0075] In another optional implementation, when calculating the translation motion parameters of the waveguide plate, the translation motion parameters of the waveguide plate may also be determined based on the first visual information.

[0076] Exemplarily, in the process of determining the translation motion parameters based on the feature point matching method, the visual information obtained includes the feature points marked by the optical machine and the feature points marked on the waveguide plate. Therefore, the first feature point of the optical machine and the second feature point of the waveguide plate can be obtained through the first visual information. Then, when the first feature point and the second feature point do not match on the plane of the waveguide plate, the translation motion parameters of the optical machine are determined according to the difference between the first feature point and the second feature point. In addition, when calculating the translation motion parameters of the waveguide plate, the translation motion parameters of the waveguide plate can also be determined according to the first visual information. When calculating the translation motion parameters of the waveguide plate, the third feature point of the optical machine and the fourth feature point of the waveguide plate can also be obtained based on the first visual information; when the third feature point and the fourth feature point do not match on the plane of the optical machine, the translation motion parameters of the waveguide plate are determined according to the difference between the third feature point and the fourth feature point.

[0077] After determining the motion parameters of the optical machine translation, it is also necessary to determine the motion parameters of the moving height of the optical machine. Therefore, as an optional implementation, after determining the motion parameters of the optical machine translation, that is, before adjusting the optical machine posture according to the optical machine motion parameters, it is also necessary to obtain the pressure sensing information between the optical machine and the waveguide plate, and determine the moving height motion parameters of the optical machine according to the pressure sensing information. Similarly, the moving height motion parameters of the waveguide plate can also be determined according to the pressure sensing information. Based on the moving height motion parameters, the height of the optical machine or waveguide plate on the Z axis is adjusted so that the optical machine and the waveguide plate reach a gap value suitable for assembly, thereby improving the assembly accuracy.

[0078] The embodiment of the application provides a method for controlling the position and posture of an optical machine and a waveguide sheet. Through the point information of the waveguide sheet plane and the optical machine plane, the optical machine is moved to be further parallel to the waveguide sheet or the waveguide sheet is moved to be further parallel to the optical machine. Then, the xy translation value for alignment between the waveguide sheet and the optical machine is calculated through the visual information obtained by the camera. After the optical machine and the waveguide sheet are aligned, the moving height of the optical machine and the waveguide sheet in the Z axis is determined through the information fed back by the pressure sensor, so that the optical machine and the waveguide sheet can reach a gap value suitable for assembly based on the moving height. Based on this, after the optical machine and the waveguide sheet are adjusted to be parallel, the obtained visual information is more reliable. At the same time, the optical machine and the waveguide sheet are adjusted to a gap value suitable for assembly based on the pressure sensor information, thereby improving the assembly accuracy of the optical machine and the waveguide sheet.

[0079] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be repeated in the following. On this basis, when it is necessary to determine the motion parameters that make the optical machine and the waveguide plate aligned parallel, please refer to Figure 3In step S20, the step of determining the optical-mechanical motion parameters of the optical machine according to the point plane information, and / or the step of determining the waveguide motion parameters of the waveguide according to the point plane information includes steps S24-S25:

[0080] Step S24, obtaining the benchmark information of the benchmark system;

[0081] It should be noted that a reference system usually refers to a set of standards or features used as a reference to achieve accurate measurement, positioning and assembly of workpieces. Reference information is the data obtained from the reference system, including the position reference used to establish the coordinate system in space, the direction reference used to determine the direction of the object, the size reference used to determine the size of the object, etc. Based on the reference information, the point plane information and the motion parameters of the reference system can be accurately calculated.

[0082] Step S25, determining the optical-mechanical motion parameters and the waveguide plate motion parameters according to the point plane information and the reference information.

[0083] In this embodiment, as an optional implementation, the calibration angle motion parameters of the optical machine can be determined based on the information, according to the second projection information of the normal vector corresponding to the optical machine point information on the reference system, and the calibration angle motion parameters of the waveguide can be determined according to the third projection information of the normal vector corresponding to the waveguide point information on the reference system. After obtaining the state for calibrating the waveguide and the optical machine to be parallel to the reference system respectively, the rotational motion parameters of the optical machine can be determined according to the second visual information between the optical machine and the reference system, and the rotational motion parameters of the waveguide can be determined according to the third visual information of the optical machine and the reference system. The rotational motion parameters can be obtained by feature point matching or edge detection.

[0084] An embodiment of the present application provides a method for controlling the position and posture of an optical machine and a waveguide plate, which obtains calibration angle motion parameters of the optical machine and the waveguide plate for a parallel reference system based on point plane information, and simultaneously calculates the required rotation amount through visual information obtained by a camera, so that the waveguide plate and the optical machine meet the rotation angle requirements during the process of aligning the parallel reference system, thereby improving the effectiveness of pre-calibration based on the reference system and the assembly accuracy of the optical machine and the waveguide plate during subsequent alignment parallel processing.

[0085] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the posture control method of the optical machine and waveguide plate of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0086] The present application provides a posture control device, which includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the posture control method of the optical machine and waveguide plate in the above-mentioned embodiment one.

[0087] Reference below Figure 4 , which shows a schematic diagram of the structure of a posture control device suitable for implementing the embodiment of the present application. The posture control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The posture control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0088] like Figure 4 As shown, the posture control device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the posture control device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the posture control device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a posture control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0089] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0090] The posture control device provided by the present application adopts the posture control method of the optical machine and waveguide plate in the above embodiment, which can solve the technical problem of low assembly accuracy of the optical machine and waveguide plate. Compared with the prior art, the beneficial effects of the posture control device provided by the present application are the same as the beneficial effects of the posture control method of the optical machine and waveguide plate provided by the above embodiment, and other technical features in the posture control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0091] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0092] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0093] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the method for controlling the position and posture of the optical machine and waveguide in the above-mentioned embodiment.

[0094] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0095] The above-mentioned computer-readable storage medium may be included in the posture control device; or it may exist independently without being assembled into the posture control device.

[0096] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the posture control device, the posture control device: obtains point plane information of the optical-mechanical plane and the waveguide plane;

[0097] Determine an optomechanical motion parameter of an optomechanical machine according to the point plane information, and / or determine a waveguide motion parameter of a waveguide according to the point plane information;

[0098] The optomechanical posture of the optical machine is adjusted based on the optomechanical motion parameters, and / or the waveguide posture of the waveguide is adjusted based on the waveguide motion parameters, so that the waveguide moves to the installation position.

[0099] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and 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 through 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., via the Internet using an Internet service provider).

[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that 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 boxes represented in succession 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 flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0101] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0102] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for controlling the position and posture of the optical machine and waveguide sheet, and can solve the technical problem of low assembly accuracy of the optical machine and waveguide sheet. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the method for controlling the position and posture of the optical machine and waveguide sheet provided in the above-mentioned embodiment, and will not be described in detail here.

[0103] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for controlling the position and posture of an optical machine and a waveguide.

[0104] The computer program product provided by the present application can solve the technical problem of low assembly precision of the optical machine and the waveguide. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the method for controlling the position and posture of the optical machine and the waveguide provided by the above embodiment, which will not be described in detail here.

[0105] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for controlling the position and posture of an optical machine and a waveguide, characterized in that: The method comprises: Acquire point plane information of an optomechanical plane and a waveguide plane, wherein the point plane information refers to coordinates of points on the optomechanical plane and the waveguide plane, and the point plane information includes the optomechanical point information and the waveguide point information; Determine the optical-mechanical motion parameters of the optical machine according to the point plane information, and / or determine the waveguide plate motion parameters of the waveguide plate according to the point plane information, wherein determining the optical-mechanical motion parameters of the optical machine according to the point plane information comprises: taking the waveguide plate plane as a reference plane, determining the relative angular motion parameters of the optical machine according to the first projection information of the normal vector of the optical-mechanical point information on the waveguide plate plane; acquiring the first visual information between the optical machine and the waveguide plate; determining the translation motion parameters of the optical machine according to the first visual information between the optical machine and the waveguide plate; The optomechanical posture of the optical machine is adjusted based on the optomechanical motion parameters, and / or the waveguide posture of the waveguide is adjusted based on the waveguide motion parameters, so that the waveguide moves to the installation position.

2. The method according to claim 1, characterized in that The step of determining the translation motion parameter of the optical machine according to the first visual information between the optical machine and the waveguide plate comprises: Acquire a first characteristic point of the optical machine and a second characteristic point of the waveguide sheet based on the first visual information; When the first feature point and the second feature point do not match on the waveguide plate plane, the translation motion parameter of the optical machine is determined according to the difference between the first feature point and the second feature point.

3. The method according to claim 1, characterized in that The step of determining the waveguide motion parameters of the waveguide according to the point plane information comprises: Taking the optomechanical plane as a reference plane, determining the relative angular motion parameter of the waveguide according to second projection information of the normal vector of the waveguide point information on the optomechanical plane; According to the first visual information, a translation motion parameter of the waveguide is determined.

4. The method according to claim 3, characterized in that The step of determining the translation motion parameter of the waveguide according to the first visual information comprises: Acquire a third characteristic point of the optical machine and a fourth characteristic point of the waveguide sheet based on the first visual information; When the third feature point and the fourth feature point do not match on the optomechanical plane, a translation motion parameter of the waveguide plate is determined according to a difference between the third feature point and the fourth feature point.

5. The method according to claim 1, characterized in that The step of determining the optical-mechanical motion parameters of the optical machine according to the point plane information, and / or determining the waveguide motion parameters of the waveguide according to the point plane information comprises: Obtaining benchmark information of a benchmark system; The optical-mechanical motion parameters and the waveguide plate motion parameters are determined according to the point plane information and the reference information.

6. The method according to claim 5, characterized in that The step of determining the optical-mechanical motion parameters and the waveguide motion parameters according to the point plane information and the reference information comprises: Determining a calibration angle motion parameter of the optical machine according to second projection information of a normal vector corresponding to the optical machine point information on the reference system; Determine the calibration angle motion parameter of the waveguide according to the third projection information of the normal vector corresponding to the waveguide point information on the reference system; Determining a rotational motion parameter of the optical machine according to second visual information between the optical machine and the reference system; A rotation amount motion parameter of the waveguide is determined based on third visual information between the waveguide and the reference system.

7. The method according to any one of claims 1 to 6, characterized in that The optical-mechanical motion parameters and the waveguide motion parameters also include a moving height motion parameter. Before the step of adjusting the optical-mechanical position of the optical machine based on the optical-mechanical motion parameters, the step further includes: Acquiring pressure sensing information between the optical machine and the waveguide; Determine the moving height motion parameter of the optical machine according to the pressure sensing information; Before the step of adjusting the waveguide sheet position and posture of the waveguide sheet based on the waveguide sheet motion parameter, the method further includes: The moving height motion parameters of the waveguide are determined according to the pressure sensing information.

8. A posture control device, characterized in that: The posture control device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the posture control method of the optical machine and waveguide sheet as described in any one of claims 1 to 7.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for controlling the position and posture of an optical machine and a waveguide plate as described in any one of claims 1 to 7 are implemented.