Numerical control device

By designing a numerical control device with a calibration data setting unit and a correction amount calculation unit, the user can input the linear drive shaft combination, inclination direction and verticality error of the column, calculate the tool vector and generate the position correction amount, solving the problem of difficulty in correcting the verticality error caused by changes in the machine tool through time in the prior art, and realizing consideration and correction of tool diameter difference.

CN112783086BActive Publication Date: 2025-04-15FANUC LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011209271.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-11-05
Filing Date
2020-11-03
Publication Date
2025-04-15
Estimated Expiration
2040-11-03

AI Technical Summary

Technical Problem

The prior art is difficult to effectively correct the verticality error caused by column inclination caused by changes in machine tools through time, and the influence of tool diameter difference cannot be taken into account.

Method used

A numerical control device is designed, including a calibration data setting unit and a calibration quantity calculation unit. The user inputs the linear drive shaft combination, inclination direction and verticality error of the column, calculate the tool vector, and generate a position correction amount based on the tool length and tool diameter to correct the position at the top of the tool.

Benefits of technology

By taking into account not only the tool length difference but also the tool diameter difference, the user can simply correct the verticality error caused by changes in the machine tool through time and improve the processing quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112783086B_ABST
    Figure CN112783086B_ABST
Patent Text Reader

Abstract

The present invention provides a numerical control device that can take into account not only the tool length difference but also the tool diameter difference, and can be used by the user to simply correct the error caused by the time change of the machine tool. The numerical control device for controlling the tool installed on the column of the machine tool comprises: a correction data setting unit, which selects and inputs the linear drive axis combination of the column, the tilt direction of the column, and the verticality error of the column for setting; a correction amount calculation unit, which generates a tool vector according to the tool length and the tool diameter, and calculates the position correction amount of the tool tip as a processing point in the execution program using the tool vector and the linear drive axis combination of the column, the tilt direction of the column, and the verticality error of the column set by the correction data setting unit, wherein the tool length is the axial distance from the installation position of the tool to the tool tip, and the tool diameter is the distance in the direction perpendicular to the axial direction from the installation position of the tool to the tool tip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a numerical control device. Background Art

[0002] The movement of multiple axes such as the XYZ axis of a machine tool is controlled by a numerical control device, and the machine tool can use the tool mounted on the spindle to perform high-precision processing on the workpiece. However, if a position error (perpendicularity error) occurs, such as when the column on which the spindle is mounted is slightly tilted relative to the base, the relative position error between the tool tip and the processing point of the workpiece may cause a decrease in processing quality.

[0003] In the past, the following technology is known (see Patent Document 1): in order to correct the error caused by the mechanical system of the machine tool, the three-dimensional coordinate system is divided into grid-shaped areas, a grid point correction vector is stored at each grid point, and the current position correction vector is calculated based on the grid point correction vector to correct the position error. In addition, the following technology is also known (see Patent Document 2): based on the tool length difference between the reference tool and the tool used and the perpendicularity error between two axes orthogonal to the tool length difference, the deviation amount is calculated, and the positioning error is corrected using the deviation amount.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent No. 3174704

[0007] Patent Document 2: Japanese Patent Application Publication No. 2009-146057 Summary of the invention

[0008] Problem that the invention aims to solve

[0009] However, the technology described in Patent Document 1 is a technology used as a correction technology for adjusting assembly errors when the machine is shipped from the factory. It is difficult to measure the errors of each grid point, calculate and set the correction amount. Therefore, the operator cannot simply add corrections to the verticality error caused by the tilt of the column due to the time-dependent changes in the machine tool. In addition, the technology described in Patent Document 2 cannot perform corrections that take into account the influence of the tool diameter difference. Therefore, a numerical control device that takes into account not only the tool length difference but also the tool diameter difference and allows the user to simply correct the verticality error caused by the time-dependent changes in the machine tool is desired.

[0010] Solutions for solving problems

[0011] One embodiment of the present disclosure is a numerical control device that controls a tool installed on a column, and the numerical control device includes: a correction data setting unit that selects and inputs a linear drive axis combination of the column, an inclination direction of the column, and a verticality error of the column for setting; and a correction amount calculation unit that generates a tool vector based on a tool length and a tool diameter, and calculates a position correction amount of a tool tip that is a processing point in an execution program using the tool vector and the linear drive axis combination of the column, the inclination direction of the column, and the verticality error of the column set by the correction data setting unit, wherein the tool length is an axial distance from the installation position of the tool to the tool tip, and the tool diameter is a distance in a direction perpendicular to the axial direction from the installation position of the tool to the tool tip.

[0012] Effects of the Invention

[0013] According to one embodiment, it is possible to provide a numerical control device that takes into account not only a tool length difference but also a tool diameter difference and allows a user to easily correct an error caused by a temporal change in a machine tool. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a functional block diagram showing the configuration of a numerical control device according to one embodiment of the present disclosure.

[0015] Figure 2A It is a schematic diagram showing the tilt direction of a column in a machine tool.

[0016] Figure 2B It is a schematic diagram showing the tilt direction of a column in a machine tool.

[0017] Figure 3 It is a diagram showing a column linear drive axis combination selection screen of a linear drive axis combination setting section in a numerical controller according to one embodiment of the present disclosure.

[0018] Figure 4 It is a diagram showing a column tilt direction selection screen of a tilt direction setting unit in a numerical control device according to one embodiment of the present disclosure.

[0019] Figure 5 It is a diagram showing a perpendicularity error input screen of a perpendicularity error setting unit in a numerical controller according to one embodiment of the present disclosure.

[0020] Fig. 6A This diagram shows the vector of the tilt direction of the column in the machine tool.

[0021] Figure 6B This diagram shows the vector of the tilt direction of the column in the machine tool.

[0022] Fig. 7A Schematic diagram showing the tilt direction of a column in a machine tool having an additional axis.

[0023] Figure 7B Schematic diagram showing the tilt direction of a column in a machine tool having an additional axis.

[0024] Figure 8 It is a diagram showing a column linear drive axis combination selection screen of a linear drive axis combination setting section in a numerical controller according to another embodiment of the present disclosure.

[0025] Fig. 9 It is a diagram showing a column tilt direction selection screen of a tilt direction setting unit in a numerical control device according to another embodiment of the present disclosure.

[0026] Fig.10 It is a diagram showing a perpendicularity error input screen of a perpendicularity error setting unit in a numerical controller according to another embodiment of the present disclosure.

[0027] Fig.11A This diagram shows the vector of the tilt direction of the column in a machine tool with additional axes.

[0028] Fig. 11B This diagram shows the vector of the tilt direction of the column in a machine tool with additional axes.

[0029] Description of Reference Numerals

[0030] 1: numerical control device; 7: calibration data setting unit; 8: calibration amount calculation unit; 102: column; 103: tool; 103a: tool installation position; 103b: tool top; 104: beam; T H : Tool length; T D : tool diameter; T L : tool vector. DETAILED DESCRIPTION

[0031] Hereinafter, one embodiment of the present disclosure will be described with reference to the drawings.

[0032] Figure 1 This is a functional block diagram showing the configuration of a numerical control device according to one embodiment of the present disclosure. Figure 1The numerical control device 1 shown controls a machine tool that processes a workpiece by relatively moving a tool disposed on a column and a workpiece disposed below the tool (neither of which is shown in the figure) along mutually orthogonal axes, namely, an X-axis, a Y-axis, and a Z-axis. The numerical control device 1 includes a command analyzing unit 2, an interpolating unit 3, an acceleration / deceleration command generating unit 4X, 4Y, 4Z, 4W for the X, Y, Z, and W axes, a correction unit 5, X, Y, Z, and W axis servos 6X, 6Y, 6Z, and 6W, a correction data setting unit 7, and a correction amount calculating unit 8.

[0033] The command analysis unit 2 analyzes the execution program for machining the workpiece using the tool, and generates movement commands for respectively moving the X-axis, Y-axis, Z-axis, and W-axis of the machine tool based on the execution program. The movement command generated by the command analysis unit 2 is output to the interpolation unit 3. The interpolation unit 3 converts the movement command of each axis of the XYZW axis sent from the command analysis unit 2 into an interpolated movement amount. The interpolated movement amount of each axis of the XYZW axis generated by the interpolation unit 3 is output to the acceleration / deceleration command generation units 4X, 4Y, 4Z, and 4W for the X, Y, Z, and W axes, respectively.

[0034] The acceleration / deceleration command generating units 4X, 4Y, 4Z, 4W for the X, Y, Z, and W axes respectively generate speed commands for moving the XYZW axes to the target position based on the interpolation movement amount sent from the interpolation unit 3. The speed commands for each axis of the XYZW axes generated are respectively output to the correction unit 5. The correction unit 5 outputs the speed commands for each axis of the XYZW axes after the verticality error of the column of the machine tool is corrected by the correction data setting unit 7 and the correction amount calculation unit 8 described later to the X, Y, Z, and W axis servos 6X, 6Y, 6Z, 6W. The X, Y, Z, and W axis servos 6X, 6Y, 6Z, 6W control the rotation of the drive motors (not shown) of each axis of the XYZW axes based on the speed commands corrected by the correction unit 5. As a result, the X, Y, Z, and W axis servos 6X, 6Y, 6Z, 6W move the tool and the workpiece relatively along each axis of the XYZW axes.

[0035] The correction data setting unit 7 includes a linear drive axis combination setting unit 71, an inclination direction setting unit 72, and a verticality error setting unit 73. The correction data setting unit 7 receives selection input for column verticality error correction data from an operator as a user through these setting units 71, 72, and 73 to perform setting. The selection input performed by the operator in the correction data setting unit 7 can be performed, for example, by touch input using a monitor screen or input operation on a keyboard. The monitor screen is, for example, a monitor screen provided in the numerical controller 1 or a monitor screen of an external terminal such as a personal computer connected to the numerical controller 1.

[0036] The linear drive axis combination setting unit 71, the tilt direction setting unit 72, and the vertical error setting unit 73 are displayed to the operator on the monitor screen. Figure 3 , Figure 4 as well as Figure 5 The selection screens 710, 720, 730 are shown in FIG. These linear drive axis combination setting unit 71, tilt direction setting unit 72, and vertical error setting unit 73 (selection screens 710, 720, 730) are linked to each other. That is, the input result in any one of the selection screens 710, 720, 730 is reflected in the display of other selection screens 710, 720, 730. The selection screens 710, 720, 730 may be displayed one at a time in sequence on the monitor screen, or any two or more selection screens may be displayed simultaneously on one monitor screen.

[0037] The linear drive axis combination setting unit 71 displays, for example, Figure 3 The column linear drive axis combination selection screen 710 is shown. Thus, the linear drive axis combination setting unit 71 receives the selection input of the combination of column linear drive axes as the mechanical information of the machine tool from the operator, and sets the selected combination of the linear drive axes.

[0038] The combination of linear drive axes is to determine the combination of drive axes required to determine the tilt direction based on the XYZW axis of the column in the machine tool. Figure 2A and Figure 2B As schematically shown in FIG, the machine tool 100 is provided with a column 102 vertically erected in the Y-axis direction on a bed 101. The column 102 is configured to be able to reciprocate on the bed 101 along the X-axis direction orthogonal to the Y-axis. A tool 103 is mounted on a spindle (not shown) provided on one side of the column 102 in a manner that allows movement along the Y-axis direction. The machine tool 100 does not have a W-axis. In the case of such a machine tool 100, the driving axes of the column 102 are the X-axis and the Y-axis. Therefore, in the column linear drive axis combination selection screen 710, the operator inputs "bXY(C)t". In addition, "b" is the bed 101 of the machine tool 100, and "t" is the tool 103. "(C)" is the spindle.

[0039] Regarding the column linear drive axis combination ("bXY(C)t") selected and input by the operator in the linear drive axis combination setting unit 71, the tilt direction setting unit 72 displays, for example Figure 4The column tilt direction selection screen 720 is shown as shown. Thus, the tilt direction setting unit 72 receives the selection input of the tilt direction E1, E1', E2, E2' of the column by the operator, and sets the tilt direction selected by the input. The tilt directions E1 and E1' are directions along the X axis and opposite to each other. The tilt directions E2 and E2' are directions perpendicular to the X axis and opposite to each other. The Z axis is an axis perpendicular to the X axis and the Y axis, and indicates the moving direction of the worktable (not shown) on which the workpiece is placed.

[0040] The inclination of the column selected and input by the operator is mainly caused by the time-dependent change of the machine tool 100. Therefore, for example, before starting to process a workpiece by the machine tool 100, the operator uses a state where the column 102 of the machine tool 100 is erected perpendicularly to the bed 101 along the Y axis as the reference position of the column 102, and uses a gauge, a laser measuring device, a contact probe or other appropriate measuring device to measure in advance the inclination direction and inclination angle of the column 102 relative to the reference position. The operator selects any two of the inclination directions E1, E1', E2, and E2' displayed on the column inclination direction selection screen 720 and inputs the information of the inclination direction of the column 102.

[0041] Here, if Figure 2A and Figure 2B As shown in FIG. 7 , it is assumed that the column 102 is tilted in two directions, E1 and E2, relative to the bed 101. In this case, the operator selects and inputs the tilting directions E1 and E2 in the column tilting direction selection screen 720, and sets them in the tilting direction setting unit 72. In addition, the actual tilting angle of the column 102 is a small angle that cannot be seen by the naked eye, but Figure 2A and Figure 2B In the figure, the inclination angle of the column 102 is exaggerated for easy understanding. Fig. 6A and Figure 6B Yes Figure 2A and Figure 2B The tilt direction of the column 102 is shown in the figure as a vector display.

[0042] The verticality error setting unit 73 displays, for example, the tilt directions E1 and E2 selected and input by the operator in the tilt direction setting unit 72. Figure 5 The verticality error input screen 730 is shown as shown. Thus, the verticality error setting unit 73 receives the operator's input of the tilt angle as the verticality error in the tilt directions E1 and E2 of the column 102, and sets the input tilt angle.

[0043] That is, the operator inputs the tilt angles of the tilt directions E1 and E2 respectively on the verticality error input screen 730, and the tilt angles of the tilt directions E1 and E2 respectively are measured together with the tilt direction of the column 102 in order to select and input the tilt direction on the column tilt direction selection screen 720. The input tilt angles of the two tilt directions E1 and E2 are automatically converted into ISO / JIS standard data.

[0044] As described above, when the operator inputs and sets the information of the linear drive axis combination of the column, the tilt direction of the column and the verticality error of the column in the linear drive axis combination setting unit 71, the tilt direction setting unit 72 and the verticality error setting unit 73, the correction data setting unit 7 outputs the above-mentioned set information to the correction amount calculation unit 8.

[0045] The correction amount calculation unit 8 includes a tool length correction amount acquisition unit 81, a tool diameter correction amount acquisition unit 82, an additional axis determination unit 83, and a position correction amount calculation unit 84. The correction amount calculation unit 8 calculates the position correction amount of the tool tip 103b as a machining point in the execution program.

[0046] The tool length correction amount acquisition unit 81 acquires the tool length T associated with each tool 103 pre-stored in the correction unit 5 based on the G code “G43 H1 Z0” for tool length correction in the numerical control program of the numerical control device 1. H Information. Fig. 6A As shown, tool length T H It is the distance in the axial direction from the tool installation position 103a to the tool tip 103b of the tool.

[0047] The tool diameter correction amount acquisition unit 82 acquires the tool diameter T associated with each tool 103 pre-stored in the correction unit 5 based on the G code “G41 D1 X0 Y0” for tool diameter correction in the numerical control program of the numerical control device 1. D .like Fig. 6A As shown, the tool diameter TD is a distance in a direction perpendicular to the axial direction of the tool from the tool mounting position 103 a to the tool tip 103 b .

[0048] The correction amount calculation unit 8 generates a tool vector TL based on the tool length TH acquired by the tool length correction amount acquisition unit 81 and the tool diameter TD acquired by the tool diameter correction amount acquisition unit 82. Tool vector T L It is through T L =T H +T D For example, Figure 1As shown, by outputting the tool length TH acquired by the tool length correction amount acquisition unit 81 to the tool diameter correction amount acquisition unit 82, the tool vector T can be generated in the tool diameter correction amount acquisition unit 82. L .

[0049] The additional axis determination unit 83 determines whether there is an additional axis (W axis) that moves parallel to any one of the movable axes (XYZ axes) of the column 102 in the machine tool 100 based on the information of the linear drive axis combination setting unit 71. Figure 2A , Figure 2B as well as Figure 4 As shown, since there is no additional axis (W axis)

[0050] Since the machine tool 100 of FIG. 1 is the target, the additional axis determination unit 83 does not function.

[0051] The position correction amount calculation unit 84 uses the tool vector T L The position correction amount ΔX, ΔY, ΔZ of the tool tip 103b is calculated for each axis of the XYZ axis by using the information of the linear drive axis combination of the column 102, the tilt direction of the column 102, and the verticality error of the column 102 sent from the correction data setting unit 7. Specifically, Fig. 6A and Figure 6B As shown, the position correction amounts ΔX, ΔY, and ΔZ are obtained by the following calculation formulas.

[0052] ΔX=ΔX1=(y p ·EC0Y) X

[0053] ΔY=ΔY1+ΔY2+ΔY3=(y p EA0Y) Y +(T L EA0Y) Y +(y p ·EC0Y) Y

[0054] ΔZ=ΔZ1ΔZ2=(y p EA0Y) Z +(T L EA0Y) Z

[0055] In the above formula,

[0056] y p Indicates the machine coordinate of the Y-axis (tool position).

[0057] EC0Y represents the verticality of the Y-axis around the Z-axis (radian).

[0058] EA0Y represents the perpendicularity of the Y axis around the X axis (in radians).

[0059] (y p ·EC0Y) X Indicates that y p The X-axis component after rotating EC0Y.

[0060] (y p ·EC0Y) Y Indicates that y p The Y-axis component after rotating EC0Y.

[0061] (y p EA0Y) Y ,(T L EA0Y) Y Indicates that y p 、T L The Y-axis component of each rotation by EA0Y.

[0062] (y p EA0Y) Z ,(T L EA0Y) Z Indicates that y p 、T L The Z-axis component of each rotation EA0Y.

[0063] The correction amount calculation unit 8 outputs the position correction amounts ΔX, ΔY, ΔZ obtained in the position correction amount calculation unit 84 as described above to the correction unit 5. The correction unit 5 adds the position correction amounts ΔX, ΔY, ΔZ sent from the correction amount calculation unit 8 to the speed commands of the XYZ axes sent from the acceleration / deceleration command generation units 4X, 4Y, 4Z for the X, Y, and Z axes, respectively. Thus, the correction unit 5 outputs the speed commands of the XYZ axes after the verticality error of the column 102 is corrected to the X, Y, and Z axis servos 6X, 6Y, 6Z, respectively. Therefore, the XYZ axis drive motors (not shown) that are rotationally controlled by the X, Y, and Z axis servos 6X, 6Y, 6Z can move the tool 103 and the workpiece (not shown) relatively along the XYZ axes, respectively, according to the speed commands after the verticality error of the column 102 is corrected based on the tool length and tool diameter.

[0064] Next, a description will be given of a case where the numerical controller 1 performs a calibration of a tool mounted on a column of a machine tool having an additional axis (W axis).

[0065] Fig. 7A and Figure 7BA machine tool 100A having a beam 104 as an additional axis is schematically shown. The beam 104 has a transverse rail 104b mounted on a pair of longitudinal rails 104a, 104a, and the pair of longitudinal rails 104a, 104a are vertically erected on the bed 101 along the W axis parallel to the Z axis. The transverse rail 104b is installed in a manner that can move up and down along the longitudinal rails 104a, 104a in the W axis direction. The column 102 is installed in a manner that can move on the transverse rail 104b in the Y axis direction. That is, the column 102 is set on the beam 104 and can be operated. The tool 103 is mounted on the spindle (not shown). The spindle is set on one side of the column 102 in a manner that can move in the Z axis direction. The X axis is a direction orthogonal to the Y axis and the Z axis (W axis). The X axis represents the moving direction of the workbench (not shown) on which the workpiece is placed. Generally, the upright post 102 is referred to as a saddle, and the longitudinal rails 104a are referred to as left and right upright posts.

[0066] In the case of such a machine tool 100A, the drive axes of the column 102 are the Y axis, the Z axis, and the W axis, and therefore the operator inputs "bWYZ(C)t" in the column linear drive axis combination selection screen 710 of the calibration data setting unit 7. That is, in the case of the machine tool 100A having the beam 104 as an additional axis (W axis), the calibration data setting unit 7 of the numerical controller 1 is configured to select and input not only the linear drive axis combination of the column 102 but also the linear drive axis combination of the beam 104.

[0067] Next, regarding the column linear drive axis combination ("bWYZ(C)t") including the additional axis (W axis) selected and input by the operator in the linear drive axis combination setting unit 71, the tilt direction setting unit 72 displays, for example, Fig. 9 The column tilt direction selection screen 720 is shown as shown. In this case, the tilt direction includes the tilt directions E1, E1', E2, and E2' of the column 102, and the tilt directions E3, E3', E4, and E4' of the beam 104. Thus, the tilt direction setting unit 72 receives the operator's selection input of the tilt directions E1, E1', E2, and E2' of the column 102 and the tilt directions E3, E3', E4, and E4' of the beam 104, and sets the tilt directions selected. The tilt directions E3 and E3' of the beam 104 are opposite to each other along the Y axis. The tilt directions E4 and E4' are opposite to each other along the X axis.

[0068] The operator uses an appropriate measuring device to measure the inclination direction and inclination angle of each of the column 102 and the beam 104 of the machine tool 100A in advance, similarly to the case of the machine tool 100. The operator selects any two of the inclination directions E1, E1', E2, and E2' of the column 102 and any two of the inclination directions E3, E3', E4, and E4' of the beam 104 displayed on the column inclination direction selection screen 720, and inputs information on the inclination directions of the column 102 and the beam 104.

[0069] Here, if Fig. 7A and Figure 7B As shown in FIG. 7 , it is assumed that the column 102 is tilted relative to the bed 101 in two directions, E1 and E2. It is assumed that the beam 104 is tilted relative to the bed 101 in two directions, E3 and E4. In this case, the operator selects and inputs the tilt directions E1, E2, E3, and E4 in the column tilt direction selection screen 720, and sets them in the tilt direction setting unit 72. In addition, the actual tilt angles of the column 102 and the beam 104 are very small angles that cannot be seen by the naked eye, but Fig. 7A and Figure 7B In the figure, the inclination angles of the column 102 and the beam 104 are exaggerated for easy understanding. Fig.11A and Fig. 11B Yes Fig. 7A and Figure 7B The inclination directions of the columns 102 and beams 104 are shown in the figure as vectors.

[0070] Regarding the tilt directions E1, E2, E3, and E4 of the column 102 and the beam 104 selected and input by the operator in the tilt direction setting unit 72, the verticality error setting unit 73 receives the operator's input of the tilt angle of the column 102 and the tilt angle of the beam 104, and sets the input tilt angle. Fig.10 The verticality error input screen 730 shown in FIG. 1 is used to input the verticality error. The tilt angle of the column 102 is the verticality error in the tilt directions E1 and E2 of the column 102, and the tilt angle of the beam 104 is the verticality error in the tilt directions E3 and E4 of the beam 104. The four tilt angles of the input tilt directions E1, E2, E3, and E4 are automatically converted into ISO / JIS standard data.

[0071] When the above-mentioned information is set in the correction data setting unit 7, the correction data setting unit 7 outputs the set information to the correction amount calculation unit 8. The correction amount calculation unit 8 obtains the tool length T based on the G code for tool length correction and the G code for tool diameter correction in the numerical control program of the numerical control device 1 in the tool length correction amount acquisition unit 81. Hand tool diameter T D , generating tool vector T L .

[0072] The additional axis determination unit 83 determines, based on the information from the linear drive axis combination setting unit 71 , that the machine tool 100A includes an additional axis (W axis) that moves in parallel with any one of the movable axes (XYZ axes) of the column 102 .

[0073] The position correction amount calculation unit 84 uses the tool vector T L The position correction amount ΔX, ΔY, ΔZ, ΔW of the tool tip 103b is calculated for each of the XYZW axes including the additional axis, based on the information about the linear drive axis combination, the tilt direction, and the verticality error of the column 102 and the beam 104 sent from the correction data setting unit 7. Specifically, Fig.11A and Fig. 11B As shown, the position correction amounts ΔX, ΔY, ΔZ, and ΔW are obtained by the following calculation formulas.

[0074] ΔX=ΔX1+ΔX2-ΔX3=(W p EB0W) X +{Z p ·(EB0Z+EB0W)} X -{T L ·(EB0Z+EB0W)} X

[0075] ΔY=ΔY1+ΔY2=(W p EA0W) Y +{Z p ·(EA0Z+EA0W)} Y

[0076] ΔZ=ΔZ1+ΔZ2+ΔZ3={Z p ·(EB0Z+EB0W)} Z +{T L ·(EB0Z+EB0W)} Z +{Z P ·(EA0Z+EA0W)} Z

[0077] ΔW=ΔW1+ΔW2=(W p EB0W) W +(W p EA0W) W

[0078] In the above formula,

[0079] Z p Indicates the machine coordinate of the Z axis (tool position).

[0080] W P Indicates the machine coordinate of the W-axis (column position).

[0081] Z 0 Indicates the mechanical origin of the Z axis.

[0082] W 0 Indicates the mechanical origin of the W axis.

[0083] EB0Z represents the perpendicularity of the Z axis around the Y axis (in radians).

[0084] EA0Z represents the perpendicularity of the Z axis around the X axis (in radians).

[0085] EB0W represents the perpendicularity of the W axis around the Y axis (radians).

[0086] EA0W represents the perpendicularity of the W axis around the X axis (radians).

[0087] {Z p ·(EB0Z+EB0W)} X , {T L ·(EB0Z+EB0W)} X Indicates that Z p , T L The X-axis component after rotation by "EB0Z+EB0W".

[0088] {Z p ·(EA0Z+EA0W)} Y Indicates that Z p The Y-axis component after rotating "EA0Z+EA0W".

[0089] {Z p ·(EB0Z+EB0W)} Z , {T L ·(EB0Z+EB0W)} Z Indicates that Z p , T L The Z-axis component of each rotation by "EB0Z+EB0W".

[0090] {Z p ·(EA0Z+EA0W)} Z Indicates that Z p The Z-axis component after rotating "EA0Z+EA0W".

[0091] (W p EB0W) X Indicates that W p The X-axis component after rotation EB0W.

[0092] (Wp EA0W) Y Indicates that W p The Y-axis component after rotation EA0W.

[0093] (W p EB0W) W Indicates that W p The W-axis component after rotation EB0W.

[0094] (W p EA0W) W Indicates that W p The W-axis component after rotation EA0W.

[0095] The correction amount calculation unit 8 outputs the position correction amounts ΔX, ΔY, ΔZ, ΔW obtained in the position correction amount calculation unit 84 as described above to the correction unit 5. The correction unit 5 adds the position correction amounts ΔX, ΔY, ΔZ, ΔW sent from the correction amount calculation unit 8 to the speed commands of the XYZW axes sent from the X, Y, Z, W axis acceleration / deceleration command generation units 4X, 4Y, 4Z, 4W, respectively. Thus, the correction unit 5 outputs the speed commands of the XYZW axes after the verticality errors of the column 102 and the beam 104 are corrected to the X, Y, Z, W axis servos 6X, 6Y, 6Z, 6W, respectively. Therefore, the drive motors (not shown) of the XYZW axes that are rotationally controlled by the X, Y, Z, and W axis servos 6X, 6Y, 6Z, and 6W can move the tool 103 and the workpiece (not shown) relatively along the XYZW axes according to the speed instructions after correcting the verticality error of the column 102 and the beam 104 based on the tool length and tool diameter.

[0096] As described above, the numerical control device 1 can automatically calculate the position correction amount of the tool 103 relative to the machining point in consideration of not only the tool length difference but also the tool diameter difference for the vertical error, simply by the user (operator) selecting and inputting the linear drive axis combination, the tilt direction, and the vertical error of the column 102 of the machine tool 100 on the column linear drive axis combination selection screen 710, the column tilt direction selection screen 720, and the vertical error input screen 730 displayed on the screen by the correction data setting unit 7. Therefore, according to the numerical control device 1, the vertical error caused by the aging change of the machine tool 100 can be easily corrected by the user (operator).

[0097] In addition, even in the case where the machine tool is a machine tool 100A having an additional axis (W axis), the numerical control device 1 can automatically calculate the position correction amount of the tool 103 relative to the processing point in consideration of not only the tool length difference but also the tool diameter difference for the vertical error, simply by the user (operator) selecting and inputting the linear drive axis combination of the column 102 including the additional axis (W axis), the tilt direction, and the vertical error. Therefore, according to the numerical control device 1, the vertical error caused by the aging change of the machine tool 100A having an additional axis can also be easily corrected by the user (operator).

Claims

1. A numerical control device for controlling a tool mounted on a column, the numerical control device comprising: a calibration data setting unit for setting the combination of the linear drive axes of the column, the tilt direction of the column, and the verticality error of the column by selecting and inputting them; and The correction amount calculation unit, when the tool length is set to T H , set the tool diameter to T D When the tool length and tool diameter are stored in advance, the tool length and tool diameter are stored in advance through T H +T D Generate a tool vector, and calculate a position correction amount of the tool tip as a processing point in the execution program using the tool vector and the combination of the linear drive axes of the column, the tilt direction of the column, and the verticality error of the column set by the correction data setting unit, wherein: The tool length is the distance in the axial direction from the installation position of the tool to the tool tip, and the tool diameter is the distance in the direction perpendicular to the axial direction from the installation position of the tool to the tool tip.

2. The numerical control device according to claim 1, wherein: The uprights are arranged on the cross beams and can be operated. The correction data setting unit is further configured to select and input a linear drive axis combination of the beam, an inclination direction of the beam, and a verticality error of the beam. The correction amount calculation unit is further configured to calculate the position correction amount of the tool tip by also using a combination of linear drive axes of the beam, an inclination direction of the beam, and a perpendicularity error of the beam.

Citation Information

Patent Citations

  • Method and unit for correcting position error

    JP2009146057A

  • Measurement correcting method for machine tool

    JP2001105279A

  • Displacement correction system of machine tool

    JP2016048499A