<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">WJET</journal-id><journal-title-group><journal-title>World Journal of Engineering and Technology</journal-title></journal-title-group><issn pub-type="epub">2331-4222</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/wjet.2021.93041</article-id><article-id pub-id-type="publisher-id">WJET-111140</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Chemistry&amp;Materials Science</subject><subject> Engineering</subject></subj-group></article-categories><title-group><article-title>
 
 
  In-Line Inspection of Pipeline Defects Detection Using Ring-Type Laser
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mathivanan</surname><given-names>Durai</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yang-Min</surname><given-names>Hsu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ho</surname><given-names>Chang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Graduate Institute of Manufacturing Technology, National Taipei University of Technology, Chinese Taipei</addr-line></aff><pub-date pub-type="epub"><day>15</day><month>07</month><year>2021</year></pub-date><volume>09</volume><issue>03</issue><fpage>589</fpage><lpage>603</lpage><history><date date-type="received"><day>11,</day>	<month>July</month>	<year>2021</year></date><date date-type="rev-recd"><day>3,</day>	<month>August</month>	<year>2021</year>	</date><date date-type="accepted"><day>6,</day>	<month>August</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Pipeline plays a vital role in transporting fluids like oils, water, and petrochemical substances for longer distances. Based on the materials they carry
  ,
   prolonged usage may cause the initiation of defects in the pipeline. These defects occur due to the formed salt deposits, chemical reaction happens between the inner surface and the transferring substance, prevailing environmental conditions, etc. These defects, if not identified earlier may lead to significant losses to the industry. In this work, an in-line inspection system utilizes the nondestructive way for analyzing the internal defects in the petrochemical pipeline. This system consists of a pipeline inspection robot having two major units namely the visual inspection unit and the power carrier unit. The visual inspection unit makes use of a ring-type laser diode and the camera. The laser diode serves as a light source for capturing good quality images of inspection. This unit is controlled by the Arduino in the power carrier unit which provides the necessary movement throughout the pipe. The inspected images captured by the camera are further processed with the aid of NI vision assistant software. After applying the processing function parameters provided by this software, the defect location can be clearly visualized with high precision. Three sets of defects are introduced in a Polylactide (PLA) pipe based on its position and angle along the circumference of the pipe. Further, this robot system serves as a real-time interactive image synchronization system for acquiring the inspected images. By comparing the actual and calculated defect size, the error percentage obtained was less than 5%.
 
</p></abstract><kwd-group><kwd>Pipeline Robotic System</kwd><kwd> Ring-Type Laser</kwd><kwd> Vision Assistant</kwd><kwd> Image Pro-cessing</kwd><kwd> Leak Holes Detection</kwd><kwd> Nondestructive Testing</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>To transport sources such as petroleum products, oil, and water for long-distance in a fast manner, pipelines are majorly preferred due to their reliability and durability [<xref ref-type="bibr" rid="scirp.111140-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref3">3</xref>] . These pipelines are easy to construct and also it is more economical than any other method of transportation. Since these pipelines carry highly flammable substances, they can be easily damaged by the outside environment and other forces which results in the formation of leak holes [<xref ref-type="bibr" rid="scirp.111140-ref4">4</xref>] , blockages [<xref ref-type="bibr" rid="scirp.111140-ref5">5</xref>] , corrosion [<xref ref-type="bibr" rid="scirp.111140-ref6">6</xref>] , and other damages [<xref ref-type="bibr" rid="scirp.111140-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref8">8</xref>] to the pipeline. These damages will pave the way for the occurrence of the disaster which is very harmful to mankind and its surrounding environment. In recent years, several underground chemical pipeline accidents in abroad such as Alabama gasoline disaster in 2016, Kentucky gas explosion in 2019, and local accidents like Kaohsiung gas explosion in 2014, Xizhi’s oil spill in 2015, and Yunlin Formosa gas explosion in 2019 grabbed the researcher’s attention to focus more on the inspection of pipelines. Because these accidents are caused majorly by leakage of substances due to the leak holes in the pipeline. Therefore, these pipelines, if not properly maintained, are a high risk for the people [<xref ref-type="bibr" rid="scirp.111140-ref9">9</xref>] and also it will lead to major losses [<xref ref-type="bibr" rid="scirp.111140-ref10">10</xref>] to the industry.</p><p>For the inspection of pipeline defects where the direct human activities in analyzing those defects are low, many research was focused on an optical inspection system which consists of a Closed-Circuit TV (CCTV) camera fitted on a mobile platform [<xref ref-type="bibr" rid="scirp.111140-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref12">12</xref>] . Thus the stored images from the videotape are analyzed in offline conditions by an engineer. The major drawbacks in analyzing the raw images acquired by the CCTV are 1) poor resolution of the image due to the inconvenient lighting conditions; 2) higher probability of error during the offline assessment by humans; 3) unable to clearly visualize the interiors of the pipe. If the pipelines to be inspected are more, then this approach towards defect detection is a difficult task and also it will lead to a significant increase in the inspection costs. The factors which will affect the inspection time of the pipe are an exorbitant amount of information [<xref ref-type="bibr" rid="scirp.111140-ref13">13</xref>] and the number of defects. Hence, for a heavily damaged pipe, the time of inspection is much longer than the inspection of an intact pipe section [<xref ref-type="bibr" rid="scirp.111140-ref14">14</xref>] . Normally small structural imperfections will initiate pipeline damages. The use of CCTV is not advisable for detecting those imperfections [<xref ref-type="bibr" rid="scirp.111140-ref15">15</xref>] . In some cases, due to the existent blockages, it is more difficult to deploy the camera [<xref ref-type="bibr" rid="scirp.111140-ref16">16</xref>] .</p><p>In order to overcome these drawbacks, an in-line inspection system called the pipeline robotic inspection system has been proposed in this work. This pipeline robotic inspection will acquire the images of the pipeline by using the camera via a stable light source. By processing those acquired images, the defect location and its properties can be extracted [<xref ref-type="bibr" rid="scirp.111140-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref19">19</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref20">20</xref>] . For acquiring high-quality images of inspection, a ring-type laser diode is preferred as the light source [<xref ref-type="bibr" rid="scirp.111140-ref21">21</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref22">22</xref>] . The robot is designed in such a way that it should have continuous movement throughout the pipeline than the walking mechanism in order to reduce the time consumption of defect detection and if the pipeline profile has some curved geometries, the continuous movement will provide the optimum solution than the walking mechanism and it is also a more reliable method for examining small defects with high precision.</p><p>In this paper, an in-line inspection system utilizing an interactive image synchronization technique has been proposed for identifying the inner defects in the pipeline. This system is well suited to carry out the inspection when there is no fluid flow in the pipe. Since it employs a high precision laser diode, this system can be recommended in analyzing pipeline that requires a high-quality inspection of defects. To generate inspection images, artificial defects were introduced in an eight-inch PLA pipe printed using the 3-D printing technique. With the help of the NI Vision Assistant software, the robot will continuously acquire images by using the light source and camera. Thus, the acquired images are processed by the processing function parameters in the vision assistant system. As a result, the defect location, properties such as the size of defects, the error percentages were tabulated and compared with the actual defect dimensions.</p></sec><sec id="s2"><title>2. Fault Detection Methodology</title><sec id="s2_1"><title>2.1. Camera-Based Laser Profiler</title><p>For ring-type laser diode, an intensity-based optical inspection system was preferred for the inspection of the defect. As represented in <xref ref-type="fig" rid="fig1">Figure 1</xref>(a), the robot is designed in such a way that it consists of two major slots for holding the light source and camera. For this light source, a red-emitting laser diode with a wavelength of 650 nm, working voltage of DC 2.5 - 5 V and the power of 0.5 W is used. On the other hand, to acquire the images of inspection, the camera (SJ4000) with the resolution of 2 MP is directly connected to the computer via</p><p>the USB cable to achieve a real-time interactive image synchronization. The robot is connected with the personal computer (PC) and by using the NI Vision Assistant system, for each movement the images are acquired and processed using the PC. In the case of corroded pipelines, due to the presence of uneven surfaces along the pipeline, there may be chances for the misalignment of the center axis of the camera [<xref ref-type="bibr" rid="scirp.111140-ref23">23</xref>] . To overcome this, a spring suspension system is coupled with the supporting wheels that are mounted on the internal surface of the pipe as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(b).</p></sec><sec id="s2_2"><title>2.2. Optical Path</title><p>The optical path is defined as the path traveled by the light from the laser diode to the pipe wall and back to the camera. In general, the laser light is aligned in such a way that it is coincident with the center axis of the pipe. As in <xref ref-type="fig" rid="fig1">Figure 1</xref>(a), the distance between the laser source to the pipe wall (L) and the laser ring illuminated area (A) is obtained by using Equations (1) and (2).</p><p>L = R tan ( α 1 2 ) (1)</p><p>A = R ( 1 tan ( α 1 2 − α 2 ) − 1 tan ( α 1 2 ) ) (2)</p><p>where R is the pipe radius, α<sub>1</sub> and α<sub>2</sub> are the projection angles. The α<sub>1</sub> and α<sub>2</sub> are responsible for defining the distance (L) and width of the laser ring projected on the pipe wall. By increasing the α<sub>2</sub>, the illuminated area (A) also increases accordingly [<xref ref-type="bibr" rid="scirp.111140-ref24">24</xref>] . The above equations are suitable for the ideal case. In some cases, when the laser light is slanted, the center axis of the pipe is not coincident with the laser diode. Due to this misalignment, the circular laser ring can be changed to an oblique shape. Equations (3) and (4) defines the upper and lower bounds for distance L.</p><p>R − x 0 2 + y 0 2 tan ( α 1 2 ) &lt; L &lt; R + x 0 2 + y 0 2 tan ( α 1 2 ) (3)</p><p>R tan ( α 1 2 + θ ) &lt; L &lt; R tan ( α 1 2 − θ ) (4)</p><p>where (x<sub>0</sub>, y<sub>0</sub>) represents the coordinates of the laser light position after misalignment and θ is the angle of misalignment with respect to the center axis [<xref ref-type="bibr" rid="scirp.111140-ref25">25</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref26">26</xref>] . In our setup, there is no coincidence between the pipe center axis and the laser. At the same time, the laser diode is not slanted but the laser diode and the pipe center axis are very close to each other. An adaptive design combined with the respective optics will pave the way for the best inspection results [<xref ref-type="bibr" rid="scirp.111140-ref24">24</xref>] .</p></sec><sec id="s2_3"><title>2.3. Image Processing Stages</title><p>With the help of LabVIEW NI Vision Assistant software, the acquired images are processed by various processing function parameters (Figures 2(a)-(e)) as follows. First, the acquired raw image is masked for the defined Region of Interest (ROI) for eliminating the unwanted areas in the acquired image. After masking, all the particles in the defined ROI are highlighted using the RGB threshold function. In addition, for obtaining the desired ring profile, the thresholded image is processed using the advanced morphology function and to obtain the smooth edges of the ring profile, the basic morphology function is used. Finally, by using the contour analysis function, defect information such as the size and depth of defects can be obtained.</p></sec></sec><sec id="s3"><title>3. Experimentation</title><sec id="s3_1"><title>3.1. Design of Pipeline Robot</title><p>The frame of the robotic system is fabricated using 3D printing technology. PLA is preferred as the most suitable filament for the 3D printing process [<xref ref-type="bibr" rid="scirp.111140-ref27">27</xref>] . Because it exhibits good mechanical properties which are more efficient during the Fused Deposition Modeling (FDM) process than any other polymer [<xref ref-type="bibr" rid="scirp.111140-ref28">28</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref29">29</xref>] [<xref ref-type="bibr" rid="scirp.111140-ref30">30</xref>] . With the help of Pro/E software, the frame is built according to the dimensions along with the suspension system. The entire robot body is divided into two units. The first unit namely the visual inspection unit consists of the slots for holding the light source and camera. It is connected to the second unit called the power carrier unit via a universal joint. The power carrier unit provides the necessary power for the movement of the robot. It consists of an Arduino UNO, programmed using Sketch software. This program controls the DC motor via the L298N motor control board which provides the axial movement of the robot throughout the pipe. In addition, a rotary encoder (HTR-34-360A-V) is also</p><p>used in the power carrier unit to record the moving distance of the carrier in the pipeline. Both units have the spring suspension system and supporting rollers to avoid the misalignment of the devices with the center axis and to provide free movement during the inspection.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>(b) shows the prototype model of the proposed robot system. It moves axially into the pipeline along with the detecting unit. The light source is projected onto the inner surface by the ring-type laser, allowing for the clear identification of defects. Raw images were captured in the inspection zone consisting of the defect and non-defect areas. Thus, the captured image was processed with the aid of the NI vision assistant system to identify the defect location.</p></sec><sec id="s3_2"><title>3.2. Types of Defects</title><p>Three sets of defects were introduced in an 8-inch diameter PLA pipe as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. For analyzing the defect characteristics, the PLA pipe is preferred as a substitute for the petrochemical pipeline because it is more convenient to introduce a variety of defects with different parameters and it can be easily fabricated using a 3D printer. The first set consists of an 8 mm diameter hole of various depths as 1, 2 and 4 mm (<xref ref-type="fig" rid="fig3">Figure 3</xref>(a)). The second set consists of 5, 7.5 and 10 mm diameter holes of varying depths as 3, 5 and 7 mm as in <xref ref-type="fig" rid="fig3">Figure 3</xref>(b). The third set of defects is entirely based on the sources of transportation in the pipeline. If the pipeline transports some chemical substances like petroleum products, after long-term usage there will be a formation of sediment residues in the pipeline. These residues will cause the pipeline wall to rupture due to corrosion. In order to detect these types of sediment residues, three squared sediments of varying sizes with different heights were created in the pipe. Each squared sediment is located at a certain angle to the other squared sediment as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(c).</p></sec></sec><sec id="s4"><title>4. Results and Discussion</title><p>The inner surface of the pipe is irradiated using the ring-type laser. The defects</p><p>can be easily identified by the changes in the intensity level along the laser ring. In case of small defects (cracks), there will be an increase in the intensity level (bright) at the edges of the defect and for holes, we can observe two forms of intensity changes, an increase in the intensity at the edges of the defect and a drop in intensity at the inside of the defect [<xref ref-type="bibr" rid="scirp.111140-ref26">26</xref>] .</p><p>For analyzing each set of defects and its characteristics, the NI Vision Assistant software is used for acquiring and processing the images. This software consists of predefined processing function parameters which are very helpful in extracting the defect characteristics. In this, the counter analysis function will provide the distance from counter to template plot which describes the defect. The x-axis in this plot will represent the number of pixels along the circumference of the pipe and the y-axis represents the halo offset distance from the counter to the template.</p><p>After processing the acquired images, there will be a drop in intensity in the defect portion when compared with the non-defect portion as in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b). To compute the size of the defect, the number of pixels in the defect portion needs to be calculated. In an image, each pixel is represented by its coordinates. If we find the start and end coordinates of the pixel in the defect portion [<xref ref-type="bibr" rid="scirp.111140-ref31">31</xref>] , the number of pixels in the defect portion can be calculated by using Equation (5).</p><p>Numberofpixelsinthedefectportion = ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 (5)</p><p>where (x<sub>1</sub>, y<sub>1</sub>) and (x<sub>2</sub>, y<sub>2</sub>) represent the pixel coordinates at the start and end of the defect.</p><sec id="s4_1"><title>4.1. Calculation of Pixel Resolution</title><p>In an image, the resolution is defined as the number of pixels that the image consists of and it also provides the extent of details that can be extracted from an image. Thus, the image resolution and the physical dimensions of the image can be related to determine the quantity of space that each pixel will represent in the image. Equations (6) and (7) are used to calculate the space contributed by each pixel in an image [<xref ref-type="bibr" rid="scirp.111140-ref32">32</xref>] . The pixel can be represented using the pixel width (P<sub>w</sub>) and pixel height (P<sub>h</sub>).</p><p>Pixelwidth ( P w ) = I w c (6)</p><p>Pixelheight ( P h ) = I h r (7)</p><p>where I<sub>w</sub> and I<sub>h</sub> are the image width and height, c and r represent the number of pixels in columns and rows of an image. Here, the acquired image consists of 1920 pixels in columns and 1080 pixels in rows, I<sub>w</sub> and I<sub>h</sub> values are 282 mm and 159 mm respectively. So, the calculated pixel width and pixel height values are 0.1469 and 0.1472 mm/pixel. These sets of values can be used as the conversion parameter for calculating the defect size because, from NI Vision Assistant, the defect size is represented in pixels.</p></sec><sec id="s4_2"><title>4.2. Fixed Diameter Holes in Various Depths</title><p>In the first set, the defects are analyzed based on their position along the circumference of the pipe. For the defect of an 8 mm diameter hole, the required laser ring profiles were obtained (<xref ref-type="fig" rid="fig4">Figure 4</xref>(a)) after processing the acquired image with the aid of processing function parameters provided by the NI Vision Assistant software. From the laser ring profile (<xref ref-type="fig" rid="fig4">Figure 4</xref>(b)), the defect can be easily visualized because at the defect portion there will be a drop in intensity level than the non-defect portion. For an 8 mm diameter hole of 1 and 2 mm depth, the necessary laser ring profile was detailed in Appendix A. By applying the centroid and caliper function in vision assistant software, the angle of the defect with respect to the circumference of the pipe is displayed in a clockwise manner as in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b).</p><p>The counter analysis function plays a significant role in calculating the number of pixels in the defect portion. This function provides the distance from counter to template plot which is obtained by comparing the counters. The pixel coordinates at the start and end of the defect portion are extracted from the x-axis of this plot (<xref ref-type="fig" rid="fig5">Figure 5</xref>) and the number of pixels in the defect portion is calculated using Equation (5). This pixel can be represented in mm by multiplying with the calculated pixel width. As a result, the size of the defect in mm can be obtained.</p><p>The peaks in this plot will represent the halo offset distance (depth of defect) in pixels. From Figures 5(a)-(c), we observe that the peak is slightly increased when the depth of defect is also increased. Since our robot moves in an axial direction throughout the pipe, the camera is unable to capture the actual depth of</p><p>the defect. Due to this, the obtained peak value which defines the depth of defect is not considered for calculating the actual defect depth. Hence, our research is focused on the calculation of the size of the defect than the depth.</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows that for an 8 mm diameter hole of varying depths, the pixels in the defect portion are calculated and converted to their respective size in mm and by using the error formula, the error percentage was computed. From the table, by comparing the actual defect and calculated defect values, our robot system provides a very less percentage of error (less than 5%).</p></sec><sec id="s4_3"><title>4.3. Different Diameter Holes of Varying Depths</title><p>In the second set, three holes of diameter of 5, 7.5, and 10 mm of varying depths</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Percentage of error for fixed diameter holes in various depths</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Actual size</th><th align="center" valign="middle" >No. of pixels in defect portion</th><th align="center" valign="middle" >Measured size (mm)</th><th align="center" valign="middle" >% of Error</th></tr></thead><tr><td align="center" valign="middle" >&#216; 8 mm, 1 mm depth</td><td align="center" valign="middle" >52.1</td><td align="center" valign="middle" >7.7</td><td align="center" valign="middle" >3.8</td></tr><tr><td align="center" valign="middle" >&#216; 8 mm, 2 mm depth</td><td align="center" valign="middle" >53.1</td><td align="center" valign="middle" >7.8</td><td align="center" valign="middle" >2.5</td></tr><tr><td align="center" valign="middle" >&#216; 8 mm, 4 mm depth</td><td align="center" valign="middle" >54.0</td><td align="center" valign="middle" >7.9</td><td align="center" valign="middle" >1.3</td></tr></tbody></table></table-wrap><p>along the circumference of the pipe were introduced and the defect analysis is carried out as same as the first set. The laser ring profile (<xref ref-type="fig" rid="fig4">Figure 4</xref>(d)), the pixels in the defect portion and the error percentage are calculated and tabulated in <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>From <xref ref-type="fig" rid="fig6">Figure 6</xref>, it can be inferred that when the defect size (hole diameter) is increased, the number of pixels in the defect portion is also increased due to the increase in the intense area (Appendix B) occupied by the defect. <xref ref-type="table" rid="table2">Table 2</xref> shows that for different diameter holes, the calculated number of pixels in the defect portion is also increased and thus the obtained pixels are converted to their respective size by multiplying with the pixel width and the error percentage was computed. In the second set also, the error percentage was less than 5%.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Percentage of error for different diameter holes of varying depths</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Actual size</th><th align="center" valign="middle" >No. of pixels in defect portion</th><th align="center" valign="middle" >Measured size (mm)</th><th align="center" valign="middle" >% of Error</th></tr></thead><tr><td align="center" valign="middle" >&#216; 5 mm, 3 mm depth</td><td align="center" valign="middle" >35.1</td><td align="center" valign="middle" >5.2</td><td align="center" valign="middle" >4.0</td></tr><tr><td align="center" valign="middle" >&#216; 7.5 mm, 5 mm depth</td><td align="center" valign="middle" >49.4</td><td align="center" valign="middle" >7.3</td><td align="center" valign="middle" >2.7</td></tr><tr><td align="center" valign="middle" >&#216; 10 mm, 7 mm depth</td><td align="center" valign="middle" >66.4</td><td align="center" valign="middle" >9.8</td><td align="center" valign="middle" >2.0</td></tr></tbody></table></table-wrap></sec><sec id="s4_4"><title>4.4. Sediment Residues</title><p>The third set of defects represents the sediment residues formed due to the transportation of chemical substances. Three squared sediments were created in different sizes of varying height and those sediments were analyzed in the same way as the first set. In the case of sediments, the defect portion occurs inside of the ellipse (<xref ref-type="fig" rid="fig7">Figure 7</xref>(b)) which ensures that our robot system can also measure the height of sediments. Because during the axial movement, the robot can detect the sediment size along with the height.</p><p>After using the counter analysis function, the distance from counter to template plot was obtained for the sediments as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>(c). From the x-axis of this plot, it is observed that the number of pixels in the sediment portion increases with an increase in the sediment size which is due to the increase in the intense area occupied by the sediment. The peaks in this plot also increases with an increase in sediment’s height. The respective angle between each sediment is also checked with the existing angle with the help of the caliper function as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>(b). By using P<sub>w</sub> and P<sub>h</sub> values, the sediment size, height, and error percentage were calculated and presented in <xref ref-type="table" rid="table3">Table 3</xref>.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Percentage of error for squared sediments</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Actual size (Squared sediments)</th><th align="center" valign="middle" >No. of pixels in defect portion</th><th align="center" valign="middle" >Measured size (mm)</th><th align="center" valign="middle" >% of Error</th><th align="center" valign="middle" >Sediment height (Pixels)</th><th align="center" valign="middle" >Measured height (mm)</th><th align="center" valign="middle" >% of Error</th></tr></thead><tr><td align="center" valign="middle" >□ 6 mm, 1.5 mm height</td><td align="center" valign="middle" >42.1</td><td align="center" valign="middle" >6.1</td><td align="center" valign="middle" >1.6</td><td align="center" valign="middle" >10.5</td><td align="center" valign="middle" >1.54</td><td align="center" valign="middle" >2.7</td></tr><tr><td align="center" valign="middle" >□ 9 mm, 2.5 mm height</td><td align="center" valign="middle" >60.1</td><td align="center" valign="middle" >8.8</td><td align="center" valign="middle" >2.2</td><td align="center" valign="middle" >16.7</td><td align="center" valign="middle" >2.46</td><td align="center" valign="middle" >1.6</td></tr><tr><td align="center" valign="middle" >□ 12 mm, 3.5 mm height</td><td align="center" valign="middle" >80.5</td><td align="center" valign="middle" >11.8</td><td align="center" valign="middle" >1.6</td><td align="center" valign="middle" >23.2</td><td align="center" valign="middle" >3.42</td><td align="center" valign="middle" >2.3</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Conclusion</title><p>This paper aims to overcome the drawbacks of the raw CCTV footage used for the inspection of pipelines. By using the ring-type laser inline inspection system, we will be able to clearly visualize the interiors of the pipe and the obtained images have better resolution due to the use of laser as a light source. This robot system serves as a real-time interactive image synchronization system for acquiring the inspected images. The processing function parameters provided by the NI Vision Assistant software process the acquired image for calculating the number of pixels in the defect portion. Three sets of defects were analyzed and as a result, this system can accurately measure the size of the defect and in the case of sediment residues, it can measure both the size and height of sediments. Thus, in all sets of defects, the error percentage obtained was less than 5%.</p></sec><sec id="s6"><title>Acknowledgements</title><p>This research was supported by the Ministry of Science and Technology of Taiwan (Grant No. MOST 108-2637-E-027-001).</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Durai, M., Hsu, Y.-M. and Chang, H. (2021) In-Line Inspection of Pipeline Defects Detection Using Ring-Type Laser. World Journal of Engineering and Technology, 9, 589-603. https://doi.org/10.4236/wjet.2021.93041</p></sec><sec id="s9"><title>Appendix</title>Appendix A. Laser Ring Profile of Fixed Diameter Holes in Various DepthsAppendix B. Laser Ring Profile of Different Diameter Holes of Varying Depths</sec></body><back><ref-list><title>References</title><ref id="scirp.111140-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Transportation Research Board (2004) Transmission Pipelines and Land Use: A Risk- informed Approach. Special Report No. 281, The National Academies Press, Washington DC, 1-32.</mixed-citation></ref><ref id="scirp.111140-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Kessick, M.A. and Denis, C.E. (1982) Pipeline Transportation of Heavy Crude Oil. U.S. Patent No. US4343323A.</mixed-citation></ref><ref id="scirp.111140-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Kennedy, J.L. (1993) Oil and Gas Pipeline Fundamentals.</mixed-citation></ref><ref id="scirp.111140-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Isoyama, R., Ishida, E., Yune, K. and Shirozu, T. (2000) Seismic Damage Estimation Procedure for Water Supply Pipelines. Water Supply, 18, 63-68.</mixed-citation></ref><ref id="scirp.111140-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">He, X., Iasmin, M., Dean, L.O., Lappi, S.E., Ducoste, J.J. and de los Reyes III, F.L. (2011) Evidence for Fat, Oil, and Grease (FOG) Deposit Formation Mechanisms in Sewer Lines. Environmental Science &amp; Technology, 45, 4385-4391.  
https://doi.org/10.1021/es2001997</mixed-citation></ref><ref id="scirp.111140-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">De Belie, N., Monteny, J., Beeldens, A., Vincke, E., Van Gemert, D. and Verstraete, W. (2004) Experimental Research and Prediction of the Effect of Chemical and Biogenic Sulfuric acid on Different Types of Commercially Produced Concrete Sewer Pipes. Cement and Concrete Research, 34, 2223-2236.  
https://doi.org/10.1016/j.cemconres.2004.02.015</mixed-citation></ref><ref id="scirp.111140-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Pohls, O., Bailey, N.G. and May, P.B. (2002) Study of Root Invasion of Sewer Pipes and Potential Ameliorative Techniques. Acta Horticulturae, 643, 113-121.  
https://doi.org/10.17660/ActaHortic.2004.643.13</mixed-citation></ref><ref id="scirp.111140-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Cheng, S.J. (2014) Studies of the Small Leakage in Buried Gas Pipeline under the Condition of Soil Properties. Applied Mechanics and Materials, Trans Tech Publications, 501-504, 2266-2270. https://doi.org/10.4028/www.scientific.net/AMM.501-504.2266</mixed-citation></ref><ref id="scirp.111140-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Realmuto, G.M., Wagner, N. and Bartholow, J. (1991) The Williams Pipeline Disaster: A Controlled Study of a Technological Accident. Journal of Traumatic Stress, 4, 469-479. https://doi.org/10.1002/jts.2490040403</mixed-citation></ref><ref id="scirp.111140-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Girgin, S. and Krausmann, E. (2016) Historical Analysis of US Onshore Hazardous liquid Pipeline Accidents Triggered by Natural hazards. Journal of Loss Prevention in the Process Industries, 40, 578-590. https://doi.org/10.1016/j.jlp.2016.02.008</mixed-citation></ref><ref id="scirp.111140-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Hawari, A., Alamin, M., Alkadour, F., Elmasry, M. and Zayed, T. (2018) Automated Defect Detection Tool for Closed Circuit Television (CCTV) Inspected Sewer Pipelines. Automation in Construction, 89, 99-109.  
https://doi.org/10.1016/j.autcon.2018.01.004</mixed-citation></ref><ref id="scirp.111140-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Haurum, J.B. and Moeslund, T.B. (2020) A Survey on Image-Based Automation of CCTV and SSET Sewer Inspections. Automation in Construction, 111, Article No. 103061. https://doi.org/10.1016/j.autcon.2019.103061</mixed-citation></ref><ref id="scirp.111140-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Pace, N.G. (1994) Ultrasonic Surveying of Fully Charged Sewage Pipes. Electronics &amp; Communication Engineering Journal, 6, 87-92.  
https://doi.org/10.1049/ecej:19940206</mixed-citation></ref><ref id="scirp.111140-ref14"><label>14</label><mixed-citation publication-type="book" xlink:type="simple">Read, G.F. and Nedwell, P. (1996) Repair and Renovation. In: Read, G.F. and Vickridge, I.G., Eds., Sewers, Butterworth-Heinemann, Oxford, 204-232.  
https://doi.org/10.1016/B978-034054472-3/50013-1</mixed-citation></ref><ref id="scirp.111140-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Rayhana, R., Jiao, Y., Zaji, A. and Liu, Z. (2020) Automated Vision Systems for Condition Assessment of Sewer and Water Pipelines. IEEE Transactions on Automation Science and Engineering, 1-18. https://doi.org/10.1109/TASE.2020.3022402</mixed-citation></ref><ref id="scirp.111140-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Joint Task Force of the Water Environment, &amp; American Society of Civil Engineers. (1994) Existing Sewer Evaluation and Rehabilitation. ASCE Manuals and Reports on Engineering Practice, No. 62, WPCF Manual of Practice, No. FD-6. American Society of Civil Engineers, New York.</mixed-citation></ref><ref id="scirp.111140-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Kuntze, H.B. and Haffner, H. (1998) Experiences with the Development of a Robot for Smart Multisensoric Pipe Inspection. Proceedings of the 1998 IEEE International Conference on Robotics and Automation, Vol. 2, Leuven, 20 May 1998, 1773-1778.  
https://doi.org/10.1109/ROBOT.1998.677423</mixed-citation></ref><ref id="scirp.111140-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Duran, O., Althoefer, K. and Seneviratne, L.D. (2002) State of the Art in Sensor Technologies for Sewer Inspection. IEEE Sensors Journal, 2, 73-81.  
https://doi.org/10.1109/JSEN.2002.1000245</mixed-citation></ref><ref id="scirp.111140-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Huynh, P., Ross, R., Martchenko, A. and Devlin, J. (2015) Anomaly Inspection in Sewer Pipes Using Stereo Vision. 2015 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), Kuala Lumpur, 19-21 October 2015, 60-64.  
https://doi.org/10.1109/ICSIPA.2015.7412164</mixed-citation></ref><ref id="scirp.111140-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Nassiraei, A.A., Kawamura, Y., Ahrary, A., Mikuriya, Y. and Ishii, K. (2007) Concept and Design of a Fully Autonomous Sewer Pipe Inspection Mobile Robot “Kantaro”. Proceedings of 2007 IEEE International Conference on Robotics and Automation, Rome, 10-14 April 2007, 136-143.  
https://doi.org/10.1109/ROBOT.2007.363777</mixed-citation></ref><ref id="scirp.111140-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Duran, O., Althoefer, K. and Seneviratne, L.D. (2002) Automated Sewer Pipe Inspection through Image Processing. Proceedings of the 2002 IEEE International Conference on Robotics and Automation, Washington DC, 11-15 May 2002, 2551-2556.  
https://doi.org/10.1109/ROBOT.2002.1013615</mixed-citation></ref><ref id="scirp.111140-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Kingajay, M. and Jitson, T. (2008) Real-Time Laser Monitoring Based on Pipe Detective Operation. Proceedings of the World Academy of Science, Engineering and Technology, 44, 127-132.</mixed-citation></ref><ref id="scirp.111140-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Duran, O., Althoefer, K. and Seneviratne, L.D. (2007) Automated Pipe Defect Detection and Categorization Using Camera/Laser-Based Profiler and Artificial Neural Network. IEEE Transactions on Automation Science and Engineering, 4, 118-126.  
https://doi.org/10.1109/TASE.2006.873225</mixed-citation></ref><ref id="scirp.111140-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Safizadeh, M.S. and Azizzadeh, T. (2012) Corrosion Detection of Internal Pipeline Using NDT Optical Inspection System. NDT &amp; E International, 52, 144-148.  
https://doi.org/10.1016/j.ndteint.2012.07.008</mixed-citation></ref><ref id="scirp.111140-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Duran, O., Althoefer, K. and Seneviratne, L.D. (2003) Pipe Inspection Using a Laser- Based Transducer and Automated Analysis Techniques. IEEE/ASME Transactions on Mechatronics, 8, 401-409. https://doi.org/10.1109/TMECH.2003.816809</mixed-citation></ref><ref id="scirp.111140-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Duran, O., Althoefer, K. and Seneviratne, L.D. (2004) Laser Profiler Model for Robot- Based Pipe Inspection. Proceedings of World Automation Congress, Seville, 28 June 2004, 353-358.</mixed-citation></ref><ref id="scirp.111140-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Liu, W., Zhou, J., Ma, Y., Wang, J. and Xu, J. (2017) Fabrication of PLA filaments and Its Printable Performance. IOP Conference Series: Materials Science and Engineering, 275, Article ID: 012033. https://doi.org/10.1088/1757-899X/275/1/012033</mixed-citation></ref><ref id="scirp.111140-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Farah, S., Anderson, D.G. and Langer, R. (2016) Physical and Mechanical Properties of PLA, and Their Functions in Widespread Applications—A Comprehensive Review. Advanced Drug Delivery Reviews, 107, 367-392.  
https://doi.org/10.1016/j.addr.2016.06.012</mixed-citation></ref><ref id="scirp.111140-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Tymrak, B.M., Kreiger, M. and Pearce, J.M. (2014) Mechanical Properties of Components Fabricated with Open-Source 3-D Printers under Realistic Environmental Conditions. Materials &amp; Design, 58, 242-246.  
https://doi.org/10.1016/j.matdes.2014.02.038</mixed-citation></ref><ref id="scirp.111140-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Eutionnat-Diffo, P.A., Chen, Y., Guan, J., Cayla, A., Campagne, C., Zeng, X. and Nierstrasz, V. (2019) Stress, Strain and Deformation of Poly-Lactic Acid Filament Deposited onto Polyethylene Terephthalate Woven Fabric through 3D Printing Process. Scientific Reports, 9, Article No. 14333.  
https://doi.org/10.1038/s41598-019-50832-7</mixed-citation></ref><ref id="scirp.111140-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Tamura, Y., Kanai, I., Yamada, K. and Lim, H.O. (2016) Development of Pipe Inspection Robot Using Ring-Type Laser. 2016 16th International Conference on Control, Automation and Systems (ICCAS), Gyeongju, 16-19 October 2016, 211-214.  
https://doi.org/10.1109/ICCAS.2016.7832323</mixed-citation></ref><ref id="scirp.111140-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">Khalifa, I., Aboutabl, A.E. and Barakat, G.S. (2013) A New Image-Based Model for Predicting Cracks in Sewer Pipes. Editorial Preface, 4, 65-71.  
https://doi.org/10.14569/IJACSA.2013.041210</mixed-citation></ref></ref-list></back></article>