Work detector and machine tool
The work detection device and machine tool system addresses inaccuracies in existing systems by using a drive mechanism and control unit to accurately measure work length, enhancing precision and adaptability.
Patent Information
- Application Number
- JP2023118899
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-07-21
- Publication Date
- 2025-01-31
AI Technical Summary
Existing work detection systems in machine tools, such as those described in Patent Document 1, rely on torque fluctuation of the actuator with a servo to recognize the insertion length of work, which is inaccurate and prone to errors.
A work detection device and machine tool system that utilizes a drive mechanism with a detection unit and control unit to accurately measure the movement of a mobile body, such as an ejector rod, to determine the length of work inserted into the main axis, using feedback control to ensure precise positioning and length calculation.
The system provides more accurate detection of the presence or absence and length of work, reducing errors associated with torque fluctuation methods, and allows for appropriate processing by adapting to different work lengths.
Smart Images

Figure 2025015956000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a workpiece detection device and a machine tool. [Background technology]
[0002] There are cases where the workpiece held by the front spindle is transferred to the back spindle and then processed while being held by the back spindle. In this case, it is necessary to check whether the workpiece has been properly transferred from the front spindle to the back spindle.
[0003] Therefore, a system has been proposed that includes a work supplying means for supplying a workpiece to the spindle, and a recognition means for recognizing the insertion length of the workpiece into the spindle based on the position of the work supplying means and the position of the spindle when the work supplying means supplies the workpiece to the spindle (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2009-166165 A Summary of the Invention [Problem to be solved by the invention]
[0005] Specifically, the technology proposed in Patent Document 1 recognizes the insertion length of a workpiece by a recognition means detecting torque fluctuations of an actuator with a servo.
[0006] The present invention has been made in consideration of the above circumstances, and has an object to provide a work detection device and a machine tool equipped with a work detection device that can detect the supply status of a workpiece to a spindle (presence or absence of a workpiece, length of the workpiece) with greater accuracy than using the torque fluctuations of an actuator with a servo. [Means for solving the problem]
[0007] The first aspect of the present invention is a work detection device comprising: a movable body that is arranged inside a spindle that grips a workpiece, and is movable in the axial direction of the spindle so as to press the workpiece inserted inside the spindle and eject the workpiece outside the spindle; a drive mechanism having a drive unit that moves the movable body and a detection unit that detects the movement of the drive unit; and a control unit that feedback controls the drive unit based on the detection result of the detection unit, wherein the control unit moves the movable body to a specific position before the workpiece is inserted into the spindle, the detection unit detects the movement length of the movable body when the workpiece is inserted into the spindle and causes the workpiece to move the movable body, and the control unit calculates the length of the workpiece based on the movement length.
[0008] A second aspect of the present invention is a machine tool comprising a spindle into which a workpiece is inserted and which grips the workpiece, a tool which machines the workpiece gripped by the spindle, a control device which controls the operation of the spindle and the tool, and a workpiece detection device according to the present invention, wherein a control unit of the workpiece detection device is the control device. Effect of the Invention
[0009] The workpiece detection device and machine tool according to the present invention can detect the supply status of a workpiece to a spindle (presence or absence of a workpiece, length of the workpiece) with greater accuracy than using the torque fluctuations of an actuator with a servo. [Brief description of the drawings]
[0010] [Figure 1] FIG. 2 is a plan view showing a schematic configuration of the automatic lathe. [Diagram 2] 11 is a cross-sectional view showing a cross section along a vertical plane including the axis of the back spindle, showing a state in which the front end face of the ejector rod has moved to a standby position coinciding with the front end face of the back spindle. FIG. [Diagram 3] FIG. 2 is a cross-sectional view showing a vertical plane including the axis of the back spindle, illustrating the state in which the ejector rod is pushed back by the workpiece (gripping position). [Figure 4]13 is a cross-sectional view showing a vertical plane including the axis of the back spindle, illustrating a state in which the front end face of the ejector rod has moved to a retracted position away from the insertion-side front end face of the workpiece. FIG. [Diagram 5] FIG. 2 is a block diagram showing the configuration of a workpiece discharge device and a workpiece detection device. [Figure 6] 11 is a schematic diagram showing an example in which an ejector rod has a known specific position as a standby position. FIG. [Figure 7] 4 is a flowchart showing an example of an operation flow of an automatic lathe. [Figure 8] FIG. 11 is a cross-sectional view showing a cross section taken along a vertical plane including the axis of the back spindle, illustrating a state in which the front end surface of the knockout jig has moved to a standby position protruding from the front end surface of the back spindle. [Figure 9] FIG. 11 is a cross-sectional view showing a cross section taken along a vertical plane including the axis of the back spindle, illustrating the state in which the knockout jig has been pushed back by the workpiece (gripping position). [Figure 10] 13 is a cross-sectional view showing a cross section taken along a vertical plane including the axis of the back spindle, illustrating a state in which the front end surface of the ejector rod has moved to a retracted position away from the rear end surface of the tip receiving portion of the knockout jig. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a workpiece detection device and a machine tool according to the present invention will be described below with reference to the drawings.
[0012] (Basic configuration of an automatic lathe) FIG. 1 is a plan view showing a schematic diagram of the main configuration of the automatic lathe 100, and FIGS. 2, 3, and 4 are cross-sectional views showing a cross section taken along a vertical plane including the axis C2 of the back spindle 20 of the automatic lathe 100. FIG. 2 shows a state in which the front end face 22a of the ejector rod 22 has moved to a standby position coinciding with the tip face 20A of the back spindle 20, FIG. 3 shows a state in which the ejector rod 22 has been pushed back by the workpiece W (gripping position), and FIG. 4 shows a state in which the front end face 22a of the ejector rod 22 has moved to a retracted position away from the insertion side end face W1 of the workpiece W.
[0013] The automatic lathe 100 is one embodiment of the machine tool according to the present invention. As shown in Fig. 1, the automatic lathe 100 includes a front spindle 10, a back spindle 20, a gang tool rest 40, a back tool rest 50, and a control unit 60 (control device).
[0014] The front spindle 10 grips the workpiece W, which is a bar material that is a long, rod-shaped member, and rotates the workpiece W around an axis C1. The front spindle 10 is fixed to a front headstock (not shown), and the front headstock moves along the z-axis parallel to the axis C1, thereby allowing the front spindle 10 to move in the z-axis direction. The movement of the front headstock in the z-axis direction is controlled by a control unit 60.
[0015] The back spindle 20 grips the workpiece W and rotates it around the axis C2, and is disposed opposite the front spindle 10. Like the axis C1, the axis C2 is parallel to the z-axis direction. The back spindle 20 receives the workpiece W machined by the front spindle 10 from the front spindle 10, with the axis C2 disposed coaxially with the axis C1 of the front spindle 10. The back spindle 20 has the workpiece W inserted therein, grips the inserted workpiece W, and rotates the gripped workpiece W around the axis C2.
[0016] The workpiece W handed over to the back spindle 20 is cut off at a position of a predetermined protruding length L1 from the tip surface 20A of the back spindle 20 by a cut-off tool provided on the comb blade tool rest 40 while also being held by the front spindle 10.
[0017] Then, the back spindle 20 processes the peripheral surface of the workpiece W cut to a specified length and the end face (discharge side end face) facing the front spindle 10 using tools provided on the comb tool rest 40 and the back tool rest 50.
[0018] The back spindle 20 is fixed to a back headstock (not shown), and can be moved in the z-axis direction by the back headstock moving along the z-axis parallel to the axis C2, and can also be moved in the x-axis direction by the back headstock moving along the x-axis in a horizontal plane perpendicular to the z-axis. The movement of the back headstock in the z-axis and x-axis directions is controlled by the control unit 60.
[0019] The control unit 60 controls the operations of the front spindle 10, the back spindle 20, the gang tool rest 40, the back tool rest 50, the front headstock, and the back headstock.
[0020] (Work ejection device) 5 is a block diagram showing the configuration of the workpiece discharge device 29 and the workpiece detection device 30. As shown in Figs. 2 to 4, the back spindle 20 is supplied with the workpiece W inserted from the front spindle 10 arranged opposite the back spindle 20 along the axis C2 as shown in Figs. 3 and 4. Hereinafter, the end face of the workpiece W that becomes the front end when inserted into the back spindle 20 is referred to as the insertion side end face W1, and the end face that becomes the rear end when inserted into the back spindle 20 is referred to as the discharge side end face W2. The discharge side end face W2 is the end face closer to the front spindle 10 than the insertion side end face W1.
[0021] A collet chuck 21 is provided at the tip of the back spindle 20 on the side closer to the front spindle 10. The collet chuck 21 has a sleeve 21a and a collet 21b, and by the control of the control unit 60, the sleeve 21a advances along the axis C2 toward the tip surface 20A of the back spindle 20, thereby reducing the inner diameter of the collet 21b and gripping the workpiece W inserted inside the collet 21b from the outer circumferential surface side.
[0022] The back spindle 20 is equipped with a workpiece discharge device 29 shown in Fig. 5. The workpiece discharge device 29 discharges the workpiece W held by the collet chuck 21 to the outside from the tip end surface 20A of the back spindle 20. As shown in Fig. 5, the workpiece discharge device 29 has a control unit 60, a servo motor 28 (drive mechanism), and an ejector rod 22 (moving body). The servo motor 28 and the ejector rod 22 are provided in the back spindle 20, and the control unit 60 is provided in the automatic lathe 100 separately from the back spindle 20.
[0023] The ejector rod 22 is disposed inside the back spindle 20 along the axis C2, as shown in Figs. 2 to 4. The ejector rod 22 is a rod-shaped member extending along the axis C2. The ejector rod 22 is provided so as to be linearly movable along the axis C2 between a retracted position shown in Fig. 4 where its front end face 22a is spaced rearward from the insertion side end face W1 of the workpiece W held by the back spindle 20, and an ejection position shown in Fig. 2 where its front end face coincides with the tip end face 20A of the back spindle 20.
[0024] Then, as the front end face 22a of the ejector rod 22 moves from the retracted position (FIG. 4) to the discharge position (FIG. 2), as shown in FIG. 3, the front end face 22a comes into contact with the insertion side end face W1 of the workpiece W after machining in the back spindle 20 is completed and the grip of the collet chuck 21 is released. In this contact state, the ejector rod 22 pushes the workpiece W toward the tip face 20A of the back spindle 20, and ejects the workpiece W outside the back spindle 20 before the ejector rod 22 reaches the discharge position shown in FIG. 2.
[0025] It should be noted that the ejector rod 22 does not rotate around the axis C2 while moving linearly from the retracted position to the ejection position.
[0026] The servo motor 28 includes a driving unit 28a that rotates and an encoder 28b (detection unit). The encoder 28b detects the rotation of the driving unit 28a and the rotation angle. The control unit 60 controls the rotation of the driving unit 28a based on the rotation angle (detection result) detected by the encoder 28b.
[0027] The drive unit 28a is connected to the ejector rod 22. The control unit 60 rotates the drive unit 28a to linearly move the ejector rod 22 along the axis C2. The control unit 60 also switches the rotation direction of the drive unit 28a between a forward direction and a reverse direction, thereby switching between forward and backward movement of the ejector rod 22 along the axis C2. The control unit 60 also adjusts the linear movement length of the ejector rod 22 by controlling the rotation angle of the drive unit 28a.
[0028] (Workpiece detection device) The back spindle 20 is equipped with a workpiece detection device 30 shown in Fig. 5. The workpiece detection device 30 is one embodiment of a workpiece detection device according to the present invention. The workpiece detection device 30 detects the presence or absence of a workpiece W supplied from the front spindle 10 to the back spindle 20 and the length of the workpiece. The workpiece detection device 30 is configured by utilizing a workpiece discharge device 29.
[0029] The workpiece detection device 30 utilizes the servo motor 28 and the ejector rod 22 in the workpiece discharge device 29, and detects the presence or absence of the workpiece W and the length of the workpiece W by controlling the servo motor 28 and the ejector rod 22 with the control unit 60.
[0030] The workpiece detection device 30 includes, in addition to the above-mentioned control unit 60, servo motor 28, and ejector rod 22, a notification unit 31 and a program change unit 32. The notification unit 31 and the program change unit 32 are controlled by the control unit 60.
[0031] The control unit 60, which is a component of the workpiece detection device 30, advances the ejector rod 22 along the axis C2 toward the tip surface 20A of the back spindle 20 before the back spindle 20 receives the workpiece W, and controls the drive of the servo motor 28 so as to stop the ejector rod 22 at an ejection position (an example of a specific position) where the front end surface 22a coincides with the tip surface 20A of the back spindle 20, as shown in FIG. 2.
[0032] With the front end surface 22a of the ejector rod 22 in the ejection position, the ejector rod 22 receives the workpiece W from the front spindle 10. At this time, the collet chuck 21 of the back spindle 20 is released by the control of the control unit 60, and the workpiece W is permitted to be inserted inside the collet chuck 21.
[0033] The control unit 60 linearly moves at least one of the front spindle stock and the back spindle stock along the z-axis so that the front spindle 10 approaches the back spindle 20 relatively. As a result, the workpiece W held by the front spindle 10 approaches the back spindle 20, and then the workpiece W is inserted from the insertion side end face W1 into the inside of the collet chuck 21 of the back spindle 20 along the axis C2 arranged coaxially with the axis C1.
[0034] When the workpiece W reaches the tip surface 20A of the back spindle 20, the insertion side end surface W1 of the workpiece W comes into contact with the front end surface 22a of the ejector rod 22. Then, as the workpiece W is inserted into the inside of the back spindle 20, with the insertion side end surface W1 of the workpiece W coming into contact with the front end surface 22a of the ejector rod 22, the workpiece W pushes the ejector rod 22 backward along the axis C2, and the ejector rod 22 moves backward.
[0035] Then, when the workpiece W is inserted to a predetermined position inside the back spindle 20 for processing by the back spindle 20, the transfer of the workpiece W from the front spindle 10 to the back spindle 20 is completed, and the workpiece W stops at the position shown in FIG. 3.
[0036] The control unit 60 controls the collet chuck 21 at the position where the workpiece W stops, so that the collet chuck 21 grips the workpiece W. The position of the ejector rod 22 shown in FIG. 3 where the collet chuck 21 grips the workpiece W is hereinafter referred to as a gripping position.
[0037] When the ejector rod 22 moves backward, the drive unit 28a of the servo motor 28 connected to the ejector rod 22 rotates in response to the movement of the ejector rod 22. That is, the drive unit 28a rotates by a rotation angle corresponding to the amount of backward movement of the ejector rod 22. When the drive unit 28a rotates, the encoder 28b also rotates in synchronization with the rotation of the drive unit 28a. Therefore, the encoder 28b detects the rotation angle corresponding to the amount of backward movement of the ejector rod 22.
[0038] The control unit 60 pre-stores a correspondence between the rotation angle of the encoder and the amount of movement along the axis C2 of the ejector rod 22, and receives an input of the rotation angle detected by the encoder 28b and calculates the amount of backward movement of the ejector rod 22 based on that rotation angle.
[0039] Then, the control unit 60 calculates the amount of movement of the ejector rod 22 from the standby position (FIG. 2) to the gripping position (FIG. 3). For example, if it is L2 as shown in FIG. 3, the insertion length of the workpiece W into the back spindle 20 is L2.
[0040] Here, when the workpiece W is transferred from the front spindle 10 to the back spindle 20, the workpiece W, which is still long and rod-like, is cut by a cut-off tool provided on the comb tool rest 40 at a position a predetermined length L1 (see FIG. 3) from the tip end surface 20A of the back spindle 20 under the control of the control unit 60 while the back spindle 20 is gripping the workpiece W (a state in which the ejector rod 22 is in a retracted position described later). As a result, an end surface W2 on the front spindle 10 side (the end surface opposite to the insertion side end surface W1; hereinafter, referred to as the discharge side end surface W2) of the workpiece W is formed.
[0041] The position of the discharge side end face W2 of the workpiece W is the position of the protruding length L1 from the tip face 20A of the back spindle 20, and the control unit 60 acquires the protruding length L1 at the machining stage of forming the discharge side end face W2. Therefore, the control unit 60 can calculate the length L of the workpiece W gripped by the back spindle 20.
[0042] Specifically, the control unit 60 can determine the length L (= L1 + L2) of the workpiece W as the sum (= L2 + L1) of the insertion length L2 into the back spindle 20 calculated from the rotation angle detected by the encoder 28b and the protrusion length L1 from the tip surface 20A of the back spindle 20 recognized during processing to form the discharge side end surface W2.
[0043] In addition, the movement of the ejector rod 22 backward from the standby position due to the supply operation of the workpiece W to the back spindle 20 means that the workpiece W is inserted inside the back spindle 20, and the control unit 60 can detect the presence of the workpiece W (workpiece W present) due to the encoder 28b detecting the rotation angle. On the other hand, when the encoder 28b does not detect the rotation angle even by the supply operation of the workpiece W to the back spindle 20, the control unit 60 does not detect the presence of the workpiece W (workpiece W absent). Therefore, the workpiece detection device 30 and the automatic lathe 100 can detect the presence or absence of the workpiece W.
[0044] As described above, the workpiece detection device 30 and the automatic lathe 100 of this embodiment detect the presence or absence of the workpiece W and the length of the workpiece W by the workpiece detection device 30 detecting the movement of the ejector rod 22 when the back spindle 20 receives the workpiece W. Therefore, the automatic lathe 100 of this embodiment can detect the supply status of the workpiece W to the back spindle 20 (presence or absence of the workpiece W, length L of the workpiece W) without detecting torque fluctuations of the servo motor 28.
[0045] Therefore, the workpiece detection device 30 and automatic lathe 100 of this embodiment can detect the supply status of the workpiece W to the back spindle 20 (presence or absence of the workpiece W, the length of the workpiece W) with greater accuracy than when using the torque fluctuations of an actuator with a servo.
[0046] The workpiece detection device 30 and automatic lathe 100 of the above-described embodiment detect the presence or absence of the workpiece W and the length of the workpiece W as the supply status of the workpiece W to the back spindle 20, but the workpiece detection device and machine tool of the present invention may simply detect the presence or absence of the workpiece W as the supply status of the workpiece W.
[0047] When the automatic lathe 100 performs machining on the workpiece W held by the rear spindle 20 using tools provided on the comb tool rest 40 or the rear tool rest 50, the rear spindle 20 rotates the workpiece W about axis C2, but the ejector rod 22 does not rotate about axis C2. Therefore, when the front end face 22a of the ejector rod 22 abuts against the insertion side end face W1 of the workpiece W as shown in FIG. 3, there is a risk that at least one of the insertion side end face W1 of the workpiece W and the front end face 22a of the ejector rod 22 will be worn down due to friction due to the rotation of the workpiece W.
[0048] Therefore, after the automatic lathe 100 grips the workpiece W at the gripping position (FIG. 3), that is, after detecting the length L of the workpiece W, the control unit 60 controls the servo motor 28 so as to move the front end face 22a of the ejector rod 22 back along the axis C2 to a position (see FIG. 4) away from the insertion side end face W1 of the workpiece W. Note that the ejector rod 22 shown in FIG. 4 is in a position where the front end face 22a is away from the insertion side end face W1 of the workpiece W, and this position is called the retreat position.
[0049] In this way, when the control unit 60 has retracted the ejector rod 22 to the retracted position, the front end face 22a of the ejector rod 22 is not in contact with the insertion side end face W1 of the workpiece W, so that even if the automatic lathe 100 rotates the workpiece W around the axis C2, neither the insertion side end face W1 of the workpiece W nor the front end face 22a of the ejector rod 22 is worn down due to friction.
[0050] In the automatic lathe 100 of this embodiment, the standby position where the ejector rod 22 waits before the workpiece W is transferred to the back spindle 20 is a position where the front end face 22a coincides with the tip face 20A of the back spindle 20. However, the standby position of the ejector rod 22 in the present invention is not limited to the position where the front end face 22a coincides with the tip face 20A of the back spindle 20.
[0051] In other words, the standby position of the ejector rod 22 in the present invention may be a known specific position that is set so that, when the workpiece W is handed over to the rear spindle 20, the insertion side end face W1 of the workpiece W abuts against the front end face 22a of the ejector rod 22, thereby moving the ejector rod 22 rearward from the standby position.
[0052] Fig. 6 is a schematic diagram showing an example in which the standby position of the ejector rod 22 is a known specific position other than the tip surface 20A. When the ejector rod 22 is on standby at a position where its front end surface 22a protrudes from the tip surface 20A of the back spindle 20 by a length La as shown in the upper part of Fig. 6, for example, the workpiece W is transferred to the back spindle 20, and the ejector rod 22, which is on standby at the specific position, moves backward by a length Lc as shown in the lower part of Fig. 6, and the control unit 60 can detect the movement of the ejector rod 22 backward from the standby position (specific position) and the length Lc moved.
[0053] Since the control unit 60 stores in advance the length La of the ejector rod 22 protruding from the tip surface 20A of the back spindle 20 at a specific position, the control unit 60 can calculate the length Lb of the part of the workpiece W inserted into the back spindle 20 by subtracting the protruding length La from the tip surface 20A from the detected length Lc (Lb = Lc - La).
[0054] In addition, the known specific position may be a position where the front end face 22a of the ejector rod 22 is recessed inward from the tip face 20A of the back spindle 20, rather than a position where the front end face 22a of the ejector rod 22 protrudes from the tip face 20A of the back spindle 20.
[0055] The control unit 60 can then determine the length L of the workpiece W held by the back spindle 20 as the sum of the length L1 protruding from the tip surface 20A of the back spindle 20 and the length Lb of the portion inserted into the back spindle 20 (L = L1 + Lb).
[0056] The automatic lathe 100 of this embodiment configured as described above operates, for example, as follows: Fig. 7 is a flowchart showing an example of the flow of operation of the automatic lathe 100.
[0057] After the automatic lathe 100 has completed machining of the workpiece W held by the front spindle 10, it transfers the workpiece to the back spindle (starts transferring the grip of the workpiece W to the back spindle 20) (S0 in FIG. 7).
[0058] The workpiece detection device 30 detects the presence or absence of the workpiece W handed over to the back spindle 20 (S1). When the workpiece detection device 30 does not detect the workpiece W (absent in S1), that is, when it does not detect that the ejector rod 22 has moved backward from the standby position, the control unit 60 operates the notification unit 31. That is, the notification unit 31 displays an alarm (warning) of "no workpiece" (S5). Then, the control unit 60 skips the process of gripping the workpiece W with the back spindle 20 and stops the operation of the automatic lathe 100 after one cycle is completed (S5).
[0059] When the workpiece detection device 30 detects the workpiece W (in S1), that is, when it detects that the ejector rod 22 has moved rearward from the standby position, the control unit 60 outputs the length L of the detected workpiece W, and the control unit 60 determines whether the detected length L of the workpiece W is appropriate (S2).
[0060] Here, the length of the workpiece W is appropriate when the detected length L of the workpiece W matches the length of the workpiece W specified in the machining program loaded into the control unit 60 in order to machine the workpiece W by the automatic lathe 100. On the other hand, the length of the workpiece W is inappropriate when the detected length L of the workpiece W does not match the length of the workpiece W specified in the machining program.
[0061] When the control unit 60 determines that the detected length L of the workpiece W is not appropriate (NO in S2), the control unit 60 operates the notification unit 31. That is, the notification unit 31 displays an alarm (warning) of "incorrect workpiece length" (S6). Then, the control unit 60 immediately stops the machining process of the automatic lathe 100 (S6).
[0062] On the other hand, when the control unit 60 determines that the detected length L of the work W is appropriate (YES in S2), the control unit 60 determines whether the work W is part A or another part B having a different length from part A, depending on the detected length L of the work W (S3).
[0063] When the control unit 60 determines that the detected workpiece W is part A (part A in S3), the control unit 60 instructs the program change unit 32 to change the machining program for the workpiece W held by the rear spindle 20 to a machining program for part A, and machines the workpiece W on the automatic lathe 100 in accordance with the machining program for part A (S4).
[0064] On the other hand, when the control unit 60 determines that the detected workpiece W is part B (part B in S3), the control unit 60 instructs the program change unit 32 to change the machining program for the workpiece W held by the rear spindle 20 to a machining program for part B, and machines the workpiece W on the automatic lathe 100 in accordance with the machining program for part B (S7).
[0065] 7 changes the machining program in accordance with the length L of the workpiece W detected by the workpiece detection device 30 (S3, S4, S7), but the automatic lathe 100 of this embodiment is not limited to changing the machining program, and does not need to change the machining program in accordance with the detected length L of the workpiece W. In the automatic lathe 100 that does not change the machining program, when it is determined that the length L of the workpiece W detected in step 3 (S3) is appropriate (YES in S3), the control unit 60 only needs to control the machining of the workpiece W held by the back spindle 20 in accordance with the preset machining program.
[0066] In the automatic lathe 100 of this embodiment, in order to prevent the ejector rod 22 serving as the workpiece discharge device 29 from moving unintentionally, the control unit 60 controls the servo motor 28 to apply a predetermined excitation holding force to the servo motor 28. By holding the servo motor 28 in a stopped state with the predetermined excitation holding force, the ejector rod 22 is held at a predetermined position so as not to move, and unintentional movement can be prevented.
[0067] Unintentional movement does not mean that the ejector rod 22 is moved by driving the servo motor 28 with the purpose of moving the ejector rod 22, but rather means that the ejector rod 22 moves even though there is no intention to move the ejector rod 22, for example, due to vibrations generated by operating the automatic lathe 100.
[0068] As described above, if the servo motor 28 is held in a stopped state by the excitation holding force, there is a possibility that the ejector rod 22, which serves as the work detection device 30, will be hindered from retracting when the ejector rod 22 is pushed by the work W from the standby position to the gripping position.
[0069] Therefore, in the automatic lathe 100, after the ejector rod 22 has been moved to the standby position, while the workpiece W is being inserted into the rear spindle 20, it is preferable that the control unit 60 does not apply an excitation holding force to the servo motor 28, or reduces the excitation holding force applied to the servo motor to an extent that does not interfere with the action of the workpiece W pushing backward the ejector rod 22, which is stopped at the standby position.
[0070] In addition, a low excitation holding force that does not hinder the workpiece W from pushing backward the ejector rod 22 stopped at the waiting position means an excitation holding force that is strong enough to allow the workpiece W to move the ejector rod 22 backward when the workpiece W pushes the ejector rod 22 backward, even when an excitation holding force is acting on the servo motor.
[0071] In the present embodiment, the workpiece detection device 30 has the ejector rod 22 and the servo motor 28 provided on the back spindle 20, but the workpiece detection device according to the present invention is not limited to the ejector rod 22 and the servo motor 28 provided on the back spindle 20.
[0072] That is, in the workpiece detection device 30 of this embodiment, since the function of supplying the workpiece W is performed by the front spindle 10 of the automatic lathe 100, the back spindle 20 is described as the side to which the workpiece W is supplied.
[0073] However, if the front spindle 10 is a machine tool that receives a workpiece W of a predetermined length that is not a rod-shaped member from the tip surface side, the workpiece detection device 30 may be provided on the front spindle 10 with an ejector rod 22 and a servo motor 28. In this case, the machine tool equipped with the workpiece detection device according to the present invention does not need to be equipped with a back spindle.
[0074] Although the workpiece detection device 30 of this embodiment includes the notification unit 31 and the program change unit 32, the workpiece detection device according to the present invention does not necessarily need to include the notification unit 31 or the program change unit 32.
[0075] In the workpiece detection device 30 of this embodiment, the encoder 28b of the servo motor 28 detects the rotation angle of the drive unit 28a, but the encoder 28b may also be a linear encoder that directly detects the linear movement length of the ejector rod 22 corresponding to the rotation angle of the drive unit 28a.
[0076] 8, 9, and 10 are cross-sectional views showing a cross section taken along a vertical plane including the axis C2 of the back spindle 20. FIG. 8 shows a state in which the front end surface 23a of the knockout jig 27 has moved to a standby position protruding from the tip surface 20A of the back spindle 20. FIG. 9 shows a state in which the knockout jig 27 has been pushed back by the workpiece W (gripping position). FIG. 10 shows a state in which the front end surface 22a of the ejector rod 22 has moved to a retracted position away from the rear end surface 23b of the tip receiving portion 23 of the knockout jig 27.
[0077] In the above-mentioned automatic lathe 100, an ejector rod 22 provided inside the back spindle 20 ejects the workpiece W to the outside of the back spindle 20. Therefore, in the automatic lathe 100 and the workpiece detection device 30, the control unit 60 controls the ejector rod 22 to detect the length L of the workpiece W.
[0078] 8, 9, and 10, a workpiece detection device 30 is provided with a knockout jig 27 added to the ejector rod 22. Since the ejector rod 22 is formed in a hollow cylindrical shape, when a hole penetrating in the axial direction C2 is formed in the workpiece W held by the back spindle 20, there is a risk that chips generated during machining may enter the inside of the back spindle 20 through the through hole. The knockout jig 27 is used for the purpose of preventing chips from entering the inside even when machining is performed to form a through hole in the workpiece W.
[0079] As shown in FIGS. 8 to 10, the knockout jig 27 includes a tip receiving portion 23, a cylindrical portion 24, a base portion 25, and a coil spring 26.
[0080] The tip receiving part 23 is disposed forward of the ejector rod 22, and its rear end face 23b comes into contact with the front end face 22a of the ejector rod 22. When the ejector rod 22 moves (advances) forward (toward the tip face 20A of the back spindle 20), the tip receiving part 23 is pushed by the ejector rod 22 and advances integrally with the ejector rod 22. The tip receiving part 23 is formed with an outer diameter slightly smaller than the inner diameter of the collet chuck 21. The tip receiving part 23 is not penetrated inside between the rear end face 23b and the front end face 23a, so that chips generated during machining of the workpiece W held by the back spindle 20 are prevented from entering inside.
[0081] The cylindrical portion 24 is fixed to the rear of the tip receiving portion 23 and moves along the axis C2 integrally with the tip receiving portion 23. The cylindrical portion 24 is formed in a cylindrical shape that surrounds the tip of the ejector rod 22 from the outside in the radial direction centered on the axis C2.
[0082] The base 25 is fixed to the sleeve 21a of the back main shaft 20 and moves integrally with the sleeve 21a. The base 25 is also formed in a cylindrical shape that surrounds the ejector rod 22 from the outside in the radial direction centered on the axis C2. The base 25 is further formed so that the inner diameter of the cylinder is larger than the outer diameter of the cylinder portion 24, and is formed so that when the cylinder portion 24 moves back integrally with the tip receiving portion 23, the cylinder portion 24 can pass through the inner space.
[0083] The coil spring 26 is disposed along the axis C2 between the base 25 and the tubular portion 24, and exerts an elastic force to move the tubular portion 24 away from the base 25. In other words, the coil spring 26 biases the tubular portion 24 and the tip receiving portion 23 toward the tip surface 20A of the back spindle 20.
[0084] In this way, in the workpiece detection device 30 in which the knockout jig 27 is provided at the tip of the ejector rod 22, the control unit 60 advances and stops the ejector rod 22 in the standby position shown in Fig. 8 so that the front end surface 23a of the tip receiving part 23 protrudes by the length L3 from the tip surface 20A of the back spindle 20. Therefore, the control unit 60 stores the length L3.
[0085] When the ejector rod 22 is in this standby position and a workpiece W is supplied from the front spindle 10, the insertion side end face W1 of the workpiece W comes into contact with the front end face 23a of the tip receiving portion 23, and the workpiece W pushes the tip receiving portion 23, the tubular portion 24, the coil spring 26, and the ejector rod 22 backward, and as shown in FIG. 9, the workpiece W is inserted into the back spindle 20 up to a predetermined gripping position.
[0086] At this time, the ejector rod 22 retreats by a length L4 (= L3 + L2) which is the sum of the protruding length L3 (see Figure 8) of the tip receiving portion 23 of the knockout jig 27 in the standby position and the insertion length L2 of the workpiece W when it is inserted up to the gripping position, and this retreated length L4 is calculated by the control unit 60 of the workpiece detection device 30.
[0087] Here, the insertion length L2 of the workpiece W from the tip surface 20A inserted inside the back spindle 20 is the detected length L4 minus the protruding length L3 of the tip receiving portion 23 (L2 = L4 - L3).
[0088] On the other hand, the position of the discharge side end face W2 of the workpiece W at the gripping position (the position at the length L1 from the tip face 20A) is known by the machining program as described above, and this protruding length L1 is the length of the workpiece W protruding outward from the back spindle 20. The length of the workpiece W is calculated as the sum (=L2+L1) of the length L2 inserted into the back spindle 20 and the length L1 protruding from the back spindle 20. Therefore, the control unit 60 can calculate the length L of the workpiece W (=L4-L3+L1).
[0089] Incidentally, the knockout jig 27 on the back spindle 20 rotates around the axis C2 together with the workpiece W, but the ejector rod 22 does not rotate. Therefore, the ejector rod 22 is moved backward by the servo motor 28 so that its front end surface 22a moves away from the rear end surface 23b of the tip receiving portion 23 of the knockout jig 27, as shown in FIG. 10.
[0090] At this time, when the tip receiving part 23 retracts together with the ejector rod 22, the front end face 23a of the tip receiving part 23 moves away from the insertion side end face W1 of the workpiece W, and chips enter inside. However, in the automatic lathe 100 of this embodiment, the coil spring 26 biases the tip receiving part 23 forward, so that even if the ejector rod 22 retracts, the front end face 23a of the tip receiving part 23 does not move away from the insertion side end face W1 of the workpiece W, preventing chips from entering inside the back spindle 20. [Explanation of symbols]
[0091] 20 Back spindle 20A Tip surface 22 Ejector Rod 22a Front end surface 28 Servo motor 28a Drive unit 28b Encoder 30 Workpiece detection device 60 Control section 100 Automatic lathe C1,C2 axis W work
Claims
1. a movable body that is disposed inside a spindle that grips a workpiece and is movable in an axial direction of the spindle so as to press the workpiece inserted inside the spindle and eject the workpiece to the outside of the spindle; a drive mechanism including a drive unit that moves the moving body and a detection unit that detects the movement of the drive unit; A control unit that controls the drive unit based on a detection result of the detection unit, The control unit moves the movable body to a specific position before the workpiece is inserted into the spindle, The detection unit detects movement of the movable body when the workpiece is inserted into the spindle and the workpiece moves the movable body, The control unit detects the supply status of the workpiece to the spindle based on the movement.
2. The detection unit detects a movement length of the movable body when the workpiece is inserted into the spindle and the workpiece moves the movable body, The workpiece detection device according to claim 1 , wherein the control unit detects a length of the workpiece supplied to the spindle as the supply status based on the movement length.
3. 3. The workpiece detection device according to claim 2, wherein the control unit prestores an insertion length from a tip surface of the spindle to the specific position, acquires a protruding length of the workpiece protruding from the tip surface of the spindle, and calculates the length of the workpiece based on the insertion length and the protruding length.
4. The workpiece detection device according to claim 1 , wherein the drive mechanism is a servo motor.
5. The workpiece detection device according to claim 4 , wherein the control unit reduces an excitation holding force of the servo motor during an operation in which the workpiece is inserted into the spindle.
6. The workpiece detection device according to claim 2, wherein the control unit stops operation of the spindle when the workpiece is not detected during an operation in which the workpiece is inserted into the spindle, or when the control unit determines that the length of the workpiece is not appropriate.
7. A notification unit is provided that notifies the user that the workpiece has not been detected or that the length of the workpiece is not appropriate, The workpiece detection device according to claim 6, wherein the control unit controls the notification unit to issue an alert when the workpiece is not detected or when the length of the workpiece is determined to be inappropriate during the operation of inserting the workpiece into the spindle.
8. A spindle into which a workpiece is inserted and which grips the workpiece; A tool for machining the workpiece held by the spindle; A control device for controlling the operation of the spindle and the tool; The workpiece detection device according to any one of claims 1 to 7, A control unit of the workpiece detection device is the control device.
9. 9. The machine tool according to claim 8, wherein the control device changes a machining program that controls the operation of the spindle and the tool when the control device does not detect the workpiece during an operation in which the workpiece is inserted into the spindle, or when the control device determines that the length of the workpiece is not appropriate.
Citation Information
Patent Citations
Lathe spindle
JP1990100801A
Machine tool and control method
JP2009166165A
Work-piece discharge device and machine tool
JP2017024107A
Spindle unit and machine tool
JP2018062009A