machine tool

The CNC device controls the spindle driving part to make the spindle key and the keyway of the tool holder close to each other. The load threshold and rotation direction information are used to achieve phasing, which solves the compatibility and load problems in the existing technology and achieves high-precision phasing and Stable operation for a long time.

CN110711866BActive Publication Date: 2024-09-13FANUC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910623339.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-07-13
Filing Date
2019-07-11
Publication Date
2024-09-13
Estimated Expiration
2039-07-11

AI Technical Summary

Technical Problem

When the specifications of the spindle and tool holder of existing machine tools are changed, compatibility problems arise, and the tool holder cannot be shared. In addition, the keyway of the tool holder bears a large load during cutting, making it difficult to add elastomers or tapered surfaces. Achieve phasing.

Method used

A CNC device is used to control the spindle drive part so that the spindle key is in close contact with the keyway of the tool holder. By storing the load threshold and rotation direction information, the tool holder is phased to avoid changes to the mechanical equipment.

Benefits of technology

It realizes simple and reliable phasing without changing the mechanical equipment, improves the accuracy of the rotation direction of the tool holder and the spindle, avoids a decrease in rigidity, and ensures higher-precision alignment and longer-term high-precision phasing. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110711866B_ABST
    Figure CN110711866B_ABST
Patent Text Reader

Abstract

The present invention provides a machine tool that can perform phase setting simply and reliably without making changes to existing mechanical equipment. The machine tool includes: a tool holder having a keyway; a spindle drive unit having a spindle and a spindle key that can be engaged with the keyway of the tool holder and holds the tool holder in a freely loadable and unloadable manner; a tool changing device including a clamping member having a clamping key and holding the tool holder in a fixed position relative to the spindle; and a numerical control device for controlling the tool changing device to load and unload the tool holder relative to the spindle. When the tool holder is installed on the spindle, in a state where the keyway of the tool holder is inserted by the spindle key, the numerical control device controls the spindle drive unit to rotate the spindle so that the spindle key is closely attached to the keyway, thereby performing phase setting of the tool holder relative to the spindle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a machine tool. Background Art

[0002] In cutting processing using machine tools, there is a known process in which the spindle box is moved while the spindle is fixed, and the workpiece is cut using a tool mounted on the top of the spindle (for example, elastic processing (Japanese: ヘール processing)). In this type of processing, in order to move the tool in a state fixed to the spindle on the workpiece, it is very important to determine the phase (rotational position) between the tool holder on which the tool is mounted and the rotation direction of the spindle. However, a very small gap is formed between the spindle key provided on the spindle and the keyway of the tool holder to facilitate loading and unloading of the tool holder. Therefore, each time the tool holder (tool) is replaced, the phase position between the tool holder and the rotation direction of the spindle will shift. In order to solve such a problem, a technology has been proposed in which an elastic body is added to the keyway of the spindle or the tool holder, or a conical surface is added to perform phase determination (for example, refer to patent documents 1 to 3).

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2002-307257

[0006] Patent Document 2: Japanese Utility Model Application Laid-Open No. 1-114244

[0007] Patent Document 3: Japanese Utility Model Application Laid-Open No. 3-62745 Summary of the invention

[0008] Problem that the invention aims to solve

[0009] When the spindle and tool holder specifications of the machine tool are changed by adopting the above-mentioned prior art structure, there is no compatibility between the mechanical equipment of the existing machine tool and the tool holder cannot be shared, so the cost of the auxiliary equipment for ensuring compatibility increases. In addition, a large load acts on the keyway of the tool holder due to cutting (for example, hobbing), so it is difficult to adopt a structure that reduces rigidity such as adding an elastic body or adding a tapered surface to the keyway.

[0010] An object of the present invention is to provide a machine tool capable of performing phasing simply and reliably without modifying existing mechanical equipment.

[0011] Solutions for solving problems

[0012] (1) The present invention relates to a machine tool (for example, a machine tool 1 described below), comprising: a tool holder (for example, a tool holder 14 described below), which has a tool and a keyway (for example, a keyway 144 described below); a spindle drive unit, which has a spindle (for example, a spindle 21 described below) and a spindle key (for example, a spindle key 212 described below) that can be engaged with the keyway of the tool holder, and holds the tool holder so that it can be freely loaded and unloaded; and a tool changing device (for example, a tool changing device 10 described below), which includes a clamping member (for example, a clamping member 13 described below), which has a clamping key that can be engaged with the keyway of the tool holder. (for example, the clamping key 136 described later), and holds the tool holder in a fixed position relative to the spindle; and a numerical control device (for example, the numerical control device 30 described later), which is used to control the tool changing device to load and unload the tool holder relative to the spindle. When the tool holder held by the clamping member is installed on the spindle, when at least the keyway of the tool holder is inserted by the spindle key, the numerical control device controls the spindle drive unit to rotate the spindle so that the spindle key is in close contact with the keyway of the tool holder, thereby phasing the tool holder relative to the spindle.

[0013] (2) In the machine tool of (1), the machine tool may also include a load threshold storage unit (for example, RAM303 described later), which is used to store the threshold value of the load applied to the spindle. When performing the phasing of the tool holder, the numerical control device determines whether to end the phasing of the tool holder based on the load applied to the spindle (for example, the load torque value T1 described later) and the threshold value of the load stored in the load threshold storage unit (for example, the load torque threshold Tth described later).

[0014] (3) In the machine tool of (1) or (2), the machine tool may also include a rotation direction storage unit (for example, RAM303 described later), which is used to store relevant information about the rotation direction of the spindle when performing the phasing of the tool holder. When performing the phasing of the tool holder, the CNC device rotates the spindle based on the relevant information about the rotation direction of the spindle stored in the rotation direction storage unit.

[0015] (4) In any machine tool of (1) to (3), the machine tool may include a rotational position storage unit (for example, RAM303 described later), which is used to store relevant information about the rotational position of the spindle around the axis when the phasing of the tool holder is completed. After the phasing of the tool holder is completed, the numerical control device corrects the rotational position of the spindle based on the relevant information about the rotational position stored in the rotational position storage unit.

[0016] Effects of the Invention

[0017] According to the present invention, it is possible to provide a machine tool that can perform phasing simply and reliably without making changes to existing mechanical equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a conceptual diagram showing the configuration of a mechanical system of a machine tool 1 according to the embodiment.

[0019] Figure 2 is a side view of the tool holder 14 .

[0020] Figure 3 is a side view of the clamping member 13.

[0021] Figure 4 1 is a top view of the clamping member 13.

[0022] Figure 5 It is a cross-sectional view when the tool holder 14 held by the clamp 13 is attached to the spindle 21 .

[0023] Fig. 6A is with Figure 5 A cross-sectional view equivalent to the section along line a-a in FIG.

[0024] Figure 6B is with Figure 5 A cross-sectional view equivalent to the cross-section along line b-b in FIG.

[0025] Figure 7 It is a block diagram showing the electrical structure of the numerical control device 30 .

[0026] Figure 8 : is a flowchart showing the procedure of the tool replacement process executed by the numerical control device 30 .

[0027] Fig.9A Schematic diagram showing the positional relationship between the key and the key groove when the main shaft 21 is rotated from the fixed phase rotation position.

[0028] Fig. 9B Schematic diagram showing the positional relationship between the key and the key groove when the main shaft 21 is rotated from the fixed phase rotation position.

[0029] Fig. 9C Schematic diagram showing the positional relationship between the key and the key groove when the main shaft 21 is rotated from the fixed phase rotation position.

[0030] Fig.10 2 is a conceptual diagram showing the relationship between the rotational position of the main shaft 21 and the load torque applied to the main shaft 21 .

[0031] Fig.11 This is a flowchart showing the procedure of a process for correcting the rotational position of the spindle 21 when the tool holder 14 is to be removed.

[0032] Description of Reference Numerals

[0033] 1. Machine tool; 10. Tool changing device; 11. Tool magazine; 13. Clamp; 14. Tool holder; 20. Processing device; 21. Spindle; 22. Spindle box; 23. Draw bar; 30. CNC device; 136. Clamp key; 141. Taper shank; 144. Keyway; 146. Tool; 212. Spindle key; 301. Processor; 302. ROM; 303. RAM (load threshold storage unit, rotation direction storage unit, rotation position storage unit); 304. SRAM; 305. PMC; 311. Axis control unit; 313. Servomotor; 314. Position / speed detector; 315. Spindle control unit; 317. Spindle motor; 318. Position encoder. DETAILED DESCRIPTION

[0034] The following is an explanation of the embodiment of the machine tool of the present invention. In addition, the drawings attached to this specification are all conceptual drawings or schematic diagrams, and the shapes, scales, aspect ratios, etc. of each part are changed or exaggerated relative to the shapes, scales, aspect ratios, etc. of the actual objects in consideration of ease of understanding, etc. Moreover, in the drawings, the hatching lines representing the cross sections of the components are appropriately omitted.

[0035] Figure 1 It is a conceptual diagram showing the configuration of a mechanical system of the machine tool 1 according to the present embodiment. Figure 2 is a side view of the tool holder 14 . Figure 3 It is a side view of the gripper 13. Figure 4 1 is a top view of the clamping member 13. Figure 5 It is a cross-sectional view when the tool holder 14 held by the clamp 13 is attached to the spindle 21 . Fig. 6A is with Figure 5 A cross-sectional view equivalent to the section along line a-a in FIG. Figure 6B is with Figure 5 A cross-sectional view equivalent to the cross-section along line b-b in FIG.

[0036] In the present specification and drawings, when the machine tool 1 is installed on the ground or the like, the vertical direction is referred to as the Z direction. Along the Z direction, the upward direction is referred to as the +Z direction, and the downward direction is referred to as the −Z direction.

[0037] like Figure 1 As shown, the machine tool 1 includes: a tool changing device 10, a processing device 20, and a numerical control device 30 (refer to Figure 7 ) and a workpiece support and movement mechanism (not shown).

[0038] The tool changing device 10 is a device for automatically changing a tool holder 14 (described later) mounted on a spindle. The tool changing device 10 includes a tool magazine 11 and a tool magazine support 12 as main structures. The tool magazine 11 is a roughly disc-shaped structure with a plurality of clamps 13 (described later) mounted along the outer circumference. The tool magazine support 12 is a device that supports the tool magazine 11 so that it can rotate freely and rotates the tool magazine 11 so that the clamp 13 to be replaced is moved to the right below the spindle 21. In the present embodiment, the basic operation of the tool changing device 10 controlled by the numerical control device 30 is roughly the same as that of the previous tool changing device.

[0039] The processing device 20 is a device for processing a workpiece (not shown) by rotating and moving a tool mounted on a spindle 21. The processing device 20 includes a spindle 21 and a spindle box 22 as main structures. In this embodiment, the spindle 21, the spindle box 22 and its control system (described later) constitute a spindle drive unit.

[0040] The spindle 21 is a part that rotates the tool holder 14 on which the tool is mounted and holds the tool holder 14 in a fixed state. Figure 5 As shown, the spindle 21 is provided with a spindle key 212 that can be engaged with the keyway 144 of the tool holder 14. A pair of spindle keys 212 are provided at positions on opposite sides 180 degrees apart with respect to the rotation axis C of the tool holder 14 as the center. Figure 5 In the drawing, a pair of spindle keys 212 are provided along the left-right direction of the paper. Also, a draw bar 23 as a clamping mechanism of the tool holder 14 is provided inside the spindle 21 .

[0041] In addition, Figure 1 In the embodiment, the spindle box 22 is a driving mechanism for rotating the spindle 21. The spindle box 22 includes a spindle motor 317 (see Figure 7 ).

[0042] When cutting is performed using a rotating tool mounted on the spindle 21, the spindle motor 317 functions as a spindle motor that continuously rotates at high speed. On the other hand, when cutting such as elastic processing is performed using a fixed tool mounted on the spindle 21, the spindle motor 317 functions as a device that controls the phase (rotational position) of the spindle 21. In addition, the spindle box 22 includes a lifting mechanism (illustration mark omitted) for moving the spindle 21 up and down in the vertical direction (Z direction). The lifting mechanism includes a servo motor 313 (refer to Figure 7 ) etc. The operation of the processing device 20 is controlled by a numerical control device 30 described later.

[0043] Next, refer to Figure 2 The structure of the tool holder 14 will be described. Figure 2 In the figure, the rotation axis C of the tool holder 14 coincides with the vertical direction (Z direction) when the tool holder 14 is moved to the position where it is attached to the spindle 21 .

[0044] like Figure 2 As shown, the tool holder 14 includes a tapered shank 141 , a pull rod 142 , a retaining groove 143 , a key groove 144 , a retaining head 145 and a tool 146 .

[0045] The tapered shank 141 is connected to the tapered hole 213 of the spindle 21 (see Figure 5 ) is a roughly conical portion that engages with the main shaft 21. The pull rod 142 is a portion that engages with the traction rod 23 provided inside the main shaft 21. When the pull rod 142 is pulled up in the vertical direction (+Z direction) by the traction rod 23, the tool holder 14 is held inside the main shaft 21. And when the pull rod 142 is pulled down in the vertical direction (-Z direction) by the traction rod 23, the engagement between the tool holder 14 and the main shaft 21 is released, and the tool holder 14 can be taken out.

[0046] The holding groove 143 is a portion held by the clamp 13 (described later). The holding groove 143 is a substantially V-shaped groove (V-shaped groove) in a cross-sectional view along the rotation axis C. The holding groove 143 is formed in an annular shape along the outer periphery of the tool holder 14 .

[0047] The key groove 144 is connected to the spindle key 212 provided on the spindle 21 and the clamp key 136 (see Figure 5 A pair of key grooves 144 are provided at positions 180° apart on opposite sides of the rotation axis C of the tool holder 14. Figure 2 , the key groove 144 of the tool holder 14 provided on the front side of the paper is shown, while the key groove provided on the back side of the paper is hidden and therefore not shown.

[0048] The holding head 145 is a portion for holding a tool 146. As the tool 146, for example, a drill, an end mill, a tap, an elastic tool, a dresser, etc. can be used.

[0049] like Figure 4 As shown in FIG. 1 , the width W1 of the key groove 144 of the tool holder 14 is set to be slightly wider than the width W3 of the clamping key 136 (clamping member 13) described later. Therefore, when the clamping key 136 is located at the center of the key groove 144, a gap g1 is formed between the side surface of one side of the clamping key 136 and the key groove 144 of the tool holder 14. Fig. 6A As shown, the width W1 of the keyway 144 is also set to be slightly wider than the width W2 of the spindle key 212 (spindle 21). Therefore, when the spindle key 212 is located at the center of the keyway 144, a gap g2 is formed between the side surface of one side of the spindle key 212 and the keyway 144 of the tool holder 14.

[0050] Next, the structure of the clamp 13 provided in the tool magazine 11 will be described.

[0051] like Figure 3 As shown in FIG. 1 , the clamping member 13 is provided with a holding arm 132 at the top end side of the arm body 131. Figure 4 As shown, a pair of holding arms 132 are provided to clamp the tool holder 14 from both sides. The pair of holding arms 132 are provided with holding rollers 133 at the tip ends. The holding rollers 133 are disc-shaped members that engage with the holding grooves 143 (V-shaped grooves) of the tool holder 14.

[0052] The holding roller 133 is fixed by pressing the fixing pin 135 into the hole 134 and the shaft hole (not shown) provided at the top of the holding arm 132 so as to penetrate the hole 134 and the shaft hole provided at the center of the holding roller 133. The pair of holding arms 132 are urged toward each other (inward) by an elastic member (not shown) provided inside the arm body 131. In addition, the arm body 131 is provided with a clamping key 136 near the center. The clamping key 136 is a protrusion for positioning the tool holder 14 held between the holding arms 132.

[0053] exist Figure 4When the tool holder 14 is inserted between the pair of holding arms 132, the holding roller 133 provided at the top end of the holding arm 132 engages with the holding groove 143 of the tool holder 14, and the key groove 144 of the tool holder 14 engages with the clamping key 136. In this state, the tool holder 14 is held between the pair of holding arms 132 which are urged toward each other. Furthermore, the key groove 144 of the tool holder 14 engages with the clamping key 136, so that the rotation of the tool holder 14 centered on the axial direction is suppressed. In addition, as described above, there is a gap g1 between the key groove 144 and the clamping key 136, so by Figure 4 By rotating the spindle 21 in the state shown, the key groove 144 of the tool holder 14 can be reliably brought into close contact with the side surface of the clamp key 136 .

[0054] Next, the fitting between the key and the key groove when the tool holder 14 held by the clamp 13 is mounted on the spindle 21 will be described.

[0055] like Figure 5 As shown, in a state where the tool holder 14 held by the clamp 13 is mounted on the spindle 21 , the spindle key 212 of the spindle 21 and the clamp key 136 of the clamp 13 are respectively engaged with the key groove 144 of the tool holder 14 .

[0056] Specifically, if Fig. 6A As shown in FIG. 1 , a pair of spindle keys 212 provided on the spindle 21 are respectively engaged with a pair of key grooves 144 provided on the tool holder 14. Fig. 6A In the case of the positional relationship shown in the figure, a gap g2 is formed between the side surface on one side of the spindle key 212 and the key groove 144 of the tool holder 14 .

[0057] In addition, if Figure 6B As shown, the clamping key 136 provided on the clamping member 13 is engaged with a key groove 144 provided on the tool holding member 14. Figure 6B In the case of the positional relationship shown in the figure, a gap g1 is formed between the side surface on one side of the clamp key 136 and the key groove 144 of the tool holder 14 .

[0058] After the tool holder 14 is mounted on the spindle 21, the clamp 13 provided in the tool magazine 11 moves to a position away from the tool holder 14. Therefore, even if the gap g1 generated between the clamp key 136 and the tool holder 14 is different each time the tool holder 14 is replaced, it will not affect the given phase position. However, if the gap g2 generated between the tool holder 14 and the spindle 21 is different each time the tool holder 14 is replaced, it will affect the given phase position. Therefore, in the case of the machine tool 1 of the present embodiment, as described later, when the tool holder 14 is mounted on the spindle 21, the spindle key 212 is brought into close contact with the keyway 144 of the tool holder 14 by rotating the spindle 21, so that the fixed phase position between the tool holder 14 and the spindle 21 is always controlled to be the same.

[0059] Next, the structure of the numerical control device 30 will be described.

[0060] Figure 7 It is a block diagram showing the electrical structure of the numerical control device 30 .

[0061] The numerical control device 30 is a device that controls the tool changer 10 and the processing device 20 to make the machine tool 1 perform a predetermined cutting process. The numerical control device 30, for example, generates an action command based on a processing program. The action command includes a movement command for each axis, a rotation command for a motor for driving each part, and the like, and sends the action command to the tool changer 10 and the processing device 20. Thus, the numerical control device 30 controls the motors provided in each device to perform the cutting process performed by the machine tool 1.

[0062] like Figure 7 As shown, the numerical control device 30 includes: a processor 301, a ROM 302, a RAM 303, an SRAM 304, a PMC 305, an I / O unit 306, a display unit 307, a display control unit 308, an operation input unit 309, an input control unit 310, an axis control unit 311, a servo amplifier 312, a spindle control unit 315, and a spindle amplifier 316, and the above-mentioned parts are directly or indirectly electrically connected to each other via a bus 319. In addition, the numerical control device 30 is electrically connected to a servo motor 313, a position and speed detector 314, a spindle motor 317, and a position encoder 318.

[0063] The processor (CPU) 301 reads out the system program stored in the ROM 302, and controls the entire numerical control device 30 according to the system program. When a tool phasing command is issued at the time of tool replacement, the processor 301 executes a phasing process described later.

[0064] The RAM 303 temporarily stores calculation data, display data, and various data input by the operator used by the processor 301. In the present embodiment, the RAM 303 also functions as a load threshold storage unit for storing a threshold value (load torque threshold value Tth) of a load torque applied to the spindle 21, a rotation direction storage unit for storing information related to the rotation direction of the spindle 21 when performing phasing of the tool holder 14, and a rotation position storage unit for storing information related to the rotation position of the spindle 21 when the phasing of the tool holder 14 is completed (spindle phase position θ).

[0065] The SRAM 304 is configured as a nonvolatile memory that retains stored contents even when the power of the numerical control device 30 is turned off.

[0066] The PMC (Programmable Machine Controller) 305 controls the tool changer 10 and the processing device 20 according to the sequence, processing conditions, etc. specified by the sequence program built into the numerical control device 30. The PMC 305 outputs various signals converted from the sequence program to the external tool changer 10 and the processing device 20 via the I / O unit 306. In addition, the PMC 305 obtains the signal input by the operator from the operation input unit 309, performs a predetermined signal processing on the signal, and then transfers it to the processor 301.

[0067] The display unit 307 is a display device capable of displaying various data, setting contents, operation status, etc. The display control unit 308 is used to control the display contents of the display unit 307. The operation input unit 309 is a device capable of allowing the operator to input various setting data, numerical data, action instructions, etc. The operation input unit 309 includes, for example, a keyboard, a mouse, a touch panel, etc. (not shown). The input control unit 310 obtains the data, instructions, etc. input from the operation input unit 309 and stores them in the ROM 302, the RAM 303, etc.

[0068] The axis control unit 311 is used to control the movement of the spindle box 22 in the up and down direction (Z direction). The axis control unit 311 receives the movement instruction amount from the processor 301, and outputs the torque instruction value to the servo amplifier 312. The servo amplifier 312 supplies a driving current to the servo motor (Z-axis motor) 313 according to the torque instruction value output by the axis control unit 311. The position / speed detector 314 is used to detect the position and speed of the servo motor 313, and outputs a position / speed feedback signal to the axis control unit 311. The axis control unit 311 performs feedback control of the position and speed of the servo motor 313 based on the position / speed feedback signal output by the position / speed detector 314.

[0069] The spindle control unit 315 is used to control the rotation of the spindle 21. The spindle control unit 315 receives the spindle rotation command from the processor 301, and outputs a spindle speed signal to the spindle amplifier 316. The spindle amplifier 316 drives the spindle motor 317 at the rotation speed indicated by the spindle speed signal. The position encoder 318 outputs a feedback pulse synchronized with the rotation of the spindle motor 317 to the spindle control unit 315. The spindle control unit 315 performs feedback control of the speed of the spindle motor 317 based on the feedback pulse output by the position encoder 318. In addition, a disturbance (estimated) observer is installed in the processor (not shown) of the spindle control unit 315. In the spindle control unit 315, the load torque of the spindle 21 is obtained by using the disturbance observer. In addition, the spindle control unit 315 monitors the current value supplied to the spindle motor 317, so the load torque can also be calculated based on the current value. As described above, the numerical control device 30 of this embodiment does not need to provide a sensor or the like for measuring the load torque of the spindle 21 on the spindle 21 , the spindle motor 317 , or both, and can therefore be easily applied to existing machine tools.

[0070] In addition, Figure 7 In the figure, only the motor and its control system for moving the spindle box 22 in the up-down direction and the motor and its control system for rotating the spindle 21 are shown, while the X-axis motor, Y-axis motor, tool magazine motor and its control system are omitted.

[0071] Next, the tool replacement process executed by the numerical control device 30 of the present embodiment will be described.

[0072] Figure 8 : is a flowchart showing the procedure of the tool replacement process executed by the numerical control device 30 . Figure 8 The tool replacement process shown is performed by causing the processor 301 to analyze the machining program stored in the ROM 302 based on the system program. In addition, the control performed by the processor 301 to be described below can also be performed in the PMC 305 (refer to Figure 7 ) to execute part or all of it.

[0073] Figures 9A to 9C Schematic diagram showing the positional relationship between the key and the key groove when the main shaft 21 is rotated from the fixed phase rotation position. Fig.9A and Fig. 9B The positional relationship between the spindle key 212 and the keyway 144 of the tool holder 14 is shown. Fig. 9C The positional relationship between the clamping key 136 and the keyway 144 of the tool holder 14 is shown. Fig.10 2 is a conceptual diagram showing the relationship between the rotational position of the main shaft 21 and the load torque applied to the main shaft 21 .

[0074] exist Figure 8 In step S101 shown, the processor 301 determines whether a tool phasing instruction is instructed. In step S101, if the processor 301 determines that a tool phasing instruction is instructed, the process moves to step S102. On the other hand, in step S101, if the processor 301 determines that a tool phasing instruction is not instructed, the process moves to step S110.

[0075] In step S110 (step S101: No), the processor 301 controls the tool magazine 11, the spindle box 22, etc. to perform a normal tool change. In a normal tool change, the tool holder 14 is mounted on the spindle 21 without performing phasing of the tool holder 14. After the processing of step S110 is completed, the processing of this flowchart is completed.

[0076] In step S102 (step S101: Yes), the processor 301 controls the tool magazine 11, the spindle box 22, etc. to remove the currently installed tool holder (hereinafter, also referred to as "tool holder A") 14. In addition, if the tool holder 14 is phased in the previous tool replacement, in step S102, as described later, the rotation position of the spindle 21 is corrected.

[0077] In step S103 , the processor 301 controls the tool magazine 11 to index a designated tool holder (hereinafter, also referred to as “tool holder B”) 14 and move the tool holder 14 to the replacement position.

[0078] In step S104, the processor 301 controls the spindle box 22 to insert the tool holder 14 moved to the replacement position into the spindle 21 until it reaches the phase rotation position. Figure 1 As shown, the tool holder 14 is inserted into the spindle 21 by moving the spindle box 22 downward (in the -Z direction) relative to the tool holder 14 held by the clamp 13 (tool magazine 11). Alternatively, the tool holder 14 may be inserted into the spindle 21 by moving the tool holder 14 upward relative to the spindle 21.

[0079] The fixed phase rotation position refers to a position where the spindle key 212 is engaged with the keyway 144 of the tool holder 14 and the tapered hole 213 of the spindle 21 is not in contact with the tapered shank 141 of the tool holder 14. Figure 5The state in which the tool holder 14 is completely installed on the spindle 21 is shown. In this installed state, if the position of the end face 21a of the spindle 21 in the vertical direction (Z direction) is set as Z0, then, for example, the position 1.0 mm (+Z direction) from the position Z0 is the fixed phase rotation position. In this way, if the position where the spindle 21 and the tool holder 14 do not contact is set as the fixed phase rotation position, no friction resistance is generated between the tapered hole 213 of the spindle 21 and the tapered shank 141 of the tool holder 14, so the load torque applied to the spindle 21 can be measured more accurately.

[0080] In addition, the fixed phase rotation position is not limited to this example, and for example, it may be a position where the tapered hole 213 of the spindle 21 slightly contacts the tapered shank 141 of the tool holder 14. That is, as long as the spindle 21 can be rotated so that the spindle key 212 and the keyway 144 of the tool holder 14 are in close contact, the tapered hole 213 of the spindle 21 and the tapered shank 141 of the tool holder 14 may be in contact at the fixed phase rotation position.

[0081] In step S105, the processor 301 obtains information about the rotation direction of the spindle 21 when performing the phasing from the RAM 303. Then, the processor 301 controls the spindle motor 317 (see Figure 7 ) so that the main shaft 21 rotates in a preset rotation direction.

[0082] Here, refer to Figures 9A to 9C The positional relationship between the key and the key groove when the main shaft 21 in the fixed phase rotation position is rotated will be described.

[0083] like Fig.9A As shown, in the case of being in the phased rotation position, there is a gap between the spindle key 212 and the keyway 144 of the tool holder 14 before the spindle 21 is rotated, and the spindle key 212 does not contact the keyway 144 of the tool holder 14. Fig.9A , an example is shown in which the spindle key 212 is located at the center of the keyway 144 when in a fixed phase rotation position. However, in reality, this positional relationship is not always the case, and there may be a situation where the spindle key 212 is in contact with the keyway 144.

[0084] Next, if the spindle 21 is automatically Fig.9A If the fixed phase rotation position shown in the figure rotates clockwise (the direction of the arrow in the figure), then Fig. 9B As shown, the side surfaces of both or either of the two spindle keys 212 are in close contact with the keyway 144 of the tool holder 14 (part a in the figure). Fig. 9BFIG. 2 shows a state where the side surfaces of the two spindle keys 212 are in close contact with the key groove 144 of the tool holder 14. Furthermore, if the spindle 21 is rotated in the clockwise direction, the key groove 144 of the tool holder 14 is pushed by the spindle key 212, so that the tool holder 14 also rotates in the clockwise direction. Alternatively, the spindle 21 can be rotated in the counterclockwise direction. In this case, the side surfaces of the spindle key 212 are in close contact with the key groove 144 of the tool holder 14. Fig. 9B Press tightly against the side opposite to the middle side.

[0085] If the tool holder 14 is rotated clockwise, Fig. 9C As shown, one side of the clamping key 136 (clamping member 13) is in close contact with the keyway 144 of the tool holder 14 (part b in the figure). The clamping member 13 for holding the clamping key 136 is fixed to the tool magazine 11. Therefore, if one side of the clamping key 136 is in close contact with the keyway 144 of the tool holder 14, the rotation of the tool holder 14 and the spindle 21 is blocked, and the load torque applied to the spindle 21 gradually increases.

[0086] Return to Figure 8 , the tool change process is explained. Figure 8 In step S106 shown in FIG. 1 , the processor 301 obtains the information from the spindle control unit 315 (see Figure 7 ) obtains the load torque value of the main shaft 21 (hereinafter, also referred to as "load torque value T1"). In addition, the processor 301 obtains the threshold value of the load torque (hereinafter, also referred to as "load torque threshold value Tth") from the RAM 303. Thereafter, the processor 301 determines whether the load torque value T1 exceeds the load torque threshold value Tth. The load torque value T1 changes in real time. Therefore, the processor 301 obtains the load torque value T1, for example, every few ms, and performs the above-mentioned determination.

[0087] like Fig.10 As shown, the load torque of the spindle 21 increases in proportion to the rotational position of the spindle 21. However, when the clamping key 136 is in close contact with the keyway 144 of the tool holder 14 and the rotation of the spindle 21 is prevented, the subsequent increase in the load torque slows down and then becomes a substantially constant load torque value Tmax. Therefore, by setting a value slightly lower than the load torque value Tmax as the load torque threshold value Tth, at the time point when the load torque value T1 exceeds the load torque threshold value Tth, it can be considered that the spindle key 212 has rotated to a position in close contact with the keyway 144 of the tool holder 14. In addition, at Fig.10 In FIG. 1 , the spindle rotation position S indicates a position where the spindle key 212 is considered to have reached a position in close contact with the key groove 144 of the tool holder 14 .

[0088] Return to Figure 8, the tool change process is explained. Figure 8 In step S106 shown, if the processor 301 determines that the load torque value T1 does not exceed the load torque threshold value Tth, the process proceeds to step S106. On the other hand, if the processor 301 determines that the load torque value T1 exceeds the load torque threshold value Tth, the process proceeds to step S107.

[0089] In step S107 (step S106: YES), the processor 301 controls the spindle motor 317 to stop the rotation of the spindle 21. In step S107, by stopping the rotation of the spindle 21, the phasing of the tool holder 14 is completed.

[0090] In step S108 , the processor 301 controls the tool magazine 11 , the spindle box 22 , etc. to completely mount the tool holder 14 on the spindle 21 .

[0091] In step S109, the processor 301 stores information related to the rotational position of the spindle 21 (spindle phase position θ) at the end of the phasing of the tool holder 14 in the RAM 303. In the present embodiment, the spindle phase position θ is the rotation angle of the spindle 21 from the time when the spindle 21 is rotated in step S105 to the time when the rotation of the spindle 21 is stopped in step S107. The spindle phase position θ is referenced in the disassembly process of the tool holder 14 described later. After the process of step S109 is completed, the process of this flowchart is completed.

[0092] Next, the process of correcting the rotational position of the main shaft 21 in step S102 will be described.

[0093] Fig.11 This is a flowchart showing the procedure of a process for correcting the rotational position of the spindle 21 when the tool holder 14 is to be removed. Fig.11 The processing shown is taken as Figure 8 The subroutine of step S102 in the flowchart (main routine) shown in the figure is executed.

[0094] exist Fig.11 In step S201 shown, the processor 301 obtains information related to the rotation direction of the spindle 21 when performing phasing from the RAM 303 .

[0095] In step S202 , the processor 301 acquires the spindle phase position θ from the RAM 303 as information related to the rotational position of the spindle 21 when the phasing of the tool holder 14 is completed.

[0096] In step S203, the processor 301 calculates a half value (θ / 2) of the spindle phase position θ. The processor 301 then controls the spindle motor 317 to rotate the spindle 21 by an amount corresponding to the half value in the direction opposite to the rotation direction during phasing.

[0097] In step S04, the processor 301 controls the tool magazine 11, the spindle box 22, etc. to remove the currently installed tool holder 14. After the processing of step S204 is completed, the processor 301 returns to step S204 again. Figure 8 The main routine is shown.

[0098] According to the machine tool 1 of the present embodiment described above, the following effects are achieved, for example.

[0099] In the case of the machine tool 1, when the tool holder 14 is installed on the spindle 21, the tool holder 14 is inserted into the spindle 21 until the phase rotation position is reached, and the spindle 21 is rotated in this state, so that the spindle key 212 is closely attached to the keyway 144 of the tool holder 14, and the tool holder 14 is phased relative to the spindle 21. As a result, the phase position between the replaced tool holder 14 and the rotation direction of the spindle 21 is always the same, so that in the processing of moving the spindle box 22 while keeping the spindle 21 fixed, the workpiece and the tool can be aligned with higher precision. In addition, in the case of the machine tool 1, it is not necessary to add an elastic body or a tapered surface to the keyway of the spindle 21 and the tool holder 14, so the reduction in the rigidity of the above parts can be suppressed. Therefore, the machine tool 1 of this embodiment can simply and reliably perform phase determination without making changes to the existing mechanical equipment.

[0100] In the case of the machine tool 1, when the spindle 21 is to be rotated, the spindle 21 is rotated based on the state related to the rotation direction of the spindle 21. Thus, the phasing between the replaced tool holder 14 and the rotation direction of the spindle 21 can always be performed at the same direction, so the accuracy of phasing can be further improved.

[0101] In the case of the machine tool 1, after the spindle 21 is rotated, it is determined whether the phasing of the tool holder 14 is completed based on the load torque value T1 and the load torque threshold value Tth applied to the spindle 21. Therefore, in the case of the machine tool 1, it is possible to more accurately and reliably determine whether the spindle key 212 and the keyway 144 of the tool holder 14 are in close contact.

[0102] In the case of the machine tool 1, when the tool holder 14 is to be replaced, the spindle 21 is rotated in the direction opposite to the rotation direction when the phasing is performed to correct the rotation position of the spindle 21. As a result, when the tool holder 14 is removed, the tool holder 14 is not pulled out in a state where the key groove 144 of the tool holder 14 is in contact with the spindle key 212 and the clamping key 136, so it is possible to suppress the wear of the key groove 144 of the tool holder 14. Therefore, it is possible to perform phasing with higher accuracy for a long time.

[0103] The embodiments of the present invention are described above, but the present invention is not limited to the above-mentioned embodiments, and various deformations and changes can be made as in the deformation modes described later, which are also included in the technical scope of the present invention. In addition, the effects described in the embodiments are only the best effects produced by the present invention, and are not limited to the effects described in the embodiments. In addition, the above-mentioned embodiments and the deformation modes described later can also be used in combination as appropriate, but the detailed description is omitted.

[0104] (Deformation method)

[0105] In the embodiment, an example of determining whether to end the phasing of the tool holder 14 based on the load torque value T1 and the load torque threshold value Tth applied to the spindle 21 is described, but the present invention is not limited thereto. Alternatively, the phasing of the tool holder 14 may be ended at a time point after the spindle 21 is rotated and the spindle 21 rotates to a predetermined rotational position, or the phasing of the tool holder 14 may be ended after the spindle 21 is rotated for a predetermined time. In addition, a sensor or the like may be used to detect whether the spindle key 212 and the keyway 144 of the tool holder 14 are in close contact with each other.

[0106] In the embodiment, an example is described in which the spindle phase position θ is used as the information related to the rotation position of the spindle 21 when the phasing of the tool holder 14 is completed, but the present invention is not limited to this. Instead of pre-storing the spindle phase position θ, the angle for rotating the spindle 21 in the reverse direction may be pre-set, and when the tool holder 14 is to be removed, the spindle 21 may be rotated by an amount corresponding to the angle.

Claims

1. A machine tool, wherein: The machine tool includes: a tool holder having a tool and a keyway; a spindle driving unit having a spindle and a spindle key that can be engaged with the keyway of the tool holder and that holds the tool holder in a detachable manner; a tool changing device comprising a clamping member having a clamping key engageable with the keyway of the tool holder and holding the tool holder in a fixed position relative to the spindle; and a numerical control device for controlling the tool changing device to load and unload the tool holder relative to the spindle, When the tool holder held by the clamp is installed on the spindle, the numerical control device controls the spindle drive unit to rotate the spindle so that the spindle key is closely attached to the keyway of the tool holder, thereby phasing the tool holder relative to the spindle, while at least the keyway of the tool holder is inserted by the spindle key. During phasing of the tool holder, the spindle key is pressed against the keyway, whereby the tool holder is rotated so that the keyway abuts against the clamping key, so that rotation of the tool holder and the spindle is blocked.

2. The machine tool according to claim 1, wherein: The machine tool includes a load threshold storage unit for storing a threshold value of a load applied to the spindle. When performing the phasing of the tool holder, the numerical control device determines whether to end the phasing of the tool holder based on the load applied to the spindle and the threshold value of the load stored in the load threshold value storage unit.

3. The machine tool according to claim 1 or 2, wherein: The machine tool includes a rotation direction storage unit for storing information related to the rotation direction of the spindle when performing phasing of the tool holder. When performing phasing of the tool holder, the numerical control device rotates the main spindle based on the information about the rotation direction of the main spindle stored in the rotation direction storage unit.

4. The machine tool according to claim 1 or 2, wherein: The machine tool includes a rotation position storage unit for storing information related to the rotation position of the spindle rotating around the axis when the phasing of the tool holder is completed. After the phasing of the tool holder is completed, the numerical control device corrects the rotational position of the main spindle based on the information related to the rotational position stored in the rotational position storage unit.