Control unit and machine tool
The control device automates interference checking in machine tools by using tool length and diameter correction amounts, simplifying the process and reducing time and effort for setting interference areas, even with multiple tools.
Patent Information
- Application Number
- DE102020203770
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-03-28
- Filing Date
- 2020-03-24
- Publication Date
- 2026-11-26
- Estimated Expiration
- 2040-03-24
AI Technical Summary
Adjusting the shapes of multiple tools in a machine tool for interference checking is time-consuming and labor-intensive.
A control device for a machine tool that includes a memory unit, control unit, range setting unit, and interference determination unit, which utilize tool length and diameter correction amounts to set and check for interference areas, reducing the need for detailed shape adjustments of each tool.
Facilitates efficient and simplified interference checking by automating the process, minimizing time and effort required for setting interference areas, even with multiple tools.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical area The present invention relates to a control device and a machine tool. background A machine tool is known from the prior art which has an interference checking function to prevent the respective sections of a tool, a table, a holding device, a workpiece and the like from unintentionally interfering with each other (see e.g. documents PTL 1 to 3). Patent literature PTL 1: JP 2010-231737PTL 2: JP 2009-116505PTL 3: JP 2003-305625 Summary Technical problem To perform an interference check, it is necessary to adjust the shapes of the respective sections of the machine tool. For a machine tool that uses multiple tools, adjusting the shapes of all tools requires time and effort. Problem solving According to one aspect of the present disclosure, a control device for a machine tool is provided, comprising a table to which a workpiece is attached and a spindle which holds a tool, wherein the control device comprises: a memory unit which stores a work program and a tool length correction amount; a control unit which causes the table and the spindle to move relative to each other on the basis of the work program and the tool length correction amount; a range setting unit which sets an interference checking range including the tool held by the spindle;and an interference determination unit that determines whether the interference checking area interferes with obstacles in the vicinity of the tool in a case where the tool and the table are caused to move relative to each other on the basis of the work program and the tool length correction amount, wherein the area setting unit sets the interference checking area on the basis of the tool length correction amount. Brief description of the drawings Fig. 1 is a front view of a machine tool according to one embodiment. Fig. 2 is a block diagram of the machine tool in Fig. 1. Fig. 3 is a view illustrating parameters related to the tool. Fig. 4 is a view showing an example of an interference check area set based on a tool length correction amount. Fig. 5 is a view showing another example of the interference check area set based on the tool length correction amount. Fig. 6 is a view showing an example of an interference check area set based on a tool length correction amount and a tool diameter correction amount.Figure 7 is a view showing another example of the interference check area defined based on the tool length correction amount and the tool diameter correction amount. Figure 8 is a view showing an example of an interference check area defined based on a tool length correction amount, a tool diameter correction amount, and a protruding amount for a stepped tool section. Figure 9 is a view showing another example of the interference check area defined based on the tool length correction amount, the tool diameter correction amount, and the protruding amount for the stepped tool section.Figure 10 is a view showing an example of an interference check area defined based on a correction amount for the tool length, a correction amount for the tool diameter, and the shape data of a holder section. Figure 11 is a view showing another example of the interference check area defined based on the correction amount for the tool length, the correction amount for the tool diameter, and the shape data of the holder section. Description of the embodiments The following describes a machine tool 1 according to one embodiment with reference to the drawings. The machine tool 1 comprises a table 2 on which a workpiece W is attached, a spindle 3 which holds a tool 20, and a tool magazine 4 which holds a plurality of tools 20, as shown in Fig. 1. The machine tool 1 further comprises a spindle motor 5, which rotates the spindle 3 about a longitudinal axis of the spindle 3, a plurality of feed motors 6, which move the table 2 and the spindle 3 relative to each other, and a control device 7, which controls the spindle motor 5 and the feed motors 6 as shown in Fig. 2. Each tool 20 comprises a stepped tool section 21, which comes into contact with and machines the workpiece W, and a holder section 22, which holds a proximal end section of the stepped tool section 21, as shown in Fig. 3. The stepped tool section 21 has various shapes and dimensions depending on the type. The holder section 22 comprises a flange section 23, which projects radially outward and typically has a maximum diameter at the flange section 23. The shape and dimensions of the flange section 23 are defined by standards and are common for the majority of tools 20. The holder section 22 is held by the spindle 3 on a shank section that is closer to the proximal end face than the flange section 23. Tool magazine 4 is, for example, of the tool turret type. Machine tool 1 has an automatic tool changer function that automatically exchanges the tools 20 between tool magazine 4 and spindle 3. Tool magazine 4 has multiple tool holders 4a, each capable of holding the tools 20. Tool magazine 4 is equipped with a tool identification unit, such as an RFID tag, which reads the identification information of the tools 20 in their respective tool holders 4a. The tool identification unit transmits this information to the control device 7, assigns it to the positions of the tool holders 4a, and stores it in a memory unit 11. An operator can enter the identification information of the tools 20 in their respective tool holders 4a into the control device 7. The spindle motor 5, for example, is a spindle motor and is connected to the spindle 3. The feed motors 6 are, for example, servo motors and cause a relative movement of the table 2 and the spindle 3 in the Z-direction along a longitudinal axis of the tools 20 and in an XY direction that intersects the longitudinal axis of the tools 20 perpendicularly. In the example in Fig. 1, the XY direction is a horizontal direction, while the Z-direction is a vertical direction. The feed motors 6 comprise two first feed motors that cause a movement of the table 2 in the horizontal direction, and a second feed motor that causes a movement of the spindle 3 in the Z-direction. The first feed motors are provided on a bed 8 that supports the table 2, and the second feed motor is provided on a column 9 that supports the spindle 3. The control device 7 comprises a control unit 10, which includes a processor, and the memory unit 11, which includes RAM, ROM, other non-volatile memory, and the like. The memory unit 11 stores a work program 11a, an interference checking program 11b, form data 11c, and tool data 11d. The control unit 10 transmits control commands to the spindle motor 5 and the feed motors 6 according to the work program 11a. The spindle motor 5 causes the spindle 3 to rotate according to the control command, and the feed motors 6 cause the table 2 and the spindle 3 to move relative to each other according to the control command. In this way, the spindle motor 5 and the feed motors 6 perform operations based on the work program 11a, with the lowered tool section 21 of the tool 20 held by the spindle 3 machining the workpiece W on the table 2. The shape data 11c comprises three-dimensional shape data of obstacles located in the vicinity of the tool 20 held by the spindle 3 and within the tool 20's range of motion. These obstacles include, for example, the table 2, a clamping device provided on the table 2, and the workpiece W placed on the clamping device. The tool data 11d includes the maximum tool diameters and tool length offsets (tool length correction amount). The maximum tool diameters are the maximum diameters of the tools 20 that can be mounted on the spindle 3. These are fixed values determined according to a specification, e.g., a diameter, of the spindle 3. The maximum tool diameters are set by the operator in the tool data 11d via an input device connected to the control device 7, or preset in the tool data 11d. Tool length offsets are, for example, distances in the Z-direction between table 2 and a distal end of the tool 20 held by spindle 3 when table 2 and spindle 3 are in an origin position. In the example shown in Fig. 1, the tool length offset is a distance in the vertical direction from an upper surface of table 2 to a lower end of the tool 20. For example, the tool data 11d includes a correspondence table that represents a mapping between identification information and tool length offsets of the tools 20. By entering the tool length offset into the correspondence table using the input device, the operator sets a tool length offset before the work program 11a is executed. The tool length L is different for each tool 20. The tool length L is a length in the Z-direction from a reference surface of the spindle 3 to a distal end of the offset tool section 21, as shown in Fig. 3. The reference surface is, for example, a measuring surface with a diameter of the tapered shank section of the holder section 22 as a predetermined reference diameter, or a distal end surface of the spindle 3. The tool length L can also change, even if it is the same tool 20, due to wear or similar factors. The tool length offsets are parameters used to correct deviations in the tool length L during the position control of the spindle 3 in the Z-direction based on the work program 11a, and are parameters required for the execution of the work program 11a. The control device 7 comprises a range setting unit 12, which sets an interference check area A including the tool 20 held by the spindle 3, and an interference determination unit 13, which determines whether the interference check area A interferes with the obstacles or not. The range setting unit 12 and the interference determination unit 13 each comprise processors and perform the following processing in accordance with the interference check program 11b. The interference check program 11b is executed in synchronization with the work program 11a. The range setting unit 12 acquires the identification information of the tool 20, currently held by the spindle 3, from the control unit 10 and reads the tool data 11d from the storage unit 11. Next, the range setting unit 12 sets the interference checking area A, including an entire section located on the outside of the spindle 3, in the tool 20 based on the tool data 11d of the tool 20 currently held by the spindle 3. Figures 4 and 5 illustrate examples of the interference checking area A. The interference checking area A is a single cylindrical region obtained by simplifying the shape of the tool 20, having a height Ha in the Z direction and a diameter Da in the XY direction.The range setting unit 12 sets the height Ha based on the tool length offset and sets the diameter Da based on the maximum tool diameter. For example, the diameter Da is a value obtained by adding a predetermined tolerance to the maximum tool diameter, and the height Ha is a value obtained by adding a predetermined tolerance to the tool length L, which is calculated from the tool length offset. The area setting unit 12 acquires the shape data 11c from the storage unit 11 and defines an obstacle area with obstacles based on the shape data 11c. The interference determination unit 13 determines whether the interference checking area A interferes with or intersects the obstacle area in a case where the table 2 and the spindle 3 are moved relative to each other in accordance with the work program 11a. For example, the interference determination unit 13 calculates the positions of the interference checking area A and the obstacle area at each time within a predetermined time interval from the current time and determines at each time whether the interference checking area A will interfere with the obstacle area or not. Here, interference means interference between the interference checking area A and the obstacle area due to unintentional contact between the tool 20 and some obstacle other than the contact between the removed tool section 21 and the workpiece W.The interference detection unit 13 sends an interference detection signal to the control unit 10 in a case where it is determined that interference will occur, and the interference detection unit 13 does not send the interference detection signal to the control unit 10 in a case where it is determined that no interference will occur. The control unit 10 reacts to the interference detection signal and performs interference avoidance control to prevent interference between the tool 20 and certain obstacles. Interference avoidance control includes, for example, reducing the travel speed, stopping, or changing the trajectories of the table 2 and the spindle 3. Next, the operation of machine tool 1 will be described. The control unit 10 causes the rotation of the tool 20 and the relative movement between the workpiece W and the tool 20 by controlling the spindle motor 5 and the feed motors 6 according to the work program 11a and thereby performing the machining of the workpiece W with the tool 20. Parallel to the machining of the workpiece W, the area setting unit 12 and the interference determination unit 13 perform the interference check between the tool 20 and the obstacles according to the interference check program 11b. Specifically, the area setting unit 12 reads the maximum tool diameter and the tool length offset of the tool 20 currently held by the spindle 3 from the tool data 11d stored in the memory unit 11 and sets the interference check area A. Furthermore, the area setting unit 12 reads the shape data 11c of the obstacles stored in the memory unit 11 and sets the obstacle area. The area setting unit 12 resets the interference check area A each time the tool 20 held by the spindle 3 is changed. The interference detection unit 13 determines, based on the work program 11a, whether the interference detection area A interferes with the obstacle area in a case where table 2 and spindle 3 are moving relative to each other. If it is determined that the interference detection area A does not interfere with the obstacle area, the control unit 10 continues the relative movement of table 2 and spindle 3 based on the work program 11a. Conversely, if it is determined that the interference detection area A does interfere with the obstacle area, the control unit 10 executes the interference avoidance control in response to the interference detection signal from the interference detection unit 13.For example, the control unit 10 reduces the travel speed of the table 2 and the tool 20, stops the table 2 and the tool 20, or moves the tool 20 to a position where the tool 20 does not come into contact with the obstacles by controlling the spindle motor 5 and the feed motors 6. It is possible to represent simple shapes of the tools 20 with a single cylinder or combinations of several cylinders, with the exception of special tools such as an angled tool. In general, it is not necessary for the interference checking area A to precisely represent the outer shapes of the tools 20; the interference checking area A can be any area larger than the tools 20 that includes them. Such an interference checking area A can be set using the diameter Da and the height Ha. Here, depending on the embodiment, the diameter Da and the height Ha are set based on the maximum tool diameters and the tool length offsets stored in the memory unit 11. The tool length offsets are parameters necessary for executing the work program 11a and are set in the control device 7, regardless of whether interference checking is to be performed or not. In other words, it is not necessary for the operator to set parameters relating to the shapes of the individual tools 20 just for interference checking. Therefore, it is possible to reduce the time and effort required to set the shapes of the tools 20 and to easily set the interference checking area A even when working with multiple tools 20. Although the range setting unit 12 sets the diameter Da of the interference checking area A based on the maximum tool diameter in the embodiment mentioned above, the range setting unit 12 can instead set the diameter Da of the interference checking area A based on the diameter of the spindle 3. The tool length offset can also be a different value than the distance between table 2 and the distal end of the tool 20, e.g. a length in the Z direction from the reference surface of the spindle 3 to the distal end of the offset tool section 21 in the aforementioned embodiment. Although the range setting unit 12 sets the interference checking range A based on the combination of the tool length offset and the maximum tool diameter in the embodiment described above, the interference checking range A can instead be set based on a combination of the tool length offset and another parameter. Figures 6, 7, 8, 9, 10 to 11 show further examples of the interference checking range A. In the examples in Fig. 6 and Fig. 7, the interference checking area A is a region with a single cylindrical shape. The tool data 11d includes tool length offsets, tool diameter offsets (tool diameter correction values), and a flange diameter Df. The tool diameter offsets are, for example, the diameters or radii of the offset tool sections 21. By entering the tool diameter offset into the correspondence table using the input device, the operator sets a tool diameter offset, for example, before the execution of the work program 11a. The flange diameter Df is a diameter of the flange section 23 of the tool 20. The flange diameter Df is a fixed value determined according to the specifications of the tool holding sections 4a of the tool magazine 4 and is common to all tools 20. The flange diameter Df is set by the operator in the tool data 11d using the input device or predefined in the tool data 11d. The range setting unit 12 sets the height Ha based on a tool length offset. Furthermore, the range setting unit 12 calculates a tool diameter Dt from a tool diameter offset and sets the diameter Da based on a larger value of the tool diameter Dt and the flange diameter Df. The tool diameter Dt is a diameter of the offset tool section 21, as shown in Fig. 3. In a case where the tool diameter Dt is smaller than the flange diameter Df, as shown, for example, in Fig. 6, the diameter Da is a value obtained by adding a predetermined tolerance to the flange diameter Df. Conversely, in a case where the tool diameter Dt is larger than the flange diameter Df, as shown in Fig. 7, the diameter Da is a value obtained by adding a predetermined tolerance to the tool diameter Dt. A maximum value for the diameters of the respective tools 20 is typically either the flange diameter Df or the tool diameter Dt. Therefore, it is possible to set an interference check area A with a shape that is more similar to an actual shape of the tool 20 by using a larger value of the tool diameter Dt and the flange diameter Df for setting the diameter Da instead of the maximum tool diameter. Here, the flange diameter Df is defined by standards and is a common value for all tools 20 housed in the tool magazine 4. The tool diameter offsets are parameters used to correct deviations in the tool diameter Dt during spindle 3 position control in the XY direction based on the work program 11a. The tool diameter offsets of the tools 20 for machining in the XY direction, e.g., a milling cutter, are set in the control device 7, regardless of whether interference checking is to be performed or not. In other words, only a small number of parameters relating to the shapes of the tools 20 are required, which the operator only needs to set for interference checking. In the examples in Figs. 8 and 9, the interference check area is a combination of two cylindrical areas, A1 and A2. The first area, A1, encompasses the offset tool section 21, and the second area, A2, encompasses a portion of the holder section 22 located outside the spindle 3. The tool data 11d includes the tool length offsets, the tool diameter offsets, the flange diameter Df, and the protruded values Lt of the offset tool sections 21. The protruded values Lt represent the length in the Z-direction of the section protruding from the holder section 22 of the offset tool section 21. By entering the protruded values Lt into the correspondence table using the input device, the protruded values Lt are set before, for example, the work program 11a is executed. The range setting unit 12 sets the height or diameter of the first range A1 based on the aforementioned value Lt and the tool diameter Dt. The range setting unit 12 also sets the height of the second range A2 based on a difference between the tool length L and the aforementioned value Lt. Furthermore, the range setting unit 12 sets the diameter of the second range A2 similarly to the diameter Da of the interference testing range A in Figs. 6 and 7. To account for the operating conditions, in some cases the aforementioned value Lt of the offset tool section 21 is measured. In such cases, the use of the aforementioned value Lt allows the adjustment of the interference check areas A1 and A2 with shapes that are more similar to an actual shape of the tool 20. In the examples in Figs. 10 and 11, the interference verification areas are combinations of three areas A1, A2, and A3 with cylindrical shapes. The first area A1 is an area encompassing the offset tool section 21, the second area A2 is an area encompassing a collet section 24 of the holder section 22, and the third area A3 is an area encompassing the flange section 23 of the holder section 22. The tool data 11d includes the tool length offsets, the tool diameter offsets, and the shape data of the holder section 22. The range setting unit 12 sets the height and diameter of the first range A1 based on the aforementioned value Lt and the tool diameter Dt. The range setting unit 12 also sets the height and diameter of the second range A2 and the height and diameter of the third range A3 based on the shape data of the holder section 22. The shapes of the holder sections 22 of the majority of tools 20 are identical in some cases. Furthermore, the shapes of the holder sections 22 do not change during the machining of the workpiece W, unlike the shapes of the offset tool sections 21. Using the shape data of the holder sections 22 allows the interference check areas A1, A2, and A3 to be set with shapes that more closely resemble the actual shapes of the tools 20. Although the interference testing area is formed from a single area with a cylindrical shape or a combination of several areas with cylindrical shapes in the above-mentioned configuration, the interference testing area can instead be formed from a single area with a polygonal columnar shape or a combination of several areas with polygonal columnar shapes. For example, the interference checking area can consist of a single area with a square column shape or a combination of two or three areas with square column shapes. In this case, the area setting unit 12 sets the length of a side or the length of a diagonal line instead of the diameter Da based on the maximum tool diameter, the tool diameter offset, or similar. Although the control device 7 is a control unit for numerical values of the machine tool 1, which performs an interference check when the tool 20 machines the workpiece W in the embodiment described above, the control device 7 can instead be a simulation device that simulates whether or not the tool 20 interferes with obstacles. For example, the control device 7 can be a computer for the simulation. The tool data 11d, such as tool length offsets, tool diameter offsets, a flange diameter Df, and a tool diameter Dt, are also required in the simulation to create models of the tools 20 or to execute the work program 11a. By using such parameters for setting the interference check area A, it is possible to reduce the time and effort required to adjust the shapes of the tools 20 and to set the interference check area A in a simple manner. Reference symbol list 1 Machine tool 2 Table 3 Spindle 5 Spindle motor 6 Feed motor 7 Control device 10 Control unit 11 Storage unit 11a Work program 12 Range setting unit 13 Interference determination unit 20 Tool 21 Offset tool section 22 Holder section 23 Flange section A, A1, A2, A3 Interference checking area
Claims
Control device (7) of a machine tool (1) comprising a table (2) to which a workpiece (W) is attached and a spindle (3) which holds a tool (20), wherein the control device (7) comprises: a storage unit (11) which stores a work program (11a) and a tool length correction amount, wherein the tool length correction amount is a parameter used to correct deviations of a tool length (L) in the position control of the spindle (3) based on the work program (11a); a control unit (10) which causes the table (2) and the spindle (3) to move relative to each other based on the work program (11a) and the tool length correction amount; a range setting unit (12) which sets an interference checking range (A, A1, A2, A3) including the tool (20) held by the spindle (3);and an interference determination unit (13) which determines, on the basis of the work program (11a) and the tool length correction amount, whether the interference checking area (A, A1, A2, A3) is disturbed by obstacles in the vicinity of the tool (20) in a case in which the tool (20) and the table (2) are moved relative to each other, wherein the area setting unit (12) sets the interference checking area (A, A1, A2, A3) on the basis of the tool length correction amount. Control device (7) according to claim 1, wherein the interference checking area (A, A1, A2, A3) is formed from one or more areas with cylindrical shapes or polygonal columnar shapes. Control device (7) according to claim 2, wherein the storage unit (11) further stores a maximum diameter of the tool (20) that can be attached to the spindle (3), and the range setting unit (12) sets the interference checking range (A, A1, A2, A3) based on the tool length correction amount and the maximum diameter of the tool (20). Control device (7) according to claim 2, wherein the storage unit (11) further stores a tool diameter correction amount and a diameter of a flange section (23) of the tool (20), and the range setting unit (12) determines the interference checking range (A, A1, A2, A3) on the basis of the tool length correction amount, the tool diameter correction amount and the diameter of the flange section (23). Control device (7) according to claim 2, wherein the storage unit (11) further stores a tool diameter correction amount and a protruding amount of a detached tool section (21) of the tool (20), and the range setting unit (12) sets the interference checking range (A, A1, A2, A3) consisting of the two ranges on the basis of the tool length correction amount, the tool diameter correction amount and the protruding amount for the detached tool section (21). Control device (7) according to claim 2, wherein the storage unit (11) further stores a tool diameter correction amount and shape data of a holder section (22) of the tool (20), and the area setting unit (12) sets the interference checking area (A, A1, A2, A3), comprising the three areas, on the basis of the tool length correction amount, the tool diameter correction amount and the shape data of the holder section (22). Machine tool (1) comprising: a table (2) on which a workpiece (W) is mounted; a spindle (3) which holds a tool (20); a spindle motor (5) which rotates the spindle (3) about a longitudinal axis of the spindle (3); a feed motor (6) which causes the table (2) and the spindle (3) to move relative to each other; and the control device (7) which controls the spindle motor (5) and the feed motor (6) according to any one of claims 1 to 6. Control device (7) of a machine tool (1) comprising a table (2) to which a workpiece (W) is attached and a spindle (3) which holds a tool (20), wherein the control device (7) comprises: a storage unit (11) which stores a work program (11a), a tool length correction amount, a tool diameter correction amount and a protruding amount of a recessed tool section (21) of the tool (20); a control unit (10) which causes the table (2) and the spindle (3) to move relative to each other on the basis of the work program (11a) and the tool length correction amount; a range setting unit (12) which sets an interference checking range (A, A1, A2, A3) including the tool (20) held by the spindle (3);and an interference determination unit (13) which determines, on the basis of the work program (11a) and the tool length correction amount, whether the interference checking area (A, A1, A2, A3) interferes with obstacles in the vicinity of the tool (20) in a case where the tool (20) and the table (2) are moved relative to each other, wherein the area setting unit (12) sets the interference checking area (A, A1, A2, A3) on the basis of the tool length correction amount, wherein the area setting unit (12) sets the interference checking area (A, A1, A2, A3) consisting of the two areas on the basis of the tool length correction amount, the tool diameter correction amount and the preceding amount for the offset tool section (21). Control device (7) of a machine tool (1) comprising a table (2) to which a workpiece (W) is attached and a spindle (3) which holds a tool (20), wherein the control device (7) comprises: a storage unit (11) which stores a work program (11a), a tool length correction amount, a tool diameter correction amount and form data of a holder section (22) of the tool (20); a control unit (10) which causes the table (2) and the spindle (3) to move relative to each other on the basis of the work program (11a) and the tool length correction amount; a range setting unit (12) which sets an interference checking range (A, A1, A2, A3) including the tool (20) held by the spindle (3);and an interference determination unit (13) which determines, on the basis of the work program (11a) and the tool length correction amount, whether the interference checking area (A, A1, A2, A3) is disturbed by obstacles in the vicinity of the tool (20) in a case where the tool (20) and the table (2) are moved relative to each other, wherein the area setting unit (12) sets the interference checking area (A, A1, A2, A3) on the basis of the tool length correction amount, wherein the area setting unit (12) sets the interference checking area (A, A1, A2, A3), comprising the three areas, on the basis of the tool length correction amount, the tool diameter correction amount and the shape data of the holder section (22).
Citation Information
Patent Citations
procedure for collision checking of two objects
DE102004019285A1
Workpiece machining center, is connected with tool measurement unit which feds determined tool geometry into data processing unit, where measurement is made to check whether machining sequence is executed with tool
DE102007017048A1
Collision prevention method and device
DE102011082026A1
Machining process determination method and device
JP2003305625A
Interference detector of machine tool
JP2009116505A
