1 Introduction

Petroleum and natural gas are the mainstay of the current energy consumption and must be transported to energy shortage areas to alleviate the problem of energy shortage due to the uneven distribution of Petroleum and natural gas reserves [1]. Oil and gas transportation is a large problem, and in particular, gas in high-sulfur gas reservoirs containing H2S is extremely corrosive to mining and transport equipment. Corrosion damage of oil and gas pipelines has become the main cause of many accidents. This makes pipeline, safety particularly important. Pipelines are another special mode of transportation that is an alternative to the transport modes such as roads and shipping. Pipeline transportation has the advantages of continuity, stability, large transport capacity, convenient management and long-range transportation [2]. However, oil and natural gas contain sulfides that are highly unstable and decompose to produce H2S gas. These sulfides are extremely corrosive to transportation pipelines. Currently, while corrosion-resistant alloy materials suitable for addressing H2S corrosion are available, these materials are expensive, so that carbon steel is still the most commonly used material in pipelines [3]. There are many methods for protecting pipelines from corrosion. Among these, the use of anti-corrosion coatings is the most simple and effective and is widely used. Stainless steel has become an ideal material, but stainless steel is susceptible to hydrogen sulfide gas corrosion. Study of the effect of zirconium oxide coatings on the corrosion resistance of steel 202 provides a basis for pipeline material selection.

ZrO2 film is a coating material with great development potential, in both structural and functional materials [4]. Compared with other ceramic materials, it has high strength good wear resistance. ZrO2 has excellent thermal and mechanical properties and a high coefficient of linear expansion that is close to that of the metal matrix [4, 5]. ZrO2 has three phases: low-temperature monoclinic, medium-temperature tetragonal and high-temperature cubic phases, where the phase transition between the low-temperature monoclinic and medium-temperature tetragonal phases will result in a 3–5% (volume fraction) volume change and lead to the generation of microcracks, When the material is under stress, encountering these original microcracks during the main crack propagation process will bifurcate and change direction, thereby dispersing the energy of the main crack tip, increasing the fracture energy and enhancing the fracture. The transformation and toughening properties of zirconia make it one of the most important plastic ceramic materials; currently, in various metal oxide layers, the importance of ZrO2is second only to that of the alumina ceramics [6] used in many materials. Due to their high melting point and excellent corrosion resistance, ZrO2ceramics are becoming a very attractive alternative material for use in high-temperature applications [7].

Because of its excellent corrosion resistance, ZrO2 has been made into nanocoatings and used in corrosive medium environments. Most studies have focused on the corrosion in a liquid environment, and ZrO2 films have been rarely studied in gas corrosion experiments. Thus, experimental research is required to elucidate whether ZrO2 film displays similarly excellent corrosion resistance requires in corrosive gas transport.

2 Materials and methods

2.1 Materials and sample preparation

The test samples are made of 202 stainless steel (chemical composition (wt%) C ≤ 0.15, Si ≤ 1.0, Mn ≤ 7.5–10.0, P ≤ 0.060, S ≤ 0.03, Ni 4.00–6.00, Cr 17.0–19.0, N ≤ 0.25). For corrosion test, 202 stainless steel was machined into specimens with the dimensions of 10 mm × 10 mm × 8 mm for corrosion test. All of the specimens were coated with epoxy, leaving an exposure area of 1 cm × 1 cm as the working surface. The high-pressure reactor was cleaned with absolute ethanol. The bare steel and film samples were placed into the high-pressure reactor, and the reactor was filled with gaseous hydrogen sulfide (Purity 99%). The pressures of 0.6, 0.8, and 1 MPa were used, and the reaction was carried out at room temperature for 24 h prior to opening the vent valve.

2.2 Characterization

In this work, a zirconia sol was prepared by the sol–gel method. Zirconium oxide was coated on a 202 stainless steel substrate by the spincoating method, and the zirconia nanofilm was formed by stepwise heating to 600 °C [8]. The sintered zirconia powder was characterized by X-ray diffraction (XRD), and the surface roughness of the coated ZrO2 film was observed with atomic force microscopy (AFM). The high-temperature and pressure reactor was used to simulate the required corrosion environment, and the coated samples were tested in gas corrosion experiments. Prior to the experiment, the bare steel samples and the coated samples were washed and dried with deionized water and absolute ethanol, and placed in the reaction kettle. The samples should be placed in a hanging position, not touching the inner wall of the kettle, so that a certain distance is retained between the samples. After filling with the hydrogen sulfide gas, the substrate samples and the film samples were moved after remaining at room temperature for 24 h and the microstructures of the samples after corrosion were examined using a metallographic microscope (ZYJ-330E, Shanghai Zhaoyi Optoelectronics Technology Co. Ltd.). The surfaces of the samples were further observed by scanning electron microscopy via a spectrometer (SEM, S-3400, Hitachi) and a field emission environment scanning electron microscope (FESEM, Quanta 650 FEG, USA) with Energy dispersive X-ray spectroscopy (EDS, EDAX Instruments) to detect the corrosion product components.

2.3 Analysis

ZrO2 was coated on a stainless steel substrate and sintered at a high temperature of 600 °C to form a dense zirconia film. During the sintering process, ZrO2 undergoes a phase transition. Figure 1 shows the XRD pattern of the zirconia xerogel at 600 °C, indicating that two zirconia crystal structures are present at this temperature, namely, the tetragonal phase (t-ZrO2) and the monoclinic phase (m-ZrO2). It is clear that ZrO2 has mostly completed the transition from amorphous to crystalline. The surface morphologies of the samples coated with ZrO2 film at a sintering temperature of 600 °C were observed by AFM. An examination of the AFM image (Fig. 2) shows that the ZrO2 film of the coated samples is found in the shape of a sharp cone, and a few grid-like depressions are observed on the surface [9]. The thickness of the film was measured by ellipsometer. The test results of five test points on the sample are shown in Table 1. As shown in the table, the average thickness of the film was 2058.31 Å.

Fig.1
figure 1

XRD pattern of ZrO2 xerogel at 600 °C sintering temperature

Fig. 2
figure 2

Surface morphology of ZrO2 film coated at 600 °C

Table 1 ZrO2 film thickness (unit: Å)

The coated specimens and the stainless steel substrates were placed in a high-pressure reactor (upper connection pressure gauge), and the H2S cylinder was connected to charge the H2S gas to the pressures of 0.6, 0.8, and 1 MPa. After standing at room temperature for 24 h, the gas was released and the surface morphologies of the samples were observed with a metallurgical microscope. Figures 3 and 4 show the surface morphology after the corrosion of the stainless steel substrates and the coated samples, respectively.

Fig. 3
figure 3

Metallurgical microscope micrographs of the stainless steel samples and SEM micrographs of the stainless steel samples: a, d 0.6 MPa; b, e 0.8 MPa; c, f 1.0 MPa

Fig. 4
figure 4

Metallurgical microscope micrographs of the coated ZrO2 film samples and SEM micrographs of the coated ZrO2 film samples: a, d 0.6 MPa; b, e 0.8 MPa; c, f 1.0 MPa

Figure 3a–c show the morphologies of stainless steel substrates, and Fig. 4a–c show the morphologies of coated samples. Images were taken immediately after the gas corrosion test, and the specimens were observed under a metallurgical microscope. The bubbles on the surface of the specimens were not broken, and the bubble morphology can be seen clearly observed. After a period of time, the bubble were broken and placed under a scanning electron microscope (3400 SEM, Japan). The bubbles morphologies are shown in Figs. 3d–f and 4d–f. The corrosion of the stainless steel matrix becomes more severe with the increase in the H2S pressure, and cracks appear. When the H2S pressure is 0.6 MPa, the gas causes significant corrosion to the stainless steel substrates, while the coated specimen (Fig. 2d) show essentially no bubbles. When the pressure is raised to 0.8 MPa, the number of bubbles significantly increased in the same unit area, and the substrate is severely corroded by the bubbles and starts to show the generation of cracks. At the same time, as observed from Fig. 1e, the bubble rupture gives rise to corrosion pits in the substrate, and some dark black tissue appears. The coated sample (Fig. 2e) showed only small gas bubbles in some areas. When the pressure rises to 1 MPa, the number of bubbles on the surface of the substrates increases, and the hydrogen sulfide bubbles become connected, resulting in crack extension and expansion. The number of hydrogen bubbles in the coated samples (Fig. 2f) increases, and black corrosion spots appear on the surface. Hans∙Arm and his team found that a large fraction of the H2 produced by Fe and H2S is adsorbed on the metal surface, reducing the likelihood of effective contact between the metal and H2S, so that the reaction rate is gradually reduced, and this decrease favors adsorption to the metal. The amount of surface H2 is reduced. After the two competing processes reach equilibrium, the corrosion is carried out at a certain speed. Therefore, the short-term experimental data cannot accurately reflect the long-term degree of corrosion. It is generally considered that the test results obtained after 50 or more hours are close to the actual value and can be used for the evaluation of long-term vulcanization corrosion [10].

3 Result

3.1 Determination of the origin of the bubbling and the composition of the gas in the bubble

EDS characterization of the specimens was performed immediately after the corrosion test in order to determine whether the hydrogen sulfide gas gives rise to the bubbles. The EDS spectrum analysis is shown in Fig. 5, and it is observed that the bubble is not broken, and the elements of the selected area in the figure are detected. It is clear that Sulfur was detected in bubbling area, and that hydrogen bubbling tears the metal. The dry H2S gas has no corrosive effect on the metal matrix, while wet hydrogen sulfide will cause the corrosion of the metal matrix. In the wet hydrogen sulfide environment, hydrogen sulfide will ionize, making the water acidic, giving rise to the dissociation reaction of hydrogen sulfide in water:

Fig. 5
figure 5

Gas bubble EDS energy spectrum of stainless steel substrate under 1 Mpa hydrogen sulfide gas pressure

The electrochemical corrosion process is described by:

Ionization reaction of H2S [11]:

$${\text{H}}_{2} {\text{S}} = {\text{H}}^{ + } + {\text{HS}}^{ - } \cdots {\text{HS}}^{ - } = {\text{H}}^{ + } + {\text{S}}^{2 - }$$
$${\text{Cathode reaction}}:{\text{H}}^{ + } + 2e \to {\text{H}}_{{{\text{ad}}}} + {\text{H}}_{{{\text{ad}}}} \to 2{\text{H}} \to {\text{H}}_{2} \uparrow$$

Some of the H atoms produced by the cathode reaction diffuse into the steel, and the remaining H atoms generate the hydrogen adsorbed on the steel surface. The origin of the H2S gas bubbling is as follows: when the hydrogen content is high, many materials will produce hydrogen bubbling or hydrogen-induced cracking in the absence of an external load [12,13,14]. The hydrogen atoms give rise to molecular hydrogen at the interface between the inclusion and the matrix or in a microporous cavity, resulting in high hydrogen pressure and microcracks. The expansion and connection of these microcracks leads to the formation of hydrogen bubbles or cracks. Hydrogen can only be combined into H2 in a cavity of volume V to produce a hydrogen pressure given by P = nRT/V, where n is the number of moles of H2 and T is the temperature. In the presence of micropores or microcracks in the material, hydrogen bubbles will be formed when hydrogen enters these defects [15]. Hydrogen bubbling occurs mainly at the surface defects and inclusions on the surface in the wet hydrogen sulfide environment. Electrochemical corrosion occurs on the inner wall of the pipeline, and hydrogen atoms with strong activity are generated by the cathodic reaction; these hydrogen atoms penetrate and diffuse into the steel and gather, precipitate and combine into hydrogen molecules at the defects and nonmetallic inclusions on the joint surface of the pipeline steel plate. Hydrogen accumulates and expands, increasing the internal pressure between the steel plate interface or the inclusion and the metal. When a certain hydrogen pressure is reached, the metal material will be torn off, giving rise to delamination defects [16].

As mentioned above, after the metal surface comes into contact with the corrosive medium, the corrosion reaction occurs, releasing hydrogen atoms. Moreover, H2S can inhibit the escape of hydrogen atoms from these reactions and significantly increase the hydrogen atom concentration on the metal surface. Therefore, these hydrogen atoms will either combine into molecules or adsorb in the form of atoms on the metal surface. It is absorbed by the metal and promotes the formation of hydrogen bubbles. The presence of iron was not detected in the bubbling region, and a large amount of S was detected due to the adsorption of ionized sulfur ions on the surface.

Anode reactions: the dissolution of iron in acidic solution [17, 18]:

$${\text{Fe}} + {\text{H}}_{2} {\text{S}} + {\text{H}}_{2} {\text{O}} \Leftrightarrow {\text{FeSH}}_{{{\text{ads}}}}^{ - } + {\text{H}}_{3} {\text{O}}^{ + }$$
(1)
$${\text{FeSH}}_{{{\text{ads}}}}^{ - } \Leftrightarrow {\text{FeSH}}^{ + } + {\text{e}}^{ - }$$
(2)
$${\text{FeSH}}_{{{\text{ads}}}}^{ - } \Leftrightarrow {\text{Fe}}\left( {{\text{SH}}} \right)_{{{\text{ads}}}} + {\text{e}}^{ - }$$
(3)
$${\text{FeSH}}^{ + } + {\text{H}}_{3} {\text{O}}^{ + } \Leftrightarrow {\text{Fe}}^{2 + } + {\text{H}}_{2} {\text{S}} + {\text{H}}_{2} {\text{O}}$$
(4)
$$2{\text{FeSH}}^{ + } \Leftrightarrow {\text{Fe}}_{{{\text{ads}}}} + {\text{SH}}^{ - } + {\text{H}}^{ + } + {\text{Fe}}^{2 + }$$
(5)
$$2{\text{nFeS}}_{{{\text{ads}}}} \to {\text{nFe}}_{2} {\text{S}}_{2} \to 2{\text{nFeS}}_{{{\text{mackinawite}}}}$$
(6)

After the gas corrosion test of the film samples, water and some yellow–brown substances exist on the surface of the samples, and the samples undergo a series of electrochemical corrosion reactions. However, the high concentration of the iron ions at the material/medium interface will lead to another reaction that can form some insoluble iron sulfides on the metal surface in different forms. This reaction is described as:

$${\text{Fe}}^{2 + } + {\text{HS}}^{ - } \to \left( {\text{Different iron sulfides}} \right)\;{\text{Fe}}_{{\text{x}}} {\text{S}}_{{\text{y}}}$$
(7)

The corrosion products(FexSy), which is the product of the electrochemical anode reaction after the bubble rupture, has a defective structure with poor adhesion to the steel surface, can easily fall off and oxidize, and has a positive potential. Therefore, as a cathode, corrosion products (FexSy) form an active micro battery with the steel substrate, and continue to corrode the steel substrate.

H2S gas corrosion carbon steel proceeds via a complex reaction. The corrosion products vary with the corrosion environment. Mackinawite and cubic FeS are commonly observed corrosion products at normal temperature and low H2S pressure [19]. Under high temperature and high H2S pressure, troilite, pyrrhotite, pyrite, and other crystalline iron sulphide compounds may form [20]. While it was found by XRD analysis performed in research studies that the stainless steel corrosion products are nano crystals under the H2S gas environment at 25 °C and are considered to be tetragonal pyrite as the only corrosion product [8]. The tetragonal pyrite(mackinawite) scale then dissolves in Fe(HS)+ and HS, and Fe(HS)+ (Eqs. 5, 6) diffuses away from the metal surface. Finally, more H2S reacts with the bare steel. This corrosion process continues to produce a very thin mackinawite layer, which repeatedly forms and dissolves [3, 21, 22].

Figure 5 shows that the stainless steel substrates have many surface defects such as inclusions, pores, and scratches. These defects will become hydrogen traps and provide a field for the formation of hydrogen bubbles that are considered to be responsible for degrading the mechanical properties and the performance of the metal [23,24,25,26,27]. Larger inclusions and pores correspond to larger hydrogen bubbling, making it easier for the metal to break. These inclusions were analyzed by EDS as nonmetallic inclusions, and the main components were found to be MnS and a small amount of Al2O3. The Mn content in the alloy will reduce the corrosion resistance of stainless steel, because Mn and S often form MnS inclusions in the microstructure of the alloy, and as the sulfur content increase, a larger amount of sulfide forms manganese sulfide and the unstable and easily to dissolved MnS inclusions, leading to enhanced initiation of the corrosion at the interface of the inclusion matrix [28].

4 Discussion

Based on the results obtained for the corrosion surface, the anodic corrosion reaction is more likely to follow Eqs. (1)–(4) reaction formula. H2S gas acts as a catalyst in the reaction. In the cathode reaction, some hydrogen atoms are reduced to hydrogen molecules, while others are adsorbed on the surface together with sulfur ions, so a large amount of S is detected in the bubble.

ZrO2 film sintered at 600 °C has many penetrating cracks in the coating. Organic components are completely decomposed and volatilized at 600 °C. The difference of thermal expansion coefficient between ZrO2 coating and low carbon steel substrate will cause larger internal stress in the coating (ZrO2 ≈ 12 × 10–6/°C, αMild Steel ≈ 16 × 10–6/°C), eventually leading to cracks [29, 30]. When the matrix at the crack is exposed to hydrogen sulfide, hydrogen bubbles will be generated along the crack corrosion matrix, and the bubbles will lead to the separation the ZrO2 film from the matrix. With the increase in the H2S gas pressure, the bubble diameter and the number of bubbles formed at the crack increases continuously ZrO2 can prevent corrosion by blocking the contact area between the gas and the stainless steel matrix. The gas can reach the surface of the matrix through the crack and corrode the stainless steel matrix. When the H2S gas pressure increases to 0.8 MPa, hydrogen-induced cracking occurs on the surface of the test sample, and the hydrogen induced cracking corrosion mechanism is shown in Fig. 6. First, diffusion analysis is needed to simulate the absorption and transportation of hydrogen from the inner wall (in contact with the acidic environment) to the gap point. The hydrogen distribution near the crack tip and the hydrogen flux of the crack flank can be obtained by analysis. The hydrogen distribution also controls the complex reaction of the hydrogen on the crack surface, thus affecting the formation mechanism of the pressure. The pressure in the crack can be determined by the current crack volume and the total mass of hydrogen molecules in the cavity. According to the stress level near the crack tip, when the hydrogen reacts, the fracture toughness of the steel is affected, thereby further advancing the HIC process. Finally, when the increase in the volume of the cavity is sufficiently large to give to a pressure drop, crack propagation is suppressed. The entire cycle is performed until the final conditions are reached (the predetermined amount of crack propagation is achieved) [31].

Fig. 6
figure 6

Schematic diagram of hydrogen induced cracking mechanism

According to Fig. 7a, b, not only microcracks but also dark black structures at present on the surface of the coated samples. According to EDS analysis, these black areas contain high amounts of C and O and a very small amount of S. Some of these dark black materials are due to the precipitation of chromium carbide in the carburized layer when the stainless steel temperature exceeds 540 °C, not only reducing the free chromium content on the stainless steel surface but also making the original single austenite phase of stainless steel become a multiphase weave with new phase formation, thus reducing the corrosion resistance of the stainless steel. This is the reason for the appearance of the dark black tissue [32]. There are still some black spots that did not appear prior to the corrosion. This is because these black spots are caused by the H2S gas. When the H2S gas pressure increased to 1 MPa, black substances appeared on the ZrO2 film surface. Therefore, the coated sample was corroded, resulting in corrosion points. The ZrO2 thin film is a porous ceramic thin film. Although it can prevent the outward diffusion of Fe, Mn and the inward diffusion of O to some extent, due to the presence of pores and cracks in the thin film, the samples coated with the ZrO2 thin film often form an oxide film, usually Fe2O3 and Cr2O3 between the bonding layer and the surface ZrO2 coating after high-temperature sintering. Additionally, Fe2O3 and Cr2O3 provide conditions and places for H2S gas corrosion [27].

Fig. 7
figure 7

Morphology of the coated specimen before and after corrosion

Figure 8 shows the hydrogen bubble morphology and EDS elemental analysis of a sample coated with aZrO2 film. It observed from the SEM image that the hydrogen bubbling is located at the position of the crack, showing the bubbling from elemental analysis. There is no distribution of elements such as Fe, Cr, and Zr (Fig. 9h, i), and the element S, C and O (Fig. 9e–g) are detected in the edge region of the bubble, and the oxide in the ZrO2 film is excessive during the sintering process. Growth causes significant internal stresses that cause the film to rupture, and the substrate at the cracks oxidizes at high temperatures [33]. C and O only appear in the rupture or bubbling of the film. C and O are not detected around the matrix bubbling. Only two elements are detected in the hydrogen bubbling of the coated samples. It is further observed from the energy spectrum presented in Fig. 8 that Fe and Cr carbides and oxides are not formed, So C and O originally existed in the coated sample.

Fig. 8
figure 8

Gas bubble EDS energy spectrum of coated samples under 1 Mpa hydrogen sulfide gas pressure

Fig. 9
figure 9

Surface morphology and EDS spectrum of laminating samples under 1 Mpa H2S gas

Through EDS spectrum analysis, it was determined that the film rupture is caused by the entry of the hydrogen sulfide gas. Figure 9 shows the energy spectrum scanning analysis of the sample coated with the ZrO2 film. It is clearly observed from the scanning results that sulfur is present in the rupture zone while zirconium is absent. The hydrogen sulfide gas enters the ZrO2 film through the defects in the substrate and in the film to generate hydrogen bubbling, and the zirconia film no longer protects the substrate after the rupture. The ZrO2 film often generates microcracks due to the phase transition between the low-temperature monoclinic and mesothermal tetragonal phases. While this phenomenon is unavoidable, the microcracks produced by the phase transformation have no effect on the corrosion. This is observed from Fig. 9. While S was detected in the rupture zone, it was not detected in the other areas of the coating, indicating that the zirconia film can effectively hinder the corrosion of the stainless steel substrate by the H2S gas.

5 Conclusions

The gas corrosion of the coated specimens and stainless steel matrices has been investigated in this work. The main conclusions are as follows:

  1. (1)

    Under the pressures of 0.6, 0.8 and 1 MPa, corrosion of the metal surface becomes increasingly severe with the increase in the pressure. In the absence of external stress, the hydrogen damage on the metal surface caused by the H2S gas is mainly manifested as hydrogen bubbles and hydrogen-induced cracking, which leads to tearing of the metal surface and causes irreparable corrosion damage.

  2. (2)

    When the H2S gas pressure is lower than 0.6 MPa, there is essentially no corrosion effect on the surface of the coated sample, while the surface of the stainless steel substrate shows significant hydrogen bubbling.

  3. (3)

    When the pressure rises to 0.8 MPa, hydrogen bubbles accompanied by cracks are observed on the surface of the substrate. A small number of hydrogen bubbles appear in some areas of the surface of the coated sample.

  4. (4)

    When the pressure rises to 1 MPa, the hydrogen bubbles on the surface of the matrix are dense, the matrix metal tears, the cracks increase, and the cracks propagate along the transverse and longitudinal directions. The number of hydrogen bubbles on the surface of the coated samples increased, but no cracks were observed.

In conclusion, ZrO2 film coating on stainless steel substrates effectively prevents hydrogen bubbles and hydrogen-induced cracking caused by H2S gas corrosion and greatly reduces the corrosion of metal substrates by the corrosive gas.