Introduction

The use of an inhibitor plays an important role in the corrosion protection of metal in acidic media. The inhibitor may be synthetic or naturally occurring plant products. Both synthetic and naturally occurring inhibitors protect the metal surface against corrosion. The technical, economical, and environmental issues have prompted the researchers to go for green corrosion inhibitors. Green inhibitors are biodegradable, non-toxic, eco-friendly, inexpensive, renewable, and readily available in nature. The corrosion behaviour of metals in different environments has been investigated by many authors. Extracts of various parts of the plant have been used as corrosion inhibitors. For example, the extracts of the leaves of plants like Hibiscus sabdariffa [1], Eucalyptus [2], Murraya koenigii [3], Nauclea latifolia [4], and Azadirachta indica [5] have been used for the corrosion inhibition of various metals in acidic media. There are also reports on the use of fruits [6, 7], flower [8], seeds [5, 9, 10], bark [4, 11, 12], and roots [5, 13] of different plant as corrosion inhibitors for different metals in acidic media. In recent years, most of the work on the corrosion prevention involves the utilization of the extracts of various parts of the plant which contain organic compounds with a lot of functional groups, hetero atoms, and aromatic rings [1417]. The constituents of the extracts form a protective layer on the metal surface and prevent it from corrosion. In pursuit of an eco-friendly inhibitor, the present work is focused on the use of aqueous and acid extracts of the leaves of Morinda tinctoria for the corrosion inhibition of mild steel (MS) in 0.5 M sulphuric acid medium. M. tinctoria which belongs to the family of Rubiaceae is a weed which grows on its own in the cultivated land. All the parts of M. tinctoria have been studied for its medicinal importance [18], and the leaves of this plant are found to contain many active compounds [19]. Available literature suggests that the extract of any part of M. tinctoria has not been used for corrosion inhibition studies on metals.

Experimental

Specimen preparation

The MS specimen with a dimension of 1 × 5 × 0.2 cm and with an area of 12.3 cm2 was used for the weight loss study, and specimen with an exposed area of 0.95 cm2 was used for electrochemical study. The surface of the specimens were mechanically polished with different grades (600, 800, and 1000) of emery papers, degreased with acetone and stored in a desiccator for their application. The chemical composition (in weight per cent) of MS is: C, 0.14 %; Mn, 0.57 %; Al, 0.05 %; Cr, 0.03 %; Si, 0.02 %; Cu, 0.01 %; and the balance is Fe.

Extract preparation

The aqueous and acid extracts were prepared by refluxing 5 and 0.25 g of dried and powered leaves of M. tinctoria for 3 h at 60 °C in 100 ml of distilled water and 0.5 M H2SO4, respectively. The solutions were allowed to cool at room temperature, filtered, and stored. During the preparation of the extracts, care was taken to maintain the concentration of the acid as constant. The aqueous and sulphuric acid extracts are abbreviated as AE and SE respectively. Distilled water and analar grade H2SO4 were used for preparing the extracts.

Weight loss method

The pre-cleaned and pre-weighed MS specimens in triplicate were suspended in 100 ml test solution with and without inhibitor at different concentrations of AE and SE in 0.5 M H2SO4 for a period of 1 h. After that, the specimens were taken out, washed with distilled water, dried, and weighed. From the weight loss data, percentage inhibition efficiency (% IE) was calculated and the optimum concentration of the inhibitor was identified for both AE and SE. The synergistic influence of halide ions was studied by adding the halide additives (1 % (v/v) of 100 ppm KCl, KBr, and KI) to AE and SE. All these studies were carried out at 30 ± 1 °C. The influence of temperature on the corrosion behaviour of MS in the presence of M. tinctoria extracts was studied in the range of 30–60 °C. The inhibiting power was calculated using the following equation.

$$ \%\ \mathrm{IE}\kern0.5em =\kern0.5em \left[\left({W}_{\mathrm{B}}-{W}_{\mathrm{I}}\right)\kern0.5em /\kern0.5em {W}_{\mathrm{B}}\right]\kern0.5em \times \kern0.5em 100 $$
(1)

where W B and W I are the weight loss of the MS specimens in the absence and in the presence of inhibitor, respectively.

The corrosion rate (CR) was calculated employing the equation,

$$ \mathrm{CR}\kern0.5em \left(\mathrm{mm}/\mathrm{year}\right)\kern0.5em =\kern0.5em 87.6\ \mathrm{W}\kern0.5em /\kern0.5em \uprho \mathrm{At} $$
(2)

where W is the weight loss of the specimen (in milligrams), ρ is the density of the specimen (in grams per cubic centimeter), A is the area of specimen (in square centimeters), and t is the exposure time (in hours).

Colorimetric estimation

In the present study, the amount of iron present in the test solution before and after MS immersion was determined by colorimetric experiment. Ammonium thiocyanate is the colouring agent; the percentage transmittance (% T) of this solution was recorded and used as blank. This was mixed with standard ferric ammonium sulphate solutions of different concentrations and the % T was recorded. A standard graph was plotted between % T and the concentration of iron. MS specimens after the weight loss experiments (1 h immersion) were taken away from the inhibited and uninhibited solutions and the solutions were then tested for dissolved iron by noting the transmittance after mixing with ammonium thiocyanate. From the standard graph the amount of iron was calculated. The % IE was calculated from the following equation.

$$ \%\ \mathrm{IE}\kern0.5em =\kern0.5em \left(\mathrm{Concentration}\ \mathrm{of}\ \mathrm{iron}\ \mathrm{in}\ \mathrm{the}\ \mathrm{blank}\ \mathrm{solution}\kern0.5em \hbox{--} \kern0.5em \mathrm{Conc}e\mathrm{ntration}\ \mathrm{of}\ \mathrm{iron}\ \mathrm{in}\ \mathrm{the}\ \mathrm{in}\mathrm{hibited}\ \mathrm{solution}\right)\kern0.5em \times \kern0.5em 100\kern0.5em /\kern0.5em \mathrm{concentration}\ \mathrm{of}\ \mathrm{iron}\ \mathrm{in}\ \mathrm{the}\ \mathrm{blank}\ \mathrm{solution}. $$
(3)

Electrochemical method

Electrochemical studies were carried out using Electrochemical Analyzer of CH Instruments (Model 608D). The experiments were carried out in a three electrode cell assembly with a platinum wire mesh electrode and a saturated calomel electrode used as auxiliary and reference electrodes respectively. MS specimen was used as the working electrode. AC impendence studies were conducted in the frequency range of 10,000–1 Hz at the rest potential using 0.02 V sine wave as the excitation signal. R ct and C dl values were obtained from the Nyquist plots. The % IE was calculated from,

$$ \%\kern0.5em \mathrm{IE}\kern0.5em =\kern0.5em \left[\left({R}^{\mathrm{i}}{}_{\mathrm{ct}}\kern0.5em \hbox{--} \kern0.5em {R}^{\mathrm{o}}{}_{\mathrm{ct}}\right)\kern0.5em /\kern0.5em {R}^{\mathrm{i}}{}_{\mathrm{ct}}\right]\kern0.5em \times \kern0.5em 100 $$
(4)

where R o ct and R i ct are the charge transfer resistance values in the absence and in the presence of inhibitor, respectively. Potentiodynamic polarization studies were carried out in the potential range from −0.750 to −0.250 V at a scan rate of 0.01 V/s. The electrochemical parameters such as corrosion current density (I corr), corrosion potential (E corr), anodic and cathodic slopes (b a and b c) were obtained from Tafel plots and the % IE was determined using the formula,

$$ \%\kern0.5em \mathrm{IE}\kern0.5em =\kern0.5em \left[\left({I}^{\mathrm{o}}{}_{\mathrm{corr}}\kern0.5em \hbox{--} {I}^{\mathrm{i}}{}_{\mathrm{corr}}\right)\kern0.5em /\kern0.5em {I}^{\mathrm{o}}{}_{\mathrm{corr}}\right]\kern0.5em \times 100 $$
(5)

where I o corr and I i corr are the corrosion current densities in the absence and in the presence of inhibitor respectively.

Surface analysis

Fourier transform infrared (FT-IR) was recorded using Shimadzu spectrophotometer for the liquid extract of SE before and after electrochemical experiments. Ultraviolet–visible (UV–vis) spectrometer (Shimadzu-UV-1700) was used to study the chemical transformation taking place during electrochemical studies. Surface morphology of the MS for inhibited and uninhibited systems were also examined using scanning electron microscope (SEM) of JEOL model (JSM 6390).

Results and discussion

Weight loss method

The results obtained for the corrosion of MS in 0.5 M H2SO4 medium with AE and SE by weight loss studies are given in Table 1, and it is clear from the table that the % IE increases with increasing the concentrations of both AE and SE in 0.5 M H2SO4. The maximum % IE for AE and SE were noticed at the inhibitor concentrations of 22 and 40 % (v/v), respectively. The increase in % IE or decrease in CR reveals the adsorption of various natural products present in the extract on MS. The effect of halide ions on the inhibition efficiency of various organic compounds and natural products was studied by several authors [2022], and they have observed that the synergistic effect increased in the order Cl < Br < I. According to these authors, the synergistic effect arises from the co-adsorption of halide ions with the inhibitors thereby facilitating the adsorption of organic compounds from the inhibitor solution on the metal surface. The results pertaining to the studies on the influence of halide ions on the performance of the inhibitor are given in Tables 2 and 3. The results show that addition of halide ions considerably improve the inhibition efficiency of the inhibitor and the order of synergistic effect is I > Br > Cl.

Table 1 Effect of concentration of the inhibitors (SE and AE) on the corrosion of MS in 0.5 M H2SO4 medium
Table 2 Weight loss data indicating the influence of halide additives on the corrosion of MS in 0.5 M H2SO4 with AE and SE
Table 3 Colorimetric data indicating the influence of halide additives on the corrosion of MS in 0.5 M H2SO4 with AE and SE

Effect of temperature

The effect of temperature on corrosion of MS was studied in the presence and in the absence of AE (22 % (v/v)) and SE (40 % (v/v)) to find the nature of the adsorption of inhibitor. The activation energy (E a) for MS corrosion reaction was found out from the slope of the Arrhenius plot (Fig. 1) (log CR vs. 1/T) for which the slope is −E a/2.303R, R is gas constant and T is temperature in absolute scale. Analysis of Table 4 reveals that for both SE and AE, the % IE decreases considerably when the temperature is increased from 303 to 313 K. This might be due to the desorption of the adsorbed inhibitor molecules from the metal surfaces [23]. The decrease in the % IE values at higher temperatures clearly indicates that the inhibitor is efficient around 303 K. The fact that the calculated values of E a (Table 4) for both the inhibited systems are found to be higher than the uninhibited system is an indication of spontaneous adsorption of the inhibitor molecules on MS surface and is attributed to physisorption [24].

Fig. 1
figure 1

Arrhenius plot (log CR vs. 1/T) for MS corrosion in 0.5 M H2SO4 in the absence and presence of AE and SE

Table 4 Effect of temperature on the corrosion inhibition of MS in 0.5 M H2SO4 with AE and SE

Adsorption isotherm

Adsorption process is determined by using the surface coverage data which plays an important role in the construction of the adsorption isotherm and provides information about the nature of interaction between the metal surface and inhibitor. The free energy of adsorption (∆G ads) at different temperatures was calculated using the following equation.

$$ \varDelta {G}_{\mathrm{ads}}\kern0.5em =\kern0.5em \hbox{--} \kern0.5em \mathrm{RT}\kern0.5em \ln \kern0.5em \left(55.5\ \mathrm{K}\right) $$
(6)

where, K = θ/C inh (1–θ), θ is surface coverage, C inh is concentration of inhibitor and the constant value of 55.5 represents the concentration of water in solution. In general, a value of ∆G ads less negative than 20 kJ mol−1 signifies physisorption and a value more negative than about 40 kJ mol−1 indicates chemisorption [25]. Analysis of Table 4 shows that the values of ∆G ads are less negative than 20 kJ mol−1 indicating that the process of inhibition is through physisorption. Furthermore, the negative values of ∆G ads point out the stability of the adsorbed layer and the spontaneity of adsorption. Table 4 also indicates that for both SE and AE, ∆H ads values are negative and ∆S ads are positive. The negative value of ∆H ads and the positive value of ∆S ads indicate the feasibility of the reaction. Furthermore, the ∆G ads,H ads, and ∆S ads values indicate that the process of adsorption of both AE and SE are spontaneous and exothermic in nature. Among all the adsorption isotherms tested, Langmuir and Freundlich isotherms were found to fit well with the experimental data for AE and SE, respectively. The equations are stated as follows.

$$ C\kern0.5em /\kern0.5em \theta \kern0.5em =\kern0.5em 1\kern0.5em /\kern0.5em {K}_{\mathrm{ads}}\kern0.5em +\kern0.5em C $$
(7)

Langmuir isotherm

$$ \log \kern0.5em \theta \kern0.5em =\kern0.5em \log \kern0.5em {K}_{\mathrm{ads}\kern0.5em +\kern0.75em }n\kern0.5em \log \kern0.5em C $$
(8)

Freundlich isotherm

where K ads is adsorption equilibrium constant and is related to the free energy of adsorption. The Langmuir and Freundlich isotherms were obtained by plotting log (θ/1–θ) vs. log C and log θ vs. log C, respectively and are shown in Fig. 2a, b, respectively.

Fig. 2
figure 2

Langmuir and Freundlich adsorption isotherms for MS corrosion in 0.5 M H2SO4 in the presence of a AE and b SE at 30 °C

Colorimetric estimation

The results obtained from colorimetric estimation give the amount of iron in the inhibited and uninhibited solution which can be used to calculate % IE. The % IE values were calculated by applying the relation described in “Colorimetric estimation” and the results are given in Tables 1 and 3. Analysis of Table 1 reveals that with the increase in the concentration of inhibitor, the iron content of the solution decreases suggesting the decrease in CR which in turn indicates the increase in % IE. Moreover, the addition of halide salts improves the efficiency of the inhibitors. Careful analysis of Table 3 also shows that addition of halide ions brings about noticeable improvement in the performance of the inhibitor, at lower concentration of the inhibitors. However at higher concentration of the inhibitors, the increase in the % IE is minimal. The % IE values calculated from the colorimetric data are in good agreement with the data obtained from weight loss studies.

Electrochemical method

Impedance studies were carried out by varying the concentrations of inhibitor (SE and AE) and the added halide ions. The Randles equivalent circuit used for impedance studies is given in Fig. 3a, where R s is solution resistance, C dl is the double layer capacitance and R ct is the charge transfer resistance. The impedance data obtained from Nyquist plots are given in Tables 5, 6, and 7. The representative Nyquist and Bode’s plots for various concentrations of inhibitor SE and AE are given in Figs. 3 and 4, respectively. The values of R ct increased with increase in concentration of the inhibitors AE and SE as well as with the addition of halide additives. The impedance diagrams have an approximately semicircular appearance and the diameter of the semicircles varied upon increasing the concentration of inhibitor suggesting that the corrosion of MS is controlled by a charge transfer process. In general, the values of C dl decrease with the increase in the concentration of the organic compounds which undergo adsorption on metal surface. This is due to the increase in the thickness of the double layer. However, in the present study, it has been noticed that there is a general tendency for an increase in the C dl value with increase in the inhibitor concentration. This abnormal behaviour of the C dl component can be attributed to the phenomenon of specific adsorption of the compounds in the plant extract on the metal surface. According to this phenomenon of specific reactant adsorption noticed by Senda and Delahay [26], Delahay [27], Delahay [28], Baticle and Perdue [29], and Timmer et al. [30], if the species undergoing reaction on metal surface (depolarizers) involves itself in specific adsorption, the C dl values increase.

Fig. 3
figure 3

Nyquist plots for the corrosion of MS in 0.5 M H2SO4: a simple Randles circuit b with various concentrations of SE and c AE

Table 5 Electrochemical parameters for the corrosion of MS in 0.5 M H2SO4 with different concentrations of SE and AE
Table 6 Electrochemical parameters for the corrosion of MS in 0.5 M H2SO4 with lower concentration of the inhibitors and halide additives (1 % (v/v))
Table 7 Electrochemical parameters for the corrosion of MS in 0.5 M H2SO4 with optimum concentration of the inhibitors and halide additives (1 % v/v)
Fig. 4
figure 4

Bode’s plot for the corrosion of MS in 0.5 M H2SO4 without and with different concentrations of a SE and b AE

Figure 5a, b depicts the representative Tafel plots of the corrosion inhibition studies on MS with varying the concentration of the inhibitors of AE, SE, and added additives ions. The polarisation data obtained are given in Tables 5, 6, and 7. Results show that the additions of inhibitor and halide ions alter both b a and b c values suggesting that the inhibitor reduces both anodic dissolution and cathodic hydrogen evolution and thereby indicating the mixed nature of the inhibitor [31]. On increasing the concentration of inhibitors, the I corr values decrease which is due to the increase in the surface coverage by the inhibitor. Comparison of the results in Tables 5, 6, and 7 shows that the % IE calculated from I corr values of polarisation studies are less than that obtained from impedance studies. This is due to the fact that the real polarisation resistance or the charge transfer resistance is lower than polarisation resistance obtained from EIS method. This deviation is a result of the resistance of the diffuse layer [32]. Tables 1, 2, 3, 5, 6, and 7 clearly shows that the % IE values obtained from weight loss data are higher than that obtained from electrochemical data. This could be due to the fact that during the electrochemical process the adsorbed inhibitor molecule may undergo electrochemical redox reaction and get converted into new compounds which are not as efficient as that of the original inhibitor. It is also possible that the molecules of the original inhibitor and their conversion products may also present on the electrode surface when chemical changes occur [33]. Electrochemical studies were repeated to confirm this large deviation in the results noticed.

Fig. 5
figure 5

Tafel plots for the corrosion of MS in 0.5 M H2SO4: a with various concentrations of SE and b AE

To find out whether the nature of working electrode has any influence on the results, the experiments were carried out using the same working electrode with the extract of another inhibitor namely Albizia amara (Family: Fabaceae). To our surprise, A. amara inhibitor gave normal results, i.e. the % IE values obtained from electrochemical data were comparable with that the obtained gravimetric data. Similarly, when the experiments are carried with other working electrodes, i.e.(MS specimens of different composition) both AE and SE exhibited a similar trend suggesting that the decrease in efficiency noticed during electrochemical studies is not due to the nature of working material but due to the behaviour of the inhibitors AE and SE during electrochemical studies.

The review of literature predicts that the plant extract contains natural products with functional groups like NH2, OH, COOH, NH, etc. To confirm the chemical transformations which could have taken place during electrochemical studies, the inhibitor sample (before and after electrochemical studies) was extracted with CHCl3 and the CHCl3 layer so obtained was tested for functional groups. The solution before electrochemical studies gave brisk effervescence with sodium bicarbonate indicating the presence of carboxylic acid. However, when the CHCl3 extract obtained from the test solution after electrochemical studies was tested for carboxylic acid group, it has been found to be negative. Similarly, the test for aldehyde on the CHCl3 extracts before and after electrochemical studies clearly indicate the presence of aldehydic group in the extract after electrochemical studies while the CHCl3 extract obtained before electrochemical studies does not contain aldehydic group.

To authenticate the above results, the experimental solution after electrochemical study was treated with phenyl hydrazine hydrochloride and sodium acetate and the mixture was boiled for 15 min and cooled. A yellow colour precipitate was obtained conforming the formation of phenyl hydrazone (>C=N−) representing the presence of >C=O group. This was further confirmed by subjecting the precipitate thus obtained to FT-IR and UV–vis spectral analyses. The above results reasonably conclude that the % IE values obtained from electrochemical studies are lower due to the chemical transformation that occurs at the surface of the electrode.

Surface analysis

Comparison of the SEM images of uninhibited and inhibited surfaces in Fig. 6 clearly reveals that the surface of the MS is covered with inhibitor molecules of AE and SE. This is further confirmed by the FT-IR spectra of the extract of SE taken before and after electrochemical studies and are represented in Fig. 7a, b, respectively. The peak at 3,361 cm−1 in Fig. 7a is due to the O–H stretching of carboxylic acid. This disappears and a new peak is obtained at 2,978 cm−1 in Fig. 7b which is due to C–H stretching of aldehydic group. Besides, the peak at 1,641 cm−1(Fig. 7a) is due to C=O stretching of carboxylic acid and this is shifted to 1,753 cm−1 (Fig. 7b) which is due to the C=O stretching of aldehydic group. The formation of an aldehyde is further confirmed by the sharp peak at 1,639 cm−1 (Fig.7c) for >C=N− stretching in the FT-IR spectrum of the phenyl hydrazone obtained by the reaction of phenyl hydrazine with C=O group [34]. Furthermore, the band at 436 nm for the phenyl hydrazone on the visible region of the UV–vis spectrum (Fig. 8) is due to the π → π* transition of >C=N−, and this chromophore is responsible for the yellow colour. These results clearly indicate that during the electrochemical studies, the −COOH group after adsorption on the MS surface undergoes electrochemical transformation to aldehyde leading to the decrease in the inhibition efficiency of the inhibitor.

Fig. 6
figure 6

SEM images: a fresh MS, b MS in 0.5 M H2SO4, c MS in 0.5 M H2SO4 with SE, and d MS in 0.5 M H2SO4 with AE

Fig. 7
figure 7

FT-IR spectra of SE in 0.5 M H2SO4: a before electrochemical studies, b after electrochemical studies, and c SE after electrochemical studies with phenyl hydrazine hydrochloride

Fig. 8
figure 8

UV–vis spectrum of the SE after electrochemical studies with phenyl hydrazine hydrochloride

Conclusions

Inhibition efficiency increases with increase in the concentration of inhibitor and decreased with increasing the temperature. The additions of halide ions improve the performance of both AE and SE. The negative ∆G ads values predict that the inhibition processes are spontaneous. The values of ∆H ads and ∆S ads suggest that the process of adsorption of the inhibitors is through physisorption. The calculated values of E a are found to be higher for inhibited system than that for uninhibited system advocating the weak Van der Waals force of attraction/weak electrostatic force of attraction of the inhibitor molecules on metal surface. The adsorption of SE and AE on MS follow Freundlich and Langmuir isotherms respectively. AC impedance studies favour charge transfer mechanism and the potentiodynamic polarisation studies indicate the mixed nature of the inhibitor. Surface analysis techniques (SEM and FT-IR) also confirm the adsorption of inhibitor molecule on the metal surface. The results from weight loss method are in good agreement with the colorimetric method but deviate from that obtained from electrochemical studies.