1 Introduction

The pertinent problems faced by many industries are corrosion of metals and material conservation. As the material comes in contact with corrosive environment, it leads to its destruction [1, 2]. Al and Al alloys are widely used in industries that show high corrosion resistance due to the passive film on their surface [3, 4]. However, their applications are limited due to their lower strength and stiffness. In order to enhance its strength and to provide better performance the requirement of such alloy is to reinforce with particles such as SiC. Aluminium alloy reinforced with SiC particles possess high-specific strength and hence find various applications in automobile, aviation, and military applications [5, 6]. The addition of SiC can cause discontinuities in the protective oxide film. This can lead to increase in the number of sites, where corrosion can occur and make the composite more vulnerable. The depletion of naturally occurring oxide layer takes place with reinforcement of SiC particulates which in turn accelerates the corrosion in corrosive environment [7, 8] Micro-galvanic corrosion of Al-CM is more likely to occur during acid pickling and descaling procedures used in the surface preparation of such composite material. The ceramic particles function as efficient cathodic sites and trigger corrosion in the presence of corrosive liquids [9, 10]. To overcome such problem, the use of inhibitor is considered as the most practical method. The organic compounds containing hetero atoms, unsaturated bonds, aromatic rings showed very good inhibition efficiency against acid corrosion of Al-CM [11,12,13]. The literature study reveals the excellent corrosion inhibition tendency of some of the hydrazides, its derivatives and hydrazides containing imine group particularly on mild steel in different acid media [14,15,16]. The inhibitive nature of these compounds is accredited to their molecular structure. The unshared pair of electrons on the atoms such as N, O, S etc., π electrons, electron donating groups and planarity of the inhibitor molecule determines the film formation or adsorption of these molecules on the metallic surface. Despite its exceptional corrosion inhibition ability, only few hydrazides are used as inhibitor for Al and Al-based alloys and composites [17]. Hence, the purpose of the present work was to synthesize a hydrazide derivative, namely 4-hydroxy-N′-[3-phenylprop-2-en-1-ylidene] benzohydrazide (HBH) and to study its corrosion inhibition behaviour on Al-CM in 0.5 M hydrochloric acid medium at different temperatures by adopting electrochemical techniques. This study also includes the determination of activation, thermodynamic parameters and surface characterization using different techniques. Further theoretical calculations were done using DFT which is in agreement with the experimental results.

2 Experimental Details

2.1 Material

The present study makes use of 6061 Al-15%(V) SiC(P) composite (Al-CM) material as test specimen with composition depicted in Table 1. Cylindrical shaped test coupons of Al-CM material were mounted using cold setting resin. The flat specimen surface having exposed surface area of 1 cm2 of the mounted part was then abraded using polishing papers of different grades followed by disc polishing using levigated alumina abrasive as per standard metallographic practice.

Table 1 Chemical composition of Al-CM material

2.2 Preparation of Medium

The medium used was standard hydrochloric acid solution. A stock solution of hydrochloric acid (1 M) was prepared by diluting a known volume of 37% AR grade hydrochloric acid to an appropriate volume to get required strength and standardized by volumetric method.

2.3 Preparation of HBH

An equimolar mixture of trans-3-Phenyl-2-propenal (0.01 mol) and 4-hydroxy benzohydrazide (0.01 mol) was dissolved in ethanol. The product formed after refluxing the reaction mixture for about 3 h. Ethanol was used for recrystallization of the product obtained after the filtration of reaction mixture. The synthetic route for the preparation of HBH is represented by Scheme 1.

Scheme 1
scheme 1

Synthetic route for HBH

2.4 Electrochemical Techniques

An electrochemical work station (CH Instrument USA Model 604D series with beta version software) along with conventional three electrode cell was used to perform the electrochemical techniques. The cell constitutes of a platinum and calomel electrode as counter and reference electrode, respectively. Freshly polished working Al-CM specimen was exposed to 0.5 M HCl within a temperature range of 303 to 323 K. The open circuit potential (OCP) is observed at the end of 30 min and recorded. The specimen was then polarised from -250 mV cathodic to + 250 mV anodic with respect to OCP fixing a scan rate of 1 mV s−1, the Tafel curves were recorded. In case of EIS a small amplitude of ac signal of 10 mV was applied to the system in the frequency range (10 kHz to 0.01 Hz) with respect to OCP and the Nyquist plot was recorded.

2.5 Quantum Chemical Study

The DFT calculations were done using Gaussian maestro material science software with the correlation factor (B3LYP) and 631 + G as basis set [18]. The energies of the highest occupied (EHOMO) and lowest unoccupied (ELUMO) molecular orbitals were evaluated and which are then used to calculate other quantum chemical considerations.[19, 20].

2.6 Surface Morphological Studies

Surface morphological study was done using scanning electron microscope (SEM) and surface roughness of Al-CM specimen was determined by atomic force microscope (AFM). Chemical analysis of the specimen surface was done using energy-disperse X-ray (EDX).

3 Results and Discussion

3.1 IR Characterization Results of HBH

Crystalline white solid (95%); C16H14N2O2; m.p: 264–266 °C; IR (KBr) [cm−1]]: 3502 (OH str.), 3201 (NH str.), 3016 (Ar. CH str.), 1612 (C=O str.), 1558 (C=N str.), 1504 (Ar. C=C str.). 1H NMR (400 MHz, DMSO-d6) δ (ppm): 11.53 (1H, OH), 10.13 (1H, NH), 8.22 (1H, CH=N), 7.81–6.83 (9H, Ar. H), 2.15 (1H, CH). Figure 1a and b represents the IR and 1H NMR spectrum of HBH molecule.

Fig. 1
figure 1

FTIR spectrum of HBH

3.2 Potentiodynamic Polarization (PDP) Measurements

The PDP plots for the dissolution of Al-CM in presence of uninhibited and inhibited solution are shown in Fig. 2. The anodic potential is displaced in a positive direction by anodic polarization and cathodic potential is displaced in a negative direction by cathodic polarization. The point of intersection between the two rectilinear polarization curves in the PDP plots gives corrosion current density (icorr), corrosion potential (Ecorr). The experimental results obtained for corrosion of Al-CM without and with HBH are tabulated in Table 2.

Fig. 2
figure 2

PDP curves for the corrosion behaviour Al-CM in 0.5 M HCl at 313 K in absence and presence of HBH

Table 2 PDP results for the corrosion of Al-CM in 0.5 M HCl in the absence and presence of HBH at different temperatures

The added inhibitor molecules get adsorbed over the Al-CM surface and hence reduce the corrosion rate. Generally, the presence of reinforcing element (SiC) enhances the corrosion rate of aluminum composite compared to aluminum-based alloys. Since the electrode potential of Si (− 0.14 V) is more than the electrode potential of Al (− 1.67 V), SiC will act as cathode-making Al as anode which results in galvanic corrosion leading to disintegration of aluminum matrix. The heterogeneous nature of the composite material due to the presence of SiC, increases the availability of the active sites for the adsorption of inhibitor molecules [21].

The inhibitor can be distinctively considered as anodic or cathodic type if the displacement in the Ecorr exceeds ± 85 mV in the presence of inhibitor with respect to that of uninhibited solution [22]. However, it is evident from the above Tafel plot that the corrosion potential does not show much variation in the presence of HBH in comparison with uninhibited solution. This shows that HBH acts as mixed type inhibitor by retarding both anodic and cathodic reactions. From the obtained icorr values corrosion rate (CR) and percentage inhibition efficiency (% IE) were calculated using Eqs. (1) and (2), respectively.

$$ {\text{CR}}\,\left( {{\text{mm}}\,{\text{y}}^{ - 1} } \right) = \frac{{3270 \times EW \times i_{{{\text{corr}}}} }}{d} $$
(1)

where, icorr = corrosion current density in μA cm−2, 3270 is a constant which defines the unit for the corrosion rate, EW = equivalent weight of corroding material and d = density of corroding material in g cm−3 [23].

$$ IE(\% ) = \frac{{i_{{{\text{corr}}}} - i_{{\text{corr(inh)}}} }}{{i_{{{\text{corr}}}} }} \times 100 $$
(2)

where, icorr and icorr(inh) signify the corrosion current density in the absence and presence of inhibitors, respectively.

The icorr and CR values in the absence of HBH increased with rise in the temperature. This may be due to increase in the conductance of medium. Whereas as the addition of inhibitor resulted in decrease in both icorr and CR which in turn increases the %IE. This can be due to the adsorption or film formation of the HBH molecules on to the surface of the specimen and thereby blocking sites on the metal surface [24]. 4. The Tafel slope shows the variation in electrode potential if the current flowing in it varies by one order of magnitude. Thus, if the slope (mV decade−1) is lower means less over-potential is required to get high current. That is, application of small-positive potential can cause the reaction to go to a greater extent. In the present case the anodic (βa) and cathodic (βc) slope values do not vary much with addition of HBH. This suggests that there is no change in the mechanism of corrosion both in the absence and presence of inhibitor [25].

3.3 Electrochemical Impedance Spectroscopy (EIS) Studies

EIS is used to study the corrosion behaviour at the metal-solution interface. Nyquist plots for the corrosion inhibition of Al-CM at different concentrations of HBH at 313 K are given in Fig. 3. The Nyquist plots of Al-CM consist of high-frequency (HF) capacitive loop and intermediate frequency (IF) inductive loop. Shape of these impedance plots agree very well with those reported in the literature [25].

Fig. 3
figure 3

Nyquist curves for the corrosion behaviour Al-CM in 0.5 M HCl at 313 K in absence and presence of HBH

The capacitive loop formed at higher frequency range corresponds to the oxidation of Al-CM at M+/oxide/solution interface. Al1+ will be oxidized to Al3+ during the corrosion process which is because of the transport of Al1+ from M+/oxide interface through oxide/electrolyte interface and also O2− and OH ions are formed at oxide/solution interface. The formation of single capacitive loops in the Fig. 3 indicate that it is undergoing all the above three processes which might be either due to the overlapping of loops during the corrosion process or domination of one process over the other. The formation of passivating oxide film on the metal surface attributes to the capacitive loop in high-frequency region. The resistance offered by the metal towards the corrosion process is increased with increase in the diameter of the semicircle [26]. At lower frequency (LF) the origin of the inductive loop has often been attributed to surface or bulk relaxation of species in the oxide layer. The LF inductive loop may be related to the relaxation process obtained by adsorption and incorporation of chloride ions, oxide ion and charged intermediates on and into the oxide film. The inductive loop is also attributed to anodic adsorbed intermediates controlling the anodic process [27, 28]. The capacitive loops of the Nyquist plots are comparatively depressed due to the inhomogeneity, roughness of the working electrode surface, deposition of the corrosion product or adsorption of the inhibitor molecules [29].

To carry out mathematical analysis of the EIS technique, the Nyquist plots were simulated with the equivalent circuit. This circuit constitute five elements namely resistance offered by the solution (RS), resistance offered by charge transfer process (Rct), inductive element (L) and inductive resistance (RI). It also consists of CPE (Constant Phase Element, Q), which is parallel to resistors and inductive element shown in the Fig. 4. Similar circuits were reported by other researchers for AL-CM in acid medium [17, 25]. The polarization resistance (Rp) from the above circuit can be evaluated using Eq. (3).

$$ R_{p} = \frac{{R_{ct} \times R_{L} }}{{R_{ct} + R_{L} }} \times 100 $$
(3)
Fig. 4
figure 4

Equivalent circuit used to fit the experimental EIS data obtained for the corrosion behaviour of Al-CM in the presence of HBH

During the circuit fitment the real capacitance (Cdl) is replaced by constant phase element CPE (Q), because the impedance plots for composite materials are depressed semicircles. The depression in the semicircle is attributed for frequency dispersion that occurs during the impedance analysis because of surface inhomogeneity/surface roughness [29]. The CPE impedance (ZCPE) is calculated using the following equation,

$$ Z_{{{\text{CPE}}}} = \, Q^{ - 1} \left( {i \, w_{\max } } \right)^{ - n} $$
(4)

where Q is the proportionality coefficient, wmax is the angular frequency, i is the imaginary number and n is the exponent related to the phase shift. The values of phase shift (n) lies between 0 and 1 (0 ≤ n ≤ 1) [30]. This is related to the deviation of CPE from the ideal capacitive behaviour. The modification in the capacitance to its real value is calculated using the relation 5.

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

where Cdl is the double-layer capacitance, Rp is the polarization resistance and fmax is the frequency in Nyquist plot at which the imaginary part of the impedance is maximum [30].

The % IE can be obtained using the Eq. 6 [31].

$$ \% {\text{IE}} = \frac{{R_{{p({\text{inh}})}} - R_{p} }}{{R_{{p({\text{inh}})}} }} \times 100 $$
(6)

where Rp and Rp(inh) are the polarization resistance for the blank and in the presence of HBH. Table 3 represents the results of EIS studies for HBH. It is clear from the Table that, polarisation resistance (Rp) values of Al-CM increases with the addition of HBH and the increase is consistent with rise in the concentrations of the HBH. This indicates the resistance against the flow of electrons due to the film formation of inhibitor on the metal surface [31]. The capacitance of electrical double layer (Cdl) decreased with increase in inhibitor concentrations. This may be due to increased thickness of the electrical double layer at metal-solution interface. There will be formation of electrical double layer at the metal surface and solution which is equivalent to an electrical capacitor. Further, the decrease in Cdl values may be due to the replacement of initially adsorbed water molecules on the metal surface by the HBH molecules [32].

Table 3 EIS results for the corrosion of Al-CM in 0.5 M HCl in the absence and presence of inhibitor at different temperatures

3.4 Evaluation of Kinetic Parameters

The study of effect of temperature enables calculations of kinetic factors such as activation energy (Ea), enthalpy (ΔH#) and entropy (ΔS#) of activation. These parameters are useful in determining the mode of adsorption of HBH molecules on to the specimen surface. The % IE of HBH is found to be decreased with increase in temperature. This could be due to possible desorption of adsorbed HBH molecules from the Al-CM surface. Further the adsorption of HBH on the specimen surface decreases at higher temperature due to the higher rate of hydrogen gas evolution [33]. This type of behaviour suggests physisorption of the HBH molecules on Al-CM. Using Arrehnius Eq. (7) the energy of activation (Ea) can be calculated [34],

$$ \ln \left( {{\text{CR}}} \right) = B - \frac{{E_{a} }}{RT} $$
(7)

where B is an Arrehnius constant which depends on the metal type, and R is the universal gas constant (8.314 J K−1 mol−1), CR is corrosion rate, Ea is energy of activation, T is absolute temperature. Figure 5 shows the Arrehnius plot of ln CR vs 1/T for the Al-CM in different concentrations of HBH in 0.5 M HCl. Ea values are evaluated from the slope of straight line (slope = Ea/R) obtained.

Fig. 5
figure 5

Arrhenius plot for the corrosion of Al-CM in 0.5 M HCl containing different concentrations of HBH

The transition state equation [35] is used to compute the enthalpy (ΔH#) and entropy (ΔS#) of activation for the corrosion of Al-CM in the absence and presence of HBH.

$$ {\text{CR}} = \frac{RT}{{Nh}}\exp \left( {\frac{{\Delta S^{\# } }}{RT}} \right)\exp \left( {\frac{{ - \Delta H^{\# } }}{RT}} \right) $$
(8)

where h is Plank’s constant (6.626 × 10–34 J s), and N is Avagadro’s number(6.023 × 1023 mol─1). Figure 6 is the plot of ln (CR/T) vs.1/T for Al-CM in 0.5 M HCl in various concentration of HBH. Change in values of ΔH# an ΔS# were calculated from the slope and intercept, respectively, of the plot. Table 4 indicates the activation parameter values for the Al-CM in 0.5 M HCl using various concentration of HBH.

Fig. 6
figure 6

Plots of ln(CR/T) vs (1/T) for the corrosion of Al-CM in 0.5 M HCl containing different concentrations of HBH

Table 4 Activation parameters obtained for the corrosion of Al-CM in 0.5 M HCl acid containing various concentrations of HBH

From Table 4, it is evident that Ea value is higher in the presence of HBH than in case of uninhibited. This is because of increase in the energy barrier for the corrosion in the presence of HBH. The physical adsorption of the inhibitor molecules on the metal surface can be ascertained due to the increase in the Ea value with increase in the HBH concentration [36]. During corrosion reaction the charge transfer on the surface of the composite will be blocked by the physical adsorption of the HBH molecules which is indicated by an increase in the Ea value [37]. The negative value of ∆S# indicates that the randomness is decreased on going from reactants towards the activated complex.

3.5 Mechanism of Adsorption

The adsorption isotherm furnishes basic details about the interaction between inhibitor and the metal surface which helps to determine the corrosion inhibition mechanism by appropriately fitting the experimental results to different adsorption isotherms models. The fraction of surface covered (θ) for different concentration of the HBH was determined. In the present study, Langmuir’s adsorption isotherm (Eq. 9) showed the best correlation between the isotherm function and the results which were obtained experimentally [38].

$$ \frac{{C_{{{\text{inh}}}} }}{\theta } = \frac{1}{K} + C_{{{\text{inh}}}} $$
(9)

where θ is the surface coverage, C is the concentration of the HBH, K is the equilibrium constant (L mol−1). The plot of Cinh/θ versus Cinh is a straight line with an intercept of 1/K. The Langmuir adsorption isotherm for the adsorption of HBH on Al-CM is depicted in Fig. 7. The straight lines with the linear correlation coefficient (R2) values close to unity, which suggests that the adsorption of HBH in 0.5 M HCl medium on Al-CM surface obeys the Langmuir adsorption isotherm model [39]. The slope values of these lines are range from 1.15–1.17 in the temperature range of 30–50 °C, respectively, suggesting that the adsorbed molecules form monolayer on the Al-CM surface and there is no interaction among the adsorbed inhibitor molecules.

Fig. 7
figure 7

Langmuir’s adsorption isotherm for Al-CM in 0.5 M HCl containing various concentrations of HBH at different temperature

The standard-free energy of adsorption \(\left( {\Delta G_{{{\text{ads}}}}^{^\circ } } \right)\) of the HBH on the metal surface, is related to adsorption/desorption constant K by the Eq. (10).

$$ K = \frac{1}{55.5}\exp \left( {\frac{{ - \Delta G_{{{\text{ads}}}}^{^\circ } }}{RT}} \right) $$
(10)

where, K is the equilibrium constant, T is absolute temperature, R is the universal gas constant and 55.5 is the concentration of water in solution in mol/dm3 [40].

The plot of \(\Delta G_{{{\text{ads}}}}^{^\circ }\) Vs T which gives a straight line is shown in Fig. 8. The intercept and slope values are used to calculate the values of standard enthalpy \(\left( {\Delta H_{{{\text{ads}}}}^{^\circ } } \right)\) and standard entropy \(\left( {\Delta S_{{{\text{ads}}}}^{^\circ } } \right)\) of adsorption, respectively, using the Eq. (11) and the calculated adsorption parameters for the corrosion of AL-CM in 0.5 M HCl in the presence of HBH are recorded in Table 5.

$$ \Delta G_{{{\text{ads}}}}^{^\circ } = \, \Delta H_{{{\text{ads}}}}^{^\circ } - T\Delta S_{{{\text{ads}}}}^{^\circ } $$
(11)
Fig. 8
figure 8

Plot of \(\Delta G_{{{\text{ads}}}}^{^\circ }\) vs. T for Al-CM in the presence of HBH in 0.5 M HCl

Table 5 Adsorption parameters for the corrosion of AL-CM in 0.5 M HCl containing various concentrations of HBH at different temperature

The spontaneous adsorption and stability of the adsorbed HBH on the Al-CM surface was quantified by the negative values of \(\Delta G_{{{\text{ads}}}}^{^\circ }\). Generally, if the measure of \(\Delta G_{{{\text{ads}}}}^{^\circ }\) is around − 20 kJ mol−1 or less negative, then it indicates physisorption of inhibitor molecule, while those with around − 40 kJ mol−1or more negative, shows chemisorption of the inhibitor molecules on the metal surface [41]. The \(\Delta G_{{{\text{ads}}}}^{^\circ }\) values for HBH were shown to lie in between − 20 and − 40 kJ mol−1 which suggests mixed adsorption with predominant physisorption of HBH on Al-CM. The negative value of \(\Delta H_{{{\text{ads}}}}^{^\circ }\) specifies the exothermic process due to the physisorption of HBH and the negative value of \(\Delta S_{{{\text{ads}}}}^{^\circ }\) indicates the decrease in dis-orderness from the reactant to the adsorbed species [42].

3.6 Mechanism of Corrosion Inhibition

Aluminum composites are comprised of aluminum matrix and ceramic SiC (Silicon Carbide) particulates. In presence of SiC particulates, the continuous oxide layer of aluminum gets broken down. The discontinuous oxide film on aluminum surface increases the corrosion rate. However, aluminum with lower standard electrode potential of − 1.66 V acts as anode and undergo oxidation readily whereas SiC particulates being semi-conductors behaves as cathodic site. These cathodic sites favour hydrogen reduction. Formation of micro-galvanic cell is also quite probable in presence of conducting medium [43].

The protective oxide layer formed on aluminum gets depleted in the presence of HCl medium leading to corrosion. The following reactions occur as the potential of aluminum is − 1.66 V.

$$ {\text{Al }} \to {\text{ Al}}^{{{3} + }} + {\text{ 2e}}^{-} $$
(12)
$$ {\text{Al}}^{{3 + }} + {\text{ Cl}}^{ - } \leftrightarrows {\text{AlCl}}_{{\left( {{\text{ads}}} \right)}}^{{2 + }} $$
(13)
$$ {\text{AlCl}}_{{({\text{ads}})}}^{2 + } + {\text{ Cl}}^{ - } \to {\text{ AlCl}}_{{2}}^{ + } + { 3}e^{ - } $$
(14)

The cathodic reduction reaction in acid medium is,

$$ {\text{H}}^{ + } + {\text{ e}}^{ - } \to {\text{ H}}_{{({\text{ads}})}} $$
(15)
$$ {\text{H}}_{{({\text{ads}})}} + {\text{H}}_{{({\text{ads}})}} \to {\text{ H}}_{{2}} $$
(16)

The process of corrosion inhibition is a surface phenomenon. Several factors like number of active centres on the metal surface, charge density, size of inhibitor and metal-inhibitor interactions play a very important role in protecting the metal against corrosion [44]. In case of HBH, the hetero atoms such as oxygen and nitrogen, unsaturated double bonds and Π electrons of the benzene ring are considered as some of the adsorption centres. The adsorption of the HBH onto the AL-CM in aqueous solution is regarded as aquasi-substitution between the inhibitor molecule in aqueous phase [Inh(aq)] and water at the metal surface [H2O(sol)].

$$ {\text{Inh}}\left( {{\text{sol}}} \right) + x{\text{H}}_{{2}} {\text{O}}\left( {{\text{aq}}} \right) \to {\text{Inh}}\left( {{\text{aq}}} \right) + x{\text{H}}_{{2}} {\text{O}}\left( {{\text{sol}}} \right) $$
(17)

In the presence of acidic medium HBH molecules get protonated and adsorbed to AlCl(ads) and decreases the further oxidation reaction. The charge on the Al-CM decides the process of adsorption in an aggressive environment. Metal usually surrounded by the positively charged ions in the aggressive environment. This is because of the electric field that emerges at the interface on immersion into the electrolyte.

The charge on the metal depends upon the value of the pHZch, which is defined as the pH at the point of zero charge potential. Since the pHZch value for aluminium is 9.1, thus it acquires positive charge in the vicinity of an acidic environment. The positively charge metal ions repulse the adsorption of protonated inhibitor molecule and facilitate the adsorption of negatively charged chloride ions. The negatively charged metal surface attracts the protonated HBH molecule from the corrosive environment through electrostatic interaction and forms a protective physical barrier on the metal surface. The protective layer isolates the metal from direct contact with the aggressive environment and reduces the material loss [45]. The schematic representation for the adsorption of HBH on Al-CM through electrostatic interaction is shown in Fig. 9.

Fig. 9
figure 9

Schematic representation of physical adsorption of the inhibitor molecule on the metal surface

Further, the inhibition efficiency of HBH is compared with the similar type of inhibitor compounds as reported in the work [17], the hydrazide derivative, namely 4-(N,N-dimethyl amino) benzaldehyde thiosemicabazone on 6061 Al-15 vol. pct. Sic(p) composite in a mixture of 1 M hydrochloric and 0.5 M sulphuric acid medium. It showed inhibition efficiency in the range of 50% to 79% at higher inhibitor concentration (1000 ppm) at different temperatures in 1 M HCl + 0.5 M H2SO4, whereas HBH showed higher inhibition efficiency in the 80 to 85% at much lower concentration (~ 200 ppm).

3.7 Theoretical Studies

Quantum chemical calculations were done to understand the structure activity relationship between the molecular structure of HBH and its inhibition efficiency. Generally, corrosion mitigation ability of organic compounds mostly depends upon the electron donating tendency as well as on the nature of its interaction with the surface of the metal [1, 46]. The validation of these effects can be done using DFT study. The DFT calculations points out the electron donating and proton accepting sites in the molecules, frontier molecular (HOMO and LUMO) orbital energies, the energy gap between them HOMO and LUMO and the Mullikan’s charges present on the molecule. Mullikan charges are widely used to analyse the possible adsorption sites in the inhibitor molecule and also the electron donor–acceptor relation between inhibitor molecules and metal surface. Generally, the hetero-atoms with more negative Mullikan charge are considered to be the most active site for the donor–acceptor relation with the metal surface [47]. The Mullikan charges on the different atoms of HBH is shown in Fig. 10. The more negative charges are noticed on oxygen atoms of OH (− 0.62) groups and on the nitrogen (− 0.56) atoms. These negative centres can be the adsorption sites for the inhibitor molecules which effectively mitigate the corrosion of Al-CM in acid medium [48].

Fig. 10
figure 10

Mullikan charges on the different atoms of HBH molecule

The optimized structures of the neutral and protonated forms of HBH is depicted in Fig. 11a and b, respectively. The protonated forms were considered alongside the neutral molecules as HBH can undergo protonation in the presence of HCl medium. The optimized structures are supposed to be the most stable ground state geometries of the HBH molecules. Both the neutral and protonated molecule of HBH have planar geometries. These planar molecules show a tendency to aid maximum interactions of the atoms with the metal surface. The co-planarity of the hetero-atoms and the π-electron systems in the inhibitor molecule is accountable for the higher inhibition efficiencies exhibited by the HBH.

Fig. 11
figure 11

Optimized structures of a neutral HBH and b Protonated form of HBH

The highest occupied molecular orbital (HOMO) and lowest occupied molecular orbitals (LUMO) for neutral and protonated forms of HBH molecules are given in Fig. 12a and b, respectively. Accordingly, some of the studied quantum chemical parameters for neutral and protonated HBH are listed in Table 6.

Fig. 12
figure 12

HOMO and LUMO structure for a neutral HBH and b protonated form of HBH

Table 6 Quantum chemical parameters for neutral and protonated HBH

Generally, the electron density is more localized on hetero atoms of the inhibitor molecule for both HUMO and LUMO. EHOMO may be attributed to the ability to transfer electrons by donation to a definite centre with low empty molecular orbital energy of the molecule that can accept these charge. The added inhibitor can also capture the charge from the metal d-orbital formation of a feedback bond. This type of bonds depends mainly on ELUMO values, which ensure that the acceptance of electrons from the metal d orbital [49, 50]. The results in Table 6 indicate that the protonated HBH molecules show a remarkable increase in EHOMO value compared to neutral HBH molecule pointing out an increase in the electron-donating tendency. Similarly, the lower ELUMO values of protonated HBH shows a greater tendency of accepting the electrons with respect to neutral HBH molecules. The other essential parameter is the energy gap or separation energy (ΔE), (the difference between EHOMO and ELUMO). The lower value of ΔE suggest stronger adsorption activity of inhibitor molecule while the chemical reactivity of the inhibitor increases with decrease in ΔE. This facilitates the adsorption of HBH on to the Al-CM [47]. In the present case the ΔE value for the protonated HBH molecules is lower than the neutral molecules indicating the protonated HBH molecules possesses a higher anti-corrosion ability.

As per the acid–base theory the chemical hardness and softness parameters are related to its inhibition characteristics of the molecule. A soft molecule has higher tendency to react whereas a hard molecule has lower tendency. The decrease in the chemical hardness and increase in the softness values for protonated HBH molecules indicate the greater contribution towards corrosion inhibition process [51]. It is observed that the values of ΔN for neutral and protonated HBH are 0.080 and − 5.004, respectively. This indicates that the protonated form of HBH has electron accepting tendency while neutral HBH has a tendency to donate the electrons to Al-CM surface [52, 53].

3.8 Surface Morphology Studies

3.8.1 Scanning Electron Microscopy (SEM)

The SEM image of the AL-CM in 0.5 M HCl in the absence of HBH is shown in Fig. 13a. The image showed a rough surface with large number of cavities on the surface of specimen. The increase in the roughness of the surface of Al-CM immersed in 0.5 M HCl can be due to the following reasons.

Fig. 13
figure 13

SEM image of a Corroded Al-composite b Al-composite immersed in the medium containing inhibitor

As the Al-CM comes in contact with acid medium, SiC particulates get removed which leads to formation of cavities on the surface. Generally, galvanic type of corrosion takes place between cathodic SiC particles and anodic aluminum matrix [54]. During the fabrication of composite material, SiC reacts with molten Al to form intermetallic compound Al4C3. Al4C3 further reacts with acid by forming AlCl3. The Cl ions of the medium interact with AlCl3 and forms AlCl4 [55]. When AlCl4 detaches from the matrix, it leads to the formation of pits. Aluminum and aluminum-based alloys are known for their passive and protective nature due to the presence of an oxide layer on their surface. The reinforcement of SiC particulates in to the matrix may rupture the passive film present on the surface leading to the access of the corrosive medium to the underlying material and hence enhances corrosion [56, 57]. The SEM image of AL-CM obtained in the presence of 0.5 M HCl containing HBH showed smooth surface as shown in Fig. 13b. The smooth surface is obtained by addition of inhibitor which blocks the separation of SiC particulates thus preventing the formation of cavities.

3.8.2 Energy Dispersive X-Ray Spectroscopy (EDX) Analysis

To determine the elemental composition of the metal surface with and without HBH, EDX studies were carried out. The EDX spectra consists of selected regions of SEM images are given in Fig. 14a and b, respectively. The atomic percentage of elements corresponding to uninhibited and inhibited sample is given in Table 7. Oxygen and chlorine % composition increased in uninhibited solution which is an indication of stable oxide layer undergoing dissolution in the corrosive medium and adsorption of Cl on to the metal surface. The increase in the % composition of aluminium, carbon and decrease in the oxygen concentration confirms the adsorption of HBH on the metal surface.

Fig. 14
figure 14

EDX spectrum of AL-CM a exposed to 0.5 M HCl b exposed to 0.5 M HCl containing 1 × 10–3 M HBH

Table 7 EDX parameters obtained for the corrosion of Al-CM in the absence and presence of HBH

3.8.3 Atomic Force Microscopy (AFM)

Figure 15a and b indicates the 3D image of the Al-CM specimen dipped in uninhibited and inhibited 0.5 M HCl solutions, respectively. Table 8 includes the average surface roughness (Ra) values and root mean square (RMS) roughness (Rq) value. The Ra and Rq value of inhibited specimen were lower than the uninhibited suggesting the adsorption or binding of the HBH molecules on to the metal surface [45].

Fig. 15
figure 15

3D image of AL-CM material a immersed in 0.5 M HCl b immersed in 0.5 M HCl + HBH

Table 8 AFM data obtained for the corrosion of Al-CM in the absence and presence of HBH

4 Conclusion

Based on the present study carried out of Al-CM in 0.5 M HCl, the following conclusions are drawn.

  • HBH can be a potential inhibitor for the corrosion control Al-CM

  • Inhibition efficiency of HBH was found to increase with increase in its concentration and decrease with increase in temperature

  • HBH functioned as a mixed type of inhibitor and followed Langmuir’s adsorption isotherm

  • Mixed adsorption behaviour of HBH is observed with predominant physisorption

  • The electronic properties of the inhibitor derived from DFT study clearly explains the inhibition efficiency exhibited by HBH.

  • The surface morphological studies such as SEM, EDX and AFM also substantiate the formation of adsorbed layer on the surface of Al-CM