Optical module debugging device, method and computer readable storage medium
By using positioning components, detection parts and rotating components in the optical module debugging device, the position of the optical module is automatically adjusted, solving the problem of low efficiency of traditional manual debugging and achieving more efficient debugging and production of optical modules.
Patent Information
- Application Number
- CN202111576402.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-12-21
AI Technical Summary
During the debugging process of traditional VR optical modules, due to the influence of polarized light, the angle and position of the optical components need to be manually adjusted, resulting in low production efficiency and low debugging rate.
An optical module debugging device is designed, including a positioning component, a detection component, a rotating component and a controller. The detection component collects image information, calculates the image contrast, and automatically adjusts the position of the optical module through the rotating component until it reaches the optimum Location.
It improves the debugging efficiency and production efficiency of optical modules and ensures the best display effect and quality of optical modules.
Smart Images

Figure CN114255224B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of VR equipment, and in particular to an optical module debugging device, an optical module debugging method and a computer-readable storage medium. Background Art
[0002] Traditional VR optical modules are generally large in size, and the thickness is often more than 30 mm. With the advancement of technology, VR glasses based on the pancake technology solution have become the current mainstream. Due to their smaller thickness, VR glasses can be thin and light. The optical module of VR glasses based on the pancake technology solution mainly includes display devices and lens groups arranged in sequence. The image output by the display device is emitted by the lens group through multiple reflections. However, before the product is manufactured, due to the influence of polarized light, the angle and position of the optical element need to be adjusted. However, in the prior art, detection and adjustment are usually performed manually, resulting in low production capacity and low product production efficiency. Summary of the invention
[0003] The main purpose of the present invention is to provide an optical module debugging device, method and computer-readable storage medium, aiming to solve the technical problems of low product inspection and debugging rate and low production efficiency.
[0004] To achieve the above object, the present invention provides an optical module debugging device, the optical module debugging device comprising:
[0005] A positioning component, the positioning component is used to fix the object to be tested;
[0006] A detection member, the detection member is arranged above the positioning assembly, and the detection member is used to collect image information of the object to be tested;
[0007] A rotating assembly, the rotating assembly is used to grab and drive the test piece to rotate;
[0008] A controller, wherein the controller is electrically connected to the detection member and the rotating assembly respectively, and the controller is used to obtain the image information and obtain image contrast according to the image information, and control the rotating assembly to adjust the position of the member to be tested according to the image contrast to obtain the optimal position of the member to be tested.
[0009] Optionally, the controller is further configured to:
[0010] comparing the image contrast with a preset contrast;
[0011] When the image contrast is less than or equal to the preset contrast, determining the optimal position;
[0012] When the image contrast is greater than the preset contrast, the rotating component is controlled to drive the test piece to rotate at a first preset angle, wherein the image contrast is acquired each time the rotating component rotates until the image contrast is less than or equal to the preset contrast.
[0013] Optionally, the controller is further configured to:
[0014] Obtaining the number of rotations at the first preset angle;
[0015] Calculating a total rotation angle according to the number of rotations and the first preset angle;
[0016] Determine whether the total rotation angle is greater than or equal to 360 degrees;
[0017] When the total rotation angle is greater than or equal to 360 degrees, controlling the rotating component to drive the test piece to rotate at a second preset angle, and acquiring the image contrast once each time the rotating component rotates, until the image contrast is less than or equal to the preset contrast;
[0018] The second preset angle is smaller than the first preset angle.
[0019] Optionally, the rotating assembly further includes:
[0020] A rotating member, the rotating member is arranged in a ring shape, and the detecting member is arranged inside the rotating member;
[0021] A plurality of adsorption members are arranged at intervals along the edge of the rotating member, the adsorption members are used to grab the workpiece to be tested, and the rotating member is also used to drive the adsorption members to rotate so as to drive the workpiece to be tested to rotate.
[0022] Optionally, the rotating assembly further includes:
[0023] An adjusting member is arranged at the bottom of the positioning assembly in a liftable manner, and the adjusting group is used to drive the positioning assembly to move toward the rotating assembly or away from the rotating assembly.
[0024] Optionally, the positioning component includes:
[0025] A base, wherein the base is provided with a fixing area for fixing the device to be tested;
[0026] a first driving structure, the first driving structure being arranged at one side of the fixing area;
[0027] A pressing structure, wherein the pressing structure is disposed on the first driving structure, and the first driving structure is used to drive the pressing structure to move above the fixed area, or to drive the pressing structure to move away from the fixed area;
[0028] A second driving structure, wherein the second driving structure is disposed in the fixing area, and the second driving structure drives the pressing structure to press downward to press the piece to be tested onto the base.
[0029] In addition, to solve the above problems, the present invention also proposes an optical module debugging method, which is applied to the optical module debugging device as described above, and the optical module debugging method comprises the following steps:
[0030] Obtain image information displayed on the device under test;
[0031] Acquire the image contrast according to the image information;
[0032] The position of the device under test is adjusted according to the image contrast to obtain the optimal position of the device under test.
[0033] Optionally, the step of adjusting the position of the device under test according to the image contrast to obtain the optimal position of the device under test includes:
[0034] comparing the image contrast with a preset contrast;
[0035] When the image contrast is less than or equal to the preset contrast, determining the optimal position;
[0036] When the image contrast is greater than the preset contrast, the test piece is driven to rotate at a first preset angle, and the image contrast is acquired each time the test piece rotates until the image contrast is less than or equal to the preset contrast.
[0037] Optionally, after the step of acquiring the image contrast once each time the rotating component rotates, the step further includes:
[0038] Obtaining the number of rotations at the first preset angle;
[0039] Calculating a total rotation angle according to the number of rotations and the first preset angle;
[0040] Determine whether the total rotation angle is greater than or equal to 360 degrees;
[0041] When the total rotation angle is greater than or equal to 360 degrees, the test piece is driven to rotate at a second preset angle, and the image contrast is acquired once each time it rotates until the image contrast is less than or equal to the preset contrast;
[0042] The second preset angle is smaller than the first preset angle.
[0043] In addition, to solve the above problems, the present invention also proposes a computer-readable storage medium, on which an optical module debugging program is stored. When the optical module debugging program is executed by a processor, the steps of the optical module debugging method as described above are implemented.
[0044] The technical solution of the present invention collects the image information displayed on the test piece through the detection piece, analyzes the image information and obtains the image contrast, and adjusts the test piece in a targeted manner through the feedback of the image contrast, so that the test piece reaches the optimal position, that is, the position with the minimum image contrast, thereby improving the debugging effect and the product production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0046] Figure 1 It is a structural schematic diagram of the optical module debugging device of the present invention;
[0047] Figure 2 It is a structural schematic diagram of a positioning component in the optical module debugging device of the present invention;
[0048] Figure 3 It is a structural schematic diagram of a component to be tested in the optical module debugging device of the present invention;
[0049] Figure 4 for Figure 3 Exploded diagram of
[0050] Figure 5 It is a flowchart of the first embodiment of the optical module debugging method of the present invention;
[0051] Figure 6 It is a flow chart of the second embodiment of the optical module debugging method of the present invention;
[0052] Figure 7 It is a flowchart diagram of the third embodiment of the optical module debugging method of the present invention.
[0053] Description of Figure Numbers:
[0054] Label name Label name 10 Test piece 20 Rotating components 21 Rotating parts 22 Adsorption parts 30 Positioning components 31 First drive structure 32 Press structure 33 Second drive structure 331 Electromagnet 332 Magnetic patch 40 Adjustment parts 50 PUT 51 First optical lens 52 Second optical lens 53 monitor
[0055] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0058] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0059] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0060] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0061] The present invention proposes an optical module debugging device, please refer to Figure 1 to Figure 4The optical module debugging device includes a positioning component 30, a detection component 10, a rotating component 20 and a controller, wherein the positioning component 30 is used to fix the test piece 50; the detection component 10 is arranged above the positioning component 30, and the detection component 10 is used to collect image information displayed on the test piece 50; the rotating component 20 is used to grab and drive the test piece 50 to rotate; the controller is electrically connected to the detection component 10 and the rotating component 20 respectively, and the controller is used to obtain the image information, and obtain the image contrast according to the image information, and control the rotating component 20 to adjust the position of the test piece 50 according to the image contrast to obtain the optimal position of the test piece 50.
[0062] The fixing seat of the present invention is used for debugging the optical lens group and other devices in the VR device, wherein the test piece 50 refers to the optical module, please refer to Figure 2 The optical module includes a first optical element, a second optical element and a display 53 which are arranged in sequence. The optical axes of the first optical element and the second optical element overlap. A light beam enters from the side of the second optical element away from the first optical element, passes through the second optical element and the first optical element in sequence, and then is emitted from the side of the first optical element away from the second optical element after multiple reflections and refractions.
[0063] The first optical element includes a first optical lens 51, and the second optical element includes a second optical lens 52. The first optical lens 51 can be glued in sequence by a transparent substrate, a 1 / 4 phase delay film and a reflective polarizing film. In order to reduce the light reflected by the transparent substrate from the external environment and enter the human eye, an absorption polarizing film will be added to the first optical lens 51. The absorption polarizing film can be glued between the transparent substrate and the 1 / 4 phase delay film, or glued on the side of the transparent substrate away from the 1 / 4 phase delay film. The second optical lens 52 can be composed of an optical lens with semi-reflective and semi-transparent functions, and a semi-reflective and semi-transparent optical film is coated on one side of the concave surface. When light is incident on the film, part of the light energy is reflected and the other part of the light energy is transmitted. The second optical lens 52 can also include multiple lenses, and one optical surface of one of the lenses is coated with a semi-reflective and semi-transparent optical film. In the above structure, the transparent substrate can be a flat plate or a flat convex type.
[0064] The display 53 is used to display images. The image source light beam in the first circular polarization direction emitted by the display 53 passes through the second optical lens 52 and then continues to be transmitted forward to the first optical lens 51. After the 1 / 4 phase delay film layer in the first optical lens 51 acts, the polarization state of the light beam is converted from the first circular polarization to the first linear polarization. After the first linear polarization light beam is reflected by the reflective polarization film on the first optical lens 51 and passes through the 1 / 4 phase delay film layer again, the polarization state of the light beam is converted from the first polarization to the second circular polarization. The light beam continues to be transmitted to the second optical lens 52, and the light beam reflected by the optical surface having a semi-reflective and semi-transparent optical film is once again incident on the first optical lens 51. When the second circular polarization light beam passes through the 1 / 4 phase delay film layer, the polarization state of the light beam is converted from the second circular polarization to the second linear polarization. This second linear polarization light beam passes through the reflective polarization film layer and the transparent substrate on the first optical lens 51 to form a virtual display.
[0065] In actual use, the polarization state of the image source light beam provided by the display 53 cannot be an ideal circular polarization state, but is usually elliptically polarized light with an ellipticity close to 1. Assuming that the major axis of the elliptically polarized light is along the X-axis direction, the elliptically polarized light is represented by a matrix as follows:
[0066]
[0067] Where a represents the ratio of the major axis to the minor axis of the elliptically polarized light. When the major axis coincides with the x-axis, a<1, and when the minor axis coincides with the x-axis, a>1; i represents that the phase difference between the polarization components represented by the major axis and the minor axis is 90 degrees. The Jones matrix of the 1 / 4 phase retardation film is expressed as:
[0068]
[0069] Wherein, θ is the angle between the fast axis of the 1 / 4 phase delay film and the X axis, and is also the angle between the fast axis of the 1 / 4 phase delay film and the main axis of the elliptically polarized light beam E0 emitted by the display. The change in the polarization state of the light beam E0 emitted by the display after passing through the second optical lens with a semi-reflective and semi-transmissive function is small and can be ignored. The light beam of the elliptically polarized light E0 after passing through the 1 / 4 phase delay film layer on the first optical lens can be expressed as:
[0070]
[0071] From the above formula, when θ is 0 degrees or 90 degrees, that is, when the fast and slow axes of the 1 / 4 phase delay film coincide with the main axis of the elliptically polarized light beam E0 emitted by the display, the outgoing light beam E1 after E0 passes through the 1 / 4 phase delay film layer on the first optical lens is:
[0072]
[0073] That is, the outgoing light beam is completely converted into linearly polarized light.
[0074] When θ is not 0 or 90 degrees, that is, the fast and slow axes of the 1 / 4 phase delay film do not coincide with the main axis of the elliptically polarized light beam E0 emitted by the display 53, the outgoing light beam E0 after passing through the 1 / 4 phase delay film layer on the first optical lens 51 is no longer linearly polarized light, and as the angle θ deviates more from 0 or 90 degrees, the ellipticity is higher, the linearity is lower, and the light energy reflected back by the reflective polarizing film is lower. On the one hand, it causes a large light loss in the virtual display, and on the other hand, the light energy after passing through the reflective polarizing film will form an interference image. It should be noted that the image of the virtual display expected by the user formed by the above-mentioned optical module 50 is called the main image, and the image formed by the display 53 directly through the first optical element and the second optical element is called the interference image. The light energy ratio of the interference image and the main image is recorded as the contrast. When the contrast is smaller, the image of the virtual display is clearer and the user experience is better.
[0075] In this embodiment, the detection member 10 can use a camera to place the optical module on the positioning assembly 30. The optical module is photographed by the camera, thereby simulating the process of the human eye viewing the image displayed by the optical module when the user uses it. The detection member 10 obtains the image information by photographing. By analyzing the image information, the light energy ratio of the interference image and the main image, that is, the image contrast, can be obtained.
[0076] The complete assembly process of the optical module is specifically as follows: after the second optical lens 52 and the display 53 are fixed to the housing by dispensing glue or other fixing methods, the first optical lens 51 is installed on the housing. And the rotating component 20 is connected to the first optical lens 51. At this time, the optical module debugging device is used for detection, and the image contrast produced by the current cooperation of the first optical lens 51 and the second optical lens 52 is analyzed. The first optical lens 51 on the optical module is rotated by the rotating component 20 to adjust the image contrast. After the image contrast is adjusted to an ideal state, the first optical lens 51 is fixed to the housing by dispensing glue or other methods. Thereby, the display effect and display quality of the optical module are guaranteed.
[0077] Furthermore, the controller is also used to compare the image contrast with a preset contrast; when the image contrast is less than or equal to the preset contrast, the optimal position is determined; when the image contrast is greater than the preset contrast, the rotating component 20 is controlled to drive the test piece 50 to rotate at a first preset angle, wherein the image contrast is acquired once each time the rotating component 20 rotates until the image contrast is less than or equal to the preset contrast. The preset contrast is pre-set to an ideal contrast, and when the image contrast is lower than the preset contrast, it indicates that the quality is qualified. After the optical module is connected to the rotating module, it is rotated at the first preset angle, for example, the first optical lens 51 is controlled to rotate 30 degrees each time, and the image information is collected once each time it rotates, and the image contrast is compared with the preset contrast.
[0078] During this process, the following occurs:
[0079] The image contrast is greater than the preset contrast. When the image contrast is greater than the preset contrast, the first optical lens 51 continues to rotate until the image contrast is less than or equal to the preset contrast.
[0080] The image contrast is less than or equal to the preset contrast. When the image contrast is less than or equal to the preset contrast, the current position of the optical lens is determined to be the optimal position. In order to further improve the accuracy of the detection, in this embodiment, when the first optical lens 51 is rotated to the point where the image contrast is less than or equal to the preset contrast, the housing adjusts the rotation angle, for example, by 2 degrees each time, until it is rotated to the next position rotated by the first preset angle, and the position where the image contrast is the smallest is found as the optimal position.
[0081] After the rotation angle is greater than or equal to 360 degrees, the image contrast is greater than the preset contrast. The controller is also used to obtain the number of rotations at the first preset angle; calculate the total rotation angle according to the number of rotations and the first preset angle; determine whether the total rotation angle is greater than or equal to 360 degrees; when the total rotation angle is greater than or equal to 360 degrees, control the rotating component 20 to drive the test piece 50 to rotate at a second preset angle, and obtain the image contrast once each time the rotating component 20 rotates until the image contrast is less than or equal to the preset contrast; wherein the second preset angle is less than the first preset angle. Specifically, the current total rotation angle is calculated by recording the number of rotations of the rotating component 20, so as to facilitate the determination of whether the current rotation exceeds one circle, that is, 360 degrees. When it exceeds 360 degrees, it is controlled to rotate at the second preset angle, and the second preset angle is smaller, for example, it can be set to 10 degrees, so as to re-detect the image contrast.
[0082] It is understandable that if the image contrast less than the preset contrast is still not obtained after rotating at the second preset angle, the camera is rotated at a third preset angle with a smaller angle, for example, set to 5 degrees, until the image contrast less than the preset contrast is detected.
[0083] It should be noted that, in the above process, the rotating component 20 can be replaced manually by an operator, that is, the operator manually rotates the angle of the first optical lens 51 in real time, so as to adjust the image contrast ratio.
[0084] In addition, the rotating assembly 20 can also be composed of a rotating member 21 and a plurality of adsorbing members 22. The rotating member 21 is arranged in a ring shape, and the detection member 10 is arranged in the rotating member 21; a plurality of adsorbing members 22 are arranged at intervals along the edge of the rotating member 21, and the adsorbing member 22 is used to grab the test object 50. The rotating member 21 is also used to drive the adsorbing member 22 to rotate to drive the test object 50 to rotate. The adsorbing member 22 is a suction cup. When debugging, the adsorbing member 22 is adsorbed on the edge of the first optical lens 51. Under the action of the rotating member 21, the first optical lens 51 is driven to rotate synchronously by the adsorbing member 22, thereby realizing the automatic adjustment of the image contrast and improving the automation of the optical module debugging device.
[0085] It can be understood that in this embodiment, in order to prevent the rotating member 21 from blocking the shooting light path of the detection member 10 during the rotation of the adsorption member 22, the rotating member 21 is arranged in a ring shape, thereby avoiding blocking the shooting light path of the detection member 10 located in the middle. At the same time, after being arranged in a ring shape, the adsorption member 22 is arranged along the edge of the rotating member 21, and will not block the shooting light path of the detection member 10. In this embodiment, in order to ensure the stability of rotation, three adsorption members 22 are used, which are evenly spaced at the edge of the rotating member 21, so as to ensure that the first optical lens 51 is evenly stressed and prevent it from slipping during rotation.
[0086] In order to further improve the automation of the optical module debugging device of the present invention, the adjusting member 40 is added to the top of the positioning assembly 30. The adjusting member 40 is a lifting platform that can realize the lifting function. Under the action of the adjusting member 40, the lifting platform drives the positioning assembly 30 to rise as a whole, so that the test piece 50 on the positioning assembly 30 can abut against the adsorption member 22 on the rotating assembly 20. The adsorption member 22 forms a suction force by connecting with the vacuum generator, thereby sucking the first optical lens 51 tightly, further improving the automation of the optical module in the debugging process and reducing manual intervention.
[0087] Specifically, the positioning assembly 30 includes a base, a first driving structure 31, a pressing structure 32 and a second driving structure 33, the base is provided with a fixing area for fixing the test piece 50; the first driving structure 31 is arranged on one side of the fixing area; the pressing structure 32 is arranged on the first driving structure 31, and the first driving structure 31 is used to drive the pressing structure 32 to move above the fixing area, or drive the pressing structure 32 to move away from the fixing area; the second driving structure 33 is arranged in the fixing area, and the second driving structure 33 drives the pressing structure 32 to press down to press the test piece 50 tightly against the base.
[0088] The fixed area on the base is used to place the optical module. The first driving structure 31 can adopt a screw module to install the pressing structure 32 on the first driving member, so that under the action of the first driving structure 31, the pressing structure 32 is moved above the fixed area. The second driving structure 33 is composed of an electromagnet 331 and a magnetic patch 332. The electromagnet 331 is set in the fixed area; the magnetic patch 332 is set on the pressing structure 32, and the pressing structure 32 is moved above the electromagnet 331, and the magnetic patch 332 drives the pressing structure 32 to be adsorbed on the electromagnet 331. In this embodiment, the electromagnet 331 is directly set at the edge of the fixed area, and the magnetism of the magnetic patch 332 is opposite to that of the electromagnet 331. Therefore, when the first driving structure 31 drives the pressing structure 32 to the position of the electromagnet 331, the magnetic patch 332 will drive the pressing structure 32 to be adsorbed on the electromagnet 331 by magnetic attraction. When the pressing structure 32 is adsorbed on the electromagnet 331, the optical amplification component placed in the fixed area is pressed tightly in the fixed area. When the optical amplification component is debugged, the electromagnet 331 is powered off, the magnetic patch 332 loses its magnetic force, and the pressing structure 32 is pulled up from the electromagnet 331 under the elastic force of the spring, thereby releasing the optical module placed in the fixed area. In this embodiment, by adopting the positioning component 30, after the operator places the optical module in the fixed area, the optical module debugging device can automatically debug the entire process, thereby realizing overall automation and improving debugging efficiency.
[0089] In addition, to solve the above problems, the present invention also proposes an optical module debugging method, please refer to Figure 1 , Figure 1 The figure is a flow chart of a first embodiment of an optical module debugging method of the present invention, wherein the optical module debugging method comprises the following steps:
[0090] Step S10: obtaining image information displayed on the test piece;
[0091] Step S20: acquiring the image contrast according to the image information;
[0092] Step S30: adjusting the position of the device under test according to the image contrast to obtain the optimal position of the device under test.
[0093] The complete assembly process of the optical module is as follows: after the second optical lens 52 and the display 53 are fixed to the housing by dispensing glue or other fixing methods, the first optical lens 51 is installed on the housing. And the rotating component 20 is connected to the first optical lens 51. At this time, the optical module debugging device is used for detection, and the image contrast produced by the current cooperation of the first optical lens 51 and the second optical lens 52 is analyzed. The first optical lens 51 on the optical module is rotated by the rotating component 20 to adjust the image contrast. After the image contrast is adjusted to an ideal state, the first optical lens 51 is fixed to the housing by dispensing glue or other methods. Thereby, the display effect and display quality of the optical module are guaranteed.
[0094] For further information, please refer to Figure 6 , Figure 6 This is a flow chart of the second embodiment of the optical module debugging method of the present invention, step S30 specifically includes:
[0095] Step S31: comparing the image contrast with a preset contrast;
[0096] Step S32: when the image contrast is less than or equal to the preset contrast, determining the optimal position;
[0097] Step S33: when the image contrast is greater than the preset contrast, the device under test is driven to rotate at a first preset angle, and the image contrast is acquired each time the device rotates, until the image contrast is less than or equal to the preset contrast.
[0098] Compare the image contrast with the preset contrast; when the image contrast is less than or equal to the preset contrast, determine the optimal position; when the image contrast is greater than the preset contrast, control the rotating component 20 to drive the test piece 50 to rotate at a first preset angle, wherein the image contrast is acquired once each time the rotating component 20 rotates until the image contrast is less than or equal to the preset contrast. The preset contrast is pre-set to an ideal contrast, and when the image contrast is lower than the preset contrast, it indicates that the quality is qualified. After connecting the optical module to the rotating module, rotate at the first preset angle, for example, control the first optical lens 51 to rotate 30 degrees each time, collect the image information once each time it rotates, and compare the image contrast with the preset contrast. In this process, the following situations may occur:
[0099] The image contrast is greater than the preset contrast. When the image contrast is greater than the preset contrast, the first optical lens 51 continues to rotate until the image contrast is less than or equal to the preset contrast.
[0100] The image contrast is less than or equal to the preset contrast. When the image contrast is less than or equal to the preset contrast, the current position of the optical lens is determined to be the optimal position. In order to further improve the accuracy of the detection, in this embodiment, when the first optical lens 51 is rotated to the point where the image contrast is less than or equal to the preset contrast, the housing adjusts the rotation angle, for example, by 2 degrees each time, until it is rotated to the next position rotated by the first preset angle, and the position where the image contrast is the smallest is found as the optimal position.
[0101] For further information, please refer to Figure 7 , Figure 7 This is a flow chart of the third embodiment of the optical module debugging method of the present invention. After step S33, the method further includes:
[0102] Step S34: obtaining the number of rotations at the first preset angle;
[0103] Step S35: calculating a total rotation angle according to the rotation times and the first preset angle;
[0104] Step S36: Determine whether the total rotation angle is greater than or equal to 360 degrees;
[0105] Step S37: When the total rotation angle is greater than or equal to 360 degrees, the test piece is driven to rotate at a second preset angle, and the image contrast is obtained each time it rotates until the image contrast is less than or equal to the preset contrast; wherein the second preset angle is smaller than the first preset angle.
[0106] After the rotation angle is greater than or equal to 360 degrees, the image contrast is greater than the preset contrast. The controller is also used to obtain the number of rotations at the first preset angle; calculate the total rotation angle according to the number of rotations and the first preset angle; determine whether the total rotation angle is greater than or equal to 360 degrees; when the total rotation angle is greater than or equal to 360 degrees, control the rotating component 20 to drive the test piece 50 to rotate at a second preset angle, and obtain the image contrast once each time the rotating component 20 rotates until the image contrast is less than or equal to the preset contrast; wherein the second preset angle is less than the first preset angle. Specifically, the current total rotation angle is calculated by recording the number of rotations of the rotating component 20, so as to facilitate the determination of whether the current rotation exceeds one circle, that is, 360 degrees. When it exceeds 360 degrees, it is controlled to rotate at the second preset angle, and the second preset angle is smaller, for example, it can be set to 10 degrees, so as to re-detect the image contrast.
[0107] It is understandable that if the image contrast less than the preset contrast is still not obtained after rotating at the second preset angle, the camera is rotated at a third preset angle with a smaller angle, for example, set to 5 degrees, until the image contrast less than the preset contrast is detected.
[0108] In addition, to solve the above problems, the present invention also proposes a computer-readable storage medium, on which an optical module debugging program is stored, and when the optical module debugging program is executed by the processor, the steps of the optical module debugging method as described above are implemented. The technical solution of the present invention collects the image information displayed on the test piece 50 through the detection member 10, analyzes the image information and obtains the image contrast, and adjusts the test piece 50 in a targeted manner through the feedback of the image contrast, so that the test piece 50 reaches the optimal position, that is, the position where the image contrast is the smallest. Thereby improving the debugging effect and improving the product production efficiency.
[0109] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. An optical module debugging device, characterized in that: The optical module debugging device comprises: A positioning component, the positioning component is used to fix the object to be tested; A detection member, the detection member is arranged above the positioning assembly, and the detection member is used to collect image information displayed on the object to be tested; A rotating assembly, the rotating assembly is used to grab and drive the test piece to rotate; A controller, the controller being electrically connected to the detection member and the rotating assembly respectively, the controller being used to obtain the image information, and obtain image contrast according to the image information, and control the rotating assembly to adjust the position of the detection member according to the image contrast, so as to obtain the optimal position of the detection member; The controller is also used for: comparing the image contrast with a preset contrast; When the image contrast is less than or equal to the preset contrast, determining the optimal position; When the image contrast is greater than the preset contrast, the rotating component is controlled to drive the test piece to rotate at a first preset angle, wherein the image contrast is acquired once each time the rotating component rotates until the image contrast is less than or equal to the preset contrast; The contrast is the light energy ratio between the interference image and the main image; the main image is the virtual display image expected by the user formed by the device under test, and the interference image is the image formed after the display in the device under test directly passes through the first optical element and the second optical element.
2. The optical module debugging device according to claim 1, characterized in that: The controller is also used for: Obtaining the number of rotations at the first preset angle; Calculating a total rotation angle according to the number of rotations and the first preset angle; Determine whether the total rotation angle is greater than or equal to 360°; When the total rotation angle is greater than or equal to 360°, controlling the rotating component to drive the test piece to rotate at a second preset angle, and acquiring the image contrast once each time the rotating component rotates, until the image contrast is less than or equal to the preset contrast; The second preset angle is smaller than the first preset angle.
3. The optical module debugging device according to claim 1, characterized in that: The rotating assembly also includes: A rotating member, the rotating member is arranged in a ring shape, and the detecting member is arranged inside the rotating member; A plurality of adsorption members are arranged at intervals along the edge of the rotating member, the adsorption members are used to grab the workpiece to be tested, and the rotating member is also used to drive the adsorption members to rotate so as to drive the workpiece to be tested to rotate.
4. The optical module debugging device according to claim 1, characterized in that: The rotating assembly also includes: An adjusting member is arranged at the bottom of the positioning assembly in a liftable manner, and is used to drive the positioning assembly to move toward the rotating assembly or away from the rotating assembly.
5. The optical module debugging device according to claim 1, characterized in that: The positioning component comprises: A base, wherein the base is provided with a fixing area for fixing the device to be tested; a first driving structure, the first driving structure being arranged at one side of the fixing area; A pressing structure, wherein the pressing structure is disposed on the first driving structure, and the first driving structure is used to drive the pressing structure to move above the fixed area, or to drive the pressing structure to move away from the fixed area; A second driving structure, wherein the second driving structure is disposed in the fixing area, and the second driving structure drives the pressing structure to press downward to press the piece to be tested onto the base.
6. An optical module debugging method, characterized in that: The optical module debugging method is applied to the optical module debugging device according to any one of claims 1 to 5, and the optical module debugging method comprises the following steps: Obtain image information displayed on the device under test; Acquire the image contrast according to the image information; The position of the device under test is adjusted according to the image contrast to obtain the optimal position of the device under test.
7. The optical module debugging method according to claim 6, characterized in that: The step of adjusting the position of the device under test according to the image contrast to obtain the optimal position of the device under test includes: comparing the image contrast with a preset contrast; When the image contrast is less than or equal to the preset contrast, determining the optimal position; When the image contrast is greater than the preset contrast, the test piece is driven to rotate at a first preset angle, and the image contrast is acquired each time the test piece rotates until the image contrast is less than or equal to the preset contrast.
8. The optical module debugging method according to claim 7, characterized in that: After the step of obtaining the image contrast once each time the rotating component rotates, the method further includes: Obtaining the number of rotations at the first preset angle; Calculating a total rotation angle according to the number of rotations and the first preset angle; Determine whether the total rotation angle is greater than or equal to 360°; When the total rotation angle is greater than or equal to 360°, the test piece is driven to rotate at a second preset angle, and the image contrast is acquired once each time the test piece rotates until the image contrast is less than or equal to the preset contrast; The second preset angle is smaller than the first preset angle.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an optical module debugging program, and when the optical module debugging program is executed by the processor, the steps of the optical module debugging method as described in any one of claims 6 to 8 are implemented.
Citation Information
Patent Citations
Optical module adjustment test method and device
CN111609995A
