[go: up one dir, main page]

CN119407606B - Error detection method, device, equipment and storage medium for machine tool - Google Patents

Error detection method, device, equipment and storage medium for machine tool Download PDF

Info

Publication number
CN119407606B
CN119407606B CN202510029998.6A CN202510029998A CN119407606B CN 119407606 B CN119407606 B CN 119407606B CN 202510029998 A CN202510029998 A CN 202510029998A CN 119407606 B CN119407606 B CN 119407606B
Authority
CN
China
Prior art keywords
data
position data
axis
vertex angle
subarea
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202510029998.6A
Other languages
Chinese (zh)
Other versions
CN119407606A (en
Inventor
陈燚
王军见
张南南
孙道金
赵钦志
吴万旭
张云峰
曹志强
边亚超
裴艳虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QUALITY SUPERVISION AND INSPECTION CT OF CHINA MACHINE TOOL
Original Assignee
QUALITY SUPERVISION AND INSPECTION CT OF CHINA MACHINE TOOL
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by QUALITY SUPERVISION AND INSPECTION CT OF CHINA MACHINE TOOL filed Critical QUALITY SUPERVISION AND INSPECTION CT OF CHINA MACHINE TOOL
Priority to CN202510029998.6A priority Critical patent/CN119407606B/en
Publication of CN119407606A publication Critical patent/CN119407606A/en
Application granted granted Critical
Publication of CN119407606B publication Critical patent/CN119407606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Numerical Control (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for detecting errors of a machine tool. The machine tool comprises a bidirectional feed shaft and a workbench, wherein the bidirectional feed shaft is used for driving the workbench, a rectangular coordinate system corresponding to the machine tool is established, first height data of a vertex angle subarea are determined based on first position data, second position data, third position data, fourth position data, first Y-direction height data, second Y-direction height data and a first calculation rule, second height data of other subareas are determined based on fifth position data, sixth position data, seventh position data and eighth position data, first Y-direction height data, second Y-direction height data and a second calculation rule, flatness data of the workbench are determined based on the first height data and the second height data, and error source types of the machine tool are determined based on comprehensive errors and flatness.

Description

Error detection method, device, equipment and storage medium for machine tool
Technical Field
The present application relates to the field of machine tool testing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting errors of a machine tool.
Background
Modern mechanical manufacturing technology is evolving towards high efficiency, high quality, high precision, high integration and high intelligence. The horizontal machining center is important machine tool equipment widely applied to the field of machining, but certain errors exist between two feeding shafts of the horizontal machining center and a workbench surface, so that certain deviation occurs in the process of counter boring of the machine tool.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, apparatus, device and storage medium for detecting errors of a machine tool, which are aimed at determining an error source of the machine tool and providing a reference basis for machine tool data compensation.
The technical scheme of the embodiment of the application is realized as follows:
In a first aspect, an embodiment of the present application provides an error detection method of a machine tool including a bidirectional feed shaft and a table, the bidirectional feed shaft being used to drive the table, the method including:
Establishing a rectangular coordinate system corresponding to the machine tool, wherein the z axis of the rectangular coordinate system is the z axis of the workbench, the x axis of the rectangular coordinate system is the x axis of the workbench, and the bidirectional feeding shafts feed along the x axis and/or the z axis respectively;
acquiring first position data of the vertex angle sub-region when the table angle is 0 degrees, second position data when the table angle is 90 degrees, third position data when the table angle is 180 degrees and fourth position data when the table angle is 270 degrees, and acquiring fifth position data of the other sub-region when the table angle is 0 degrees, sixth position data when the table angle is 90 degrees, seventh position data when the table angle is 180 degrees and eighth position data when the table angle is 270 degrees;
Performing limit difference on the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the seventh position data and the eighth position data to generate a comprehensive error of the bidirectional feed shaft and the workbench;
determining first Y-direction height data of the vertex angle subarea far away from a z-axis zero position and second Y-direction height data of the vertex angle subarea far away from an x-axis zero position based on the first position data, the second position data, the third position data and the fourth position data;
determining first height data of the vertex angle subarea based on the first position data, the second position data, the third position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and a first calculation rule;
Determining second height data of the other sub-areas based on the fifth position data, the sixth position data, the seventh position data and the eighth position data, the first Y-direction height data, the second Y-direction height data and a second calculation rule;
determining flatness data of the table based on the first height data and the second height data;
and determining the error source type of the machine tool based on the integrated error and the flatness.
In some embodiments, the method further comprises:
Determining the first position, the second position data, the third position data and the fourth position data based on the number data of the vertex angle sub-areas and a first mapping relation;
Determining the fifth position data, the sixth position data, the seventh position data and the eighth position data based on the number data of the other sub-areas and the first mapping relation;
The first mapping relation comprises a corresponding relation between each numbered data and position data of each angle.
In some embodiments, the sub-region comprises nine, the method further comprising:
and carrying out region division on the workbench based on a nine-grid division rule to generate nine sub-regions, wherein the nine sub-regions comprise 4 vertex angle sub-regions and 5 other sub-regions.
In some embodiments, the method further comprises:
And numbering the 4 vertex angle subareas and the 5 other subareas based on an s-type numbering sequence, and generating numbering data of the 4 vertex angle subareas and the numbering data of the 5 other subareas.
In some embodiments, the determining the error source type of the machine tool based on the integrated error and the flatness data comprises:
determining an unparallel degree error between the bidirectional feed shaft and the workbench based on the difference value of the comprehensive error data and the flatness data;
comparing the non-parallelism error with the flatness data to generate a comparison result;
And determining the error source type of the machine tool based on the comparison result.
In some embodiments, the comparison results include a first comparison result in which the non-parallelism error is greater than the flatness data and a second comparison result in which the non-parallelism error is less than the flatness data, the error source type includes a first error source type in which the bi-directional feed shaft is non-parallel to the table and a second error source type in which the table flatness, the determining the error source type of the machine tool based on the comparison results includes:
if the comparison result is the first comparison result, determining that the error source type is a first error source type;
And if the comparison result is the second comparison result, determining that the error source type is the second error source type.
In some embodiments, the first calculation rule is:
Wherein z1 is Y-direction height data of the vertex angle subarea at a zero point of a z axis, z1=0, x1 is Y-direction height data of the vertex angle subarea at a zero point of an x axis, x1=0, z3 is first Y-direction height data of the vertex angle subarea at a position far away from the zero point of the z axis, x3 is second Y-direction height data of the vertex angle subarea at a position far away from the zero point of the x axis, h1n, h2n, h3n and h4n are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the vertex angle subarea respectively, hn is a height change value of the self-flatness of the vertex angle subarea, and n is the number of the vertex angle subarea.
In some embodiments, the second calculation rule comprises:
Wherein z1 is Y-direction height data of a vertex angle subarea at a zero point of a z axis, z1=0, z3 is first Y-direction height data of the vertex angle subarea far away from the zero point of the z axis, z2 is Y-direction height data of other subareas between z1 and z3, x1 is Y-direction height data of the vertex angle subarea at the zero point of an x axis, x 1=0, x3 is second Y-direction height data of the vertex angle subarea far away from the zero point of the x axis, x2 is Y-direction height data of other subareas between x1 and x3, h1m, h2m, h3m and h4m are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the other subareas respectively, hm is height change value of flatness of the other subareas, and m is number of the other subareas.
In a second aspect, an embodiment of the present application provides an error detection apparatus for a machine tool including a bidirectional feed shaft for driving a table and the table, the error detection apparatus comprising:
The system comprises a machine tool, a building module, a working table, a control module and a control module, wherein the machine tool is provided with a rectangular coordinate system corresponding to the machine tool, a z-axis of the rectangular coordinate system is a z-axis of the working table, an x-axis of the rectangular coordinate system is an x-axis of the working table, and the bidirectional feeding shafts respectively feed along the x-axis and/or the z-axis;
An acquisition module for acquiring first position data of the vertex angle sub-region at the table angle of 0 degrees, second position data at the table angle of 90 degrees, third position data at the table angle of 180 degrees, and fourth position data at the table angle of 270 degrees, and fifth position data of the other sub-region at the table angle of 0 degrees, sixth position data at the table angle of 90 degrees, seventh position data at the table angle of 180 degrees, and eighth position data at the table angle of 270 degrees;
The generating module is used for carrying out limit difference on the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the seventh position data and the eighth position data to generate a comprehensive error of the feeding shaft and the workbench;
The determining module is used for determining first Y-direction height data of the vertex angle subarea far away from the zero position of the z axis and second Y-direction height data of the vertex angle subarea far away from the zero position of the x axis based on the first position data, the second position data, the third position data and the fourth position data;
determining first height data of the vertex angle subarea based on the first position data, the second position data, the third position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and a first calculation rule;
Determining second height data of the other sub-areas based on the fifth position data, the sixth position data, the seventh position data and the eighth position data, the first Y-direction height data, the second Y-direction height data and a second calculation rule;
determining flatness data of the table based on the first height data and the second height data;
and determining the error source type of the machine tool based on the integrated error and the flatness.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory for storing a computer program capable of running on the processor, where the processor is configured to execute the steps of the method according to the first aspect of the embodiment of the present application when the computer program is run.
In a fourth aspect, embodiments of the present application provide a computer storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the method according to the first aspect.
According to the technical scheme provided by the embodiment of the application, the structural characteristics and the motion characteristics of the machine tool are considered, the flatness data of the workbench can be accurately determined by determining the first Y-direction height data of the vertex angle subregion, which is far away from the zero position of the z axis under different angles, and the second Y-direction height data of the vertex angle subregion, which is far away from the zero position of the x axis under different angles, and comprehensively analyzing and processing the height data by utilizing the second calculation rule. Meanwhile, according to a first calculation rule, combining a plurality of groups of position data and height data, further determining the comprehensive error of the bidirectional feeding shaft and the workbench, and finally analyzing the flatness error of the workbench and the comprehensive error between the bidirectional feeding shaft and the workbench to determine the error source type of the machine tool, thereby providing a reference basis for machine tool data compensation.
Drawings
Fig. 1 is a flow chart of an error detection method of a machine tool according to an embodiment of the present application;
FIG. 2 is a diagram showing the number of the table points and the different transposition of the workbench of the horizontal machining center according to the embodiment of the application;
fig. 3 is a schematic structural diagram of an error detection device of a machine tool according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the accompanying drawings and examples. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application in order that the above objects, features and advantages of the application will be apparent from the following more detailed description of the application when taken in conjunction with the accompanying drawings.
The embodiment of the application provides a machine tool, which comprises a bidirectional feed shaft and a workbench, wherein the bidirectional feed shaft is used for driving the workbench.
It is understood that machine tool equipment includes lathes, milling machines, drilling machines, grinding machines, machining centers (e.g., horizontal machining centers, vertical machining centers), and the like.
In some embodiments, the machine tool apparatus is a horizontal machining center, which is a type of work station that uses a horizontal placement, and the work piece is machined by the rotation of the work station and the movement of the tool in all directions. Compared with a vertical machining center, the horizontal machining center has a larger workbench size and can machine workpieces with larger sizes. Meanwhile, the horizontal machining center can flexibly perform multi-axis machining, so that the machining is finer and more complex.
Here, the machine tool includes a bi-directional feed shaft for driving the table and a table. The horizontal machining center has a horizontally disposed spindle, and the table is movable in horizontal and vertical directions (driven by a corresponding bi-directional feed shaft).
The embodiment of the application provides an error detection method of a machine tool, which comprises the following steps:
and 110, establishing a rectangular coordinate system corresponding to the machine tool, wherein the z axis of the rectangular coordinate system is the z axis of the workbench, the x axis of the rectangular coordinate system is the x axis of the workbench, the bidirectional feeding shafts respectively feed along the x axis and/or the z axis, and the workbench comprises a plurality of subareas, wherein the types of the subareas comprise vertex angle subareas and other subareas.
It can be understood that, in order to detect an error of a machine tool, the embodiment of the application corresponds the rectangular coordinate system to an actual structure of the machine tool, so that the z axis of the rectangular coordinate system of the machine tool coincides with the z axis of the workbench, and the x axis coincides with the x axis of the workbench.
It will be appreciated that in order to analyze the effect of different parts of the table on the machining accuracy. The embodiment of the application divides the workbench into a plurality of subareas, wherein the workbench comprises a plurality of subareas, and the types of the subareas comprise vertex angle subareas and other subareas.
It will be appreciated that the vertex angle sub-regions generally refer to specific regions located at the four corners of the table. The other sub-areas refer to other areas of the table than the top corner sub-areas.
Further, the vertex angle sub-areas include a plurality of the same, and the other sub-areas include a plurality of the same.
Illustratively, as shown in fig. 2, a machine z-direction is selected as a table z-direction, a machine x-direction is selected as a table x-direction, and a table coordinate system is established. The table top is divided into nine subregions by 3 lines and 3 longitudinal directions, each subregion is selected as a measuring point, specific regions positioned at four corners of the table top are vertex angle subregions, the vertex angle subregions comprise four, and other subregions of the action table comprise five.
Step 120 of acquiring first position data of the vertex angle sub-region at a table angle of 0 degrees, second position data at a table angle of 90 degrees, third position data at a table angle of 180 degrees and fourth position data at a table angle of 270 degrees, and fifth position data of other sub-regions at a table angle of 0 degrees, sixth position data at a table angle of 90 degrees, seventh position data at a table angle of 180 degrees and eighth position data at a table angle of 270 degrees.
It will be appreciated that the positional data of each sub-area may be measured using a detection table clamped to the tooling. In practical application, the detection table can be clamped on the tool, and the position data of the subareas can be measured through the detection table. For example, the detection table may measure the distance of the surface of the sub-region to a certain fixed point, e.g. the center point of the sub-region, so that these measurement data are obtained, thereby providing a basis for a subsequent error analysis.
It will be appreciated that in order to analyze the error characteristics of the table and the resultant error between the bi-directional feed shaft and the table, positional data for the top corner sub-region and other sub-regions at a plurality of specific angles, including 0 degrees, 90 degrees, 180 degrees, and 270 degrees, may be obtained based on the detection table.
The method comprises the steps of rotating a workbench anticlockwise sequentially, recording as B0 bit when the angle of the workbench is 0 degree, measuring and obtaining position data of all subareas of the workbench at the moment, wherein the position data specifically comprises first position data of a vertex angle subarea and fifth position data of other subareas, recording as B90 bit when the workbench is rotated anticlockwise, measuring and obtaining second position data of the vertex angle subarea and sixth position data of other subareas at the moment, repeating the above operation sequentially, performing transposition for 4 times in total, sequentially rotating anticlockwise by 90 degrees, recording two measurements after the transposition as B180 bit and B270 bit respectively, wherein the B180 bit corresponds to third position information of the vertex angle subarea and seventh position information of other subareas, and the B270 bit corresponds to fourth position information of the vertex angle subarea and eighth position information of other subareas.
Illustratively, as shown in FIG. 2, assuming 9 sub-areas for the table, ①②③④⑤⑥⑦⑧⑨, at B0, the table reading for detection of table sub-area ①-⑨ at this location may be represented by h11-h19, h11-h19 including the first and fifth position data described above. In the case of B90, the whole workbench is rotated 90 degrees anticlockwise, h21-h29 represents the reading of the table for detection of the workbench point ①-⑨, h21-h29 comprises the second position data and the sixth position data, h31-h39 and h41-h49 represent B180 respectively, and B270 represents the reading of the table for detection of the ①-⑨ points. Here, h31 to h39 include the above-described third position data and seventh position data, and h41 to h49 include the above-described fourth position data and eighth position data.
And 130, performing limit difference on the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the seventh position data and the eighth position data to generate a comprehensive error of the bidirectional feed shaft and the workbench.
It can be understood that the comprehensive errors of the bidirectional feed shaft and the workbench comprise position errors such as positioning errors, repeated positioning errors and the like, motion errors such as parallelism errors, straightness errors, perpendicularity errors and the like of the bidirectional feed shaft and the workbench plane, and dynamic errors such as following errors, acceleration errors and the like. These errors can affect machine tool machining accuracy, workpiece quality, and machine tool performance.
Illustratively, the first position data and the fifth position data corresponding to the B0 position, the second position data and the sixth position data corresponding to the B90 position, the third position data and the seventh position data corresponding to the B180 position, and the fourth position data and the eighth position data corresponding to the B270 position are subjected to a limit difference solution, so as to obtain a comprehensive error S between the bidirectional feed shaft and the table top. Specifically, the comprehensive error S of the bidirectional feed shaft and the workbench is accurately calculated through the 4X 9 groups of data, and a key basis is provided for machine tool precision analysis.
And 140, determining first Y-direction height data of the vertex angle subarea far from the zero position of the z axis and second Y-direction height data of the vertex angle subarea far from the zero position of the x axis based on the first position data, the second position data, the third position data and the fourth position data.
Illustratively, as shown in fig. 2, the table is forward along the table top Z, respectively Z3 (containing ⑦,⑧,⑨), Z2 (containing ④,⑤,⑥) and Z1 (containing ①,②,③ points), forward along x (containing ①,④,⑦), x2 (containing ②,⑤,⑧), and x3 (containing ③,⑥,⑨).
The z1, z2, z3 are Y-direction heights of three different positions relative to the zero point of the z axis, and the x1, x2, x3 are Y-direction heights of three different positions relative to the zero point of the x axis. Specifically, z1 is the Y-direction height of the vertex angle subarea at the zero position of the z axis, z3 is the Y-direction height of the vertex angle subarea away from the zero position of the z axis, z2 is the Y-direction height of other subareas between z1 and z3, x1 is the Y-direction height of the zero point of the x axis, x3 is the second Y-direction height data of the vertex angle subarea away from the zero point of the x axis, and x2 is the Y-direction height of other subareas between x1 and x 3.
It will be appreciated that for the vertex angle sub-region, the position change condition of the vertex angle sub-region relative to the coordinate axis zero point at different table angles can be determined based on the position data of the different angles, in particular, based on the first position data, the second position data, the third position data and the fourth position data, so as to determine the first Y-direction height data of the vertex angle sub-region away from the z-axis zero point position and the second Y-direction height data of the vertex angle sub-region away from the x-axis zero point position, thereby further evaluating the error source of the machine tool.
Step 150, determining the first height data of the top corner subareas based on the first position data, the second position data, the third position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and the first calculation rule.
Illustratively, the embodiment of the application averages the first Y-direction height data Z3 and the second Y-direction height data X3 to obtain a two-point average value, which is denoted as X3 and Z3. Then substituting the first calculation rule again, and based on the first position data, the second position data, the third position data and the fourth position data, obtaining the height change values of the multiple vertex angle subareas, wherein n is the number of the vertex angle subareas, and then carrying out averaging treatment on the height change values to obtain average values of each point, and marking the average values as H1, H3, H7 and H9.
Step 160, determining second height data of other subareas based on the fifth position data, the sixth position data, the seventh position data and the eighth position data, the first Y-direction height data, the second Y-direction height data and the second calculation rule.
It will be appreciated that in determining the first Y-direction height data and the second Y-direction height data, since the other sub-regions are all regions located between the top corner sub-regions, the second height data of the other sub-regions can be determined by the first Y-direction height data, the second Y-direction height data, and the position data of the other sub-regions at different angles, namely, the fifth position data, the sixth position data, the seventh position data, and the eighth position data, and the second calculation rule.
Step 170, determining the flatness data of the workbench based on the first height data and the second height data, and determining the error source type of the machine tool based on the integrated error and the flatness.
It will be appreciated that after determining the first height data of the top corner sub-area and the second height data of the other sub-areas, the flatness data of the table may be determined based on the first height data and the second height data, and the error source type of the machine tool may be determined based on the integrated error and flatness.
According to the technical scheme provided by the embodiment of the application, the structural characteristics and the motion characteristics of the machine tool are considered, the flatness data of the workbench can be accurately determined by determining the first Y-direction height data of the vertex angle subregion, which is far away from the zero position of the z axis under different angles, and the second Y-direction height data of the vertex angle subregion, which is far away from the zero position of the x axis under different angles, and comprehensively analyzing and processing the height data by utilizing the second calculation rule. Meanwhile, according to a first calculation rule, combining a plurality of groups of position data and height data, further determining the comprehensive error of the bidirectional feeding shaft and the workbench, and finally analyzing the flatness error of the workbench and the comprehensive error between the bidirectional feeding shaft and the workbench to determine the error source type of the machine tool, thereby providing a reference basis for machine tool data compensation.
In some embodiments, the method further comprises:
Determining a first position, second position data, third position data and fourth position data based on the number data of the vertex angle sub-areas and the first mapping relation;
determining fifth position data, sixth position data, seventh position data and eighth position data based on the number data of the other sub-areas and the first mapping relation;
the first mapping relation comprises a corresponding relation between each numbered data and position data of each angle.
It can be appreciated that the embodiment of the present application assigns numbering data to the top corner sub-regions and other sub-regions, each numbering data uniquely corresponding to one top corner sub-region and other sub-regions.
Here, the first mapping relationship includes a correspondence relationship between each number data and position data of each angle. When the number data of the sub-region is acquired by knowing the top corner sub-region, the position data of the top corner sub-region under different angles (0 degrees, 90 degrees, 180 degrees, 270 degrees), namely, the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the fifth position data and the eighth position data, can be determined by inquiring the first mapping relation.
In some embodiments, the sub-regions comprise nine, the method further comprising:
based on a nine-grid division rule, carrying out region division on the workbench to generate nine sub-regions, wherein the nine sub-regions comprise 4 vertex angle sub-regions and 5 other sub-regions.
Illustratively, as shown in fig. 2, the nine-grid division rule is a method of dividing a table plane into nine equal-sized regions, and the divided nine sub-regions include 4 vertex angle sub-regions and 5 other sub-regions.
Vertex angle sub-areas located at the four corners of the table, which areas have specific positions in the geometry of the table, may be affected by different forces and deformations, and may have different error characteristics than other areas. For example, during machining by a machine tool, the top corner sub-regions may be more susceptible to certain errors due to factors such as cutting forces, the weight of the table itself, and mounting structure.
Other subregions, namely five regions except for four vertex angle subregions, the regions are majority in quantity, and the error characteristics of the regions are different from those of the vertex angle subregions due to different positions. For example, other sub-regions located near the center of the table may be affected by different cutting force transmission and distribution than the top corner sub-regions, resulting in different deformation errors.
In practical application, the table surface of the workbench is firstly subjected to homogenization treatment, then the nine-grid points of the table surface are established, the nine-grid points of the table surface are dotted by utilizing 3 rows and 3 columns, and the center of each grid point is selected as a measuring point.
In some embodiments, the method further comprises:
and numbering the 4 vertex angle subareas and 5 other subareas based on the S-shaped numbering sequence, and generating the numbering data of the 4 vertex angle subareas and the numbering data of the 5 other subareas.
It will be appreciated that after the sub-division of the table, the 4 top corner sub-areas and the 5 other sub-areas are numbered for ease of distinguishing and managing the respective sub-areas. The numbering can enable each sub-region to have a unique identification, so that the data of a specific sub-region can be accurately referenced and processed in the subsequent error detection and analysis process.
In practical application, as shown in fig. 2, the table surface of the workbench is subjected to homogenization treatment, nine grid points of the table surface are established and numbered uniformly, 3 rows and 3 longitudinal directions are utilized to dotted the nine grid points of the table surface, and the center of each grid point is selected as a measuring point. Meanwhile, the number groups are established in the S-shaped sequence, along the Z forward direction of the table top, respectively Z3 rows (containing ⑦,⑧,⑨), Z2 rows (containing ④,⑤,⑥) and Z1 rows (containing ①,②,③), along the X forward direction, respectively x1 columns (containing ①,④,⑦), x2 columns (containing ②,⑤,⑧) and x3 columns (containing ③,⑥,⑨).
In some embodiments, determining the error source type of the machine tool based on the integrated error and the flatness data includes:
determining an unparallel degree error between the bidirectional feed shaft and the workbench based on the difference value of the comprehensive error data and the flatness data;
Comparing the non-parallelism error with the flatness data to generate a comparison result;
based on the comparison result, the error source type of the machine tool is determined.
For example, the integrated error data may be represented by S, the flatness data by F, and in practical application, the difference between the calculated integrated error data S and the flatness error data F, that is, the non-parallelism error between the bidirectional feeding shaft and the workbench, may be denoted as N.
And comparing the unevenness error N with the flatness data to generate a comparison result, and determining the error source type of the machine tool based on the comparison result.
In some embodiments, the comparison results include a first comparison result with a non-parallelism error greater than the flatness data and a second comparison result with a non-parallelism error less than the flatness data, the error source type includes a first error source type with the bi-directional feed shaft non-parallel to the table and a second error source type with the table flatness, and determining the error source type for the machine tool based on the comparison results includes:
if the comparison result is the first comparison result, determining that the error source type is the first error source type;
If the comparison result is the second comparison result, determining the error source type as the second error source type.
It will be appreciated that the integrated error data is denoted S and the flatness data is denoted F. By comparing the difference between the integrated error data S and the flatness error data F, the non-parallelism error N between the bi-directional feeding shaft and the table can be obtained. This non-parallelism error N reflects the degree of deviation of the bi-directional feed shaft from the table in terms of parallelism.
It will be appreciated that the comparison results are divided into two types, a first comparison result in which the non-parallelism error is greater than the flatness data and a second comparison result in which the non-parallelism error is less than the flatness data. The first comparison result shows that the problem of non-parallelism between the bi-directional feed shaft and the table is relatively more pronounced in the error behavior of the machine tool. The second comparison indicates that the table flatness problem is more pronounced in the current errors.
Here, the error source types are respectively classified into a first error source type in which the bidirectional feed shaft is not parallel to the table and a second error source type in which the table is planar. If the comparison result is a first comparison result, i.e. the non-parallelism error is greater than the flatness data, the error source type is determined to be a first error source type. If the comparison result is the second comparison result, that is, the non-parallelism error is smaller than the flatness data, determining the error source type as the second error source type.
Therefore, the main source of the comprehensive error between the bidirectional feeding shaft and the workbench can be determined by judging the two values of the non-parallelism error N and the flatness data F between the bidirectional feeding shaft and the workbench, and a certain reference is provided for machine tool error compensation.
In some embodiments, the first calculation rule is:
Wherein z1 is Y-direction height data of the vertex angle subarea at a zero point of a z axis, z1=0, x1 is Y-direction height data of the vertex angle subarea at a zero point of an x axis, x1=0, z3 is first Y-direction height data of the vertex angle subarea at a position far away from the zero point of the z axis, x3 is second Y-direction height data of the vertex angle subarea at a position far away from the zero point of the x axis, h1n, h2n, h3n and h4n are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the vertex angle subarea respectively, hn is a height change value of the self-flatness of the vertex angle subarea, and n is the number of the vertex angle subarea.
Illustratively, in fig. 2, the top corner sub-regions include sub-regions ①, ③, ⑦, and ⑨, which correspond to first height data for H1, H3, H7, H9, respectively. h1, h3, h7, h9 are height variation values corresponding to sub-regions ①, ③, ⑦ and ⑨, respectively.
In actual calculation, it is assumed that X1 and z1=0, so as to calculate the values of X3 and Z3 under the positions B0, B90, B180 and B270, then, performing averaging treatment on multiple groups of X3 and Z3 data to obtain two-point average values, which are marked as X3 and Z3, then, substituting the two-point average values into the above formula again to obtain multiple groups of values of H1, H3, H7 and H9, and then performing averaging treatment to obtain the average values of the points, which are marked as H1, H3, H7 and H9.
In some embodiments, the second calculation rule comprises:
Wherein z1 is Y-direction height data of a vertex angle subarea at a zero point of a z axis, z1=0, z3 is first Y-direction height data of the vertex angle subarea far away from the zero point of the z axis, z2 is Y-direction height data of other subareas between z1 and z3, x1 is Y-direction height data of the vertex angle subarea at the zero point of an x axis, x 1=0, x3 is second Y-direction height data of the vertex angle subarea far away from the zero point of the x axis, x2 is Y-direction height data of other subareas between x1 and x3, h1m, h2m, h3m and h4m are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the other subareas respectively, hm is height change value of flatness of the other subareas, and m is number of the other subareas.
Illustratively, in fig. 2, the other sub-regions include sub-region ②, sub-region ④, sub-region ⑤, sub-region ⑥, and sub-region ⑧, which correspond to the second height data with H2, H4, H5, H6, H8, respectively. h2, h4, h5, h6, h8 are height change values corresponding to sub-region ②, sub-region ④, sub-region ⑤, sub-region ⑥, and sub-region ⑧, respectively.
In the process of x-direction and z-direction movement of the bidirectional feeding shaft of the machine tool, the movement track is linearly changed, so that the error change between x1 and x3 and between z1 and z3 can be approximately regarded as linear change, x2 and z2 are taken as intermediate points, the two-way feeding shaft can be obtained through calculation of (x 3-x 1)/2 and (z 3-z 1)/2, the values of x2 and z2 can be substituted into the above formula, a plurality of groups of values of H2, H4, H5, H6 and H8 are obtained through calculation, and then the average treatment is carried out on the values to obtain the height values of each point, namely H2, H4, H5, H6 and H8.
The application is described in detail below in connection with an application example.
The non-parallel errors between the x and z feeding shafts and the workbench are superposed with the flatness errors of the workbench, so that the machining precision of the horizontal machining center is out of tolerance. Based on this, this application example relates to a method for measuring and calculating an integrated error between an indexable feed shaft and a table, as shown in fig. 2, the table top is first dotted with 3 rows and 3 columns, then the table top is set up with the same coordinate system as the machine tool' S own coordinate system, and the table points are numbered in S-shape based on this, along the table top Z forward direction, Z3 rows (including ⑦,⑧,⑨), Z2 rows (including ④,⑤,⑥) and Z1 rows (including ①,②,③), along the x forward direction, x1 columns (including ①,④,⑦), x2 columns (including ②,⑤,⑧), and x3 columns (including ③,⑥,⑨). The z1, z2 and z3 are Y-directional heights of three different positions relative to the zero point of the z axis, the x1, x2 and x3 are Y-directional heights of three different positions relative to the zero point of the x axis, and the height change of the flatness of the nine-grid point ①-⑨ is represented by h1-h 9. Then, each of the spots was measured by using the table for detection, and after each measurement was completed, the spot numbers at four positions of 90 degrees, B0, B90, B180, and B270 were rotated counterclockwise as shown in fig. 2.
And calculating the integrated error S of the feeding shaft and the workbench by using 4x9 groups of data, substituting the data into a specific algorithm to obtain the self-height values H1-H9 of each point, calculating the self-flatness F of the workbench based on the self-height values H1-H9, and finally comparing the calculated integrated error S with the calculated flatness error F to obtain the difference value of the two errors, namely the non-parallelism error between the feeding shaft and the workbench, namely the non-parallelism error is recorded as N, and the main source of the integrated error between the feeding shaft and the workbench can be determined by judging the two values of N and F, so that a certain reference is provided for machine tool error compensation.
In the present application example, the numbers n of the vertex angle sub-areas are 1, 3, 7 and 9, and the numbers m of the other sub-areas are 2, 4,5, 6 and 8. With reference to fig. 2, the specific implementation flow of the present application example is as follows:
(1) Firstly homogenizing the table surface of a workbench, establishing nine grid points of the table surface, numbering the nine grid points uniformly, measuring the nine grid points sequentially by using a detection table clamped on a tool to obtain a numerical value of each point, and marking the first measurement position as B0.
(2) After the first measurement is finished, the workbench is rotated 90 degrees anticlockwise, then the nine grid points of the table top are measured again, the measurement is marked as B90 bits, the operation is repeated in sequence, 4 times of transposition are performed in the test, the workbench is rotated 90 degrees anticlockwise successively, and the two measurements are respectively B180 bits and B270 bits.
(3) Selecting the z direction of the machine tool as the z direction of the working table, selecting the x direction of the machine tool as the x direction of the working table, and establishing a table coordinate system. Nine grids of the table top are dotted vertically by 3 rows and 3 columns, the center of each grid point is selected as a measuring point, a serial number group is established according to an S-shaped sequence, and the serial number group is respectively Z3 rows (including 7,8 and 9 points), Z2 rows (including 4,5 and 6 points) and Z1 rows (including 1,2 and 3 points) along the Z positive direction of the table top, and is respectively x1 columns (including 1,4 and 7 points), x2 columns (including 2,5 and 8 points) and x3 columns (including 3,6 and 9 points) along the X positive direction.
(4) The z1, z2 and z3 are Y-direction heights of three different positions relative to the zero point of the z axis, the x1, x2 and x3 are Y-direction heights of three different positions relative to the zero point of the x axis, and the h1-h9 is used for representing the height change of the self-flatness of the nine-grid points 1-9.
(5) In the case of B90, the whole workbench rotates 90 degrees anticlockwise, the nine-grid point of the workbench correspondingly rotates 90 degrees, in the case of B90, h21-h29 represents the reading of the detection table of the workbench points 1-9, h31-h39, h41-h49 represents B180, and B270 represents the reading of the detection table of the workbench points 1-9.
(6) And carrying out limit difference solving on the data measured in the positions B0, B90, B180 and B270 to obtain the comprehensive error S between the feeding shaft and the workbench surface.
(7) The difference values of x3-x1 and z3-z1 at positions B0, B90, B180, and B270 for nine grid points 1,3,7, and 9 were calculated using the following calculation method.
Nine-grid point 1:
nine grid points 3:
Nine grid points 7:
Nine grid points 9:
In the calculation, it is assumed that X1 and z1=0, so as to calculate the values of X3 and Z3 under the positions B0, B90, B180 and B270, then, the average treatment is performed on the multiple groups of X3 and Z3 data to obtain two-point average values, which are marked as X3 and Z3, then, the two-point average values are substituted into the above formula again to obtain multiple groups of values of H1, H3, H7 and H9, and then, the average treatment is performed to obtain the average values of the points, which are marked as H1, H3, H7 and H9.
(8) The values of nine grid points 2,4,5,6,8 at bits B0, B90, B180, B270 were calculated using the following calculation method.
Nine-grid point 2:
nine grid points 4:
nine grid points 5:
nine grid points 6:
nine grid points 8:
In the process of x-direction and z-direction movement of a feeding shaft of the machine tool, the movement track is linearly changed, so that the error change between x1 and x3 and between z1 and z3 can be approximately regarded as linear change, x2 and z2 are taken as intermediate points, the values of x2 and z2 can be obtained through calculation of (x 3-x 1)/2 and (z 3-z 1)/2, the values of H2, H4, H5, H6 and H8 are obtained through calculation by substituting the values of x2 and z2 into the above formula, and then the values are subjected to averaging treatment to obtain the height values of each point, namely H2, H4, H5, H6 and H8.
(9) The height values H1-H9 of 1-9 points are obtained after calculation, the height values can be regarded as the self-height values of the points of the workbench, and the workbench flatness F is obtained based on the solving.
(10) And comparing the calculated integrated error S with the flatness error F, wherein the difference value of the integrated error S and the flatness error F is the non-parallelism error between the feeding shaft and the workbench and is recorded as N, and the main source of the integrated error between the feeding shaft and the workbench can be determined by judging the two values of N and F, so that a certain reference is provided for machine tool error compensation.
In order to implement the method according to the embodiment of the present application, the embodiment of the present application further provides an error detection device for a machine tool, where the machine tool includes a bidirectional feed shaft and a workbench, the bidirectional feed shaft is used to drive the workbench, the error detection device for the machine tool corresponds to the error detection method for the machine tool, and each step in the error detection method embodiment for the machine tool is also fully applicable to the error detection device embodiment for the machine tool.
As shown in fig. 3, the error detection device 300 of the machine tool comprises a building module 301, an acquisition module 302, a generation module 303 and a determination module 304. The establishing module 301 is configured to establish a rectangular coordinate system corresponding to the machine tool, wherein a z-axis of the rectangular coordinate system is a z-axis of the workbench, an x-axis of the rectangular coordinate system is an x-axis of the workbench, and the bidirectional feeding shafts respectively feed along the x-axis and/or the z-axis; the workbench comprises a plurality of subareas, wherein the types of the subareas comprise vertex angle subareas and other subareas; the acquisition module 302 is configured to acquire first position data of the vertex angle sub-region when the table angle is 0 degrees, second position data when the table angle is 90 degrees, third position data when the table angle is 180 degrees, and fourth position data when the table angle is 270 degrees; the generation module 303 is used for carrying out limit difference on the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the seventh position data and the eighth position data to generate the comprehensive error of the bidirectional feed shaft and the workbench, the determination module 304 is used for determining the first Y-direction height data of the vertex angle subarea far from the z-axis zero point position and the second Y-direction height data of the vertex angle subarea far from the x-axis zero point position based on the first position data, the second position data, the third position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and the first calculation rule, the determination module 304 is used for determining the first height data of the vertex angle subarea based on the first position data, the second position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and the first calculation rule, the determination module 304 is used for determining the first Y-direction height data of the vertex angle subarea far from the z-axis zero point position based on the first position data, the third position data, the fourth position data, the first Y-direction height data and the first calculation rule, the method comprises the steps of determining second height data of other subareas according to sixth position data, seventh position data, eighth position data, first Y-direction height data, second Y-direction height data and a second calculation rule, determining flatness data of a workbench according to the first height data and the second height data, and determining an error source type of a machine tool according to the comprehensive error and flatness.
In some embodiments, the determining module 304 is further configured to determine the first position, the second position data, the third position data, and the fourth position data based on the number data of the vertex angle sub-region and the first mapping relationship, and determine the fifth position data, the sixth position data, the seventh position data, and the eighth position data based on the number data of the other sub-region and the first mapping relationship, where the first mapping relationship includes a correspondence between each number data and each angle position data.
In some embodiments, the sub-areas include nine sub-areas, and the error detection module of the machine tool further includes a dividing module 305, configured to divide the area of the workbench based on a nine-grid division rule, to generate nine sub-areas, where the nine sub-areas include 4 vertex angle sub-areas and 5 other sub-areas.
In some embodiments, the error detection module of the machine tool further includes a numbering module 306 for numbering the 4 vertex angle subregions and the 5 other subregions based on an s-type numbering order, generating numbering data for the 4 vertex angle subregions and numbering data for the 5 other subregions.
In some embodiments, the determining module 304 is further configured to determine an unparallel degree error between the bidirectional feed shaft and the worktable based on a difference between the integrated error data and the flatness data, the generating module 303 is further configured to compare the unparallel degree error and the flatness data to generate a comparison result, and the determining module 304 is further configured to determine an error source type of the machine tool based on the comparison result.
In some embodiments, the comparison result includes a first comparison result with a non-parallelism error greater than the flatness data and a second comparison result with a non-parallelism error less than the flatness data, and the determining module 304 is further configured to determine that the error source type is the first error source type if the comparison result is the first comparison result, and determine that the error source type is the second error source type if the comparison result is the second comparison result.
In practical applications, the establishing module 301, the acquiring module 302, the generating module 303, the determining module 304, the dividing module 305 and the numbering module 306 may be implemented by a processor in an error detecting device of the machine tool. Of course, the processor needs to run a computer program in memory to implement its functions.
It should be noted that, when the error detection device for a machine tool provided in the foregoing embodiment performs error detection for the machine tool, only the division of the foregoing program modules is used as an example, in practical application, the foregoing processing may be allocated to be performed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the foregoing embodiments provide that the error detection device of the machine tool and the error detection method embodiment of the machine tool belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and are not repeated herein.
Based on the hardware implementation of the program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an electronic device. Fig. 4 shows only an exemplary structure of the electronic device, not all of which may be implemented as needed. As shown in fig. 4, an electronic device 400 provided by an embodiment of the application includes at least one processor 401, memory 402, a user interface 403, and at least one network interface 404. The various components in electronic device 400 are coupled together by bus system 405. It is understood that the bus system 405 is used to enable connected communications between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, or touch screen, etc.
The memory 402 in embodiments of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include any computer program for operating on an electronic device.
The control method of the electronic device disclosed in the embodiment of the application can be applied to the processor 401 or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the control method of the electronic device may be performed by integrated logic circuits of hardware in the processor 401 or instructions in the form of software. The Processor 401 may be a general purpose Processor, a digital signal Processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 401 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the application can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software module may be located in a storage medium, where the storage medium is located in the memory 402, and the processor 401 reads information in the memory 402, and in combination with hardware, performs the steps of the control method of the electronic device provided by the embodiment of the application.
In an exemplary embodiment, the electronic device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable logic devices (PLDs, programmable Logic Device), complex programmable logic devices (CPLDs, complex Programmable Logic Device), field programmable gate arrays (FPGAs, field Programmable GATE ARRAY), general purpose processors, controllers, microcontrollers (MCU, microController Unit), microprocessors (microprocessors), or other electronic elements for performing the foregoing methods.
It is to be appreciated that memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The non-volatile Memory may be, among other things, a Read Only Memory (ROM), a programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read-Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read-Only Memory (EEPROM, electricallyErasable Programmable Read-Only Memory), Magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk-Only Memory (CD-ROM, compact Disc Read-Only Memory), which may be magnetic disk Memory or volatile Memory may be random access Memory (RAM, random Access Memory), which serves as an external cache. by way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static RandomAccess Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), and, Double data rate synchronous dynamic random access memory (DDRSDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). the memory described by embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present application further provides a computer storage medium, which may be a computer readable storage medium, and a computer program stored thereon, where the computer program may be executed by a processor to perform the steps of the method according to the embodiment of the present application. The computer readable storage medium may be ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that "first," "second," etc. are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
In addition, the embodiments of the present application may be arbitrarily combined without any collision.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily appreciate variations or alternatives within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. An error detection method of a machine tool, the machine tool including a bi-directional feed shaft and a table, the bi-directional feed shaft for driving the table, the method comprising:
Establishing a rectangular coordinate system corresponding to the machine tool, wherein the z axis of the rectangular coordinate system is the z axis of the workbench, the x axis of the rectangular coordinate system is the x axis of the workbench, and the bidirectional feeding shafts feed along the x axis and the z axis respectively;
acquiring first position data of the vertex angle sub-region when the table angle is 0 degrees, second position data when the table angle is 90 degrees, third position data when the table angle is 180 degrees and fourth position data when the table angle is 270 degrees, and acquiring fifth position data of the other sub-region when the table angle is 0 degrees, sixth position data when the table angle is 90 degrees, seventh position data when the table angle is 180 degrees and eighth position data when the table angle is 270 degrees;
Performing limit difference on the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the seventh position data and the eighth position data to generate a comprehensive error of the bidirectional feed shaft and the workbench;
determining first Y-direction height data of the vertex angle subarea far away from a z-axis zero position and second Y-direction height data of the vertex angle subarea far away from an x-axis zero position based on the first position data, the second position data, the third position data and the fourth position data;
determining first height data of the vertex angle subarea based on the first position data, the second position data, the third position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and a first calculation rule;
Determining second height data of the other sub-areas based on the fifth position data, the sixth position data, the seventh position data and the eighth position data, the first Y-direction height data, the second Y-direction height data and a second calculation rule;
determining flatness data of the table based on the first height data and the second height data;
Determining an error source type of the machine tool based on the integrated error and the flatness data;
wherein, the first calculation rule is:
;
Wherein z1 is Y-direction height data of the vertex angle subarea at a zero point of a z axis, z1=0, x1 is Y-direction height data of the vertex angle subarea at a zero point of an x axis, x1=0, z3 is first Y-direction height data of the vertex angle subarea at a position far away from the zero point of the z axis, x3 is second Y-direction height data of the vertex angle subarea at a position far away from the zero point of the x axis, h1n, h2n, h3n and h4n are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the vertex angle subarea respectively, hn is a height change value of the self-flatness of the vertex angle subarea, and n is the number of the vertex angle subarea;
wherein the second calculation rule includes:
;
Wherein z1 is Y-direction height data of a vertex angle subarea at a zero point of a z axis, z1=0, z3 is first Y-direction height data of the vertex angle subarea far away from the zero point of the z axis, z2 is Y-direction height data of other subareas between z1 and z3, x1 is Y-direction height data of the vertex angle subarea at the zero point of an x axis, x 1=0, x3 is second Y-direction height data of the vertex angle subarea far away from the zero point of the x axis, x2 is Y-direction height data of other subareas between x1 and x3, h1m, h2m, h3m and h4m are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the other subareas respectively, hm is height change value of flatness of the other subareas, and m is number of the other subareas.
2. The method according to claim 1, wherein the method further comprises:
Determining the first position, the second position data, the third position data and the fourth position data based on the number data of the vertex angle sub-areas and a first mapping relation;
Determining the fifth position data, the sixth position data, the seventh position data and the eighth position data based on the number data of the other sub-areas and the first mapping relation;
The first mapping relation comprises a corresponding relation between each numbered data and position data of each angle.
3. The method of claim 1, wherein the sub-region comprises nine, the method further comprising:
and carrying out region division on the workbench based on a nine-grid division rule to generate nine sub-regions, wherein the nine sub-regions comprise 4 vertex angle sub-regions and 5 other sub-regions.
4. A method according to claim 3, characterized in that the method further comprises:
And numbering the 4 vertex angle subareas and the 5 other subareas based on an S-shaped numbering sequence, and generating numbering data of the 4 vertex angle subareas and the numbering data of the 5 other subareas.
5. The method of claim 1, wherein determining the type of error source for the machine tool based on the integrated error and the flatness data comprises:
determining an unparallel degree error between the bidirectional feed shaft and the workbench based on the difference value of the comprehensive error data and the flatness data;
comparing the non-parallelism error with the flatness data to generate a comparison result;
And determining the error source type of the machine tool based on the comparison result.
6. The method of claim 5, wherein the comparison results include a first comparison result in which the non-parallelism error is greater than the flatness data and a second comparison result in which the non-parallelism error is less than the flatness data, the error source type includes a first error source type in which a bi-directional feed shaft is non-parallel to the table and a second error source type in which a table flatness is provided, and wherein determining the error source type of the machine tool based on the comparison results includes:
if the comparison result is the first comparison result, determining that the error source type is a first error source type;
And if the comparison result is the second comparison result, determining that the error source type is the second error source type.
7. An error detection device of a machine tool, the machine tool including a bi-directional feed shaft and a table, the bi-directional feed shaft being for driving the table, the error detection device of the machine tool comprising:
The system comprises a machine tool, a building module, a bidirectional feeding shaft, a working table and a control module, wherein the machine tool is provided with a rectangular coordinate system corresponding to the machine tool, the z-axis of the rectangular coordinate system is the z-axis of the working table, the x-axis of the rectangular coordinate system is the x-axis of the working table, and the bidirectional feeding shaft is respectively fed along the x-axis and the z-axis;
An acquisition module for acquiring first position data of the vertex angle sub-region at the table angle of 0 degrees, second position data at the table angle of 90 degrees, third position data at the table angle of 180 degrees, and fourth position data at the table angle of 270 degrees, and fifth position data of the other sub-region at the table angle of 0 degrees, sixth position data at the table angle of 90 degrees, seventh position data at the table angle of 180 degrees, and eighth position data at the table angle of 270 degrees;
the generating module is used for carrying out limit difference on the first position data, the second position data, the third position data, the fourth position data, the fifth position data, the sixth position data, the seventh position data and the eighth position data to generate a comprehensive error of the bidirectional feed shaft and the workbench;
The determining module is used for determining first Y-direction height data of the vertex angle subarea far away from the zero position of the z axis and second Y-direction height data of the vertex angle subarea far away from the zero position of the x axis based on the first position data, the second position data, the third position data and the fourth position data;
determining first height data of the vertex angle subarea based on the first position data, the second position data, the third position data, the fourth position data, the first Y-direction height data, the second Y-direction height data and a first calculation rule;
Determining second height data of the other sub-areas based on the fifth position data, the sixth position data, the seventh position data and the eighth position data, the first Y-direction height data, the second Y-direction height data and a second calculation rule;
determining flatness data of the table based on the first height data and the second height data;
determining an error source type of the machine tool based on the integrated error and the flatness;
wherein, the first calculation rule is:
;
Wherein z1 is Y-direction height data of the vertex angle subarea at a zero point of a z axis, z1=0, x1 is Y-direction height data of the vertex angle subarea at a zero point of an x axis, x1=0, z3 is first Y-direction height data of the vertex angle subarea at a position far away from the zero point of the z axis, x3 is second Y-direction height data of the vertex angle subarea at a position far away from the zero point of the x axis, h1n, h2n, h3n and h4n are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the vertex angle subarea respectively, hn is a height change value of the self-flatness of the vertex angle subarea, and n is the number of the vertex angle subarea;
wherein the second calculation rule includes:
;
Wherein z1 is Y-direction height data of a vertex angle subarea at a zero point of a z axis, z1=0, z3 is first Y-direction height data of the vertex angle subarea far away from the zero point of the z axis, z2 is Y-direction height data of other subareas between z1 and z3, x1 is Y-direction height data of the vertex angle subarea at the zero point of an x axis, x 1=0, x3 is second Y-direction height data of the vertex angle subarea far away from the zero point of the x axis, x2 is Y-direction height data of other subareas between x1 and x3, h1m, h2m, h3m and h4m are position data corresponding to 0 degree, 90 degree, 180 degree and 270 degree of the other subareas respectively, hm is height change value of flatness of the other subareas, and m is number of the other subareas.
8. An electronic device comprising a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform the steps of the method of any of claims 1 to 6 when the computer program is run.
CN202510029998.6A 2025-01-08 2025-01-08 Error detection method, device, equipment and storage medium for machine tool Active CN119407606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510029998.6A CN119407606B (en) 2025-01-08 2025-01-08 Error detection method, device, equipment and storage medium for machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510029998.6A CN119407606B (en) 2025-01-08 2025-01-08 Error detection method, device, equipment and storage medium for machine tool

Publications (2)

Publication Number Publication Date
CN119407606A CN119407606A (en) 2025-02-11
CN119407606B true CN119407606B (en) 2025-03-11

Family

ID=94471503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510029998.6A Active CN119407606B (en) 2025-01-08 2025-01-08 Error detection method, device, equipment and storage medium for machine tool

Country Status (1)

Country Link
CN (1) CN119407606B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102744648A (en) * 2012-06-19 2012-10-24 西安瑞特快速制造工程研究有限公司 Error measurement and separation method of rotating table of numerically-controlled machine tool
CN103447884A (en) * 2013-08-02 2013-12-18 西安交通大学 Numerical control machine tool translational shaft geometric error measuring device and measuring and identifying method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE520061T1 (en) * 2003-10-17 2011-08-15 Trinary Anlagenbau Gmbh METHOD AND DEVICE FOR AVOIDING MISCONTROL OF A MACHINE TOOL
CN108317942A (en) * 2018-01-08 2018-07-24 成都飞机工业(集团)有限责任公司 Longaxones parts straight line coaxiality error detection device
CN113341878B (en) * 2021-06-23 2023-04-18 重庆理工大学 Thermal error measuring method of five-axis numerical control machine tool
CN118131686A (en) * 2024-02-28 2024-06-04 湖北文理学院 Numerical control machine tool space error modeling method and device
CN118720848A (en) * 2024-07-15 2024-10-01 国家机床质量监督检验中心 Coordinate system conversion method for right-angle milling head, machine tool device, electronic equipment and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102744648A (en) * 2012-06-19 2012-10-24 西安瑞特快速制造工程研究有限公司 Error measurement and separation method of rotating table of numerically-controlled machine tool
CN103447884A (en) * 2013-08-02 2013-12-18 西安交通大学 Numerical control machine tool translational shaft geometric error measuring device and measuring and identifying method

Also Published As

Publication number Publication date
CN119407606A (en) 2025-02-11

Similar Documents

Publication Publication Date Title
CN110270883B (en) Reverse identification method of geometric error and thermal error of three-axis CNC machine tool based on eigendecomposition of specimen
CN105945649A (en) Five-axis computer numerical control machine tool dynamic error detection method based on S-shaped detection test piece
CN110539020B (en) Precision self-diagnosis method for double five-axis mirror milling machine tool
CN103878641A (en) Rotating shaft geometric error identification method commonly used for five-axis numerical control machine tool
CN111580459B (en) Five-axis machining center assembly error analysis and control method
CN103862326A (en) Cutter point control method for rotating tool of double-rotating-work-table five-shaft machine tool
Zhu et al. Workpiece locating error prediction and compensation in fixtures
CN108972154A (en) A kind of machine tool rotary axis geometric error discrimination method based on ball bar measurement
CN106736863B (en) It is a kind of measure boring and milling machine space thermal deformation errors rapid survey rule and its method
Pu et al. Modeling, identification, and measurement of geometric errors for a rotary axis of a machine tool using a new R-test
Huang et al. Identification of integrated geometric errors of rotary axis and setup position errors for 5-axis machine tools based on machining test
CN119407606B (en) Error detection method, device, equipment and storage medium for machine tool
Tang et al. Development of a postprocessor for head tilting-head rotation type five-axis machine tool with double limit rotation axis
CN117348546B (en) A method for evaluating process quality of flexible production line
CN116680824A (en) Key geometric error tracing method of five-axis numerical control milling machine
CN107957254A (en) Measure the experimental provision of numerically controlled machine Instantaneous center and definite method
CN117704935A (en) Method for checking opposite precision of opposite numerical control floor type milling and boring machine
Wang et al. A theoretical analysis of 4 body diagonal displacement measurement and sequential step diagonal measurement
Tao et al. An optimized single-point offset method for reducing the theoretical error of S-shaped test piece
CN112045443A (en) Machining method for eccentric clamping workpiece of four-axis machine tool
CN113341878B (en) Thermal error measuring method of five-axis numerical control machine tool
JP6933603B2 (en) Machine tool measurement capability evaluation method and program
Dimitrov et al. Accuracy and reliability control of machining operations on machining centres
Dimitrov et al. System for controlling the accuracy and reliability of machining operations on machining centres
Brizuela et al. Design and implementation of a data acquisition and processing method for precisely calculating the location errors of five-axis CNC machine tools

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant