Galvanometer automatic distortion correction device and method based on direct measurement of camera
By inverting the camera module and utilizing a triaxial motion system for automatic galvanometer distortion correction, the problems of material waste and accuracy in galvanometer calibration are solved, achieving an efficient and automated calibration process.
Patent Information
- Application Number
- CN202611271423.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing galvanometer calibration technology requires multiple cutting of calibration patterns, resulting in material waste and low automation. Furthermore, traditional methods cannot balance a large field of view and high precision, creating a contradiction between "large field of view and high precision".
An automatic distortion correction device and method for galvanometers based on direct camera measurement is adopted. By inverting the camera module and using a three-axis moving system, the optical axes of the camera module and the galvanometer module are made to coincide, achieving high-precision and wide-range correction without the need for a calibration plate.
It achieves automatic distortion correction without calibration plates, ensuring wide-range and high-precision measurements, improving automation and efficiency, and reducing costs.
Smart Images

Figure CN123177013A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of laser processing technology, specifically to an automatic galvanometer distortion correction device and method based on direct camera measurement. Background Technology
[0002] Galvanometer scanning systems, as core components in high-end manufacturing and optoelectronic detection fields such as laser processing and precision measurement, are widely used due to their advantages of simple structure and rapid response. However, they are prone to geometric distortion due to factors such as driving nonlinearity, optical defects, and mechanical errors. In large field-of-view scenarios, the error can reach the millimeter level, which restricts the system's accuracy. Traditional hardware and software correction schemes have limitations such as high cost, complicated operation, and poor versatility, and can no longer meet the micron-level accuracy requirements of high-end manufacturing. Therefore, optimizing galvanometer distortion correction technology has become a key engineering breakthrough. It can significantly improve system accuracy, reduce processing defect rate and cost, simplify debugging process, expand application boundaries, support the upgrading of the optoelectronic equipment industry, and enhance core manufacturing competitiveness, thus having important engineering application and economic value.
[0003] The current conventional method involves marking a calibration pattern (grid, dot matrix, circular array) using a galvanometer, followed by automatic acquisition and extraction of feature points by a camera to establish a distortion map and compensate for it. The limitations of this method are: during high-precision iterations or 3D galvanometer calibration, the calibration pattern needs to be cut multiple times. To avoid interference caused by pattern overlap, the calibration plate needs to be manually replaced for a new pattern marking. This results in wasted calibration plates, increased calibration costs, and reduced automation and efficiency.
[0004] The invention patent with publication number CN121742039A introduces an additional coaxial reference light source. By collecting the light spot formed by the light source, the cutting of the calibration pattern can be avoided, and multiple calibration iterations can be completed. However, in reality, the additional light source introduced cannot be guaranteed to be completely overlapped with the actual laser being processed, which makes it impossible to meet the requirements of high-precision scenarios. The invention patent application with publication number CN114029611A discloses a direct galvanometer correction system and method, which solves the problem of insufficient accuracy of the additional light source. However, both have common limitations: since there is no moving mechanism, all feature points within the galvanometer range are imaged within the field of view of a camera, making it impossible to achieve both high accuracy and a large enough galvanometer range. For example, even with a 100-megapixel camera (field of view of 10000px×10000px), to achieve 5µm accuracy, the maximum shooting range is only 50000µm×50000µm, or only 50mm×50mm, which is far from covering the hundred-millimeter-level scanning area commonly required by industrial-grade galvanometers. If the field of view is forcibly expanded, the equivalent physical size of a single pixel increases, and the accuracy will inevitably decrease, resulting in a technical bottleneck where "large field of view and high accuracy" cannot be achieved simultaneously. Summary of the Invention
[0005] The purpose of this invention is to address the problems in existing technologies where high-precision or 3D galvanometer calibration requires multiple calibrations, necessitates manual replacement of calibration plates, results in significant material waste, and has a low degree of automation, as well as the inherent contradiction between "large field of view and high precision." This invention provides an automatic distortion correction device and method for galvanometers based on direct camera measurement.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: In a first aspect, an automatic distortion correction device for galvanometers based on direct camera measurement is provided, comprising a stage on which a camera module is mounted upside down, and a galvanometer module located above the stage. The camera module has a lens group and an attenuator connected sequentially to its entrance port, and the camera module's light inlet faces the galvanometer module's light outlet. After scaling by the lens group and attenuation by the attenuator, the light beam emitted from the galvanometer module is directly received and imaged as a light spot. It also includes a three-axis motion system connected to the stage or the galvanometer module. The X-axis, Y-axis and Z-axis of the three-axis motion system drive one of the stage and the galvanometer module to move precisely along the corresponding axis, so that the galvanometer module can move continuously and controllably in a large range of three-dimensional space with micron-level precision relative to the camera module.
[0007] This automatic distortion correction device for galvanometers based on direct camera measurement inverts the camera module and places it below the galvanometer module. This allows the camera module to directly receive the light emitted from the galvanometer module, aligning their optical axes. Automatic distortion correction of the galvanometer can be completed with only one optical axis.
[0008] The camera module can move with high precision and a wide range relative to the galvanometer module by means of the X, Y and Z axes, ensuring that the camera can reach any position on the galvanometer plane, so that the measurement system has a sufficiently large measurement range. The deviation of the light output from the galvanometer is measured by a small field of view and a high precision camera, ensuring high precision deviation measurement, thereby solving the inherent contradiction of "large field of view - high precision" in the existing calibration plate-less solution.
[0009] Secondly, a method for automatic distortion correction of galvanometers based on direct camera measurement is provided. This method utilizes the aforementioned automatic distortion correction device for galvanometers based on direct camera measurement. For iterative calibration of a high-precision 2D galvanometer module, the method includes the following steps: The collimation adjustment is performed so that the optical axis of the camera module is approximately parallel to the Z-axis, and the Z-axis is approximately parallel to the optical axis of the galvanometer module. Once the zero position is set, the positions of the X, Y, and Z axes recorded subsequently will all be offset from the zero position. Hand-eye calibration: Under the premise of ensuring that the light spot does not exceed the field of view of the camera module, move the camera multiple times at equal steps and record the X and Y axes. Acquire images and extract the pixel coordinates of the center of the light spot to obtain a set of (X,Y) axis coordinates-light spot center pixel coordinates mapping. Array spot position acquisition: According to the scanning range length × width of the galvanometer module, the scanning range is divided into N × M calibration points. The galvanometer module is controlled to emit lasers to each target point in sequence. The X and Y axes are moved according to each target point to move the field of view center of the camera module to the target point position for image acquisition. The pixel coordinates of the spot center are extracted and converted based on the hand-eye calibration mapping to obtain the measured offset of the spot center corresponding to each target point. Accuracy convergence judgment: If all values in the measured offset of the spot center are within the allowable error range, the calibration is completed; otherwise, proceed to the next step. Based on the measured offsets between each target point and the center of the light spot through a one-to-one mapping, a model is constructed for any target point through fitting. Actual offset measured at the center of any light spot The mapping relationship is then established; therefore, the theoretical exit point of the subsequent galvanometer module at any target point is updated as follows: Return to the hand-eye alignment steps.
[0010] This automatic distortion correction method for galvanometers based on direct camera measurement directly acquires the spot position and axis movement by the camera, enabling calibration and distortion correction operations to be completed without a calibration plate, while ensuring both a wide range and high accuracy of correction.
[0011] In some embodiments, the zero-point setting step is as follows: turn on the laser of the galvanometer module and emit it at the theoretical position of the galvanometer module; move the Z-axis to make the emitted light spot of the galvanometer module have the smallest spot diameter in the image of the camera module; move the X-axis and Y-axis to make the center of the emitted light spot of the galvanometer module image the center of the image of the camera module; set the positions of the X-axis, Y-axis and Z-axis at this time as zero, and the positions of the X-axis, Y-axis and Z-axis recorded thereafter are all offsets relative to the zero position.
[0012] In some implementations, the criteria for determining that the light is approximately parallel are: when the Z-axis is moved up and down, the position offset of the center of the emitted light spot of the galvanometer module in the inverted camera module will never exceed half of the field of view of the camera module, and the shape of the light spot will not be significantly distorted by visual inspection.
[0013] In some implementations, the method for solving the actual XY offset distance of any pixel position on the camera relative to the camera center point based on mapping includes at least: solving the homography matrix based on perspective transformation, polynomial fitting based on least squares method, or bilinear interpolation and combinations thereof.
[0014] In some implementations, during hand-eye calibration, when equal step sizes are adjusted and the X and Y axes are recorded to ensure uniform distribution of light spots within the camera module's field of view, the light spots are at least a 3×3 array, covering at least half of the camera module's field of view and are centrally symmetrically distributed around the center of the camera module's field of view. If the lens group has distortion and the error exceeds the tolerance after correction by the galvanometer module, then the light spots are at least a 9×9 array and need to cover the entire field of view of the camera module.
[0015] In some implementations, the magnification or reduction ratio of the lens group must ensure that the actual X-axis and Y-axis dimensions of the single-pixel mapping of the camera module are not greater than the tolerance after correction by the galvanometer module, and that half of the field of view of the camera module is not less than the sum of the deviation value and the spot radius of the laser emitted at any position within the scanning range before calibration by the galvanometer module.
[0016] In some implementations, when the scanning range is divided into N×M or N×M×H calibration points, N, M, and H are all positive integers and satisfy: N≥5, M≥5, H≥3, and the calibration points are centrally symmetrically distributed along the zero position.
[0017] In some implementations, the threshold of the attenuator is not lower than the minimum output power of the galvanometer module, and the attenuation coefficient must ensure that the minimum output power of the galvanometer module does not exceed the damage threshold of the lens group and camera module after attenuation.
[0018] In some implementations, the fitting method includes at least least squares / weighted least squares distortion fitting and bilinear / quadratic interpolation methods; and when the distortion symmetry of the galvanometer module is good, least squares distortion fitting is used; when the symmetry is poor, interpolation methods are used.
[0019] For iterative calibration of the high-precision 3D galvanometer module, the target point description and fitting / interpolation model in the above steps are changed from 2D to 3D, and the step of acquiring the array spot position is replaced with: The scanning range of the galvanometer module is divided into N×M×H calibration points according to its length × width × height. The galvanometer module is then controlled to sequentially emit lasers to each target point, which is denoted as the theoretical target point set. ), and in accordance with Moving the X, Y, and Z axes moves the center of the camera module's field of view to its theoretical position. Then, move the Z-axis slightly to minimize the spot diameter and record the amount of this slight Z-axis movement. The image was acquired and the pixel coordinates of the light spot center were extracted. Based on the hand-eye calibration mapping, a result was obtained. Measured offset of the center of the corresponding light spot After coupling, the result is The mapping.
[0020] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. The automatic distortion correction device for galvanometer based on direct camera measurement inverts the camera module and places it below the galvanometer module, allowing the camera module to directly receive the light emitted by the galvanometer module, thus aligning their optical axes; 2. High-precision, wide-range movement of the camera module relative to the galvanometer module is achieved through the X, Y, and Z axes, ensuring that the camera can reach any position on the galvanometer's surface, giving the measurement system a sufficiently large measurement range; the deviation of the galvanometer's emitted light is measured by a small field-of-view, high-precision camera, ensuring high-precision deviation measurement, thereby resolving the inherent contradiction of "large field of view - high precision" in existing calibration plate-less solutions; 3. The automatic distortion correction method for galvanometer based on direct camera measurement directly acquires the spot position and axis movement through the camera, enabling calibration and distortion correction operations to be completed without a calibration plate, while simultaneously ensuring a wide range and high precision in the correction. Attached Figure Description
[0021] Figure 1 This is an overall schematic diagram of an automatic galvanometer distortion correction device based on direct camera measurement according to the present invention. Figure 2 This is a flowchart illustrating an automatic galvanometer distortion correction method based on direct camera measurement according to the present invention. Figure 3 This is a schematic diagram of the calibration point distribution when calibrating a 2D galvanometer according to the present invention; Figure 4 This is a schematic diagram of the field of view when the camera module of the present invention acquires a calibration point; Figure 5 This is a schematic diagram of the calibration point distribution when calibrating the 3D galvanometer in this invention; In the diagram: 1. Galvanometer module; 2. Camera module; 201. Lens group; 202. Attenuator; 3. Stage; 4. X-axis; 5. Y-axis; 6. Z-axis. Detailed Implementation
[0022] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] In the description of this invention, it should be noted that the terms "middle", "upper", "lower", "left", "right", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0024] Example 1: A galvanometer automatic distortion correction device based on direct camera measurement is provided, combined with... Figure 1 As shown, the system includes a stage 3 on which a camera module 2 is mounted upside down. A galvanometer module 1 is positioned above the stage 3 and located above the camera module 2. The camera module 2 has a lens group 201 and an attenuator 202 connected sequentially to its entrance. The light inlet of the camera module 2 faces the light outlet of the galvanometer module 1. After being scaled by the lens group 201 and attenuated by the attenuator 202, the light beam emitted from the galvanometer module 1 is directly received and imaged as a light spot. It also includes a three-axis motion system connected to the stage 3 or the galvanometer module 1. The X-axis 4, Y-axis 5 and Z-axis 6 of the three-axis motion system drive one of the stage and the galvanometer module to move precisely along the corresponding axis, so that the galvanometer module 1 can move continuously and controllably in a large range of three-dimensional space with micron-level precision relative to the camera module 2.
[0025] This automatic distortion correction device for galvanometers based on direct camera measurement inverts the camera module 2 and places it below the galvanometer module 1. The camera module 2 can directly receive the light emitted from the galvanometer module 1, making their optical axes coincide. Automatic distortion correction of the galvanometer can be completed with only one optical axis.
[0026] The camera module can move with high precision and a wide range relative to the galvanometer module by using the X-axis (4), Y-axis (5), and Z-axis (6), ensuring that the camera can reach any position on the galvanometer's surface, thus giving the measurement system a sufficiently large measurement range. The deviation of the light output from the galvanometer is measured by a small field of view, high precision camera, ensuring high-precision deviation measurement, thereby resolving the inherent contradiction of "large field of view - high precision" in existing calibration plate-less solutions.
[0027] Example 2: A method for automatic galvanometer distortion correction based on direct camera measurement is provided, which uses an automatic galvanometer distortion correction device based on direct camera measurement as described in Example 1.
[0028] For iterative calibration of high-precision 2D galvanometer modules, combined with Figures 2-4 As shown, the method includes the following steps: Step 1: Collimation adjustment. First, adjust the tilt angle of the camera so that the optical axis of the camera module is approximately parallel to the Z-axis. Then, adjust the tilt angle of the galvanometer module so that the Z-axis is approximately parallel to the optical axis of the galvanometer module. Step 2: Zero position setting. The positions of the X-axis, Y-axis, and Z-axis recorded thereafter are all offsets relative to the zero position. Specifically, the laser of the galvanometer module is turned on, and at the theoretical position of the galvanometer module ( Location, The laser beams emitted from the galvanometer module are positioned so that the diameter of the emitted beam is minimized in the image formed by the camera module (at this point, the laser emitted from the galvanometer module is focused on the image plane of the camera module). Then, the X and Y axes are moved so that the center of the emitted beam from the galvanometer module is imaged at the center of the image of the camera module. The positions of the X, Y, and Z axes at this point are set to zero. The positions of the X, Y, and Z axes recorded thereafter are offsets from the zero position. Step 3, Hand-eye calibration: While ensuring the light spot does not exceed the camera module's field of view, move the camera multiple times at equal steps, recording the X and Y axes. Acquire images and extract the pixel coordinates of the light spot center, obtaining a mapping of (X,Y) axis coordinates to (u,v) light spot center pixel coordinates. Based on this mapping, the actual XY offset distance of any pixel position on the camera module relative to the camera center point can be calculated. ; Step 4: Array spot position acquisition: Divide the scanning range into N×M calibration points according to the length × width of the galvanometer module, and control the galvanometer module to sequentially emit lasers to each target point (which can be denoted as the theoretical target point set). The camera module moves along the X and Y axes according to each target point to move its field of view center to the target point position for image acquisition. It then extracts the pixel coordinates of the light spot center and performs a conversion based on the hand-eye calibration mapping to obtain the coordinates of each target point (the theoretical target point set). ) Measured offset of the center of the corresponding light spot ; Step 5, Accuracy Convergence Judgment: If the measured offset of the spot center ( If all values in the calibration are within the allowable error range, the calibration is complete; otherwise, proceed to the next step. Step 6: Based on the one-to-one mapping of each target point ( ) and the measured offset of the center of the light spot ( By fitting, a target point can be constructed for any given point. Actual offset measured at the center of any light spot The mapping relationship is then established; therefore, the theoretical exit point of the subsequent galvanometer module at any target point is updated as follows: Return to the hand-eye alignment steps.
[0029] This automatic distortion correction method for galvanometers based on direct camera measurement directly acquires the spot position and axis movement by the camera, enabling calibration and distortion correction operations to be completed without a calibration plate, while ensuring both a wide range and high accuracy of correction.
[0030] This method differs from existing technologies in the step of array spot position acquisition. This method only requires moving the X and Y axes to create relative displacement between the camera module and the galvanometer module, thus ensuring a sufficient measurement range. Existing technologies rely primarily on the large format of the camera to ensure the measurement range, resulting in low accuracy.
[0031] In some embodiments, the criterion for determining approximate parallelism in step 1 is: when moving the Z-axis up and down, the position offset of the emitted light spot center of the galvanometer module in the inverted camera module's image will never exceed half of the camera module's field of view, and the visually perceived light spot shape will not be significantly distorted. In other words, in this application, the optical axis, Z-axis of the camera module, and the optical axis of the galvanometer module do not need to be perfectly parallel for subsequent operations, reducing the difficulty of adjusting the optical axes to perfect parallelism.
[0032] In some implementations, the method for solving the actual XY offset distance of any pixel position on the camera relative to the camera center point based on mapping in step 3 includes at least: solving the homography matrix based on perspective transformation (linear mapping caused by camera pose), polynomial fitting based on least squares method (nonlinear mapping caused by camera lens distortion), or bilinear interpolation (nonlinear mapping caused by camera lens inhomogeneity or asymmetry) and combinations thereof.
[0033] In some implementations, during hand-eye calibration, when equal step sizes are adjusted and the X and Y axes are recorded to ensure uniform distribution of light spots within the camera module's field of view, the light spots are at least a 3×3 array, covering at least half of the camera module's field of view and are centrally symmetrically distributed around the center of the camera module's field of view. If the lens group has distortion and the error exceeds the tolerance after correction by the galvanometer module, then the light spots are at least a 9×9 array and need to cover the entire field of view of the camera module.
[0034] In some implementations, the lens group is used to magnify or reduce the field of view of the camera module, correspondingly reducing or magnifying the pixel accuracy of the camera. Therefore, the magnification of the lens group must ensure that the actual X-axis and Y-axis dimensions of the single-pixel mapping of the camera module are not greater than the tolerance after correction by the galvanometer module, and half of the field of view of the camera module is not less than the sum of the deviation value and the spot radius of the laser emitted from any position within the scanning range before calibration by the galvanometer module. This operation can ensure sufficient accuracy and will not exceed the field of view to the point of being unmeasurable.
[0035] In some implementations, when the scanning range is divided into N×M or N×M×H calibration points, N, M, and H are all positive integers and satisfy: N≥5, M≥5, H≥3, and the calibration points are centrally symmetrically distributed along the zero position.
[0036] In some implementations, the attenuator is used to attenuate the laser input and shield ambient light. The threshold of the attenuator itself is not lower than the minimum output power of the galvanometer module, and the attenuation coefficient must ensure that the minimum output power of the galvanometer module does not exceed the damage threshold of the lens group and camera module after attenuation.
[0037] In some implementations, the fitting method includes at least least squares / weighted least squares distortion fitting and bilinear / quadratic interpolation methods; and when the distortion symmetry of the galvanometer module is good, least squares distortion fitting is used; when the symmetry is poor, interpolation is used, and N, M, and H are increased to N≥9, M≥9, and H≥5.
[0038] Example 3: The difference between this example and Example 2 is that the 2D galvanometer module is changed to a 3D galvanometer module.
[0039] For the iterative calibration of the high-precision 3D galvanometer module, other steps remain unchanged, except that the target point description and fitting / interpolation model in steps 5 and 6 are changed from 2D to 3D, and the step of acquiring the array spot position is replaced with: Combination Figure 5 As shown, according to the length × width × height of the scanning range of the galvanometer module, the scanning range is divided into N × M × H calibration points. The galvanometer module is controlled to sequentially emit lasers to each target point, which is denoted as the theoretical target point set. ), and in accordance with Moving the X, Y, and Z axes moves the center of the camera module's field of view to its theoretical position. Then, move the Z-axis slightly to minimize the spot diameter and record the amount of this slight Z-axis movement. The image was acquired and the pixel coordinates of the light spot center were extracted. Based on the hand-eye calibration mapping, a result was obtained. Measured offset of the center of the corresponding light spot After coupling, the result is The mapping.
[0040] For the present invention, whether it is the iterative calibration of the high-precision 2D galvanometer module or the iterative calibration of the high-precision 3D galvanometer module, the automatic distortion correction device and method of the present invention can be adopted. No calibration plate is needed during the calibration process, there is no waste of calibration plate, it can be completed automatically, and it can ensure a wide range and high precision of calibration.
[0041] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. An automatic galvanometer distortion correction device based on direct camera measurement, comprising a stage, characterized in that, A camera module is mounted upside down on the platform, and a galvanometer module is located above the platform. The galvanometer module is positioned above the camera module. The camera module's entrance is connected in sequence to a lens group and an attenuator. The camera module's light inlet faces the galvanometer module's light outlet. After being scaled by the lens group and attenuated by the attenuator, the light beam emitted from the galvanometer module is directly received and imaged as a light spot. It also includes a three-axis motion system connected to the stage or the galvanometer module. The X-axis, Y-axis and Z-axis of the three-axis motion system drive one of the stage and the galvanometer module to move precisely along the corresponding axis, so that the galvanometer module can move continuously and controllably in a large range of three-dimensional space with micron-level precision relative to the camera module.
2. A method for automatic galvanometer distortion correction based on direct camera measurement, using the automatic galvanometer distortion correction device based on direct camera measurement as described in claim 1, characterized in that, The iterative calibration of a high-precision 2D galvanometer module includes the following steps: The collimation adjustment is performed so that the optical axis of the camera module is approximately parallel to the Z-axis, and the Z-axis is approximately parallel to the optical axis of the galvanometer module. Once the zero position is set, the positions of the X, Y, and Z axes recorded subsequently will all be offset from the zero position. Hand-eye calibration: Under the premise of ensuring that the light spot does not exceed the field of view of the camera module, move the camera multiple times at equal steps and record the X and Y axes. Acquire images and extract the pixel coordinates of the center of the light spot to obtain a set of (X,Y) axis coordinates-light spot center pixel coordinates mapping. Array spot position acquisition: According to the scanning range length × width of the galvanometer module, the scanning range is divided into N × M calibration points. The galvanometer module is controlled to emit lasers to each target point in sequence. The X and Y axes are moved according to each target point to move the field of view center of the camera module to the target point position for image acquisition. The pixel coordinates of the spot center are extracted and converted based on the hand-eye calibration mapping to obtain the measured offset of the spot center corresponding to each target point. Accuracy convergence judgment: If all values in the measured offset of the spot center are within the allowable error range, the calibration is completed; otherwise, proceed to the next step. Based on the measured offsets between each target point and the center of the light spot through a one-to-one mapping, a model is constructed for any target point through fitting. Actual offset measured at the center of any light spot The mapping relationship is then established; therefore, the theoretical exit point of the subsequent galvanometer module at any target point is updated as follows: Return to the hand-eye alignment steps.
3. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, The steps for setting the zero point are as follows: turn on the laser of the galvanometer module and emit it at the theoretical position of the galvanometer module; move the Z-axis to make the emitted light spot of the galvanometer module have the smallest spot diameter in the image of the camera module; move the X-axis and Y-axis to make the center of the emitted light spot of the galvanometer module image the center of the image of the camera module; set the positions of the X-axis, Y-axis and Z-axis at this time as zero; and the positions of the X-axis, Y-axis and Z-axis recorded thereafter are all offsets relative to the zero position.
4. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, The criteria for determining that the light is roughly parallel are as follows: when moving the Z-axis up and down, the position offset of the center of the emitted light spot of the galvanometer module in the inverted camera module will never exceed half of the field of view of the camera module, and the shape of the light spot will not be significantly distorted by visual inspection.
5. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, Methods for solving the actual XY offset distance of any pixel position on the camera relative to the camera center point based on mapping include at least: solving the homography matrix based on perspective transformation, polynomial fitting or bilinear interpolation based on least squares method and their combinations.
6. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, In hand-eye calibration, when the step size is adjusted and the X and Y axes are recorded to make the light spot evenly distributed within the field of view of the camera module, the light spot must be at least a 3×3 array and cover no less than half of the field of view of the camera module, and be centrally symmetrically distributed around the center of the field of view of the camera module; if the lens group has distortion and the error exceeds the tolerance after correction by the galvanometer module, then the light spot must be at least a 9×9 array and must cover the entire field of view of the camera module.
7. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, The magnification or reduction ratio of the lens group must ensure that the actual X-axis and Y-axis dimensions of the single-pixel mapping of the camera module are not greater than the tolerance after correction by the galvanometer module, and that half of the field of view of the camera module is not less than the sum of the deviation value and the spot radius of the laser emitted from any position within the scanning range before calibration by the galvanometer module.
8. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, When the scanning range is divided into N×M or N×M×H calibration points, N, M, and H are all positive integers and satisfy: N≥5, M≥5, H≥3, and the calibration points are centrally symmetrically distributed along the zero position.
9. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, The threshold of the attenuator is not lower than the minimum output power of the galvanometer module, and the attenuation coefficient must ensure that the minimum output power of the galvanometer module does not exceed the damage threshold of the lens group and camera module after attenuation.
10. The automatic galvanometer distortion correction method based on direct camera measurement according to claim 2, characterized in that, For iterative calibration of the high-precision 3D galvanometer module, the target point description and fitting / interpolation model in the above steps are changed from 2D to 3D, and the step of acquiring the array spot position is replaced with: The scanning range of the galvanometer module is divided into N×M×H calibration points according to its length × width × height. The galvanometer module is then controlled to sequentially emit lasers to each target point, which is denoted as the theoretical target point set. ), and in accordance with Moving the X, Y, and Z axes moves the center of the camera module's field of view to its theoretical position. Then, move the Z-axis slightly to minimize the spot diameter and record the amount of this slight Z-axis movement. The image was acquired and the pixel coordinates of the light spot center were extracted. Based on the hand-eye calibration mapping, a result was obtained. Measured offset of the center of the corresponding light spot After coupling, the result is The mapping.
Citation Information
Patent Citations
Direct galvanometer correction system and correction method
CN114029611A
Laser galvanometer automatic correction method and system based on computer vision and coaxial reference light
CN121742039A
