Computer program, method for creating a control program for a robot, and system for executing a process for creating a control program for a robot
The computer program and system address the challenge of reviewing and correcting teaching points by displaying and storing operation screens associated with robot arm control points, enhancing the accuracy of teaching point settings.
Patent Information
- Application Number
- JP2021006903
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-20
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-01-20
AI Technical Summary
Conventional robot teaching pendants lack the ability to store information necessary for judging the appropriateness of teaching point settings, making it difficult to review and correct these settings effectively.
A computer program and system that display an operation screen for manipulating the position and orientation of a robot arm's control point, store this information as teaching points, and associate the operation screen with the teaching points, allowing for review and correction.
Enables the reproduction of the operation screen at the time of teaching point setting, facilitating accurate judgment and correction of teaching points, ensuring their appropriateness.
Smart Images

Figure 0007533235000007 
Figure 0007533235000004 
Figure 0007533235000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a computer program, a method for creating a control program for a robot, and a system for executing a process for creating a control program for a robot. [Background technology]
[0002] Patent Document 1 discloses a technology for teaching a robot using a teaching pendant. The teaching pendant of this prior art has a graphic display function and is capable of graphically displaying the teaching points of the robot control program and the tip of the robot arm. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 9-085655 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the conventional technology, the information that can be used as a basis for judgment when setting teaching points is not stored, so when reviewing teaching points, it is difficult to determine whether the setting of the teaching points is appropriate. [Means for solving the problem]
[0005] According to a first aspect of the present disclosure, there is provided a computer program for causing a processor to execute a process for creating a control program for a robot. This computer program causes the processor to execute the following processes: (a) a process for displaying an operation screen for manipulating the position and orientation of a control point of a robot arm, (b) a process for storing the position and orientation of the control point as a teaching point in response to a user's instruction, and (c) a process for storing the operation screen when the instruction is received in the process (b) in association with the teaching point stored in response to the instruction.
[0006] According to a second aspect of the present disclosure, there is provided a method for creating a control program for a robot, the method including the steps of: (a) displaying an operation screen for manipulating a position and a posture of a control point of a robot arm; (b) storing the position and posture of the control point as a teaching point in response to a user's instruction; and (c) storing the operation screen when the instruction is received in the step (b) in association with the teaching point stored in response to the instruction.
[0007] According to a third aspect of the present disclosure, there is provided a system for executing a process of creating a control program for a robot. The system includes a display unit that displays an operation screen for operating a position and a posture of a control point of a robot arm, a storage unit that stores information related to the process of creating the control program, and a control unit, and the control unit executes (a) a process of displaying the operation screen on the display unit, (b) a process of storing the position and posture of the control point as a teaching point in the storage unit in response to a user's instruction, and (c) a process of storing the operation screen when the instruction is received in the process (b) in the storage unit in association with the teaching point stored in response to the instruction. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is an explanatory diagram of a robot system according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram of an information processing device. [Diagram 3]13 is a flowchart showing the procedure of a teaching process. [Figure 4] FIG. 13 is an explanatory diagram showing an example of an operation screen for teaching processing. [Diagram 5] FIG. 11 is an explanatory diagram showing an example of a captured image captured when a teaching point is stored. [Figure 6] 11 is a flowchart showing the procedure of a process for confirming teaching contents. [Figure 7] FIG. 11 is an explanatory diagram showing a state in which a captured image of an operation screen associated with a teaching point is displayed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] FIG. 1 is an explanatory diagram showing a robot system in an embodiment. The robot system includes a robot 100, a control device 200 that controls the robot 100, an information processing device 300, and a teaching pendant 400. The information processing device 300 is, for example, a personal computer. In FIG. 1, three axes X, Y, and Z that define an orthogonal coordinate system in a three-dimensional space are depicted. The X-axis and the Y-axis are horizontal axes, and the Z-axis is a vertical axis. In this example, the XYZ coordinate system is a robot coordinate system that has a reference point preset in the robot 100 as its origin.
[0010] The robot 100 includes a base 110 and a robot arm 120. The robot arm 120 is connected in sequence by six joints J1 to J6. Of these joints J1 to J6, three joints J1, J4, and J6 are torsion joints, and the other three joints J2, J3, and J5 are bending joints. Although a six-axis robot is illustrated in this embodiment, a robot having any robot arm mechanism having one or more joints can be used. In addition, although the robot 100 in this embodiment is a vertical multi-joint robot, a horizontal multi-joint robot may also be used.
[0011] A TCP (Tool Center Point) is set near the tip of the robot arm 120 as a control point of the robot arm 120. The control point is a reference point for controlling the robot arm. The TCP can be set at any position. Controlling the robot 100 means controlling the position and posture of this TCP.
[0012] A camera 130 is attached to the tip of the robot arm 120. This camera 130 is used to photograph the working area of the robot 100 and recognize the workpiece WK and object OB within the working area. Note that instead of mounting the camera 130 on the robot arm 120, it may be mounted on a stand or ceiling near the robot 100. Also, the camera 130 may be omitted. In general, an imaging system that captures images for robot work is called a "robot vision."
[0013] The teaching process for the robot 100 is performed using the information processing device 300 or the teaching pendant 400. In the embodiment described below, the teaching process is performed using the information processing device 300, but the teaching pendant 400 may also be used. Note that the teaching pendant 400 preferably has a function capable of displaying a three-dimensional image of the robot 100 on its operation screen.
[0014] 2 is a block diagram showing functions of the information processing device 300. The information processing device 300 has a processor 310, a memory 320, an interface circuit 330, and an input device 340 and a display unit 350 connected to the interface circuit 330. The control device 200 is further connected to the interface circuit 330. However, the information processing device 300 does not have to be connected to the control device 200.
[0015] The processor 310 functions as a teaching processing unit 312 that executes teaching processing of the robot 100. The functions of the teaching processing unit 312 are realized by the processor 310 executing a teaching processing program TP stored in the memory 320. However, some or all of the functions of the teaching processing unit 312 may be realized by a hardware circuit. The processor 310 corresponds to a "control unit" in this disclosure.
[0016] In addition to the teaching processing program TP, the memory 320 stores robot attribute data RD, work attribute data WD, object attribute data OD, a point file PP, and a robot control program RP. The robot attribute data RD includes various robot characteristics such as the configuration and movable range of the robot arm 120. The work attribute data WD includes attributes of the workpiece WK, such as the type and shape of the workpiece WK that is the work target of the robot 100. The object attribute data OD includes attributes such as the shape of the object OB that exists in the working area of the robot 100. Note that the workpiece attribute data WD and the object attribute data OD are optional. The point file PP is a file in which information regarding teaching points used in the robot control program RP is registered. The robot control program RP is composed of a plurality of operation commands that operate the robot 100.
[0017] FIG. 3 is a flowchart showing the procedure of the teaching process in one embodiment. In step S110, the user starts the teaching process program TP. In this disclosure, the user is also called an operator or an instructor. In step S120, the user specifies the robot type of the robot to be taught and the program name of the robot control program to be edited. In step S130, an operation screen for the specified type of robot is displayed on the display unit 350. The operation screen is a screen for operating the position and posture of the TCP of the robot arm 120.
[0018] 4 is an explanatory diagram showing an example of a teaching process window W10 including an operation screen. The teaching process window W10 includes a robot selection field RF for selecting a robot type, a program selection field PF for specifying a program name of a robot control program, a robot display window W11, a jog operation window W12, a program monitor W13, a vision screen W14, and an I / O monitor W15. Of these, the robot display window W11, the jog operation window W12, the program monitor W13, the vision screen W14, and the I / O monitor W15 correspond to the operation screen.
[0019] The robot display window W11 is a screen that displays a simulation image of the robot 100. As the simulation image, either a three-dimensional image or a two-dimensional image can be selectively displayed. When the three-dimensional image of the robot 100 is displayed, the user can arbitrarily change the direction of the viewpoint and the display magnification of the image by operating the mouse in the robot display window W11. In the example of FIG. 4, simulation images of the workpiece WK and object OB present in the working area of the actual robot 100 are also displayed in the robot display window W11. However, the display of the workpiece WK and object OB may be omitted.
[0020] The jog operation window W12 is a screen for the user to input a jog operation. The jog operation window W12 includes a coordinate system selection field CF for selecting a coordinate system, a coordinate value field VF for specifying six coordinate values according to the selected coordinate system, a teaching point field TF for specifying a teaching point to be edited, a teaching point setting button B1, and an end button B2. On the right side of the coordinate value field VF, an increase / decrease button CB1 for increasing / decreasing the coordinate value is arranged. On the right side of the teaching point field TF, an increase / decrease button CB2 for increasing / decreasing the teaching point number is arranged.
[0021] The coordinate system selection field CF is a field for selecting any one of the robot coordinate system, the tool coordinate system, and the joint coordinate system. In the example of FIG. 4, the coordinate system selection field CF is configured as a pull-down menu. The robot coordinate system and the tool coordinate system are Cartesian coordinate systems. When a jog operation is performed in the Cartesian coordinate system, the joint coordinate values are calculated by inverse kinematics, so singular postures become a problem. On the other hand, in the joint coordinate system, calculation by inverse kinematics is not required, so singular postures do not become a problem. Note that a singular posture is a state in which the angle between the axes of any two torsion joints becomes 0 degrees, and there is an advantage in that if the coordinate values are displayed in the joint coordinate system, it is easy to judge whether or not they are close to a singular posture.
[0022] The program monitor W13 is a screen that displays the robot control program being created or edited. The user can select one of the teaching points P1 to P3 displayed in the program monitor W13 as the teaching point to be edited.
[0023] The vision screen W14 is a screen that displays an image captured by the camera 130 as a robot vision. The vision screen W14 displays an image captured by the camera 130 of the actual robot 100 at the time of the teaching process.
[0024] The I / O monitor W15 is a screen that displays I / O information indicating the input and output states of the control device 200 of the robot 100 with respect to the teaching point being edited. The input state displays the presence or absence of signals input to the control device 200 from various sensors, buttons pressed by the worker, and the like. The output state displays the presence or absence of signals output from the control device 200 to various peripheral devices. In the state of FIG. 4, it is displayed that there is an input from "Sensor2" and an output to "Device1", with no other input or output. Such I / O information is used to determine what kind of work the robot 100 is performing at that teaching point.
[0025] As for the operation screen, some of the various pieces of information shown in Fig. 4 may be omitted. For example, the robot display window W11 may be omitted, but there is an advantage in that displaying the position and posture of the robot arm 120 in the robot display window W11 makes teaching work easier. Also, the vision screen W14 may be omitted, but by displaying the vision screen W14, it is possible to determine the appearance of the robot vision, such as the field of view and whether the focus is correct. Furthermore, the I / O monitor W15 may be omitted, but by displaying the I / O monitor W15, it is possible to determine what kind of work the robot 100 is performing from the input and output states of the control device 200 of the robot 100.
[0026] In step S140 in FIG. 3, a teaching point is selected by the user. The teaching point is selected, for example, by setting a value in a teaching point field TF. In step S150, the posture of the robot 100 is changed according to the user's jog operation in the jog operation window W12. The "posture of the robot 100" means the position and posture of the TCP. In step S160, the teaching point is set and stored. The teaching point is set by the user pressing the teaching point setting button B1. Coordinate values representing the position and posture of the TCP at the set teaching point are stored in the memory 320. Specifically, information about the set teaching point is registered in a point file PP for the robot control program RP. In step S170, the teaching processing unit 312 captures the operation screen at the time when the instruction to set the teaching point is received, and stores the captured image in the memory 320 in association with the teaching point. The association between the captured image and the teaching point is registered in the point file PP.
[0027] FIG. 5 is an explanatory diagram showing an example of a captured image CIM captured when a teaching point is stored. This captured image CIM is almost the same as the teaching processing window W10 shown in FIG. 4, but further includes additional information AF. The additional information AF includes time information TM indicating the date and time when the teaching point was stored, joint coordinate information JF indicating the coordinate values of the joint coordinate system, and a comment field CM. When the coordinate system used in the jog operation is an orthogonal coordinate system, the joint coordinate information JF is generated by converting the coordinate values of the orthogonal coordinate system into the coordinate values of the joint coordinate system. In the comment field CM, the user who set the teaching point can freely write a comment as a memo. Note that when a teaching point is stored, an empty comment field CM is first displayed on the screen, and after the user writes in it, it is stored in the memory 320 as a part of the captured image CIM.
[0028] The additional information AF of the captured image CIM may be omitted. However, if the captured image CIM includes time information TM, the date and time when the teaching point was set can be known when reviewing the teaching point, and this can be used as a reference for judging the situation when the teaching point was set. Also, if the captured image CIM includes joint coordinate information JF, it can be determined whether the robot arm is close to a singular posture from the coordinate values of the robot arm's joint coordinate system when reviewing the teaching point. Furthermore, if the captured image CIM includes a comment field CM, the user's intention when setting the teaching point can be known when reviewing the teaching point, and this can be used as a reference for judging the situation.
[0029] The captured image CIM of the operation screen may further include a three-dimensional image from which a viewpoint is automatically selected so that the robot arm 120 and the object OB as an obstacle are captured as much as possible. The process of creating such an additional three-dimensional image can be executed by image processing using pattern matching, for example. Specifically, a three-dimensional image of the robot arm 120 is stored in advance in the memory 320 as a template, and the additional three-dimensional image can be created by changing the magnification ratio of the image in the robot display window W11 so that the image matches the template to a high degree. Adding such a three-dimensional image to the captured image CIM has the advantage that the state of the robot arm 120 at the time when the teaching point is set can be easily understood from the captured image CIM.
[0030] In step S180, the user determines whether the teaching process is complete. If the teaching process is not complete, the process returns to step S140, and the above-described steps S140 to S180 are repeated. On the other hand, if the teaching process is complete, the user presses the end button B2 to end the teaching process in FIG. 3.
[0031] 6 is a flowchart showing the procedure for the confirmation process of the teaching contents. Steps S210 to S230 are the same as steps S110 to S130 in FIG. 3. That is, in step S210, the user starts the teaching process program TP. In step S220, the user specifies the robot type of the robot to be taught and the program name of the robot control program to be edited. In step S230, an operation screen for the robot of the specified type is displayed on the display unit 350.
[0032] In step S240, the user selects a teaching point to be reviewed. The selection of the teaching point here can be performed, for example, using a teaching point list that lists a plurality of teaching points registered in a point file PP for the robot control program RP. In step S250, the teaching processing unit 312 displays on the display unit 350 a captured image of the operation screen corresponding to the selected teaching point.
[0033] Fig. 7 is an explanatory diagram showing a state in which a captured image CIM of an operation screen associated with a teaching point is displayed. A teaching point list PL is displayed at the top of Fig. 7. The teaching point list PL is a list of multiple teaching points registered in a point file PP. The teaching point list PL includes, for each teaching point, a teaching point number, a label, a coordinate value, and a captured image display button. The label is a name indicating the operation to be performed at the teaching point.
[0034] When the user presses the capture image display button for one of the teaching points in the teaching point list PL, as shown in the lower part of Fig. 7, the capture image CIM associated with that teaching point is displayed on the display unit 350. This capture image CIM is the same as that shown in Fig. 6.
[0035] In step S260 in FIG. 6, the user determines whether or not the teaching point needs to be corrected. If the teaching point does not need to be corrected, the process in FIG. 6 ends. On the other hand, if the teaching point needs to be corrected, the process proceeds to step S270, where the user corrects and resets the teaching point using the operation screen described in FIG. 4. Correcting the teaching point means correcting the coordinate value of the teaching point. When the teaching point is corrected, the corrected teaching point is stored in the memory 320. Specifically, information about the teaching point reset after correction is registered in the point file PP for the robot control program RP. In step S280, the teaching processing unit 312 captures the operation screen at the time when the instruction to reset the teaching point is received, and stores the captured image in the memory 320 in association with the teaching point. The processes in steps S270 and S280 are almost the same as the processes in steps S160 and S170 in FIG. 3.
[0036] When a teaching point is corrected and reset, it is preferable to store in the memory 320 the captured image created when the teaching point was initially set together with the captured image of the operation screen created in step S280. In this way, it is preferable to store in the memory 320 a plurality of captured images created at the initial setting and the subsequent resetting for the same teaching point. In this case, a capture image list in which a plurality of captured images associated with the same teaching point are arranged in a selectable chronological order may be presented on the screen so that the user can arbitrarily select and display a captured image. In this way, the operation screen at the time of multiple setting times for the teaching point can be reproduced, so that it is easier to determine whether the teaching point is appropriate or not.
[0037] In step S290, the user determines whether or not the confirmation process of the teaching points is complete. If the confirmation process is not complete, the process returns to step S240, and the above-mentioned steps S240 to S290 are repeated. On the other hand, if the confirmation process is complete, the user ends the process of FIG. 6.
[0038] As described above, in the above embodiment, the operation screen of the robot arm at the time the user sets the teaching point is stored, so that the operation screen can be reproduced when reviewing the teaching point and can be used as reference information for determining whether the teaching point is appropriate.
[0039] Other embodiments: The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various forms without departing from the spirit of the present disclosure. For example, the present disclosure can be realized in the following aspects. The technical features in the above-mentioned embodiments corresponding to the technical features in each aspect described below can be appropriately replaced or combined in order to solve some or all of the problems of the present disclosure, or to achieve some or all of the effects of the present disclosure. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted.
[0040] (1) According to a first aspect of the present disclosure, there is provided a computer program for causing a processor to execute a process for creating a control program for a robot. This computer program causes the processor to execute (a) a process for displaying an operation screen for manipulating the position and orientation of a TCP, which is a control point of a robot arm, (b) a process for storing the position and orientation of the TCP as a teaching point in response to a user's instruction, and (c) a process for storing the operation screen when the instruction is received in the process (b) in association with the teaching point stored in response to the instruction. According to this computer program, the operation screen of the robot arm at the time the user sets the teaching point is stored, so that the operation screen can be reproduced when reviewing the teaching point and can be used as reference information for determining whether the teaching point is appropriate.
[0041] (2) The computer program may further cause the processor to execute (d) a process of displaying the operation screen corresponding to the teaching point in response to a designation of the teaching point received from the user after process (c). According to this computer program, when reviewing teaching points, the corresponding operation screen can be used as reference information.
[0042] (3) In the above computer program, the operation screen may include a three-dimensional image of the robot arm. This computer program can reproduce the position and posture of the robot arm when reviewing teaching points, making it possible to determine whether the teaching points are appropriate based on factors such as whether or not there is an abnormal posture.
[0043] (4) In the above computer program, the operation screen may include time information indicating a date and time when the teaching point was stored. According to this computer program, when reviewing a teaching point, the date and time when the teaching point was set can be known, and this can be used as information for determining the situation when the teaching point was set.
[0044] (5) In the above computer program, the operation screen may include an image captured by a robot vision. This computer program can determine whether the teaching points are appropriate based on the robot vision's field of view, focus, and other aspects of the appearance.
[0045] (6) In the above computer program, the operation screen may include coordinate values of a joint coordinate system of the robot arm. According to this computer program, when reviewing the teaching points, it is possible to determine whether or not the robot arm is close to a singular posture based on the coordinate values of the joint coordinate system of the robot arm.
[0046] (7) In the above computer program, the operation screen may include I / O information indicating the state of input and output in a control device of the robot. According to this computer program, when reviewing teaching points, it is possible to determine what task the robot is performing from the input and output states of the robot's control device.
[0047] (8) According to a second aspect of the present disclosure, there is provided a method for creating a control program for a robot, the method including the steps of: (a) displaying an operation screen for manipulating a position and a posture of a TCP, which is a control point of a robot arm; (b) storing the position and posture of the TCP as a teaching point in response to a user's instruction; and (c) storing the operation screen when the instruction is received in the step (b) in association with the teaching point stored in response to the instruction. According to this method, the operation screen of the robot arm that the user used as the basis for judgment when setting the teaching point is stored, so that the operation screen can be reproduced when reviewing the teaching point and can be used as reference information for determining whether the teaching point is appropriate.
[0048] (9) According to a third aspect of the present disclosure, a system for executing a process for creating a control program for a robot is provided. The system includes a display unit that displays an operation screen for operating a position and a posture of a control point of a robot arm, a storage unit that stores information related to the process for creating the control program, and a control unit, and the control unit executes (a) a process for displaying the operation screen on the display unit, (b) a process for storing the position and posture of the TCP as a teaching point in the storage unit in response to a user's instruction, and (c) a process for storing the operation screen when the instruction is received in the process (b) in the storage unit in association with the teaching point stored in response to the instruction. According to this system, the operation screen of the robot arm that the user used as a basis for judgment when setting the teaching point is stored, so that the operation screen can be reproduced when reviewing the teaching point and can be used as reference information for determining whether the teaching point is appropriate.
[0049] The present disclosure may be realized in various forms other than those described above, such as a robot system including a robot and a robot control device, a computer program for implementing the functions of the robot control device, a non-transitory storage medium on which the computer program is recorded, etc. [Explanation of symbols]
[0050] 100...robot, 110...base, 120...robot arm, 130...camera, 200...control device, 300...information processing device, 310...processor, 312...teaching processing unit, 320...memory, 330...interface circuit, 340...input device, 350...display unit, 400...teaching pendant
Claims
1. A computer program that causes a processor to execute a process for creating a control program for a robot, (a) a process of displaying an operation screen for manipulating the position and orientation of a control point of a robot arm; (b) storing the positions and orientations of the control points as teaching points in response to a user instruction; (c) a process of storing the operation screen when the instruction is received in the process (b) in association with the teaching point stored in response to the instruction; A computer program for causing the processor to execute the following:
2. 2. The computer program of claim 1, further comprising: (d) a process of displaying the operation screen corresponding to the teaching point in response to the designation of the teaching point received from the user after the process (c); A computer program for causing the processor to execute the following:
3. 3. A computer program according to claim 1 or 2, The operation screen includes a three-dimensional image of the robot arm.
4. A computer program according to any one of claims 1 to 3, A computer program, wherein the operation screen includes time information indicating the date and time when the teaching point was stored.
5. A computer program according to any one of claims 1 to 4, A computer program, wherein the operation screen includes an image captured by a robot vision.
6. A computer program according to any one of claims 1 to 5, A computer program, wherein the operation screen includes coordinate values of a joint coordinate system of the robot arm.
7. A computer program according to any one of claims 1 to 6, The operation screen is a computer program including I / O information indicating the input and output status in the robot's control device.
8. A method for creating a control program for a robot, comprising the steps of: (a) displaying an operation screen for operating a position and a posture of a control point of a robot arm; (b) storing the positions and orientations of the control points as teaching points in response to a user instruction; (c) storing the operation screen when the instruction is received in the step (b) in association with the teaching point stored in response to the instruction; A method comprising:
9. A system for executing a process for creating a control program for a robot, a display unit that displays an operation screen for operating the position and orientation of a control point of the robot arm; A storage unit that stores information related to a process for creating the control program; A control unit; Equipped with The control unit is (a) a process of displaying the operation screen on the display unit; (b) storing the positions and orientations of the control points as teaching points in the storage unit in response to a user instruction; (c) a process of storing, in the storage unit, the operation screen when the instruction is received in the process (b) in association with the teaching point stored in response to the instruction; Run the system.
Citation Information
Patent Citations
Robot teaching operation panel
JP1997085655A
Robot system
JP2009181526A
Industrial robot
JP2015229224A
Image processing device, control method thereof, and program
JP2020082273A
