Workpiece processing equipment

The workpiece processing device enhances collision avoidance by using a control system that accounts for relative robot positions and instructions, ensuring precise movement control to minimize collisions between robots on the same platform.

JP7569613B2Active Publication Date: 2024-10-18FUJI CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2022569654
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-18
Publication Date
2024-10-18
Estimated Expiration
2040-12-18

AI Technical Summary

Technical Problem

Existing workpiece processing devices struggle to further suppress collisions between robots installed on the same traveling platform, despite efforts to minimize such collisions.

Method used

A workpiece processing device with two transfer robots and a control system that determines the movement of one robot based on the relative positions and instructions of the other robot, using various differences in their positions and movement commands to prioritize and adjust movements to avoid collisions.

Benefits of technology

This approach allows for more accurate and precise control of robot movements, effectively reducing collisions between robots on the same guide section by considering multiple positional and command differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007569613000001
    Figure 0007569613000001
  • Figure 0007569613000002
    Figure 0007569613000002
  • Figure 0007569613000003
    Figure 0007569613000003
Patent Text Reader

Abstract

This workpiece processing apparatus comprises: two workpiece transfer robots which are capable of traveling on the same traveling platform and also carrying a workpiece into and out of a processing unit; and a control device which performs control on the locomotion of the workpiece transfer robots. Of the two workpiece transfer robots, one is designated as first robot and the other is designated as second robot. The control device is provided with a first determination unit which, from a first difference between a first-robot next instruction value, being an instruction value that relates to a locomotion control instruction given to the first robot immediately following the moment a determination has been initiated as to whether or not the first robot is able to start the traveling thereof and that indicates a first-robot destination position, and a second robot destination position, being an instruction value that relates to a locomotion control instruction value being executed by the second robot at the moment the aforementioned determination was initiated and that indicates a destination position of the second robot, determines whether or not the first robot can be moved by the locomotion control instruction given thereto.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present specification relates to a workpiece machining device. [Background technology]

[0002] As one type of workpiece processing device, Patent Document 1 discloses a workpiece processing device in which multiple robots (loaders) that deliver workpieces to and from a machine tool are installed on the same travelling platform (rail) so that they can run, and a control device (loader control device) that controls the movement of each robot independently. In this workpiece processing device, the control device performs proximity speed control that forcibly changes the speed when the relative distance between adjacent robots, which is calculated from the coordinate values ​​of each robot, falls below a reference value. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 08-057738 Summary of the Invention [Problem to be solved by the invention]

[0004] In the workpiece processing device described in Patent Document 1 mentioned above, while it is possible to prevent collisions between robots installed on the same running platform as much as possible, there is a demand to further prevent collisions between robots.

[0005] In consideration of these circumstances, this specification discloses a workpiece processing device that can better prevent collisions between robots installed on the same running platform. [Means for solving the problem]

[0006] The present specification relates to a workpiece processing device including two workpiece transport robots capable of traveling on the same travelling platform and capable of carrying out workpieces in and out of a processing section, and a control device for controlling the movement of the workpiece transport robots, in which one of the two workpiece transport robots is a first robot and the other is a second robot, and the control device includes a first determination unit that determines whether or not the first robot can move in response to the movement control instruction based on a first difference between a first robot next instruction value, which is an instruction value related to a movement control instruction issued to the first robot immediately after a time point at which a determination is started as to whether or not the first robot can start traveling and indicates a destination position of the first robot, and a second robot destination position, which is a value related to a movement control instruction being executed by the second robot at the time point at which the determination is started and indicates a destination position of the second robot. a second determination unit that determines whether to continue or stop the determination by the first determination unit depending on whether the determination of whether the first robot can move is prioritized over the determination of whether the second robot can move; A workpiece machining apparatus equipped with the above is disclosed. Effect of the Invention

[0007] According to the present disclosure, by using a first difference between the destination position of the second robot according to the movement control instruction being executed at that time and the destination position of the first robot according to the movement control instruction to be executed next to the movement control instruction being executed at that time (the movement control instruction that will be executed fastest (shortest) at that time) at the time of executing the movement control instruction at that time, it becomes possible to more accurately and precisely determine whether the first robot can move. Then, based on the result of this determination, it becomes possible to appropriately control the movement of the first robot, and as a result, it is possible to more effectively prevent collisions between robots installed on the same running platform. In addition, it is possible to appropriately determine whether to continue or stop the determination by the first determination unit depending on whether there is a priority between the determination of whether the first robot can move and the determination of whether the second robot can move. Therefore, it is possible to more accurately and precisely determine whether the first robot can move, and therefore it is possible to more effectively prevent collisions between robots installed on the same guide unit. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a front view showing a machine tool 10 to which a workpiece machining device is applied. [Diagram 2] FIG. 2 is a right side view showing the machine tool 10 shown in FIG. [Diagram 3] FIG. 1 is a block diagram showing a machine tool 10. [Figure 4]4 is a flowchart showing a program executed by a control device 50 shown in FIG. 3. [Diagram 5] FIG. 2 is a schematic diagram showing Case 1 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 6] FIG. 2 is a schematic diagram showing the operation related to the second robot control system among the operations of the first robot (own robot) 40a and the second robot (partner robot). [Figure 7] FIG. 13 is a schematic diagram showing a case where a second robot (partner robot) is waiting and a first robot (own robot) 40a is undergoing priority determination. [Figure 8] FIG. 13 is a schematic diagram showing an operation in which a first robot (own robot) 40a is caused to perform a retreat operation, and then a second robot (partner robot) is caused to perform a movement operation. [Figure 9] FIG. 2 is a schematic diagram showing a case 2-1 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 10] FIG. 13 is a schematic diagram showing a case 2-2 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 11] FIG. 2 is a schematic diagram showing a case 2-3 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 12] FIG. 13 is a schematic diagram showing a case 2-4 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 13] FIG. 13 is a schematic diagram showing a case 3-1 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 14] FIG. 13 is a schematic diagram showing a case 3-2 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 15] FIG. 13 is a schematic diagram showing a case 3-3 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). [Figure 16]FIG. 13 is a schematic diagram showing Case 3-4 relating to the operation of a first robot (own robot) 40a and a second robot (partner robot). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (machine tools) An embodiment of a machine tool to which a workpiece machining device is applied will be described below. In each of the following figures, the directions in the figures will be described using an XYZ coordinate system. In this XYZ coordinate system, a plane parallel to the horizontal plane is the XZ plane. In this XZ plane, the axial direction of spindles 20a, 20b of a machine tool 10 (described later) is referred to as the Z-axis direction, and the direction perpendicular to the Z-axis direction is referred to as the X-axis direction. In addition, the direction perpendicular to the XZ plane is referred to as the Y-axis direction.

[0010] As shown in FIG. 1, the machine tool 10 includes a main body 11, a pair of spindles 20a, 20b, a pair of tool tables 30a, 30b, a pair of work transport robots (hereinafter sometimes simply referred to as robots) 40a, 40b, and a control device 50 that controls the spindles 20a, 20b, the tool tables 30a, 30b, and the work transport robots 40a, 40b.

[0011] The spindle 20a rotatably holds the workpiece W. The spindle 20a is rotatably supported by a spindle stock (not shown) provided on the main body 11 so as to be horizontally disposed along the left-right direction (Z-axis direction) in FIG. 2. A spindle chuck 21 that detachably holds the workpiece W is provided at the tip of the spindle 20a. The spindle 20a is driven to rotate by a servo motor (not shown). The spindle chuck 21 has multiple gripping jaws (not shown), which can be closed to grip the workpiece W and opened to release the workpiece W. The spindle chuck 21 is opened and closed according to instructions from the control device 50. The spindle 20b is configured similarly to the spindle 20a.

[0012] The tool table 30a is a device that gives a feed motion to the cutting tool 31. The tool table 30a is a so-called turret-type tool table, and has a tool holding section 32 on which a plurality of cutting tools 31 for cutting the workpiece W are attached. The tool holding section 32 is rotatably supported by a rotary drive section (not shown) and can be positioned at a predetermined cutting position. The tool table 30a and the cutting tools 31 are moved in the left-right direction (X-axis direction) and the front-back direction (Z-axis direction) in FIG. 1 by a tool table moving device 33. The tool table moving device 33 has an X-axis driving device (not shown) that moves the tool table 30a along the X-axis direction, and a Z-axis driving device (not shown) that moves the tool table 30a along the Z-axis direction. The X-axis driving device and the Z-axis driving device are each driven by a servo motor. The tool table 30b is configured similarly to the tool table 30a.

[0013] The above-described spindle 20a and tool rest 30a constitute a processing section 35a that processes the workpiece W. The above-described spindle 20b and tool rest 30b constitute a processing section 35b that processes the workpiece W.

[0014] (robot) The robots 40a and 40b can each travel on the same travel platform, and can load and unload the workpiece W to and from the spindles 20a, 20b and the workpiece mounting device 60. The workpiece mounting device 60 is a device capable of mounting the workpiece W, and may be, for example, a workpiece loading device that places the workpiece W to be loaded into the machine tool 10 on a mounting surface, a workpiece unloading device that places the workpiece W to be unloaded from the machine tool 10 on a mounting surface, or an inversion / shift device that inverts or shifts the posture of the workpiece W unloaded from the machine tool 10.

[0015] The robot 40a includes a traveling section 41 for traveling (moving along the X-axis), a gripping section 42 for detachably gripping the workpiece W, and a gripping section moving section 43 for moving the gripping section 42 relative to the traveling section 41. In this embodiment, the robot 40a is, for example, a three-axis Cartesian robot (three-axis gantry robot). The robot 40a is not limited to a Cartesian robot, and may be a vertical articulated robot, a horizontal articulated robot (SCARA type robot), or a parallel link robot. The robot 40b is configured similarly to the robot 40a.

[0016] (Running part) As shown in FIG. 1, the running unit 41 includes a running unit slider 41a (which may also be referred to as an X-axis slider), a guide unit 41b which is a running platform that guides and runs the running unit slider 41a, and a running drive device 41c (see FIG. 3) for driving the running unit slider 41a to run.

[0017] The running part slider 41a can be equipped with a grip part 42 and a grip part moving part 43, and is guided by a guide part 41b extending along the left-right direction (X-axis direction) in Figure 1, and moves back and forth (linearly) along the left-right direction.

[0018] The guide portion 41b is provided on the main body 11, and disposed above the spindles 20a, 20b and the tool tables 30a, 30b. One end (the left end in FIG. 1) of the guide portion 41b extends to directly above the workpiece placement device 60 installed on the left side of the main body 11. The other end (the right end in FIG. 1) of the guide portion 41b extends to directly above the workpiece placement device 60 installed on the right side of the main body 11. The traveling slider 41a and the guide portion 41b form a traveling drive shaft (X-axis drive shaft).

[0019] The traveling drive device 41c is provided on the traveling section slider 41a or the guide section 41b side. The traveling drive device 41c is composed of a servo motor 41c1 (see FIG. 3), a driving force transmission mechanism (not shown), etc. The traveling section slider 41a travels relative to the guide section 41b by the rotation output of the servo motor 41c1.

[0020] The servo motor 41c1 is connected to the control device 50 as shown in FIG. 3. The servo motor 41c1 is rotationally driven according to instructions from the control device 50. By driving the servo motor 41c1, the robots 40a and 40b can be moved in the X-axis positive direction (rightward) and the X-axis negative direction (leftward). The servo motor 41c1 also includes a built-in position sensor (e.g., resolver, encoder) 41c2 (see FIG. 3) that detects the position (e.g., rotation angle) of the servo motor 41c1. The detection result of the position sensor 41c2 is transmitted to the control device 50.

[0021] (gripping part) As shown primarily in Fig. 2, the gripper 42 is rotatably connected to a Y-axis slider 45a via a rotation drive unit 42b. The gripper 42 has a triangular prism-shaped main body 42a having two orthogonal side surfaces and the remaining side surface. One of the two orthogonal side surfaces is a plane that can be parallel to the XZ plane, and is provided with a robot chuck 42c that detachably grips the workpiece W. The other side surface is a plane that is parallel to the XY plane, and is provided with a robot chuck 42d that detachably grips the workpiece W.

[0022] The main body 42a can be rotated around a gripping rotation axis by the rotary drive unit 42b, which will be described later, and each of the robot chucks 42c, 42d can be rotated between two positions (a Y-axis downward position and a Z-axis rearward position). As a result, the gripping unit 42 can transfer the workpiece W to a mounting surface facing upward in the Y-axis direction (e.g., the mounting surface of the workpiece mounting device 60) by setting each of the robot chucks 42c, 42d to a Y-axis downward position. Also, the gripping unit 42 can transfer the workpiece W to a mounting surface facing the front side in the Z-axis direction (e.g., the mounting surface of the spindle chuck 21 of the spindles 20a, 20b) by setting each of the robot chucks 42c, 42d to a Z-axis rearward position. The robot chucks 42c, 42d have a plurality of gripping jaws (not shown), which can grip the workpiece W by closing the gripping jaws and release the workpiece W by opening them. The robot chucks 42c and 42d are opened and closed according to instructions from the control device 50.

[0023] A rotation drive unit 42b provided on the inclined surface of the tip (lower end) of the Y-axis slider 45a is attached (connected) to the remaining side surface of the main body 42a. The remaining side surface of the main body 42a is disposed parallel to the inclined surface of the tip portion of the Y-axis slider 45a. As shown in FIG. 2, the rotation drive unit 42b has a rotation drive shaft 42e provided on the rotation drive unit 42b and a rotation drive device 42f (see FIG. 3) that rotates and drives the rotation drive shaft 42e. The rotation drive shaft 42e has a rotation axis (grip rotation axis) that is perpendicular to the remaining side surface of the main body 42a and is rotatable around this rotation axis.

[0024] The rotation drive device 42f is provided on the Y-axis slider 45a or the main body 42a. The rotation drive device 42f is composed of a servo motor 42f1, a driving force transmission mechanism (not shown), etc. The rotation drive shaft 42e rotates with respect to the tip of the Y-axis slider 45a by the rotation output of the servo motor 42f1, and thus the gripper 42 can rotate around the gripper rotation axis of the rotation drive shaft 42e with respect to the Y-axis slider 45a.

[0025] The servo motor 42f1 is connected to the control device 50 as shown in Fig. 3. The servo motor 42f1 has a built-in position sensor 42f2 (see Fig. 3) that detects the position of the servo motor 42f1. The detection result of the position sensor 42f2 is transmitted to the control device 50.

[0026] (grip moving part) The gripper movement unit 43 moves the gripper 42 relative to the running unit slider 41a in the left-right direction (Z-axis direction) and the up-down direction (Y-axis direction) in Fig. 2. The gripper movement unit 43 has a Z-axis drive unit 44 that moves the gripper 42 along the Z-axis direction, and a Y-axis drive unit 45 that moves the gripper 42 along the Y-axis direction.

[0027] (Z-axis drive unit) The Z-axis driving unit 44 moves the Z-axis slider 44a, which is slidably attached to the running unit slider 41a, along the Z-axis direction. As shown primarily in Fig. 2, the Z-axis driving unit 44 includes the Z-axis slider 44a, a Z-axis guide unit 44b that guides and moves the Z-axis slider 44a, and a Z-axis driving device 44c (see Fig. 3) that drives and moves the Z-axis slider 44a.

[0028] The Z-axis slider 44a can mount the Y-axis drive unit 45 and thus the grip unit 42, extends along the left-right direction (Z-axis direction) in Fig. 2, and is guided by the Z-axis guide unit 44b to reciprocate (linearly move) along the Z-axis direction. The Z-axis guide unit 44b is provided on the running unit slider 41a.

[0029] The Z-axis driving device 44c (see FIG. 3) is provided on the Z-axis guide portion 44b or the Z-axis slider 44a. The Z-axis driving device 44c is composed of a servo motor 44c1, a driving force transmission mechanism (not shown), etc. The Z-axis slider 44a moves relative to the Z-axis guide portion 44b by the rotation output of the servo motor 44c1.

[0030] 3, the servo motor 44c1 is connected to the control device 50. The servo motor 44c1 is rotationally driven in accordance with an instruction from the control device 50. The servo motor 44c1 also includes a position sensor (e.g., resolver, encoder) 44c2 that detects the position (e.g., rotation angle) of the servo motor 44c1. The detection result of the position sensor 44c2 is transmitted to the control device 50.

[0031] (Y-axis drive unit) The Y-axis driving unit 45 moves a Y-axis slider 45a (on which the gripper 42 is supported) slidably attached to the Z-axis slider 44a along the Y-axis direction. As shown primarily in Fig. 2, the Y-axis driving unit 45 includes the Y-axis slider 45a, a Y-axis guide unit 45b that guides and moves the Y-axis slider 45a, and a Y-axis driving device 45c (see Fig. 3) that drives and moves the Y-axis slider 45a.

[0032] The Y-axis slider 45a is capable of mounting the gripping portion 42, extends in the vertical direction (Y-axis direction) in Fig. 2, and is guided by the Y-axis guide portion 45b to reciprocate (linearly move) along the Y-axis direction. The Y-axis guide portion 45b is provided on the Z-axis slider 44a.

[0033] The Y-axis driving device 45c (see FIG. 3) is provided on the Y-axis guide portion 45b or the Y-axis slider 45a. The Y-axis driving device 45c includes a servo motor 45c1, a driving force transmission mechanism (not shown), etc. The Y-axis slider 45a moves relative to the Y-axis guide portion 45b by the rotation output of the servo motor 45c1.

[0034] 3, the servo motor 45c1 is connected to the control device 50. The servo motor 45c1 is rotationally driven in accordance with an instruction from the control device 50. The servo motor 45c1 also includes a position sensor (e.g., resolver, encoder) 45c2 built therein that detects the position (e.g., rotation angle) of the servo motor 45c1. The detection result of the position sensor 45c2 is transmitted to the control device 50.

[0035] (Control device) The control device 50 is a control device that drives and controls the spindles 20a and 20b, the tool tables 30a and 30b, and the robots 40a and 40b. In particular, the control device 50 performs movement control of the robots 40a and 40b. As shown in FIG. 3, the control device 50 is connected to an input device 50a, a display device 50b, a storage device 50c, position sensors 41c2, 44c2, 45c2, and 42f2, and servo motors 41c1, 44c1, 45c1, and 42f1. The input device 50a is provided on the front of the machine tool 10, and is used by an operator to input various settings, various instructions, and the like to the control device 50. The display device 50b is provided on the front of the machine tool 10, and is used to display information such as the operating status and maintenance status to the operator. The storage device 50c stores data related to the control of the machine tool 10, such as a control program (machining program), parameters used in the control program, data related to various settings and various instructions, load data (machining data), and control information from the first and second robot control systems. The control device 50 has a microcomputer (not shown), which is equipped with an input / output interface, a CPU, a RAM, and a ROM (all not shown), each of which is connected via a bus. The CPU executes various programs to obtain data, detection signals, control information, and the like from the input device 50a, the storage device 50c, and the position sensors 41c2, 44c2, 45c2, and 42f2, and to control the display device 50b and the servo motors 41c1, 44c1, 45c1, and 42f1. The RAM temporarily stores variables necessary for executing the programs, and the ROM stores the programs.

[0036] (Robot driving control) Further, the travel control of the robot 40a by the above-mentioned machine tool 10 (workpiece machining device) will be described with reference to the flowchart shown in FIG. 4. The control device 50 performs processing according to this flowchart. The control device 50 has a first robot control system that is a control system for controlling the first robot 40a, and a second robot control system that is a control system for controlling the second robot 40b, and is capable of independently controlling each of the robots 40a, 40b. That is, both the first robot control system and the second robot control system perform processing according to this flowchart. In this embodiment, the travel control (including interlock confirmation processing) of the first robot 40a performed in the first robot control system will be described.

[0037] In the second robot control system, the travel control (including interlock confirmation processing) of the second robot 40b is performed according to this flowchart, similar to the travel control of the first robot 40a. In the first robot control system, the first robot 40a is the host robot and the second robot 40b is the partner robot, and in the second robot control system, the second robot 40b is the host robot and the first robot 40a is the partner robot. Furthermore, the origin of the robot located on the entrance side (left side in FIG. 1) is set to the left end of the guide section 41b, and the origin of the robot located on the exit side (right side in FIG. 1) is set to the right end of the guide section 41b.

[0038] In step S102, the control device 50 judges whether or not there is an instruction to start interlock confirmation processing in the machining program (particularly, a robot program for controlling the robots 40a, 40b). If there is an interlock confirmation processing M code (e.g., "M300") in the machining program, which is an M code indicating interlock confirmation processing, the control device 50 judges that there is an instruction (command) to start interlock confirmation processing ("YES" in step S102), and proceeds with the program to step S104. If there is no interlock confirmation processing M code (e.g., "M300") in the machining program, which is an M code indicating interlock confirmation processing, the control device 50 judges that there is no instruction to start interlock confirmation processing ("NO" in step S102), and temporarily ends the program.

[0039] The interlock confirmation process is a process for confirming that the first robot 40a and the second robot 40b do not come into contact with each other when the first robot 40a or the second robot 40b is controlled to move along the X-axis (X-axis movement control). In other words, the interlock confirmation process is also a process for confirming whether or not the X-axis movement control of the robot 40a itself is possible. The interlock confirmation process M code is written immediately before the program line related to the X-axis movement control of the robot 40a. An example of a processing program is shown below (Processing Program Example 1). (Machining program example 1) · · M300 G0X#502 G0Y#702 G0Z[#602-#100] · ·

[0040] In step S104, the control device 50 holds the interlock confirmation process started in step S102. That is, the control device 50 holds the program being executed in the machining program in the interlock confirmation process M code. This enables the control device 50 to execute the interlock confirmation process before the start of the next X-axis movement process executed in the machining program.

[0041] In steps S106-S120, before the host robot executes X-axis movement control, the control device 50 performs an interlock confirmation process to determine whether the host robot can move along the X-axis, using the host robot's current position and next command value, and the partner robot's current position and destination position. The host robot is the first robot 40a in the first robot control system, and the second robot 40b in the second robot control system. The partner robot is the second robot 40b in the first robot control system, and the first robot 40a in the second robot control system.

[0042] In step S106, the control device 50 judges whether the current position (own robot current position) of the own robot 40a at the start time of the interlock confirmation process (judgment start time) is located closer to the entrance or exit than the own robot next command value, which is an instruction value related to a movement control instruction issued to the own robot 40a immediately after the judgment start time and indicates the movement destination position of the own robot 40a. The judgment start time is the time when the judgment of whether the own robot 40a can start traveling (movement along the X-axis) is started. The movement control instruction is a next command, which is a control instruction (control command) issued next to the command to start the interlock confirmation process. Note that, for example, in Figs. 5 to 16, the entrance side is the side where the workpiece W is carried in the machine tool 10, which is the left side in this embodiment. The exit side is the side where the workpiece W is carried out of the machine tool 10, which is the right side in this embodiment.

[0043] For example, Fig. 5 shows a case where the host robot's current position is located closer to the exit (right side) than the host robot's next command value. In Fig. 5, if we assume that the origin of the X-axis is the left end (entrance end) of guide section 41b and that the X-axis coordinate value increases toward the right, then host robot's current position>host robot's next command value (host robot's current position-host robot's next command value>0). Conversely, if the host robot's current position is located closer to the entrance (left side) than the host robot's next command value, then host robot's current position<host robot's next command value (host robot's current position-host robot's next command value<0).

[0044] In other words, it is possible to determine whether the current position of the own robot is located closer to the exit side or the entrance side of the own robot's next command value based on whether the difference between the current position of the own robot and the next command value of the own robot (current position of the own robot - next command value of the own robot: second difference) is greater than the second predetermined value of 0. The second predetermined value may be set to a value other than 0 (zero), and in this case, it may be set in consideration of the approachable distance between the own robot 40a and the opponent robot 40b. Also, being located on the exit side means that the own robot is moving toward the entrance side, and also means that it is moving in a direction away from the opponent robot. Being located on the entrance side means that the own robot is moving toward the exit side, and also means that it is moving in a direction approaching the opponent robot.

[0045] If the second difference (own robot's current position-own robot's next command value) is greater than the second predetermined value, the control device 50 determines that the own robot 40a is moving toward the entrance side (determines "YES" in step S106), and proceeds to step S116. In step S116, the control device 50 releases the interlock confirmation process held in step S104. This ends the interlock confirmation process, and the control device 50 becomes able to execute the next movement control instruction (next movement control instruction) for the own robot 40a. After completing the process of step S116, the control device 50 ends this flowchart.

[0046] If the second difference (own robot's current position - own robot's next command value) is smaller than the second predetermined value, the control device 50 determines that the own robot 40a is moving toward the exit (determines "NO" in step S106) and proceeds to step S108.

[0047] (Determining whether to prioritize the interlock confirmation process of the own robot) In step S108, the control device 50 determines whether or not it is acceptable to perform a movement permission determination (interlock confirmation process) of the own robot 40a with priority over the other robot 40b (movement permission determination priority determination). When the movement permission determination of the other robot 40b is given priority, the control device 50 is able to wait without performing a movement permission determination of the own robot 40a. Specifically, in step S108, the control device 50 performs a movement permission determination priority determination depending on whether or not the own robot 40a is located closer to the entrance than the other robot 40b. If the control device 50 is located closer to the entrance than the opponent robot 40b, it determines that the determination as to whether the player's robot can move will be given priority (player's robot movement ability priority determination) ("YES" in step S108), and if the control device 50 is located closer to the exit than the opponent robot 40b, it determines that the determination as to whether the opponent robot can move will be given priority (opponent robot movement ability priority determination) ("NO" in step S108).

[0048] In this way, the control device 50 determines whether to continue or stop the determination of whether the own robot 40a can move, depending on whether the determination of whether the own robot 40a can move is prioritized over the determination of whether the other robot 40b can move (second determination unit). Note that the control device 50 may be provided with a second determination unit that determines whether to continue or stop the determination of whether the own robot 40a can move (determination by the first determination unit), depending on whether the movement control of the own robot 40a (first robot) is prioritized over the movement control of the other robot 40b (second robot).

[0049] If the own robot 40a is located on the entrance side relative to the opponent robot 40b, the control device 50 judges "YES" in step S108, advances the program to step S110 and onwards, and continues judging whether the own robot 40a can move. On the other hand, if the own robot 40a is located on the exit side rather than the entrance side relative to the opponent robot 40b, the control device 50 judges "NO" in step S108, advances the program to step S118 and onwards, and further checks the judgment status of whether the opponent robot 40b can move.

[0050] In step S118, the control device 50 acquires control information from the second robot control system and determines whether the other robot 40b is in a wait start scan state. The wait start scan state is a scan state for the other robot 40b to start the interlock confirmation process, that is, a state in which the other robot 40b detects (searches) the start of the interlock confirmation process. The control information includes the determination result of the start of the interlock confirmation process in each robot 40a, 40b. This determination result of the start of the interlock confirmation process is transmitted from one of the robots 40a, 40b to the other. Each robot 40a, 40b can determine whether the other robot 40b is in a wait start scan state from the acquired determination result of the start of the interlock confirmation process of the other robot. That is, when the robot 40a, 40b has not acquired the determination result of the start of the interlock confirmation process of the other robot, it determines that the other robot is in a wait start scan state, and on the other hand, when it has acquired the determination result of the start of the interlock confirmation process of the other robot, it determines that the other robot is not in a wait start scan state (the wait start scan state has ended).

[0051] If the partner robot 40b is in a wait-start scan state, the control device 50 judges "YES" in step S118 and repeats the process of step S118 until the partner robot 40b is no longer in the wait-start scan state (until the wait-start scan state ends). If the partner robot 40b is not in a wait-start scan state (when the wait-start scan state ends), the control device 50 judges "NO" in step S118 and advances the program to step S120.

[0052] In step S120, the control device 50 acquires control information from the second robot control system and judges whether the entrance side robot (opponent robot 40b) is "waiting" (described later). "Waiting" is a state in which there is a possibility that the two robots 40a, 40b may come into contact when the own robot 40a and / or the opponent robot 40b executes the next movement control instruction. In other words, "waiting" means that the target robot (the opponent robot 40b on the entrance side in this case) is undergoing interlock confirmation processing and is waiting for the execution of movement control after the interlock confirmation processing. The control information includes the judgment result (movement possibility judgment result such as movement OK, movement NG (waiting)) in the interlock confirmation processing of the entrance side robot (opponent robot 40b) for each robot 40a, 40b.

[0053] When the determination result in the interlock confirmation process of the entrance side robot (opponent robot 40b) is "movement OK", the control device 50 determines that the entrance side robot (opponent robot 40b) is not "waiting" (determined as "NO" in step S120), advances the program to step S110, and resumes the interlock confirmation process of the host robot 40a. For example, as shown in Fig. 6, when the opponent robot 40b and the host robot 40a do not come into contact (interfere) with each other even if the opponent robot 40b and the host robot 40a perform movement control according to the next movement control instruction, the opponent robot 40b is movement-controlled according to the next movement control instruction, and the host robot 40a resumes the interlock confirmation process, releases the hold of the interlock confirmation process, and then is movement-controlled according to the next movement control instruction.

[0054] 6 shows a case where the opponent robot 40b and the player's robot 40a do not come into contact (interfere) with each other even if movement control is performed by the next movement control command. For example, this is the case where the player's robot 40a is located at the exit side and the opponent robot 40b is located at the entrance side, the opponent robot 40b moves (or stops) in the + direction of the X axis, and the player's robot 40a moves in the - direction of the X axis, and the next command value (next movement destination, movement destination position) of the opponent robot 40b is located in the - direction of the X axis from the next command value (next movement destination) of the player's robot 40a.

[0055] On the other hand, if the judgment result in the interlock confirmation process for the entrance side robot (opponent robot 40b) is "movement NG," the control device 50 judges that the entrance side robot (opponent robot 40b) is "waiting" (judgment of "YES" in step S120), proceeds to step S122, and performs evacuation operation processing to evacuate the own robot 40a.

[0056] For example, as shown in FIG. 7, if the opponent robot 40b moves from its current position in the + direction on the X axis (to the right in FIG. 7) and attempts to move past the current position of the player's robot 40a to the next command value (next destination), and the player's robot 40a moves from its current position in the - direction on the X axis (to the left in FIG. 7) and attempts to move past the current position of the opponent robot 40b to the next command value (next destination), then if movement control is performed as is, the opponent robot 40b and the player's robot 40a will come into contact (interfere).

[0057] In this case, the second robot control system of the opponent robot 40b judges that it is "waiting (continues waiting)" by the interlock confirmation process as described later. Furthermore, the first robot control system of the player's robot 40a confirms (certifies) the judgment that the entrance side robot (opponent robot 40b) is "waiting" in step S120 as described above. After that, the interlock confirmation process is interrupted (without performing the process of steps S110-116), and the player's robot 40a can be moved (evacuated) from its current position to a position (evacuation position: see FIG. 8) where it will not come into contact (interfere) (step S122). In this way, by evacuating the player's robot 40a, it becomes possible to preferentially control the opponent robot 40b located on the entrance side. The evacuation position is the next movement destination position of the player's robot 40a where the opponent robot 40b will not come into contact (interfere) with the player's robot 40a even if the opponent robot 40b moves in response to the next movement control command.

[0058] In step S122, the control device 50 performs the evacuation operation process of the robot 40a. For example, the control device 50 performs a re-search of the block (block re-search) to perform the evacuation operation block. The block is a unit constituting the machining program, and is divided according to the operation content of the robot. The robots 40a, 40b execute a plurality of blocks continuously. Examples of the blocks include an entrance block, an M / C block, a cycle stop block, and an evacuation operation block. The entrance block is a block where the robots 40a, 40b go to pick up the workpiece W to be machined to the work placement device 60 on the entrance side. The M / C block is a block where the robots 40a, 40b move (approach) to the machining sections 35a, 35b and replace the machined workpiece W with the unmachined workpiece W. The cycle stop block is a block where the robots 40a, 40b return to the origin and end the automatic operation of the robots 40a, 40b. The evacuation action block is a block that moves the robot (own robot 40a) that is not on the priority control side (non-priority control) to a evacuation position where it will not come into contact with the opposing robot 40b when there is a possibility of contact (interference) between the robots 40a, 40b.

[0059] A block re-search is a method of forcibly performing a block search in the middle of a block, rather than at the end of the block. A block re-search interrupts the currently executing block immediately after the search is completed, and executes the searched block. For example, if an abnormality occurs in the M / C during an M / C block, a block re-search will search for a cycle stop block. This interrupts the M / C block and starts a cycle stop block.

[0060] A block search is a process of determining (searching) the next block to be executed when a block is completed. After the search is completed, the searched block is executed. For example, when a block search is performed after the end of an input block, if the robots 40a and 40b have an unmachined workpiece W, the M / C block is searched for. Then, the M / C block is started.

[0061] In step S122, the control device 50 calculates (calculates) the evacuation position from the previously acquired next command value of the partner robot 40b in the evacuation operation block, and then controls the traveling drive device 41c (servo motor 41c1) to move the own robot 40a to the evacuation position. After the process of step S122, the control device 50 temporarily ends the program.

[0062] Returning to the interlock confirmation process, the controller 50 is able to determine whether the host robot can move according to the movement control instruction from the first difference between the host robot next command value and the destination position of the opponent robot in step S110 (first determination unit). The host robot next command value is an instruction value related to the movement control instruction issued to the host robot 40a immediately after the start of the determination, as in the process of step S106, and indicates the destination position of the host robot 40a. The destination position of the opponent robot is a value related to the movement control instruction executed by the opponent robot 40b at the start of the interlock confirmation process, and is the destination position of the opponent robot 40b indicating the destination position of the opponent robot 40b. The destination position of the opponent robot is the destination of the opponent robot 40b currently moving, and the destination is acquired from the second robot control system. The destination position of the opponent robot may be the next command value of the opponent robot (next destination of the opponent robot). The first difference is the difference between the opponent robot's destination position and the player's robot's next command value (opponent robot's destination position-player's robot's next command value difference), which is opponent robot's destination position-player's robot's next command value.

[0063] For example, FIG. 9 shows a case where the destination position of the opponent robot is located to the right (exit side) of the player's robot's next command value. In FIG. 9, as in FIG. 5, the opponent robot's destination position>the player's robot's next command value (the opponent robot's destination position-the player's robot's next command value>0). At this time, if the opponent robot's destination position is located to the right (exit side) of the player's robot's next command value, the player's robot 40a has no possibility of overtaking (catching up) the opponent robot 40b, and the player's robot 40a will not come into contact with the opponent robot 40b. Conversely, if the opponent robot's destination position is located to the left (entrance side) of the player's robot's next command value, the opponent robot's destination position<the player's robot's next command value (the opponent robot's destination position-the player's robot's next command value<0). At this time, if the opponent robot's destination position is located to the left (entrance side) of the player's robot's next command value, the player's robot 40a has the possibility of overtaking (catching up) the opponent robot 40b, and the player's robot 40a will come into contact with the opponent robot 40b.

[0064] In other words, it is possible to determine whether the destination position of the opponent robot is located closer to the exit or entrance than the own robot's next command value (whether the own robot 40a will contact the opponent robot 40b or not) based on whether the difference between the destination position of the opponent robot and the own robot's next command value (difference between the destination position of the opponent robot and the own robot's next command value: first difference) is greater than a first predetermined value. Note that the first predetermined value is preferably set to a value greater than 0 (zero) and smaller than the distance (approachable distance) at which the approaching robots 40a, 40b can stop with a margin so as not to come into contact even if they approach each other. In this embodiment, the first predetermined value is set to the approachable distance.

[0065] If the first difference (opponent robot's destination position - own robot's next command value) is greater than a first predetermined value (approachable distance), the control device 50 determines that there is no possibility that the own robot 40a will overtake the opponent robot 40b and that there is little possibility that the own robot 40a will come into contact with the opponent robot 40b (determines "YES" in step S110), and proceeds to step S112.

[0066] On the other hand, if the first difference (opponent robot's destination position-own robot's next command value) is smaller than the first predetermined value (approachable distance), the control device 50 determines that the own robot 40a may overtake the opponent robot 40b and that the own robot 40a will come into contact with the opponent robot 40b (determined as "NO" in step S110), and repeatedly executes the determination process of step S110 until the first difference becomes larger than the approachable distance. At this time, the opponent's robot control system is also controlled in the same way as the own robot control system, and if the movement control of the opponent's robot is given priority, the opponent's robot is moved, so the first difference may become larger than the approachable distance.

[0067] In step S112, the control device 50 is able to determine whether the host robot can move according to the movement control instruction from the third difference between the host robot next command value and the opponent robot current position (first determination unit). The host robot next command value is an instruction value related to the movement control instruction issued to the host robot 40a immediately after the judgment start time point, as in the process of step S106, and indicates the movement destination position of the host robot 40a. The opponent robot current position is the current position of the opponent robot 40b at the time when the interlock confirmation process is started. At this time, the current position is the actual coordinates indicating the actual position detected by the above-mentioned position sensor. The actual coordinates include a delay amount generated with respect to the servo command. Note that instead of the actual coordinates, a position indicating a command value corresponding to the servo command may be used. Note that the opponent robot current position is acquired from the second robot control system. The third difference is the difference between the opponent robot current position and the host robot next command value, which is the opponent robot current position - the opponent robot next command value (opponent robot current position own robot next command value difference).

[0068] For example, FIG. 9-12 shows a case where the opponent robot's current position is located to the right (exit side) of the player's robot's next command value. In FIG. 9-12, as in FIG. 5, opponent robot's current position>player robot's next command value (opponent robot's current position-player robot's next command value>0). At this time, if the opponent robot's current position is located to the right (exit side) of the player's robot's next command value, the player's robot 40a has no possibility of overtaking (catching up) the opponent robot 40b, and the player's robot 40a will not come into contact with the opponent robot 40b. Conversely, as shown in FIG. 13-16, if the opponent robot's current position is located to the left (entrance side) of the player's robot's next command value, opponent robot's current position<player robot's next command value (opponent robot's current position-player robot's next command value<0). If the opponent robot's current position is located to the left (entrance side) of the player's robot's next command value, the player's robot 40a has a possibility of overtaking (catching up) the opponent robot 40b, and the player's robot 40a will come into contact with the opponent robot 40b.

[0069] In other words, it is possible to determine whether the current position of the opponent robot is located on the exit side or the entrance side of the own robot's next command value (whether the own robot 40a will come into contact with the opponent robot 40b or not) based on whether the difference between the opponent robot's current position and the own robot's next command value (opponent robot's current position-own robot's next command value difference: third difference) is greater than a third predetermined value. Note that, like the first predetermined value, the third predetermined value is preferably set to a value greater than 0 (zero) and smaller than the distance (approachable distance) at which the approaching robots 40a, 40b can stop with a margin so as not to come into contact with each other even if they approach each other. In this embodiment, the third predetermined value is set to the approachable distance.

[0070] If the third difference (opponent robot's current position-own robot's next command value) is greater than the third predetermined value (approachable distance), the control device 50 determines that there is no possibility that the own robot 40a will overtake the opponent robot 40b and that there is no possibility that the own robot 40a will come into contact with the opponent robot 40b (determined as "YES" in step S112), and proceeds to step S116. In step S116, the control device 50 releases the interlock confirmation process held in step S104. This ends the interlock confirmation process, and the control device 50 becomes able to execute the next movement control instruction (next movement control instruction) for the own robot 40a. After the process of step S116 ends, the control device 50 ends this flowchart.

[0071] On the other hand, if the third difference (current position of the opponent robot - next command value of the own robot) is smaller than the third predetermined value (approachable distance), the control device 50 determines that there is a possibility that the own robot 40a will overtake the opponent robot 40b and that there is a possibility that the own robot 40a will come into contact with the opponent robot 40b (determines "NO" in step S112), and proceeds to step S114.

[0072] In step S114, the control device 50 is able to determine whether or not the host robot can move in response to the movement control instruction from the fourth difference between the current position of the opponent robot and the current position of the host robot at the time when the interlock confirmation process is started (first determination unit). The current position of the opponent robot is the current position of the opponent robot 40b at the time when the interlock confirmation process is started. The current position of the host robot is the current position of the host robot 40a at the time when the interlock confirmation process is started. The current position of the opponent robot is acquired from the second robot control system. At this time, it is preferable that the actual coordinates (described above) indicating the actual position detected by the above-mentioned position sensor are used as the current position of the opponent robot. Also, it is preferable that the current position of the host robot is the destination position, which is the command value corresponding to the servo command. The fourth difference is the difference between the current position of the opponent robot and the current position of the host robot, which is the current position of the opponent robot minus the current position of the host robot (difference between the current position of the opponent robot and the current position of the host robot).

[0073] For example, FIG. 16 shows a case where the opponent robot's current position is located to the right (exit side) of the player's current position. In FIG. 16, similarly to FIG. 5, opponent robot's current position>player's current position (opponent robot's current position-player's current position>0). Furthermore, it becomes possible to determine whether the player's robot 40a can chase the opponent robot 40b based on whether the difference between the opponent robot's current position and the player's current position (opponent robot's current position-player's current position difference: fourth difference), which is the opponent robot's current position-player's current position, is greater than a fourth predetermined value. In other words, it becomes possible to determine whether the opponent robot 40b will be overtaken by the player's robot 40a before reaching the opponent robot's destination position.

[0074] It is preferable that the fourth predetermined value is set to a value greater than the distance over which the player's robot 40a can chase the opponent robot 40b (the chasing distance: or the distance over which the player's robot 40a can overtake (catch up with) the opponent robot 40b before the opponent robot 40b reaches the opponent robot's destination position). The chasing distance can be calculated from the speed and current position of the player's robot 40a and the speed and current position of the opponent robot 40b. In this embodiment, the fourth predetermined value is set to the chasing distance.

[0075] If the fourth difference (opponent robot's current position - own robot's current position) is greater than a fourth predetermined value (pursuitable distance), the control device 50 determines that the own robot 40a can pursue the opponent robot 40b (the own robot 40a will not come into contact with the opponent robot 40b) (determines "YES" in step S114), and proceeds to step S116. In step S116, the control device 50 releases the interlock confirmation process held in step S104. This ends the interlock confirmation process, and the control device 50 becomes able to execute the next movement control instruction (next movement control instruction) for the own robot 40a. After the process of step S116 ends, the control device 50 ends this flowchart.

[0076] On the other hand, if the fourth difference (opponent robot's current position - own robot's current position) is smaller than a fourth predetermined value (tracking distance), the control device 50 determines that the own robot 40a cannot track the opponent robot 40b (the own robot 40a will catch up with and contact the opponent robot 40b) (determines "NO" in step S114), and repeatedly executes the determination process of steps S110-S114 until the fourth difference becomes larger than the tracking distance. At this time, the opponent's robot control system is also controlled in the same way as the own robot control system, and if the movement control of the opponent's robot is given priority, the opponent's robot will move, so the fourth difference may become larger than the tracking distance.

[0077] (Case 1: Your robot moves in the negative direction from its current position and the opponent robot stops or moves in the positive direction from its current position) Further, the operation will be described for each case. First, case 1 will be described. Case 1 is a case where the robot 40a is located at the entrance side and the partner robot 40b is located at the exit side, as shown in FIG. 5, the partner robot 40b stops (or moves in the + direction of the X axis), and the robot 40a moves in the - direction of the X axis. That is, case 1 is a case where the robot 40a located at the entrance side moves away from the partner robot 40b. The entrance side is the side where the workpiece W is carried in at the machine tool 10, which is the left side in this embodiment. The exit side is the side where the workpiece W is carried out at the machine tool 10, which is the right side in this embodiment. In FIG. 5, the direction of the arrow indicates the movement direction of the robots 40a and 40b, and the length indicates the movement amount (movement destination).

[0078] In case 1, as shown in Fig. 5, the own robot's current position at the start time of the interlock confirmation process (judgment start time) is closer to the exit than the own robot's next command value, which is an instruction value related to a movement control instruction (next command, which is a control instruction (control command) issued following the instruction to start the interlock confirmation process) issued to the own robot 40a immediately after the judgment start time and indicates the movement destination position of the own robot 40a. Therefore, the own robot's current position > the own robot's next command value, and the second difference, which is the own robot's current position - the own robot's next command value, is greater than 0 (zero), which is a second predetermined value.

[0079] In this case, the own robot 40a moves away from the opponent robot 40b in accordance with the movement control instruction, so even if the own robot 40a moves due to the movement control instruction, there is no possibility of the own robot 40a colliding (contacting) with the opponent robot 40b, and therefore the control device 50 judges "YES" in step S106 and becomes able to judge that the own robot 40a can move due to the movement control instruction (movement OK judgment).

[0080] (Cases 2-1 to 2-3: When your robot moves in the + direction on the X axis (towards the opponent robot) from its current position, but does not come into contact with the opponent robot.) Case 2-1 is a case in which the player's robot 40a is located at the entrance side and the opponent robot 40b is located at the exit side as shown in Fig. 9, the opponent robot 40b stops, and the player's robot 40a moves in the + side direction (towards the opponent robot) from the current position, but does not reach the stopped opponent robot 40b. Cases 2-2 and 2-3 are a case in which the player's robot 40a is located at the entrance side and the opponent robot 40b is located at the exit side as shown in Fig. 10 and 11, the opponent robot 40b moves in the + side direction or - side direction of the X axis, and the player's robot 40a moves in the + side direction (towards the opponent robot) from the current position, but the player's robot's next command value is located to the left (entrance side) of the opponent robot's destination position.

[0081] In the cases 2-1 to 2-3, as is clear from Fig. 9-11, the own robot's current position is smaller than the own robot's next command value, and the second difference, which is the own robot's current position - the own robot's next command value, is smaller than the second predetermined value. Therefore, since there is a possibility that the own robot 40a and the opponent robot 40b will collide, the control device 50 judges "NO" in step S106. Also, since the own robot 40a is located on the entrance side, the control device 50 judges "YES" in step S108.

[0082] 9-11, in the cases 2-1 to 2-3, the opponent robot's destination position>the player's robot's next command value, the first difference, which is the opponent robot's destination position-the player's robot's next command value, is greater than the first predetermined value, and the opponent robot's current position>the player's robot's next command value, the third difference, which is the opponent robot's current position-the player's robot's next command value, is greater than the third predetermined value (approachable distance). Therefore, since there is no possibility of the player's robot 40a and the opponent robot 40b colliding with each other, the control device 50 judges "YES" in each of steps S110 and 112, and can judge that the player's robot 40a can move in accordance with the movement control command (movement OK judgment).

[0083] (Case 2-4: When your robot moves in the + direction on the X axis (towards the opponent robot) from its current position, but within a range where there is a possibility of contact with the opponent robot) Case 2-4 is when the player's robot 40a is located on the entrance side and the opponent robot 40b is located on the exit side, as shown in Figure 12, the opponent robot 40b moves in the negative direction of the X axis, the player's robot 40a moves in the positive direction (towards the opponent robot) from its current position, and the player's robot's next command value is located to the right (exit side) of the opponent robot's destination position.

[0084] In case 2-4, as is clear from Fig. 12, the own robot's current position is smaller than the own robot's next command value, and the second difference, which is the own robot's current position - the own robot's next command value, is smaller than the second predetermined value. Therefore, since there is a possibility that the own robot 40a and the opponent robot 40b will collide, the control device 50 judges "NO" in step S106. Also, since the own robot 40a is located on the entrance side, the control device 50 judges "YES" in step S108.

[0085] 12, in case 2-4, the opponent robot's destination position<the player's robot's next command value, and the first difference, which is the opponent robot's destination position-the player's robot's next command value, is smaller than the first predetermined value. Therefore, since there is a possibility that the player's robot 40a and the opponent robot 40b will collide with each other, the control device 50 determines "NO" in step S110, and can determine that the player's robot 40a cannot move according to the movement control command (movement NG (waiting) determination).

[0086] (Cases 3-1 to 3-3: When your robot moves from its current position in the + direction of the X axis (towards the opponent robot) within a range where there is a possibility of contact with the opponent robot) Case 3-1 is a case where the player's robot 40a is located on the entrance side and the opponent robot 40b is located on the exit side, as shown in Fig. 13, the opponent robot 40b stops, the player's robot 40a moves in the + side direction (towards the opponent robot) from the current position, and the player's robot next command value is located to the right (exit side) of the stopped opponent robot 40b (opponent robot's destination position). Cases 3-2 and 3-3 are a case where the player's robot 40a is located on the entrance side and the opponent robot 40b is located on the exit side, as shown in Fig. 14 and 15, the opponent robot 40b moves in the + side direction or - side direction of the X axis, the player's robot 40a moves in the + side direction (towards the opponent robot) from the current position, and the player's robot next command value is located to the right (exit side) of the opponent robot's destination position.

[0087] In the cases 3-1 to 3-3, as is clear from Fig. 13-15, the own robot's current position is smaller than the own robot's next command value, and the second difference, which is the own robot's current position - the own robot's next command value, is smaller than the second predetermined value. Therefore, since there is a possibility that the own robot 40a and the opponent robot 40b will collide, the control device 50 judges "NO" in step S106. Also, since the own robot 40a is located on the entrance side, the control device 50 judges "YES" in step S108.

[0088] Furthermore, in the cases 3-1 to 3-3, as is clear from Fig. 13-15, the opponent robot's destination position < the player's robot's next command value, and the first difference, which is the opponent robot's destination position - the player's robot's next command value, is smaller than the first predetermined value. Therefore, since there is a possibility that the player's robot 40a and the opponent robot 40b will collide with each other, the control device 50 determines "NO" in step S110, and can determine that the player's robot 40a cannot move according to the movement control command (movement NG (waiting) determination).

[0089] (Case 3-4: Your robot moves in the + direction on the X axis (towards the opponent robot) from its current position, and the opponent robot moves in the + direction on the X axis from its current position, but without touching each other) Case 3-4 is when the player's robot 40a is located on the entrance side and the opponent robot 40b is located on the exit side, as shown in Figure 16, and the opponent robot 40b moves in the + direction on the X axis, while the player's robot 40a also moves in the + direction (towards the opponent robot) from its current position, and the player's robot's next command value is located to the left (entrance side) of the opponent robot's destination position.

[0090] In case 3-4, as is clear from Fig. 16, the own robot's current position is smaller than the own robot's next command value, and the second difference, which is the own robot's current position - the own robot's next command value, is smaller than the second predetermined value. Therefore, since there is a possibility that the own robot 40a and the opponent robot 40b will collide, the control device 50 judges "NO" in step S106. Also, since the own robot 40a is located on the entrance side, the control device 50 judges "YES" in step S108.

[0091] 16, in case 3-4, the opponent robot's destination position>the player's robot's next command value, the first difference between the opponent robot's destination position and the player's robot's next command value is greater than the first predetermined value, the opponent robot's current position<the player's robot's next command value, the third difference between the opponent robot's current position and the player's robot's next command value is smaller than the third predetermined value (approachable distance), and the fourth difference between the opponent robot's current position and the player's robot's current position is greater than the fourth predetermined value (chasing distance). Therefore, since there is no possibility of the player's robot 40a and the opponent robot 40b colliding with each other, the control device 50 judges "YES", "NO", and "YES" in steps S110, 112, and 114, respectively, and can judge that the player's robot 40a can move in accordance with the movement control command (movement OK judgment).

[0092] (Effects of this embodiment) The workpiece machining apparatus (machine tool 10) according to the embodiment described above is a workpiece machining apparatus equipped with two workpiece transport robots 40a, 40b capable of traveling on the same guide section (traveling platform) 41b and capable of loading and unloading the workpiece W into and from the machining sections 35a, 35b, and a control device 50 that controls the movement of the workpiece transport robots 40a, 40b. One of the two workpiece transport robots 40a, 40b is designated as the first robot 40a, and the other is designated as the second robot 40b. The control device 50 determines whether the first robot 40a can move according to the movement control instruction based on a first difference between a first robot next instruction value (own robot next command value), which is an instruction value related to the movement control instruction issued to the first robot 40a immediately after starting to determine whether the first robot 40a can start running and indicates the destination position of the first robot 40a, and a second robot destination position (opponent robot destination position), which is a value related to the movement control instruction being executed by the second robot 40b at the time when the determination is started and indicates the destination position of the second robot 40b (first determination unit: step S110).

[0093] According to this embodiment, at the time of determining whether or not the first robot 40a can move, the first difference between the destination position of the second robot 40b (destination position of the other robot) according to the movement control instruction being executed at that time and the destination position of the first robot 40a (next command value of the own robot) according to the movement control instruction to be executed next to the movement control instruction being executed at that time (the movement control instruction that will be executed fastest (shortest) at that time) is used, thereby making it possible to more accurately and precisely determine whether or not the first robot 40a can move. Then, based on this determination result, it becomes possible to appropriately control the movement of the first robot 40a, and as a result, it is possible to more effectively prevent collisions between the robots 40a and 40b installed on the same guide section 41b.

[0094] In addition, the control device 50 (first judgment unit) further takes into account a second difference between the first robot's next instruction value (own robot's next command value) and the current position of the first robot 40a (own robot's current position) at the time the judgment is started, and judges whether the first robot 40a can move according to the movement control instruction (step S106). According to this, by additionally using the second difference between the first robot next instruction value and the current position of the first robot 40a at the time when the judgment is started, it becomes possible to judge whether the first robot 40a can move according to the movement control instruction. Therefore, it becomes possible to more accurately and precisely judge whether the first robot 40a can move, and therefore it is possible to more effectively prevent collisions between the robots 40a, 40b installed on the same guide section 41b.

[0095] In addition, the control device 50 (first judgment unit) further takes into account a third difference between the first robot's next instruction value (own robot's next command value) and the current position of the second robot 40b (opponent robot's current position) at the time the judgment is started, and judges whether the first robot 40a can move according to the movement control instruction (step S112). According to this, by additionally using the third difference between the first robot next instruction value and the current position of the second robot 40b at the time when the judgment is started, it becomes possible to judge whether the first robot 40a can move according to the movement control instruction. Therefore, it becomes possible to more accurately and precisely judge whether the first robot 40a can move, and therefore it is possible to more effectively prevent collisions between the robots 40a, 40b installed on the same guide section 41b.

[0096] In addition, the control device 50 (first judgment unit) further takes into account a fourth difference between the current position of the first robot 40a (current position of the own robot) at the time when the judgment is started and the current position of the second robot 40b (current position of the other robot) at the time when the judgment is started, and judges whether the first robot 40a can move in accordance with the movement control instruction (step S114). According to this, by additionally using the fourth difference between the current position of the first robot 40a at the time when the judgment was started and the current position of the second robot 40b at the time when the judgment was started, it becomes possible to judge whether the first robot 40a can move according to the movement control instruction. Therefore, it becomes possible to more accurately and precisely judge whether the first robot 40a can move, and therefore it is possible to more effectively prevent collisions between the robots 40a, 40b installed on the same guide section 41b.

[0097] The control device 50 is provided with a second judgment unit (step S108) that judges whether to continue or stop the judgment by the first judgment unit depending on whether the judgment of whether the first robot 40a can move is prioritized over the judgment of whether the second robot 40b can move. This makes it possible to appropriately determine whether to continue or stop the determination by the first determination unit depending on whether there is a priority between the determination of whether the first robot 40a can move and the determination of whether the second robot 40b can move. Therefore, it becomes possible to more accurately and precisely determine whether the first robot 40a can move, and therefore it is possible to more effectively prevent collisions between the robots 40a, 40b installed on the same guide unit 41b. [Explanation of symbols]

[0098] 10...machine tool (workpiece processing device), 35a, 35b...processing section, 40a, 40b...robot (workpiece transport robot), 40a...first robot, 40b...second robot, 41b...guide section (traveling platform), 50...control device (first judgment section: steps S110, S106, S112, S114), 50...control device (second judgment section: step S108), W...workpiece.

Claims

1. A workpiece processing device including two workpiece transport robots capable of traveling on the same travelling platform and capable of carrying workpieces into and out of a processing section, and a control device for controlling the movement of the workpiece transport robots, One of the two workpiece transport robots is a first robot, and the other is a second robot; the control device includes a first determination unit that determines whether the first robot can move in accordance with the movement control instruction based on a first difference between a first robot next instruction value, which is an instruction value related to a movement control instruction issued to the first robot immediately after a time point at which a determination of whether the first robot can start running is started and indicates a movement destination position of the first robot, and a second robot destination position, which is a value related to a movement control instruction being executed by the second robot at a time point at which the determination is started and indicates a movement destination position of the second robot; a second determination unit that determines whether to continue or stop the determination by the first determination unit depending on whether the determination of the first robot's ability to move is prioritized over the determination of the second robot's ability to move; A workpiece processing device equipped with the above structure.

2. The workpiece processing device according to claim 1, wherein the first judgment unit determines whether or not the first robot can move in accordance with the movement control instruction by further taking into account a second difference between the first robot next instruction value and the current position of the first robot at the time when the judgment is started.

3. The workpiece processing device according to claim 1, wherein the first judgment unit further takes into account a third difference between the first robot's next instruction value and the current position of the second robot at the time the judgment is started, to determine whether the first robot can move in accordance with the movement control instruction.

4. The workpiece processing device according to claim 3, wherein the first judgment unit further takes into account a fourth difference between the current position of the first robot at the time when the judgment is started and the current position of the second robot at the time when the judgment is started, to determine whether the first robot can move in accordance with the movement control instruction.

Citation Information

Patent Citations

  • Cooperative robot control method

    JP1995271415A

  • Loader device

    JP1996057738A

  • Conveyance system and article manufacturing method

    JP2019098511A