1 Introduction

Over the last decade, the availability of a wide-range of electrochemical techniques and associated equipment provides the present day corrosion engineers with the means to monitor corrosion on-line and in real-time, which were unimaginable just a few years ago. The injection of corrosion inhibitors is a standard practice in oil and gas production systems to control internal corrosion of carbon steel structures. This strategy has shown to be a very successful and cost effective procedure [1]. The selection of chemical treatments for a specific application field would typically undergo a rigorously programmed analysis, followed by a technical field assessment. A traditional and widely accepted standard of corrosion monitoring is the evaluation of corrosion coupons. This method provides adequate information on average mass loss rates and identifies the extent and distribution of corrosion. However, one of the biggest drawbacks with regard to this method is that it only provides time average data and it cannot be used for real-time or on-line corrosion monitoring. The importance of on-line corrosion monitoring is recognized because a large number of electrochemical techniques are being adopted, and other new techniques are being explored as well. After the coupon method, the most accepted techniques for the assessment of corrosion monitoring behavior are usually linear polarization resistance (LPR) and electrical resistance (ER) methods [2]. It is recognized that, there are limitations in the selection of chemicals simply on the basis of LPR results.

Wider possibilities of chemical selection are provided by the use of electrochemical techniques based on nonlinear measurements. Harmonic analysis (HA) is based on perturbation with AC signal and the analysis of the nonlinear response in the frequency domain. This allows for the extraction of the required kinetic parameters from the corrosion process. The analysis of the harmonics of the current response affords the possibility of obtaining the corrosion rate and both the anodic and the cathodic Tafel parameters within one measurement [3]. HA and LPR techniques perform well in aqueous-conducting environments, when general corrosion is occurring. The main advantage of HA is that the measurement of the corrosion rate does not employ presumed or estimated values from Tafel slopes. Measurements can be performed in a fraction of time in comparison with conventional methods. HA has been applied in various studies of corrosion and under a variety of conditions [46]. Electrochemical noise (EN) performs well not only in aqueous environments, but also in mixed phases like hydrocarbon and low conductivity environments, in either stable or unstable conditions. EN monitoring obtains real-time corrosion data, which provides information of both the level of corrosion activity for a particular system and the dominant corrosion mechanism [79]. Thus, EN can be used for screening and efficiency evaluation of corrosion inhibitors, and for the optimization of the injection rates (batch or continuous) [10, 11]. The pitting factor and higher order statistical measures (skew and kurtosis) are potentially applicable for corrosion monitoring. Papavinasam et al. [12] obtained information on pitting corrosion by using three methods: pitting index, pitting factor, and pit indicator. Their results indicated that the correlation between pit indicator and observed pits was higher than those between pitting index and pitting function. The coefficient of current variation (CV) and localization index (LI) have been experimentally related to corrosion mechanism, with large values of CV and/or LI being suggested as indicators of localized corrosion, although these parameters have serious theoretical limitations [13, 14]. More recently, Sanchez-Amaya et al. reported that neither the CV nor the LI could distinguish properly between the different corrosion mechanisms [15]. Barr et al. [11] found a good correlation between kurtosis values and inhibitor concentration. However, further research is necessary to clarify the significance of these parameters. Although electrochemical techniques such as EN and HA continue to gain wider acceptance within the corrosion monitoring and plant operation communities, deeper analysis and interpretation of obtained results from the electrochemical techniques are needed to acquire a better understanding of the corrosion parameters significance.

The present research was carried out to ascertain whether the combination of LPR, HA, and EN and statistical parameters such as skew and kurtosis are suitable for the study of corrosion inhibitors, performance in various conditions, i.e., in the absence and the presence of hydrocarbons in brine solutions.

2 Experimental procedure

In this study, corrosion-monitoring analysis was conducted using real-time multi-technique electrochemical corrosion measurement equipment (SmartCET).Footnote 1 The instrumentation applies an automated data acquisition sequence using three electrochemical corrosion measurement techniques (LPR, HA, and EN) and also provides parameters which describe the rate and the mode of the corrosion processes in real operating environments.

LPR may be measured by a number of methods. Typically, LPR monitoring involves the measurement of the polarization resistance, Rp, of a corroding electrode using small amplitude (≈ 25 mV) sinusoidal polarization of the electrode. For such a relatively small amplitude voltage, Meszaros et al. suggest that the expected error in corresponding HA measurements is about 10% [4]. The slope of the potential/current sweep is measured to provide the polarization resistance, which is inversely proportional to the corrosion current density. Stern and Geary [16] noted that the voltage–current response of the corroding electrode tends to be linear over a small range of potential at either side of the free corrosion potential. The B value is generally taken to be in the range of 26–30 mV for most metal/environment systems and is regarded by most suppliers of LPR instrumentation to be a constant; this parameter is configured into the instrument at the factory. However, the B value is not a constant value for all systems and can vary even within a system subject to changes, i.e., changes in temperature, flow, chemistry in the case of chemical processes and chemical treatment, and so on. Ideally, for accurate corrosion rate measurements, a variable B value should be used.

The HA is a measure of the nonlinear current distortion, arising during the LPR measurement. The HA uses 10 mHz sine wave (50 mV peak-to-peak) and analyzes for current signals at 10, 20, and 30 mHz. The HA technique is capable of determining a corrosion current from the harmonic currents, along with Tafel slopes, allowing for a reliable determination of the corrosion rate, as opposed to LPR that often employs assumed values for the Tafel slopes [6]. In order to provide a measurement of the corrosion current, and to provide an on-line calculation of the Tafel and Stern-Geary constants, the data are analyzed using fast Fourier transform analysis.

The EN refers to the fluctuations in current and potential that occurs on the surface of a metal at free corrosion potential. A parameter known as pitting factor (PF) was derived from EN and HA data. Typically, it has a value between zero and one. As the value approaches one, the system will get into a pitting regime. However, when values approach zero, the system falls into a uniform corrosion regime. PF is defined as [17]:

$$ {\text{PF}} = \left( {i_{\text{EN}} } \right)/\left( {A_{\text{WE}} i_{\text{HA}} } \right) $$
(1)

where i EN is the standard deviation of current (determined by EN), A WE is the electrode surface area, cm2, and i HA is the corrosion current density from harmonic analysis, A/cm2

2.1 Electrodes

All the electrochemical corrosion tests were performed using a three-identical-electrode arrangement each one with ~9 cm2 of area. All the electrodes were made of 1018 mild steel. Before testing, the electrodes were abraded with 600 silicon carbide grit paper, and then cleaned with alcohol and acetone, followed by rinsing with distilled water, and drying under a stream of hot air.

2.2 Test solutions

Six types of commercial imidazolines as corrosion inhibitors were used in this study (see Table 1). The inhibitors are as follows: hydroxyethyl imidazolines (HEI-18I, HEI-12, and HEI-18), amino-ethyl imidazolines (AEI-18a and AEI-18b), and amido-ethyl imidazoline (AMEI-18) procured from Lakeland Laboratories, UK. The inhibitors were dissolved in a 10% v/v 2-propanol solution, and the inhibitor concentration used was 20 ppm, in all cases.

Table 1 Various imidazoline types used in the present study

For the sake of comparison, two solutions were used: solution S1, which is a 3 wt% NaCl aqueous solution, and solution S2 which is a mixture of 90 vol% of the solution S1 plus 10 vol% diesel. The solutions were saturated with CO2 for 2 h before testing and kept under a CO2 atmosphere during testing. For the experiments, the cell temperature was kept constant at 50 ± 2°C. The pH of both the solutions was = 4.2. The solutions were stirred continuously. The working electrode was kept in the electrolyte for 2 h before any inhibitor containing the solution was introduced. A scanning electron microscope (SEM) JEOL JSM-6400 was also employed to observe the surface morphology on selected specimens.

3 Results and discussion

3.1 LPR/HA results

Figure 1a and b shows the variations in corrosion rate, CR, estimated from LPR data with time for electrodes exposed to the solutions S1 and S2 plus the various inhibitors, respectively. In both cases, after 2 h of exposure, the inhibitors were added. real-time monitoring was carried out for 1,200 min (20 h). For the solution S1 plus inhibitors, Fig. 1a shows that the corrosion rates fall rapidly within the first 5–20 min after the inhibitors were added. After the first 20 min, the corrosion rates decrease slowly in an exponential form and after 1,200 min, the corrosion rate is minute (approaching zero) for the AEI-18a, AEI-18b, and HEI-18I inhibitors and with a value of about 0.375 mm/year in the case of HEI-18 and AMEI-18 inhibitors.

Fig. 1
figure 1

Variations of corrosion rate as determined by LPR measurements with time for 1018 carbon steel exposed to a 3% NaCl, and b 3% NaCl + diesel solution with the different types of imidazolines

Interestingly enough, the HEI-12 hydroxyethyl imidazoline is the most hydrophilic of all the evaluated molecules. Its efficiency was not the best in solution S1. This might indicate the influence of the carbon chain for this kind of molecule as reported previously [18]. It can also be noted that only in solution S1, the CR remains stable most of the time with a slight tendency to increase at above about 1,000 min.

The presence of an oil phase (solution S2) produced a dramatic and sharp decrease in CR after the addition of the inhibitors in comparison with solution S1, as seen in Fig. 1a and b. In solution S2 plus inhibitors, CR values decreased below 0.025 mm/year: 7 min after the addition of the inhibitor in the case of AEI-18a, after 14 min for AMEI-18's, and after 21 min for the inhibitor AEI-18b. In this case, it is important to note that the SmarCET equipment takes data cycle readings every 7 min. Because the HEI-18I, HEI-12, and HEI-18 compounds are the most hydrophilic of the various imidazolines used, it takes more time to obtain CR values below 0.025 mm/year.

Figure 2a and b shows the variations in corrosion rate, CR, estimated from HA data with time for electrodes exposed to solutions S1 and S2 plus the various inhibitors, respectively. The corrosion rates obtained by the HA technique followed a similar trend to those obtained by LPR, although these can appear noisy. It is important to observe that the CR values estimated from HA are generally less than half of the obtained values by LPR. The calculation was made by using estimated values of anodic and cathodic Tafel slopes, obtained from the HA technique in online analysis. In order to make the calculation of CR from LPR measurements, predetermined anodic and cathodic Tafel slopes of 120 mV value were used.

Fig. 2
figure 2

Variation of corrosion rate as determined by HA measurements with time for 1018 carbon steel exposed to a 3% NaCl, and b 3% NaCl + diesel solution with the different types of imidazolines

The results demonstrated an interaction of the hydrocarbon phase with the inhibitor film, improving the hydrophobic properties and the adhesion of this inhibitor film, as demonstrated with measurements of electrochemical impedance spectroscopy by Villamizar et al. [19, 20]. It is worthy to note that the addition of the imidazolines into the oil phase tends to produce a dispersion of the brine–oil mixture because of the surfactant properties of these type of molecules; perhaps being lemulsified hydrocarbon-inhibitor drops, instead of being desorbed and divided in the oil phase, they were adsorbed on the metallic surface.

3.2 PF from EN and HA measurements

Figures 3 and 4 show the PF obtained from EN and HA data for solutions S1 and S2 plus the addition of the various inhibitors, respectively. During the first few minutes after immersion of the electrodes in both solutions without inhibitors, PF values in the range of 0.01–0.001 were recorded, and these values decreased with time to constant values below 0.001 after 30-min immersion. According to the literature [21], these PF values correspond to a general corrosion mechanism. However, during the first few minutes after the addition of inhibitors, the PF values showed a sharp increment, reaching greater values than those obtained only for the solutions S1 and S2, as are depicted in Figs. 3 and 4, respectively. In the solution S1 and shortly after addition, only the inhibitors HEI-18I and AEI-18a showed PF values greater than 0.1. For the solution S2, the addition of inhibitors produced an increment of the PF values in the range of 0.1–5, with the exception of the hydroxyethyl imidazoline HEI-18I, for which values below 0.1 were recorded. Overall, the addition of various types of imidazolines produced an increase in PF values. It is particularly interesting to note that in the solution S1, the addition of the AEI-18a inhibitor gave PF values closely to and above one, from 600 min to 1,000 min of monitoring time. These PF values suggested that, a pitting-like process might be occurring at the electrode surface. A similar observation can be noted for compounds AEI-18a and AMEI-18 added to the solution S2. Thus, to assess the possibility of finding localized corrosion at the surface of the electrodes at the end of the monitoring time, specimens exposed to the aforementioned inhibitors in both the solutions were observed under the scanning electron microscope. No evidence of localized corrosion could be observed, seen in Figs. 5 and 6. Thus, the following question arises: Why do the values of PF approach to a value of one and above? Two possible explanations for this could be: (1) because HA measurements are quite noisy under these conditions, and (2) the corrosion currents are too low, or fluctuate around zero. In such a case, the PF values would erroneously indicate a localized corrosion process. Therefore, special care should be taken when applying this parameter in a corroding system with addition of inhibitors.

Fig. 3
figure 3

Analysis of PF data with time for 1018 carbon steel exposed to 3% NaCl solution with different types of imidazolines

Fig. 4
figure 4

Analysis of PF data with time for 1018 carbon steel exposed to 3% NaCl + diesel solution with different types of imidazolines

Fig. 5
figure 5

SEM micrograph in plan of the surface of a specimen after exposure to 3% NaCl solution with AEI-18a inhibitor

Fig. 6
figure 6

SEM micrograph in plan of the surface of a specimen after exposure to 3% NaCl + diesel solution with AEI-18a inhibitor

3.3 Skew/kurtosis

Other parameters such as skew (or skewness) and kurtosis have been proposed as an alternative for studying corrosion processes [2225]. However, these properties appear to be influenced by the nature and the frequency of transient corrosion events [26]. Skew and kurtosis are non-dimensional distributions of the EN data [27, 28]. For the skew distribution, a value of zero implies that the distribution is symmetric about the mean; a negative skew implies that there is a tail in the negative direction, and a positive skew implies that there is a tail in the positive direction. For samples taken from a normal distribution (in which the expected skew is zero) the expected standard deviation of the measured skew will be approximately \( \sqrt {{6 \mathord{\left/ {\vphantom {6 N}} \right. \kern-\nulldelimiterspace} N}} \), where N, is the number of points in the recording time. The kurtosis of a distribution is a measure of its flatness. A kurtosis of zero implies that the distribution has a shape similar to the normal distribution. A positive kurtosis implies a more spiky distribution, whereas a negative kurtosis implies a flatter distribution. Kurtosis has a standard deviation considerably larger than the standard deviation of the skew, i.e., \( \sqrt {{{24} \mathord{\left/ {\vphantom {{24} N}} \right. \kern-\nulldelimiterspace} N}} \).

Figures 7, 8, 9, and 10 show the values of the skew of current and skew of potential skew derived from the on-line monitoring in the solutions S1 and S2 and with addition of the various inhibitors. The results for the solution S1, with and without inhibitor addition, indicate that for the skew, in both, current and potential (Figs. 7 and 8), the measurements show some asymmetry from the average value. For the solution S2 and the various inhibitors, Figs. 9 and 10 show that the values of the skew, in both, current and potential, disclosed larger asymmetry, i.e., larger potential and current fluctuations in both positive and negative directions, as compared with the solution S1. However, it must be taken into account that the calculated standard deviation of skew is for a number of 300 points (data registered by the SmartCET equipment) and if we consider that a different value from zero is three times the standard deviation value, then only greater values than 0.42 will indicate asymmetry of the signal. Through this, the signal distribution in the solutions S1 and S2 could be considered symmetric or normal with respect to the media. A particular case is shown by inhibitor AEI-18b, in which the current skew values as a function of time increase (Fig. 7), with no feasible explanation at this stage. The addition of inhibitors into the solutions S1 and S2 produces greater fluctuations of the skew, in both the current and the potential, in particular for the solution S2. Thus, the skew shows a somewhat similar trend to the one found with the PF (Fig. 12).

Fig. 7
figure 7

Dependence of skew of current as a function of time for 1018 carbon steel exposed to 3% NaCl solution with different types of imidazolines

Fig. 8
figure 8

Dependence of skew of potential as a function of time for 1018 carbon steel exposed to 3% NaCl solution with different types of imidazolines

Fig. 9
figure 9

Dependence of skew of current as a function of time for 1018 carbon steel exposed to 3% NaCl + diesel solution with different types of imidazolines

Fig. 10
figure 10

Dependence of skew of potential as a function of time for 1018 carbon steel exposed to 3% NaCl + diesel solution with different types of imidazolines

The values of kurtosis, in both current and potential, recorded from on-line monitoring in the solutions S1 and S2 and the various inhibitors, are shown in Figs. 11, 12, 13, and 14. In most cases, the measurements in the absence of inhibitors disclosed values around five, which indicate normal distributions, and which can be associated with a uniform corrosion process. It is important to point out, that in this context, the kurtosis standard deviation (0.84) is twice as that of the skew standard deviation (0.42). The addition of imidazolines in both the solutions leads to variations in the current and the potential kurtosis values, with larger fluctuations (high and low values) in the case of the solution S2, i.e., brine plus oil phase. As with the skew and PF, kurtosis did not show a correlation with the corrosion process observed in this study, which, according to SEM observations, seems to be of uniform nature. In their research of parameter maps (derived from EN) as a technique to discriminate the type of corrosion, Al-Mazeedi and Cottis [29] found that standard deviations of the current and the potential are able to achieve this discrimination, whereas skew and kurtosis do not provide useful discrimination. Nagiub and Mansfeld [30] studied the corrosion behavior of brass with various inhibitors exposed to 3% NaCl and artificial sea water using electrochemical impedance spectroscopy (EIS) and EN. They found that the skew and kurtosis data were very similar in the absence or the presence of inhibitors, whereas the LI did not provide information regarding the corrosion mechanism.

Fig. 11
figure 11

Dependence of current kurtosis as a function of time for 1018 carbon steel exposed to 3% NaCl solution with different types of imidazolines

Fig. 12
figure 12

Dependence of potential kurtosis as a function of time for 1018 carbon steel exposed to 3% NaCl solution with different types of imidazolines

Fig. 13
figure 13

Dependence of current kurtosis as a function of time for 1018 carbon steel exposed to 3% NaCl + diesel solution with different types of imidazolines

Fig. 14
figure 14

Dependence of potential kurtosis as a function of time for 1018 carbon steel exposed to 3% NaCl + diesel solution with different types of imidazolines

A possible explanation of the high values of parameters such as potential skew and potential kurtosis, could be that these parameters are influenced by the surface polarization of the working electrode, more than the corrosion activities of the solutions, i.e., an inhibited or passive electrode becomes easier to polarize than the one in active condition. Thus, small current fluctuations can lead to higher potential fluctuations, as those recorded in the present research. It is also worthy to note that the skew and the kurtosis can be affected by a possible DC trend from the studied signal. If this trend exists, then it cannot be eliminated because the software processes online data without storing it. It has been recognized that parameters such as skew and kurtosis could give useful indications of the occurrence of localized corrosion for well-defined laboratory conditions [28, 30, 31]. However, under the experimental conditions of the present study, the skew and kurtosis did not show a correlation with the corrosion process observed in this study.

4 Conclusions

  1. 1.

    The results from this study indicate good reliability when different techniques are coupled, i.e., LPR and HA, as a promising method for corrosion rate monitoring, showing fast response in real-time to small changes in the chemistry of the environment (with or without inhibitors). This allows the acquisition of a number of CR measurements over a short period of time, increasing the reliability and confidence from the data obtained.

  2. 2.

    Traditional LPR technique provides the clearest response and smaller scattering of data in contrast with the more recent HA technique.

  3. 3.

    When assessing inhibitors performance, the values from the PF parameter would erroneously indicate a localized corrosion process. Therefore, special care should be taken when applying this parameter into a corroding system with addition of inhibitors.

  4. 4.

    Statistical parameters such as skew and kurtosis did not show a correlation with the corrosion process observed in this study, at least for the experimental conditions of the present study.