The integrated system consists of a localisation device, and an NDE system, combining their data to produce an output encoded NDE dataset. A ZEDm camera was selected in this work as the most suitable camera to perform localisation. This ZEDm camera was integrated with the acquisition system and EMAT probe [18]. The integrated EMAT probe and camera can then be moved over the surface to measure thickness while continuously estimating the pose.
The features for both the acquisition system and localisation device are summarised in Sect. 2.1. The complete system with the full setup are shown in Sect. 2.2. The hardware layout is summarised in Sect. 2.3. The software setup is summarised in Sect. 2.4.
Features
The acquisition system [18] is a standalone system that is connected to an EMAT probe to perform measurements, which in this work are thickness measurements of the inspected component. The acquisition system first obtains the analogue signals from the probe. It then amplifies and digitalises them, and lastly it processes them to obtain the information of interest, which in this case is component thickness. The resulting thickness values are then transmitted via Wi-Fi using ROS to a receiving platform, which in this case is a laptop. This work flow is schematised in Fig. 1.
In parallel, the localisation device, which in this work is a ZEDm camera, is continuously performing SLAM to obtain its pose. The localisation device does so by capturing images of the environment and reading from its IMU while moving. Pictures of the environment captured and readings at each frame are passed to the receiving platform via USB transfer; this receiving platform can be either a robot or a laptop as in this work. These pictures and readings are then processed using the ZED SDK to compute the pose of the camera through visual motion estimation, taking into account of the effect of fast movement. The localisation device is also able to estimate track its motion and to transfer the pose data as a ROS message. Since the acquisition system has a message publish frequency of 3 Hz, the localisation device needs to be able to produce a pose message with a minimum publish frequency double of this.
Complete System
The integrated system brings together the localisation device and the EMAT probe together with the acquisition system for the EMAT, and data is assembled in the receiving platform. The main elements of the integrated system, together with the communication between them, are summarised in Fig. 1. The detailed structure of data flow within the acquisition system is presented in [18]. Within the receiving platform, a script was used in this work to combine the received message into one. This is performed by restricting the publication of combined messages to only when a thickness data point is received. The combined message is then passed to a script that relies on standard Matlab libraries to construct a point cloud of the structure.
The ZEDm camera and the EMAT probe need to be fixed together with a known relative position between them in order to achieve high accuracy in the positioning. A structure to hold the EMAT probe together with the ZEDm camera was created using 3D printing, a picture of which is shown in Fig. 2. In the structure, the ZEDm camera is positioned and secured on top of the EMAT offset by 11cm from the ultrasonically active area. Adhesive tape is placed at the base of the EMAT to protect it and its thickness is considered negligible. This structure including the EMAT and camera can be considered the end effector of the integrated inspection system.
Figure 3 shows the full setup of the integrated system prepared to be used in practice. The acquisition system is connected to the EMAT via a LEMO connector. This acquisition system is then connected to the receiving platform via Wi-Fi connection. The ZEDm camera is connected to the receiving platform via a USB 3.0 cable.
Hardware
The acquisition system consists of 3 main elements: an arbitrary function generator and an oscilloscope, a board with analogue amplifiers, and a processing machine with Wi-Fi. The acquisition system can operate at a frequency range between 50 kHz and 3 MHz. In this work it is exciting a pulse with a central frequency of 2 MHz. This pulse is sent via a LEMO cable to the EMAT probe, which generates a polarized shear wave on the component at the 2 MHz frequency. The system can perform measurements at up to 12 Hz, using 10 averages per measurement, meaning that it can excite pulses with a burst rate of 120 Hz. Details of this system can be found in [18]. For the purposes of this work, the processor receives the digital raw signals from the EMAT probe, and processes them to obtain the thickness values of interest. The processor has ROS installed on it, and transmits the resulting thickness values via Wi-Fi using ROS.
The localisation device used in this work is the ZEDm camera, supplied by Stereolabs. The camera has a dimension of 124.5 \(\times \) 30.5 \(\times \) 26.5 mm, weighs 62.9 g and is USB powered. It consists of a dual camera, an accelerometer and a gyroscope. The maximum resolution of the video mode is 2.2 k at 15 Hz, and the maximum depth and pose update rate up to 100 Hz while in VGA resolution, the accelerometer and a gyroscope have a sampling rate of 800 Hz, the minimum and maximum depth sensing distance are 0.1m and 15m respectively. A USB 3.0 cable is used as a power supply cable and to transfer data from camera to an operating laptop. In this work, the video mode is set to 720p, and the pose update rate is set to 60 Hz.
Software
The processor of the acquisition system has Ubuntu 16.04 as operating system and ROS Kinetic installed. The inspection data is outputted using ROS via Wi-Fi. It is also possible to communicate to the processor from any external laptop connected to the Wi-Fi by establishing a network protocol secure shell (SSH), in case any inspection parameters such as number of averages of the inspection need to be modified.
The captured image and IMU data from the camera are transferred to a receiving laptop through a USB 3.0 cable for further processing. In this work, the ZED SDK is used for acquiring the pose of the camera. The ZED SDK is the native SDK provided along with the ZED camera. The SDK is capable of performing position tracking, spatial mapping and object detection. In this work, mainly the position tracking modules is used, the ROS wrapper provided by Stereolab is also used to publish pose data as a ROS message. It should be noted that the ZED SDK is based on the analysis of textured information and IMU data for pose computation, which has limitation is that no motion in visual scene is allowed when the ZED camera is moving. As such, the ZED SDK is not expected to provide reliable pose estimation in dynamic environments.
In the implementation in this work, the camera pose estimates are offset by the dimensions of the 3D printed structure holding the camera to the EMAT probe. This provides the pose at the base of the EMAT probe, which is the pose of the outer surface of the inspected component. The inner surface of the inspected component is obtained by offsetting the points from the outer surface of the component in the direction perpendicular to the outer surface, and by an amount equal to the thickness values measured using the EMAT. The combination of the outer surface of the inspected component, obtained based on the camera pose, and the inner surface, obtained combining the camera pose and measured thickness, provide a reconstruction of the scanned component. This is plotted as a point cloud that creates a digital twin of the inspected component, which inherently includes the inspection data.