The present application is based on, and claims priority from JP Application Serial Number 2020-198135, filed Nov. 30, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.
The present disclosure relates to a method for supporting creation of a program, a program creation supporting apparatus, a program creation supporting program, and a storage medium.
JP-A-2014-233814 discloses a robot teaching assisting apparatus that adjusts a parameter on force control of a robot based on a designated value and a measurement value of a force sensor and generates a teaching operation window containing guidance information on input of the parameter.
However, in the technique disclosed in JP-A-2014-233814, it may be difficult to grasp a relationship between the parameter on force control and a target force in the force control.
An aspect of the present disclosure is directed to a method for supporting creation of a program for supporting creation of a program for a robot that performs work on an object by force control for controlling a force acting on the object to be a target force, including displaying a mark having an aspect indicating the target force on a display device, changing the aspect of the mark according to an operation on an input device by a user, and presenting a parameter in the force control corresponding to the aspect of the mark to the user.
Another aspect of the present disclosure is directed to a program creation supporting apparatus supporting creation of a program for a robot that performs work on an object by force control for controlling a force acting on the object to be a target force, including a display device displaying a mark having an aspect indicating the target force, an input device detecting an operation by a user, and a control circuit changing the aspect of the mark according to the operation, and presenting a parameter in the force control corresponding to the aspect of the mark to the user.
Another aspect of the present disclosure is directed to a non-transitory computer-readable storage medium storing a program creation supporting program for supporting creation of a program for a robot that performs work on an object by force control controlling a force acting on the object to be a target force, the program controlling a computer to execute processing including: displaying a mark having an aspect indicating the target force on a display device, changing the aspect of the mark according to an operation on an input device by a user, and presenting a parameter in the force control corresponding to the aspect of the mark to the user.
Another aspect of the present disclosure is directed to a storage medium readable by the computer, storing the above described program creation supporting program.
As below, an embodiment of the present disclosure will be explained with reference to the drawings. In the drawings, the same or similar elements may respectively have the same or similar signs and the overlapping explanation may be omitted.
As shown in
The robot 30 is, for example, an articulated robot having a six-axis arm moving at six degrees of freedom. The robot 30 includes a base, a manipulator supported by the base, an end effector attached to a mechanical interface of the manipulator, and a force sensor. The manipulator of the robot 30 includes a plurality of actuators driving respective joints of the manipulator and a plurality of encoders detecting rotation angles of the respective joints. The force sensor of the robot 30 detects the force acting on the object via the end effector.
The control apparatus 20 executes the program to control the manipulator and the end effector of the robot 30 and controls the robot 30 to perform work on the object. A signal corresponding to the force acting on the object is input from the force sensor of the robot 30 to the control apparatus 20. The control apparatus 20 performs force control on the robot 30 so that the force acting on the object may be a target force defined by the program. In the embodiment, the force may refer to a load, i.e., a force and torque. A force of a translational component may be referred to as “translational force” for distinction from the load.
Further, the control apparatus 20 controls the robot 30 so that a pose obtained from the encoders of the robot 30 may be a target pose defined by the program. The pose refers to, for example, a position and an attitude of a tool center point (TCP). The TCP is a reference for the position of the end effector of the robot 30.
The program creation supporting apparatus 10 includes a display device 11, an input device 12, a control circuit 13, and a communication interface (I/F) 16. The program creation supporting apparatus 10 can be configured using various general-purpose computers. The respective hardware of the program creation supporting apparatus 10 may be shared with the control apparatus 20. The display device 11 displays an image according to control by the control circuit 13. As the display device 11, for example, a display device such as a liquid crystal display or an organic light emitting diode display may be employed.
The input device 12 detects an operation by a user and outputs a signal according to the operation by the user to the control circuit 13. As the input device 12, for example, various input devices including a pointing device such as a mouse, a keyboard, a push button, and a touch sensor may be employed. As the display device 11 and the input device 12 integrally formed with each other, a touch-panel display may be employed.
The control circuit 13 includes a processing circuit 14 and a memory device 15. The processing circuit 14 forms a processing unit of a computer that processes calculations necessary for operation of the program creation supporting apparatus 10. The processing circuit 14 realizes various functions of the program creation supporting apparatus 10 described in the embodiment by executing, for example, a program creation supporting program stored in the memory device 15. As a processing unit forming at least a part of the processing circuit 14, various arithmetic logic circuits including, for example, a central processing unit (CPU), a digital signal processor (DSP), a programmable logic device (PLD), and an application specific integrated circuit (ASIC) may be employed. The processing circuit 14 may be formed using integrated hardware or a plurality of separate pieces of hardware.
The memory device 15 includes a computer-readable storage medium that stores the program creation supporting program representing a series of processing necessary for operation of the program creation supporting apparatus 10 and various kinds of data. As the storage medium, for example, a semiconductor memory or various disk media may be employed. The storage medium is not limited to a nonvolatile auxiliary storage device, but may include a volatile main storage device such as a register or a cache memory. At least a part of the storage medium may be formed using a part of the processing circuit 14. The memory device 15 may be formed using integrated hardware or a plurality of separate pieces of hardware.
The communication I/F 16 communicably connects to the control apparatus 20 by, for example, establishment of a communication link between the control apparatus 20 and itself according to the control by the processing circuit 14. The communication I/F 16 may include, for example, an antenna that transmits and receives a signal, a circuit that processes the signal transmitted in the communication link, and a receptable into which a plug of a communication cable is inserted. The communication I/F 16 transmits a program created in the program creation supporting apparatus 10 to the control apparatus 20. The communication I/F 16 may include a receptable into which a plug of an auxiliary storage device for storing the program created in the program creation supporting apparatus 10 is inserted.
For example, the processing circuit 14 executes the program creation supporting program and displays a creation window for creation of a program for the robot 30 to perform work on the display device 11. For example, the processing circuit 14 determines work to be performed by the robot 30 according to the operation on the input device 12 by the user and displays an image showing a sequence of motion in the work on the display device 11. The image showing the sequence of motion includes, for example, motion objects as blocks showing various kinds of motion. Thereby, the sequence of motion to be performed by the robot 30 is presented to the user.
The motion object is selected according to the operation on the input device 12 by the user, and thereby, the parameter becomes changeable. Regarding the parameter in force control of each motion, a default value is set with respect to each motion object in advance and stored in the memory device 15. The target force in the force control is determined by the parameter of each motion.
As shown in
In the simulation window 51, the mark A1 is displayed as an image in a virtual three-dimensional space with the robot image R showing the robot 30. The robot image R may show a pose corresponding to an initial position of each motion. Further, in the example shown in
The processing circuit 14 changes the aspect of the mark A1 according to the operation on the input device 12 by the user. The processing circuit 14 changes the target force in the force control for each motion of the robot 30 in correspondence with the aspect of the mark A1. Thereby, the processing circuit 14 calculates the parameter in the force control corresponding to the aspect of the mark A1. For example, the parameter in the force control includes at least one kind of parameter of the direction of the target force, the magnitude of the target force, and a parameter of mechanical impedance.
As shown in
The button B4 is displayed as, for example, “Firmness F” and operated when the parameter of the mechanical impedance of the transitional force of the target force is adjusted. The button B5 is displayed as, for example, “Firmness T” and operated when the parameter of the mechanical impedance of the torque of the target force is adjusted. Note that the parameter of the mechanical impedance contains at least one of a virtual elastic coefficient, a virtual viscosity coefficient, and a virtual mass coefficient. Hereinafter, the parameter of the mechanical impedance is simply referred to as “impedance parameter”.
In the example shown in
Accordingly, as shown in
In the torque adjustment mode, for example, the user moves the cursor Q on the simulation window 51 while pressing down the button of the mouse, and thereby, may adjust the length of the mark A2 in the virtual three-dimensional space. In the example shown in
Or, the magnitude of the translational force and the magnitude of the torque of the target force can be adjusted at the same time. For example, the processing circuit 14 displays the mark A1 and the mark A2 in the simulation window 51. The length of the mark A1 and the magnitude of the translational force may be adjusted by vertical movement of the cursor Q, and the length of the mark A2 and the magnitude of the torque may be adjusted by horizontal movement of the cursor Q.
In addition, the button B4 in
As shown in
As shown in
Note that the aspects of the mark A1 and the mark A2 may be changed by changing of the respective parameters in the parameter window 54. That is, the respective parameters in the parameter window 54 and the aspects of the mark A1 and the mark A2 affect each other.
Referring to
At step S1, the processing circuit 14 determines a motion object according to the operation on the input device 12 by the user and reads a target force in force control corresponding to the motion object from the memory device 15.
At step S2, the processing circuit 14 displays a mark A having an aspect indicating the target force read at step S1 on the simulation window 51. The mark A is one of the mark A1 and the mark A2.
At step S3, the processing circuit 14 receives an operation on the input device 12 by the user. At step S4, the processing circuit 14 changes the aspect of the mark A according to the operation detected at step S3.
At step S5, the processing circuit 14 calculates a parameter in force control corresponding to the aspect of the mark A changed at step S4. The display device 11 displays the parameter window 54 containing the calculated parameter. At step S6, the processing circuit 14 sets the parameter displayed in the parameter window 54 as a parameter in the task program according to the operation on the input device 12 by the user.
According to the program creation supporting apparatus 10, the mark A having the aspect indicating the target force is displayed, and the user may intuitively grasp a change of the target force. Further, the program creation supporting apparatus 10 presents the parameter in the force control corresponding to the aspect of the mark A, and the user may easily grasp a relationship between the target force and the parameter in the force control.
Furthermore, the program creation supporting apparatus 10 shows the parameter in the force control, which is difficult to grasp by a numerical value, by the aspect of the mark A such as a direction, a length, or a color, and the user may intuitively grasp the parameter in the force control. In addition, the presented parameter may be set in the task program, and creation of the task program may be simplified.
The embodiment is explained as above, however, the present disclosure is not limited to these disclosures. The configurations of the respective parts may be replaced by arbitrary configurations having the same functions, or arbitrary configurations in the respective embodiments may be omitted or added within the technical scope of the present disclosure. From these disclosures, various alternative embodiments would be clear to a person skilled in the art.
For example, as shown in
In the simulation window 51, colors of a plurality of arrows may be changed according to whether or not components of the target force used in the force control is enabled. For example, in the example shown in
The present disclosure obviously includes other various embodiments such as configurations in which the above described respective configurations are mutually applied, not described as above. The technical scope of the present disclosure is defined only by the matters used to specify the invention according to the appended claims appropriate from the above description.
Number | Date | Country | Kind |
---|---|---|---|
2020-198135 | Nov 2020 | JP | national |