A data processing method and apparatus for error correction
By acquiring and processing coordinate data of multi-spindle machine tools, and using prediction and compensation models to calculate error and compensation values, online measurement and intelligent correction of the spindle tool center and workpiece origin are achieved. This solves the positioning error problem of multi-spindle machine tools, improves machining accuracy and efficiency, and reduces production costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2026-03-31
AI Technical Summary
Multi-spindle machine tools are difficult to align precisely with the spindle tool center and the workpiece origin during loading, resulting in large positioning errors. Furthermore, thermal deformation caused by ambient temperature rise further affects the machine tool's accuracy, and there is a lack of effective error compensation methods.
By acquiring and processing coordinate data, and using prediction and compensation models to calculate error and compensation values, online measurement and intelligent correction of the position of the spindle tool center relative to the workpiece origin can be achieved.
It improves the machining accuracy and efficiency of multi-spindle machine tools and reduces production costs.
Smart Images

Figure CN114298098B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of machine tool control technology, and in particular to a data processing method and apparatus for error correction. Background Technology
[0002] Multi-spindle machine tools are widely used in the batch processing of mechanical parts due to their significantly improved efficiency. Currently, most multi-spindle machine tools adopt the fixed-gantry machine tool structure specified in the national standard GB / T31557-2015. However, because the tool centers of each spindle and the workpiece origin are difficult to align during loading, they produce larger positioning errors compared to single-spindle machine tools. The influence of ambient temperature rise on the machine tool causes uneven thermal deformation in various parts, leading to asymmetrical and nonlinear changes in machine tool accuracy, further resulting in the offset of the positions of the tool centers of each spindle and the workpiece origin. However, currently, there is no effective solution for quantitatively measuring and effectively compensating for workpiece loading and thermal drift errors to maximize the alignment of the tool centers with the workpiece origin and minimize errors. Therefore, it is particularly important to provide a data processing method and device for error correction, enabling online measurement and calculation of the positions of the tool centers and workpiece origins, and intelligent error correction, thereby improving machining accuracy and efficiency and reducing production costs. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a data processing method and apparatus for error correction, which can obtain compensation value information for indicating error correction through comprehensive processing such as calculation of coordinate data information. This is beneficial to realize online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correct errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0004] To address the aforementioned technical problems, a first aspect of the present invention discloses a data processing method for error correction, the method comprising:
[0005] Obtain coordinate data information; the coordinate data information includes first coordinate data information and / or second coordinate data information; the coordinate direction represented by the first coordinate data information is not consistent with the coordinate direction represented by the second coordinate data information;
[0006] The coordinate data information is processed by error calculation to obtain coordinate error value information; the coordinate error value information includes first coordinate error value information and / or second coordinate error value information; the first coordinate error value information includes a plurality of first coordinate error values; the second coordinate error value information includes a plurality of second coordinate error values;
[0007] The coordinate error value information is calculated and processed to obtain compensation value information; the compensation value information includes first compensation value information and / or second compensation value information; the compensation value information includes L compensation values; L is a positive integer greater than or equal to 4; the compensation value information is used to indicate error correction.
[0008] As an optional implementation, in the first aspect of the present invention, the coordinate data information further includes third coordinate data information;
[0009] The coordinate error value information also includes third coordinate error value information;
[0010] The step of calculating the coordinate error information to obtain coordinate error value information includes:
[0011] Obtain baseline parameter value information;
[0012] The first coordinate error value is obtained by calculating the first coordinate data information and the reference parameter value information using a preset first prediction model;
[0013] The second coordinate error value is obtained by calculating the second coordinate data information and the reference parameter value information using a preset second prediction model;
[0014] The third coordinate data information and the reference parameter value information are calculated using a preset third prediction model to obtain the third coordinate error value information; the first prediction model and the third prediction model are unrelated.
[0015] As an optional implementation, in the first aspect of the present invention, obtaining coordinate data information includes:
[0016] Obtain probe information;
[0017] Drive the first drive mechanism and detect whether the first detection drive signal is received to obtain the first detection result;
[0018] When the detection result is yes, the first detection driving signal is converted and processed to obtain the first detection data information;
[0019] The first detection data information and the probe information are processed to obtain the first coordinate data information;
[0020] Drive the second drive mechanism and detect whether the second detection drive signal is received to obtain the second detection result;
[0021] When the detection result is yes, the second detection driving signal is converted and processed to obtain the second detection data information;
[0022] The second detection data information and the probe information are processed to obtain the second coordinate data information.
[0023] As an optional implementation, in the first aspect of the present invention, the calculation and processing of the coordinate error value information to obtain compensation value information includes:
[0024] The first coordinate error value information is input into a preset first compensation model to obtain the first compensation value information;
[0025] The second coordinate error value information is input into the preset second compensation model to obtain the second compensation value information.
[0026] As an optional implementation, in the first aspect of the present invention, the coordinate error value information further includes third coordinate error value information;
[0027] The compensation value information also includes third compensation value information;
[0028] The calculation and processing of the coordinate error value information to obtain compensation value information includes:
[0029] Obtain weighting coefficient information;
[0030] The weighting coefficient information and the third coordinate error value information are processed using a preset third compensation model to obtain the third compensation value information.
[0031] As an optional implementation, in the first aspect of the present invention, the step of processing the weighting coefficient information and the third coordinate error value information using a preset third compensation model to obtain the third compensation value information includes:
[0032] The weighting coefficient information and the third coordinate error value information are summed to obtain the coordinate numerical information;
[0033] The third compensation value is obtained by averaging the coordinate values.
[0034] As an optional implementation, in the first aspect of the present invention, before acquiring the coordinate data information, the method further includes:
[0035] The workpiece is calibrated.
[0036] The calibrated workpiece is subjected to contact testing to obtain reference parameter values.
[0037] A second aspect of this invention discloses a data processing apparatus for error correction, the apparatus comprising:
[0038] An acquisition module is used to acquire coordinate data information; the coordinate data information includes first coordinate data information and / or second coordinate data information; the coordinate direction represented by the first coordinate data information is not consistent with the coordinate direction represented by the second coordinate data information.
[0039] A first calculation module is used to perform error calculation processing on the coordinate data information to obtain coordinate error value information; the coordinate error value information includes first coordinate error value information and / or second coordinate error value information; the first coordinate error value information includes a plurality of first coordinate error values; the second coordinate error value information includes a plurality of second coordinate error values;
[0040] The second calculation module is used to calculate and process the coordinate error value information to obtain compensation value information; the compensation value information includes first compensation value information and / or second compensation value information; the compensation value information includes L compensation values; L is a positive integer greater than or equal to 4; the compensation value information is used to indicate error correction.
[0041] As an optional implementation, in the second aspect of the present invention, the coordinate data information further includes third coordinate data information;
[0042] The coordinate error value information also includes third coordinate error value information;
[0043] The first calculation module performs error calculation on the coordinate data information to obtain the coordinate error value information in the following specific way:
[0044] Obtain baseline parameter value information;
[0045] The first coordinate error value is obtained by calculating the first coordinate data information and the reference parameter value information using a preset first prediction model;
[0046] The second coordinate error value is obtained by calculating the second coordinate data information and the reference parameter value information using a preset second prediction model;
[0047] The third coordinate data information and the reference parameter value information are calculated using a preset third prediction model to obtain the third coordinate error value information; the first prediction model and the third prediction model are unrelated.
[0048] As an optional implementation, in the second aspect of the present invention, the specific method by which the acquisition module acquires coordinate data information is as follows:
[0049] Obtain probe information;
[0050] Drive the first drive mechanism and detect whether the first detection drive signal is received to obtain the first detection result;
[0051] When the detection result is yes, the first detection driving signal is converted and processed to obtain the first detection data information;
[0052] The first detection data information and the probe information are processed to obtain the first coordinate data information;
[0053] Drive the second drive mechanism and detect whether the second detection drive signal is received to obtain the second detection result;
[0054] When the detection result is yes, the second detection driving signal is converted and processed to obtain the second detection data information;
[0055] The second detection data information and the probe information are processed to obtain the second coordinate data information.
[0056] As an optional implementation, in a second aspect of the present invention, the second processing module calculates and processes the coordinate error value information to obtain the compensation value information in the following specific manner:
[0057] The first coordinate error value information is input into a preset first compensation model to obtain the first compensation value information;
[0058] The second coordinate error value information is input into the preset second compensation model to obtain the second compensation value information.
[0059] As an optional implementation, in a second aspect of the present invention, the coordinate error value information further includes third coordinate error value information;
[0060] The compensation value information also includes third compensation value information;
[0061] The second processing module calculates and processes the coordinate error value information to obtain the compensation value information in the following specific way:
[0062] Obtain weighting coefficient information;
[0063] The weighting coefficient information and the third coordinate error value information are processed using a preset third compensation model to obtain the third compensation value information.
[0064] As an optional implementation, in a second aspect of the present invention, the second processing module processes the weighting coefficient information and the third coordinate error value information using a preset third compensation model to obtain the third compensation value information in the following specific manner:
[0065] The weighting coefficient information and the third coordinate error value information are summed to obtain the coordinate numerical information;
[0066] The third compensation value is obtained by averaging the coordinate values.
[0067] As an optional implementation, in a second aspect of the present invention, before the acquisition module acquires the coordinate data information, the apparatus further includes:
[0068] The calibration module is used to calibrate the workpiece.
[0069] The detection module is used to perform contact detection on the calibrated workpiece to obtain reference parameter value information.
[0070] A third aspect of the present invention discloses another data processing apparatus for error correction, the apparatus comprising:
[0071] Memory containing executable program code;
[0072] A processor coupled to the memory;
[0073] The processor calls the executable program code stored in the memory to execute some or all of the steps in the data processing method for error correction disclosed in the first aspect of the present invention.
[0074] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute some or all of the steps in the data processing method for error correction disclosed in the first aspect of the present invention.
[0075] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0076] In this embodiment of the invention, coordinate data information is acquired; the coordinate data information includes first coordinate data information and / or second coordinate data information; the coordinate direction represented by the first coordinate data information is inconsistent with the coordinate direction represented by the second coordinate data information; error calculation processing is performed on the coordinate data information to obtain coordinate error value information; the coordinate error value information includes first coordinate error value information and / or second coordinate error value information; the first coordinate error value information includes several first coordinate error values; the second coordinate error value information includes several second coordinate error values; the coordinate error value information is calculated to obtain compensation value information; the compensation value information includes first compensation value information and / or second compensation value information; the compensation value information includes L compensation values; L is a positive integer greater than or equal to 4; the compensation value information is used to indicate error correction. It can be seen that the present invention can obtain compensation value information for indicating error correction through comprehensive processing such as calculation of coordinate data information, which is beneficial for realizing online measurement and calculation of the position between the spindle tool center and the workpiece origin, and intelligent error correction, thereby improving machining accuracy and efficiency, and reducing production costs. Attached Figure Description
[0077] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0078] Figure 1 This is a schematic flowchart of a data processing method for error correction disclosed in an embodiment of the present invention;
[0079] Figure 2 This is a flowchart illustrating another data processing method for error correction disclosed in an embodiment of the present invention;
[0080] Figure 3 This is a schematic diagram of the structure of a data processing device for error correction disclosed in an embodiment of the present invention;
[0081] Figure 4 This is a schematic diagram of another data processing device for error correction disclosed in an embodiment of the present invention;
[0082] Figure 5 A schematic diagram of the structure of another data processing device for error correction disclosed in this embodiment of the invention. Detailed Implementation
[0083] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0084] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0085] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0086] This invention discloses a data processing method and apparatus for error correction. Through comprehensive processing such as calculation of coordinate data, it obtains compensation values for error correction, facilitating online measurement and calculation of the position between the spindle tool center and the workpiece origin, and intelligently correcting errors. This improves machining accuracy and efficiency while reducing production costs. Detailed descriptions follow.
[0087] Example 1
[0088] Please see Figure 1 , Figure 1 This is a flowchart illustrating a data processing method for error correction disclosed in an embodiment of the present invention. Figure 1 The described data processing method for error correction is applied to data processing systems, such as local servers or cloud servers used for error correction data processing management, etc., and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the data processing method for error correction may include the following operations:
[0089] 101. Obtain coordinate data information.
[0090] In this embodiment of the invention, the coordinate data information includes first coordinate data information and / or second coordinate data information, and this embodiment of the invention does not limit the scope of the coordinate data information.
[0091] In this embodiment of the invention, the coordinate direction represented by the first coordinate data information is not consistent with the coordinate direction represented by the second coordinate data information.
[0092] 102. Perform error calculation processing on the coordinate data information to obtain coordinate error value information.
[0093] In this embodiment of the invention, the coordinate error value information includes first coordinate error value information and / or second coordinate error value information, which is not limited in this embodiment of the invention.
[0094] In this embodiment of the invention, the first coordinate error value information includes several first coordinate error values.
[0095] In this embodiment of the invention, the aforementioned second coordinate error value information includes several second coordinate error values.
[0096] 103. Calculate and process the coordinate error information to obtain the compensation value information.
[0097] In this embodiment of the invention, the above-mentioned compensation value information includes first compensation value information and / or second compensation value information, and this embodiment of the invention does not limit the information.
[0098] In this embodiment of the invention, the compensation value information includes L compensation values.
[0099] In this embodiment of the invention, L is a positive integer greater than or equal to 4.
[0100] In this embodiment of the invention, the compensation value information is used to indicate error correction.
[0101] Optionally, the above error correction is a correction process for multiple spindles.
[0102] Optionally, the above error correction is a correction process for multiple principal axes in multiple coordinate directions.
[0103] Optionally, the aforementioned first coordinate data information includes a first coordinate value in the first coordinate direction and / or first encoding information, which is not limited in this embodiment of the invention.
[0104] Optionally, the aforementioned second coordinate data information includes a second coordinate value in the second coordinate direction and / or second encoding information, which is not limited in this embodiment of the invention.
[0105] Optionally, the acquisition of coordinate data information may be triggered during the initial installation of the workpiece or when the machine tool experiences thermal drift due to temperature changes. This embodiment of the invention does not impose any limitations.
[0106] Optionally, the acquisition of coordinate data information can be done in real time, at a preset frequency, or offline. This embodiment of the invention does not impose any limitations.
[0107] As can be seen, the data processing method for error correction described in the embodiments of the present invention can obtain compensation value information for indicating error correction through comprehensive processing such as calculation of coordinate data information. This is beneficial for realizing online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligent correction of errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0108] In an optional embodiment, the coordinate data information described above further includes third coordinate data information;
[0109] The coordinate error information also includes the third coordinate error information;
[0110] Error calculations are performed on the coordinate data to obtain coordinate error values, including:
[0111] Obtain baseline parameter value information;
[0112] The first coordinate data information and the reference parameter value information are calculated using the preset first prediction model to obtain the first coordinate error value information;
[0113] The second coordinate data and the reference parameter values are calculated using a pre-set second prediction model to obtain the second coordinate error value.
[0114] The third coordinate data and the reference parameter values are calculated using a pre-set third prediction model to obtain the third coordinate error value; the first prediction model and the third prediction model are unrelated.
[0115] Optionally, the above-mentioned reference parameter values include the probe diameter and / or the reference point value, which are not limited in this embodiment of the invention.
[0116] Optionally, the aforementioned first coordinate error value information includes first sub-coordinate error value information, and / or, second sub-coordinate error value information, and / or, third sub-coordinate error value information, and / or, fourth sub-coordinate error value information, which are not limited in the embodiments of the present invention.
[0117] Optionally, the aforementioned first coordinate error value information includes a first error value and / or first encoding information, which is not limited in this embodiment of the invention.
[0118] Optionally, the aforementioned second coordinate error value information includes fifth sub-coordinate error value information, and / or, sixth sub-coordinate error value information, and / or, seventh sub-coordinate error value information, and / or, eighth sub-coordinate error value information, which are not limited in the embodiments of the present invention.
[0119] Optionally, the aforementioned second coordinate error value information includes a second error value and / or second encoding information, which is not limited in this embodiment of the invention.
[0120] Optionally, the first prediction model described above can be in the following form:
[0121] x = ad / 2.
[0122] Where x is the first error value, a is the first coordinate value, and d is the probe diameter.
[0123] Optionally, the second prediction model described above can be in the following form:
[0124] y = bd / 2.
[0125] Wherein, y is the second error value, b is the second coordinate value, and d is the probe diameter.
[0126] Optionally, the third prediction model described above can be in the following form:
[0127] z = ce.
[0128] Where z is the third error value, c is the third coordinate value, and e is the reference point value.
[0129] Optionally, the sign of the first error value indicates the offset direction of the first coordinate direction.
[0130] Optionally, the sign of the second error value indicates the offset direction of the second coordinate direction.
[0131] Optionally, the sign of the third error value indicates the offset direction of the third coordinate direction.
[0132] As can be seen, the data processing method for error correction described in the embodiments of the present invention can use the first prediction model, the second prediction model and the third prediction model to calculate the coordinate data information to obtain the coordinate error value information. This is beneficial to realize the online measurement and calculation of the position of the spindle tool center and the workpiece origin, and to intelligently correct the error, thereby improving the machining accuracy and efficiency and reducing the production cost.
[0133] In another optional embodiment, the acquisition of coordinate data information described above includes:
[0134] Obtain probe information;
[0135] Drive the first drive mechanism and detect whether the first detection drive signal is received to obtain the first detection result;
[0136] When the detection result is yes, the first detection drive signal is converted and processed to obtain the first detection data information;
[0137] The first detection data and probe information are processed to obtain the first coordinate data.
[0138] Drive the second drive mechanism and detect whether the second detection drive signal is received to obtain the second detection result;
[0139] When the detection result is yes, the second detection drive signal is converted and processed to obtain the second detection data information;
[0140] The second detection data and probe information are processed to obtain the second coordinate data.
[0141] Optionally, the probe information mentioned above includes measurement probe signal information, and / or, drive speed information, and / or, probe initial position information, which are not limited in this embodiment of the invention.
[0142] Optionally, the aforementioned first drive mechanism includes several first sub-drive mechanisms arranged in parallel.
[0143] Optionally, the aforementioned second drive mechanism includes several second sub-drive mechanisms.
[0144] Optionally, the aforementioned first drive mechanism can move in the first coordinate direction.
[0145] Optionally, the second drive mechanism described above can move in the second coordinate direction.
[0146] Optionally, the first sub-drive mechanism described above can move in parallel or move independently, and this embodiment of the invention does not limit this.
[0147] Optionally, the second sub-drive mechanism described above can move in parallel or move independently, and this embodiment of the invention does not limit this.
[0148] Optionally, the above-mentioned measurement probe signal information includes signals from several measurement probes.
[0149] Optionally, the aforementioned first detection data information includes N first detection result values.
[0150] Optionally, N is a positive integer greater than or equal to 4.
[0151] Optionally, the aforementioned second detection data information includes P second detection result values.
[0152] Optionally, P is a positive integer greater than or equal to 4.
[0153] Optionally, the aforementioned drive speed information includes a first drive speed, and / or a second drive speed, and / or a third drive speed, which is not limited in the embodiments of the present invention.
[0154] Optionally, the first drive mechanism moves at the first drive speed.
[0155] Optionally, the second drive mechanism moves at the second drive speed.
[0156] Optionally, the first detection drive signal and the measurement probe signal are not matched.
[0157] As can be seen, the data processing method for error correction described in the embodiments of the present invention can detect coordinate data information by driving the first driving mechanism and the second driving mechanism, which is beneficial to realize online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correct errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0158] In another optional embodiment, the above-described calculation and processing of the coordinate error value information to obtain compensation value information includes:
[0159] The first coordinate error value information is input into the preset first compensation model to obtain the first compensation value information;
[0160] The second coordinate error value information is input into the preset second compensation model to obtain the second compensation value information.
[0161] Optionally, the aforementioned first compensation value information includes a first compensation value and / or first encoding information, which is not limited in this embodiment of the invention.
[0162] Optionally, the aforementioned first compensation value is used to drive the first drive mechanism so that the spindle on the first coordinate coincides with the origin coordinate of the workpiece on the first coordinate.
[0163] Optionally, the aforementioned second compensation value information includes a second compensation value and / or second encoding information, which is not limited in this embodiment of the invention.
[0164] Optionally, the aforementioned second compensation value is used to drive the second drive mechanism so that the spindle on the second coordinate coincides with the origin coordinate of the workpiece on the second coordinate.
[0165] Optionally, the aforementioned first compensation value includes N first sub-compensation values.
[0166] As can be seen, the data processing method for error correction described in the embodiments of the present invention can obtain the first compensation value information and the second compensation value information by processing the first coordinate error value information and the second coordinate error value information through the first compensation model and the second compensation model. This is more conducive to realizing online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correcting errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0167] Example 2
[0168] Please see Figure 2 , Figure 2 This is a schematic flowchart of another data processing method for error correction disclosed in an embodiment of the present invention. Figure 2 The described data processing method for error correction is applied to data processing systems, such as local servers or cloud servers used for error correction data processing management, etc., and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the data processing method for error correction may include the following operations:
[0169] 201. Obtain coordinate data information.
[0170] 202. Perform error calculation processing on the coordinate data information to obtain coordinate error value information.
[0171] In this embodiment of the invention, the coordinate error value information further includes third coordinate error value information.
[0172] In this embodiment of the invention, the compensation value information further includes third compensation value information.
[0173] 203. Obtain weighting coefficient information.
[0174] 204. The weighting coefficient information and the third coordinate error value information are processed using the preset third compensation model to obtain the third compensation value information.
[0175] In this embodiment of the invention, the specific technical details and explanations of technical terms for steps 201-202 can be found in the detailed description of steps 101-102 in Embodiment 1, and will not be repeated here.
[0176] Optionally, the above weighting coefficient information includes Q weighting coefficients.
[0177] Optionally, Q is a positive integer greater than or equal to 4.
[0178] Optionally, the aforementioned weighting coefficients can be preset default values or input values based on actual needs; this embodiment of the invention does not impose any limitations.
[0179] Optionally, each of the third coordinate error values in the above third coordinate error value information corresponds to a weighting coefficient.
[0180] Optionally, the aforementioned third compensation value information includes a third compensation value and / or third encoding information, which is not limited in the embodiments of the present invention.
[0181] Optionally, the aforementioned third compensation value is used to drive the third drive mechanism so that the spindle coincides with the origin coordinate of the workpiece in the third coordinate direction.
[0182] Optionally, the aforementioned third drive mechanism can simultaneously drive several spindles to move in parallel.
[0183] As can be seen, the data processing method for error correction described in the embodiments of the present invention can obtain compensation value information for indicating error correction by comprehensively processing coordinate data information and processing weighted coefficient information and third coordinate error value information using the third compensation model. This is beneficial for realizing online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correcting errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0184] In an optional embodiment, step 204 above uses a preset third compensation model to process the weighting coefficient information and the third coordinate error value information to obtain the third compensation value information, including:
[0185] The weighted coefficient information and the third coordinate error value information are summed to obtain the coordinate numerical information;
[0186] The coordinate values are averaged to obtain the third compensation value.
[0187] As can be seen, the data processing method for error correction described in the embodiments of the present invention can obtain the third compensation value information by summing and averaging the weighted coefficient information and the third coordinate error value information. This is more conducive to realizing online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correcting errors, thereby improving machining accuracy and efficiency, and reducing production costs.
[0188] In another alternative embodiment, before acquiring the coordinate data information, the method further includes:
[0189] The workpiece is calibrated.
[0190] The calibrated workpiece is subjected to contact testing to obtain reference parameter values.
[0191] Optionally, the above calibration of the workpiece includes calibration in the third coordinate direction.
[0192] Optionally, the above calibration is performed by aligning the spindle center with the origin coordinates of the workpiece in the third left direction.
[0193] Optionally, the above-mentioned reference parameter values include radius value, and / or diameter value, and / or thickness value, and / or length value, and / or width value, and / or origin coordinate position information, and / or inflection point coordinate position information, which are not limited in the embodiments of the present invention.
[0194] Optionally, when the workpiece is rectangular, contact detection is required on at least 5 faces.
[0195] Optionally, when the workpiece is circular, it is necessary to detect the coordinate information of at least three points around the perimeter of the circle.
[0196] As can be seen, the data processing method for error correction described in the embodiments of the present invention can obtain reference parameter value information by calibrating the installation of the workpiece and conducting contact detection. This is more conducive to realizing online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correcting errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0197] Example 3
[0198] Please see Figure 3 , Figure 3 This is a schematic diagram of a data processing device for error correction disclosed in an embodiment of the present invention. Figure 3 The described apparatus can be applied to data processing systems, such as local servers or cloud servers for error correction data processing management, etc., and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the device may include:
[0199] The acquisition module 301 is used to acquire coordinate data information; the coordinate data information includes first coordinate data information and / or second coordinate data information; the coordinate direction represented by the first coordinate data information is not consistent with the coordinate direction represented by the second coordinate data information.
[0200] The first calculation module 302 is used to perform error calculation processing on the coordinate data information to obtain coordinate error value information; the coordinate error value information includes first coordinate error value information and / or second coordinate error value information; the first coordinate error value information includes several first coordinate error values; the second coordinate error value information includes several second coordinate error values.
[0201] The second calculation module 303 is used to calculate and process the coordinate error value information to obtain compensation value information; the compensation value information includes first compensation value information and / or second compensation value information; the compensation value information includes L compensation values; L is a positive integer greater than or equal to 4; the compensation value information is used to indicate error correction.
[0202] It is evident that implementation Figure 3 The described data processing device for error correction can obtain compensation value information for indicating error correction through comprehensive processing such as calculation of coordinate data information. This facilitates online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligent error correction, thereby improving machining accuracy and efficiency and reducing production costs.
[0203] In another alternative embodiment, such as Figure 4 As shown, the coordinate data information also includes third coordinate data information;
[0204] The coordinate error information also includes the third coordinate error information;
[0205] The first calculation module 302 performs error calculation on the coordinate data information to obtain the coordinate error value information in the following specific way:
[0206] Obtain baseline parameter value information;
[0207] The first coordinate data information and the reference parameter value information are calculated using the preset first prediction model to obtain the first coordinate error value information;
[0208] The second coordinate data and the reference parameter values are calculated using a pre-set second prediction model to obtain the second coordinate error value.
[0209] The third coordinate data and the reference parameter values are calculated using a pre-set third prediction model to obtain the third coordinate error value; the first prediction model and the third prediction model are unrelated.
[0210] It is evident that implementation Figure 4 The described data processing device for error correction can use a first prediction model, a second prediction model, and a third prediction model to perform comprehensive processing on coordinate data information to obtain coordinate error value information. This facilitates online measurement and calculation of the position between the spindle tool center and the workpiece origin, and intelligent error correction, thereby improving machining accuracy and efficiency and reducing production costs.
[0211] In yet another alternative embodiment, such as Figure 4 As shown, the specific method by which the acquisition module 301 acquires coordinate data information is as follows:
[0212] Obtain probe information;
[0213] Drive the first drive mechanism and detect whether the first detection drive signal is received to obtain the first detection result;
[0214] When the detection result is yes, the first detection drive signal is converted and processed to obtain the first detection data information;
[0215] The first detection data and probe information are processed to obtain the first coordinate data.
[0216] Drive the second drive mechanism and detect whether the second detection drive signal is received to obtain the second detection result;
[0217] When the detection result is yes, the second detection drive signal is converted and processed to obtain the second detection data information;
[0218] The second detection data and probe information are processed to obtain the second coordinate data.
[0219] It is evident that implementation Figure 4 The described data processing device for error correction can detect coordinate data information by driving the first drive mechanism and the second drive mechanism. This facilitates online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligent error correction, thereby improving machining accuracy and efficiency and reducing production costs.
[0220] In yet another alternative embodiment, such as Figure 4 As shown, the second processing module 303 calculates and processes the coordinate error value information to obtain the compensation value information in the following specific way:
[0221] The first coordinate error value information is input into the preset first compensation model to obtain the first compensation value information;
[0222] The second coordinate error value information is input into the preset second compensation model to obtain the second compensation value information.
[0223] It is evident that implementation Figure 4 The described data processing device for error correction can obtain first compensation value information and second compensation value information by processing the first coordinate error value information and the second coordinate error value information through the first compensation model and the second compensation model. This is more conducive to realizing online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently correcting errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0224] In yet another alternative embodiment, such as Figure 4 As shown, the coordinate error information also includes third coordinate error information;
[0225] The compensation value information also includes third compensation value information;
[0226] The second processing module 303 calculates and processes the coordinate error value information to obtain the compensation value information in the following specific way:
[0227] Obtain weighting coefficient information;
[0228] The weighting coefficient information and the third coordinate error value information are processed using a preset third compensation model to obtain the third compensation value information.
[0229] It is evident that implementation Figure 4 The described data processing device for error correction can obtain compensation value information for indicating error correction by comprehensively processing coordinate data information and processing weighted coefficient information and third coordinate error value information using a third compensation model. This facilitates online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligent error correction, thereby improving machining accuracy and efficiency and reducing production costs.
[0230] In yet another alternative embodiment, such as Figure 4 As shown, the second processing module 303 uses a preset third compensation model to process the weighting coefficient information and the third coordinate error value information to obtain the third compensation value information in the following specific way:
[0231] The weighted coefficient information and the third coordinate error value information are summed to obtain the coordinate numerical information;
[0232] The coordinate values are averaged to obtain the third compensation value.
[0233] It is evident that implementation Figure 4 The described data processing device for error correction can obtain the third compensation value by summing and averaging the weighted coefficient information and the third coordinate error value information. This is more conducive to realizing online measurement and calculation of the position between the spindle tool center and the workpiece origin, and intelligently correcting errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0234] In yet another alternative embodiment, such as Figure 4 As shown, before the acquisition module 301 acquires the coordinate data information, the device further includes:
[0235] The calibration module 304 is used to calibrate the workpiece.
[0236] The detection module 305 is used to perform contact detection on the calibrated workpiece to obtain reference parameter value information.
[0237] It is evident that implementation Figure 4The described data processing device for error correction can obtain reference parameter values by calibrating the workpiece installation and through contact detection. This facilitates online measurement and calculation of the position of the spindle tool center and the workpiece origin, and intelligently corrects errors, thereby improving machining accuracy and efficiency and reducing production costs.
[0238] Example 4
[0239] Please see Figure 5 , Figure 5 This is a schematic diagram of another data processing device for error correction disclosed in an embodiment of the present invention. Figure 5 The described apparatus can be applied to data processing systems, such as local servers or cloud servers for error correction data processing management, etc., and the embodiments of the present invention are not limited thereto. Figure 5 As shown, the device may include:
[0240] Memory 401 storing executable program code;
[0241] Processor 402 coupled to memory 401;
[0242] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the data processing method for error correction described in Embodiment 1 or Embodiment 2.
[0243] Example 5
[0244] This invention discloses a computer read storage medium that stores a computer program for electronic data interchange, wherein the computer program causes a computer to execute the steps in the data processing method for error correction described in Embodiment 1 or Embodiment 2.
[0245] Example 6
[0246] This invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the data processing method for error correction described in Embodiment 1 or Embodiment 2.
[0247] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0248] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0249] Finally, it should be noted that the data processing method and apparatus for error correction disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data processing method for error correction, characterized by, The method comprises: The workpiece is calibrated, and the calibration comprises aligning the spindle center with the origin coordinate of the workpiece in a third left direction; The calibrated workpiece is contact detected to obtain reference parameter value information; the reference parameter value information comprises one or more of radius value, diameter value, thickness value, length value, width value, origin coordinate position information, and inflection point coordinate position information; the reference parameter value information is used to calculate coordinate error value; Coordinate data information is obtained; the coordinate data information comprises first coordinate data information and / or second coordinate data information; the coordinate direction represented by the first coordinate data information is inconsistent with the coordinate direction represented by the second coordinate data information; Error calculation is performed on the coordinate data information to obtain coordinate error value information; the coordinate error value information comprises first coordinate error value information and / or second coordinate error value information; the first coordinate error value information comprises a plurality of first coordinate error values; the second coordinate error value information comprises a plurality of second coordinate error values; The coordinate error value information is calculated to obtain compensation value information; the compensation value information comprises first compensation value information and / or second compensation value information; the compensation value information comprises L compensation values; L is a positive integer greater than or equal to 4; the compensation value information is used to indicate error correction; the compensation value information is used to drive the corresponding driving mechanism to align the spindle on the corresponding coordinate with the origin coordinate of the workpiece on the corresponding coordinate; The coordinate data information further comprises third coordinate data information, and the coordinate error value information further comprises third coordinate error value information; The error calculation on the coordinate data information to obtain the coordinate error value information comprises: Reference parameter value information is obtained; A first prediction model is used to calculate the first coordinate data information and the reference parameter value information to obtain the first coordinate error value information; A second prediction model is used to calculate the second coordinate data information and the reference parameter value information to obtain the second coordinate error value information; A third prediction model is used to calculate the third coordinate data information and the reference parameter value information to obtain the third coordinate error value information; the first prediction model and the third prediction model are irrelevant.
2. The data processing method for error correction according to claim 1, characterized in that, The coordinate data information is obtained by: Probe information is obtained; A first driving mechanism is driven, and it is detected whether a first detection driving signal is received to obtain a first detection result; When the detection result is yes, the first detection driving signal is converted to obtain first detection data information; The first detection data information and the probe information are calculated to obtain the first coordinate data information; A second driving mechanism is driven, and it is detected whether a second detection driving signal is received to obtain a second detection result; When the detection result is yes, the second detection driving signal is converted to obtain second detection data information; The second coordinate data information is obtained by performing calculation processing on the second probe data information and the probe information.
3. The data processing method for error correction according to claim 1, wherein, The calculation processing on the coordinate error value information to obtain compensation value information comprises: The first coordinate error value information is input into a preset first compensation model to obtain the first compensation value information. The second coordinate error value information is input into a preset second compensation model to obtain the second compensation value information.
4. The data processing method for error correction according to claim 1, wherein, The coordinate error value information further comprises third coordinate error value information. The compensation value information further comprises third compensation value information. The calculation processing on the coordinate error value information to obtain compensation value information comprises: The weighting coefficient information is obtained. The third compensation value information is obtained by processing the weighting coefficient information and the third coordinate error value information by using a preset third compensation model.
5. The data processing method for error correction according to claim 4, characterized in that, The third compensation value information is obtained by processing the weighting coefficient information and the third coordinate error value information by using a preset third compensation model, which comprises: The coordinate value information is obtained by performing summation calculation on the weighting coefficient information and the third coordinate error value information. The third compensation value information is obtained by performing average calculation on the coordinate value information.
6. A data processing apparatus for error correction, characterized by, The device is used to execute the data processing method for error correction according to any one of claims 1-5, and the device comprises: An acquisition module is configured to acquire coordinate data information; the coordinate data information comprises first coordinate data information and / or second coordinate data information; the coordinate direction represented by the first coordinate data information is inconsistent with the coordinate direction represented by the second coordinate data information; A first calculation module is configured to perform error calculation processing on the coordinate data information to obtain coordinate error value information; the coordinate error value information comprises first coordinate error value information and / or second coordinate error value information; the first coordinate error value information comprises a plurality of first coordinate error values; the second coordinate error value information comprises a plurality of second coordinate error values; A second calculation module is configured to perform calculation processing on the coordinate error value information to obtain compensation value information; the compensation value information comprises first compensation value information and / or second compensation value information; the compensation value information comprises L compensation values; L is a positive integer greater than or equal to 4; the compensation value information is used to indicate error correction.
7. A data processing apparatus for error correction, characterized by, The device comprises: A memory storing executable program codes; A processor coupled with the memory; The processor invokes the executable program codes stored in the memory to execute the data processing method for error correction according to any one of claims 1-5.
8. A computer storable medium, characterized by The computer storage medium stores computer instructions, which are invoked to execute the data processing method for error correction according to any one of claims 1-5.
Citation Information
Patent Citations
Multi-axis machining system, machining method and device thereof and computer readable storage medium
CN112731866A
Multi-spindle efficient drilling and milling machine tool and drilling method thereof
CN113070505A