Introduction

Titanium and titanium alloys are widely used as construction materials in a variety of industrial applications. The high specific strength, excellent mechanical properties, and great corrosion resistance make them ideal for aerospace, transportation, power generating, and chemical industries1. Titanium alloys have a high strength-to-weight ratio, making them ideal for automobile and motorbike racing. The food industry, oil refineries, and desalination all use titanium2,3,4,5. In medical applications, metallic materials are increasingly being used as dental and orthopedic implants to restore lost functionality or to replace organs that aren't working properly. Due to its biological benefits and tolerable degradation rate, titanium alloys are one of the most often used metallic biomaterials, notably in orthopedics6. Titanium, on the other hand, is corroded by hot, concentrated, low-pH chloride salts. Warm or intense hydrochloric, phosphoric, and oxalic acid solutions are also damaging7. Metallic titanium with a density of 4.51 g/cm3 and mechanical properties comparable to mild steel, titanium has a very high strength to weight ratio: for this reason. Thus, it has become a backbone material in the aerospace industry8. Titanium is a very reactive metal: when unprotected in air, a thin TiO2 film (compact) is designed. It is usually adherent to the substrate and chemically stable in a variety of environments, and gives excellent corrosion resistance for titanium8,9,10 In general, all acidic solutions that are reducing in nature corrode titanium, unless they contain inhibitors.

Many industrial advances make use of acid solutions11,12 and so it is important to study it. Phosphoric acid is an essential industrial acid that is used to manufacture phosphatic fertilizers, acid pickling solutions, and in the food and beverage industry because of its outstanding chemical qualities. Metal corrosion can be prevented and hydrogen evolution reduced in corrosive conditions by using corrosion inhibitors13,14,15,16,17. The previous studies on the corrosion of titanium in environments containing phosphoric acid or phosphate were very limited.

Phosphoric acid was used as a depressant to separate the phosphate and carbonate minerals using the flotation process18. Flotation has a high economic feasibility for the beneficiation of valuable minerals when their principal ore bodies are magnesium (Mg) carbonates like dolomite and magnesite19. Magnesite (MgCO3), a common magnesium-bearing carbonate mineral, is one of the key materials of industrial magnesium smelting and source in the world for magnesia refractory production.

Recent research on the interactions of phosphoric acid with sparingly semi-soluble minerals (carbonate, phosphate) carried out by Filippov and co-workers showed the formation of a phosphate passivation film on the surface of phosphate minerals (apatite) which alters corrosion of the mineral by phosphoric acid18,20,21. Extending this approach to the corrosion inhibition of alloys would be an attractive and beneficial approach given the easy and cheap availability of mineral materials such as carbonates.

To our knowledge, no corrosion studies have been done using magnesite mineral as an inhibitor for Ti-alloy in phosphoric acid solution. The aim of this work is to evaluate the performance of magnesite material as a natural environmental inhibitor for Ti-6Al-4V alloy in phosphoric acid with different concentrations (0.001–0.5 M). In addition, the techniques used for the corrosion study may help to understand the phosphoric acid interaction mechanism with the mineral surface to refine the use of these reagents for mineral flotation.

Materials and methods

The Ti-6Al-4V alloy, which has a cross-sectional area of 0.196 cm2 was purchased from Johnson and Matthey (England) with the chemical compositions listed in Table 1A. Magnesite sample was obtained from Egypt's Cairo-Suez Road. After that, the rock was crushed and finely ground with hammer mill first and then grinded more in a mortar before being used. Table 1B shows the XRF composition of magnesite. The sample presents a high purity mineral with the presence of a low amount of silica and probably iron oxides.

Table 1 Chemical composition of (A) Ti-6Al-4V (wt%) and (B) of magnesite.

The electrode (Ti alloy) was polished with SiC sheets (600–2400 grit), then washed with triple-distilled water, cleaned in an ultrasonic bath with acetone, and dried in the air. The working electrode (WE) is a Ti-6Al-4V alloy, the counter electrode (CE) is a platinum sheet, and the reference electrode (RE) is Ag/AgCl. The working electrode (Ti alloy) is immersed in a 100 mL solution of water and various phosphoric acid concentrations (0.001–0.5 M) with and without 3 g of magnesite mineral for 1 h with agitation at 245 rpm which means 3% magnesite as an inhibitor.

The test solution was prepared from different concentrations of phosphoric acid ranging from 0.001 to 0.5 M (Sigma Aldrich) with or without a 3% magnesite inhibitor (Sigma Aldrich). Triple distilled water was used to prepare all of the solutions.

The EC-Lab SP 150 Potentiostat electrochemical device was utilized to perform the electrochemical measurements. At a scan rate of 1 mV/s, potentiodynamic polarization tests were performed in the range from -1 to 1.5 V. The open-circuit potentials (OCP) were stabilized for 60 min before beginning the potentiodynamic experiments. Electrochemical impedance spectroscopy (EIS) was done in the frequency range of 100 mHz–100 kHz with a perturbation amplitude of 5 mV. All of the tests were repeated two or three times to ensure that the results were consistent. The scanning electron microscope (SEM) used was a Quanta 250 FEG (Field Emission Gun) with an Energy Dispersive X-ray spectroscopy (EDX) unit (FEI company, Netherlands).

Shimadzu Corporation's IR-Affinity-1, serial A21374701135S1, was utilized to measure FTIR. Cu-radiation (= 1.542) at 45 K.V., 35 M.A., and scanning speed 0.04°/s were employed on a PAN analytical X-Ray Diffraction apparatus type X-Pert PRO with secondary Monochromator.

The major and trace elements were determined using a Philips X-ray fluorescence equipment, model PW/2404, with Rh target and six analyzing crystals. Ca, Fe, K, Ti, Mn, and other trace elements from Nickel to Uranium were estimated using crystals (LIF-200), (LIF-220), whereas Mg and Na were determined using crystals (TIAP). Crystal (Ge) was utilized to estimate P, crystal (PET) was used to determine Si and Al, and PXI was used to determine Na and Mg. The concentrations of the components under investigation were determined using software Kernl X-44.

The pH of the phosphoric acid solution is measured by a pH meter (Hanna) after calibration with standard solutions of pH 4.01, 7.00 and 10.0.

Raman spectra were collected at wavenumber in the range of 200–4000 cm−1 by RXN4 spectrometer (Kaiser) at a laser excitation wave-length of 532 nm, with a fiber-optic Raman sampling probe. The sapphire-head probe gives Raman peaks at 377, 417, 447, 576 and 749 cm−1.

The Raman spectroscopy experiment is done for 3 g of the sample of magnesite in 100 ml of deionized water or phosphoric acid solutions at concentrations of 0.001, 0.01, 0.1, 0.25 and 0.5 M, and stirred at 200–300 rpm during 15 min.

The magnesite sample chemical and mineralogical compositions are determined to check its purity. The XRD (Fig. 1) analysis show that the sample is relatively pure and doesn’t contain other minerals in significant proportion except for a small amount of quartz and dolomite.

Figure 1
figure 1

XRD analysis of magnesite sample: M = Magnesite, Q = Quartz, D = Dolomite.

XRD was used to identify the sample's phase as it was prepared22. The typical XRD pattern is displayed in Fig. 1. Each peak can be correlated with the MgCO3 hexagonal phase. The report value (JCPDS Card Files, No 08-0479, a = 4.633 Å, c = 15.015 Å) is comparable with the lattice constants derived using the pattern (a = 4.63 Å, c = 14.93 Å). The strong peaks' strength indicates how intensely crystalline the magnesıte is. This pattern shows no further imperfections.

Results and discussion

Surfaces morphology and characterization

Figure 2A shows the SEM photos of magnesite rock mineral with different magnifications before immersion in phosphoric acid solution. It shows that the magnesite shape is like thick wood and flat. Figure 2B displays the SEM image as an example of a magnesite sample after treatment in 0.5 M phosphoric acid solution after 1 h of immersion and it shows compact film.

Figure 2
figure 2

SEM images with different magnifications of magnesite sample (A) before and (B) after treatment in 0.5 M phosphoric acid solution after 1 h of immersion.

Figure 3A presents a pure Ti alloy surface which shows some scratches from polishing and Fig. 3B is for Ti alloy surface after adding magnesite sample in 0.5 M phosphoric acid solution after 1 h of immersion which shows a thick film of magnesium phosphate formed. Figure 3B presented the EDX analysis which confirmed the presence of magnesium phosphate film with titanium oxide on the alloy surface.

Figure 3
figure 3

SEM images of (A) Ti alloy surface23; (B) after adding magnesite sample in 0.5 M phosphoric acid solution after 1 h of immersion with its (C) EDX analysis.

Electrochemical impedance measurements

Nyquist plots (Fig. 4) of Ti-6Al-4V alloy in water or in phosphoric acid of different concentrations (0.001–0.5 M) after 1 h immersion time without magnesite were done to compare the tested alloy before and after adding magnesite. As you see in Fig. 4 the alloy in water only works with both adsorption (semicircle) and diffusion (line) mechanism, however, on phosphoric acid, it is only adsorption mechanism (semicircle)10.

Figure 4
figure 4

Nyquist plots of Ti-6Al-4V alloy (A) in water and (B) in phosphoric acid of different concentrations at 1 h of immersion without magnesite.

Electrochemical impedance spectroscopy (EIS) technique was performed in pure water containing 3% magnesite as a function of immersion time (0–60 min) and the results are presented in Fig. 5 (magnesite is sparingly soluble in water). Adding magnesite is in order to improve the corrosion resistance of the passive film formed on Ti-6Al-4V alloy. The impedance value of magnesite as an inhibitor for titanium alloy enlarged with immersion time due to magnesite dissolution and precipitation as a carbonate in water, as well as thickening of the passive TiO2 coating on the alloy surface4,24,25,26.

$${\text{MgCO}}_{{3}} = {\text{ Mg}}^{{{2} + }} + {\text{ CO}}_{{3}}^{{{2} - }}$$
(1)
Figure 5
figure 5

Nyquist plots of Ti-6Al-4V alloy in pure water containing 3% magnesite as a function of immersion time.

Magnesite slightly dissolves with release of Mg2+ cations that cause precipitates to be developed on the metal's surface, forming a protective coating. Hard water with high calcium and magnesium content is less corrosive than soft water because the salts in hard water tend to precipitate on the metal's surface and form a protective coating26.

Electrochemical impedance spectroscopy technique is done to investigate the protective effect and the mechanism of reaction between magnesite mineral and phosphoric acid10. The impedance diagram for Ti-6Al-4V alloy in phosphoric acid with different concentrations (0.001–0.5 M) contains 3% magnesite as a function of immersion time represented in Fig. 6. The Nyquist plots show the same trend as compared to pure water. The Nyquist plots also reveal that magnesite mineral as an inhibitor for Ti-6Al-4V alloy has a high corrosion resistance at different (0.001–0.5 M) H3PO4 acid concentrations, indicating a thicker protective magnesium phosphate film is formed by adsorption on the alloy surface. The impedance value increases with further increasing H3PO4 concentration or increasing the immersion time reflecting the passivation of the oxide film on the Ti-6Al-4V alloy surface forming magnesium phosphate film with TiO2 film.

Figure 6
figure 6

Nyquist plots of Ti-6Al-4V alloy in phosphoric acid of different concentrations (A:0.001;B:0.01;C:0.1;D:0.25;E:0.5 M) containing 3% magnesite as a function of immersion time and inset is the equivalent circuits used for modeling of experimental EIS data.

The reaction for the oxide film on Ti-6Al-4V alloy in phosphoric acid solution might be written as4:

$${\text{TiO}}_{{2}} + {\text{ H}}_{{2}} {\text{O }} + {\text{ H}}^{ + } = {\text{Ti }}\left( {{\text{OH}}} \right)^{{{3} + }}$$
(2)

The reaction between magnesite and dilute phosphoric acid at room temperature can be described by the equation.

$${\text{2 H}}_{{3}} {\text{PO}}_{{{4}({\text{aq}})}} + {\text{ 3 MgCO}}_{{{3}({\text{s}})}} = {\text{Mg}}_{{3}} \left( {{\text{PO}}_{{4}} } \right)_{{{2}\left( {\text{s}} \right)}} + {\text{ 3 CO}}_{{{2}({\text{g}})}} + {\text{ 3 H}}_{{2}} {\text{O}}_{{({\text{l}})}}$$
(3)

The extent of the reaction depends on H3PO4 concentration, pH, relative amounts of solid and liquid phases, temperature, and reaction time27. The best fit model used to obtain the parameters in Tables 2 and 3, is the Randles circuit with two time constant as represented in Fig. 6 for without and with magnesite mineral as an inhibitor for the Ti-6Al-4V alloy using EC program software with an average error of 4%. It comprises of a parallel combination of a capacitors (C1, C2) as a constant phase element (CPE) that is parallel to the surface film's polarization resistance (RCT), Warburg impedance (W) due to diffusion mechanism and both of them are connected to the solution resistance (Rs). Because of the non-homogeneity of the electrode surface, CPE11,29,30,31,32,33,34,35 is utilized instead of capacitances in the two circuits [C1 (corresponding to inner layer) and C2 (corresponding to outer layer)].

$${\text{Z}}_{{{\text{CPE}}}} = \, \left[ {{\text{C }}\left( {{\text{j}}\omega } \right)^{\alpha } } \right]^{{ - {1}}}$$
(4)

where α is an exponent account for surface heterogeneity, 0 ≤ α ≤ 1, j is the imaginary number (j = (− 1)1/2), ω = 2πf is the angular frequency in rad/s, f is the frequency in Hz = S−1.

Table 2 Electrochemical impedance parameters of Ti-6Al-4V alloy in pure water and phosphoric acid of different concentrations (0.001–0.5 M) after immersion for 1 h.
Table 3 Electrochemical impedance parameters of Ti-6Al-4V alloy in pure water and phosphoric acid solution of different concentrations (0.001–0.5 M) after immersion for 1 h containing 3% magnesite.

The results of EIS fitting analysis are given in Tables 2 and 3. It is clear as given in Table 2, that the impedance has lower values without adding magnesite mineral which acts as an effective inhibitor in aggressive acid medium and leads to a decrease in hydrogen evolution as seen in Table 3. It can be seen clearly that the mechanism of the reaction changed totally from diffusion to adsorption, where in water, it works with both mechanisms’ diffusion and adsorption10. After increasing phosphoric acid concentration, the adsorption behavior enhanced and the diffusion process reduced sharply after adding the mineral. This is due to the increase in the formation of insoluble film of magnesium phosphate that increases the charge transfer resistance and decreases Warburg impedance sharply with increasing phosphoric acid concentration and increasing hydrogen evolution. Also, the values of the capacitances, C1 and C2 are inversely proportional to the resistance value which insures thickening as obtained by its decrease with the increase of the resistance value. The capacitance is related to the thickness, since the passive oxide film can be considered as a dielectric plate capacitor, the passive film thickness (d) in cm is related to the capacitance (C) by the Eq. (5)34:

$${\text{d }} = \, \varepsilon_{{\text{o}}} \varepsilon_{{\text{r}}} \left( {{\text{A}}/{\text{C}}} \right)$$
(5)

where εo is the vacuum permittivity (8.85 × 10−12 F cm−1), εr is the relative dielectric constant of the film and A is the electrode area in cm2. Although the actual value of εr within the film is difficult to estimate, a change of C can be used as an indicator for change in the film thickness. Hence, the reciprocal capacitance (1/C) of the surface film is directly proportional to its thickness.

Thus, the inhibition efficiency of magnesite is calculated by11,29,30:

$${\text{IE }}\% \, = { 1 }{-}{\text{ R}}_{{\text{p}}}^{ \circ } /{\text{ R}}_{{\text{p}}} \times { 1}00$$
(5)

where Rºp and Rp are the total resistances for the Ti-6Al-4V alloy without and with 3% magnesite inhibitor, respectively.

It was found that the inhibition efficiency of magnesite after adding to water or phosphoric acid is 5.11% in water, 52.6% at 0.001 M, 64.53% at 0.01 M, 83.98% at 0.1 M, 96.09% at 0.25 M reaching to the highest inhibition efficiency of 99.64% at 0.5 M. This ensures the effectiveness of magnesite rock material especially at high concentration of phosphoric acid with high hydrogen evolution.

Potentiodynamic polarization measurements

To confirm further the EIS results, potentiodynamic polarization utilized for the Ti-6Al-4V alloy in H3PO4 acid solution of different concentrations (0.001–0.5 M) without and with 3% magnesite as represented in Figs. 7, 8, respectively.

Figure 7
figure 7

Polarization curves of Ti-6Al-4V alloy in phosphoric acid of different concentrations (0.001–0.5 M).

Figure 8
figure 8

Polarization curves of Ti-6Al-4V alloy in phosphoric acid of different concentrations (0.001–0.5 M) containing 3% magnesite.

In the absence of magnesite, the concentration of phosphoric acid causes the corrosion potential (Ecorr) to shift towards a more negative potential, reflecting the inhibition of the cathodic reaction, which is the hydrogen evolution as represented in Fig. 7. However, higher acid concentrations cause the alloy to dissolve, raising the corrosion current density. It is clear from Fig. 8 that the addition of 3% magnesite decreased the current density value, shifting the corrosion potential towards a positive direction, reaching a value of 0.012 μA/cm2 and 149 mV, respectively. Magnesite inhibitor lowers corrosion, oxygen and hydrogen evolution by decreasing the anodic and cathodic branches (mixed inhibitor) protecting the surface due to good adsorption of magnesite mineral on Ti-6Al-4V alloy in H3PO4 acid, which prevents titanium oxide film dissolution in phosphoric acid.

The corrosion inhibition efficiency IE %31,32 of the Ti-6Al-4V alloy in phosphoric acid of different concentrations (0.001–0.5 M) containing 3% magnesite were calculated from corrosion current densities values in Table 4 using the following Eq. (6).

$${\text{IE }}\% \, = { 1 }{-}{\text{ i}}_{{{\text{corr}}}} /{\text{ i}}_{{{\text{corr}}^{ \circ } }} \times { 1}00$$
(6)

where icorrº and icorr are the corrosion current densities for the Ti-6Al-4V alloy without and with 3% magnesite inhibitor, respectively28,29. The corrosion parameters derived from the polarization curves such as, corrosion potential (Ecorr), corrosion current density (Icorr), and inhibition efficiency IE% were recorded in Table (4).

Table 4 Electrochemical parameters and inhibition efficiency obtained by polarization tests.

It is clear that the efficiency is so high reaching 99.99% at high concentrations of 0.25 and 0.5 M of phosphoric acid.

Raman kinetic analysis for magnesite interaction with phosphoric acid

The dissolution procedure of magnesite and other carbonate minerals in phosphoric acid solution is governed by its acidity20,21,33,36,37,38.

The kinetics of interaction of the salt type carbonate and phosphate minerals (calcite and apatite) with the phosphoric acid solutions were investigated in details using in situ and ex-situ Raman spectroscopy16,17,37,38 without the Ti alloy. The studies performed allowed to deduce the formation of dicalcium phosphate on the surface of apatite while the surface of calcite was continuously renewed allowing a differential behavior in flotation due to the surface passivation of apatite in a narrow interval of contact time and acid concentration18,37. Although the previous work revealed the neoformation on the mineral surface they do not provide the mechanism of such behavior.

Herein, the Raman spectra of magnesite were measured using the same methodology20,21, i.e. in situ as a function of contact time with solutions of deionized water and phosphoric acid of different concentrations. The sharp peak at 890 cm−1 belongs to phosphoric acid at 0.1 to 0.5 M. The position and intensity of all peaks remains more or less constant with time. This can be seen in Figs. 9, 10 and 11 as an example. Generally, the region from 200 to 400 cm−1 is due to Mg–O modes or Mg–O vibrations, and at 890 cm−1 is due to PO4 vibrations. Also, the peaks at 980 cm−1 are so small and are due to phosphate vibrations. The peaks at 1095 cm−1 are due to carbonate vibrations and at 1640 cm−1 are due to OH bending.

Figure 9
figure 9

Raman spectra in the region from 200 to 2000 cm−1 for 3% Magnesite in contact with 0.1 M phosphoric acid solution for 15 min immersion (* probe peaks).

Figure 10
figure 10

Raman spectra in the region from 200 to 2000 cm−1 for 3% Magnesite in contact with 0.25 M phosphoric acid solution for 15 min immersion (* probe peaks).

Figure 11
figure 11

Raman spectra in the region from 200 to 2000 cm−1 for 3% Magnesite in contact with 0.5 M phosphoric acid solution for 15 min immersion (* probe peaks).

For deionized water, 0.001 M, and 0.01 M phosphoric acid solution, 1095 and 280 cm−1 peaks are weak and they are due to carbonate vibrations. A new small peak appears at 980 cm−1 and 1175 cm−1 at only 0.25 M and 0.5 M, due to phosphate vibrations and formation. The carbonate dissolved in the aggressive acid medium and converted to phosphate giving its peaks due to the adsorption of phosphate film increases as stated before on EIS data.

This confirms EIS and polarization data, which showed that the reaction mechanism changed completely from diffusion of carbonates and phosphates to adsorption with increasing acid concentration due to phosphate film formation by adsorption at high concentrations and carbonate dissolution in this aggressive medium. Also, diffusion is limited and decreases sharply at the highest concentration. So, increasing phosphoric acid concentration enhanced the adsorption behavior and reduced the diffusion process. Thus, carbonate peaks disappear and phosphate peaks appear in Raman spectra.

Figure 12 shows the Raman spectra in the region 450 to 1000 cm−1 for the film growing on the Ti alloy in 0.5 M phosphoric acid solution containing 3% magnesite after immersion for 1 h. It shows the peaks of TiO2 film at 520 and 638 cm−139 and the peaks at 470 and 985 cm−1 are for magnesium phosphate film ensuring the formation of the film on the alloy surface.

Figure 12
figure 12

Raman spectra in the region from 470 to 1000 cm−1 for the surface film on the Ti alloy in 0.5 M phosphoric acid solution containing 3% Magnesite after immersion for 1 h (* probe peaks).

So, at the highest concentration of phosphoric acid, the impedance value increases and corrosion current density decreases well due to phosphate film formation on alloy surface which is confirmed by the appearance of phosphate peak in Raman spectra at this concentration.

FTIR analysis for phosphoric acid without and with 3% magnesite

The FTIR measurement was taken for phosphoric acid only without and with 3% magnesite in solution to confirm the formation of the magnesium phosphate film.

The Fourier transform infrared spectra (FTIR) are shown in Fig. 13, and were recorded to understand the chemical and molecular interactions between 0.5 M phosphoric acid and 3% magnesite. It is clear that after adding magnesite, there are new bands at 683 cm−1 due to magnesium phosphate (Newberyite) formation36. Other bands at 1108 and 1419 cm−1 are due to carbonates. Also, all bands higher than 1600 cm−1 are due to H–O–H bending or stretching. This confirms magnesium phosphate film formation.

Figure 13
figure 13

FTIR for phosphoric acid solution without and with 3% magnesite.

Finally, all results obtained using all techniques and analyses ensured the excellent protective behavior of magnesite inhibitor for Ti-6Al-4V alloy in phosphoric acid of different concentrations (0.001–0.5 M) and considered as a novel natural, low cost and widely available material used in industrial applications.

Moreover, the obtained data allow us to deduce the diffusion limited mechanism of the magnesite interaction with phosphoric acid at low concentration and the enhanced adsorption behavior when the phosphoric acid concentration increases. The formation of magnesium phosphate passivation film on the magnesite surface controls the Mg2+ concentration in the solution for a better inhibition action on the Ti-alloy surface. Magnesite mineral dissolves with increasing acid concentration and converted to magnesium phosphate which is a good film that works on the alloy surface protection by adsorption behavior and diffusion limited behavior as confirmed by all done techniques in this work. This suggests that magnesite natural mineral can be used as an effective inhibitor even at high acid concentrations.

Conclusions

Based on the results of potentiodynamic polarization and EIS measurements, the following conclusions are drawn in this study:

  1. 1.

    The electrochemical corrosion resistance of the Ti-6Al-4V alloy in phosphoric acid increases with immersion time.

  2. 2.

    The corrosion resistance of Ti-6Al-4V alloy in phosphoric acid shows that magnesite mineral behaves as an inhibitor, and that the corrosion resistance increases with increasing phosphoric acid concentration containing it and the hydrogen evolution decreases. This means that magnesite mineral protects the alloy surface from the corrosive acid medium.

  3. 3.

    The excellent inhibition effect of magnesite was attributed to the formed protective film, consisting of the insoluble magnesium phosphates.

  4. 4.

    The inhibition efficiency of the magnesite improved with the increase in the phosphoric acid concentrations.