Robot control device

By combining the teaching information recording and action determination functions in the robot control device, the problems of dependence on the operator's skills and difficulty in avoiding interference objects in the generation process of robot teaching data in the existing technology are solved, and more efficient teaching data is achieved. Recording and movement trajectory optimization.

CN114571447BActive Publication Date: 2024-08-27DAIHEN CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111212715.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-11-30
Filing Date
2021-10-18
Publication Date
2024-08-27
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

When existing robots generate teaching data, the operator needs to predict the movement trajectory and avoid interference objects, which results in a high dependence on the operator's skills and may not be able to effectively avoid interference objects during movement between teaching points.

Method used

A robot control device is designed. Through the combination of the teaching information recording part, the robot information acquisition part, the recording necessity determination part and the control part, it determines whether to record the current position or attitude as a teaching point based on the movement and position information of the robot. And record teaching points at appropriate locations or at regular intervals to reduce reliance on the operator's skills.

Benefits of technology

This device can reduce the dependence on the operator's skills when generating teaching data, improve the robot's movement efficiency between teaching points, ensure that the robot can appropriately avoid interfering objects and shorten the cycle time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114571447B_ABST
    Figure CN114571447B_ABST
Patent Text Reader

Abstract

The present invention provides a robot control device that records teaching points at appropriate positions or at regular intervals when generating teaching data. The robot control device (100) includes a teaching information recording unit (110), a robot information acquisition unit (120), a recording necessity determination unit (130), and a control unit (140). The teaching information recording unit (110) records teaching information of at least one of the positions or postures of the robot at a plurality of teaching points. The robot information acquisition unit (120) acquires information related to at least one of the current position or posture of the robot. The recording necessity determination unit (130) determines whether to record at least one of the current position or posture of the robot as teaching information at the teaching point based on the movement of the robot. The control unit (140) controls to record at least one of the current position or posture of the robot as teaching information at the teaching point in the teaching information recording unit (110) when it is determined that the teaching information is to be recorded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a robot control device. Background Art

[0002] In recent years, many robots have become popular in the industry. Such robots are used, for example, in the assembly, welding, and transportation of electronic and mechanical parts to improve the efficiency and automation of factory production lines. Such robots need to be programmed to perform the desired actions and recorded in advance as so-called teaching data.

[0003] The teaching data is generated by an operator operating the actual robot using a teaching pendant to record the movements. For example, if the operator records the teaching information at multiple teaching points and generates teaching data, the robot moves according to the teaching data to move between the multiple teaching points.

[0004] Patent Document 1 discloses a technique for simplifying teaching work as a direct teaching method for a robot having multiple robot arms. The direct teaching method causes a slave arm to coordinate with the master arm while the master arm is moving to an arbitrary teaching position, and records position information of the master arm and the slave arm when the master arm reaches an arbitrary teaching position.

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: Japanese Patent Application Publication No. 2017-94440

[0008] However, although the robot moves according to the taught position and posture at the recorded teaching points, the operator may follow an unexpected movement trajectory when moving between teaching points, and may not be able to avoid interference objects when moving between the teaching points. In other words, when generating teaching data, the operator needs to estimate the movement trajectory of the robot between the teaching points while recording the teaching points at appropriate positions, which is highly dependent on the operator's skills. Summary of the invention

[0009] Therefore, an object of the present invention is to provide a robot control device that records teaching points at appropriate positions or timings when generating teaching data.

[0010] A robot control device involved in one embodiment of the present invention generates teaching data while causing a robot to move, and the robot control device comprises: a teaching information recording unit, which records teaching information of at least one of the positions or postures of the robot at multiple teaching points that constitute the teaching data; a robot information acquisition unit, which acquires information related to at least one of the current positions or postures of the robot; a recording determination unit, which determines whether to record at least one of the current positions or postures of the robot as teaching information at the teaching points based on the movement of the robot; and a control unit, which controls to record at least one of the current positions or postures of the robot as teaching information at the teaching points in the teaching information recording unit when it is determined that the teaching information is to be recorded.

[0011] According to this method, the robot information acquisition unit acquires information related to at least one of the current position or posture of the robot, and the recording necessity determination unit determines whether to record at least one of the current position or posture of the robot as the teaching information at the teaching point based on the movement of the robot. The recording necessity determination unit determines that the teaching point is recorded at an appropriate position or timing based on the movement of the robot, so at least one of the current position or posture of the robot obtained at an appropriate position or timing is recorded in the teaching information recording unit as the teaching information at the teaching point. That is, since the robot control device can record the teaching point at an appropriate position or timing based on the movement of the robot, the dependence on the operator's skills is reduced, and the robot can appropriately avoid interference objects.

[0012] In the above method, the recording determination unit may determine whether to record at least one of the current position or posture of the robot as the teaching information at the teaching point based on at least one of the current position or posture of the robot and at least one of the position or posture of the robot that serves as a reference in the teaching information recorded in the teaching information recording unit.

[0013] According to this method, the recording necessity determination unit determines whether to record at least one of the current position or posture of the robot as teaching information at the teaching point based on the displacement of at least one of the position or posture of the robot serving as the reference. That is, the robot control device can record the teaching point at an appropriate position or timing based on the displacement of at least one of the position or posture of the robot serving as the reference.

[0014] In the above aspect, at least one of the position or posture of the robot serving as a reference may be at least one of the position or posture of the robot most recently recorded in the teaching information recording unit as teaching information at the teaching point.

[0015] According to this embodiment, the recording necessity determination unit determines whether to record at least one of the current position or posture of the robot as teaching information at the teaching point based on the displacement of at least one of the most recently recorded position or posture of the robot. That is, the robot control device can record the teaching point at an appropriate position or timing based on the displacement of at least one of the most recently recorded position or posture of the robot.

[0016] In the above method, the recording determination unit may determine that at least one of the current position or posture of the robot is to be recorded as teaching information when the movement distance of the robot from at least one of the reference position or posture of the robot becomes greater than a given distance, or the rotation angle of the robot becomes greater than a given angle.

[0017] According to this aspect, the recording necessity determination unit determines to record at least one of the current position or posture of the robot as teaching information when the displacement from at least one of the position or posture of the robot serving as a reference, specifically, the movement distance of the robot or the rotation angle of the robot, becomes greater than a threshold value. That is, the robot control device can record the teaching point at an appropriate position or timing based on a given displacement from at least one of the position or posture of the robot serving as a reference.

[0018] In the above aspect, the given distance and the given angle may be set according to the precision required for the operation of the robot.

[0019] According to this method, since the threshold is set according to the precision required for the robot's action, the robot control device can record the teaching point at an appropriate position or timing according to the situation. As a result, the robot can appropriately avoid interfering objects and shorten the cycle time.

[0020] In the above aspect, the given distance and the given angle may be set according to the speed of operation for moving the robot.

[0021] According to this method, since the threshold is set according to the operation speed of the robot, the robot control device can record the teaching point at an appropriate position or timing according to the situation. As a result, the robot can appropriately avoid interfering objects and shorten the cycle time.

[0022] A robot control device according to one embodiment of the present invention generates teaching data while causing a robot to move, and the robot control device comprises: a teaching information recording unit, which records teaching information of at least one of the positions or postures of the robot at a plurality of teaching points constituting the teaching data; a robot information acquisition unit, which acquires information related to at least one of the current positions or postures of the robot; a recording necessity determination unit, which determines whether to record at least one of the current positions or postures of the robot as teaching information at the teaching points every time a given period of time has passed; and a control unit, which controls so that, when it is determined that the teaching information is to be recorded, at least one of the current positions or postures of the robot is recorded in the teaching information recording unit as teaching information at the teaching points.

[0023] According to this method, the recording necessity determination unit determines to record at least one of the current position or posture of the robot as teaching information when the elapsed time becomes greater than a given time (threshold). That is, the robot control device can record the teaching point at an appropriate position or timing every time a given time has passed.

[0024] In the above aspect, the predetermined time may be set according to at least one of the precision required for the operation of the robot and the speed at which the robot is operated.

[0025] According to this method, since the threshold is set according to the precision required for the robot's action, the robot control device can record the teaching point at an appropriate position or timing according to the situation. As a result, the robot can appropriately avoid interfering objects and shorten the cycle time.

[0026] In the above method, it may also be provided with: a recording instruction receiving unit, which receives a recording instruction to record at least one of the current position or posture of the robot as the teaching information at the teaching point in the teaching information recording unit, and the control unit controls so that at least one of the current position or posture of the robot is recorded as the teaching information at the teaching point in the teaching information recording unit based on the recording instruction.

[0027] According to this method, the recording instruction receiving unit receives the recording instruction from the operator and records at least one of the current position or posture of the robot as the teaching information at the teaching point in the teaching information recording unit. The robot control device can also record the teaching point at an appropriate position or timing, and record the teaching point based on the recording instruction of the operator according to the situation.

[0028] In the above aspect, the teaching information recorded in the teaching information recording unit may include at least any one of a moving speed, an interpolation type, and a passing accuracy of the robot.

[0029] According to this aspect, since detailed settings included in the teaching information are made regarding the movement of the robot, the robot can be made to avoid interfering objects more appropriately and the cycle time can be shortened.

[0030] In the above aspect, the moving speed, interpolation type, and passage accuracy of the robot may be set according to the operation speed for moving the robot.

[0031] According to this aspect, since detailed settings included in the teaching information are set according to the situation regarding the operation of the robot, the robot can be made to avoid interfering objects more appropriately and the tact time can be shortened.

[0032] In the above-described aspect, the robot is operated based on the robot operation control instruction obtained by operating the operation terminal.

[0033] According to this aspect, since the robot is moved according to the operator's operation, the robot can avoid interfering objects and record the teaching point at an appropriate position or timing.

[0034] In the above aspect, the operation terminal is equipped with a sensor for detecting the motion of the operation terminal, and the robot motion control instruction is determined according to the detected motion of the operation terminal.

[0035] According to this method, the robot motion control instruction is determined according to the operation (action) result of the operation terminal intuitively operated (acted) by the operator. As a result, the robot can more appropriately avoid interference objects and record the teaching point at an appropriate position or timing because it moves according to the intuitive operation of the operator.

[0036] Effects of the Invention

[0037] According to the present invention, it is possible to provide a robot control device that records teaching points at appropriate positions or timings when generating teaching data. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 The functional blocks represent the functions of the robot control device 100 according to the embodiment of the present invention.

[0039] Figure 2 This is a diagram showing a specific example in which a plurality of teaching points are recorded in the robot control device 100 according to the embodiment of the present invention.

[0040] Figure 3 This is a diagram showing a specific example of causing a robot to avoid an interfering object by recording a plurality of teaching points.

[0041] Figure 4This is a diagram showing a specific example of setting the threshold values ​​of the moving distance and the rotation angle in accordance with the precision required for the robot's operation and / or the operation speed for operating the robot, with respect to whether or not to record as a teaching point.

[0042] Figure 5 This is a flowchart showing a robot control method M100 executed by the robot control device 100 according to an embodiment of the present invention.

[0043] Figure 6 This is a diagram showing a specific example of elements that are set according to the precision required for the robot's motion and / or the speed of operation for moving the robot, and are recorded as teaching information.

[0044] Figure 7 This is a diagram showing a specific example of a teaching operation in a welding process of a robot, and automatic recording and manual recording of teaching points recorded in the teaching operation.

[0045] Description of Reference Numerals

[0046] 10...Robots,

[0047] 20...Operation terminal,

[0048] 100...Robot control device,

[0049] 110...Teaching information recording unit,

[0050] 120...Robot Information Acquisition Department,

[0051] 130...Record determination section,

[0052] 140...Control Department,

[0053] P1~P6...teaching points,

[0054] S...ball,

[0055] T10, T11, T20~T22, T30...moving track,

[0056] M100...Robot control method,

[0057] S110~S150...Steps of robot control method M100 DETAILED DESCRIPTION

[0058] An embodiment of the present invention is described in detail below with reference to the accompanying drawings. In addition, the embodiment described below is only a specific example for implementing the present invention, and does not limit the present invention. In addition, in order to facilitate the understanding of the description, the same reference numerals are marked as much as possible for the same components in each drawing, and repeated descriptions are omitted.

[0059] <One Implementation Method>

[0060] [Structure of the robot control device]

[0061] Figure 1 1 is a functional block representing each function in the robot control device 100 according to one embodiment of the present invention. Figure 1 In the present invention, the robot control device 100 is connected to the robot 10 and the operation terminal 20 , and controls the operation of the robot 10 based on instructions from the operation terminal 20 operated by an operator.

[0062] The operation terminal 20 is typically a teaching pendant. An operator uses the teaching pendant to operate the robot 10 via the robot control device 100 and generates teaching data by recording the teaching work of the operation of the robot 10 .

[0063] The operation terminal 20 is equipped with various sensors (e.g., inertial sensors such as acceleration sensors and gyroscope sensors) for grasping the movement, inclination, speed, angle, and displacement of the operation terminal 20, and may also be equipped with an inertial measurement unit (IMU). In this case, if the operation terminal 20 is operated (acted) by the operator, the operation (action) of the operation terminal 20 is detected by various sensors, and the robot control device 100 moves the robot 10 based on the action control instruction of the robot 10 corresponding to the operation (action) result of the detected operation terminal 20. In other words, according to the (operation) action of the operation terminal 20, the robot 10 moves so as to correspond to the action.

[0064] Thus, the teaching operation of the robot 10 can be performed by a more intuitive operation (action) than inputting details to the buttons or touch panel provided in the teaching pendant. Regarding the motion control of the robot 10 and the recording of the teaching points in the teaching operation, there is a tendency to rely on the skills of the operator, but as long as the motion control of the robot 10 can be performed in accordance with the intuitive operation (action) on the operation terminal 20, the dependence on the operator can be reduced and the teaching points can be recorded appropriately.

[0065] In addition, as specific examples mounted on the operation terminal 20, inertial sensors and inertial measurement devices can be cited, but are not limited to these. As long as the movement, position, and displacement of the operation terminal 20 are detected, for example, cameras and optical sensors can also be used, and they can be used in combination.

[0066] Alternatively, the teaching operation may be performed by direct teaching in which the operator directly moves the robot 10 without using the operation terminal 20 such as a teaching pendant. The robot 10 is equipped with a force sensor and a torque sensor, for example, on the arm of the robot 10 to detect the force applied by the operator and generate teaching data by calculating the applied force, movement speed, and rotation angle.

[0067] In any teaching operation, when the operator records teaching information at a plurality of teaching points to generate teaching data, the robot 10 operates according to the teaching data so as to move between the plurality of teaching points.

[0068] The robot control device 100 generates teaching data by recording teaching information at a plurality of teaching points. As described in detail below, for example, when the robot 10 is a welding robot, the robot control device 100 generates teaching data while operating the robot 10 .

[0069] The robot control device 100 includes a teaching information recording unit 110 , a robot information acquisition unit 120 , a recording necessity determination unit 130 , and a control unit 140 .

[0070] The teaching information recording unit 110 records teaching information of at least one of the positions or postures of the robot 10 at a plurality of teaching points. The teaching information at the plurality of teaching points constitutes teaching data. In addition, the teaching information is information indicating the movement of the robot 10, and is not limited to information related to at least one of the positions or postures of the robot 10, and may also include information related to the moving speed, interpolation type, and passing accuracy of the robot 10 as described later. Furthermore, if the robot 10 is a welding robot, the teaching information may also include information related to the movement of the arm of the robot 10, information related to the protruding length of the welding wire fed from the front end of the welding torch, and the like.

[0071] The robot information acquisition unit 120 acquires information related to at least one of the current position or posture of the robot 10. For example, the robot information acquisition unit 120 acquires at least one of the position or posture of the end effector (the front end of the welding torch) of the robot 10. In addition, the robot information acquisition unit 120 may also acquire information related to at least one of the current position or posture of the robot 10 based on the state of the six axes that control the movement of the robot 10 arm.

[0072] The recording necessity determination unit 130 determines whether to record at least one of the current position or posture of the robot 10 as the teaching information at the teaching point based on the movement of the robot 10. For example, the movement of the robot 10 includes the displacement of the robot 10 based on the comparison between at least one of the current position or posture of the robot 10 acquired by the robot information acquisition unit 120 and at least one of the position or posture of the robot 10 serving as a reference in the teaching information recorded in the teaching information recording unit 110.

[0073] Here, at least one of the positions or postures of the robot 10 serving as a reference is typically at least one of the positions or postures of the robot 10 that has been most recently recorded as teaching information at a teaching point in the teaching information recording unit 110. The recording necessity determination unit 130 determines whether to record at least one of the current position or posture of the robot 10 as teaching information at a teaching point based on how much at least one of the current position or posture of the robot 10 has shifted relative to at least one of the most recently recorded positions or postures of the robot 10.

[0074] The control unit 140 controls so that when the recording determination unit 130 determines that at least one of the current position or posture of the robot 10 is to be recorded as teaching information, at least one of the current position or posture of the robot 10 is recorded as teaching information at the teaching point in the teaching information recording unit 110.

[0075] [Movement trajectory following multiple teaching points]

[0076] Figure 2 FIG. 1 is a diagram showing a specific example in which a plurality of teaching points are recorded in the robot control device 100 according to one embodiment of the present invention. Figure 2 As shown in (A) of FIG. 1 , the robot control device 100 records teaching information at a plurality of teaching points P1 to P6 in the teaching operation and moves the robot 10 (for example, a welding torch) located at point P1 to point P6 (movement trajectory T10 ).

[0077] More specifically, the robot control device 100 moves the robot 10 at the point P1 by a given distance (e.g., 50 mm), and when the robot 10 is at the point P2, at least one of the current position or posture of the robot 10 is recorded as the teaching information at the teaching point in the teaching information recording unit 110. That is, when the robot 10 is at the point P2 which is about to exceed the range of the sphere S represented by the radius of 50 mm from the point P1, at least one of the position or posture of the robot 10 is recorded as the teaching information at the teaching point P2 in the teaching information recording unit 110. Similarly, when the robot 10 is at the point P3 which is about to exceed the range of the sphere S represented by the radius of 50 mm from the point P2, at least one of the position or posture of the robot 10 is recorded as the teaching information at the teaching point P3 in the teaching information recording unit 110. Furthermore, the same applies to the points P4, P5, and P6.

[0078] like Figure 2 As shown in (B), the robot control device 100 moves the robot 10 so that it follows the multiple teaching points P1 to P6 (movement trajectory T20) recorded in the teaching information recording unit 110 during the teaching operation. In this way, every time the robot 10 moves 50 mm, at least one of the current position or posture of the robot 10 is recorded as the teaching information at the teaching point, thereby generating teaching data. Therefore, the robot 10 can be moved along the movement trajectory T20 that is the same as or similar to the movement trajectory T10 during the teaching operation. In addition, since the teaching points are automatically recorded at appropriate positions or timings, the dependence on the operator's skills can be reduced.

[0079] In addition, here, the recording necessity determination unit 130 sets 50 mm as a given distance (threshold) as a reference for determining whether to record the teaching information at the teaching point, and determines that at least one of the current position or posture of the robot 10 is recorded as the teaching information at the teaching point every time the robot 10 moves 50 mm, but the given distance (threshold) is not limited to this. For example, it can be appropriately set according to the type, size, performance, required processing, and tact time of the robot 10.

[0080] In addition, the given distance (threshold value) is not limited to the moving distance of the robot 10, and for example, the given angle (threshold value) may be set for the rotation angle of the robot, arm, end effector, and other tools. Specifically, the recording necessity determination unit 130 may also set 10 degrees as the given angle (threshold value) as a reference for determining whether to record the teaching information at the teaching point, and whenever the robot 10 rotates 10 degrees, at least one of the current position or posture of the robot 10 is recorded as the teaching information at the teaching point.

[0081] Furthermore, both the moving distance and the rotation angle may be set as thresholds. The recording necessity determination unit 130 sets a given distance (e.g., 50 mm) and a given angle (e.g., 10 degrees) as a reference for determining whether to record the teaching information at the teaching point. Then, the recording necessity determination unit 130 determines that at least one of the current position or posture of the robot 10 is to be recorded as the teaching information at the teaching point, based on the robot 10 moving 50 mm or rotating 10 degrees.

[0082] Alternatively, the determination criterion may be set by combining the moving distance and the rotation angle. Alternatively, if the robot 10 moves 25 mm and rotates 5 degrees, the recording necessity determination unit 130 determines to record at least one of the current position or posture of the robot 10 as the teaching information at the teaching point.

[0083] By setting an appropriate threshold value according to the situation, the robot control device 100 can automatically record the teaching point at an appropriate position or timing based on the operation of the robot 10. This can reduce the reliance on the operator's skills.

[0084] In addition, Figure 2 In the description, at least one of the positions or postures of the robot 10 to be used as a reference is described as at least one of the positions or postures of the robot 10 that has been recorded most recently, but the present invention is not limited thereto. For example, at least one of the positions or postures of the robot 10 that is set as a reference by the operator may be used. As specific examples, the starting point for starting the teaching operation, the welding starting point and welding ending point in the welding process, the retreat point for retreating the welding torch in each process, and the restart point when the operator hesitates in the operation during the teaching operation, other reference points, etc. are included.

[0085] Figure 3 FIG. 1 is a diagram showing a specific example of making a robot avoid interference objects by recording a plurality of teaching points. Figure 3 As shown in (A) of FIG. 1 , the operator avoids the interfering object and moves the welding torch from the starting point to the ending point along the movement trajectory T30.

[0086] like Figure 3 As shown in (B), by using Figure 2 To describe the teaching operation, the robot control device 100 records the teaching information at the plurality of teaching points P1 to P6 in the teaching information recording unit 110 and moves the robot 10 located at the point P1 to the point P6 (movement trajectory T11 ).

[0087] like Figure 3As shown in (C), the robot control device 100 avoids the interfering object (movement trajectory T21) by moving the robot 10 in the teaching operation so that the robot 10 follows the plurality of teaching points P1 to P6 recorded in the teaching information recording unit 110. On the other hand, if the recording of the teaching point between point P1 and point P6 depends on the operator's skills and the operator records only point P3 as a teaching point, the movement trajectory between point P3 and point P6 is not properly recorded, and the robot 10 may not be able to avoid the interfering object (movement trajectory T22).

[0088] In addition, the recording determination unit 130 sets a given distance (threshold) and / or a given angle (threshold), which is used as a basis for determining whether to record the teaching information at the teaching point based on whether the robot 10 has performed an action above the threshold. However, the threshold can also be set to a fixed value (for example, 50 mm and 10 degrees, etc.) as described above, or can be set to a variable value corresponding to the status of the teaching operation.

[0089] For example, the given distance (threshold) and / or the given angle (threshold) may be set in accordance with the precision required for the operation of the robot 10 , or may be set in accordance with the operation speed for operating the robot 10 .

[0090] Figure 4 This is a diagram showing a specific example of setting threshold values ​​of movement distance and rotation angle in accordance with the precision required for the robot's motion and / or the speed of operation for moving the robot, with respect to whether or not to record as a teaching point.

[0091] exist Figure 4 In the case where the precision required for the movement of the robot 10 is not high (low precision is sufficient) and the operation speed in the teaching operation is high, the threshold is set large (movement distance = 100 mm, rotation angle = 15 degrees). On the other hand, when the precision required for the movement of the robot 10 is high and the operation speed in the teaching operation is low, the threshold is set small (movement distance = 50 mm, rotation angle = 10 degrees).

[0092] As a specific example, when there is no interference nearby and rough movement is sufficient, the robot 10 can move with low precision, and the distance between teaching points is extended by increasing the threshold value, and the number of teaching points recorded is reduced. On the other hand, when the robot 10 is close to the welding start position and moves near an interference, high precision is required for the robot 10's movement, and the distance between teaching points is shortened by lowering the threshold value, and the number of teaching points recorded is increased.

[0093] In addition, in the teaching operation, the operation speed for moving the robot 10 is high, assuming that the operator is roughly performing the teaching operation, and by increasing the threshold, the distance between the teaching points is extended, and the number of teaching points recorded is reduced. On the other hand, in the teaching operation, the operation speed for moving the robot 10 is low, assuming that the operator is carefully and accurately performing the teaching operation, and by lowering the threshold, the distance between the teaching points is shortened, and the number of teaching points recorded is increased. In the case where the operator performs a teaching operation based on direct teaching to directly move the robot 10, this assumption is preferably applied.

[0094] In this way, by setting the given distance (threshold) and / or the given angle (threshold) according to the precision required for the movement of the robot 10 and / or the operation speed for moving the robot 10, the teaching point can be recorded at an appropriate position or timing according to the situation. As a result, the robot 10 can appropriately avoid interference objects and shorten the cycle time.

[0095] In addition, here, high accuracy and low accuracy are set for the accuracy required for the movement of the robot 10, and two thresholds of high speed and low speed are set for the operation speed of moving the robot 10 in the teaching operation, but it is not limited to this. For example, three stages of high accuracy, medium accuracy and low accuracy, three stages of high speed, medium speed and low speed can be set, and five stages such as levels 1 to 5 can be set, and thresholds corresponding to each of the three stages or more can be set. Regarding the threshold, if more stages are set, the teaching point can be recorded at a more appropriate position or timing according to the situation, which brings about the effect that the robot 10 can avoid interference objects more appropriately and further shorten the cycle time.

[0096] The threshold values ​​set in stages are set according to the accuracy required for the operation of the robot 10 and / or the operation speed for operating the robot 10 during the teaching operation, but are not limited to this. For example, the threshold values ​​may be changed by the operator according to the situation.

[0097] In addition, although it is described here that the thresholds are set in stages to automatically record the teaching points at appropriate positions or at regular intervals according to the situation, it is not limited to automatically recording all teaching points. For example, the robot control device 100 may also have a recording instruction receiving unit (not shown), and some teaching points may be manually recorded.

[0098] The recording instruction receiving unit receives a recording instruction to record at least one of the current position or posture of the robot 10 as teaching information at a teaching point in the teaching information recording unit 110. As a specific example, there are cases where the robot 10 performs regular movements such as linear movement and circular movement, where the operator is hesitant about the operation, where the operator performs the operation while conducting a discussion, where ultra-high precision movement is required for the robot 10, and other special cases. In these cases, the automatic recording function of the teaching point is disabled, and the operator can manually record the teaching point at an appropriate position or at a fixed time.

[0099] [Robot control method]

[0100] Next, a method of recording teaching information at a plurality of teaching points in the teaching information recording unit 110 while operating the robot 10 in the teaching work will be specifically described in detail.

[0101] Figure 5 1 is a flowchart showing a robot control method M100 executed by the robot control device 100 according to one embodiment of the present invention. Figure 5 In the embodiment, the robot control method M100 includes steps S110 to S150 , and each step is executed by a processor included in the robot control device 100 .

[0102] In step S110, the robot control device 100 determines whether the automatic recording function of the teaching point is valid. For example, when the operator sets the automatic recording function of the teaching point to be valid, or when the operator wishes to manually record the teaching point, the automatic recording function is disabled. In addition, the automatic recording function may be enabled when the robot 10 is moved to the starting position of the teaching operation, and disabled when the robot 10 is moved to the ending position of the teaching operation.

[0103] The robot controller 100 proceeds to the process of step S120 if the automatic recording function of the teaching points is valid (step S110: Yes), and ends the process if it is invalid (step S110: No).

[0104] In step S120 , the robot controller 100 obtains information on at least one of the current position and posture of the robot 10 .

[0105] In step S130, the robot control device 100 obtains at least one of the position or posture of the robot 10 that serves as a reference from the teaching information recorded in the teaching information recording unit 110. As a specific example, the robot control device 100 may obtain at least one of the position or posture of the robot 10 that is most recently recorded in the teaching information recording unit 110 as the teaching information at the teaching point.

[0106] In step S140, the robot control device 100 determines whether to record at least one of the current position or posture of the robot 10 obtained in step S120 as teaching information at the teaching point in the teaching information recording unit 110. For example, the robot control device 100 compares at least one of the current position or posture of the robot 10 obtained in step S120 with at least one of the position or posture of the robot 10 obtained in step S130 to determine whether a displacement exceeding a preset threshold value (movement distance and / or rotation angle) has occurred.

[0107] When the robot control device 100 determines that at least one of the current position or posture of the robot 10 obtained in step S120 is to be recorded as the teaching information at the teaching point in the teaching information recording unit 110, it proceeds to the processing of step S150 (step S140 "Yes"); when it determines that it is not to be recorded, it returns to the processing of step S110 (step S140 "No").

[0108] In step S150 , the robot control device 100 records at least one of the current position and posture of the robot 10 acquired in step S120 as teaching information at the teaching point in the teaching information recording unit 110 , and returns to the process of step S110 .

[0109] As described above, according to the robot control device 100 and the robot control method M100 according to one embodiment of the present invention, the robot information acquisition unit 120 acquires information related to at least one of the current position or posture of the robot 10, and the recording determination unit 130 determines whether to record at least one of the current position or posture of the robot 10 as the teaching information at the teaching point based on whether the robot 10 has moved more than the threshold value (movement distance and / or rotation angle). Then, the control unit 140 controls so that when it is determined to record as the teaching information, at least one of the current position or posture of the robot 10 is recorded as the teaching information at the teaching point in the teaching information recording unit 110. As a result, since the robot control device 100 can record the teaching point at an appropriate position or timing, it can reduce the dependence on the operator's skills, and the robot can appropriately avoid interference objects.

[0110] In addition, in the present embodiment, the recording necessity determination unit 130 determines whether to record at least one of the current position or posture of the robot 10 as the teaching information at the teaching point based on whether the robot 10 has moved by more than a threshold value (movement distance and / or rotation angle), but it is also possible to determine whether to record at least one of the current position or posture of the robot 10 as the teaching information at the teaching point every time a given time has passed. Here, the so-called given time includes not only the time when the position or angle of the robot 10 changes and is recognized as actually moving, but also the time when the position or angle of the robot 10 does not change due to a direction change, a process switching, etc. and is recognized as stopped, and the time of the stop can also be included in the elapsed time.

[0111] For example, the given time (threshold) is set to 1 second, and the recording determination unit 130 determines that at least one of the current position or posture of the robot 10 is to be recorded as the teaching information at the teaching point every time 1 second has passed. The control unit 140 can also control so that the teaching information recording unit 110 is recorded.

[0112] Furthermore, the given time (threshold) can be set to a fixed value or set to a variable value according to the status of the teaching operation. Figure 4 As described above, the speed is set in stages according to at least one of the precision required for the operation of the robot 10 and the speed at which the robot 10 is operated.

[0113] <Others>

[0114] In the above-mentioned embodiment, at least one of the current position or posture of the robot 10 is recorded as teaching information at the teaching point in the teaching information recording unit 110, but the teaching information is not limited thereto, and other information may also be recorded as teaching information and included in the teaching data.

[0115] Figure 6 This is a diagram showing a specific example of an element that sets thresholds for movement distance and rotation angle according to the precision required for the robot's movement and / or the speed of operation for causing the robot to move, and then records them as teaching information. Figure 6 , it is shown that the moving speed, interpolation type, and passing accuracy are recorded as teaching information according to the precision required for the robot's operation and / or the operation speed of operating the robot.

[0116] For example, when low precision is required for the movement of the robot 10, or when the operation speed in the teaching operation is high, the moving speed for moving the robot 10 is set to 100% (the set reference speed), and joint interpolation action is performed, and then the teaching information is recorded in a low-precision manner.

[0117] When high precision is required for the movement of the robot 10, or when the operating speed in the teaching operation is low, the moving speed for moving the robot 10 is set to 50% (a speed of about half the set reference speed), and joint interpolation action is performed, and the teaching information is recorded in a manner that the teaching point passes through with medium precision.

[0118] When ultra-high precision is required for the motion of the robot 10, or when the operation speed in the teaching operation is ultra-low, the teaching point is not automatically recorded, and the operator manually records the teaching point. In this case, the moving speed for moving the robot 10 is set to less than 50% (e.g., 500 cm / min), and a linear interpolation operation is performed, and the teaching information is recorded so that the teaching point passes through with high precision.

[0119] In this way, the detailed settings are recorded in the teaching information recording unit 110 in the form of being included in the teaching information after the robot 10 is operated. By generating teaching data, the robot 10 can avoid interference objects more appropriately based on the teaching data and shorten the cycle time.

[0120] Figure 7 This is a diagram showing a specific example of a teaching operation in a welding process of a robot, and automatic recording and manual recording of teaching points recorded in the teaching operation. Figure 7 , a state where teaching points are recorded (automatically recorded and manually recorded) according to the operation speed for moving the robot 10 in the teaching operation (steps 1 to 14) is shown.

[0121] The operator enables automatic recording (step 1), and the robot 10 is initially operated at high speed (step 2). At this time, since the threshold value that serves as a reference for recording teaching points is set to a relatively large value, the distance between the recorded teaching points is long and the number of teaching points is small.

[0122] As the robot 10 approaches the welding start point, the operator becomes cautious and operates the robot 10 at a low speed (step 3). At this time, since the threshold value that serves as a reference for recording teaching points is set to a relatively small value, the distance between the recorded teaching points is short and the number of teaching points is large.

[0123] When the robot 10 is near the welding start point, the operator becomes more cautious and the robot 10 is operated at an ultra-low speed (step 4). At this time, the teaching point is not automatically recorded, and when the robot 10 is at the welding start point, the operator manually records the teaching point (step 5).

[0124] Here, the operator invalidates the automatic recording (step 6 ), and teaches the welding process (step 7 ).

[0125] Then, when the robot 10 is located at the welding end point, the operator manually records the teaching point (step 8).

[0126] Again, the operator enables automatic recording (step 9), and the operator carefully moves the robot 10 to the retreat point at an ultra-low speed (step 10). At this time, the teaching point is set not to be automatically recorded, and when the robot 10 is at the retreat point, the operator manually records the teaching point (step 11).

[0127] Then, the robot 10 is operated at a low speed to move from the retreat point (step 12). At this time, since the threshold value that serves as a reference for recording a teaching point is set to a relatively small value, the distance between the recorded teaching points is short and the number of teaching points is large.

[0128] As the robot 10 moves away from the retreat point, the operator's operation becomes rough, and the robot 10 is operated at high speed to move to the initial (end) position (step 13). At this time, since the threshold value that serves as a reference for recording teaching points is set to a relatively large value, the distance between the recorded teaching points is long and the number of teaching points is small.

[0129] Finally, the operator invalidates the automatic recording to terminate the process (step 14).

[0130] In this way, the teaching point can be recorded automatically or manually, and the teaching point can be recorded at an appropriate position or timing according to the operation speed of the robot 10 during the teaching operation. As a result, the robot 10 can avoid interference objects appropriately while reducing the reliance on the operator's skills.

[0131] In addition, in the present embodiment, a welding robot is assumed to be used for the robot 10 for illustration, but the invention is not limited thereto. For example, a transport robot that transports parts in a production line and an assembly robot that assembles parts, etc., may be any other robot as long as they act in accordance with teaching data.

[0132] The embodiments described above are intended to facilitate understanding of the present invention and are not intended to limit the present invention. The various elements, configurations, materials, conditions, shapes, and dimensions of the embodiments are not limited to the examples and can be appropriately changed. In addition, the structures shown in different embodiments can be partially replaced or combined with each other.

Claims

1. A robot control device that generates teaching data while operating a robot, the robot control device comprising: a teaching information recording unit for recording teaching information constituting the teaching data, including at least one of the position or posture of the robot at a plurality of teaching points; a robot information acquisition unit configured to acquire information related to at least one of a current position or a current posture of the robot; a recording necessity determination unit that determines whether to record at least one of the current position or posture of the robot as teaching information at a teaching point based on the movement of the robot; and a control unit that controls, when determining that the teaching information is to be recorded, to record at least one of the current position or posture of the robot as the teaching information at the teaching point in the teaching information recording unit; The recording necessity determination unit determines whether to record at least one of the current position or posture of the robot as the teaching information at the teaching point based on at least one of the current position or posture of the robot and at least one of the position or posture of the robot serving as a reference in the teaching information recorded in the teaching information recording unit, and determines to record at least one of the current position or posture of the robot as the teaching information when a moving distance of the robot from at least one of the position or posture of the robot serving as the reference becomes greater than a given distance, or a rotation angle of the robot becomes greater than a given angle, The given distance and the given angle are variable values, and are set according to at least one of the precision required for the operation of the robot and the speed of operation for operating the robot.

2. The robot control device according to claim 1, characterized in that: At least one of the position or posture of the robot serving as the reference is at least one of the position or posture of the robot for which teaching information at a teaching point has been most recently recorded in the teaching information recording unit.

3. A robot control device that generates teaching data while operating a robot, the robot control device comprising: a teaching information recording unit for recording teaching information constituting the teaching data including at least one of the position or posture of the robot at a plurality of teaching points; a robot information acquisition unit configured to acquire information related to at least one of a current position or a current posture of the robot; a recording necessity determination unit that determines whether to record at least one of the current position or posture of the robot as teaching information at a teaching point every time a given time elapses; and a control unit for controlling so that, when it is determined that the teaching information is to be recorded, at least one of the current position or posture of the robot is recorded as the teaching information at the teaching point in the teaching information recording unit; The given time is set as a variable value according to the status of the teaching work, and is set according to at least one of the precision required for the operation of the robot and the speed at which the robot is operated in the teaching work.

4. The robot control device according to claim 1 or 3, characterized in that: The robot control device also has: a recording instruction receiving unit that receives a recording instruction to record at least one of the current position or posture of the robot as teaching information at a teaching point in the teaching information recording unit, The control unit performs control so that at least one of the current position or posture of the robot is recorded as teaching information at a teaching point in the teaching information recording unit based on the recording instruction.

5. The robot control device according to claim 1 or 3, characterized in that: The teaching information recorded in the teaching information recording unit includes at least any one of a moving speed, an interpolation type, and a passing accuracy of the robot.

6. The robot control device according to claim 5, characterized in that: The moving speed, interpolation type, and passing accuracy of the robot are set according to the operation speed for moving the robot.

7. The robot control device according to claim 1 or 3, characterized in that: The robot is operated based on a robot operation control instruction obtained by operating an operation terminal.

8. The robot control device according to claim 7, characterized in that: The operation terminal is equipped with a sensor for detecting the movement of the operation terminal. The robot motion control instruction is determined according to the detected motion of the operation terminal.