Robot control device, robot system, and robot control method
By detecting data delays in the robot control device and reducing the movement speed, the problem of robot stopping caused by the deterioration of the wireless communication environment is solved, ensuring the safety and efficiency of teaching operations.
Patent Information
- Application Number
- CN202010409061.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-05-20
- Filing Date
- 2020-05-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-05-14
AI Technical Summary
When the wireless communication environment deteriorates, the delay in data sent by the operation input device in the robot system may cause the robot control device to be unable to receive data in time, causing the robot to stop, thereby affecting the efficiency of teaching operations.
The robot control device is equipped with a delay detection part and a speed setting part, which detects data delay and when the delay is detected, sets the robot's action speed to a second speed that is lower than the normal speed but not zero to ensure safety and reduce Decrease in teaching efficiency.
When the wireless communication condition deteriorates, the robot speed is reduced to avoid the risk of contact or deviation, ensuring safety and suppressing the decline in the overall efficiency of the teaching operation.
Smart Images

Figure CN111958583B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a robot control device, a robot system and a robot control method. Background Art
[0002] In recent years, a robot system has been proposed in which an operation input device for inputting operation to a robot is wirelessly connected to a robot control device. Japanese Patent Application Laid-Open No. 2015-020215 describes a robot control system in which a manipulator guiding device as an operation input device is wirelessly connected to a control device and a monitoring device. Summary of the invention
[0003] In wireless communication, the communication condition may deteriorate due to the influence of the surrounding environment. In the above-mentioned robot system that wirelessly connects the operation input device and the robot control device, when the wireless communication condition deteriorates, the transmission data from the operation input device is delayed and may not reach the robot control device within a certain period of time. In this case, the robot control device generally takes measures to stop the robot, but on the other hand, if the robot is stopped during the teaching operation, it will lead to a decrease in the overall efficiency of the teaching operation.
[0004] One embodiment of the present disclosure is a robot control device for controlling a robot, comprising: a receiving unit, which receives transmission data including action instructions for the above-mentioned robot through wireless communication; a delay detection unit, which detects the delay of the received transmission data from the arrival of a predetermined time; and a speed setting unit, which, when the above-mentioned delay is detected, sets the action speed of the above-mentioned robot when performing the above-mentioned action instruction to a second speed that is smaller than the first speed set when the above-mentioned delay is not detected and greater than zero. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] The objects, features, and advantages of the present invention will become more apparent from the following description of the embodiments in conjunction with the accompanying drawings.
[0006] Figure 1 It is a diagram showing the overall configuration of a robot system including a robot control device according to one embodiment.
[0007] Figure 2 This is a functional block diagram of a robot control device.
[0008] Figure 3 1 is a diagram showing a first example of a delay detection operation of a delay detection unit for transmission data.
[0009] Figure 4 It is a diagram showing a second example of the delay detection operation of the delay detection unit for transmission data.
[0010] Figure 5 This is a diagram schematically showing the positional relationship between the robot and the operator in a horizontal plane.
[0011] Figure 6 This is a graph showing an example of a change in speed of the robot (predetermined movable portion) based on the speed setting of the speed setting unit.
[0012] Figure 7 This is a flowchart showing a robot control method related to motion speed.
[0013] Figure 8 This is a diagram showing the overall configuration of a robot system when the operation input device is a teaching pendant. DETAILED DESCRIPTION
[0014] Hereinafter, the embodiments of the present disclosure will be described with reference to the accompanying drawings. In all the accompanying drawings, the same reference symbols are marked on the corresponding structural elements. For easy understanding, the scales of these drawings are appropriately changed. In addition, the method shown in the accompanying drawings is an example for implementing the present invention, and the present invention is not limited to the method shown in the drawings.
[0015] Figure 1 1 is a diagram showing the overall configuration of a robot system 100 including a robot control device 20 according to an embodiment. Figure 2 is a functional block diagram of the robot control device 20. Figure 1 As shown, the robot system 100 includes a robot 10, a robot control device 20 for controlling the robot 10, and a hand guide device 30 as an operation input device for operating the robot 10. The robot 10 is a vertical multi-joint robot in this embodiment, and has a base 11 fixed to a floor, and an arm 12 composed of a plurality of joints and link parts. In addition, other types of robots can also be used as the robot 10. The hand guide device 30 is installed on a predetermined movable portion of the robot 10 (at the front end of the arm in this embodiment).
[0016] The robot guide device 30 includes an operation unit 31 including an operation lever 31a and an emergency stop switch (not shown), and a transmission unit 32 that transmits transmission data including an operation command inputted via the operation unit 31 by wireless communication. The robot control device 20 operates the robot 10 according to the operation command received from the robot guide device 30 by wireless communication. The wireless communication between the robot guide device 30 and the robot control device 20 may be based on a predetermined wireless communication standard such as a wireless LAN, for example. The robot control device 20 may have a structure as a general computer having a CPU, a ROM, a RAM, a storage device, an operation unit, a network interface, and the like.
[0017] An operator (not shown) uses the manipulator guide device 30 to operate the robot 10 and perform a teaching operation. For example, the operator operates the tilt operating lever 31a, thereby moving a predetermined movable portion of the robot 10 (the front end of the arm in this embodiment) in a desired direction. In a system using wireless communication such as the robot system 100, the communication condition sometimes deteriorates due to the influence of the surrounding environment. When the communication condition deteriorates, a delay in the transmission data from the manipulator guide device 30 may occur, and the transmission data may not be received for a certain period of time on the robot control device 20 side. When such a situation occurs, as described below, the robot control device 20 is configured to preferably control the speed of the robot 10 from the viewpoint of ensuring safety while suppressing a decrease in the overall efficiency of the teaching operation.
[0018] like Figure 2 As shown, the robot control device 20 includes a receiving unit 21, a delay detecting unit 22, and a speed setting unit 23. The receiving unit 21 receives transmission data including an action instruction from the robot guiding device 30 via wireless communication. The delay detecting unit 22 detects a delay in the arrival of the transmission data from a predetermined time. When the speed setting unit 23 detects a delay in the arrival of the transmission data through the delay detecting unit 22, the speed setting unit 23 sets the action speed of the robot 10 when performing the action instruction to a second speed that is lower than the first speed set when no delay is detected and greater than zero. In addition, Figure 1 In the structural example shown, the robot control device 20 is a structure that directly receives wireless signals from the manipulator guiding device 30, but the robot control device 20 can also be a structure that receives transmission data from the manipulator guiding device 30 via a device with wireless communication function such as an externally connected teaching operating panel.
[0019] Figure 3 1 is a diagram showing a first example of a delay detection operation of sending data performed by the delay detection unit 22. Generally, while the operator is tilting the operating lever 31a in a desired direction, the robot guide device 30 continuously sends an action command (for example, an action command in the positive direction of the X-axis of the robot coordinate system) at a fixed cycle. Figure 3 The upper part of shows the timing of the transmission unit 32 continuously and periodically transmitting the transmission data during the operation of tilting the operating lever 31a. Here, an ID (1, 2, 3, 4, ..., n) indicating the transmission order is added to each transmission data. It is assumed that the cycle of the transmission data is known in the robot control device 20. Figure 3The lower part of shows the timing of receiving the transmission data (1, 2, 3, 4, ..., n) by the receiving unit 21. At this time, the delay detection unit 22 counts the internal clock signal with the timing of receiving the first transmission data as a trigger, thereby finding the arrival scheduled time of the second and subsequent transmission data, and monitoring whether each transmission data has a delay from the scheduled arrival time. For example, the nth transmission data arrives with a delay of time τ from the scheduled arrival time t0. At this time, the delay detection unit 22 detects that a delay of time τ has occurred in the nth transmission data.
[0020] Figure 4 2 shows a second example of the delay detection operation of the transmission data performed by the delay detection unit 22. In the second example, the transmission unit 32 of the robot guide device 30 adds the transmission time to the transmission data and transmits it. In the case of this second example, for example, the time of each internal clock between the robot guide device 30 and the robot control device 20 is previously aligned using a time alignment function via a network. Figure 4 As shown, the sending unit 32 of the manipulator guiding device 30 adds the sending time Ta1 to the sending data (DATA1) and sends it. If the receiving unit 21 in the robot control device 20 receives the sending data (DATA1), the delay detection unit 22 refers to the time of the internal clock to grasp the situation that the sending data (DATA1) arrives after τ1 time from the sending time Ta1. As an example, the delay detection unit 22 adds the transmission delay time required for the transmission of the wireless signal to the sending time Ta1 in normal times as the expected arrival time of the sending data (DATA1). When the arrival time of the sending data (DATA1) exceeds the expected arrival time, the delay detection unit 22 detects that a delay has occurred in the sending data (DATA1). At this time, the delay time of the sending data (DATA1) can be obtained by τ1-(transmission delay time).
[0021] In the delay detection unit 22, Figure 3 or Figure 4 When the delay detection operation illustrated in the example detects a delay in the transmission data, the speed setting unit 23 sets the motion speed when the robot 10 moves in the direction indicated by the motion command to a second speed that is smaller than the first speed set when there is no delay in the transmission data and greater than zero. In addition, the first speed and the second speed described here can be set as the target motion speed or the maximum motion speed when controlling the speed of the robot 10. The following setting examples can be given as the setting value of the second speed.
[0022] (Setting Example 1) Even if the robot (predetermined movable part) comes into contact with a person, a predetermined speed that is sufficiently low for safety can be maintained.
[0023] (Setting Example 2) When a predetermined movable part of the robot is decelerated from the second speed at a predetermined deceleration, the predetermined movable part is stopped within a first predetermined distance from the position where deceleration is started at the predetermined deceleration. The first predetermined distance at this time is, for example, a distance (for example, 30 cm) that can be generally assumed as a distance to be ensured between the robot guide device 30 and the operator when the operator operates the robot 10 while holding the robot guide device 30. By setting the second speed to such a value, it is possible to avoid the robot 10 from contacting the operator when the wireless communication condition deteriorates.
[0024] (Setting Example 3) When the predetermined movable part of the robot is decelerated from the second speed at a predetermined deceleration rate, the speed at which the predetermined movable part can stop within the range of the second predetermined distance from the reference position set on the base 11 as the fixed part of the robot. The second speed is set to such a value that when the wireless communication condition deteriorates, the predetermined movable part of the robot 10 can be prevented from deviating from the reference position within the range of the second predetermined distance and safety can be ensured. In this case, the speed setting unit 23 can update the second speed every moment according to the current position of the predetermined movable part of the robot, for example, every time when receiving and transmitting data and detecting a delay.
[0025] Example 3 of setting the second speed Figure 8 As in the configuration example shown in FIG. 1 , the present invention can be more preferably applied when the operation input device is a teaching operation panel 30A wirelessly connected to the robot control device 20 . Figure 8 The robot system 100A shown in the figure includes a robot 10, a robot control device 20A for controlling the robot 10, and a teaching operation panel 30A wirelessly connected to the robot control device 20A. The teaching operation panel 30A includes an operation unit including a jog operation key and the like for operating the robot 10, and a transmission unit for transmitting transmission data including an operation command inputted via the operation unit to the robot control device 20A by wireless communication. In the case of such a system configuration, an operator operates the robot 10 using the teaching operation panel 30A from a position away from the robot 10 to some extent.
[0026] Figure 5 The horizontal positional relationship between the robot 10 and the operator OP when using a system such as the robot system 100A is schematically shown. Figure 5As shown, assuming that the operator OP is working at a position that is a distance D1 from a reference position P0 set on the base 11 of the robot 10, the second predetermined distance of the above-mentioned second speed setting example 3 can be set to a value less than the distance D1. For example, the predetermined movable part of the robot 10 moves outward in the diameter direction relative to the reference position P0, and the distance between the predetermined movable part and the outer edge of the range of the second predetermined distance is D0. In addition, the predetermined movable part is decelerated at a certain deceleration A0. At this time, the speed setting unit 23 can set the second speed to a speed that can stop within the distance D0 when decelerating at the deceleration A0, that is, (2D0A0) 1 / 2 The following values.
[0027] In addition, if Figure 5 As shown, the robot system 100A may include a distance sensor 80 that measures the distance between the reference position P0 and the operator OP. As an example, the distance sensor 80 is mounted on the base 11 of the robot 10, and is connected to the robot control device 20A, for example, by a wire. The distance sensor 80 provides the measured distance to the operator OP to the robot control device 20A. At this time, even if the position of the operator OP changes, the position of the operator OP can be detected and the second predetermined distance can be set. As the distance sensor 80, for example, a laser sensor, a laser scanner, etc. that can obtain three-dimensional point group data of an object within a predetermined measurement range can be used. In order to obtain the shortest distance to an object (or person) located around the robot 10, a plurality of distance sensors 80 can be configured on the base 11 of the robot 10.
[0028] Figure 6 This is a graph showing an example of a change in speed of the robot 10 (predetermined movable portion) in accordance with the speed setting operation of the speed setting unit 23 . Figure 6 The horizontal axis represents time, and the vertical axis represents speed. Figure 6 At the start time point (time zero) on the time axis of the robot, the operator operates the operating lever 31a to tilt in the desired direction by a predetermined amount and maintains this state. Figure 6 The transmission data including the predetermined action command (for example, the instruction to move in the positive direction of the X-axis) is periodically and continuously transmitted over the entire time axis of the graph. Figure 6 The period T0 on the time axis is a period when the wireless communication condition is good, the period T1 is a period when the wireless communication condition is deteriorated, and the period T2 is a period when the wireless communication condition returns to a good state again. During the period T0, there is no delay in sending data, so the robot control device 20 accelerates the robot 10 (predetermined movable part) to the first speed V1 according to the action command and moves at the first speed V1.
[0029] Next, when the wireless communication condition deteriorates during the period T1, the delay in the transmission data is detected by the delay detection unit 22, and the speed setting unit 23 sets the movement speed of the robot 10 (predetermined movable part) to the second speed V2 which is lower than the first speed V1. In addition, during the period T1, the state in which the transmission data reaches the robot control device 20 within the predetermined delay time is maintained, so the speed setting unit 23 continues to set the movement speed to the second speed. Therefore, during the period T1, the robot 10 (predetermined movable part) gradually decelerates from the speed V1 and continues to move in the instructed direction at the second speed V2.
[0030] Next, if the communication condition is restored during the period T2, the delay in sending data cannot be detected, and the speed setting unit 23 restores the setting of the movement speed of the robot 10 (predetermined movable part) to the first speed V1. In this way, the robot 10 (predetermined movable part) accelerates to the first speed V1 and continues to move at the first speed V1. In addition, when the second speed is set according to setting example 3, the robot control device 20, in order to prevent the robot 10 (predetermined movable part) from deviating from the range of the second predetermined distance, when the robot 10 (predetermined movable part) approaches the edge of the range of the second predetermined distance, Figure 6 The robot 10 (predetermined movable part) is decelerated and stopped at the maximum deceleration as shown by the middle dotted line L. By performing such control, the edge of the second predetermined distance range can be set as a virtual fence that defines the movable range of the robot 10 that functions when wireless communication conditions deteriorate.
[0031] Figure 7 : is a flowchart showing the robot control method related to the motion speed described above. Figure 7 The processing is performed under the control of the CPU of the robot control device 20. Figure 7 As shown, if the robot control device 20 receives the transmission data (step S1), it refers to Figure 3 or Figure 4 The method illustrated detects the delay of the received transmission data (step S2). If a delay from the scheduled arrival time of the transmission data is detected, the robot control device 20 sets the movement speed of the robot 10 (predetermined movable part) to the second speed by any method of the above-mentioned setting 1 to setting example 3 (step S3). When the delay of the transmission data is not detected, the robot control device 20 sets the speed setting of the robot 10 (predetermined movable part) to the normal speed, that is, the first speed. If the movement speed is set, the robot control device 20 moves the robot 10 according to the movement instruction and the set movement speed (step S4).
[0032] As described above, according to the present embodiment, even when the wireless communication condition deteriorates, it is possible to suppress a decrease in the efficiency of the entire teaching work while ensuring safety.
[0033] Although the embodiments of the present disclosure have been described above, it is apparent to those skilled in the art that various modifications and changes can be made without departing from the scope of the claims.
[0034] Figure 1 or Figure 8 The configuration example of the robot system shown is merely an example, and the present invention can be applied to various types of robot systems in which an operation input device and a robot control device are connected via wireless communication.
[0035] Execute the processing of the robot control method shown in the above embodiment ( Figure 7 ) can be recorded in various computer-readable recording media (for example, semiconductor memories such as ROM, EEPROM, flash memory, magnetic recording media, optical disks such as CD-ROM and DVD-ROM).
Claims
1. A robot control device, used for controlling a robot, characterized in that: The robot control device has: a receiving unit for receiving transmission data including an action instruction for the robot through wireless communication; a delay detection unit that detects a delay from a scheduled arrival time of the received transmission data; and a speed setting unit which, when the delay is detected, sets the movement speed of the robot when it moves according to the movement command to a second speed which is smaller than the first speed set when the delay is not detected and is larger than zero; The speed setting unit sets the second speed to a speed such that, when a predetermined movable portion of the robot is decelerated from the second speed at a predetermined deceleration, the predetermined movable portion can stop within a first predetermined distance from a position where deceleration starts at the predetermined deceleration.
2. A robot control device, used to control a robot, characterized in that: The robot control device has: a receiving unit for receiving transmission data including an action instruction for the robot through wireless communication; a delay detection unit that detects a delay from a scheduled arrival time of the received transmission data; and a speed setting unit which, when the delay is detected, sets the movement speed of the robot when it moves according to the movement command to a second speed which is smaller than the first speed set when the delay is not detected and is larger than zero; The speed setting unit sets the second speed so that, when a predetermined movable part of the robot is decelerated from the second speed at a predetermined deceleration, the predetermined movable part can stop within a second predetermined distance from a reference position set at a fixed part of the robot.
3. A robot system, characterized in that: The robot system has: robot; an operation input device having an operation unit for operating the robot and a transmission unit for transmitting transmission data including an action command inputted via the operation unit by wireless communication; as well as A robot control device as claimed in any one of claims 1 to 2.
4. The robot system according to claim 3, characterized in that: The operation input device is a manipulator guiding device mounted on a predetermined movable portion of the robot.
5. A robot control method, which is used to control a robot, characterized in that: The robot control method comprises the following steps: receiving, via wireless communication, transmission data including an action instruction for the robot; Detecting a delay from a predetermined time of arrival of the received transmission data; and When the delay is detected, the movement speed of the robot when performing the movement according to the movement instruction is set to a second speed that is smaller than the first speed set when the delay is not detected and greater than zero. The second speed is set to a speed such that, when a predetermined movable portion of the robot is decelerated from the second speed at a predetermined deceleration, the predetermined movable portion can stop within a first predetermined distance from a position where deceleration starts at the predetermined deceleration.
6. A robot control method, which is used to control a robot, characterized in that: The robot control method comprises the following steps: receiving, via wireless communication, transmission data including an action instruction for the robot; Detecting a delay from a predetermined time of arrival of the received transmission data; and When the delay is detected, the movement speed of the robot when performing the movement according to the movement instruction is set to a second speed that is smaller than the first speed set when the delay is not detected and greater than zero. The second speed is set so that when a predetermined movable portion of the robot is decelerated from the second speed at a predetermined deceleration, the predetermined movable portion can stop within a second predetermined distance from a reference position set at a fixed portion of the robot.
