Introduction

Mild steel is one of the most important alloys of iron, which has the wide range of structural and industrial applications. The corrosion of iron and steel is of fundamental, academic and industrial concern that has received a considerable amount of attention [1]. The mild steel is handled under acids, alkalis and salt solutions in various industrial processes. Therefore, under these conditions chlorides, sulfates and nitrates are aggressive and cause corrosion. Various corrosion controlling methods were used to protect the metals such as protective coatings, cathodic protection and the use of corrosion inhibitors. Among these methods, the use of corrosion inhibitors is the most convenient and practical method to protect the metals from attack of corrosion [2]. In this method, corrosion inhibitor molecules get adsorbed on the surface of the mild steel from the bulk of the solution, which blocks the active corrosion sites, which retards the corrosion [3].

2-Chloro 3-formyl quinoline was selected as a corrosion inhibitor for mild steel corrosion in 1 M HCl, which is a heterocyclic organic compound that consists of electron-rich species such as nitrogen, oxygen and π electrons in the heterocyclic ring system. Inhibitor molecule is planar in its structure and free from toxic groups, which gives scope to study it as a potential corrosion inhibitor for mild steel in 1 M HCl [4]. Corrosion inhibition effect of the inhibitor on corrosion of mild steel in 1 M HCl has been investigated by weight loss, electrochemical Tafel polarization and electrochemical impedance spectroscopy (EIS) measurements.

Experimental

Materials

Mild steel strips (composition: 0.16 % C, 0.35 % Mn, 0.016 % Si, 0.01 % P, 0.029 % S, 0.06 % Cr, 0.1 % Cu and the remaining is Fe) with a dimension of 5 cm × 1 cm × 0.1 cm were used for weight loss method, and the same strips with an exposed area of 1 cm2 (remaining portion was insulated by resin) were used for electrochemical measurements. The strips were abraded with emery papers from grade number 80 up to 2000. AR grade hydrochloric acid and double-distilled water were used to prepare the 1-M HCl corrosive media for all the experiments.

2-Chloro 3-formyl quinoline is having molecular weight 191.61 and a melting point of 144 °C, which is soluble in ethanol. For all the experiments, the inhibitor was first dissolved in 2 ml of ethanol and then added to HCl media. The molecular structure of 2-chloro 3-formyl quinoline is as shown in Fig. 1.

Fig. 1
figure 1

Molecular structure of 2-chloro 3-formyl quinoline

Methods

Weight loss measurement

Mild steel strips of different weights were immersed in different beakers containing 100 ml of 1 M hydrochloric acid solutions(with 2 ml ethanol) in the absence and presence of different concentrations such as 50, 100, 150 and 200 ppm of 2-chloro 3-formyl quinoline for about 4 h immersion time at room temperature. Mild steel strips were weighed after and before immersion time to record the weight difference. By the help of weight differences corrosion rate and inhibition, efficiency was calculated.

Tafel polarization measurement

Tafel polarization measurement was carried out with the use of three electrode system such as the working electrode (mild steel strip), a counter electrode (platinum) and a reference electrode (SCE) by using a CHI608D electrochemical workstation at a temperature range of 303-333 K. In this measurement potential–current curves were recorded at a scan rate of 0.001 V/s in the given potential range.

Electrochemical impedance spectroscopic (EIS) measurement

The electrochemical impedance spectroscopy (EIS) measurement was carried out for the mild steel corrosion in 1 M HCl at a temperature range of 303–333 K. In this measurement, impedance spectra were recorded by AC signals with amplitude of 5 mV/s at OCP in the frequency range from 0.1 kHz up to 1 Hz.

Thermodynamic parameters

Thermodynamic parameters were computed by evaluating the proper adsorption isotherm model fit for the adsorption of the inhibitor on the surface of the mild steel. In this present work data obtained by EIS method was used to evaluate the adsorption isotherm.

Activation parameters

Activation parameters of the inhibitor were computed and discussed for the mild steel corrosion by using Arrhenius and transition theory. The data obtained from electrochemical Tafel polarization method were used to evaluate the activation parameters at the temperature range of 303–333 K.

Scanning electron microscopy (SEM)

The SEM micrographs of mild steel in the absence and presence 2-chloro 3-formyl quinoline for about 4 h immersion period in 1 M HCl were recorded using scanning electron microscopy (JEOL JSM-840A model).

Result and discussion

Weight loss measurement

The values of corrosion rate (CR) and the inhibition efficiency (\(\eta_{w}\)) of inhibitor for mild steel corrosion in 1 M HCl were obtained from weight loss measurement in the absence and presence of various inhibitor concentrations as reported in Table 1. The inhibition efficiency (\(\eta_{w}\)) was calculated by the following expression:

$$\eta_{w} = \frac{{v - v_{i} }}{v} \times 100,$$
(1)

where ν and ν i are the corrosion rates of mild steel in the presence and absence of inhibitors in the solution, respectively.

Table 1 Corrosion parameters obtained from the weight loss measurement for mild steel in the absence and presence of various concentrations of 2-chloro 3-formyl quinoline in 1 M HCl

Corrosion rate (CR) of the mild steel increases with the increasing of inhibitor concentration (Table 1) due to the blocking of active corrosion sites by the inhibitor molecules on the surface of the mild steel. The inhibition efficiency (\(\eta_{w}\)) of inhibitor increases with the increasing inhibitor concentrations of 50–200 ppm. The inhibition efficiency of QMC (2-chloro quinoline 3-carbaldehyde) for mild steel in 1 M HCl was reported as 80 % [5]. Therefore, the present work shows that the 2-chloro 3-formyl quinoline acts as an efficient inhibitor with maximum inhibition efficiency of 88.22 %. This behavior can occur due to the strong interaction of the inhibitor with the metal surface by adsorption. Therefore, continuous adsorption of inhibitors on the surface of mild steel covers the surface area to protect the metal from attack by corrosion [6].

Tafel polarization measurement

The Tafel polarization plots were recorded for the mild steel corrosion in the absence and presence of 2-chloro 3-formyl quinoline in 1 M HCl solution at a temperature range of 303–333 K as shown in Fig. 2.

Fig. 2
figure 2

Tafel plots for mild steel in the absence and presence of different concentrations of 2-chloro 3- formyl quinoline in 1 M HCl solution at a 303 K, b 313 K, c 323 K and d 333 K

The computed corrosion parameters such as corrosion potential (E corr), corrosion current density (i corr), corrosion rate (CR) and inhibition efficiency (η p ) are reported in Table 2. The inhibition efficiency (η p ) was calculated using the following equation:

$$\eta_{P} = \frac{{i_{\text{corr}}^{0} - i_{\text{corr}} }}{{i_{\text{corr}}^{0} }} \times 100,$$
(2)

where \(i_{\text{corr}}^{0}\) and i corr are the corrosion current density in the absence and presence of inhibitor, respectively.

Table 2 Electrochemical Tafel and impedance results for the corrosion of mild steel in the absence and presence of 2-chloro 3-formyl quinoline in 1 M HCl in a temperature region of 303–333 K

The results obtained by Tafel polarization method reveals that the corrosion current density (icorr) decreases with the addition of inhibitor. But the value of increases with increasing temperature because at elevated temperature desorption takes place over the metal surface. It implies that this system reduces the inhibition efficiency of the inhibitor for the corrosion of mild steel in 1 M HCl solution at elevated temperatures. The corrosion inhibitor is usually classified as anodic or cathodic type when the change in corrosion potential (E corr) value is greater than 85 mV. The largest displacement in E corr value on the blank was 40 mV (Table 2) after the addition of 2-chloro 3-formyl quinoline, indicating that the inhibitor acts as a mixed type inhibitor [7, 8].

From the Table 2, corrosion rate (CR) of the inhibited solution gradually decreases with respect to the uninhibited solution. Therefore, the adsorption of the inhibitor molecule get blocks the corrosion active sites of the mild steel surface, which retards the corrosion.

It is found that the inhibition efficiency of the some important quinoline derivatives such as CQMFA was 84 % at room temperature [9]. But in the present study, 2-chloro 3-formyl quinoline shows better inhibition efficiency even at an elevated temperature up to 323 K. The maximum inhibition efficiency obtained is around 85 %.

Electrochemical impedance spectroscopic (EIS) measurement

The kinetics of the electrode processes and surface properties for the corrosion inhibition study of mild steel by 2-chloro 3-formyl quinoline in 1 M HCl solution was investigated by the electrochemical impedance spectroscopic measurement. The Nyquist plots and Bode plots were recorded for mild steel in the absence and presence of 2-chloro 3-formyl quinoline in 1 M HCl at a temperature range of 303–333 K as shown in Figs. 3 and 4, respectively. An equivalent circuit model as shown in Fig. 5 was used to fit and analyze EIS data. The experimental curve was exactly fitted with the curve obtained by the electrical equivalent circuit as shown in Fig. 6. This circuit consists of polarization resistance (R p), which is proportional to the diameter of the semicircle, solution resistance (R s) and capacitance of the double layer (C dl). The computed corrosion parameters from this measurement such as polarization resistance (R p), double-layer capacitance (C dl) and the calculated inhibition efficiency (η z ) are reported in Table 2.

Fig. 3
figure 3

Nyquist plots for mild steel in 1 M HCl in the absence and presence of different inhibitor concentrations at a temperature of a 303 K, b 313 K, c 323 K and d 333 K

Fig. 4
figure 4

Bode plots for mild steel in 1 M HCl in the absence and presence of different inhibitor concentrations at temperature of a 303 K, b 313 K, c 323 K and d 333 K

Fig. 5
figure 5

Electrical equivalent circuit model used to fit impedance data

Fig. 6
figure 6

The experimental curve was fitted with the curve obtained by the electrical equivalent circuit

The Nyquist plots consist of a depressed semicircle in the complex impedance plane with the center of the real axis and the depressed loops increased with the increasing inhibitor concentration. R p  value decreases with the increasing temperature due to the desorption process from the mild steel surface to the bulk of the solution. The obtained semicircles are not perfect semicircles; this is because of the typical behavior of a solid metal electrode that shows frequency dispersion of the impedance data [10, 11] which is attributed to the roughness and other inhomogeneities of the solid surface [1214].

The inhibition efficiency (η z ) increases with increasing of inhibitor concentration with the range of 50–200 ppm. This increasing inhibition efficiency is attributed to the formation of a protective layer on the surface of the mild steel. As a result, the 200 ppm of 2-chloro 3-formyl quinoline exhibits maximum inhibition efficiency of around 85 % up to 323 K temperature. Inhibition efficency decreases at 333 K. This is because the desorption of inhibitor takes place from the surface of the mild steel. The obtained inhibition efficiency of CQC and CQA quinoline derivatives was found as to be 93.88 and 99.06 %, respectively, by this EIS method. In the present study, the inhibitor shows excellent inhibition efficiency even at elevated temperatures up to 313 K.

From the Bode plots in Fig. 4, the depressed semicircles usually obtained for an electrode/solution interface due to the rough electrode surface. The corrosion of mild steel in acid media increases the roughness of the electrode surface and, therefore, reduces the phase angle [15]. In Fig 4, the phase angle increases with increase in inhibitor concentration up to 313 K and it decreased up to 333 K temperature due to desorption of inhibitor molecule.

Inhibition efficiency (η z ) was calculated using the following equation [16]:

$$\eta_{z} = \frac{{R_{\text{p}} - R_{\text{p}}^{0} }}{{R_{\text{p}} }} \times 100,$$
(3)

where R p and \(R_{\text{p}}^{0}\) are the polarization resistance values in the presence and absence of inhibitor. The double-layer capacitance values (C dl) were evaluated by the following formula:

$$C_{\text{dl}} = (QR_{\text{ct}}^{1 - n} )^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 n}}\right.\kern-0pt} \!\lower0.7ex\hbox{$n$}}}} ,$$
(4)

where Q is the constant phase element (CPE) (Ω−1 Sn cm−2) and n is the CPE exponent.

Figure 2 shows that the electrochemical impedance spectrum (EIS) consists of semicircles with their centers on the real axis and that the diameter of the semicircles increases with the increase in the inhibitor concentration in the range of 50–200 ppm. This is the indication of the adsorption of the inhibitor molecule on the metal surface [17]. The difference in real impedance at lower and higher frequencies is commonly considered as a charge-transfer resistance [18]. But the R p value decreases with the increasing of the temperature, indicating that the desorption of the inhibitor molecule from the metal surface plays a major role rather than that of the adsorption process. According to the Table 2 the C dl values are decreased with increase in inhibitor concentration due to either the decrease in dielectric constant or increase in the thickness of the electric double layer, suggesting that the 2-chloro 3-formyl quinoline is adsorbed at the metal/solution interface.

Inhibition efficiency obtained by the EIS measurement showed good agreement with the result obtained from Tafel and weight loss measurements. While considering both the measurements, it could be observed that the 2-chloro 3-formyl quinoline acts as a good corrosion inhibitor and shows better inhibition efficiency around 85 % or mild steel in 1 M HCl.

Thermodynamic parameters

Basically, inhibition effect of the inhibitors in acid solutions occurs due to the adsorption on the surface of metal [19]. The adsorbed inhibitor molecules retard both the anodic and cathodic electrochemical corrosion reactions, which reduces the corrosion rate. This interaction in between the inhibitor and metal surface can be studied by adsorption isotherm model. The adsorption process obeys the Freundlich adsorption isotherm. According to this isotherm surface coverage can be calculated by the following equation

$$\theta = \frac{{\eta_{z} }}{100}$$
(5)

where η z is the inhibition efficiency obtained from electrochemical impedance spectroscopy (EIS). The adsorption of inhibitor was attributed to the interaction in between the surface coverage (θ) and inhibitor concentration (C) in millimoles. This relationship is described as follows:

$$\frac{C}{\theta } = \frac{1}{{K_{\text{ads}} }} + C,$$
(6)

where K ads is the equilibrium constant of the adsorption process. K ads value is directly related to the standard free energy of adsorption (\(_{\text{ads}}^{0}\)). Plot a graph of C/θ against the inhibitor concentration (C), which is shown in Fig. 7. The obtained plot consists of a straight line with the regression coefficient (R 2) which is almost near to unity.

Fig. 7
figure 7

Freundlich adsorption isotherm

K ads values can be calculated by the slope (K ads = 1/C) of the straight lines on the C/θ axis. K ads values represent a strong interaction between the adsorbed inhibitor molecule and the metal surface. Kads value indicates that, better adsorption with good inhibition efficiency at higher temperature [20]. The relationship between K ads and \(\Delta G_{\text{ads}}^{0}\) is expressed as follows:

$$\Delta G^{0}_{\text{ads}} = \, - \, \ln \, \left( {K_{\text{ads}} \times \, 55.5} \right) \, \times \, R \, \times T,$$
(7)

where the R is the universal gas constant value of 8.314 kJ/kg/K, T is absolute temperature, and 55.5 is the molar concentration of water in the bulk of the solution. The calculated values of K ads and \(\Delta G_{\text{ads}}^{0}\) are reported in Table 3. The negative values of \(\Delta G_{\text{ads}}^{0}\) indicate the spontaneous adsorption process and stability of the adsorbed layer on the mild steel surface.

Table 3 Thermodynamic parameters

The calculated ΔG ads values are within −40 and −20 kJ/mol, indicating that the adsorption mechanism of 2-chloro-3-formyl quinoline on surfaces of the mild steel in 1 M HCl solution at 303–333 K temperatures was a combination of both physisorption and chemisorption [21, 22]. The increasing value of K ads and \(\Delta G_{\text{ads}}^{0}\) with the increasing temperature as on 303–333 K indicates the consistent and stable adsorption of 2-chloro 3-formyl quinoline on mild steel surface in 1 M HCl solution.

Graph of ΔG ads/T vs 1/T were given in Fig. 8. This plot consists of a straight line with a regression coefficient as 0.998. The slope is equal to the standard enthalpy of adsorption (\(\Delta H_{\text{ads}}^{0}\)). The negative sign of \(\Delta H_{\text{ads}}^{0}\) in HCl solution indicates that the adsorption of inhibitor molecule is an exothermic process [23].

Fig. 8
figure 8

The relationship between \(\Delta G_{\text{ads}}^{0}\)/T and 1000/T

The positive value of entropy (\(\Delta S_{\text{ads}}^{0}\)) indicates that the reaction suffers a loss of a degree of freedom during the complex process. Also, as the adsorption process was exothermic, it should have been accompanied by a decrease in entropy. We found that the value of \(\Delta S_{\text{ads}}^{0}\) decreased with the increase of temperature as at 303–333 K.

Activation parameters

The activation parameters are the useful tool to understand the inhibition mechanism for mild steel by inhibitor molecule in acid media at the temperature range of 303–333 K. The electrochemical Tafel polarization data were used for the study of activation parameters at a temperature of 303–333 K for the mild steel in the absence and presence of 2-chloro 3-formyl quinoline in 1 M HCl. The energy of activation (E a) for the mild steel can be described using Arrhenius equation:

$$\ln \upsilon_{\text{corr}} = \ln A - \frac{{E_{\text{a}}^{{}} }}{RT},$$
(8)

where E a is the energy of activation (J/mol), R is the gas constant (8.314 J/mol/K), T is the absolute temperature (K), A is the Arrhenius pre-exponential factor and υ corr is the corrosion rate. Arrhenius graph of ln υ corr vs 1/T as shown in Fig. 9. Plots are consist of linear with regression coefficient almost near to unity. The activation energy (E a) were calculated and reported in Table 4.

Fig. 9
figure 9

Arrhenius plot for mild steel corrosion 1 M HCl media in the absence and presence of 2-chloro 3-formyl quinoline

Table 4 Activation parameters for mild steel corrosion 1 M HCl media in the absence and presence of 2-chloro 3-formyl quinoline

As per Arrhenius equation, the corrosion rate (υ corr) is being affected by the activation energy (E a). From Table 4, it is observed that E a value increases with the increasing inhibitor concentration. Which indicated that, Inhibitor molecule strongly adsorbed on the metal and it controls charge transfer on the metal surface. It suggests that metal dissolution is controlled by surface reaction [24]. The values of the standard enthalpy (ΔH*) and standard entropy (ΔS*) of activation were calculated using the following equation:

$$\frac{{\ln \upsilon_{\text{corr}} }}{T} = \left[ {\ln \frac{R}{Nh} + \frac{{\Delta S^{*} }}{R}} \right] - \frac{{\Delta H^{*} }}{R} ,$$
(9)

where h is plank’s constant (6.626 × 10−34) and Avogadro’s number (6.022 × 1023)

A transition plot of ln (υ corr/T) vs 1/T gave straight lines is depicted in Fig. 10, the ΔH* value calculated by using slope and ΔS* calculated by the help of intercept. The calculated values of ΔH* and ΔS* are listed in Table 4.

Fig. 10
figure 10

Transition plot for mild steel corrosion in the absence and presence of 2-chloro 3-formyl quinoline in 1 M HCl

The increase in the enthalpy of activation [ΔH*] indicates that, addition of inhibitor increase the energy barrier for the corrosion reaction without changing dissolution mechanism. Negative value of entropy of activation [ΔS*] represents rate determining step with association rather than the dissociation step [25]. In addition to that the less negative values of ΔS* in the presence of inhibitor imply that the presence of inhibitor created a near-equilibrium corrosion system.

Scanning electron microscopy (SEM)

Scanning electron microscopic (SEM) images were taken to investigate the surface study the on the mild steel surface for the corrosion in the presence and absence of 2-chloro 3-formyl quinoline for an immersion period of 4 h at 303 K are shown in Fig. 11.

Fig. 11
figure 11

SEM images of mild steel in 1 M HCl media at 303 K (a) in the absence of inhibitor (b) in the presence of inhibitor

SEM image of the mild steel sample has rough surface (11 A) and it is completely covered by the  inhibitor which forms smooth surface (11 B) [26].

Mechanism of inhibition

The 2-chloro 3-formyl quinoline drug molecules contain nitrogen, oxygen and fused benzene rings. The present work indicates that this inhibitor is adsorbed on the metal surface predominantly by chemisorption method. 2-chloro 3-formyl quinoline gets adsorbed on the mild steel surface by donor–acceptor interactions with the vacant d-orbital of metal. Nitrogen and oxygen atoms of the inhibitor may donate a lone pair of electrons to the vacant d orbital of the metal and forms co-ordinate bond. Also, π electrons of the aromatic rings also may form the same type of bond with the metal atom.

Conclusions

2-Chloro 3-formyl quinoline acts as a good corrosion inhibitor with the maximum inhibition in and around 80 %, corresponding to the optimum concentration at 200 ppm. The inhibition effect of 2-chloro 3-formyl quinoline is attributed to the adsorption process. This inhibitor acts as a mixed type inhibitor. Therefore, adsorption process is exothermic in nature which obeys the Freundlich adsorption isotherm. SEM micrograph gives a visual idea about the formation of a protective layer on the mild steel surface, which retards the corrosion rate. So 2-chloro 3-formyl quinoline shows to be a good inhibitor, as proved by all the chemical and electrochemical measurements.