Abstract

The present work investigates the influence of temperature on C38 steel corrosion in a 1 M HCl medium with and without different concentrations of a hydro-alcoholic extract of used coffee grounds (HECG). The potentiodynamic polarization technique and the electrochemical impedance spectroscopy were performed in temperatures ranging from 293.15 to 323.15 K. It was observed that the inhibition efficiency decreased with increased temperature and inhibitor concentration. The HECG adsorption process on C38 steel surface was found to be spontaneous and obeyed to Langmuir isotherm at all studied temperatures. The associated thermodynamic parameters of adsorption led to suggest the occurrence of physical adsorption of the HECG compounds on the C38 steel surface.

1. Introduction

Corrosion inhibitors remain an original method to protect metals and their alloys against corrosion processes in corrosive environment [1, 2]. These are essentially organic molecules containing sulfur, oxygen, nitrogen, and phosphor. The inhibiting action of such compounds is mainly attributed to their adsorption on the metal surface [3, 4]. Additionally, The recent trend in metals protection is towards nontoxic inhibitors [5, 6].

Generally, coffee consumption generates large quantities of coffee residues [7, 8]. Based on the literature, used coffee grounds are rich in dietary fiber, protein, essential amino acids, and sugar [9]. Nevertheless, this waste is left with no apparent value in the industrial sector [10]. For these reasons, the use of this residue for metals protection against corrosion is an interesting ecofriendly solution.

Furthermore, it is commonly reported that temperature is one of the most significant factors that can influence the behavior of metals in an acidic environment, and can affect the metal-inhibitor interaction [4, 11]. Additionally, in acid medium, the metal corrosion rate increases with temperatures [12, 13]. Accordingly, a good understanding of corrosion behavior in such conditions is of great importance in the assessment of the corresponding risk factors [13, 14]. In fact, choosing appropriate inhibitors depends on parameters such as the type of acid, the temperature and the velocity of the fluid flow [15].

Several studies have investigated the effect of temperature on the inhibition of steel corrosion in acidic environments in the presence of green inhibitors [16, 17]. For instance, Ituen et al. [18] have studied the effect of temperature on the mild steel corrosion in 1 M H2SO4 in the presence of leaves and stems extracts of Sida acuta. Also, Afia et al. [19] have investigated the correlation between rising temperature and the anti-corrosive properties of Argan oil on C38 steel in 1 M HCl solution. Also, in another study, temperature effect on X70 steel corrosion inhibition by Ginkgo leaf extract in HCl solution has been carried out by Qiang et al. [20]. Li et al. [21] has assessed the inhibitory potential of Ficus tikoua leaves extract on C-steel corrosion in 1 M HCl media at varying temperatures.

On the other hand, the comparison of thermodynamic results obtained on the corrosion process in the presence and absence of inhibitors provides some conclusions regarding the inhibiting mechanism [22].

The present work focuses on the assessment of the inhibition performance of HECG in C38 steel corrosion under different temperatures and inhibitor concentrations. Various kinetic parameters for C38 steel corrosion in the absence and presence of the HECG were calculated and discussed.

2. Materials and Methods

2.1. Inhibitor Extraction

The used coffee grounds in this study were locally regularly taken from the same supplier. It is a blend of Arabica and Robusta coffees; which are the two most commonly consumed varieties of coffee in the world [12]. The used coffee grounds were put in the oven at 40°C in order to avoid any alteration during storage and also for drying.

The HECG was obtained by soxhlet extraction. 63 g of the solid was placed in a cartridge and then introduced into the soxhlet apparatus. In the flask, 300 mL of solvent (25% of the distilled water and 75% ethanol) was brought to a boil at a temperature of 78°C. When the solvent reaches the upper level of the siphon, the mixture was returned to the tank by pressure difference, where it was evaporated again and a new cycle starts again for a period of 5 hours.

Then, the final extract was recovered using a “rotavapor R-210”. The extraction yield was determined using the following equation [23]:

where Y is the yield in %, mext is the mass of the extract after evaporation of the solvent in g and mech is the dry mass of the sample before extraction in g. The assays were performed in the concentration range from 0.25 to 2 g/L.

2.2. Material and Samples Preparation

The steel used in this work was a C38 carbon type with the chemical composition (wt.%) given in Table 1.

The exposed surface of working electrodes was abraded using a series of emery paper SiC (120–600 grade), followed by rinsing with distilled water, then degreased in acetone under ultrasound and then dried with hot air.

2.3. Electrochemical Assays

All electrochemical tests were carried out using a potentiostat “SP-150” piloted by EC-Lab software and in a Pyrex Cell equipped with a conventional three-electrode assembly. C38 steel has been used as working electrode (WE), saturated calomel electrode Hg/Hg2Cl2/KCl (SCE) as reference electrode and platinum as an auxiliary electrode. The electrolyte was a 1 M HCl solution prepared from a commercial 37% HCl solution and distilled water. Tests were performed under varying temperatures from 293.15 to 323.15 K in 1 M HCl medium with and without different concentrations of the HECG after 30 min of immersion, in order to obtain a steady-state of the open circuit potential (EOCP).

The anodic and cathodic polarization curves were plotted at a constant scan rate of 0.5 mV/s. The inhibition efficiency IE has been calculated according to the following equation:

where icorr and icorr, 0 are, respectively, the corrosion current density values of the steel determined by extrapolation of the cathode lines of TAFEL, with and without the addition of the inhibitor.

Electrochemical impedance measurements were performed after potential stabilization, applying a sinusoidal potential perturbation of 10 mV, in the frequency range from 100 kHz to 10 mHz with 6 points per decade. The inhibition efficiency IE has been determined using the following equation:

where Rct and Rct, 0 are, respectively, the charge transfer resistance (Rct) values of the steel with and without the addition of the inhibitor.

3. Results and Discussion

3.1. Open Circuit Potential (EOCP) Measurements

Figure 1 shows the evolution of the open circuit potential according to immersion time during 30 minutes. The potential evolves towards stable values during the immersion time at each temperature and for all studied concentrations of HECG.

The EOCP reaches quickly a steady-state condition after 30 minutes. Previous investigations reported similar behavior [15, 24]. All measured values are limited to a small range of potentials (between −0.52 V/ECS and −0.41 V/SCE) and only slight differences can be detected. There is no correlation between the variation of EOCP and concentration. Indeed, the displacement of the HECG open circuit potential curves compared to that of the blank can indicate a mixed inhibition of corrosion, in agreement with the results of Torres et al. [25].

3.2. Potentiodynamic Polarization Assay

The potentiodynamic polarization was performed in order to assess the temperature effect on the inhibition performance of the HECG on C38 steel corrosion. The experiments were conducted at different temperatures (293.15–323.15 K) in 1 M HCl without and with different concentrations of the HECG (Figure 2).

From Figure 2, the addition of the HECG inhibitor leads to an inhibition of both cathodic and anodic reactions. This supports the fact that the HECG inhibits C38 steel corrosion by controlling both anodic and cathodic reactions (mixed type inhibitor) [26, 28]. Nonetheless, a negative displacement of the corrosion potentials, compared to the blank solution, has occurred [29]. This may be explained by the adsorption of the inhibitor molecules on active sites, thereby reducing the reduction of H+ ions [4].

In the anodic domain, the potential moves positively above a specific value, the inhibitor desorption begins to occur. This potential can be defined as the desorption potential [30]. This also indicates that the desorption rate of HECG is greater than the one of adsorption for such potentials [31]. In addition, at higher temperatures, the inhibitor desorption started at more negative potentials compared to that of 393.15 K. This confirms that the corrosion of C38 steel in 1 M HCl is significantly enhanced when the temperature increases [3234]. After the desorption potential, the plots become almost similar to the blank one. This was found to occur for all studied temperatures and all inhibitor concentrations.

Figure 3 illustrates the temperature dependence of C38 steel corrosion in 1 M HCl solution in the presence of different concentrations of the HECG.

The electrochemical parameters obtained from the polarization curves are listed in Table 2.

From Table 2 and Figure 3, it can be observed that the inhibition efficiency of HECG rises with increasing concentration and significantly decreases with increasing temperature, for both uninhibited and inhibited solutions. By increasing the temperature, the aggressiveness of the corrosive medium is expected to increase. Accordingly, the inhibition efficiency decreases [4, 11]. This may be an indication of the physical adsorption mechanism of HECG on the metal surface [35]. Nevertheless, HECG could continue to strongly adsorb and serve as an effective corrosion inhibitor for C38 steel. IE was maintained at 92.71% with 2 g/L HECG at a temperature of 323.15 K.

3.3. Electrochemical Impedance Spectroscopy (EIS)

The electrochemical impedance spectroscopy was performed to investigate the effect of the temperature and inhibitor concentration on the impedance behavior of C38 steel in 1 M HCl solution. The Nyquist and the corresponding Bode plots are presented in Figures 4 and 5, respectively.

The global form of the Bode diagrams is generally similar in both cases (with and without inhibitor); it is the same for all concentrations and all studied temperatures. This indicates that the addition of the inhibitor does not induce any change in the corrosion mechanism [36]. From Figure 4 one time constant was observed for all concentrations and temperatures except for the concentration of 2 g/L, two time constants were noticed at 313.15 and 323.15 K. Additionally, it can be clearly seen that the maximum phase angle increases with the rise of HECG concentration, which may be due to the inhibitor’s adsorption on the steel surface [37]. A linear relationship between log |Z| versus log (freq) has also been noted. Table 3 shows the values of the slopes of the Bode plots at intermediate frequencies, the maximum phase angles (θmax) and the corresponding frequencies (freqma) for C38 steel in 1 M HCl solution containing different concentrations of HECG at different temperatures.

From Table 3, we noticed that the slopes of the Bode plots at intermediate frequencies ranging from −0.3 to −4.1 and maximum phase angles (θmax) ranging from 35° to 69°. These deviations of the slopes and θmax from the ideal values of −s1 and −90°, respectively, can be considered as the deviation from the ideal capacitive behavior [30].

At each temperature, the frequency range with the maximum phase angle widened as the inhibitor concentration rose. These results supported the inhibition ability of the HECG studied for corrosion of C38 steel in HCl 1 M medium [27].

The Nyquist diagrams obtained consist of the depressed semi-circle, which indicates that the steel dissolution is essentially a charge transfer process [38].

The size of the Nyquist plots rises with respect to the blank solution and with increasing HECG concentration signifying that the HECG compounds formed an inhibitor film on the C38 steel surface. Moreover, a decrease in the size of the capacitive loops as the temperature increase was observed. This behavior implies that an increase in temperature accelerates the corrosion process [27].

All the spectra were well modeled using a time constant shown in Figure 6(a), excluding the concentration 2 g/L in both temperatures 303.15 and 323.15 K. In the last case, a second time constant was added to the equivalent circuit used (Figure 6(b)) to adjust the experimental points. The electrical parameters determined from the adjustment of the experimental data are collected in Table 4.

In this model, R1 represents the resistance of the solution, placed in series with the resistance due to the film formed on the steel surface (R2); R3 is the resistance of the faradic reaction. Q1, Q2, and Q3 are the constant phase elements representing the capacity of the double layer at the metal/solution interface. Generally, there is a phase shift between “Q” and “pure capacity”. Therefore, the simulation of impedance spectra can be performed by replacing the capacitor C with a constant phase element (CPE). The impedance of the CPE is described by the following equation [39]:

where Y0 is the general induction function, j denotes the complex operator, ω denotes the angular frequency (in rad.s−1) and n denotes the coefficient related to the phase shift which can be explained by the degree of homogeneity of the metal surface (0 < n ≤ 1), n = 1 when the CPE is reduced to an ideal capacitor (C) [40].

The CPE was introduced into the circuit, in order to take into account the nonideal behavior due to the phenomena of inhomogeneity, roughness, porosity, and adsorption on the C38 steel surface. The Cdl value can be calculated using the following equation [27]:

where ωmax = 2πfmax and fmax is the frequency at the maximum value of the imaginary component of the impedance spectra.

The results obtained by adjusting the electrical parameters using these electrical circuits are presented in Table 4.

The uncompensated resistance at high frequency, which corresponds to the resistance of the electrolyte, seems to be slightly affected by the addition of the HECG, which indicates that the extract used meets the requirement of being reliable without changing the physicochemical parameters of the solution. Besides, the addition of the HECG induces a simultaneous increase in resistance film and that of the faradic reaction, which shows the protective effect of the extract against C38 steel corrosion. The decline in the capacity as the concentration of HECG rises can lead to a decrease in the dielectric constant and consequently an increase in the thickness of the double layer, in accordance with Helmholtzʼs model [25] as follows:

where ɛ is the dielectric constant of the medium, ɛ0 is the vacuum permittivity, A is the electrode surface area and δ is the thickness of the protective layer. This suggests that the HECG molecules gradually replace the water molecules and other ions initially adsorbed to the surface.

All the findings above indicate the decreasing of inhibition efficiency of HECG with temperature, which can be attributed to the desorption of the adsorbed inhibitor molecules as a result of increased thermal agitation. Consequently, the roughness of the metal surface increases, which can also reduce the ability of the inhibitor to be adsorbed on the metal surface [42].

3.4. Adsorption Isotherm and Mechanism of Corrosion Inhibition

It was previously reported that the interaction between inhibiting molecules and the metallic surface is a primary factor in determining the effectiveness of an inhibitor [43, 44]. Different adsorption isotherms including Temkin, Frumkin, and Langmuir were, therefore, tested to adjust the data obtained from polarization curves.

We have found that the Langmuir isotherm gives the best fit (Figure 7), with a correlation coefficient R2 = 0.99. This suggests that the adsorption of HECG on the C38 steel surface, obeys the Langmuir isotherm, which can be represented as follows [45, 46]:

where θ is the surface coverage, , Cinh is the inhibitor concentration in the electrolyte and Kads the equilibrium constant of the adsorption process, representing the degree of adsorption.

The Langmuir isotherm assumes that the metal surface contains a fixed number of active sites and each inhibitor molecule occupies a single active site [47, 48].

As reported, the adsorption equilibrium constant (Kads), and the standard adsorption free energy are the primary adsorption factors in corrosion inhibition investigations [49, 50]. These two parameters are linked by the following equation [39]:

where R is the molar gas constant, T is the absolute temperature and 55.5 is the molar concentration of water in mol.l−1.

The adsorption parameters obtained from Langmuir isotherm adjustment are shown in Table 5.

As reported in Table 5 and according to the results reported by Qiang et al. [27] and Alaneme et al. [17], the Kads values decrease with temperature, which implies an intensification of corrosion, thus limiting the ability of the inhibitor to adsorb on the C38 steel surface.

Negative values of the standard free adsorption energy, as shown in Table 5 refer to the spontaneous adsorption of the extract compounds on the C38 steel surface [51, 52]. The absolute values of lated are less than 20 kJ mol−1, meaning that the inhibitor adsorption on the metallic surface occurred, generally, by a physical adsorption mechanism [38, 53]. This kind of adsorption implies electrostatic interaction between a charged molecule and a charged metal, which is highly sensitive to thermal agitation and easily breaks as the latter rises [35], this supports the conclusion that the inhibition efficiency decrease with increasing temperature.

For the inhibition mechanism, in hydrochloric acid medium, the mechanism proposed for the corrosion of C38 steel by other authors and which seems to be the most adequate for the cathodic reaction of hydrogen release includes the following steps [40]:

Similarly, the proposed dissolution mechanism for the anodic reaction involving the role of chloride ions in this process is as follows [54]:

According to the detailed mechanism above, the displacement of some adsorbed Clwater molecules on the metal surface by the inhibitor species to yield the adsorbed intermediate (FeCl)ads reduces the amount of the species (FeCl+)ads available for the rate-determining steps and consequently retards Fe anodic dissolution [56].

3.5. Thermodynamic Parameters

The assessment of thermodynamic parameters is of great importance in the analysis of the adsorption of inhibitors on the metal surface [4, 57].

The plots of icorr and icorr/T as a function of reciprocal of the temperature were fitted well and are illustrated in Figure 8.

The thermodynamic parameters for the studied system were estimated using the following equations [58, 59]:

where is the activation energy and K = Arrhenius constant

, , , and are the Avogadro number, the Planck constant, the entropy the activation enthalpy, respectively.

The results are presented in Table 6.

The plots of ln(icorr) vs. 1/T and ln(icorr/T) vs. 1/T gave straight lines with linear regression coefficients were close to unity for all the inhibitor concentration studied.

The parameters in Table 6 revealed that the apparent activation energy values, Ea for the blank solution is 35.07 kJ.mol−1 and in the presence of the HECG ranges from 44.03 to 61.59 kJ.mol−1. It is evident that activation energy is higher in inhibited solution than in the blank one.

According to Mobin et al. [60], Karthikaiselvi et al. [61], the higher Ea value in presence of inhibitor indicates physical adsorption mechanism of the inhibitor on the steel surface. The increase in Ea value can also be attributed to a noticeable decrease in the adsorption of the inhibiting molecules on the metallic surface with an increase in temperature [62]. This suggests that the energy barrier of the corrosion reaction rises in the presence of the HECG [63, 64].

The positive sign of the enthalpy values is principally associated with endothermic nature of the corrosion process of C38 steel, meaning the slow dissolution of C38 steel in the presence of the HECG [64, 65].

As reported in Table 6, the negative increase in values reflects that velocity represents an association rather than a dissociation step. This implies that a decrease in disorder occurs when reagents are transferred to the activated complex [28, 64].

It is important to indicate that the adsorption mechanism of natural product extracts explanation is complicated. This is due to the ignorance of the molecular structure and number of the chemical components in the extract. Some authors [36, 48, 66], in their study on acidic corrosion media with extracts, reported the same limitation. Notwithstanding this limitation, the present study can strongly state that corrosion of C38 steel is inhibited by the addition of inhibitor in HCl 1 M medium and also that inhibiting efficiency decreases with increasing temperature.

Many studies report that in acid concentrations, more or less close to 1 M, extracts of natural products are known as effective inhibitors that act mainly as mixed type corrosion inhibitors [67, 68]. In fact, natural products are rich with compounds, which can interact with a metal surface and block anodic and cathodic corrosion mechanism. These compounds are mainly, organic sugars, alkaloids, tannins, polyphenols, flavonoids, …etc. [67].

Torres et al. [25] have highlighted the higher level of antioxidant components in the aqueous coffee ground extract which indicates that it is a suitable candidate for inhibiting carbon steel corrosion. Moreover, the hydro-alcoholic extract of used coffee grounds is a competitive inhibitor with a high inhibition efficiency compared to other extracts (Table 7), which may be due to the extraction method and the polarity of the solvent used.

It is to be noted that the great inhibition effectiveness of coffee residue extracts is obviously an excellent opportunity to recycle this type of residue, which has been considered as waste [68].

Table 7 lists different coffee extracts used as an inhibitor for steel corrosion in 1 M HCl medium.

4. Conclusion

The following results can be drawn from this study:(i)The inhibition efficiency values increased with increasing HECG concentration and decreased with temperature.(ii)The results obtained from the potentiodynamic polarization indicate that HECG has affected anodic and cathodic reactions, allowing a mixed-type inhibition by a simple blockage of the active sites on the metal.(iii)The Langmuir adsorption isotherm was found to better describe the experimental results reported in this study. In the same way, the thermodynamic parameters obtained from this study indicate that the presence of the HECG increases the activation energy, and the negative value of is a sign of spontaneous adsorption of the HECG species on the C38 steel surface.

Nevertheless, HECG has a great potential as a C38 steel corrosion inhibitor with an important efficiency value of 92.71%, with a concentration of 2 g/L at 323.15 K.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

We thank Karimi Lamiae, Researcher at Laboratory of Space and Culture, and faculty of Letters and Humanities, Mohamed Premier University Oujda for participating in the language review.