The present application is based on, and claims priority from JP Application Serial Number 2020-201003, filed Dec. 3, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.
The present disclosure relates to a non-transitory computer-readable storage medium and a teaching method for a robot.
JP-A-2018-202514 discloses an information processing apparatus for performing teaching of a robot. In the related art, the trajectory of the robot is superimposed and displayed on an image of the robot, and the trajectory portion close to the singular configuration of the robot may be visually distinguished in display.
However, in the related art, there is a problem that it is difficult to easily recognize an operation to avoid the singular configuration in the trajectory portion close to the singular configuration.
According to a first aspect of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is provided. The computer program controls a processor to execute visualizing processing of displaying virtual lines visualized in positions of axial lines with respect to a plurality of twisting joints of a robot when a predetermined condition is satisfied.
According to a second aspect of the present disclosure, a teaching method for a robot is provided. The teaching method includes visualizing of displaying virtual lines visualized in positions of axial lines with respect to a plurality of twisting joints of a robot when a predetermined condition is satisfied.
The robot 100 includes a base 110 and an arm 120. The arm 120 is sequentially coupled by six joints J1 to J6. Of these joints J1 to J6, the three joints J1, J4, J6 are twisting joints and the other three joints J2, J3, J5 are bending joints. The twisting joint is a joint that can make twisting motion around an axial line of a rotation axis. In the embodiment, a six-axis robot is exemplified, however, a robot including an arbitrary arm mechanism having two or more twisting joints can be used. The robot 100 of the embodiment is a vertical articulated robot, however, a horizontal articulated robot may be used.
Generally, a configuration in which the axial lines of the two twisting joints are in the same straight line is a singular configuration because the joint angle is not uniquely obtained by inverse kinematics from coordinates in the orthogonal coordinate system. In consideration of the characteristics, the present disclosure is configured so that a teacher may easily recognize whether or not the configuration is close to a singular configuration and an operation to avoid the singular configuration.
The processor 310 functions as a teaching processing unit 312 that executes teaching processing of the robot 100. The function of the teaching processing unit 312 is realized by the processor 310 executing a teaching processing program TP stored in the memory 320. Note that part or all of the functions of the teaching processing unit 312 may be realized by a hardware circuit.
In the memory 320, robot attribute data RD and a robot control program RP are stored in addition to the teaching processing program TP. The robot attribute data RD contains various robot characteristics including the configuration and the movable range of the arm of the robot 100. The robot control program RP includes a plurality of commands for moving the robot 100.
In the robot display window W11, a simulation image containing a three-dimensional image of the robot 100 is displayed. Further, in the lower part of the robot display window W11, select buttons SB1 to SB3 are provided for selection of the axial lines to be superimposed and displayed on the robot 100 within the robot display window W11 of the axial lines of the plurality of twisting joints J1, J4, J6 of the robot 100. For notification of the closeness to the singular configuration to the teacher, it is preferable to select the axial lines of the two or more twisting joints. In the example of
Visualizing processing of displaying the visualized axial lines VJ4, VJ6 of the two twisting joints J4, J6 is executed when a predetermined condition is satisfied. For example, when one or more conditions preselected from the following exemplified conditions 1 to 4 are satisfied, satisfaction of “predetermined condition” may be determined.
Condition 1: Reception of an Instruction to Teach the Robot from the Teacher
For example, satisfaction of the condition 1 is determined when the type of the robot is selected using the robot select field RF. Or, in a case where the type of the robot is initially set in the teaching processing program TP, the satisfaction of the condition 1 may be determined when the teacher starts the teaching processing program TP.
Condition 2: Reception of an Instruction to Display a Plurality of Visualized Axial Lines from the Teacher
Satisfaction of the condition 2 may be determined when the teacher sets the select buttons SB1 to SB3 in
Condition 3: An Angle Between the Two Axial Lines of the Plurality of Axial Lines of the Plurality of Twisting Joints being Equal to or Smaller than a Predetermined Threshold
Whether or not the condition 3 is satisfied may be determined, when position and configuration of the robot 100 are changed by a jog operation by the teacher, by calculation of joint displacement using inverse kinematics from the position and configuration and obtainment of an angle of the bending joint J5. The threshold of the condition 3 is set to a value in a range from 3 to 10 degrees.
Satisfaction of the condition 4 may be determined when the orthogonal coordinate system including the robot coordinate system and the tool coordinate system is selected in the jog operation window W12.
In the embodiment, only the condition 1 is employed as the predetermined condition for starting display of the visualized axial line. Specifically, when the type of the robot is selected using the robot select field RF, display of the visualized axial lines VJ4, VJ6 is started with display of the three-dimensional image of the robot 100. Note that, when the condition 3 is employed as the predetermined condition for starting the display of the visualized axial lines VJ4, VJ6, the visualized axial lines VJ4, VJ6 are not displayed in the state of
The jog operation window W12 contains a coordinate system select field CF for selection of a coordinate system, a coordinate value field VF for designation of six coordinate values according to the selected coordinate system, a teaching point field TF for designation of a teaching point to be edited, a teaching point set button B1, and an end button B2. Increase or decrease buttons CB for increasing or decreasing values are placed on the right sides of the individual coordinate value fields VF and the right side of the teaching point field TF.
The coordinate system select field CF is a field for selection of arbitrary one of the robot coordinate system, the tool coordinate system, and the joint coordinate system. In the example of
At step S40 in
The above described changes of the display forms of the visualized axial lines VJ4, VJ6 shown in
At step S80 in
At step S100, whether or not teaching processing is completed is determined by the teacher. When the teaching processing is not completed, the process returns to step S40 and the above described steps S40 to S90 are repeated. On the other hand, when the teaching processing is completed, the processing in
As described above, in the above described first embodiment, the visualized axial lines VJ4, VJ6 as the virtual lines visualized in the positions of the axial lines are displayed with respect to the plurality of twisting joints J4, J6, and thereby, the teacher may easily determine the closeness to the singular configuration in which the axial lines of the two twisting joints J4, J6 are aligned in a straight line. Further, the teacher may easily recognize that the singular configuration is avoidable by the operation to set the angle between the two virtual lines not to 0 degrees.
In the second embodiment, the teacher executes teaching processing of the robot 100 using the teaching pendant 400. The teaching pendant 400 is configured to perform almost all processing and instructions except display of the simulation image of the teaching processing window W10 shown in
In the second embodiment, visualizing processing of displaying the visualized axial lines with respect to the twisting joints is performed by the head mounted display 500. That is, display by the head mounted display 500 is executed so that the teacher may visually recognize a state in which the plurality of visualized axial lines VJ4, VJ6 are displayed in the positions of the plurality of axial lines of the plurality of twisting joints of the robot 100 as a real machine. Regarding the conditions for starting display of the plurality of visualized axial lines VJ4, VJ6 and the display forms, those explained in the first embodiment can be applied.
Also, in the second embodiment, like the above described first embodiment, the visualized axial lines VJ4, VJ6 as the virtual lines visualized in the positions of the axial lines are displayed with respect to the plurality of twisting joints J4, J6, and thereby, the teacher may easily determine the closeness to the singular configuration in which the axial lines of the two twisting joints J4, J6 are aligned in a straight line. Further, the teacher may easily recognize that the singular configuration is avoidable by the operation to set the angle between the two virtual lines not to 0 degrees.
The present disclosure is not limited to the above described embodiments, but may be realized in various aspects without departing from the scope thereof. For example, the present disclosure can be realized in the following aspects. The technical features in the above described embodiments corresponding to the technical features in the following respective aspects can be appropriately replaced or combined to solve part or all of the problems of the present disclosure or achieve part or all of the effects of the present disclosure. The technical features not described as essential features in this specification can be appropriately deleted.
(1) According to a first aspect of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is provided. The computer program controls a processor to execute visualizing processing of displaying virtual lines visualized in positions of axial lines with respect to a plurality of twisting joints of a robot when a predetermined condition is satisfied.
According to the computer program, the virtual lines are displayed in the positions of the axial lines of the plurality of twisting joints, and thereby, the teacher may easily determine the closeness to the singular configuration in which the axial lines of the two twisting joints are aligned in a straight line. Further, the teacher may easily recognize that the singular configuration is avoidable by the operation to set the angle between the two virtual lines not to 0 degrees.
(2) In the above described computer program, the visualizing processing may be executed on a three-dimensional image of the robot contained in a simulation image for teaching of the robot.
According to the computer program, an operation to avoid the singular configuration may be easily recognized in the simulation image.
(3) In the above described computer program, the condition may include reception of an instruction to teach the robot from the teacher.
According to the computer program, a plurality of visualized axial lines may be displayed according to the instruction by the teacher.
(4) In the above described computer program, the condition may include reception of an instruction to display the virtual lines from the teacher.
According to the computer program, the virtual lines may be displayed according to the instruction by the teacher.
(5) In the above described computer program, the condition may include an angle between two axial lines of the axial lines of the plurality of twisting joints being equal to or smaller than a predetermined threshold.
According to the computer program, when the angle between the two axial lines is equal to or smaller than the threshold and the configuration is close to the singular configuration, the closeness to the singular configuration may be warned to the teacher by display of the plurality of visualized axial lines.
(6) In the above described computer program, the visualizing processing may include processing of changing a color of at least one of two virtual lines corresponding to the two axial lines to a color different from a color when the angle exceeds the threshold, when the angle between two axial lines of the axial lines of the plurality of twisting joints is equal to or smaller than the predetermined threshold.
According to the computer program, when the angle between the two axial lines is equal to or smaller than the threshold and the configuration is close to the singular configuration, the closeness to the singular configuration may be warned to the teacher by changing of the color of the virtual line.
(7) In the above described computer program, the visualizing processing may include processing of displaying an operation instruction to prompt the teacher to perform an operation to increase the angle between the two axial lines when the angle between two axial lines of the axial lines of the plurality of twisting joints is equal to or smaller than the predetermined threshold.
According to the computer program, an operation to separate the configuration from the singular configuration may be notified to the teacher.
(8) In the above described computer program, the visualizing processing may include processing of displaying a dangerous area showing closeness to a singular configuration near the two virtual lines corresponding to the two axial lines when the angle between two axial lines of the axial lines of the plurality of twisting joints is equal to or smaller than the predetermined threshold.
According to the computer program, the dangerous area close to the singular configuration may be notified to the teacher.
(9) According to a second aspect of the present disclosure, a teaching method for a robot is provided. The teaching method includes visualizing of displaying virtual lines visualized in positions of axial lines with respect to a plurality of twisting joints of a robot when a predetermined condition is satisfied.
According to the teaching method, the virtual lines are displayed in the positions of the axial lines of the plurality of twisting joints, and thereby, the teacher may easily determine the closeness to the singular configuration in which the axial lines of the two twisting joints are aligned in a straight line. Further, the teacher may easily recognize that the singular configuration is avoidable by the operation to set the angle between the two virtual lines not to 0 degrees.
The present disclosure can be realized in other various aspects than those described as above. For example, the present disclosure may be realized in aspects of a robot system including a robot and a robot control apparatus, a computer program for realizing functions of the robot control apparatus, a non-transitory storage medium in which the computer program is recorded, etc.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2020-201003 | Dec 2020 | JP | national |