1 Introduction

Aluminium (Al) has many industrial and structural applications because of its low-cost and good physical and chemical properties. Aluminium metal is used in various aggressive conditions, such as acid, salt and alkali solutions during several industrial bath operations. Different industrial processes often lead to severe corrosion of Al. The natural protective invisible layer on the Al surface is destroyed when it is exposed to acidic or alkali systems. These solutions increase the corrosion rate of metals due to the presence of corrosive ions. Large economic losses occurred during the process of picking of Al in industries. The corrosion process can be hindered by several techniques. The corrosion inhibitor is an accustomed technique for the prevention of metal corrosion under aggressive conditions. Corrosion inhibitors are mainly imperative in connection with the alkali cleaning or picking treatment as they applied to the surface of Al. Corrosion inhibitors are the customary chemical substance which, when added to the corrosive atmosphere dramatically blocks the cathodic and anodic reactions [1,2,3,4]. Alkali solutions of 40–60% sodium hydroxide (NaOH) by volume (containing \(\sim \)1% inhibitor) are employed at ambient temperature for the removal of dust and rust. NaOH is generally employed for degreasing purposes. The inhibitors containing oxygen, sulphur, nitrogen and phosphorous mainly retard the corrosion process [2, 5,6,7]. Inorganic, organic and polymeric compounds are traditional inhibitors, but these compounds as corrosion inhibitors are banned in industries because of their venomous, harmful and pricy nature to the environment and human beings. The corrosion inhibitors are selected on the basis of biodegradability, efficiency and economic feasibility. Synthetic compounds are very expensive, hazardous and toxic to nature and they need to be replaced by natural species. Therefore, it is motivated to search for ecological consciousness and safe corrosion inhibitors. Natural extracts are inexpensive, ecologically acceptable, eco-friendly and readily available. Due to toxicity and rarity of some compounds which employed as effective corrosion inhibitors, environmentally friendly compounds are interested. The utilization of different parts of natural species as corrosion inhibitors has been an attractive subject for many corrosion researchers. Nowadays, the exploration of green compounds as corrosion inhibitors is highly demanding due to enhanced use of green chemistry in the fields of science and technology. The natural extracts are model eco-friendly candidatures to replace toxic corrosion inhibitors. Lower cost, reduced-environmental risk, high-corrosion inhibition effectiveness and widespread availability make natural species as suitable compounds to replace the toxic and expensive corrosion inhibitors. Therefore, the study of non-toxic compounds as corrosion inhibitors is a consciousness practical approach to beat this hitch. The investigation of green compounds as cheap and non-toxic corrosion inhibitors is an obligatory pasture of study. The literature review shows that different parts of plant extract species (fruit, pulp, bark, stem, root and leaf) have been successfully used as sustainable corrosion inhibitors for different metals in various corrosive environments. The performance of natural extracts as corrosion inhibitors is generally imputed to the presence of organic compounds in their moiety. Polar functions such as N, S, P and O atoms, double and triple bonds in the organic species are the vital centres for the adsorption on the surface of metal. In the recent past, the organic compounds derived from the plant species have been effectively studied as robust corrosion inhibitors for many metals in various corrosive solutions. Hence, in the present investigation, we focussed on an eco-friendly and cheap inhibitor. The literature study reveals that usually plant compounds are cheap, eco-friendly and possessing a mixture of organic species [8,9,10,11]. Entering into the 21st century, a gigantic range of specific manuscripts about the natural extract as corrosion inhibitors of different electrodes (metals) in the NaOH system has been published. The corrosion inhibition performance of natural extract species is often attributed to the presence of alkaloids, tannins, polyphenols, proteins, amino acids and carbohydrates. The natural extracts possessing many organic species, each compound having a specific molecular structure. The important plant components are alkaloids, polyphenols, fatty acids, flavonoids and tannins, which effectively block the active metal sites [7, 12, 13]. In current investigation, corrosion inhibition behaviour of a sapota leaf extract has been investigated. The sapota leaf is aromatic and it has medicinal properties. Hence, in this study, we selected the sapota leaf to evaluate the feasibility of using a cheap, environmentally safe and naturally occurring extract. The sapota leaf extract contains alkaloids, glycosides, saponins, tannins, flavonoids, palmitic acid, oleic acid, linoleic acid, serine, glycine, myricetin-3-O-\(\alpha \)-l-rhamnoside, myricetin and apigenin-7-O\(\alpha \)-l-rhamnoside [14,15,16]. Due to the presence of electron rich elements in the main group components, the extract of the sapota leaf is considered to be a viable green corrosion inhibitor. The use of the extract of the sapota leaf (figure 1) is expected to reach simultaneously, environmental and indispensable economic goals. The inhibition property of the sapota leaf was confirmed by gasometric, atomic absorption spectroscopy (AAS), Tafel plot, alternating current (AC) impedance spectroscopy, scanning electron microscopy (SEM), and contact angle techniques. Characterization of the sapota leaf extract was carried out using X-ray diffraction (XRD), energy dispersive X-ray (EDX) and Fourier transform infrared (FT-IR) techniques. The sapota leaf extract can be used as a noble green corrosion inhibitor that can easily substitute the synthetic one.

Fig. 1
figure 1

Sapota leaf used in the present investigation.

2 Materials and methods

2.1 Materials and chemicals

A 1 \(\hbox {cm}^{2}\) of aluminium (Al-63400) with chemical composition of 0.1% Cu, 0.4–0.9% Mg, 0.6% Fe, 0.2% Zn, 0.2% Cr, 0.3–0.7% Si, 0.3% Mn, 0.2% Cr and 0.1% Tl and remainder Al was used in present investigation. Prior to performing the gasometric, AAS, Tafel plot, impedance spectroscopy, SEM, atomic force microscopy (AFM) and contact angle tests, Al is cleaned with tissue paper and different grades of sand paper. A 3 M NaOH solution was prepared as per the standard procedure.

2.2 Preparation of the green corrosion inhibitor

Dry sapota leaves are collected and washed with double distilled water. A total of 100 g of the powdered sample extracted with 400 ml of triple distilled water by using the Soxhlet apparatus with an operation time of 8 h. The inhibitor solution is purified and the filtrates were heated on the water bath in order to evaporate the moisture content, finally the dry compound is obtained. The concentration of 0.5, 1, 1.5 and 2.0 g \(\hbox {l}^{-1}\) was prepared and stored in the refrigerator.

2.3 Characterization of the sapota leaf extract

The functional group present in the sapota leaf extract was identified by FT-IR spectroscopy. The percentage of the element present in the sapota leaf was identified by EDX. The particle size of the sapota leaf extract can be analysed by using the XRD technique.

2.4 Gasometric studies

Compared to the gravimetric technique, the gasometric technique gives more accurate results. Hence, in the present investigation, we selected the gasometric technique. The design of the gasometric technique is shown in Supplementary information. A total of 100 ml of 3 M NaOH solution was placed in the two-necked flask. In the burette, the initial reading (volume of air) is recorded. The pre-weighed Al metal is weighed approximately and submerged in the 3 M NaOH solution and the flask is closed by using the stopper. The change in the volume of the gas due to the Al corrosion was monitored by the variation in the paraffin oil in the burette at a fixed time. The study was carried out at \(60^{\circ }\hbox {C}\) using the thermostat water bath. The test was repeated for three times in order to obtain the good reproducible results. The protection rate can be calculated from the below formula:

$$\begin{aligned} \hbox {Corrosion inhibition efficiency} = \frac{V_{\mathrm{a}} -V_{\mathrm{p}} }{V_{\mathrm{a}} }, \end{aligned}$$
(1)

where \(V_{\mathrm{a}}\) = amount of gas liberated in the unprotected system and \(V_{\mathrm{p}}\) = amount of gas liberated in the protected system.

2.5 AAS technique

AAS was employed in order to estimate the dissolved Al in 3 M NaOH solution with different amounts of the sapota leaf extract at a 5 h immersion period. The protection efficiency can be calculated from the equation below:

$$\begin{aligned} \hbox {Inhibition efficiency} = \frac{B-A}{B}\times 100, \end{aligned}$$
(2)

where B = amount of dissolved Al in 3 M NaOH solution without the inhibitor and A = amount of dissolved Al in 3 M NaOH solution with the inhibitor.

2.6 Electrochemical studies

Tafel plots and impedance studies are fundamentally em-ployed for determining the protection efficiency of the corrosion inhibitor. Tafel plots and Nyquist plots are measured by using the three electrode cell (Al = working electrode, Pt = saturated electrode and calomel = standard electrode). The electrochemical studies were performed at 1 mV \(\hbox {s}^{-1}\) from +250 to −250 mV. Nyquist plots obtained at an amplitude of 10 mV.

2.7 Surface studies

The effect of 3 M NaOH solution on the surface of Al degradation and the influence of the sapota leaf extract on the metal surface were evaluated by SEM, AFM and contact angle measurements.

3 Results and discussion

3.1 FT-IR spectroscopy studies

FT-IR bands identify the structure and components of the organic species. The results of FT-IR spectroscopy of the sapota leave extract is shown in figure 2 and table 1. This figure and table shows the presence of functional groups in the sapota leaf extract. The functional groups are the electron-rich centre, which is expected to be adsorbed on the Al surface in 3 M NaOH solution and creates a protective thick film on the Al surface, which act as a barrier for the Al dissolution process.

Fig. 2
figure 2

FT-IR spectroscopy of the sapota leaf extract.

Table 1 FT-IR results.

3.2 EDX studies

EDX was used to determine the elemental composition of the sapota leaf extract. The results of EDX are shown in figure 3 and table 2. The mass composition of oxygen in weight percentage is 40.80% and in atomic percentage is 34.24%. In addition to this the sapota leaf extract also contains S atoms. Review of the literature reveals that the compound containing S and O atoms in their moieties are expected to show good corrosion inhibition properties on the electrode surface. This confirms that the sapota leaf extract contains electron rich elements in a high percentage which is expected to be responsible for the formation of the protective film on the Al surface in 3 M NaOH solution.

Fig. 3
figure 3

EDX spectra of the sapota leaf extract.

Table 2 Quantitative results of EDX.

3.3 XRD technique

The XRD technique is used to find the crystal or amorphous nature of the sapota leaf extract. The XRD pattern of the sapota leaf extract is shown in figure 4. The particle size of the sapota leaf extract is shown in table 3.

Fig. 4
figure 4

XRD pattern of the sapota leaf extract.

Table 3 XRD results of the sapota leaf extract.
Table 4 Gasometric results.

3.4 Gasometric studies

The gasometrical technique is one of the broadly used methods for Al corrosion inhibition evaluation. This method estimates the quality of the green inhibitor and quantifies the maximum amount at which the green inhibitor is active under the existed conditions. The loss in the weight of Al in the unstirred 3 M NaOH solution for different immersion times was measured without and with the sapota leaf extract of different concentrations. The results of gasometric studies are shown in table 4. It is observed that the Al corrosion rate (volume of gas) decreased with a rise in the amount of sapota leaf extract. This nature is due to the adsorption of sapota leaf extract species on the Al surface in a 3 M NaOH environment. It was also observed that the protection efficiency was enhanced with the increase in the amount of sapota leaf extract and a stable protective layer was formed on the Al–3 M NaOH solution interface. These phenomena show that the sapota leaf extract greatly suppresses the Al dissolution by controlling the volume of gas evolution in the corrosive system. A decrease in the Al corrosion rate with an increase in the amount of sapota leaf extract indicates that the inhibition process takes place on the surface of Al and an extent of Al corrosion inhibition is mainly dependent on the amount of the sapota leaf extract. At lower sapota leaf extract concentrations, the formed film may be a soluble complex, which leads to lower protection efficiency values. At higher sapota leaf extract concentrations, the film formed is an insoluble complex leading to higher protection values due to enhanced coverage. The sapota leaf extract contains \(\pi \)-electrons and oxygen atoms in their moieties which are good adsorption centres. These adsorption centres retard the penetration of corrosive ions, which is believed to awfully cause metal dissolution. An increase in the adsorption of the sapota leaf extract species on Al metal surfaces effectively separates the metals from corrosive ions. An increase in the contact time from 5 to 25 h has a negative effect on the protection efficiency, which is due to an unstable protective layer on the Al surface in 3 M NaOH solution. Due to unavailability of the insoluble film on the metal surface, more \(\hbox {OH}^{-}\) ions attack on the aluminium surface which generally accelerates the corrosion processes and enhances the dissolution rate of the substrate. At a higher immersion period, desorption dominates the adsorption process. Therefore, protection efficiency reduces at a higher immersion time.

3.5 AAS

The corrosion of Al in 3 M NaOH solution containing four different amounts of the sapota leaf extract was studied by an AAS. The AAS results are shown in table 5. The results of AAS show that the amount of dissolved Al in 3 M NaOH solution decreases with a rise in the amounts of the sapota leaf extract. This shows that the sapota leaf extract acts as a green corrosion inhibitor by reducing the attack of 3 M NaOH solution on the Al surface. An increase in the protection efficiency with a rise in the sapota leaf extract is due to physical or chemical interaction between the Al surface and green corrosion inhibitor (sapota leaf extract).

Table 5 AAS results.

3.6 Tafel plot studies

The Tafel plot is a significant research tool for the analysis of different electrochemical phenomena. The Tafel plot technique was used in order to understand the kinetics of Al reactions. Aluminium corrosion behaviour in sodium hydroxide solution without and with different concentrations of sapota leaves are examined by Tafel plot measurement.

The polarization resistance (\(R_{\mathrm{p}})\) can be determined by the following equation:

$$\begin{aligned} R_{\mathrm{p}} \quad =\frac{\beta _{\mathrm{a}} \times \beta _{\mathrm{c}} }{2.303\times \left[ {\beta _{\mathrm{a}} +\beta _{\mathrm{c}} } \right] \times i_{\mathrm {corr}} }, \end{aligned}$$

where \(\beta _{\mathrm{a}} =\) anodic Tafel slope, \(\beta _{\mathrm{c}} =\) cathodic Tafel slope and \(i_{\mathrm{corr}} =\) corrosion current density.

The Al corrosion rate can be calculated from the below relation:

$$\begin{aligned} \hbox {Al corrosion rate} =\frac{0.13\times i_{\mathrm {corr}} \times E\cdot W}{nd}, \end{aligned}$$

where \(i_{\mathrm{corr}} =\) corrosion current density (\(\upmu \)A), \(E\cdot W =\) Al equivalent weight (g), \(d =\) Al density (g \(\hbox {cm}^{-3})\), \(n =\) number of electrons and 0.13 = metric and time conversion factor.

The percentage rate in percentage was determined from the below relation:

$$\begin{aligned} \hbox {Protection efficiency}=\left[ {1-\frac{i_{\mathrm {corr}}^{'}}{i_{\mathrm {corr}} }} \right] \times 100, \end{aligned}$$

where \(i_{\mathrm{corr}}^{'}\) = protected Al corrosion current density and \(i_{\mathrm{corr}}\) = unprotected Al corrosion current density.

Figure 5 shows the Tafel curves for Al in 3 M NaOH solution without and with the sapota leaf extract. The results of Tafel plots are presented in table 6. Addition of the sapota leaf extract to the 3 M NaOH solution reduces both the Al corrosion rate and corrosion current values, which implies that corrosion reactions were hindered on the Al surface by the components of the sapota leaf extract. This nature was due to the protection ability of the surface film formed by the sapota leaf species on the metal surface, which prevents the attack of corrosive ions on electrode surfaces. The adsorption of the sapota leaf extract species usually takes place in the substrate (metal) active sites and hinders the reactivity of the substrate in the dissolution process. This indicates the high protection to Al in 3 M NaOH solution. This can be further confirmed by the increase in the protection efficiency and polarization resistance values with an increase in the apota leaf extract concentrations. The Tafel plot study was carried out in order to get the kinetics information of cathodic and anodic reactions of the Al corrosion process. If the change in the corrosion potential (\(E_{\mathrm{corr}})\) with a natural inhibitor is more than 85 mV, then the inhibitor was classified as anodic or cathodic corrosion inhibitor. Further, if the \(E_{\mathrm{corr}}\) value is less than 85 mV, then the inhibitor falls under the category of mixed type [17]. In current investigation, there is no significant change in the \(E_{\mathrm{corr}}\); cathodic and anodic Tafel slope values clearly hint the mixed corrosion inhibition property of the sapota leaf extract, simultaneously reducing the metal dissolution (anodic contribution) and hydrogen evolution (cathodic contribution) to the aluminium corrosion process. This clearly shows that the studied sapota leaf extract does not only interface the hydrogen evolution, but also interface the dissolution of aluminium metal.

Table 6 Tafel plot results.
Fig. 5
figure 5

Tafel plots without and four different amounts of the sapota leaf extract.

3.7 Impedance spectroscopy

Nyquist plots for Al in an alkali environment without and with different amounts of the sapota leaf extract is shown in figure 6.

Fig. 6
figure 6

Nyquist plots without and with four different amounts of the sapota leaf extract.

Fig. 7
figure 7

An electrical circuit of model R(QR(QR)).

Table 7 Nyquist plot results.

ZSimpwin 3.20 software was used for the analysis of Nyquist plots. The electrical circuit used in the present study is shown in figure 7. The parameters such as double layer capacitance (\(C_{\mathrm{dl}})\), constant phase element (Q), CPE exponent (n) and Chi-squared value (\(\chi ^{2})\) are presented in table 7.

The protection rate can be determined by using following relation:

$$\begin{aligned} \hbox {Protection efficiency in}\, \% =\frac{R_{\mathrm {ct}\left( {\mathrm{inh}} \right) } -R_{\mathrm {ct}} }{R_{\mathrm {ct}\left( {\mathrm{inh}} \right) } }\times 100, \end{aligned}$$

where \(R_{\mathrm{ct}} =\) Al charge transfer resistance value in the unprotected system and \(R_{\mathrm{ct(inh)}} =\) Al charge transfer resistance value in the protected systems.

The size of the depressed semicircle enhanced with an increase in the sapota leaf concentration, indicated that the sapota leaf extract inhibits the corrosion process primarily by decreasing the conductivity in the solution via the adsorption mechanism with concentration dependent mode. Hence, both \(C_{\mathrm{dl}}\) and Q values decrease with a rise in the green inhibitor concentration. Sapota leaf extract molecules decrease the metal surface area available for the corrosion reaction [4, 18,19,20]. An increase in the protection efficiency values with an increase in the concentration of the sapota leaf extract may be attributed to the enhancement in the thickness of the protective layer. The corrosion inhibition role of the sapota leaf extract on the metal surfaces in alkali media takes place by a charge transfer process which is confirmed by observing the n values in the present investigation. The quality of fit was analysed by \(\chi ^{2}\) values. The obtained Chi-squared (\(\chi ^{2})\) values (0.000018–0.011060) show that impedance results are fitted well with the R(QR(QR)) circuit.

Fig. 8
figure 8

SEM images of Al in 3 M NaOH solution without and with the inhibitor.

Fig. 9
figure 9

SEM images of (a) sapota leaf extract, (b) sapota leaf extract in 3 M NaOH solution and (c) sapota leaf extract on the Al surface in 3 M NaOH solution.

Fig. 10
figure 10

AFM images of Al in 3 M NaOH solution without and with the inhibitor.

3.8 SEM technique

The SEM technique was used in order to compare the surface damage in the uninhibited and inhibited system. It will provide the information about the role of the protective film on the metal surface in the inhibited system. In the present study, the SEM micrograph of the surface of aluminium was recorded to observe the changes on the morphology of the metal surface during the corrosion process without and with the sapota leaf extract. The SEM images of Al in 3 M NaOH solution without and with the sapota leaf extract species are shown in figure 8. From this, it is clear that the tested Al is highly damaged in inhibited free solution with a large number of scratches due to a direct attack of 3 M NaOH solution on the electrode surface, whereas in the inhibited system, the plant extract species blocks the spurt on the Al surface. Hence, the surface become smooth and free from corrosion due to the adsorption of the sapota leaf extract species on the Al surface, which effectively decreases the interaction between the aluminium and alkali solution resulting in the high protection rate to the electrode surface. Thus, morphological examination by the SEM technique also corroborates the effectual protection of Al through minimum pits and less damaged in the protected surface. The effectiveness of the sapota leaf extract as a potential corrosion inhibitor may be due to the presence of \(\pi \)-electrons and lone pair of electrons of oxygen and electron rich atoms. Further, the SEM morphologies of the sapota leaf extract, sapota leaf extract in 3 M NaOH (in solid form) and scratched powder on Al are shown in figure 9. The variation in the SEM morphology claimed that the sapota leaf extract can inhibit aluminium in alkali media by the adsorption mechanism.

3.9 AFM technique

The surface morphology of Al in 3 M NaOH was also examined by the AFM technique. The topography of Al in 3 M NaOH solution without and with the sapota leaf extract is shown in figure 10. The results of AFM test are in good agreement with the SEM studies.

3.10 Contact angle measurement

Table 8 Contact angle results.
Fig. 11
figure 11

Contact angle test results of Al dipped in 3 M NaOH solution without and with 2 g \(\hbox {l}^{-1}\) of sapota leaf extract (a) blank—73.5\({^{\circ }}\) and (b) 2 g \(\hbox {l}^{-1}\) of sapota leaf extract—87.5\({^{\circ }}\).

Fig. 12
figure 12

Protection efficiency of the sapota leaf extract obtained from different techniques.

The water contact angle was used to examine the hydrophobicity of the invisible protective layer on the metal surface. The surface chemistry of Al submerged in 3 M NaOH solution without and with the sapota leaf extract was studied by the contact angle test. The results of the contact angle test are shown in table 8 and figure 11. Table 8 and figure 11 show that enhancement in the contact angle from bare solution to inhibited solution is an indication of a reduction in surface hydrophilicity. The adsorption of the sapota leaf extract on Al in 3 M NaOH solution is responsible for the enhancement in the contact angle. The increase in the contact angle indicates that the sapota leaf extract successfully adsorb on Al in 3 M NaOH solution and inhibit the dissolution process. The protective layer renders the surface of hydrophobic aluminium and so blocks the corrosion process. The results of the contact angle are shown in supporting information.

3.11 Comparison

A total of 95% is the maximum protection efficiency of the sapota leaf extract on the Al surface in the 3 M NaOH solution observed through Nyquist plot studies. James et al [21] reported that 97% is the maximum protection efficiency at \(30^{\circ }\hbox {C}\) for two hours immersion time with 52% V/V of Gossypium leaf extracts through a weight loss technique. The protection efficiency obtained from the current study is different from the literature value. The different techniques, conditions, temperatures and times may be the main reason for the observed deviation in the corrosion inhibition efficiency values. Further, the weight loss technique reports the average values, whereas impedance studies give instantaneous values. The chemical composition of Gossypium leaf extracts is different from the sapota leaf extract; this is also the main reason for the observed deviation in the corrosion protection efficiency values. The protection efficiency of the sapota leaf extract by different techniques on the Al surface in 3 M NaOH solution was shown in figure 12.

4 Conclusions

The gasometric results show the potential corrosion inhibition property of the sapota leaf extract on aluminium in alkali media. The protection efficiency is directly proportional to the amount of the sapota leaf extract and inversely proportional to the substrate (metal) immersion time. The maximum protection efficiency was achieved at 2 g \(\hbox {l}^{-1}\) of the sapota leaf extract with an immersion time of 5 h. The presence of electron rich elements in the sapota leaf extract was confirmed by FT-IR and EDX results. The crystal nature of the sapota leaf extract can be confirmed by XRD. The AAS results show that sapota leaf extract species adsorbed on aluminium in alkali solution decreases the solubility of Al in the 3 M NaOH solution. Tafel curves indicated that the sapota leaf extract species adsorb on the both anodic and cathodic areas of aluminium in alkali media and blocks the corrosion process by mixed mode (means that the sapota leaf extract species act as a mixed corrosion inhibitor for aluminium in alkali media). Further, AC impedance spectroscopy, SEM and AFM interpretation of the aluminium surface showed the protective role of sapota leaves on the substrate surface in alkali media. The reduction in the surface hydrophilicity observed in the contact angle test indicates the adsorption of the sapota leaf extract on the active sites of Al in a 3 M NaOH environment. From these, it can be concluded that species of the sapota leaf extract can be employed as a potential corrosion inhibitor for aluminium in alkali media.