1 Introduction

Aluminium has been around for centuries, but gained prominence in the last 50 years as a material of choice for sacrificial anodes in the protection of pipelines for transporting petroleum products. Aluminium also finds extensive usage in building storage tanks, concrete structures, bridges, aerospace and military hardware, engine components, ship hulls and platforms [1,2,3]. It’s preference has been mainly due to its low density, relative availability, excellent thermal properties, low specific weight, reasonable cost and a relatively high theoretical capacity of about 2980 Ahr/kg [2, 4]. Obtaining real-time information on the state of sacrificial anodes mounted on bridge structures is extremely needful to monitor and avoid the onset of corrosion which can result in failures and high fatalities. Several electrochemical techniques such as Potentiodynamic polarization, electrochemical impedance spectroscopy, weight loss method, electrochemical noise, and so on have been used to gain useful insights into the corrosion behaviour of aluminium anodes and other alloys in service [4,5,6,7]. Of all the techniques highlighted, electrochemical noise (ECN) presents unique advantages of been able to acquire mechanistic information about corrosion processes and types (uniform, localized or mixed) [8,9,10] during in situ monitoring of pipes with hard-to-reach areas [11], coatings [12], alloys for aerospace applications and composites [13,14,15,16], which may be difficult to obtain by other electrochemical techniques [17, 18]. It is a straightforward technique that does not require complex instrumentation like other measurement techniques and could be easily adapted for remote monitoring. However, the noise resistance and pitting index obtained from ECN can sometimes be unreliable and misleading in classifying the types of corrosion. To this end, several approaches have been used to further analyse ECN data such as statistical [12, 19], chaos [20, 21], wavelet analysis [15, 19, 22,23,24,25], recurrence plots and quantification analysis [26]. Recurrence plots (RP) are graphical techniques for nonlinear data analysis which is capable of revealing specific times when the phase space trajectory of the dynamical system visits roughly the same area in the phase space [24, 26]. This technique can be used for any time series since it requires no previous knowledge of the statistical properties of the series. The method of recurrence plots (RP) was first introduced by Eckmann et al. [27] to visualize the dynamics of phase space trajectories. The present paper demonstrates the analysis of ECN data using statistical and recurrence plots to study typical corrosion data for a sacrificial anode system and to find out hidden patterns, understand surface activities and classify the possible types of corrosion occurring on the anodes.

2 Experimental

2.1 Specimen Preparation

An aluminium anode (Al–2.5 wt% Zn) was produced from pure aluminium and zinc (> 99.75%) and used for the study. The chemical composition of the alloy was confirmed from optical emission spectroscopy (OES) shown in Table 1. The cut anode samples were heat treated at 150 °C for 1 h in a muffle furnace and subsequently quenched in water.

Table 1 Chemical composition of Al–Zn anode used in the study

2.2 Electrochemical Noise Measurements

ECN measurements were performed using a typical electrochemical cell consisting of two working Al–Zn electrodes and a silver/silver chloride reference electrode on an Ivium CompactStat Potentiostat controlled with a custom Ivium software. Insulated wires were attached to the working electrodes of identical areas (1.768 cm2) and covered with epoxy resin such that only one face of each sample was exposed. The surfaces were wet ground with 1000 grade SiC paper, washed thoroughly with distilled water and cleaned with acetone prior to testing. The test environment was 3 wt% NaCl buffered to pH 8 ± 0.3 using 0.5 M NaOH. All solutions were prepared from deionised water and analytical grade reagents. During ECN measurements, care was taken to ensure that the distance between all electrodes was consistent in each test. The tests were performed over a seven-day period beginning as the electrodes were immersed in the electrolyte. The current between the two working electrodes and the potential between the working electrodes and the reference electrode were simultaneously recorded at a frequency of 1 Hz (i.e., 1 point per second) for 1024 s which required 2n data points, with n usually being 8, 9, or 10 (i.e., 256, 512, or 1024) at various immersion times (24 h intervals). The experimental procedure is represented in Fig. 1.

Fig. 1
figure 1

Experimental procedure

2.3 Electrochemical Noise Analysis

2.3.1 Time Domain Analysis

The raw voltage and current (VI) signals were measured with a total of 1024 data points and a linear trend subtracted (to take care of potential and current drifts in the course of measurements) [10, 13]. The VI signals were used to ascertain the onset and progression of localized corrosion on the surface of the Al–Zn anodes.

The noise resistance was evaluated in the time domain from ohms law using;

$${R}_{n}= \frac{\sigma (v)}{\sigma (i)},$$
(1)

where \(\sigma (v\)) and \(\sigma \left(i\right)\) are the standard deviations of potential and current fluctuations of the raw VI values (the Rn was calculated by averaging).

2.3.2 Recurrence Plots

To understand the corrosion behaviour of the anode in the medium, the ECN (current) data were converted to a recurrence plot. In brief, a recurrence plot is a graphical representation of a square matrix, expressed as:

$$ R_{ij} = H(\varepsilon - ||x_{i} - x_{j} ||), $$
(2)

where Rij is the (i, j)th point in the recurrence plot, ε is predefined threshold value, xi, xj is measured ECN values (current for our study) at times i and j, and ||.|| is Euclidean distance between this pair of data points. H(.) is Heaviside function. This returns the value of one if the distance between xi and xj lies within the threshold. Otherwise, it will return zero.

A MATLAB toolbox developed by Yang [28] was used to generate the recurrence plots.

2.4 Metallographic Examination

The surfaces of the samples before and after ECN tests were examined using a scanning electron microscope (SEM, Tescan model) coupled with EDX, with an accelerating voltage of 20 kV, in the secondary electron mode.

3 Results and Discussion

3.1 Electrochemical Noise Data for HT and NHT Anodes

The raw electrochemical noise data are shown in Fig. 2a–f. Section records of raw voltage and current signal plots for the non-heat-treated (NHT) and heat-treated (HT) samples at the start of the experiment (day 0), day 3 and 7 are shown. From the raw data plots, we observe that the potential and current noise exhibited high-frequency fluctuations especially at the start of immersion. The potential noise had peak values of 2.94 mV, 4.77 mV and 2.79 mV for the NHT anode; 3.09 mV, 8.27 mV and 2.94 mV for the HT anode. The corresponding peak current values were 0.06 nA, − 1.004 nA and 252.52 nA for the NHT anode; 7621.31 nA, 9426.08 nA and 1208.96 nA for the HT anode. The potential intensities were observed to drop consistently as immersion time progressed for NHT and HT, respectively. The current values were higher for the HT anodes for the duration of the experiment. However, there was a sharp decline and then a gradual rise in the current values for HT anodes on the seventh day of immersion which could be attributed to formation of metastable pit. This behaviour has also been observed in a previous study by Ma et al. [29].

Fig. 2
figure 2

af Raw potential–current values from ECN test

From Fig. 3a, the NHT anodes had average noise resistance (Rn) of 30.27 × 105, 13.07 × 105, 2.12 × 105 Ω cm2 at the start, third and seventh day of immersion, respectively. Average Rn for the HT anodes was 1.2 × 103, 3 × 103 and 2 × 103 Ω cm2 at the start, third and seventh day of immersion, respectively, as shown in Fig. 3b. This progressive decrease in noise resistance for the NHT anodes implied increasing dissolution activity on the anode surface as immersion time progressed. The significant drop (almost a 100% change) in the Rn for the HT anodes when compared to the NHT anodes indicates increased homogeneity in the alloy right from start of immersion. The Rn increased slightly probably due to the formation of a resistant thin film. Using a classification by Al-Mazeedi and Cottis [30], the obtained Rn for NHT anodes was greater than 105 Ω cm2 indicating passivation especially for the first 72 h of immersion which improved as immersion time progressed. The Rn for HT anodes was less than 105 Ω cm2 indicating uniform corrosion. The pitting or localization index (LI) for the Al–Zn anode was obtained from the acquired electrochemical noise data using an Ivium software. Figure 4 shows a combined plot of the pitting index (PI) versus time for the NHT and HT anode. Average PI of 0.0018, 0.00028 and 0.0021 was obtained at day 0, day 3 and day 7, respectively, for the NHT anodes. The average PI for the HT anodes was 0.0032, 0.0031 and 0.0029 at day 0, day 3 and day 7, respectively. The NHT anodes experienced a decrease between day 0 and day 3 and then an increase up till day 7. The HT anodes on the other hand showed a decreasing trend from the start to the end of the experiment. Using Eden and Rothwel’s classification [31], the average PI measured for the duration of the experiments was under 10−3 which indicated the system was predominantly uniform corrosion. Recurrence plots were used to further clarify the system behaviour.

Fig. 3
figure 3

a and b Average noise resistance for NHT and HT Al–Zn anode

Fig. 4
figure 4

Average pitting index for NHT and HT Al–Zn anode

3.2 Recurrence Plots (RPs) of HT and NHT Anodes

To understand how the non-heat-treated (NHT) and heat-treated (HT) anode behave in the solution, raw electrochemical current data were first divided into short segments. Each of the segments had 1024 data points, which was equivalent to a time frame of 512 s. After removing the linear trend of each measured current segment, recurrence plots were generated by applying a threshold of 0.5 to the distance matrices. Information about the dynamics of a time series is obtained from the line structure and point density on RPs. A homogeneous RP with no structure is typical of a stationary process such as white noise. RPs of oscillating systems have diagonal lines or checkerboard patterns. Vertical or horizontal lines in a RP signify the presence of laminarity or intermittency in the time series, whereas abrupt changes in dynamics as well as extreme events are characterized by white areas or bands [32]. The RPs show visually the changes in the dynamics of the system as immersion time progressed especially as the anode (NHT and HT) undergo dissolution, activation and passivation. The recurrence plots on Fig. 5a–f for day 0, 3 and 7 measured at 48 h intervals are presented here. The vertical and diagonal structures in the RPs from the NHT anodes display a decrease as immersion time progresses signifying a breakdown of the passivity on the anode surfaces. The presence of butterfly-like structures along the main diagonal (bisector) on the NHT anodes was an indication of dissolution activity. In this case, the start and end of an active dissolution correspond to the start and end of the formation of butterfly-like structure along the main diagonal. This butterfly pattern disappears towards the topmost edge. By day 7, the RP showed a predominantly linear structure indicating that the anodic dissolution activity tended towards been more stable and uniform. RPs for the HT anodes displayed a somewhat different trend as there was increased activity especially on day 3 (resembling a Brownian type motion) which could signal intense dissolution activities. This intense activity seemed to have disappeared by day 7 implying uniform corrosion activity. These results were in agreement with the noise resistance and pitting index obtained earlier.

Fig. 5
figure 5

Recurrence plots–NHT anodes (ac) and HT anodes (df)

3.3 Microstructural Study

Figure 6a–c shows the distribution of elements in the Al–Zn alloy prior to immersion and after ECN measurement. Fe appears as an impurity in the alloy with very low percentages. The EDS analysis of selected points on the surface revealed zinc depletion (point 1) on exposed surface and zinc rich areas (point 2) as the surfaces opened up during dissolution. From Table 2, high Oxygen percentages at point 1 also shows the accumulation of salt/water. Figure 7a–c shows signs of active dissolution on both surfaces of the electrode pair after the ECN tests.

Fig. 6
figure 6

a EDS before ECN test, b EDS after ECN test, and c EDS points after immersion test

Table 2 Elemental composition at points 1 and 2 for EDS after immersion
Fig. 7
figure 7

a SEM for Al–Zn anode before ECN test, b SEM for NHT anode after ECN test and c SEM for HT anode after ECN test

Figure 8a, b shows evidence of pitting on the NHT and HT anode surfaces at lower magnifications. The pitting on the NHT anode surfaces appears to be more severe and spread out more on the surface of the anodes. But on close examination using Image J software, we find that the pits on the NHT anodes measured 100–250 μm on the average, compared to the HT anodes where the pits measured as much as 600 μm. These wide variation could possibly be the reasons for the intense fluctuations observed from ECN tests.

Fig. 8
figure 8

a SEM for NHT anode after ECN test (× 100) and b SEM for HT anode after ECN test (× 100)

The pitting action on the anode surfaces can be explained using the reactions occurring on the surfaces. Briefly, the uniform corrosion of aluminium enables the formation of an Al2O3 passive film according to the following reaction:

$$ 2{\text{Al}} + 3{\text{H}}_{2} {\text{O}} \to {\text{Al}}_{2} {\text{O}}_{3} + 6{\text{H}}^{ + } + 6{\text{e}}^{ - } . $$
(3)

The Al2O3 film is not stable in water hence it becomes Al(OH)3 by hydration [33]. The oxide layer film is generally porous and allows Cl ions penetration where local breakdown of the passive film gives initiation of pits. This penetrations enables the formation of AlCl3 compound. On the other hand, the solubility of Zn in the aluminium matrix would result in the formation of Zn/Al galvanic cells on the anode surface [34]. However, zinc passivation will occur due to the formation of Zn(OH)2 and ZnO passive films. However, in the presence of sodium chloride, these film becomes porous by chloride penetration and forms zinc hydroxide chloride Zn5(OH)8Cl2.H2O [34]. A detailed schematic of the pitting process is presented in Fig. 9.

Fig. 9
figure 9

Schematic for pitting on Al–Zn anode surface

3.4 Future Work

This present paper demonstrates the ability to analyse corrosion data obtained from electrochemical noise experiments using statistical and recurrence plots for a sacrificial anode system. The incorporation of machine learning and fractal analysis will be explored in future studies to gain deeper insights into complex processes such as pit initiation and growth occurring on the anode surfaces.

4 Conclusions

In this paper, we have studied the behaviour of a non-heat-treated and heat-treated Al–Zn anode using ECN data obtained from corrosion studies. Time domain and recurrence quantification were used to analyse the ECN data. From the results obtained, the following conclusions can be made:

  • Noise resistance (Rn), pitting index (PI) and recurrence plots (RPs) can prove useful in identifying the onset of corrosion and dissolution activity on a sacrificial anode.

  • Heat treating the Al–Zn anodes helped reduce the noise resistance values obtained from ECN technique. A maximum of 12,000 Ω cm2 was obtained.

  • The recurrence plots showed distinct butterfly-like structures that indicated progressive dissolution activity on the anode surfaces

  • Scanning electron microscopy revealed dissolution activity on the anode surfaces.