Introduction

Owing primarily to its utility in infrastructure and industries, carbon steel/mild steel is one of the most widely used steel alloys. However, low corrosion resistance in its working atmosphere specifically in acidic medium is the challenging factor to deal with. Corrosion is an electrochemical process that occurs due to the highly reactive nature of metal. The numerous aspects like composition, presence of oxygen/moisture, strong acid or base, impurities, corrosive aerosols, and bacteria subsequently leads to deterioration of the metal. All these electrochemical factors are responsible for the initiation of corrosive electrochemical reactions (Fazal et al. 2022; Naderi et al. 2022; Olusegun et al. 2016). The corrosive products create a threat to the environment, and in turn, damage may be faced by every sector like residential, commercial, institutional, and industrial (Qiang et al. 2018; Kumar et al. 2017a, b; Afia et al. 2015).

The impact of corrosion can be minimized by applying suitable anticorrosive techniques, out of which the use of corrosion inhibitors (Arukalam et al. 2020; Dariva and Galio n.d.; Sambyal et al. 2018) is proven as one of the most preferred solutions for effective protection of metals (Yao et al. 2020). Corrosion inhibitors are the chemical substances that are being added in very low dosage during acid pickling in industries and are helpful in minimizing the corrosion either by passivation or by maintaining the pH by acting as a buffer (Saini et al. 2019). Over the past decade, organic and inorganic moieties as corrosion inhibitors have been frequently used; however, the serious issues arise due to the toxicity of commercially available organic and inorganic type inhibitors. Recently, green corrosion inhibitors (Rani and Basu 2012) are the main concern in lieu of increasing environmental noxiousness, and for that purpose, various new plant materials as green inhibitors need to be explored to enhance, recycle, and reuse characteristic potent ability of such environmental friendly resources. Plant extracts (Abdullah Dar 2011) are of great practical significance with ample availability, environmental sustainability and profitable cost which are also capable of producing intended results (Kesavan et al. 2012).

The former scrutiny reveals that plant extracts (Raja and Sethuraman 2008) are well accomplished with flavonoids, alkaloids and polyphenols and possess many such electron-rich moieties (Shehata et al. 2018; Raja et al. 2013). Several plant extracts have been tested as corrosion inhibitors in an acidic medium for low alloy steel/MS: Aloe vera leaf extract (Mehdipour et al. 2015), Acalypha torta leaves (Krishnegowda et al. 2013), Justicia gendarussa (Satapathy et al. 2009) and Sida acuta (Umoren et al. 2016). Herein, a parasitic plant found all over India with a common name as Amarbel and with the scientific name as Cuscuta reflexa is explored as a corrosion controlling candidate. Though this parasitic stem is being used for medicinal purposes (Ahmad et al. 2017; Vijikumar et al. 2011), unfortunately, its exponential growth (once initiated) over other medicinal trees and plants, curbing their nurturing and natural aging, indicates its harmful effects, which also diminishes the beneficial activity of these plants. In the present study, Amarbel alone and Amarbel with intensifier polyethylene glycol 400 (PEG400) have been examined as corrosion controlling agents for mild steel in the hydrochloric acid medium. The novelty of the work evidences about the fact that no reports regarding performance of AME + PEG400 as a green inhibitor in 0.5 M HCl are found till date. PEG400 is a hydrophilic polymer with an environmentally friendly nature. The importance of PEG as corrosion inhibitor agent is related with its capability to get adsorbed over the surface of the metal and thus blocking the active sites of metal (Boudellioua et al. 2019; Deyab 2018; Fares et al. 2013). First, the study is focussed to investigate the optimized concentration of this combination in order to work as best formulation to control metal dissolution in 0.5 M HCl. Thereafter, the inhibition capabilities have been studied using weight loss, electrochemical techniques (potentiodynamic polarization, electrochemical impedance spectroscopy) and simulation computational methods. Subsequently, the mechanism of interaction between AME and MS is proposed.

Experimental strategy

Materials and methods

Amarbel strings like parasitic inter-twined stem were accumulated from host trees located around IIT, Delhi, India. Hydrochloric acid with 35.4% purity, ethanol, PEG-400 and all other reagents used were collected from Sigma Aldrich. The preparation of test solution from 100 to 800 ppm concentration from Ame extract varied by addition of 0.5 M HCl.

Synthesis of plant extract and inhibitory solutions

The shed dried Amarbel parasitic stem was first washed with double-distilled water to remove dust and then dried at 40 °C in an oven for 4 h to remove moisture. Five grams of powdered leaves was refluxed in 100 mL ethanol for 5 h at 80 °C. The extract obtained was filtered and dried to evaporate the solvent (Pahuja et al. 2020). This ethanolic Amarbel extract (AME) obtained in powdered form was used for the preparation of inhibitory solutions of required concentration (100–800 ppm) through dissolving in 0.5 M HCl medium. The best formulation of Ame with PEG was prepared in 2:1 ratio; herein, 100 mg L−1 Ame and 40 mg L−1 polyethylene glycol 400 (PEG400) inhibitor solution was prepared in 0.5 M HCl. The major electron-rich constituents of AME, i.e. quercetin (I), cuscutin (II), kaempferol (III) and cuscutamine (IV) possess the structures as below (Ahmad et al. 2017; Vijikumar et al. 2011).

figure a

Preparation of specimens and corrosion tests

Weight loss measurements

The corrosion inhibitive effect of AME was evaluated for MS steel specimens with the chemical composition (w/w %) as C = 0.14, Si = 0.05, Mn = 0.032, S = 0.05, P = 0.02, Ni = 0.01, Cu = 0.01 Cr = 0.01 and balance as Fe. The specimens were consequently abraded and polished with different grade of emery papers ranging from 320 to 2000 for maximum smoothness. Before the usage of these specimens for weight loss measurements, they were degreased with acetone, washed with water, then dried and weighed possessing dimensions as 2.5 cm × 2.5 cm × 0.028 cm. The weight loss experiments were performed in thermostat to maintain the experimental temperature. All the weight loss investigations were performed repeatedly with the standard error found within ± 0.01 limits.

Electrochemical experiments

Electrochemical measurements were performed by exploiting PGSTAT204, Autolab, Netherland with FRA32M module installed with NOVA 1.11 software. The measurements were conducted with three-electrode assembly with silver/silver chloride as reference electrode, graphite electrode as a counter electrode and MS specimens with area 1 cm2 acted as the working electrode. To minimize the chances of IR drop, luggin probe tip was made in close proximity to the working electrode. Each time, the electrochemical cell was maintained for 30–35 min, in the respective corrosive medium to attain the open circuit potential. The open circuit potential (OCP) vs. time curve is shown in Fig. S1a in Supplementary section S1.1. The OCP of the MS working electrode in the presence of AME extract reached a stable level after 1600 s of immersion. OCP values are given at AME concentrations of 0 ppm, 100 ppm, 200 ppm, 400 ppm, 600 ppm and 800 ppm. A general tendency to shift the OCP to a more positive side emerges, indicating assimilation of the inhibitor species across the metal surface. Thereafter, potentiodynamic polarization (PP) was evaluated with a scan rate of 0.001 V/s in potential range from − 250 to + 250 mV. Electrochemical impedance spectroscopy (EIS) measurement was performed from 100 kHz to 0.1 Hz through ac signal of 5 mV amplitude. EIS gives values of charge transfer resistance (RCT) and maximum frequency (fmax) (Kumar et al. 2017a, b). The experimental measurements were commenced at 303 K, 313 K and 323 K.

Surface characterization

The presence of electron-rich moieties in AME was characterized by a Fourier transform infrared spectrometer Perkin-Elmer model FT-IR/RZX. The morphological variation of the corroded metal surface of each MS specimen with size 1 cm2 was evaluated in standard mode with Atomic Force Microscopy (AFM) Instrument (Model: Nanosurf Naio) from Molecular Image (Pico Scan). Micro-fabricated single-beam Si3N4 has resonance frequency in the range of 13 kHz. All the scanning electron microscopy (SEM) images were taken at × 3000 magnification with Model Zeiss Ultra 55 at 3 kV for SEM technique. X-ray photoelectron spectroscopy (XPS) analysis was performed using a PHI 5000 versaprobe III.

Theoretical observations and depiction

The quantum-related observables were envisaged for the AME using density functional theory (DFT) (El Aoufir et al. 2017). The parameters born via quantum approach were accomplished using Gaussian 09. The quantum chemical descriptors such as EHOMO, ELUMO, ΔE got via (ELUMO − EHOMO) and ∆N (number of fractional electrons), electronegativity (χ) and absolute hardness (η), almost all were taken into consideration (Titi et al. 2018). The quantum tools were studied in order to correlate and depict the various envisaged observables with the experimental findings.

The molecular dynamics (MD) simulations were done utilizing Forcite module of Material Studio. In this case, the iron crystal was imported from Material Studio information base and severed along (1 1 0) plane, and a slab of 6 Å was utilized. The decision of selecting Fe (1 1 0) as a substrate was related on the fact that it is found to have high stabilization energy and an exceptionally packed structure. The Fe (1 1 0) surface was loose and afterwards augmented to a 10 × 10 supercell to give an enormous surface to support the association of the inhibitor with iron surface. A vacuum slab with zero thickness was assembled. A simulation box with a size of 24.76 × 24.76 × 45.00 Å3 containing two layers was made utilizing the layer builder module of the Material Studio so as to make the recreation closer to the real system. The first layer at the base contained iron atoms and one layer above contained 500 H2O, 9H+, 9Cland 1 molecule of inhibitor. All simulations were operated utilizing COMPASSII power field, a period step of 1 fs, a simulation session of 2000 ps and the canonical NVT at 303 K.

Results and discussion

FTIR analysis

The interpretation of Fourier transform infrared spectroscopy (FTIR) peaks (Fig. 1) ranges from 4000 to 400 cm−1 and shows that the AME contain phenolic, carboxylic, methyl, ketonic and amide groups. The main peaks have been observed in the FTIR spectrum: 3947 cm−1, 3409 cm−1, 2846 cm−1, 1851 cm−1,1735 cm−1, 1380 cm−1, 1058 cm−1. The peaks 3947 cm−1 and 3830 cm−1 are assigned to NH (imine) and NH2 (amine). The band 1058 cm−1 corresponds to –C–O–C. The peak at 3409 cm−1 indicates the presence of the phenolic group. The bands 750–450 cm−1 appearing in this range may be contributed by symmetrical and asymmetrical bending vibration of COC (Satapathy et al. 2009; Chevalier et al. 2014).

Fig. 1
figure 1

FTIR of Amarbel extract (AME)

Weight loss measurements

The MS specimens were immersed in 0.5 M HCl for 4 h in the absence and presence of AME alone and AME with intensifier (PEG400). The corrosion rate was evaluated by the use of Eq. 1:

$$\mathrm{Corrosion}\;\mathrm{rate}\;(\mathrm{CR})=\frac{87.6\times\Delta\mathrm w}{\mathrm{DAT}}$$
(1)

where Δw is actual weight loss (mg), D is MS density (7.86 g cm−3), A is the total area (cm2) affected by corrosion, and T is the immersion time in h. The CR values were used to calculate the inhibition efficiency (η) by the following equation:

$$\eta\;\%=\frac{{CR}^0-CR}{{CR}^0}\times100$$
(2)

Here, CR and CR0 are the values of the rate of corrosion of MS with and without inhibitors.

The η of AME at 100 ppm was 86.35% as shown in Table 1 that was maximized as 96.34% at 800 ppm.

Table 1 Corrosion rate (CR) and % inhibition efficiency (η) of AME obtained from weight loss measurement in 0.5 M HCl

Table S1a (given in supplementary section S1) reveals that the combination of 100 ppm AME with 50 ppm of PEG400 resulted in improved efficiency in comparison to AME. Only 100 ppm AME extract dose has shown 96.57% η with the addition of 50 ppm PEG in HCl medium. Table S1b shows that AME performs better with PEG400 in HCl medium. The formulation of 100 ppm AME with 50 ppm PEG was the optimized value of this combination which was verified and screened by weight loss measurement. Henceforth, the study of AME along with PEG400 with their best formulation (100 ppm AME with 50 ppm PEG400) in HCl medium was explored through electrochemical techniques.

Electrochemical measurements

Potentiodynamic polarization measurement

The plots of potentiodynamic polarization (PP) measurements of AME in 0.5 M HCl solution are shown in Fig. 2a, b, c respectively at 303 K, 313 K and 323 K. Figure 2d shows the polarization graphs of AME + PEG400. The Tafel parameters obtained after extrapolation of graphs are summarised in Table 2 for AME and AME + PEG400. When the concentration of AME extract increases, a fall in the current density icorr (μA cm−2) values in both anodic and cathodic directions was observed. This indicates the adsorption of the inhibitor layer restricted the movement of oxygen to both anodic and cathodic sites. Also, the extract presence shifted the Tafel plots slightly towards positive potentials than the negative potential. Therefore, it can be concluded that the inhibition of anodic reactions occurs dominantly over the cathodic reactions. The icorr values at 100 ppm AME were 120.16 μA cm−2 and 42.89 μA cm−2 at 800 ppm, while the icorr values of AME + PEG400 were 30.59 μA cm−2.

Fig. 2
figure 2

Polarization curves for AME in 0.5 M HCl at a 303 K, b 313 K, c 323 K, d AME + 50 ppm PEG

Table 2 Polarization parameters for Fe–C in 0.5 M HCl at different concentration of AME and (AME + PEG400) at 303 K, 313 K, 323 K

Table 2 reveals that icorr values decrease raucously in the presence of PEG400 as intensifier with AME as compared to AME alone. This indicated that the addition of inhibitor adversely affected the metal dissolution and hydrogen evolution reactions and redistricted the corrosion kinetics (Alibakhshi et al. 2019). PP electrochemical parameters cathodic and anodic Tafel slopes (βc and βa), corrosion potential (Ecorr), corrosion rate (CR) and corrosion current density (icorr) are summarized in Table 2. The free electrons available from oxygen, nitrogen and π-electrons help in suppressing the corrosion process by blocking the active sites present over the metal surface (Saini et al. 2019). The similar patterns followed by Tafel curves indicated no change in the basic corrosion control mechanism over MS surface. However, the displacement of Ecorr of inhibitor within the range of 85 mV from the Ecorr of blank solution categorized AME as a mixed-type inhibitor. The percentage η was calculated using the relation (Qiang et al. 2017):

$$\eta \mathrm{\%}=\frac{{i}_{\mathrm{corr}}^{0}- {i}_{\mathrm{corr}}}{{i}_{\mathrm{corr}}^{0}}\times 100$$
(3)

where \({i}_{\mathrm{corr}}^{0}\) and \({i}_{\mathrm{corr}}\) are the current densities of corrosion for MS without and with inhibitor, respectively.

The inhibition efficiency of AME at 100 ppm was 90.19% at 303 K which declined to 83.06% at 323 K. On the other side, η % of AME at 100 ppm along with merely 50 ppm PEG400 was 97.51% at 303 K and 96.08% at 323 K. This depicted the presence of low dosage of PEG400 elevated the inhibition efficiency of AME which may be due to the complexation with MS surface which could sustain the adsorbability of AME even at higher temperatures.

EIS

The Nyquist plots of AME and AME + PEG400 at 303 K for the steel in 0.5 M HCl medium are shown in Fig. 3. Figure 3a shows Nyquist plots, Fig. 3b exposes Bode phase, and Fig. 3c depicts Bode modulus of AME in 0.5 M HCl respectively. Figure 3d displays Nyquist plots and Fig. 3e informs about Bode plots for the formulation AME + PEG400 in 0.5 M HCl solution. The capacitive diameter size for AME was noticeably improved in the presence of intensifier PEG400 as compared to that of AME alone. The indication of similar capacitive loops in all cases revealed that the similar mode of inhibition against corrosion was followed on the MS surface in hydrochloric acid solution. The difference in the values of impedance at low and high frequencies depicted the value of charge transfer resistance (RCT). The frequency-impedance response of MS is directly related to the concentration of the inhibitor (Qiang et al. 2019a, b). The higher values of RCT as compared to the blank solution facilitated that the blocking of active sites over the MS surface occurred effectively through protective/barrier film of inhibitors during adsorption on MS surface.

Fig. 3
figure 3

Plots for AME in 0.5 M HCl a Nyquist Plots, b Bode phase plots c Bode modulus. Plots for (AME + PEG400) d Nyquist plots, e Bode plots

Based on EIS, the percentage inhibition efficiency (\(\eta\) %) and double-layer capacitance (Cdl) were analysed using the following equations:

$$\eta \%=\frac{{R}_{CT}-{R}_{CT}^{0}}{{R}_{CT}^{0}}\times 100$$
(4)
$${C}_{dl = }\frac{1}{2\pi {f}_{\mathrm{max}}{ R}_{CT}}$$
(4.1)

where \({R}_{CT}\) and \({R}_{CT}^{0}\) are the values of charge transfer resistance with and without inhibitor, respectively (Dahiya et al. 2016). A downfall of the Cdl values while moving towards higher concentrations of the AME as well as AME with PEG400 was also observed. This took place by the replacement of water molecules at the metal/solution interface that resulted in descending pattern of the local dielectric constant along with the consequent adsorption of inhibitor layer (Qiang et al. 2019a, b).

The frequency with the maximum phase angle keeps on increasing along with the addition of inhibitor concentration. The highest phase angle was observed by the addition of PEG with AME. Table 3 indicates the value of η % of AME is shifted from 92.54% at 100 ppm to 97.18% at 800 ppm while only 100 ppm of AME plus 50 ppm of PEG400 provided 97.46% inhibition efficiency. The results are directed towards the retardation of charge transfer with the effectual adsorption of AME along with PEG400 in the HCl medium. The electrochemical equivalent circuit was fitted to examine the EIS parameter as shown in Fig. 4.

Table 3 EIS parameters and inhibition efficiency value in the absence and presence of AME and (AME + PEG400) at 303 K in 0.5 M HCl
Fig. 4
figure 4

Electrochemical circuit fit

Accordingly, a constant phase element (CPE) was utilized to view a more accurate fit of experimental parameters, in spite of a capacitive element which could build normally more complex equivalent circuits, where charge transfer or polarization resistance is Rp, n = value of the exponent of constant phase element and varies from 0, 0.5, 1, − 1 as related with resistance, Warburg impedance, capacitance and inductance, respectively. The uncompensated solution resistance = Rs, CPE = constant phase element, can be calculated by Eq. 5 (Kumar et al. 2017a, b):

$${Z}_{CPE}={ \left(\frac{1}{{Y}_{0}}\right){[ {(j\omega )}_{n}]}^{-1}}$$
(5)

where, Y0 = magnitude of CPE, ω = angular frequency, j = imaginary number, and n = exponential term of CPE.

The following relations (Qiang et al. 2022) (Li et al. 2021) are used to convert CPE to Cdl:

$$C={Y}_{o}{\left(\omega \right)}^{n-1}={Y}_{o}{\left({2\pi f}_{Zim-Max}\right)}^{n}$$
(6)

Here, fZim-Max represents the maximum frequency value of imaginary impedance in EIS.

Figure 3b, c and e show the Bode plots recorded for MS in 0.5 M HCl solution at different concentration of Ame and Ame with PEG respectively. The increase in phase angle with enhancement of concentration of inhibitor clearly indicates the inhibition of corrosion reactions. The elevation in the phase angle with increasing inhibitor concentration specifies the reduction in heterogeneity of the surface. An aliquoted addition of inhibitor may be directly associated with surface smoothness through compact adsorption of inhibitor molecules over the metal surface.

Adsorption and thermodynamic aspects

The basic idea about the mechanism of adsorption and interaction between MS surface and the examined compounds can be predicted through adsorption isotherms. The basic concept of surface coverage (\(\theta\)) can be given through Eq. 7:

$$\theta = \frac{\eta }{100}$$
(7)

Here, \(\eta\) is the inhibition efficiency.

The Langmuir adsorption isotherm (Fig. 5a) analysis reveals that the plots of C/θ versus C represent ideal correlation coefficient (R2 \(\ge\) 0.99) which is given by Eq. 8:

Fig. 5
figure 5

Adsorption isotherms a Langmuir, b Freundlich, and c Flory–Huggins plots of AME for Fe–C in 0.5 M HCl

$$\frac{C}{\theta }= \frac{1}{{K}_{ads}}+ C$$
(8)

Here, C is the concentration of AME, and \({K}_{\mathrm{ads}}\) is the equilibrium constant which can be evaluated from the intercept of the plot of C/θ versus C. The Kads is used to calculate thermodynamic parameters (Δ ads) (Ayawei et al. 2017). The graph of ln Kads versus 1/T gives a straight line (Fig. S2 placed in supplementary section S2) with slope (− ΔHºads/R) from which ΔHºads and ΔSºads thermodynamic parameters were analysed (Table 4). Moreover, to predict the mutual influence of PEG400 and AME towards the inhibition action of corrosion, the synergism parameter, \({S}_{\theta ,}\) was premeditated using the relationship (Alibakhshi et al. 2019) (as placed in supplementary section S3). Freundlich isotherm (Fig. 5b) and Flory–Huggins adsorption isotherms (Fig. 5c) were determined, and their respective parameters are placed in Table S3 to give more insight in the adsorption process; further explanation is placed in supplementary section S4.

Table 4 Thermodynamic adsorption parameters of AME for Fe–C in 0.5 M HCl

Computational (DFT and MD) study

Herein, Fig. 6 puts insight into the electronic and structural properties of active constituents of AME, i.e. quercetin (I), cuscutin (II), kaempferol (III) and cuscutamine (IV).

Fig. 6
figure 6

Active constituents quercetin (I), cuscutin (II), kaempferol (III) and cuscutamine (IV) with their HOMO and LUMO orbital distribution

The corresponding calculated quantum chemical parameters in Table 5 display the quantum parameters such as; EHOMO, ELUMO, ΔE, the fraction of electrons transferred (ΔN), electronegativity (χ) and absolute hardness (Ƞ) (Eddy et al. 2015) (Kokalj 2014).

Table 5 The quantum parameters of quercetin (I), cuscutin (II), kaempferol (III) and cuscutamine (IV)

The highest EHOMO value of quercetin among active constituent denotes that it has the highest tendency for electron donation to an electron-deficient site. The reactivity of the molecule is inversely related to the value of ΔE since its smaller value enhanced the softness of the molecule and its easy polarizability (Majd et al. 2019). The positive values for ΔN confirm that all active constituents exhibit the propensity to donate electrons to the metal surface. The ΔN values in quercetin, cuscutin, kaempferol and cuscutamine follow the order 0.25, 0.28, 0.32 and 0.37 respectively. This displays the extent of electron fraction transferred from cuscutamine is higher and which further validated through the least electronegative (χ = 3.02 eV) value of cuscutamine among the active constituents. The polarity of a molecule is related to the product of charge and the distance between two related atoms. Though the dipole moments of all the species are quite sufficient for the existence of electrostatic interactions at the metal/solution interface, quercetin possesses the highest value of dipole moment. Analysis of an assortment of parameters gives a deep understanding of the interaction of the metal surface with an inhibitor (Kokalj 2014). It is reasonable to propose that all the active constituents contribute good inhibitive effects against corrosion as a result of mutual synergism among them. Hence, Table 5 results evidenced the fact that the major constituents of AME facilitated the electron density donation towards iron metal and eventually protected the metal surface.

MD is a powerful simulation tool to study the adsorption interactions of inhibitor on the Fe surface (Qiang et al. 2021). The type of functional groups, electron donor site and size of inhibitors are the deciding factors for energy binding interface between inhibitors and metal surface. In relevance to this, MD of the studied inhibitors with their initial and final adsorption orientation on the Fe surface are depicted and are shown in Fig. 7. The figure clearly shows that quercetin (I) and kaempferol (III) were adsorbed to greater extent than cuscutin (II), cuscutamine (IV) on Fe surface. The presence of hydroxyl group, quinoline nucleus and imine groups favoured the planar orientation on metal surface. Table 6 exposes the energy parameters of the studied inhibitors. The negative values of binding energy support and strengthen the interactions between inhibitors with metal surface.

Fig. 7
figure 7

MD simulation orientation with initial and final view for quercetin (I), cuscutin (II), kaempferol (III) and cuscutamine (IV)

Table 6 Energy interactions parameters of quercetin (I), cuscutin (II), kaempferol (III) and cuscutamine (IV) as calculated by MD simulation

SEM study

Typical scanning electron microscopy (SEM) photographs of the surfaces at × 3000 magnification after immersion of 4 h in 0.5 M HCl at 303 K without and with 800 ppm AME concentration and (100 ppm AME + 50 ppm PEG400) concentration are shown in Fig. 8a, b and c. The surface appears the most heterogeneous, rough, by the attack of corrosive HCl in Fig. 8a. The morphology in the presence of AME + PEG400 formulation reveals that the MS steel surface is more protected as compared to AME alone. Figure 8c exposes a smoother, non-porous and less disintegrated structure than Fig. 8b. Hence, SEM proves adsorption of the inhibitor AME + PEG400 layer acted as an effective barrier against electrochemical corrosion reactions occurring on the MS surface in the corrosive solution.

Fig. 8
figure 8

Scanning electron micrographs of Fe–C surfaces: a inhibited AME and b inhibited (AME + PEG400)

AFM

The MS surface microstructure in 0.5 M HCl medium at 303 K before and after immersion in the presence of AME and the combination of AME with PEG400 for 4 h was recorded using AFM (Fig. 9). Figure 9a shows a highly corroded surface in the presence of the purely acidic medium. The presence of corrosion controlling candidates makes the surface of steel relatively homogeneous, plane, compressed as shown in Fig. 9b (AME) and Fig. 9c (AME + PEG400). The roughness parameters in Table 7 indicate about the prominent surface improvement within AME with PEG400 in comparison to AME alone, both studied in 0.5 M HCl medium.

Fig. 9
figure 9

Atomic force micrographs of Fe–C surfaces: a 0.5 M HCl, b AME inhibited, and c AME + PEG400 inhibited

Table 7 Roughness parameters obtained for Fe–C surface through AFM

XPS

X-ray photoelectron spectroscopy (XPS) study was executed to analyze the interaction of the inhibitor with the metal surface and to insight the type of elements of extract existing on the surface of metal. Figure 10 shows the deconvoluted C1s, O1s and Fe 2p spectrum of Ame and Ame with PEG inhibitors, and the same was compared with the XPS spectrum of blank solution given in our previous paper (Pahuja et al. 2020) and added in supplementary section S5.

Fig. 10
figure 10

XPS spectra of Fe–C surface after immersion in AME and AME with PEG

Figure 10a and b show the high-resolution spectra of C1s region of metal surface with inhibitors. The binding energy peaks observed for the C1s spectra correspond to different oxidation states of carbon. The peak at 284.87 eV was observed due to aromatic C–C and C = C. The peak at 285.63 eV was attributed to C = O bonds in the molecule whereas the peak at 288 eV corresponding to the presence of (–(C = O)–O–) relates to the cyclic carboxylic ester. The tiny peak at 286.65 corresponds to CH–NH bonding.

Figure 10c and d display the deconvoluted O1s spectra; peaks at 529.82 eV in AME and 529.62 eV in AME with PEG relate to O2− and indicate the presence of ferric oxides (Fe2O3 and Fe3O4). The interpretation of these peaks clearly points to the enhancement in the inhibitive action of AME in the presence of PEG. The peaks at 531.32 eV in AME and 531.77 eV in Ame with PEG were attributed to OH of hydrous iron oxide FeOOH/Fe(OH)3. The weak peak at 533.82 eV with lower binding energy indicates the existence of water molecules as monolayer (Qiang et al. 2019a, b) (Hashim et al. 2019a).

Figure 10e and f expose Fe 2p spectrum of inhibitors suggest the presence of various forms of oxidized iron with metallic iron. The spectrum covers a doublet peak profile positioned at a binding energy around 710.96 eV (Fe 2p3/2) and 724.83 eV (Fe 2p1/2). The peaks at 708.57 eV (Fe 2p3/2) and 721.88 eV (Fe 2p1/2) were allocated for metallic Fe(0). The peaks at 711.62 eV (Fe 2p3/2) and 725 eV (Fe 2p1/2) were attributed to the Fe2+ (Fe3O4or FeO) and the peaks 713.7 eV (Fe 2p3/2) and 727.38 eV (Fe 2p1/2) correspond to Fe3+(Fe2O3). The peaks residing at lower side of binding energy were related with Fe2+ which arose as a result of the metal dissolution after immersion in corrosive HCl. The peaks at 718.4 eV, 721.8 eV, 733.4 eV and 735.3 eV were assigned as satellite peaks of Fe 2p3/2 and Fe 2p1/2 (Hashim et al. 2019b) (Grosvenor et al. 2004). The typical spectra N1s are shown in Fig. 10g and h, corresponding to the characteristic fitted peaks at 399.5 eV and 401 eV. This shows the presence of adsorbed nitrogen components of the extract on mild steel.

The interpretation of XPS peaks confirms that the adsorbed film of Fe2O3 and FeOOH retards the ionic diffusion and prevents the corrosion of metal surface more efficiently in the presence of AME with PEG.

Mechanism strategy for corrosion protection

The adsorptive nature of the studied compounds over MS steel surface is found supportive in preventing the corrosion in acidic medium. The surface coverage through adsorption precisely depends upon the electronic structure and composition of metal, inhibitor and corrosive medium. The various active compounds present in the Amarbel extract possess organic nature, rich with flavonoids, aromatic rings, tannins, carbohydrate, proteins and electron donor heteroatom. In acidic conditions, these compounds get protonated and reduce the hydrogen evolution at the cathodic sites of MS surface whereas the adsorption of molecules at anodic sites through electron-rich centre decreased the dissolution rate of the metal. The mode of action of studied inhibitors is represented in Fig. 11.

Fig. 11
figure 11

Proposed mechanism of inhibitor AME with intensifier

In addition to this, the inhibition takes place effectively even at a low concentration of PEG400 when HCl was used as a corrosive medium. As some molecules of PEG400 may also get disintegrated into positive and negative entities, later on, the metal ion gets entrapped as partial complexation between this negative entity of PEG400 and chloride ions.

Eventually, Table 8 summarizes some current literature related with plant extract as corrosion inhibitors. The corrosion inhibitors should be used at concentrations between range 0.1 and 1%. Low concentration of Ame with intensifier is fulfilling the conditions of a good inhibitor as compared to the other inhibitors present in Table 8.

Table 8 Summarized comparative data with the present study

Conclusions

The current study informs about the anti-corrosive strength of the alcoholic extract of Amarbel extract (AME) alone and the combination of polyethylene glycol (PEG400) as additive with AME in 0.5 M HCl solution onto MS steel surface. The results obtained through weight loss, electrochemical polarization and impedance techniques were found mutually in good harmony. The examination of results indicates that the combination of AME at 100 ppm concentration with 50 ppm PEG400 has elevated the corrosion inhibition efficiency up to 97%. The presence of PEG400 was helpful in maintaining the inhibition efficiency of AME at low dosage (100 ppm) even at higher temperatures in a stable manner. Potentiodynamic polarization findings support AME as well as AME + PEG400, both acted as mixed-type corrosion inhibitors for MS surface. The Langmuir, Freundlich and Flory–Huggins adsorption isotherms, XPS, SEM AFM and computational study have supported the corrosion inhibition capability of the studied eco-friendly inhibitors over the MS surface in a justified way and also aided with a proposed strategy for mechanism of inhibition while working in 0.5 M HCl.