A METHOD CONTROLLING AN ARC WELDING TORCH OF A WELDING ROBOT

Abstract: The present invention discloses a method for controlling a welding robot. The method substantially comprises detect­ ing either an actual welding current or voltage at both ends of a weaving operation of a welding torch, detecting the deviation of the weaving center from an actual weld line on a workpiece detecting a difference between a preset welding current or voltage and the actual welding current or voltage and controlling three basic drive axes of the robot to correct the locus of the weaving center by means of locus correction signals obtained through the operation of results of the detection. Due to such manner of operation, the method enables an automatic welding operation even on workpieces of poor accuracy and poor positioning.

Description: 3 DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a weld line profiling control system for the arc welding robot. In effecting fillet welding as shown in Figure la or single-V groove welding as shown in Figure lb with a conventional consumable electrode arc welding apparatus, a carriage tarrying a welding torch 1, which is capable of weaving motion, is made to run along the groove line1 in which the weld zone is deflected when the carriage is incorrectly guided. In order to eliminate this problem, an automatic weld line tracking and profiling controller has been proposed, in which is provided an actuator adapted to move the welding torch 1 horizontally along the weaving direction with respect to the weld line by taking advantage of a fact that the respective welding currents or the welding voltage at both extremity of the weaving differ from each other when the center of weaving of the free end of the welding torch is deflected from the weld line the actuator is controlled so as to make the difference between the respective detected values detected at both extremities of weaving zero to form aligned weld beads, and the actuator is controlled also along the vertical direction (direction of the consumable electrode) to always make the detected values constant. When this profiling system is applied to known cylindrical coordinates robots, polar coordinates robots, Cartesian coordinates robots or articulated robots, the arc welding robot will assume, for example, a structure as shown in Figure 2. Figure 2 shows an example of application of abovementioned system to an articulated robot, in which a weaving unit 3, a horizontal drive actuator 4 and a vertical drive actuator 5 are mounted on the robot wrist and since a driving source for driving three shafts in total of two shafts of the actuators and one shaft of the weaving unit need be mounted on the robot wrist, the size and the weight of the driving source cause problems. Namely, the increased weight of the working tool increases the load on the robot wrist, which is undesirable from the viewpoint of the durability of the robot wrist. The increased size of the working tool causes difficulty in extending the robot wrist into a narrow position, thereby weld position is restrictedand the versatility of the welding robot is reduced. The first invention has been made to eliminate those disadvantages, in which three-shaft actions of the weaving shaft, horizontal actuator and vertical shaft actuator or the actions of the horizontal and vertical actions are effected by basic three shafts or elements for causing the three-dimensional motion of the robot, the center of weaving is controlled so as to follow a previously taught locus or a locus given by parallelly moving the previously taught locus, the welding current or the welding voltage is detected every time the torch reacss@@ weaving ends and compared with preceeding detected values, the position of the center of weaving is shifted (correcting control) by controlling the basic three shafts or basic three elements of the robot in a direction to cancel the difference of the detected value from the preceeding detected value when there is a difference, namely, in a direction to the right or to the left with respect to the direction of movement of the center of weaving (actual weld line), or in the resultant direction of a direction to the right or to the left with respect to the direction of movement of the center of weaving and an upward or downward direction with respect to the direction of movement of the center of weaving (a direction perpendicular to the weaving direction) to cancel a difference between the mean values'of the' ; ;welding current or the welding voltage detected at the preceeding weaving ends and at the instant weaving ends, when there is any difference, thusthe deflection of thecenter of weaving from the '1 actual weld line being corrected, and the weld current or the weld voltage is adjusted to a fixed value for correct weaving welding. The second and other inventions relate to control systems.effective in applying the control system of the first invention to the teaching playback robot. Those control system will be described hereinafter with reference to the drawing. Figure 3 shows an exemplary articulated teaching playback robot which is suitable for applying the control system of the present invention, in which a consumable electrode welding torch is indicated at 11. This is welding robot includes a swiveling unit 15 having two articu lated arms 13 and 14 and being mounted on a stand 12. The e swing angle and the twist angle of the welding torch 11 attached to the free end of the arm 13 can be changed by means of a driving motor. The welding torch 11 is caused to perform a weaving motion by controlling the motions of the arms 13 and 14 and the swiveling unit 15. As well known, when two points are taught to the teaching playback robot by means of a teach box, not shown, the teaching playback robot moves the welding torch 11 along a line connecting those two points through linear interpolation. Therefore, it is necessary to provide many teaching points to make the welding torch track a work weld line of a curve as shown in Figure 4 to attain correct welding in a robot having no locus correcting function. Accordingly, an object of the invention is to provide a control system capable of making the welding torch track a work weld line R by roughly giving three teaching points P1, P2 and P3. This control system allows simple teaching work before starting welding operation, easy robot mani privation and correct welding even the work accuracy is inferior. The principle of the control system will be described hereunder. In order to make the center of weaving of the welding torch 11 of the robot follow the work weld line R, it is necessary to make the center of weaving always coincide with the weld line during the weaving motion for the deflection detection. The center of weaving is moved to a direction corresponding to the locus correcting signal provided at the weaving ends and then, the center of weaving is made to follow loca given by three-dimensionally parallelly shifting the previously taught locus. The three motions, i.e. the weaving motion, the movement of the center of weaving along The loca given by three-dimensioiiiiy parallelly shifting the teaching locus and the locus correctir,g motion for the center of weaving, are effected by the basic three shafts or the basic three elements of the robot. during weaving motion to the right and left by the same distances from the center of weaving with respect to the weld line, the center of weaving is shifted to a direction corresponding to the locus correction signal given at the ends of weaving when the locus correction signal is given, so that the center of weaving follows a newly given locus wihcih is given by three-dimensionally parallelly shifting the teaching locus. When no locus correction signal is given, the center of weaving follows the original teaching locus while waiting for the next locus correction signal. Thus, the center of weaving reaches a point P2'' while repeating abovementioned motions. After the point P2'', i.e. the varying point, the work weld line R tracking control is effected by shifting the center of weaving employing a parallel shifting direction P2 P3. The detection of the varying point P2-'' for changing the parallel shifitng direction can be attained by determining a varying point detection monitoring point 20 within the supplementary angle of the angle P1P2P3, continuously calculating the distance m between the center of welding of the free end of the welding torch and the monitoring point P2 and detecting a point which provides a distance greater than the minimum value of the distance by a certain width of variation. It is preferable to set the point P20 on the bisector of angle PlP2P3. Such tracking control allows correct weaving welding through very rough teaching as compared with the conventional method and contributes to the operation of the welding robot. Referring to Figure 5, the weaving motion effected by the basic three shafts or basic three elements of the robot will be described hereunder. Prior to the operation of the robot, it is necessary to teach the conditions required for profile welding, such as weaving direction, weaving amplitude and weaving frequency, to therobot. The weaving direction and weaving amplitude are set by teaching optional three points 1, Q2 and Q3 between the teaching point Pt and P2. The point Q3 is provided because the weaving' plane cannot -be etermined only with the two points Q1 and Q2. A perpendicular is drawn from the point Q3 to a line Q1 Q2 to determine the foot of the perpendicular H to give a point Q2' meeting a condition Q1 H = H Q2' = Jr for the simple harmonic weaving motion of the same amplitude with respect to the center of weaving H along a cource H - Q1 - H@ @ Q2'-- H. Provided that: P1 (x1, y1, z1), P2 (x2, y21 z2), P3 (x3, y3, z3), Q1 (x1, y1, z,), Q2 (xz, yz, zz), Q3 (x3, y3, z3), and (&alpha;, ss ^gamma; ........ the directional cosine of Q1 Q2 (&alpha;, ss', &gamma;') ...... the directional cosine of Q1 Q3 (#, , #) ........ the directional cosine of P1 P2 the coordinates (x# yf,-z) of the point W of interxection between the plane defined by points Qi, Q2 and Q3 and the line P1 P2 are defined by: EMI6.1 where the symbols f#, f2 and f3 represent functional equations. Pt, P2, P3, Qi, Q2 and Q3 are teaching points and their coordinates are known, therefore, the values &alpha;, ss, &gamma;, &alpha;, ss', #' #, and can easily be obtained by means of an arithmetic unit. The center of weaving H will be represented by the intersection W in this description for better understanding. This center of weaving W moves from the point Pt to the point P2" in Figure 4, while effecting profiling operation. The free end of the welding torch mounted on the robot wrist does not follow the locus of the point W, but follows a locus given by adding vector W H and the instant weaving distance from point H to the varying value of W. PQint W follows vector Pt P2 or the three -dimensionally parallelly shifted loca h, h, ...*. of the vector P1 P2-, In order to obtain the coordinates of the weaving point of the free end of the welding torch K clockpulses after the free end- of the welding torch has started from the point H, the distance S through which the free end of the welding torch moves within the period of one reference clock pulse along line Q1 Q2' is obtained S = 4hjCu ' ......................... (4) where Cu is the period of the reference clock pulse and h is the frequency of weaving motion. The components #x, #y and #z of the X, Y and Z, respectively, are represented by the following equations: #x=-S&alpha;, #y=-Sss and #z=-S&gamma; ............. (S) The coordinates xk, YK and zK on the weaving patter after N reference clock pulses is represented by equations as follows: xk=N##x, yk=N#y, zk=N#z ..................... (6) When the free end of the welding torch returns at points Q1 and Q2' during the weaving motion through H - Q1 - H - Q2' - H, naturally, the signs of #x, #y and #z are inverted. The length and direction of vector W H is always constant and the components of the vector W H , x.. y. and z. are represented by equations as follows: EMI7.1 Thus, the free end of the welding torch is to follow a locus given by adding the coordinates of the senter of weaving W to equations (6) and (7). As shown in Figure 4, initially, the center of weaving W starts moving along the line connecting the point P1 and the point P2 and then, the new locus çl which is parallel to the line P1 P2 by being directionally corrected corresponding to the locus correction signals produced at the ends of the weaving. Thus the center of weaving W is controlled both in the correction mode and in the parallel shifting mode. The direction of locus to the right and to the left with respect to the advancing direction of the center of weaving W and to the vertical direction are defined as the weaving direction, i.e. vector Q2, Qi and Q1 Q2', and the vector product of vectors razz Q1Q29 and P1 P2. If the angle P2HQ2' = a), when the line Q1 Q2 is parallelly shifted and mde to intersect the line P1 P2 at point H, the vertical directional cosine (e, f, g) is written: EMI8.1 Tehe transverse directional cosine is &alpha;, Figure 6 shows eight -kinds of transverse and vertical correction vectors. The directional cosine of the correction vector (u, v, w) is written: fz (&alpha; e), v = f# (ss, f), w = f# (#, g) When no correction is made, the advancing direction of the center of weaving W is parallel to line P1 P2 and the directional cosine is #, , #). > Figure 7 shows a correction of direction, in which the center of weaving W is shifted in the direction of (#, ,#) by #. The x, y and z components #x, #y and #z of the corrected resultant vector # of the actual center of weaving are written: EMI9.1 The movement at each reference clock pulse in the parallel shifting mode to effect a specific welding speed V is written: EMI9.2 The distance represented by #@ ## and ##' throughwhich the center of weaving W moves in X times of reference clock pulses in the parallel shifting mode except the correction mode is written: : EMI9.3 In the correction mode for making the center of weaving W follow the vector drof Figure 7, the movement in the r direction is controlled at the specific speed V, therefore, the center of weaving W moves for a distance sin a time r/V. Therefore, the movement x" , Yn1 and Zn I in the direction of or at a reference clock pulse is written: EMI9.4 The movement in K' times of reference clcock pulses in the correction mode is written: EMI10.1 The difference between #y1, #y1, #z, and #x, #y, #z is corrected at the final stage of the correction mode so that they agree with each other. Consequently, the coordinates x , y , z of the center of weaving W after times of reference clock pulses are written. EMI10.2 As described hereinbefore, the coordinates Xn, Yn, Zn of the control point of the free end of the welding torch will be controlled in accordance with the followings: Xn = x, + x, + x,, Yn t yn + yk + yo, Zn - zn + zk + z0 ^ .. (17) In order to obtain the end point P2" of the block, the distance D between the point Pz (x20, y20 , zzO ) and the center of weaving W is detected at every clock pulse and the minimum value is stored. EMI10.3 The minimum value is updater as the center of weaving W approaches the point P2. The distance D becomes greater than the stored minimum value after the center of weaving W has passed the point P2". As the center of weaving W moves from the point Pt to the point P2" the distance D decreases on an average, however, the value of the distance D doesn't necessarily decrease in a microscopic sense depending on the correction vector in the correction mode. This problem is solved by allowing a small width of variation to the preceeding minimum value. The point where the distance D is smaller than the lower limit of the width of variation will be the end point of the block. This varying point recognizing method is effective for detecting the varying point in a gentle curve as shown in Figure 4, however, it is not applicable to detecting a sharp corner such as a corner of a right angle. Accordingly, a varying point recognizing method as shown in Figures 13 and 14 is employed in combination with the described method. The control of the robot wrist shaft will be described hereunder. lbe wrist. position must be controlled SO that the torch angle and the advancing angle with respect to the weld line are within the respective ranges. of variation which ate dependent on the welding conditions. Naturally, the wrist positions at the teaching points Pt, P2 -and P3 are correctly taught. In the profiling welding operation from the point Pt to the point P2, the increments ZB and a T are determined by EMI11.1 Where Bl, Tg, 3r and to are the values of the wrist swing shaft B and the wrist twist shaft T at the points Pt and P2, respectively. The increments are added at every reference clock pulse, and as the welding advances from the point P1 to the point P2", theyare uniformly changed irrespective of either the correction mode or the parallel shifting mode. Thus the Bn and Tn after N times of the reference clock pulses are Bn = B, + aBN, Tn = Tl + wT-N ...................... (20) Generally, the B and T at the end point P2" will not be the same with W2 and Tz and the deflection of the work is exaggerated in Figure 4, however, actually, these differences are not significant in practical welding, since the distance between the points P2 and 22" is small in the actual workpiece. Thus the welding torch is kept in correct position during profiling welding operation. The values X, Y and Z of Equation (1) represent the values of the control point, the free end of the welding torch. In order to determine the equation (1), it is necessary to convert the stored data for the driving shafts of: the points Pi, P2, Q1,-Q2 and Q3 into data for Cartesian coordinates, irrespective of the types of the robot, I.e. the Cartesian coordinates robot, articulated robot, cylindrical coordinates robot and polar coordinates robot. The solution of the Equation (17), In, Yn and Zn have to be inverted to the driving shaft data of the basic three shafts of the robot in order to realize the correct position of the welding torch (Xn, Yn, Zn, Bn, Tn) at every reference clock pulse using Equations (17) and (4). The data for the robot wrist shaft are' 3n and Tn. Then basic three shafts, namely, the basic three elements, the swiveling unit 15 and arms 13 and 14, of the robot embodying the present invention as shown in Figure 3, are controlled by the respective angle of rotation and e, while the wrist swing shaft and the wrist twist shaft are controlled by angles of rotation B and T, respectively. The control point e is the free end of the welding torch it. Since the point P which is apart from the center of the wrist swing shaft and the center of the wrist twist shaft by distances A and d, respectively is the control point which has previously been taught, the Cartesial coordinates of the point is written: X = (Lcos # + lcos# + AsinB.+dcosT#cosB)#cos#-dsint#sin# Y = (Lcos e + lcos# f + Asin B + dcos Tacos B)#sin# # + dsin T#cos# .-.. (21) Z = Lsin#+lsin#-Acos.B+dcosT#sinB the angles of rotation #n, #n and #n of the basic three shafts of an articulated robot are determined by the following equation produced by inverting Equation (21) using Xn, Yn and Zn determined by Equation (17) and Bn and Tn determined by Equation (20): f13(Xn, Yn, Zn, Bn, Tn) 8n = ft4(Xn, Yn, Zn, Bn, Tn) ............ (22) =f15(Xn, Yn, Zn, Bn, Tn) Equations (21) and (22) are defined corresponding to the type of the robot. Figure 8 shows a sensor circuit capable of producing locus correction signals for shifting the center of weaving vertically and transversely by a fixed amount g on the basis of the welding voltage or welding current detected at the ends of weaving When the teaching points Q1, Q2 and Q3, which have been described with reference to Figure 5, are given, the coordinates of the foot of the perpendicular H is determined at xh, yh, and zh, the instant amplitude J' can be determined by the instant value of the weaving xk, vk and zk (Equation (6)): EMI14.1 The value of i' becomes Q at the ends of the weaving where a measurement start command is given to the sensor circuit. A "Left" signal or a@"Right" signal is produced when the the center of weaving of the welding torch deflects to the right or to the left, respectively, of the actual weld line. When the mean of the values at the ends of weaving is greater or smaller than a preset value, an "UP" or "Down1' signal is produced. Bight combinations of such signals òr vertical and transverse shifting are available (Figure 6). Figure 9 defines the "Up", "Down", "Right" and "Left" directions used in the description. The right and left direction and the up and down direction correspond to the weaving direction and the torch direction, i.e. the feed direction of a wire electrode Ita, respectively. Figure 10 is a view for facilitating the explanation of the automatic continuation of a weaving teaching pattern. Referring to Figure 10 the points Pt, P2 and P3 are teaching points similarly to those of Figure 5, while the meaning of the points Q1, Q2' and Q3 is the same with those of Figure 5. -A point Pe is determined on the extension of line Pt s . When the point Pt and atriangle Q1Q2'Q3 are parallelly shifted along line Pt P2 with the fixed relationship therebetween until tbe point Pt coincides with the point P2, line Qi Q2' is brought t overlie line QO Q20'. A line P2 U is drawn perpendicularly to a plane defined by lines P2 P3 and 12 Pe, in which line P2 U is drawn along the direction of the vector product of vectors 12 P3 and P2 Pe. The weaving pattern Qi Q2 of the next block is obtained when line Q10 Q20 is turned about line P2 U in the direction of from line P2 Pe to line P2 P3 through an angle P3P2Pe =#. The directional cosine(#, , #) of line P1 P2 is determined by the coordinates of points P1 g , y1, z1 ) and P2 (x2, y,, zz), while the directional cosine(#', , #') of line P2 P3 by the coordinates of points P2 (x2, y2, z2) and P3 (x3, y3, z3). Then, the angle #0 is defined by: #0=f16(#, , #, #', ', #') .............. (24) When the coordinates of the points Qt, Q"' and Q3 are (xt, y1, zl), (x2, y2, z) and (X3, ya, Z3), respectively, Q1 is defined by the following equation: EMI15.1 Q2' (x2', y2', z2') and Q3(x3', y3', z3') also are obtained in the similar manner. The teaching of the weaving pattern and the amplitude is required to be effected only once with respect to the initial weld line. In the succeeding blocks, the weaving is automatically continued along the respective correct directions by sequentially obtaining Qt, Q2' and Q3 and repeating the procedure described with reference to Figure 5. Even if a block having air-cut, in which weaving is interrupted; is included in the successive blocks, abovementioned calculation is continued, therefore, the teaching of weaving points Qt, Q2 and Q3 is unnecessary in the weld line after the air-cut. That is, only one time of teaching of the weaving points Qt, Q2 and q3 is sufficient. A restriction regarding profiling welding is imposed on the angle of deflection # of the teaching locus frca the actual weld line within the same block between the teaching points P1 and P2 (Figures ti and 12) The maximum limit max #axax Of the angle of diflection r is dependent on the weaving frequency h (Hz), welding speed V (m/min.) and the amount of locu correction g (mm) shown in Figure 6 or F2 q (mm): EMI16.1 When the angle of deflection is ## or less, the profiling welding within the same block is allowed and the weld line is deemed essentially to have no sharp corner. In this invention, however, @max/2 is determined to be the maximum limit of the angle of deflection within the same block. When h = 2Hz, q = 0.7mm and V = 300mm/min., ### = 30 , hence #max/2 = 15 . From the viewpoint of automatic welding techniques, generally, there will be no workpiece having an angle of deflection as great as 130. therefore, employment of #max/2 as the maximum limit of the angle of deflection will be reasonable. Figure 13 shows the manner of profiling welding at a sharp rectangular corner in fillet welding. The welding torch advances while profiling along the actual weld line and the center of weaving reaches the point P2'. The weaving direction between the points p12 and P2' is a direction perpendicular to the direction of vector P1 P2 When fillet welding part ends at the point P2', the welder starts to form beads on a flat plate. In this case, the robot continues profiling welding operation.alohg the flat plate on the basis of a vector P2' Pn' which is parallel to vector P1 P2 and the center of weaving advances in the direction of the maximum limit of angle of deflection #mex determined by the equations (26) and (2?). Figure 14 is an enlarged view illustrating in detail the behavior of the center of weaving in the vicinity of the point P2'. The coordinates (xe, y , z J of the center of weaving given by Equation (15) before and after the correction mode are memorized at points Qi, 0 2, 2' ..... The angle 5 between the line P1 P2 and the projection of a line / connecting the coordinates (xn-1, y@-@, z,l) immediately before the start of a preceeding correction mode and the coordinates (x, y , zm) 4 immediately before the next correction mode on a plane defined by teaching lines P1 P2 and P2 P3 will be determined. The angle between the line P1 P2 and: the projection of a lino #2 connecting the coordinates (x' , y'n , z'#) immediately after the completion of the next correction mode and the coordinates (x'n-1, z'n1) immediately after the completion of the preceeding mode on the plane defined by lines Pt P2 and P2 P3 also will be determined. Since the coordinates of points Pt, P2, P3 known, the directional cosine (a, b, c) of the directional cosine of (a', b', c') of EMI17.1 directional cosine (#, fi, ) of the line Pi P2 and the directional cosine (#', ', #') of the line P2 P3 can easily be determined. Thus the angles and 4 are defined by: EMI17.2 The mean of the angles 5 and # is calculated before and after every correction mode during profiling welding operation. The e calculated means are memorized sequentially in accordance with FIFO system. The point P2" in Figure 13 is recognized to be a corner when the means in the FIFO system exceed t4w, > /2 and approache the maximum limit of angle of deflection 3; . Then, as explained with reference to Figure 10, the weaving direction is changed into a direction perpendicular to line P2 P3. The profiling welding operation for the next block starts on the basis of a line having its starting end at point P2" and its ending end at point P2' determined by shifting the point P3 by a vector of displacement P2 - P2". However, since the center of weaving of the torch is still located over the flat plate and not in the fillet part, correct fillet welding is effected after the center of weaving has moved in a direction at angle g to the line P2' P31 and has reached the point F2ll Since the mean of the angles t and ff also becomes equal to the angle after the corner recognition, it is necessary to provide an interlocking means to interrupt the corner recognition in this stage. In this case the center of weaving over-turns through points P2' - - P2'", however, this over-turrris not necessarily disadvantageous. The e welding of a sharp corner naturally is difficult and in teaching a sharp corner in a robot having no profiling capability, the teaching locus often is over-turned outside the weld line as shown in Figure 15 in order to prevent undercut. Figures isa and 15b are a plan view and a side elevation of the teaching positions and the position of the welding torch, respectively, in fillet welding operation. In fillet welding operation, in which a comparatively large welding current is required, it is usual to deflect the aiming point of the welding torch to the flange side by a distance t to prevent undercut in the web side. Since undercut is liable to occur in the web side particularly in the corner part due to increased deposition of weld, the deflection of the aiming point is increased over the distance t in The corner part as shown in Figure 15. Accordingly, the corner recognition method is reasonable. Naturally, the profiling. welding in accordance with the present invention is able to provide the offset t of Figure 15 by offsetting the zero point of the transverse signal comparator, not shown, of the sensor circuit by applying a bias signal to the comparator. Figures 16 and 17 are views for explaining the welding starting posi- tion searching function for searching a welding starting position when the actual welding starting position is originally deflected greatly from the teaching welding starting position, which often is the case in mass production process. When a workpiece sbown by:solid lines is deflected diagonally upward with respect to: the correct teaching position of the workpiece shown by dotted¯lines Figure 16, no corner to be fillet-welded is found and the actual welding starting point is over the flat plate, since the correct teaching welding starting position Pt on the workpiece is moved diagonally upward. When the weaving for profiling welding is started from the false welding starting position Put', the welding torch ii is swung in the weaving direction (transverse direction) as explained with reference to Figure 9 over the flat plate, consequently, a difference in the welding current is caused between the right and the left end of weaving. Therefore, the welding torch it approaches the corner to be fillet-welded in the direction of the resultant vector of the leftward direction and downward direction at the angle ss qxs with an effort of canceling the current difference and adjusting the welding current to a fixed value, on the basis of n vector P1' P2' which is parallel to the weld line, then starts welding operation at point Put". in order to minimize the distance ml and to prevent the undesirable effect of unnecessary beads on the workpiece, the profiling welding is performed under a weaving condition and at a welding speed which are different from those of actual welding along the weld line while the welding torch moves from point n to point Pt-, in which the welding speed V and the welding current are reduced extremely, he weaving frequency h is increased and the amount of locus correction q is increased to make the angle of Of Equations (26) and (27) increase. The method explained with reference to Figures 13 and 14 may be similarly applied to recognizing the point Ptt'. Figure 17 show the deflection of a workpiece in The reverse direction with respedt to the direction of deflection of Figure 16. The manner of profiling welding operation of Figure 17 is entirely the same with that of Figure 16. Figure 18 is a block diagram showing the connection of a profiling welding controller embodying the present invention and comprising an arithmetic unit and a BRM having a two-step buffer, a main CPU (a micro processor) for generally controlling the general robot operation, a welding current commanding and changing switch and the sensor circuit which has been described with reference to Figure 8. To effect profiling welding operation through general' sequential robot motion, the main CPU 20 has functions to read the respective number of pulses of the start position Pt andXthe end position P2 to be profiled, the end position P3 of a block succeeding the block to be profiled, the weaving pattern defining positions Q1, Q2 and Q3 and the distance monitoring position P20, which are specified in a teach box, not shown. from the original point of the robot basic three shafts and the robot wrist shafts, the welding speed V, weaving frequency h and the amount of locus correction q, from a memory unit, not shown, to set the data in registors 21 to 30 and to provide a macrocommand to start profiling welding operation. The arithmetic unit 31 comprises a sequence controller 32, micro program memory 33, pipe line registor 34, inultlplexer 35, RALU 36 (Registor and Arithmetic Logical Unit), registors 21 to 30, clock + dividing and leading edge differentiating circuit 37 and reference clock address generator 38. The sequence controller 32 is an address controller which is capable of controlling the execution sequence of micro instructions stored in the memory 33 and is adapted to effect various addressing and stack control in response to the control instructions provided-by the pipe line registor 34. More particularly, the sequence controller 32 controls the selection of the jump address which is given by the pipe line registor 34, the selection of jump address which is given by the pipe line registor 34 in the case of unconditional jump, and stack control during micro subroutine, in the increment of the presently executed address, the selection of address specified by the macroco.'nand, selection of address specified by the reference clock address generator 38 and conditional jump corresponding to the test conditions including RALU status. Three kinds of input information for addressing are provided, which are micro command from the C2U1 the output of the reference clock ddress- generator 38 and the output of the pipe line registor 34 According to a microprogram, namely, the control instruction of the pipe line registor 34, it is decided that the sequence controller 32 selects which one of thosb,fhree kinds of. input information, or the sequence controller 32 5elects none of them and the increment of the current address is effected. Profiling welding control Includes four macrocommands as follows: i) A command of are start block immediately after air cut and for effecting corner recognition at a corner to the next block in accordance with the distance monitoring method. 2) A command of arc start block immediately after air cut and for effecting corner recognition at a corner to the next block in accordance with the ( g+t )/2 angle calculation method. 3) A command of a block for continuously performing welding operation after an arc start command has been given in the previous block and for effecting corner recognition at a corner to the next block in accordance with the distance monitoring method. 4) - A command of block for continuously performing welding operation after an arc start command has been given in the previous block and for effecting corner recognition at a cotner to the next block in accordance with the (f+ if)/2 angle calculation method. From the semantics of hard ware, these macrocommands and the output of the reference clock address generator 38 are given in the form of indicating the first address of the respective processing microprograms. While these are not applied to the sequence controller, the jump address, subroutine call address and current address increment of the pipe line registor 34 are given. The microprogram memory 33 is the essential unit of the arithmetic unit 31. All the arfthmetic processing is executed in accordance with the instructions of the microprogram. The pipe line registor 34 provides a microinstruction for operation which is to be currently executed by the buffer registor of the microprogram memory 33 to the RALU 36 and also provides a control instruction for deciding the next microaddress to the sequence controller 32 and the multiplexer 35 and also a jump address, subroutine call address and current address increment to the sequence controller 32 when a corner is detected during profiling welding operation, the pipe line registro 34 applies a command request requesting the coordinates data of the next block to the main CPU 20. The pipe line registor 34 is provided for forming two signal paths, making the signal paths parallely simultaneously progress, reducing microcycle time and attaining high-speed operation. One of the paths is the path of a control system connecting the pipe line registor 34.- sequence controller 32 - microprogram memory 33, while the other path is the path of the arithmetic system of the pipe line registor 34 - RALU 36. The pipe line registor 34 is provided for parallelly actuating these two paths within the same clock cycle. Since the next instruction of the microprogram prepared by the path of the control system has already been provided at the input of the pipe line registor 34 prior to the rising of the clock CP, high-speed operation equivalent to an operation of zero memory fetch time can be attained The multiplexer 33 gives the sequence controller 32 the eight test conditions of locus correction signals shown in Figure 6 provided by the RLU status sansin unit corresponding to the control instruction of the pipe line registor 34 and causes conditional jump to the respective processing program. The RALU 36 comprises a logical-arithmetic operation unit and a programmable registor and is adapted to execut-e the operation instruction specified by the inicroprogr. Incremental pulse number of each driving shaft of the robot at every reference clock, which is the result of the operation, is stored in the predetermined registor included in the RALU 36. Registors 21, 22, 23, 24, 25, 26 and 27 store the pulse numbers from the robot basic three shafts and the original point of the robot wrist shaft of the starting position Pt, ending position P2, position P3, position Q1, position Q2, position Q3 and point P20, respectively. The registors 28, 29 and 30 store the profiling welding speed V, the weaving frequency h and the amount of locus correction , respectively. A buffer 41 is a registor for storing gn increment pulse number which is to be dispatched in the next reference clockof each driving shaft of the robot A buffer 42 is a registor for storing the increment pulse number being currently outlaied. A BRM uniformly and evenly distributes the pulse number stored in the buffer 42 in pulses which are synchronous with the clock within the reference clock period and provides a dispatch completion signal for buffer transfer at every reference clock. The dividing-leading edge differentialting circuit produces reference clock which is divided by the bit number of the BRM fIsm the clock SD and differentiates the leading edge of the reference clock for synchronizing the BRM dispatch completion signal and the reference clock. Although the main CPU 20 gives a welding current command to the welding equipment and the sensor circuit 50, the welding current command selecting switch 51 is changed by the output of the arithmetic unit in detect1ngwelding start position so that a fixed value is selected and when the welding start position is detected, the welding current cominand- selecting switch 51 is changed to the side of the commanded value of the main CPU. Figure 19 shows the positioning servocircuits for the basic three shafts (,'axis, axis, -axis) and the two wrist shafts (shaft B, shaft T) of an articulated robot which is controlled by the command pulses dispatched from the BRM explained with reference to Figure 18. Differences between the respective command pulses of the shaftsewhich are given to cause the welding torch to. perform a profiling welding operation while performing weaving motion, and feedback pulses provided by the pulse generators 616, 626, 636, 646 and 656, are provided by deviation counters 611, 621, 631, 641 and 651, then analog speed commands are applied to servoamplifiers 613, 623, 633, 643 and 653 through D/A converters 612, 622, 632, 642 and 652, respectively. The servoamplifiers compare the speed commands with the putput signals (detected speeds) of tachogenerators 615, 625, 635, 645 and 655, respectively, and control the corresponding driving motors so as to cancel the differences between the speed commands and the output signals of the tachogenerators. By means of these positioning servo systems, the free end of the welding torch of the robot performs desired profiling welding operation in accordance with the command pulses. The manner of profiling welding control operation of the control circuit of Figure S8 will be explained hereunder. Initially. the arithmetic unit 31 is executing wait routine. When a macrocommand is applied to the sequence controller 32 by the main CPU 20, the sequence controller 32 performs address control, while receiving a control instruction from the pipe line registor 34 to select the first address of its service program, to make the arithmetic unit 31 execute the wait routine. Since the wait routine includes a command to reset the reference dividing circuit 37, no reference clock is generated. Prior to starting profiling welding control, the main CPU 20 first sets the corrdinate of the starting point P1 (#1, #1, #1,', T1, B1) of the profilling welding block, the ending point P2 (#2, #2, #2, T2, B2), the ending point P3 ( #3, #3, T3, B3) of the next block, weaving pattern defining points Q1 (#1, #1, #1, T1, B1), Q2 (#2, #2, #2, T2, B2) and Q3 (#3, #3, #3, T3, B3) in the register 21 to 26. The main CPU 20 also sets the profiling welding speed V, weaving frequency h and the amount of locus correction q in the registors 28 to 30. When the distance monitoring method is employed for corner recognition, the main CPU 20 sets the coordinates of the monitoring point P20 ( +, ç to Tzo , B 0) in the registor 27. when one or those four jnacrocommands is provided by the main CPU 20, the first addresses of the respective corresponding service microprograms are se1ectd. Those four service programs set a welding starting point detecting flag, not shown, to 1 when the block includes the welding starting point detection or reset to 0 when the block doesn't include the welding starting point detection, set a corner detecting flag, not shown, to 1 when the distance monitoring method is employed for corner detection, reset the corner detecting flag to 0 when the q + 4 )/2 calculating method is employed, then enter them into a profiling welding processing program N+. Since those four programs include a cancellation instruction for canceling the reset signal of the reference clock dividing circuit 37, the dividing circuit 37 starts counting clock t. Then, the sequence controller 32 operates to perform addressing which is necessary to arithmetic processing until an output signal is provided by the next reference clock address generator 38 Now, the profiling welding processing program which starts with N+ will be described hereinafter. Since profiling welding is started from a block at arc start, initially, the welding starting point flag is set to 1. Consequently, the welding speed V, weaving frequency h and the amount of locus correction g which are set in the registors 28 to 30 are not used before the profiling welding operation reaches the normal welding starting position, but fixed values memorized in the arithmetic unit are used. The e welding current command selecting switch 51 is changed by the output of the arithmetic unit so as to apply fixed values of the welding current command to the welding equipment and the sensor circuit 50. The positions Pt, P2, P3, Qi, Q2 and Q3, which are set in the registors, are converted to the data of the Cartesian coordinates system represented by Equation (i) by using Equation (21). when the corner detecting flag is i, the point P20 is converted into P20 (xzo, YOW Z2 ) by using Equation (21). Then, Equations (4) and (5) are solved by using the fixed value of weaving frequency h which is memorized in the arithmetic unit. Equation (li) is solved bg using the fixed value of welding speed V. Equations (2), (3) and (7) are solved successively. Equation (19) is solved by using the wrist shaft angle at points Pt and P2. The first address storing the processing programs after this is assumed to be M+. At the first reference clock for starting profiling welding, the welding torch is still positioned. on the center of weaving, therefore, no locus correction signal is generated. In this stage, Equations (8) to (10), (13) and (14) do not perticipate in the operation and the arithmetic unit 31 is in the parallel shifting mode. At the first reference clock, Equation (8) is solved with N = 1. Since K' = O, Equation (16) provides K = 1. Using Equations (12), (15) and (7), Xn, Yn and Zn of Equation (17) are determined. The differences 68 and AT between the solution Bn and Tn of Equation (20) and the values of Bn and Tn at the preceding - reference clock (now Bt and T1) are set in the predetermined registor of the RALU 36. The values of #n' #n and cP of the basic three shafts are obtained by substituting the solutions Xn, Yn and Zn of Equation (17) and Bn and Tn into Equation (22) and then, the differences ##' ## and ^/ between #n and #n and the values of #n, #n and #n (now #1, #1 and #1) at the pre ceding reference clock are set in the predetermined registor of RALU. When the corner detecting flag is 1, the calculated result of Equation (18) is set in the predetermined registor of RALU and the arithmetic unit 31 stands by This standby is different from the wait routine waiting for the macrocommand which is provided by the main CPU 20, but is a routine waiting for the next reference clock address generator output g+ and the dividing circuit 37 will not be reset. Since the clock # and the bit number of the BRM are set so as to provide a reference clock period which is longer than a time required for completing the operations as there in before described, the shortage of the operating time will not occur. While the arithmetic unit 31 is executing the wait routine for waiting M+, the BRM provides a dispatch completion signal simultaneously with the generation of a reference.clock, the predetermined registor of the RALU 36 loads the five buffers 41 with the values of ##, ##, ##, #B, and #T. respectively, and the buffers 42 are loaded with the contents of the buffers 41. At the first reference clock, the buffers 41 remain cleard, therefore, O is placed in the bufferes 42 so that the BRM doesn't dispatch pulses. This reference clock actuates the reference clock address generator 38 and the execution of the microprogram is started from M+ and Equation (6) is determined by substituting N X 2 into the equation. Since j' of Equation (23) at the preceding reference clock is not no no locus correction signal is generated so that the arithmetic unit continues the parallel shifting mode Consequently, K' = 0 and from Equation {16), K = 2. Then, the values of Xn, Yn and Zn of Equation (17) are determined by using Equations (12) and (i55. The values of Bn and Tn also are determined by using Equation (20). The differences A3 and #T between the values of the instant Bn and Tn and the values of the preceding, Bn and Tn are set in the predetermined registor of the RALU. The values of #n, #n, and are determined by substituting Xn, Yn, Zn, Bn and Tn into Equation (22). The differences ##, bob and or between the respective values of #n, #n, and at the instant and the preceding reference clock are set in the predetermined registor of the RALU. The calculated result of Equation (18) is compared with the preceding value stored in the RALU and when the instant value is smaller than t-he preceding one, the preceding value is replaced by the instant value. After this, the arithmetic unit stands by and wait for the next reference clock generator output M+. At the next reference clock, the contents of the buffers 41 at the preceding reference clock are loaded in the buffers 42, while the buffers 41 are loaded with the ##, ##, ##, T, and #B at the present reference clock, respectively and the BRM dispatches a command pulse to the respective shaft positioning servocircuits. This operation is repeated until the j' of Equation (23) becomes j. When j' - is the coordinates x , yn and zn of the center of weaving determined by Equation (15) are memorized and a measurement start command is applied to the sensor circuit 50, then the arithmetic unit 31 is changed into the locus correction mode at the next reference clock. Transverse and vertical locus correction signals produced by the sensor circuit are received by M+ as test conditions. Equations (8), (10) and (13) are sol@ed by using the values of &alpha;, ss, &gamma;, #, and #, which have previously been calculated, fixed value of q which is memorized in the arithmetic unit and the fixed value of t. Equation (14) is calculated with K' = 1. The' coordinates of the center of weaving (x'n , y'n, z' ) determined by solving Equation (15) by employing the value of K at the preceding reference clock are memorized. Equation (6) is solved with N = K + K'. The solution of Equation (17), i.e. Xn, Yn and Zn are deter mined. Bn and Tn are determined and are converted into ##, ##, ,f , and #B, which are stored in the predetermined registor of RALU. Thus the BRM performs positioning servocontrol. Equation (18) is calculated for renewal. Then, the arithmetic unit is changed into the parallel shifting mode again, determines the values of #n, #n, #n, Tn and Bn at every refernece clock and performs positioning servocontrol on the basis of the differences ##, ##, #T and #B, which are differences between the values of #n, #n, Tn and Bn at the present and the preceding reference clocks. Equation (18) also is calculated at every reference clock to save the minimum value. The parallel shifting mode is continued until j' = i again. When j' = again, the directional cosine (a, b, c) of a line connecting the coordinates (x#, y#, zn) determined by Equation (15) and the coordinates (xn-1, ynz .,) determined and memorized at the preceding reference clock is determined on the basis of the coordinates x , y, zu, x > ¯l , , yn-1 and zn-1, the directional cosine (#, ', ) of P2 P3 is determined on the basis of the. coordinates of point P2 t , y21 Z2) and point P3 (X3t ya, Z4) and then; the - value of µ is calculated by Equation (28) by using those directional cosines and the directional cosine of Pi P2 which has previously been determined by Equation (2). The calculated value of # is memorized in the FIFO (First In First Out). The values of x", yn and zn memorized at the preceding reference clock are replaced by those obtained at the present reference clock The measurement start command is given to the sensor circuit sa. then the arithmetic unit 31 is changed to the locus correction mode at the next reference clock. Equations (8), (10) and (13) are solved in response to generation of locus correction signals of the sensor circuit 50,. Equation (14) is solved by assuming K' = 2 and Equation (15) is solved with the value of K obtained at the prededing reference clock to determine the coordinates (x'n, z'm) of the center of weaving. The value of of Equation (29) is calculated by using the directional cosine (a', b', c') of a line connecting the coor- dinates (x'n, y'@, z'n) and the coordinates (x'## y'n-1, z'n1) memorized at the prededing reference clock and the previously determined directional cosines (R1, #) and (#', , #'). The calculated value of # is memorized in FIFO. The values of x'm, yb and z' determined at the preceding reference clock is replaced with those determined at the present reference clock. Equation (6) is solved by assuming N = K + K'. The solutions Xn, Yn and Zn of Equation (17) are determined. The values of Bn and Tn are determined and converted into 4, ##, < #T and zB, which are placed in the predetermined registor of the RALU so that the BRM performs positioning servocontrol. Equation (18) is claculawted and the value is renewed. Thus the parallel shifting mode is completed and after this, Åa cycle of the parallel shifting mode-locus correction mode is repeated. Before and after the locus correction mode, the mean of ( + 7)/2 memorized in the FIFO memory is examined if it is exceeding the half ofUr+4A determined by Equation (26) or (27) and approaching the value of When the mean value is close to the value of g 4 , it is recognized that the welding starting position is being detected and the profiling welding operation is continued with the fixed values of V, h and q and the welding current command selecting switch 51 switched to the side of fixed value. When the mean value of (#-n#)/2 decreases to a value below ss 4A/2, it is recognized that the center of weaving reached the welding starting position, then the welding current command selecting switch 51 controls the output of the arithmetic unit so as to select the welding current instructed by the main CPU 20, changes the values of V, h and a to the respective values which are set in the registors 28 to 30, newly determines the amount of shifting of weaving at one reference clock sx, Jy, jz by solving Equations (4) and (5), newly determining the values of x < , yno and Zao of Equation (11) and applies the value of g set in the registor 30 to the calculation of Equation (10). The value of ;u of Equations (26) and (27) also is newly calculated. After this, the minimum value of Equation (18) is renewed when the corner detecting flag is 1, the values of # +#)/2 and 4 are saved sequentially in the WIFO memorywhen the corner detecting flag is 0 and the profiling welding operation is continued. when the corner detecting flag is 1, it is determined that the center of weaving has reached the ending position of the block when the minimum value of Equation (18) reduces over a width of variation. when the corner detecting flag is 0, it is determined that the center of weaving has reached the ending position when the mean value of (} Cmax/2 memorized in the FIFO memory is #, or greater and approaching After the detection of a corner has been completed, the arithmetic unit 31 decides the direction of weaving in the next block and executes weaving pattern continuation processing to provide the same weaving amplitude as that in the preceding block. More specifically, the value of s of Equation (24) is determined Prcm the directional cosine (n, S ) of P1 P2 and the directional cosine (#, ', ') of P2 P3, which have previously been determined in the preceding block and the coordinates (x',, y';, z', ) of the position Q1 of the next block, namely, the position Qi explained with reference to Figure 9 from Equation (25). Similarly, the coordinates of positions Q2 and 7Q3 are determined to replace the coordinates of positions Q1, Q2 and Q3 of Equation (1). The position of the center of weaving at the detection of the corner is the starting position for the next block. The differences i 3 (Xt i = (y - y) and i = (z - z2) between those (x, , z) and the position P2 (xL, W, Z2) are memorized and the values of xr, y, and zaire made to represent the coordinates data y2 and Z2 of P1 of Equation (1). After this, the main CPU 20 sets the pulse numbers from the origin of the five shafts of the robot at the ending position of the next block in the registor 22 and after setting the pulse numbers from the origin of the five shafts of the robot at the ending positions of the successive blocks and the distance monitoring points of the successive blocks in the registors 23 and 27, the main CPU 20 gives the macrocommand to the arithmetic unit 31. this macrocommand doesn't include welding starting position detection. The aritimstic unit 31 converts the coordinates (#1, #2, #3, T#1 B2) of the new ending position P2 of the block set in the registor 22, the coordinates (, #2, #, T3, H3) y2 of the new ending position P3 of the next block set in the registor 23 and the coordinates (o, Oo, , T,, p of the new distance monitoring point P20 set in the registor 27 into coordinates P2 (xz, z#), Zzn) P3 (X3, y, z and P20 (x,, y,, 2.3 by means of Equation (21). Coordinates obtained by shifting the coordinates P2 XL z, zz) by the amount of memorized il, i2 and i3 is the coordinates of the new ending position. That is, the new ending position P2 (x2, yz, z3) is determined through converstons x2 + i, - xz, y2 + i2 - y2 and zz + i# # z3. The manner of profiling welding operation after this is entirely the same with that in the prededing block, except that the detection of welding starting position is not performed. Since the next data is continuously supplied to the buffers 41 while the two-step buffer dispatches the command pulses, the profiling welding operation is not interrupted at corners so that smooth profiling welding is attained. As has been described hereinbefore, the profiling welding system in accordance with the present invention is capapble of attaining automatic welding with workpieces of inferior accuracy and has advantages as follows: (i) Since nothing except a welding torch is mounted on the robot wrist, profiling welding can be attained in a very narrow space as long as the torch is allowed to enter the space. (2) Gelding starting position can be detected even iS the actual welding part of a workpiece is deflected from the teaching position due to inferior accuracy of the workpiece without the need of a form recognition system such as an expensive vision system. (3) Welding of corners of any shape can be attained smoothly and correctly through profiling welding without the need of a form recognition system and furthermore, correct welding can be attained even if the corners vary widely between workpieces. (4) Since the weld line of a workpiece included within a profiling welding angle which is dependent on the set values of the weaving frequency, the welding speed and the amount of locus correction, can be included within the same block, the initial teaching operation is simplified and the accessibility is improved. (5) Since teaching is required with three positions defining the weaving pattern only for the first welding block owing to the automatic weaving pattern continuation function of the system, teaching operation is facilitated. (6) Since the sensing information is aquired from the very arc phnomenon (welding current, welding voltage) instead of employing a particular sensor which is to be mounted on the robot wrist, the profiling welding system in accordance with the present invention is free from problems inherent in other ordinary sensors irrespective of their types, contact type or non -contact type, such as hindering welding operation by the sensor, having a dead angle of sensing and having insufficient reliability in the sensor under unfavorable operating conditions such as welding heat, spatters and fume. According to the present invention, automatic welding operation employing a welding robot is feasible even if the workpieces are inaccurately formed, if the workpiece is more or less deflected from the correct position or if the well line is wavy. Thus the present invention greatly contribytes to automating welding operation Although in the exemplary robot as shown in Figure 3, both the weaving motion control as well as the locus correction control are attained through controlling the three shafts of the robot, naturally, tt-it4c¯vions in the design of the control system are possible, in which the weaving motion and the locus correction are separately controlled, namely, an actuator may be provided on the robot wrist independentl j of the driving shaft of the robot for exclusively controlling the weaving motion and only the locus correction control may be effected by means of the basic three shafts of the robot. 4 BRIEF DESCRIPTION OF THE DRAWING Figure 1 is an explanetory view of weaving welding, Figure 2 is a perspective view of an arc welding robot employing a conventional weaving welding system, Figure 3 is a perspective view of an arc welding robot embodying the present invention, Figure 4 is an explanetory view of a profiling control system in accordance with the present invention, Figure 5 is an explanetory view of teaching positions for setting the weaving motion, Figures 6 and 7 are diagrams of correction vectors., Figure 8 is an explanetory illustration of the input and output signals of the sensor circuit, Figure 9 is a view showing the direction of welding torch control, Figure 10 is an explanetory view of the automatic continuation of a weaving teaching pattern, Figures 11 and 12 are explanetory views of the deflection angle between a teaching locus and an actual weld line, Figure 13 is an explanetory view of a manner of profiling welding at a sharp corner in fillet welding, Figure 14 is a partial enlarged explanetory view of Figure 13, Figure 15 is a view illustrating the teaching points and- -the position of the welding torch in fillet welding, Figures 16 and 17 are explanetory views of welding operation when the actual welding starting position is different from the teachin point, Figure 18 is a block diagram of an embodiment of the control circuit in accordance with the present invention, and Figure 19 is a block diagram of an embodiment of the servocontrol unit in accordance with the present invention. In the drawing, reference numerals designate: it ... welding torch, 12 ... stand, 13 and 14. ... arms, 15 ... swivelling unit. Figure 8 10 ... Measurement starting command at weaving ends, 20 ... Welding current or welding voltage, 30 . Right, 4o .. 5 Left, 50 ... Up, 60 ... Down, 70 ... Locus correction signals. Figure 9 to ... UP, 20 ... Down, 30 ... Right, 4o ... Left. Figure 11 10 ... Teaching locus, 20 ... Actual weld line. Figure 12 Actual weld line, 20 ... Teaching locus. Figure 13 10 ... Teaching locus L2, 20 ... Teaching locus Li, 30 .. Actual weld line. Figure 14 10 ... Actual weld line, 20 ... Locus of the center of weaving, 30 Locus correction mode, 4o ... Parallel shifting mode. Figure 15 10 ... Teaching locus, 20 ... Flange, 30 ... Web. Figure 16 10 ... Actual weld line, 20 ... Actual welding starting position. Figure 18 10 ... Main CPU (Microprocessor), 20 ... Macrocommand, 30 ... Test condition, 40 ... RALU status, 50 .. Multiplexer, 60 ... Control instruction, 70 ... Sequence controller, 80 ... ticroprogram memory, 9 ... Clock CP, 100 ... Jump address, 110 ... Pipe line registor, 120 ... Registor, 130 ... Locus correction signal, 140 ... Welding current command, 150 ... Fixed value, 160 ... Sensor circuit, 170 ... Welding current command, 180 ... Welding current, 190 ... Measurement starting command, 200 ... Reset, 210 ... Dispatch completon, 220 . Shaft T positioning servocommand, 230 ... Dispatch completion, 240 ... Shaft # positioning command, 250 ... Buffer, 260 ... Clock #, 270 ... Dividing and leading edge differentiating circuit, 280 ... Reset, 290 ... Reference clock, 300 ... Reference clock address generator, 310 ... Arithmetic unit. Figure 19 10 ... from bRM, 20 ... Shaft # command pulse, 30 ... Shaft s command pulse, 40 ... Shaft # command pulse, 50 ... Shaft B servocircuit, 60 ... Shaft servocircuit, 70 ... Shaft 3 servocircuit, 80 ... Shaft T servocircuit, 90 ... Shaft B command pulse, 100 ... Shaft T command pulse, 11 ... Shaft servocircuit, 120 ... Deviation counter, 130 ... Shaft # motor, 14 ... Tachogenerator, 15 ... Pulse motor, 160 ... Shaft 2 motor, 170 ... Shaft # motor, 18a ... Shaft B motor, 19 ... Shaft T motor.

Claims: TITLE OF THE INVENTION YELPING ROBOT CONTRCLLING SYSTEM WHAT IS CLAIMED IS 1. A welding robot- controlling system for a welding robot adapted to move the welding torch thereof along a teaching line while causing the free end of the welding torch to perform weaving operation, comprising detecting the welding current or the welding voltage at both ends of the weaving operation, detecting the deviation of the center of weaving motion from the actual weld line on a workpiece and the difference between a' set welding current or' welding voltage and the actual welding current or welding voltage, and controlling the basic three shafts or the basic three elements of the robot to correct the locus of the center of weaving motion by gleans of locus correction signals obtained through the operation of the results of detection. 2. A welding robot controlling system according to Claim 1, wherein a teaching playback welding robot capable of moving the welding torch thereof between teaching positions by linear interpolation. 3. A welding robot controlling system for a welding robot adapted to move the welding torch thereof along a teaching line while causing the free end of the welding torch to perform weaving operation, comprising detecting the welding current or the welding voltage at both ends of the weaving operation, detecting the deviation of the center of weaving motion from the actual weld line on a workpieceon the basis of the variation of the detected values, controlling 'the basic three shafts or the basic three elements of the robot by means of locus correction signals obtained through the operation of the detected values to correct the locus of the center of weaving, and controlling the position of the welding torch so as to make the angles at every moment of the robot wrist, when the center of weaving is projected on a line connecting a starting teaching point and an ending teaching point ço perform linear interpolation, become the same with the wrist. angle which is' changed evenly and uniformly between the starting and the ending teaching points within an angular difference between a teaching wrist angle at the starting teaching point and a teaching wrist angle at the ending teaching point. 4. A welding robot controlling system for a welding robot adapted to move the welding torch thereof along a teaching line while causing the free end of the welding torch to perform weaving operation, comprising defining and teaching a monitoring point in addition to teaching points for ordinary welding operation to detect the corner of the workpiece, determining the distance between said monitoring point and the center of weaving through operation, recognizing the present welding position to be a profiling welding block to be presently welded and continuing the weld line tracking operation while said distance is inonotonically decreasing, recognizing the corner of the workpiece and completing the trackning operation in said block when said distance exceeds a predetermined width of variation, and controlling the center of weaving so as to cause the center of weaving to perform profiling welding in the next block on the basis of a line having the position of the welding torch at the completion of tracking operation in the preceding block as a starting point and a point, which is determines by three-dimensionally parallelly shifting a previously taught ending point of the next block by a displacement vector between said starting point and the previously taught ending point of said preceding block, as an ending point. 5. A welding robot controlling system comprising making the free end of the welding torch of the robot move following a teaching line and performing weaving operation, detecting' the welding current or the welding voltage at both ends of weaving, detecting the deflection of the center of weaving from the actual weld line on the workpiece and the difference between a set welding current or welding voltage and the actual welding current or welding voltage, controlling the basic three shafts or the basic three elements of the robot by locus correction signals produced through the operation of the detected values to correct the locus of the center of weaving, memorizing, in performing welding along a sharp corner such as a rectuangular corner, the position (x¯, Ye z,-) of the center of weaving at the generation of the preceding locus correction signal and the position (x , y'k-1, z z'n-1) ) of the center of weaving at the completion of locus correction, determining the angle F between the projection of a line #1 connecting the position (x , y , zn) of the center of weaving at the moment of generation of the instant locus correction signal and the position (xM , yn-1 , zn-1) of the center of weaving at the generation of the preceding locus correction correction signal, on a plane defined by a previously taught line Li and a line L2 taught in the next block extending after the line Li, and the line Li, determining the angle f between the projection of a line connecting the position (x , y , z ) of the center of weaving immediately after the completion of locus correction and the position (s' , , y, , z'¯,) of the center of weaving at the completion of the preceding locus correction, on said plane defined by lines Li and L2, and said line Lit calculating the mean value of said angles f and t before and after every locus correction during the welding operation and memorizing the calculated results sequentially in a FIFO memory circuit, simultaneously recognizing a corner and clearing the contents of said FIFO memory circuit when the mean value memorized in said FIFO memory circuit becomes greater than a value of a function of the welding speed, weaving frequency and the amount of locus correction to complete the welding operation in the block of the line L1, and shifting the tracking control for tracking the weld line of the next block by deciding ,that the welding operation is to be performed in the next block in which the center of weaving is to move on a line having the position of the free end of the torch at the completion of welding in the preceding block as a starting point and a point determined by three-dimensionally parallelly shifting the previously taught ending point of the block of the line L2 by a displacement vector between said starting point and the previously taught ending point of the line L1 as an ending point. 6. A welding robot controlling system comprising making the free end of the welding torch of the robot move following a teaching line and performing weaving operation, detecting the welding current or the welding voltage at both ends of weaving, detecting the deflection of the center of weaving from the actual weld line on the workpiece and the difference between a set welding current or welding voltage and the actual welding current or welding voltage, controlling the basic three shafts or the basic three elements of the robot by locus correction signals produced through the operation of the detected values to correct the locus of the center of weaving, extremely reducing the welding speed and the welding current comparatively to the normal welding speed and the normal welding current, respectively, and increasing the weaving frequency and the amount of locus correction comparatively to the normal ieaving frequency and the normal amount of locus correction, until the" welding' torch reaches the actual weld'.line, rinV:case the actual weld starting position is deviated from the previousLy taught welding starting position. ?. A welding robot controlling system comprising making the free end of the welding torch of the robot move following a teaching line and performing weaving operation, detecting the welding current or the welding voltage at both ends of weaving, detecting the deflection of the center of weaving from the actual weld line on the vorkpiece and the difference between a set welding current or welding voltage and the actual welding current or welding voltage, controlling the basic three shafts or the basic three elements of the robot by locus correction signals produced through the operation of the detected values to correct the locus of the center of weaving, teaching three points on a line to be subjected to linear interpolation, i.e. in the vicinity of the weld line, and controlling the free end of the welding torch so as to move along one of the surfaces of a triangular cylinder formed by shifting a triangular plane defined by said three teaching points in the direction of the weld line, while performing a weaving operation defined by an amplitude defined by said three teaching points, a desired weaving frequency, a weaving interrupting time at both ends of weaving and a welding speed. 8. A welding robot controlling system according to Claim 7, wherein three teaching points defining said weaving operation are set in the vicinity of a first weld line which is to be subjected to linear interpolation, and said weaving, operation is automatically continued through the three-dimensionslly turning and parallelly shifting operation of the plane defined by said three teaching points for the second and the successive weld lines. 9. A welding robot controlling system comprising making the free end of the welding torch of the robot move following a tecahing line and performing weaving operation, detecting the welding current or the welding voltage at both ends of weaving, detecting the deflection of the center of weaving from the actual weld line on the workpiece and the difference between a set welding current or welding voltage and the actual welding current or welding voltage, controlling the basic three shafts or the basic three elements of the robot by locus correction signals produced through the operation of the dete,cted values to correct the locus of the center of weaving, and after the completion of'the4 preceding locus corre'ction and before ; ;the production of the next locus correction signal, controlling the basic three shafts or the basic three elements of the robot so that the center of weaving moves on a locus determined by three dimensionally parallelly shifting a line connecting two teaching points, which are originally taught for linear interpolation, by its locus correction vector.

Inventors: HAMASHIMA, TOYOHARU, NIO, SATORU, NOBAYASHI, SHIGEMI, SATO, SHINOBU
Applicants: MESSER GRIESHEIM GMBH, YASKAWA ELECTRIC MFG. CO., LTD.
Application year: 1982
Main classification: B23K9
IPC codes: B25J9, B23K9, G05B19