EP0601206B1 - Method for controlling operation of a robot arm - Google Patents

Method for controlling operation of a robot arm Download PDF

Info

Publication number
EP0601206B1
EP0601206B1 EP93913590A EP93913590A EP0601206B1 EP 0601206 B1 EP0601206 B1 EP 0601206B1 EP 93913590 A EP93913590 A EP 93913590A EP 93913590 A EP93913590 A EP 93913590A EP 0601206 B1 EP0601206 B1 EP 0601206B1
Authority
EP
European Patent Office
Prior art keywords
positional relationship
coordinate system
signal waveform
workpiece
robot arm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
EP93913590A
Other languages
German (de)
French (fr)
Other versions
EP0601206A4 (en
EP0601206A1 (en
Inventor
Yasushi 5-8-404 Tomobuchicho 1-Chome Mukai
Makoto 2-9-204 Asahigaoka 1-Chome Takahashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of EP0601206A1 publication Critical patent/EP0601206A1/en
Publication of EP0601206A4 publication Critical patent/EP0601206A4/en
Application granted granted Critical
Publication of EP0601206B1 publication Critical patent/EP0601206B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K9/00Arc welding or cutting
    • B23K9/24Features related to electrodes
    • B23K9/28Supporting devices for electrodes
    • B23K9/287Supporting devices for electrode holders
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K9/00Arc welding or cutting
    • B23K9/12Automatic feeding or moving of electrodes or work for spot or seam welding or cutting
    • B23K9/127Means for tracking lines during arc welding or cutting
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • G05B19/425Teaching successive positions by numerical control, i.e. commands being entered to control the positioning servo of the tool head or end effector
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36441Follow contour, line with sensor and record points
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37425Distance, range
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/45Nc applications
    • G05B2219/45104Lasrobot, welding robot

Definitions

  • the present invention relates to a method for controlling operation of a robot arm, particularly to a teaching playback type welding robot which automatically recognizes a welding point on a workpiece to be welded and the posture of the later so as to perform self-teaching of an operation program while it autonomously follows a welding line.
  • a teaching method which is widely used, in general, at the present time, and in which a teaching worker uses manipulating switches in a manipulation box for designating a motion of a robot so as to cause the robot to take a predetermined motion while he monitors the motion of the robot in order to teach an operation program has offered problems such that not only a skilled teaching operation is necessary for a workpiece to be welded which requires a curved welding line, direction change or the like, but also the repetitions of trial operation are necessary in order to obtain a desired motion for the robot, and accordingly, it takes a long time for the teaching of the robot.
  • one is the so-called off-line teaching method for teaching an absolute position on the coordinates set on a working field including a robot.
  • a method of teaching an absolute position with the use of simulation by a computer, a method in which a position teaching unit incorporating several light emitting elements, instead of a torch, is moved along a welding line on a workpiece to be welded, and light emitted therefrom is detected by image sensors fixed to a working field so as to teach a robot, as disclosed in Japanese Laid-Open Patent No. 60-136806 or Japanese Patent Publication NO. 64-4875.
  • a first one of them is a direct teaching method in which a robot sometimes detects and stores in memory its motion while a worker who grips a welding torch or a grip part which a dummy of the torch fixed to the distal end part of a robot arm, leads the torch or the like so as to follow an welding line.
  • Japanese Laid-Open Patent No. 56-85106 discloses a method of detecting the motion, in which a force detector for detecting a direction in which the worker leads the grip part and a force for leading the grip part is provided, and the position and posture of the tip end of the torch is computed from an output signal from the detector.
  • the direct teaching method allows the worker to manipulate the robot with his institution without being aware of the coordinates set on a robot, it is easily handlable for the teaching worker.
  • the installed force detector interferes with a workpiece or a jig so that it cannot be manipulated, but also a certain shape of a workpiece forces the worker to take an unreasonable posture. Further, there is a possible risk such that the worker accidentally touches the robot and is therefore harmed.
  • a second method allows a robot to automatically recognize a welding start point and a weld line with the use of a sensor so that the robot performs a teaching work while it autonomously follows the welding line. Since this method can eliminate not only the necessity of confirmation of the interference and of correction to a teaching point, but also the necessity of preforming a teaching work which is performed by a worker in close proximity with a robot, the teaching work can completely be made. Further, since the robot automatically performs positioning and sets a posture with the use of data from the sensor, it is possible to aim at uniforming the quality of teaching without being dependent upon a worker's skill.
  • Means for automatically recognizing a welding start point and a welding line is classified mainly into two kinds.
  • the first kind uses a distance sensor or an image sensor utilizing a laser beam, ultrasonic waves or the like
  • the second kinds uses a welding work itself including a welding wire, a welding arc or the like.
  • a touch sensor using a welding wire as a wire earth is adapted to recognize a position on a workpiece from the position of a robot arm at a time when the welding wire as one of opposite electrodes applied with a voltage and the surface of the workpiece as another one of opposite electrodes make contact with each other so as to obtain an electrical communication during movement of the welding wire by a robot, and with the repetitions of the above-mentioned procedure at several points, the welding line can be detected.
  • an arc sensor utilizing a welding arc is of a type recognizing the position of a welding line with the use of variations in a welding current signal as a data source, that is, variations in welding current caused by variations in the distance between a welding tip and a mother material, which are in turn caused by weaving a welding torch in crossing with the welding line within the bevel of a welding joint, are used so as to recognize the position of the welding line.
  • the present invention is devised in order to solve the above-mentioned problems, and accordingly, one object of the present invention is to provide a sensor having a size and a shape which do not deteriorate the accessibility to a workpiece, being applicable to various workpiece shapes and various working environments, and being capable of automatically recognizing the position of a welding line and the posture of a torch with respect to a workpiece at a high speed without carrying out a practical welding work, and to provide a welding robot using the sensor, which can easily carry out a safe and effective teaching method with reduced man hours.
  • the noncontact distance sensor is rotated and swept by the rotating and sweeping means, a feature point in a signal waveform is extracted by the signal waveform processing means with the use of distance data to the objective workpiece and rotating phase data, the positional relationship between the first coordinate system and the second coordinate system, that is, the positions of a welding line, the workpiece and a welding torch and the posture of the latter, is calculated from the distance data and the rotating phase data at every thus extracted feature point by the positional relationship calculating means, and the robot arm is moved by the robot control means in such a way that the thus calculated positional relationship coincides with the previously set and stored positional relationship.
  • the robot arm can be automatically moved in a desired relationship which is previously set and stored, that is, the welding torch can be set at a desired position and in a desired posture.
  • a capacitance type noncontact distance sensor as the above-mentioned noncontact distance sensor, it is possible to provide a small size sensor which can perform detection with a high degree of accuracy with no affection by a surface condition of a workpiece, an environmental illumination, an ambient temperature or the like.
  • a vertical multi-joint type robot arm 1 is attached at its distal end with a welding torch (which will be herein denoted as “torch”) 13, and a workpiece 2 has a fillet welded joint.
  • a capacitance type noncontact distance sensor (which will be hereinbelow denoted as “capacitance type distance sensor”) 5 is attached rotatably to the tip end of the torch 13, eccentric from the center axis (Xt-axis which will be explained later) of the torch 13, and is adapted to be rotated for scanning by a rotating and sweeping means 6 using a servomotor (which is not shown) as a drive source, around the center axis of the torch 13 as a rotational center axis, with a predetermined radius.
  • An encoder for controlling the servomotor serves as a rotating phase detecting means 7 for detecting a rotating phase of the noncontact distance sensor 5, using a Yt-axial direction of a torch coordinate system 3 which will be hereinbelow explained, as a reference position.
  • a signal waveform processing means 8 obtains a signal waveform indicating a relationship between a distance and a phase, from an output signal delivered from capacitance type distance sensor 5 and an output signal from the rotating phase detecting means 7, and extracts a feature point from the signal waveform, data concerning the feature point being delivered to a positional relationship calculating means 9.
  • the positional relationship calculating means 9 calculates a positional relationship between first and second coordinate systems 3, 4 which will be explained later.
  • a positional relationship setting and storing means 10 previously sets and stores therein a desired target position with respect to the workpiece and a posture of the torch as the positional relationship between the first coordinate system 3 and the second coordinate system 4, and accordingly, the robot arm 1 is driven by a robot control means 11 and shaft drive motors 20 attached to the robot arm 1 in such a way that the set and stored positional relationship coincides with the positional relationship calculated by the positional relationship calculating means 9.
  • the robot control means 11 is composed of, as shown in Fig.
  • a desired movement position calculating means 14 a present position managing means 15, a third coordinate converting part 16, a first coordinate converting part 17, a second coordinate converting means 18, a servo control part 19, and the like, similar to conventional robots, and are incorporated in a robot control device 12 together with the positional relationship calculating means 9 and the positional relationship setting and storing means 10.
  • an encoder 21 is attached to a robot arm drive motor 20. It is noted that the motor 20 and the encoder 21 only for one axis are shown in Fig. 2, and those for the other axes are omitted.
  • the capacitance type distance sensor 5 in accordance with the present invention has two concentric sensor electrodes 22, 23 which are located at positions spaced from each other by a predetermined distance in the Xt-axial direction which will be explained later, so as to constitute the capacitance type distance sensor 5 having two channels which are operated separately from each other. Since the workpiece 2 has a fillet welded joint, the sensor electrodes are formed in a conical shape in order to enhance the effective electrode area with respect to the diameter of the electrodes.
  • the torch 13 and the capacitance type distance sensor 5 are joined together through the intermediary of a high electrically insulating member, and accordingly, the alignment between the center axis of the welding torch 18 and the rotating center axis of the rotating and sweeping means 6 and the positioning of the capacitance type distance sensor 5 at a reference point can be simply made. Further, it is possible to prevent shortcircuit of the workpiece 2 which is the other electrode of the capacitance type distance sensor 5, by way of a welding cable, a welding wire, a circuit in a welding power source or the like.
  • Fig. 4 shows the first coordinate system 3 (which will be hereinbelow denoted as “torch coordinate system) set to the torch that is attached to the robot arm 1.
  • first coordinate system 3 an action point at the tip end of the torch 13 is used as a first coordinate system original point Ot (which will be hereinbelow denoted as “torch original point Ot"), and the center axis of the torch 13 is used as the Xt-axis.
  • the positive direction of the Xt-axis is indicated by the arrow in Fig. 4.
  • a line orthogonal to the Xt-axis on a plane including the Xt-axis and the rotating center axis TW of a wrist shaft at the distal end of the robot arm 1 is set as a Zt-axis.
  • the positive direction of the Zt-axis is indicated by the arrow given by a broken line in Fig. 4, which is depicted as a perpendicular extended from the rotating axis TW to a point P set on the torch 13.
  • the direction orthogonal to the Xt and Zt axes, constituting a right-hand system is defined as a Yt-axis.
  • Fig. 5 shows the second coordinate system (which will be hereinbelow denoted as "workpiece coordinate system") 4 set on the objective workpiece 2.
  • the crossing point between the welding line and a perpendicular extending to the welding line from a point Q at which an extension of the Xt-axis of the above-mentioned torch coordinate system 3 crosses the workpiece is used as a second coordinate system original point Ow (which will be hereinbelow denoted as "workpiece original point Ow).
  • the direction of the welding line from the original point Ow is used as a Yw-axis, and the direction bisecting the bevel angle of the workpiece, orthogonal to the Yw is used as an Xw-axis.
  • the positive direction of the Yw-axis can be taken in either direction, but the positive direction of the Xw-axis is set so as to extend from the workpiece original point to the rear surface of the workpiece 2.
  • the remaining Zw-axis is orthogonal to the Xw- and Yw-axes, and extends in a direction constituting a right-hand system.
  • the capacitance type distance sensor 5 uses such a fact that the capacitance between two electrodes is inverse-proportional to the distance between opposed electrodes, and an electrode incorporated in the sensor is used as one of opposed electrodes while an object to be measured itself is used at other one of them, between which a potential difference is given so as to constitute a circuit for measuring the capacitance between the opposes electrodes, thereby it is possible to indirectly set the distance between the opposed electrodes or the distance between the capacitance type distance sensor 5 and the workpiece 2.
  • the distance data measured by the capacitance type distance sensor 5 and the phase data obtained from the rotating phase detecting means 7 are delivered to the signal waveform processing means 8 so as to be processed into distance data and phase data for every feature point, which are then delivered to the positional relationship calculating means 9 for calculating the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4.
  • the operation of the signal waveform processing means 8 and the positional relationship calculating means 9 will be detailed later.
  • the positional relationship calculated by the positional relationship calculating means 9 is delivered to the desired movement position detecting means 14 together with the reference positional relationship previously stored in the positional relationship setting and storing means 10 so as to calculate a desired movement position indicated in the torch coordinate system 3 in order to make the calculated positional relationship equal to the previously set and stored reference positional relationship.
  • the desired movement position indicated in the torch coordinate system 3 is delivered to the first coordinate converting part 17 together with the present position of the first coordinate system 3 indicated by an orthogonal coordinate system calculated by the third coordinate converting part 16, with the use of the present axis positions stored in the present position managing means 15, and is converted into a desired movement position indicated in the orthogonal coordinate system.
  • This desired movement position indicated in the joint coordinate system is delivered to the servo control part 19 for controlling the robot arm 1, in relation to the axes, simultaneously.
  • the desired movement position is compared with the present axis position data from the above-mentioned present position managing means 15, and motor rotating instructions are delivered to the motor 20 incorporated in the robot arm 1.
  • the encoder 21 attached to the motor 20 delivers feed-back data to the servo control part 19 so as to constitute a servo system, and is also delivered to the present position managing means 15 so as to be used for updating the present position.
  • Fig. 6 is a typical view showing such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4.
  • the capacitance type distance sensor 5 measures the distance to the workpiece in the Xt-axial direction, that is, successively measures the lengths of several arrows parallel with the Xt-axis as shown in the figure while the capacitance type distance sensor 5 is rotated around the Xt-axis as a rotating center axis by the rotating and sweeping means 6 (which is not shown in Fig.
  • the rotational phase of the capacitance type distance sensor 5 can be simultaneously detected by the rotating phase detecting means 7, and accordingly, a signal waveform shown by a solid line in Fig. 7 is obtained.
  • the ordinate exhibits the distance to the workpiece 2 measured by the capacitance type distance sensor, and the abscissa exhibits the rotating phase during measurement.
  • the signal waveform indicating the relationship between the rotating phase and the distance theoretically exhibits such a shape that a sinusoidal wave is folded back at every other half-cycle.
  • the capacitance type distance sensor 5 measures an averaged distance obtained from the total value of capacitances between the object to be measured (workpiece 2) and the sensor electrode, and grasps the workpiece as not a point but a surface
  • the signal waveform actually obtained resembles to a sinusoidal wave having two cycle periods per one revolution and having no pints of discontinuity as indicated by a broken line in Fig. 7.
  • explanation will be made with the use of the theoretical signal waveform indicated by the solid line in Fig. 7 in the following description.
  • the signal waveform varies depending upon the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4, and accordingly, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 can be known by detecting the variation in the signal waveform.
  • the signal waveform contains noise, and accordingly, when the difference between the values of the successive two extreme points is less than a predetermined value, and the difference between the phases at the two extreme points is less that a predetermined value, these extreme points are not extracted as feature points in order to prevent extreme points from being erroneously extracted by noise. Further, as mentioned above, since the capacitance type distance sensor is used, a point of discontinuity is not inherently present in the signal waveform, and accordingly, if the extreme point is a point of discontinuity, the point is considered as noise, and is therefore excluded.
  • local minimum points are located at positions at which the left and right inner surfaces of the joint of the workpiece 2 cross the Xt-Zt plane. These left and right local minimum points are denoted as LB, RB, respectively (if the two coordinate systems coincide with each other as shown in Fig. 7, these points are denoted as LB0, RB0, respectively). Further, local maximum points are located front and back on the welding line on the workpiece 2 in the advance direction, and these front and back local maximum points are denoted as FP, BP (they are denoted as FPO, BPO in Fig. 7).
  • the local minimum points RB0, LB0, and the local maximum points FP0, BPO have equal values, respectively, and the phases at these four extreme points divide one revolution into four equal parts. Further, since the reference position of the rotating phase is set in the positive direction of the Yt-axis, the phase of the point FP0 coincides with the reference position of the phase.
  • Fig. 8 shows a condition such that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other by a distance X in the Xt-axial direction
  • Fig. 8 is a view obtained by observing the typical view shown in Fig. 6 in the Yw-axial direction.
  • a signal waveform obtained in this condition is indicated by a solid line in Fig. 9.
  • Extreme points obtained in this condition are denoted as FP1, BP1, RB1, LB1.
  • a waveform indicated by a broken line in Fig. 9 is the waveform as shown in Fig. 7 in such a case that the torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other.
  • the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 can be calculated by comparing the averaged value of the points FP1, BP1 which are local maximum points in the waveform, with the averaged value of the points FP0, BP0 in such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4.
  • Fig. 10 shows in such a condition that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Zt-axis by an angle ⁇ (that is, inclined).
  • Fig. 10 is obtained by observing the typical view given by Fig. 6 in the Zw-axial direction.
  • a signal waveform obtained in this condition is indicated by a solid line in Fig. 11. Extreme points in this condition are denoted as FP2, BP2, RB2, LB2, respectively.
  • a waveform indicated by a broken line in Fig. 11 is the waveform as shown in Fig. 7 in such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4.
  • Fig. 12 shows such a condition that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other by a distance Z in the Zt-axial direction.
  • Fig. 12 is obtained by observing the typical view given by Fig. 6 in the Yw-axial direction, similar to Fig. 8, and a signal waveform obtained in this condition is indicated by a solid line in Fig. 13. Extreme points obtained in this condition are denoted as FP3, BP3, RB3, LB3, respectively. It is noted that the signal waveform shown in Fig.
  • a waveform indicted by a broken line is a signal waveform in such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4, and which are similarly obtained by actual measurement with the use of the capacitance type distance sensor 5.
  • a difference is present between the values of the local minimum points LB3, RB3 at the left and right surfaces of the workpiece 2, and also a difference is present between the phase with which the right inner surface is scanned, that is, the difference RH3 between the phase value of the local maxium point FP3 and the phase value of the local maximum point BP3, and the phase with which the left inner surface is scanned, that is, the difference LH3 between the phase value of the local maximum point FP3' and the phase value of the local maximum point BP3.
  • the local maximum point FP3' is obtained by measuring the position the same as that of the local maximum point FP3 one revolution before.
  • the shift between the torch coordinate system 3 and the workpiece coordinate system 4 in the Zt-axial direction can be calculated with the use of either the difference between two local minimum points or the difference in phase between two local maximum points, as mentioned above, since no points of discontinuity are present at the local maximum points in the actual signal waveform measured by the capacitance type distance sensor 5 as shown in Fig. 13, the detection accuracy is inferior in the calculation method using the phase.
  • the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 in the Zt-axial direction is calculated with the use of the difference between the values of the local minimum points RB3, LB3.
  • Fig. 14 shows such a condition that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Yt-axis by an angle ⁇ (or inclined).
  • Fig. 14 is obtained by observing the typical view given by Fig. 6 in the Yt-axial direction, similar to Figs. 8 and 10.
  • a signal waveform obtained in this condition is indicated by a solid line in Fig. 15. Extreme points obtained in this condition are denoted as FP4, BP4, RB4, LB4, respectively.
  • Figs. 16(A) and (B) are views for explaining a calculation method for such a case that the torch coordinate system 3 and the workpiece coordinate system 4 are inclined around the Yt-axis by an angle ⁇ , using this two channel capacitance type distance sensor 5.
  • the capacitance type distance sensor 5 obtains a distance from the total value of capacitances between the object to be measured and the sensor electrode, the actual measured distance is a distance in the Xw-axial direction, and accordingly, the two channels of the capacitance type distance sensor 5 measure the distances between an arrow indicated by a solid line and an arrow indicated by a broken line in the figure, respectively.
  • the distance SZ between the solid line arrow and the broken line allow in the Zw-axial direction varies in dependence upon the angle ⁇ as clear from Figs. 6(A) and (B), and therefore can be obtained in such a way that the capacitance type distance sensor 5 is rotated and swept, and shifts in the Zt-axial direction are calculated respectively for the two channels so as to take a difference between the respective results of the calculation.
  • Fig. 16(B) is an enlarged view illustrating the electrode part of the capacitance type distance sensor 5 shown in Fig. 16(A).
  • the first electrode 22 and the second electrode 23 measure the distance from points S1, S2 to the workpiece 2 as shown in the figure, these points S1, S2 being spaced from each other by a distance SX in an Xt'-axial direction which is parallel with the Xt-axis.
  • the angle ⁇ that is, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 around the Yt-axis (that is, the inclination of the capacitance type distance sensor 5) can be obtained by calculating the inverse sine function of the division of SX by SZ since an angle S1, S2, S' of the right angle triangular S1, S2, S' is ⁇ .
  • a signal waveform which is obtained when the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other by an angle ⁇ around the Xt-axis is shown by a solid line in Fig. 17. Extreme points obtained in this condition are denoted as FP5, BP5, RB5, LB5, respectively. Further, the signal waveform obtained in such a case that torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other is indicated by a broken line.
  • Fig. 18 is a view which shows that the phases at the extreme points FP, BP, LB, RB in such a case that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other in both Xt-axial and Zt-axial directions, and also around the Xt-axis, Yt-axis and Zt-axis, are given on the rotating and scanning orbit of the capacitance type distance sensor 5.
  • the positional relationship to be obtained is the shift value around the Xt-axis, that is, the angle ⁇ between the welding line Yw and the Yt-axis.
  • the positional relationship around the Xt-axis can be solely calculated, irrespective of the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4.
  • the straight line extending between the local minimum points RB, LB and indicated by the broken line in the figure and the straight line extending between the points FP, BP, that is, the Yw-axis are always orthogonal to each other on the rotating and scanning orbital plane, and this fact can be understood from the consideration of the shape of the workpiece and the definition of the coordinate systems as well as from the geometrical consideration of the rotating and scanning orbit.
  • the angle ⁇ can be calculated in a direction which is indicated by the averaged value B between the phase at the point RB with respect to the reference position and the phase at the point LB with respect to the reference position, or in a direction orthogonal to a direction indicated by the averaged value P between the phase at the point FP with respect to the reference position and the phase at the point BP with respect to the reference position, and with this calculation method, the positional relationship around the Xt-axis can be easily calculated.
  • the robot arm 1 by moving the robot arm 1 in such a way that the thus calculated positional relationship coincides with a desired positional relationship previously set and stored in memory, the workpiece whose direction and position are both unknown can automatically detected, and the robot arm 1 or the torch 13 can be positioned at a desired target position or torch posture.
  • the robot arm 1 As to the positional relationship in the Yt-axial direction or the positional relationship of the welding line, as the remaining one component which gives the positional relationship, it is satisfactory to always set zero for the detection of the start point, and if a value other than zero is given, the robot arm 1 is moved to a position shifted from the present position in the direction of the welding line. With the repetitions of this procedure, the above-mentioned operation is successively carried out so that the robot arm 1 can be moved so as to automatically trace the welding line while a desired target position and torch posture are maintained.
  • the component in the Yt-axial direction among the six components indicating the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 is a variable which determines the direction and the speed with which the welding line is traced.
  • the welding speed can be optimumly adjusted being fit to the occasion.
  • a signal waveform obtained in such a case that the robot arm is moved as a constant speed in the Xt-axial direction from a condition in which the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other in the Xt-axial direction to a condition in which both coordinate systems coincide with each other, during one revolution scanning of the capacitance type distance sensor 5 is indicted by a solid line, and extreme points in this condition are denoted as FP6, RB6, BP6, LB6, respectively.
  • a signal waveform obtained in such a case that transition is made while a condition in which the torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other is maintained as it is, is indicated by a broken line, and extreme points in this case are denoted as FP0, RB0, BP0, LB0, respectively.
  • the difference between the value of one local maximum point FP6 and the value of the same local maximum point FP6' one revolution before is divided by a phase difference PH6 between both extreme points so as to obtain a displacement DDXt per unit phase, and the DDXt is multiplied by phase differences between the point FP6 and the other points RB6, BP6, LB6 located between both local maximum points so as to obtain compensating values for these extreme points. Accordingly, the compensation is made for the respective values.
  • the positional relationship calculating means 9 can precisely calculate the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4.
  • Table 1 The comparison between the teaching time of the welding robot according to the present invention and that of a conventional method using a manipulating box is shown in Table 1.
  • Table 1 WORKER A B C D E AVERAGE SKILL UPPER MIDDLE LOWER TEACHING TIME BY INVENTION 230 240 259 280 285 244 CONVENTIONAL TEACHING TIME (sec) 564 752 855 1157 1240 860 RATE TO CONVENTIONAL TEACHING (sec) 40.8 31.9 30.3 24.2 23.0 28.4
  • the teaching work was carried out for a workpiece shown in Fig. 2, using circle marks as teaching points.
  • this teaching work it was designated that the torch angle with respect to a horizontal plane was set to 45 deg., and the advancing or backing angle with respect to the welding line was set to zero.
  • the number of teaching points was 22, and the welding length was 810 mm at that time.
  • the teaching time with the use of the welding robot according to the present invention can be reduced by about 30 % in comparison with that of the conventional method. Further, even a beginner can carry out a teaching work by a time substantially equal to that taken by a skilled worker, irrespective of the skill of the worker. In view of this fact, it is possible to obtain excellent technical effects and advantages.
  • the capacitance type distance sensor 5 is rotated and swept by the rotating and sweeping means 6, a feature point is extracted from a signal waveform by the signal waveform processing means 8 with the use of distance data to the objective workpiece 2 and rotating phase data, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 is calculated from the distance data and rotating phase data per thus extracted feature point by the positional relationship calculating means 9, and the robot arm 1 is moved by the robot control means in such a way that the thus calculated positional relationship coincides with a previously set and stored positional relationship. Accordingly, the robot arm 1 or the torch 13 can be autonomously moved so as to have a previously set and stored positional relationship, that is, it can be moved to a desired welding torch position or posture.
  • the capacitance type distance sensor 5 is previously attached to the rotating and sweeping means 6, and accordingly, it is attached to the welding torch 13 together with the rotating and sweeping means 6, according to the present invention
  • a part of members constituting the torch 13, such as a chip adapted to be rotated together with the electrode rod of the capacitance type distance sensor 5 can be replaced so that an electrode rod rotating mechanism belonging to the torch can be used as the rotating and sweeping means 6.
  • the rotating phase detecting means 7 can be realized by precisely rotating the rotating and sweeping means 6 so as to measure the time.
  • the positional relationship calculated by estimating that the positional relationship is stationary is subtracted from the positional relationship which has been calculated one revolution scanning before so as to approximately calculate movements per revolution, the positional relationship is again calculated by compensating the values of the extreme points and the phases at these points with the use of the thus approximately calculated movements, and accordingly, it is possible to reduce errors.
  • a noncontact distance sensor such as a laser type distance sensor can be used instead of the capacitance type distance sensor.
  • the method according to the present invention can be suitably used for easily and efficiently carrying out a teaching work for a workpiece which has a complicated shape so as to require several teaching points, or for a workpiece which requires several operation programs due to mutikind and small quantity production, with a high degree of accuracy by a worker who has no teaching skill.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Plasma & Fusion (AREA)
  • Mechanical Engineering (AREA)
  • Robotics (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

A teaching robot which has a sensor having a size and a shape that do not obstruct accessibility to a work, and which self-teaches an operation program without actually doing welding. The robot comprises rotation-scanning means (6) fitted to the tip of a robot arm (1), for rotating a non-contact distance sensor (5), rotation phase detection means (7) for detecting rotation phase information, signal waveform processing means (8) for picking up a characteristic point of a signal waveform from distance information with respect to the object work (2) and from rotation phase information, positional relation calculation means (9) for calculating a positional relationship between the object work and the tip of the robot arm from the picked up characteristic point of the signal waveform, positional relationship setting/storing means (10) for setting and storing in advance a reference positional relationship, and a controller (11) for autonomously operating the robot arm so that the positional relationship calculated by the positional relationship calculation means (9) is in conformity with the positional relationship stored in the positional relationship setting/storing means.

Description

  • The present invention relates to a method for controlling operation of a robot arm, particularly to a teaching playback type welding robot which automatically recognizes a welding point on a workpiece to be welded and the posture of the later so as to perform self-teaching of an operation program while it autonomously follows a welding line.
  • BACKGROUND OF THE INVENTION
  • Most of presently available welding robots are of a teaching play-back type, and accordingly, it has been required to teach several operation programs to a single robot in order to cope with multi-kind and small quantity production while it has been desired to provide measures for reducing the manhours of effective teaching of an operation program to an welding robot in view of a lack of skilled workers for teaching a robot.
  • A teaching method which is widely used, in general, at the present time, and in which a teaching worker uses manipulating switches in a manipulation box for designating a motion of a robot so as to cause the robot to take a predetermined motion while he monitors the motion of the robot in order to teach an operation program, has offered problems such that not only a skilled teaching operation is necessary for a workpiece to be welded which requires a curved welding line, direction change or the like, but also the repetitions of trial operation are necessary in order to obtain a desired motion for the robot, and accordingly, it takes a long time for the teaching of the robot.
  • In view of the above, various teaching measures with no use of a manipulation box as mentioned above, have been proposed, and have been practically used bit by bit.
  • Of the above-mentioned measures, one is the so-called off-line teaching method for teaching an absolute position on the coordinates set on a working field including a robot. For example, there have been proposed a method of teaching an absolute position with the use of simulation by a computer, a method in which a position teaching unit incorporating several light emitting elements, instead of a torch, is moved along a welding line on a workpiece to be welded, and light emitted therefrom is detected by image sensors fixed to a working field so as to teach a robot, as disclosed in Japanese Laid-Open Patent No. 60-136806 or Japanese Patent Publication NO. 64-4875. In these methods, not only a high degree of accuracy is reburied for positioning a robot, but also the confirmation of the presence of the interference between a robot arm, a welding torch or a welding cable and a workpiece to be welded, a peripheral jig or the like is required.
  • Further, there are other methods in which teaching is made while a robot is actually operated. A first one of them is a direct teaching method in which a robot sometimes detects and stores in memory its motion while a worker who grips a welding torch or a grip part which a dummy of the torch fixed to the distal end part of a robot arm, leads the torch or the like so as to follow an welding line. For example, Japanese Laid-Open Patent No. 56-85106 discloses a method of detecting the motion, in which a force detector for detecting a direction in which the worker leads the grip part and a force for leading the grip part is provided, and the position and posture of the tip end of the torch is computed from an output signal from the detector. Since the direct teaching method allows the worker to manipulate the robot with his institution without being aware of the coordinates set on a robot, it is easily handlable for the teaching worker. However, not only the installed force detector interferes with a workpiece or a jig so that it cannot be manipulated, but also a certain shape of a workpiece forces the worker to take an unreasonable posture. Further, there is a possible risk such that the worker accidentally touches the robot and is therefore harmed.
  • A second method allows a robot to automatically recognize a welding start point and a weld line with the use of a sensor so that the robot performs a teaching work while it autonomously follows the welding line. Since this method can eliminate not only the necessity of confirmation of the interference and of correction to a teaching point, but also the necessity of preforming a teaching work which is performed by a worker in close proximity with a robot, the teaching work can completely be made. Further, since the robot automatically performs positioning and sets a posture with the use of data from the sensor, it is possible to aim at uniforming the quality of teaching without being dependent upon a worker's skill.
  • Means for automatically recognizing a welding start point and a welding line, is classified mainly into two kinds. The first kind uses a distance sensor or an image sensor utilizing a laser beam, ultrasonic waves or the like, and the second kinds uses a welding work itself including a welding wire, a welding arc or the like.
  • In general, most of the means for automatically recognizing a welding start point and a welding line with the use of the distance sensor or the image sensor utilizing a laser beam, ultrasonic waves or the like require additional attachment of the sensor to a robot in the vicinity of a welding torch, and accordingly, the interference between the sensor and a workpiece, a jig or the like possibly causes a hindrance since a small sized accurate sensor can hardly be obtained at the present time, and further, affections caused by a surface condition of a workpiece, an enviromantal illumination, an ambient temperature or the like are not negligible. Thus, there has been offered such a problem that a workpiece, a jig or a working environment which are applicable are subjected to great restrictions.
  • As disclosed in Japanese Laid-Open Patent No. 54-15441, a touch sensor using a welding wire as a wire earth is adapted to recognize a position on a workpiece from the position of a robot arm at a time when the welding wire as one of opposite electrodes applied with a voltage and the surface of the workpiece as another one of opposite electrodes make contact with each other so as to obtain an electrical communication during movement of the welding wire by a robot, and with the repetitions of the above-mentioned procedure at several points, the welding line can be detected. However, in this procedure, the detecting action is not so fast since sensing is required at several positions for every teaching point, and accordingly, the more the workpiece complicates so that a number of teaching points increases, the longer the time is required for teaching, thereby there has been offered such a problem that the practical usability thereof is remarkably deteriorated.
  • Further, as disclosed in Japanese Laid-Open Utility Model No. 54-55635, an arc sensor utilizing a welding arc is of a type recognizing the position of a welding line with the use of variations in a welding current signal as a data source, that is, variations in welding current caused by variations in the distance between a welding tip and a mother material, which are in turn caused by weaving a welding torch in crossing with the welding line within the bevel of a welding joint, are used so as to recognize the position of the welding line. However, this method cannot be made over again since the arc itself has to serve as a sensor so that the teaching work must be made during an actual welding work, and further, there have been offered such problems that the trace of a welding line at a high speed is difficult, practical application to a lap joint of thin plates is inappropriate, the performance of the trace is greatly affected by welding terms, the control of the posture of a torch is difficult and so forth.
  • The present invention is devised in order to solve the above-mentioned problems, and accordingly, one object of the present invention is to provide a sensor having a size and a shape which do not deteriorate the accessibility to a workpiece, being applicable to various workpiece shapes and various working environments, and being capable of automatically recognizing the position of a welding line and the posture of a torch with respect to a workpiece at a high speed without carrying out a practical welding work, and to provide a welding robot using the sensor, which can easily carry out a safe and effective teaching method with reduced man hours.
  • DISCLOSURES OF THE INVENTION
  • According to the invention, there is provided a method for controlling operation of a robot arm as laid down in claim 1. Preferred embodiments are claimed in the subclaims.
  • With the arrangement according to the present invention, the noncontact distance sensor is rotated and swept by the rotating and sweeping means, a feature point in a signal waveform is extracted by the signal waveform processing means with the use of distance data to the objective workpiece and rotating phase data, the positional relationship between the first coordinate system and the second coordinate system, that is, the positions of a welding line, the workpiece and a welding torch and the posture of the latter, is calculated from the distance data and the rotating phase data at every thus extracted feature point by the positional relationship calculating means, and the robot arm is moved by the robot control means in such a way that the thus calculated positional relationship coincides with the previously set and stored positional relationship. Thus, the robot arm can be automatically moved in a desired relationship which is previously set and stored, that is, the welding torch can be set at a desired position and in a desired posture.
  • Further, with the use of a capacitance type noncontact distance sensor as the above-mentioned noncontact distance sensor, it is possible to provide a small size sensor which can perform detection with a high degree of accuracy with no affection by a surface condition of a workpiece, an environmental illumination, an ambient temperature or the like.
  • BRIEF DESCRIPTION OF THE DRAWINGS
    • Fig. 1 is an external view illustrating the entire arrangement of the present invention;
    • Fig. 2 is a block diagram showing the stream of data in accordance with the present invention:
    • Fig. 3 is a view illustrating a capacitance type two channel distance sensor;
    • Fig. 4 is a view for explaining a first coordinate system;
    • Fig. 5 is a view for explaining a second coordinate system;
    • Fig. 6 is a typical view showing such a case that a torch coordinate system coincides with a workpiece coordinate system;
    • Fig. 7 is a view showing a waveform of a sensor signal in such a case that the torch coordinate system coincides with the workpiece coordinate system;
    • Fig. 8 is a typical view showing such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other in the direction of an Xt-axis;
    • Fig. 9 is a view showing a waveform of a sensor signal in such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other in the direction of the Xt-axis;
    • Fig. 10 is a typical view showing such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other around a Zt-axis;
    • Fig. 11 is a view showing a waveform of a sensor signal in such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other around the Zt-axis;
    • Fig. 12 is a typical view showing such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other in the direction of the Zt-axis;
    • Fig. 13 is a view showing a waveform of a sensor signal in such a case that the torch coordinate system and the workpiece coordinate system are shifted from each in the direction of the Zt-axis;
    • Fig. 14 is a typical view showing such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other around a Yt-axis;
    • Fig. 15 is a view showing a waveform of a sensor signal in such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other around the Yt-axis;
    • Fig. 16(A) is a typical view showing such a case that the capacitance type two channel distance sensor is used, and that the torch coordinate system and the workpiece coordinate system are shifted from each other around the Yt-axis:
    • Fig. 16(B) is an enlarged view illustrating a part of the capacitance type distance sensor shown in Fig. 6(A) in the vicinity of the front end thereof;
    • Fig. 17 is a view showing a waveform of a sensor signal in such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other around Xt-axis;
    • Fig. 18 is a view showing a phase relationship in such a case that the torch coordinate system and the workpiece coordinate system are shifted from each other around the Xt-axis;
    • Fig. 19 is a view showing a waveform of a sensor signal in such a case the torch coordinate system and the workpiece coordinate system are shifted from each other within a single scanning; and,
    • Fig. 20 is a perspective view illustrating a workpiece to be welded which is used in an example of teaching according to the present invention.
    BEST MODES OF THE INVENTION
  • Detailed explanation will be hereinbelow made of the present invention in reference to the accompanying drawings.
  • Referring to Fig. 1, A vertical multi-joint type robot arm 1 is attached at its distal end with a welding torch (which will be herein denoted as "torch") 13, and a workpiece 2 has a fillet welded joint. A capacitance type noncontact distance sensor (which will be hereinbelow denoted as "capacitance type distance sensor") 5 is attached rotatably to the tip end of the torch 13, eccentric from the center axis (Xt-axis which will be explained later) of the torch 13, and is adapted to be rotated for scanning by a rotating and sweeping means 6 using a servomotor (which is not shown) as a drive source, around the center axis of the torch 13 as a rotational center axis, with a predetermined radius. An encoder for controlling the servomotor serves as a rotating phase detecting means 7 for detecting a rotating phase of the noncontact distance sensor 5, using a Yt-axial direction of a torch coordinate system 3 which will be hereinbelow explained, as a reference position. A signal waveform processing means 8 obtains a signal waveform indicating a relationship between a distance and a phase, from an output signal delivered from capacitance type distance sensor 5 and an output signal from the rotating phase detecting means 7, and extracts a feature point from the signal waveform, data concerning the feature point being delivered to a positional relationship calculating means 9. The positional relationship calculating means 9 calculates a positional relationship between first and second coordinate systems 3, 4 which will be explained later.
  • A positional relationship setting and storing means 10 previously sets and stores therein a desired target position with respect to the workpiece and a posture of the torch as the positional relationship between the first coordinate system 3 and the second coordinate system 4, and accordingly, the robot arm 1 is driven by a robot control means 11 and shaft drive motors 20 attached to the robot arm 1 in such a way that the set and stored positional relationship coincides with the positional relationship calculated by the positional relationship calculating means 9. The robot control means 11 is composed of, as shown in Fig. 1, a desired movement position calculating means 14, a present position managing means 15, a third coordinate converting part 16, a first coordinate converting part 17, a second coordinate converting means 18, a servo control part 19, and the like, similar to conventional robots, and are incorporated in a robot control device 12 together with the positional relationship calculating means 9 and the positional relationship setting and storing means 10. As shown in Fig. 2, an encoder 21 is attached to a robot arm drive motor 20. It is noted that the motor 20 and the encoder 21 only for one axis are shown in Fig. 2, and those for the other axes are omitted.
  • The capacitance type distance sensor 5 in accordance with the present invention, as shown in Fig. 3, has two concentric sensor electrodes 22, 23 which are located at positions spaced from each other by a predetermined distance in the Xt-axial direction which will be explained later, so as to constitute the capacitance type distance sensor 5 having two channels which are operated separately from each other. Since the workpiece 2 has a fillet welded joint, the sensor electrodes are formed in a conical shape in order to enhance the effective electrode area with respect to the diameter of the electrodes. Further, the torch 13 and the capacitance type distance sensor 5 are joined together through the intermediary of a high electrically insulating member, and accordingly, the alignment between the center axis of the welding torch 18 and the rotating center axis of the rotating and sweeping means 6 and the positioning of the capacitance type distance sensor 5 at a reference point can be simply made. Further, it is possible to prevent shortcircuit of the workpiece 2 which is the other electrode of the capacitance type distance sensor 5, by way of a welding cable, a welding wire, a circuit in a welding power source or the like.
  • Explanation will be hereinbelow made of operation of the welding robot constituted as mentioned above. At first, the coordinate systems serving as the reference for the positional relationship between the torch 13 and the workpiece 2 will be defined with reference to Figs. 4 and 5.
  • Fig. 4 shows the first coordinate system 3 (which will be hereinbelow denoted as "torch coordinate system) set to the torch that is attached to the robot arm 1. In the first coordinate system 3, an action point at the tip end of the torch 13 is used as a first coordinate system original point Ot (which will be hereinbelow denoted as "torch original point Ot"), and the center axis of the torch 13 is used as the Xt-axis. The positive direction of the Xt-axis is indicated by the arrow in Fig. 4. Further, a line orthogonal to the Xt-axis on a plane including the Xt-axis and the rotating center axis TW of a wrist shaft at the distal end of the robot arm 1 is set as a Zt-axis. The positive direction of the Zt-axis is indicated by the arrow given by a broken line in Fig. 4, which is depicted as a perpendicular extended from the rotating axis TW to a point P set on the torch 13. Further, the direction orthogonal to the Xt and Zt axes, constituting a right-hand system is defined as a Yt-axis.
  • Next, Fig. 5 shows the second coordinate system (which will be hereinbelow denoted as "workpiece coordinate system") 4 set on the objective workpiece 2. In a condition in which the robot arm 1 is positioned in the vicinity of a welding line on the workpiece 2, the crossing point between the welding line and a perpendicular extending to the welding line from a point Q at which an extension of the Xt-axis of the above-mentioned torch coordinate system 3 crosses the workpiece, is used as a second coordinate system original point Ow (which will be hereinbelow denoted as "workpiece original point Ow). The direction of the welding line from the original point Ow is used as a Yw-axis, and the direction bisecting the bevel angle of the workpiece, orthogonal to the Yw is used as an Xw-axis. In this phase, the positive direction of the Yw-axis can be taken in either direction, but the positive direction of the Xw-axis is set so as to extend from the workpiece original point to the rear surface of the workpiece 2. The remaining Zw-axis is orthogonal to the Xw- and Yw-axes, and extends in a direction constituting a right-hand system.
  • At first, the capacitance type distance sensor 5 uses such a fact that the capacitance between two electrodes is inverse-proportional to the distance between opposed electrodes, and an electrode incorporated in the sensor is used as one of opposed electrodes while an object to be measured itself is used at other one of them, between which a potential difference is given so as to constitute a circuit for measuring the capacitance between the opposes electrodes, thereby it is possible to indirectly set the distance between the opposed electrodes or the distance between the capacitance type distance sensor 5 and the workpiece 2.
  • The distance data measured by the capacitance type distance sensor 5 and the phase data obtained from the rotating phase detecting means 7 are delivered to the signal waveform processing means 8 so as to be processed into distance data and phase data for every feature point, which are then delivered to the positional relationship calculating means 9 for calculating the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4. The operation of the signal waveform processing means 8 and the positional relationship calculating means 9 will be detailed later.
  • The positional relationship calculated by the positional relationship calculating means 9 is delivered to the desired movement position detecting means 14 together with the reference positional relationship previously stored in the positional relationship setting and storing means 10 so as to calculate a desired movement position indicated in the torch coordinate system 3 in order to make the calculated positional relationship equal to the previously set and stored reference positional relationship. The desired movement position indicated in the torch coordinate system 3 is delivered to the first coordinate converting part 17 together with the present position of the first coordinate system 3 indicated by an orthogonal coordinate system calculated by the third coordinate converting part 16, with the use of the present axis positions stored in the present position managing means 15, and is converted into a desired movement position indicated in the orthogonal coordinate system. Then, it is delivered to the second coordinate converting part 18 so as to be further converted into a desired movement position indicated in a joint coordinate system. This desired movement position indicated in the joint coordinate system is delivered to the servo control part 19 for controlling the robot arm 1, in relation to the axes, simultaneously.
  • That is, the desired movement position is compared with the present axis position data from the above-mentioned present position managing means 15, and motor rotating instructions are delivered to the motor 20 incorporated in the robot arm 1. The encoder 21 attached to the motor 20 delivers feed-back data to the servo control part 19 so as to constitute a servo system, and is also delivered to the present position managing means 15 so as to be used for updating the present position.
  • Explanation will be hereinbelow made of a specific method of calculating the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 with the use of the signal waveform processing means 8 and the positional relationship calculating means 9, with reference to the drawings.
  • First, Fig. 6 is a typical view showing such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4. Referring to Fig. 6, the capacitance type distance sensor 5 measures the distance to the workpiece in the Xt-axial direction, that is, successively measures the lengths of several arrows parallel with the Xt-axis as shown in the figure while the capacitance type distance sensor 5 is rotated around the Xt-axis as a rotating center axis by the rotating and sweeping means 6 (which is not shown in Fig. 6), counterclockwise as indicated by the arrow given by the broken line, During this period, the rotational phase of the capacitance type distance sensor 5 can be simultaneously detected by the rotating phase detecting means 7, and accordingly, a signal waveform shown by a solid line in Fig. 7 is obtained. The ordinate exhibits the distance to the workpiece 2 measured by the capacitance type distance sensor, and the abscissa exhibits the rotating phase during measurement.
  • As shown in Fig. 7, the signal waveform indicating the relationship between the rotating phase and the distance theoretically exhibits such a shape that a sinusoidal wave is folded back at every other half-cycle. However, since the capacitance type distance sensor 5 measures an averaged distance obtained from the total value of capacitances between the object to be measured (workpiece 2) and the sensor electrode, and grasps the workpiece as not a point but a surface, the signal waveform actually obtained resembles to a sinusoidal wave having two cycle periods per one revolution and having no pints of discontinuity as indicated by a broken line in Fig. 7. However, unless otherwise specified, explanation will be made with the use of the theoretical signal waveform indicated by the solid line in Fig. 7 in the following description.
  • The signal waveform varies depending upon the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4, and accordingly, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 can be known by detecting the variation in the signal waveform.
  • It is convenient for knowing the variation in the signal waveform to use a method in which a feature point is extracted from the signal waveform, and then the variation in the signal waveform, that is, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 is analyzed from data per every feature point. In particular, since it can be processed at a high speed with the use of an extreme point in the signal waveform, an extreme point in the waveform as shown in Fig. 7 is extracted from the signal waveform processing means 8, and the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 is calculated from data concerning the thus obtained extreme point in the waveform, by the positional relationship calculating means 9.
  • It is natural that the signal waveform contains noise, and accordingly, when the difference between the values of the successive two extreme points is less than a predetermined value, and the difference between the phases at the two extreme points is less that a predetermined value, these extreme points are not extracted as feature points in order to prevent extreme points from being erroneously extracted by noise. Further, as mentioned above, since the capacitance type distance sensor is used, a point of discontinuity is not inherently present in the signal waveform, and accordingly, if the extreme point is a point of discontinuity, the point is considered as noise, and is therefore excluded.
  • As clearly shown in Fig. 6, of extreme points, local minimum points are located at positions at which the left and right inner surfaces of the joint of the workpiece 2 cross the Xt-Zt plane. These left and right local minimum points are denoted as LB, RB, respectively (if the two coordinate systems coincide with each other as shown in Fig. 7, these points are denoted as LB0, RB0, respectively). Further, local maximum points are located front and back on the welding line on the workpiece 2 in the advance direction, and these front and back local maximum points are denoted as FP, BP (they are denoted as FPO, BPO in Fig. 7).
  • From Fig. 7, if the torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other, the local minimum points RB0, LB0, and the local maximum points FP0, BPO have equal values, respectively, and the phases at these four extreme points divide one revolution into four equal parts. Further, since the reference position of the rotating phase is set in the positive direction of the Yt-axis, the phase of the point FP0 coincides with the reference position of the phase.
  • Next, Fig. 8 shows a condition such that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other by a distance X in the Xt-axial direction, and further, Fig. 8 is a view obtained by observing the typical view shown in Fig. 6 in the Yw-axial direction. Further, a signal waveform obtained in this condition is indicated by a solid line in Fig. 9. Extreme points obtained in this condition are denoted as FP1, BP1, RB1, LB1. Further, a waveform indicated by a broken line in Fig. 9 is the waveform as shown in Fig. 7 in such a case that the torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other.
  • As clearly understood from Fig. 9, since the waveform is vertically shifted in its entirety if the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other in the Xt-axial direction, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 can be calculated by comparing the averaged value of the points FP1, BP1 which are local maximum points in the waveform, with the averaged value of the points FP0, BP0 in such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4.
  • Fig. 10 shows in such a condition that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Zt-axis by an angle γ (that is, inclined). Fig. 10 is obtained by observing the typical view given by Fig. 6 in the Zw-axial direction. A signal waveform obtained in this condition is indicated by a solid line in Fig. 11. Extreme points in this condition are denoted as FP2, BP2, RB2, LB2, respectively. Further, a waveform indicated by a broken line in Fig. 11 is the waveform as shown in Fig. 7 in such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4.
  • As clearly understood from Fig. 11, if the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Zt-axis, a difference between the points FP2, BP2 which are the extreme points in the waveform is present. Since the radius of the rotating scanning is already known, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 around the Zt-axis can be calculated from the difference between the points FP2, BP2 and the rotating radius.
  • Fig. 12 shows such a condition that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other by a distance Z in the Zt-axial direction. Fig. 12 is obtained by observing the typical view given by Fig. 6 in the Yw-axial direction, similar to Fig. 8, and a signal waveform obtained in this condition is indicated by a solid line in Fig. 13. Extreme points obtained in this condition are denoted as FP3, BP3, RB3, LB3, respectively. It is noted that the signal waveform shown in Fig. 13 is that obtained by actual measurement with the use of the capacitance type distance sensor 5, and a waveform indicted by a broken line is a signal waveform in such a case that the torch coordinate system 3 coincides with the workpiece coordinate system 4, and which are similarly obtained by actual measurement with the use of the capacitance type distance sensor 5.
  • As clearly understood from Fig. 13, if the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other in the Zt-axial direction, a difference is present between the values of the local minimum points LB3, RB3 at the left and right surfaces of the workpiece 2, and also a difference is present between the phase with which the right inner surface is scanned, that is, the difference RH3 between the phase value of the local maxium point FP3 and the phase value of the local maximum point BP3, and the phase with which the left inner surface is scanned, that is, the difference LH3 between the phase value of the local maximum point FP3' and the phase value of the local maximum point BP3. It is noted that the local maximum point FP3' is obtained by measuring the position the same as that of the local maximum point FP3 one revolution before.
  • As mentioned above, although the shift between the torch coordinate system 3 and the workpiece coordinate system 4 in the Zt-axial direction can be calculated with the use of either the difference between two local minimum points or the difference in phase between two local maximum points, as mentioned above, since no points of discontinuity are present at the local maximum points in the actual signal waveform measured by the capacitance type distance sensor 5 as shown in Fig. 13, the detection accuracy is inferior in the calculation method using the phase. According to the present invention, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 in the Zt-axial direction is calculated with the use of the difference between the values of the local minimum points RB3, LB3.
  • Fig. 14 shows such a condition that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Yt-axis by an angle β (or inclined).
  • Fig. 14 is obtained by observing the typical view given by Fig. 6 in the Yt-axial direction, similar to Figs. 8 and 10.
  • A signal waveform obtained in this condition is indicated by a solid line in Fig. 15. Extreme points obtained in this condition are denoted as FP4, BP4, RB4, LB4, respectively.
  • It is noted that the signal waveform shown in Fig. 15 is also obtained by actual measurement with the use of the capacitance type distance sensor 5, similar to that shown in Fig. 13.
  • The results of calculation of the positional relationships explained above, can be obtained similarly with the use of either one of the two channels of the capacitance type distance sensor 5. However, as clear from the comparison between Fig. 15 and Fig. 13, the similar waveforms can be obtained in such a case that the torch coordinate system 3 and the workpiece coordinate system 5 are shifted from each other around the Yt-axis by an angle β, and in such a case that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Zt-axial direction by a distance Z. Accordingly, in this situation as it is, the discrimination between such a case that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Yt-axis and such a case that both systems 3, 4 are shifted from each other in the Zt-axial direction cannot be made. In order to discriminate these two cases from each other, the two channels of the capacitance type distance sensor 5 are used.
  • Figs. 16(A) and (B) are views for explaining a calculation method for such a case that the torch coordinate system 3 and the workpiece coordinate system 4 are inclined around the Yt-axis by an angle β, using this two channel capacitance type distance sensor 5. As mentioned above, since the capacitance type distance sensor 5 obtains a distance from the total value of capacitances between the object to be measured and the sensor electrode, the actual measured distance is a distance in the Xw-axial direction, and accordingly, the two channels of the capacitance type distance sensor 5 measure the distances between an arrow indicated by a solid line and an arrow indicated by a broken line in the figure, respectively.
  • The distance SZ between the solid line arrow and the broken line allow in the Zw-axial direction varies in dependence upon the angle β as clear from Figs. 6(A) and (B), and therefore can be obtained in such a way that the capacitance type distance sensor 5 is rotated and swept, and shifts in the Zt-axial direction are calculated respectively for the two channels so as to take a difference between the respective results of the calculation.
  • Fig. 16(B) is an enlarged view illustrating the electrode part of the capacitance type distance sensor 5 shown in Fig. 16(A). Referring to Fig. 16(B), the first electrode 22 and the second electrode 23 measure the distance from points S1, S2 to the workpiece 2 as shown in the figure, these points S1, S2 being spaced from each other by a distance SX in an Xt'-axial direction which is parallel with the Xt-axis. When the cross point between a straight line which is drawn from the point S1 in the Xt'-axial direction, and the broken line arrow which indicates the distance measured by the second electrode 23 is denoted as S', the angle β, that is, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 around the Yt-axis (that is, the inclination of the capacitance type distance sensor 5) can be obtained by calculating the inverse sine function of the division of SX by SZ since an angle S1, S2, S' of the right angle triangular S1, S2, S' is β.
  • Finally, a signal waveform which is obtained when the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other by an angle α around the Xt-axis is shown by a solid line in Fig. 17. Extreme points obtained in this condition are denoted as FP5, BP5, RB5, LB5, respectively. Further, the signal waveform obtained in such a case that torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other is indicated by a broken line.
  • As clearly understood from Fig. 17, the phases at the points FP5, BP5 which are local maximum points in the waveform and at the points RB5, LB5 which are local minimum points, with respect to the reference position are shifted as a whole if the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other around the Xt-axis.
  • Fig. 18 is a view which shows that the phases at the extreme points FP, BP, LB, RB in such a case that the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other in both Xt-axial and Zt-axial directions, and also around the Xt-axis, Yt-axis and Zt-axis, are given on the rotating and scanning orbit of the capacitance type distance sensor 5. In such a case, the positional relationship to be obtained is the shift value around the Xt-axis, that is, the angle α between the welding line Yw and the Yt-axis.
  • As mentioned above, if the shift value α around the Xt-axis can be obtained, the positional relationship around the Xt-axis can be solely calculated, irrespective of the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4.
  • Referring to Fig. 18, the straight line extending between the local minimum points RB, LB and indicated by the broken line in the figure and the straight line extending between the points FP, BP, that is, the Yw-axis are always orthogonal to each other on the rotating and scanning orbital plane, and this fact can be understood from the consideration of the shape of the workpiece and the definition of the coordinate systems as well as from the geometrical consideration of the rotating and scanning orbit.
  • Accordingly, the angle α can be calculated in a direction which is indicated by the averaged value B between the phase at the point RB with respect to the reference position and the phase at the point LB with respect to the reference position, or in a direction orthogonal to a direction indicated by the averaged value P between the phase at the point FP with respect to the reference position and the phase at the point BP with respect to the reference position, and with this calculation method, the positional relationship around the Xt-axis can be easily calculated.
  • With the above-mentioned operation, of 6 components which give the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4, five components can be easily calculated by rotating and sweeping the capacitance type distance sensor 5.
  • As already mentioned above, by moving the robot arm 1 in such a way that the thus calculated positional relationship coincides with a desired positional relationship previously set and stored in memory, the workpiece whose direction and position are both unknown can automatically detected, and the robot arm 1 or the torch 13 can be positioned at a desired target position or torch posture.
  • As to the positional relationship in the Yt-axial direction or the positional relationship of the welding line, as the remaining one component which gives the positional relationship, it is satisfactory to always set zero for the detection of the start point, and if a value other than zero is given, the robot arm 1 is moved to a position shifted from the present position in the direction of the welding line. With the repetitions of this procedure, the above-mentioned operation is successively carried out so that the robot arm 1 can be moved so as to automatically trace the welding line while a desired target position and torch posture are maintained.
  • This does mean that the component in the Yt-axial direction among the six components indicating the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 is a variable which determines the direction and the speed with which the welding line is traced. By changing this value under the robot operator's instructions, the direction of the welding line and the welding speed can be arbitrarily selected, or adjusted.
  • Further, if the curvature of the welding line, the operating speeds of the shafts of the robot arms and the like are calculated from the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 which has been obtained by the above-mentioned calculation method so that the value of the component in the Yt-axial direction is increased and deceased in dependence thereupon, the welding speed can be optimumly adjusted being fit to the occasion.
  • However, in such a case that the robot arm is continuously operated tracing the welding line, an error occurs in the result of the calculation of the positional relationship made by the above-mentioned calculation method. This is caused by such that the above-mentioned calculation method is made by estimating that the robot arm is stationary, or more specifically, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 does not vary within the one rotation scanning time of the capacitance type distance sensor 5. The faster the speed at which the welding line is traced, the larger the difference between this estimation and the actual condition, and accordingly, the error increases. This fact causes restraint to the allowable speed of tracing the welding line.
  • In order to reduce this error, it is effective to shorten the rotating and scanning period of the capacitance type distance sensor 5 so that the time per one revolution scanning is shortened in order that the continuous operation of the robot arm is negligible. However, actually, the response frequency of the capacitance type distance sensor 5 and various processing times have limits, and further, the rotating and sweeping period which can be realized also has a limit.
  • Thus, according to the present invention, by hypothetically creating a condition in which the positional relationship is stationary, from actual data in such a condition that the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 varies within one rotating and scanning time of the capacitance type distance sensor 5, this error can be reduced, and explanation will be made of a specific method therefor with reference to the drawings.
  • In Fig 19, a signal waveform obtained in such a case that the robot arm is moved as a constant speed in the Xt-axial direction from a condition in which the torch coordinate system 3 and the workpiece coordinate system 4 are shifted from each other in the Xt-axial direction to a condition in which both coordinate systems coincide with each other, during one revolution scanning of the capacitance type distance sensor 5 is indicted by a solid line, and extreme points in this condition are denoted as FP6, RB6, BP6, LB6, respectively.
  • Further, a signal waveform obtained in such a case that transition is made while a condition in which the torch coordinate system 3 and the workpiece coordinate system 4 coincide with each other is maintained as it is, is indicated by a broken line, and extreme points in this case are denoted as FP0, RB0, BP0, LB0, respectively.
  • Then, the difference between the value of one local maximum point FP6 and the value of the same local maximum point FP6' one revolution before is divided by a phase difference PH6 between both extreme points so as to obtain a displacement DDXt per unit phase, and the DDXt is multiplied by phase differences between the point FP6 and the other points RB6, BP6, LB6 located between both local maximum points so as to obtain compensating values for these extreme points. Accordingly, the compensation is made for the respective values.
  • Further, with the use of a displacement Xt in the Xt-axial direction per one revolution scanning obtained form the above-mentioned displacement DDXt per unit pahse, compensatinjg values for the phases of the local points PB6, LB6 are calculated, and these phases are compensated.
  • Thus, an error which is caused by moving the robot arm in the Xt-axial direction during one revolution scanning of the capacitance type distance sensor 5 can be compensated.
  • Similarly, as to such a case that the robot arm is moved at a constant speed in the Zt-axial direction during one revolution scanning of the capacitance type distance sensor 5, with the use of such a fact that a straight line extending between the local minimum points RB, LB and a straight line extending between the local maximum points FP, BP are orthogonal to each other as explained with reference to Fig. 18, a displacement in the Zt-axial direction during one revolution scanning is obtained, and accordingly, the phases at the extreme points can be compensated with the use of thus obtained displacement.
  • That is, in such a case that the robot arm is moved in the Zt-axial direction during one revolution scanning, the straight line extending between the above-mentioned local minimum points RB, LB does not become orthogonal to the straight line extending between the local maximum points FP, BP. Accordingly, a displacement in the Zt-axial direction per revolution scanning is obtained from a difference between an angle defined by both straight lines and a right angle and a rotating scanning radius, and with the use of the thus obtained displacement, compensation values for phases at the extreme points are calculated, similar to the case in which the robot arm is moved in the Xt-axial direction, thereby it is possible to compensate the respective phases.
  • Thus, an error caused by the movement of the robot arm in the Zt-axial direction during one revolution scanning of the capacitance type distance sensor 5, can be compensated.
  • In such a case that the robot arm is moved while the arm actually traces the welding line, the movement of the robot arm during one revolution scanning of the capacitance type distance sensor 5 is not always constant. However, since the rotating and scanning period of the capacitance type distance sensor 5 is short, and since the one revolution time is very short, no practical problem occurs if the compensation is made with such consideration that the robot arm is moved at a constant speed during one revolution scanning.
  • As mentioned above, the positional relationship calculating means 9 can precisely calculate the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4.
  • The comparison between the teaching time of the welding robot according to the present invention and that of a conventional method using a manipulating box is shown in Table 1. Table 1
    WORKER A B C D E AVERAGE
    SKILL UPPER MIDDLE LOWER
    TEACHING TIME BY INVENTION 230 240 259 280 285 244
    CONVENTIONAL TEACHING TIME (sec) 564 752 855 1157 1240 860
    RATE TO CONVENTIONAL TEACHING (sec) 40.8 31.9 30.3 24.2 23.0 28.4
  • The teaching work was carried out for a workpiece shown in Fig. 2, using circle marks as teaching points. In this teaching work, it was designated that the torch angle with respect to a horizontal plane was set to 45 deg., and the advancing or backing angle with respect to the welding line was set to zero. The number of teaching points was 22, and the welding length was 810 mm at that time.
  • As clear from Table 1, the teaching time with the use of the welding robot according to the present invention can be reduced by about 30 % in comparison with that of the conventional method. Further, even a beginner can carry out a teaching work by a time substantially equal to that taken by a skilled worker, irrespective of the skill of the worker. In view of this fact, it is possible to obtain excellent technical effects and advantages.
  • According to the present invention as mentioned above, the capacitance type distance sensor 5 is rotated and swept by the rotating and sweeping means 6, a feature point is extracted from a signal waveform by the signal waveform processing means 8 with the use of distance data to the objective workpiece 2 and rotating phase data, the positional relationship between the torch coordinate system 3 and the workpiece coordinate system 4 is calculated from the distance data and rotating phase data per thus extracted feature point by the positional relationship calculating means 9, and the robot arm 1 is moved by the robot control means in such a way that the thus calculated positional relationship coincides with a previously set and stored positional relationship. Accordingly, the robot arm 1 or the torch 13 can be autonomously moved so as to have a previously set and stored positional relationship, that is, it can be moved to a desired welding torch position or posture.
  • Although explanation has been made of such a structure that the capacitance type distance sensor 5 is previously attached to the rotating and sweeping means 6, and accordingly, it is attached to the welding torch 13 together with the rotating and sweeping means 6, according to the present invention, a part of members constituting the torch 13, such as a chip adapted to be rotated together with the electrode rod of the capacitance type distance sensor 5 can be replaced so that an electrode rod rotating mechanism belonging to the torch can be used as the rotating and sweeping means 6.
  • Further, although explanation has been made of such that the encoder is used as the rotating phase detecting means 7, according to the present invention, it goes without saying that the rotating phase detecting means 7 can be realized by precisely rotating the rotating and sweeping means 6 so as to measure the time.
  • Further, although explanation has been made of a compensating method for such a case that the robot arm is continuously moved in the Xt-axial direction and the Zt-axial direction, according to the present invention, compensation can be made for other positional relationship such that the robot arm is continuously moved around each of the axes along with the similar consideration so that each of the extreme points can be compensated with the use of the difference between the value of an arbitrary extreme point and the value of the extreme point substantially one revolution before. Further, as already mentioned, although the above-mentioned compensation is made by use of displacements per revolution scanning in several directions, if the positional relationship calculated by estimating that the positional relationship is stationary, is subtracted from the positional relationship which has been calculated one revolution scanning before so as to approximately calculate movements per revolution, the positional relationship is again calculated by compensating the values of the extreme points and the phases at these points with the use of the thus approximately calculated movements, and accordingly, it is possible to reduce errors.
  • Further, according to the present invention, instead of the capacitance type distance sensor, another type of a noncontact distance sensor such as a laser type distance sensor can be used.
  • Industrially Usability
  • The method according to the present invention, as mentioned above, can be suitably used for easily and efficiently carrying out a teaching work for a workpiece which has a complicated shape so as to require several teaching points, or for a workpiece which requires several operation programs due to mutikind and small quantity production, with a high degree of accuracy by a worker who has no teaching skill.

Claims (8)

  1. A method for controlling operation of a robot arm (1) having a distal end, comprising the steps of:
    setting a first coordinate system (3) in which said distal end of said robot arm moves;
    setting a second coordinate system on an objective workpiece (2) to be worked;
    measuring a distance to said objective workpiece by means of a noncontact distance sensor (6) attached to said distal end of said robot arm so as to deliver distance data;
    causing said noncontact distance sensor (5) to rotate and sweep by means of a turning and scanning means (6) having a rotating center axis fixed to said first coordinate system;
    detecting a rotating phase of said noncontact distance sensor by means of a rotating phase detecting means so as to deliver rotating phase data from said rotating phase detecting means;
    delivering distance data and rotating phase data of each of feature points of a signal waveform obtained from said distant data and said rotating phase data, by means of a signal waveform processing means (8) for extracting said feature points of said signal waveform;
    calculating a positional relationship between said first coordinate system and said second coordinate system from a signal from said signal waveform processing means by means of a positional relationship calculating means (9);
    previously setting and storing in memory a reference positional relationship serving as a reference for said first and second coordinate system, in a positional relationship calculating system (10);
    controlling said robot arm by means of a robot arm control means (11) so as to allow said positional relationship between said first and second coordinate systems calculated by said positional relationship calculating means to coincide with said previously set and stored reference positional relationship between said first and second coordinate systems.
  2. A method as set forth in claim 1, wherein said feature point extracted from said signal waveform by said signal waveform processing means is an extreme point.
  3. A method as set forth in claim 1 or 2, wherein either one of successive extreme points is not extracted as a feature point by said signal waveform processing means if a phase between said two extreme points is lower than a predetermined angle.
  4. A method as set forth in any preceding claim, wherein two successive extreme points are not extracted as feature points by said signal waveform processing means if a difference between the values of said extreme points is lower than a predetermined value.
  5. A method as set forth in any preceding claim, wherein an extreme point is not extracted as a feature point by said signal waveform processing means if a distance delivered by said noncontact distance sensor is out of a predetermined range.
  6. A method as set forth in any preceding claim, wherein said positional relationship calculating means compensates distance data and phase data at a plurality of feature points between a feature point and a feature point about one revolution of said noncontact distance sensor before with the use of a difference between these two feature points, and thereafter, calculates a positional relationship between said first coordinate system and said second coordinate system.
  7. A method as set forth in any preceding claim, wherein said positional relationship calculating means compensates distance data and phase data at a plurality of feature points in reference to a result of calculation of said positional relationship obtained at the last time, and thereafter calculates the positional relationship between the first and second coordinate systems.
  8. A method as set forth in any preceding claim, wherein said positional relationship calculating means adjusts a positional relationship in a direction of a welding line with the use of a result of calculation of the positional relationship between said first coordinate system and said second coordinate system.
EP93913590A 1992-06-29 1993-06-28 Method for controlling operation of a robot arm Expired - Lifetime EP0601206B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP170402/92 1992-06-29
JP17040292 1992-06-29
PCT/JP1993/000875 WO1994000269A1 (en) 1992-06-29 1993-06-28 Robot for welding

Publications (3)

Publication Number Publication Date
EP0601206A1 EP0601206A1 (en) 1994-06-15
EP0601206A4 EP0601206A4 (en) 1994-11-17
EP0601206B1 true EP0601206B1 (en) 1997-09-03

Family

ID=15904266

Family Applications (1)

Application Number Title Priority Date Filing Date
EP93913590A Expired - Lifetime EP0601206B1 (en) 1992-06-29 1993-06-28 Method for controlling operation of a robot arm

Country Status (4)

Country Link
US (1) US5495090A (en)
EP (1) EP0601206B1 (en)
DE (1) DE69313590T2 (en)
WO (1) WO1994000269A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3394322B2 (en) 1994-05-19 2003-04-07 ファナック株式会社 Coordinate system setting method using visual sensor
JPH08166813A (en) * 1994-12-14 1996-06-25 Fanuc Ltd Tracking control method for robot accompanied by weaving operation
US5729345A (en) * 1996-09-11 1998-03-17 Caterpillar Inc. Apparatus and method for determining distortion of a welded member
JPH1177569A (en) * 1997-09-10 1999-03-23 Honda Motor Co Ltd Off-line teaching device
US6243621B1 (en) * 1998-03-13 2001-06-05 Fanuc Robotics North America, Inc. Method of determining workpiece positions including coordinated motion
US6166506A (en) * 1998-06-19 2000-12-26 Tregaskiss, Ltd. Wireless safety clutch
US6168066B1 (en) * 1999-04-21 2001-01-02 Lockheed Martin Corp. Friction stir conduction controller
KR100621100B1 (en) * 2000-02-11 2006-09-07 삼성전자주식회사 method and system for teaching welding robot
DE10192991B3 (en) * 2000-08-25 2015-02-05 Janome Sewing Machine Co., Ltd. robot
SE0302092L (en) * 2003-07-11 2005-01-12 Abb Ab Robot system
JP2005196242A (en) * 2003-12-26 2005-07-21 Fanuc Ltd Copying processing device
JP4439940B2 (en) * 2004-02-19 2010-03-24 タカタ株式会社 Manufacturing method of airbag cover
JP4291382B2 (en) * 2007-07-31 2009-07-08 ファナック株式会社 Machine tool with automatic correction function of mounting error by contact detection
US9168613B2 (en) 2010-10-22 2015-10-27 Paul T. Colby Vertical laser cladding system
JP6773084B2 (en) * 2018-07-02 2020-10-21 株式会社安川電機 Motion teaching device, robot system and motion teaching method
JP2020049642A (en) * 2018-09-28 2020-04-02 セイコーエプソン株式会社 Control device, robot system, and robot
JP7414626B2 (en) * 2020-04-14 2024-01-16 三菱電機株式会社 Wire feeding equipment and additive manufacturing equipment
CN114472074A (en) * 2022-01-17 2022-05-13 中国第一汽车股份有限公司 Automatic robot gluing distance compensation system and method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4215299A (en) * 1975-05-02 1980-07-29 Minnesota Mining And Manufacturing Company Adaptive path following motion control system for welding head assembly
JPS5415441A (en) * 1977-04-30 1979-02-05 Shin Meiwa Ind Co Ltd Automatic welding machine
CH622292A5 (en) * 1977-09-15 1981-03-31 Bbc Brown Boveri & Cie
DE2829851A1 (en) * 1978-07-07 1980-01-24 Precitec Gmbh ARRANGEMENT FOR MEASURING THE DISTANCE BETWEEN A METAL WORKPIECE AND A MACHINING TOOL
DE2851063A1 (en) * 1978-11-25 1980-06-04 Cloos Gmbh Carl DEVICE FOR AUTOMATICALLY GUIDING A WELDING GUN LONG A PRE-PROGRAMMED WELDING SEAM
JPS5685106A (en) * 1979-12-14 1981-07-11 Hitachi Ltd Robot teaching method
JPS5791877A (en) * 1980-11-28 1982-06-08 Nippon Kokan Kk <Nkk> Rotary arc welding method
JPS5956982A (en) * 1982-09-27 1984-04-02 Hitachi Zosen Corp Work sensor
US4590577A (en) * 1982-12-01 1986-05-20 Yaskawa Electric Mfg. Co., Ltd. Welding robot controlling method
JPS60136806A (en) * 1983-12-26 1985-07-20 Agency Of Ind Science & Technol Device for instructing work of robot
JPS61249667A (en) * 1985-04-26 1986-11-06 Nippon Kokan Kk <Nkk> Automatic fillet welding method with high speed rotating arc
KR900003972B1 (en) * 1985-04-30 1990-06-07 닛뽕 고오깡 가부시기가이샤 Groove tracing control method for high-speed rotating arc fillet welding
JP2615055B2 (en) * 1987-06-29 1997-05-28 三菱重工業株式会社 Huff converter
EP0320442B1 (en) * 1987-11-27 1992-04-15 Karl-Heinz Schmall Use of a dielectric microwave resonator, and sensor circuits

Also Published As

Publication number Publication date
DE69313590D1 (en) 1997-10-09
EP0601206A4 (en) 1994-11-17
US5495090A (en) 1996-02-27
DE69313590T2 (en) 1998-04-02
WO1994000269A1 (en) 1994-01-06
EP0601206A1 (en) 1994-06-15

Similar Documents

Publication Publication Date Title
EP0601206B1 (en) Method for controlling operation of a robot arm
US4761596A (en) Method of detecting and controlling work start point of robot
KR100311663B1 (en) Apparatus and method for tracking the appearance of an object using a spare shaft
JP2766290B2 (en) Welding robot
KR101479233B1 (en) Robot and method for controlling cooperative task of the same
US4568816A (en) Method and apparatus for manipulator welding apparatus with improved weld path definition
Baeten et al. Hybrid vision/force control at corners in planar robotic-contour following
JP3317101B2 (en) Welding robot
KR100253898B1 (en) Trajectory control apparatus and trajectory control method for intra-planar multifreedom scara type of robot, and computer-readable recording medium with trajectory control program for intra-planar multifreedom scara type of robot stored therein
JPS6346844B2 (en)
JP2770570B2 (en) Welding robot
JPH0146276B2 (en)
JP3671694B2 (en) Robot teaching method and apparatus
JPH07314359A (en) Follow-up device for manipulator, and control thereof
JPH0813433B2 (en) Automatic processing equipment
Nunes et al. Sensor-based 3-D autonomous contour-following control
JPS6054275A (en) Method for controlling driving of welding torch
Vavreck et al. An adaptive seam tracker for welding heavy-section aluminum
JP2652444B2 (en) Robot system
JPS6351282B2 (en)
Yagishita et al. Arc welding robot systems for large steel constructions
JPH0511825A (en) Correction device for track of robot
JPH01187602A (en) Robot controlling method
JP2759675B2 (en) Sensor robot
JPS62127909A (en) Control point changing method in industrial robot

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 19940224

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE GB

A4 Supplementary search report drawn up and despatched
AK Designated contracting states

Kind code of ref document: A4

Designated state(s): DE GB

17Q First examination report despatched

Effective date: 19960212

GRAG Despatch of communication of intention to grant

Free format text: ORIGINAL CODE: EPIDOS AGRA

GRAH Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOS IGRA

GRAH Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOS IGRA

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE GB

REF Corresponds to:

Ref document number: 69313590

Country of ref document: DE

Date of ref document: 19971009

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed
REG Reference to a national code

Ref country code: GB

Ref legal event code: IF02

REG Reference to a national code

Ref country code: GB

Ref legal event code: 746

Effective date: 20091215

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20120620

Year of fee payment: 20

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20120627

Year of fee payment: 20

REG Reference to a national code

Ref country code: DE

Ref legal event code: R071

Ref document number: 69313590

Country of ref document: DE

REG Reference to a national code

Ref country code: GB

Ref legal event code: PE20

Expiry date: 20130627

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Free format text: LAPSE BECAUSE OF EXPIRATION OF PROTECTION

Effective date: 20130627

Ref country code: DE

Free format text: LAPSE BECAUSE OF EXPIRATION OF PROTECTION

Effective date: 20130629