Abstract

Wax deposition detection in nonmetallic pipelines is an important requirement in the oil industry. In this paper, an ECT (electrical capacitance tomography) sensor is developed for wax deposition detection in nonmetallic pipelines. Four wax models with different concentrations were established for detection. These models were analyzed through simulations and practical experiments simultaneously and data were compared. A linear back projection algorithm is applied to reconstruct the image with both simulated and experimental data. A comparison of binary images with different concentration of stratified flow was demonstrated; this illustrates that the difference in concentration between the experimental results and profile distribution is less than 1.2%. The experimental results indicate that the ECT system is valid and feasible for detecting the degree of wax deposition in the nonmetallic pipelines.

1. Introduction

Heat and pressure are widely used in oil and gas pipeline transmission to reduce the viscosity of crude oil and the deposition of wax. However, due to difference in radial temperature, radiation loss occurs rapidly. The wax is gradually separated out and deposited on the pipe wall, which can lead to condensate tube accidents [1]. The situation is more serious in China, as the crude oil produced in China has several distinguishing characteristics, such as high waxy distillate and low temperature viscosity. Therefore, it is important and necessary to develop a technique that can detect the deposition degree of wax inside the pipe. With consideration to the operating environment of the pipeline, as well as the cost of detection, for practical application, nondestructive-based techniques are highly recommended. Many nondestructive techniques have achieved some degree of success in the pipeline detection field, for instance, the eddy current testing method [2, 3], ultrasonic-based technique [410], radiological image method [11], and magnetic flux leakage detection method [1214]. However, most of these techniques are applied to detect pipeline defects, and it is difficult to detect the sediment (i.e., paraffin wax) of the pipeline by using the above technologies, due to various reasons.

The detection of wax deposition in the pipeline is essentially a multiphase detection, which is composed of the wax layer, oil layer, and gas. ECT (electrical capacitance tomography) is a visual procession from measurement capacitance to object distribution. The method is a noninvasive and nondestructive technique. An ECT sensor is a typical “soft” field sensor, which means that the Electromagnetic (EM) field propagates across the entire probed volume, as shown in Figure 1. The measurement at the volume surface depends on the values of the measured quantity everywhere in the volume.

The related research began in the 1980s at the University of Manchester and, from hardware, image construction algorithms to sensor design has made considerable progress [1521]. Johansen et al. developed a dual sensor system consisting of an 8-electrode ECT sensor and -ray sensor. The new system was applied to reconstruct the image of oil-gas-water three-phase flow [22]. Dyakowski et al., based on this sensor structure, presented an image reconstruction algorithm, which can be used to evaluate the concentration of a measured cross-section [23]. Schmitz and Mewes applied the ECT to the chemical industry, and the system was used to detect the transient multiphase flow in bubble columns [24]. In 2010, Yang introduced an application that used an ECT sensor to analyze the drying, pellets, and coating process of pharmaceutical fluidized beds [25]. Ismail et al. applied the ECT to the oil and gas separation process in the oil industry to determine the concentration and flow rate of each stage [26]. Al Hosani et al. suggested to use a narrowband pass filter to enhance the resolution of the produced images; the experimental results indicated that the method can improve the resolution of reconstruction images [27].

Sensor optimization is an important part of the ECT system. Xie et al. presented a uniformity of sensitivity distribution as an evaluation criterion to determine the performance of the ECT sensor [28]. Peng et al. analyzed the influence of electrode length on sensitivity distribution of the ECT sensor. The results showed that the electrode length of the ECT sensor should be at least equal to the width of the sensor electrode [29]. In 2012, Peng et al. discussed the influence of the number of the ECT sensor electrodes on the quality of image reconstruction and recommended that the number of electrodes be 12 [30]. Ren et al. presented a new algorithm to reconstruct the three-dimensional inclusion shapes; the method is valid and effective [31].

The purpose of the present paper is to develop an ECT system for wax deposition detection of a nonmetallic pipeline. The optimal sensor structure is determined based on our previous research [32]. An ECT system is demonstrated in the experimental part, and the feasibility of the system is verified based on a comparison of the reconstructed images according to simulation and experimental results.

2. Methodology

2.1. Wax Models

In the long-range transportation process, the temperature of the crude oil decreases and wax deposition occurs due to the thermal radiation. The permittivity of wax is 1.9~2.5. The wax is deposited on the inner wall of the pipeline, and the structure could be simplified as a stratified flow pattern in a laboratory environment. A series of wax deposition models is built and the cross-sections are shown in Figure 2. Note that the last model of Figure 2 is a special model, namely, heteromorphous flow. In order to further clarify the different structures of the wax, is defined as concentration. Note that (1) is valid for 2D problems:where is the area of wax and refers to the area of sensing area, that is, the cross-section of the pipeline.

2.2. Setup of Measurement System

The ECT sensor electrodes consist of copper, and earthed shielding plates are placed around the sensor electrodes. The measurement system and the sensor structure are shown in Figure 3.

The shielding wire and BNC joints are used to prevent interference. In this study, the pipe consists of PVC material. The end guarding plate consists of copper, and the earthed shielding plate consists of aluminum. According to our previous research [32], the parameters of the ECT sensor are determined as listed in Table 1: is the number of electrodes; refers to the central angle of the electrodes; and , , and are the radii of the pipe’s interior and exterior and the radius of the earthed shielding plate, respectively. represents the length of the sensor electrodes. The width of the end guarding plate is , and the distance between the end guarding plate and sensor electrode is defined as .

3. Results and Discussion

The practical stratified models are shown in Figure 4, and the concentrations u of the deposited wax are 11%, 18.5%, 52.2%, and 62.5%, respectively. In order to calibrate the measurement results, two more situations should be considered, namely, those for an empty pipe and a pipe full of wax. Moreover, simulation and practical experiments are processed and analyzed simultaneously, presented, respectively, as and . The results are listed in Table 2. The simulation model is 3D model; FEM (finite element method) is used to analyze the sensitivity distribution. The conditions of simulation models are the same as practical models. However, because the electrostatic module is applied, the frequency of excitation is not considered during simulation.

In order to illustrate the comparison results more intuitively, the normalized capacitances are calculated according to (2), and the results are shown in Figure 5. Consider where norC is the normalized value and and are measured capacitance filled with low dielectric constant and high permittivity materials, respectively. For example, in this study is the capacitance when the pipe is empty, and is the capacitance when the pipe is full of wax.

According to Figure 5, the following can be derived. The same tendencies for the measurement results from the simulation and experiments are observed. For regular stratified flow patterns, the difference of the two curves decreases with the increase of concentration , as shown in Figures 5(a)5(c). The reason for this comes from two aspects: (i) the sensitivity distribution of the ECT sensor which was nonuniform; the sensitivity close to the sensor electrodes was much higher than that in the center of the sensing area; (ii) the inaccurate forward modeling or the noise in measurements. Note that the difference of the two curves increases in Figure 5(d) compared with Figure 5(c), the reason for which is that a heteromorphous model affects the measurement results.

In order to examine the effects of the design factors, it was necessary to perform the image reconstructions. Large numbers of algorithms have been developed to derive reconstructed images over the past several decades, such as linear back projection (LBP), Landweber iteration, and the sparsity-inspired image reconstruction method. In [19], Yang and Peng have analyzed the characterizations of five image reconstruction algorithms and three criteria were used to evaluate the performance of reconstructed images:(1)relative image error,(2)relative capacitance residual,(3)correlation coefficient between the test object and the reconstruction.

Considerwhere is the true permittivity distribution of the test object, is the reconstructed permittivity distribution, and and are the mean values of and , respectively. is the normalized capacitance vector, represents the normalized sensitivity matrix, and refers to the number of pixels. According to [19], the image error and correlation coefficient of LBP are better than SVD and Tikhonov and worse than Iterative Tikhonov method. The capacitance residual of LBP is similar to Iterative Tikhonov and Projected Landweber, but worse than SVD and Tikhonov methods. Due to the fact that noniterative algorithms are typically used in practical applications and that the time consumption is less than in iterative algorithms, in order to simplify the comparison, the LBP algorithm is used to reconstruct the image [32]. Moreover, the LBP method is more suitable than iterative algorithms for dealing with stratified flow patterns. The reconstructed images are shown in Figure 6. Note that the images are based on the normalized data of the simulation and experiment data, separately. Figure 6(a) is a series of reconstructed images based on the simulation results, and Figure 6(b) is a series of reconstructed images based on the experimental results.

The imaging results of the experiments are consistent with the reconstructed images of the simulations, which signifies that the designed ECT system is valid and feasible. For different concentrations of the wax, the reconstructed images are varied. Especially for the heteromorphous flow pattern, the shape of the semicircular convex is difficult to identify. The boundary of the heteromorphous flow pattern is difficult to determine, and the stratified flow resembles an inclined plane. According to [19, 21], this issue could be solved in terms of two aspects, namely, algorithm improvement and ECT sensor optimization. In order to evaluate the validation of using reconstructed images to identify the concentration of the wax, threshold processing was completed, and binary images of different concentrations of stratified flow are presented and compared with the standard models. The threshold processing is based on adaptive threshold filtering method which was presented by Xie et al. [33] as shown in Figure 7.

In Figure 7, is the initial concentration, which can be determined via a nonthreshold imaging results and experience. In this study, we define , where is the number of pixels, represents standard binary image, refers to the number of pixels whose value is 1 in standard binary image, and represents the total number of pixels in standard binary image. The concentration increment and the initial value is set to 0, where ; represents number of pixels whose value is 1 in processed image and represents the total number of pixels in processed image. refers to threshold, and is the threshold increment whose initial value is set to 0. Taking the flow chart as an example, each iteration step increment is 0.0005; steps can be corrected according to the actual operation. Threshold is determined by the following equation:

The threshold value takes the minimum pixel value as a reference; the increment is the product of pixel value difference and threshold increment. In this paper, the threshold values are 0.705, 0.78, 0.38, and 0.395, respectively, for the four reconstructed images.

The binary images of different concentrations of stratified flows are shown in Figure 8, and the concentrations and correlation coefficients are listed in Table 3. The difference of concentrations between the standard models and reconstructed images is less than 1.2%, which indicates the validation of the ECT system. However, the definition of concentration is the ratio of wax deposition to the total sensing cross-section. It may be improper to evaluate the quality of reconstructed image. Therefore, the correlation coefficients of different models are listed in Table 3.

As we can see from Table 3, when concentration is 52.5% (model 3), the correlation coefficient is the best (98.01%). When the concentration is 11% and 18.5% (model 1 and model 2), the correlation coefficients are similar to each other and the quality of images is acceptable. However, when the concentration is 62.5% (model 4), the correlation coefficient is the worst (87.04%). The main reason is the limitation of the LBP algorithm which is not good at imaging of heteromorphous flow, especially for edge imaging.

4. Conclusions

For wax deposition detection in nonmetallic pipelines, the use of an ECT sensor was demonstrated. LBP algorithm was applied to reconstruct images. Four models were tested, and the reconstructed images showed that the sensor is feasible. However, due to the limitations of the algorithm, it was difficult to identify the special stratified model. The boundary of the heteromorphous flow pattern was recognized as an incline in the reconstructed images. For the concentrations of 11%, 18.5%, 52.5%, and 62.5%, the differences between the profile and reconstructed image were 1.2%, 0.7%, 0.47%, and 0.4%, respectively. The correlation coefficients between standard images and reconstructed images were 93.79%, 92.78%, 98.01%, and 87.04%, separately. This proves that the system designed in this paper can be applied to wax deposition detection of nonmetallic pipelines.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is financially supported by the National Natural Science Foundation of China (Grants nos. 51475013, 51505013, and 51405381).