Workpiece thermal deformation error compensation method and system in on-machine measurement
By constructing a temperature compensation table and calculating the linear expansion coefficient in real time, the problem of inefficient compensation of workpiece thermal deformation error during on-machine measurement is solved, and higher measurement accuracy and production efficiency are achieved.
Patent Information
- Application Number
- CN202410733390.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-13
AI Technical Summary
In on-machine measurement, since the workpiece is difficult to cool to the standard temperature, the measurement data deviates from the theoretical data. The existing technology relies on manual experience for compensation, which has large errors and low efficiency.
By constructing a temperature compensation table, the expansion origin and linear expansion coefficient are determined based on the dimensional data of the workpiece to be processed at different operating temperatures, and the compensated measurement points are calculated in real time to reduce manual intervention.
It improves measurement accuracy and production efficiency, reduces dependence on operator experience, and reduces manual errors.
Smart Images

Figure CN118640846A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of on-machine measurement, and in particular to a method and system for compensating thermal deformation errors of a workpiece in on-machine measurement. Background Art
[0002] On-machine measurement and adaptive machining are important components of intelligent manufacturing systems. On-machine measurement refers to the real-time measurement of various feature data of the workpiece during the machining process, while adaptive machining refers to the adjustment of machining parameters according to real-time measurement data during the machining process. They work together to improve product quality and production efficiency.
[0003] However, although there are measures to cool the workpiece during adaptive machining, such as spraying coolant, it is difficult to cool the workpiece to the standard temperature (20°C). Due to the influence of room temperature and residual cutting heat accumulation, the actual workpiece feature data measured on the machine deviates from the theoretical feature data at the standard temperature. If a large workpiece is measured, there is a huge deviation, which makes it impossible to use it as a basis for adjusting adaptive machining parameters. In order to solve this problem, operators will also adjust the measurement parameters based on their own experience to compensate for the loss of accuracy caused by temperature rise. However, this method relies on the skills and experience of the operator and may contain human errors. Summary of the invention
[0004] Therefore, the technical problem to be solved by the present invention is to overcome the problem of large error and low efficiency in the manual compensation based on experience in the prior art.
[0005] In order to solve the above technical problems, the present invention provides a method and system for compensating thermal deformation errors of workpieces in machine measurement, the method comprising the following steps:
[0006] S1: Construct a temperature compensation table based on the dimensional data of the workpiece to be processed at different working temperatures;
[0007] S2: determining the expansion origin during measurement, obtaining the workpiece temperature at the end of processing, and obtaining the linear expansion coefficient at the workpiece temperature based on the temperature compensation table;
[0008] S3: Based on the expansion origin and the linear expansion coefficient, a compensated measurement point is obtained.
[0009] In one embodiment of the present invention, the method for constructing the temperature compensation table includes:
[0010] Prepare a standard part made of the same material as the workpiece to be processed, wherein the actual size value of the standard part at the standard temperature T0 is consistent with the theoretical size value L0 of the digital model of the standard part;
[0011] The standard part is heated to n different temperature sections, each temperature section is denoted as Ti , measure the standard at temperature T i The actual size of L i , where i = 1, 2, ..., n;
[0012] Based on the dimension values L of the standard parts at different temperatures i , calculate the linear expansion coefficient corresponding to temperature
[0013] Each group temperature T i and the corresponding linear expansion coefficient Record it and form a temperature compensation table.
[0014] In one embodiment of the present invention, the linear expansion coefficient The calculation formula is:
[0015]
[0016] In one embodiment of the present invention, the linear expansion coefficient α at the workpiece temperature L The methods for obtaining include:
[0017] A reference point is defined on the standard part as the expansion origin P0, and its coordinate vector is recorded as x0, and the workpiece temperature T at the end of processing is obtained;
[0018] Query the temperature compensation table to determine whether the workpiece temperature T is recorded in the temperature compensation table:
[0019] If so, directly obtain the linear expansion coefficient α corresponding to the workpiece temperature T from the temperature compensation table L ;
[0020] Otherwise, the two temperatures T closest to the workpiece temperature T are obtained from the temperature compensation table. j and T k , where j, k∈{1,2,...,n} and j≠k, calculate the linear expansion coefficient α at the workpiece temperature T L :
[0021]
[0022] in, The standard part at temperature T j The linear expansion coefficient is The standard part at temperature T k The linear expansion coefficient at .
[0023] In one embodiment of the present invention, the method for acquiring the compensated measurement points is:
[0024] Based on the linear expansion coefficient α calculated at temperature T of the standard part L , get the compensation matrix M;
[0025] Based on the expansion origin P0, the coordinate x1 of the measurement point of the standard part at temperature T is obtained, and the coordinate x2 of the compensated measurement point is obtained using the compensation matrix M:
[0026] x2=M(x1-x0)+x0.
[0027] In one embodiment of the present invention, the calculation method of the compensation matrix M is:
[0028]
[0029] Among them, T0 is the standard temperature of 20°C, and E is the unit matrix of size n×n.
[0030] Based on the same inventive concept, the present invention also provides a workpiece thermal deformation error compensation system in machine measurement, the system is used to implement the workpiece thermal deformation error compensation method in machine measurement, and specifically includes the following modules:
[0031] A temperature compensation table building module, used to build a temperature compensation table according to the dimension data of the workpiece to be processed at different working temperatures;
[0032] A linear expansion coefficient acquisition module, used to determine the expansion origin before measurement, obtain the workpiece temperature at the end of processing, and obtain the linear expansion coefficient at the workpiece temperature based on the temperature compensation table;
[0033] The thermal deformation compensation module is used to obtain a compensated measurement point based on the expansion origin and the linear expansion coefficient.
[0034] In one embodiment of the present invention, the compensation system further includes a temperature compensation table query module, and the temperature compensation table query module is configured to:
[0035] A reference point is defined on the standard part as the expansion origin P0, and its coordinate vector is recorded as x0, and the workpiece temperature T at the end of processing is obtained;
[0036] Query the temperature compensation table to determine whether the workpiece temperature T is recorded in the temperature compensation table:
[0037] If so, directly obtain the linear expansion coefficient α corresponding to the workpiece temperature T from the temperature compensation table L ;
[0038] Otherwise, the two temperatures T closest to the workpiece temperature T are obtained from the temperature compensation table. j and T k, where j, k∈{1,2,...,n} and j≠k, calculate the linear expansion coefficient α at the workpiece temperature T L :
[0039]
[0040] in, The standard part at temperature T j The linear expansion coefficient is The standard part at temperature T k The linear expansion coefficient at .
[0041] The present invention also provides an electronic device, which includes a processor, a memory and a bus system, wherein the processor and the memory are connected via the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the workpiece thermal deformation error compensation method in on-machine measurement.
[0042] The present invention also provides a computer storage medium, which stores a computer software product. The computer software product includes several instructions for enabling a computer device to execute the workpiece thermal deformation error compensation method in on-machine measurement.
[0043] The above technical solution of the present invention has the following advantages compared with the prior art:
[0044] The method and system for compensating for thermal deformation errors of workpieces in on-machine measurement described in the present invention achieve custom construction of a compensation table by measuring the linear expansion coefficient of a standard part at temperature, thereby supporting temperature compensation of workpieces of various materials at different temperatures, reducing the requirements for operator experience, and improving production efficiency. On the other hand, by real-time monitoring of the workpiece temperature, the compensation value is calculated and the processing parameters are adjusted to improve the processing accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein
[0046] Figure 1 It is a flow chart of a method for compensating workpiece thermal deformation error in on-machine measurement provided in an embodiment of the present invention;
[0047] Figure 2 It is a specific implementation flow chart of a method for compensating workpiece thermal deformation error in on-machine measurement provided in an embodiment of the present invention;
[0048] Figure 3 It is a line graph generated by a temperature compensation table constructed by taking an aluminum workpiece as an example in an embodiment of the present invention;
[0049] Figure 4 It is a structural schematic diagram of a workpiece thermal deformation error compensation system in machine measurement provided in an embodiment of the present invention;
[0050] Description of the accompanying drawings in the specification: 100, temperature compensation table building module; 200, linear expansion coefficient acquisition module; 300, thermal deformation compensation module. DETAILED DESCRIPTION
[0051] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0052] Embodiment 1
[0053] Reference Figures 1-2 As shown, the present invention provides a method and system for compensating thermal deformation errors of workpieces in machine measurement, and the method comprises the following steps:
[0054] S1: Construct a temperature compensation table based on the dimensional data of the workpiece to be processed at different working temperatures;
[0055] S2: determining the expansion origin before measuring, obtaining the temperature of the workpiece at the end of processing, and obtaining the linear expansion coefficient at the workpiece temperature based on the temperature compensation table;
[0056] S3: Based on the expansion origin and the linear expansion coefficient, a compensated measurement point is obtained.
[0057] From the above technical solutions, the method of the present invention can effectively solve the problems of low efficiency of manual temperature compensation and difficulty in ensuring processing accuracy by monitoring the workpiece temperature in real time and performing precise compensation based on a pre-constructed compensation table.
[0058] Specifically, in step S1, the method for constructing the temperature compensation table includes:
[0059] Prepare a standard part made of the same material as the workpiece to be processed, wherein the actual size value of the standard part at the standard temperature T0 of 20° C. is consistent with the theoretical size value L0 of the digital model of the standard part;
[0060] The standard part is heated to n different temperature sections, each temperature section is denoted as T i , measure the standard at temperature T i The actual size of L i , where i = 1, 2, ..., n;
[0061] Based on the dimension values L of the standard parts at different temperatures i , calculate the linear expansion coefficient corresponding to temperature
[0062]
[0063] Each group temperature T i and the corresponding linear expansion coefficient Record it and form a temperature compensation table.
[0064] In step S2, the expansion origin is determined before measurement, the temperature of the workpiece at the end of processing is obtained by a temperature sensor, and the linear expansion coefficient α at the workpiece temperature is obtained based on the temperature compensation table. L , and the acquisition method includes:
[0065] A reference point is defined on the standard part as the expansion origin P0, and its coordinate vector is recorded as x0, and the workpiece temperature T at the end of processing is obtained;
[0066] Query the temperature compensation table to determine whether the workpiece temperature T is recorded in the temperature compensation table:
[0067] If so, directly obtain the linear expansion coefficient α corresponding to the workpiece temperature T from the temperature compensation table L ;
[0068] Otherwise, the two temperatures T closest to the workpiece temperature T are obtained from the temperature compensation table. j and T k , where j, k∈{1,2,...,n} and j≠k, the linear expansion coefficient α at the workpiece temperature T is calculated by linear interpolation L :
[0069]
[0070] in, The standard part at temperature T j The linear expansion coefficient is The standard part at temperature T k The linear expansion coefficient at .
[0071] In step S3 of this embodiment, the method for acquiring the compensated measurement points is:
[0072] Based on the linear expansion coefficient α calculated at temperature T of the standard part L , and get the compensation matrix M:
[0073]
[0074] Where T0 is the standard temperature of 20°C, and E is a unit matrix of size 3×3;
[0075] Based on the expansion origin P0, the input probe obtains the coordinate x1 of the measurement point of the standard component at temperature T, and uses the compensation matrix M to obtain the coordinate x2 of the measurement point after compensation:
[0076] x2=M(x1-x0)+x0.
[0077] Taking an aluminum workpiece as an example, the method of the present invention is used to perform thermal deformation compensation during on-machine measurement, and the steps are as follows:
[0078] Aluminum square bars with a length of 1000 mm are made as standard parts;
[0079] The linear expansion coefficients at 7 different temperatures were recorded to obtain a temperature compensation table, as shown in Table 1, and a line graph was generated based on the temperature compensation table;
[0080] Table 1
[0081] Temperature(℃) Linear expansion coefficient (μm / (m·℃)) 0.00 21.73 50.00 22.52 100.00 23.38 150.00 23.94 200.00 24.44 250.00 24.94 300.00 25.42
[0082] Set the coordinate vector x0 of the expansion origin P0 of the workpiece to (20.0, 0.0, 0.0), and obtain the workpiece temperature T at the end of processing to 105°C;
[0083] Since the workpiece temperature T is not in Table 1, the two closest temperatures T are selected. j and T k , calculate the linear expansion coefficient α at the workpiece temperature T L : The subsequent compensation steps are the same as those of the aforementioned method and will not be described in detail here.
[0084] Embodiment 2
[0085] Based on the same inventive concept as the method described in Example 1, the present invention also provides a workpiece thermal deformation error compensation system in machine measurement, and the system is used to implement the workpiece thermal deformation error compensation method in machine measurement described in Example 1, such as Figure 4 As shown, it specifically includes the following modules:
[0086] A temperature compensation table building module 100 is used to build a temperature compensation table according to the dimension data of the workpiece to be processed at different working temperatures;
[0087] The linear expansion coefficient acquisition module 200 is used to determine the expansion origin during measurement, obtain the workpiece temperature at the end of processing, and obtain the linear expansion coefficient at the workpiece temperature based on the temperature compensation table;
[0088] The thermal deformation compensation module 300 is used to obtain a compensated measurement point based on the expansion origin and the linear expansion coefficient.
[0089] In this embodiment, the compensation system further includes a temperature compensation table query module, and the temperature compensation table query module is configured as follows:
[0090] A reference point is defined on the standard part as the expansion origin P0, and its coordinate vector is recorded as x0, and the workpiece temperature T at the end of processing is obtained;
[0091] Query the temperature compensation table to determine whether the workpiece temperature T is recorded in the temperature compensation table:
[0092] If so, directly obtain the linear expansion coefficient α corresponding to the workpiece temperature T from the temperature compensation table L ;
[0093] Otherwise, the two temperatures T closest to the workpiece temperature T are obtained from the temperature compensation table. j and T k , where j, k∈{1,2,...,n} and j≠k, calculate the linear expansion coefficient α at the workpiece temperature T L :
[0094]
[0095] in, The standard part at temperature T j The linear expansion coefficient is The standard part at temperature T k The linear expansion coefficient at .
[0096] Embodiment 3
[0097] The present invention also provides an electronic device, which includes a processor, a memory and a bus system, wherein the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the workpiece thermal deformation error compensation method in on-machine measurement described in Example 1.
[0098] Embodiment 4
[0099] The present invention also provides a computer storage medium, which stores a computer software product. The computer software product includes several instructions for enabling a computer device to execute the workpiece thermal deformation error compensation method in on-machine measurement described in Example 1.
[0100] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A method for compensating workpiece thermal deformation error in on-machine measurement, characterized in that: The following steps are involved: S1: Construct a temperature compensation table based on the dimensional data of the workpiece to be processed at different working temperatures; S2: determining the expansion origin during measurement, obtaining the workpiece temperature at the end of processing, and obtaining the linear expansion coefficient at the workpiece temperature based on the temperature compensation table; S3: Based on the expansion origin and the linear expansion coefficient, a compensated measurement point is obtained.
2. The method for compensating workpiece thermal deformation error in on-machine measurement according to claim 1, characterized in that: The method for constructing the temperature compensation table includes: Prepare a standard part made of the same material as the workpiece to be processed, wherein the actual size value of the standard part at the standard temperature T0 is consistent with the theoretical size value L0 of the digital model of the standard part; The standard part is heated to n different temperature sections, each temperature section is denoted as T i , measure the standard at temperature T i The actual size of L i , where i = 1, 2, ..., n; Based on the dimension values L of the standard parts at different temperatures i , calculate the linear expansion coefficient corresponding to temperature Each group temperature T i and the corresponding linear expansion coefficient Record it and form a temperature compensation table.
3. The method for compensating workpiece thermal deformation error in on-machine measurement according to claim 2, characterized in that: The linear expansion coefficient The calculation formula is:
4. The method for compensating workpiece thermal deformation error in on-machine measurement according to claim 1, characterized in that: The linear expansion coefficient α at the workpiece temperature L The methods for obtaining include: A reference point is defined on the standard part as the expansion origin P0, and its coordinate vector is recorded as x0, and the workpiece temperature T at the end of processing is obtained; Query the temperature compensation table to determine whether the workpiece temperature T is recorded in the temperature compensation table: If so, directly obtain the linear expansion coefficient α corresponding to the workpiece temperature T from the temperature compensation table L ; Otherwise, the two temperatures T closest to the workpiece temperature T are obtained from the temperature compensation table. j and T k , where j, k∈{1, 2, ..., n} and j≠k, calculate the linear expansion coefficient α at the workpiece temperature T L : in, The standard part at temperature T j The linear expansion coefficient is The standard part at temperature T k The linear expansion coefficient at .
5. The method for compensating workpiece thermal deformation error in on-machine measurement according to claim 1, characterized in that: The method for obtaining the compensated measurement points is as follows: Based on the linear expansion coefficient α calculated at temperature T of the standard part L , get the compensation matrix M; Based on the expansion origin P0, the coordinate x1 of the measurement point of the standard part at temperature T is obtained, and the coordinate x2 of the compensated measurement point is obtained using the compensation matrix M: x2=M(x1-x0)+x0.
6. The method for compensating workpiece thermal deformation error in on-machine measurement according to claim 5, characterized in that: The calculation method of the compensation matrix M is: Among them, T0 is the standard temperature of 20°C, and E is the unit matrix of size n×n.
7. A workpiece thermal deformation error compensation system in machine measurement, characterized in that: The system is used to implement the workpiece thermal deformation error compensation method in machine measurement according to any one of claims 1 to 6, and specifically includes the following modules: A temperature compensation table building module, used to build a temperature compensation table according to the dimension data of the workpiece to be processed at different working temperatures; A linear expansion coefficient acquisition module, used to determine the expansion origin during measurement, acquire the workpiece temperature at the end of processing, and obtain the linear expansion coefficient at the workpiece temperature based on the temperature compensation table; The thermal deformation compensation module is used to obtain a compensated measurement point based on the expansion origin and the linear expansion coefficient.
8. The workpiece thermal deformation error compensation system in on-machine measurement according to claim 7, characterized in that: The compensation system further includes a temperature compensation table query module, and the temperature compensation table query module is configured to: A reference point is defined on the standard part as the expansion origin P0, and its coordinate vector is recorded as x0, and the workpiece temperature T at the end of processing is obtained; Query the temperature compensation table to determine whether the workpiece temperature T is recorded in the temperature compensation table: If so, directly obtain the linear expansion coefficient α corresponding to the workpiece temperature T from the temperature compensation table L ; Otherwise, the two temperatures T closest to the workpiece temperature T are obtained from the temperature compensation table. j and T k , where j, k∈{1, 2, ..., n} and j≠k, calculate the linear expansion coefficient α at the workpiece temperature T L : in, The standard part at temperature T j The linear expansion coefficient is The standard part at temperature T k The linear expansion coefficient at .
9. An electronic device, characterized in that: The electronic device includes a processor, a memory and a bus system, the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the workpiece thermal deformation error compensation method in on-machine measurement as described in any one of claims 1 to 6.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer software product, and the computer software product includes a number of instructions for enabling a computer device to execute the workpiece thermal deformation error compensation method in on-machine measurement as described in any one of claims 1 to 6.
Citation Information
Cited By
Numerical control machining extension deformation control method for aviation aluminum alloy wallboard parts
CN121680269A
A method for controlling the elongation deformation during CNC machining of aerospace aluminum alloy panel parts
CN121680269B
