Introduction

Hydrochloric acid solutions are one of the most corrosive media. Therefore, investigating the inhibitory performance of copper corrosion in this acid solution is important for academia and industrial [1]. Copper equipment can be easily corroded by hydrochloric acid media which is used to dissolve the corrosion products [2]. Organic inhibitors are commonly used to protect copper from corrosion [3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]. The organophosphorus compounds and their phosphonate derivatives are particularly among the best inhibitors used because they are non-toxic, water soluble and prepared in a high purity and with low cost [18,19,20].

A previous study demonstrated that compounds which have phosphonate acid PO3H2 group connected with aromatic spacer are effective inhibitors to protect carbon steel and copper from corrosion [21,22,23]. The presence of (PO3H2) and benzene rings in their structure produces more than one center for chemical adsorption and forms a stable adsorption layer on the metal.

Previously, complexing power of two polyphosphonic acid ligand namely {Methylenebis [(2-hydroxy-5,1,3-phenylene)bismethylene]} tetraphosphonic acid (TPA) and {[2-hydroxy-5(4-hydroxybenzyl)-1,3-henylene] bis (methylene)} bisphosphonic (DPA) (Scheme 1) for Cu2+ and Fe3+ cations was tested to obtain the stability constant [24]. We found that the stability constants of DPA-Cu and DPA-Fe are superior to those obtained with TPA. Because of this, in the present study, we expect that DPA will be a good inhibitor to protect copper from corrosion. The inhibition efficiency and corrosion rate will be investigated by polarization curves, weight loss electrochemical impedance spectroscopy (EIS). Scanning electron microscopy (SEM) and X-ray diffraction (XRD) will be used to describe the morphology and the surface roughness of the uninhibited and inhibited copper samples. The DFT calculations will be used to verify the mechanism of Cu corrosion.

Scheme 1.
scheme 1

Chemical molecular structure of DPA and TPA

Experimental work

Electrochemical, scanning electron microscopy (SEM) and X-ray diffraction (XRD) tests

The metal used for the current study was copper having 99.9% purity. 0.5 M HCl was prepared by diluting the analytical grade 36–38% HCl with distilled water. The inhibitor {Methylene dis [(2-hydroxy-5,1-phenylene)methylene]} bisphosphonic acid (DPA) was synthesized according to the published procedure [25]. The concentration of the inhibitor was investigated in the range 10−5–10−9 M.

Copper samples for weight loss studies were rectangular in size (3 × 1 × 0.1 cm). The copper was polished with a series of emery paper (grade 600–800–1200) and then washed with distilled water and acetone. The test samples were immersed totally in a 50-ml beaker that has 0.5 M of HCl and different concentrations of DPA for 1 h. Three-electrode system consists of copper working electrode (WE), platinum grid as the counter electrode (CE) and a saturated calomel electrode (SCE) as the reference electrode (RE), which was used in all experiments. The electrochemical impedance measuring signal was a sine wave ranging from 100 kHz to 10 mHz. Polarization experiment was conducted by varying the concentration of the inhibitor at a scan rate of 10 mV/s in the range − 1.5 to 1.5 V. The experiments were repeated approximately four times to guarantee reproducibility. The morphology and chemical composition of the inhibited and uninhibited samples were examined using scanning electron microscopy (SEM) and X-ray diffraction (XRD), respectively.

Quantum chemical calculations

Full geometry optimization of DPA was carried out using density functional theory (DFT) at the B3LYP level [26]. All calculations were carried out with the Gaussian 09 program package [27]. The geometry optimization of DPA and all calculations was done in water solvent using cc-pvdz basis set. Fractional contributions to various fragments of the molecular orbital were obtained by GaussSum program [28].

Results and discussion

Weight loss measurements

Figure 1 shows the rates of Cu corrosion at different concentrations of DPA in 0.5 M HCl solution after 1 h of immersion at 25 °C. The corrosion rate decreases with the decrease in inhibitor concentration due to the large molecule size of DPA which is adsorbed at the metal/solution interface. The size and molecular weight of organic inhibitor also have an impact on the efficiency of inhibition [22, 29]. Larger the molecule, greater is the inhibition efficiency. Also, the corrosion rate increases when the inhibitor concentration reaches 10−9 M which is optimal concentration. The corrosion rate (CR in mg cm−2 h−1) was measured using Eqs. 1:

$${C}_{R}=\frac{\mathrm{W}}{\mathrm{A}\times \mathrm{t}}$$
(1)

where W (mg) is the weight loss before and after immersion in aggressive solution, A (cm2) is the area of immersed metal coupon and t (h) is time.

Fig. 1
figure 1

Corrosion rate (CR) for copper in 0.5 M HCl solution containing different concentrations of DPA at 25 °C

Electrochemical methods

Open circuit potential

The open circuit potential of copper electrode immersed for 30 min in different concentrations of inhibitor is given in Fig. 2. In the blank 0.5 M HCl, the OCP is shifted to more positive values, which is an indicator for the formation of oxide film that attacks metal surface [30,31,32]. With the immersion time and with the presence of inhibitor, all OCPs are decreased toward the negative values and are stable after 30 min of immersion. The negative shift of the Eocp in the presence of DPA can be explained by the adsorption of DPA on the active corrosion sites of copper surface [33, 34]. Thus, all electrochemical measurements are conducted after 30 min of immersion in 0.5 M HCl solution.

Fig. 2
figure 2

Open circuit potential, EOCP–time relations for copper immersed in 0.5 M HCl solution containing different concentrations of DPA at 25 °C

Electrochemical impedance spectroscope (EIS)

The Nyquist curves obtained during 30 min of immersion in the corrosive solution with different concentrations and without DPA at 25 °C are shown in Fig. 3a. The impedance diagrams obtained show perfect semicircles with a capacitive loop at high frequencies and a straight line (Warburg impedance) at low frequency for all Cu samples immersed in 0.5 M HCl solution with and without inhibitor. From this observation, we can conclude that copper corrosion mechanism is not affected by the addition of DPA [35, 36]. The equivalent circuit used for impedance studies is given in Fig. 3b, where Rs is a solution resistance, Rt is the charge transfer resistance, CPE (Qd) is constant phase element and W is the Warburg impedance. The electrochemical parameters of Rt, CPE and ηz% in the presence and absence of DPA in 0.5 M HCl are calculated by ZSimp Win software and listed in Table 1.

Fig. 3
figure 3

Nyquist diagrams of copper in a 0.5 M HCl medium with or without DPA at room temperature: comparison of experimental (scatter) and fitting (red line) data and b electrical equivalent circuit model used to fit the experimental impedance data

Table 1 Electrochemical impedance parameters for copper in 0.5 M HCl with and without inhibitor after 30 min immersion

Table 1 shows that the values of Rt are increased, whereas the values of CPE are decreased with the decrease in DPA concentration. The values of Rt increase from 472.6 Ω cm2 (blank) to reach the value of 4338 Ω cm2 at 10−8 M of DPA. From this observation, we can imply that the metal surface is covered with a resistant film. We also notice that the values of CPE are reduced from 134.1 μF cm2 when 10−8 M of DPA was used to 421.9 μF cm2 for the blank solution. This reduction can be explained by increasing the density of the double layer and the decreasing the local dielectric constant [37, 38]. Therefore, the values of inhibition efficiency are increased with the decrease in concentration and reach the optimum values of 89% at 10−8 M similar to the weight loss experiments (10−8 M is an optimal concentration). From all these observations, we can conclude that a protective film was formed on the metal/solution interface.

The inhibition efficiency (ηz) was calculated by the charge transfer resistance values using the following Eq. (2):

$${\eta }_{z}=\frac{{R}_{t}-{R}_{t}^{^\circ }}{{R}_{t}}\times 100$$
(2)

where \({R}_{t}^{^\circ }\) and \({R}_{t}\) are the charge transfer resistance in absence and in presence of inhibitor, respectively.

Potentiodynamic polarization curves

Polarization tests after 30 min in 0.5 M HCl and different concentrations of DPA at 25 °C were used to extract the corrosion potential (Ecorr), cathodic and anodic Tafel slopes (βc, βa) and corrosion current density (icorr), respectively. The Tafel diagrams (Fig. 4) show that the cathodic and anodic current densities are significantly decreased with the decrease in concentrations of DPA. Table 2 shows the polarization and inhibition efficiency for copper in 0.5 M HCl. The inhibition efficiency is defined by Eq. 3.

$$\eta _{p} = ~\frac{{i_{{{\text{corr}}}}^{^\circ } - ~i_{{{\text{corr}}}} }}{{I_{{{\text{corr}}}}^{^\circ } }}~ \times 100$$
(3)

where \(i_{{{\text{corr}}}}^{^\circ }\) and icorr are the unprotected and protected current densities of the working electrode in the 0.5 M HCl solution, respectively.

Fig. 4
figure 4

Tafel curves of copper in 0.5 M HCl solutions with or without varying concentrations of DPA after 30 min

Table 2 Obtained data from polarization plots of copper in 0.5 M HCl at varying concentrations of DPA

Table 2 and Fig. 4 show that the values of Ecorr, the anodic and cathodic branches are shifted to more negative potentials as the concentration increases like the results obtained from OCP experiments. Also, there is a decrease in icorr from 224.129 μA for the blank to a value of 30.814 μA and increase in the inhibitory efficiency to reach a maximum value of 89.9% when inhibitor was used indicating that the DPA forms a layer that blocks the active sites and prevents the metal from the dissolution. The polarization data show that the addition of the inhibitor alters both βa and βc values. For example, the value of βa was changed from 181.065 mV dec−1 for the blank to 54.003 mV dec−1 in the case of 10−8 M of DPA while for βc, it was changed from − 293.166 to 675.612 mV dec−1. The decrease in βa and βc values with addition of the inhibitor indicates that the DPA is a mixed-type inhibitor [39]. The efficiencies which were calculated from the weight loss, EIS and polarization methods were found to be in a good agreement.

Adsorption isotherm model study

Adsorption isotherm models can give information about the type of adsorption of DPA on metal/solution interface. Langmuir, Temkin, Frumkin, Freundlich, El-Awady and Flory–Huggins are the most frequently used adsorption isotherms. The recovery of the metal surface (θ) is obtained from the different concentrations of inhibitor using the relationship θ = ηp%/100 (ηp% is obtained from the polarization curves). The fitted linear regression coefficients (R2) for the curves of different types of isotherms indicate that the adsorption of DPA obeys Frumkin adsorption isotherm. The Frumkin adsorption isotherm is calculated by Eq. (4):

$$\mathrm{ln}\left(\frac{\theta }{\left(1-\theta \right)C}\right)=ln{K}_{ads}+2\alpha \theta$$
(4)

where θ is the degree of surface coverage, Kads is the equilibrium constant of adsorption process, C is the concentration of the inhibitor and α is molecule’s interaction parameters.

The results of the Frumkin adsorption isotherm model fitting are shown in Fig. 5. The value of ∆G°ads is calculated from Eq. 5:

$$\Delta G_{{{\text{ads}}}}^{^\circ } = - RT{\text{ }}\ln {\text{ }}\left( {55.5K_{{{\text{ads}}}} } \right)$$
(5)
Fig. 5
figure 5

The Frumkin adsorption isotherm of DPA on copper surface in the 0.5 M HCl solution at 298 K

A positive value of α (2.73) means there is an attraction for the DPA in the adsorption layer causing an increase in the adsorption energy with increase in surface coverage [37]. The measured values of Kads (5741.4094 L/mol) and ΔG°ads (− 31.395 kJ/mol) are presented in Fig. 5. It is well known that large Kads values and small values of ΔG°ads are corresponding to high corrosion inhibition performance [40, 41]. It is worthy to mention that the value of ΔG°ads is negative, revealing that the DPA adsorption on the Cu surface is spontaneous. Besides, the value of ΔG°ads is between − 20 and − 40 kJ/mol, revealing that the DPA adsorption on the metal surface is a combination of physical and chemical adsorption [41,42,43].

Effect of temperature

The current density (icorr) and inhibition efficiency (ηp%) for Cu in 0.5 M HCl solution with or without varying concentrations of DPA after 30 min and in the temperature range 298–328 K were obtained from the polarization curves (Fig. 6). For all the concentrations, the icorr values were found to increase with increase in temperature due to the roughness of the metal surface caused by the high temperature. It is also seen that the ηp decreases with increase in temperature, but this behavior is less pronounced at low concentrations of DPA. For example, when the concentration is 10−8 M, the value of ηp% varies from 89.9, 72.8, 59.3 to 39.1% as the temperature was changed from 298, 308, 318 to 328 K, indicating that covering film of the DPA on the Cu surface is stable and capable to protect the metal from the corrosion.

Fig. 6
figure 6

a current density (icorr) and b inhibition efficiency (ηp%) for copper in 0.5 M HCl solutions with or without varying concentrations of DPA after 30 min obtained from different temperatures

Activation energy research

Thermodynamic parameters are important to understand the inhibitive mechanism. The corrosion activation energies (Ea) were calculated at different concentrations of DPA using the polarization data in 0.5 M HCl (Fig. 7). Arrhenius formula, Eqs. (68), was used to calculate activation parameters for corrosion process:

$$i = k{\text{ }}\exp \left( { - Ea/RT} \right)$$
(6)
Fig. 7
figure 7

Arrhenius plots for copper in 0.5 M HCl solution without and with different concentrations of DPA

$${\Delta H}_{ads}^{^\circ }={E}_{a}-RT$$
(7)
$${\Delta S}_{ads}^{^\circ }=\frac{{\Delta H}_{ads}^{^\circ }-{\Delta G}_{ads}^{^\circ }}{T}$$
(8)

All the calculated thermodynamic parameters are listed in Table 3.

Table 3 The activation parameters of copper in 0.5 M HCl solution containing various concentrations of DPA

In Fig. 7, there is a good linear relationship between logicorr and 1000/T. The adsorptive equilibrium constant (Kads) is decreased with the increase in temperature, demonstrating that the inhibition performance is decreased. Adsorption of DPA on the copper may modify the surface by blocking a part or all the active sites and reduce the rate of electrochemical reactions on the surface. There is an increase in Ea in presence of inhibitor which is an indication for the physical adsorption [44, 45]. The endothermic nature of the corrosion process is supported by the positive sign for ∆H°. The positive value of ∆S°ads can be explained by increasing the disorder of the system due to desorption of water molecules and adsorption of inhibitor molecule on the metal surface [46,47,48].

The effect of immersion time

Prolonged immersion time test is necessary to find the stability of organic corrosion inhibitor. The dynamic adsorption process of DPA has been studied using EIS technique. The collected Nyquist plots for Cu electrode in 0.5 M HCl solution in the absence and presence of 10−8 M inhibitor with the elapsed of time at 25 °C are displayed in Fig. 8. Electrochemical impedance parameters derived from the Nyquist diagrams are listed in Table 4. Figure 8a shows that with time, the shape of the Nyquist plots is not affected by the presence of inhibitor indicating that the mechanism of the corrosion process did not change by increasing the immersion time. For blank solution (Fig. 8a), the diameters of the semicircles of the Nyquist plots are decreased with the increase in immersion time. This indicates that in the absence of the DPA, the Rt values show exponential decrease with the exposure time. This decrease is associated with an increase in the double-layer capacitance (Table 4) because of the accumulation of corrosion products (CuCl or CuCl2) in the diffuse double layer. The inverse proportional of Rt value with corrosion rate may be discussed on the basis that the long immersion time for copper in the acidic solution allows the hydrogen evolution kinetics to increase because the more cathodic sites are exposed by the corrosion process [49].

Fig. 8
figure 8

Nyquist plots for copper in 0.5 M HCl solution (a) in the absence and presence of 10−8 M DPA in different immersion time at 298 K

Table 4 Impedance parameters for copper in 0.5 M HCl without and with 10–8 M DPA at varied exposure time

Whereas in the presence of 10−8 M DPA (Fig. 8b), Rt is decreased and ηZ is increased with the increase in immersion time which indicates that there is a stable adsorption layer of di-phosphonate derivative in copper surface.

SEM analysis and X-ray diffraction patterns

SEM images are shown in Fig. 9 for copper specimen in air (A) taken after 30 min immersion in 0.5 M HCl without (B) and with 10−8 M DPA (C). Clearly, the copper surface is attacked by the chloride ion leaving some small cracking after immersion in 0.5 M HCl solution (Fig. 9B) comparing to immersed one (Fig. 9A). The passivation layer formed on the copper surface is discontinuous, and it is necessary to introduce additional corrosion inhibitor to reduce the corrosion of the copper surface. Figure 9C shows that the copper surface is damaged more in the absence of inhibitor and the image shows a good protective film on the copper surface is formed from the adsorbed inhibitor species.

Fig. 9
figure 9

SEM images and XRD patterns of the copper surface in the air (A, A′), copper surface after 30 min immersion in 0.5 M HCl (B, B′) and in presence 10−8 M DPA (C, C′)

The X-ray diffraction patterns for the film formed on the surface of the copper specimens immersed in 0.5 M HCl with and without DPA are given in Fig. 9A′ (the pure copper specimens) and Fig. 9B′ ( XRD pattern for the material in blank solution). There are different species of corrosion product of copper chloride complexes CuCl or CuCl2 are formed on the metal surface [50,51,52,53]. In the presence of DPA Fig. 9C′, the corrosion was suppressed due to the inhibitor adsorption on the metal surface which protects surface from Cl attack. Consequently, XRD pattern showed the disappearance and a decrease in the intensity for some peaks due to the formation of a passivation film on copper surface. These confirm that the DPA molecules inhibit copper by forming a barrier on the surface and preventing the CuCl/CuCl2 complex to form [50]. The XRD analysis is also in good agreement with SEM analysis and experimental results.

Quantum chemical study of DPA

The density functional theory (DFT) is a useful technique to find the chemical parameters that are useful to explain the inhibitor/surface interaction, as well as the experimental data (Table 5). The optimized molecular structure and Mullikan charge (Fig. 10) analysis for the DPA inhibitor are used to estimate the adsorption center of adsorption of the inhibitor molecule on the metal surface [53]. Figure 10 shows that the negative regions are localized on the oxygen atoms, while positive regions are localized on the phosphorus atoms of the inhibitor molecule. This leads to a conclusion that the oxygen atoms had the strongest ability for the bonding with metal surface.

Table 5 DFT quantum parameters for DPA molecule (eV)
Fig. 10
figure 10

The optimized structure, Mullikan charge and calculated electrostatic potential of DPA

The electrostatic potential around DPA complex was calculated using the Gaussian 09 program. The atomic coordinates were extracted from the optimized structure. Blue and the red parts in the maps represent positive and negative potentials, respectively. The calculated electrostatic potential maps in Fig. 10 show that the positive and the negative centers were in asymmetric positions. Therefore, it is impossible for this inhibitor to offset its internal dipole moments. Therefore, this inhibitor showed polarity and dipole–dipole interactions, which played a significant role in forming the assembled monolayer. The HOMO gives information about the sites of the molecule that tends to donate electron to the empty orbital of the metal, while LUMO gives information about the part that accepts electron from the filled metal orbital [54]. Relative percentages of atomic contributions for the HOMO and LUMO orbitals and the isodensity plots are shown in Fig. 11. DFT results of DPA show that the HOMO is mainly phenyl (C6H3CH2C6H3) in character. The LUMO molecular orbital has 61% phenyl and 30% phenolic suggesting that both the donation from π(HOMO) → d(Cu0) and the back donation from d(Cu0) → π* (LUMO) are localized on the two-phenyl ring. As shown in Fig. 11, the charge densities of HOMO and LUMO of DPA molecule are almost uniformly distributed throughout the whole molecules. Thus, the adsorption of the inhibitor on the copper surface in a parallel mode protected copper from the corrosive medium [55].

Fig. 11
figure 11

Isodensity of the HOMO and LUMO orbitals of inhibitor with DFT energies and % composition of HOMO and LUMO molecular orbitals expressed in terms of composing fragments

The energy of the highest and lowest occupied molecular orbital (EHOMO and ELUMO) and the energy gap (ΔEgap = EHOMO − ELUMO) can be used to explain the metal/inhibitor interactions [56]. In most cases, the chemical stability of the molecule can be deduced from the energy gap (ΔEgap). Lower ΔEgap means adsorption of inhibitor on metallic surface is strong. The high dipole moment (µ = 3.0115 Debye) makes the inhibitor to form a strong dipole–dipole interaction with the metal surface. Softness (σ), electronegativity (χ) and hardness (η) are important parameters to estimate the stability and reactivity of the inhibitor. The high value for η (5.36), χ (2.84) and low value for σ (0.39) are both an indication for excellent inhibition efficiency. ΔN represents the fraction of electrons transferred from the inhibitor molecules to atoms of the metal upon interactions. Positive value of ΔN = 0.32 demonstrates that DPA can give electrons to copper surface to form self-assembled inhibitor layers [57].

Mechanism of inhibition

From the value of \({\Delta G}_{\mathrm{a}\mathrm{d}\mathrm{s}}^{^\circ }\) and DFT results, we can conclude that the adsorption of the DPA on the copper surface is both physical and chemical adsorption. The physisorption can be explained as follows: Some adsorption sites of the Cu positively charged surface should be preoccupied by Cl present in the electrolytic solution. Because of this, there is an excessive negative charge directed to solution interface which facilitates the adsorption of protonated DPA by electrostatic interaction. The chemisorption can be explained as follows: The DPA may adsorb on the surface by the π-electron of the aromatic benzene ring and the lone pair of heteroatoms or by with the vacant d-orbital of the copper [58, 59]. The two possible modes of adsorption of DPA on Cu surface in 0.5 M HCl solution are depicted in Fig. 12.

Fig. 12
figure 12

Pictorial representation of adsorption of DPA inhibitor on copper surface in 0.5 M HCl

Conclusions

  • Phosphonate derivative (di-phosphonic acid (DPA)) is a good inhibitor for the corrosion of copper in 0.5 M HCl medium.

  • A mixed-inhibition mechanism is proposed for inhibition, and corrosion inhibition efficiency is increased with the decrease in concentration for DPA.

  • Inhibitive action is due to physical and chemical adsorption of DPA on the copper surface that obey Frumkin adsorption isotherm.

  • The theoretical data obtained are in a good agreement with the experimental inhibition efficiency results.

  • SEM images and DRX confirm the formation of a protective layer on the copper surface.