Robot programming device, robot programming method, and program

The robot programming device automates the adjustment of tool position and orientation in a virtual space to optimize contact with workpiece models, addressing the need for skill-intensive adjustments and enhancing machining efficiency and quality.

WO2024224514A1PCT designated stage expired Publication Date: 2024-10-31FANUC LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/016470
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing robot programming devices require advanced operator skills to adjust the position and orientation of tool models relative to workpiece models to ensure optimal contact, particularly in applications like polishing where precise alignment is crucial, and there is a need for automation to optimize these adjustments.

Method used

A robot programming device with a three-dimensional model placement unit that arranges robot, tool, and workpiece models in a virtual space, featuring a teaching point position/orientation adjustment section to automatically adjust the tool model's position and orientation so that it contacts the workpiece model within specified limits, maximizing contact area and preventing excessive penetration.

Benefits of technology

Automates the adjustment of tool position and orientation, reducing operator skill requirements and labor, ensuring efficient machining by maintaining optimal contact and preventing over-shaving, thereby improving machining quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023016470_31102024_PF_FP_ABST
    Figure JP2023016470_31102024_PF_FP_ABST
Patent Text Reader

Abstract

This robot programming device comprises: a three-dimensional model disposition unit for disposing a robot model, a tool model, and a work model in a virtual space; a biting-depth designation unit for receiving designation of a tolerance for the biting depth of the tool model with respect to the work model; and a teaching-point position-posture adjustment unit for adjusting a position posture of the tool model at a teaching point of the robot program so that the tool model contacts the work model in a state in which the biting depth of the tool model with respect to the work model is equal to the tolerance or less.
Need to check novelty before this filing date? Find Prior Art

Description

Robot programming device, robot programming method, and program

[0001] The present disclosure relates to a robot programming device, a robot programming method, and a program.

[0002] There are known robot programming devices that are configured to arrange a robot model, a tool model, a workpiece model, etc. in a virtual space and to teach a robot model how to perform a task. For example, Patent Document 1 describes an offline programming device that has a function of creating a tool machining path by projecting a motion pattern onto one surface of a workpiece model. Patent Documents 2 and 3 describe robot programming devices that have a function of specifying a machining line on a workpiece model.

[0003] JP 2013-248677 A JP 2017-140684 A JP 2019-48358 A

[0004] In teaching using a robot programming device, for example, in processing such as polishing, in which the tool face is brought into contact with the workpiece surface, adjustments are required so that the tool face contacts the workpiece in the appropriate orientation at each teaching point generated on the workpiece. Such adjustments require advanced skills and require the proficiency of the operator. In teaching using a robot programming device, a technology is desired that can automate adjustments to optimize the position and orientation of the tool model relative to the workpiece model.

[0005] One aspect of the present disclosure is a robot programming device that includes a three-dimensional model placement unit that places a robot model, a tool model, and a work model in a virtual space, a penetration depth designation unit that accepts designation of an allowable value for the penetration depth of the tool model into the work model, and a teaching point position and attitude adjustment unit that adjusts the position and attitude of the tool model at a teaching point of a robot program so that the tool model contacts the work model while the penetration depth of the tool model into the work model is equal to or less than the allowable value.

[0006] These and other objects, features and advantages of the present invention will become more apparent from the detailed description of exemplary embodiments of the invention illustrated in the accompanying drawings.

[0007] 1 is a diagram illustrating an external configuration of a robot programming device according to an embodiment. It is a functional block diagram of the robot programming device. It is a flowchart showing a process of creating a robot program executed on the robot programming device. It is a diagram illustrating a situation in which a robot model, a tool model, and a workpiece model are arranged in a virtual space. It is a diagram illustrating an example of a motion pattern stored in a storage unit. It is a diagram illustrating an example of a three-dimensional shape stored in a storage unit. It is a diagram illustrating a situation in which a three-dimensional shape is arranged in a virtual space so that a motion pattern is projected onto at least one surface of a workpiece model. It is a diagram illustrating a situation in which a motion pattern is projected onto at least one surface of a workpiece model to generate a machining path for a tool. It is a diagram illustrating a situation in which the position and orientation of a tool model with respect to a workpiece model is determined. It is a diagram illustrating a situation in which a contact range is specified on a tool model. It is a diagram illustrating a situation in which the position and orientation of a teaching point of a robot program are adjusted so that the specified contact range always contacts the workpiece model. It is a diagram illustrating a situation in which a tool model is translated or rotated so that the tool model always contacts the workpiece model at a depth equal to or less than the maximum penetration depth. It is a diagram illustrating a situation in which a tool model is translated or rotated so that the contact area between the tool model and the workpiece model is maximized. It is a diagram illustrating a situation in which upper and lower limit values ​​of an offset amount are set in adjusting the position and orientation of the tool model. It is a diagram illustrating a situation in which a limit in the offset direction is specified in adjusting the position and orientation of the tool model. 1 is a flowchart showing a robot program creation process related to machining lines. FIG. 1 is a diagram showing a situation in which a robot model, a tool model, and a workpiece model are arranged in a virtual space. FIG. 2 is a diagram showing a situation in which a machining line is specified on a workpiece model. FIG. 3 is a diagram showing a situation in which the position and orientation of a tool model are set on a workpiece model. FIG. 4 is a diagram showing a situation in which a contact range is specified on a tool model. FIG. 5 is a diagram showing a situation in which the position and orientation of teaching points of a robot program are adjusted so that the specified contact range always contacts the workpiece model. FIG. 6 is a diagram showing a situation in which a tool model is translated or rotated so that the tool model always contacts the workpiece model at a depth equal to or less than the maximum penetration depth. FIG. 7 is a diagram showing a situation in which a tool model is translated or rotated so that the contact area between the tool model and the workpiece model is maximized.10A and 10B are diagrams illustrating a situation in which upper and lower limit values ​​of an offset amount are set in adjustment of the position and orientation of a tool model, and a situation in which a limit on an offset direction is specified in adjustment of the position and orientation of a tool model.

[0008] Next, embodiments of the present disclosure will be described with reference to the drawings. In the drawings, like components or functional parts are designated by like reference numerals. The scales of these drawings have been changed appropriately to facilitate understanding. Furthermore, the embodiment shown in the drawings is one example for implementing the present invention, and the present invention is not limited to the illustrated embodiment.

[0009] 1 is a diagram showing the external configuration of a robot programming device 10 according to one embodiment. The robot programming device 10 is a device that allows a robot model, a tool model, a workpiece model, etc. to be arranged in a virtual space and a robot program to be taught (programmed) in the virtual space. As will be described in detail below, the robot programming device 10 according to this embodiment provides a function for optimizing the contact state between the tool model and the workpiece model at teaching points in the robot program.

[0010] The robot programming device 10 may be configured as a PC (personal computer), a tablet terminal, or any other type of information processing device. The robot programming device 10 may have a hardware configuration as a general computer including a processor 11, memory (ROM, RAM, non-volatile memory, etc.), a storage unit 12, a display unit 13, an operation unit 14, an input / output interface, a network interface, etc. (see FIGS. 1 and 2 ). The storage unit 12 may be configured, for example, as a non-volatile memory or a hard disk drive. The display unit 13 may include, for example, a liquid crystal display. The operation unit 14 may include a keyboard, a mouse, or any other type of input device.

[0011] FIG. 2 is a functional block diagram of the robot programming device 10. As shown in FIG. 2, the robot programming device 10 includes a virtual space creation unit 101, a three-dimensional model placement unit 102, a three-dimensional shape placement unit 103, a machining path creation unit 104, a position and orientation determination unit 105, a machining line designation unit 106, a position and orientation designation unit 107, a contact range designation unit 111, a maximum penetration depth designation unit 112, an offset amount upper and lower limit value setting unit 113, an offset direction restriction designation unit 114, a teaching point position and orientation adjustment unit 115, and a robot program creation unit 116. These functional blocks may be realized by the processor 11 of the robot programming device 10 executing software. FIG. 2 also illustrates a memory unit 12. The memory unit 12 stores three-dimensional model data of various objects, operation patterns, three-dimensional shapes, various setting information related to teaching, robot programs, etc.

[0012] The virtual space creation unit 101 provides a function for creating a virtual space on the robot programming device 10. The three-dimensional model placement unit 102 provides a function for placing three-dimensional models of objects constituting a robot system model, such as a robot model, a tool model, and a workpiece model, in the virtual space.

[0013] The three-dimensional shape placement unit 103 provides a function of filling the surfaces of a predetermined three-dimensional shape with a predetermined movement pattern and placing the three-dimensional shape in virtual space so that the movement pattern is projected onto at least one surface of the workpiece model. The machining path creation unit 104 provides a function of creating a machining path by projecting the movement pattern on the three-dimensional shape onto at least one surface of the workpiece model. The position and orientation determination unit 105 provides a function of automatically determining the position or position and orientation of the tool model based on the created machining path and the normal direction of at least one surface of the workpiece model.

[0014] The processing line designation unit 106 provides a function for designating a processing line as a processing target portion on the workpiece model. The position and orientation designation unit 107 provides a function for designating the position or the position and orientation of the tool model relative to the designated processing line.

[0015] The contact range designation unit 111, the maximum penetration depth designation unit 112, the offset amount upper and lower limit value setting unit 113, the offset direction restriction designation unit 114, and the teaching point position and attitude adjustment unit 115 relate to functions for optimizing the contact state of the tool model with the workpiece model. The contact range designation unit 111 provides a function for setting a contact range between the tool model and the workpiece model on the tool model. For example, the contact range designation unit 111 may be configured to accept a user input or an input from an external device that designates a contact range between the tool model and the workpiece model. The maximum penetration depth designation unit 112 provides a function for setting a maximum penetration depth of the tool model with respect to the workpiece model. For example, the maximum penetration depth designation unit 112 may be configured to accept a user input or an input from an external device that designates a maximum penetration depth.

[0016] The offset amount upper and lower limit value setting unit 113 provides a function for setting upper and lower limit values ​​of the offset amount when adjusting the position and posture of the tool model at a teaching point of the robot program. For example, the offset amount upper and lower limit value setting unit 113 may be configured to accept a user input or an input from an external device that specifies the upper and lower limit values ​​of the offset amount. The offset direction restriction designation unit 114 provides a function for restricting a direction in which an offset amount is added when adjusting the position and posture of the tool model at a teaching point of the robot program. For example, the offset direction restriction designation unit 114 may be configured to accept a user input or an input from an external device that specifies the direction in which the offset is to be restricted.

[0017] The teaching point position and attitude adjustment unit 115 provides a function of adjusting the position and attitude of the tool model at a teaching point of the robot program so that the tool model contacts the workpiece model during machining. Note that, in this specification, adjusting the position and attitude refers to the adjustment of the position and attitude, and is a concept that includes cases where both the position and the attitude are adjusted, where only the position is adjusted, and where only the attitude is adjusted. For example, the teaching point position and attitude adjustment unit 115 has a function of adjusting the position and attitude of the tool model at a teaching point of the robot program so that one or more of the conditions specified by the contact range designation unit 111, the maximum penetration depth designation unit 112, the offset amount upper and lower limit value setting unit 113, the offset direction restriction designation unit 114, or the condition that the contact area between the tool model and the workpiece model is maximized are satisfied, and the tool model contacts the workpiece model during machining.

[0018] The robot program creation unit 116 provides a function of creating a robot program in accordance with the teaching information adjusted by the teaching point position and attitude adjustment unit 115 .

[0019] FIG. 3 is a flowchart showing a robot program creation process executed on the robot programming device 10. This robot program creation process is executed under the control of the processor 11. This operation example relates to a process for creating a robot program for performing processing such as polishing, in which a tool is applied to the surface of a workpiece. A substantially circular grinder model is used as the tool model. As will be described in detail below, this robot program creation process includes a function for optimizing the position and orientation of the tool model relative to the workpiece model. The robot program creation process will be described with reference to FIGS. 3 to 14.

[0020] First, the virtual space creation unit 101 generates a virtual space on the robot programming device 10. The virtual space corresponds to an actual work space in which a robot and a workpiece are placed. Then, the three-dimensional model placement unit 102 places a model of the robot system, including a robot model, a tool model, and a workpiece model, in the virtual space (step S11). Figure 4 shows the state in which the robot model 20M, the tool model 30M, and the workpiece model 40M are placed in the virtual space by the processing in step S11.

[0021] Next, in step S12, the three-dimensional shape placement unit 103 fills the surfaces of a predetermined three-dimensional shape with a predetermined movement pattern and places the three-dimensional shape in virtual space so that the movement pattern is projected onto at least one surface of the work model 40M.

[0022] The memory unit 12 stores a plurality of motion patterns that indicate the motion of the tool. FIG. 5 is a diagram illustrating an example of a motion pattern stored in the memory unit 12. As illustrated in FIG. 5, the motion pattern is a continuous trajectory that indicates the periodic motion of the tool. The motion pattern includes, for example, a uniform movement in one direction and repeated reciprocating motion in multiple directions generally perpendicular to the direction. FIG. 5 illustrates examples of motion patterns 61, 62, 63, and 64 that are approximately V-shaped, approximately U-shaped, approximately N-shaped, and approximately spiral-shaped. Other motion patterns may be used as long as the motion pattern involves moving the tool in one direction while reciprocating in directions generally perpendicular to the direction. The three-dimensional shape arrangement unit 103 may have a function of accepting a user operation to select one motion pattern from the plurality of motion patterns stored in the memory unit 12.

[0023] The memory unit 12 stores a plurality of types of three-dimensional shapes. FIG. 6 shows examples of three-dimensional shapes stored in the memory unit 12. In the example shown in FIG. 6, the memory unit 12 stores a three-dimensional shape 71 including a plurality of continuous planes and a three-dimensional shape 72 including a curved surface. Note that although the three-dimensional shape 71 has three continuous planes, the three-dimensional shape 71 may have only two continuous planes. The adjacent planes of the three-dimensional shape 71 form a right angle, but may also form an angle other than a right angle. In FIG. 6, the three-dimensional shape 72 forms part of the circumferential surface of a cylinder and has a fan-shaped end face. In FIG. 6, the central angle of the fan-shaped end face is 90°. The three-dimensional shape 72 may have a curved surface different from the circumferential surface of the cylinder.

[0024] In step S12, the worker selects one movement pattern from the plurality of movement patterns stored in the memory unit 12. Furthermore, the worker selects one three-dimensional shape from the plurality of three-dimensional shapes stored in the memory unit 12. When the three-dimensional shape is selected, the three-dimensional shape placement unit 103 fills at least one of the curved surfaces or the plurality of continuous planes of the selected three-dimensional shape with the selected movement pattern. Then, as shown in FIG. 7 , the three-dimensional shape placement unit 103 places the three-dimensional shape in the virtual space so that the movement pattern is projected onto at least one surface of the workpiece model 40M. Note that FIG. 7 illustrates, as an example, a situation in which a three-dimensional shape 73 filled with a movement pattern 62 is placed in the virtual space.

[0025] Next, as shown in Fig. 8, the machining path creation unit 104 projects the movement pattern onto at least one surface of the workpiece model 40M to generate a machining path for the tool (step S13). Fig. 8 shows, as an example, a situation in which the movement pattern 62 added to the three-dimensional shape 73 is projected onto the workpiece model 40M. As a result, a machining path P is created on the curved machining surface of the workpiece model 40M.

[0026] Next, in step S14, a process is performed to automatically determine the position or the position and orientation of the tool model 130M on the machining path generated as described above. Here, the position and orientation determination unit 105 automatically determines the position or the position and orientation of the tool model 30M based on the generated machining path P and the normal direction of the machining surface 41 of the workpiece model 40M. For example, as shown in FIG. 9 , the position and orientation determination unit 105 may determine the position and orientation of the tool model 30M so that the normal direction N1 on the machining path of the machining surface 41 of the workpiece model 40M coincides with the center line (rotation axis) C1 of the tool model 30M.

[0027] Next, in step S15, the teaching point position and attitude adjustment unit 115 performs processing to adjust the position and attitude of the teaching point. The expression "position and attitude of the teaching point" refers to the position and attitude of the tool at each teaching point defined as a machining path. The teaching point position and attitude adjustment unit 115 can perform adjustments to prevent the tool model 30M from cutting too much of the workpiece model 40M and to allow the tool model 30M to contact the workpiece model 40M over a wider area, thereby enabling efficient machining. The function of adjusting the position and attitude of the teaching point by the teaching point position and attitude adjustment unit 115 will be described below with reference to FIGS. 10A-10B and 11-14.

[0028] 10A , the contact range designation unit 111 accepts designation of a range on the tool model 30M that comes into contact with the workpiece model 40M. For example, if the tool model 30M is a disc-shaped grinder as shown in Fig. 10A , a circular area in the center of the bottom surface 31 is designated as the contact range A1. The contact range designation unit 111 may provide a graphical user interface that accepts an operation to designate the contact range on the tool model 30M by a graphical operation.

[0029] When a contact range A1 is specified for the tool model 30M via the contact range specification unit 111, the teaching point position and attitude adjustment unit 115 has a function of adjusting the position and attitude of the teaching point of the robot program so that the specified contact range always contacts the workpiece model 40M during operation. For example, the teaching point position and attitude adjustment unit 115 adjusts the position and attitude of the tool model 30M in the translational and rotational directions so that the contact range A1 always contacts the workpiece model 40M. FIG. 10B illustrates, as an example, a state in which the position and attitude of the tool model 30M are adjusted in the translational directions Tz and Ty and the rotational direction Rx by the teaching point position and attitude adjustment unit 115. Here, the translational direction Tz is a direction along the center line C1 of the tool model 30M, and the translational direction Ty is a direction perpendicular to the translational direction Tz. The rotational direction Rz represents a rotational direction around an axis perpendicular to the translational directions Tz and Ty, with the center position of the bottom surface of the tool model 30M as a reference.

[0030] The maximum penetration depth designation unit 112 accepts designation of the maximum penetration depth, which designates how deep the tool model 30M is allowed to penetrate into the machining surface 41 of the workpiece model 40M. The maximum penetration depth can be defined as a depth D from the machining surface 41, as exemplified in FIG. 11 . Therefore, in this case, the tool model 30M is allowed to penetrate up to a virtual surface 41a whose depth from the machining surface 41 is D. The "maximum penetration depth" corresponds to an allowable value that defines how far the tool model 30M is allowed to penetrate into the workpiece model 40M. The maximum penetration depth designation unit 112 functions as a penetration depth designation unit that accepts input of this allowable value.

[0031] When the maximum penetration depth is specified, the teaching point position and attitude adjustment unit 115 adjusts the tool model 30M by translating or rotating it so that the tool model 30M is always in contact with the workpiece model 40M at a depth equal to or less than the maximum penetration depth. Fig. 11 shows a situation in which the teaching point position and attitude adjustment unit 115 adjusts the position and attitude of the tool model 30M in the translation directions Tz and Ty and the rotation direction Rx.

[0032] The teaching point position and attitude adjustment unit 115 has a function of adjusting the position and attitude of the teaching point of the robot program so as to maximize the contact area between the tool model 30M and the workpiece model 40M. The teaching point position and attitude adjustment unit 115 can perform adjustment so as to maximize the contact area between the tool model 30M and the workpiece model 40M by translating or rotating the tool model 30M with respect to the workpiece model 40M as shown in Fig. 12. Fig. 12 shows a situation in which the teaching point position and attitude adjustment unit 115 adjusts the position and attitude of the tool model 30M in the translation directions Tz and Ty and the rotation direction Rx so as to maximize the contact area between the tool model 30M and the workpiece model 40M.

[0033] The offset amount upper and lower limit value setting unit 113 accepts settings of upper and lower limits of translational movement and upper and lower limits of rotational movement when adjusting the position and posture of the teaching point by translating and rotating the tool model 30M. When the upper and lower limit values ​​of the offset amount are set, the teaching point position and posture adjustment unit 115 adjusts the position and posture of the teaching point of the robot program so that the tool model 30M always contacts the workpiece model 40M within the range of the upper and lower limit values ​​of the offset amount.

[0034] 13 shows a situation in which an upper and lower limit range A2 is set for the offset amount in the translation direction Tz, an upper and lower limit range A3 is set for the offset amount in the translation direction Ty, and an upper and lower limit range A4 is set for the offset amount in the rotation direction Rz through settings via the offset amount upper and lower limit value setting unit 113. In this case, the teaching point position and attitude adjustment unit 115 adjusts the position and attitude of the tool model 30M so that the adjustment range for the translation direction Tz is within range A2, the adjustment range for the translation direction Ty is within range A3, and the adjustment range for the rotation direction Rx is within range A4.

[0035] The offset direction restriction designation unit 114 has a function of receiving an input that designates a direction in which the offset is to be restricted. For example, as shown in FIG. 14 , the operator can set the offset direction restriction designation unit 114 to allow adjustment in the translational direction but not allow adjustment in the rotational direction. In this case, as shown in FIG. 14 , the teaching point position and orientation adjustment unit 115 can adjust the position and orientation of the teaching point of the robot program so that the tool model 30M is always in contact with the workpiece model 40M while restricting the offset only in the translational direction.

[0036] The robot program creation unit 116 creates a robot program that reflects the adjustment contents of the position and orientation adjusted as described above by the teaching point position and orientation adjustment unit 115 for the teaching points set on the created machining path.

[0037] Next, an operational example of a process for creating a robot program for performing processing such as deburring, in which a tool is brought into contact with a workpiece, will be described. In this operational example, a processing line is set on a workpiece model by the robot programming device 10, and the position and orientation of a tool model are adjusted along this processing line. Fig. 15 is a flowchart showing the flow of a robot program creation process according to this operational example. This process is executed under the control of the processor 11 of the robot programming device 10.

[0038] First, the virtual space creation unit 101 generates a virtual space on the robot programming device 10. Then, the three-dimensional model placement unit 102 places a model of the robot system, including a robot model, a tool model, and a workpiece model, in the virtual space (step S21). Fig. 16 shows a state in which the robot model 20M, the tool model 130M, and the workpiece model 140M are placed in the virtual space by the processing in step S21. In this operation example, the tool model 130M is a model of a deburring tool.

[0039] Next, in step S22, the processing line designation unit 106 designates a processing line on the workpiece model 140M that corresponds to the trajectory along which the tool model 130M will be moved. The processing line designation unit 106 may have a function of extracting feature portions (shape features such as contour lines and surfaces) from the workpiece model 140M according to pre-specified conditions and identifying the processing line based on the extracted features. In this case, various conditions (length threshold, surface area threshold, etc.) for designating the contour line or surface can be designated as the conditions. Figure 17 shows an example in which a processing line L1 is designated on the ridge portion of a rectangle in the workpiece model 140M.

[0040] Next, in step S23, the position and orientation designation unit 107 sets the position or orientation of the tool model 130M on the designated processing line L1. The position and orientation designation unit 107 may accept a user input designating the position and orientation of the tool model 130M on the processing line L1. As illustrated in Fig. 18 , the position and orientation designation unit 107 may automatically set the position and orientation of the tool model 130M so that the tool model 130M is oriented in a vertical direction at each teaching point on the processing line L1 and the tip portion of the tool model 130M is positioned at each teaching point.

[0041] When the position and orientation of the tool model 130M on the processing line L1 are set in this manner, the teaching point position and orientation adjustment unit 115 adjusts the position and orientation of the tool model 130M so that the tool model 130M is always in contact with the workpiece model 140M during work (step S24). Hereinafter, the function of adjusting the position and orientation of the tool model 130M by the teaching point position and orientation adjustment unit 115 will be described.

[0042] The contact range designation unit 111 accepts designation of a range on the tool model 130M that contacts the workpiece model 140M. For example, if the tool model 130M is a deburring tool as shown in Fig. 19A, the region on the side of the tip of the tool is designated as the contact range A11.

[0043] When a contact range A11 is specified for the tool model 130M via the contact range specification unit 111, the teaching point position and orientation adjustment unit 115 has a function of adjusting the position and orientation of the teaching point of the robot program so that the specified contact range A11 always contacts the workpiece model 140M during operation. For example, the teaching point position and orientation adjustment unit 115 adjusts the position and orientation of the tool model 130M in the translational and rotational directions so that the contact range A11 always contacts the workpiece model 140M. FIG. 19B illustrates, as an example, a state in which the teaching point position and orientation adjustment unit 115 adjusts the position and orientation of the tool model 130M in the translational directions Tz and Ty and the rotational direction Rx so that the contact range A11 always contacts the workpiece model 140M. Here, the translational direction Tz is a direction along the center line (rotation axis) C2 of the tool model 130M, and the translational direction Ty is a direction perpendicular to the translational direction Tz. The rotation direction Rz represents the rotation direction around an axis perpendicular to the translation directions Tz and Ty, with the tip of the tool model 130M as the reference.

[0044] The maximum penetration depth designation unit 112 accepts designation of the maximum penetration depth, which designates the depth to which the tool model 130M is allowed to penetrate into the machining surface 141 of the workpiece model 140M. The maximum penetration depth can be defined as a depth D from the machining surface 141, as exemplified in Fig. 20. Therefore, in this case, the tool model 130M is allowed to penetrate into a virtual surface 141a whose depth from the machining surface 141 is D.

[0045] When the maximum penetration depth is specified, the teaching point position and attitude adjustment unit 115 adjusts the tool model 130M by translating or rotating it so that the tool model 130M always contacts the workpiece model 140M at a depth equal to or less than the maximum penetration depth. Fig. 20 shows a situation in which the teaching point position and attitude adjustment unit 115 adjusts the position and attitude of the tool model 130M in the translation directions Tz and Ty and the rotation direction Rx so that the tool model 130M always contacts the workpiece model 140M at a depth equal to or less than the maximum penetration depth.

[0046] The teaching point position and orientation adjustment unit 115 has a function of adjusting the position and orientation of the teaching point of the robot program so as to maximize the contact area between the tool model 130M and the workpiece model 140M. The teaching point position and orientation adjustment unit 115 can perform adjustment so as to maximize the contact area between the tool model 130M and the workpiece model 140M by translating or rotating the tool model 130M with respect to the workpiece model 140M, as shown in Fig. 21. Fig. 21 shows a situation in which the teaching point position and orientation adjustment unit 115 adjusts the position and orientation of the tool model 130M in the translation directions Tz and Ty and the rotation direction Rx so as to maximize the contact area between the tool model 130M and the workpiece model 140M.

[0047] The offset amount upper and lower limit value setting unit 113 receives settings of upper and lower limits of translational movement and upper and lower limits of rotational movement when adjusting the position and posture of the teaching point by translating and rotating the tool model 130M. When the upper and lower limit values ​​of the offset amount are set, the teaching point position and posture adjustment unit 115 adjusts the position and posture of the teaching point of the robot program so that the tool model 130M is always in contact with the workpiece model 140M within the range of the upper and lower limit values ​​of the offset amount.

[0048] 22 shows a situation in which an upper and lower limit range A12 is set for the offset amount in the translation direction Tz, an upper and lower limit range A13 is set for the offset amount in the translation direction Ty, and an upper and lower limit range A14 is set for the offset amount in the rotation direction Rz through settings via the offset amount upper and lower limit value setting unit 113. In this case, the teaching point position and attitude adjustment unit 115 adjusts the position and attitude of the tool model 130M so that the adjustment range for the translation direction Tz is within range A12, the adjustment range for the translation direction Ty is within range A13, and the adjustment range for the rotation direction Rx is within range A14.

[0049] The offset direction restriction designation unit 114 has a function of receiving an input that designates a direction in which the offset is to be restricted. For example, as shown in FIG. 23 , the operator can set the offset direction restriction designation unit 114 to allow adjustment in the translational direction but not allow adjustment in the rotational direction. In this case, as shown in FIG. 23 , the teaching point position and orientation adjustment unit 115 can adjust the position and orientation of the teaching point of the robot program so that the tool model 130M is always in contact with the workpiece model 140M while restricting the offset only in the translational direction.

[0050] As described above, the teaching point position and attitude adjustment unit 115 has the following functions for optimizing the contact state between the tool model and the workpiece model. (F1) A function for adjusting the position and attitude of the tool model when a contact range between the tool model and the workpiece model is specified via the contact range specification unit 111, such that the specified contact range is always in contact with the workpiece model. (F2) A function for adjusting the position and attitude of the tool model when a maximum penetration depth is specified via the maximum penetration depth specification unit 112, such that the tool model is always in contact with the workpiece model at or below the maximum penetration depth. (F3) A function for adjusting the position and attitude of the tool model such that the tool model is always in contact with the workpiece model and the contact area between the tool model and the workpiece model is maximized. (F4) A function for adjusting the position and attitude of the tool model when upper and lower limit values ​​of the offset amount are specified via the offset amount upper and lower limit value setting unit 113, such that the tool model is always in contact with the workpiece model within the range of the upper and lower limit values ​​of the offset amount. (F5) A function for adjusting the position and posture of the tool model so that it always contacts the work model without adding an offset in the restricted offset direction when the offset direction is restricted via the offset direction restriction designation unit 114.

[0051] According to function (F1), it is possible to specify the contact range for performing appropriate machining from various viewpoints such as the performance of the tool and the attitude of the tool relative to the workpiece.

[0052] Function (F2) can prevent the tool from digging into the workpiece and cutting too much, ensuring proper machining. Preventing overcutting of the workpiece is highly important in terms of machining quality, and performing machining in a way that prevents overcutting of the workpiece is also advantageous in terms of machining time.

[0053] According to function (F3), the contact area between the tool and the workpiece during machining is maximized, thereby enabling machining to be performed efficiently with the tool in an appropriate attitude.

[0054] According to function (F4), the adjustment range of the tool position and position / orientation can be limited to a desired range for adjustment.

[0055] According to the function (F5), it is possible to adjust the position and orientation of the tool model while restricting the addition of an offset in a specific direction.

[0056] The teaching point position / attitude adjustment unit 115 may have two or more of the above functions (F1) to (F5). For example, the teaching point position / attitude adjustment unit 115 may have the above functions (F2) and (F3). In this case, the tool can be in contact with the workpiece over a wider area to perform efficient machining while preventing the tool from digging into the workpiece and cutting too much.

[0057] As described above, according to this embodiment, it is possible to automate adjustments for optimizing the position and orientation of a tool model with respect to a workpiece model in teaching using a robot programming device. According to this embodiment, the adjustment work of the position and orientation of teaching points can be performed efficiently without requiring the operator to be skilled. In other words, according to this embodiment, it is possible to reduce the effort and time required by the operator in the adjustment work of the position and orientation of teaching points.

[0058] The above-mentioned functions as a robot programming device may be included in a robot teaching device or control device.

[0059] The functional blocks of the robot programming device shown in FIG. 2 may be realized by one or more processors of the robot programming device executing various software stored in a storage device, or may be realized by a hardware-based configuration such as an ASIC (Application Specific Integrated Circuit).

[0060] The program that executes the robot program creation process shown in Figures 3 and 15 in the above-mentioned embodiment can be recorded on various computer-readable recording media (for example, semiconductor memory such as ROM, EEPROM, flash memory, magnetic recording media, and optical disks such as CD-ROM and DVD-ROM).

[0061] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values ​​or mathematical expressions are used in the description of the above-described embodiments.

[0062] The following supplementary notes are further provided with respect to the above-described embodiment and modified examples. (Supplementary Note 1) A robot programming device (10) comprising: a three-dimensional model placement unit (102) that places a robot model, a tool model, and a workpiece model in a virtual space; a penetration depth designation unit (112) that accepts designation of an allowable value for the penetration depth of the tool model into the workpiece model; and a teaching point position and attitude adjustment unit (115) that adjusts the position and attitude of the tool model at a teaching point of a robot program so that the tool model comes into contact with the workpiece model in a state where the penetration depth of the tool model into the workpiece model is equal to or less than the allowable value. (Supplementary Note 2) The robot programming device (10) according to Supplementary Note 1, wherein the teaching point position and attitude adjustment unit (115) adjusts the position and attitude of the tool model at the teaching point so that the penetration depth of the tool model into the workpiece model is equal to or less than the allowable value, the contact area between the tool model and the workpiece model is maximized, and the tool model is always in contact with the workpiece model. (Supplementary Note 3) The robot programming device (10) according to Supplementary Note 1 or 2, further comprising: a contact range designation unit (111) that receives an input designating a contact range on the tool model that comes into contact with the workpiece model, wherein the teaching point position and attitude adjustment unit (115) adjusts the position and attitude of the tool model at the teaching point of the robot program so that the contact range of the tool model is always in contact with the workpiece model. (Supplementary Note 4) The robot programming device (10) according to any one of Supplementary Notes 1 to 3, further comprising: an offset amount upper and lower limit value setting unit (113) that receives an input designating upper and lower limit values ​​of an offset amount when adjusting the position and attitude of the tool model at the teaching point of the robot program, wherein the teaching point position and attitude adjustment unit (115) adjusts the position and attitude of the tool model at the teaching point of the robot program so that the tool model is always in contact with the workpiece model within the set range of the upper and lower limit values ​​of the offset amount.(Supplementary Note 5) The robot programming device (10) according to any one of Supplementary Notes 1 to 4, further comprising an offset direction restriction designation unit (114) that receives an input for restricting a direction in which an offset amount is added when adjusting the position and posture of the tool model at the teaching point of the robot program, and the teaching point position and posture adjustment unit (115) prevents an offset amount from being added in the restricted direction and adjusts the position and posture of the tool model at the teaching point of the robot program so that the tool model is always in contact with the workpiece model. (Supplementary Note 6) The robot programming device (10) according to any one of Supplementary Notes 1 to 5, further comprising: a three-dimensional shape arrangement unit (103) that fills in surfaces of a predetermined three-dimensional shape with a predetermined movement pattern and arranges the predetermined three-dimensional shape in the virtual space so that the predetermined movement pattern is projected onto at least one surface of the workpiece model; a machining path creation unit (104) that projects the movement pattern onto at least one surface of the workpiece model to create a machining path for the tool model; and a position and attitude determination unit (105) that determines a position or position and attitude of the tool model based on the machining path and a normal direction of at least one surface of the workpiece model, wherein the teaching point position and attitude adjustment unit (115) adjusts the position and attitude of the tool model determined by the position and attitude determination unit (105) at a teaching point set as the machining path. (Supplementary Note 7) The robot programming device (10) according to any one of Supplementary Notes 1 to 5, further comprising: a processing line designation unit (106) that designates a processing line on the workpiece model; and a position and orientation designation unit (107) that designates a position or position and orientation of the tool model relative to the processing line, wherein the teaching point position and orientation adjustment unit (115) adjusts the position and orientation of the tool model designated by the position and orientation designation unit at a teaching point set as the processing line.(Supplementary Note 8) A robot programming method executed on a robot programming device (10), comprising: arranging a robot model, a tool model, and a workpiece model in a virtual space; accepting a designation of an allowable value for the penetration depth of the tool model into the workpiece model; and adjusting the position and orientation of the tool model at a teaching point of the robot program so that the tool model comes into contact with the workpiece model in a state where the penetration depth of the tool model into the workpiece model is equal to or less than the allowable value. (Supplementary Note 9) A program for causing a processor of a computer to execute the steps of arranging a robot model, a tool model, and a workpiece model in a virtual space, accepting a designation of an allowable value for the penetration depth of the tool model into the workpiece model, and adjusting the position and orientation of the tool model at a teaching point of the robot program so that the tool model comes into contact with the workpiece model in a state where the penetration depth of the tool model into the workpiece model is equal to or less than the allowable value.

[0063] 10 Robot programming device 11 Processor 12 Memory unit 13 Display unit 14 Operation unit 20M Robot model 30M, 130M Tool model 40M, 140M Workpiece model 61, 62, 63, 64 Movement pattern 71, 72 Three-dimensional shape A1, A11 Contact range 101 Virtual space creation unit 102 Three-dimensional model placement unit 103 Three-dimensional shape placement unit 104 Machining path creation unit 105 Position and posture determination unit 106 Machining line designation unit 107 Position and posture designation unit 111 Contact range designation unit 112 Maximum bite depth designation unit 113 Offset amount upper and lower limit value setting unit 114 Offset direction restriction designation unit 115 Teaching point position and posture adjustment unit 116 Robot program creation unit

Claims

1. A robot programming device comprising: a three-dimensional model placement unit which places a robot model, a tool model and a work model in a virtual space; a penetration depth designation unit which accepts designation of an allowable value for the penetration depth of the tool model into the work model; and a teaching point position and attitude adjustment unit which adjusts the position and attitude of the tool model at a teaching point of a robot program so that the tool model contacts the work model while the penetration depth of the tool model into the work model is equal to or less than the allowable value.

2. A robot programming device as described in claim 1, wherein the teaching point position and attitude adjustment unit adjusts the position and attitude of the tool model at the teaching point so that the depth of the tool model's penetration into the work model is below the allowable value, the contact area between the tool model and the work model is maximized, and the tool model is always in contact with the work model.

3. A robot programming device as described in claim 1 or 2, further comprising a contact range designation unit that accepts an input specifying a contact range on the tool model that comes into contact with the work model, and the teaching point position and attitude adjustment unit adjusts the position and attitude of the tool model at the teaching point of the robot program so that the contact range of the tool model is always in contact with the work model.

4. A robot programming device as described in any one of claims 1 to 3, further comprising an offset amount upper and lower limit setting unit that accepts input specifying upper and lower limit values ​​of an offset amount when adjusting the position and posture of the tool model at a teaching point of the robot program, wherein the teaching point position and posture adjustment unit adjusts the position and posture of the tool model at the teaching point of the robot program so that the tool model is always in contact with the work model within the range of the set upper and lower limit values ​​of the offset amount.

5. A robot programming device as described in any one of claims 1 to 4, further comprising an offset direction restriction designation unit that accepts an input to restrict a direction in which an offset amount is added when adjusting the position and posture of the tool model at a teaching point of the robot program, wherein the teaching point position and posture adjustment unit prevents an offset amount from being added in the restricted direction and adjusts the position and posture of the tool model at the teaching point of the robot program so that the tool model is always in contact with the work model.

6. A robot programming device as described in any one of claims 1 to 5, further comprising: a three-dimensional shape arrangement unit that fills the surfaces of a predetermined three-dimensional shape with a predetermined movement pattern and arranges the predetermined three-dimensional shape in the virtual space so that the predetermined movement pattern is projected onto at least one surface of the work model; a machining path creation unit that projects the movement pattern onto at least one surface of the work model to create a machining path for the tool model; and a position and attitude determination unit that determines a position or position and attitude of the tool model based on the machining path and a normal direction of at least one surface of the work model, wherein the teaching point position and attitude adjustment unit adjusts the position and attitude of the tool model determined by the position and attitude determination unit at a teaching point set as the machining path.

7. A robot programming device as described in any one of claims 1 to 5, further comprising: a processing line designation unit for designating a processing line on the work model; and a position and attitude designation unit for designating a position or position and attitude of the tool model relative to the processing line, wherein the teaching point position and attitude adjustment unit adjusts the position and attitude of the tool model designated by the position and attitude designation unit at a teaching point set as the processing line.

8. A robot programming method executed on a robot programming device, which comprises placing a robot model, a tool model, and a work model in a virtual space, accepting a specification of an allowable value for the penetration depth of the tool model into the work model, and adjusting the position and posture of the tool model at a teaching point of the robot program so that the tool model contacts the work model while the penetration depth of the tool model into the work model is equal to or less than the allowable value.

9. A program for causing a computer processor to execute the following steps: placing a robot model, a tool model, and a work model in a virtual space; receiving a designation of an allowable value for the penetration depth of the tool model into the work model; and adjusting the position and posture of the tool model at a teaching point of the robot program so that the tool model contacts the work model while the penetration depth of the tool model into the work model is equal to or less than the allowable value.

Citation Information

Patent Citations

  • Method and device for controlling robot mechanism

    JP1996016225A

  • Display system for articulated general purpose robot model

    JP2003114706A