Galvanometer coordinate correction table generation method, system, device and storage medium

By generating a mapping function and performing iterative optimization, the problem of the unconsidered coupling relationship between the x and y coordinates in galvanometer calibration was solved, enabling fast and accurate calibration table generation and improving iterative efficiency and accuracy.

CN115272114BActive Publication Date: 2026-04-07SHANGHAI BOCHU ELECTRONIC TECH CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-25
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The existing methods for generating galvanometer calibration tables fail to effectively consider the coupling relationship between x and y coordinates, resulting in slow convergence speed and low iteration efficiency during iteration.

Method used

By generating a spatial mapping function that characterizes the command coordinates and actual coordinates on the entire galvanometer processing area, and performing N iterations on the initial command coordinates, combined with preset step size and correction value, the correction value is gradually optimized to form the final correction table, taking into account the coupling relationship between the x and y coordinates.

Benefits of technology

It improved iteration efficiency, achieved fast and accurate correction, reduced the number of iterations, and improved the accuracy and efficiency of galvanometer correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115272114B_ABST
    Figure CN115272114B_ABST
Patent Text Reader

Abstract

This invention provides a method, system, device, and storage medium for generating a galvanometer coordinate correction table. The method includes: generating a first model representing a spatial mapping function between command coordinates and actual coordinates; performing N iterations of correction on initial command coordinates and a correction value, and using the command coordinates after N iterations of correction as the command coordinates of the first model to obtain N+1 actual coordinates; the correction value is the product of the difference between the Nth initial command coordinates and the Nth actual coordinates and a preset step size; determining the relationship between the N+1th actual coordinates and the initial command coordinates; if the difference between the N+1th actual coordinates and the initial command coordinates is below a preset value, the iteration ends, and the actual coordinates corresponding to the initial command coordinates and the final correction value are obtained; changing the initial command coordinates until the final actual coordinates and corresponding final correction values ​​for all initial command coordinates are obtained, forming a correction table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of galvanometer processing technology, and in particular to a method, system, device, and storage medium for generating a galvanometer coordinate correction table. Background Technology

[0002] The galvanometer controls the angles of two reflectors via two internal motors, thereby controlling the position of the emitted light spot. Modeling this process yields a nonlinear model. To ensure timely solution of the corresponding motor control angles within a given computing power, the original nonlinear model is simplified. Furthermore, the theoretical model cannot always accurately describe the actual process. This leads to discrepancies between the light spot command position received by the galvanometer and the actual emitted light spot position (e.g., the commanded position is (50, 50), but the actual position is (40, 40)). To achieve precise light emission, the galvanometer needs to be calibrated before deployment.

[0003] The first step in galvanometer calibration is to obtain the calibration table (i.e., the correction value at the grid point for the command position). The calibration table contains two matrices: the x-calibration table and the y-calibration table. Each value in the matrix represents the correction value at the grid coordinate.

[0004] However, the current calibration tables only calculate the calibration values ​​for the x and y coordinates independently, resulting in calibration tables containing x and y coordinates, without considering the coupling relationship within the x and y coordinates. Furthermore, the model used to describe the command coordinates and actual coordinates is not smooth, such as the slope near the command coordinate is equal to the slope of the two adjacent command coordinates, which makes it difficult to describe the correspondence between the command coordinates and actual coordinates well. This leads to slow convergence during iteration and very low iteration efficiency. Summary of the Invention

[0005] This invention provides a method, system, device, and storage medium for generating a galvanometer coordinate correction table, which solves the problem in the prior art that the correspondence between command coordinates and actual coordinates cannot be well described, resulting in slow convergence speed and low iteration efficiency during iteration.

[0006] According to a first aspect of the present invention, a method for generating a galvanometer coordinate correction table is provided, comprising:

[0007] S1: Generate the first model; the first model represents the spatial mapping function between the command coordinates and the actual coordinates on the entire galvanometer processing area;

[0008] S2: For any initial command coordinate on the entire galvanometer processing area, iterate it N times with a correction value to obtain the Nth corrected command coordinate. Input the Nth corrected command coordinate as the command coordinate into the first model to obtain the (N+1)th actual coordinate; where N is a positive integer and N≥1; the correction value is the product of the difference between the Nth initial command coordinate and the Nth actual coordinate and a preset step size, and the initial correction value is 0. The initial command coordinate is the coordinate on the grid point in the command coordinate system.

[0009] S3: Determine the relationship between the (N+1)th actual coordinates and the initial command coordinates;

[0010] If the difference between the (N+1)th actual coordinate and the initial command coordinate reaches a preset value or less, the iteration ends, and the (N+1)th actual coordinate is taken as the final actual coordinate corresponding to the initial command coordinate; the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size is taken as the final correction value corresponding to the initial command coordinate; and proceed to S4.

[0011] If the difference between the actual coordinates in the (N+1)th iteration and the initial command coordinates is greater than a preset value, then the value of N is increased by 1 and the process returns to S2 to continue the (N+1)th iteration.

[0012] S4: Change the initial command coordinates and return to S2 until the final actual coordinates and corresponding final correction values ​​for all initial command coordinates are obtained; all final correction values ​​form the final correction table.

[0013] Optionally, the method may further include the following steps before step S3:

[0014] Determine whether the time for the N iterations has reached a preset time;

[0015] If the target is reached, the iteration ends, and the N+1th actual coordinate is taken as the final actual coordinate.

[0016] If the target is not met, proceed to S3.

[0017] Optionally, step S1 specifically includes:

[0018] S11: Draw a uniform and regular square grid across the entire galvanometer processing area;

[0019] S12: Input command coordinates, determine whether the command coordinates are coordinates within the grid. If yes, proceed to step S13; otherwise, proceed to step S14.

[0020] S13: Calculate the actual coordinates corresponding to the command coordinates using data optimization methods;

[0021] S14: After expanding the mesh, the actual coordinates corresponding to the command coordinates are calculated through data optimization.

[0022] Optionally, the data optimization methods include interpolation and surface fitting.

[0023] Optionally, the interpolation method includes: bilinear interpolation and bicubic interpolation.

[0024] Optionally, if the interpolation method is selected as bicubic interpolation, then in step S12, it is necessary to determine whether the command coordinate is inside the second layer of the grid from the outside. If so, the actual coordinate corresponding to the command coordinate is calculated by the bicubic interpolation; if not, the actual coordinate corresponding to the command coordinate is calculated by the bicubic interpolation after expanding the grid.

[0025] According to a second aspect of the present invention, a galvanometer coordinate correction table generation system is provided for implementing the galvanometer coordinate correction table generation method described in the first aspect of the present invention, comprising:

[0026] The first model generation unit is used to generate the first model;

[0027] The calibration iteration unit is used to perform N iterations on any initial command coordinate on the entire galvanometer processing area and a calibration value to obtain the Nth calibration command. The Nth calibration command is then input as the command coordinate into the first model generation unit to obtain the (N+1)th actual coordinate. Here, N is a positive integer and N≥1. The calibration value is the value obtained by integrating the difference between the (N-1)th actual coordinate and the initial command coordinate with a preset step size, and the initial calibration value is 0.

[0028] The judgment unit is used to judge the relationship between the (N+1)th actual coordinate and the initial command coordinate; if the difference between the (N+1)th actual coordinate and the initial command coordinate is below a preset value, a first command is sent to the correction iteration unit to end the iteration, and the (N+1)th actual coordinate is output as the final actual coordinate corresponding to the initial command coordinate, and the value of the difference between the (N-1)th actual coordinate and the initial command coordinate after integrating by a preset step size is used as the final correction value corresponding to the initial command coordinate; if the difference between the (N+1)th actual coordinate and the initial command coordinate is greater than the preset value, a second command is sent to the correction iteration unit to increase the value of N by 1 and continue to perform the (N+1)th iteration;

[0029] Furthermore, the judgment unit is also used to determine whether all initial command coordinates have obtained their corresponding final actual coordinates. If so, a third command is sent to the correction iteration unit to end the iteration; if not, a fourth command is sent to the correction iteration unit to iterate for the next initial command coordinate; until all the final actual coordinates corresponding to the initial command coordinates and their corresponding final correction values ​​are obtained.

[0030] Optionally, the correction iteration unit includes:

[0031] The subtractor is used to calculate the difference between the initial command coordinates and the Nth actual coordinates;

[0032] A multiplier is used to calculate the product between the difference and the preset step size;

[0033] An integrator is used to accumulate the product of the difference between the Nth initial command coordinates and the Nth actual coordinates and a preset step size to obtain the correction value.

[0034] According to a third aspect of the present invention, an electronic device is provided, including a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that the processor executes the program to implement the steps of the method described in the first aspect of the present invention.

[0035] According to a fourth aspect of the present invention, a storage medium is provided having a program stored thereon, characterized in that the program, when executed by a processor, implements the steps of the method described in the first aspect of the present invention.

[0036] The galvanometer coordinate correction table generation method provided by this invention generates a first model representing the spatial mapping function between command coordinates and actual coordinates on the entire galvanometer processing area. After N iterations with any initial command coordinate and a correction value on the entire galvanometer processing area, the Nth corrected command coordinate is obtained. This Nth corrected command coordinate is input into the first model as the command coordinate to obtain the (N+1)th actual coordinate. If the difference between the (N+1)th actual coordinate and the initial command coordinate is below a preset value, the correction value is the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size, which is the final correction value of the initial command coordinate. The initial command coordinate is changed until all the initial command coordinates are obtained, along with their corresponding final correction values. All the final correction values ​​form a final correction table.

[0037] In this invention, the coupling relationship between the x-coordinate and the y-coordinate is considered, providing a first model that provides a relatively accurate description of the relationship between the command coordinate and the actual coordinate. Then, through iterative processing of the initial coordinates, the correction value between the command coordinate and the actual coordinate is obtained, and the final correction table is obtained. The final correction table is applied during galvanometer calibration, achieving fewer or even one marking operation, thus improving the iteration efficiency. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a flowchart of an exemplary method for generating a galvanometer coordinate correction table in an embodiment of the present invention;

[0040] Figure 2 This is an exemplary flowchart of generating the first model in an embodiment of the present invention;

[0041] Figure 3 This is a block diagram of an exemplary galvanometer coordinate correction table generation system in an embodiment of the present invention;

[0042] Figure 4 This is a block diagram of an exemplary correction iteration unit in an embodiment of the present invention;

[0043] Figure 5 This is a schematic diagram illustrating the structure of an exemplary electronic device in an embodiment of the present invention. Detailed Implementation

[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only 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.

[0045] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0046] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0047] Marking refers to the process of drawing a uniform square grid on the processing area of ​​a galvanometer and then superimposing a correction value on each vertex of the grid as a command coordinate to the galvanometer for marking.

[0048] Please refer to Figure 1 and Figure 2 In one embodiment of the present invention, a method for generating a galvanometer coordinate correction table is provided, comprising:

[0049] S1: Generate the first model; the first model represents the spatial mapping function between the command coordinates and the actual coordinates on the entire galvanometer processing area.

[0050] Specifically, step S1 includes:

[0051] S11: Draw a uniform and regular square grid across the entire galvanometer processing area.

[0052] S12: Input command coordinates, determine whether the command coordinates are coordinates within the grid. If yes, proceed to step S13; otherwise, proceed to step S14.

[0053] S13: Calculate the actual coordinates corresponding to the command coordinates through data optimization.

[0054] The data optimization methods include interpolation and surface fitting.

[0055] The interpolation methods include bilinear interpolation and bicubic interpolation.

[0056] Of course, this invention is not limited to obtaining the actual coordinates corresponding to the command coordinates. Other methods that can obtain the actual coordinates corresponding to the command coordinates, such as calculating the actual coordinates corresponding to the command coordinates through modeling, are also within the scope of protection of this invention.

[0057] S14: After expanding the mesh, the actual coordinates corresponding to the command coordinates are calculated through data optimization.

[0058] In one specific embodiment, input command coordinates (X, Y), where X and Y are both integers. Determine whether the command coordinates are inside the grid. If so, use bilinear interpolation to calculate the actual coordinates corresponding to the command coordinates (X, Y). The bilinear interpolation involves selecting four coordinates (X±1, Y±1) around the command coordinates (X, Y) and performing linear interpolation once in the X direction and once in the Y direction based on the four coordinates. The result of the linear interpolation is independent of the order of interpolation.

[0059] If the command coordinates (X, Y) are outside the grid, the grid needs to be expanded. This expansion can be achieved by gradually expanding a square grid, for example, from an initial 3x3 square grid to 4x4, ..., NxN. After each expansion, it is checked whether the command coordinates (X, Y) are within the expanded grid. If they are, expansion stops, resulting in the final expanded square grid. If not, the expansion process continues. Within the expanded grid, the actual coordinates corresponding to the command coordinates are calculated using bilinear interpolation.

[0060] This invention is not limited to the method of expanding the mesh. Other methods of expanding the mesh, such as selecting four points in the same row or column that are closest to the command coordinates, performing interpolation on the result of cubic curve fitting to obtain expansion points, and expanding the mesh based on the expansion points, are also within the scope of protection of this invention.

[0061] If the interpolation method is selected as bicubic interpolation, then in step S12, it is necessary to determine whether the command coordinates are inside the second-outermost grid layer. If so, the actual coordinates corresponding to the command coordinates are calculated using bicubic interpolation; if not, the grid is expanded, and then the actual coordinates corresponding to the command coordinates are calculated again using bicubic interpolation. Specifically, bicubic interpolation requires obtaining the 16 coordinate points closest to the command coordinates to finally calculate the actual coordinates corresponding to the command coordinates.

[0062] S2: For any initial command coordinate on the entire galvanometer processing area, iterate it N times with a correction value to obtain the Nth corrected command coordinate. Input the Nth corrected command coordinate as the command coordinate into the first model to obtain the (N+1)th actual coordinate; where N is a positive integer and N≥1; the correction value is the product of the difference between the Nth initial command coordinate and the Nth actual coordinate and the preset step size, and the initial correction value is 0. The initial command coordinate is the coordinate on the grid point in the command coordinate system.

[0063] S3: Determine the relationship between the (N+1)th actual coordinates and the initial command coordinates.

[0064] If the difference between the (N+1)th actual coordinate and the initial command coordinate reaches a preset value or less, the iteration ends, and the (N+1)th actual coordinate is taken as the final actual coordinate corresponding to the initial command coordinate; the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size is taken as the final correction value corresponding to the initial command coordinate; and proceed to S4.

[0065] If the difference between the actual coordinates in the (N+1)th iteration and the initial command coordinates is greater than a preset value, then the value of N is increased by 1 and the process returns to S2 to continue the (N+1)th iteration.

[0066] Since each iteration iterates over the sum of the initial instruction coordinates and the correction value, each iteration further refines the correction value to obtain the final correction value. When an actual coordinate is needed, simply subtract the final correction value from the actual coordinate to obtain an instruction coordinate, thus achieving one marking operation.

[0067] The preset value represents the accuracy of the difference between the actual coordinates and the initial command coordinates. When the difference between the (N+1)th actual coordinate and the initial command coordinate is 0, it indicates that the final correction value corresponding to the initial command coordinate is the most accurate.

[0068] S4: Change the initial command coordinates and return to S2 until the final actual coordinates and corresponding final correction values ​​for all initial command coordinates are obtained; all final correction values ​​form the final correction table.

[0069] The steps preceding step S3 include:

[0070] Determine whether the time of the N iterations reaches a preset time; the preset time is used to control the execution time of steps S2 and S3.

[0071] If the target is reached, the iteration ends, and the N+1th actual coordinate is taken as the final actual coordinate.

[0072] If the condition is not met, proceed to step S3. That is, continue the iteration until the difference between the (N+1)th actual coordinate and the initial command coordinate reaches a preset value or a preset time is reached, and output the corresponding actual coordinate and the final correction value.

[0073] The galvanometer coordinate correction table generation method provided by this invention generates a first model representing the spatial mapping function between command coordinates and actual coordinates on the entire galvanometer processing area. After N iterations with any initial command coordinate and a correction value on the entire galvanometer processing area, the Nth corrected command coordinate is obtained. This Nth corrected command coordinate is input into the first model as the command coordinate to obtain the (N+1)th actual coordinate. If the difference between the (N+1)th actual coordinate and the initial command coordinate is below a preset value, the correction value is the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size, which is the final correction value of the initial command coordinate. The initial command coordinate is changed until all the initial command coordinates are obtained, along with their corresponding final correction values. All the final correction values ​​form a final correction table.

[0074] In this invention, the coupling relationship between the x-coordinate and the y-coordinate is considered, providing a first model that provides a relatively accurate description of the relationship between the command coordinate and the actual coordinate. Then, through iterative processing of the initial coordinates, the correction value between the command coordinate and the actual coordinate is obtained, and the final correction table is obtained. The final correction table is applied during galvanometer calibration, achieving fewer or even one marking operation, thus improving the iteration efficiency.

[0075] Please refer to Figure 3 This invention also provides a galvanometer coordinate correction table generation system 100 for implementing the above-described galvanometer coordinate correction table generation method, including:

[0076] The first model generation unit 101 is used to generate the first model;

[0077] The correction iteration unit 102 is used to perform N iterations on any initial command coordinate on the entire galvanometer processing area and a correction value to obtain the Nth corrected command. The Nth corrected command is then input as the command coordinate into the first model generation unit to obtain the (N+1)th actual coordinate. Here, N is a positive integer and N≥1. The correction value is the product of the difference between the Nth initial command coordinate and the Nth actual coordinate and a preset step size, and the initial correction value is 0.

[0078] The judgment unit 103 is used to judge the relationship between the (N+1)th actual coordinate and the initial command coordinate; if the difference between the (N+1)th actual coordinate and the initial command coordinate is below a preset value, a first command is sent to the correction iteration unit to end the iteration, and the (N+1)th actual coordinate is used as the final actual coordinate corresponding to the initial command coordinate, and the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size is used as the final correction value corresponding to the initial command coordinate; if the difference between the (N+1)th actual coordinate and the initial command coordinate is greater than the preset value, a second command is sent to the correction iteration unit to increase the value of N by 1 and continue to perform the (N+1)th iteration;

[0079] Furthermore, the judgment unit is also used to determine whether all initial command coordinates have obtained their corresponding final actual coordinates. If so, a third command is sent to the correction iteration unit to end the iteration; if not, a fourth command is sent to the correction iteration unit to iterate for the next initial command coordinate; until all the final actual coordinates corresponding to the initial command coordinates and their corresponding final correction values ​​are obtained.

[0080] Please refer to Figure 4 The correction iteration unit 102 includes:

[0081] Subtractor 1021 is used to calculate the difference between the initial command coordinates and the Nth actual coordinates;

[0082] Multiplier 1022 is used to calculate the product between the difference and the preset step size;

[0083] The integrator 1023 is used to accumulate the product of the difference between the Nth initial command coordinates and the Nth actual coordinates and the preset step size to obtain the correction value.

[0084] Please refer to Figure 5 This invention also provides an electronic device 30, comprising:

[0085] Processor 31; and

[0086] Memory 32 is used to store the executable instructions of the processor;

[0087] The processor 31 is configured to execute the methods described above by executing the executable instructions.

[0088] The processor 31 can communicate with the memory 32 via the bus 33.

[0089] This invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the methods described above.

[0090] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating a galvanometer coordinate correction table, characterized in that, include: S1: Generate the first model; The first model characterizes the spatial mapping function of command coordinates and actual coordinates on the entire galvanometer processing area; S1 specifically includes: S11: Draw a uniform and regular square grid across the entire galvanometer processing area; S12: Input command coordinates, determine whether the command coordinates are coordinates within the grid. If yes, proceed to step S13; otherwise, proceed to step S14. S13: Calculate the actual coordinates corresponding to the command coordinates using data optimization methods; S14: After expanding the mesh, the actual coordinates corresponding to the command coordinates are calculated through data optimization. S2: For any initial command coordinate on the entire galvanometer processing area, iterate it N times with a correction value to obtain the Nth corrected command coordinate. Input the Nth corrected command coordinate as the command coordinate into the first model to obtain the (N+1)th actual coordinate; where N is a positive integer and N≥1; the correction value is the product of the difference between the Nth initial command coordinate and the Nth actual coordinate and a preset step size, and the initial correction value is 0; where the initial command coordinate is the coordinate on the grid point in the command coordinate system. S3: Determine the relationship between the (N+1)th actual coordinates and the initial command coordinates; If the difference between the (N+1)th actual coordinate and the initial command coordinate reaches a preset value or less, the iteration ends, and the (N+1)th actual coordinate is taken as the final actual coordinate corresponding to the initial command coordinate; the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size is taken as the final correction value corresponding to the initial command coordinate; and proceed to S4. If the difference between the actual coordinates in the (N+1)th iteration and the initial command coordinates is greater than a preset value, then the value of N is increased by 1 and the process returns to S2 to continue the (N+1)th iteration. S4: Change the initial command coordinates and return to S2 until the final actual coordinates and corresponding final correction values ​​for all initial command coordinates are obtained; all final correction values ​​form the final correction table.

2. The method for generating a galvanometer coordinate correction table according to claim 1, characterized in that, Before S3, the following also applies: Determine whether the time for the N iterations has reached a preset time; If the target is reached, the iteration ends, and the N+1th actual coordinate is taken as the final actual coordinate. If not achieved, proceed to S3.

3. The method for generating a galvanometer coordinate correction table according to claim 1, characterized in that, The data optimization methods include interpolation and surface fitting.

4. The method for generating a galvanometer coordinate correction table according to claim 3, characterized in that, The interpolation methods include bilinear interpolation and bicubic interpolation.

5. The method for generating a galvanometer coordinate correction table according to claim 4, characterized in that, If the interpolation method is selected as bicubic interpolation, then in step S12, it is necessary to determine whether the command coordinate is inside the second layer of the grid from the outside. If so, the actual coordinate corresponding to the command coordinate is calculated by the bicubic interpolation; if not, the grid is expanded and then the actual coordinate corresponding to the command coordinate is calculated by the bicubic interpolation.

6. A galvanometer coordinate correction table generation system, used to implement the galvanometer coordinate correction table generation method according to any one of claims 1-5, characterized in that, include: The first model generation unit is used to generate the first model; The first model generation unit is specifically used to: draw a uniform and regular square grid on the entire galvanometer processing area; input command coordinates, determine whether the command coordinates are coordinates within the grid, if so, calculate the actual coordinates corresponding to the command coordinates through data optimization; if not, expand the grid and then calculate the actual coordinates corresponding to the command coordinates through data optimization. The calibration iteration unit is used to perform N iterations on any initial command coordinate on the entire galvanometer processing area and a calibration value to obtain the Nth calibration command. The Nth calibration command is then input as the command coordinate into the first model generation unit to obtain the (N+1)th actual coordinate. Here, N is a positive integer and N≥1. The calibration value is the product of the difference between the Nth initial command coordinate and the Nth actual coordinate and a preset step size, and the initial calibration value is 0. The judgment unit is used to judge the relationship between the (N+1)th actual coordinate and the initial command coordinate; if the difference between the (N+1)th actual coordinate and the initial command coordinate is below a preset value, a first command is sent to the correction iteration unit to end the iteration, and the (N+1)th actual coordinate is used as the final actual coordinate corresponding to the initial command coordinate, and the product of the difference between the (N-1)th actual coordinate and the initial command coordinate multiplied by a preset step size is used as the final correction value corresponding to the initial command coordinate; if the difference between the (N+1)th actual coordinate and the initial command coordinate is greater than the preset value, a second command is sent to the correction iteration unit to increase the value of N by 1 and continue the (N+1)th iteration; Furthermore, the judgment unit is also used to determine whether all initial command coordinates have obtained their corresponding final actual coordinates. If so, a third command is sent to the correction iteration unit to end the iteration; if not, a fourth command is sent to the correction iteration unit to iterate for the next initial command coordinate; until all the final actual coordinates corresponding to the initial command coordinates and their corresponding final correction values ​​are obtained.

7. The galvanometer coordinate correction table generation system according to claim 6, characterized in that, The correction iteration unit includes: The subtractor is used to calculate the difference between the initial command coordinates and the Nth actual coordinates; A multiplier is used to calculate the product between the difference and the preset step size; An integrator is used to accumulate the product of the difference between the Nth initial command coordinates and the Nth actual coordinates and a preset step size to obtain the correction value.

8. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1-5.

9. A storage medium having a program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps of the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Galvanometer laser splicing calibration device and splicing calibration method

    CN111981979A

  • Galvanometer system correction table construction method, galvanometer system correction table construction system and galvanometer system correction method

    CN112435303A