Introduction

Corrosion of metals in acidic solutions is usually electrochemical process in nature, influenced by various environmental factors [1]. Since acidic solutions are widely used in industry, corrosion inhibitors are needed to reduce metallic corrosion. They are mostly organic compounds containing one or more heteroatom, multiple bonds or aromatic ring(s) [2, 3, 4, 5, 6, 7, 8]. The inhibitive action of such compounds is related to the presence of atom(s) with unshared electron pairs, available for adsorption to the metal thereby slowing the corrosion process [6, 7, 8, 9, 10].

Nitrogen-containing compounds of the triazole-type were showed as effective inhibitors for many metals and alloys [2, 4, 5, 6, 7] due to the presence of three nitrogen atoms in an aromatic ring. It is known that benzotriazole is an effective inhibitor for Cu [11, 12, 13, 14] and Fe [15]. Surface-enhanced Raman spectroscopy shows that benzotriazole interacts with iron through its triazole ring [15]. The surface complex [Fe n (Cl) p (BZT)] m formed by the participation of the chloride ion is present in that solution. The adsorption is believed to occur by coordination through the lone electron pair on one of the nitrogens with an iron atom.

We thought it would be interesting to investigate benzotriazole compounds with some oxygen-containing substituents. Its tendency to form coordinate bond might be enhanced by increasing the effective electronic density of the functional group.

Electrochemical methods used here were Tafel extrapolation and polarization resistance measurements. They are DC corrosion techniques, the first by extrapolation of the applied current from the anodic and cathodic region to the open-circuit potential, and the second by anodic and cathodic polarization within vicinity ±25 mV of the corrosion potential, i.e., applied current density is approximately linear with potential. Also, an AC electrochemical impedance technique is used as a complex number in terms of a magnitude and a phase shift, available for identifying corrosion reaction mechanism [16]. Molecular orbital calculations based on the semi-empirical PM3 method [17] were performed for all compounds in order to get better insight into their structural and electronic properties, and correlate this with their inhibitor efficiency.

Materials and methods

Experiments were carried out on iron rod with a surface area 0.28 cm2 (Puratronic 99.99%, Johnson Matthey Company) mounted in Teflon. The iron surface was prepared before each experiment using emery papers of different grit sizes down to 4/0 grit, polished with Al2O3 (0.5 μm particle size) and cleaned in an 18 MΩ water bath. The electrode was rinsed with acetone and bi-distilled water, and dried at room temperature.

A three-electrode component electrochemical cell was used. A saturated calomel electrode (SCE) served as a reference, platinum wire (Premion 99.997%) and 99.9% platinum gauze (52 mesh, Johnson Matthey Company) as counter and working iron electrode, respectively. The experiments were carried out in an open cell under static aerated conditions, at 25 °C, with a fine Lugin capillary placed close to the working electrode to minimize ohmic resistance.

Hydrochloric and perchloric acid (Fisher Scientific) solutions were prepared from concentrated acid and bi-distilled water. The organic compounds (TCI America) were used without any pretreatment. Fresh solutions were prepared before each experiment. Structures of all compounds investigated are shown in Fig. 1.

Fig. 1
figure 1

Optimized structures (SCF-MO PM3 method) for triazole (TRA), benzotriazole (BZT), 1-hydroxybenzotriazole (HBT), 1H-benzotriazol-1-methanol (BTM) and N-(1H-benzotriazole-1-ylmethyl)-formamide (FMB)

Measurements were performed with a Gamry Instrument Potentiostat/Galvanostat /ZRA. This includes a Gamry Framework system based on the ESA400 and the VFP600, and Gamry applications that include DC105 corrosion and EIS300 electrochemical impedance spectroscopy measurements, along with a computer for collecting the data. Echem Analyst 4.0 software was used for plotting, graphing and fitting data. Impedance time experiments were done with a Solartron 1250 frequency response analyzer using EIS software model 398 for data analysis.

The Tafel curves were obtained by changing the electrode potential automatically from −250 mV to +250 mV vs open circuit potential (Eoc) at a scan rate of 1 mV/s. Linear polarization resistance experiments were done at −25 mV to +25 mV vs Eoc at a scan rate of 1 mV/s. Electrochemical impedance spectroscopy (EIS) measurements were carried out under potentiostatic conditions in a frequency range of 100 kHz to 0.1 Hz with an amplitude of 1 mV peak-to-peak using AC signals at open circuit potential. All experiments were measured after 900 s immersion time. EIS time experiments were carried out after 7200 s immersion time in the same frequency range, with amplitude of 5 mV peak-to-peak using AC signals at Eoc.

Molecular modeling was carried out with Hyperchem version 7, a quantum mechanical program marketed by Hypercube Inc., implemented on an Intel Pentium 3, 600-MHz computer. The PM3 method [17] used is based on the semi-empirical Self-Consistent Field Molecular Orbital (SCF-MO) method [18, 19]. A full optimization of all geometrical variables without any symmetry constraint was performed at the Restricted Hartree-Fock level [20, 21].

Results and discussion

Tafel extrapolation

Tafel data for iron immersed in 1 mol/l HCl in the absence and presence of inhibitors are given in Table 1. The potential/current Tafel lines are shown in Fig. 2. The corrosion current (icorr), corrosion potential (Ecorr) as well as cathodic (βc) and anodic (βa) slopes were determined by extrapolation. Inhibitor efficiency (IE) was calculated using the equation

Table 1 Electrochemical kinetic parameters of iron corrosion in 1 mol/l HCl without and with different concentrations of inhibitors
Fig. 2a,b
figure 2

Anodic and cathodic Tafel lines for iron in uninhibited 1 mol/l HCl and with addition of inhibitors: a TRA and BZT at concentration 10−3 mol/l; b HBT, FMB and BTM at concentration 5×10−3 mol/l

$$ IE = {\left( {\frac{{i^{o}_{{corr}} - i_{{corr}} }} {{i^{o}_{{corr}} }}} \right)} \times 100 $$
(1)

where iocorr and icorr correspond to current densities of uninhibited and inhibited solutions, respectively. icorr was used to calculate a corrosion rate (CR) of iron:

$$ CR = \frac{{i_{{corr}} KEw}} {{dA}} $$
(2)

where K is a constant that defines the units for the CR (3272 mm/A cm year) and A, d, and Ew are sample area, density and equivalent weight of iron, respectively.

In 1 mol/l HCl, both icorr and CR decreased considerably with inhibitor. The corrosion inhibition of triazole, benzotriazole and derivatives are all in a relatively small efficiency range. At the highest inhibitor concentration, 10−2 mol/l, the inhibiting effect is often in excess 88% (Table 1).

The compounds affect both electrochemical processes i.e. the anodic dissolution of iron and the hydrogen reduction processes. In their presence corrosion of iron is under ‘mixed’ control, with TRA and BZT (Fig. 2a) and HBT, BTM and FMB (Fig. 2b).

Similar behavior is observed for iron in 1 mol/l HClO4 acid. Typical Tafel curves as well as kinetic parameters are shown in Fig. 3 and Table 2. Again, the presence of triazole-type compounds decrease rate of corrosion, decrease current density and increase inhibitor efficiency (Table 2) but less so than in HCl (Table 1). The inhibiting effect increases with concentration as for HCl. The largest effect in 1 mol/l HClO4 shows BZT (Fig. 3) at 10−2 mol/l, at 80% efficiency.

Fig. 3
figure 3

Anodic and cathodic Tafel lines for iron in uninhibited 1 mol/l HClO4 and with addition of BZT at concentration range of 10−4 to10−2 mol/l

Table 2 Electrochemical kinetic parameters of iron corrosion in 1 mol/l HClO4 without and with different concentrations of inhibitors

Comparing inhibitor behaviors in both acids, it is evident that in 1 mol/l HClO4 the corrosion potential is shifted anodically and in 1 mol/l HCl cathodically by these inhibitors, but there is no definite trend found in potentials (Tables 1 and 2). In both acids, increasing the inhibitor concentration decreases current densities. The slopes βa and βc change both electrode reaction, and their shift depends on inhibitor concentration. The addition of triazole, benzotriazole and derivatives inhibit anodic and cathodic reactions on the iron indicating their inhibitor performance of mixed type.

The effect of inhibitor concentration and Tafel slope CR is shown in Fig. 4. The greater increase in inhibiting behavior is observed with BTM and FMB (Fig. 4a). The highest efficiency is found for BTM, where both electrochemical reactions are decreased the most (Fig. 2b) and lowest corrosion rate is obtained (Table 1). Compared to the other substituted benzotriazole derivatives this effect is probably due to increased electronic transfer from its functional group. However, variation in inhibitor efficiency also depends on the nature of the R-groups on the aromatic ring [3] (Fig. 1). Normally, oxygen-containing substituents are expected to affect electron charge density on the active center of the molecule and thus improve inhibition [22].

Fig. 4a,b
figure 4

Correlation between Tafel slope corrosion rate and inhibitor concentration in: a 1 mol/l HCl; b 1 mol/l HClO4

Linear polarization resistance

Electrochemical corrosion kinetic parameters obtained from polarization resistance (Rp) for both acids, 1 mol/l HCl and 1 mol/l HClO4 in the presence and absence of triazole, benzotriazole and derivatives are given in Tables 3 and 4, respectively.

Table 3 Polarization resistance data of iron in 1 mol/l HCl in the absence and presence of different concentrations of inhibitors
Table 4 Polarization resistance data of iron in 1 mol/l HClO4 in the absence and presence of different concentrations of inhibitors

The scan through a potential range of ±25 mV at open circuit potential gives a linear current response. This slope and intersection gives Rp and Ecorr values, respectively. icorr was calculated (Tables 3 and 4) by applying Eq. (3) for charge transfer controlled reaction kinetics for the case of small corrosion potential perturbation [23]:

$$ i_{{corr}} = {\left( {\frac{{\beta _{a} \beta _{c} }} {{2.303{\left( {\beta _{a} + \beta _{c} } \right)}}}} \right)} \times {\left( {\frac{1} {{R_{p} }}} \right)} $$
(3)

where βa and βc are anodic and cathodic slopes, respectively.

Inhibition efficiency is calculated from Eq. (4):

$$ IE = {\left( {1 - \frac{{R^{o}_{p} }} {{R_{p} }}} \right)} \times 100 $$
(4)

where Rpo and Rp represent polarization resistance for uninhibited and inhibited solution, respectively.

The values of Rp in both acids show that polarization resistance increased with increasing concentration of inhibitor. Electrochemical kinetic parameters are in satisfactory correlation for both DC methods (Tables 1, 2, 3, 4 and Fig. 5), with the same order of inhibitor efficiency obtained by both.

Fig. 5
figure 5

DC techniques (Tafel extrapolation and linear polarization resistance) correlation graphs of inhibitor efficiency (IE%) and inhibitor concentration for TRA, BZT, and BTM in 1 mol/l HCl

Electrochemical impedance spectroscopy

All impedance measurements were performed under potentiostatic conditions. Nyquist plots of uninhibited and inhibited solutions in 1 mol/l HCl are shown in Fig. 6. Charge transfer resistance (Rct) was calculated from the difference in impedance at the lower and higher frequencies. The impedance diagrams are not perfect semicircles, which can be attributed to frequency dispersion [13]. It is evident from Nyquist plots that they are significantly changed on addition of inhibitors (Fig. 6).

Fig. 6a,b
figure 6

Nyquist plots of iron in 1 mol/l HCl with: a 10−3 mol/l TRA and BZT; b 10−2 mol/l HBT, FMB, and BTM. Frequency range from 100 kHz to 0.1 Hz

Figure 7 shows that the impedance of the inhibited system increased with inhibitor concentration. For all compounds investigated in 1 mol/l HCl, Fig. 7a shows a big gap between the first and second concentration used and an almost linear increase behind. The inhibiting effect is lesser in 1 mol/l HClO4 compared with that in 1 mol/l HCl. Also, in 1 mol/l HClO4 the inhibiting effect of HBT remains unchanged above 10−3 mol/l, while BZT increase in this range.

Fig. 7a,b
figure 7

Correlation between charge transfer resistance (Rct) and inhibitor concentration in: a 1 mol/l HCl (Fe/1 mol/l HCl Rct=250.5 Ω); b 1 mol/l HClO4 (Fe/1 mol/l HClO4 Rct=295.1 Ω). Immersion time 900 s

Rct values for 2–16 h of immersion time at the highest inhibitor concentration are presented in Fig. 8. These results show increased charge transfer resistance over the 16 h and enhanced inhibiting effect. It is indicative that after 10–12 h of immersion time the inhibiting effect is almost constant.

Fig. 8a,b
figure 8

Correlation between charge transfer resistance (Rct) and immersion time (2–16 h) for Fe in: a 1 mol/l HCl; b 1 mol/l HClO4 in the presence of the inhibitors studied

An electrical equivalent circuit is generally used to model the electrochemical behavior and to calculate some parameters of interest. The equivalent circuit in Fig. 9 fits the impedance data well. This model represents one possible assignment of circuit elements to physical phenomena on a metal surface.

Fig. 9
figure 9

Equivalent circuit model for the studied inhibitors

The impedance spectra described by semicircles are indicative for single charge transfer reaction occurring with Rct parallel with the interfacial capacitance, replaced with CPE [24]. Rs, Rct and CPE refer to solution resistance, charge transfer resistance and constant phase element, respectively. For the description of a frequency independent phase shift between an applied AC potential and its current response, the impedance of a CPE has the form

$$ Z = \frac{{\frac{1} {{Z_{o} }}}} {{{\left( {j\omega } \right)}^{\alpha } }} $$
(5)

where Zo is the CPE constant, ω is the angular frequency and j is the imaginary number. When this equation describes a capacitor, the constant Zo=C (the capacitance) and the exponent α=1. For a constant phase element, the exponent α<1.

Using the concept of CPE we got excellent fit for all experimental data. Representative examples of Nyquist and Bode-phase plots of iron corrosion in the presence of 10−3 mol/l and 10−2 mol/l BZT in 1 mol/l HCl and 1 mol/l HClO4, respectively are shown in Figs. 10 and 11. The solution resistance is found from the real axis value at the high frequency intercept, near the origin of the plot. The real axis value at the low frequency intercept is the sum of the Rct and Rs, equivalent to diameter of the semicircle. Figures 10b and 11b are Bode-phase plots for the same cell. The high frequency part of the impedance and phase angle describes the behavior of an inhomogeneous surface layer, while the low frequency contribution shows the kinetic response for the charge transfer reaction [24]. The phase angle does not reach 90° as it would for pure capacitive impedance [16].

Fig. 10.a
figure 10

Nyquist plot of iron corrosion in 1 mol/l HCl in the presence of 10−3 mol/l BZT at Ecorr. b Bode-phase plots of iron corrosion in 1 mol/l HCl in the presence of 10−3 mol/l BZT at Ecorr

Fig. 11.a
figure 11

Nyquist plot of iron corrosion in 1 mol/l HCl in the presence of 10−2 mol/l BZT at Ecorr. b Bode-phase plots of iron corrosion in 1 mol/l HClO4 in the presence of 10−2 mol/l BZT at Ecorr

Adsorption isotherm

The adsorption of the compound studied here can occur either directly through π-electrons and the d-orbitals of iron surface atoms or with additional interaction of the functional group. Also, there is a possibility to promote inhibition by the chloride ions already adsorbed on the surface.

By virtue of donor-acceptor interactions adsorption can occur directly through π-electrons of the triazole, benzotriazole and its derivatives and vacant d-orbitals of Fe atoms from the surface. Actually, triazole derivatives behave better as σ/π-donors [25]. BZT molecule is protonated in acid to form BZTH+. Protonation of benzotriazole induces a decrease of its π orbital energies and the interaction between d- metal and its π(BZTH)-orbital decrease, leading to the lowering of the molecule resonance energy [25].

Nitrogen atoms are available for interaction sharing their electrons. Thus, each compound is chemisorbed on the iron surface through the nitrogens from the triazole ring. It is evident that the benzene ring enhances effectiveness, e.g., in 1 mol/l HCl TRA is less effective than other benzotriazoles (Table 1). The presence of oxygen-containing R-groups improves inhibitor efficiency by a bit (BTM, FMB) and decrease efficiency if oxygen is directly bonded to the triazole N3-nitrogen as in HBT.

Another possibility is through electrostatic interaction between the cationic forms and a negatively charged metal surface. The effect is more pronounced if chloride anions are present [6]. With perchlorate ion a lesser interaction may lower adsorption, change molecule orientation and reduce inhibitor efficiency. Chloride ions have a stronger tendency to adsorb than do perchlorate ions. These can adsorb on the metal surface creating oriented dipoles and consequently increase adsorption of the organic cations present [26]. Also, ClO4 are said to have a strong effect on the molecular organization of water [27], i.e., stronger interactions with water molecules than water with itself, perhaps breaking some hydrogen bonds. Additionally, organic compounds could participate in forming of hydrogen bond network [27].

The formation of a surface ‘complex film’ with Fe and the triazoles is believed to provide a more compact barrier layer leading to higher inhibitor efficiency [7]. Because the derivatives of benzotriazoles are structurally different compared with basic BZTH+ they probably interact more effectively on the iron surface, covering more sites and hence give better inhibition.

Assuming that the corrosion inhibition was caused by the adsorption of these molecules, the degree of surface coverage (θ) for different inhibitor concentrations was evaluated from EIS measurements using Eq. (6):

$$ \theta = {\left( {\frac{{\frac{1} {{R^{o}_{{ct}} }} - \frac{1} {{R_{{ct}} }}}} {{\frac{1} {{R_{{ct}} }}}}} \right)} $$
(6)

Then the Langmuir adsorption isotherm was applied following Eq. (7):

$$ \frac{{C_{{inh}} }} {\theta } = \frac{1} {k} + C_{{inh}} $$
(7)

where k is adsorption coefficient. The linear regression between Cinh/θ and Cinh gives data fit with high linear correlation coefficient (R=0.99) (Fig. 12). The Langmuir adsorption isotherm suggests that the protonated triazole species are adsorbed in monolayers, and the interaction with adjacent molecules is minimal [28].

Fig. 12a,b
figure 12

Langmuir adsorption isotherms for compounds studied in: a 1 mol/l HCl; b 1 mol/l HClO4

The order of efficiency in benzotriazole group of compounds is different in HCl and in HClO4. In 1 mol/l HCl BTM and FMB are more efficient inhibitors than BZT but in 1 mol/l HClO4 the order is reversed. Probably the presence of oxygen containing fragments of benzotriazole lower the effectiveness in HClO4. It is supposed to be increasing disorder of the layer(s) association close to the iron surface, which consequently leading to their decreased efficiency compared with BZT.

Some insight into their behavior is evaluated from experiments in 1 mol/l HClO4 in the presence of 1 mol/l NaCl. Using the same electrochemical techniques with this acid in presence of 10−2 mol/l inhibitors, the order of compound efficiency is the same as in 1 mol/l HCl. However, corrosion rates were higher than either acid alone. It is not uncommon for the presence of chlorides to enhance the effects of the inhibitor present [29]. The mechanism has been reported to be a synergistic interaction between the chloride ion and the organic molecule. In this case a positive synergistic effect arises, which is used here to explain their higher inhibitor efficiency in HCl than HClO4 of same molarity.

Molecular modeling and experimental corrosion inhibition

Molecular modeling was used for better insight in the structural differences and electronic effects. Optimization of a number of parameters was performed using the PM3 SCF-MO method [17].

Generally, nitrogen atoms from the triazole ring are mainly responsible for their interaction with iron but the presence of the benzene group is not negligible. The difference between the benzotriazoles used here arises from their R-groups as well. The presence of hydroxy- (HBT), methylhydroxy- (BTM) or formamido-methylhydroxy- (FMB) groups attached to the N3-nitrogen of the aromatic triazole ring (Fig. 1) affect some structural and electronic properties of the molecule.

In the structural view it is observed that N-N bond distances inside the triazole ring are different. Electron-withdrawing hydroxy-group attached directly to N3-nitrogen in HBT increase the N2-N3 bond from the 1.372 Å as it is in BZT to 1.464 Å. There is a smaller effect in BTM and FMB (1.404 Å). The electronic effect, defined as the charge on nitrogen as well as the net charge sum of five atoms in N-cyclic ring, shows a more negative charge from BTM and FMB derivatives than BZT (Fig. 13). Also, their dipole moments (~2.5 D) are lower than all of the other three; for BZT it is 3.85 D and for TRA and HBT 4.5 D. These are directly correlated to the inhibiting behavior found in 1 mol/l HCl, i.e., in increasing order of efficiency from BTM>FMB>BZT>HBT>TRA. The resulting linear correlation between IE and charge (Fig. 13) for these compounds suggests that the electronic effect of the molecule as well as structural differences may be used to define their inhibiting performance.

Fig. 13a,b
figure 13

Correlation between inhibitor efficiency vs: a charge of the N3-nitrogen (QN); b sum of the ring charge (Qring)

Conclusions

Tafel extrapolation, linear polarization resistance and electrochemical impedance spectroscopy measurements were used to study iron corrosion in 1 mol/l HCl and 1 mol/l HClO4 acids and the inhibiting effects of some triazole-type compounds. Analysis of the experimental data leads us to the following conclusions:

  1. 1.

    All investigated compounds, i.e., triazole, benzotriazole and its oxygen-containing derivatives show fair to good inhibiting properties in 1 mol/l HCl and 1 mol/l HClO4.

  2. 2.

    Inhibiting efficiency increases with inhibitor concentration between 10−4 mol/l to 10−2 mol/l up to about 88%. Generally the inhibiting effect is higher in 1 mol/l HCl than in 1 mol/l HClO4.

  3. 3.

    Tafel behavior indicates that the inhibitors are predominantly mixed-type.

  4. 4.

    The inhibiting efficiency increases with increasing of immersion time up to 16 h.

  5. 5.

    The inhibiting effect is more pronounced in 1 mol/l HCl, and the inhibitor efficiency increases according to order, BTM>FMB>BZT>HBT>TRA.

  6. 6.

    In 1 mol/l HClO4, inhibiting effect of benzotriazole is better than its derivatives, BZT>FMB>BTM>HBT.

  7. 7.

    The Langmuir adsorption isotherm appears to describe their adsorption behavior in both acids.

  8. 8.

    The results are discussed in terms of structural and electronic parameters obtained via molecular modeling.

Supplementary material is available upon request from the corresponding author for all experimental details, which are not tabulated and presented in this paper.