Optical axis calibration method, device, equipment and storage medium
By combining a laser collimator and a reflector, the perpendicularity of the laser collimator and the contouring fixture is detected and calibrated. Combined with a perforated device to adjust the optical path position, the problem of product gold sample calibration error is solved, and high-accuracy optical axis calibration is achieved.
Patent Information
- Application Number
- CN202411553819.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2044-11-01
AI Technical Summary
In the existing technology, when calibrating the optical axis using a product gold sample, the accuracy and reliability of the calibration are insufficient due to manufacturing differences or characteristic deviations, making it impossible to measure the true value of the product.
Using a laser collimator, a reflector, and a perforated device, the perpendicularity of the laser collimator and the contouring fixture is calibrated by detecting whether the outgoing and reflected light paths of the laser collimator coincide. Then, the laser collimator is directed to the target camera, and the light spot is checked to see if it coincides with the camera's sensor. A small hole with a preset aperture is set on the contouring fixture to constrain the light path range. The positions of the laser collimator and the camera are adjusted so that the outgoing light path passes through the small hole and forms a light spot at the center of the camera sensor.
By eliminating the error of the product sample, the central optical axis of the target camera can be accurately calibrated, improving the accuracy of optical axis calibration and obtaining the actual true value of the camera.
Smart Images

Figure CN119472066B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical equipment calibration technology, and in particular to an optical axis calibration method, apparatus, device and storage medium. Background Technology
[0002] As the field of view of VR modules continues to increase, the demand for performance testing of product edge angles is getting higher and higher. The most basic requirement for edge angle measurement of testing and assembly equipment is how to calibrate the optical axis.
[0003] When calibrating the optical axis, product samples are often used. An ideal product is used to calibrate the optical axis at the edge of the field of view, and all subsequent tests are performed using this product as a reference. However, when using product samples for field of view calibration, manufacturing differences or characteristic deviations inherent in the product samples themselves can be introduced into the calibration process, affecting the accuracy and reliability of the calibration and preventing the measurement of the product's true value.
[0004] In summary, improving the accuracy of product optical axis calibration has become an urgent problem to be solved in this field.
[0005] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0006] The main objective of this application is to provide an optical axis calibration method, apparatus, device, and storage medium, aiming to solve the technical problem of how to improve the accuracy of product optical axis calibration.
[0007] To achieve the above objectives, this application proposes an optical axis calibration method, which is applied to an optical axis calibration device. The optical axis calibration device includes: a laser collimator, a reflector, a contouring fixture, and a perforated device. The reflector and the perforated device are disposed on the contouring fixture, and the laser collimator, the contouring fixture, and the target camera are arranged sequentially from bottom to top.
[0008] The method includes:
[0009] Adjust the illumination angle of the laser collimator until it is detected that the outgoing light path of the laser collimator coincides with the reflected light path of the laser collimator, wherein the reflected light path is obtained by reflecting the outgoing light path through the reflector;
[0010] The laser collimator is controlled to directly illuminate the target camera, and the light spot of the outgoing light path on the target camera is obtained;
[0011] Adjust the angle of the target camera until the light spot coincides with the center of the target camera's sensor;
[0012] The horizontal displacements of the laser collimator and the target camera are adjusted respectively so that the outgoing light path passes through the perforated device with a preset aperture. When the light spot is detected to coincide with the sensor center of the target camera, the central optical axis calibration is completed.
[0013] In one embodiment, the optical axis calibration device further includes: an aperture and a slide, wherein the aperture is disposed between the laser collimator and the contouring fixture, and the laser collimator is disposed on the slide;
[0014] Prior to the step of adjusting the setting angle of the laser collimator, the method further includes:
[0015] The rotation angle of the aperture is adjusted with the center of the aperture as the rotation point, wherein the rotation angle is the edge angle to be measured by the target camera;
[0016] The setting angle of the laser collimator is adjusted by the slide table so that the setting angle is the same as the rotation angle.
[0017] In one embodiment, the contouring fixture is an axially rotatable structure, and the contouring fixture has multiple non-overlapping positioning positions in the vertical direction; before the step of adjusting the illumination angle of the laser collimator, the method further includes:
[0018] The contouring fixture is rotated by a first preset angle so that the first setting position in each of the setting positions, in which the reflector is installed, is aligned vertically with the laser collimator and the target camera.
[0019] In one embodiment, prior to the step of controlling the laser collimator to directly illuminate the target camera, the method further includes:
[0020] The contouring fixture is rotated by a second preset angle so that the vacant second setting position in each of the setting positions is aligned with the laser collimator and the target camera in the vertical direction.
[0021] In one embodiment, prior to the steps of adjusting the horizontal displacements of the laser collimator and the target camera respectively, the method further includes:
[0022] The contouring fixture is rotated by a third preset angle so that the third setting position in each of the setting positions where the perforated device is installed is aligned with the laser collimator and the target camera in the vertical direction.
[0023] In one embodiment, the optical axis calibration device further includes: a data acquisition camera; after the step of adjusting the illumination angle of the laser collimator, the method further includes:
[0024] The optical path image of the laser collimator is acquired through the acquisition camera;
[0025] Identify the outgoing optical path and the reflected optical path of the laser collimator in the optical path image;
[0026] Determine whether the outgoing light path and the reflected light path overlap.
[0027] In one embodiment, the step of acquiring the light spot of the outgoing light path on the target camera includes:
[0028] The acquisition camera captures the light spot image of the target camera;
[0029] Identify whether the light spot in the light spot image coincides with the center of the sensor of the target camera.
[0030] In addition, to achieve the above objectives, this application also proposes an optical axis calibration system, which is set on an optical axis calibration device. The optical axis calibration device includes: a laser collimator, a reflector, a contouring fixture, and a perforated device. The reflector and the perforated device are set on the contouring fixture, and the laser collimator, the contouring fixture, and the target camera are arranged sequentially from bottom to top.
[0031] The system includes:
[0032] A verticality calibration module is used to adjust the illumination angle of the laser collimator until it is detected that the outgoing light path of the laser collimator coincides with the reflected light path of the laser collimator, wherein the reflected light path is obtained by reflecting the outgoing light path through the reflector.
[0033] The center calibration module is used to control the laser collimator to shine directly onto the target camera, acquire the light spot of the outgoing light path on the target camera, and adjust the angle of the target camera until the light spot coincides with the center of the sensor of the target camera;
[0034] The horizontal plane calibration module is used to adjust the horizontal displacement of the laser collimator and the target camera respectively, so that the outgoing light path passes through the perforated device with a preset aperture. When the light spot is detected to coincide with the sensor center of the target camera, the central optical axis calibration is completed.
[0035] In addition, to achieve the above objectives, this application also proposes an optical axis calibration device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the optical axis calibration method as described above.
[0036] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the optical axis calibration method described above.
[0037] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the optical axis calibration method described above.
[0038] This application provides an optical axis calibration method. The method includes a laser collimator and a reflector. The verticality of the laser collimator and the contouring fixture is determined by detecting whether the outgoing light path of the laser collimator and the reflected light path after reflection by the reflector coincide. Then, the laser collimator is directed to the target camera to be calibrated, and the light spot formed on the camera by the outgoing light path is detected to coincide with the camera sensor. After coincidence, a small hole of a preset aperture is set on the contouring fixture to constrain the range of the outgoing light path. The positions of the laser collimator and the camera are horizontally adjusted so that the outgoing light path forms a light spot at the center of the camera sensor through the small hole, thereby making the camera, the small hole, and the outgoing light path coaxial, thus completing the calibration of the central optical axis.
[0039] In summary, this application uses a laser collimator, a reflector, and a perforated device to calibrate the central optical axis of the target camera. Compared with the method of calibration using a product gold sample, this application eliminates the error of the product gold sample during the calibration process, and can obtain the actual true value of the target camera, thereby improving the accuracy of optical axis calibration. Attached Figure Description
[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a flowchart illustrating an embodiment of the optical axis calibration method of this application.
[0043] Figure 2 This is a schematic diagram of the first scenario involved in the first embodiment of the optical axis calibration method of this application;
[0044] Figure 3 This is a schematic diagram of the second scenario involved in the first embodiment of the optical axis calibration method of this application;
[0045] Figure 4 This is a schematic diagram of the third scenario involved in the first embodiment of the optical axis calibration method of this application;
[0046] Figure 5 This is a schematic diagram of the fourth scenario involved in the second embodiment of the optical axis calibration method of this application;
[0047] Figure 6 This is a schematic diagram of the fifth scenario involved in the second embodiment of the optical axis calibration method of this application;
[0048] Figure 7 This is a schematic diagram of the module structure of the optical axis calibration system according to an embodiment of this application;
[0049] Figure 8 This is a schematic diagram of the device structure of the hardware operating environment involved in the optical axis calibration method in this application embodiment.
[0050] Label:
[0051] Explanation of icon numbers:
[0052] 01. Laser collimator; 02. Reflector; 03. Contouring fixture; 04. Hole device; 05. Target camera; 06. Aperture; 07. Slide table.
[0053] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0054] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0055] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0056] The main solution of this application embodiment is as follows: Adjust the illumination angle of the laser collimator until the outgoing light path of the laser collimator is detected to coincide with the reflected light path of the laser collimator, wherein the reflected light path is obtained by the outgoing light path being reflected by the reflector; control the laser collimator to directly illuminate the target camera and obtain the light spot of the outgoing light path on the target camera; adjust the angle of the target camera until the light spot coincides with the sensor center of the target camera; adjust the horizontal displacement of the laser collimator and the target camera respectively so that the outgoing light path passes through the perforated device with a preset aperture, and complete the central optical axis calibration when the light spot is detected to coincide with the sensor center of the target camera.
[0057] As the field of view of VR modules continues to increase, the demand for performance testing of product edge angles is getting higher and higher. The most basic requirement for edge angle measurement of testing and assembly equipment is how to calibrate the optical axis.
[0058] When calibrating the optical axis, product samples are often used. An ideal product is used to calibrate the optical axis at the edge of the field of view, and all subsequent tests are performed using this product as a reference. However, when using product samples for field of view calibration, manufacturing differences or characteristic deviations inherent in the product samples themselves can be introduced into the calibration process, affecting the accuracy and reliability of the calibration and preventing the measurement of the product's true value.
[0059] In summary, improving the accuracy of product optical axis calibration has become an urgent problem to be solved in this field. To address this issue, this application provides an optical axis calibration method. This application includes a laser collimator and a reflector. The perpendicularity of the laser collimator and the contouring fixture is determined by detecting whether the outgoing light path of the laser collimator and the reflected light path after reflection by the reflector coincide. Then, the laser collimator is directed directly onto the target camera to be calibrated, and the light spot formed on the camera by the outgoing light path is detected to coincide with the camera's sensor. After coincidence, a small hole of a preset diameter is set on the contouring fixture to constrain the range of the outgoing light path. The positions of the laser collimator and the camera are horizontally adjusted so that the outgoing light path forms a light spot at the center of the camera sensor through the small hole, thereby making the camera, the small hole, and the outgoing light path coaxial, completing the calibration of the central optical axis.
[0060] In summary, this application uses a laser collimator, a reflector, and a perforated device to calibrate the central optical axis of the target camera. Compared with the method of calibration using a product gold sample, this application eliminates the error of the product gold sample during the calibration process, and can obtain the actual true value of the target camera, thereby improving the accuracy of optical axis calibration.
[0061] In this embodiment, for ease of description, the optical axis calibration device will be used as the subject of the description.
[0062] Based on this, the embodiments of this application provide an optical axis calibration method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the optical axis calibration method of this application.
[0063] In this embodiment, the method is applied to an optical axis calibration device, which includes: a laser collimator 01, a reflector 02, a contouring fixture 03 (not shown in the figure), and a perforated device 04. The reflector 02 and the perforated device 04 are mounted on the contouring fixture 03, and the laser collimator 01, the contouring fixture 03, and the target camera 05 are arranged sequentially from bottom to top.
[0064] The optical axis calibration method includes steps S10 to S40:
[0065] Step S10: Adjust the illumination angle of the laser collimator 01 until the outgoing light path of the laser collimator 01 is detected to coincide with the reflected light path of the laser collimator 01, wherein the reflected light path is obtained by the outgoing light path being reflected by the reflector 02;
[0066] It should be noted that in this embodiment, the laser collimator 01 is a six-axis adjustable laser collimator 01, which uses a laser beam to detect the relative position of the measured object in the horizontal and vertical directions. The characteristic of this laser collimator 01 is its six-axis adjustment function, meaning it can be adjusted in six different directions to ensure precise alignment of the laser beam. The laser collimator 01 typically consists of three main parts: a laser-emitting system, a photoelectric receiving system, and accessories. The laser beam generated by the laser is processed by the optical system to form a parallel and stable reference beam. This beam is used as a reference axis for measurement, to calibrate straight lines or check the straightness of guide rails, etc.
[0067] In this embodiment, please refer to Figure 2 , Figure 2 This is a schematic diagram of the first scenario involved in the first embodiment of the optical axis calibration method of this application, as shown below. Figure 2 As shown, the laser collimator 01, the reflector 02, and the target camera 05 are set vertically. First, the illumination angle of the laser collimator 01 is adjusted. This step aims to ensure that the outgoing light path of the laser collimator 01 completely coincides with the reflected light path after reflection by the reflector 02. The angle of the laser collimator 01 is gradually adjusted along six axes, while simultaneously monitoring the overlap between the reflected and outgoing light paths until they are perfectly aligned.
[0068] In addition, an aperture 06 can be set between the contouring fixture 03 and the laser collimator 01 to constrain the optical path and further improve the accuracy of calibration.
[0069] Step S20: Control the laser collimator 01 to directly shine the light onto the target camera 05, and obtain the light spot of the outgoing light path on the target camera 05;
[0070] In this embodiment, please refer to Figure 3 , Figure 3 This is a schematic diagram of the second scenario involved in the first embodiment of the optical axis calibration method of this application, as shown below. Figure 3As shown, after the laser collimator 01 is vertically aligned with the contouring fixture 03, the reflector 02 is removed, and the laser collimator 01 is controlled to directly illuminate the target camera 05. At this time, the outgoing light path of the laser collimator 01 will form a light spot on the photosensitive surface of the target camera 05. By capturing this light spot, the system can further analyze its position information.
[0071] Step S30: Adjust the angle of the target camera 05 until the light spot coincides with the center of the sensor of the target camera 05;
[0072] In this embodiment, after acquiring the position of the light spot, the system begins to adjust the angle of the target camera 05. By fine-tuning the camera angle, the direction of the target camera 05 is gradually adjusted until the light spot completely coincides with the center of the sensor of the target camera 05. The completion of this step signifies that the optical axis of the target camera 05 has been initially aligned with the output light path of the laser collimator 01.
[0073] Step S40: Adjust the horizontal displacement of the laser collimator 01 and the target camera 05 respectively, so that the outgoing light path passes through the aperture device 04 with a preset aperture. When the light spot is detected to coincide with the sensor center of the target camera 05, the central optical axis calibration is completed.
[0074] It should be noted that, in this embodiment, the preset aperture of the perforated device 04 can be set according to actual needs. As an example, the aperture of the perforated device 04 can be set to 1mm.
[0075] In this embodiment, please refer to Figure 4 , Figure 4 This is a schematic diagram of the third scenario involved in the first embodiment of the optical axis calibration method of this application, as shown below. Figure 4 As shown, finally, a perforated device 04 with a preset aperture is set on the contouring fixture 03. The system adjusts the horizontal displacement of the laser collimator 01 and the target camera 05 respectively, so that the outgoing light path of the laser collimator 01 can pass through the perforated device 04 with a preset aperture, forming a light spot on the camera. After adjustment, the light spot always coincides with the center of the sensor of the target camera 05. When the system detects that this condition is met, it considers the central optical axis calibration to be complete.
[0076] In summary, through the above steps, the system can efficiently and accurately complete the calibration of the central optical axis, providing a reliable guarantee for subsequent measurement, positioning, and monitoring tasks.
[0077] Based on the first embodiment of this application, in the second embodiment of this application, the contents that are the same as or similar to those in the first embodiment can be referred to the above description and will not be repeated hereafter. In addition, the optical axis calibration device further includes: an aperture 06 and a slide 07, wherein the aperture 06 is disposed between the laser collimator 01 and the contouring fixture 03, and the laser collimator 01 is disposed on the slide 07;
[0078] Prior to step S10 described above, the method may further include steps A10 to A20:
[0079] Step A10: Adjust the rotation angle of the aperture 06 with the center of the aperture 06 as the rotation point, wherein the rotation angle is the edge angle to be measured by the target camera 05;
[0080] It should be noted that, in this embodiment, it refers to a device in an optical system used to limit the range and direction of light propagation. An aperture stop is divided into an aperture diaphragm and a field stop. The aperture diaphragm is the diaphragm that limits the imaging beam the most in an optical system; it is also called the effective diaphragm. Its position and the size of its aperture directly affect the brightness, sharpness, and the magnitude of certain aberrations in the image produced by the optical system. The field stop is the diaphragm that limits the field of view (i.e., the area of the object plane that can be imaged) the most.
[0081] In addition, there are other types of stops, such as vignetting stops and stray light removal stops, which also play an important role in optical systems.
[0082] An aperture stop can be used to confine light beams. By adjusting the size and shape of the aperture stop, the amount and direction of light rays passing through the optical system can be controlled, thus limiting the light beam. An aperture stop can also limit the imaging range, i.e., the size of the field of view. By adjusting the position and size of the aperture stop, the imaging range of the optical system can be changed. An aperture stop can also intercept light rays that deviate from their ideal position, reducing stray light and aberrations, thereby improving the imaging quality of the optical system.
[0083] In laser technology, the aperture is used to control the shape and propagation direction of the laser beam. By adjusting the position and shape of the aperture, the laser beam can be adjusted and controlled to meet the needs of different application scenarios.
[0084] In this embodiment, please refer to Figure 5 , Figure 5 This is a schematic diagram of the fourth scenario involved in the second embodiment of the optical axis calibration method of this application, as shown below. Figure 5As shown, before formally calibrating the central optical axis, the system first adjusts the rotation angle of aperture 06, using the center of aperture 06 as the rotation point. This rotation angle is determined based on the edge angle to be measured by the target camera 05. As a crucial optical element, the adjustment of the rotation angle of aperture 06 can affect the direction of the laser beam. By precisely adjusting the rotation angle of aperture 06, the system can ensure that the laser beam propagates along the predetermined path in subsequent steps.
[0085] Step A20: Adjust the setting angle of the laser collimator 01 using the slide table 07 so that the setting angle is the same as the rotation angle.
[0086] It should be noted that in this embodiment, the slide 07 is a curved sliding platform, and the laser collimator 01 can slide on the slide 07 to adjust the setting angle of the laser collimator 01.
[0087] In this embodiment, please refer to Figure 6 , Figure 6 This is a schematic diagram of the fifth scenario involved in the second embodiment of the optical axis calibration method of this application, as shown below. Figure 6 As shown, after adjusting the aperture 06, the system then adjusts the setting angle of the laser collimator 01 via the slide 07. This setting angle needs to be the same as the rotation angle of the aperture 06. The slide 07, as a precision displacement control device, ensures that the setting angle of the laser collimator 01 is accurately adjusted. By adjusting the setting angle of the laser collimator 01, the system ensures that the emitted laser beam matches the direction of the rotated aperture 06, providing an accurate reference for subsequent calibration steps.
[0088] Through the steps described above, the optical axis of the camera's edge field of view can be calibrated using the rotatable aperture 06. Furthermore, by gradually decreasing the edge field of view angle according to the aperture angle, the optical axis calibration can be improved, resulting in greater precision in the camera's optical axis.
[0089] Based on the first and / or second embodiments of this application, in the third embodiment of this application, the content that is the same as or similar to the first and / or second embodiments described above can be referred to the above description and will not be repeated hereafter. In this regard, the contouring fixture 03 is an axially rotatable structure, and the contouring fixture 03 is provided with multiple non-overlapping mounting positions in the vertical direction; before step S10 above, the method may further include step B10:
[0090] Step B10: Control the contouring fixture 03 to rotate by a first preset angle so that the first setting position in each of the setting positions where the reflector 02 is installed is aligned with the laser collimator 01 and the target camera 05 in the vertical direction.
[0091] It should be noted that in this embodiment, the first preset angle is set according to the actual installation position.
[0092] In this embodiment, the contouring fixture 03 has a rotating shaft in the vertical direction, which can rotate axially. On the shaft, there are multiple mounting positions for installing other workpieces, and the mounting positions do not overlap in the vertical direction, so the installed workpieces will not overlap. When the reflector 02 needs to be used, the contouring fixture 03 is controlled to rotate by a first angle so that the installed reflector 02, the laser collimator 01, and the target camera 05 are in a straight line in the vertical direction.
[0093] Furthermore, in one feasible implementation, prior to step S20 described above, the method may further include step B20:
[0094] Step B20: Control the contouring fixture 03 to rotate by a second preset angle so that the vacant second setting position in each of the setting positions is aligned vertically with the laser collimator 01 and the target camera 05.
[0095] In this embodiment, similarly, in order for the output light path of the laser collimator 01 to be able to directly hit the target camera 05, it needs to be rotated to an empty setting position.
[0096] The main purpose of this step is to rotate the contouring fixture so that the previously unused second setting position (which may be the location for mounting the component to be calibrated) is aligned vertically with the laser collimator and the target camera. This adjustment helps ensure that the laser beam accurately passes through the second setting position and is thus captured as a clear spot by the target camera, providing an accurate reference for subsequent calibration work.
[0097] Furthermore, in one feasible implementation, prior to step S40 described above, the method may further include step B30:
[0098] Step B30: Control the contouring fixture 03 to rotate by a third preset angle so that the third setting position in each of the setting positions where the perforated device 04 is installed is aligned with the laser collimator 01 and the target camera 05 in the vertical direction.
[0099] Similarly, in order to allow the outgoing light path of the laser collimator 01 to pass through the aperture device 04 with a preset aperture, the aperture device 04 is rotated so that it is in a straight line with the laser collimator 01 and the target camera 05 in the vertical direction.
[0100] The core objective of this step is to ensure, by adjusting the rotation angle of the contouring fixture, that the third setting position, where the perforated device (potentially an optical element used for calibration or testing) is mounted, is vertically aligned with the laser collimator and the target camera. This adjustment helps the laser beam pass accurately through the perforated device and form a clear spot on the target camera, providing a precise reference point for subsequent optical axis calibration.
[0101] By setting up a rotating contouring fixture 03, the automation of the entire process can be improved, and errors that may be caused by manual operation can be reduced.
[0102] By following the steps described above, the entire testing and calibration process can be automated, reducing labor costs and minimizing human error, thereby further improving calibration accuracy.
[0103] Based on the first to third embodiments of this application, in the fourth embodiment of this application, the content that is the same as or similar to the first to third embodiments described above can be referred to the above description and will not be repeated hereafter. In addition, the optical axis calibration device further includes: a data acquisition camera; after the step of adjusting the illumination angle of the laser collimator 01 described in step S10 above, the method may further include steps C10 to C30:
[0104] Step C10: Acquire the optical path image of the laser collimator 01 through the acquisition camera;
[0105] It should be noted that in this embodiment, the acquisition camera plays a crucial role in the optical axis calibration device. It is responsible for capturing the optical path of the laser collimator 01, providing the necessary image data for subsequent identification, analysis, and judgment. Acquisition cameras typically feature high resolution, high sensitivity, and fast response, enabling them to accurately capture subtle changes in the laser beam, thereby ensuring the accuracy and reliability of the calibration process.
[0106] In this embodiment, after adjusting the illumination angle of the laser collimator 01, the system acquires the optical path image of the laser collimator 01 through a camera. The camera transmits the captured optical path image to the system for use in subsequent steps. By acquiring the optical path image through the camera, the system can understand the state of the laser beam in real time, providing intuitive and accurate image data for subsequent analysis and judgment. This helps reduce the subjectivity of human judgment and improves the objectivity and accuracy of the calibration process.
[0107] Step C20: Identify the outgoing optical path and the reflected optical path of the laser collimator 01 in the optical path image;
[0108] In this embodiment, after acquiring the optical path image, the system begins to identify the outgoing and reflected optical paths of the laser collimator 01 within the optical path image. The system analyzes the optical path image using image processing algorithms to extract information about the outgoing and reflected optical paths.
[0109] Step C30: Determine whether the outgoing light path and the reflected light path overlap.
[0110] In this embodiment, after identifying the outgoing and reflected light paths, the system determines whether they overlap. By comparing the positional information of the outgoing and reflected light paths, it is determined whether they are on the same path. If they overlap, it indicates that the illumination angle of the laser collimator 01 has been adjusted correctly, and subsequent calibration steps can be performed; if they do not overlap, the illumination angle of the laser collimator 01 needs to be adjusted until they overlap.
[0111] Furthermore, in a feasible implementation, the step of obtaining the light spot of the outgoing light path on the target camera 05 in step S20 above includes steps S21 to S22:
[0112] Step S21: The acquisition camera captures the light spot image of the target camera 05;
[0113] In this embodiment, in order to obtain the light spot on the target camera 05 from the output light path of the laser collimator 01, the light spot image of the target camera 05 is acquired by the acquisition camera.
[0114] Step S22: Identify whether the light spot in the light spot image coincides with the center of the sensor of the target camera 05.
[0115] In this embodiment, after acquiring the light spot image, key features of the light spot image, such as the centroid position of the light spot, are first extracted. Then, this feature is compared with the center position of the sensor of the target camera 05 to determine whether the light spot coincides with the sensor center of the target camera 05. This determines whether the optical axis calibration has been completed.
[0116] Through the above steps, images are acquired by a camera, and then the images are identified according to the image processing algorithm. Compared with the human eye observing the light path and light spot, the recognition accuracy of the light path and light spot can be improved, thereby improving the accuracy of calibration.
[0117] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the optical axis calibration method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0118] This application also provides an optical axis calibration system; please refer to... Figure 7The optical axis calibration system is installed on the optical axis calibration equipment, which includes: a laser collimator 01, a reflector 02, a contouring fixture 03, and a perforated device 04. The reflector 02 and the perforated device 04 are mounted on the contouring fixture 03. The collimator, the contouring fixture 03, and the target camera 05 are arranged sequentially from bottom to top. The optical axis calibration system includes:
[0119] The verticality calibration module 10 is used to adjust the illumination angle of the laser collimator 01 until the outgoing light path of the laser collimator 01 is detected to coincide with the reflected light path of the laser collimator 01, wherein the reflected light path is obtained by the outgoing light path being reflected by the reflector 02.
[0120] The center calibration module 20 is used to control the laser collimator 01 to directly shine the light onto the target camera 05, obtain the light spot of the outgoing light path on the target camera 05, and adjust the angle of the target camera 05 until the light spot coincides with the center of the sensor of the target camera 05;
[0121] The horizontal plane calibration module 30 is used to adjust the horizontal displacement of the laser collimator 01 and the target camera 05 respectively, so that the outgoing light path passes through the aperture device 04 with a preset aperture. When the light spot is detected to coincide with the sensor center of the target camera 05, the central optical axis calibration is completed.
[0122] Optionally, the optical axis calibration device further includes: an aperture 06 and a slide 07, wherein the aperture 06 is disposed between the laser collimator 01 and the contouring fixture 03, and the laser collimator 01 is disposed on the slide 07; the optical axis calibration system is also used for:
[0123] The rotation angle of the aperture 06 is adjusted with the center of the aperture 06 as the rotation point, wherein the rotation angle is the edge angle to be measured by the target camera 05;
[0124] The setting angle of the laser collimator 01 is adjusted by the slide table 07 so that the setting angle is the same as the rotation angle.
[0125] Optionally, the contouring fixture 03 is an axially rotatable structure, and the contouring fixture 03 has multiple non-overlapping setting positions in the vertical direction; the optical axis calibration system is also used for:
[0126] The contouring fixture 03 is controlled to rotate by a first preset angle so that the first setting position in each of the setting positions where the reflector 02 is installed is aligned with the laser collimator 01 and the target camera 05 in the vertical direction.
[0127] Optionally, the optical axis calibration system is also used for:
[0128] Control the contouring fixture 03 to rotate by a second preset angle so that the vacant second setting position in each of the setting positions is aligned with the laser collimator 01 and the target camera 05 in the vertical direction.
[0129] Optionally, the optical axis calibration system is also used for:
[0130] The contouring fixture 03 is controlled to rotate by a third preset angle so that the third setting position in each of the setting positions in which the perforated device 04 is installed is aligned with the laser collimator 01 and the target camera 05 in the vertical direction.
[0131] Optionally, the optical axis calibration equipment also includes: a data acquisition camera; the optical axis calibration system is also used for:
[0132] The optical path image of the laser collimator 01 is acquired through the acquisition camera;
[0133] Identify the outgoing optical path and the reflected optical path of the laser collimator 01 in the optical path image;
[0134] Determine whether the outgoing light path and the reflected light path overlap.
[0135] Optionally, the central calibration module 20 is also used for:
[0136] Capture the light spot image of the target camera 05;
[0137] Identify whether the light spot in the light spot image coincides with the center of the sensor of the target camera 05.
[0138] The optical axis calibration system provided in this application, employing the optical axis calibration method described in the above embodiments, can solve the technical problem of how to improve the accuracy of product optical axis calibration. Compared with the prior art, the beneficial effects of the optical axis calibration system provided in this application are the same as those of the optical axis calibration method described in the above embodiments, and other technical features of the optical axis calibration system are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0139] This application provides an optical axis calibration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the optical axis calibration method in the first embodiment described above.
[0140] The following is for reference. Figure 8The diagram illustrates a structural schematic suitable for implementing the optical axis calibration device in the embodiments of this application. The optical axis calibration device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8 The optical axis calibration device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0141] like Figure 8 As shown, the optical axis calibration device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the optical axis calibration device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the optical axis calibration device to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows optical axis calibration devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0142] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0143] The optical axis calibration device provided in this application, employing the optical axis calibration method described in the above embodiments, can solve the technical problem of how to improve the accuracy of product optical axis calibration. Compared with the prior art, the beneficial effects of the optical axis calibration device provided in this application are the same as those of the optical axis calibration method described in the above embodiments, and other technical features of this optical axis calibration device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0144] It should be understood that the various parts disclosed in this application can be implemented using 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 suitable manner in one or more embodiments or examples.
[0145] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0146] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the optical axis calibration method in the above embodiments.
[0147] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. 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 conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0148] The aforementioned computer-readable storage medium may be included in the optical axis calibration device; or it may exist independently and not assembled into the optical axis calibration device.
[0149] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the optical axis calibration device, the optical axis calibration device causes the following: the laser collimator to adjust its illumination angle until the outgoing light path of the laser collimator is detected to coincide with the reflected light path of the laser collimator, wherein the reflected light path is obtained by reflecting the outgoing light path through the reflector; the laser collimator to directly illuminate the target camera, acquiring the light spot of the outgoing light path on the target camera; the target camera to adjust its angle until the light spot coincides with the sensor center of the target camera; the laser collimator and the target camera to adjust their horizontal displacements respectively, so that the outgoing light path passes through a perforated device with a preset aperture; and the central optical axis calibration is completed when the light spot is detected to coincide with the sensor center of the target camera.
[0150] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0151] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0152] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0153] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described optical axis calibration method, thereby solving the technical problem of how to improve the accuracy of product optical axis calibration. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the optical axis calibration method provided in the above embodiments, and will not be repeated here.
[0154] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the optical axis calibration method described above.
[0155] The computer program product provided in this application can solve the technical problem of how to improve the accuracy of optical axis calibration of a product. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the optical axis calibration method provided in the above embodiments, and will not be repeated here.
[0156] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for calibrating an optical axis, characterized in that, The method is applied to an optical axis calibration device, which includes a laser collimator, a reflector, a contouring fixture, and a perforated device. The reflector and the perforated device are mounted on the contouring fixture, which is an axially rotatable structure and has multiple non-overlapping mounting positions in the vertical direction. The laser collimator, the contouring fixture, and the target camera are arranged sequentially from bottom to top. The method includes: Adjust the illumination angle of the laser collimator until it is detected that the outgoing light path of the laser collimator coincides with the reflected light path of the laser collimator, wherein the reflected light path is obtained by reflecting the outgoing light path through the reflector; The laser collimator is controlled to directly illuminate the target camera, and the light spot of the outgoing light path on the target camera is obtained; Adjust the angle of the target camera until the light spot coincides with the center of the target camera's sensor; The contouring fixture is rotated by a third preset angle so that the third setting position in each of the setting positions where the perforated device is installed is aligned with the laser collimator and the target camera in the vertical direction. The horizontal displacements of the laser collimator and the target camera are adjusted respectively so that the outgoing light path passes through the perforated device with a preset aperture. When the light spot is detected to coincide with the sensor center of the target camera, the central optical axis calibration is completed.
2. The optical axis calibration method as described in claim 1, characterized in that, The optical axis calibration device further includes: an aperture and a slide stage, wherein the aperture is disposed between the laser collimator and the contouring fixture, and the laser collimator is disposed on the slide stage; Prior to the step of adjusting the illumination angle of the laser collimator, the method further includes: The rotation angle of the aperture is adjusted with the center of the aperture as the rotation point, wherein the rotation angle is the edge angle to be measured by the target camera; The setting angle of the laser collimator is adjusted by the slide table so that the setting angle is the same as the rotation angle.
3. The optical axis calibration method as described in claim 1, characterized in that, Prior to the step of adjusting the illumination angle of the laser collimator, the method further includes: The contouring fixture is rotated by a first preset angle so that the first setting position in each of the setting positions, in which the reflector is installed, is aligned vertically with the laser collimator and the target camera.
4. The optical axis calibration method as described in claim 3, characterized in that, Prior to the step of controlling the laser collimator to directly illuminate the target camera, the method further includes: The contouring fixture is rotated by a second preset angle so that the vacant second setting position in each of the setting positions is aligned with the laser collimator and the target camera in the vertical direction.
5. The optical axis calibration method as described in claim 1, characterized in that, The optical axis calibration device further includes: a data acquisition camera; after the step of adjusting the illumination angle of the laser collimator, the method further includes: The optical path image of the laser collimator is acquired through the acquisition camera; Identify the outgoing optical path and the reflected optical path of the laser collimator in the optical path image; Determine whether the outgoing light path and the reflected light path overlap.
6. The optical axis calibration method as described in claim 5, characterized in that, The step of obtaining the light spot of the outgoing light path on the target camera includes: The acquisition camera captures the light spot image of the target camera; Identify whether the light spot in the light spot image coincides with the center of the sensor of the target camera.
7. An optical axis calibration system, characterized in that, The system is installed on an optical axis calibration device, which includes a laser collimator, a reflector, a contouring fixture, and a perforated device. The reflector and the perforated device are mounted on the contouring fixture, which is an axially rotatable structure and has multiple non-overlapping mounting positions in the vertical direction. The laser collimator, the contouring fixture, and the target camera are arranged sequentially from bottom to top. The system includes: A verticality calibration module is used to adjust the illumination angle of the laser collimator until it is detected that the outgoing light path of the laser collimator coincides with the reflected light path of the laser collimator, wherein the reflected light path is obtained by reflecting the outgoing light path through the reflector. The center calibration module is used to control the laser collimator to shine directly onto the target camera, acquire the light spot of the outgoing light path on the target camera, and adjust the angle of the target camera until the light spot coincides with the center of the sensor of the target camera; The optical axis calibration system is also used to: control the contouring fixture to rotate by a third preset angle so that the third setting position in each of the setting positions in which the perforated device is installed is aligned with the laser collimator and the target camera in the vertical direction; The horizontal plane calibration module is used to adjust the horizontal displacement of the laser collimator and the target camera respectively, so that the outgoing light path passes through the perforated device with a preset aperture. When the light spot is detected to coincide with the sensor center of the target camera, the central optical axis calibration is completed.
8. An optical axis calibration device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the optical axis calibration method as described in any one of claims 1 to 6.
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, it implements the steps of the optical axis calibration method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Laser equipment optical axis calibrating device and laser equipment
CN205944721U