Introduction

Mild steel has been extensively used in several applications including constructions of tanks, petroleum refineries equipment and flow lines as well as transmission pipelines due to its ease of fabrication and low cost [1,2,3,4,5,6]. However, it is vastly exposed to corrosion and deterioration especially in acidic media. In metallurgical industry, hydrochloric acid is widely applied in various processes such as pickling and descaling of metals, chemical or electrochemical processes in oil refinery as well as deactivation of equipment in atomic power establishments’. Various corrosion controlling methods were used to protect metals such as protective coatings, cathodic protection and the use of corrosion inhibitors [7]. Among these methods, the latter is one of the most practical methods especially in acidic media. Such inhibitors can significantly decrease the corrosion rate when added to a corrosive environment in small concentrations [8,9,10].

Most of the organic compounds containing nitrogen, oxygen and phosphorus atoms are expected to act as effective corrosion inhibitors of different metals and alloys [11]. Unfortunately, nowadays the use of such compounds is restricted due to their high cost and toxicity for both human and environment. Recently, efforts are directed towards the use of plant extracts as corrosion inhibitors. Such extracts consist of diverse natural ingredients that are eco-friendly, easily available and of low cost [2].

Numerous researchers reported the successful use of natural plant extracts on the corrosion inhibition of mild steel in different media [12,13,14,15,16,17,18,19,20,21,22,23]. Most of these investigated plant extracts exhibit a moderate to high inhibition efficiency in the range 55–90% in acidic media.


Crataegus oxyacantha (Hawthorn) also known as maybush, or whitehorn, is part of a genus of spiny shrubs and trees native to temperate regions in the Northern Hemisphere in Europe, Asia, and North America. It belongs to the Rosaceae family and consists of bright green leaves, white flowers, and bright red berries. Flavonoids such as vitexin, hyperoside, rutin, or vitexin-2′′-O-α-l-rhamnoside, and catechin/epicatechin derived oligomeric procyanidins are the most important constituent of Hawthorn extract [24].


Prunus Avium (sweet cherry) is geographically distributed around the world, with greater prevalence in areas with a temperate climate, which encompasses much of Europe (Mediterranean and Central), north Africa, Near and Far East, South Australia and New Zealand, and temperate zones of the American continent (USA and Canada, Argentina and Chile) [25]. Sweet cherries have been reported to contain various phenolics and anthocyanins which contribute to total antioxidant activity [26].

This work aims to explore the influence of Crataegus oxyacantha and Prunus Avium, leaf extracts on the corrosion of mild steel in hydrochloric acid using electrochemical techniques.

Experimental studies

Solution preparation

0.5 M HCl solutions were prepared by dilution of 37% concentrated grade acid, from Scharlau chemical industries using distilled water.

Extraction procedure

Crataegus oxyacantha and Prunus Aviums stock solutions were obtained by drying the plant leaves for 2 h in an oven at 80 °C and grinding to powdery form. A 10 g sample of the powder was refluxed in 100 mL distilled water for 1 h. The refluxed solutions were filtered to remove any contamination. The concentrations of the stock solutions were determined by evaporating 10 mL of the filtrates and weighing the residues. Prior to each experiment, an appropriate volume of 4 M HCl is added to an appropriate volume of the stock solution of plant leaf extract and double distilled water to obtain a solution of 0.5 M HCl solutions and the required concentration of the extract.

Electrochemical studies

Electrochemical impedance (EIS) and polarization measurements were done using frequency response analyzer (FRA)/potentiostat supplied from ACM instruments (UK). The frequency range for electrochemical impedance spectroscopy (EIS) measurements was 0.1 to 96 × 103 Hz with applied potential signal amplitude of 10 mV around the rest potential. The data were obtained in an electrochemical cell of three-electrode mode; platinum wire and saturated calomel electrodes (SCE) were used as counter and reference electrodes. The mild steel used for constructing the working electrode was of the following chemical composition (wt%) (C: 0.164, Mn: 0.710, Si: 0.260, S: 0.001, P: 0.005 and Fe: 96.2). The steel plate of cylindrical shape was encapsulated in Teflon in such a way that only one surface was left uncovered. The exposed area (0.7853 cm2) was mechanically abraded with a series of emery papers of variable grades, starting with a coarse one and proceeding in steps to the finest (800) grade. Before polarization and EIS measurements, the working electrode was left for 20 min to attain the open circuit potential in the used solution. Linear polarization measurements (LPR) were carried out at a sweep rate of 10 mV min−1 within a potential range of ± 10 mV from the rest potential. Polarization curve measurements were obtained at a scan rate of 30 mV/min starting from cathodic potential (Ecorr = − 250 mV) going to anodic direction (Ecorr = + 250 mV). All the measurements were done at 30 ± 0.1 °C using WiseCircu water bath (Germany) in solutions open to the atmosphere under unstirred conditions.

To obtain the activation parameters, the measurements were carried out at 30–60 °C. To test the reliability and reproducibility of the measurements, duplicate experiments were performed, under the same conditions, in each case and found to be within 2% error.

Ultra-violet spectroscopy (UV) and FTIR analysis

FTIR analysis of the plant extracts was carried by FTIR 8400S Shimadzu in the spectral region between 4000 and 400 cm−1. The optical studies were measured using the ultraviolet-visibleV-670 that measures the absorption spectra at a wavelength of 800–200 nm at room temperature.

Results and discussion

Open circuit potential measurements (OCP)

Figure 1 reveals that the OCP of mild steel in 0.5 M HCl solutions in the absence and presence of 0.4 g L−1 leaf extracts is attained after 20 min of immersion. It is clearly observed that the variation of OCP after 20 min is within 2 mV min−1, indicating that the mild steel electrode reached its equilibrium state at this time. The OCP of mild steel electrode was shifted towards less negative values in the presence of the leaf extracts. Such positive shift of the corrosion potential indicates the influence of these extracts on the anodic process [27].

Fig. 1
figure 1

The variation of open circuit potential as a function of time for mild steel in 0.5 M HCl solution in the absence and presence of Crataegus oxyacantha and Prunus Avium leaf extracts at 30 °C

Potentiodynamic polarization data measurements

The potentiodynamic polarization curves of mild steel shown in Fig. 2 indicate that the addition of leaf extracts suppresses both anodic metal dissolution and the cathodic hydrogen evolution reactions indicating that they could be classified as mixed type inhibitors.

Fig. 2
figure 2

Potentiodynamic polarization curves for mild steel in 0.5 M HCl in the absence and presence of 0.4 g L−1 Crataegus oxyacantha and Prunus Avium leaf extracts at 30 °C

The electrochemical parameters including the corrosion current density (icorr) that is obtained from the intersection of the extrapolation of anodic and cathodic Tafel lines together with percentage of inhibition efficiency (%P) are given in Table 1. The %P was calculated from polarization measurements using the relation: %P = [(i0i)/i0] × 100

$$\% P \, = \, \left[ {\left( {i_{0} - i} \right)/i_{0} } \right] \, \times { 1}00$$
Table 1 The electrochemical polarization parameters for the corrosion of mild steel in 0.5 M HCl containing different concentrations of Crataegus oxyacantha and Prunus Avium leaf extracts, respectively, at 30 °C

where i0 and i are the corrosion current densities in the absence and the presence of plant leaf extracts, respectively.

The displayed data showed that icorr decreases with increasing Crataegus oxyacantha and Prunus Avium leaf extracts concentrations accompanied with an increase in %P. The slight variations in anodic and cathodic Tafel slopes, βa and βc, in the presence of these extracts indicate that the inhibiting action is taking place the simple blocking of existing cathodic and anodic sites on the metal surface [28]. The studied leaf extracts could be classified as pickling type inhibitors since they approximately have no effect on the corrosion potential (Ecorr) [29].

Electrochemical impedance spectroscopy results

The Nyquist plots shown in Fig. 3 consist of depressed semicircles of capacitive type signifying that the dissolution process of mild steel occurs under activation control [30]. The depressed capacitive loop is ascribed to dispersion effects, which have been attributed to roughness and inhomogeneities on the surface during corrosion [28, 31].

Fig. 3
figure 3

Nyquist impedance plots for mild steel in 0.5 M HCl in the absence and presence of 0.4 g L−1 Crataegus oxyacantha and Prunus Avium leaf extracts at 30 °C

The obtained Nyquist impedance plots were examined by fitting the experimental data to a simple equivalent circuit model, Fig. 4, which includes the solution resistance Rs and the constant phase element (CPE) together with the charge transfer resistance element Rct. The Rct value is a measure of electron transfer across the surface and is inversely proportional to corrosion rate.

Fig. 4
figure 4

Schematic for the equivalent circuit model

To compensate for non-homogeneity in the system, the capacitances were implemented as a constant phase element (CPE) that is defined by two values, the non-ideal double layer capacitance and n.

The impedance, Z, of CPE is presented by

$$Z_{\text{CPE}} = Q^{ - 1} \left( {i\omega } \right)^{{ - {\textit{n}}}}$$

where i = (− 1)1/2, ω is the frequency in rad s−1, ω = 2Πf, and f is the frequency in Hz. If n equals 1, the value of Q present in the above equation is identical to that of ideal capacitor C. Then, the ZCPE = (iωC)−1. In this case, the Q that is equal to C has units of capacitance, i.e., µF/cm2, and represents the capacity of the interface. However, for a non-homogeneous system, where n values are different from 1, Q is equal to the CPE admittance (Y0) and has units of µsn/Ω cm2. In this case, the system shows behavior that has been attributed to surface heterogeneity or to continuously distributed time constants for charge transfer reactions [32,33,34,35]. The double layer capacitance (Cdl) could be calculated using the following equation [36]:

$$C_{\text{dl}} { = }\frac{{ (Y_{\text{o }} \times R_{\text{ct}} )^{ 1 /n} }}{{R_{\text{ct}} }}.$$

The fitting of the spectrum to the equivalent circuit model permits the evolution of the elements of the circuit analog. The experimental and computer fitting results of the Nyquist plot of 0.3 g L−1 Crataegus oxyacantha in 0.5 M HCl at 30 °C are demonstrated in Fig. 5.

Fig. 5
figure 5

The experimental and computer fitting results of Nyquist plot of 0.3 g L−1 Crataegus oxyacantha in 0.5 M HCl at 30 °C

The percentage inhibition efficiency (%P) can be obtained from impedance measurements according to the equation:

$$\% P \, = \, \left[ {\left( {R_{\text{ct}} - \, R_{{{\text{ct}}0}} } \right)} \right]/R_{\text{ct}} \times { 1}00$$

where Rct0 and Rct are the values of the charge transfer resistance (Ω cm2) in the absence and the presence of leaf extracts, respectively.

The values of electrochemical impedance parameters obtained from fitting the experimental data to the used equivalent model and the values of %P are presented in Table 2. The data indicate that increasing plant leaf extracts concentrations increases the charge transfer resistance and a decrease in the ideal double layer capacitance Cdl values. Such reduction is due to the increase in the thickness of the electrical double layer suggesting that the leaf extracts’ molecules act by adsorption at the metal/solution interface [31, 37].

Table 2 The electrochemical for the corrosion of mild steel in 0.5 M HCl containing different concentrations of Crataegus oxyacantha and Prunus Avium leaf extracts, respectively, at 30 °C

Linear polarization resistance (LPR)

The inhibition efficiency (%P) was calculated from polarization resistance (Rp) values obtained from LPR measurements using the following equation:

$$\% P \, = \, \left[ {\left( {R_{\text{p}} - \, R_{{{\text{p}}0}} } \right)} \right]/R_{\text{p}} \times { 1}00$$

where Rp0 and Rp are the values of the polarization resistance (Ω cm2) in the absence and the presence of leaf extracts, respectively.

Figure 6 shows the variation of %P obtained from Rp values as function of concentration of Crataegus oxyacantha and Prunus Avium leaf extracts in 0.5 M HCl at 30 °C. It is clearly observed that as the concentration of Crataegus oxyacantha and Prunus Avium leaf extracts increases, the values of %P increase up to 55–60%.

Fig. 6
figure 6

Variation of %P obtained from Rp values as function of different concentrations of Crataegus oxyacanth aand Prunus Avium leaf extracts in 0.5 M HCl at 30 °C

The values of %P are in quite good agreement with the results obtained previously from potentiodynamic polarization curves and impedance measurements

Adsorption isotherms

To discuss adsorption isotherms, the degrees of surface coverage values were obtained from AC impedance measurements using equation (θ = %P/100). Theoretical fitting of different isotherms, Langmuir, thermodynamic-kinetic model and Florry–Huggins isotherm was tested to describe the mode of inhibitors’ adsorption on mild steel surface.

Langmuir isotherm is given by [38]

$$[\theta/ \, ( 1- \theta)] = K[C]$$

where K is the equilibrium constant of the adsorption process, C is the inhibitor‘s concentration and the Florry–Huggins isotherm [39] which is given by

$$K \cdot C \, = \, [\theta/ \, ( 1- \theta)^{x} ]{ \exp }\left( { 1- x} \right)$$

x” is the size parameter and is a measure of the number of adsorbed water molecules substituted by a given inhibitor molecule.

The kinetic-thermodynamic model [40] is given by

$${ \log }[\theta /( 1- \theta )] = { \log }K^{{\prime }} \, + \, y{ \log }C$$

where “y” is the number of inhibitor molecules occupying one active site; in other words, “1/y” is the number of surface active sites occupied by one inhibitor molecule. The binding constant K is given by

$$K \, = \, K^{\prime (1/y)}$$

Figure 7a–c shows the application of the above-mentioned models to the results of adsorption of the used extracts on mild steel surface in 0.5 M HCl. The parameters obtained from the fitting these isotherms are depicted in Table 3.

Fig. 7
figure 7

a Application of Langmuir adsorption isotherm to the results of adsorption of Crataegus oxyacantha and Prunus Avium on mild steel surface in 0.5 M HCl. b Application of Kinetic–thermodynamic model to the results of adsorption of Crataegus oxyacantha and Prunus Avium on mild steel surface in 0.5 M HCl. c Application of Florry–Huggins model to the results of adsorption of Crataegus oxyacantha and Prunus Avium on mild steel surface in 0.5 M HCl

Table 3 Linear fitting parameters of Crataegus oxyacantha and Prunus Avium leaf extracts according to all isotherms in 0.5 M HCl at 30 °C

It was found that the experimental data fitted all the applied adsorption isotherms except Langmuir. Such observation indicates the non-ideal behavior of these plant leaf extracts. The number of active sites occupied by a single inhibitor molecule, 1/y, is greater than unity indicating that each molecule of the leaf extracts was adsorbed onto more than one active site. Thus, the adsorbed molecules are bulky [41].

Moreover, it is known that the inhibition efficiency is a function of the value of inhibitor’s binding constant Kads, which represents the strength between adsorbed species and metal surface. The large values of K clarify stronger interaction, whereas small values of K signify that the interaction is weaker [17]. Hence, according to the numerical values of K obtained from the three models, the inhibition efficiency of Crataegus oxyacantha is better than Prunus Avium.

However, the equilibrium constant K is related to the standard free energy of adsorption (ΔGads) according to the equation:

$$K_{\text{ads}} = 1/ 5 5. 5 {\text{e}}^{{( - \Delta {\text{Gads}}/{\text{RT}})}}$$

where K is the binding constant obtained from kinetic–thermodynamic model, R is the molar gas constant, T is the absolute temperature in Kelvin and 55.5 is the concentration of water in solution expressed in molar [26].

The calculated ΔGads values from kinetic–thermodynamic model were − 36 and − 31 kJ.mol−1 for Crataegus Oxycantha and Prunus Avium in 0.5 M HCl solutions, respectively. Such values are an indication of the spontaneity of the adsorption process of both leaf extracts, and the stability of the adsorbed layers on the mild steel surface in 0.5 M HCl solution. The obtained ΔGads values reveal that the adsorption takes place through physisorption mechanism [26].

Activation Parameters

Figure 8 represents the Nyquist Impedance plots for mild steel in 0.5 M HCl in the presence of 0.4 g L−1 Crataegus oxyacantha leaf extract at different temperatures. As seen, increasing the temperature decreases the size of the depressed semicircles indicating a decrease in the charge transfer resistance (Rct) and, thus, an increase in the corrosion rate. Such behavior confirms the desorption of plant extract molecules from the metal surface at elevated temperatures.

Fig. 8
figure 8

Nyquist Impedance plots for mild steel in 0.5 M HCl in the presence of 0.4 g L−1 Crataegus oxyacantha leaf extract at different temperatures

The activation parameters for mild steel in 0.5 M HCl in the absence and presence of 0.4 g L−1 plant extracts were obtained from the linear square fitting of ln(υ) and ln (υ/T) data vs. (1/T), by applying Arrhenius and transition state equations [25].

The corrosion rates (υ) were taken as the reciprocals of the charge transfer resistance (Rct) which were obtained from the Nyquist plots of different temperatures. The apparent activation energy, Ea, activation entropies, ΔS* and activation enthalpies, ΔH*, in the absence and presence of plant extracts are depicted in Table 4.

Table 4 The thermodynamic parameters of mild steel in 0.5 M HCl in the absence and presence of 0.4 g L−1 Crataegus oxyacantha and Prunus Avium leaf extracts

Table 4 revealed that Ea and ΔH* values increase in the presence of both plant leaf extracts, indicating a higher protection efficiency [29]. The positive values of ΔH* indicate that the formation of the activated complex is endothermic process. However, the negative value of ΔS* implies that the activated complex represents an association rather than a dissociation step. This means that a decrease in disordering takes place on going from reactants to the activated complex [26, 42].

Spectrophotometric and FTIR analysis

Several studies used FTIR analysis as a tool to determine functional groups present in any extract [11, 43, 44]. Figure 9a, b shows the FTIR spectra of Crataegus oxyacantha and Prunus Avium plant leaves’ extracts. IR spectrum for Crataegus oxyacantha showed absorption bands for C–H stretching vibrations, generally in the range of 2923–2800 cm−1; a broad –OH group (3420 cm−1); and a C=C vibration for aromatics (1653.83–1463.83 cm−1). Likewise bands were obtained for Prunus Avium leaf extract in addition to C=O at 1739 cm−1 that is attributed to esters. By matching these spectra with the literature in order to determine the active chemical ingredients for these plant leaves extracts under study [45, 46], it was found that catechin may be the major active chemical ingredient in Crataegus oxyacantha leaf extract, whereas methylvanillate in Prunus Avium extract.

Fig. 9
figure 9

a FTIR spectra of Crataegus oxyacantha plant leaf extract. b FTIR spectra of Prunus Avium plant leaf extract

Mechanism of inhibition

It is clearly observed from the UV spectra presented in Fig. 10 that there is no shifting in the absorption bands of plant extract (PE) in the presence of 10−3 M FeSO4. Such observation is quite an indication of the absence of [Fe-PE]2+complex and that the inhibition takes place through simple physical adsorption of extract molecules on the surface according to the following equation:

$${\text{HCl }} \to {\text{ H}}^{ + } + {\text{Cl}}^{ - }$$
$${\text{PE }} + {\text{ H}}^{ + } \to {\text{ HPE}}^{ + }$$
$${\text{Fe }} + {\text{Cl}}^{ - } \to \, \left( {{\text{FeCl}}_{\text{ads}} } \right)^{ - }$$
$${\text{HPE}}^{ + } + \, \left( {{\text{FeCl}}_{\text{ads}} } \right)^{ - } \to \, \left( {{\text{FeCl}}_{\text{ads}} } \right){\text{HPE}}$$
Fig. 10
figure 10

UV absorption spectra obtained of 0.2 g L−1 Crataegus oxyacantham extract in 0.5 M HCl in the absence and presence of 10−3 M FeSO4

Conclusion

Crataegus oxyacantha and Prunus Avium leaf extracts acted as good corrosion inhibitors for mild steel in 0.5 M HCl solution. An excellent agreement between the inhibition efficiencies calculated using different electrochemical techniques was obtained. Such inhibition of these plant leaf extracts depends on the physical adsorption of the chemical constituents of the extract on mild steel surface rather than forming a complex with Fe2+ ions.