Determination method and device for Abbe error Abbe arm of machine tool and electronic equipment
By establishing a relationship model between Abbe arm and positional errors using a three-dimensional coordinate system and polynomial fitting, the method addresses the challenge of inaccurate Abbe error measurement in machine tools, enhancing precision and enabling precise adjustment and control of machine tool errors.
Patent Information
- Application Number
- CN202410137415.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2025-07-15
AI Technical Summary
In the prior art, the ABE arm of the machine tool feed shaft is inconvenient to measure due to the enclosure wrapping, and the ABE error cannot be accurately calculated, which affects the improvement of the machine tool accuracy.
By obtaining the positioning error and pitch angle of each point when the feed axis of the machine tool is located at different spatial heights, an association relationship model is established based on the ABE principle, and a numerical model between the ABE arm and the positioning error is determined using the MATLAB fitting tool to measure and compensate the ABE arm at any point of the machine tool.
The accuracy of Abe arm measurement is improved, and the accuracy of Abe arm is realized is accurately measured and adjusted to the machine tool feed axis Abe arm, reducing positioning errors and pitch angle errors, and improving the accuracy of the machine tool.
Smart Images

Figure CN120307094A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of machine tool precision measurement, and particularly to a method, device and electronic device for determining an Abbe arm of Abbe error of a machine tool. Background Art
[0002] As an important equipment for production and manufacturing, the precision of a numerically controlled machine tool directly affects the quality of machined parts. There are many factors causing machine tool errors, and geometric error is the most primitive and important influencing factor, which directly determines the upper limit that the machine tool precision can reach. How to fundamentally reduce or eliminate the influencing factors of the original machine tool errors plays an important role in improving the machine tool precision. There are errors in the machining and installation of the machine tool guide rail, and the feed axis structure of the machine tool does not conform to the Abbe principle. When the workbench slider of the machine tool travels on different positions of the guide rail, the workbench will have different degrees of angular swing, resulting in the inconsistency between the position reading of the feed axis and the actual position of a certain point on the workbench. Among them, the Abbe principle is that when using a displacement measuring instrument, the axis of the displacement sensor needs to be on the functional axis of its functional point or its extension line. However, for gantry and cantilever length measuring instruments, such as vernier calipers that clamp the measured part through two cantilevers, its scale line is not on the same straight line as the measurement axis, and due to installation and manufacturing errors or wear caused by long-term use, the cantilever is no longer perpendicular to the axis where the scale line is located during measurement, resulting in measurement errors. This error is called Abbe error, and the distance between the axis where the scale line is located and the axis where the measurement point is located is called Abbe offset or Abbe arm. Abbe error is a common problem existing in many displacement sensors.
[0003] Due to the special structure of the machine tool feed axis, the grating scale located at the guide rail position and the actual machining position of the workbench surface cannot be on the same axis, resulting in great inconvenience in measuring the Abbe arms at various positions of the machine tool. Therefore, the Abbe arm is an important factor affecting the machine tool precision. Since the internal structure of the machine tool is relatively complex and the feed axis guide rail is wrapped by a protective cover, it is impossible to directly measure the distance between the functional point of the workbench and the guide rail under normal circumstances, resulting in the inability to accurately calculate the error component caused by the Abbe arm. So far, the research on the Abbe error of the machine tool only stays at measuring the pitch angle error and positioning error of the machine tool feed axis by using a laser interferometer, then measuring the approximate length of the Abbe arm of the machine tool feed axis with a tape measure, and then calculating the positioning error component of the machine tool caused by the Abbe principle through trigonometric function relations, and calculating another error component affecting the positioning accuracy by combining the positioning error data measured by the laser interferometer; or directly performing error compensation through the numerical control system without calculating the Abbe error and other error component values. The measurement of the Abbe arm is inaccurate, and this compensation method cannot eliminate the original defects of the machine tool, nor can it more specifically eliminate or reduce the machine tool errors when improving the machine tool precision. Summary of the Invention
[0005] In view of this, it is necessary to provide a method, device and electronic device for determining the Abbe arm of a machine tool to solve the problem that the measurement of the Abbe arm of the machine tool feed axis is very inconvenient due to the enclosure of the housing in the prior art.
[0006] To solve the above problems, the present invention provides a method for determining the Abbe arm of a machine tool, including:
[0007] Obtaining the positioning error and pitch angle of each point when the machine tool feed axis is at different spatial heights;
[0008] Based on the Abbe principle, according to the composition of the positioning error, determining the correlation relationship model between the Abbe arm and the positioning error;
[0009] Based on the correlation relationship model, according to the positioning error and the pitch angle, determining the Abbe arm corresponding to each point of the machine tool;
[0010] Fitting the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool, and determining the Abbe arm of any point of the machine tool according to the numerical model.
[0011] In a possible implementation manner, the obtaining the positioning error and pitch angle of each point when the machine tool feed axis is at different spatial heights includes:
[0012] Constructing a three-dimensional coordinate system with the axis where the machine tool feed axis is located as the horizontal axis;
[0013] Based on the three-dimensional coordinate system, setting and marking the first height position and the second height position of the machine tool feed axis;
[0014] Obtaining the positioning error and pitch angle of each point of the machine tool feed axis when it is at the first height position, and the positioning error and pitch angle of each corresponding point of the machine tool feed axis when it is at the second height position.
[0015] In a possible implementation manner, the based on the Abbe principle, according to the composition of the positioning error, determining the correlation relationship model between the Abbe arm and the positioning error includes:
[0016] Based on the three-dimensional coordinate system, determining the first initial correlation relationship model when the machine tool is at the first height position;
[0017] According to the distance between the first height position and the second height position, determining the second initial correlation relationship model when the machine tool is at the second height position;
[0018] According to the feed error between the first initial correlation relationship model and the second initial correlation relationship model, determining the correlation relationship model.
[0019] In a possible implementation, the first initial association relationship model can be expressed by the following formula:
[0020] δ x1 (Xj) = δ x (X) + tanε y1 (Xj) × L(Xj)
[0021] Where, δ x1 (Xj) is the positioning error, δ x (X) is the feed error, the subscript x indicates that the error direction is x, X in the brackets of the formula represents that the machine tool movement direction is the X direction, ε y1 (Xj) is the pitch angle error, y represents the angular rotation error generated around the y-axis in the horizontal plane, 1 represents the first height position, j represents the point position of the machine tool feed axis, and L(Xj) represents the Abbe arm.
[0022] In a possible implementation, the second initial association relationship model can be expressed by the following formula:
[0023] δ x2 (X) = δ x (X) + tanε y2 (Xj) × (L(z) + L(Xj))
[0024] Where, δ x2 (Xj) is the positioning error, δ x (X) is the feed error, the subscript x indicates that the error direction is x, X in the brackets of the formula represents that the machine tool movement direction is the X direction, ε y2 (Xj) is the pitch angle error, y represents the angular rotation error generated around the y-axis in the horizontal plane, 2 represents the second height position, j represents the point position of the machine tool feed axis, L(Xj) represents the Abbe arm, and L(z) is the height difference between the first height position and the second height position.
[0025] In a possible implementation, a preset MATLAB curve fitting tool is used to perform polynomial fitting on the Abbe arms corresponding to each point position to determine the numerical model.
[0026] In a possible implementation, the numerical model can be expressed by the following formula:
[0027] f(x) = p1 * x 7 + p2 * x 6 + p3 * x 5 + p4 * x 4 + p5 * x 3 + p6 * x 2 + p7 * x + p8
[0028] Wherein, p1, p2, p3, p4, p5, p6, p7, and p8 are coefficients of the fitting digital model, x is the coordinate position of the machine tool feed axis, and f(x) is the Abbe arm.
[0029] In a second aspect, the present invention further provides a device for determining the Abbe arm of the Abbe error of a machine tool, including:
[0030] An acquisition module, configured to acquire the positioning error and pitch angle of each point when the machine tool feed axis is at different spatial heights;
[0031] An association relationship model determination module, configured to determine an association relationship model between the Abbe arm and the positioning error based on the Abbe principle and according to the composition of the positioning error;
[0032] A first determination module, configured to determine the Abbe arm corresponding to each point of the machine tool based on the association relationship model, the positioning error, and the pitch angle;
[0033] An Abbe arm determination module, configured to fit the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool, and determine the Abbe arm of any point of the machine tool according to the numerical model.
[0034] In a third aspect, the present invention further provides an electronic device, including: a processor and a memory;
[0035] The memory stores a computer-readable program executable by the processor;
[0036] When the processor executes the computer-readable program, the steps in the method for determining the Abbe arm of the Abbe error of the machine tool as described above are implemented.
[0037] In a fourth aspect, the present invention further provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the method for determining the Abbe arm of the Abbe error of the machine tool as described above.
[0038] The beneficial effects of the present invention are as follows: First, by obtaining the positioning errors and pitch angles of each point when the machine tool feed axis is at different spatial heights, elimination terms can be provided for subsequent determination of the model of the Abbe arm, thereby improving the measurement accuracy of the Abbe arm. Subsequently, based on the Abbe principle, according to the composition of the positioning error, the correlation relationship model between the Abbe arm and the positioning error is determined; and based on the correlation relationship model, according to the positioning error and the pitch angle, the Abbe arm corresponding to each point of the machine tool is determined, so as to realize mechanical compensation using the numerical model between the Abbe arm and any point of the machine tool, reduce the positioning error and pitch angle error. Finally, the Abbe arms corresponding to each point at the same height are fitted to obtain the numerical model between the Abbe arm and any point of the machine tool, and according to the numerical model, the Abbe arm of any point of the machine tool is determined. The present invention determines the precise Abbe arm of each point of the machine tool through a numerical model, achieving the purpose of measuring the Abbe arm of the machine tool feed axis and being able to accurately adjust and control the Abbe arm of the machine tool. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 Schematic diagram of the Abbe error Abbe arm of the machine tool provided by the present invention in the method for determining the Abbe error Abbe arm of the machine tool;
[0040] Figure 2 Flowchart of the method of an embodiment of the method for determining the Abbe error Abbe arm of the machine tool provided by the present invention;
[0041] Figure 3 Flowchart of the method of an embodiment of step S201 in the method for determining the Abbe error Abbe arm of the machine tool provided by the present invention;
[0042] Figure 4 Schematic diagram of the spatial position of the measurement points in the method for determining the Abbe error Abbe arm of the machine tool provided by the present invention;
[0043] Figure 5 Schematic diagram of the installation of the laser interferometer in the method for determining the Abbe error Abbe arm of the machine tool provided by the present invention;
[0044] Figure 6 Flowchart of the method of an embodiment of step S201 in the method for determining the Abbe error Abbe arm of the machine tool provided by the present invention;
[0045] Figure 7 Schematic diagram of the fitting effect in the method for determining the Abbe error Abbe arm of the machine tool provided by the present invention;
[0046] Figure 8 Schematic diagram of an embodiment of the ship optimal anchor position selection device provided by the present invention;
[0047] Figure 9 Schematic diagram of the operating environment of an embodiment of the electronic device provided by the present invention;
[0048] Explanation of the reference numerals in the drawings:
[0049] 1 - Laser emitter bracket, 2 - API laser head, 3 - Laser target, 4 - Support rod, 5 - Magnetic seat, 6 - Machine tool workbench, 7 - X-axis guide rail, 8 - Y-axis guide rail. Detailed implementation manners
[0050] The following will specifically describe the preferred embodiments of the present invention in conjunction with the drawings. Among them, the drawings form a part of this application and are used together with the embodiments of the present invention to explain the principles of the present invention, rather than to limit the scope of the present invention.
[0051] The method for determining the Abbe arm of the Abbe error of a machine tool provided by the present invention belongs to the technical field of machine tool error measurement. Among them, the positioning error of a numerically controlled machine tool can generally be regarded as the combined effect of the feed error caused by the deformation of the servo system and the lead screw and the Abbe error caused by the Abbe principle. As Figure 1 shown, when the machine tool moves from point A to point B, due to the existence of errors, it actually moves to B'. The distance between B and B' is the positioning error of the machine tool, which includes the feed error δ1 and the error δ2 caused by the Abbe principle.
[0052] A specific embodiment of the present invention discloses a method for determining the Abbe arm of the Abbe error of a machine tool. Please refer to Figure 2 , including:
[0053] S201. Obtain the positioning error and pitch angle of each point when the feed axis of the machine tool is at different spatial heights;
[0054] S202. Based on the Abbe principle, determine the correlation relationship model between the Abbe arm and the positioning error according to the composition of the positioning error;
[0055] S203. Based on the correlation relationship model, determine the Abbe arm corresponding to each point of the machine tool according to the positioning error and the pitch angle;
[0056] S204. Fit the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool, and determine the Abbe arm of any point of the machine tool according to the numerical model.
[0057] In this embodiment, first, by obtaining the positioning errors and pitch angles of each point when the machine tool feed axis is at different spatial heights, elimination terms can be provided for subsequent determination of the Abbe arm model, thereby improving the measurement accuracy of the Abbe arm. Subsequently, based on the Abbe principle, according to the composition of the positioning error, the correlation relationship model between the Abbe arm and the positioning error is determined; and based on the correlation relationship model, according to the positioning error and the pitch angle, the Abbe arm corresponding to each point of the machine tool is determined, so as to realize mechanical compensation using the numerical model between the Abbe arm and any point of the machine tool, reduce the positioning error and pitch angle error. Finally, the Abbe arms corresponding to each point at the same height are fitted to obtain the numerical model between the Abbe arm and any point of the machine tool, and according to the numerical model, the Abbe arm of any point of the machine tool is determined. The present invention determines the precise Abbe arm of each point of the machine tool through the numerical model, achieving the purpose of measuring the Abbe arm of the machine tool feed axis and being able to accurately adjust and control the Abbe arm of the machine tool.
[0058] In some embodiments, for the obtaining of the positioning errors and pitch angles of each point when the machine tool feed axis is at different spatial heights, please refer to Figure 3 , including:
[0059] S301. Construct a three-dimensional coordinate system with the axis where the machine tool feed axis is located as the horizontal axis;
[0060] S302. Based on the three-dimensional coordinate system, set and mark the first height position and the second height position of the machine tool feed axis;
[0061] S303. Obtain the positioning errors and pitch angles of each point of the machine tool feed axis when it is at the first height position, and the positioning errors and pitch angles of the corresponding points of the machine tool feed axis when it is at the second height position.
[0062] It should be noted that the machine tool feed axis being at different spatial heights means the working height of the machine tool feed axis and at least one spatial position perpendicular to the working height set to eliminate errors. The difference between the machine tool feed axes at different heights is not limited. In this embodiment, it can be understood that the first height position is the machining point position, and the second height position is determined according to the z-axis working space, and is at a position one-third to two-thirds of the z-axis working interval height away from the first height position, generally choosing 25 - 50 cm. If it is too small, the error will be relatively large. Specifically, there is no detailed requirement for the height difference between the first height position and the second height position. Only the data of two different heights are used for elimination, and the length of the Abbe arm finally obtained is the Abbe arm from the height one position to the guide rail. The number of points depends on the travel of the machine tool moving axis, and the distance between two adjacent points at the same height can be adjusted by itself.
[0063] In step S303, a laser interferometer is used to obtain the positioning errors and pitch angles of the first height position and the second height position. In a specific embodiment, an API six-axis laser interferometer is adopted. The X-axis is selected as the test axis, and the point intervals of the machine tool feed axis are set to 30 - 50 mm, with a total of n points, as shown in Figure 4 shown. When installing the laser interferometer, it is necessary to set up the laser interferometer and align the light. The setup method is as shown in Figure 5 shown. First, set up the tripod 1 in the feed direction of the X-axis of the machine tool, then set up the laser interferometer 2 on the tripod. Use a spirit level to initially level the laser interferometer, and set the laser irradiation direction of the laser head to be parallel to the X-axis of the machine tool. Fix the laser target 3 to the magnetic base 5 through the connecting rod 4, adsorb the magnetic base on the machine tool table 6, and face the laser target receiving window towards the setup direction of the laser interferometer. Adjust the tripod 1 so that the laser interferometer and the laser target are at the same height, and adjust the machine tool so that the target 3 can receive the light beam emitted from the laser interferometer 2 to complete the first-step rough adjustment of the laser.
[0064] Subsequently, turn on the switch of the laser interferometer 1, and perform precise light alignment according to the readings displayed by the laser interferometer software. First, move the target 3 to the proximal end of the laser head 2, adjust the machine tool and the tripod 1, and adjust the readings within the allowable range. Move the X-axis to move the target 3 to the farthest end, and adjust the fine adjustment knob of the laser interferometer 2 to make the readings within the allowable range. Move the target 3 to the proximal end of the laser interferometer 2 again to adjust the machine tool, and then move it to the farthest end to adjust the fine adjustment knob of the laser interferometer 2. Repeat these two steps multiple times until the readings are always within the allowable range. Define the height of the laser target 3 at this time as the first height position. After completing the light adjustment, write the G code according to the machine tool travel and the points to be measured. Let the machine tool stay at each point for 5 seconds. And turn on the linear XD measurement module to set parameters, select the 6D option, select one-way measurement, select automatic measurement, set the start and end coordinates, increment 50, sampling dwell 5 seconds, wait for the machine tool to stabilize and then record data, set the trigger window to 0.5, change the system parameters - sensor - measurement axis select X, confirm, save the measurement settings, select the desktop and name it, click reset to zero the positioning data of the laser interferometer, and finally start sampling and start the machine tool to measure and record the positioning errors and pitch angle error values at 13 points on the X-axis, as shown in Table 1 below.
[0065] Table 1: Geometric error data of the first height position
[0066] X coordinate <![CDATA[Positioning error δ x1 (xj) / mm]]> <![CDATA[Pitch angle error ε y1 (xi)°]]> 0 -0.00457 -0.00634 50 -0.00815 -0.00686 100 -0.00562 -0.00949 150 0.00653 0.00502 200 -0.007 -0.01198 250 -0.00118 -0.00431 300 -0.00254 -0.01024 350 -0.00205 -0.00626 400 -0.00843 -0.01736 450 -0.01136 -0.01291 500 -0.00893 -0.01209 550 -0.01037 -0.02034 600 -0.0144 -0.01159
[0067] Among them, the positioning error is represented by the symbol δ vi (uj), where the subscript letter v represents the error direction, and i, j represent the numbers 1, 2, 3...., i represents the point at height i; the letter u in the parentheses represents the movement direction, and j represents the jth point. δ x1(x1) is the positioning error of the first point along the X feed axis direction at the measured height 1 position of the machine tool.
[0068] The angular error is represented by the symbol ε vi (uj), where the subscript v represents the angular rotation error around the v-axis in the horizontal plane, i is the number 1, 2, 3...., i represents the i-th height position; the letter u in the parentheses represents the movement direction, and j represents the j-th position. ε y1 (x1) represents that when the machine tool table is at height 1 position, the first position has an angular deviation around the Y-axis axis direction, that is, the pitch angle error of the first position.
[0069] Subsequently, obtain the geometric error data δ x (x), ε y (x).
[0070] First step: Raise the laser target 3 and the laser emitter 2 by L1, and define the height of the laser target 3 at this time as height 2. Since new angular errors are introduced during the process of raising the laser target 3, after the light adjustment is completed, move the target 3 to the first position, and adjust the angular error of the laser interferometer to be the same as the angular data of the corresponding position at height 1 according to the real-time display data of the laser interferometer software to eliminate the new angular errors introduced by raising the laser target 3. Second step: Repeat the above operations to obtain the error data of each point at the second height position; the measurement results are shown in Table 2.
[0071] Table 2: Geometric error data at the second height position
[0072] X coordinate <![CDATA[Positioning error δ x2 (xj) / mm]]> <![CDATA[Pitch angle error ε y2 (xj)°]]> 0 -0.01145 -0.00801 50 -0.0155 -0.00862 100 -0.01526 -0.01178 150 0.02602 0.01042 200 -0.0131 -0.01305 250 -0.00491 -0.00514 300 -0.01767 -0.01412 350 -0.00935 -0.00803 400 -0.0172 -0.01889 450 -0.01464 -0.01308 500 -0.00488 -0.01014 550 -0.01756 -0.0212 600 -0.00869 -0.00917
[0073] In some embodiments, based on the Abbe principle, according to the composition of the positioning error, determine the correlation relationship model between the Abbe arm and the positioning error, please refer to Figure 6 , including:
[0074] S601. Based on the three-dimensional coordinate system, determine the first initial correlation relationship model when the machine tool is at the first height position;
[0075] S602. According to the distance between the first height position and the second height position, determine the second initial correlation relationship model when the machine tool is at the second height position;
[0076] S603. According to the feed error between the first initial correlation relationship model and the second initial correlation relationship model, determine the correlation relationship model.
[0077] In this embodiment, according to the Abbe principle, the positioning error of the CNC machine tool is composed of the feed error caused by the servo system and the lead screw and the Abbe error caused by the Abbe principle. Taking the movement of the machine tool along the X direction as an example, there is a pitch error along the feed axis direction and an Abbe error caused by the Abbe arm in the Z direction. The first initial correlation model can be expressed by the following formula:
[0078] δ x1 (Xj) = δ x (X)+tanε y1 (Xj)×L(Xj)
[0079] Among them, δ x1 (Xj) is the positioning error, δ x (X) is the feed error, the subscript x indicates that the error direction is x, the X in the brackets in the formula indicates that the machine tool movement direction is the X direction, ε y1 (Xj) is the pitch angle error, y represents the angular rotation error around the y-axis in the horizontal plane, 1 represents the first height position, j represents the point position of the machine tool feed axis, and L(Xj) represents the Abbe arm at the first height position.
[0080] Furthermore, when processing parts of different heights, since the position of the functional point relative to the guide rail changes, the second initial association relationship model can be expressed by the following formula:
[0081] δ x2 (x) = δ x (x)+tanε y2 (xj)×(L(z)+L(xj))
[0082] Among them, δ x2 (Xj) is the positioning error, δ x (X) is the feed error, the subscript x indicates that the error direction is x, the X in the brackets in the formula indicates that the machine tool movement direction is the X direction, ε y2 (Xj) is the pitch angle error, y represents the angular rotation error around the y-axis in the horizontal plane, 2 represents the second height position, j represents the point position of the machine tool feed axis, L(Xj) represents the Abbe arm, L(z) is the height raised when the laser target is raised from the first height position to the second height position, which is a known quantity; L(z)+L(xj) is the length of the Abbe arm at the second height position.
[0083] In step S603, in order to obtain the final correlation model, the first initial correlation model and the second initial correlation model are combined to eliminate the feed error component δ x (x), where the only unknown quantity left is the size of the Abbe arm at height 1:
[0084] δ x2 (xj)-δx1 (xj) = [tanε y1 (xj) - tanε y1 (xj)] * L(xj) + tanε y2 (xj) * L(z)
[0085] Deformed to get:
[0086]
[0087] Thus, according to the final correlation relationship model, the two sets of measured positioning error, pitch angle data, and point coordinate data tables in Table 1 and Table 2 are imported into the Matlab workspace, and calculation formulas are written to calculate the specific values of the Abbe arm corresponding to the points as shown in Table 3.
[0088] Table 3: Abbe arm values
[0089] X coordinate Abbe arm L(xj) / mm 0 178.4879986 50 180.5022573 100 179.463449 150 179.1055105 200 180.2843394 250 183.1725981 300 181.863946 350 179.7538942 400 180.2640199 450 182.1773675 500 183.2053749 550 180.6606973
[0090] Subsequently, the Abbe arm data at each position of the machine tool feed axis obtained in Table 3 is combined with the feed axis coordinates, and the Matlab curve fitting tool is used to perform polynomial fitting on the calculated Abbe arm data, establish a calculation relationship of the machine tool Abbe arm related to the coordinate value of the machine tool feed axis, and compare the R-square values of multiple-order fittings.
[0091] Specifically, the numerical model can be expressed by the following formula:
[0092] f(x) = p1 * x 7 + p2 * x 6 + p3 * x 5 + p4 * x 4 + p5 * x 3 + p6 * x 2 + p7 * x + p8
[0093] Wherein, p1, p2, p3, p4, p5, p6, p7, and p8 are fitting digital model coefficients, x is the coordinate point of the machine tool feed axis, and f(x) is the Abbe arm.
[0094] It should be noted that in order to obtain more accurate Abbe arm calculation results, the fitting function is adjusted multiple times. In one embodiment, the best fitting effect is obtained when the order of the fitting function is 7. Please refer to Figure 7 .
[0095] Furthermore, p1, p2, p3, p4, p5, p6, p7, and p8 can be set according to actual needs and are not limited and described herein.
[0096] Therefore, in the present invention, the Abbe arm value originally measured and calculated by a laser device is simplified into a data quantity related to the coordinate position, and polynomial fitting is used to obtain the Abbe arm length of the full stroke of the X-axis at a fixed height. Furthermore, accurate calculation data is provided for calculating the Abbe error component. Compared with the direct measurement method of a ruler used in the existing Abbe arm measurement, this method has more accurate results, and the specific value of the Abbe arm at any point in the full stroke of the feed axis can be obtained. It provides theoretical support for the calculation of the Abbe error component of the machine tool feed axis and error compensation.
[0097] In a second aspect, based on the above method for determining the Abbe arm of the machine tool Abbe error, the present invention also provides a device for determining the Abbe arm of the machine tool Abbe error. Please refer to Figure 8 , which includes an acquisition module 810, a correlation relationship model determination module 820, a first determination module 830, and an Abbe arm determination module 840.
[0098] The acquisition module 810 is configured to acquire the positioning error and pitch angle of each point when the machine tool feed axis is at different spatial heights;
[0099] The correlation relationship model determination module 820 is configured to determine the correlation relationship model between the Abbe arm and the positioning error based on the Abbe principle according to the composition of the positioning error;
[0100] The first determination module 830 is configured to determine the Abbe arm corresponding to each point of the machine tool based on the correlation relationship model according to the positioning error and the pitch angle;
[0101] The Abbe arm determination module 840 is configured to fit the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool, and determine the Abbe arm of any point of the machine tool according to the numerical model.
[0102] As Figure 9 shown, based on the above method for determining the Abbe arm of the machine tool Abbe error, the present invention also correspondingly provides an electronic device. The electronic device may be a computing electronic device such as a mobile terminal, a desktop computer, a notebook, a handheld computer, and a server. The electronic device includes a processor 910, a memory 920, and a display 930. Figure 9 Only some components of the electronic device are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0103] The memory 920 may be an internal storage unit of the electronic device in some embodiments, such as the hard disk or memory of the electronic device. The memory 920 may also be an external storage electronic device of the electronic device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device. Further, the memory 920 may also include both the internal storage unit of the electronic device and the external storage electronic device. The memory 920 is used to store application software installed on the electronic device and various types of data, such as program codes installed on the electronic device. The memory 920 may also be used to temporarily store data that has been output or will be output. In one embodiment, a determination program 940 for the Abbe error Abbe arm of the machine tool is stored on the memory 920, and the determination program 940 for the Abbe error Abbe arm of the machine tool can be executed by the processor 910, so as to implement the determination method for the Abbe error Abbe arm of the machine tool in various embodiments of the present application.
[0104] The processor 910 may be a central processing unit (CPU), a microprocessor or other data processing chips in some embodiments, and is used to run the program codes stored in the memory 920 or process data, such as executing the determination method for the Abbe error Abbe arm of the machine tool.
[0105] The display 930 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode) toucher, etc. in some embodiments. The display 930 is used to display information of the electronic device for determining the Abbe error Abbe arm of the machine tool and to display a visual user interface. The components 910-930 of the electronic device communicate with each other through the system bus.
[0106] Those skilled in the art can understand that all or part of the processes for implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.
[0107] As mentioned above, the above are only the preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.
Claims
1. A method for determining the Abbe arm of the Abbe error of a machine tool, characterized in that Including: Obtaining the positioning errors and pitch angles of each point when the machine tool feed axis is at different spatial heights; Based on the Abbe principle, according to the composition of the positioning errors, determining the correlation relationship model between the Abbe arm and the positioning errors; Based on the correlation relationship model, according to the positioning errors and the pitch angles, determining the Abbe arms corresponding to each point of the machine tool; Fitting the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool, and according to the numerical model, determining the Abbe arm of any point of the machine tool.
2. The method for determining the Abbe arm of the Abbe error of a machine tool according to claim 1, characterized in that, The obtaining the positioning errors and pitch angles of each point when the machine tool feed axis is at different spatial heights includes: Constructing a three-dimensional coordinate system with the axis where the machine tool feed axis is located as the horizontal axis; Based on the three-dimensional coordinate system, setting and marking the first height position and the second height position of the machine tool feed axis; Obtaining the positioning errors and pitch angles of each point of the machine tool feed axis when it is at the first height position, and the positioning errors and pitch angles of the corresponding points of the machine tool feed axis when it is at the second height position.
3. The method for determining the Abbe arm of the Abbe error of a machine tool according to claim 2, characterized in that, The based on the Abbe principle, according to the composition of the positioning errors, determining the correlation relationship model between the Abbe arm and the positioning errors includes: Based on the three-dimensional coordinate system, determining the first initial correlation relationship model when the machine tool is at the first height position; According to the distance between the first height position and the second height position, determining the second initial correlation relationship model when the machine tool is at the second height position; According to the feed error between the first initial correlation relationship model and the second initial correlation relationship model, determining the correlation relationship model.
4. The method for determining the Abbe arm of the Abbe error of a machine tool according to claim 3, characterized in that, The first initial correlation relationship model can be expressed by the following formula: δ x1 (Xj) = δ x (X) + tanε y1 (Xj) × L(Xj) where δ x1 (Xj) is the positioning error, and δ x (X) is the feed error. The subscript x indicates that the error direction is the x direction. In the formula, X within the parentheses represents that the machine tool movement direction is the X direction. ε y1 (Xj) is the pitch angle error. y represents the angular rotation error generated around the y-axis in the horizontal plane. 1 represents the first height position. j represents the point position of the machine tool feed axis. L(Xj) represents the Abbe arm.
5. The method for determining the Abbe arm of the Abbe error of a machine tool according to claim 3, characterized in that, The second initial correlation relationship model can be expressed by the following formula: δ x2 (X) = δ x (X) + tanε y2 (Xj) × (L(z) + L(Xj)) Among them, δ x2 (Xj) is the positioning error, δ x (X) is the feed error, the subscript x indicates that the error direction is x, and X in the parentheses in the formula indicates that the machine tool movement direction is the X direction. ε y2 (Xj) is the pitch angle error, y represents the angular rotation error around the y-axis generated in the horizontal plane, 2 represents the second height position, j represents the point position of the machine tool feed axis, L(Xj) represents the Abbe arm, and L(z) is the height difference between the first height position and the second height position.
6. The method for determining the Abbe arm of the Abbe error of a machine tool according to claim 1, wherein The fitting the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool includes: Using a preset MATLAB curve fitting tool to perform polynomial fitting on the Abbe arms corresponding to each point to determine the numerical model.
7. The method for determining the Abbe arm of the Abbe error of a machine tool according to claim 6, characterized in that, The numerical model can be expressed by the following formula: f(x) = p1 * x 7 + p2 * x 6 + p3 * x 5 + p4 * x 4 + p5 * x 3 + p6 * x 2 + p7 * x + p8 Wherein, p1, p2, p3, p4, p5, p6, p7 and p8 are fitting digital model coefficients, x is the coordinate point of the machine tool feed axis, and f(x) is the Abbe arm.
8. A determining device for the Abbe arm of the Abbe error of a machine tool, characterized in that, Including: An obtaining module, configured to obtain the positioning errors and pitch angles of each point when the machine tool feed axis is at different spatial heights; A correlation relationship model determining module, configured to determine the correlation relationship model between the Abbe arm and the positioning errors based on the Abbe principle according to the composition of the positioning errors; A first determining module, configured to determine the Abbe arms corresponding to each point of the machine tool based on the correlation relationship model according to the positioning errors and the pitch angles; An Abbe arm determining module, configured to fit the Abbe arms corresponding to each point at the same height to obtain a numerical model between the Abbe arm and any point of the machine tool, and according to the numerical model, determine the Abbe arm of any point of the machine tool.
9. An electronic device, characterized in that, Including: A processor and a memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, it implements the steps in the method for determining the Abbe arm of the machine tool Abbe error as described in claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the method for determining the Abbe arm of the machine tool Abbe error as described in claims 1-7.