System and Control Device
The system synchronizes robots and machine tools using a reference clock and position/time data to allow flexible specification of synchronous positions, enhancing teaching efficiency and operational flexibility.
Patent Information
- Application Number
- JP2023522156
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2041-05-21
AI Technical Summary
Conventional synchronization methods in robot and machine tool systems require specifying synchronous positions in advance through teaching, which can be inconvenient when these positions are not explicitly taught, leading to inefficiencies.
A system and control device that utilize a reference clock to synchronize robots and machine tools by storing position and time data from a synchronization start command to an end command, allowing synchronous operation based on arbitrary positions or times on the movement trajectory, and including a storage unit and operation unit to manage this synchronization.
Enables flexible specification of synchronous positions based on arbitrary points on the movement trajectory, improving operational efficiency and ease of teaching by eliminating the need for pre-defined synchronous positions.
Smart Images

Figure 0007538349000002 
Figure 0007538349000010 
Figure 0007538349000013
Abstract
Description
[Technical field]
[0001] The present invention relates to a system and a control device. [Background technology]
[0002] A robot and a machine tool may work together to perform a task. In such a case, an interlock signal is set up so that the robot and the machine tool (hereinafter, these are also referred to as "equipment" as appropriate) do not interfere with each other. Then, when a task in one piece of equipment is completed, the other piece of equipment enters the work area based on the interlock signal. This makes it possible to prevent the equipment from interfering with each other. In recent years, in order to further improve work efficiency, a technology has been proposed in which a single system clock (reference clock) is introduced to the entire system to synchronize devices. For example, see Patent Documents 1 to 3. In each of these technologies, each device has an internal clock and an operating program in which the internal clock corresponds to the position of each device, and each device adjusts its own internal clock according to the system clock (reference clock), or adjusts the reference clock in accordance with the adjustment of the internal clock of each device, thereby synchronizing each device in the system. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 3-60990 [Patent Document 2] Special Publication No. 8-381 [Patent Document 3] JP 2009-279608 A Summary of the Invention [Problem to be solved by the invention]
[0004] Conventionally, when a synchronization position is specified by teaching a program for synchronous robot operations using an operation statement, the synchronization position must be a teaching point of a certain operation statement in the program. However, for example, in the operation program shown in Fig. 11B for performing an inter-press handling operation as shown in Fig. 11A, the desired synchronization start / end positions (for example, the positions in front of the robot) are not necessarily taught, which causes inconvenience. Note that the positions numbered "1" to "6" in FIG. 11A correspond to the teaching positions P(1) to P(6) in the operation program in FIG. 11B.
[0005] Therefore, instead of specifying the synchronous position in advance by teaching the robot's synchronous movement program using action statements, there is a demand for technology that makes it possible to specify the synchronous position based on any position or time on the robot's movement trajectory. [Means for solving the problem]
[0006] (1) One aspect of the system disclosed herein is a system including a robot and either a machine tool or another robot that cooperate with each other, and is equipped with a reference clock that periodically updates the time, and the robot and / or the machine tool or other robot each has an internal clock, a storage unit that stores position and time data from a synchronization start command to a synchronization end command of the operation program by executing a created operation program in advance based on the internal clock, and an operation unit that, during synchronous operation of the operation program, operates the robot and / or the machine tool or other robot in synchronization with the reference clock based on the position and time data of the operation program stored by the reference clock and the storage unit.
[0007] (2) One aspect of the system disclosed herein is a system including a robot and either a machine tool or another robot that cooperate with each other, the system including a reference clock that periodically updates the time, and the robot and / or the machine tool or other robot each includes an internal clock, a storage unit that stores position and time data from a synchronization start command to a synchronization end command of the operation program by executing a created operation program in advance on a simulation device that simulates the robot and / or the machine tool or other robot, and an operation unit that, during synchronous operation of the operation program, causes the robot and / or the machine tool or other robot to operate in synchronization with the reference clock based on the position and time data of the operation program stored by the reference clock and the storage unit.
[0008] (3) One aspect of the control device of the present disclosure is a control device for the robot used in the system of (1) or (2).
[0009] (4) One aspect of the control device of the present disclosure is a control device for any of the machine tools or other robots used in the system of (1) or (2). Effect of the Invention
[0010] According to one aspect, instead of specifying the synchronous position in advance by teaching the robot's synchronous movement program using an action statement, it is possible to specify the synchronous position based on any position or time on the robot's movement trajectory. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a system according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram showing an example of a functional configuration of a control device. [Diagram 3] FIG. 11 is a diagram illustrating an example of an operation program according to an embodiment. [Figure 4] FIG. 13 is a diagram illustrating an example of interpolation data according to an embodiment. [Figure 5A] FIG. 13 is a diagram showing an example of a display screen of interpolation data. [Figure 5B] FIG. 13 is a diagram showing an example of a display screen of interpolation data. [Figure 6] 6 is a diagram illustrating an example of an operation of a deceleration start timing calculation unit; FIG. [Figure 7] FIG. 13 is a diagram illustrating an example of a filtering process for an increment time of an internal clock. [Figure 8] 13 is a flowchart illustrating a storage process of the control device. [Figure 9] 4 is a flowchart illustrating a synchronization operation process of the control device. [Figure 10] FIG. 13 is a diagram showing an example of a display screen for setting a pause position. [Figure 11A] FIG. 13 is a diagram showing an example of a trajectory of an inter-press handling operation. [Figure 11B] FIG. 11B is a diagram showing an example of an operation program for performing the inter-press handling operation shown in FIG. 11A. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] First, an outline of this embodiment will be described. In this embodiment, the system includes a robot and either a machine tool or another robot that cooperate with each other, and the robot and / or the machine tool or the other robot each executes a created operation program in advance, thereby saving data on the position and time from a synchronization start command to a synchronization end command of the operation program based on an internal clock. During synchronous operation of the operation program, the robot and / or the machine tool or the other robot of the system operates in synchronization with the reference clock based on the reference clock and the position and time data of the saved operation program.
[0013] As a result, according to this embodiment, it is possible to solve the problem mentioned in the section [Problem to be solved by the invention], which is that "instead of specifying the synchronous position in advance by teaching the program of the robot's synchronous movement using an action statement, the synchronous position is specified based on an arbitrary position or time on the robot's movement trajectory." The above is an outline of this embodiment.
[0014] Next, the configuration of this embodiment will be described in detail with reference to the drawings. Here, the case of two press machines as the machine tools will be illustrated. Note that the present invention is also applicable to cases where the machine tools are machines other than press machines, other robots, etc. Fig. 1 is a diagram showing an example of a system configuration according to an embodiment. As shown in Fig. 1, the system 1 includes press machines 10a and 10b, controllers 100a and 100b that control the press machines 10a and 10b, a robot Ra, a controller 100c that controls the robot Ra, and a PLC 20. 1, for example, a robot Ra takes out a workpiece (not shown) pressed by a press machine 10a and places it on a press machine 10b, and the press machine 10b presses the placed workpiece (not shown). The workpiece (not shown) pressed by the press machine 10b is taken out by, for example, a robot (not shown).
[0015] The control devices 100a-100c and the PLC 20 may be directly connected to each other via a connection interface (not shown). The control devices 100a-100c and the PLC 20 may also be connected to each other via a network (not shown), such as a LAN (Local Area Network) or the Internet. In this case, the control devices 100a-100c and the PLC 20 are provided with a communication unit (not shown) for communicating with each other via such a connection.
[0016] The PLC 20 is a programmable logic controller known to those skilled in the art, and operates as a host controller for the control devices 100a, 100b that control the press machines 10a, 10b, and the control device 100c that controls the robot Ra. The PLC 20 also includes a reference clock 201 that periodically updates the time.
[0017] The press machines 10a and 10b are press machines known to those skilled in the art, and operate based on operation commands from the control devices 100a and 100b, respectively.
[0018] The robot Ra is, for example, a six-axis vertical articulated robot, and based on a drive command from the control device 100c, drives a servo motor (not shown) disposed on each joint axis included in the robot Ra, thereby removing a workpiece (not shown) pressed by the press machine 10a and placing it on the press machine 10b. In addition, an end effector such as a gripping hand for removing the workpiece (not shown) is attached to the tip of the robot Ra.
[0019] The control devices 100a, 100b are, for example, numerical control devices known to those skilled in the art, include internal clocks 111a, 111b described below, generate operation commands based on control information and the internal clocks 111a, 111b, and transmit the generated operation commands to each of the press machines 10a, 10b. In this way, the control devices 100a, 100b control the operation of each of the press machines 10a, 10b. In addition, when the press machines 10a, 10b are robots or the like, the control devices 100a, 100b may be robot control devices or the like. Furthermore, the devices controlled by the control devices 100a and 100b are not limited to the press machines 10a and 10b or robots, but can be widely applied to industrial machines in general, including machines driven by various actuators, such as machine tools, industrial robots, service robots, forging machines, and injection molding machines. In this embodiment, the control devices 100a and 100b are exemplified by numerical control devices.
[0020] The control device 100c is a robot control device (also called a "robot controller") that includes an internal clock 111c, which will be described later, and outputs drive commands to the robot Ra based on an operation program and the internal clock 111c, thereby controlling the operation of the robot Ra. Hereinafter, when it is not necessary to distinguish between the control devices 100a to 100c, they will be collectively referred to as "control devices 100." Furthermore, when it is not necessary to distinguish between the internal clocks 111a to 111c, they will be collectively referred to as "internal clocks 111."
[0021] The control device 100 constantly monitors the time of the reference clock 201 in order to make the time of the internal clock 111 of the controlled device itself coincide with the time of the reference clock 201 of the PLC 20. If there is a difference between the time of the reference clock 201 and the time of the internal clock 111, the control device 100 performs a correction calculation (hereinafter also referred to as "internal clock correction calculation") for each interpolation period using a known method (for example, Patent Document 3, etc.) to change the rate at which the internal clock 111 of the device itself advances (hereinafter also referred to as "increment time") so that it coincides with the reference clock 201. As a result, the time of the reference clock 201 and the time of the internal clock 111 will coincide after a certain time has passed.
[0022] Among the devices in the system 1, there may be a device in which the time difference between the reference clock 201 and the internal clock 111 does not decrease even when the internal clock correction calculation is performed, and time passes with a certain time difference. In such a case, the control device 100 of the device determines that it is impossible to make the time of the reference clock 201 and the time of the internal clock 111 coincide with each other by the internal clock correction calculation, and that the increment time of the reference clock 201 is greater than the increment time of the internal clock 111 of the device. In this case, the control device 100 of the device recalculates the increment time of the reference clock 201 that allows the internal clock 111 of the device itself to be synchronized with the reference clock 201 using a known method (for example, Patent Document 3, etc.) (hereinafter, also referred to as "reference clock correction calculation"), and outputs the increment time to the reference clock 201.
[0023] This allows the device that has changed the increment time of the reference clock 201 to synchronize with the reference clock. Thereafter, the control device 100 of the other device performs an internal clock correction calculation so that the time of the reference clock 201 after the increment time change coincides with the time of the internal clock 111 of the other device. Therefore, each device is synchronized with the reference clock 201, and as a result, the devices in the system 1 can operate in synchronization with each other.
[0024] FIG. 2 is a functional block diagram showing an example of the functional configuration of the control device 100. As shown in FIG. 2, the control device 100 has a control unit 110, a storage unit 130, an input unit 150, and a display unit 170. The control unit 110 also has an internal clock 111, an internal clock correction unit 112, a reference clock correction unit 113, a storage unit 114, an operation unit 115, a deceleration start timing calculation unit 116, and a restart processing unit 117.
[0025] <Storage section 130> The storage unit 130 is, for example, a read only memory (ROM) or a hard disk drive (HDD), and stores a system program and an application program executed by the control unit 110 (described later). The storage unit 130 also includes a program storage unit 131 and an interpolation data storage unit 132.
[0026] The program storage unit 131 stores, for example, an operation program (instruction program) for each operation for operating the device. Fig. 3 is a diagram showing an example of an operation program according to an embodiment. Note that, although Fig. 3 shows an operation program for the robot Ra, the same applies to the press machines 10a and 10b. The motion program shown in Fig. 3 controls the motion of the robot Ra so that it passes through the teaching positions P(1) to P(6) shown in Fig. 11A. The conventional motion program in Fig. 11B adds a clock command (e.g., "CLOCK 200") to the motion statements in lines 2 to 7 that are to be synchronized with the reference clock 201, whereas the motion program in Fig. 3 differs in that the motion statements in lines 3 to 8 that are to be synchronized are surrounded by a synchronization start command in line 2 ("START CLOCK 100") and a synchronization end command in line 9 ("END CLOCK"). In the following description, it is assumed that the operation programs stored in the program storage unit 131 have their synchronization start times and the like adjusted in advance so as to prevent interference, such as collision, with other devices.
[0027] 3 in advance in a mode not synchronized with the reference clock 201 based on the internal clock 111, the interpolation data storage unit 132 stores, for each device and each operation program, data on the device position and time for each interpolation period (e.g., 1 ms) from the synchronization start command to the synchronization end command of the operation program based on the internal clock 111, as interpolation data. Note that the device position indicates, for example, the position of the slide in the case of the press machines 10a and 10b, and the position of the end effector in the case of the robot Ra. Fig. 4 is a diagram showing an example of interpolation data according to an embodiment. Although Fig. 4 shows the interpolation data of the robot Ra, the same applies to the press machines 10a and 10b. Furthermore, although the interpolation data in Fig. 4 shows the case where the interpolation period is 1 ms, the same applies to the case where the interpolation period is any value.
[0028] <Input section 150> The input unit 150 is, for example, a keyboard or a touch panel disposed on the display unit 170 described later, and receives input from a user. The input unit 150 may function as a designation unit that arbitrarily designates a synchronization start time (or a synchronization start position) such as 100 ms shown in the second line of the operation program, based on an input operation by a user such as an operator, as shown in FIG.
[0029] <Display section 170> The display unit 170 is, for example, an LCD display, and displays the interpolation data stored in the interpolation data storage unit 132, and displays a user interface that accepts designation of the synchronization start time and synchronization start position via the input unit 150 as a designation unit. 5A and 5B are diagrams showing an example of a display screen of the interpolation data. In the display screen of Fig. 5A, the numbers "1" to "6" indicate the teaching positions P(1) to P(6), and "0", "100", "200", "300", "400", "500", "600", and "700" indicate the positions at each time. In Fig. 5A, the teaching positions P(1) to P(6) correspond to the times "200", "300", "400", "500", "600", "700", and "0", respectively. When the control device 100 receives an input such as a touch on a position on the trajectory by the user via the input unit 150 on the display screen of FIG. 5A, the control device 100 may display the time of the input position. In addition, the control device 100 may display the display screen of Figure 5A as a user interface, and when the control device 100 receives input such as a touch on a position on the trajectory by the user via the input unit 150, the control device 100 may receive the input position or time as a specification of a synchronization start position, synchronization start time, or pause position, etc. 5A may have an output button (not shown). In this case, when the output button (not shown) is pressed by the user via the input unit 150, a list of the times and positions of the interpolation data may be output in a predetermined format.
[0030] 5B as a user interface, and when a time, such as "100 ms," is input by the user via the input unit 150 as the synchronization operation start position, the display unit 170 may display the position relative to that time. Note that the "external clock" in FIG. 5B refers to the reference clock 201.
[0031] <Control unit 110> The control unit 110 includes a CPU, a ROM, a RAM, a CMOS (Complementary Metal-Oxide-Semiconductor) memory, and the like, which are configured to be able to communicate with each other via a bus, and are well known to those skilled in the art. The CPU is a processor that controls the entire control device 100. The CPU reads out the system program and application program stored in the ROM via the bus, and controls the entire control device 100 according to the system program and application program. As a result, as shown in FIG. 2, the control unit 110 is configured to realize the functions of the internal clock 111, the internal clock correction unit 112, the reference clock correction unit 113, the storage unit 114, the operation unit 115, the deceleration start timing calculation unit 116, and the restart processing unit 117. The RAM stores various data such as temporary calculation data and display data. In addition, the CMOS memory is backed up by a battery (not shown), and is configured as a non-volatile memory that retains its stored state even when the power supply of the control device 100 is turned off.
[0032] The internal clock 111 updates the time by adding an arbitrary increment time every interpolation period (for example, 1 ms) within the control unit 110. Specifically, the increment time Δtc of the internal clock 111 is calculated by the control device 100 from (Equation 1) using the interpolation period ITP, which is a fixed value, and the currently set override OVRD. Δtc=ITP×OVRD (Equation 1) As shown in (Equation 1), when the override OVRD is 100%, the increment time Δtc of the internal clock 111 is equal to the interpolation period ITP, and the increment time Δtc of the internal clock 111 can be changed by changing the value of the override OVRD. Here, override OVRD is a ratio of the motion speed of robot Ra described in the motion program. For example, if override OVRD is set to 100% and a motion speed of 2000 mm / sec is set in the motion program as shown in Fig. 3, robot Ra will move at a speed of 2000 mm / sec, and if override OVRD is 50%, the robot will move at a speed of 1000 mm / sec. Here, the maximum value of override OVRD is 100%, and override is calculated as "1.0", and if override OVRD is 50%, override is calculated as "0.5".
[0033] The internal clock correction unit 112 corrects the time of the internal clock 111 so that the time of the internal clock 111 coincides with the time of the reference clock 201, for example, using a known method (for example, Patent Document 3, etc.).
[0034] If the reference clock correction unit 113 determines, for example, by using a known method (e.g., Patent Document 3, etc.) that the internal clock 111 cannot operate in synchronization with the reference clock 201 even after performing a correction calculation for the internal clock 111, it calculates an increment time of the reference clock 201 that allows the internal clock 111 to be synchronized with the reference clock 201. The reference clock correction unit 113 transmits data of the calculated increment time to the reference clock 201 and changes the increment time of the reference clock 201. By doing so, the internal clock 111 of the device in which the operation delay has occurred will be synchronized with the reference clock 201. Then, the internal clock correction unit 112 of the other devices in which the operation delay has not occurred will correct the increment time of the internal clock 111 of the other devices in which the operation delay has occurred so as to synchronize with the corrected reference clock 201. Eventually, all devices in the system 1 will be synchronized with the time of the internal clock 111 of the device in which the delay has occurred.
[0035] For example, when performing synchronous operation with other devices, the storage unit 114 executes the created operation program, etc. of FIG. 3 in advance in a mode that is not synchronized with the reference clock 201, i.e., based on the time of the internal clock 111, and stores data (interpolated data) of the positions and times of devices such as the end effector of the robot Ra from the synchronization start command to the synchronization end command of the operation program in the interpolated data storage unit 132, as shown in FIG. 4.
[0036] During synchronous operation of the operating programs, the operating unit 115 operates each device in synchronization with the reference clock 201 based on the reference clock 201 and the data of position and time (interpolated data) stored in the interpolated data storage unit 132. Specifically, for example, when the operation unit 115 receives an execution instruction in a mode synchronized with the reference clock 201 from a user via the input unit 150, the operation unit 115 moves the end effector of the robot Ra to a position (x, y, z) = (2500, 0, 1000) corresponding to "100 ms" indicated by the clock command in the second line of the operation program in FIG. 3 based on the interpolation data in FIG. 4, and waits until the time of the internal clock 111 reaches "100 ms". The operation unit 115 calculates an operation command for moving the robot Ra to a position corresponding to each interpolation period (1 ms) after 100 ms, that is, 101 ms, 102 ms, etc., based on the interpolation data in FIG. The operation unit 115 operates the robot Ra in synchronization with the reference clock 201 based on the calculated operation command. The operating unit 115 of the press machines 10a, 10b operates the press machines 10a, 10b synchronously, similarly to the case of the robot Ra.
[0037] When a position or time at which the equipment should be temporarily stopped or synchronously terminated is specified by the input unit 150 as a specification unit, the deceleration start timing calculation unit 116 calculates the position or time at which deceleration should start based on the interpolation data of the operating program stored by the storage unit 114. Fig. 6 is a diagram illustrating an example of the operation of the deceleration start timing calculation unit 116. In Fig. 6, the trajectory of the robot Ra in a certain period is shown by a solid line. Each point on the trajectory illustrates a position for each interpolation period (for example, 1 ms) stored in the interpolation data. Also, a circle indicates a position of a temporary stop specified via the input unit 150, for example. For example, when the end effector of the robot Ra reaches the temporary stop position circled in Fig. 6, if the override OVRD in (Equation 1) is set to "0", that is, the increment time Δtc of the internal clock 111 is instantly changed to "0", the operating speed also changes abruptly, which may cause an impact on the robot Ra and damage the robot Ra. The same applies to the press machines 10a and 10b. Therefore, the deceleration start timing calculation unit 116 uses a publicly known method (e.g., Patent Document 3, etc.) to perform a filtering process on the increment time Δtc of the internal clock 111, thereby calculating the position or time at which deceleration should start based on the interpolated data so that the equipment can be stopped safely.
[0038] FIG. 7 is a diagram showing an example of a filtering process for the increment time Δtc of the internal clock 111. In FIG. 7, the filtering in the deceleration start timing calculation unit 116 outputs the increment time Δtc to be output in one interpolation period as an average value of the filter's time constant (hereinafter, also referred to as "averaging"). Specifically, the deceleration start timing calculation unit 116 performs filtering with a first-stage time constant for eight interpolations and a second-stage time constant for four interpolations, i.e., performs averaging twice. For example, when the deceleration start timing calculation unit 116 changes the input of the increment time Δtc from "50" to "0", the increment time Δtc of the first interpolation becomes "44" by the first stage averaging, and is output as "49" by the second stage averaging, as shown in Fig. 7. By executing such processing for 12 interpolations, the deceleration start timing calculation unit 116 can smoothly change the increment time Δtc from "50" to "0" and safely stop the equipment. In other words, by performing the filtering shown in FIG. 7, when a pause position (or synchronization end position) is specified via the input unit 150, the deceleration start timing calculation unit 116 can calculate, based on the interpolation data, the position or time 12 interpolation periods before the specified pause position (or synchronization end position), as the position or time at which deceleration should start.
[0039] For example, when resuming operation after a pause, if the resume processing unit 117 receives an instruction from the user via the input unit 150 to resume the synchronous operation of the device, the resume processing unit 117 performs resume processing based on data on the position and time of the operation program (interpolation data) stored in the interpolation data memory unit 132 by the storage unit 114. Specifically, when resuming operation from the pause position shown in Fig. 6, for example, the resume processing unit 117 resumes the operation of the appliance based on the position and time of each point stored in the interpolation data without performing the interpolation process again between the pause position (resuming position) and the teaching position P(5). In this way, by using the interpolation data, the control device 100 can resume the appliance without destroying the relationship between the position and time. When restarting, the restart processing unit 117 may perform filtering processing on the increment time Δtc of the internal clock 111, similar to the deceleration start timing calculation unit 116.
[0040] <Storage process of the control device 100> Next, the operation of the control device 100 relating to the storage process will be described. 8 is a flowchart illustrating the storage process of the control device 100. The flow shown here is executed every time an operating program is created by the user via the input unit 150.
[0041] In step S1, the control unit 110 creates an operation program including operation commands based on the teaching positions P(1) to P(6) based on an input operation by the user via the input unit 150.
[0042] In step S2, the control unit 110 adds a synchronization start command and a synchronization end command to the operation program created in step S1, based on the synchronization start time input by the user via the input unit 150, as shown in FIG.
[0043] In step S3, when performing synchronous operation with other devices, the storage unit 114 executes in advance the operating program created in step S2 based on the internal clock 111 in a mode that is not synchronized with the reference clock 201, and stores the position and time data from the synchronization start command to the synchronization end command of the operating program as interpolated data in the interpolated data memory unit 132.
[0044] <Synchronization operation process of the control device 100> Next, the operation of the control device 100 relating to the synchronous operation process will be described. 9 is a flowchart for explaining the synchronization operation process of the control device 100. The flow shown here is executed by the internal clock correction unit 112 and the reference clock correction unit 113 of the control device 100 when the time of the internal clock 111 and the time of the reference clock 201 are synchronized, and is executed repeatedly every time an instruction to execute a mode (synchronization operation) for synchronizing with the reference clock 201 is received from the user via the input unit 150.
[0045] In step S11, when the operation unit 115 receives an instruction from the user via the input unit 150 to execute an operation program in a mode synchronized with the reference clock 201 (synchronous operation), the operation unit 115 reads out the interpolation data of the instructed operation program from the interpolation data storage unit 132.
[0046] In step S12, operation section 115 accepts, via input section 150, a synchronization start time designated by the user.
[0047] In step S13, the operating unit 115 waits at a position on the interpolated data corresponding to the synchronization start time specified in step S12, and when the time of the reference clock 201 matches the synchronization start time, it operates the device in synchronization with the reference clock 201 based on the reference clock 201 and the interpolated data read out in step S11.
[0048] In step S14, operation unit 115 determines whether or not a pause position has been specified by the user via input unit 150. If a pause position has been specified, the process proceeds to step S15. On the other hand, if a pause position has not been specified, the process proceeds to step S19.
[0049] In step S15, the deceleration start timing calculation unit 116 calculates the position or time at which deceleration should start, based on the position or time at which the vehicle is to pause designated in step S14 and the interpolated data.
[0050] In step S16, operation unit 115 starts decelerating the device at the position or time calculated in step S15 where deceleration should start, and temporarily stops the device at the position or time designated in step S14.
[0051] In step S17, the restart processing unit 117 determines whether or not an instruction to restart the synchronous operation of the device has been received from the user via the input unit 150. If an instruction to restart the synchronous operation has been received, the process proceeds to step S18. On the other hand, if an instruction to restart the synchronous operation has not been received, the process waits in step S17.
[0052] In step S18, the restart processing unit 117 performs the restart processing based on the interpolation data.
[0053] In step S19, the operation unit 115 determines whether or not an instruction to end the synchronous operation of the device has been received from the user via the input unit 150. If an instruction to end the synchronous operation has been received, the process proceeds to step S20. On the other hand, if an instruction to end the synchronous operation has not been received, the process returns to step S14.
[0054] In step S20, the deceleration start timing calculation unit 116 calculates the position or time at which deceleration should start, based on the position or time at which synchronization is to end, designated in step S19, and the interpolated data.
[0055] In step S21, operation unit 115 starts decelerating the device at the position or time calculated in step S20 where deceleration should start, and stops the device at the position or time designated in step S19.
[0056] As described above, the control device 100 according to one embodiment has the interpolation data of the entire operation program, and instead of specifying the synchronization position in advance by teaching the program of the synchronous operation of the robot Ra using an operation statement, it becomes possible to specify the synchronization position based on an arbitrary position or time on the movement trajectory of the robot Ra. Also, since the position is uniquely determined from the time based on the interpolation data, the control device 100 only needs to set the corresponding time, and teaching the synchronization start position becomes easy. In addition, since the control device 100 has the interpolation data for the entire operation program, when pausing or synchronously ending at any specified position, it can easily determine from which position to start decelerating without having to look ahead to the operation statements and calculate the interpolation data. Furthermore, the control device 100 does not recalculate the interpolation data even when restarting after a temporary stop, so the relationship between the position and the time of the reference clock is not lost. In addition, since the stored interpolated data is the command position when the operating program is actually executed, it is possible to avoid problems such as the equipment not being able to operate according to the calculated command due to the performance of the motor or the inertia of the robot Ra, and the relationship between position and time not being able to be maintained.
[0057] Although one embodiment has been described above, the system 1 and the control device 100 are not limited to the above-described embodiment, and include modifications and improvements within the scope of achieving the object.
[0058] <Variation 1> In one embodiment, the control device 100 displays the display screen shown in Fig. 5A as a user interface, and accepts designation of a synchronization start position, a synchronization start time, a pause position, or the like by the user touching a position on the trajectory via the input unit 150, but is not limited to this. For example, the control device 100 may display a user interface of a display screen shown in Fig. 10, and accept input of multiple times as pause positions at which the user wants to pause via the input unit 150.
[0059] <Variation 2> Also, for example, in the above embodiment, the control device 100 sets the specified synchronization start time to a setting value of the clock command of the operation program in Fig. 3, but this is not limited to this. For example, the control device 100 may receive a synchronization start position specified by a user via the input unit 150. In this case, the operation unit 115 may wait at the start of the synchronous operation at a position on the interpolated data corresponding to the specified synchronization start position (or a position on the interpolated data closest to the specified synchronization start position) until the corresponding synchronization start time, and when the time of the reference clock 201 coincides with the synchronization start time, perform synchronous operation of the device based on the reference clock 201 and the interpolated data.
[0060] <Variation 3> Also, for example, in the above embodiment, the control device 100 executes the created operation program in advance based on the time of the internal clock 111, thereby storing the interpolation data of the device from the synchronization start command to the synchronization end command of the operation program in the interpolation data storage unit 132, but is not limited to this. For example, the control device 100 may execute the created operation program in advance on a simulation device (not shown), thereby storing data of the position and time from the synchronization start command to the synchronization end command of the operation program as interpolation data in the interpolation data storage unit 132.
[0061] Each function included in the system 1 and the control device 100 according to an embodiment can be realized by hardware, software, or a combination of these. Here, being realized by software means being realized by a computer reading and executing a program.
[0062] The program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The transitory computer readable media can provide the program to the computer via wired communication paths such as electric wires and optical fibers, or wireless communication paths.
[0063] In addition, the steps of writing a program to be recorded on a recording medium include not only processes that are performed chronologically according to the order, but also processes that are not necessarily performed chronologically but are executed in parallel or individually.
[0064] In other words, the system and control device of the present disclosure can take various forms including the following configurations.
[0065] (1) The system 1 disclosed herein is a system including a robot Ra and press machines 10a, 10b as machine tools which cooperate with each other, and is equipped with a reference clock 201 which periodically updates the time. The robot Ra and / or the press machines 10a, 10b each include an internal clock 111, a storage unit 114 which stores data on the position and time from the synchronization start command to the synchronization end command of the operation program by executing a created operation program in advance based on the internal clock 111, and an operation unit 115 which, during the synchronous operation of the operation program, operates the robot Ra and / or the press machines 10a, 10b in synchronization with the reference clock 201 based on the position and time data of the operation program stored by the reference clock 201 and the storage unit 114. According to this system 1, by having the interpolation data of the entire operation program, instead of specifying the synchronization position in advance by teaching the program of the synchronous operation of the robot Ra by the operation sentence, it becomes possible to specify the synchronization position based on any position or time on the movement trajectory of the robot Ra. Also, since the position is uniquely determined from the time based on the interpolation data, the system 1 needs to set only the corresponding time, and teaching of the synchronization start position becomes easy.
[0066] (2) The system 1 of the present disclosure is a system including a robot Ra and press machines 10a, 10b as machine tools which cooperate with each other, and is equipped with a reference clock 201 which periodically updates the time, and the robot Ra and / or the press machines 10a, 10b each include an internal clock 111, a storage unit 114 which stores data on the position and time from the synchronization start command to the synchronization end command of the operation program by previously executing a created operation program on a simulation device (not shown) which simulates either the robot Ra and / or the press machines 10a, 10b, and an operation unit 115 which, during the synchronous operation of the operation program, operates the robot Ra and / or either the press machines 10a, 10b in synchronization with the reference clock 201 based on the data on the position and time of the operation program stored by the reference clock 201 and the storage unit 114. According to this system 1, it is possible to achieve the same effect as (1).
[0067] (3) In the system 1 described in (1) or (2), the position and time data of the operation program may be position and time data for each interpolation period when the operation program is executed. In this way, the interpolated data to be saved will be the commanded position when the operating program is actually executed, and this avoids the problem that the equipment cannot be operated according to the calculated command due to the performance of the motor or the inertia of the robot Ra, making it impossible to maintain the relationship between position and time.
[0068] (4) In the system 1 described in any one of (1) to (3), the robot Ra and / or the press machines 10a, 10b as the machine tools each further include an input unit 150 for arbitrarily specifying a synchronization start position or synchronization start time, and the operation unit 115 waits at the start of the synchronous operation at a position or time in the position and time data of the operation program stored by the storage unit 114 that corresponds to the specified synchronization start position or synchronization start time, and when the time of the reference clock 201 matches the specified synchronization start time, the robot Ra and / or the press machines 10a, 10b may be operated synchronously based on the reference clock 201 and the position and time data of the operation program stored by the storage unit 114. This allows the system 1 to start a synchronous operation at any time.
[0069] (5) In the system 1 described in (4), the robot Ra and / or the press machines 10a, 10b as machine tools may each be provided with a deceleration start timing calculation unit 116 that calculates the position or time at which deceleration should start based on the position and time data of the operating program stored in the storage unit 114 when a position or time at which the robot Ra and / or the press machines 10a, 10b should be temporarily stopped or synchronously ended is specified by the input unit 150. By doing so, the system 1 has the interpolation data for the entire operation program, so when pausing or synchronously ending at any specified position, it can easily determine from what position to start decelerating without reading ahead the operation statements and calculating the interpolation data.
[0070] (6) In the system 1 described in (5), the robot Ra and / or the press machines 10a, 10b as machine tools may each be provided with a resume processing unit 117 that performs resume processing based on the position and time data of the operating program stored by the storage unit 114 when resuming operation after a temporary stop. By doing so, the system 1 does not recalculate the interpolation data even when it is resumed after being temporarily stopped, so the relationship between the position and the time of the reference clock is not lost.
[0071] (7) In the system 1 described in any one of (4) to (6), the robot Ra and / or the press machines 10a, 10b as machine tools may each further include a display unit 170 that displays a user interface that accepts designation of the synchronization start position or synchronization start time. This allows the user to easily specify the synchronization start position or synchronization start time.
[0072] (8) In the system 1 described in any one of (4) to (6), the robot Ra and / or the press machines 10a, 10b as machine tools may further include a user interface that accepts an illustration of position and time data of the operating program stored in the storage unit 114, or an output of a list of positions and times of the position and time data of the operating program stored in the storage unit 114. This allows the user to easily understand the relationship between the position and time of the operating program.
[0073] (9) The control device 100c of the present disclosure is a control device for a robot Ra used in the system 1 described in any one of (1) to (8). According to the control device 100c, it is possible to achieve the same effects as any one of (1) to (8).
[0074] (10) The control devices 100a and 100b of the present disclosure are control devices for press machines 10a and 10b, which are machine tools, used in the system 1 described in any one of (1) to (8). According to the control devices 100a and 100b, it is possible to achieve the same effects as any one of (1) to (8). [Explanation of symbols]
[0075] 1 System 10a, 10b Press machine 100a to 100c Control device 110 Control section 111 Internal Clock 112 Internal clock correction unit 113 Reference clock correction unit 114 Preservation Department 115 Operating Part 116 Deceleration start timing calculation unit 117 Restart Processing Unit 130 Storage section 131 Program memory section 132 Interpolation data storage unit 150 Input section 170 Display section 20 PLC 201 Reference Clock Ra Robot
Claims
1. A system including a robot and either a machine tool or another robot, the system comprising: Equipped with a reference clock that periodically updates the time, Either the robot and / or the machine tool or another robot, An internal clock a storage unit that stores data on a position and time from a synchronization start command to a synchronization end command of the operation program by executing the created operation program in advance based on the internal clock; and an operating unit that, during synchronous operation of the operation program, operates the robot and / or the machine tool or another robot in synchronization with the reference clock based on the position and time data of the operation program stored by the reference clock and the storage unit.
2. In a system including a robot and either a machine tool or another robot, the system comprising: Equipped with a reference clock that periodically updates the time, Either the robot and / or the machine tool or another robot, An internal clock a storage unit that stores data on positions and times from a synchronization start command to a synchronization end command of the operation program by executing the created operation program in advance on a simulation device that simulates the robot and / or the machine tool or another robot; and an operating unit that, during synchronous operation of the operation program, operates the robot and / or the machine tool or another robot in synchronization with the reference clock based on the position and time data of the operation program stored by the reference clock and the storage unit.
3. 3. The system according to claim 1, wherein the position and time data of the operation program is position and time data for each interpolation period when the operation program is executed.
4. Either the robot and / or the machine tool or another robot, A designation unit is further provided for designating a synchronization start position or a synchronization start time as desired, 4. The system according to claim 1, wherein, at the start of a synchronous operation, the operation unit waits at a position or time in the position and time data of the operation program stored by the storage unit that corresponds to the specified synchronization start position or synchronization start time, and when the time of the reference clock matches the specified synchronization start time, causes the robot and / or the machine tool or another robot to operate synchronously based on the reference clock and the position and time data of the operation program stored by the storage unit.
5. Either the robot and / or the machine tool or another robot, 5. The system according to claim 4, further comprising a deceleration start timing calculation unit that calculates the position or time to start deceleration based on position and time data of the operation program stored by the storage unit, when a position or time at which to temporarily halt or synchronously end either the robot and / or the machine tool or another robot is specified by the designation unit.
6. Either the robot and / or the machine tool or another robot, 6. The system according to claim 5, further comprising a resumption processing unit that performs a resumption process based on the data of the position and time of the operation program stored in the storage unit when resuming the operation after the temporary stop.
7. Either the robot and / or the machine tool or another robot, The system according to claim 4 , further comprising a display unit that displays a user interface for accepting the designation of the synchronization start position or synchronization start time.
8. Either the robot and / or the machine tool or another robot, The system according to any one of claims 4 to 6, further comprising a user interface that accepts an output of an illustration of the data of the location and time of the operation program stored by the storage unit, or a list of the locations and times of the data of the location and time of the operation program stored by the storage unit.
9. A control device for the robot used in the system according to any one of claims 1 to 8.
10. A control device for either the machine tool or another robot for use in the system according to any one of claims 1 to 8.
Citation Information
Patent Citations
Industrial robot system
JP1991060990A
Method for operating numerically controlled machine tool and machine tool for executing method thereof
JP1994067715A
Gap closing structure between room and furniture
JP1996000381A
Numerical control system
JP2001027904A
Controller and controlling method of coating robot
JP2004337710A
