Introduction

Corrosion is a huge challenge in the petroleum industry, affecting seriously the entire production process and eventually leads to tremendous economic losses and structural failure (Finšgar and Jackson 2014). X70 steel is one of the API recommended steel grade in the petroleum industry due to its known superiority in resisting corrosion when compared with other steel alloys. During well acidization to improve oil recovery, 1 M HCl solution is usually used and this process over the years has proven to deteriorate the steel. To minimize the damage caused by this aggressive solution, corrosion inhibitors are usually introduced in the acid treatment solution (El Kacimi et al. 2020; Iroha and Nnanna 2021). These inhibitors get adsorbed on the steel surface, either by physisorption or chemisorption through the π electrons of the aromatic rings, heteroatoms like O, N, P and S, or conjugate double bonds. The inhibitors hinders or reduces the rate dissolution by blocking the active sites (Zeino et al. 2018; Iroha et al. 2005; Belfilali et al. 2012; Iroha and James 2018). However, majority of inorganic/organic corrosion inhibitors already in use mostly those containing phosphates and heavy metals are toxic and not environmental friendly. The increasing need for anticorrosion agents that are eco-friendly have necessitated the development of corrosion inhibitors that are not only efficient but also free of organic phosphates and heavy metals (Ramaganthan et al. 2015; Iroha and Akaranta 2020).

Some of the eco-friendly anticorrosion agents used as steel corrosion inhibitors includes plant extracts (Umoren 2016; Boumhara et al. 2014), Polymers (Abdallah et al. 2020) and pharmaceutical compounds (Iroha and Nnanna 2021). These inhibitors have shown excellent corrosion inhibition on different types of steel. Corrosion inhibition was seen to varry generally with immersion time, temperature and concentration of inhibitor. Recently, several corrosion researchers have studied the performance of synthesized Schiff bases in inhibiting steel corrosion in acidic environments (Khaled et al. 2010; Okey et al. 2020; Iroha et al. 2021). These Schiff bases have exhibited high inhibition performance for steel corrosion in both H2SO4 (Farag and Hegazy 2013) and HCl (Ansari et al. 2014; Hegazy et al. 2012) solutions. Some hydrazide derivatives have be studied as inhibitors for the corrosion of various metals and in different acid media (Mohan et al. 2013; Iroha and Dueke-Eze 2021; Chakravarthy and Mohana 2013). Hydrazide derivatives which are a type of organic compounds containing a N-N covalent bond having at least one acyl group substituent, have gained popularity due to their antioxidant, antibacterial, anticancer, analgesic, antimalarial, antiplatelet and anti-inflammatory activity (Narang et al. 2012; Sainia et al. 2014). More so, they have been employed as efficient corrosion inhibitors for various metals. The π-bond, planar structure and electron lone pairs on the nitrogen atom makes hydrazide-based Schiff base inhibitors to adsorb easily on metal surfaces forming a dative-covalent bond with the metals.

The main objective of this study is to elucidate a new Schiff base, N-(5-bromo-2-hydroxybenzylidene) isonicotinohydrazide (NBHI) as corrosion inhibitor for X70 steel in 1 M HCl solution. We selected this compound because it can be conveniently synthesized from less expensive chemicals that are commercially available. The inhibitor is a non-toxic, water-soluble, biodegradable and good adsorbent on steel surfaces. Gravimetric and electrochemical (PDP and EIS) measurements were utilized in monitoring the corrosion process; SEM was utilized for surface morphological investigations. Computational analysis with the use of density functional theory (DFT) enabled inhibitor-metal interactions assessment for the NBHI inhibitor.

Experimental

Inhibitor synthesis

The studied NBHI inhibitor was synthesized as earlier reported by Dueke-Eze et al. (2020). The chemical equation for the synthesis is shown in Fig. 1.

Fig. 1
figure 1

Chemical equation for NBHI synthesis

Materials

The aggressive solution used in this study, 1 M HCl, was made by diluting 37% HCl analar grade with distilled water. The X70 steel specimens utilized for gravimetric and electrochemical studies contains (in wt%); C: 0.23; P: 0.03; Mn: 1.10; S: 0.008; Ti: 0.005; Ni: 0.35; Cu: 0.15; Pb: 0.002; Nb: 0.012; and balance iron. The specimens were prepared by first abrading with emery paper (grades 400-1200), afterwards washed with double-distilled water and then acetone, dried and weighed. The steel coupons cut in dimensions of 2.0 cm × 2.0 cm × 0.1 cm were utilized for the gravimetric measurement. For electrochemical measurement, X70 steel specimens with dimensions 1.5 cm × 1.5 cm × 0.1 cm, used as the working electrode were embedded into epoxy resin with 0.85 cm2 exposed area to the electrolyte. The concentrations of the new Schiff base, NBHI ranged from 0.25 mM to 1.00 mM.

Gravimetric analysis

The gravimetric (weight loss) tests were conducted using ASTM G31-72 standard (ASTM 2004) in bare and inhibited 1 M HCl solution at different NBHI concentrations. The pre-weighed X70 steel specimens were immersed in the varying solutions for 7 h at 30, 40 and 50 °C unstirred. The immersed steel samples were removed after the expiry time, washed thoroughly with bidistilled water and ethanol, dried with acetone and re-weighed. The weight loss (∆W) was deduced from the difference in weight of X70 steel specimens before and after submersion in the various test solutions. Triplicate tests were conducted to ensure the experiment is reproducible, and the average of the three values reported. The corrosion rates (CR) were calculated from the weight loss data as expressed:

$$C_R=\frac{\triangle W}{At}$$
(1)

where A represents area and t is the time of exposure of the X70 steel specimens. The inhibition efficiency (ηWL%) of NBHI was computed as follows:

$$n_{WL}\%=\frac{C_{R(b)}-C_{R(i)}}{C_{R(b)}}\times100$$
(2)

where CR(b) and CR(i) are the corrosion rates of X70 steel in bare and inhibited1 M HCl solution, respectively.

Electrochemical measurement

Electrochemical tests were performed using a G-300 Gamry Potentiostat/Galvanostat at 30 °C, in an assembly of three electrode cell. The X70 steel was the working electrode (WE), saturated calomel electrode (SCE) used as reference electrode and platinum used as counter electrode. The data were analyzed using Echem Analyst 5.0 software package. The WE was submerged for 30 min, in the test solution at open-circuit potential (OCP) for stability before measurement. EIS measurements were conducted at OCP over the frequency range of 1000 Hz–10 Hz with signal amplitude of 10 mA. PDP measurements were carried out in the potential range of ±250 mV from Ecorr at a scan rate of 0.1 mV/s. All tests were run three times to ensure data reproducibility.

SEM analysis

Surface morphological examinations of the X70 steel were performed by SEM model ZEISS EVO. SEM micrographs of the X70 steel surface were obtained after immersion in bare 1 M HCl and in presence of 1.00 mM NBHI inhibitor for 7 h at 30 °C. The specimens were retrieved after immersion, washed thoroughly with distilled water and dried with acetone before taking SEM pictures.

Quantum chemical analysis

The quantum chemical computation carried out with the Spartan 14.0 software was performed through DFT using the B3LYP level with 6-311G (d, p) basis sets. The obtained values of energy of the highest occupied molecular orbital (EHOMO) and energy of lowest unoccupied molecular orbital (ELUMO) were used to compute energy gap (ΔE), electronegativity (χ), global hardness (η), global softness (σ) and fraction of electron transferred (ΔN) as expressed in the following equations (Arivazhagan and Subhasini 2012; Maduelosi and Iroha 2021):

$$\Delta E={E}_{LUMO}-{E}_{HOMO}$$
(3)
$$\upchi =-\frac{1}{2}\left({E}_{LUMO}+{E}_{HOMO}\right)$$
(4)
$$\upeta =\frac{1}{2}\left({E}_{LUMO}-{E}_{HOMO}\right)$$
(5)
$$\upsigma =\frac{1}{\upeta}$$
(6)
$$\Delta {N}=\frac{\chi_{Fe} - \chi_{inh}}{2(\eta_{Fe}+ \eta_{inh})}$$
(7)

where χFe = 7.0 eV and ɳFe = 0 for bulk Fe.

Result and discussion

Gravimetric measurement

Influence of concentration

Table 1 shows the CR and ηWL in blank 1 M HCl and in various concentrations of NBHI and at various temperatures. The data clearly reveal that the CR decreased and the ηWL% increased upon addition of NBHI. As the concentration of NBHI increases, a continuous decease and increase in CR and ηWL respectively was observed. The ηWL reached a maximum of 96.7% at 30 °C and 1.00 mM concentration of NBHI indicating that the new synthesized Schiff base performed well as a corrosion inhibitor for X70 steel. The corrosion inhibition is possibly due to the adsorption of NBHI molecule at the steel/HCl(aq) interface (Lebrini et al. 2008; Madueke and Iroha 2018).

Table 1 The CR and ηWL computed from gravimetric measurements of X70 in 1 M HCl consisting different concentrations of NBHI at various temperatures

Effect of temperature

The influence of temperature on CR and ηWL for X70 steel in bare 1 M HCl and inhibited with NBHI was studied in the range of temperature 30-60 °C. Table 1 reveals that the CR increased both in bare and inhibited solutions by increasing the system temperature. On the other hand, the ηWL decreased with temperature rise. This suggest that while inhibition occurs due to inhibitors adsorption on the steel surface, an increase in temperature may have aided the desorption of the inhibitor. This desorption effect could be due to bonds between the steel surface and inhibitor which tends to release the inhibitor molecules back to the solution thereby exposing the steel to further dissolution. The temperature dependence on CR is key in determining the activation parameters by using the Arrhenius equation given as:

$$\kern0.75em \log {C}_R=\frac{-{E}_a}{2.303 RT}+\log A$$
(8)

where A is the pre-exponential factor, Ea represents activation energy, R is the gas constant and T is the absolute temperature. A plot of log CR versus 1/T produces straight lines as displayed in Fig. 2a. The slope of the straight lines is -Ea/2.303R, from where Ea values were computed and listed in Table 2. The data reveal that Ea values increase upon addition of NBHI to the 1 M HCl solution which suggest physisorption on the steel surface (James and Iroha 2019). An alternative form of Arrhenius equation known as Transition state equation (Ekanem et al. 2010) is given in Eq. 9, where h represents the Planck’s constant, N is the Avogadro number, R and T retain their meanings, ΔS* is the activation entropy and ΔH* is the activation enthalpy.

$$\log \frac{C_R}{T}=\log \left(\frac{R}{Nh}\right)+\left(\frac{\Delta {S}^{\ast }}{2.303R}\right)-\left(\frac{\Delta {H}^{\ast }}{2.303 RT}\right)$$
(9)
Fig. 2
figure 2

Plots of a log CR vs. 1/𝑇 and b log CR/T vs. 1/T for X70 steel dissolution in 1 M HCl without and with various concentrations of NBHI

Table 2 Activation parameters for X70 steel in 1 M HCl without and with different concentrations of NBHI

Plotting log (CR/T) versus 1/T gives straight lines (Fig. 2b) with intercept log (R/Nh) + (ΔS*/2.303R) and slope − ΔH*/2.303R from where values of ΔS* and ΔH* were computed and presented in Table 2. Close look at Table 2 reveal that ΔS* values in the presence of NBHI are less negative than that in bare acid, indicating that the degree of disorderliness increases on going from the reactants to activated complex (Yadav et al. 2013; Iroha et al. 2020). The values of ΔH* are positive reflecting the endothermic nature of X70 steel dissolution process.

Adsorption isotherm

The inhibitor adsorption caused by the interactions between the charged steel surface and the inhibitor molecules which results to protective films formation on the steel surface is a surface phenomenon. Basic information relating to the nature of interaction between steel surfaces and inhibitor can be provided by the adsorption isotherm. The results obtained by fitting the surface coverage (𝜃 = ηWL/100) as a function of inhibitor concentration (Cinh) to various adsorption isotherms reveal that Langmuir isotherm gave the best fit according to Eq. 10:

$$\frac{C_{inh}}{\theta }=\frac{1}{K_{ads}}+{C}_{inh}$$
(10)

where Kads is the adsorption equilibrium constant. Linear graphs obtained by plotting Cinh/𝜃 versus Cinh (Fig. 3) and with regression (R2) values close to unity suggest that the adsorption of NBHI on the X70 steel surface in 1 M HCl obeys the Langmuir isotherm (Noor and Al-Moubaraki 2008; Iroha and Hamilton-Amachree 2018). The slope values which are close to 1 suggest associative inhibitor adsorption at the steel surface (Hegazy et al. 2010). The Kads values is computed from the intercept (1/ Kads) and listed in Table 3. The relatively high Kads values are pointers to the high ability of NBHI to adsorb on the steel surface, which was found to diminish as the temperature increases (Madkour and Elroby 2015; Iroha et al. 2015). The adsorption free energy (\(\Delta {G}_{ads}^0\)) is related to Kads by the equation:

$${K}_{ads}=\frac{1}{55.5}\exp \left(\frac{-\Delta {G}_{ads}^0}{RT}\right)$$
(11)

where 55.5 is concentration of water in solution (M), R and T retain their meanings. Computed \(\Delta {G}_{ads}^0\)values are also listed in Table 3. Negative \(\Delta {G}_{ads}^0\)values as revealed in Table 3 indicate the spontaneous process of NBHI adsorption on the X70 steel surface (Bentrah et al. 2014). It has been noted that \(\Delta {G}_{ads}^0\) values within −20 kJ mol−1 or less negative relates to physisorption while more negative than −40 kJ mol−1 \(\Delta {G}_{ads}^0\)values shows chemisorption (James and Iroha 2021). The report from our studies presents \(\Delta {G}_{ads}^0\)values between −33.83 to −32.47 kJ mol−1, indicating mixed-type (physical and chemical) adsorption mechanism (Messali et al. 2017).

Fig. 3
figure 3

Langmuir isotherm plot for NBHI on X70 steel in 1 M HCl various temperatures

Table 3 Langmuir adsorption isotherm parameters for NBHI deduced from gravimetric measurement at different temperatures

Electrochemical impedance spectroscopy

EIS studies were carried out to reveal the mode of electrochemical process that take place at the steel/acid interface without and with addition of NBHI. Nyquist plots for X70 steel submerged in 1 M HCl solution without and in presence of different NBHI formulations are depicted in Fig. 4a. The Nyquist plots are generally regarded as a single depressed semicircle referred mostly to as frequency dispersion, resulting because of different physical phenomenon like heterogeneities, roughness, grain boundaries, impurities and surface active sites distribution (Chakravarthy and Mohana 2013) There was no change in the shape of the Nyquist plots for the various NBHI concentrations in 1 M HCl solution. However, the diameter of curves increases at higher inhibitor concentrations which is probably due to the inhibition of the X70 steel by NBHI. The inhibitor molecules block the active sites on the steel surface resulting to adsobed film formation, protecting the steel from the corrosive medium (Singh et al. 2015).

Fig. 4
figure 4

a Nyquist plots for X70 steel in uninhibited 1 M HCl solutions and inhibited with various NBHI concentration b Equivalent circuit used in fitting the impedance plots

The equivalent circuit used in fitting the impedence curves consists of charge transfer resistance (Rct), solution resistance (Rs) and constant phase element (CPE) as depicted in Fig. 4b. The CPE is used instead of capacitance for more precise fitting of the curves. The CPE impedance (ZCPE) can be expressed by:

$${Z}_{CPE}=\frac{{\left( j\omega \right)}^{-n}}{Y_0}$$
(12)

where ω is the angular frequency (i.e., ω = 2πfmax); fmax is the frequency at which the imaginary component (Zim) of the impedance is maximal. The EIS parameters deduced from the equivalent circuit are presented in Table 4. The values of double-layer capacitance (Cdl) was computed from the values of n (phase shift) and Y0 (CPE constant), which are parameter of the CPE, according to the equation:

$${C}_{dl}={Y}_0{\left({\omega}_m\right)}^{n-1}$$
(13)

where ωm is the angular frequency at maximum Zim. The inhibition efficiency (ηEIS) were computed utilizing the expression:

$${\eta}_{EIS}\left(\%\right)=\frac{R_{ct}^{\prime }-{R}_{ct}}{R_{ct}^{\prime }}\times 100$$
(14)

where \({R}_{ct}^{\prime }\) and Rct are the charge transfer resistances for the inhibited and uninhibited solutions respectively. The results in Table 4 revealed an enhancement in Rct values on increasing NBHI concentration while Cdl values were significantly brought down. The enhancement in the values of Rct as NBHI concentration increases resulted to the increased diameter of the Nyquist plots semicircle, indicating that NBHI reduced X70 steel corrosion in 1 M HCl. The decrease in Cdl which mainly results from dielectric constant reduction and/or rise in double layer thickness indicates the protective effect of NBHI by its attachment on the steel surface.

Table 4 Impedance parameters for X70 steel corrosion in uninhibited 1 M HCl solutions and inhibited with various NBHI concentration at 303 K

Potentiodynamic polarization studies

Potentiodynamic polarization studies gives insight on how the inhibitor influences the cathodic and anodic corrosion reactions. A typical PDP plot for X70 steel corrosion in 1 M HCl without and in presence of NBHI is depicted in Fig. 5. The parameters deduced from the plot such as the corrosion current density (icorr), the corrosion potential (Ecorr), cathodic Tafel slopes (βc), anodic Tafel slopes (βa) and inhibition efficiency (ηPDP %) are listed in Table 5. The inhibition efficiency (ηPDP %) was computed using the expression:

$$\eta_{PDP}\left(\%\right)=\frac{i_{corr}^{0} -i_{corr}^{'}}{i_{corr}^0}\times100$$
(15)

where \({i}_{corr}^0\) and \({i}_{corr}^{\prime }\) are the current densities without and in presence of NBHI, respectively. It is observed from Fig. 3 that the addition of NBHI exerted significant influence on both the cathodic reduction of hydrogen ion (\(2{H}_{(aq)}^{+}+2{e}^{-}\to {H}_{2(g)}\Big)\) and the anodic X70 steel dissolution (\({Fe}_{(s)}\to {Fe}_{(aq)}^{2+}+2{e}^{-}\)). This apparently decreased the current densities of both the cathodic and anodic branches, due to the inhibitor adsorption at the X70 steel surface active sites. The results suggest that NBHI behaves as a mixed-type inhibitor. From Table 5, the icorr values are seen to decrease with increasing concentrations of NBHI, due to increased blockage of greater fraction of the X70 steel surface by adsorption. In addition, it is observed that the Ecorr values for NBHI in comparison with the blank did not show any obvious trend and with deviation less than 85 mV, confirming that the mixed type behaviour of NBHI (Issaadi et al. 2011; Li et al. 2011).

Fig. 5
figure 5

Polarization curves for X70 steel in 1 M HCl without and in presence of different NBHI concentration at 303 K

Table 5 Polarization parameters for X70 steel in 1 M HCl without and in presence of different NBHI concentration at 303 K

SEM analysis

SEM images of corroded X70 steel surface which was immersed in 1 M HCl for 7 h without and in presence of inhibitor (Fig. 6a, b) were used to confirm the corrosion inhibitive performance of NBHI for the X70 steel. Proper look at the SEM images indicates that the steel surface without NBHI was more corroded with visible number of pits distributed in the entire metal surface (Fig. 6a). The X70 steel surface in the NBHI inhibited solution looks better with smoother surface, containing fewer pits (Fig. 6b). This observation confirms that NBHI hinders the corrosion of X70 steel by forming adsorbed protective layer on the steel surface.

Fig. 6
figure 6

SEM images of a X70 steel in 1 M HCl, b X70 steel in 1.00 mM NBHI

Quantum chemical analysis

The electronic and structural properties of organic compounds influence their effectiveness as corrosion inhibitors. In the 1 M HCl solution, the studied inhibitor may exist in its protonated form (NBHI-H+) which is in equilibrium with the neutral molecule (NBHI). Based on this, the Frontier molecular orbitals (FMOs) density distributions of both the neutral and protonated NBHI were analysized as depicted in Fig. 7. All computed quantum chemical parameters are displayed in Tables 6. In line with the Fukui’s frontier orbital approximation, there is usually an occurrence of donor-acceptor interactions between FMOs (HOMO and LUMO) of reacting/interacting species (Abdallah et al. 2013). There is a high tendency of a metal accepting electron from an inhibitor molecule (an electron donor) into its lowest unoccupied orbital. On the other hand, metals can donate their HOMO electrons to the vacant LUMO orbitals of inhibitor molecules (Murulana et al. 2012; Mashuga et al. 2015) for back-bonding. This relationship of donor-acceptor between metallic orbitals and inhibitor molecules is the basis of electronic and molecular explanation of inhibitor adsorption on metal surfaces. The HOMO of NBHI and NBHI-H+ are mainly localized on the phenol ring, extending along the bromine atom while only that of NBHI-H+ extended to the azomethine group. The LUMO of NBHI are distributed on almost the entire compound apart from the bromine atom while the The LUMO of NBHI-H+ are mainly distributed on the azine ring. This could be due to the nitrogen heteroatom which is highly electronegative and can make the azine ring relatively electron-deficient.

Fig. 7
figure 7

Optimized structure, HOMO and LUMO for protonated and neutral molecules of NBHI

Table 6 Theoretical parameters for NBHI inhibitor and its protonated (NBHI-H+) form

The computed quantum parameters for NBHI and NBHI-H+ are listed in Table 6. The EHOMO for NBHI is higher and with lower ∆E whereas the ELUMO for NBHI-H+ is lower and with higher ∆E. Higher EHOMO is related to higher ability to donate electron and lower ELUMO is in line with higher ability to accept electron. This implies that NBHI-H+ will accept electrons from metal orbital, while NBHI has a higher capability to donate electron to the surface of the metal. The general inhibitor reactivity is controlled ∆E and it favours NBHI which has a lower ∆E value. NBHI-H+ indicates lower dipole moment (μ) which favours inhibitor accumulation on the surface of the metal (Khalil 2003). The smaller value of global hardness (η) shows higher contribution of NBHI based on the principle of hard-soft acid base (HSAB) (Herrag et al. 2010). On the contrary, higher value of global softness (σ) shows that NBHI-H+ has more reactivity in steel/inhibitor interaction. Generally, the electronegativity (χ) value of NBHI-H+ is higher than that of NBHI indicating better performance of NBHI-H+. In addition, ΔN ˂ 3.6 for both NBHI and NBHI-H+ shows that increasing donation of electron to the steel surface increases the inhibitor efficacy (Lukovits et al. 2001).

Conclusions

Gravimetric, electrochemical impedance spectroscopy tests, potentiodynamic polarization and scanning electron microscopy were used to investigate the performance of a newly synthesized Schiff base, N-(5-bromo-2-hydroxybenzylidene) isonicotinohydrazide (NBHI) as an inhibitor for X70 carbon steel corrosion in 1 M HCl. The inhibition efficiency of the NBHI increased with the increase of NBHI concentration but decreased with rise in temperature. Polarization result reveals that the inhibitor acted as a mixed-type inhibitor. The adsorption of the NBHI inhibitor on X70 steel surface obeyed Langmuir isotherm and the negative \(\Delta {G}_{ads}^0\) values show that the adsorption is spontaneous. The SEM images confirm the X70 steel protection from corrosion in 1 M HCl by studied NBHI. The quantum parameters showed that NBHI has the capability to accept/donate electrons from/to appropriate d orbitals of the steel atom and supports the good corrosion performance of the inhibitor.