# US 2023/0390853 A1 · Automatic Welding System and Method for Large Structural Parts Based on Hybrid Robots and 3D Vision

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0390853 A1
- Document ID: US20230390853A1
- Status: Published application
- Kind: A1
- Application number: 18/041,129
- Filed: 2022-07-15
- Published: 2023-12-07
- Earliest claimed: 2022-04-08
- Assignees: Xi'an Chishine Optoelectronics Technology Co., Ltd
- Applicants: Xi'an Chishine Optoelectronics Technology Co., Ltd
- Inventors: Tao YANG; HuanHuan LI; Lei PENG; JunWei JIANG; Li MA; QingFeng LIU; NiNi ZHANG; Fang WANG
- Web page: https://patentgrep.com/patent/US20230390853A1

## CPC

- B23K 9/126: {Controlling the spatial relationship between the work and the gas torch (between wire tip and piece B23K9/073)}
- B25J 9/162: {Mobile manipulator, movable base with manipulator arm mounted on it}
- B23K 9/0026: {specially adapted for particular articles or work}
- B23K 9/0953: {using computing means}
- B23K 37/0247: {Driving means}
- B23K 37/0294: {Transport carriages or vehicles}
- B25J 5/00: Manipulators mounted on wheels or on carriages (B25J1/00 takes precedence; program-controlled manipulators B25J9/00)
- B25J 5/005: {mounted on endless tracks or belts}
- B25J 9/1692: {Calibration of manipulator}
- B25J 9/1697: {Vision controlled systems}
- B25J 19/005: {using batteries, e.g. as a back-up power source}
- G05B 2219/39022: Transform between measuring and manipulator coordinate system
- G05B 2219/39045: Camera on end effector detects reference pattern
- G05B 2219/39398: Convert hand to tool coordinates, derive transform matrix
- G05B 2219/40298: Manipulator on vehicle, wheels, mobile
- G05B 2219/40584: Camera, non-contact sensor mounted on wrist, indep from gripper
- G05B 2219/40613: Camera, laser scanner on end effector, hand eye manipulator, local
- G05B 2219/45104: Lasrobot, welding robot
- B23K: SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

Disclosed are an automatic welding system and method for large structural parts based on hybrid robots and 3D vision. The system comprises a hybrid robot system composed of a mobile robot and an MDOF robot, a 3D vision system, and a welding system used for welding. The rough positioning technique based on a mobile platform and the accurate recognition and positioning technique based on high-accuracy 3D vision are combined, so the working range of the MDOF robot in the XYZ directions is expanded, and flexible welding of large structural parts is realized. The invention adopts 3D vision, thus having better error tolerance and lower requirements for the machining accuracy of workpieces, positioning accuracy of mobile robots and placement accuracy of the workpieces; and the cost is reduced, the flexibility is improved, the working range is expanded, labor is saved, production efficiency is improved, and welding quality is improved.

## Claims

### Claim 1

An automatic welding method for large structural parts based on hybrid robots and 3D vision, being based on a welding system which comprises a hybrid robot system composed of a mobile robot (3) and an MDOF robot (2) installed above the mobile robot (3), a welding system installed at a tail end of the MDOF robot (2) and used for welding a target workpiece (1), and a 3D vision system installed at the tail end of the MDOF robot (2) or on the welding system, and used for global calibration and positioning of the hybrid robot system, the welding system and the target workpiece;
the mobile robot (3) comprising a mobile robot chassis (13); a shell (15) being fixedly disposed on the mobile robot chassis (13); a rechargeable battery pack (11) and a power supply (12) used for providing energy for the whole system, a controller (10) of the MDOF robot (2), and a welding machine (9) of the welding system being disposed in the shell (15); the rechargeable battery pack (11) being connected to an external power supply through a power port (14) on the shell (15);
the MDOF robot (2) comprising an MDOF robot body (6), and the MDOF robot body (6) and a teach pendant being in a signal connection with the controller (10) of the MDOF robot (2) in the shell (15) through cables;
the welding system comprising the welding machine (9) located in the shell (15), and a welding gun (7) connected to the welding machine (9) and disposed at the tail end of the MDOF robot body (6);
the 3D vision system comprising a 3D camera (5), the 3D camera (5) being installed at the tail end of the MDOF robot body (6) or on the welding gun (7), and being connected to an industrial personal computer (8) on the shell (15) through a cable, and the industrial personal computer (8) being connected to the controller (10) of the MDOF robot (2) through a cable;
a measurement accuracy of the 3D camera (5) being not lower than 0.5 mm, and a deep frame rate of the 3D camera (5) being greater than one frame per second;
the MDOF robot (2) having a robot arm with more than six degrees of freedom, and an arm reach of the robot arm being 0.5 m-2 m;
wherein, the welding method comprises:
(1) establishing a coordinate system of the hybrid robot system formed by the mobile robot (3) and the MDOF robot (2);
(2) calibrating a relation between the welding system and the coordinate system of the hybrid robot system and a relation between the 3D vision system and the coordinate system of the hybrid robot system;
(3) placing the target workpiece (1) in a working area, and aligning coordinates of the workpiece to a global coordinate system;
(4) planning a motion path of the mobile robot (3), and a photographing position and pose of the 3D camera (5) in the 3D vision system;
(5) generating motion control and welding programs; and
(6) performing welding by the mobile robot (3);
Step (2) comprises:
(2.1) calibrating a coordinate relation between the MDOF robot (2) and the 3D camera (5) to obtain a transformation relation between the coordinate system of the vision system of the camera and a coordinate system of the MDOF robot (2);
(2.11) first, ensuring that the 3D camera (5) is calibrated, and obtaining intrinsic parameters of the camera, wherein the intrinsic parameters comprise: focal length, position of a principal point, pixel size, resolution, and distortion parameters;
(2.12) then, calibrating the 3D camera (5) and the MDOF robot (2), defining a homogeneous transformation matrix from the tail end of the MDOF robot (2) to a base of the robot as robotTbase, and similarly, defining a transformation matrix from the 3D camera (5) to a target object as camTobj; mounting the 3D camera (5) on the MDOF robot (2), photographing a calibration plate, coordinates of which are known, and recording a position and pose of the MDOF robot (2); keeping the calibration plate still, changing the position and pose of the MDOF robot (2) multiple times to photograph the calibration plate, wherein two different times of photographing are expressed as: robot1Tbase·cam1Trobot1·objTcam1=robot2Tbase·cam2Trobot2·objTcam2;
robot1Tbase·cam1Trobot1·objTcam1=robot2Tbase·cam2Trobot2·objTcam2 (1)
because a coordinate relation between the camera and the tail end of the MDOF robot is constant, that is, cam1Trobot1=cam2Trobot2=camTrobot,
cam1Trobot1=cam2Trobot2=camTrobot (2)
(robot2T−1base·robot1Tbase)·camTrobot=camTrobot·(objTcam2·objT−1cam1) (3)
the equation is solved through multiple times of photographing to obtain a coordinate transformation relation camTrobot between the 3D camera (5) and the MDOF robot (2);
a hand-eye transformation relation camTtool of the 3D camera (5) is:
camTtool=camTrobot·robotTbase·baseTtool=camTrobot·robotTbase·toolT−1base (4)
(2.13) performing closed-loop control to obtain a transformation relation between a coordinate system of the 3D camera (5) and a tool coordinate system of a tail end of the welding gun (7), touching a known point on the calibration plate by the tail end of the welding gun to obtain a position P′(x,y,z) of the known point in the coordinate system of the MDOF robot (2), photographing the calibration plate by the 3D camera to obtain a position P″(x,y,z) of the known point in the coordinate system of the 3D camera, substituting an energy equation representing a spatial distance between P′(x,y,z) and P″(x,y,z) into formula (4) to obtain an initial value of the hand-eye transformation relation camTtool, and performing closed-loop iteration to solve an optimal hand-eye transformation matrix camTtool;
wherein, the energy equation is: P=|P′1(x,y,z)P″1(x,y,z)|+|P′2(x,y,z)P″2(x,y,z)|+ . . .
where, |P′1(x,y,z)P″1(x,y,z) represents an Euclidean distance from P′1(x,y,z) to P″1(x,y,z), and the subscript represents multiple points;
(2.2) calibrating a TCP coordinate system of the robot (2) to obtain a position transformation relation of a sharp end of the welding gun (7) in the coordinate system of the MDOF robot (2);
wherein, a TCP calibration method of the robot is a direct input method, a four-point method or a six-point method, and the four-point method specifically comprises:
(2.21) establishing a new TCP coordinate system of the MDOF robot;
(2.22) placing a fixed point in a working space of the MDOF robot (2), wherein the fixed point is generally a conical sharp point;
(2.23) controlling the pose of the MDOF robot (2) to make a TCP be overlapped with the fixed point in the working space;
(2.24) repeating Step (2.23) three times to enable TCPs to move to the same point by changing the pose of the MDOF robot (2);
(2.25) under the condition where coordinates of the four TCPs in a world coordinate system are identical, establishing an equation set, solving the equation set to realize position calibration of the tool coordinate system, such that a pose transformation relation of coordinates of the tail end of the welding gun (7) of the welding system in the coordinate system of the MDOF robot (2) is obtained; and
(2.3) calibrating the coordinate system of the MDOF robot and a coordinate system of the mobile robot are calibrated to obtain a matrix for transforming the coordinate system of the MDOF robot to a coordinate system of the mobile robot;
mounting 3D camera on the MDOF robot (2) to photograph the calibration plate, the coordinates of which are known, and recording a position and pose of the mobile robot (3); keeping the calibration plate still, changing the position of the mobile robot (3) multiple times as significantly as possible, and then adjusting the robot to photograph the calibration plate again according to the coordinate transformation relation camTrobot between the 3D camera and the tail end of the MDOF robot, wherein two different times of photographing are expressed as:
baseTBASErobot1Tbase·camTrobot·objTcam1=baseTBASErobot2Tbase·camTrobot·objTcam2
the equation is solved through multiple times of photographing to obtain a transformation relation baseTBASE between a base coordinate system of the mobile robot (3) and the basic coordinate system of the system.

### Claim 2 (depends on 1)

The welding method according to claim 1, wherein Step (1) specifically comprises:
(1.1) enabling the mobile robot (3) carrying the MDOF robot (2), the 3D vision system and the welding system to move in a basic plane around the target workpiece (1), performing rough positioning by navigation, and expanding a working range in a direction perpendicular to the basic plane by ascending or descending;
wherein, the rough positioning by navigation is performed through one or more of an electromagnetic method, a two-dimensional code method, visual SLAM, visual tracking and inertial navigation; when the electromagnetic method or the two-dimensional code method is used, corresponding navigation lines (4) are laid on a ground; when the visual tracking is used for positioning the mobile robot (3), one or more tracking targets (16) are printed on the shell (15) of the mobile robot (3), and extra cameras photograph the target to determine the position of the mobile robot; and
(1.2) establishing the coordinate system of the mobile robot (3), wherein an origin of the coordinate system is a fixed point in the basic plane, an XY plane is overlapped with the basic plane, a Z-direction is perpendicular to the basic plane, and the coordinate system is a global basic coordinate system; establishing the coordinate system of the MDOF robot (2), wherein an origin of the coordinate system is located on a base of the robot arm, and an X-direction, a Y-direction and a Z-direction are overlapped with those of the coordinate system of the mobile robot (3); establishing the coordinate system of the 3D vision system, wherein an original of the coordinate system is an optical center of a lens of the 3D camera (5), an X-direction of the coordinate system is an optical center of a projection system to which the optical center of the lens of the 3D camera points, a Y-direction is perpendicular to the X-direction and is parallel to an imaging chip of the camera, and a Z-direction is perpendicular to the XY plane and points right ahead the camera

### Claim 3 (depends on 1)

The welding method according to claim 1, wherein in Step (3), an origin of a workpiece coordinate system is set at a position where working features are obvious, and this position is an intersection of multiple planes, or an angular point, which is beneficial to alignment; an X-direction, a Y-direction and a Z-direction of the workpiece coordinate system are consistent with main structural feature directions; that is, the target workpiece (1) is placed in a working area of the basic plane, then a support structure is adjusted to enable the X-direction, Y-direction and Z-direction of the workpiece coordinate system to be basically overlapped with the X-direction, Y-direction and Z-direction of the basic coordinate system, which means that an angle error therebetween is within 2°; then, the origin of the workpiece coordinate system is photographed by the 3D camera (5) to extract origin features the workpiece coordinate system, then coordinates of the origin of the workpiece coordinate system are transformed to the basic coordinate system to obtain a transformation relation between the workpiece coordinate system and the basic coordinate system, and then, the position of the workpiece in the basic coordinate system is obtained.

### Claim 4 (depends on 1)

The welding method according to claim 1, wherein Step (3) specifically comprises:
(3.1) controlling the mobile robot (3) to move close to a target point, and controlling the MDOF robot (2) to ensure that the 3D camera (5) can photograph the target point;
(3.2) photographing a point cloud, and uploaded the point cloud to the industrial personal computer (8) to be processed;
(3.3) performing data processing according to the originally selected origin of coordinates of the workpiece, performing plane fitting on the three-dimensional point cloud to find three planes, and solving an intersection O(x, y, z) of the three planes, wherein O(x, y, z) is coordinates in the coordinate system of the camera; and
(3.4) transforming O(x, y, z) to the basic coordinate system: Obase(x,y,z)=camTrobot□′ . . . □( );
wherein, because the workpiece coordinate system can only be subjected to translation transformation with respect to the basic coordinate system, transformation values of the coordinates of the workpiece to the basic coordinate system in three directions are (−XT, −YT, −ZT).

### Claim 5 (depends on 1)

The welding method according to claim 1, wherein in Step (4), the motion path of the robot, and the photographing position and pose of the camera are planned; one photographing position and pose of the camera corresponds to one or more welding features, or multiple photographing positions and poses correspond to one welding feature, and the welding feature is a target welding position, which is a point, a line or a curve; the photographing position and pose of the camera is a position and pose where the camera can easily photograph a target feature; when the camera is at this position and pose, the camera is located within an effective working range, the target feature is within a field range of the camera, and a principal normal direction of an area where the target feature is located is parallel to a Z-direction of the camera to the maximum extent to realize an optimal photographing effect; and the motion path of the robot is a shortest safety path for the robot to move to a target position, and at the target position, the arm reach and degree of freedom of the robot should allow the camera to reach a target photographing position and pose;
the motion path of the robot, and the photographing position and pose of the camera are planned by means of off-line programming software through a parameterization method and is implemented through a teaching method.

### Claim 6 (depends on 1)

The welding method according to claim 1, wherein in step (5), the motion control and welding programs comprise: a motion control program of the mobile robot (3), and a control program and welding program of the MDOF robot (2);
the control program of the MDOF robot (2) comprises a motion control program of the robot arm, a communication program between the MDOF robot (2) and the camera, and a communication program between the MDOF robot (2), the welding system and the mobile robot;
the programs comprise: template programs manually written off-line, programs generated by off-line programming software using digital-analog drive, and a teach program generated by the teach pendant; the robot programs meet grammatical rules and data formats of robots of corresponding brands, and are able to run directly on the robots of the corresponding brands; if the programs are the template programs manually written off-line or the programs generated by off-line programming software using digital-analog drive, the robot programs are issued to controllers of the robots before running, which is realized through wired or wireless transmission or through copying by means of a memory device.

### Claim 7 (depends on 1)

The welding method according to claim 1, wherein Step (6) comprises:
(6.1) first, controlling the MDOF robot (2) and the mobile robot (3) to return to the origin of coordinates;
(6.2) next, controlling the mobile robot (3) to reach a first target position P1;
(6.3) then, at P1, controlling the MDOF robot (2) to reach a first photographing position, then performing photographing, and sending data to the industrial personal computer (8) to be processed; if there is another photographing position at P1, controlling the MDOF robot (2) to continue to move to the next photographing position, then performing photographing, and uploading data to the industrial personal computer (8); repeating this step until all photographing tasks at P1 are completed;
(6.4) fusing all point cloud information at P1 by the industrial personal computer (8), and recognizing key information of welding features, wherein the key information of the welding features is key point information of the welding features which are recognized through a geometric algorithm or a neural network method, with 3D point clouds as inputs; the key point information comprises an initial point, end point and direction of a segment, spline curve parameters, arc parameters, and coordinates of multiple discrete points;
(6.5) calculating a track of the welding gun according to the key point information, wherein the track of the welding gun comprises position and pose information of the welding gun;
(6.6) sending the track of the welding gun (7) to the controller (10) of the MDOF robot (2), guiding, by the controller (10), the mobile robot (3) to move after the controller (10) of the MDOF robot (2) receives the track of the welding gun (7), and calling the corresponding welding program to perform welding; and
(6.7) controlling the mobile robot (3) to move to a position P2 for another cycle, and repeating Steps (6.3)-(6.6) until welding is completed or stopped.
