Robot control device and method

The integration of robot and device libraries within a comprehensive SDK for the robot control device simplifies the development of industrial automation controllers, addressing the complexity of separate programming and enabling efficient expansion of automation equipment.

WO2024186007A1PCT designated stage expired Publication Date: 2024-09-12ZEUS
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/001712
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-07
Filing Date
2024-02-06
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

The development of controllers for automated industrial equipment is inconvenient and time-consuming due to the need for separate programming of industrial equipment control, robot control, and communication programs, leading to increased user effort and complexity.

Method used

A robot control device and method that integrates a robot library and device libraries into a comprehensive SDK, allowing users to define robot control logic in a higher-level controller, with communication between control units via MQTT protocol, enabling independent motion control and power supply management within a modular structure.

Benefits of technology

This approach simplifies the development process by eliminating the need for separate programming, reduces user inconvenience, and allows for easy expansion of automation equipment by adding power supplies without modifying the entire system, enhancing efficiency and convenience in controlling industrial robots and equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024001712_12092024_PF_FP_ABST
    Figure KR2024001712_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A robot control device according to an aspect of the present invention comprises: a first controller that is provided with a robot library for controlling a robot and a device library for controlling a device to which the robot is coupled, and generates a control command for controlling the robot, on the basis of robot control logic defined on the basis of the robot library; and a second controller that controls motions of the robot according to the control command, wherein the first controller is configured to allow a user to gain access thereto in order to define the robot control logic.
Need to check novelty before this filing date? Find Prior Art

Description

Robot control device and method

[0001] The present invention relates to a robot control device and method, and more particularly, to a device and method for controlling a robot constituting industrial automation equipment.

[0002]

[0003] As industrial automation devices continue to evolve and converge with IT, there's a growing trend toward integrating and managing controllers, sensors, and actuators into comprehensive systems. Automation equipment for industrial automation can include industrial robots, machine vision, industrial PCs, programmable logic controllers (PLCs), and factory automation sensors. Industrial robots, for example, are servo-controlled by a controller and are configured to perform specific functions, such as object transport using pick-and-place technology, inspection, and packaging.

[0004]

[0005] An object of one aspect of the present invention is to provide a robot control device and method capable of eliminating user inconvenience and time consumption caused in the process of developing a controller for automated equipment.

[0006]

[0007] A robot control device according to one aspect of the present invention comprises a robot library for controlling a robot and a device library for controlling equipment to which the robot is coupled, a first control unit for generating a control command for controlling the robot based on a robot control logic defined based on the robot library; and a second control unit for controlling the motion of the robot according to the control command; wherein the first control unit is configured to enable user access for defining the robot control logic.

[0008] In the present invention, the first control unit is characterized in that it functions as an upper controller for the second control unit.

[0009] In the present invention, the device library includes first to Nth device libraries (N is a natural number greater than or equal to 2), and the first control unit is characterized in that equipment control logic for controlling the equipment based on the first to Nth device libraries is defined.

[0010] In the present invention, the robot library and the first to Nth device libraries are characterized in that they constitute an integrated SDK (Software Development Kit) for a user to define the robot control logic and the equipment control logic.

[0011] In the present invention, the first and second control units are configured to communicate with each other according to the MQTT (Message Queueing Telemetry Transport) protocol via shared memory,

[0012] The above first control unit is characterized in that it reads the status data of the robot loaded in the shared memory by the second control unit from the shared memory and generates the control command.

[0013] In the present invention, the second control unit is characterized in that it controls the motion of the robot by analyzing the kinematics of the robot to follow the control command, and loads the control result for the motion of the robot into the shared memory as the state data.

[0014] In the present invention, since the robot library is provided only in the first control unit, the robot control logic is also configured to be defined only in the first control unit.

[0015] In the present invention, the second control unit is characterized in that it is configured with a structure independent of user access by controlling the motion of the robot based only on the control command generated by the first control unit.

[0016] In the present invention, the second control unit includes a motion control unit that controls the motion of the robot, and a power supply unit that supplies operating power to the robot, wherein the motion control unit and the power supply unit are configured independently of each other in a module form and are provided inside a package of the second control unit.

[0017] In the present invention, the second control unit is characterized in that the package has a slot provided inside which an additional power supply unit for supplying operating power to an additional robot can be provided in a module form.

[0018] A robot control method according to one aspect of the present invention comprises a step in which a first control unit generates a control command for controlling a robot based on a predefined robot control logic, wherein the first control unit is provided with a robot library for controlling the robot, and the robot control logic is predefined based on the robot library; and a step in which a second control unit controls the motion of the robot according to the control command; wherein the first control unit is configured to enable user access for defining the robot control logic.

[0019]

[0020] According to the present invention, a robot control logic for controlling a robot is defined in a first control unit, and a second control unit is configured to control the motion of the robot according to a control command from the first control unit. In this way, the first control unit is configured to allow user access for defining the robot control logic, and the second control unit is configured with a structure independent of user access, thereby eliminating user inconvenience and time consumption that arise in the process of developing a controller for automated equipment.

[0021] In addition, according to the present invention, the motion control unit and power supply unit included in the second control unit are configured in a module form, and a slot in which an additional power supply unit for supplying operating power to an additional robot can be provided in a module form is provided inside the package of the second control unit, so that when a robot to be controlled is added, the expansion of the automation equipment can be responded to in a simple manner by adding a power supply unit to the slot without changing the entire system of the second control unit.

[0022]

[0023] Figures 1 and 2 are exemplary diagrams showing the structure of the automation equipment and robot of this embodiment.

[0024] Figure 3 is a block diagram showing the robot control device of this embodiment.

[0025] Figure 4 is a flowchart showing a robot control method of this embodiment.

[0026]

[0027] Hereinafter, embodiments of a robot control device and method according to the present invention will be described with reference to the attached drawings. In this process, the thickness of lines and the sizes of components depicted in the drawings may be exaggerated for clarity and convenience. Furthermore, the terms described below are defined based on their functions in the present invention and may vary depending on the intentions or practices of the user or operator. Therefore, the definitions of these terms should be based on the contents throughout this specification.

[0028]

[0029] 1. Automation equipment and robot structures

[0030] Figures 1 and 2 are exemplary diagrams showing the structure of the automation equipment and robot of this embodiment.

[0031] First, referring to FIG. 1, a robot (120) is configured to be coupled to industrial equipment (i.e., equipment body) (110), and the robot (120) and the industrial equipment (110) constitute the entire automated equipment (100). The industrial equipment (110) may be configured to include a frame (111) formed in a Π shape and a driving axis (112) formed on the upper portion of the frame (111). The robot (120) is mounted to move along the driving axis (112) of the industrial equipment (110), and is configured to perform specific functions such as transporting an object according to a pick and place method, inspecting an object, and packaging an object.

[0032] The robot (120) includes an arm (121) for performing a specific function and a driving unit (122) for driving the arm (121). As illustrated in FIG. 2, the driving unit (122) includes an actuator (ACT), a gear unit (GR), and a brake (BR). The actuator (ACT) is implemented as a motor and operates by receiving servo power from a power supply unit (23) of a second control unit (20) described later. The rotation speed of the actuator (ACT) is reduced by the gear unit (GR), and the driving force according to the rotation speed of the reduced actuator (ACT) is transmitted to the arm (121), thereby implementing a 360˚ rotational motion of the arm (121) pivotally connected to the actuator (ACT). The gear unit (GR) is implemented as a harmonic reducer and has the function of increasing the torque of the actuator (ACT), and the operation of the actuator (ACT) is configured to be stopped by engaging the brake (BR).

[0033] The industrial equipment (110) and robot (120) according to FIGS. 1 and 2 are merely examples to help understand the configuration of the robot control device focused on in this embodiment, and the specific structure of the industrial equipment (110) and robot (120) may be configured in various structures depending on the industrial site to which it is applied and the function to be performed.

[0034]

[0035] 2. Operation of the first and second control units

[0036] Figure 3 is a block diagram showing the robot control device of this embodiment.

[0037] Referring to FIG. 3, the robot control device of the present embodiment includes first and second control units (10, 20). The first and second control units (10, 20) may be implemented as a central processing unit (CPU) or a system on chip (SoC), and may control a plurality of hardware or software components connected to each control unit (10, 20) by driving an operating system or application, and may perform various data processing and calculations. In the present embodiment, the first control unit (10) may be implemented as an industrial PC that functions as an upper controller for the second control unit (20), and the second control unit (20) may be mounted on industrial equipment (110) to which the robot (120) is coupled or on the robot (120) itself for local control of the robot (120).

[0038] Here, the controller structure of a typical industrial automation equipment is described. The controller of the industrial automation equipment is composed of a master controller (upper controller) that controls the overall operation of the automation equipment (i.e., industrial equipment and robot), and a slave controller (lower controller) that controls the local motion of the robot.

[0039] From the perspective of software programs for controlling automated equipment, programs for controlling industrial equipment are designed so that users can access the master controller and develop them using the program development platform provided by the master controller, and then embedded in the master controller. Furthermore, programs for controlling robots are designed so that users can access the slave controller and develop them using the program development platform provided by the slave controller, and then embedded in the slave controller.

[0040] Accordingly, from the user's perspective, there is a problem of inconvenience and time consumption in program development because the program development process for controlling automation equipment must be performed separately for industrial equipment and robots. In addition, the slave controller is configured to control the motion of the robot according to control commands from the master controller, and since the program for controlling the robot is developed in the slave controller independently from the master controller, a separate communication program must be additionally developed to ensure compatibility between the operating system of the master controller and the robot control program developed in the slave controller, which causes consumption.

[0041] That is, in the controller of conventional automation equipment, the user must individually develop three programs: an industrial equipment control program, a robot control program, and a separate communication program. The individual development of multiple programs in an embedded environment causes great inconvenience and time consumption from the user's perspective.

[0042] In this embodiment, an architecture between a master controller and a slave controller that can eliminate user inconvenience and time consumption that arise during the process of developing a controller for automated equipment is presented, and is described in detail below.

[0043] The first control unit (10) includes an integrated control unit (11) corresponding to a subject that integrates and controls the automation equipment (100), a library unit (12) composed of a plurality of libraries necessary for controlling the automation equipment (100), and a first shared memory (M1).

[0044] The plurality of libraries constituting the library unit (12) can be divided into a robot library (12a) for controlling a robot (120) and first to Nth device libraries (12b, 12c, 12d, 12e, 12f, 12g) for controlling industrial equipment (110) to which the robot (120) is coupled (N is a natural number greater than or equal to 2). The robot library (12a) functions as a library used by a user to develop robot control logic (i.e., a robot control program) and define it in the first control unit (10), and also functions as a library called to generate robot control commands when executing the robot control logic. The first to Nth device libraries (12b to 12g) function as libraries used by a user to develop equipment control logic (i.e., an industrial equipment control program) and define it in the first control unit (10), and also functions as a library called to generate equipment control commands when executing the equipment control logic. Examples of the first to Nth device libraries (12b to 12g) may include a communication library (12b) that defines a communication function with an external device, an actuator library (12c) that defines a control function of an actuator (motor) installed in industrial equipment (110), a sensor library (12d) that defines the functions of a sensor and vision system installed in industrial equipment (110), an AI library (12e) that defines an artificial intelligence control function of industrial equipment (110), a Teaching library (12f) that defines a robot teaching function, and an IoT library (12g) that defines an IoT function. The robot control logic and equipment control logic defined based on such libraries are stored in the integrated control unit (11), and the specific sequence of the robot control logic and the equipment control logic can be designed according to the function of the automation equipment (100) and the designer's intention.

[0045] The integrated control unit (11) of the first control unit (10) generates a robot control command for controlling the robot (120) based on the robot control logic defined based on the robot library (12a). Specifically, the integrated control unit (11) applies the status data (described later) of the robot (120) stored in the first shared memory (M1) to the robot control logic to generate a robot control command, and the robot library (12a) can be called to return the robot control command when the robot control logic is executed. The integrated control unit (11) can generate the target position (01) and direction (02), posture (03), movement path (04), rotation speed profile (05), etc. of the robot arm (121), which are included in the robot control command of the robot arm (121), as the robot control command.

[0046] Next, the second control unit (20) includes a motion control unit (21) corresponding to a subject that controls the motion of the robot (120), a safety control unit (22) that performs a safety control function (e.g., turning off the operating power of the robot (120) in the event of a failure, or engaging a brake (BR), etc.) during the operation of the robot (120), and a power supply unit (23) that supplies operating power to the robot (120).

[0047] The motion control unit (21) includes a second shared memory (M2) and a motion generation unit (21a). In a state where operating power is supplied to the robot (120) by the power supply unit (23), the motion control unit (21) controls the motion of the robot (120) according to the robot control command received from the integrated control unit (11) of the first control unit (10). Specifically, the motion control unit (21) locally controls the motion of the robot (120) by analyzing the kinematics of the robot (120) to follow the target position (01) and direction (02), posture (03), movement path (04), and rotational speed profile (05) in the motion generation unit (21a). The kinematic analysis method of the robot (120) may be predefined in the motion generation unit (21a), and the motion control unit (21) controls the motion of the robot (120) by applying a driving pulse for motion control of the robot (120) to the actuator (ACT) according to the kinematic analysis result of the robot (120) to control the rotation of the robot arm (121). The communication method (C1) between the motion control unit (21) and the robot (120) for motion control may employ, for example, EtherCAT.

[0048] Meanwhile, as illustrated in FIG. 3, the first and second control units (10, 20) are configured to communicate with each other (C2) via a shared memory (M1, M2). The communication method may be, for example, the MQTT (Message Queueing Telemetry Transport) protocol. By applying a shared memory based on the MQTT protocol, high-speed / real-time data transmission and reception between the first and second control units (10, 20) may be possible. Data stored in the first and second shared memories (M1, M2) are transmitted and received in real time according to MQTT protocol-based communication and are synchronized.

[0049] The motion control unit (21) of the second control unit (20) operates to load the control result for the motion of the robot (120) as the status data of the robot (120) into the second shared memory (M2). That is, the motion control unit (21) loads the actual motion of the robot (120) formed based on the motion control result (e.g., the current rotation angle of the arm (121) obtained from the encoder installed in the robot (120)) into the second shared memory (M2). The status data of the robot (120) loaded into the second shared memory (M2) is transmitted in real time to the first shared memory (M1), and accordingly, the integrated control unit (11) of the first control unit (10) reads the status data of the robot (120) loaded into the first shared memory (M1) and applies it to the robot control logic, thereby generating a robot control command. That is, the motion control of the robot (120) is configured according to a feedback mechanism of “robot control command generation - robot motion control - motion control result feedback - loading into second shared memory - robot control command generation through first shared memory lead”, and by transmitting and receiving data through shared memory (M1, M2) based on the MQTT protocol, high-speed / real-time data transmission and reception is possible, and the responsiveness of robot motion control can be improved.

[0050] Meanwhile, as illustrated in FIG. 3, a cloud server (CS) that communicates with the first control unit (10) in a cloud-based manner may be further provided in the present embodiment. The status data of the robot (120) stored in the first shared memory (M1) and the robot control commands accordingly may be transmitted from the first control unit (10) to the cloud server (CS), and the cloud server (CS) may train a neural network model (e.g., a deep learning model such as CNN, RNN, or LSTM) that uses the status data of the robot (120) as input data and the robot control commands as output classes, and the trained neural network model may be fed back to the first control unit (10) and used to generate a robot control command.

[0051]

[0052] 3. Integrated SDK (Software Development Kit)

[0053] As described above, the robot library (12a) and the first to Nth device libraries (12b to 12g) are provided in the first control unit (10), and the above libraries constitute an integrated SDK for users to define robot control logic and equipment control logic.

[0054] That is, as mentioned above, in the past, when developing a program to control automation equipment (100) from the user's perspective, there was the inconvenience of having to individually develop an industrial equipment control program, a robot control program, and a separate communication program, and this inconvenience was caused by the user having to access a slave controller (e.g., the second control unit (20) of the present embodiment) to develop a robot control program.

[0055] To solve the above problem, in the present embodiment, the robot library (12a) and the first to Nth device libraries (12b to 12g) are provided in the first control unit (10) (i.e., the master controller), and each library constitutes an SDK for integrated development and definition of robot control logic and equipment control logic. Focusing on the robot library (12a) and the robot control logic, the robot library (12a) is provided only in the first control unit (10) and not in the second control unit (20), and accordingly, the robot control logic based on the robot library (12a) is also defined only in the first control unit (10). Since the robot control logic can be integrated and developed and defined with the equipment control logic in the first control unit (10), user inconvenience due to individual development for each program is eliminated, and furthermore, since a separate communication program that was previously required can be eliminated, user convenience is improved and the entire control system can be simplified.

[0056] Furthermore, the motion control unit (21) of the second control unit (20) is configured to control the motion of the robot (120) only based on the control commands generated by the integrated control unit (11) of the first control unit (10), and thus can be configured as a structure independent of user access. That is, in the controller design process for motion control of the robot (120) and the actual control process of the robot (120), the user only needs to access the first control unit (10) to develop and define the robot control logic, and there is no need to access the second control unit (20), so that the control convenience of the robot (120) and the entire automation equipment (100) can be improved from the user's perspective.

[0057]

[0058] 4. Module structure of the second control unit

[0059] The motion control unit (21), safety control unit (22), and power supply unit (23) constituting the second control unit (20) may be configured independently of each other in the form of modules and provided within the package of the second control unit (20). In addition, a slot may be provided within the package of the second control unit (20) in which an additional power supply unit (23) for supplying operating power to an additional robot may be provided in the form of a module.

[0060] In this embodiment, one power supply unit (23) is configured to match with one robot (120) and receive operating power. In some cases, a situation may arise where a robot (120) is added to the automation equipment (100), and in order to facilitate securing power supply to the added robot (120), in this embodiment, the internal structure of the second control unit (20) is configured in a module form, and a slot in which an additional power supply unit (23) can be provided in a module form is provided inside the package of the second control unit (20). Accordingly, when a robot (120) to be controlled is added, the expansion of the automation equipment (100) can be responded to in a simple manner by adding a power supply unit (23) to the slot without changing the entire system of the second control unit (20).

[0061]

[0062] 5. Robot control method

[0063] Figure 4 is a flowchart illustrating a robot control method according to the present embodiment. Referring to Figure 4, the robot control method according to the present embodiment will be described. Detailed descriptions of portions overlapping with the aforementioned content will be omitted, and the description will focus on the time-series structure.

[0064] First, the first control unit (10) generates a robot control command for controlling the robot (120) based on predefined robot control logic (S100).

[0065] Next, the second control unit (20) controls the motion of the robot (120) according to the control command generated in step S100 (S200). In step S200, the second control unit (20) controls the motion of the robot (120) by analyzing the kinematics of the robot (120) to follow the control command, and loads the control result for the motion of the robot (120) as status data of the robot (120) into the second shared memory (M2). The status data of the robot (120) loaded into the second shared memory (M2) is transmitted in real time to the first shared memory (M1).

[0066] After step S200, step S100 is performed again, and in step S100 performed again, the first control unit (10) reads the status data of the robot (120) from the first shared memory (M1) and generates a robot control command. According to the above sequence, steps S100 and S200 constitute a feedback mechanism of a cyclic structure.

[0067]

[0068] In this way, according to the present invention, the robot control logic for controlling the robot is defined in the first control unit, and the second control unit is configured to control the motion of the robot according to the control command from the first control unit, and the first control unit is configured to allow user access for defining the robot control logic, and the second control unit is configured with a structure independent of user access, thereby eliminating user inconvenience and time consumption that arise in the process of developing a controller for automated equipment.

[0069] In addition, according to the present invention, the motion control unit (21) and the power supply unit (23) included in the second control unit are configured in a module form, and a slot in which an additional power supply unit (23) for supplying operating power to an additional robot can be provided in a module form is provided inside the package of the second control unit, so that when a robot to be controlled is added, the expansion of the automation equipment (100) can be responded to in a simple manner by adding a power supply unit (23) to the slot without changing the entire system of the second control unit.

[0070] The term "unit" as used herein may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. The unit may be an integrally formed component or a minimum unit or part of the component that performs one or more functions. For example, according to one embodiment, the unit may be implemented in the form of an Application-Specific Integrated Circuit (ASIC). Furthermore, the implementations described herein may be implemented in the form of, for example, a method or process, a device, a software program, a data stream, or a signal. Even if discussed only in the context of a single form of implementation (e.g., discussed only as a method), the implementation of the discussed feature may also be implemented in other forms (e.g., as a device or program). The device may be implemented in suitable hardware, software, and firmware, etc. The method may be implemented in a device such as a processor, which generally refers to a processing device including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes communication devices such as computers, cell phones, personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end-users.

[0071] While the present invention has been described with reference to the embodiments illustrated in the drawings, these are merely exemplary, and those skilled in the art will understand that various modifications and equivalent embodiments are possible. Accordingly, the true technical protection scope of the present invention should be defined by the following claims.

Claims

1. A first control unit having a robot library for controlling a robot and a device library for controlling equipment to which the robot is coupled, and generating a control command for controlling the robot based on a robot control logic defined based on the robot library; and A second control unit that controls the motion of the robot according to the above control command; A robot control device, characterized in that the first control unit is configured to enable user access for defining the robot control logic.

2. In paragraph 1, A robot control device, characterized in that the first control unit functions as an upper controller for the second control unit.

3. In paragraph 1, A robot control device characterized in that the device library includes first to Nth device libraries (N is a natural number greater than or equal to 2), and the first control unit defines equipment control logic for controlling the equipment based on the first to Nth device libraries.

4. In paragraph 3, A robot control device characterized in that the robot library and the first to Nth device libraries constitute an integrated SDK (Software Development Kit) for a user to define the robot control logic and the equipment control logic.

5. In paragraph 1, The first and second control units are configured to communicate with each other according to the MQTT (Message Queueing Telemetry Transport) protocol via shared memory, A robot control device characterized in that the first control unit reads the status data of the robot loaded in the shared memory by the second control unit from the shared memory and generates the control command.

6. In paragraph 5, A robot control device characterized in that the second control unit controls the motion of the robot by analyzing the kinematics of the robot to follow the control command, and loads the control result for the motion of the robot into the shared memory as the state data.

7. In paragraph 1, A robot control device characterized in that the robot library is provided only in the first control unit, and the robot control logic is also configured to be defined only in the first control unit.

8. In paragraph 7, A robot control device characterized in that the second control unit is configured with a structure independent of user access by controlling the motion of the robot based only on the control commands generated by the first control unit.

9. In paragraph 1, A robot control device characterized in that the second control unit includes a motion control unit that controls the motion of the robot and a power supply unit that supplies operating power to the robot, wherein the motion control unit and the power supply unit are independently configured in a module form and are provided inside a package of the second control unit.

10. In paragraph 9, A robot control device characterized in that the package of the second control unit has a slot in which an additional power supply unit for supplying operating power to an additional robot can be provided in a module form.

11. A step in which a first control unit generates a control command for controlling a robot based on a predefined robot control logic, wherein the first control unit is provided with a robot library for controlling the robot and a device library for controlling equipment to which the robot is coupled, and the robot control logic is predefined based on the robot library; and The second control unit includes a step of controlling the motion of the robot according to the control command; A robot control method, characterized in that the first control unit is configured to enable user access for defining the robot control logic.

Citation Information

Patent Citations

  • Modular robot kits

    KR101520785B1

  • Platform structure of robot

    KR1020090071882A

  • A realtime robot system, an appratus for controlling a robot system, and a method for controlling a robot system

    KR1020170034752A

  • Connection system for a modular robot

    KR1020180050388A

  • Modular frame for an intelligent robot

    WO2023278284A1