1 Introduction

Corrosion is defined as a process by which materials are degraded/deteriorated due to the reaction with its environment. Mild steel stands as a backbone for a broad spectrum of industries, machineries, automotives, etc. To date, corrosion inhibition in steel has trigged significant academic and industrial concern. Corrosion inhibitors are substances that are added in small quantities to corrosive media to retard the corrosion rate. The surface interaction and the protection layer formation depend on the structure and concentration of inhibitors [1, 2], microstructure of metal surface, temperature of exposure, pH of the reaction medium and the extent of immersion time [36].

Suitable inhibitors can protect materials from corrosion, especially in acid medium. Acid media are widely used in various industrial processes such as acid pickling of steel and iron, oil well acidification, chemical cleaning and processing. HCl is more cost effective, trouble free and efficient when compared to other mineral acids. The inhibitive efficiency of a material to a greater extent depends on its molecular structure. Most efficient and well-known acidic inhibitors are organic compounds containing heteroatoms like O, N and S and π-donor systems. The inhibition action occurs by forming a donor–acceptor surface complex between the free or π-electrons of the inhibitors and vacant d orbital of metal atoms.

Organic inhibitors are very effective against corrosion; their hazardous effect detracts its wide usage. Unfortunately, most of the organic inhibitors are expensive, poisonous and environmentally non-benign. This has paved the need to develop cheap, non-toxic and environmentally benign inhibitors from natural sources. Green corrosion inhibitors are safe and degradable; moreover, they do not contain heavy metals or other hazardous compounds [710].

Several reports exist on the use of various plant extracts as green corrosion inhibitors. Reports are available that natural honey [1114] and animal proteins can also serve as green inhibitors. Plant extract and animal protein can serve as a bank of natural products that are environmentally safe, cost effective, easily available and renewable. In the present work, we have demonstrated the corrosion inhibition efficiency of pyoverdines’ novel strain of siderophore-producing bacterium, i.e. Pseudomonas aeruginosa BUP2 (Pa BUP2) from the rumen of animal extract. Pyoverdines are a group of fluorescent siderophores having high affinity for iron. No reports are available in literature for the utilization of pyoverdine as corrosion inhibitor for mild steel [15]. Pyoverdines are peptide-derived primary siderophores, composed of three structural parts: an invariant dihydroxy quinoline chromophore conferring colour and fluorescence, an acyl moiety and a peptide side chain comprising 6–12 amino acids, some of them being unusual. Pyoverdines have three iron (III) binding sites; the peptide chain lodges two of these iron binding sites, and the catecholate group of the chromophore harbours the third one. The peptide moiety principally involved in receptor recognition, whose size and amino acid compositions are unique to each species. The structure of pyoverdine shows great variability among the species, and even between strains of the same species. Pyoverdines not only are iron chelators but act also as signalling molecules for virulence prevent iron toxicity due its overload and effectively scavenge hydroxyl and peroxyl radicals. Pyoverdine is a fluorescent molecule having colour imparting chromospheres, an acyl moiety and a variable peptide chain in the molecular structure. Pyoverdines have many advantages and can act as potential ligand in fluorescent quenching processes to demonstrate that the binding of Fe or Cu coordinately with the fluorescent material through heteroatoms. Pyoverdines have an outstanding ability to assimilate Fe(III) from its environment and take part in the iron mobilization in humans and in the treatment of iron diseases [16].

The present investigation is an attempt to explore the corrosion inhibition action of pyoverdine on mild steel in 0.5 M HCl at three temperature regions (303, 308 and 313 K) by weight loss method, Tafel polarization and electrochemical impedance spectroscopy. The mechanism of inhibition was ascertained by scanning electron microscopy, adsorption studies and atomic force microscopy.

2 Experimental

2.1 Materials and Methods

The mild steel coupons of the following composition (wt%)—C (0.20 %), Mn (1 %), P (0.03 %), S (0.02 %) and Fe (98.75 %)—was employed in the study. The coupons of dimensions 2.8 × 1.9 cm2 were cut and used as the samples or working electrodes. But only 1 cm2 area was exposed during every measurement. Before the measurement, each coupon was abraded using different-grade emery papers (600–1200 grade) and then subjected to ensure mirror bright finish by the action of buffing machine attached with a cotton wheel and a fibber wheel having buffing soap. Then the coupons were degreased with acetone and washed with distilled water.

The experimental medium was prepared from reagent grade HCl (E. Merck) and doubly distilled water. All the experiments were performed in aerated medium at different temperatures (303, 308 and 313 K).

2.2 Extraction of Inhibitor

Pyoverdine separated from animal extract was used as the inhibitor for the study. The Rumen contents were collected aseptically from slaughter house in screw-capped tubes and extracted [17]. For the isolation of pyoverdine, 10 g of collected Rumen content was taken, and 10 ml sterile double distilled water was added and centrifuged at 800×g for 277 K at 5 min. The supernatant liquid obtained as above was serially diluted (up to 10−6) with pre-sterilized double distilled water [18, 19]. This diluted sample was spread aseptically on nutrient agar medium (pH 7.2) in Petri dishes at 310 K for 48 h. The isolated colonies so obtained were examined for the presence of Pseudomonas sp. The purity was confirmed by sub-culturing. The reported structure of pyoverdine [20] was reproduced using Chem Bio Draw Ultra 12.0, which is shown in Fig. 1

Fig. 1
figure 1

The structure of the inhibitor pyoverdine

2.3 Characterization of Pyoverdine

Spectroscopic techniques such as FTIR and Electronic spectroscopic measurements were used to characterize PVD and its chelating ability on mild steel surface under 0.5 M HCl solutions. JASCO FTIR 400–4000 spectrophotometer and JASCO –UV-VIS550 spectrophotometer were used for absorption spectroscopic studies.

2.4 Gravimetric Measurements

The inhibition efficiency of the inhibitor was determined using classical gravimetric weight loss technique at room temperature. The mild steel coupons cleaned as per ASTM standard were accurately weighed and immersed in the test solution with and without inhibitor for different time intervals. The specimens were taken out carefully, cleaned, dried and weighed. From the weight loss of the inhibited and uninhibited solutions, the corrosion rate and hence the inhibition efficiency can be calculated.

2.5 Electrochemical Measurements

The electrochemical impedance (EIS) and potentiodynamic polarization studies were carried out using Gill AC instruments (ACM, UK model no. 1745), and the data were analysed by fitting the impedance and polarization data with commercially available Gill ACM software. The instrument consists of a three electrode corrosion cell with platinum foil used as the auxiliary electrode and saturated calomel electrode as the reference electrode. The working electrode was the square (for 303 K) and circular (for 308 and 313 K) coupons of mild steel. The EIS measurements were carried out in a frequency range of 0.1–10,000 Hz with amplitude of 10 mV. The polarization measurements were recorded with a scan rate of 1 mV/s in the potential range from −250 to +250 mV. The mild steel coupons were immersed into the test solution for 60 min to establish a steady-state open circuit potential Eocp.

2.6 Adsorption Studies

Inhibitive ability of a compound to a greater extent depends on its adsorption on metal surface. Various adsorption isotherms like Langmuir, Temkin, Frumkin and Freundlich were tested. Langmuir and Temkin were found to give a more linear fit. The values of regression coefficients (R2) confirmed the validity of the approach.

2.7 Surface Characterization (SEM)

The surface characterization of metal specimen was carried out by scanning electron microscopy (Digital microscope imaging scanning electron microscope model SU6600, Serial No.HI-2102-0003) in the presence and absence of inhibitor. All micrographs were recorded at ×500 magnification. The metal specimens were immersed in acid solution containing optimum concentration of inhibitor for 5 h, and then they were removed, rinsed with acetone and dried and used for measurements.

2.8 Atomic Force Microscopy (AFM)

Atomic force microscopy provides topographical image of mild steel sample. It is highly accurate and dependable method for the surface study. The polished mild steel samples were collected and immersed in two beakers containing 0.5 M HCl solution and optimum concentration of inhibitor and was kept for 5 h. The roughness of sample without and with inhibitor was measured.

3 Results and Discussion

3.1 IR Spectra

A deep insight into the possibility of complex formation between the inhibitor and the metal was analysed by the FTIR spectroscopic measurements. Pyoverdine can form a strong coordination complex with mild steel surface through its bonding with Fe3+/Fe2+ ions. The characteristic absorption bands and their assignments to specific molecular groups are presented in Table 1. The formation of a bidentate coordination complex on the metal surface supported the study of relative intensities of functional groups. The O–H group on the catechol-like group of 2,3-diamino-6,7-dihydroxyquinoline-type chromospheres changes to 3424 cm−1 indicating that

Table 1 Assignments for the IR absorption band to the corresponding molecular groups recorded during pyoverdine and pyoverdine coating on mild steel in 0.5 M HCl on 303 K

O–H is a part of coordination to the Fe surface. The C=O stretching band at 1638 cm−1 indicates the involvement of such groups in complex formation. The nicotinic hydroxamate group in the molecule also has taken part in bonding. In addition, amide group of peptide also changes to recognize with the peak at 1401 cm−1. C–O stretching vibrations of catecholate-like ligands appeared as a strong band at 1114 cm−1, and it is coordinatively bound to metal ions to form Fe-pyoverdine (ferripyoverdine) [15, 21]. The band at 617 cm−1 corresponding to Fe–O stretching reveals the presence of Fe–O coordinate bond. The band at 3235 and 1401 cm−1 shows the major contributions of N–H stretching and bending vibrations of amides on the peptide chain bonded to Fe. Due to the formation of strong coordination complex, the corrosion of mild steel surface from the HCl solution can be effectively prevented even at low concentrations of pyoverdine such as 2, 4, 6, 8 and 10 ppm. Figure 2 exhibits the experimental FTIR spectrum of pyoverdine and pyoverdine-coated mild steel film. The chelating ability of Fe3+/Fe2+ with PVD is evident from the weakening of the stretching frequencies of pyoverdine-coated film.

Fig. 2
figure 2

FTIR Spectra of pyoverdine and film obtained from the surface of mild steel in 0.5 M HCl solution in the presence of pyoverdine

3.2 Electronic Spectra

The UV–Visible spectral studies were used to analyse the shift in the value of λ max (absorbance maximum) when the medium of dispersion changes from aqueous to acidic. The UV–Visible absorption of simulated pyoverdine in 0.5 M HCl solution is shown in Fig. 3. The major absorption peaks of these are centred towards the wavelengths of 410, 450, 680 and 848 nm, respectively. The solvent polarity and the pH affect the absorption spectrum, and red-shift occurred due to high pH in the corrosive medium.

Fig. 3
figure 3

The emission spectra of pyoverdine in 0.5 M HCl solution

3.3 Weight Loss Measurements

Weight loss method is the accurate and easiest way to determine the rate of corrosion and percentage inhibition efficiency. Various concentrations of pyoverdine (2, 4, 6, 8 and 10 ppm) were collected and dissolved in 0.5 M HCl. The mild steel samples were immersed in inhibited solution and allowed to react for 24, 48, 72 and 96 h. The sample was taken out from the solution and washed with double distilled water and then acetone dried in an air oven. The weight loss of every sample was measured at each time interval and recorded the difference. A blank determination was also conducted for the comparison of inhibition efficiency of pyoverdine. The corrosion inhibition efficiency was calculated from the equation

$${\text{IE }}\% = \frac{{ W_{0} - W}}{{W_{0} }} \times 100,$$
(1)

where W 0 and W represent the weight loss of mild steel in the absence and presence of pyoverdine. Weight loss of mild steel coupons in the presence of various concentrations of pyoverdine (2, 4, 6, 8 and 10 ppm) after immersion in 0.5 M HCl is measured, and the results are presented as bar diagram in Fig. 4 (variation in IE  % with inhibitor concentration at different exposure periods are shown in Fig. 4).

Fig. 4
figure 4

Weight loss of mild steel coupons in the presence of various concentrations of pyoverdine (2, 4, 6, 8 and 10 ppm) after immersion in 0.5 M HCl

3.4 Electrochemical Impedance Spectroscopy (EIS)

EIS is a highly dependable tool to elucidate the mechanism occurring at the mild steel/electrolyte interface. This electrochemical technique is based on the examination of the impedance of double layer formed at the interface of mild steel/electrolyte [22, 23]. The interface acts as a capacitor constituting the mild steel surface as one electrode and the ions in the electrolyte as the other. Outer Helmholtz plane is the closest approach of the centres of these ions and adsorbed ions constitutes the inner Helmholtz plane. The ions are arranged in a diffuse layer outside the inner Helmholtz plane, and these function as a capacitor in series with the Helmholtz layer [24, 25].

Normally accepted circuit for metal/electrolyte interface is Randles circuit (Fig. 5). The impedance behaviour can be compared to a parallel combination of a capacitor C dl and a resistor R t and both in series combination with another resistor R s. Charge transfer resistance can be considered the difference in the real impedance at higher and lower frequencies.

Fig. 5
figure 5

Randles circuit

The impedance measurement is carried out in 0.5 M HCl after 1 hour of immersion. The Nyquist plots of mild steel in HCl in the presence of 10 ppm pyoverdine at 303, 308 and 313 K are shown in Fig. 6. The impedance spectra reveal the presence of a large capacitive loop throughout the studied frequency range. Addition of inhibitor drastically changes the impedance spectra. The impedance of the inhibitor system increases with the inhibitor concentration, and maximum impedance is obtained for 10 ppm of pyoverdine.

Fig. 6
figure 6

Nyquist plots for mild steel corrosion in 0.5 M HCl in the presence of 10 ppm pyoverdine at 303, 308 and 313 K

A perfect semi-circle is not observed in the Nyquist plot, as expected from the AC impedance theory. Depressed or suppressed semi-circles are seen. This behaviour can be explained as follows: The electronic equivalent circuit models are fabricated so as to fit the equivalent circuit setup and give a perfect Nyquist plot in real condensers of dummy cells; the charge distribution is controlled by the electrons. The dummy cells comprise two metallic plates. Meanwhile, in a corrosion system, a double layer is formed, and this double layer at the metal/electrolyte interface does not act as a perfect condenser. For the corrosion system, the charge distribution is controlled by ions. Ions being larger than electron occupy large volume of the double layer [26].

The double-layer capacitance values can be obtained from the Nyquist plot using the equation

$$C_{\text{dl}} = \frac{1}{{2\pi f_{ \hbox{max} } R_{\text{ct}} }},$$
(2)

where f max is the frequency at which the imaginary component is maximum on the Nyquist plot. The variation of C dl with the concentrations of pyoverdine is presented in Table 2. It is clear from the table that the value of C dl in the presence of various concentrations of pyoverdines is less than that of blank solution. This suggests the possibility of strong adsorption of pyoverdine on the interface. Moreover, there is a decrease in C dl values with the increase in temperature of the reaction medium. Therefore, the displacement of water molecule by the adsorption of pyoverdine was greatly understood. This trend can be attributed to the decrease in local dielectric constant or increases in the thickness of electrical double layer. Moreover, from Fig. 6, it is clear that the diameter of the capacitive loop of 10 ppm pyoverdine at 303 K is greater than that at 308 and 313 K, respectively. This suggests that the impedance of pyoverdine and temperature are inversely related.

Table 2 Electrochemical impedance data for mild steel corrosion in 0.5 M HCl in the presence and absence of pyoverdine at 303, 308, 313 K

The electrochemical parameters such as R ct, C dl, I corr, corrosion rate and IE % for mild steel obtained from the EIS measurements are summarized in Table 2. Fig. 7 demonstrates the Bode plots obtained for mild steel samples in 10 ppm inhibitor solution at 303, 308 and 313 K, respectively.

Fig. 7
figure 7

Bode plots for mild steel corrosion in 0.5 M HCl in the presence of 10 ppm pyoverdine at 303, 308 and 313 K

The constant phase element (CPE) corresponding to the double-layer interface between mild steel and solution. CPE can be employed to visualize the suppression phenomenon which can be related to the inhomogeneity of surface, frequency dispersion and adsorbed layers. Table 2 clearly reveals that the value of R ct varies linearly with the concentration of inhibitor. This trend affirms the formation of pyoverdine layer on the surface. It also implies that charge transfer process is impeded from time when the uncovered surface available for corrosion is receding due to the adsorption of molecules at the mild steel/solution interface [27]. It is to be noted that the R ct values indicate the bonding interaction between the surface of the mild steel and the inhibitor molecule.

The inhibition efficiency can be calculated from EIS, using the equation

$${\text{IE }}\left( \% \right) =\, \frac{{R_{\text{ct}}^{ *} - R_{\text{ct}} }}{{R_{\text{ct}}^{ *} }} \times 100,$$
(3)

where \(R_{\text{ct}}^{*}\) and R ct are the charge transfer resistance in the presence and absence of pyoverdine in corrosive medium. \(R_{\text{ct}}^{*}\) is inversely related to the corrosion rate. The plots for the comparison of charge transfer resistance and concentration of pyoverdine on various temperatures are shown in Fig. 8. From Fig. 8, it is clear that when the concentration of pyoverdine increases from 2 ppm to 10 ppm, the inhibition efficiency also increases. The maximum inhibition efficiency of 97.55 % for 10 ppm is observed at 303 K. But it was reduced to 73 % on increasing the temperature to 308 K and 68 % on further increasing the temperature to 313 K. So the chelating ability of pyoverdine with Fe2+/Fe3+ diminishes slowly with rise in temperature, and hence, the protection efficiency of mild steel decreases. This result strongly suggests that pyoverdines are a good corrosion inhibitor for mild steel at 303 K.

Fig. 8
figure 8

Comparison of charge transfer resistance and concentration of PVD on various temperatures

3.5 Tafel Polarization

The Tafel polarization curves for mild steel in 0.5 M HCl solution at 303, 308 and 313 K in the presence and absence of pyoverdine were recorded. Among these, the Tafel plots for 10 ppm pyoverdine corresponding to the above temperature regions are shown in Fig. 9. The electrochemical parameters such as corrosion potential (E corr), I corr and cathodic and anodic Tafel slopes (β a, β c) and corrosion rate (CR in mm/year) are presented in Table 3.

Fig. 9
figure 9

Tafel plots for mild steel corrosion in 0.5 M HCl in the presence of 10 ppm pyoverdine at 303, 308 and 313 K

Table 3 Polarization data for mild steel corrosion in 0.5 M HCl in the presence and absence of pyoverdine at 303, 308 and 313 K

The percentage inhibition efficiency (IE  %) was calculated from the equation

$${\text{IE }}\left( \% \right) = \,\frac{{I_{\text{corr}}^{ *} - I_{\text{corr}} }}{{I_{\text{corr}}^{ *} }} \times 100,$$
(4)

where \(I_{\text{corr}}^{*}\) and I corr represent the corrosion current densities of the inhibited and uninhibited steel surface.

When the concentration of pyoverdine increases, there was a noticeable decrease in the corrosion rate. There is the shifting of Tafel polarization lines to the lower value and prevention of the cathodic and anodic reaction on mild steel electrode. These points are clearly understood by examining Table 3. IE % increases, and corrosion current density decreases with the increase in concentration of pyoverdine.

Usually in acidic solution, dissolution of metal from the electrode material is the anodic reaction and discharge of H+ ions to H2 gas or reduced O2 is the cathodic reaction. Pyoverdine affects both cathodic and anodic reactions of mild steel, and this trend increases with the increase in concentration. From the Tafel plot, it is clear that E corr value increases with the increase in concentration of pyoverdine and shifts towards the positive direction, since the anodic metal dissolution and cathodic hydrogen evolution decrease slowly [28]. Similarly, when the inhibitor concentration increases, the corrosion current density reduces to lower value. Moreover, the characterisation of cathodic and anodic behaviour of inhibition was predicted by the displacement of corrosion potential of inhibited solution within ±80 mV with respect to that of uninhibited solution [29, 30]. The inhibitor pyoverdine has recorded a displacement of corrosion potential smaller than 85 mV with respect to uninhibited solution which confirms the mixed type inhibition by preventing the both cathodic and anodic reactions.

Tafel constants β a and β c are not much deviated in the presence of pyoverdine with respect to the uninhibited medium, which indicates that the mechanism of adsorption is not affected by cathodic and anodic constants. It is simply acting as an adsorbent on the mild steel surface and blocking the active surface sites [31]. From Table 3, it is evident that pyoverdine is a mixed type inhibitor, and maximum inhibition efficiency observed for 10 ppm pyoverdine was 96 %, that is, when the concentration of pyoverdine increases, more number of molecules get adsorbed on the mild steel surface and give a better coverage or barrier. The inhibition efficiency derived from Tafel plot and EIS measurements are comparable.

3.6 Adsorption Studies

An attempt to correlate the adsorption data using various isotherms provides an insight into the plausible mode of adsorption. The adsorption data were fitted with frequently used adsorption isotherm such as Langmuir, Temkin and Freundlich. The phenomenon of adsorption is influenced to a greater extent by the chemical structure of inhibitors, electron density and polarizability of functional group which can be evaluated by the measurement of inhibition efficiency [3234]. The inhibitive ability of a substance depends on its extent of adsorption. Among the studied isotherms, Langmuir isotherm provided the best description for the adsorption behaviour at room temperature. Langmuir isotherm can be described by the equation

$$\frac{{C_{\text{inh}} }}{\theta } =\, C_{\text{inh}} + \frac{1}{{K_{\text{ads}} }},$$
(5)

where C inh represents the concentration of inhibitor in ppm. Langmuir isotherms are based on the assumption that the adsorption sites are equivalent, and each site can adsorb one molecule. The linear plot of C inhVs θ confirms that the adsorption mode is Langmuir. IE varies linearly with the concentration of pyoverdine as can be seen from the surface coverage values (θ) of pyoverdine between C/θ and Cinh for different concentrations of inhibitor in the presence and absence of pyoverdine. The values of regression coefficient calculated from the least square method from the origin software confirms the formation of thick monolayer of pyoverdine on the mild steel surface, and hence, further interaction between inhibitors can be ignored. As the temperature increases, the isotherm deviated from Langmuir and approaches to Temkin at 308 and 313 K, respectively. The equation of Temkin isotherm can be represented as

$$\theta = \ln KC + \frac{1}{f }.$$
(6)

From the obtained linear plot, the equilibrium constant (K ads) for the adsorption process can be evaluated. The standard Gibbs free energy of adsorption (\(\Delta G^{0}_{\text{ads}}\)) and adsorption constant (K ads) are related by the equation

$$\Delta G_{\text{ad}}^{0} = - RT\ln \left( {55.5\;{\text{K}}_{\text{ads}} } \right).$$
(7)

The values of regression coefficient between the parameters C/θ and C inh for different concentrations of inhibitors in the presence and absence of pyoverdine gives the accuracy of findings.

If the value of \(\Delta G^{0}_{\text{ads}}\) is −40 kJ/mol or more negative, it indicates the transfer of electron from the inhibitor to the metal surface forming a coordinate bond between them. \(\Delta G^{0}_{\text{ads}}\) values are lower than above, for example, −20 kJ/mol, leading to a weak electrostatic attraction between the charged inhibitor and the charged metal surface in the corrosion medium [35, 36].

Moreover, the negative value of \(\Delta G^{0}_{\text{ads}}\) indicates the stability of the adsorbed layer on the steel surface and to some extent the spontaneity of the adsorption process. The perusal of \(\Delta G^{0}_{\text{ads}}\) value ranging from −37 to −43 kJ/mol suggests that the adsorption of pyoverdine follows chemisorptions which are spontaneous in nature [3740].

The surface coverage (θ) for different concentrations of pyoverdine was calculated, and it was plotted against the concentration of pyoverdine (C inh) and C/θ. The plot for 303 K obeying Langmuir model shown in Fig. 10a was more appropriate than those for 308 and 313 K obeying Temkin isotherm, log C inh against θ, which is shown in Fig. 10b.

Fig. 10
figure 10

The value of regression coefficients and the corresponding temperatures for a Langmuir and b Temkin adsorption isotherms

3.7 Surface Characterization

The SEM micrographs of mild steel also support the findings. Figure 11a shows the SEM images of bare mild steel specimen with comparatively smooth surface. After immersion in the corrosive medium, the metal surface seems to be highly damaged which is shown in Fig. 11b. The corrosion inhibition action of pyoverdine is clear from Fig. 11c which shows the mild steel surface exposed to 0.5 M HCl containing pyoverdine. The metal surface and roughness values look more or less similar for bare metal surface and metal surface exposed in medium containing pyoverdine again strongly suggest the formation of a protective layer by the inhibitor on the metal surface.

Fig. 11
figure 11

SEM images of mild steel specimens: a bare mild steel, b in 0.5 M HCl and c in 0.5 M HCl with pyoverdine

3.8 Atomic Force Microscopy

In order to further confirm the corrosion inhibition effect of the inhibitor, the surface morphology of the specimen was examined by AFM measurement. It gives a clear picture of acid corrosion and the formation of surface roughness within the presence and absence of pyoverdine. The surface topography was examined, and the results are presented as 3D images as shown in Fig. 12a, b. It is evident from the AFM images that the average roughness produced in aggressive corrosion mechanism is decreased to a significant extent when exposed to inhibited medium for the same exposure period. The decrease in roughness can be attributed to the formation of a thick monolayer of pyoverdine on mild steel surface [41].

Fig. 12
figure 12

AFM images: a mild steel in 0.5 M HCl; b mild steel in 0.5 M HCl containing pyoverdine inhibitor

The average roughness of mild steel coupons immersed in 0.5 M HCl was noted as 0.547 nm (Fig. 12a). It is clear that the electrode material was damaged due to the direct reaction of acid solution. However, the close inspection of the next picture exhibits the action of PVD on the mild steel surface. Herein, we can observe an average roughness of 0.309 nm (Fig. 12b). Hence, we can conclude that the mild steel specimen is effectively protected by the eco-friendly, biodegradable and naturally occurring molecule pyoverdine.

4 Conclusions

  1. (1)

    In the present study, we project the first ever report on pyoverdine obtained from animal extract act as green inhibitor for mild steel. It is an excellent corrosion inhibitor for mild steel –HCl system through adsorption interaction.

  2. (2)

    The values obtained from EIS measurements runs parallel with potentiodynamic polarization studies. There is a linear relation exists between the inhibition efficiency and concentration of pyoverdine.

  3. (3)

    The potentiodynamic polarization measurements indicate that the pyoverdine performs as a mixed type inhibitor at three studied temperature regions such as 303, 308 and 313 K, respectively.

  4. (4)

    The adsorption isotherm obeys the Langmuir adsorption on 303 K and Temkin adsorption at 308 and 313 K. Chemisorption occurs at room temperature and physisorption at higher temperature. The high negative value of \(\Delta G_{\text{ads}}^{0}\) indicates that pyoverdines can be adsorbed on mild steel surface by chemical mechanism and also the spontaneity of the adsorption process.

  5. (5)

    SEM and AFM studies also confirm the formation of protective film on the surface of mild steel in 0.5 M HCl solution.