1 Introduction

The deterioration of aluminium and aluminium alloys via corrosion is still a concern to manufacturing industries, especially in marine, aerospace, automotive, food packing and photoelectric material producing industries [1, 2]. Although, aluminium and its alloy offer higher degrees of resistance to corrosion relative to mild steel in the aggressive environment due to the formation of oxide layers on their surfaces over time. However, these oxide layers are eventually destroyed by the environmental contaminants on prolonged exposure [3,4,5]. Constant or even occasional exposure of machinery components and other mechanical devices made of aluminium to sulphide, hydrogen and chloride ion could be detrimental to the life span of the material, due to pitting initiation and subsequent material failure [6,7,8]. The danger with the pitting of materials is that it might not be noticed until failure occurs, particularly if the growth of the pit is inward [9, 10]. Therefore, continuous examination and re-examination of inhibitive devices that can effectively protect commonly used engineering materials like aluminium and its alloys from corrosion and other forms of degradation have been the focus of researchers [11,12,13].

Aluminium and aluminium alloy degradation prevention, protection and maintenance have continued to be a subject of global interest due to their numerous engineering applications and some inherent superior properties they exhibit compared to varieties of industrial materials, which make them one of the indispensable and widely used materials in the world of technology [14, 15]. However, depreciation in the properties of aluminium and its alloys have been broadly linked to contact with saline, acidic and alkaline media by copious studies [5, 16,17,18,19], and as a result, suitable and durable corrosion protection measures should be appropriately utilized. Good numbers of investigation have acknowledged the use inhibitors as an effective corrosion reduction measure in corrosive media [20,21,22,23], although some inhibitors were found to have a toxic impact on the environment [24, 25]. Thus, it has become a necessity to examine the constituent and eco-friendliness of an inhibitor before usage. Interestingly, several chemical inhibitors have shown great inhibitive performance, with moderate toxicity, nevertheless, many of them were found to be more expensive compared to organic or natural inhibitors. The use of organic inhibitors for corrosion protection of metals has grown in leaps and bounds in recent years due to their eco-friendly nature [26,27,28].

More so, inhibitive organic compounds possess the ability to adsorb on the metal substrate surface and thereby forming a barrier film against the attack by corrosive species in the medium [29]. The corrosion inhibitive tendencies of organic inhibitors are also a function of the properties of corrosive media, the surface quality of metal and the constituent of the inhibitor itself [30, 31]. Therefore, those factors demand the cautious choice of inhibitors for metals. A lot of inhibitive antibiotic drugs have offered a significant improvement in the corrosion resistance of metals. A recently used expired Ibuprofen drug on mild steel in 0.5 M H2SO4 exhibited maximum inhibition efficiency of 63.25%. The sample inhibited with 20 ml of Ibuprofen drug had the maximum inhibition efficiency, and it possessed the corrosion rate of 3.8838 mm/year while the as-received steel possessed 10.567 mm/year, which indicated that, drastic enhancement in corrosion resistance, was achieved [32]. The examination of the inhibitive action of expired Ambroxol drug on the corrosion of mild steel in 1 M HCl showed that inhibition efficiency increases with increasing the concentration of the Ambroxol drug inhibitor [33]. Hexamine is an antibiotic that has also been widely used for corrosion inhibition. Hexamine was able to offer the corrosion inhibitive efficiency of 52.9% after 288 h of exposure of cast iron pipes to an aqueous salt solution of 2% NaCl [34]. In a similar manner, a reasonable inhibition efficiency of 47.1% was observed with the use of 1.2 g of hexamine for the inhibition of Aluminium 6063 in 3.65% NaCl solution [35]. In this study, the inhibition performance of Suphtrim drug was examined on Aluminium 6063 alloy in the presence 0.5 M H2SO4 solution using potentiodynamic polarization technique, computational comparisons and SEM micrographs. The choice of inhibitive suphtrim drug (ISD) solution, whose composition is sulfamethoxazole and trimethoprim, is as a result of the fact that it belongs to the sulfonamide antimicrobial class of medicines. Sulfonamides have been found efficient and nontoxic inhibitors for the corrosion of mild steel in acidic medium, and their inhibition performance was attributed to spontaneous adsorption which occurs via physical adsorption mechanism [36].

2 Experimental Procedures

2.1 Sample Preparation

The percentage weight of aluminium 6063 alloy constituents is shown in Table 1. The aluminium alloy was prepared into coupons of dimension (15 × 15 × 2) mm, and cleaned with emery paper of various degrees. The coupons were then rinsed thoroughly in distilled water so as wash away the rusty particles, which sticks on the metal samples due to descaling effect of emery paper. The 0.5 M of H2SO4 solution, which is the simulated corrosive environment, was prepared using doubled distilled water. Every 50 ml of the Suphtrim inhibitive drug solution contains 200 mg of sulphamethoxazole and 40 mg/5 ml of trimethoprim. The structural formula of sulphamethoxazole and trimethoprim is shown in Fig. 1.

Table 1 Constituents of aluminium 6063 alloy (% wt.)
Fig. 1
figure 1

Stuctural formulae of a sulphamethoxazole [37] and b trimethoprim [38]

2.2 Potentiodynamic Polarization Experiment

A three-electrode cell was used with the aluminium alloy as working electrode, saturated calomel electrode as the reference electrode, and graphite rod as the counter electrode. Copper wire was fused to each of the working electrodes and then implanted in epoxy resin. The epoxy resins were opened underneath to allow the metal and medium contact. The polarization measurements were carried out using Autolab PGSTAT 101 Metrohm potentiostat/galvanostat with NOVA software of version 2.1.2 in connection with the three-electrode cell in 0.5 M H2SO4 solution, at room temperature. The immersion lasted for 10 min, and the steady-state potential/open-circuit potential (OCP) was attained. Polarization curves were recorded from − 1.5 V to + 1.5 V with a scan rate of 0.005 V/s. Each of the experiments was carried out four different times in different 200 ml of 0.5 M H2SO4 solution, varying the volume of suphtrim inhibitive drug. This was done to ensure reproducibility. The corrosion potential (Ecorr), polarization resistance (Pr) and corrosion current density (jcorr) data were estimated from the Tafel plots.

3 Results and Discussion

3.1 Potentiodynamic Polarization Measurement

The Potentiodynamic polarization curves and data obtained via extrapolation of Tafel curves are shown in Table 2 and Fig. 2. It is evident in Table 2 that the corrosion rate (Cr) and corrosion current density (jcorr) of the aluminium alloy decreases with increase in volume concentration of the inhibitor. The as-received or control sample exhibited the highest corrosion rate and corrosion current density of 0.5933 mm/year and 0.529 μA/cm2, respectively. These values suggest that the corrosive medium had more damage on the active sites of the metal with the absence of inhibitor. The progressive corrosion rate and corrosion current density reduction effect observed as a result of increasing inhibitor volume could therefore be ascribed to the ability of the molecules of the inhibitor to adsorb on the metal and thereby blocking anodic and cathodic sites of the metal [39]. The increase in polarization resistance (Pr) with increasing inhibitor volume concentration was also indicated that the inhibitor actively offered some degrees of resistance to the polarization of the metal in the acidic medium. The inhibitive performance of Suphtrim drug could be traceable to the presence of sulphamethoxazole, which has a large number of functional adsorption centres such as –SO2–NH– group, –NH2 group, O and N heteroatoms and aromatic rings [40]. The corrosion reduction effect could also be attributed to the presence of trimethoprim which can form complexes with metals through the nitrogen of pyrimidinyl ring, and these complexes could eventually act as inhibitive substances [41]. It is also worthy of note that the Ecorr values are very close, more so, the cathodic and anodic branches of the uninhibited and inhibited were observed to overlap as shown in Fig. 2, which indicated the inhibitive drug acted as a mixed-type inhibitor in 0.5 M H2SO4 at room temperature [42,43,44].

Table 2 Polarization data for Suphtrim drug inhibited and uninhibited aluminium alloy
Fig. 2
figure 2

Potentiodynamic polarization curves for Suphtrim drug inhibited and uninhibited aluminium alloy

3.2 Open-Circuit Potential (OCP) Measurement

The open-circuit potential represents the working electrode potential relative to the reference electrode when there is none existence of potential or current in the cell. The change in the OCP results is polarization, which is due to the current flow across the electrode/electrolyte interface [45]. Figure 3 shows the OCP versus exposure time for Suphtrim drug inhibited and uninhibited aluminium alloy in 0.5 M H2SO4. It could be seen that the potential of the uninhibited alloy was constantly at -0.3 V. With the addition of 5 ml of Suphtrim drug inhibitor, the potential dropped to -0.5 V. Although the potential changes for some periods, but became constant between 75 and 120 s. The initial potentials of 10, 15 and 20 ml Suphtrim drug inhibited samples were observed to be -0.15, -0.1 and -0.3 V. Continuous drop in potential was observed for these samples. However, the voltage of 10 ml Suphtrim drug inhibited sample became slightly stable between 155 and 120 s at a voltage of about -0.52 V, 15 ml Suphtrim drug inhibited sample became more stable between 75 and 120 s at a voltage of about -0.55 V, while 20 ml Suphtrim drug inhibited sample became more stable between 60 and 120 s at a voltage of approximately -0.6 V. It could, therefore, be concluded that steady-state potential state was attained within these periods of constant or near-constant voltages [46, 47].

Fig. 3
figure 3

Evolution of open-circuit potential (OCP) vs. exposure time for Suphtrim drug inhibited and uninhibited aluminium alloy in 0.5 M H2SO4

3.3 Mechanism of Inhibition Efficiency and Adsorption Study

Table 3 shows the values of surface coverage (θ) and the inhibition efficiency (IE), which were calculated from Eqs. (1 and 2), respectively [48,49,50]. Increase in the surface coverage and inhibition efficiency as the volume concentration of ISD increases indicated that the inhibitive drug adsorbs on the surface of the metal [51], and this suggests that, at lower volume concentration of ISD, the deteriorating effect of corrosive ions in 0.5 M H2SO4 on the metal will be higher.

Table 3 Computation of inhibition efficiency and adsorption isotherm parameters
$$\theta = 1 - \frac{{{\text{jcorr}}}}{{{\text{jocorr}}}}$$
(1)
$${\text{I}}.{\text{E}}\; = \;1\; - \;\frac{{{\text{jcorr}}}}{{{\text{jocorr}}}}\; \times \; 100$$
(2)

where jcorr = inhibited corrosion current densities and jocorr = uninhibited corrosion current density.

To have a comprehensive understanding of adsorption mechanism of the ISD, C/θ, Log θ and Log C were calculated as shown in Table 3. The relationship between C/θ and C (volume concentration) was used to obtain Langmuir adsorption isotherm and a linear correlation, while Log θ and Log C was used to obtain Freundlich adsorption isotherm and a linear correlation. Equations 3 and 4, respectively, indicate the Langmuir and Freundlich isotherm adsorption act [52, 53], which provides a comprehensive understanding of the synergy between inhibitor and metal, and the actions between the metallic complexes in the coverage region. The Langmuir and Freundlich isothermal plots in Figs. 4 and 5, respectively, indicate the linear relationship that take place as result of inhibitor concentration increment. The plots revealed that the inhibitor continuously adsorb on the surface of aluminium alloy. The values of R2 for Langmuir and Freundlich absorption isothermal were 0.9144 and 0.7395, respectively. This R2 values are in close range the work ref.[54, 55]. These R2 values revealed that the corrosion protection of aluminium alloy by ISD had been accomplished their closeness to unity. However, the adsorption was more Langmuir isotherm favourable than Freundlich.

Fig. 4
figure 4

Langmuir adsorption isotherm for Suphtrim drug inhibited samples at room temperature

Fig. 5
figure 5

Freundlich adsorption isotherm for Suphtrim drug inhibited samples at room temperature

The Langmuir adsorption isotherm law,

$$\frac{{\text{C}}}{{\uptheta }} = { }\frac{1}{{{\text{K}}_{{{\text{ads}}}} }} + {\text{ C}}$$
(3)

The Freundlich adsorption isotherm law,

$$\log {\uptheta } = \log {\text{K}}_{{{\text{ads}}}} + {\text{ n}}\log {\text{C}}$$
(4)

where C is Concentration of the corrosion inhibitor, θ is degree of surface coverage and k = adsorption equilibrium constant.

3.4 SEM micrograph examination

The SEM micrographs of Suphtrim drug inhibited samples are shown in Fig. 6. It was observed form the SEM micrographs that the inhibitive drug adsorbed more on the sample inhibited with 20 ml of Suphtrim drug than the one with 10 ml. This could possibly be the reason the sample possesses better corrosion resistance performance characteristic than other samples. The micrographs unveiled minimal deterioration of the metal surface, as a result of the chemical interaction between the inhibitor and the ions in the corrosive medium. More pits were observed in Fig. 6a, indicating the possibility of more surface and internal deteriorations. The presence of a few flakes on the micrograph suggests the presence of corrosion products such as oxides and hydroxide of Aluminium [56]. The minimal breakdown of the passive film observed with Fig. 6b revealed that thin layer covering was formed on the metal by the synergetic effect of sulphamethoxazole and trimethoprim molecules in Suphtrim drug, which reduces the ingression of the sulphide ion. More so, the combined effect of the heteroatoms of sulphamethoxazole and trimethoprim enables its adsorption on the interface of aluminium via physical and chemical reaction mechanism [36, 57].

Fig. 6
figure 6

SEM micrograph of a Al-10 ml and b Al-20 ml samples

4 Conclusions

  • The corrosion experiment carried out in 0.5 M H2SO4 solution at room temperature showed that the ISD enhanced the corrosion resistance of the aluminium alloy. The efficiency of inhibition was found to increase with an increasing volume concentration of inhibitor.

  • The ISD, at maximum test volume concentration of 20 ml offered inhibition efficiency of 52.55%, and the corrosion rate of the inhibited sample was 0.2021 mm/year while the as- received or control sample possessed corrosion rate of 0.5933 mm/year. The difference in corrosion rate indicated that the sulphamethoxazole and trimethoprim constituent of the inhibitor minimized deterioration of the metal active sites.

  • The close values of Ecorr and overlapping nature of the polarization curves indicated that ISD acted as a mixed-type inhibitor.

  • Adsorption of ISD molecules on the Aluminium alloy was found to largely follow Langmuir adsorption isotherm with correlation regression coefficient R2 value of 0.9144 and moderately follow Freundlich adsorption isotherm with an R2 value of 0.7395. The close values of R2 to unity showed that the inhibitor adsorbed on the metal.

  • Morphology study via SEM micrograph affirmed the adsorption of ISD molecules on the surface of aluminium alloy. This was ascribed to the synergetic effect of the heteroatoms of sulphamethoxazole and trimethoprim, which enables adsorption of ISD molecules on the interface of aluminium via physical and chemical reaction mechanism.