Linear member shape simulator for articulated robot, method and program

The linear member shape simulator for articulated robots addresses the challenge of representing complex shapes by calculating and adjusting the shape of linear members using an approximate curve, ensuring accurate and intuitive simulation of wrapped configurations.

JP7570966B2Active Publication Date: 2024-10-22KOBE STEEL LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021068897
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-15
Publication Date
2024-10-22
Estimated Expiration
2041-04-15

AI Technical Summary

Technical Problem

Existing methods for simulating the shape of linear members attached to articulated robots, such as cables and tubes, struggle to accurately represent complex shapes and intuitively modify teaching motions, particularly when the members wrap around the robot's arm.

Method used

A linear member shape simulator that calculates the shape of a linear member using an approximate curve by setting starting and ending points, passing points, and adjusting these points to ensure the member wraps around the arm, considering its quirks and rigidity, using a shape and length processing system.

Benefits of technology

Enables the accurate representation of complex shapes of linear members, allowing for intuitive modification of teaching motions and ensuring the member's shape is determined with precision, even when wrapped around the robot's arm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007570966000005
    Figure 0007570966000005
  • Figure 0007570966000006
    Figure 0007570966000006
  • Figure 0007570966000007
    Figure 0007570966000007
Patent Text Reader

Abstract

To provide a linear member shaped simulator of a multi-joint robot which can obtain a linear member shape with an approximate curve, even if it is a more complicated shape, a method, and a program for the same.SOLUTION: A linear member shaped simulator D of a multi-joint robot of this invention gets, between the start position and the end position in a linear member, 1 or more transit points, initial position of an adjustment transit point for adjusting a length of the linear member, and an adjustment parameter of the adjustment transit point inputted, uses a position of an inputted transit point and repeatedly executes a shape treatment for obtaining the shape of the linear member and a length treatment for obtaining the length of the linear member in a linear member shape obtained in the above mentioned treatment by using the initial position of the inputted adjustment transit point as initial value until a difference between a real length of the linear member and the obtained length of the linear member falls below an allowance. Here, the adjustment parameter is modified when executing the shape treatment.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a linear member shape simulator for an articulated robot, a linear member shape simulation method, and a linear member shape simulation program for determining the shape of a linear member attached to the articulated robot. [Background technology]

[0002] Articulated robots, such as vertical six-axis robots, have been developed and are now widely used in various industrial fields. Such articulated robots operate according to operation data (operation program, teaching program) that is taught in advance according to the purpose of the operation. The so-called offline teaching method is often used as a teaching method because it is possible to create an operation program without stopping an operating articulated robot. This offline teaching method is a method in which a real robot in real space is reproduced as a virtual robot model in a computer's virtual space, and the operation of the real robot is simulated on this virtual robot model, thereby confirming the operation of the real robot and creating an operation program.

[0003] This articulated robot may be equipped with a tool at the end of the arm according to the application, and may be equipped with a cable for supplying power to the tool, a tube for supplying raw materials to the tool, or linear members such as wire rods of the raw materials. For this reason, the offline teaching method must also simulate the state of such linear members, and such offline teaching methods are disclosed in, for example, Patent Document 1 and Patent Document 2.

[0004] The simulation method for a wire material disclosed in Patent Document 1 recognizes the coordinates of a number of fixed points supporting a wire material attached to a robot, the tangent vectors at the fixed points, and the length of the wire material between adjacent fixed points, transforms the coordinate positions of the fixed points and the tangent vectors based on the amount of movement of the movable parts of the robot, calculates the coefficients of a curve equation representing the shape of the wire material between the adjacent fixed points based on the coordinate positions of the transformed fixed points and tangent vectors and the length of the wire material between the adjacent fixed points, and predicts the deformation of the attached wire material that occurs as it follows the movement of the robot.

[0005] The cable display device in a robot offline teaching system disclosed in Patent Document 2 displays on a screen a robot having an arm and a hand attached to the end of the arm, and operates the robot on the screen to teach the robot required movements. The cable display device comprises a cable state detection means for detecting the twisted state of a cable attached to the robot or the state of the cable wrapped around the arm, and a drawing means for drawing on the screen the cable state detected by the cable state detection means, and the cable state detection means detects the twisted state or the wrapped state of the cable based on the total rotation angle of the arm and / or hand about the axis and the attachment angle at each fixing portion on the base end and tip end of the cable. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Japanese Patent Application Publication No. 07-182017 [Patent Document 2] JP 2004-074368 A Summary of the Invention [Problem to be solved by the invention]

[0007] In the simulation method for a wire material disclosed in the above-mentioned Patent Document 1, the shape of the wire material is approximated and displayed by a cubic curve based on the positions of two points and their tangent vectors. It is difficult to express a complex shape, such as the winding of a cable, with an approximation curve based on the positions of two points and their tangent vectors.

[0008] On the other hand, in the cable display device in the robot offline teaching system disclosed in the above-mentioned Patent Document 2, as described in paragraph

[0023] and Figure 5(b) etc., the cable is drawn on the screen by a collection of continuous points (spheres) in an arc shape surrounding the periphery of the upper arm. With such a collection of points, it is difficult to know the shape of the cable as it is wound around the arm, for example, and therefore it is difficult to intuitively correct the teaching operation (operation program) taking the shape of the cable into consideration.

[0009] The present invention has been made in consideration of the above-mentioned circumstances, and its object is to provide a linear member shape simulator for an articulated robot, a linear member shape simulation method, and a linear member shape simulation program that can determine the shape of a linear member using an approximate curve, even if the shape is more complex. [Means for solving the problem]

[0010] As a result of various investigations, the inventors have found that the above object can be achieved by the present invention described below. That is, a linear member shape simulator for an articulated robot according to one aspect of the present invention is a linear member shape simulator for an articulated robot for determining the shape of a linear member attached to a articulated robot in a predetermined posture of the articulated robot, and includes a start point position of the linear member, a start point vector representing a tangent direction at the start point position on a curve representing the shape of the linear member, an end point position of the linear member, an end point vector representing a tangent direction at the end point position on a curve representing the shape of the linear member, positions of one or more passing points through which the linear member passes between the start point position and the end point position, In the curve representing the shape of the linear member, The above-mentioned passing point represents the tangent direction ata pass point vector, an initial position of an adjustment pass point through which the linear member passes and which adjusts the length of the linear member; In the curve representing the shape of the linear member, The adjustment pass point represents the tangent direction at an input unit for inputting an adjustment pass-point vector and adjustment parameters for the adjustment pass-point; a shape processing unit that executes shape processing to determine a shape of the linear member based on the start point position, the start point vector, the end point position, the end point vector, the pass point position, the pass point vector, the adjustment pass-point position, and the adjustment pass-point vector; a length processing unit that executes length processing to determine a length of the linear member in the shape of the linear member determined by the shape processing unit; and and a shape determination unit that repeatedly executes the shape processing and the length processing using an initial position of an adjustment pass-through point input by an adjustment pass-through unit as an initial value, wherein at least one of the one or more pass-through points is set so that the linear member is wound around an arm of the articulated robot, and the adjustment parameter is a movement amount and a movement direction for one iteration of the shape processing and the length processing for moving the adjustment pass-through point, and when executing the shape processing, the shape determination unit changes the position of the adjustment pass-through point to a position obtained by moving the position of the adjustment pass-through point by the movement amount of one iteration of the adjustment parameter in the movement direction of the adjustment parameter.

[0011] Such a linear member shape simulator for an articulated robot can set one or more passing points for the linear member to pass between the start point position and the end point position of the linear member, and can therefore represent linear members with more complicated shapes, such as windings, etc. Therefore, the linear member shape simulator for an articulated robot can obtain the shape of a linear member by an approximation curve, even if the shape is more complicated.

[0013] Such a linear member shape simulator for an articulated robot has the amount and direction of movement for each repetition as adjustment parameters, and can therefore represent a linear member having a shape that takes into account, for example, the deflection of the linear member, etc. Therefore, the linear member shape simulator for an articulated robot can obtain the shape of the linear member by an approximation curve, taking into account, for example, the deflection due to the habit of the linear member.

[0014] Like this Linear component shape simulator for articulated robots By adjusting the magnitude of the vector, the shape of the linear member can be approximated by a curve taking into account the rigidity of the linear member. .

[0015] This makes it possible to provide a linear member shape simulator for an articulated robot that can obtain the shape of a linear member wound around the arm of the articulated robot using an approximation curve.

[0016] In another aspect, in the above-mentioned linear member shape simulator for an articulated robot, the shape determination unit changes the end point position of the linear member when the length of the linear member calculated by the length processing unit is longer than the actual length of the linear member. Preferably, in the above-mentioned linear member shape simulator for an articulated robot, the shape determination unit changes the end point position of the linear member by a predetermined change amount within a predetermined range in a predetermined change direction.

[0017] Such a linear member shape simulator for an articulated robot changes the end point position of the linear member when performing shape processing, so that the shape of the linear member can be obtained by an approximation curve taking into account a device (instrument) that adjusts the end point position of the linear member, such as a tool balancer.

[0020] A method for simulating the shape of a linear member of a multi-joint robot according to another aspect of the present invention is a method for simulating the shape of a linear member associated with a multi-joint robot in a specified posture of the multi-joint robot, comprising the steps of: a start position of the linear member; a start vector representing a tangent direction at the start position on a curve representing the shape of the linear member; an end position of the linear member; an end vector representing a tangent direction at the end position on a curve representing the shape of the linear member; the positions of one or more passing points through which the linear member passes between the start position and the end position; In the curve representing the shape of the linear member, The above-mentioned passing point represents the tangent direction at a pass point vector, an initial position of an adjustment pass point through which the linear member passes and which adjusts the length of the linear member; In the curve representing the shape of the linear member, The adjustment pass point represents the tangent direction at an input process for inputting an adjustment pass point vector and adjustment parameters for the adjustment pass point; a shape processing process for determining a shape of the linear member based on the start point position, the start point vector, the end point position, the end point vector, the pass point position, the pass point vector, the adjustment pass point position, and the adjustment pass point vector; a length processing process for determining a length of the linear member with respect to the shape of the linear member determined in the shape processing process; and a process for calculating a length of the linear member with respect to the shape of the linear member determined in the length processing process using the pass point positions input in the input process and the adjustment pass point vector input in the input process until a difference between an actual length of the linear member and the length of the linear member determined in the length processing process becomes equal to or less than a tolerance. and a shape determination process for repeatedly executing the shape processing process and the length processing process using an initial position of a pass point as an initial value, at least one of the one or more pass points is set so that the linear member is wound around the arm of the articulated robot, the adjustment parameter is a movement amount and movement direction for one time when the shape processing process and the length processing process are repeatedly executed to move the adjustment pass point, and when executing the shape processing process, the shape determination process changes the position of the adjustment pass point to a position obtained by moving the position of the adjustment pass point by the movement amount of one time of the adjustment parameter in the movement direction of the adjustment parameter.

[0021] A linear member shape simulation program for a multi-joint robot according to another aspect of the present invention is a linear member shape simulation program for a multi-joint robot for determining the shape of a linear member attached to the multi-joint robot when the multi-joint robot is in a predetermined posture, the program having a computer program that calculates the start position of the linear member, a start vector representing a tangent direction at the start position on a curve representing the shape of the linear member, an end position of the linear member, an end vector representing a tangent direction at the end position on a curve representing the shape of the linear member, the positions of one or more passing points through which the linear member passes between the start position and the end position, In the curve representing the shape of the linear member, The above-mentioned passing point represents the tangent direction at a pass point vector, an initial position of an adjustment pass point through which the linear member passes and which adjusts the length of the linear member; In the curve representing the shape of the linear member, The adjustment pass point represents the tangent direction at an input step of inputting an adjustment pass point vector and an adjustment parameter of the adjustment pass point; a shape processing step of determining a shape of the linear member based on the start point position, the start point vector, the end point position, the end point vector, the pass point position, the pass point vector, the adjustment pass point position, and the adjustment pass point vector; a length processing step of determining a length of the linear member in the shape of the linear member determined in the shape processing step; and a process of calculating a length of the linear member using the position of the pass point input in the input step and the adjustment pass point input in the input step until a difference between an actual length of the linear member and the length of the linear member determined in the length processing step becomes equal to or less than a tolerance. a shape determination process for repeatedly executing the shape processing process and the length processing process using an initial position of the one or more pass points as an initial value, at least one of the one or more pass points is set so that the linear member is wound around an arm of the articulated robot, the adjustment parameter is a movement amount and a movement direction for one time when the shape processing process and the length processing process are repeatedly executed to move the adjustment pass point, and the shape determination process changes the position of the adjustment pass point to a position obtained by moving the position of the adjustment pass point by the movement amount of one time of the adjustment parameter in the movement direction of the adjustment parameter when executing the shape processing process.

[0022] Such a method and program for simulating the shape of a linear member of an articulated robot can set one or more passing points between the start point position and the end point position of the linear member through which the linear member passes, and therefore can represent linear members with more complicated shapes, such as windings, etc. Therefore, the above-mentioned method and program for simulating the shape of a linear member of an articulated robot can obtain the shape of a linear member with an approximation curve, even if the shape is more complicated. Effect of the Invention

[0023] The linear member shape simulator for an articulated robot, the linear member shape simulation method, and the linear member shape simulation program according to the present invention can obtain the shape of a linear member by an approximation curve, even if the shape is more complicated. [Brief description of the drawings]

[0024] [Figure 1] 1 is a diagram for explaining a schematic configuration of a welding system including a linear member shape simulator for an articulated robot in an embodiment. FIG. [Diagram 2] 4 is a block diagram showing a configuration of a linear member shape simulator for the articulated robot. FIG. [Diagram 3] 1A to 1C are diagrams for explaining various points on a guide cable, which is an example of a linear member. [Figure 4] FIG. 13 is a diagram for explaining, as an example, a case where a passing point is set so as to wind a guide cable around an arm. [Diagram 5] 13 is a diagram for explaining a moving direction of an adjustment pass-through point taking into account the tendency of a guide cable. FIG. [Figure 6] 6 is a flowchart showing an operation of a linear member shape simulator for the articulated robot. [Figure 7] FIG. 13 is a diagram for explaining a simulation result in a modified embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] Hereinafter, one or more embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the disclosed embodiments. In addition, configurations with the same reference numerals in each drawing indicate that they are the same configurations, and their description will be omitted as appropriate. In this specification, when referring to a general term, a reference numeral without a subscript is used, and when referring to an individual configuration, a reference numeral with a subscript is used.

[0026] The linear member shape simulator for an articulated robot in the embodiment is a device for determining the shape of a linear member attached to the articulated robot when the articulated robot is in a predetermined posture. The linear member may be any member that is elongated in one direction and whose shape can be changed, such as a cable for supplying power to a tool attached to the tip of an arm depending on the application, a tube for supplying raw materials to the tool, or a wire of the raw materials. The linear member shape simulator for the articulated robot includes an input unit for inputting the positions of one or more pass points through which the linear member passes between a start position and an end position of the linear member, the initial positions of the pass points for adjustment through which the linear member passes and adjusts the length of the linear member, and adjustment parameters for the pass points for adjustment, a shape processing unit for executing a shape process to determine the shape of the linear member, a length processing unit for executing a length process to determine the length of the linear member with the shape of the linear member determined by the shape processing unit, and a shape determination unit for repeatedly executing the shape process and the length process using the positions of the pass points input by the input unit and the initial positions of the pass points for adjustment input by the input unit as initial values ​​until the difference between the actual length of the linear member and the length of the linear member determined by the length processing unit becomes equal to or less than an allowable value, and the shape determination unit changes the adjustment parameters when executing the shape process. Hereinafter, the linear member shape simulator for the articulated robot and the linear member shape simulation method and linear member shape simulation program implemented therein will be described in more detail, taking as an example a case where they are applied to a welding system. In addition, the linear member shape simulator for a multi-joint robot, the method and the program are not limited to application to welding systems, but can be applied to any system that uses a multi-joint robot to which the linear member is attached.

[0027] FIG. 1 is a diagram for explaining a schematic configuration of a welding system including a linear member shape simulator for a multi-joint robot in an embodiment. FIG. 1A shows the overall configuration, FIG. 1B shows a case where a moving device is provided, and FIG. 1C shows a case where a wire feeder WS is provided on an arm. FIG. 2 is a block diagram showing the configuration of the linear member shape simulator for the multi-joint robot. FIG. 3 is a diagram for explaining each point in a guide cable, which is an example of a linear member. In FIG. 3, the shape of the guide cable in the initial state before the simulation is shown by a relatively long dashed line (- - -), and the shape of the guide cable in the state after the simulation is shown by a relatively short dashed line (· · ·). FIG. 4 is a diagram for explaining, as an example, a case where a passing point is set so that the guide cable is wound around the arm. FIG. 5 is a diagram for explaining the moving direction of the adjustment passing point taking into account the quirk of the guide cable. FIG. 5A is a side view, and FIG. 5B is a front view.

[0028] A welding system SY equipped with a linear member shape simulator for an articulated robot in an embodiment includes, for example, an articulated robot MR, a control device CL, a teaching pendant TP, and an offline teaching device TC, as shown in FIG. 1A.

[0029] The articulated robot MR is a robot equipped with an arm AM having a plurality of joints, which is connected to a control device CL and operates under the control of the control device CL. For example, it is a vertical six-axis robot having six first to sixth joints J1 to J6 and six degrees of freedom. In this embodiment, a welding torch WT is provided as an example of a tool on a wrist portion WR at the tip of the arm AM, and the articulated robot MR can weld a workpiece WK by arc welding using a welding wire fed from the welding torch WT. The guide cable GC is a tubular member (hollow member) that is long in one direction and guides the welding wire. The welding wire is guided to the welding torch WT through the inside of the guide cable GC and supplied to the welding torch WT. One end of the guide cable GC is held and supported by a cable holder CH installed on the wrist portion WR. The other end of the guide cable GC may be supported by a wire feeder WS that is installed on the upper part of the arm AM near the fourth joint J4 at the end opposite to the tip as shown in FIG. 1C and supplies the welding wire, but in this embodiment, as shown in FIG. 1B, it is supported by a moving device MD that is arranged at a predetermined position above the articulated robot MR. The moving device MD is configured to include, for example, a tool balancer, and is a device that changes the position of the other end of the guide cable GC by moving the other end of the guide cable GC in a predetermined moving direction, for example, the vertical direction (z direction), within a predetermined range. The movable range of the guide cable GC can be changed by lowering the other end of the guide cable GC from a predetermined reference position (z0) to a position (z1) in the downward direction (-z direction) to bring the position of the other end of the guide cable GC closer to the arm AM of the articulated robot MR. The guide cable GC is an example of a linear member attached to the articulated robot.

[0030] The teaching pendant TP is a handy operating device connected to the control device CL for manually operating the articulated robot MR. In teaching the operation of the articulated robot MR using the teaching pendant TP, the articulated robot MR is actually operated by manual operation to teach the movement path and position of the welding torch WT relative to the workpiece WK.

[0031] The offline teaching device TC is a device that reproduces the multi-joint robot MR as a virtual robot model in a virtual space of a computer and creates operation data (operation program, teaching program) for operating the multi-joint robot MR according to the operation purpose by simulating the operation of the multi-joint robot MR in this virtual robot model. The operation data created by this offline teaching device TC is recorded (stored) in a recording medium (storage medium) that records (or stores) data, and is read from this recording medium to the control device CL and stored in the control device CL. The recording medium (storage medium) is, for example, a flexible disk, a CD-R (Compact Disc Recordable), a DVD-R (Digital Versatile Disc Recordable), a USB (Universal Serial Bus) memory, an SD card (registered trademark), or the like. The operation data may be transmitted from the offline teaching device TC to the control device CL by data communication by connecting the offline teaching device TC and the control device CL so that they can communicate with each other, and may be stored in the control device CL.

[0032] In this embodiment, the linear member shape simulator D for the articulated robot is provided in the offline teaching device TC, as an example.

[0033] The control device CL is a device for controlling the multi-joint robot MR according to operation data (operation program, teaching program) that has been instructed and created in advance by the teaching pendant TP or the offline teaching device TC, and for welding the workpiece WK with the welding torch WT.

[0034] The linear member shape simulator D of the articulated robot in the embodiment provided in the offline teaching device TC includes, for example, a control processing unit 1, an input unit 2, a display unit 3, an interface unit (IF unit) 4, and a memory unit 5, as shown in FIG. 2.

[0035] The input unit 2 is connected to the control processing unit 1 and is a device that inputs various commands, such as a command to start teaching, and various data necessary for operating the linear member shape simulator D (offline teaching device TC), such as the name of the operation data and the presence or absence of a moving device MD, to the linear member shape simulator D (offline teaching device TC), and is, for example, a plurality of input switches, a keyboard, a mouse, etc. to which specified functions are assigned.

[0036] In this embodiment, the position (start position) Ps of a start point ps of a guide cable GC, which is an example of the linear member, and its start point vector Vs in a predetermined first posture of the articulated robot MR, the position (end point position) Pe of an end point pe of the guide cable GC in the initial posture, and its end point vector Ve, and the actual length Lr of the guide cable GC are input to the input unit 2, for example, as shown in Fig. 3. The start point vector Vs is a vector that represents the tangent direction at the start point position Ps in the curve that represents the shape of the guide cable GC, and the end point vector Ve is a vector that represents the tangent direction at the end point position Pe in the curve that represents the shape of the guide cable GC.

[0037] 3, the input unit 2 receives input of positions (passing point positions) Pi of one or more passing points pi through which the guide cable GC passes between the start position Ps of the starting point ps and the end position Pe of the end point pe, the initial positions of positions (adjustment passing point positions) Q of adjustment passing points q through which the guide cable GC passes and which adjust the length L of the guide cable GC, and adjustment parameters of the adjustment passing points (i=1, 2, 3,...). Note that in FIG. 3, Vi represents a vector (passing point vector) at the passing point pi, and U represents a vector (adjustment passing point vector) at the adjustment passing point q.

[0038] When setting this passing point pi, for example, as shown in Fig. 4, passing points p1 and p2 may be set so that the guide cable GC is wound around the arm AM. This allows the guide cable GC to have a more complicated shape, such as a winding shape. Note that the winding of the guide cable GC around the arm AM does not necessarily have to be around the arm AM once, and may be less than one turn. In the example shown in Fig. 4, the guide cable GC is wound around the arm AM about half a turn.

[0039] In the present embodiment, the adjustment parameters of the adjustment passing point q are, for example, a one-time movement amount ΔM and a movement direction Um in the repetition of the shape processing and the length processing for obtaining the shape of the guide cable GC. The one-time movement amount ΔM is set to an appropriate value in advance. The movement direction Um may be set arbitrarily, but by setting it in consideration of the habit of the guide cable GC, it is possible to express a guide cable GC having a shape, such as a deflection, taking the habit into consideration. For example, as shown in FIG. 5, in the case where the guide cable GC has a habit of bending in the upper right direction in a plan view of the paper, a vector (habit vector) Vh representing the direction of the habit of bending is set, and the movement direction Um is set in the direction of a composite vector of this and a gravity vector (gravity vector) Vg.

[0040] The display unit 3 is connected to the control processing unit 1 and is a device that displays, under the control of the control processing unit 1, commands and data input from the input unit 2, as well as a virtual robot model (including the guide cable GC) in a virtual space generated by the offline teaching device TC (linear member shape simulator D), and the like, and is, for example, a display device such as a CRT display, an LCD (liquid crystal display device), or an organic EL display.

[0041] The input unit 2 and the display unit 3 may be configured with a touch panel. In the case of configuring this touch panel, the input unit 2 is a position input device that detects and inputs an operation position, for example, of a resistive film type or a capacitive type. In this touch panel, a position input device is provided on the display surface of the display unit 3, and one or more input contents that can be input are displayed on the display unit 3. When a user touches a display position that displays the input contents that the user wants to input, the position is detected by the position input device, and the display contents displayed at the detected position are input to the linear member shape simulator D (offline teaching device TC) as the user's operation input contents. In such a touch panel, the user can easily intuitively understand the input operation, so that a linear member shape simulator D (offline teaching device TC) that is easy for the user to handle is provided.

[0042] The IF unit 4 is connected to the control processing unit 1 and is a circuit that inputs and outputs data to and from, for example, an external device under the control of the control processing unit 1, such as an interface circuit for RS-232C, which is a serial communication method, an interface circuit using the Bluetooth (registered trademark) standard, and an interface circuit using the USB standard. The IF unit 4 may also be a communication interface circuit that transmits and receives communication signals to and from an external device, such as a data communication card or a communication interface circuit conforming to the IEEE802.11 standard.

[0043] The storage unit 5 is connected to the control processing unit 1 and is a circuit that stores various predetermined programs and various predetermined data under the control of the control processing unit 1. The various predetermined programs include, for example, a control processing program, which includes, for example, a control program for controlling each unit 2 to 5 of the linear member shape simulator D (offline teaching device TC), a shape processing program for executing a shape processing for determining the shape of the guide cable GC, which is an example of a linear member, a length processing program for executing a length processing for determining the length L of the guide cable GC in the shape of the guide cable GC determined by the shape processing program, and a shape determination program for repeatedly executing the shape processing and the length processing using the position Pi of the pass-point pi inputted by the input unit 2 and the initial position Q of the adjustment pass-point q inputted by the input unit 2 as an initial value until the difference between the actual length Lr of the guide cable GC and the length L of the guide cable GC determined by the length processing program becomes equal to or less than a tolerance. The various predetermined data includes, for example, data necessary for executing each of these programs, such as the tolerance. Such a storage unit 5 includes, for example, a ROM (Read Only Memory) which is a nonvolatile storage element, an EEPROM (Electrically Erasable Programmable Read Only Memory) which is a rewritable nonvolatile storage element, etc. The storage unit 5 also includes a RAM (Random Access Memory) which serves as a so-called working memory of the control processing unit 1 for storing data generated during execution of the predetermined program, etc. The storage unit 5 may also be configured to include a hard disk device with a relatively large storage capacity.

[0044] The control processing unit 1 is a circuit for controlling each of the units 2-5 of the linear member shape simulator D (offline teaching device TC) according to the function of each unit, reproducing the multi-joint robot MR as a virtual robot model in a virtual space, and simulating the movement of the multi-joint robot MR in this virtual robot model to generate movement data (movement program, teaching program) of the movement of the multi-joint robot MR according to the movement purpose, and at that time, determining the shape of a guide cable GC, which is an example of a linear member attached to the multi-joint robot MR, in the multi-joint robot MR in a predetermined posture. The control processing unit 1 is configured with, for example, a CPU (Central Processing Unit) and its peripheral circuits. The control processing unit 1 is functionally provided with a control unit 11, a shape processing unit 12, a length processing unit 13, and a shape determination unit 14 by executing a control processing program.

[0045] The control unit 11 controls each of the units 2 to 5 of the linear member shape simulator D (offline teaching device TC) according to the function of each unit, and is responsible for the overall control of the linear member shape simulator D (offline teaching device TC).

[0046] The shape processing unit 12 executes shape processing to obtain the shape of the guide cable GC, which is an example of the linear member. More specifically, the shape processing unit 12 first obtains the start position Ps, start vector Vs, end position Pe, and end vector Ve of the guide cable GC after the operation of the multi-joint robot MR from the first posture to the next predetermined second posture based on the operation data, by so-called forward transformation processing. The forward transformation processing is roughly a process of obtaining the position and posture of each link, and the position and posture of the tip of the multi-joint robot MR, based on each joint value of the multi-joint robot MR, and a well-known conventional method is used. Then, the shape processing unit 12 obtains the shape of the guide cable GC based on the start position Ps, start vector Vs, end position Pe, end vector Ve, pass point position Pi, pass point vector Vi, adjustment pass point position Q, and adjustment pass point vector U. More specifically, for example, the shape processing unit 12 determines, as the shape of the guide cable GC, a spline curve that passes through each position Ps, Pe, Pi, and Q and whose tangents at each position Ps, Pe, Pi, and Q coincide with the directions of each vector Vs, Ve, Vi, and U.

[0047] In the xyz Cartesian coordinate system, x=f with t as the parameter x (t), y=f y (t), z=f z (t) is the spline curve S i (t) is given by the following formula 1. The positions Ps, Pe, Pi, and Q of the points ps, pe, pi, and q through which the guide cable GC passes are given by the following formulas 2-1 to 2-3. Let V i =(V xi , V yi , V zi ) and the weight of each unit vector is w i Then, the boundary condition of the spline curve is given by the following equation 3, so that the spline curve S i Each coefficient A of (t) i , B i , C i , D i Here, Ws is the weight for the starting point ps, and We is the weight for the end point pe.i The weights will be described in detail in the modified embodiment described later, but here they are set to appropriate values ​​in advance.

[0048]

number

[0049]

number

[0050]

number

[0051] The length processing unit 13 executes length processing to obtain the length L of the shape of the guide cable GC, which is an example of the linear member, obtained by the shape processing unit 12. The length L is obtained by the following equation 4.

[0052]

number

[0053] The shape determination unit 14 repeatedly executes the shape processing and the length processing by using the pass-point positions Pi of the pass-points pi inputted by the input unit 2 and the initial positions Q of the adjustment pass-points q inputted by the input unit 2 as initial values ​​until the difference between the actual length Lr of the guide cable GC, which is an example of the linear member, and the length L of the guide cable GC determined by the length processing unit 13 becomes equal to or less than the allowable value Th. The allowable value Th is determined to an appropriate value such as 7 mm, 5 mm, or 3 mm, taking into consideration the actual length Lr of the guide cable GC, etc.

[0054] In this embodiment, the shape determination unit 14 changes (updates) the adjustment parameters when executing the shape processing in the repetition for determining the shape of the guide cable GC. More specifically, the shape determination unit 14 changes the adjustment pass-through point position Q to a position moved in the movement direction Um by a one-time movement amount ΔM.

[0055] In the present embodiment, when the length L of the guide cable GC obtained by the length processing unit 13 is longer than the actual length Lr of the guide cable GC, the shape determination unit 14 changes the end position pe of the guide cable GC by a predetermined change amount Δz within a predetermined range in a predetermined change direction. The predetermined change direction is a direction in which the position of the other end of the guide cable GC can be moved by the moving device MD, and is the -z direction in the example shown in FIG. 1B. The predetermined range is a range in which the position of the other end of the guide cable GC can be changed by the moving device MD, and is a range from z0 to z1 in the example shown in FIG. 1B. For example, in the present embodiment, the predetermined change amount Δz is a change amount Δz for one repetition of the shape processing and the length processing to obtain the shape of the guide cable GC. The change amount Δz for one repetition is set to an appropriate value in advance.

[0056] The control processing unit 1, input unit 2, display unit 3, IF unit 4 and storage unit 5 can be configured by, for example, a desktop computer, a notebook computer, etc. The computer configuring each of these units 1 to 5 may be placed, for example, in an operation room in a welding factory and incorporated into a console (or may serve as the console), or may be separate from the console.

[0057] Next, the operation of this embodiment will be described with reference to the flowchart of FIG 6, which shows the operation of the linear member shape simulator of the articulated robot.

[0058] When the power is turned on, the linear member shape simulator D (offline teaching device TC) for the articulated robot configured as above initializes each required part and starts its operation. In the control processing unit 1, a control unit 11, a shape processing unit 12, a length processing unit 13, and a shape determination unit 14 are functionally configured by executing the control processing program.

[0059] In FIG. 6, the linear member shape simulator D (offline teaching device TC) first performs initial setting (S1) with respect to determining the shape of the linear member. In this initial setting, the operator (user) inputs from the input unit 2 the start position Ps, the start vector Vs, the end position Pe, the end vector Ve, the actual length Lr of the guide cable GC in the first posture of the articulated robot MR, and the presence or absence of the moving device MD (present in the example shown in FIG. 1B, not present in the example shown in FIG. 1C). In this embodiment, for example, the presence of the moving device MD is input. Thereby, the linear member shape simulator D accepts these inputs from the input unit 2 and stores them in the storage unit 5. In the case where the moving device MD is present, the operator further inputs from the input unit 2 the change direction (-z direction in the example shown in FIG. 1B), the change amount Δz in one iteration in determining the shape of the guide cable GC, and its range (z0 to z1 in the example shown in FIG. 1B). Thus, the linear member shape simulator D receives these inputs from the input unit 2 and stores them in the storage unit 5. The allowable value Th may be input and stored in this initial setting process S1, or may be stored in advance (may be incorporated in the program in advance).

[0060] Next, the linear member shape simulator D uses the shape processing unit 12 of the control processing unit 1 to determine, by forward transformation processing, the starting position Ps, starting vector Vs, end position Pe and end vector Ve of the guide cable GC after the articulated robot MR is moved from the first posture to the next predetermined second posture based on the operation data (S2).

[0061] Next, the linear member shape simulator D sets the passing points pi and q (S3). The operator inputs the passing point position Pi, the passing point vector Vi, the initial position of the adjustment passing point position Q, the adjustment passing point vector U, the movement amount ΔM for one iteration in determining the shape of the guide cable GC, and the movement direction Um from the input unit 2. Thus, the linear member shape simulator D receives these inputs from the input unit 2 and stores them in the memory unit 5.

[0062] As shown in Fig. 4, when the guide cable GC is wound around the arm AM, a passing point pi for winding the guide cable GC around the arm AM of the articulated robot MR is set, and the passing point position Pi is input. The moving direction Um may be input directly, but in this embodiment, as described above with reference to Fig. 5, it is input indirectly by a habit vector Vh representing the direction of the bending habit of the guide cable GC. The control processing unit 1 obtains a resultant vector of the habit vector Vh and the gravity vector Vg, and sets the direction of this resultant vector as the moving direction Um.

[0063] Next, the linear member shape simulator D obtains the shape of the guide cable GC based on the start point position Ps, the start point vector Vs, the end point position Pe, the end point vector Ve, the pass point position Pi, the pass point vector Vi, the adjustment pass point position Q, and the adjustment pass point vector U by the shape processing unit 12 (S4, shape processing). i , B i , C i , D i By calculating the spline curve S i (t) is required.

[0064] Next, the linear member shape simulator D uses the length processing unit 13 of the control processing unit 1 to determine the length L of the guide cable GC in the shape determined by the shape processing unit 12 (S5, length processing).

[0065] Next, the linear member shape simulator D determines, by the shape determination unit 14 of the control processing unit 1, whether or not the difference between the actual length Lr of the guide cable GC and the length L of the guide cable GC calculated by the length processing unit 13 in step S5 is equal to or less than the allowable value Th (S6). If the result of this determination is that the difference is not equal to or less than the allowable value Th (if the difference exceeds the allowable value Th, No), the linear member shape simulator D then executes step S7. On the other hand, if the difference is equal to or less than the allowable value Th (Yes), the linear member shape simulator D (offline teaching device TC) ends this process and displays the guide cable GC in the shape thus calculated for the virtual robot model in the virtual space displayed on the display unit 3.

[0066] In the process S7, the linear member shape simulator D determines the presence or absence of a moving device MD by the shape determination unit 14 of the control processing unit 1. If the result of this determination is that a moving device MD is present (Present, Yes), the linear member shape simulator D then executes process S8, and if the result of the determination is that a moving device MD is not present (Not Present, No), the linear member shape simulator D then executes process S9.

[0067] In this process S8, the linear member shape simulator D determines whether or not a length adjustment is necessary by the shape determination unit 14. More specifically, the shape determination unit 14 compares the actual length Lr of the guide cable GC with the length L of the guide cable GC calculated by the length processing unit 13 in process S5, and if the result of this comparison shows that the length L of the guide cable GC calculated by the length processing unit 13 in process S5 is longer than the actual length Lr of the guide cable GC, it is determined that an adjustment is necessary (Yes), and the linear member shape simulator D then executes process S10. On the other hand, if the result of the comparison shows that the length L of the guide cable GC calculated by the length processing unit 13 in process S5 is not longer than the actual length Lr of the guide cable GC (if the length L of the guide cable GC calculated by the length processing unit 13 in process S5 is shorter than the actual length Lr of the guide cable GC), it is determined that an adjustment is not necessary (No), and the linear member shape simulator D then executes process S9.

[0068] In the process S9, the linear member shape simulator D changes the adjustment passing point position Q to a position moved in the movement direction Um by a single movement amount ΔM using the shape determination unit 14, and then executes process S4 (the process is returned to process S4).

[0069] In the process S10, the linear member shape simulator D changes the end position pe of the guide cable GC to a position moved in the change direction (-z direction in the example shown in Figure 1B) by the change amount Δz for one round using the shape determination unit 14, and then executes process S4 (the process is returned to process S4).

[0070] When the number of repetitions for determining the shape of the guide cable GC reaches a preset predetermined number, the repetitions may be forcibly terminated, and a message indicating that the shape of the guide cable GC cannot be determined may be displayed on the display unit 3. With this display, each of the above-mentioned processes shown in Fig. 6 is newly started, and in process S3, the operator may set a passing point pi and an adjustment passing point q that are different from those used previously.

[0071] As described above, the linear member shape simulator D for an articulated robot in the embodiment and the linear member shape simulation method and linear member shape simulation program implemented therein can set one or more passing points pi through which the linear member passes between a start point position ps and an end point position pe in a guide cable GC, which is an example of a linear member, and can therefore represent linear members with more complex shapes, such as windings. Therefore, the linear member shape simulator D for an articulated robot, the linear member shape simulation method, and the linear member shape simulation program can obtain the shape of a linear member by an approximation curve, even if the shape is more complex.

[0072] The linear member shape simulator D for an articulated robot, the linear member shape simulation method, and the linear member shape simulation program have the amount of movement ΔM and the movement direction Um for one repetition as adjustment parameters, and therefore can represent a linear member having a shape, for example, of deflection of the linear member taking into account the quirks of the linear member. Therefore, the linear member shape simulator D for an articulated robot, the linear member shape simulation method, and the linear member shape simulation program can obtain the shape of a linear member by an approximation curve, for example, taking into account deflection due to the quirks of the linear member.

[0073] The above-mentioned linear member shape simulator D of the articulated robot, linear member shape simulation method and linear member shape simulation program change the end position pe of the guide cable GC, which is an example of a linear member, when performing shape processing, so that the shape of the linear member can be obtained by an approximation curve taking into account a device (instrument) such as a tool balancer that adjusts the end position pe of the guide cable GC.

[0074] According to this embodiment, a linear part shape simulator D for a multi-joint robot, a linear part shape simulation method, and a linear part shape simulation program can be provided, which can obtain the shape of a linear part wound around the arm AM of a multi-joint robot MR using an approximate curve.

[0075] In the above embodiment, the shape processing unit 12 determines the shape of the linear member based on the start position Ps, the vector Vs at the start position Ps, the end position Pe, the vector Ve at the end position Pe, the position Pi of the pass point pi, the vector Vi at the position Pi of the pass point pi, the position Q of the adjustment pass point q, and the vector U at the position Q of the adjustment pass point q. In this way, by adjusting the magnitude of the vector, the shape of the linear member can be determined by an approximation curve, taking into account the rigidity of the linear member.

[0076] More specifically, in the above example, the shape of the linear member is calculated by Equation 1 to Equation 3, and the weights wi The stiffness of the linear member can be expressed by adjusting the weights Ws and We for the start point ps and the end point pe. An example of the simulation result in which the weights Ws and We for the start point ps and the end point pe are adjusted is shown in FIG.

[0077] 7A to 7C are diagrams for explaining the simulation results in the modified form. Fig. 7A shows the results when Ws=We=1, Fig. 7B shows the results when Ws=We=2, and Fig. 7C shows the results when Ws=We=3. The weight w for the adjustment waypoint q in Figs. 7A to 7C i is 1.

[0078] As can be seen by comparing Figures 7A to 7C, as the weights Ws, We for the start point ps and the end point pe become larger, the guide cable GC becomes less likely to bend in the direction of the vectors Vs, Ve at the start point ps and the end point pe. Therefore, the rigidity of the start and end points of the guide cable GC can be expressed by the weights Ws, We for the start point ps and the end point pe.

[0079] In addition, when expressing a guide cable GC with a more complicated shape such as a winding shape, the weights w of each vector at the passing points pi and the adjustment passing points q are set. i By adjusting the above, the stiffness of the guide cable GC other than the start and end can be expressed.

[0080] In order to express the present invention, the present invention has been described adequately and sufficiently through the embodiments with reference to the drawings in the above description, but it should be recognized that those skilled in the art can easily change and / or improve the above-mentioned embodiments. Therefore, unless the changes or improvements made by those skilled in the art are at a level that departs from the scope of the claims described in the claims, the changes or improvements are interpreted as being included in the scope of the claims. [Explanation of symbols]

[0081] TC Offline Teaching Device D. Articulated robot linear component shape simulator MR Articulated Robot 1 Control processing section 2 Input section 3 Display section 5 Storage section 11 Control section 12 Shape processing section 13 Length Processing Section 14 Shape determination section

Claims

1. 1. A linear member shape simulator for an articulated robot that determines a shape of a linear member associated with an articulated robot in a predetermined posture of the articulated robot, comprising: an input unit for inputting a start point position of the linear member, a start point vector representing a tangent direction at the start point position on a curve representing the shape of the linear member, an end point position of the linear member, an end point vector representing a tangent direction at the end point position on the curve representing the shape of the linear member, positions of one or more pass points through which the linear member passes between the start point position and the end point position, a pass point vector representing the tangent direction at the pass point on the curve representing the shape of the linear member, an initial position of an adjustment pass point through which the linear member passes and which adjusts the length of the linear member, an adjustment pass point vector representing the tangent direction at the adjustment pass point on the curve representing the shape of the linear member, and adjustment parameters for the adjustment pass points; a shape processing unit that executes shape processing to determine a shape of the linear member based on the start point position, the start point vector, the end point position, the end point vector, the pass point position, the pass point vector, the adjustment pass point position, and the adjustment pass point vector; a length processing unit that executes a length process to obtain a length of the linear member in the shape of the linear member obtained by the shape processing unit; a shape determination unit that repeatedly executes the shape processing and the length processing by using the positions of the pass-points input by the input unit and the initial positions of the adjustment pass-points input by the input unit as initial values ​​until a difference between an actual length of the linear member and the length of the linear member determined by the length processing unit becomes equal to or less than a tolerance value, At least one of the one or more passing points is set such that the linear member is wound around an arm of the articulated robot, the adjustment parameter is a moving amount and a moving direction for moving the adjustment pass-through point when the shape processing and the length processing are repeatedly executed, the shape determination unit changes a position of the adjustment pass-through point to a position obtained by moving the adjustment parameter by a single movement amount in a movement direction of the adjustment parameter when executing the shape processing. A simulator for linear component shapes of articulated robots.

2. the shape determination unit changes an end point position of the linear member when the length of the linear member calculated by the length processing unit is longer than an actual length of the linear member. The linear member shape simulator for an articulated robot according to claim 1.

3. A method for simulating a shape of a linear member of an articulated robot, the method comprising the steps of: obtaining a shape of a linear member associated with an articulated robot in a predetermined posture of the articulated robot; an input process for inputting a start point position of the linear member, a start point vector representing a tangent direction at the start point position on a curve representing the shape of the linear member, an end point position of the linear member, an end point vector representing a tangent direction at the end point position on a curve representing the shape of the linear member, positions of one or more pass points through which the linear member passes between the start point position and the end point position, a pass point vector representing a tangent direction at the pass point on the curve representing the shape of the linear member, an initial position of an adjustment pass point through which the linear member passes and which adjusts the length of the linear member, an adjustment pass point vector representing a tangent direction at the adjustment pass point on the curve representing the shape of the linear member, and adjustment parameters for the adjustment pass points; a shape processing step of determining a shape of the linear member based on the start point position, the start point vector, the end point position, the end point vector, the pass point position, the pass point vector, the adjustment pass point position, and the adjustment pass point vector; a length processing step of determining a length of the linear member in the shape of the linear member determined in the shape processing step; a shape determination step of repeatedly executing the shape processing step and the length processing step by using the positions of the pass-points input in the input step and by using the initial positions of the adjustment pass-points input in the input step as initial values ​​until a difference between an actual length of the linear member and the length of the linear member determined in the length processing step becomes equal to or less than a tolerance value, At least one of the one or more passing points is set such that the linear member is wound around an arm of the articulated robot, the adjustment parameter is a moving amount and a moving direction for moving the adjustment pass-through point when the shape processing step and the length processing step are repeatedly executed, In the shape determination step, when the shape processing step is executed, a position of the adjustment pass point is changed to a position obtained by moving the adjustment pass point by an amount of movement of the adjustment parameter in one movement direction of the adjustment parameter. A method for simulating the shape of linear members of an articulated robot.

4. A simulation program for simulating the shape of a linear member of an articulated robot, the simulation program being for determining the shape of a linear member associated with the articulated robot in a predetermined posture of the articulated robot, comprising: On the computer, an input process for inputting a start point position of the linear member, a start point vector representing a tangent direction at the start point position on a curve representing the shape of the linear member, an end point position of the linear member, an end point vector representing a tangent direction at the end point position on a curve representing the shape of the linear member, positions of one or more pass points through which the linear member passes between the start point position and the end point position, a pass point vector representing a tangent direction at the pass point on the curve representing the shape of the linear member, an initial position of an adjustment pass point through which the linear member passes and which adjusts the length of the linear member, an adjustment pass point vector representing a tangent direction at the adjustment pass point on the curve representing the shape of the linear member, and adjustment parameters for the adjustment pass points; a shape processing step of determining a shape of the linear member based on the start point position, the start point vector, the end point position, the end point vector, the pass point position, the pass point vector, the adjustment pass point position, and the adjustment pass point vector; a length processing step of determining a length of the linear member in the shape of the linear member determined in the shape processing step; a shape determination step of repeatedly executing the shape processing step and the length processing step by using the positions of the pass-points input in the input step and by using the initial positions of the adjustment pass-points input in the input step as initial values ​​until a difference between an actual length of the linear member and the length of the linear member determined in the length processing step becomes equal to or less than a tolerance value; At least one of the one or more passing points is set such that the linear member is wound around an arm of the articulated robot, the adjustment parameter is a moving amount and a moving direction for moving the adjustment pass-through point when the shape processing step and the length processing step are repeatedly executed, In the shape determination step, when the shape processing step is executed, a position of the adjustment pass point is changed to a position obtained by moving the adjustment pass point by an amount of movement of the adjustment parameter in one movement direction of the adjustment parameter. A simulation program for the shape of linear components in an articulated robot.

Citation Information

Patent Citations

  • Simulation method for filamentary member

    JP1995182017A

  • Cable display device in robot off-line teaching system

    JP2004074368A

  • CAD program

    JP2004362191A