Robot control device and robot system

The robot control device facilitates safe and flexible switching between internal and external control modes, enhancing operational flexibility and precision in robot systems by integrating an external control device and non-volatile memory for mode switching, thus improving synchronized operations with other industrial equipment.

JP7575691B2Active Publication Date: 2024-10-30DENSO WAVE INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021091310
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2024-10-30
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

Existing control systems for robots lack flexibility in switching between self-control and external control modes while ensuring safety, necessitating a solution that allows seamless and secure mode transitions.

Method used

A robot control device with a communication unit that parallelly controls multiple industrial equipment, incorporating an external control device with a storage unit for external control programs, and a control unit that enables switching between internal and external control modes based on user-set mode information stored in a non-volatile memory, ensuring only one control program is executed at a time.

Benefits of technology

Enables flexible and safe switching between internal and external control modes, allowing diversified control forms and precise synchronized operations with other production equipment, reducing takt time and enhancing application versatility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575691000001
    Figure 0007575691000001
  • Figure 0007575691000002
    Figure 0007575691000002
  • Figure 0007575691000003
    Figure 0007575691000003
Patent Text Reader

Abstract

To provide a control device of a robot which can easily switch between control by itself and control by an external control device while ensuring safety.SOLUTION: In a controller 3, a communication board 7 communicates with an external control device 5 which controls a plurality of industrial devices in parallel. An area 16 of a storage area 15 stores mode information, set by a user, for setting an operation mode of a computing unit 10 to either an internal mode or an external mode. The computing unit 10 is also configured to be able to execute an external control program 14 transmitted from the external control device 5. When a mode setting value indicates an internal mode, control based on an internal control program 12 by the computing unit 10 is validated and control based on the external control program 14 is invalidated. When the mode setting value indicates an external mode, control based on the external control program 14 is validated and control based on the internal control program 12 is invalidated.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an apparatus for controlling a robot by executing a control program. [Background technology]

[0002] As production facilities using robots become more sophisticated, there is a need to operate the robots based on operation commands from a higher-level control device that exists separately from the controller attached to the robot. An example of a higher-level control device is a programmable logic controller (PLC) that controls multiple industrial devices including robots in parallel. In conventional control systems that include a PLC and a robot, the PLC outputs a trigger signal to the robot's controller to start execution of a control program, or transmits a very simple command to the controller to temporarily execute the program.

[0003] In contrast, for example, a PLC can also be equipped with the control programs for each robot, and the PLC can take over from the controller and directly control each robot, making it easy to link multiple robots together and control them cooperatively. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2013-526418 Summary of the Invention [Problem to be solved by the invention]

[0005] In the above-mentioned control system, the controller's operation mode needs to be switched between a mode in which the controller executes its own control program and a mode in which the controller executes a control program stored in the PLC. In this case, it is desirable for the user to be able to flexibly switch between operation modes, but safety must also be taken into consideration.

[0006] The present invention has been made in consideration of the above-mentioned situation, and its purpose is to provide a robot control device and a robot system that can easily switch between self-control and control by an external control device while ensuring safety. [Means for solving the problem]

[0007] According to the robot control device of claim 1, the communication unit controls a plurality of industrial devices in parallel and communicates with an external control device having an external storage unit in which an external control program for the robot is stored. The information storage unit stores mode information set by a user for setting the operation mode of the control unit to either an internal mode or an external mode. The control unit is configured to be able to perform control based on the execution of the external control program by communicating with the external control device.

[0008] If the mode information indicates the internal mode, the control unit enables control based on the internal control program and disables control based on the external control program; if the mode information indicates the external mode, the control unit enables control based on the external control program and disables control based on the internal control program.

[0009] With this configuration, the operation mode of the control unit can be set to either the internal mode or the external mode based on the mode information set by the user and stored in the information storage unit. In the internal mode, control by the control unit based on the external control program is disabled, and in the external mode, control based on the internal control program is disabled, so that only one of the control programs can always be used for control.

[0010] As a result, the control device can control the robot by executing an internal control program in the conventional manner in the internal mode, and can control the robot by executing control based on an external control program in the external mode, making it possible to diversify the control form of the robot according to the needs of the user.

[0011] and The information storage unit is a non-volatile memory, and the mode information is transferred from the non-volatile memory to a volatile memory that the control unit uses as a work area. The control unit then reads the mode information transferred to the volatile memory and determines the operating mode. With this configuration, the mode information set by the user is stored in the non-volatile memory, so the content of the information is retained even if the power supply is cut off. Therefore, it is no longer necessary to set the mode information every time control of the robot is started.

[0012] Claim 2 According to the described robot control device, the mode information is transferred from the non-volatile memory to the volatile memory during the initialization process after power-on. This makes it possible to switch between operation modes even after starting to control the robot in one operation mode by resetting the mode information and then powering the control device back on.

[0013] Claim 3 According to the robot system described in claim 1 or 2 The robot control device includes the robot control device described above, and an external control device that controls a plurality of industrial devices in parallel and has an external storage unit in which an external control program for controlling the robot is stored. With this configuration, the execution of the internal control program stored in the control device and the external control program stored in the external control device can be switched according to mode information set in the control device by the user, thereby diversifying the control form of the robot. [Brief description of the drawings]

[0014] [Figure 1]FIG. 1 is a functional block diagram showing a configuration of a robot system according to an embodiment. [Diagram 2] A functional block diagram showing the configuration of a control system for production equipment in a factory controlled by an external control device. [Diagram 3] Flowchart showing operation mode setting process [Figure 4] Flowchart showing operation mode determination processing [Diagram 5] FIG. 1 is a diagram showing a form of communication performed between an external control device and a controller. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] An embodiment will be described below with reference to the drawings. The robot system 1 shown in Fig. 1 is, for example, a general industrial robot system, and includes a robot 2, a controller 3 for controlling the operation of the robot 2, a teaching device 4 for performing operations and display related to the robot 2, and an external control device 5 such as a PLC. The robot 2 is, for example, a six-axis vertical articulated robot. The controller 3 communicates with the teaching device 4 and the external control device 5 via communication boards 6 and 7.

[0016] 2 is a control system for production equipment in a factory, for example, that includes a part of the configuration shown in FIG. 1 and also shows other devices controlled by an external control device 5. The external control device 5 controls two robots 2A, 2B via controllers 3A, 3B, and also controls a camera 21 and a machine tool 22 by communicating with these devices. In this way, the external control device 5 collectively controls a plurality of devices, thereby making it possible to improve the accuracy of the synchronous operation between the robots 2A, 2B and the machine tool 22.

[0017] In Fig. 1, the functional blocks from the communication board 6 to the motor control unit 11 are functions that are provided in a conventional controller 3. The teaching device 4 is used by the user to input instructions for operating the controller 3, and is called, for example, a teaching pendant. The user uses the teaching device 4 to teach the robot 2 an action and input instructions to start the taught action. The instructions input to the teaching device 4 are input to the controller 3 via the communication board 6 and interpreted as content that can be processed by the controller 3.

[0018] The path generator 8 has an internal storage unit in which an internal control program 12 is stored, and generates a movement path for the robot 2 based on the internal control program 12. The movement generator 9 generates command angles for six motors 13 corresponding to the six axes of the robot 2, for example, every 8 ms, based on the generated movement path. The calculator 10 divides the generated command angles into control periods of the motors 13, for example, 1 ms. Then, it generates a PWM signal or the like according to the divided command angles and outputs it to the motor controller 11. The motor controller 11 is, for example, a drive circuit such as an inverter, and there are six motor controllers 11 corresponding to the six motors 13. The calculator 10 and the motor controller 11 correspond to a control unit.

[0019] The external control device 5 has an external storage unit in which an external control program 14, which is a control program for the robot 2, is stored. The external control program 14 is a program corresponding to the control form of the robot 2 shown in FIG. 2. On the other hand, the internal control program 12 is a program corresponding to the case where the controller 3 controls the robot 2 by itself. The external control device 5 also has functions corresponding to the path generator 8 and the motion generator 9, and the communication board 7, which corresponds to the communication unit, outputs to the calculator 10 the same type of signal as that output from the motion generator 9.

[0020] Next, the operation of this embodiment will be described. In the operation mode setting process shown in Fig. 3, first, the user inputs an operation mode setting request to the controller 3 via the teaching device 4 (S1). The controller 3 checks the setting value of the operation mode input by the user to the teaching device 4 (S2). Then, the setting value is written and stored in the storage area 15, which is the information storage section of the controller 3 (S3). The storage area 15 is divided into an area 16 of a non-volatile memory such as a flash ROM and an area 17 of a non-volatile memory such as a RAM, and the setting value of the operation mode is stored in the area 16. This completes the setting process (S4). The setting value corresponds to mode information.

[0021] In the operation mode determination process shown in Fig. 4, when the power is turned on to the controller 3 (S11), an initialization process is executed (S12). In this initialization process, as shown in the figure, the mode setting value stored in area 16 is transferred to area 17. Next, the calculator 10 checks the operation mode, and at that time, refers to the mode setting value transferred to area 17 (S13). Then, a start-up process corresponding to each operation mode is executed (S14), and the start-up of the controller 3 is completed (S15). Here, the mode setting value may be, for example, a one-bit flag, and two operation modes may be assigned as follows: <Mode setting value> <Operation mode> 0 Internal Mode 1 External Mode

[0022] In the "internal mode", the calculator 10 obtains a command angle from the motion generator 9 and controls the robot 2 based on an internal control program 12. On the other hand, in the "external mode", the calculator 10 obtains a command angle from the external control device 5 via the communication board 7 and controls the robot 2 based on an external control program 14. In the "external mode", the external control device 5 essentially controls the motor controller 11 via the calculator 10.

[0023] Fig. 5 shows a form of communication performed between the external control device 5 and the controller 3, and the communication protocol is, for example, EtherCAT (registered trademark). As shown in Fig. 5, communication is divided into periodic communication performed at regular intervals and non-periodic communication performed during intervals when no periodic communication is performed. In periodic communication, data required for each control period of the external control device 5, such as a command position, a current position, and a current speed, is transmitted and received. On the other hand, in non-periodic communication, data required immediately after startup or when settings are changed, such as the origin position of the robot 2 and settings of the motor 13, is transmitted and received.

[0024] As described above, according to this embodiment, in the controller 3, the communication board 7 communicates with the external control device 5 that controls a plurality of industrial devices in parallel. A mode setting value that is set by a user and is used to set the operation mode of the arithmetic unit 10 to either the internal mode or the external mode is stored in the area 16 of the storage area 15. The arithmetic unit 10 is also configured to be controllable based on the external control program 14 transmitted from the external control device 5.

[0025] When the mode setting value indicates the internal mode, the control based on the internal control program 12 by the calculator 10 is enabled and the control based on the external control program 14 is disabled; when the mode setting value indicates the external mode, the control based on the external control program 14 is enabled and the control based on the internal control program 12 is disabled.

[0026] With this configuration, the operation mode of the calculator 10 can be set to either the internal mode or the external mode based on the mode setting value set by the user. In the internal mode, the execution of the external control program 14 by the calculator 10 is disabled, and in the external mode, the execution of the internal control program 12 is disabled, so that control based on only one of the control programs is always possible.

[0027] As a result, the controller 3 can control the robot 2 by executing control based on the internal control program 12 in the internal mode as in the conventional manner, and can control the robot 2 based on the external control program 14 in the external mode. Therefore, it is possible to diversify the control form of the robot 2 according to the needs of the user. In addition, in the system configuration shown in FIG. 2, by the controllers 3A and 3B performing control in the external mode, it is possible to realize highly accurate synchronous operation with other production equipment such as the machine tool 22 in addition to between the robots 2A and 2B. Therefore, it is possible to reduce the takt time and apply it to highly difficult applications. In particular, when the controllers 3A and 3B are different products, the accuracy of synchronous operation between them is improved.

[0028] Moreover, the mode information is transferred from the area 16, which is a non-volatile memory, to the area 17, which is a volatile memory used by the calculator 10 as a working area, and the calculator 10 reads the mode information transferred to the area 17 to determine the operation mode. With this configuration, the contents of the mode setting value set by the user are retained even if the power supply is cut off. Therefore, it is not necessary to set the mode setting value every time control of the robot 2 is started. The transfer from the area 16 to the area 17 is performed in the initialization process after the power is turned on. As a result, even after control of the robot 2 has been started once in one operation mode, the operation mode can be switched by resetting the mode setting value and then turning the power of the controller 3 back on.

[0029] The present invention is not limited to the embodiments described above or illustrated in the drawings, and the following modifications and extensions are possible. The cycle for generating the command angle is not limited to 8 ms. The robot is not limited to a vertical 6-axis type, but may be a horizontal 4-axis type, etc. The mode setting value does not necessarily have to be transferred from the area 16 to the area 17 and then read into the calculator 10 . The communication protocol is not limited to EtherCAT. Industrial equipment other than the camera 21 and the machine tool 22 may also be subject to control by the external control device 5. [Explanation of symbols]

[0030] In the drawing, 1 is a robot system, 2 is a robot, 3 is a controller, 4 is a teaching device, 5 is an external control device, 7 is a communication board, 10 is a calculator, 12 is an internal control program, 14 is an internal control program, 15 is a storage area, 16 and 17 are areas, 21 is a camera, and 22 is a machine tool.

Claims

1. an internal storage unit in which an internal control program for controlling the robot is stored; A control unit that performs control based on execution of the control program; a communication unit for communicating with an external control device having an external storage unit in which an external control program for controlling a plurality of industrial devices in parallel and controlling the robot is stored; an information storage unit that stores mode information set by a user for setting the operation mode of the control unit to either an internal mode or an external mode; The control unit is configured to be capable of control based on the external control program executed by the external control device, When the mode information indicates an internal mode, the control based on the internal control program by the control unit is enabled, and the control based on the external control program is disabled; When the mode information indicates an external mode, the control based on the external control program by the control unit is enabled, and the control based on the internal control program is disabled; the information storage unit is a non-volatile memory, The mode information is transferred from the non-volatile memory to a volatile memory used by the control unit as a working area, The control unit is a robot control device that reads the mode information transferred to the volatile memory and determines the operation mode.

2. 2. The robot control device according to claim 1, wherein the mode information is transferred from the non-volatile memory to the volatile memory during initialization processing after power is turned on.

3. A robot control device according to claim 1 or 2; A robot system comprising: an external control device that controls a plurality of industrial devices in parallel and has an external memory unit in which an external control program that controls the robot is stored.

Citation Information

Patent Citations

  • Synchronization setting device of robot

    JP1984146307A

  • Machine type setting device for electric apparatus

    JP1998289009A

  • Robot controller

    JP2004330206A

  • Industrial robot

    JP2005284804A

  • Method for controlling automated work cells

    JP2013526418A