1 Introduction

Carbon steel has wide application in the fabrication or designing of many engineering components in form of machine parts or tools, etc. [1] due to its inherent engineering properties. The integrity, safety and durability of some these components or machine tools are not guaranteed when exposed to unfavourable environment during service. For instance, the surface of either bare or coated carbon steel machine parts or tools, etc. becomes weak with time as a result of their limited corrosion resistance and continuous contact with aggressive solutions of mineral acids, especially when exposed to chemical treatment processes such as acid pickling, oil well acidizing, acid cleaning, textile dyeing, water treatment and industrial cleaning of metallic parts, tools, etc., [2]. In addition, the surface of the bare metal component parts tends to disintegrate, rust, corrode and crack resulting to wear and reverting to natural ore with time when exposed environment containing moisture; a technical process regarded as corrosion [3]. The process of metal corrosion is electrochemical in nature involving anodic and cathodic reaction respectively. Anodic reaction involves dissolution of metal whereas cathodic reaction involves hydrogen and oxygen reduction respectively. It is the combination of these reactions that constitute the destruction of metal and inherent properties associated with the metal. The consequences of metallic component failures in relation to corrosion are many and include the followings injuries, death, material loss, contamination and pollution, loss of time, mechanical and structural damage, etc. Hence, these negative effects can be regulated or controlled using various techniques to safeguard the metal from the aggressive environments surrounding the surfaces. Among the various technical approaches that have been utilized in tackling the menace of metallic corrosion, the use of corrosion inhibitors is regarded as the most technical and effective means of regulating corrosion [3]. A corrosion inhibitor is regarded as a chemical substance which, when introduced or added in a little amount or quantity to a corrosive environment regulates the rate of metal dissolution. The corrosion inhibitors regulate dissolution of metal surfaces by being adsorbed on the surface of metals and forming a protective layer, which hinders access to corrosive species. This protective action of corrosion inhibitors is attributed to the presence of surface active functional groups and unique electron delocalization which facilitate the formation of rather stable metal-polymer complexes on the metal surfaces, which protect the metal surface from corrodent attack [4, 5]. Furthermore, a good corrosion inhibitor exhibits distinct characteristics such as hydrophobicity, safe in handling (non-toxic and biodegradable), renewable, low cost, stability, short and long-term durability in service, etc. [6, 7].

The search for corrosion inhibitor that exhibits the above stated properties emanates from organic or polymeric materials from the natural or synthetic background. Polymers are substances composed of macromolecules characterized by multiple repetitions of smaller molecules that are covalently bonded together to provide a set of properties. Some polymers either on their own or by the modification exhibit impermeability to different media, inherent stability, low cost, excellent chemical resistance, unusual deformation, short and long-term service durability, good metal corrosion resistance, etc. [8]. The use of green corrosion inhibitors derived from mainly natural polymers and organic substances has advocated considerable attention in the field of metal corrosion and protection due to growing global concerns on safeguarding the environment from toxic substances. It is interesting to know that a survey of the scientific literature reveals that many naturally occurring polymers (such as cellulose, tannic acid, lignin, chitosan, starch, gums etc.) as having been used effectively for different corrosion control applications [9]. This research area is of enormous importance and beneficial because of readily available of the soy polymers, their ability to degrade by biological means and pose no threat to the environment. In addition, it creates an avenue for diversification of the applications of the polymers. The molecular structure and the functionality of these polymers suggest their strong potential to become an effective corrosion inhibitor. Soy polymer is obtained from soybean which is a class of the beans family. It contains protein, carbohydrates, oil, vitamins and minerals, but protein forms the predominant part compared to other contents [10]. Protein has two functional groups (amino acid group, NH2 and carboxyl acid group, COOH) in its molecular structure. Soy polymer from soybean forms a colloidal solution (sol) in water and consists of several aggregates of protein molecules which possess electric charges. Also, in water carboxylic group of protein molecules, forms of carboxylate ion (negative) whereas amino acid group forms to ammonium ion (positive) [11]. The pH variation of a protein determines whether the ammonium ion or carboxylate ion will predominate. The wide applications of soy polymer are seen in different industries such as cosmetics, papermaking, textile, food, pharmaceutical, etc. Applications of polyvinylpyrrolidone are widely seen in medicine, pharmacy, cosmetics and industrial products. It is used as an additive in coating, food additives and in personal care products, such as shampoos and toothpaste, in paints, adhesives, etc.

In considering the adsorption capability of corrosion inhibitors, some factors are considered which include: the type and charge on the metal surface, species (corrosive agents) present in the electrolyte and also, the molecular or electronic structure of the compound used as an inhibitor. It is apparent that soy polymer from soybean and polyvinylpyrrolidone are useful in this regard. Soy polymer (SP) and polyvinylpyrrolidone (PVP) are safe in handling and soluble in water. According to the constituents of the molecular structure of SP and PVP, it is obvious that SP and PVP are good metal corrosion inhibitors, and the polymers have shown to be effective corrosion inhibitors [10, 12]. However, further studies are required to investigate the carbon steel corrosion inhibition mechanism of SP and PVP respectively in the sulphuric acid environment.

It is, therefore, the objective of this study to investigate the behaviour of carbon steel in 1 M H2SO4 solution, advance the use safe polymeric inhibitors to regulate the corrosion of carbon steel, and report the inhibiting strength of SP, PVP and their mixtures on the corrosion of carbon steel in 1 M H2SO4 solution; to explain the ability the molecular inhibitive species of SP and PVP molecule has to act as corrosion inhibitor using density functional theory (DFT). The inhibiting effect of the polymers was determined using hydrogen evolution techniques and potentiodynamic polarization measurement.

2 Materials and Methods

2.1 Material Preparation

Materials used in this work include: soybean seeds and carbon steel sheet (obtained from local market in Nigeria), analytical grades of chemicals and reagents (polyvinylpyrrolidone, sulphuric acid, distilled water, ethanol and acetone), fine grade of abrasive paper.

Soybean seeds used were sorted to remove irrelevant materials, weighed, washed thoroughly with distilled water and boiled for 30 min with distilled water. At the end of the stipulated time, the boiled water was removed and seeds were dehulled and dried at 60 °C in an oven. The dried seeds were toasted for 20 min at a temperature range of 70–100 °C, grounded using dry milling technique and sieved to a particle size of 20 μm to obtain a very fine powder of soy polymer.

Carbon steel sheet consisting of the following weight percent (0.101% C, 0.302% S, 0.171% Mn, 0.020% P, and 0.0020% S and Fe 99.5%) was mechanically press cut to coupon specifications of 3 × 3 × 0.2 cm dimension. The coupons were polished with a fine grade of abrasive paper, rinsed in acetone, degreased with ethanol, washed with distilled water, dried in hot air and kept in a desiccator.

Stock solutions of blank 1 M H2SO4 acid were prepared with distilled water using serial dilution principle. The inhibited solutions were prepared by dissolving 1.0–5.0 g of SP and PVP respectively with vigorous shaking in 1 L of 1 M H2SO4 solution.

2.2 Experimental Method

2.2.1 Hydrogen Gas (Gasometric) Technique

This experimental method was used based on its relative rapidity in monitoring changes in metal corrosion and inhibition process caused by inhibitor with respect to evolution of gas in metal and corrodent systems within a short period. The gasometric evolution technique was used for the investigation of corrosion rates and inhibition of carbon steel in 1 M H2SO4 solution respectively using polymeric inhibitors. The prepared test solution was introduced into the conical flask fitted graded side-arm burette filled with paraffin oil as reported elsewhere [12] and placed in a thermostatically controlled water-bath at the stipulated temperature. When the test solution attained the desired temperature, prepared carbon steel coupon was immersed using plastic thread in the test solution. The course of corrosion reaction was carefully followed and monitored by recording the volume of hydrogen gas evolved as a function time. All the experiments were performed using different concentrations of test solutions at various temperatures (30–60 °C) and the results presented are the averages of three experimental runs.

2.3 Electrochemical Technique

Potentiodynamic polarization studies were conducted using a computer controlled electrochemical workstation (PARC-2273 Advanced Electrochemical Instrument). It has a conventional glass cell assembly that consists of a platinum plate (counter electrode), a saturated calomel electrode (reference electrode), and the carbon steel (working electrode). The carbon steel coupon was embedded in epoxy resin leaving a surface area of 1 cm2 uncovered, immersed in the test solution using a coated copper wire for electrical contact. After establishing a steady state open circuit potential (OCP) at a stabilization period of 30 min, the potentiodynamic polarization measurements were conducted in the potential range of − 250 to + 250 mV relative to the corrosion potential of 0.333 mV/s scan rate. Each experiment was performed in triplicate and the average values of corrosion parameters obtained were presented.

2.4 Quantum Chemical Computation

The theoretical calculation was done based on the fact that the structure or geometry of molecules that determine the properties of the molecule [13,14,15]. Molecular modelling was performed to calculate the different molecular electronic parameters of the inhibitor in order to understand the behaviour of adsorption of molecular inhibitive species of the inhibitor on the carbon steel surface. DFT electronic program Dmol3 was used to calculate the following parameters; the energy of the lowest unoccupied molecular orbital E(LUMO), the energy of the highest occupied molecular orbital E(HOMO) and energy gap ∆E (EHOMO − ELUMO). The electronic parameters for the modelling include Mulliken population analysis, unrestricted spin polarization-DND basis set and the Perdew–Wang (PW) local correlation density functional.

2.5 Regression Analysis (Adsorption Isotherms)

The adsorption isotherms (regression models) were used to study the inhibition adsorption process, that is, to determine the mode of inhibition adsorption for the corrosion reaction process. Also, it was done to present the importance of using regression models and its methodology in interpreting corrosion inhibition results [16,17,18,19]. Regression isotherm models used in the research include; Temkin, Freundlich and Langmuir adsorption isotherm.

3 Results and Discussion

3.1 Hydrogen Gas Evolution and Corrosion Rate

Hydrogen gas evolution measurement was used to study the corrosion of carbon steel coupons in 1 M H2SO4 in the absence and presence of SP and PVP as inhibitors respectively. The effectiveness and suitability of the hydrogen evolution technique in monitoring the progress of corrosion inhibition reaction with respect to the evolution of gas in metal and corrodent systems have been established elsewhere [21,22,23]. It was observed that the corrosion reaction process was characterized by the rapid bubbles from the hydrogen gas released and material loss due to corrosion rates. The plots of hydrogen gas evolution against time for carbon steel corrosion in 1 M H2SO4 in the absence and presence of SP and PVP as inhibitors, respectively at 30–60 °C are shown in Fig. 1a–d respectively. The volume of hydrogen gas released at higher temperature was much compared to those released at lower temperatures as seen from the plots. Also, the report from the plots confirmed that there is no incubation period (time interval required for the corrodent to break down the oxide film on the carbon steel surface) observed during the reaction process. That is, the release of hydrogen gas commenced immediately the metal came in contact with corrodent, though the volume of hydrogen gas released varies with the reaction time in a linear manner. The hydrogen bubbles observed were released from the cathodic area or surface of the metal whereas metal dissolution occurred at the anodic area. Furthermore, the plots illustrate that on the introduction of the inhibitors into the corrodent the volume of hydrogen gas released decreased, indicating that the inhibitors actually offer inhibition to corrosion of carbon steel in 1 M H2SO4 environment.

Fig. 1
figure 1

a Hydrogen gas evolution during carbon steel corrosion in 1 M H2SO4 at 30 °C in absence and presence of SP and PVP. b Hydrogen gas evolution during carbon steel corrosion in 1 M H2SO4 at 40 °C in absence and presence of SP and PVP. c Hydrogen gas evolution during carbon steel corrosion in 1 M H2SO4 at 50 °C in absence and presence of SP and PVP. d Hydrogen gas evolution during carbon steel corrosion in 1 M H2SO4 at 60 °C in the absence and presence of SP and PVP

It is evident from the plots that SP exhibited better inhibitive performance compare to PVP for corrosion of carbon steel in 1 M H2SO4 in both low and high inhibitor concentration. This could be attributed to the presence of better inhibitive species within the SP molecules which formed a protective complex layer on the metal surface during continual contact between metal/inhibitor-corrodent systems [24]. The volume of hydrogen gas released was observed to decrease with increasing concentrations of SP and PVP, suggesting that their inhibiting performance of the polymers also depends on the concentration.

The hydrogen gas evolution rate can be correlated to corrosion rate because the amount of hydrogen gas released depicts the extent of corrosion damage done on the metal surface [14]. Based on that, the corrosion rate (CRH) is obtained from the relation between the hydrogen gas evolved and the time interval of evolution according to the expression [24] stated below:

$$ {\text{CR}}_{\text{H}} = \frac{{{\text{V}}_{\text{t}} - {\text{V}}_{i} }}{{{\text{t}}_{\text{t}} - {\text{t}}_{\text{i}} }} $$
(1)

where Vt and Vi represent the volumes of hydrogen evolved at time tt and ti respectively.

The values of the corrosion rate (CRH) were computed according to Eq. (1) and presented in Table 1. The results illustrate that corrosion rates increased with the rise in temperature and reduced in the presence of SP and PVP respectively compared to the blank solution. Further inspection of the table reveals that carbon steel is observed to exhibit a higher corrosion rate in the presence of PVP compared to SP. At the end of 50 h exposure of carbon steel coupon in the sulphuric solution, corroded product on the surface of coupon exposed in the blank solution was large compared to those on inhibited solution. Also, the corroded product was dark brown in colour.

Table 1 Calculated values of corrosion rates, inhibition efficiency, and degree of surface coverage for carbon steel in 1 M H2SO4 at 30–60 °C from hydrogen gas evolution measurement in the absence and presence of SP and PVP

3.2 Inhibition Efficiency

The efficacy of inhibitor in safeguarding or protecting metal surfaces during acid induced corrosion is dependent on the ability of the molecular inhibitive species of the inhibitor to be adsorbed on the metal surface and the ability of the resulting adsorbed film to disengage the metal surface from the corrodent medium [17]. If it is believed that in inhibited solution corrosion occurs on the remaining free surfaces after some sites have been barricaded effectively by the adsorbed inhibitor film such that the covered surfaces have negligible rates of corrosion, the degree of surface coverage (θ) and inhibition efficiency (%I) can be computed according to the following Eqs. (2 and 3) stated below [25]:

$$ \theta = \frac{{{\text{CR}}_{\text{H2}} - {\text{CR}}_{\text{H1}} }}{{{\text{CR}}_{\text{H2}} }} $$
(2)
$$ \% {\text{I}} = \left[ {\frac{{{\text{CR}}_{\text{H2}} - {\text{CR}}_{\text{H1}} }}{{{\text{CR}}_{\text{H2}} }}} \right] \times 100 $$
(3)

where CRH2 and CRH1 represent the corrosion rates in the absence and presence of inhibitor (SP and PVP) respectively as determined from rates of hydrogen gas evolved. The calculated values of inhibition efficiency (%I) and degree of surface coverage (θ) are illustrated in Table 1. The results indicate that both SP and PVP exhibited good inhibition efficiency during the corrosion of carbon steel in 1 M H2SO4. It is assumed that the inhibitive performance of the inhibitors is due to adsorption of SP and PVP respectively on the carbon steel surface which reduced the surface area available for corrosion. Also, the level of protection increases with an increase in inhibitor concentration due to the higher degree of surface coverage emanating from enhanced inhibitor adsorption but decreases with a rise in temperature. Hence, the decrease in inhibition efficiency with the rise in temperature is suggestive of physical adsorption mechanism [24].

4 Regression Analysis (Adsorption Isotherms)

The protective film on the metal surface resulting from the adsorption of the inhibitor on the surface during acid induced corrosion regulates the corrosive effect on the metal surface by either homogenous or heterogenous layer adsorption [12]. The adsorption isotherm model (regression model) based on the degree of surface coverage data provides the information about the interactions between the inhibitor molecules themselves as well as their interactions with the metal surface [25]. The values of the degree of surface coverage (θ) evaluated from hydrogen gas evolution measurement using Eq. (2) were fitted into different adsorption isotherms and the correlation coefficient (R2) obtained establish best results. The adsorption isotherms model used are expressed according to Eqs. (4), (5) and (6) respectively stated below [26]:

$$ \frac{\text{C}}{\theta } = \frac{1}{{{\text{K}}_{\text{ads}} }} + {\text{C}}\quad \left( {\text{Langmuir}} \right) $$
(4)
$$ {\text{In}}\theta = {\text{InK}}_{\text{ads}} + {\text{nInC}}\quad \left( {\text{Freundlich}} \right) $$
(5)
$$ \exp \left( { - 2{\text{n}}\theta } \right) = {\text{K}}_{\text{ads}} {\text{C}}\quad \left( {\text{Temkin}} \right) $$
(6)

where, C = concentration of inhibitor, Kads = adsorption equilibrium constant, θ = degree of surface coverage, n = molecular interaction parameter, (0 < n < 1).

The plots of the Langmuir (C/θ against C), Freundlich (In θ against InC) and Temkin (θ against InC) adsorption isotherms respectively were performed and Fig. 2 presents the plot of Langmuir isotherm adsorption. Linearity was obtained in all the Langmuir plots of Fig. 2 with good correlation coefficient, thus suggesting proper adsorption of SP and PVP respectively on carbon steel surface. Also, the adsorption parameters obtained were presented in Table 2. In addition, the results of Table 2 reveal that the adsorption of molecules of SP and PVP respectively on the surface of carbon steel followed Langmuir adsorption isotherm. This is because the correlation coefficient (R2) of Langmuir adsorption isotherm obtained is closer to unity compared to other adsorption isotherms. From the table, it is seen clearly that values of Kads obtained for both SP and PVP are positive, and SP has higher values than those of PVP at 30–60 °C, thus suggesting that SP showed better inhibition than PVP [26]. The adsorption equilibrium constant, Kads computed from the intercepts of the plots is related to Gibb’s free energy of adsorption, ∆Gads according to Eq. (7) stated below:

$$ {\text{K}}_{\text{ads}} = \frac{1}{55.5} \exp \left[ {\frac{{ - \Delta {\text{G}}_{\text{ads}} }}{\text{RT}}} \right] $$
(7)
Fig. 2
figure 2

Langmuir Adsorption isotherm for corrosion inhibition of SP and PVP on carbon steel in 1 M H2SO4 at 30 °C and 60 °C

Table 2 Calculated adsorption parameters for corrosion inhibition of SP and PVP on carbon steel in 1 M H2SO4 at 30 °C and 60 °C

The calculated values of ∆Gads were found to be −13.26 kJ/mol and −14.25 kJ/mol at 30 and 60 °C respectively for SP. ∆Gads values of −13.10 kJ/mol and −14.18 kJ/mol were obtained for PVP at 30 °C and 60 °C respectively. These ∆Gads values obtained to support the physical adsorption of SP and PVP respectively on the carbon steel surface [27] and also the negative values of ΔGads obtained are evidence of spontaneous and strong adsorption of the SP and PVP respectively on the carbon steel surface [28,29,30,31].

5 Effect of SP and PVP Mixture as Corrosion Inhibitor

The improvement in the effectiveness of the inhibitor by combining two or more materials as a single corrosion inhibitor has been made available in the scientific literature by many researchers [12, 20, 25, 32, 33]. This enhancement in inhibitor effectiveness is attributed to synergistic effect due to the availability of more adsorption centres within the inhibitor. The adsorption centres (functional groups) of the inhibiting molecule form complex ions with a metal surface which provides blanketing or protective film effect that safeguards the metal surface within the corrodent system. In this research SP and PVP were combined in different proportions as corrosion inhibitor and the effect was tested on the corrosion inhibition of carbon steel in 1 M H2SO4 at different temperatures. The results obtained as shown in Table 3 evidence that mixture of SP and PVP at different proportions enhanced the inhibiting characteristics of the combined inhibitor (SP and PVP) compared to individual polymeric inhibitors. This improvement suggests a possible role played by the availability of more inhibiting species existing within the combined inhibitor structure. Hence, it is an indication that the degree of surface coverage exhibited by the combination of SP and PVP as a corrosion inhibitor increased. Furthermore, it is observed that the corrosion rate of carbon steel in 1 M H2SO4 appears higher in individual inhibitors compared to the inhibitive effectiveness of the inhibitor produced by combining SP and PVP. Thus, suggesting that synergistic interactions obtained from the combined inhibitor enhanced the stability of the insoluble adsorbed protective film formed between the inhibitor and corrosion product at a lower temperature. However, at a higher temperature, the adsorbed protective film begins to dissolve with a resultant reduction in the effectiveness of combined action of SP and PVP, and more increment in the metal destruction.

Table 3 Effect of SP and PVP mixture as inhibitor on corrosion of carbon steel corrosion in 1 M H2SO4 at 30–60 °C

6 Temperature Effect

The effect of temperature on the corrosion inhibition of SP and PVP respectively on carbon steel in 1 M H2SO4 was studied at 30–60 °C to determine the dependence of inhibitor’s efficiency on temperature and corrosion behaviour of carbon steel in 1 M H2SO4 in the presence of SP and PVP respectively. The results obtained as shown in Table 1 reveal that the rates of carbon steel corrosion in 1 M H2SO4 in the absence and presence of SP and PVP respectively increased with the rise in temperature but the inhibition efficiency decreased. The high rate of dissolution of carbon steel in 1 M H2SO4 solution observed at elevated temperature could be attributed to more dissolution energy effect acquired by the corrosive agent within the aggressive medium. Also, the desorption of adsorbed inhibitor due to enhanced solution agitation by higher rates of hydrogen gas evolution at elevated temperature is possible and may cause the ability of the inhibitor to be adsorbed on the carbon steel surface to reduce [17]. In addition, this corrosion behaviour of carbon steel observed in 1 M H2SO4 in the presence of SP and PVP respectively suggests physical adsorption of the SP and PVP on the corroding carbon steel surface [24].

To evaluate the dependence of corrosion rate and inhibition efficiency on temperature two kinetic parameters (activation energies, Ea and heat of adsorption, Qads) was employed. Arrhenius equation was used to compute the activation energies for the corrosion process in the absence and presence of the inhibitor according to Eq. (8) stated below:

$$ {\text{Log}}\frac{{{\text{CR}}_{2} }}{{{\text{CR}}_{1} }} = \frac{{{\text{E}}_{\text{a}} }}{2.303R}\left( {\frac{1}{{{\text{T}}_{1} }} - \frac{1}{{{\text{T}}_{2} }}} \right) $$
(8)

where CR1 and CR 2 are the corrosion rates at temperatures T1 and T2 respectively. The calculated values of activation energies, Ea were presented in Table 4. The results of the table reveal that in the presence of both SP and PVP in 1 M H2SO4 activation energy increased, thus leading to a reduction in the rates of corrosion of carbon steel. It has been reported that adsorption of the inhibitor on the metal surface can regulate the rate of dissolution by either reducing the available dissolution area (geometric blocking effect) or by modifying the electrochemical reactions occurring at the metal surface/inhibited solution interface during the inhibition corrosion process [34]. The experimental observations suggest that regulation of carbon steel dissolution in 1 M H2SO4 by SP and PVP respectively occurred mainly through physical adsorption of the inhibitors on the metal surface. Also, it suggests that the inhibitors did not modify the rate determining hydrogen adsorption steps of the dissolution process, but deactivated the recombination of a hydrogen atom on the carbon steel surface [21, 35].

Table 4 Calculated values of activation energy (Ea) and heat of adsorption (Qads) for carbon steel corrosion in 1 M H2SO4 in the presence of SP and PVP as inhibitor at 30–60 °C

The heat of adsorption (Qads) for the corrosion process was obtained from the trend of the degree of surface the coverage with temperature according to Eq. (9) stated below:

$$ {\text{Q}}_{\text{ads}} = 2.303{\text{R}}\left[ {\log \left( {\frac{{\theta_{2} }}{{1 - \theta_{2} }}} \right) - \log \left( {\frac{{\theta_{1} }}{{1 - \theta_{1} }}} \right)} \right] \times \frac{{{\text{T}}_{1} {\text{T}}_{2} }}{{{\text{T}}_{2} - {\text{T}}_{1} }} $$
(9)

where θ1 and θ2 represent the degrees of surface coverage at temperature T1 and T2. The calculated values of heat of adsorption parameters are given in Table 3. The values of Qads obtained bear negative signs, thus indicating that degree of surface coverage decreased with increase in temperature and this behaviour evidently supported the physical mechanism of adsorption earlier proposed [36].

7 Potentiodynamic Polarization Measurements

Polarization measurement was conducted to establish the effectiveness of SP and PVP respectively in altering the corrosion reaction of carbon steel induced in 1 M H2SO4. In addition, to evaluate the specific role played by SP and PVP respectively either as anodic, cathodic or mixed inhibitor during the corrosion inhibition of carbon steel in 1 M H2SO4. The changes observed in the anodic and cathodic polarization curves of carbon steel induced in 1 M H2SO4 in the absence and presence of a low and high concentration of SP and PVP were illustrated in Fig. 3a, b respectively. Also, the polarization parameters, corrosion potential (Ecorr), corrosion current densities (icorr), cathodic Tafel slope (bc) and anodic Tafel slope (ba) obtained from the polarization curves are presented in Table 5. Evidently, it is seen from the figures that the corrosion potential (Ecorr) show more pronounced displacement towards a positive direction with a significant decrease in the current densities upon addition of SP whereas the addition of PVP pushed corrosion potential (Ecorr) towards the negative direction with a resultant decrease in the current densities (icorr). This behaviour suggests that the SP exhibited a more retarding effect on the anodic dissolution reaction compared to cathodic hydrogen gas evolution reaction while PVP retarded cathodic reaction more compared to the anodic reaction. The variations observed in the displacement of the corrosion potential (Ecorr) by SP and PVP could be attributed to their different inhibitory species present in the molecular structure. In addition, it is suggested that both SP and PVP acted as mixed inhibitors based on the fact the displacement in corrosion potential caused by the addition of SP and PVP respectively does not exceed 85 mV [37]. The inhibition efficiency (IE%) was computed from the values of corrosion current density without (icorr, bl) and with HPC (icorr, inh) using the equation stated below as follows:

$$ {\text{IE}}\% = \left[ {\frac{{{\text{i}}_{\text{corr, bl}} - {\text{i}}_{\text{corr, inh}} }}{{{\text{i}}_{\text{corr, bl}} }}} \right] \times 100 $$
(10)
Fig. 3
figure 3

a Polarization curves of carbon steel corrosion in 1 M H2SO4 solution at 30 °C for different concentrations of SP. b Polarization curves of carbon steel corrosion in 1 M H2SO4 solution at 30 °C for different concentrations of PVP

Table 5 Potentiodynamic polarization parameters for carbon steel corrosion in 1 M H2SO4 at different concentrations of SP and PVP at 30 °C

8 Quantum Chemical Computation Result

The computed optimized electronic molecular structure of the inhibitors (protein and polyvinylpyrrolidone) including the HOMO orbital and LUMO orbital are illustrated in Figs. 4a–c and 5a–c respectively. Table 6 presents the calculated quantum chemical properties related to the electronic molecular structure of the most stable conformation of the protein and polyvinylpyrrolidone molecule respectively.

Fig. 4
figure 4

Molecular electronic structure of a protein unit: a optimized structure b HOMO orbital c LUMO orbital (atomic legend: gray = C; white = H; blue = N; red = O) (color figure online)

Fig. 5
figure 5

Molecular electronic structure of a polyvinylpyrrolidone unit: a optimized structure b HOMO orbital c LUMO orbital (atomic legend: gray = C; white = H; blue = N; red = O) (color figure online)

Table 6 Calculated values of some quantum chemical parameters of protein and polyvinylpyrrolidone molecule

The interaction between the frontier orbital of the reactant molecules (as in the interaction metal and inhibitor in the presence of corrodent) necessitates the transition of electrons according to the Frontier Orbital Theory. EHOMO designates the potency of a molecule to donate electron(s) to an appropriate acceptor that possess low empty molecular orbital energy, whereas ELUMO indicates the ability of a molecule to accept electron(s). In addition, an increase in the EHOMO values is linked to improvement in the performance of molecular adsorption as well as the efficiency of the inhibition while low EHOMO values is a sign of the willingness of molecule to accept electron(s) with ease [38]. Hence, values of EHOMO obtained for protein and polyvinylpyrrolidone molecule are − 5.350 eV and − 5.441 eV respectively. This suggests a strong tendency towards the donation of electrons to the metal surface with the expectation of appreciable corrosion inhibition by the polymeric inhibitors. ELUMO values obtained for protein and polyvinylpyrrolidone molecule are − 1.686 eV and − 0.193 eV respectively, thus indicating the propensity of the inhibitor molecule to except electron(s) Also, low energy gap value (∆E) affords good inhibition effectiveness because the energy of excitation needed to remove an electron from the last occupied orbital will be low [38]. The location of the HOMO orbital in a protein molecule is seen around the amino acid group and carboxyl acid group, suggesting the site preferred for the electrophilic attack through the molecule can interact with the metal surface. Probably, it is that of the molecule that has a high HOMO density which was oriented to the metal surface and adsorption of the molecule could be sharing of lone pairs and the π-electrons of the carbonyl group. On the other hand, LUMO orbital domiciled around the carboxylic group and thus indicating the site for the nucleophilic attack which can accept an electron from the 3d-orbital of the iron atom to form feedback bond and strengthens the interaction between protein molecule and carbon steel surface.

In the case of polyvinylpyrrolidone molecule, the HOMO and LUMO orbitals are located around the vinyl and pyrrolidone group respectively. These are sites at which both the electrophilic and nucleophilic attacks can occur within the molecule. The relationship between the energies of HOMO and LUMO orbitals and ionization potential and electron affinity of the inhibitor molecule, respectively according to Koopman’s theorem is established in the expressions stated below [39, 40]:

$$ {\text{I}} = - {\text{E}}_{\text{HOMO}} . $$
(11)
$$ {\text{A}} = - {\text{E}}_{\text{LUMO}} . $$
(12)

The absolute hardness (η) and electronegativity (χ) of the inhibitor molecule are calculated in terms of EHOMO and ELUMO according to Martinez and Stagljar [40]:

$$ \eta = \frac{{{\text{I}} - {\text{A}}}}{2}. $$
(13)
$$ \chi = \frac{{{\text{I}} + {\text{A}}}}{2}. $$
(14)

During the interaction between the metal surface and inhibitor, there is a transfer of electrons from the inhibitor to the d-orbital of the metal. The fraction of electrons transferred (∆N) can be calculated using the expression stated below:

$$ \Delta {\text{N}} = \frac{{\chi_{\text{Fe}} - \chi_{\text{inh}} }}{{2(\eta_{\text{Fe}} - \eta_{\text{inh}} )}} $$
(15)

where χFe (a theoretical electronegativity value of) = 7.0 eV for iron and ηFe (absolute hardness) = 0 is assumed, since I equals A for bulk metals [38]. Lukovits et al. [41] reported that if ∆N is less than 3.6, electron donating capability of the inhibitor will rise at the metal surface with the increase in the inhibition of efficiency. The values of ∆N obtained in this study for protein and polyvinylpyrrolidone molecules are 0.950 eV and 0.797 eV respectively, thus suggesting that protein and polyvinylpyrrolidone molecules respectively were a donor of electrons whereas carbon steel surface was the acceptor. In addition, the low value of dipole moment (μ) obtained for protein and polyvinylpyrrolidone molecule, respectively is an indication that molecules of the inhibitor exhibit hydrophobic character which favours the accumulation of the inhibitor molecules on the carbon steel surface [38].

9 Inhibition Mechanism

The rate at which metal corrodes and inhibited is dependent on the following factors nature of metal, corroding environment, inhibitor, corrodent, etc. [12]. During the corrosion process, it is believed that inhibitors regulate the dissolution of metal in the corrodent medium through adsorption at the interphase between the metal surface and corrosive agent. The mechanism of adsorption can either be by chemical or physical means via the adsorbed blanketing or protective layer which blocks the interphase or region between the metal surface and corrosive agent either by mono or double layer formation. Availability of different functional groups and structural arrangements within the molecular structure of corrosion inhibitor is possible through mixing or combining different materials together and the material obtained or produced is technically regarded as a composite material. This enables the inhibiting species to have more interactions with the charge on the metal surface, thereby promoting more surface coverage due to enhanced protection from the stability of adsorption and corroded product. The existing interaction between the charge on the surface of carbon steel and inhibiting species of SP and PVP respectively contributed immensely in forming a complex protective film that retarded the dissolution of carbon steel in 1 M H2SO4 environment in this research. Also, the blend or mixture SP and PVP showed a remarkable reduction in the damage done by the corrosive action and the improvement in the inhibition efficiency recorded was far more appreciative when either SP or PVP was used alone. Probably, this suggests that having multiple inhibiting species or groups within the corrodent system containing metal enhances the level at which the metal will be protected.

10 Conclusion

Soy polymer (SP) from soybean and PVP were found to be near-excellent inhibitors from polymer sources for carbon steel corrosion in an unfavourable environment. The inhibition of carbon steel corrosion in 1 M H2SO4 environment by SP and PVP respectively occurred by adsorption via the Langmuir adsorption isotherm. The efficiency of inhibition increased with a corresponding increment in concentration and decreased with a rise in temperature, thus suggesting concentration dependence and physical adsorption respectively. The values of corrosion activation energy and heat of adsorption are higher in inhibiting solution compared to blank, thus supporting the proposed physical adsorption mechanism. It is observed that blends or mixtures of SP and PVP showed better improvement in inhibition effectiveness when either SP or PVP was used alone. Polarization result showed that SP and PVP altered both anodic and cathodic reaction and acted as mixed inhibitors based on the fact the displacement in corrosion potential caused by the addition of individual inhibitor does not exceed 85 mV. Quantum chemical calculations confirm the ability of protein and polyvinylpyrrolidone molecule respectively to adsorb on a carbon steel surface.