TECHNICAL FIELD
The present invention relates to a field of numerical control machine tools, particularly to a machine tool rapid compensation system and a compensation method thereof based on a principle of laser interferometry.
BACKGROUND ART
Currently, existing machine tool measurement and compensation equipment need to be installed outside a machine tool, requiring additional power supply and auxiliary equipment setup. An operator needs to repeatedly adjust a light. Furthermore, an operator needs to set machine tool-related parameters, compensation-related parameters, generate additional machine tool programs, and transfer compensation parameters manually or using storage devices. Thus, measurement time is long and efficiency is low, requiring a high level of operational skill for personnel, machine tools, and measurement equipment, making rapid implementation unattainable. Precision measurement is prone to errors in operation, parameter reading and writing, and compensation value writing, and regular maintenance of the machine tool cannot be achieved.
SUMMARY OF INVENTION
The present invention provides a machine tool rapid compensation system and a compensation method thereof based on a principle of laser interferometry to overcome problems such as the need for additional auxiliary devices and power supply, cumbersome equipment operation, long measurement time, low efficiency, poor measurement precision, high operator requirements, and the inability to achieve regular maintenance of the machine tool.
Technical Problem
To achieve the above objectives, the technical solution of the present invention is:
- a machine tool rapid compensation system based on a principle of laser interferometry, the system including: a trigger acquisition module, a laser interferometry measurement module, a data analysis and compensation module, and a communication module;
- the trigger acquisition module is connected to a machine tool encoder, a numerical control system, and the laser interferometry measurement module; the trigger acquisition module receives a trigger acquisition instruction issued by the numerical control system, converts a machine tool encoder position value into a pulse value, and transmits the pulse value to the laser interferometry measurement module, and simultaneously, the trigger acquisition module retrieves parameter information of each axis and compensation point information of a machine tool from the numerical control system, and generates a machine tool operation code and a measurement preparation signal;
- the laser interferometry measurement module includes a laser head, an environmental sensor, a temperature sensor, an optical path turning device, a linear interferometer, and a linear reflector;
- the laser head, the linear interferometer, and the optical path turning device are placed at an end of a stroke of each axis of the numerical control machine tool, the laser head receives the measurement preparation signal and the pulse value to emit a laser, the laser passes through the linear interferometer and is redirected by the optical path turning device towards X, Y, and Z axes of the machine tool, respectively, and the linear interferometer, in cooperation with the linear reflector, obtains error data of the X, Y, and Z axes of the machine tool, the environmental sensor collects an air temperature value, a humidity value, and an atmospheric pressure value, and transmits the air temperature value, the humidity value, and the atmospheric pressure value to the laser head to obtain environmental data, the temperature sensor collects material temperature values of the X, Y, and Z axes of the machine tool and transmits the material temperature values to the laser head to obtain expansion compensation values;
- the data analysis and compensation module collects the error data, the environmental data, and the expansion compensation values for analysis to obtain precision parameters and compensation parameters, the precision parameters are used for a precision analysis of the numerical control system, and the compensation parameters are used for a data compensation of the machine tool; and
- the communication module connects the numerical control system and the data analysis and compensation module, the communication module reads preset compensation settings in the numerical control system and transmits the compensation parameters and the precision parameters generated by the data analysis and compensation module to the numerical control system.
In a specific embodiment, the parameter information of each axis of the machine tool includes stroke parameters of the X, Y, and Z axes of the machine tool, a soft limit position of the machine tool, and a machine tool ratio.
A compensation method utilizing the machine tool rapid compensation system based on the principle of laser interferometry, the method including:
- Step 1: the numerical control system reading a machine tool information and setting the trigger acquisition instruction, and the trigger acquisition module receiving the trigger acquisition instruction, and generating the machine tool operation code and the measurement preparation signal;
- Step 2: the laser interferometry measurement module receiving the measurement preparation signal for measurement, adjusting the linear interferometer and the optical path turning device for mechanical precision measurement of the axes to obtain the error data of the X, Y, and Z axes of the machine tool, and simultaneously obtaining the environmental data and the expansion compensation values;
- Step 3: the data analysis and compensation module collecting the error data, the environmental data, and the expansion compensation values for analysis to obtain first precision parameters and first compensation parameters;
- Step 4: the numerical control system receiving the first precision parameters and the first compensation parameters for precision analysis and data compensation.
In a specific embodiment, Step 1 specifically includes: Step 1.1: the numerical control system reading the machine tool information and setting the trigger acquisition instruction;
- Step 1.2: the trigger acquisition module receiving the trigger acquisition instruction, retrieving the parameter information of each axis and the compensation point information, which is preset, of the machine tool from the numerical control system, and obtaining the machine tool operation code and the measurement preparation signal based on a data interval and a data starting point of the parameter information of each axis and the compensation point information of the machine tool;
- Step 1.3: inputting the machine tool operation code into the numerical control system to wait for execution while the linear reflector is called up;
- Step 1.4: executing the machine tool operation code, and the laser interferometry detection module receiving the measurement preparation signal;
- Step 1.5: the trigger acquisition module collecting the machine tool encoder position value, converting the machine tool encoder position value into the pulse value, and transmitting the pulse value to the laser interferometry measurement module.
In a specific embodiment, Step 2 specifically includes: Step 2.1: the optical path turning device and the linear reflector adjusting an optical path for mechanical precision measurement of the axes;
- Step 2.2: adjusting the optical path turning device according to a type of a measurement axis, a type and a model of the machine tool to direct a laser towards the measurement axis to adjust a light beam;
- Step 2.3: the laser interferometry detection module performing detection based on the measurement preparation signal and the pulse value to obtain the error data, the environmental data, and the expansion compensation values;
- Step 2.4: storing the error data, the environmental data, and the expansion compensation values to wait for analysis by the data analysis and compensation module.
In a specific embodiment, in Step 3, the data analysis and compensation module collects the data, error the environmental data, and the expansion compensation values, analyzes and compares the error data, the environmental data, and the expansion compensation values with preset parameter standards, and obtains the first precision parameters and the first compensation parameters.
In a specific embodiment, the process of obtaining the first compensation parameters includes:
- Step 3.1: performing compensation type data processing on the error data, the environmental data, and the expansion compensation values to obtain position deviation values;
- Step 3.2: performing sign normalization processing on the position deviation values to obtain error values;
- Step 3.3: calculating the compensation value of error values as the first compensation parameters based on a reference point, a compensation resolution, and a calculation type.
A specific embodiment further includes Step 5, Step 5 is specifically as follows.
- Step 5: the data analysis and compensation module setting initial evaluation parameters, and comparing the first precision parameters and the first compensation parameters with the initial evaluation parameters, and when the first precision parameters and the first compensation parameters exceed a preset parameter range, repeating Steps 1 to 4 to obtain second precision parameters and second compensation parameters.
In a specific embodiment, Step 5 further includes: using the trigger acquisition module to change the compensation point information to obtain the second precision parameters and the second compensation parameters.
Advantageous Effects of Invention
The present invention utilizes a laser interferometry measurement device and a trigger acquisition device to measure mechanical precision, thereby achieving higher measurement efficiency and ensuring that the measurement is more accurate and rapid. Additionally, the data analysis and compensation module is included to load the compensation values into the numerical control system to achieve automated control. The laser interferometry measurement module and the trigger acquisition module are fixed inside the machine tool, avoiding repeated installation and removal, making the machine tool convenient to use.
BRIEF DESCRIPTION OF DRAWINGS
In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present invention, and for a person skilled in the art, other drawings can also be obtained from these accompanying drawings without creative effort.
FIG. 1 is a schematic structural diagram of a compensation system of the present invention.
FIG. 2 is a schematic logical structure diagram of the compensation system of the present invention.
FIG. 3 is an effect diagram after the application of the present invention.
DESCRIPTION OF EMBODIMENTS
In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments to be described are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person skilled in the art without creative efforts are within the protection scope of the present invention.
The present embodiment provides a machine rapid compensation system based on a principle of laser interferometry, as shown in FIG. 1, the system including: a trigger acquisition module, a laser interferometry measurement module, a data analysis and compensation module, and a communication module;
- the trigger acquisition module is connected to a machine tool encoder, a numerical control system, and the laser interferometry measurement module; the trigger acquisition module receives a trigger acquisition instruction issued by the numerical control system, converts a machine tool encoder position value into a pulse value, and transmits the pulse value to the laser interferometry measurement module, and simultaneously, the trigger acquisition module retrieves parameter information of each axis and compensation point information of a machine tool from the numerical control system, and generates a machine tool operation code and a measurement preparation signal;
- the laser interferometry measurement module includes a laser head, an environmental sensor, a temperature sensor, an optical path turning device, a linear interferometer, and a linear reflector;
- depending on the type and application situation of the machine tool, the positions of the laser head, the linear interferometer, and the optical path turning device can be adjusted, and the laser head, the linear interferometer, and the optical path turning device can be placed at the end of the stroke of each axis of the numerical control machine tool or at a fixed position on a moving axis, the laser head receives the measurement preparation signal and pulse value to emit a laser, the laser passes through the linear interferometer and is redirected by the optical path turning device towards the X, Y, and Z axes of the machine tool, respectively, and the linear interferometer, in cooperation with the linear reflector, obtains error data of the X, Y, and Z axes of the machine tool, the environmental sensor collects air temperature value, humidity value, and atmospheric pressure value, and transmits these values to the laser head to obtain environmental data, the temperature sensor collects the material temperature values of the X, Y, and Z axes of the machine tool and transmits these values to the laser head to obtain expansion compensation values;
- the data analysis and compensation module collects the error data, the environmental data, and the expansion compensation values for analysis to obtain precision parameters and compensation parameters, the precision parameters are used for a precision analysis of the numerical control system, and the compensation parameters are used for a data compensation of the machine tool; and
- the communication module connects the numerical control system and the data analysis and compensation module, the communication module reads preset compensation settings in the numerical control system and transmits the compensation parameters and the precision parameters generated by the data analysis and compensation module to the numerical control system.
In a specific embodiment, the parameter information of each axis of the machine tool includes stroke parameters of the X, Y, and Z axes of the machine tool, a soft limit position of the machine tool, and a machine tool ratio.
For the same purpose, as shown in FIG. 2, the present invention also provides a compensation method of the machine tool rapid compensation system based on the principle of laser interferometry, the method including:
- Step 1: the numerical control system reading a machine tool information and setting the trigger acquisition instruction, and the trigger acquisition module receiving the trigger acquisition instruction, and generating the machine tool operation code and the measurement preparation signal;
- Step 2: the laser interferometry measurement module receiving the measurement preparation signal for measurement, adjusting the linear interferometer and the optical path turning device for mechanical precision measurement of the axes to obtain the error data of the X, Y, and Z axes of the machine tool, and simultaneously obtaining the environmental data and the expansion compensation values;
- Step 3: the data analysis and compensation module collecting the error data, the environmental data, and the expansion compensation values for analysis to obtain first precision parameters and first compensation parameters;
- Step 4: the numerical control system receiving the first precision parameters and the first compensation parameters for precision analysis and data compensation.
In a specific embodiment, Step 1 specifically includes:
- Step 1.1: the numerical control system reading the machine tool information and setting the trigger acquisition instruction;
- Step 1.2: the trigger acquisition module receiving the trigger acquisition instruction, retrieving the parameter information of each axis and the compensation point information, which is preset, of the machine tool from the numerical control system, and obtaining the machine tool operation code and the measurement preparation signal based on a data interval and a data starting point of the parameter information of each axis and the compensation point information of the machine tool;
- Step 1.3: inputting the machine tool operation code into the numerical control system to wait for execution while the linear reflector is called up;
- Step 1.4: executing the machine tool operation code, and the laser interferometry detection module receiving the measurement preparation signal;
- Step 1.5: the trigger acquisition module collecting the machine tool encoder position value, converting the machine tool encoder position value into the pulse value, and transmitting the pulse value to the laser interferometry measurement module.
In a specific embodiment, Step 2 specifically includes:
- Step 2.1: the optical path turning device and the linear reflector adjusting an optical path for mechanical precision measurement of the axes;
- Step 2.2: adjusting the optical path turning device according to a type of a measurement axis, a type and a model of the machine tool to direct a laser towards the measurement axis to adjust a light beam; for example, for gantry structures and machining centers, the laser head, the linear interferometer, and the optical path turning device can be placed at the end of the stroke of each axis, and for single moving axes or grinder structures, the components can be placed at a fixed position on the axis;
- Step 2.3: the laser interferometry detection module performing detection based on the measurement: signal and the pulse value to obtain the error data, the environmental data, and the expansion compensation values;
- wherein the error data is position deviation, and the specific calculation formula for position deviation is: xij=Pji−Pi;
- wherein i is the number of measurement runs, j is the specific target point in the number of measurements, target position: Pi (i=1 to m), actual position: Pij (i=1 to m, j=1 to n);
- the unidirectional average position deviation of a certain position is
the bidirectional average position deviation of a certain position is
- Step 2.4: storing the error data, the environmental data, and the expansion compensation values to wait for analysis by the data analysis and compensation module.
The data analysis and compensation module performs data analysis and report generation based on relevant standards, analyzing and determining whether compensation is necessary, such as performing deviation position data analysis on the collected position deviation data according to ISO, GB, JIS, ASME, and VDI standards. The analyzed data parameters and images are automatically stored for operator review. Simultaneously, whether the system requires compensation is determined based on pre-set parameter standards (such as: positioning precision, repeat positioning precision, backlash, etc., in ISO). For data exceeding the parameter standards, data compensation is performed and the number of compensations is recorded. That is, after each compensation, it is determined again whether the data still exceeds the parameter standards. If the data does not exceed the parameter standards, no further compensation is required, and if the data still exceeds the parameter standards, data compensation is performed again. And if the compensation has been performed three times and the data still does not meet the standards, the system analyzes the data to suggest possible issues for on-site personnel to reference and troubleshoot.
In a specific embodiment, in Step 3, the data analysis and compensation module collects the error data, the environmental data, and the expansion compensation values, analyzes and compares the error data, the environmental data, and the expansion compensation values with preset parameter standards, and obtains the first precision parameters and the first compensation parameters.
The communication module parameter standards in the numerical control system (such as: compensation reference points, compensation intervals, compensation start and end points, compensation methods, compensation types, calculation types, etc.) through an RJ45 communication port;
In a specific embodiment, the process of obtaining the first compensation parameters zij of zij↑ and zij↓ includes:
- Step 3.1: obtaining the position deviation value based on the compensation type: for standard compensation, the position deviation value is calculated as:
the position deviation values for bidirectional compensation are xij↑ and xij↓, respectively;
- Step 3.2: performing sign normalization processing on the position deviation values to obtain error values as yij=xij; or yij↑=xij↑ and yij↓=xij↓, for compensation value, yij=−xij; or yij↑=−xij↑ and yij↓=−xij↓;
- Step 3.3: calculating the actual compensation value based on a reference point β, a compensation resolution ∂, and the calculation type.
When the calculation type is absolute:
When the calculation type is incremental:
wherein zij is the compensation value, zij↑ is a positive compensation value, and zij↓ is a negative compensation value.
A specific embodiment further includes Step 5, Step 5 is specifically as follows.
Step 5: the data analysis and compensation module setting initial evaluation parameters, and comparing the first precision parameters and the first compensation parameters with the initial evaluation parameters, and when the first precision parameters and the first compensation parameters exceed a preset parameter range, repeating Steps 1 to 4 to obtain second precision parameters and second compensation parameters. When the preset parameter range is exceeded, it indicates that the compensation parameters and precision parameters are not ideal, requiring a second acquisition of compensation parameters and precision parameters to be superimposed with the first set of compensation parameters and precision parameters for verification by the numerical control system, and so on until the parameter range is met.
In a specific embodiment, Step 5 further includes: using the trigger acquisition module to change the compensation point information to obtain the second precision parameters and second compensation parameters, specifically, changing the compensation point information based on the measurement point information, wherein the measurement point information includes stroke information obtained by the trigger module from the machine tool and manually set compensation parameters;
- as shown in FIG. 3, this method is implemented in a machining center; using third-party instruments to verify the actual effect, FIG. 3 shows the position error comparison of the Z-axis before and after compensation, wherein the solid line represents the curve before compensation, and the dashed line represents the curve after compensation, and according to the international standard ISO230-22006, a positioning precision before the analysis and compensation is 57.7 um; a repetition precision is 18.3 um; a positioning systematic deviation is 56 um;
- after using this method for measurement and compensation, the positioning precision is 4.7 um; the repetition precision is 3.1 um; the positioning system deviation is 3.5 um, and thus, the precision data of the machine tool after compensation has been significantly improved.
The precision of measurement of the present invention can reach ±0.5 PPM, the maximum acquisition speed can reach 4 m/s, and the highest sampling frequency can reach 10 kHz. High-speed, high-frequency, and precise data acquisition can be achieved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, a person skilled in the art should understand that: the technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently substituted. However, these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.