**Abstract**

Various kinds of methods have been developed and used to overcome different types of corrosion throughout the world. One possible and easy way to avert corrosion is use of an inhibitor. An inhibitor can be applicable to any type of metal irrespective of medium (acid, alkaline, and neutral). Still, several inhibitors are emerging day by day in the corrosion world and most of them are heterocyclic compounds. In this respect, ionic liquid is attracting the attention of the research community. Because of ionic liquid's salient feature of melting and boiling points, it is being employed as a solvent in various types of reaction. In recent years, synthesizing and functionalizing the structure of ionic liquids in such a way to attain the desire requirement have become significant key factors in the field. By altering the cationic part or anionic part (halogen group), the chemical property of ionic liquids will change considerably. Besides, it will enhance the tendency of the electrondonating nature of the cationic part. This behavior equips them to be employed in the field of corrosion. While it meets the metal surface in the aggressive medium it will be attracted, leads to better surface protection from metal dissolution.

**Keywords:** ionic liquids, inhibitor, electrochemical analysis, structure effect, surface protection

## **1. Introduction**

Corrosion is defined as the destruction or deterioration of metal because of its reaction with the environment. The age of corrosion is as old as the earth. It is known that it had different names at different time. However, carbon steel is prone to corrosion in an acid environment, which causes material damage and increases downtime costs in industry. Hence, a periodical cleaning and descaling process is performed using inorganic acids to remove the corrosion products. Due to acid aggressiveness, inhibitors were used to reduce metal dissolution [1]. The study of corrosion inhibition and mechanistic processes is a key area of research [2]. A large number of organic compounds having nitrogen, oxygen, sulfur, and phosphorus were synthesized to reduce the corrosion of metal in aggressive medium. The literature also revealed that the organic compounds containing π-bonds, electron density on the heteroatom, planner structure, and aromaticity have supported the effects of adsorption inhibitor molecules on the metal surface.

Over the last few decades, several types of organic compounds have been synthesized and used as corrosion inhibitors to mitigate the corrosion process in different environments [3–5]. More recently, ionic liquids have been recognized as a better corrosion inhibitor for metal corrosion in an acid environment [6–9]. Due to their unique properties such as non-flammability, very low vapor pressure, and boiling and melting point, ionic liquids can be considered to be good corrosion inhibitors. Recently, the software development in the theoretical analysis of molecules to describe plausible corrosion mechanisms has increased considerably [10]. Ionic liquids are salts, a combination of (organic) cation and (organic/inorganic) anion as a liquid form at room temperature; in other words, they are called organic salts, which have melting points below room temperature. The electronic configuration of imidazolium (heterocyclic) depends on the heteroatom of the main carbon skeleton and furthermore causes the interaction between the metal surface and ionic liquid [11]. The significant features of its physical and chemical properties such as liquid state, low vapor pressure, viscosity, and inflammability place ionic liquids in the field of corrosion as inhibitors. The various kinds of cation and anion govern the possibility to have property that required. Many ionic liquids are used as solvents for batteries and organic reactions. The application of ionic liquids in the corrosion field was first reported in 1996. The ionic liquid dissociation pattern gave a clue to the adsorption mode on the metal surface. The adsorption combination of ionic liquids depends on the metal nature and temperature.

The literature shows that inhibition effect mainly depends on alkyl chain length substitution on the N1/N2 atoms. A heterocyclic compound containing a longer alkyl chain length would offer better corrosion protection [12]. However, many studies have implied that increasing the carbon chain length on N atoms does not necessarily increase the inhibition effect [13, 14]. Murulana [15] supported the above fact and described that not only does increasing alkyl chain length in the N atom increase protection efficiency but also other atoms close by will enhance the protection effect. The main reason for surface protection is the induction of alkyl substitution on the cationic part of the ionic liquid.

### **2. Structural impact of ionic liquid in various aspects**

#### **2.1 Implication of ionic liquid alkylation in electrochemical studies**

Since ionic liquids possess cations and anions, they are adsorbed onto the metal surface anodes and cathodes, respectively. Because of this, metal dissolution considerably decreases. The adsorbing efficiency of the inhibitor purely depends on the electron-donating ability of the ionic liquid active site [16]. Likhanova et al. [17] explained in his research that the electrochemical parameter showed the alkylation of longer chain length on imidazolium and pyridinium and significantly improved charge transfer resistance. Additionally, inhibitor concentration also improved metal dissolution at the metal/solution interface. In the presence of ionic liquid, the anodic and cathodic reactions were affected. ImDC18 Br and PyC18 Br inhibit the anodic area more than the cathodic area, because of the adsorption between HSO4 <sup>−</sup> and Br<sup>−</sup>, and consequently, the cathodic reaction is also arrested. The increased polarization resistance indicates the adsorption of ionic liquid on the metal surface to block the active area for the mitigation of corrosion. This efficiency has increased due to the presence of ethylbenzene at the N3 atom of the imidazole ring. Delocalization of the electron is much favored in the 3-ethylbenzene form of imidazolium ionic liquid than in the acetyl imidazolium form [18]. On the other hand, the (pyridiazinium ionic liquid, S1) 1-(6-ethoxy-6-oxohexyl) pyridazin-1-ium bromide bears a higher

**29**

*Structural Effect in Ionic Liquids Is the Vital Role to Enhance the Corrosion Protection of Metals…*

charge transfer resistance value than the (S2) 1-(2-bromoacetyl) pyridiazinium bromide, which is advocated for reasonable corrosion protection at elevated temperatures. The causes behind better corrosion protection were increased frequency

Long alkyl chain length improves the relaxation time at the interface of the metal/ solution interface. Some authors [20] have reported the influence of negative ions of ionic liquids in electrochemical studies. According to Martin et al., corrosion rate decreased with an ionic liquid with the same alkyl chain length but different counter ion (anionic). The surface coverage area obeys the following

tion than the others [14]. The negative ion contribution in the ionic liquid structure could be evaluated through its corrosion protection performance. Saleh et al. discussed the effect of Br<sup>−</sup> and Cl<sup>−</sup> ions with cetylpyridinium ions in sulfuric acid

Corrosion current has decreased considerably compared to the blank medium. The bromide ion has a stronger effect on anodic dissolution than the chloride ion. The anionic radius of bromine atoms is better suited for the bonding and surface coverage area on the metal/solution interface. Likewise, the anionic effect of ethyl sulfate and acetate ions on ethylmethylimidazolium can be deduced by comparing its protection efficiency over mild steel. Among the ionic liquids, [EMIM] [EtSO4] is better at mitigating the anodic curve current than the acetate ion. Most probably, the inhibition efficiency is higher than the acetate ion, and this is attributed to the increased number of electronegative (hetero) atoms in the ionic liquid. On the other hand, the [EMIM] [Ac] ionic liquid showed reduced contribution compared

to the [BMIM] [Ac] ionic liquid because of its long alkyl chain length [22].

**2.2 Improvement in electrochemical noise resistance due to structural** 

medium afforded the noise resistance value of 1.474 × 104 Ω cm2

BF4

Br<sup>−</sup>. [BMEB]+

were reduced due to the adsorption of ionic liquid ([BMMB]<sup>+</sup>

value increased from 5.29 to 27.7 × 104 Ω cm2

noise to reduce gradually that of [BMMB]<sup>+</sup>

protection in acid medium as shown in **Figure 1**.

concurrently noise resistance increased.

On the other hand [24], [BMEB]<sup>+</sup>

the interface than [BMMB]+

concentration than [BMMB]<sup>+</sup>

Electrochemical noise is another technique to ensure corrosion protection of the metal surface offered by ionic liquids. When the metal is exposed to the acid medium, the electrochemical reaction commences as fast as it can. As a result, the current is measured in the form of current deviation (*σI*). For the blank medium, current noise appears with higher amplitude, vindicating the absence of passivation over the metal surface. Also, the current transient width and amplitude designate the available active surface area on the metal surface. Metal immersed in acid

150 to 250 ppm, respectively. On observing [23], the noise amplitude decreased at each concentration level of ionic liquid. This ionic liquid contributed to corrosion protection by governing its electron-rich center to form a bonding with the metal.

chemical reaction taking place. As a result, current noise amplitude decreased and

On comparing the noise resistance value of both ionic liquids, it clearly indicates that ethyl-derived ionic liquid has a better tendency to protect the metal surface at

BF4

were more susceptible to transferring electrons, which resulted in better corrosion

<sup>−</sup> > Br<sup>−</sup> > Cl<sup>−</sup>. Hence, the ionic radius of the anions is increased by

<sup>−</sup>turns out to have better protec-

. These active areas

Br<sup>−</sup>). Thus, the *Rn*

, as the concentration increased from

<sup>−</sup> ionic liquid influences the electrochemical

Br<sup>−</sup> at the same concentration. Ethyl and BF4 groups

Br<sup>−</sup>, which is attributed to less electro-

<sup>−</sup> possesses higher noise value at each

of relaxation [19] as the concentration and temperature increased.

*DOI: http://dx.doi.org/10.5772/intechopen.82422*

the same amount. The larger anionic radius of PF6

order: PF6

<sup>−</sup> > BF4

over mild steel [8, 21].

**modification of the inhibitor**

#### *Structural Effect in Ionic Liquids Is the Vital Role to Enhance the Corrosion Protection of Metals… DOI: http://dx.doi.org/10.5772/intechopen.82422*

charge transfer resistance value than the (S2) 1-(2-bromoacetyl) pyridiazinium bromide, which is advocated for reasonable corrosion protection at elevated temperatures. The causes behind better corrosion protection were increased frequency of relaxation [19] as the concentration and temperature increased.

Long alkyl chain length improves the relaxation time at the interface of the metal/ solution interface. Some authors [20] have reported the influence of negative ions of ionic liquids in electrochemical studies. According to Martin et al., corrosion rate decreased with an ionic liquid with the same alkyl chain length but different counter ion (anionic). The surface coverage area obeys the following order: PF6 <sup>−</sup> > BF4 <sup>−</sup> > Br<sup>−</sup> > Cl<sup>−</sup>. Hence, the ionic radius of the anions is increased by the same amount. The larger anionic radius of PF6 <sup>−</sup>turns out to have better protection than the others [14]. The negative ion contribution in the ionic liquid structure could be evaluated through its corrosion protection performance. Saleh et al. discussed the effect of Br<sup>−</sup> and Cl<sup>−</sup> ions with cetylpyridinium ions in sulfuric acid over mild steel [8, 21].

Corrosion current has decreased considerably compared to the blank medium. The bromide ion has a stronger effect on anodic dissolution than the chloride ion. The anionic radius of bromine atoms is better suited for the bonding and surface coverage area on the metal/solution interface. Likewise, the anionic effect of ethyl sulfate and acetate ions on ethylmethylimidazolium can be deduced by comparing its protection efficiency over mild steel. Among the ionic liquids, [EMIM] [EtSO4] is better at mitigating the anodic curve current than the acetate ion. Most probably, the inhibition efficiency is higher than the acetate ion, and this is attributed to the increased number of electronegative (hetero) atoms in the ionic liquid. On the other hand, the [EMIM] [Ac] ionic liquid showed reduced contribution compared to the [BMIM] [Ac] ionic liquid because of its long alkyl chain length [22].

## **2.2 Improvement in electrochemical noise resistance due to structural modification of the inhibitor**

Electrochemical noise is another technique to ensure corrosion protection of the metal surface offered by ionic liquids. When the metal is exposed to the acid medium, the electrochemical reaction commences as fast as it can. As a result, the current is measured in the form of current deviation (*σI*). For the blank medium, current noise appears with higher amplitude, vindicating the absence of passivation over the metal surface. Also, the current transient width and amplitude designate the available active surface area on the metal surface. Metal immersed in acid medium afforded the noise resistance value of 1.474 × 104 Ω cm2 . These active areas were reduced due to the adsorption of ionic liquid ([BMMB]<sup>+</sup> Br<sup>−</sup>). Thus, the *Rn* value increased from 5.29 to 27.7 × 104 Ω cm2 , as the concentration increased from 150 to 250 ppm, respectively. On observing [23], the noise amplitude decreased at each concentration level of ionic liquid. This ionic liquid contributed to corrosion protection by governing its electron-rich center to form a bonding with the metal. On the other hand [24], [BMEB]<sup>+</sup> BF4 <sup>−</sup> ionic liquid influences the electrochemical noise to reduce gradually that of [BMMB]<sup>+</sup> Br<sup>−</sup>, which is attributed to less electrochemical reaction taking place. As a result, current noise amplitude decreased and concurrently noise resistance increased.

On comparing the noise resistance value of both ionic liquids, it clearly indicates that ethyl-derived ionic liquid has a better tendency to protect the metal surface at the interface than [BMMB]+ Br<sup>−</sup>. [BMEB]+ BF4 <sup>−</sup> possesses higher noise value at each concentration than [BMMB]<sup>+</sup> Br<sup>−</sup> at the same concentration. Ethyl and BF4 groups were more susceptible to transferring electrons, which resulted in better corrosion protection in acid medium as shown in **Figure 1**.

*Corrosion Inhibitors*

Over the last few decades, several types of organic compounds have been synthesized and used as corrosion inhibitors to mitigate the corrosion process in different environments [3–5]. More recently, ionic liquids have been recognized as a better corrosion inhibitor for metal corrosion in an acid environment [6–9]. Due to their unique properties such as non-flammability, very low vapor pressure, and boiling and melting point, ionic liquids can be considered to be good corrosion inhibitors. Recently, the software development in the theoretical analysis of molecules to describe plausible corrosion mechanisms has increased considerably [10]. Ionic liquids are salts, a combination of (organic) cation and (organic/inorganic) anion as a liquid form at room temperature; in other words, they are called organic salts, which have melting points below room temperature. The electronic configuration of imidazolium (heterocyclic) depends on the heteroatom of the main carbon skeleton and furthermore causes the interaction between the metal surface and ionic liquid [11]. The significant features of its physical and chemical properties such as liquid state, low vapor pressure, viscosity, and inflammability place ionic liquids in the field of corrosion as inhibitors. The various kinds of cation and anion govern the possibility to have property that required. Many ionic liquids are used as solvents for batteries and organic reactions. The application of ionic liquids in the corrosion field was first reported in 1996. The ionic liquid dissociation pattern gave a clue to the adsorption mode on the metal surface. The adsorption combination of

ionic liquids depends on the metal nature and temperature.

substitution on the cationic part of the ionic liquid.

**2. Structural impact of ionic liquid in various aspects**

**2.1 Implication of ionic liquid alkylation in electrochemical studies**

Since ionic liquids possess cations and anions, they are adsorbed onto the metal surface anodes and cathodes, respectively. Because of this, metal dissolution considerably decreases. The adsorbing efficiency of the inhibitor purely depends on the electron-donating ability of the ionic liquid active site [16]. Likhanova et al. [17] explained in his research that the electrochemical parameter showed the alkylation of longer chain length on imidazolium and pyridinium and significantly improved charge transfer resistance. Additionally, inhibitor concentration also improved metal dissolution at the metal/solution interface. In the presence of ionic liquid, the anodic and cathodic reactions were affected. ImDC18 Br and PyC18 Br inhibit the anodic area more than the cathodic area, because of the adsorption between HSO4

and consequently, the cathodic reaction is also arrested. The increased polarization resistance indicates the adsorption of ionic liquid on the metal surface to block the active area for the mitigation of corrosion. This efficiency has increased due to the presence of ethylbenzene at the N3 atom of the imidazole ring. Delocalization of the electron is much favored in the 3-ethylbenzene form of imidazolium ionic liquid than in the acetyl imidazolium form [18]. On the other hand, the (pyridiazinium ionic liquid, S1) 1-(6-ethoxy-6-oxohexyl) pyridazin-1-ium bromide bears a higher

<sup>−</sup> and Br<sup>−</sup>,

The literature shows that inhibition effect mainly depends on alkyl chain length

substitution on the N1/N2 atoms. A heterocyclic compound containing a longer alkyl chain length would offer better corrosion protection [12]. However, many studies have implied that increasing the carbon chain length on N atoms does not necessarily increase the inhibition effect [13, 14]. Murulana [15] supported the above fact and described that not only does increasing alkyl chain length in the N atom increase protection efficiency but also other atoms close by will enhance the protection effect. The main reason for surface protection is the induction of alkyl

**28**

**Figure 1.** *Schematic representation of electrochemical noise analysis (ENA) of ionic liquids.*

## **2.3 Significance of carbon chain length on surface protection of metal in acid medium**

On comparing the surface protection effect of any ionic liquid with its alkylated and non-alkylated form, it would help to understand the structure effect of surface protection. Gabler et al. [25] reported that strong binding between metal surface and ionic liquid is key for corrosion reduction. In an electrochemical study of 2-hydroxy- and butylammonium sulfonyl imide, the C▬F bond cleavage was reduced significantly in butyl form compared to the former. On the other hand, Kaczerewska et al. [26] studied the structural effect of inhibition efficiency on metal protection in acid medium. Interconnecting a gemini cation with a bridged oxygen atom showed better surface coverage to avert corrosive ion contact with metal surfaces. The 18-O-18 gemini cationic part of ionic liquid offered improved protection resistance against metal dissolution [27]. Vastag et al. suggested [12] that by increasing the alkyl chain number in N-substituted cations would favor the inhibitor action of organic compounds to isolate metal from further corrosion. Generally, the surface protection of ionic liquid on carbon steel was improved when the N3 atom was alkylated with carbon chain lengths from n-7 to n-9. Infrared spectra also confirmed the shift in wave number [7]. Image examination of metal surfaces exposed to 1-ethyl [12] and 1-allyl [28] 3-butylimidazolium bromide ionic liquid expressed the inhibition effect of ionic liquid. The inductive effect of the allyl group offered increased electrons in its structure in the cation of ionic liquid. Hence, as resonance increased, the adsorption of ionic liquids over the metal surface also increased. Damage to the negative ions in the ionic liquids influenced corrosion protection [29]. HSO4 <sup>−</sup> has greater tendency to render protection on metal surfaces than BF4 <sup>−</sup>. Sometimes, iminium compounds reduce surface heterogeneity, caused by adsorption of ionic liquid over the metal surface. Apparently, elemental analysis of the inhibited metal showed that the inhibitor's constituents were 15 wt% of carbon and 10 wt% of oxygen, and also corroborated that dodecyl iminium chloride is more favorably adsorbed than the non-alkylated form [30].

**31**

[BMEB]+

*Structural Effect in Ionic Liquids Is the Vital Role to Enhance the Corrosion Protection of Metals…*

The hydrogen gas evolution method is one of the ways to determine the corrosion rate of metal in an aggressive medium. Hydrogen gas evolution is a result of a reduction (cathodic) reaction at the metal surface. The volume of hydrogen gas produced in the medium is gradually reduced in the presence of ionic liquid. The increment in alkyl chain length on N1 atoms of the benzimidazolium cation offers maximum surface coverage on the active site. Thus, a lesser amount of hydrogen gas will be produced than the blank medium [24]. As seen, the volume of hydrogen gas is reduced for both methyl and ethyl benzimidazolium ionic liquid in concentration [23]. Furthermore, it can be understood that each concentration of ethyl benzimid-

From the above valid point, it is vindicated that the alkyl chain length offers maximum energy or electrons to adhere to the cathode area, which is also the route to sturdy passive film formation between the corrosive medium and the metal surface. The general corrosion mechanism for carbon steel in 1 N HCl acid is described below. As shown in the following equation the ionic liquid is adsorbed onto the anodic and cathodic areas of the carbon steel surface,

Br<sup>−</sup>:

<sup>−</sup> + BMMB<sup>+</sup> ⇋ [Fe (Cl)−BMMB+

<sup>−</sup> +BMMB<sup>+</sup> → [Fe (Br)−BMMB+

<sup>−</sup> + BMEB<sup>+</sup> ⇋ [Fe (Cl)−BMEB+

<sup>−</sup> +BMEB<sup>+</sup> → [Fe (Br)−BMEB+

Br<sup>−</sup>:

, and thus hydrogen gas evolution was reduced.

<sup>+</sup> + e<sup>−</sup> → Fe(BMMB)ads (7)

Likewise in the cathodic area, the reduction (hydrogen gas formation) reaction was considerably decreased due to the alkylation impact of ionic liquid on the

<sup>−</sup> ⇋ (Fe Cl)ads

<sup>−</sup> (1)

]ads (2)

]ads (3)

]ads (4)

]ads (5)

<sup>+</sup> (6)

<sup>+</sup> (8)

<sup>−</sup>) possesses a very low volume of H2 gas compared to methyl

**2.4 Study of hydrogen gas evolution over N1 atom of ionic liquid acid**

Br<sup>−</sup>).

*DOI: http://dx.doi.org/10.5772/intechopen.82422*

BF4

Anodic protection reaction of [BMMB]<sup>+</sup>

Fe + (Cl)ads

Fe (Cl)ads

Fe(Br)ads

Fe (Cl)ads

Fe(Br)ads

adsorption effect instead of H+

 BF4 −:

Cathodic protection reaction of [BMMB]<sup>+</sup>

Fe(BMMB)ads

Fe + BMMB<sup>+</sup> ⇋ Fe(BMMB)ads

Fe + BMEB<sup>+</sup> ⇋ Fe(BMEB)ads

BF4 −:

azolium ([BMEB]<sup>+</sup>

respectively.

[BMEB]<sup>+</sup>

benzimidazolium ([BMMB]+

*Structural Effect in Ionic Liquids Is the Vital Role to Enhance the Corrosion Protection of Metals… DOI: http://dx.doi.org/10.5772/intechopen.82422*
