Sensor-Enabled Multi-Robot System for Automated Welding and In-Process Ultrasonic NDE

The growth of the automated welding sector and emerging technological requirements of Industry 4.0 have driven demand and research into intelligent sensor-enabled robotic systems. The higher production rates of automated welding have increased the need for fast, robotically deployed Non-Destructive Evaluation (NDE), replacing current time-consuming manually deployed inspection. This paper presents the development and deployment of a novel multi-robot system for automated welding and in-process NDE. Full external positional control is achieved in real time allowing for on-the-fly motion correction, based on multi-sensory input. The inspection capabilities of the system are demonstrated at three different stages of the manufacturing process: after all welding passes are complete; between individual welding passes; and during live-arc welding deposition. The specific advantages and challenges of each approach are outlined, and the defect detection capability is demonstrated through inspection of artificially induced defects. The developed system offers an early defect detection opportunity compared to current inspection methods, drastically reducing the delay between defect formation and discovery. This approach would enable in-process weld repair, leading to higher production efficiency, reduced rework rates and lower production costs.


Introduction
The automated welding industry has been valued at USD 5.5 billion in 2018 and is expected to double by 2026, reaching USD 10.8 billion [1] with industrial articulated robots predicted to replace current traditional column and boom systems and manual operations. This growth has been driven by key high-value manufacturing sectors including automotive, marine, nuclear, petrochemical and defence. Paired with the technological demands of Industry 4.0 [2], the need for the development of intelligent and flexible sensor-enabled robotic welding systems has become paramount.
The wide adoption of automated manufacturing systems has subsequently raised the demand for automatically deployed and adaptive Non-Destructive Evaluation (NDE) in order to keep up with the faster production lines, when compared to manual manufacturing processes [3]. Developments in automated NDE are driven by industrial demand for fast and reliable quality control in high-value and high-throughput applications. In general, automatic systems provide greater positional accuracy, repeatability and inspection rates when compared to human operators, therefore, resulting in faster inspection speeds and reduced manufacturing costs. The ever-improving capabilities of such systems, on the other hand, lead to an overall increase in asset integrity and lifecycle, resulting in further long-term savings. Safety is another key advantage of automated NDE systems, as they addressing the production and cost inefficiencies by allowing for defects to be qualified and potentially repaired in-process.
Current state-of-the-art robotic NDE systems and automated welding systems rely on robot controllers for calculating the kinematics and executing the motion, which are usually programmed by users manually jogging the robot to individual positions through a teaching pendant. Furthermore, emerging sensors, such as optical laser profiles and cameras can be utilised and deployed to provide real-time path correction. However, the deployment of application-specific sensors is highly dependent on the commercially available software provided by industrial robot manufacturers and the supported communication protocols. Therefore, it would be particularly beneficial to bypass the internal motion planning of a robotic controller and to apply external real-time positional control, based on additional sensor inputs, effectively shifting the path planning and sensor integration to another controller. In particular, the Robot Sensor Interface (RSI) [22] communication protocol could be leveraged in order to provide such an external positional control capability.
RSI was developed by industrial robot manufacturer KUKA for influencing a preprogrammed motion path through sensor input in order to achieve an adaptive robotic behaviour. The protocol is based on an interpolation cycle, which executes in real-time intervals of 4 ms for KRC (KUKA Robot Controller) 4 controller-based robots, and 12 ms for legacy KRC 2-based robots. During this, an XML string with a special format is transmitted over a UDP (User Datagram Protocol) link between the robotic controller and an external sensor or system. In [3], RSI was used in conjunction with a force-torque sensor to maintain constant contact force between a composite wing component and an ultrasonic roller probe, effectively accounting for any discrepancies between the CAD model of the part and the as-built geometry. This method, however, required that the motion path is pre-set within a robotic program, making use of the built-in KUKA trajectory planning algorithm. In [23], a custom trajectory planning algorithm was developed and embedded on a KRC 4 controller through a real-time RSI configuration diagram. This gave the capability to dynamically set and update the target position over Ethernet and the layer of abstraction based on a C++ Dynamic Link Library (DLL), made it possible to utilise the toolbox in various programming environments, e.g., MATLAB, Python and LabVIEW. Although providing a fast response time, the toolbox did not have a provision for real-time motion correction based on sensory input and was fully reliant on the KRC for execution. This paper presents the development of a sensor-enabled multi-robot system for automated welding and in-process ultrasonic NDE. Table 1 shows a comparison between this work and state-of-the-art commercial robotic NDE systems, i.e., Genesis Systems NSpect [24], TWI IntACom [25], Tecnatom RABIT [26], FRS Robotics URQC [27] and Spirit AeroSystems VIEWS [3]. A novel sensor-driven adaptive motion algorithm for the control of industrial robots has been developed. Full external positional control was achieved in real time allowing for on-the-fly motion correction, based on multi-sensory input. A novel multi-robot welding and NDE system was developed, allowing for the flexible manufacture of welded components and the research into, and deployment of, NDE techniques at the point of manufacture. Thus, the automatic high-temperature PAUT inspection of multi-pass welded samples at three distinct points of the welding manufacture has been made possible, for the first time: inspection of the hot as-welded components; interpass inspection, between welding pass deposition; and live-arc inspection, in parallel with the weld deposition. Through the insertion of artificially induced defects, it has been demonstrated that in-process ultrasonic inspection is capable of early defect detection, drastically reducing the delay between defect formation and discovery. Furthermore, the developed system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into in-process weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs. ystem ed welding and NDE system depicted in Figure 1 is based around a Nas cRIO 9038 [28] real-time embedded controller. The cRIO features a reald a Field-Programmable Gate Array (FPGA) on board, which enables rallel computations. Eight expansion slots for additional Input/Output irect sensor connectivity in addition to the Ethernet, USB and other inon the cRIO. The expansion modules used were the NI 9476 Digital Outlogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an ouple module.

RABIT URQC VIEWS This Work
Where denotes yes and denotes no.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Naal Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a reale processor and a Field-Programmable Gate Array (FPGA) on board, which enables , real-time parallel computations. Eight expansion slots for additional Input/Output ules enable direct sensor connectivity in addition to the Ethernet, USB and other inaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Out-, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an 214 Thermocouple module.

NSpect
IntACom Where denotes yes and denotes no.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28]

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.

Adaptive motion
The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.
The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. on between state-of-the-art commercial robotic NDE systems and this work.

RABIT URQC VIEWS This Work
Where denotes yes and denotes no.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Naal Instruments cRIO 9038 [28]

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.
FMC capture gorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. e an increased component quality, process efficiency, and reduced reime inconsistencies and overall costs. te-of-the-art commercial robotic NDE systems and this work.

RABIT
URQC VIEWS This Work denotes yes and denotes no.
ystem ed welding and NDE system depicted in Figure 1 is based around a Nas cRIO 9038 [28] real-time embedded controller. The cRIO features a reald a Field-Programmable Gate Array (FPGA) on board, which enables rallel computations. Eight expansion slots for additional Input/Output irect sensor connectivity in addition to the Ethernet, USB and other inon the cRIO. The expansion modules used were the NI 9476 Digital Outlogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an ouple module. gorithms, producing results which cannot be achieved using conventional ultrasonic The work presented herein has directly supported and enabled further research into in process weld inspection, across sectors, with the aim of producing right-first-time weld As a result, it is envisaged that future High Value Manufacturing (HVM) of welded com ponents will have an increased component quality, process efficiency, and reduced re work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Na tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a rea time processor and a Field-Programmable Gate Array (FPGA) on board, which enable fast, real-time parallel computations. Eight expansion slots for additional Input/Outpu modules enable direct sensor connectivity in addition to the Ethernet, USB and other in terfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Ou put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and a NI 9214 Thermocouple module. gorithms, producing results which cannot be achieved using convention The work presented herein has directly supported and enabled further re process weld inspection, across sectors, with the aim of producing right-fi As a result, it is envisaged that future High Value Manufacturing (HVM) o ponents will have an increased component quality, process efficiency, an work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is base tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO time processor and a Field-Programmable Gate Array (FPGA) on board, fast, real-time parallel computations. Eight expansion slots for additiona modules enable direct sensor connectivity in addition to the Ethernet, US terfaces, featured on the cRIO. The expansion modules used were the NI 94 put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Moto NI 9214 Thermocouple module. ponents will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. ponents will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.
Real-time trajectory control sonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. sonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. sonic methods. Conventional PAUT and FMC are made possible through a high-spee ultrasonic phased array controller, allowing for the use of advanced image processing a gorithms, producing results which cannot be achieved using conventional ultrasonic The work presented herein has directly supported and enabled further research into in process weld inspection, across sectors, with the aim of producing right-first-time weld As a result, it is envisaged that future High Value Manufacturing (HVM) of welded com ponents will have an increased component quality, process efficiency, and reduced re work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Na tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a rea time processor and a Field-Programmable Gate Array (FPGA) on board, which enable fast, real-time parallel computations. Eight expansion slots for additional Input/Outpu modules enable direct sensor connectivity in addition to the Ethernet, USB and other in terfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Ou put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and a NI 9214 Thermocouple module. sonic methods. Conventional PAUT and FMC are made possible throug ultrasonic phased array controller, allowing for the use of advanced image gorithms, producing results which cannot be achieved using convention The work presented herein has directly supported and enabled further re process weld inspection, across sectors, with the aim of producing right-fi As a result, it is envisaged that future High Value Manufacturing (HVM) o ponents will have an increased component quality, process efficiency, an work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is base tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO time processor and a Field-Programmable Gate Array (FPGA) on board, fast, real-time parallel computations. Eight expansion slots for additiona modules enable direct sensor connectivity in addition to the Ethernet, US terfaces, featured on the cRIO. The expansion modules used were the NI 94 put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Moto NI 9214 Thermocouple module. sonic methods. Conventional PAUT and FMC are made po ultrasonic phased array controller, allowing for the use of ad gorithms, producing results which cannot be achieved usi The work presented herein has directly supported and enab process weld inspection, across sectors, with the aim of prod As a result, it is envisaged that future High Value Manufactu ponents will have an increased component quality, process work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Fi tional Instruments cRIO 9038 [28] real-time embedded contro time processor and a Field-Programmable Gate Array (FPG fast, real-time parallel computations. Eight expansion slots modules enable direct sensor connectivity in addition to the terfaces, featured on the cRIO. The expansion modules used w put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI NI 9214 Thermocouple module. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.
Sensor integration independent from robot controller system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through live-arc ultra sonic methods. Conventional PAUT and FMC are made possible through a high-spee ultrasonic phased array controller, allowing for the use of advanced image processing a gorithms, producing results which cannot be achieved using conventional ultrasonic The work presented herein has directly supported and enabled further research into in process weld inspection, across sectors, with the aim of producing right-first-time weld As a result, it is envisaged that future High Value Manufacturing (HVM) of welded com ponents will have an increased component quality, process efficiency, and reduced re work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Na tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a rea time processor and a Field-Programmable Gate Array (FPGA) on board, which enable fast, real-time parallel computations. Eight expansion slots for additional Input/Outpu modules enable direct sensor connectivity in addition to the Ethernet, USB and other in terfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Ou put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and a NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through sonic methods. Conventional PAUT and FMC are made possible throug ultrasonic phased array controller, allowing for the use of advanced image gorithms, producing results which cannot be achieved using convention The work presented herein has directly supported and enabled further re process weld inspection, across sectors, with the aim of producing right-fi As a result, it is envisaged that future High Value Manufacturing (HVM) o ponents will have an increased component quality, process efficiency, an work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is base tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO time processor and a Field-Programmable Gate Array (FPGA) on board, fast, real-time parallel computations. Eight expansion slots for additiona modules enable direct sensor connectivity in addition to the Ethernet, US terfaces, featured on the cRIO. The expansion modules used were the NI 94 put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Moto NI 9214 Thermocouple module. system has enabled the real-time control of the welding pr sonic methods. Conventional PAUT and FMC are made po ultrasonic phased array controller, allowing for the use of ad gorithms, producing results which cannot be achieved usi The work presented herein has directly supported and enab process weld inspection, across sectors, with the aim of prod As a result, it is envisaged that future High Value Manufactu ponents will have an increased component quality, process work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Fi tional Instruments cRIO 9038 [28] real-time embedded contro time processor and a Field-Programmable Gate Array (FPG fast, real-time parallel computations. Eight expansion slots modules enable direct sensor connectivity in addition to the terfaces, featured on the cRIO. The expansion modules used w put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI NI 9214 Thermocouple module. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.
NDE integrated with manufacture system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through live-arc ultra sonic methods. Conventional PAUT and FMC are made possible through a high-spee ultrasonic phased array controller, allowing for the use of advanced image processing a gorithms, producing results which cannot be achieved using conventional ultrasonic The work presented herein has directly supported and enabled further research into in process weld inspection, across sectors, with the aim of producing right-first-time weld As a result, it is envisaged that future High Value Manufacturing (HVM) of welded com ponents will have an increased component quality, process efficiency, and reduced re work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Na tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a rea time processor and a Field-Programmable Gate Array (FPGA) on board, which enable fast, real-time parallel computations. Eight expansion slots for additional Input/Outpu modules enable direct sensor connectivity in addition to the Ethernet, USB and other in terfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Ou put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and a NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through sonic methods. Conventional PAUT and FMC are made possible throug ultrasonic phased array controller, allowing for the use of advanced image gorithms, producing results which cannot be achieved using convention The work presented herein has directly supported and enabled further re process weld inspection, across sectors, with the aim of producing right-fi As a result, it is envisaged that future High Value Manufacturing (HVM) o ponents will have an increased component quality, process efficiency, an work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is base tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO time processor and a Field-Programmable Gate Array (FPGA) on board, fast, real-time parallel computations. Eight expansion slots for additiona modules enable direct sensor connectivity in addition to the Ethernet, US terfaces, featured on the cRIO. The expansion modules used were the NI 94 put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Moto NI 9214 Thermocouple module. system has enabled the real-time control of the welding pr sonic methods. Conventional PAUT and FMC are made po ultrasonic phased array controller, allowing for the use of ad gorithms, producing results which cannot be achieved usi The work presented herein has directly supported and enab process weld inspection, across sectors, with the aim of prod As a result, it is envisaged that future High Value Manufactu ponents will have an increased component quality, process work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Fi tional Instruments cRIO 9038 [28] real-time embedded contro time processor and a Field-Programmable Gate Array (FPG fast, real-time parallel computations. Eight expansion slots modules enable direct sensor connectivity in addition to the terfaces, featured on the cRIO. The expansion modules used w put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI NI 9214 Thermocouple module. ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.

High temperature inspection
21, x FOR PEER REVIEW 4 of 17 system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module.
Sensors 2021, 21, x FOR PEER REVIEW 4 of 1 system has enabled the real-time control of the welding process through live-arc ultra sonic methods. Conventional PAUT and FMC are made possible through a high-spee ultrasonic phased array controller, allowing for the use of advanced image processing a gorithms, producing results which cannot be achieved using conventional ultrasonic The work presented herein has directly supported and enabled further research into in process weld inspection, across sectors, with the aim of producing right-first-time weld As a result, it is envisaged that future High Value Manufacturing (HVM) of welded com ponents will have an increased component quality, process efficiency, and reduced re work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a Na tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a rea time processor and a Field-Programmable Gate Array (FPGA) on board, which enable fast, real-time parallel computations. Eight expansion slots for additional Input/Outpu modules enable direct sensor connectivity in addition to the Ethernet, USB and other in terfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Ou put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and a NI 9214 Thermocouple module.
Sensors 2021, 21, x FOR PEER REVIEW system has enabled the real-time control of the welding process through sonic methods. Conventional PAUT and FMC are made possible throug ultrasonic phased array controller, allowing for the use of advanced image gorithms, producing results which cannot be achieved using convention The work presented herein has directly supported and enabled further re process weld inspection, across sectors, with the aim of producing right-fi As a result, it is envisaged that future High Value Manufacturing (HVM) o ponents will have an increased component quality, process efficiency, an work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is base tional Instruments cRIO 9038 [28] real-time embedded controller. The cRIO time processor and a Field-Programmable Gate Array (FPGA) on board, fast, real-time parallel computations. Eight expansion slots for additiona modules enable direct sensor connectivity in addition to the Ethernet, US terfaces, featured on the cRIO. The expansion modules used were the NI 94 put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Moto NI 9214 Thermocouple module.
Sensors 2021, 21, x FOR PEER REVIEW system has enabled the real-time control of the welding pr sonic methods. Conventional PAUT and FMC are made po ultrasonic phased array controller, allowing for the use of ad gorithms, producing results which cannot be achieved usi The work presented herein has directly supported and enab process weld inspection, across sectors, with the aim of prod As a result, it is envisaged that future High Value Manufactu ponents will have an increased component quality, process work rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Fi tional Instruments cRIO 9038 [28] real-time embedded contro time processor and a Field-Programmable Gate Array (FPG fast, real-time parallel computations. Eight expansion slots modules enable direct sensor connectivity in addition to the terfaces, featured on the cRIO. The expansion modules used w put, NI 9263 Analogue Output, NI 9205 Analogue Input, NI NI 9214 Thermocouple module. sonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28]  system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28]  system has enabled the real-time control of the welding process through live-arc ultrasonic methods. Conventional PAUT and FMC are made possible through a high-speed ultrasonic phased array controller, allowing for the use of advanced image processing algorithms, producing results which cannot be achieved using conventional ultrasonics. The work presented herein has directly supported and enabled further research into inprocess weld inspection, across sectors, with the aim of producing right-first-time welds. As a result, it is envisaged that future High Value Manufacturing (HVM) of welded components will have an increased component quality, process efficiency, and reduced rework rates, lead-time inconsistencies and overall costs.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a realtime processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. denotes no.

Hardware
The automated welding and NDE system depicted in Figure 1 is based around a National Instruments cRIO 9038 [28] real-time embedded controller. The cRIO features a real-time processor and a Field-Programmable Gate Array (FPGA) on board, which enables fast, real-time parallel computations. Eight expansion slots for additional Input/Output modules enable direct sensor connectivity in addition to the Ethernet, USB and other interfaces, featured on the cRIO. The expansion modules used were the NI 9476 Digital Output, NI 9263 Analogue Output, NI 9205 Analogue Input, NI 9505 DC Motor Drive and an NI 9214 Thermocouple module. Automation was implemented through two 6 DoF industrial manipulators, controlled in real time through RSI over an Ethernet connection. A KUKA KR5 Arc HW with a KRC 2 controller was employed as the Welding Robot (WR), while a KUKA AGILUS KR3 with a KRC 4 controller was employed as the Inspection Robot (IR). The welding hardware comprised of a JÄCKLE/TPS ProTIG 350A AC/DC [29] welding power source Automation was implemented through two 6 DoF industrial manipulators, controlled in real time through RSI over an Ethernet connection. A KUKA KR5 Arc HW with a KRC 2 controller was employed as the Welding Robot (WR), while a KUKA AGILUS KR3 with a KRC 4 controller was employed as the Inspection Robot (IR). The welding hardware comprised of a JÄCKLE/TPS ProTIG 350A AC/DC [29] welding power source and a TBi Industries water-cooled welding torch, mounted on the welding robot end effector. The welding arc was triggered through a 24 V digital signal connected to the power source, while the arc current was set through a 10 V differential analogue line. The power source featured process feedback in the form of measured arc current and arc voltage, also transmitted through differential analogue lines. A JÄCKLE/TPS 4-roll wire feeder, with an optical encoder was powered and controlled via the NI 9505. Its rotational speed was measured and controlled using Pulse Width Modulation (PWM) and was related appropriately to the desired control metric of linear wire feed rate. A Micro-Epsilon scanCONTROL 9030 [30] laser profiler was utilised for weld seam tracking and measurement, while an XIRIS XVC 1100 [31] high dynamic range weld monitoring camera provided visual feedback of the process.
The workpiece temperature was measured through permanently attached thermocouples, which were used to maintain the workpiece within a desired interpass temperature range. The thermocouples were also utilised for monitoring the temperature gradient across the workpiece, which is a crucial requirement for temperature compensation of the ultrasonic images. A high-temperature PAUT roller probe was attached to the flange of the IR driven by a PEAK LTPA [32] low-noise ultrasonic phased array controller. The bandwidth and storage of the cRIO were only sufficient for inspection with conventional UT probes, therefore, the LTPA had to be directly connected to the host PC when using phased array probes. The bandwidth challenge could be addressed by substituting the cRIO with a high-performance NI PXI real-time controller. Finally, the Graphic User Interface (GUI) was deployed on the host PC, facilitating the user input, process monitoring and control. The high-level system architecture is shown in Figure 2, where the hardware components are represented by blue blocks, the software tasks are represented by green blocks and the communication links are shown as arrows. Sensor-enabled multi-robot welding and in-process NDE system architecture. Overall process control was implemented on the NI cRIO, while the GUI and PAUT acquisition and storage were executed on a host PC.

Software
All software was developed in the cRIO native LabVIEW environment which enabled rapid prototyping, due to the wide range of supported communication protocols and software libraries. The software architecture was built using the JKI state machine [33] and

Software
All software was developed in the cRIO native LabVIEW environment which enabled rapid prototyping, due to the wide range of supported communication protocols and software libraries. The software architecture was built using the JKI state machine [33] and parallel real-time Timed Loops, ensuring program flexibility while also providing reliable and fast response times. Three parallel state machines were responsible for executing the program sequence, controlling the Welding Robot (WR) and controlling the Inspection Robot (IR), respectively.

Real-Time Robotic Control
The real-time robotic control strategy employed full external positional control of the robots. This was achieved through a correction-based RSI motion, meaning that the robot controller did not hold any pre-programmed path, and the robot end-effector position was updated on-the-fly through positional corrections. At every iteration of the interpolation cycle, the current position and timestamp of the internal clock are sent by the robot controller as an XML string. An XML string response is returned by the cRIO, mirroring the timestamp to keep the connection alive, and providing positional corrections in each axis, which determine where the end-effector will move to over the next interpolation cycle. There are two types of positional corrections-absolute, where the new position is given with respect of the robot base, and relative, where the new position is given with respect to the current position. For example, an absolute correction of 1 mm in the X-axis will move the end-effector to the absolute coordinate X = 1 mm, while the same relative correction will move the robotic end-effector by 1 mm in the positive X-axis direction irrespective of its current position. Relative corrections were chosen for this body of work as the smaller magnitude of corrections sent to the robot controller made them safer for use during the development and testing stage.
Welding and inspection robot paths are inputted by the user as individual points in a table through the GUI, where each row corresponds to a point in the path, while the columns hold the cartesian coordinates for each axis. Additional columns in the welding path table provide control over the process while approaching the target, i.e., an "Arc On" Boolean determines if the WR should be welding, and a "Log On" Boolean enables the data logging. More sophisticated data can also be included as additional columns, for example, to choose the welding parameters through a lookup table containing the settings for root, hot, filling and cap passes, therefore allowing the user to enter the parameters from a relevant Welding Procedure Specification (WPS) document alongside the robotic path. When considering simpler geometries such as a plate or pipe butt-weld, the robotic paths can be manually entered as individual point coordinates; for example, a straight-line weld would only require two points-the start and the end of the weld. For more complex geometries this can be generated by Computer Aided Manufacture (CAM) or robotic path planning software and imported into the software [34][35][36].

Trajectory Planning
An on-the-fly calculated trajectory planning algorithm running at the RSI interpolation cycle rate was implemented as demonstrated in Figure 3. A relative positional correction is sent to the KRC at each iteration of the interpolation cycle, consisting of a linear motion component d L and an adaptive motion component d A . The Linear Motion Controller (LMC) is responsible for executing a straight-line trajectory between the current end-effector position P C and a target position P T '. It is based on a linear acceleration-cruise-deceleration curve with the setpoint cruise speed V entered by the user. The Adaptive Motion Controller (AMC) generates an instantaneous adaptive correction d A in response to the sensory input and process requirements. The absolute adaptive correction D A , which is the cumulative total correction that has been applied by the AMC, is summed to the current target position P T taken from the robot path table to form P T '. ler (LMC) is responsible for executing a straight-line trajectory between the current endeffector position PC and a target position PT'. It is based on a linear acceleration-cruisedeceleration curve with the setpoint cruise speed V entered by the user. The Adaptive Motion Controller (AMC) generates an instantaneous adaptive correction dA in response to the sensory input and process requirements. The absolute adaptive correction DA, which is the cumulative total correction that has been applied by the AMC, is summed to the current target position PT taken from the robot path table to form PT'.  Figure 4a shows the operation of the LMC with an example linear trajectory along the X-axis between a starting point PS and a termination point PT. The linear motion velocity vector VL at an arbitrary point P0 along the path is always directed towards the target point PT and is therefore parallel and coinciding with the PSPT vector. Furthermore, as the PSPT vector is aligned with the X-axis in Figure 4, the VL vector only consists of an X-axis component. In Figure 4b, an example AMC output dA, consisting of a sinusoidal oscillation in the Y-axis, is summed with dL before sending the positional correction to the KRC, resulting in a weaving motion between PS and PT. However, as the linear motion vector VL is always directed towards the target PT, a Y-axis component is introduced at all points that do not lie on the PSPT vector, which results in a distorted trajectory. The effects of this distortion become stronger and more evident closer to PT as illustrated by VL0 and VL1 in Figure 4b. In order to avoid the distortion in the LMC trajectory caused by the instantaneous correction dA, the absolute adaptive correction DA is summed with PT to give  Figure 4a shows the operation of the LMC with an example linear trajectory along the X-axis between a starting point P S and a termination point P T . The linear motion velocity vector V L at an arbitrary point P 0 along the path is always directed towards the target point P T and is therefore parallel and coinciding with the P S P T vector. Furthermore, as the P S P T vector is aligned with the X-axis in Figure 4, the V L vector only consists of an X-axis component. In Figure 4b, an example AMC output d A , consisting of a sinusoidal oscillation in the Y-axis, is summed with d L before sending the positional correction to the KRC, resulting in a weaving motion between P S and P T . However, as the linear motion vector V L is always directed towards the target P T , a Y-axis component is introduced at all points that do not lie on the P S P T vector, which results in a distorted trajectory. The effects of this distortion become stronger and more evident closer to P T as illustrated by V L0 and V L1 in Figure 4b. In order to avoid the distortion in the LMC trajectory caused by the instantaneous correction d A , the absolute adaptive correction D A is summed with P T to give P T '. This offsetting of the target point ensures that the LMC-generated trajectory remains linear as shown in Figure 4c. As a result, a trade-off between target point accuracy and adaptive correction is inherently introduced in the system.  The demonstrated weaving motion is useful in various scenarios; for example, in welding, when mimicking the motion of manual welding techniques. Such a weaving motion is generally not achievable through a robotic teach pendant and requires path planning software. The software would normally create the path through a number of funda- The demonstrated weaving motion is useful in various scenarios; for example, in welding, when mimicking the motion of manual welding techniques. Such a weaving motion is generally not achievable through a robotic teach pendant and requires path planning software. The software would normally create the path through a number of fundamental linear and circular motions, which would require a full trajectory recalculation if any of the parameters such as the travel speed, amplitude or frequency of weaving need to be modified. In contrast, as the weaving motion is calculated in real time, its parameters and driving function can be readily changed and updated on-the-fly. This approach can be applied to multiple axes at the same time and can be implemented with multiple sensors. For example, most modern automated welding power supplies offer the ability to monitor the arc current and arc voltage in real time, which can be utilised for process control. The measured arc voltage in the Gas Tungsten Arc Welding (GTAW) process is directly correlated to the distance between the welding torch and the workpiece, and as such is suitable for adaptive motion. When welding a workpiece that is assumed to be flat, but has surface height variations, the offset between the welding torch and the sample surface would vary along the weld as shown in Figure 5a, resulting in an inconsistent arc voltage and, therefore, inconsistent weld properties. The measured arc voltage was used as the control variable of a Proportional-Integral-Derivative (PID) control loop, the output of which was an instantaneous adaptive correction applied in the Z-axis. This allowed for Automatic Voltage Control (AVC), subsequently maintaining that the welding torch to workpiece distance is constant as illustrated in Figure 5b. The demonstrated approach can be applied for a variety of scenarios with equipment such as laser profilers, force-torque sensors and machine vision cameras among others.

Welding Sequence
All relevant process parameters and ultrasonic measurements were timestamped, positionally encoded by the robot position and logged in a binary format for subsequent analysis. Before any welding, the WR performed a calibration using the laser profiler in order to measure and locate the weld groove. This was performed only once, as the workpieces were fixed to the table using 6-point clamping and their location was not expected

Welding Sequence
All relevant process parameters and ultrasonic measurements were timestamped, positionally encoded by the robot position and logged in a binary format for subsequent analysis. Before any welding, the WR performed a calibration using the laser profiler in order to measure and locate the weld groove. This was performed only once, as the workpieces were fixed to the table using 6-point clamping and their location was not expected to shift with respect to the WR. In applications where an initial scan of the weld groove is not practical, or where the weld groove is expected to shift, the welding system has the capability to utilise the laser profiler output for real-time seam tracking, through the AMC. All multipass welding and inspection trials were performed on 15 mm thick S275 structural steel plates, bevelled to form a 90 • V-groove. The plates were butt-welded by the WR over a total of 21 passes deposited over 7 layers, as shown in Figure 6.

Ultrasonic Inspection
The system was developed with the aim to perform ultrasonic inspections at three distinct points of the welding process: post-process, when all welding is completed; interpass in-process, between distinct welding passes; and live-arc in-process, in parallel with the weld deposition. Despite the distinct advantages and disadvantages of each approach, they would all fundamentally lead to early defect detection.

Post-Process UT
The accuracy and positional repeatability of robots can be leveraged for post-process NDE by performing continuous repeated inspections of the as-built component. This allows for the development of any defects such as cold cracking to be monitored by comparing successive ultrasonic images. Due to the elevated sample temperature introduced by the welding process and any post-heat treatment, a high-temperature capable ultrasonic probe assembly was necessary. An Olympus 5L64-32 × 10-A32-P-2.5-HY array (5 MHz, 64 element, 0.5 mm element pitch, 10 mm element elevation) was used in conjunction with an SA32C-ULT-N55S-IHC angled wedge (suited for shear wave inspection in steel centred around 55°). The wedge is manufactured out of the material ULTEM and so is capable of short-term contact temperatures of up to 150 °C. High-temperature ultrasonic couplant was used between the transducer and wedge. Before touching down on each inspection position, the ultrasonic wedge was dipped in a custom-designed tray containing the same high-temperature ultrasonic couplant to ensure good acoustic propagation between probe and sample. Figure 7 shows the detection and growth monitoring of a hydrogen crack that was artificially induced in the Heat Affected Zone (HAZ), adjacent to

Ultrasonic Inspection
The system was developed with the aim to perform ultrasonic inspections at three distinct points of the welding process: post-process, when all welding is completed; interpass in-process, between distinct welding passes; and live-arc in-process, in parallel with the weld deposition. Despite the distinct advantages and disadvantages of each approach, they would all fundamentally lead to early defect detection.

Post-Process UT
The accuracy and positional repeatability of robots can be leveraged for post-process NDE by performing continuous repeated inspections of the as-built component. This allows for the development of any defects such as cold cracking to be monitored by comparing successive ultrasonic images. Due to the elevated sample temperature introduced by the welding process and any post-heat treatment, a high-temperature capable ultrasonic probe assembly was necessary. An Olympus 5L64-32 × 10-A32-P-2.5-HY array (5 MHz, 64 element, 0.5 mm element pitch, 10 mm element elevation) was used in conjunction with an SA32C-ULT-N55S-IHC angled wedge (suited for shear wave inspection in steel centred around 55 • ). The wedge is manufactured out of the material ULTEM and so is capable of short-term contact temperatures of up to 150 • C. High-temperature ultrasonic couplant was used between the transducer and wedge. Before touching down on each inspection position, the ultrasonic wedge was dipped in a custom-designed tray containing the same high-temperature ultrasonic couplant to ensure good acoustic propagation between probe and sample. Figure 7 shows the detection and growth monitoring of a hydrogen crack that was artificially induced in the Heat Affected Zone (HAZ), adjacent to the weld toe, through localised water quenching [37]. The elevated temperature of the sample after it is manufactured must be taken into account when performing NDE as the speed of sound in the material varies with temperature. As the sample cools down, this causes imaging anomalies in both amplitude and position. In [38], a Tungsten rod was introduced in the weld to form a static reflector of known size and location [39]. The weld was repeatedly inspected at regular time intervals for a period of 22 h, and the position and amplitude of the inserted reflector were extracted to form a thermal compensation curve. The sample temperature at the inspection location decreased from 164 °C at 2 min after welding to 28 °C at 75 min after welding. As a result, the reflected amplitude increased significantly from 25% to 62% of full screen height, and the defect indication's position shifted by 3 mm on the reconstructed sector scan image. These data were utilised to correct the position and amplitude of an artificially induced crack. The crack initiation was successfully detected 22 min after the weld completion, and it was observed to be growing over a total of 90 min.

Interpass In-Process UT
Interpass ultrasonic NDE allows for the detection of weld flaws through inspection between individual welding passes or layers and provides an opportunity for in-process repair, as only a small amount of material would need to be removed in order to excavate and repair the defects. This is particularly advantageous for the manufacture of components that are typically challenging to repair after all welding passes have been deposited, e.g., thick multipass welds and WAAM parts. A key challenge of interpass welding inspection is the complex sample geometry which changes as the weld is deposited and therefore differs from the as-built geometry [40]. Figure 8 shows that the unwelded portion of the V-groove in a multipass weld causes a number of reflections and artefacts in the ultrasonic images, as demonstrated at three distinct stages of the sample manufacture. As the weld is deposited, the sample geometry reflections change in shape and size, until they disappear upon completion of the weld joint. Hence, appropriate signal processing and masking are required to effectively remove the false positive indications from the sample geometry. The elevated temperature of the sample after it is manufactured must be taken into account when performing NDE as the speed of sound in the material varies with temperature. As the sample cools down, this causes imaging anomalies in both amplitude and position. In [38], a Tungsten rod was introduced in the weld to form a static reflector of known size and location [39]. The weld was repeatedly inspected at regular time intervals for a period of 22 h, and the position and amplitude of the inserted reflector were extracted to form a thermal compensation curve. The sample temperature at the inspection location decreased from 164 • C at 2 min after welding to 28 • C at 75 min after welding. As a result, the reflected amplitude increased significantly from 25% to 62% of full screen height, and the defect indication's position shifted by 3 mm on the reconstructed sector scan image. These data were utilised to correct the position and amplitude of an artificially induced crack. The crack initiation was successfully detected 22 min after the weld completion, and it was observed to be growing over a total of 90 min.

Interpass In-Process UT
Interpass ultrasonic NDE allows for the detection of weld flaws through inspection between individual welding passes or layers and provides an opportunity for in-process repair, as only a small amount of material would need to be removed in order to excavate and repair the defects. This is particularly advantageous for the manufacture of components that are typically challenging to repair after all welding passes have been deposited, e.g., thick multipass welds and WAAM parts. A key challenge of interpass welding inspection is the complex sample geometry which changes as the weld is deposited and therefore differs from the as-built geometry [40]. Figure 8 shows that the unwelded portion of the V-groove in a multipass weld causes a number of reflections and artefacts in the ultrasonic images, as demonstrated at three distinct stages of the sample manufacture. As the weld is deposited, the sample geometry reflections change in shape and size, until they disappear upon completion of the weld joint. Hence, appropriate signal processing and masking are required to effectively remove the false positive indications from the sample geometry. The high interpass temperatures required to maintain the weld integrity (typically up to 250 °C) have driven research into the development of a novel, high-temperature capable PAUT probe [41]. The probe features a 5 MHz, linear 64-element PAUT transducer immersed in water and enclosed in a moulded high-temperature silicone rubber tyre, capable of operating at temperatures up to 350 °C. Coupling between the probe and the sample was achieved through a constant compressional force and high-temperature gel couplant as demonstrated in Figure 9. The novel probe has allowed for the interpass detection of artificially induced defects inside a partially filled multipass weld such as the one shown in Figure 10, where a Tungsten rod with a diameter of 2.4 mm and length of 30 mm was included in the weld.  The high interpass temperatures required to maintain the weld integrity (typically up to 250 • C) have driven research into the development of a novel, high-temperature capable PAUT probe [41]. The probe features a 5 MHz, linear 64-element PAUT transducer immersed in water and enclosed in a moulded high-temperature silicone rubber tyre, capable of operating at temperatures up to 350 • C. Coupling between the probe and the sample was achieved through a constant compressional force and high-temperature gel couplant as demonstrated in Figure 9. The novel probe has allowed for the interpass detection of artificially induced defects inside a partially filled multipass weld such as the one shown in Figure 10, where a Tungsten rod with a diameter of 2.4 mm and length of 30 mm was included in the weld. The high interpass temperatures required to maintain the weld integrity (typically up to 250 °C) have driven research into the development of a novel, high-temperature capable PAUT probe [41]. The probe features a 5 MHz, linear 64-element PAUT transducer immersed in water and enclosed in a moulded high-temperature silicone rubber tyre, capable of operating at temperatures up to 350 °C. Coupling between the probe and the sample was achieved through a constant compressional force and high-temperature gel couplant as demonstrated in Figure 9. The novel probe has allowed for the interpass detection of artificially induced defects inside a partially filled multipass weld such as the one shown in Figure 10, where a Tungsten rod with a diameter of 2.4 mm and length of 30 mm was included in the weld.  As a result of the moving heat source in welding, thermal gradients in both the direction of welding and perpendicular to the direction of travel are introduced in the workpiece, ultimately resulting in ultrasonic image distortion. Furthermore, the dynamic nature of multipass welding essentially results in a different thermal gradient after each welding pass. An in-process thermal compensation procedure was proposed in [42] involving the parallel manufacture of a second, identical sample with an embedded Tungsten pipe, serving as an in-process calibration block. The reflection from the known in size and location pipe was used to calibrate for the effects of the temperature gradients and it was demonstrated that the approach provided more accurate results, compared to a traditional calibration on a sample with a side drilled hole at a uniform temperature. For the most accurate calibration and thermal compensation results, however, the sample temperature would need to be precisely known through a combination of measurement and weld modelling [43]. It is important to also note that interpass inspection could increase the component manufacture duration, as it is deployed sequentially with the welding deposition. In addition, increasing the interval between welding passes could lead to excessive sample cooling and the loss of interpass temperature. Therefore, the UT acquisition and image processing speed must be taken into account when considering the deployment of interpass NDE for welding applications.

Live-Arc In-Process UT
In-process UT deployed during the welding deposition offers rapid feedback for the welding process and allows not only measurement, but also control of the welding process. In [44], a pair of air-coupled ultrasonic transducers were used to induce guided Lamb waves through a section of 3 mm thick plate butt joint while it was deposited. Figure 11 shows that the solidification of the weld was monitored in real time through live-arc inprocess UT. This method has shown promise as the rate of change of the received Lamb waves' amplitude was found to be correlated to the weld penetration depth. In [45], a split-crystal ultrasonic wheel probe was attached to the welding torch and was utilised for thickness measurement of samples with a varying loss of wall thickness, as shown in Figure 12. The measured thickness was used to control and adapt the welding arc current torch travel speed and wire feed rate on-the-fly. It was demonstrated that the approach provided sufficiently low latency and high accuracy for real-time welding process control As a result of the moving heat source in welding, thermal gradients in both the direction of welding and perpendicular to the direction of travel are introduced in the workpiece, ultimately resulting in ultrasonic image distortion. Furthermore, the dynamic nature of multipass welding essentially results in a different thermal gradient after each welding pass. An in-process thermal compensation procedure was proposed in [42] involving the parallel manufacture of a second, identical sample with an embedded Tungsten pipe, serving as an in-process calibration block. The reflection from the known in size and location pipe was used to calibrate for the effects of the temperature gradients and it was demonstrated that the approach provided more accurate results, compared to a traditional calibration on a sample with a side drilled hole at a uniform temperature. For the most accurate calibration and thermal compensation results, however, the sample temperature would need to be precisely known through a combination of measurement and weld modelling [43]. It is important to also note that interpass inspection could increase the component manufacture duration, as it is deployed sequentially with the welding deposition. In addition, increasing the interval between welding passes could lead to excessive sample cooling and the loss of interpass temperature. Therefore, the UT acquisition and image processing speed must be taken into account when considering the deployment of interpass NDE for welding applications.

Live-Arc In-Process UT
In-process UT deployed during the welding deposition offers rapid feedback for the welding process and allows not only measurement, but also control of the welding process. In [44], a pair of air-coupled ultrasonic transducers were used to induce guided Lamb waves through a section of 3 mm thick plate butt joint while it was deposited. Figure 11 shows that the solidification of the weld was monitored in real time through live-arc inprocess UT. This method has shown promise as the rate of change of the received Lamb waves' amplitude was found to be correlated to the weld penetration depth. In [45], a split-crystal ultrasonic wheel probe was attached to the welding torch and was utilised for thickness measurement of samples with a varying loss of wall thickness, as shown in Figure 12. The measured thickness was used to control and adapt the welding arc current, torch travel speed and wire feed rate on-the-fly. It was demonstrated that the approach provided sufficiently low latency and high accuracy for real-time welding process control and, as a result, provided a better performance of welding samples with thickness variations, compared to a traditional open-loop automated welding system. and, as a result, provided a better performance of welding samples with thickness variations, compared to a traditional open-loop automated welding system. Figure 11. Live-arc in-process weld UT with non-contact Lamb waves. Current work in the University of Strathclyde is focused on addressing the challenges associated with deploying PAUT probes during the weld deposition ( Figure 13). The next generation of PAUT probes will be dry coupled, which would remove the risk of unwanted weld contamination by the ultrasonic gel that can cause porosity [37] and would reduce the variation in coupling between the probe and the workpiece.   Current work in the University of Strathclyde is focused on addressing the challenges associated with deploying PAUT probes during the weld deposition ( Figure 13). The next generation of PAUT probes will be dry coupled, which would remove the risk of unwanted weld contamination by the ultrasonic gel that can cause porosity [37] and would reduce the variation in coupling between the probe and the workpiece. Current work in the University of Strathclyde is focused on addressing the challenges associated with deploying PAUT probes during the weld deposition ( Figure 13). The next generation of PAUT probes will be dry coupled, which would remove the risk of unwanted weld contamination by the ultrasonic gel that can cause porosity [37] and would reduce the variation in coupling between the probe and the workpiece.