[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113732819B - Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium - Google Patents

Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium Download PDF

Info

Publication number
CN113732819B
CN113732819B CN202010476026.9A CN202010476026A CN113732819B CN 113732819 B CN113732819 B CN 113732819B CN 202010476026 A CN202010476026 A CN 202010476026A CN 113732819 B CN113732819 B CN 113732819B
Authority
CN
China
Prior art keywords
axis
frame
shaft
calibrating
measuring
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
CN202010476026.9A
Other languages
Chinese (zh)
Other versions
CN113732819A (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.)
Han s Laser Technology Industry Group Co Ltd
Hans Laser Smart Equipment Group Co Ltd
Original Assignee
Han s Laser Technology Industry Group Co Ltd
Hans Laser Smart Equipment Group Co Ltd
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 Han s Laser Technology Industry Group Co Ltd, Hans Laser Smart Equipment Group Co Ltd filed Critical Han s Laser Technology Industry Group Co Ltd
Priority to CN202010476026.9A priority Critical patent/CN113732819B/en
Publication of CN113732819A publication Critical patent/CN113732819A/en
Application granted granted Critical
Publication of CN113732819B publication Critical patent/CN113732819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/20Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
    • B23Q15/22Control or regulation of position of tool or workpiece
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/22Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
    • B23Q17/2233Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work for adjusting the tool relative to the workpiece

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)

Abstract

The embodiment of the invention belongs to the technical field of numerical control machining centers, and relates to a method for calibrating a C axis of a numerical control machine, which comprises the following steps: calibrating the rotation radius of the C-axis by measuring and comparing the distances from the same side edge of each first frame cut on the horizontal plate member to a side edge positioned at the second frame; the C-axis is zeroed by measuring and comparing the distance of the adjacent edges of the third and fourth boxes cut in the horizontal direction of the second upright plate. The embodiment of the invention also provides a numerical control machining device, computer equipment and a storage medium. According to the embodiment of the invention, the position between the C shaft and the plate is changed by rotating the C shaft, the set rotating radius of the C shaft is calibrated and the zero position is calibrated by measuring the distances of the plates at different positions or measuring the distances of the plates at different positions after cutting, so that the cutter is successfully adjusted, the phenomenon that the compensation amount required is estimated by observing the relative position of the cutter point and the alignment point of the cutter by naked eyes is avoided, the calibration operation in the whole process is simple, and the accuracy is higher.

Description

Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of numerical control machining centers, in particular to a method and a device for calibrating a C shaft of a numerical control machine tool, computer equipment and a storage medium.
Background
A five-axis numerical control machining center is provided with five linkage shafts which are three linear shafts of X, Y and Z and two rotating shafts of C and A, wherein the C shaft rotates around the Z shaft. In the machining process of adopting a five-axis numerical control machining center, because the C axis can cause the tool tip point of a tool to generate additional motion during the rotation motion, the control point of a numerical control system cannot coincide with the tool tip point, and at the moment, the control system needs to compensate the C axis so as to ensure that the tool tip point moves according to a track set by a command.
In order to ensure that the tool nose point moves according to a track set by a command, the C axis needs to meet the coincidence of the tool nose point and a control point under the following two conditions: one is when the C axis is at the initial position, namely the calibration of the zero position of the C axis; the other is the calibration of the C-axis during the revolution motion, namely the rotating radius of the C-axis.
In the existing tool setting method applied to a five-axis numerical control machining center, the required compensation amount is estimated basically by observing the relative position of a tool nose and an alignment point of a tool by naked eyes, so that not only is the energy and time consumed by workers greatly increased, but also the accurate compensation amount cannot be obtained.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for calibrating a C axis of a numerical control machine tool, computer equipment and a storage medium, which are used for solving the technical problems that the required compensation amount is estimated by observing the relative position of a tool nose and an alignment point of a tool through naked eyes, the energy and time consumed by workers are greatly increased, and accurate compensation amount cannot be obtained.
In order to solve the above technical problem, an embodiment of the present invention provides a method for calibrating a C axis of a numerical control machine, which adopts the following technical solutions:
loading a horizontal plate member on a processing platform, controlling a C shaft to drive the cutter to rotate to different positions on the same surface of the horizontal plate member, cutting at least two first frames and a second frame surrounding the first frames, and calibrating the rotation radius of the C shaft by measuring and comparing the distance from the same side edge of each first frame to one side edge of the second frame located near the side edge of each first frame;
loading a first vertical plate on the processing platform, controlling the A shaft to drive the cutter to rotate to two sides of the first vertical plate, cutting a third frame and a fourth frame which can be arranged around the third frame, and performing zero calibration on the C shaft by measuring and comparing distances of close edges of the third frame and the fourth frame in the horizontal direction of the first vertical plate.
Further, the step of controlling the C-axis to rotate to enable the tool to rotate to different positions on the same surface of a horizontal plate, and controlling the processing platform to move, so that the horizontal plate is moved to be cut into at least two first frames by the tool specifically includes:
and controlling the C shaft to rotate by 90 degrees to enable the cutter to rotate to a position corresponding to the surface of the horizontal plate piece and controlling the machining platform to move so that the horizontal plate piece moves to be cut into the next first frame by the cutter after each first frame is cut.
Further, the number of the first boxes is four, and the step of calibrating the turning radius of the C-axis by measuring and comparing the distance from the same side of each first box to a side of the second box located near the side of each first box specifically includes:
measuring the distances between the second square frame and the four first square frames, and recording as a, b, c and d;
comparing the values of a, b, c and d;
if the values of a, b, C and d are not equal and are outside the allowable deviation range, calculating a deviation value of the rotating radius of the C shaft and supplementing the deviation value into a system program so as to calibrate the rotating radius of the C shaft;
if the values of a, b, C and d are equal or the difference value is within the allowable deviation range, maintaining the current C-axis rotating radius.
Further, the step of calculating the deviation value of the C-axis turning radius specifically includes:
according to the values of a, b, c and d, calculating according to the following formula: and beta = | (a-b) + (C-d) |/2, and calculating the rotating radius deviation value beta of the C shaft.
Further, the step of zero calibration of the C-axis by measuring and comparing the distance between the adjacent edges of the third and fourth boxes in the horizontal direction of the first upright plate specifically comprises:
measuring distances, namely a 'and b', of the third frame and the fourth frame from the adjacent sides in the horizontal direction of the first upright plate member;
comparing the values of a 'and b';
if the values of a 'and b' are not equal and are outside the allowable deviation range, calculating a zero position deviation value of the C axis and supplementing the zero position deviation value into a system program so as to perform zero position calibration on the C axis;
if the values of a 'and b' are equal and/or within the allowable deviation range, maintaining the current zero position of the C axis.
Further, the step of calculating the C-axis zero offset value specifically includes:
obtaining a target value of the rotating radius of the shaft A and a preset horizontal standard value;
and calculating the zero position deviation value of the C axis according to the values of a 'and b', the target value of the rotating radius of the A axis and the preset horizontal standard value.
Further, the step of obtaining the target value of the rotational radius of the a axis specifically includes:
measuring the distances from the tool nose of the tool to the two sides of the second vertical plate respectively, and recording as m and n;
comparing the values of m and n;
if the values of m and n are not equal and are outside the allowable deviation range, calculating a deviation value of the rotating radius of the shaft A and supplementing the deviation value into a processing program so as to calibrate the rotating radius of the shaft A and obtain a target value of the rotating radius of the shaft A;
and if the values of m and n are equal or the difference value is within the allowable deviation range, maintaining the current A-axis rotating radius, and taking the current A-axis rotating radius as the A-axis rotating radius target value.
Further, the step of calculating the deviation value of the rotational radius of the axis a specifically includes:
measuring the thickness of the second vertical plate, and acquiring a preset reference value, wherein the reference value is a preset distance from the tool nose of the tool to the first vertical plate;
and calculating the deviation value of the rotating radius of the shaft A according to the values of m and n, the thickness of the second vertical plate and the preset reference value.
In order to solve the above technical problem, an embodiment of the present invention further provides a numerical control machining apparatus, including:
the C-axis rotating radius calibration module is used for loading a horizontal plate piece on a processing platform, controlling a C-axis to drive the cutter to rotate to different positions on the same surface of the horizontal plate piece, cutting at least two first frames and a second frame surrounding the first frames, and calibrating the rotating radius of the C-axis by measuring and comparing the distance from the same side edge of each first frame to one side edge of the second frame located near the side edge of each first frame;
and the C-axis zero calibration module is used for loading a first vertical plate on the processing platform, controlling the A-axis to drive the cutter to rotate to two sides of the first vertical plate, cutting out a third frame and a fourth frame which can be arranged around the third frame, and performing zero calibration on the C-axis by measuring and comparing the distances of the close edges of the third frame and the fourth frame in the horizontal direction of the first vertical plate.
In order to solve the above technical problem, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for calibrating the C axis of the numerically controlled machine tool when executing the computer program.
In order to solve the above technical problem, an embodiment of the present invention further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the method for calibrating the C axis of a numerically controlled machine tool as described in the above.
Compared with the prior art, the embodiment of the invention mainly has the following beneficial effects:
compared with the prior art, the method and the device for calibrating the rotating shaft of the numerical control machine tool, the computer equipment and the storage medium have the following beneficial effects: through rotating the C axle, change and the plate between the position, through the distance of measuring different positions plate, perhaps through measuring the distance after the plate cutting of different positions department, to the radius of rotation calibration and the zero-bit calibration of the C axle of setting for, make the cutter succeed the tool setting, avoid the relative position of the knife tip of visual observation cutter and alignment point to predict required compensation volume, the calibration easy operation of whole process, the method is high-efficient novel, and has higher precision.
Drawings
In order to more clearly illustrate the solution of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of one embodiment of a method for calibrating axes of a numerically controlled machine tool according to an embodiment of the present invention;
FIG. 2 is a flow diagram for one embodiment of step S100 in FIG. 1;
FIG. 3 is one of the calibration schematics of one embodiment implemented according to FIG. 2;
FIG. 4 is a second calibration schematic according to one embodiment implemented in FIG. 2;
FIG. 5 is a flow diagram for one embodiment of step S200 in FIG. 1;
FIG. 6 is one of the calibration schematics of one embodiment implemented according to FIG. 5;
FIG. 7 is a second calibration schematic according to one embodiment implemented in FIG. 5;
FIG. 8 is one of the calibration schematics of one embodiment implemented according to FIG. 6;
FIG. 9 is a second calibration schematic according to one embodiment implemented in FIG. 6;
FIG. 10 is a flowchart of one embodiment of step S231 of FIG. 5;
FIG. 11 is one of the calibration schematics of one embodiment implemented according to FIG. 10;
figure 12 is a second calibration schematic according to one embodiment implemented in figure 10.
Reference numerals are as follows:
1. a horizontal plate member; 11. a first block; 12. a second block;
2. a first upright plate; 21. a third block; 22. a fourth block; 221. chamfering;
3. a second upright plate; 31. hole site;
4. a knife tip.
Detailed Description
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 embodiments of the present invention belong; the terminology used herein in the description of the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the invention; the terms "including" and "having," and any variations thereof, in the description and claims of embodiments of the invention and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of embodiments of the invention or in the foregoing drawings are used for distinguishing between different elements and not for describing a particular sequential order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make those skilled in the art better understand the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the flowchart of fig. 1 and the diagrams of fig. 3 and 4, and fig. 6 to 9.
The embodiment of the invention provides a method for calibrating a C shaft of a numerical control machine tool, which comprises the following steps:
again according to the flow chart of figure 1 and the illustrations of figures 3 and 4;
step S100, loading the horizontal plate 1 on a processing platform, controlling a C axis to drive a cutter to rotate to different positions on the same surface of the horizontal plate 1, cutting at least two first frames 11 and a second frame 12 surrounding the first frames 11, and calibrating the rotation radius of the C axis by measuring and comparing the distance from the same side edge of each first frame 11 to one side edge of the second frame 12 near the side edge of each first frame 11.
Specifically, the horizontal plate member 1 is loaded on the processing platform, that is, the horizontal plate member 1 is horizontally arranged on the working platform. The C-axis control module controls the C-axis to rotate so that the cutter rotates around the Z-axis to different positions on the same surface of the horizontal plate member 1. The machining table is moved in the X-axis and/or Y-axis direction so that the horizontal plate member 1 is moved in the X-axis and/or Y-axis direction and cut by the cutter into at least two first blocks 11 and a second block 12 surrounding the first blocks 11. The turning radius calibration is performed for the C-axis by measuring and comparing the distance from the same side of each first frame 11 to a side of the second frame 12 located near the side of each first frame 11.
Again according to the flow chart of figure 1 and the illustrations of figures 6 to 9;
step S200, loading the first vertical plate 2 on a processing platform, controlling an A axis to drive a cutter to rotate to two sides of the first vertical plate 2, cutting a third frame 21 and a fourth frame 22 which can be arranged around the third frame 21, and measuring and comparing the distance between the close edges of the third frame 21 and the fourth frame 22 in the horizontal direction of the first vertical plate 2 to carry out zero position calibration on the C axis.
Specifically, the first erected panel 2 is loaded on the processing platform, i.e., the first erected panel 2 is horizontally disposed on the processing platform. The rotation of the shaft A is controlled by the shaft A control module, so that the cutter is rotated to two sides of the first vertical plate 2. Since the a axis rotates around the X axis, the processing platform moves in the Y axis and/or X axis direction, so that the first vertical plate 2 moves in the Y axis and/or X axis direction and is cut by the cutter into a third frame 21 and a fourth frame 22 which can be enclosed in the third frame 21, respectively. The C axis is nulled by measuring and comparing the distance of the adjacent sides of the third and fourth boxes 21, 22 in the horizontal direction of the first erected panel 2.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Compared with the prior art, the method for calibrating the rotating shaft of the numerical control machine tool at least has the following beneficial effects: the calibration method of the rotating shaft of the numerical control machine tool aims to provide a method for calibrating the zero position of the rotating radius of a C shaft, which is embodied in the following steps:
calibrating the rotation radius of the C axis by rotating the C axis to enable the cutter to respectively cut at least two first square frames 11 and a second square frame 12 at different positions on the same surface of the horizontal plate member 1; and then measuring and comparing the distance from each first box 11 to the same side of the second box 12, and performing rotation radius compensation on the C axis according to the comparison result.
The zero calibration of the axis C is realized by controlling the axis A to rotate so as to enable a cutter to respectively cut a third frame 21 and a fourth frame 22 on two sides of the first vertical plate 2; the distances between the close sides of the third frame 21 and the fourth frame 22 in the horizontal direction of the first vertical plate 2 are measured and compared, and the zero position of the C axis is calibrated through the comparison result.
In summary, it can be seen that embodiments of the present invention provide a method for calibrating a C-axis of a numerical control machine tool, where a position between the C-axis and a plate is changed by rotating the C-axis, and a tool is successfully set by measuring distances between the plates at different positions or by measuring distances between the plates at different positions after cutting, and calibrating a set rotation radius and a zero position of the C-axis, so as to avoid observing a relative position between a tool tip and an alignment point of the tool by naked eyes to estimate a required compensation amount.
According to the flowchart of fig. 2 and the diagrams of fig. 3 and 4, in some alternative implementations of the present embodiment, the number of the first boxes 11 may be four, and the step of calibrating the rotation radius of the C-axis by measuring and comparing the distance from the same side of each first box 11 to a side of the second box 12 located near the side of each first box 11 specifically includes:
in step S110, distances from the same side of each first frame 11 to a side of the second frame 12 located near the side of each first frame 11 are measured, which may be a, b, c, and d, respectively.
And step S120, comparing the values of a, b, c and d.
Step S130, if the values of a, b, C, and d are not equal and are outside the allowable deviation range, a deviation value of the C-axis turning radius needs to be calculated and supplemented into the processing program, so as to calibrate the turning radius of the C-axis when the C-axis drives the cutter to rotate during the cutting process.
Specifically, the calculated C-axis rotating radius deviation value is supplemented into a processing program, and after the processing program obtains the C-axis rotating radius deviation value, the current C-axis rotating radius is interpolated according to the C-axis rotating radius deviation value, so that when the cutter is driven to rotate by the C-axis during cutting processing, the cutter processes a workpiece on a correct processing track through the compensation of the C-axis rotating radius deviation value on the original C-axis rotating radius.
Step S140, if the values of a, b, C and d are equal or the difference value is within the allowable deviation range, the current C-axis rotating radius calibration is maintained when the C-axis drives the cutter to rotate during the cutting process.
Namely, in the next cutting process, when the C shaft drives the cutter to rotate, the current calibration of the rotating radius of the C shaft is maintained.
Referring to the flowchart of fig. 2 and the diagrams of fig. 3 and 4, in some alternative implementations of the present embodiment, the step of calculating the deviation value of the C-axis rotation radius specifically includes:
in step S131, a deviation value beta of the C-axis rotating radius can be calculated according to the values of a, b, C and d.
Referring to fig. 3 and 4, in particular, in an embodiment of the present invention, in order to better understand the calculation process of the C-axis turning radius deviation value, the following formula is specifically illustrated:
and calculating beta according to the values of a, b, c and d. The formula for calculating the deviation value of the rotating radius of the shaft C is as follows:
β=|(a-b)+(c-d)|/2;
when a is larger than b, beta is a positive value; conversely, when a < b, β is negative.
The value of beta obtained by the formula can be supplemented into a processing program so as to calibrate the rotating radius of the C shaft when the C shaft drives the cutter to rotate in the cutting process.
In some alternative implementations of the present embodiment, as shown in fig. 3 or fig. 4, the step of controlling the C-axis rotation to rotate the cutter to the same surface of a horizontal plate 1 to cut out four first frames 11 at different positions specifically includes:
after each first square frame 11 is cut, the C-axis is controlled to rotate 90 ° to rotate the cutter to the corresponding position on the surface of the horizontal plate member 1, so as to cut the next first square frame 11.
Referring again to the illustrations of fig. 3 or 4, it can be understood that when the C-axis is in the initial state, i.e. the C-axis is rotated by 0 °, the cutter cuts a first block 11 at a corresponding position on the surface of the horizontal plate member 1; controlling the C shaft to rotate 90 degrees on the basis of the initial position of the C shaft so that the cutter rotates to a position corresponding to the surface of the horizontal plate member 1 to cut a second first square frame 11; on the basis that the C shaft rotates by 90 degrees, controlling the C shaft to rotate by 90 degrees again, namely the C shaft rotates by 180 degrees totally, and cutting a third first square frame 11 at a corresponding position on the surface of the horizontal plate member 1 by a cutter; on the basis of the 180 deg. rotation of the C axis, the C axis is controlled to rotate 90 deg., i.e. the C axis rotates 270 deg. in total, and the fourth first frame 11 is cut at the corresponding position on the surface of the horizontal plate member 1 by the cutter shaft.
It should be noted that the initial position of the C-axis only needs to ensure that the C-axis, no matter which position of the horizontal plate 1 the C-axis rotates to, has enough position for the cutter to cut the first frames 11, and the first frames 11 do not interfere with each other.
According to the flowchart of fig. 5 and the illustrations of fig. 6 to 9, in particular, in one embodiment of the invention, the step of zero calibration of the C axis by measuring and comparing the distance of the adjacent edges of the third and fourth blocks 21, 22 in the horizontal direction of the first upright plate 2 comprises in particular:
step S210, measuring the distance between the near sides of the third frame 21 and the fourth frame 22 in the horizontal direction of the first erected panel 2, which can be written as a 'and b'.
Step S220, comparing the values of a 'and b'.
And step S230, if the values of a 'and b' are not equal and are outside the allowable deviation range, calculating a zero position deviation value of the C axis and supplementing the zero position deviation value into a processing program so as to perform zero position calibration on the C axis when the C axis drives the cutter to rotate in the cutting process.
Specifically, the calculated C-axis zero offset value is supplemented into a machining program, and after the machining program obtains the C-axis zero offset value, the current C-axis zero position is supplemented according to the C-axis zero offset value, so that when the cutter is driven to rotate by the C-axis in cutting machining, the cutter is enabled to machine the workpiece on a correct machining track through the compensation of the C-axis zero offset value on the original C-axis zero position.
And step S240, if the values of a 'and b' are equal or within the allowable deviation range, maintaining the current zero position of the C axis when the C axis drives the cutter to rotate during the cutting process.
Namely, in the next cutting process, when the C shaft drives the cutter to rotate, the current zero position of the C shaft is maintained.
According to the flowchart of fig. 5 and the diagrams of fig. 6 to 9, in some optional implementations of this embodiment, the step of calculating the C-axis zero offset value specifically includes:
step S231, obtains the a-axis radius target value k, and obtains a horizontal standard value L, which is a value that the third frame 21 and the fourth frame 22 should have when the distances a 'and b' of the sides in the horizontal direction of the first erected panel 2 are equal.
And step S232, calculating a zero offset value delta of the C axis according to the values of a 'and b', k and L.
In order to better understand the calculation process of the C-axis zero offset value, according to the illustrations of fig. 6 to 9, in one embodiment of the present invention, the following formula is used:
delta was determined from the values of a ', b', L and k. The formula for calculating the zero offset value of the C axis is as follows:
when a 'is less than L, b' is more than L,
a`=L-2Sinδ,b`=L+2Sinδ,
derived, sin δ = | (a '-b') |/4k;
when a 'is more than b', delta is a positive value; conversely, when a '< b', δ is negative.
The value of delta obtained by the formula can be supplemented into a machining program so as to carry out zero calibration on the C shaft when the C shaft drives the cutter to rotate in the cutting machining process.
Note that fig. 6 shows a state where the zero position of the C axis has an offset and is not calibrated; fig. 7 shows a state in which the zero position of the C-axis is calibrated.
According to fig. 10 or fig. 11, in some alternative implementations of the present embodiment, the fourth frame 22 may have a chamfer 221, and the chamfer 221 may be used to determine the cutting direction of the cutter. That is, it is determined by the position of the chamfer 221 which two opposite sides of the fourth frame 22 are located in the vertical direction of the first erected panel 2 and which two opposite sides are located at the level of the erected panel 1. It will be understood that the third frame 21 and the fourth frame 22 are completely cut from the first erected plate 2, and a workpiece similar to a Chinese character 'hui' shape is obtained, and a chamfer is formed at one corner of the outer surface of the Chinese character 'hui' shaped workpiece, i.e. the horizontal direction and the vertical direction of the Chinese character 'hui' shaped workpiece are respectively processed by the chamfer.
According to the flowchart of fig. 10 and the diagrams of fig. 11 and 12, in some alternative implementations of the present embodiment, the step of obtaining the target value of the rotational radius of the a axis specifically includes:
and S310, measuring the distances from the tool nose 4 of the tool to the two sides of the second upright plate 3 respectively, and recording the distances as m and n.
And step S320, comparing the values of m and n.
Step S330, if the values of m and n are not equal and are outside the allowable deviation range, calculating the deviation value of the rotating radius of the shaft A and supplementing the deviation value into the processing program, so as to calibrate the rotating radius of the shaft A when the cutter is driven to rotate by the shaft A in the cutting process, and obtain the target value of the rotating radius of the shaft A.
And step S340, if the values of m and n are equal or the difference value is within the allowable deviation range, in the cutting process, when the A shaft drives the cutter to rotate, maintaining the current rotating radius of the A shaft, and taking the current rotating radius of the A shaft as the target value of the rotating radius of the A shaft.
Further according to the flowchart of fig. 10 and the diagrams of fig. 11 and 12, in some alternative implementations of the embodiment, the step of calculating the deviation value of the rotation radius of the a axis specifically includes:
step S331, measuring the thickness t of the second erected panel 3, and obtaining a preset reference value S.
And S332, calculating a deviation value alpha of the rotating radius of the A axis according to m, n, S and t. It should be noted that the predetermined reference value s is specified as the distance that the cutting edge 4 of the tool should have from the standing plate 1.
Referring to fig. 3 and 4, in particular, in an embodiment of the present invention, in order to better understand the calculation process of the deviation value of the rotational radius of the a-axis, the following formula is specifically described:
alpha is obtained from the values of m, n, t and s. The formula for calculating the deviation value of the rotating radius of the shaft A is as follows:
α=|m+n-2s-t|/2;
when m is more than n, alpha is a positive value; conversely, when m < n, alpha is a negative value.
And after the value of alpha is obtained through the formula, the value of alpha can be supplemented into a machining program so as to calibrate the rotating radius of the shaft A when the shaft A drives the cutter to rotate in the cutting machining process and obtain a target value of the rotating radius of the shaft A.
According to fig. 11 or fig. 12, in some optional implementations of this embodiment, the second vertical plate 3 may be provided with a hole 11, and in the step of controlling the shaft a to rotate so that the tool rotates to two sides of the second vertical plate 3, the shaft a is controlled to rotate so that the tool tip 4 of the tool is aligned with the hole 11, and when a vernier caliper is used to measure the distance from the tool tip 4 to the vertical plate 1, the hole 11 may play a role in avoiding a gap in the vernier caliper so as to facilitate the measurement of the vernier caliper.
In some alternative implementations of this embodiment, the allowable deviation range is ± 0.01mm. Namely, the allowable deviation ranges of the calculated A-axis rotating radius deviation value, the C-axis rotating radius deviation value and/or the C-axis zero deviation value are +/-0.01 mm.
In some alternative implementations of the present embodiment, the horizontal plate member 1, the first upright plate member 2 and/or the second upright plate member 3 may be made of metal plates, that is, the first upright plate member 2 and the second upright plate member 3 are vertically disposed metal plates, and the horizontal plate member 1 is horizontally disposed metal plates. The metal plate may be specifically a stainless steel plate, a carbon steel plate or an aluminum alloy plate, and a plate of a metal material other than those mentioned herein may be used.
In order to solve the above technical problem, an embodiment of the present invention further provides a numerical control processing apparatus, including:
the C-axis rotating radius calibration module is used for loading the horizontal plate piece on the processing platform, controlling the C-axis to drive the cutter to rotate to different positions on the same surface of the horizontal plate piece 1, cutting out at least two first square frames 11 and a second square frame 12 which surrounds the first square frames 11, and calibrating the rotating radius of the C-axis by measuring and comparing the distance from the same side edge of each first square frame 11 to one side edge of the second square frame 12 which is positioned near the side edge of each first square frame 11;
and the C-axis zero calibration module is used for loading the first vertical plate 2 on the processing platform, controlling the A-axis to drive the cutter to rotate to two sides of the first vertical plate 2, cutting out a third frame 21 and a fourth frame 22 which can be arranged around the third frame 21, and performing zero calibration on the C-axis by measuring and comparing the distances of the similar edges of the third frame 21 and the fourth frame 12 in the horizontal direction of the first vertical plate 2.
In order to solve the above technical problem, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for calibrating the C axis of the numerical control machine tool when executing the computer program.
The computer device comprises a memory, a processor and a network interface which are mutually connected through a system bus in a communication way. It should be noted that only a computer device having components is shown, but it should be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device herein is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an ApplicAtion Specific IntegrAted Circuit (ASIC), a ProgrAmmAble GAte ArrAy (FPGA), a DigitAl SignAl Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user in a keyboard mode, a mouse mode, a remote controller mode, a touch panel mode or a voice control equipment mode.
The memory includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a SmArt Memory CArd (SMC), a Secure DigitAl (SD) CArd, a FlAsh memory CArd (FlAsh hard) and the like. Of course, the memory may also include both internal and external storage units of the computer device. In this embodiment, the memory is generally used for storing an operating system installed in the computer device and various types of application software, such as program codes of a calibration method for a C-axis of a numerically controlled machine tool. Further, the memory may be used to temporarily store various types of data that have been output or are to be output.
The processor may be a CentrAl Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 62 is typically used to control the overall operation of the computer device. In this embodiment, the processor is configured to run a program code stored in the memory or process data, for example, a program code for running a calibration method of a C-axis of the numerically controlled machine tool.
The network interface may include a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the computer device and other electronic devices.
To solve the above technical problem, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executable by at least one processor, so as to cause the at least one processor to execute the steps of the method for calibrating the C-axis of a numerically-controlled machine tool as described above.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the embodiments of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (which may be a computer, a server, or a network device) to execute the methods described in the embodiments of the present invention.
It should be understood that the above-described embodiments are only some of the embodiments of the present invention, and not all of them, and the preferred embodiments of the present invention are shown in the drawings, without limiting the scope of the present invention. Embodiments of the present invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein but rather should be construed as broadly as the present disclosure. Although the embodiments of the present invention have been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that the embodiments described in the foregoing embodiments may be modified or equivalents may be substituted for some of the features. All equivalent structures made by using the contents of the description and the drawings of the embodiments of the present invention are directly or indirectly applied to other related technical fields, and are within the protection scope of the embodiments of the present invention.

Claims (10)

1. A method for calibrating a C shaft of a numerical control machine tool, wherein the numerical control machine tool is provided with five linkage shafts, including an X shaft, a Y shaft, a Z shaft, an A shaft and a C shaft, wherein the C shaft rotates around the Z shaft, and is characterized by comprising the following steps:
loading a horizontal plate piece on a processing platform, controlling a C shaft to drive a cutter to rotate to different positions on the same surface of the horizontal plate piece, cutting at least two first frames and a second frame surrounding the first frames, and calibrating the rotation radius of the C shaft by measuring and comparing the distance from the same side edge of each first frame to one side edge of the second frame positioned near the side edge of each first frame;
loading a first vertical plate on the processing platform, controlling the A shaft to drive the cutter to rotate to two sides of the first vertical plate, cutting a third frame and a fourth frame which can be arranged around the third frame, and performing zero calibration on the C shaft by measuring and comparing distances of close edges of the third frame and the fourth frame in the horizontal direction of the first vertical plate;
and when each first square frame is cut, controlling the C shaft to rotate by 90 degrees so that the cutter rotates to a position corresponding to the surface of the horizontal plate member, and controlling the machining platform to move so that the horizontal plate member moves to be cut by the cutter for the next first square frame.
2. The method for calibrating a C-axis of a numerically controlled machine tool according to claim 1, wherein said first blocks are four in number, and said step of calibrating the turning radius of said C-axis by measuring and comparing the distance from the same side of each of said first blocks to a side of said second block located in the vicinity of the side of each of said first blocks comprises:
measuring the distances between the second square frame and the four first square frames, and recording as a, b, c and d;
comparing the values of a, b, c and d;
if the values of a, b, C and d are not equal and are outside the allowable deviation range, calculating a C-axis rotating radius deviation value and supplementing the C-axis rotating radius deviation value into a system program so as to calibrate the rotating radius of the C-axis;
if the values of a, b, C and d are equal or the difference value is within the allowable deviation range, the current rotating radius of the C shaft is maintained.
3. The method for calibrating the C-axis of the numerically controlled machine tool as claimed in claim 2, wherein the step of calculating the deviation value of the C-axis turning radius comprises:
according to the values of a, b, c and d, calculating according to the following formula: and beta = | (a-b) + (C-d) |/2, and a rotating radius deviation value beta of the C shaft is calculated.
4. The method for calibrating the C-axis of a numerically controlled machine tool according to claim 1, wherein said step of performing zero calibration of said C-axis by measuring and comparing the distances of the adjacent sides of said third and fourth boxes in the horizontal direction of said first erected plate comprises:
measuring the distances of the close edges of the third frame and the fourth frame in the horizontal direction of the first upright plate, and recording as a 'and b';
comparing the values of a 'and b';
if the values of a 'and b' are not equal and are outside the allowable deviation range, calculating a zero position deviation value of the C axis and supplementing the zero position deviation value into a system program so as to perform zero position calibration on the C axis;
if the values of a 'and b' are equal and/or within the allowable deviation range, maintaining the current zero position of the C axis.
5. The method for calibrating the C-axis of a numerically controlled machine tool according to claim 4, wherein the step of calculating the zero offset value of the C-axis specifically comprises:
obtaining a target value of the rotating radius of the shaft A and obtaining a preset horizontal standard value;
and calculating the zero position deviation value of the C axis according to the values of a 'and b', the target value of the rotating radius of the A axis and the preset horizontal standard value.
6. The method for calibrating the C-axis of the numerically-controlled machine tool according to claim 5, wherein the step of obtaining the target value of the turning radius of the a-axis specifically comprises:
measuring the distances from the tool nose of the tool to the two sides of the second vertical plate respectively, and recording as m and n;
a second upright plate is loaded on the processing platform;
comparing the values of m and n;
if the values of m and n are not equal and are outside the allowable deviation range, calculating a deviation value of the rotating radius of the shaft A and supplementing the deviation value into a processing program so as to calibrate the rotating radius of the shaft A and obtain a target value of the rotating radius of the shaft A;
and if the values of m and n are equal or the difference value is within the allowable deviation range, maintaining the current A-axis rotating radius, and taking the current A-axis rotating radius as the A-axis rotating radius target value.
7. The method for calibrating the C-axis of the numerically controlled machine tool as claimed in claim 6, wherein the step of calculating the deviation value of the turning radius of the a-axis specifically comprises:
measuring the thickness of the second vertical plate, and acquiring a preset reference value, wherein the reference value is a preset distance from the tool nose of the tool to the first vertical plate;
and calculating the deviation value of the rotating radius of the shaft A according to the values of m and n, the thickness of the second vertical plate and the preset reference value.
8. The utility model provides a numerical control processingequipment, this numerical control processingequipment have five universal driving shafts, including X axle, Y axle, Z axle, A axle and C axle, wherein the C axle rotates around the Z axle, its characterized in that includes:
the C-axis rotating radius calibration module is used for loading a horizontal plate piece on a processing platform, controlling a C-axis driving cutter to rotate to different positions on the same surface of the horizontal plate piece, cutting out at least two first frames and a second frame surrounding the first frames, and calibrating the rotating radius of the C-axis by measuring and comparing the distance from the same side edge of each first frame to one side edge of the second frame located near the side edge of each first frame;
when each first square frame is cut, controlling the C shaft to rotate by 90 degrees, enabling the cutter to rotate to a position corresponding to the surface of the horizontal plate piece, and controlling the machining platform to move, so that the horizontal plate piece moves to be cut into the next first square frame by the cutter;
and the C-axis zero calibration module is used for loading a first vertical plate on the processing platform, controlling the A-axis to drive the cutter to rotate to two sides of the first vertical plate, cutting a third frame and a fourth frame which can be arranged around the third frame, and measuring and comparing the distance between the close edges of the third frame and the fourth frame in the horizontal direction of the first vertical plate so as to perform zero calibration on the C-axis.
9. A computer apparatus comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method for calibrating the C-axis of a numerically controlled machine tool according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when being executed by a processor, implements the steps of the method for the calibration of the C-axis of a numerically controlled machine tool according to any one of claims 1 to 7.
CN202010476026.9A 2020-05-29 2020-05-29 Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium Active CN113732819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010476026.9A CN113732819B (en) 2020-05-29 2020-05-29 Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010476026.9A CN113732819B (en) 2020-05-29 2020-05-29 Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113732819A CN113732819A (en) 2021-12-03
CN113732819B true CN113732819B (en) 2023-01-24

Family

ID=78724685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010476026.9A Active CN113732819B (en) 2020-05-29 2020-05-29 Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113732819B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4334178A (en) * 1978-11-02 1982-06-08 Huller Hille Gmbh Method and apparatus for correcting tool lengths and tool radii, particularly for numerically controlled machines equipped with position or path measuring systems by means of nominal-actual value comparison
TW462360U (en) * 2000-05-31 2001-11-01 Li Min Shiang Bicycle disc brake improved structure
TW201041686A (en) * 2009-05-21 2010-12-01 Spinder Technology Co Ltd Center calibration device and method for swing head main shaft
CN102207730A (en) * 2010-03-29 2011-10-05 发那科株式会社 Numerical controller controlling five-axis machining tool
CN105382631A (en) * 2015-12-15 2016-03-09 福建工程学院 Equipment and method for detecting error of rotating shaft of five-axis numerical control machine tool
CN107717219A (en) * 2017-11-28 2018-02-23 上海航天精密机械研究所 Five axle three-dimensional laser cutting machine RTCP trueness error compensation methodes
CN108287523A (en) * 2018-02-05 2018-07-17 重庆机床(集团)有限责任公司 A kind of band support arm vertical machine geometric accuracy detection method
CN108490872A (en) * 2018-01-31 2018-09-04 深圳市拓智者科技有限公司 A kind of five axis RTCP assay methods
CN109253710A (en) * 2018-10-12 2019-01-22 太原理工大学 A kind of REVO gauge head A axis error of zero scaling method
CN109454338A (en) * 2018-11-14 2019-03-12 中国航发动力股份有限公司 A kind of 5 axis of laser-beam drilling machine linkage calibration method
CN109483322A (en) * 2018-11-12 2019-03-19 山东职业学院 A kind of zero point correction method of five-axle number control machine tool

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6865498B2 (en) * 2001-11-30 2005-03-08 Thermwood Corporation System for calibrating the axes on a computer numeric controlled machining system and method thereof
TWM462360U (en) * 2013-04-16 2013-09-21 Prec Machinery Res & Dev Ct Vertical axis detection device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4334178A (en) * 1978-11-02 1982-06-08 Huller Hille Gmbh Method and apparatus for correcting tool lengths and tool radii, particularly for numerically controlled machines equipped with position or path measuring systems by means of nominal-actual value comparison
TW462360U (en) * 2000-05-31 2001-11-01 Li Min Shiang Bicycle disc brake improved structure
TW201041686A (en) * 2009-05-21 2010-12-01 Spinder Technology Co Ltd Center calibration device and method for swing head main shaft
CN102207730A (en) * 2010-03-29 2011-10-05 发那科株式会社 Numerical controller controlling five-axis machining tool
CN105382631A (en) * 2015-12-15 2016-03-09 福建工程学院 Equipment and method for detecting error of rotating shaft of five-axis numerical control machine tool
CN107717219A (en) * 2017-11-28 2018-02-23 上海航天精密机械研究所 Five axle three-dimensional laser cutting machine RTCP trueness error compensation methodes
CN108490872A (en) * 2018-01-31 2018-09-04 深圳市拓智者科技有限公司 A kind of five axis RTCP assay methods
CN108287523A (en) * 2018-02-05 2018-07-17 重庆机床(集团)有限责任公司 A kind of band support arm vertical machine geometric accuracy detection method
CN109253710A (en) * 2018-10-12 2019-01-22 太原理工大学 A kind of REVO gauge head A axis error of zero scaling method
CN109483322A (en) * 2018-11-12 2019-03-19 山东职业学院 A kind of zero point correction method of five-axle number control machine tool
CN109454338A (en) * 2018-11-14 2019-03-12 中国航发动力股份有限公司 A kind of 5 axis of laser-beam drilling machine linkage calibration method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
摇篮式五轴加工中心机床精度标定方法;李亚东等;《教育教学论坛》;20160625;全文 *

Also Published As

Publication number Publication date
CN113732819A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN109483322B (en) Zero calibration method of five-axis numerical control machine tool
CN104308663A (en) Method for virtually measuring machining error of profile of cambered-surface cam
CN113732818B (en) Method, device and equipment for calibrating rotating shaft of numerical control machine tool and storage medium
CN103234504A (en) Methods for calibrating and compensating errors, and computer program and readable medium for methods
CN208075780U (en) A kind of lithium battery thickness measurement with laser equipment
CN114654303B (en) Method for correcting deviation of positioning accuracy of machine tool
CN113732819B (en) Method and device for calibrating C axis of numerical control machine tool, computer equipment and storage medium
CN108356603B (en) Method and system for compensating thermal deformation error of spindle of five-axis numerical control machine tool
CN113732817B (en) Method and device for calibrating A axis of numerical control machine tool, computer equipment and storage medium
CN107066726B (en) Numerical control machine tool rotating shaft perpendicularity error modeling method
CN107138778A (en) Side opening chamfer processing method
US11951638B2 (en) Computer device and method for determining standard depth value of marker
CN112833777A (en) Measuring method and measuring system for actual measurement
CN108205563A (en) Electronic map information mask method, device and terminal
CN115079636A (en) Workpiece coordinate system establishing method based on numerical control system and related equipment thereof
CN114298098A (en) Data processing method and device for error correction
CN200952934Y (en) Measuring auxiliary tool
JPH03290705A (en) Numerical controller
CN115147484A (en) Calibration method of five-axis machine tool, computer equipment and storage medium
CN115775279B (en) Dispensing positioning method and device and electronic equipment
CN109753016A (en) A kind of calculation method for numerical control multi-shaft linkage tool length compensation
CN112985267B (en) Five-axis AC type water cutting tool length measuring method, system and equipment
CN117289686B (en) Parameter calibration method and device, electronic equipment and storage medium
CN112346407B (en) Method and device for centering I-steel, electronic equipment and storage medium
JP2922724B2 (en) Horizontal spindle origin correction method

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