Introduction

Steel corrosion is one of the main causes of structural degradation and failure in many areas, e.g., marine infrastructure, petrochemical plants, automotives, etc. According to the IMPACT study conducted by NACE International, the global cost of corrosion in 2013 was approximately US$2.5 trillion, equivalent to 3.4% of the global GDP1. Since a corrosion system would inevitably embody certain non-uniformity, e.g., unevenness in the surface and the composition of the electrode, spatial variations in the contents of the electrolyte solution, etc., localized corrosion, which would cause the different areas of an electrode to dissolve at different rates, often takes place. Compared with uniform corrosion, localized corrosion is much more difficult to predict and detect, and routinely leads to rapid deteriorations of structural integrity and pre-mature structural failures2. In order to enable the designing of safer structures against localized corrosion, much effort has been devoted to understanding the kinetics of localized corrosion3,4,5,6,7,8.

Localized corrosion essentially leads to 3D morphological changes that evolve with time. Therefore, an intuitive approach to studying the kinetics of localized corrosion would be to conduct in situ 3D monitoring of the morphologies of corrosion substrates during localized corrosion experiments. A number of in situ microscopic techniques that are derived from STM9,10,11,12, AFM13,14, confocal laser scanning microscopy15,16, optical microscopy17, etc. have been used to obtain direct observations of the morphological evolution processes of corrosion substrates. However, these techniques are not able to “see” through corrosion product layers, making them inapplicable in many real-life corrosion systems. In situ X-ray computed tomography (XCT) has shown considerable superiority in monitoring the morphologies of corrosion substrates18,19. However, the technique suffers from two major limitations: first, the X-rays employed are high-energy20,21 and therefore could impact the kinetics of corrosion reactions; more importantly, a single XCT measurement can take up to 10 s of minutes to complete22,23, rendering the technique incapable of capturing transient corrosion phenomena. Another class of techniques for realizing in situ 3D monitoring of the morphologies of corrosion substrates rely on acquiring the localized electrochemical properties of a substrate and converting the electrochemical information into morphological information based on certain empirical relationships. In this case, in situ electrochemical measurements are usually made by manipulating one of the electrodes of the corrosion system. For instance, a working electrode can be discretized into an array of electrically insulated wire beams, whose electrochemical properties are acquired individually24,25. However, in using a wire beam electrode, any discrepancy between the initial surface morphologies of the different beams would limit measurement accuracy26, and the fact that the working electrode is made up of several electrically insulated pieces could distort the corrosion process. Scanning electrochemical microscopy techniques, such as the scanning reference electrode technique and the scanning vibrating electrode technique27,28,29,30,31, instead make use of a moveable reference electrode to acquire the electrochemical properties of the different micro-sections of a working electrode. However, these techniques lack the ability to differentiate between Faradaic currents, which are induced by metal dissolution, and non-Faradaic currents, undermining the accuracy of the evaluation of corrosion rates.

To realize more in-depth studies on the kinetics of localized corrosion, a research tool that can monitor the morphologies of corrosion substrates in a direct, non-intrusive, and corrosion product-immune manner would be highly desirable. In our previous works, we introduced an ultrasonic technique that makes use of a single piezoelectric transducer element to monitor uniform corrosion processes32,33,34. The measurement resolution of the technique reaches 10 s nm and its accuracy was well validated by a number of independent methods. What’s more, it was shown that in the context of corrosion monitoring, ultrasound possesses many advantages over other diagnostic means. For instance, the conversion of ultrasonic signal features to morphological information is direct and does not require any assumption. Also, due to its extremely low energy level, ultrasound does not affect the kinetics of corrosion reactions. Furthermore, since in an experiment ultrasound will be injected from the non-working surface of the corrosion substrate, it will not be impeded by any corrosion product that deposits on the working surface of the substrate. However, the previously introduced technique cannot be used to study localized corrosion because it is only able to monitor the average thickness loss of a relatively large area of a corrosion substrate, lacking in-plane spatial resolution.

In this work, we introduce an ultrasonic technique that is able to monitor localized corrosion processes directly and non-intrusively and “see” through corrosion product layers. To construct a monitoring setup, a 2D multi-element piezoelectric transducer array is permanently attached to the non-working surface of a corrosion substrate. In a localized corrosion experiment, the transducer elements each track the thickness loss of one micro-section of the corrosion substrate. At any moment in time, the morphology of the entire corrosion substrate is obtained by interpolating the thickness losses of all the micro-sections. The lateral resolution of the proposed technique is customizable and related to the dimension of the transducer elements used, the frequency of the ultrasonic waves excited, and the thickness of the corrosion substrate used. Its axial resolution, on the other hand, was found to be as high as 100 nm. The proposed technique was utilized in a number of localized corrosion experiments that were performed using NAK80 steel substrates in a neutral NaCl solution. With the help of white light interferometry, the measurement accuracy of the proposed technique was carefully analyzed.

The proposed technique was further used to observe the corrosion processes of NAK80 steel under different pH levels. By taking into consideration multiple ultrasonic signal features, the proposed technique became capable of revealing simultaneously both the morphological evolution process of a corrosion substrate and the formation and destruction process of the corrosion product layer on the substrate. Such measurement capability, which has not been demonstrated by other techniques, was exploited in this work to carry out some preliminary but original studies on the effect of corrosion products on the kinetics of localized corrosion.

Results and discussion

Ultrasonic corrosion monitoring setup

Figure 1a shows the hardware of the proposed ultrasonic technique for monitoring localized corrosion. On one of the surfaces of a corrosion substrate, a 3D-printed corrosion chamber that is linked to an electrolyte reservoir is affixed by silicone rubber. Inside the corrosion chamber, a customized counter electrode that is connected to a DC power supply is embedded. On the non-working surface of the corrosion substrate, a 2D multi-element piezoelectric transducer array (PZT-5H, Kaiqing Optoelectronic Materials, China) is adhered to by epoxy resin. An inhouse robotic arm is employed to allow an arbitrary waveform generator (AWG)/oscilloscope unit (Handyscope HS5, TiePie Engineering, Netherlands) to connect to any of the transducer elements. Next to the transducer array, a resistance temperature detector (RTD) is glued on by thermally conductive epoxy resin. The RTD is connected to a resistance data logger (PT104, Pico Technology, UK).

Fig. 1: Overview of the proposed ultrasonic technique for monitoring localized corrosion.
figure 1

a A schematic diagram of the hardware. b The configurations of the piezoelectric transducer arrays and the corrosion substrates used in this work. c The three corrosion cells used in this work and the spatial distributions of the current fields that they would impose upon corrosion substrates.

In an experiment, electrolyte solution is circulated through the corrosion chamber and makes contact with the corrosion substrate. If necessary, the corrosion process can be accelerated by applying a DC across the corrosion substrate and the counter electrode. Meanwhile, the AWG/oscilloscope unit is AC-coupled with the transducer elements in a round-robin manner via the robotic arm, commanding each transducer element to generate an ultrasonic shear wave that propagates in the thickness direction of the corrosion substrate, and acquire the reflection off the working surface. The shear waves generated by the transducer elements each insonify a finite micro-section of the corrosion substrate. The instantaneous thickness (\({\rm{Th}}\)) of each insonified micro-section is calculated by

$${\rm{Th}}=\frac{V\left(T\right)\cdot \left({{\rm{ToA}}}_{2}-{{\rm{ToA}}}_{1}\right)}{2}$$
(1)

where \(V\left(T\right)\) is the temperature-dependent velocity of the shear wave excited, and \({{\rm{ToA}}}_{1}\) and \({{\rm{ToA}}}_{2}\) indicate the time-of-arrival’s of the first and the second reflected wavepackets in the reflection signal (see “Determination of reflected wavepacket time-of-arrival’s” section). After each round of signal generation and acquisition, the instantaneous morphology of the corrosion substrate is reconstructed by interpolating the instantaneous thicknesses of all the insonified micro-sections. Throughout the experiment, the RTD continuously records the temperature of the corrosion substrate in order to facilitate the determination of the velocities of the shear waves excited (see “Determination of shear wave velocities” section).

In this work, the corrosion substrates used were made from NAK80 steel (Daido Steel, Japan)35, whose chemical composition is provided in Table 1. To effectively capture the corrosion-induced morphologies of NAK80 steel, a millimeter-level lateral resolution would be necessary. By simulating the acoustic wavefields generated by piezoelectric elements in NAK80 steel using the Huygens’ Principle36 and the finite element method (FEM), it was determined that the piezoelectric transducer arrays and the corrosion substrates should most ideally adopt the configurations shown in Fig. 1b, which would give rise to a lateral resolution of 5 mm × 5 mm and a field of view (FoV) of 30 mm × 30 mm (see Supplementary Information). Generally speaking, the lateral resolution and the FoV of the proposed ultrasonic monitoring technique can be customized by adjusting the number of transducer elements used, the dimension of the transducer elements used, the frequency of the ultrasonic wave excited, and the thickness of the corrosion substrate used.

Table 1 The chemical composition of NAK80 steel.

In order to induce different morphological evolution processes in different localized corrosion experiments, three corrosion cells were employed as shown in Fig. 1c. The first corrosion cell consists of a cylindrical corrosion chamber (substrate/electrolyte contact area: 552 π mm2, height: 30 mm) and a carbon bar counter electrode (diameter: 3 mm, immersion length: 25 mm, electrode-to-substrate distance: 5 mm) that is fixed in the center of the corrosion chamber. The second corrosion cell consists of a rectangular corrosion chamber (substrate/electrolyte contact area: 60 × 60 mm2, height: 60 mm) and a couple of round copper plate counter electrodes (diameter: 2 mm, pitch: 21 mm, electrode-to-substrate distance: 10 mm) that are positioned around the center of the corrosion chamber along one of the diagonals. The third corrosion cell, which is also made up of a rectangular corrosion chamber (substrate/electrolyte contact area: 50 × 50 mm2, height: 15 mm), embodies a copper mesh counter electrode (width: 50 mm, height: 10 mm, electrode-to-substrate distance: 5 mm) that is mounted on one of the sidewalls of the corrosion chamber. Figure 1c displays the normalized current fields that the three corrosion cells would theoretically impose upon corrosion substrates under any applied DC (see “Numerical prediction of morphological evolution processes” section).

Impact of ultrasound on corrosion kinetics

Before conducting the core experiments of this work, additional experiments had been carried out with a view to verify that ultrasound does not affect the kinetics of corrosion reactions (see Supplementary Information).

Shear wave velocity vs. temperature relationships and axial resolution

Figure 2a and Supplementary Fig. 5 show the shear wave velocity vs. temperature relationships of all the insonified micro-sections of one of the corrosion substrates employed in this work. Expectedly, linearly decreasing trends are observed.

Fig. 2: From attainment of temperature-dependent shear wave velocities to evaluation of the axial resolution of the proposed ultrasonic monitoring technique.
figure 2

a The shear wave velocity vs. temperature relationship of one of the insonified micro-sections of one of the corrosion substrates used in this work. b The temperature variation of the corrosion substrate and the thickness reconstructions of the aforementioned insonified micro-section. c The standard deviations of the temperature-compensated thickness reconstructions of all the insonified micro-sections of the corrosion substrate.

The corrosion substrate retained a constant thickness throughout the experiment for obtaining shear wave velocity vs. temperature relationships. For each insonified micro-section of the corrosion substrate, its thicknesses at different time instants in the 24-hour experiment were also reconstructed from its shear wave velocities at different time instants, and the ToAs of the reflected wavepackets received at different time instants. As shown in Fig. 2b, if a constant shear wave velocity was used to reconstruct the thicknesses of an insonified micro-section at different time instants, the thickness reconstruction would drift with temperature. On the other hand, if temperature-compensated shear wave velocities were used, the thickness reconstruction would become much more stable. Figure 2c shows the distribution of the standard deviations of the temperature-compensated thickness reconstructions of all the insonified micro-sections of the corrosion substrate. The mean standard deviation, which reflects the axial resolution of the proposed ultrasonic monitoring technique, is 85 nm.

Morphological evolution process monitoring and measurement accuracy

Four localized corrosion experiments were conducted using the proposed ultrasonic monitoring technique. The details of the experiments are provided in Table 2. Before each experiment, the working surface of the corrosion substrate was ground and polished using a series of sandpapers with increasing fineness (grit sizes: 80–1500), and then cleaned with deionized water and ethanol. To execute the experiment, 500 mL of electrolyte solution, prepared from deionized water (conductivity: 18.2 MΩ cm @ 25 °C), was added to the electrolyte reservoir and circulated through the corrosion chamber. After the experiment, the working surface of the corrosion substrate was flushed by deionized water.

Table 2 The details of the four localized corrosion experiments that were conducted to demonstrate the capability of the proposed ultrasonic monitoring technique.

The morphological evolution processes that would occur under different applied DCs and different durations were predicted numerically (see “Numerical prediction of morphological evolution processes” section). The applied DCs and durations used in Experiments #1, #2, and #3 were determined based on the consideration that the three experiments would induce comparable minimum thickness losses within the FoVs of the transducer arrays. For each of these three experiments, the working surface of the corrosion substrate was scanned by an ex-situ 3D optical profiler (Nexview, Zygo, USA) both before the corrosion process had taken place and after the corrosion products had been washed away. By taking the difference between the two optical scans, an optical measurement of the end-state morphological change of the corrosion substrate was obtained.

In Fig. 3a, e, i, the ultrasonic reconstructions of the morphological evolution processes of the corrosion substrates CS-1, CS-2, and CS-3 are compared to the numerical predictions. While the general trends of the two types of data are in very good agreement, it can be inferred that the actual morphological changes, which should be more closely reflected by the ultrasonic reconstructions, were always more severe than the idealized scenarios, implying that the actual corrosion processes would have been more complex than simple iron dissolution (see “Impact of corrosion products on morphological evolution processes” section).

Fig. 3: Results from Experiments #1, #2, and #3.
figure 3

The ultrasonic reconstructions and the numerical predictions of the morphological evolution processes of a CS-1, e CS-2, and i CS-3. The ultrasonic reconstructions and the optical measurements of the end-state morphological changes of b CS-1, f CS-2, and j CS-3. The ultrasonic reconstructions and the optical measurements of the end-state cross-sections of c CS-1, g CS-2, and k CS-3. The ultrasonic reconstructions, the optical measurements, and the numerical predictions of the end-state thickness losses of d CS-1, h CS-2, and l CS-3.

In Fig. 3b, f, j, the ultrasonic reconstructions of the end-state morphological changes of CS-1, CS-2, and CS-3 are benchmarked against the optical measurements. As demonstrated by the cross-sectional views in Fig. 3c, g, k, the two types of measurement results, attained by different techniques, match reasonably well with each other, except at locations where the gradient of the surface is steep. The mismatches can be attributed to the fact that a non-flat surface will cause the waveform and the propagation path of the reflected wave to deviate from those of the incoming wave37,38.

Figure 3d, h, l compare, micro-section by micro-section, the ultrasonic reconstructions, the optical measurements, and the numerical predictions of the end-state morphological changes of CS-1, CS-2, and CS-3. Note that for each micro-section, the ultrasonic reconstruction is presented as a single-value thickness loss that was determined based on the ultrasonic signals acquired, whereas the optical measurement and the numerical prediction were each obtained by averaging over the optically measured or the numerically predicted thickness losses of all the points within the micro-section (see Supplementary Fig. 6 for the ultrasonic reconstruction and the numerical prediction of the thickness evolution process of each micro-section). Both the ultrasonic reconstructions and the optical measurements, which should closely resemble the actual morphological changes, suggest greater thickness losses than the numerical predictions do, further hinting at the complexity of the actual corrosion processes. The mean difference between the ultrasonic reconstructions and the optical measurements is 6.77%.

Figure 4a illustrates the ultrasonic reconstruction of the morphological evolution process of the corrosion substrate CS-4 (see Supplementary Fig. 7 for the ultrasonic reconstructions of the thickness evolution processes of all the insonified micro-sections). As observed in Fig. 4b, after Experiment #4, a dark corrosion product layer, which could not be flushed away by deionized water, remained firmly attached to the working surface of CS-4. The corrosion products were analyzed by XRD (SmartLab SE, Rigaku, Japan) and found to be typical corrosion-induced iron oxides, as shown in Fig. 4c. Owing to the presence of the corrosion product layer, a 3D optical measurement of the end-state morphological change of CS-4 could not be obtained. However, by comparing Fig. 4a, b, it can be seen that the ultrasonic reconstruction of the end-state morphological change agrees very well with the actual end-state morphological change, at least in the in-plane directions.

Fig. 4: Results from Experiment #4.
figure 4

a The ultrasonic reconstruction of the morphological evolution process of CS-4. b A photograph of the end-state morphological change of CS-4 (red rectangle: the FoV of the transducer array). c The XRD spectrum of the corrosion products on CS-4 and that of raw NAK80 steel.

CS-3 and CS-4 were subjected to the same applied current field (i.e., the same counter electrode and the same applied DC). However, the morphological change of CS-4 was much more localized, concentrated mainly in the high-current-density region. The highly localized nature of the corrosion process of CS-4 can be understood as follows. First of all, the corrosion resistance of a steel substrate will be higher in an alkaline environment than in a neutral environment. Since initiating corrosion under a higher corrosion resistance will require a higher current density and/or a longer time39, within the duration of Experiment #4, the corrosion initiation process of much of the low-current-density region of CS-4 would not have been completed. Furthermore, when a steel substrate corrodes, the corrosion products that are generated at a certain corrosion site could cause the corrosion resistance of the surrounding material to decrease40,41. Specifically speaking, β-FeOOH and γ-FeOOH could break down the passive film on the surrounding material and Fe3O4 could increase the electrical conductivity of the surrounding material. Compared with Experiment #3, Experiment #4, owing to its alkaline nature and as suggested by Fig. 4c, would have generated much more β-FeOOH, γ-FeOOH, and Fe3O4 at every corrosion site. As a result, the high-current-density region of CS-4 would have possessed a significantly higher tendency to corrode.

Impact of corrosion products on morphological evolution processes

The results of Experiments #1, #2, and #3 indicate that the actual morphological changes of the corrosion substrates were more severe than the numerical predictions. To understand the possible mechanism behind this observation, Experiment #3 was repeated using a different corrosion substrate (experiment ID: Experiment #3R, corrosion substrate ID: CS-3R), and the corrosion rates of all the insonified micro-sections of CS-3R were extracted from the corresponding real-time ultrasonic thickness loss measurements which are presented in Supplementary Fig. 8a. The insonified micro-sections of CS-3R are numbered according to the layout shown in Fig. 5a, whereby the ones next to the counter electrode are numbered #1 to #6 and those at the other end #31 to #36. For each insonified micro-section, while its numerically predicted corrosion rate is constant, its actual corrosion rate exhibited a transient surge, as demonstrated in Fig. 5b. What’s more, the closer to the working electrode an insonified micro-section is, the earlier in time the transient surge in its corrosion rate took place. It is worth mentioning that the fluctuation in corrosion rate that occurred at the beginning of the experiment can be attributed to the nature of corrosion initiation.

Fig. 5: Results from Experiment #3R.
figure 5

a The numbering of the insonified micro-sections of CS-3R. b The corrosion rates of all the insonified micro-sections of CS-3R (red ellipse: the transient surges and drops in corrosion rate). c The shear wave amplitude vs. temperature relationships of six representative insonified micro-sections of CS-3R. d The temperature-compensated peak amplitudes of the first reflected wavepackets that were received at the six representative insonified micro-sections of CS-3R. The corrosion rates of the six representative insonified micro-sections of CS-3R. (Shaded areas: the transient surges in corrosion rate and the transient drops in signal amplitude.) e The XRD spectrum of the precipitates in the residual electrolyte solution of Experiment #3R.

Figure 5c and Supplementary Fig. 8b show the shear wave amplitude vs. temperature relationships of all the insonified micro-sections of CS-3R. The data was actually derived from the measurements that were acquired during the experiment for obtaining the micro-section shear wave velocity vs. temperature relationships of CS-3R. For each data point, instead of the velocity of the shear wave excited (as exemplified by Fig. 2a), the peak amplitude of the first reflected wavepacket was plotted.

The micro-section shear wave amplitude vs. temperature relationships of CS-3R were used to compensate for the effect of temperature on the peak amplitudes of the first reflected wavepackets that were received at all the insonified micro-sections of CS-3R throughout Experiment #3R. The results are plotted in Fig. 5d and Supplementary Fig. 8c, together with the corrosion rates of all the insonified micro-sections of CS-3R. For each insonified micro-section, the peak amplitudes of the first reflected wavepackets exhibited a transient drop. What’s more, the transient drop in signal amplitude coincided in time with the transient surge in corrosion rate. Since shear waves can only propagate in solids, the transient drops in signal amplitude across CS-3R could be attributed to the depositing of a solid corrosion product layer on working surface of CS-3R.

After Experiment #3R had finished, the precipitates in the residual electrolyte solution were analyzed by XRD, revealing the presence of γ-FeOOH and Fe3O4, as shown in Fig. 5e. It has been widely reported that the formation of γ-FeOOH and Fe3O4 follows the below-mentioned reactions40,42,43,44,45,46,47,48,49,50,51,52,53,54,55:

$${\rm{Fe}}\to {{\rm{Fe}}}^{2+}+2{{\rm{e}}}^{-}$$
$${{\rm{Fe}}}^{2+}+2{{\rm{OH}}}^{-}\to {{\rm{Fe}}({\rm{OH}})}_{2}$$
$${{\rm{Fe}}}^{2+}+2{{\rm{H}}}_{2}{\rm{O}}\to {{\rm{Fe}}({\rm{OH}})}_{2}+2{{\rm{H}}}^{+}$$
$$4{{\rm{Fe}}({\rm{OH}})}_{2}+{{\rm{O}}}_{2}\to 4{\rm{FeOOH}}+2{{\rm{H}}}_{2}{\rm{O}}$$
$$8{\rm{FeOOH}}+{{\rm{Fe}}}^{2+}+2{{\rm{e}}}^{-}\to 3{{\rm{Fe}}}_{3}{{\rm{O}}}_{4}+2{{\rm{H}}}_{2}{\rm{O}}$$
$$3{\rm{FeOOH}}+{{\rm{H}}}^{+}+{{\rm{e}}}^{-}\to 3{{\rm{Fe}}}_{3}{{\rm{O}}}_{4}+{{\rm{H}}}_{2}{\rm{O}}$$
$$2{\rm{FeOOH}}+{{\rm{Fe}}}^{2+}\to {{\rm{Fe}}}_{3}{{\rm{O}}}_{4}+2{{\rm{H}}}^{+}$$

The high Cl concentration of the corrosion environment in Experiment #3R is conducive to the formation of metastable γ-FeOOH50,51. The metastable γ-FeOOH formed would have tended to transform to the stabler Fe3O448,49,53,54. The transformation of γ-FeOOH to Fe3O4 is an electron-consuming process. Therefore, the actual dissolution rate of CS-3R would have had to be higher than what the applied current field could lead to, in order to supply the electrons needed to generate Fe3O4.

From the abovementioned reactions, it can be seen that the formation of Fe(OH)2, which is key to generating γ-FeOOH and Fe3O4, depends highly on OH concentration. A highly acidic corrosion environment will slow down or even stop the formation of Fe3O4, because the H+ in the environment will neutralize the OH produced by the cathodic reactions. To further validate the relationship between the transformation of γ-FeOOH to Fe3O4 and the transient surges in the micro-section corrosion rates of CS-3R, two additional experiments were conducted under different acidities, as detailed in Table 3. The real-time ultrasonic thickness loss measurements of all the insonified micro-sections of the corrosion substrates CS-5 and CS-6 are presented in Supplementary Figs. 9a and 10a. The numbering of the insonified micro-sections also follows the layout shown in Fig. 5a.

Table 3 The details of the two localized corrosion experiments that were conducted to validate the relationship between the transformation of γ-FeOOH to Fe3O4 and transient surges in corrosion rate.

As seen from Fig. 6a, b and Supplementary Fig. 9b, none of the insonified micro-sections of CS-5 exhibited any noticeable transient surge in corrosion rate or transient drop in signal amplitude. At the end of Experiment #5, the residual electrolyte solution was found to be clear and free from precipitates. The pH level of the residual electrolyte solution was measured to be 1.3. The continuous high acidity of the corrosion environment would have effectively restrained the formation of Fe(OH)2 and the subsequent phase transformations. The morphological evolution process of CS-5 was essentially still governed by the applied current field.

Fig. 6: Results from Experiments #5 and #6.
figure 6

The corrosion rates of a all the insonified micro-sections of CS-5 and b all the insonified micro-sections of CS-6 (red ellipse: the transient surges and drops in corrosion rate). The temperature-compensated peak amplitudes of the first reflected wavepackets that were received at c six representative insonified micro-sections of CS-5 and d six representative insonified micro-sections of CS-6. The corrosion rates of c the six representative insonified micro-sections of CS-5 and d the six representative insonified micro-sections of CS-6. (Shaded areas: the transient surges in corrosion rate and the transient drops in signal amplitude.) e The XRD spectrum of the precipitates in the residual electrolyte solution of Experiment #6.

The insonified micro-sections of CS-6, on the other hand, exhibited both transient surges in corrosion rate and transient drops in signal amplitude, as shown in Fig. 6b, d and Supplementary Fig. 10b. Moreover, the XRD spectrum provided in Fig. 6e signifies that γ-FeOOH and Fe3O4 were present in the residual electrolyte solution of Experiment #6. By the end of the experiment, the pH level of the electrolyte solution increased to as high as 8.1 because the initial condition of the electrolyte solution was only weakly acidic. Therefore, the formation of γ-FeOOH and Fe3O4 can be attributed to the increase in alkalinity of the corrosion environment which would have promoted the formation of Fe(OH)2.

Based on the experimental results and discussion presented above, the corrosion process of carbon steel in an alkaline environment under a constant applied current field can be understood as follow. As suggested by Figs. 5d and 6d, the corrosion process can be partitioned into three key stages according to the instantaneous corrosion rates. The first stage will embody corrosion initiation, which may very well lead to a fluctuating corrosion rate, and possibly a period during which the corrosion rate will be relatively stable and largely governed by the applied current field. At the end of the first stage, a solid corrosion product layer will start to grow on the working surface of the substrate, causing the amplitudes of the reflected wavepackets to begin to decrease. The start time of the growth of the solid corrosion product layer will decrease with the applied current density, since a higher current density will lead to faster iron dissolution and hence more rapid generation of solid corrosion products. In the second stage, the corrosion rate will start to increase and the amplitudes of the reflected wavepackets will continue to decrease. This can be attributed to an acceleration in the transformation of γ-FeOOH to Fe3O4 which will speed up iron dissolution and the growth of the solid corrosion product layer. In the final stage, both the corrosion rate and the amplitudes of the reflected wavepackets will gradually return to the steady-state level. The solid corrosion product layer will now be thick enough to hinder the diffusion of dissolved oxygen. As a result, the oxidation of Fe(OH)2 to FeOOH and the subsequent transformation of γ-FeOOH to Fe3O4 will slow down, reducing the demand on the release of electrons by iron dissolution. Meanwhile, the applied current will continuously degrade the adhesion between the solid corrosion product layer and the substrate, causing the solid corrosion product layer to eventually detach from the substrate.

Methods

Numerical prediction of morphological evolution processes

The point-wise thicknesses of a corrosion substrate at any moment in time in a localized corrosion experiment can be predicted based on the current field on the substrate, Faraday’s law of electrolysis, and the anodic reaction \({\rm{Fe}}\to {{\rm{Fe}}}^{2+}+2{{\rm{e}}}^{-}\). The current field on the substrate can be computed using the FEM, by considering the applied DC, the configuration of the counter electrode, and the position of the counter electrode relative to the substrate.

Determination of reflected wavepacket time-of-arrival’s

The signal-to-noise ratio (SNR) of a reflection signal directly impacts the measurement accuracy of the ToAs of the first two reflected wavepackets. Therefore, three approaches are used to enhance the SNRs of reflection signals. (i) When a transducer element carries out signal generation and acquisition, it does so 100 times, and the 100 consecutively acquired signals is averaged over. (ii) A 5th-order Butterworth bandpass filter with cut-off frequencies of 1.2 MHz and 2.8 MHz is applied to the averaged signal. (iii) The filtered signal is auto-correlated, and in the auto-correlation, the locations of the first two local peaks correspond to the ToAs of the first two reflected wavepackets.

When a reflected wavepacket, which is continuous in nature, is digitized, its true ToA could very well be missed out on by sampling points, which are essentially discrete. To minimize the effect of digitization on the measurement accuracy of the ToAs of reflected wavepackets, two tactics are adopted. (i) An auto-correlation is up-sampled from 200 MHz to 800 MHz, where 200 MHz is the highest sampling frequency of the AWG/oscilloscope unit used. (ii) As illustrated in Fig. 7, the gradients of the up-sampled auto-correlation are calculated at the apparent local peak that corresponds to the reflected wavepacket of interest and at an adjacent sampling point; the location of the local zero-gradient point, which resembles more closely the location of the true local peak, is determined via linear interpolation, resulting in a more accurate estimate of the ToA of the reflected wavepacket of interest.

Fig. 7: Gradient-based determination of the exact time-of-arrival of reflected wavepackets.
figure 7

Green lines: the gradients of the up-sampled auto-correlation at an apparent local peak and at an adjacent sampling point, red line: the location of the true local peak.

Determination of shear wave velocities

The velocity of an ultrasonic wave varies with the temperature of the propagation medium. Therefore, before a corrosion substrate is used for conducting localized corrosion experiments, the shear wave velocity vs. temperature relationships of all the insonified micro-sections of the substrate are evaluated according to the following procedure. (i) The corrosion substrate is exposed to room temperature for 24 hours in the absence of corrosion; the thickness of the substrate remains unchanged; the transducer elements and the RTD on the substrate continuously carry out signal generation and acquisition and temperature measurement respectively, just like what they would do in localized corrosion experiments. (ii) For each insonified micro-section of the corrosion substrate, the ultrasonic signals acquired in each round of signal generation and acquisition are processed into the ToAs of the first two reflected wavepackets (see “Determination of reflected wavepacket time-of-arrival’s” section). (iii) The ToAs of the first two reflected wavepackets are used to calculate the instantaneous shear wave velocity of the insonified micro-section based on a modified version of Eq. (1), i.e., \(V\left(T\right)=2\cdot {{\rm{Th}}}_{{\rm{i}}}/\left({{\rm{ToA}}}_{2}-{{\rm{ToA}}}_{1}\right)\), where \({{\rm{Th}}}_{{\rm{i}}}\) is the thickness of the corrosion substrate. (iv) The shear wave velocities of the insonified micro-section at different time instants are plotted against the temperature variation recorded; the shear wave velocity vs. temperature relationship of the insonified micro-section is obtained via linear regression.

In a localized corrosion experiment, the shear wave velocity of an insonified substrate micro-section at a specific time instant is determined based on the temperature recorded at the same time instant, and the pre-determined shear wave velocity vs. temperature relationship of the insonified substrate micro-section.