Introduction

The growing need for renewable energy as a replacement for fossil fuels has resulted in a major increase in both academic and industrial activities in recent years. These initiatives are aimed at developing sustainable technology that will attain carbon neutrality. Because of its high power density, long-term stability, and enhanced safety features, supercapacitors have been highlighted as one of the most promising energy storage device1.

Fuel cells, which create electricity by electrochemical energy conversion, are critical to tackling the global energy dilemma. Various types of fuel cells are being developed, with an emphasis on alcohol fuel cells due to their low operating temperatures and cost-effectiveness2. Methanol, ethanol, glycerol, glucose, and sugar alcohols are being investigated as potential fuel cell possibilities, with methanol standing out due to its simple chemical structure. The use of ecologically acceptable and sustainable energy supplies, such as hydrogen and carbon biofuels (methanol and ethanol), offers enormous promise for fuel cells. Because of their great efficiency and dependability, these resources are appropriate for a wide range of applications, from handheld devices to large-scale power plants3. The emphasis on the development and optimization of this technology is thus justified. Direct Methanol Fuel Cells (DMFCs), a form of proton-exchange membrane fuel cell (PEMFC), have a small footprint, run on liquid fuel, have a low operating temperature, and have a high energy density. These qualities make DMFCs a tempting alternative to regular batteries4. However, heavy platinum loading into electrodes, the expensive cost of noble metals, low durability, and sluggish kinetics in both anodic and cathodic processes all pose difficulties to the commercialization of DMFCs. Overcoming these obstacles is critical for the successful integration of DMFCs into real-world applications5.

Fuel cells have three parts: cathode, anode, and membrane, and each part contains its distinct purpose. Fuel cells have been viewed as a viable renewable energy source with different uses in portable electronics such as cellular phones, laptops, notebooks, battery chargers, electronic appliances, stationary objects, electric vehicles, military equipment and remote controlled gadgets6. These can be additionally employed in the domestic, industrial, and commercial purpose for the generation of power and heat. Fuel cell technology can also address the challenges of power fluctuation and intermittent nature associated to the other green renewable energy sources including solar and wind systems3.

The fundamental principle of DMFCs is based on the electrochemical reactions of methanol and oxygen in anode and cathode, respectively, demonstrated as followed equ 1,2and 37:

Anode

$$\:{CH}_{3}OH+{H}_{2}O\to\:{CO}_{2}+{6H}^{+}+6{\text{e}}^{-},$$
(1)

Cathode

$${\text{3}}/{\text{2O2}}\,+\,{\text{6H}}\,+\,+\,{\text{6}}{{\text{e}}^ - } \to ~{\text{3H2O,}}$$
(2)

Overall:

$$\:{CH}_{3}OH+{3/2O}_{2}\:\to\:{CO}_{2}+\:{2H}_{2}O.$$
(3)

The anode must display specified features, such as good stability, a high surface area, enhanced electrical conductivity, and a significant number of electrochemically active sites8. For instance, the employment of porous materials with extraordinary surface areas results in an increased number of active sites, leading to the saturation of the catalyst surface with by-products created during the methanol oxidation process9.

Carbon xerogels have garnered considerable attention in the literature over the past decade and can be made in numerous forms (as powder, thin-film, cylinders, spheres, discs, or can be custom shaped)10. The most essential qualities of these materials are their high porosity, surface area and pore volume, regulated pore structure, narrow and controlled pore size distribution, low electrical resistance, and superior thermal and mechanical capabilities11.Carbon Xerogel is a carbon support with three-dimensional morphology that exhibits outstanding properties such a high degree of porosity, a huge surface area, controlled pore size, and good conductivity12. Due to its flexible surface area and porosity depending on the synthesis circumstances, carbon gel has recently found uses in diverse sector such as energy storage and catalysis12. Till date, most of the preparations of carbon gels were carried out in basic media utilizing sodium carbonate as a polymerization catalyst. Carbon gel affords additionally the option to be doped with metals to promote its activity13.

Recently, Transition metal oxides that show potential as alternative catalyst supports for DMFCs. This is due to their excellent chemical stability and capacity to tolerate higher levels of CO, which are two important criteria that affect the operation of the cell14. So DMFCs that use metal oxides catalysts such as NiOx, CoOx, CuOx, CrOx, ZnOx, MnOx, MgOx and FeOx, have demonstrated enhanced reaction kinetics as well as high antipoisoning potential15. Therefore, transition metal oxides and their composites have garnered substantial attention as electrocatalysts due to their low electrical resistance, low cost, facile synthesis, and outstanding catalytic activity16. the carbon xerogel generated from the Plant waste displays a large surface area, porosity, strong graphitization, and balanced hydrophilic/hydrophobicity and electronic conductivity similar to the traditional carbons, which makes it an ideal spot to add heteroatoms to improve the activity of the catalyst12.

With beneficial features, carbon xerogels exhibit tremendous promise in the fields of energy conversion and storage17. Materials derived from carbon xerogels present compelling options across various applications, serving as electrode materials for double-layer capacitors or supercapacitors, adsorption materials for gas separation, column packing materials for chromatography, and catalyst supports for hydrogen storage10. The catalytic performance of carbon materials is dependent on their surface characteristics, where the surface chemistry assumes a key role in affecting catalytic qualities18. This requires furnishing active areas capable of chemisorbing reactants and producing suitably robust surface intermediates18.

The current study aims to prepare carbon xerogels doped with iron, magnesium, and copper from tannins which extracted from waste plant. The new modified Carbon xerogels characterized using different modalities. Moreover, the ability of doped CXs with high electrochemical activity for methanol oxidation Reactions (MOR). The electrochemical performances of CX/metal oxides toward the MOR in a Na2S2O8 medium were compared. And studies IT Stability of Fe3O4/CX, MgO/CX and CuO/CX and Cyclic stability of optimum catalyst and EIS in different concentration from methanol.

Materials and methods

Materials

Tannin extracted from Banana Peels, NaOH (Merck Millipore), Ferric Nitrate Extra pure (LOBA CHEMIE), magnesium chloride (PIOCHEM), copper Sulphate pentahydrate ( sigma Aldrich), Nickle Chloride Hexahydrate Extra pure(LOBA CHEMIE), Cobalt (II) Chloride hexahydrate(WINLAB), polyvinyl alcohol PVA(CASTRO COMPOSITES), isopropanol(MERCK ) and distilled water .

Methods

Extracted tannin from banana peels

Gather newly gathered banana peels and dehydrate them in an oven set at 60 °C for length of 24 h. Next, smash the dried banana peels into a fine powder using a grinder. Weigh out 80 g of this powdered material and submerge it in 800 milliliters of hot water, maintaining a temperature of roughly 80 °C, for a duration of approximately 2 h. Stir the mixture throughout this time. Strain the mixture through a cheesecloth or filter paper to separate the liquid (containing tannins) from the solid (finely crushed banana peel). Ultimately, apply an oven to desiccate the solution at a temperature of 105 °C for a period of 24 h in order to get solid tannin19.

Preparation of carbon xerogel doped with metal oxides

Carbon Xerogel doped with iron (Fe3O4/CX), carbon xerogel doped with magnesium (MgO/CX) and carbon xerogel doped with copper (CuO/CX)

Tannin extracted was dissolved in 50 ml of distilled water at room temperature. Then, 1 gram of the tannin and 1.1 ml of formaldehyde (37% w/w) were added to 9 g of (Ferric Nitrate, or Magnesium Chloride or Calcium Sulphate) to generate (Fe3O4/CX) or (MgO/CX) or (CuO/CX). Then, the solution was continually stirred. Next, 9 g of sodium hydroxide were mixed in 50 ml of distilled water and added to the mixture. Subsequently, rinsed the mixture numerous times with distilled till pH is neutral. Following this, the material was exposed to oven drying at a temperature of 100 °C for 24 h. The composites were then exposed to calcination in a muffle furnace at a specified temperature of 400 °C for 30 min in a nitrogen atmosphere20.

Preparation of CX doped with different metal oxides/graphite electrodes

For ink slurry of 0.02 g of the produced materials, i.e., Fe3O4/CX, MgO/CX or CuO/CX, with 0.01 g of polyvinyl alcohol (PVA). All the components were combined properly and dissolved in 2 ml isopropanol/distilled water 1:2. The generated mixes were poured in closed small bottle of 5 ml then sonicated for 30 min at room temperature. After that, the catalyst ink was put onto a Graphite sheet using a micropipette. The modified Graphite sheets was allowed for 24 h to dry at room temperature before the electrochemical Measurements.

Characterization of the catalyst

The synthesized materials’ crystalline structure was assessed through X-ray diffraction (XRD) analysis, employing an X-ray diffractometer (PANalytical, Empyrean, Netherlands) that utilized Cu Ka radiation with a wavelength of 1.54045 Å). The XRD was operated at a voltage of 40 kV and a current of 30 mA. To identify various functional groups Fourier, transform infrared (FTIR) spectra of the samples were recorded using a Vertex 70 system (Bruker, Germany) within the wavenumber range of 400–4000 cm − 1. Furthermore, the surface characteristics of the samples were examined via scanning electron microscopy (SEM) using a ZEISS Sigma 500 VP microscope. Energy-dispersive X-ray spectroscopy (STM.EDX) was used to identify the chemical composition.

Electrochemical measurements

The electrochemical measurements were recorded using OrigaFlex potentiostat (OrigaLys ElectroChem., OGF01A, Rillieux, France) device was used. A standard Two electrode electrochemical cell was used at room temperature. the modified Graphite Sheet with Fe3O4/CX, MgO/CX or CuO/CX was used as the working electrode and have 1 cm2 surface area. the counter electrode was a Pt-electrode with the same dimensions. A solution of 0.5 M Na2S2O8 was used as the electrolyte in the presence and absence of methanol to evaluate the electrocatalytic activity of the prepared electrodes. Cyclic voltammetry (CV) measurements were performed at scan rates 100 mV s − 1 in a potential window between − 1 and 1 V. The chronoamperometry (CA) tests were measured at 01 V for 3600 s. Electrochemical impedance spectroscopy (EIS) analysis was performed at 1 V with 10 mV amplitude in a frequency range between 100 kHz and 0.01 Hz.

Computations method

To fig out the change of activity of the Fe3O4/CX surface with the introduction of Co atoms, the adsorption of CH3OH on the Fe3O4/CX surface was investigated using the Materials Studio based on the density functional theory (DFT). The adsorption energies of CH3OH and CO on the surfaces this following Eq. 4

$$\:\varDelta\:E\:or\:{E}_{diss}={\left({E}_{adsorbate\:}\right)}_{1}-{\left({E}_{adsorbate\:}\right)}_{2}$$
(4)

where (E adsorbate)1 is the total energy of CH3OH on the Fe3O4/CX surfaces, (E adsorbate)2 is the total energy of CO on the Fe3O4/CX surface. Thus negative \(\:\varDelta\:\)Eads or Ediss indicates exothermic chemisorption and positive values indicate an endothermic process.

Result and discussion

Structure properties of samples

The diffraction patterns indicated the existence of two distinct phases: graphite (JCPDS 00-012-0212) and magnetite Fe3O4 (01-089-0691). The diffractograms exhibit the characteristic carbon peaks observed at 2θ angles of 29° and 44.6°.These values approximately correspond to the (002) and (101) crystallographic planes, respectively. The graphite 002 planes displayed diffraction at a 29° angle. The integration of CX with the Fe framework has resulted in a tendency towards increased value. These modifications cause flaws in the lattice structure, leading to the displacements that are seen. The presence of this phenomenon might be attributed to the diffusion of carbon into the structure, which occurs due to the elevated temperature (400 °C) used during thermal treatment. Outside21.The diffraction patterns for the CX material doped with Magnesium are shown in Fig. 1. The diffractograms display distinct peaks at 2θ angles of 25.3°, 36.5°, 43.2°, 62.6°, and 75°, which are distinctive. These values closely correlate to the crystallographic planes (002), (111), (200), (220), and (222) as reported by22. X-ray diffraction (XRD) pattern of MgO/CX exhibits a prominent and powerful peak corresponding to the (200) orientation, indicating a high degree of crystallinity. Figure 1 illustrates the alignment and arrangement of CX doped with Copper, showcasing its orientation and crystalline structure. The recorded values of the peaks in their standing condition are as follows: 25.3°, 32.4°, 36.2°, 40°, 48.4°, 53.5°, 59.0°, 61.3°, 65°, and 67.8°. These values correspond to the crystallographic planes (002), (110), (111), (111), (202), (020), (202), (113), (022), and (220). The presence of CuO particles grouped in an orderly manner at various levels shows the successful creation of a crystalline structure23.

Fig. 1
figure 1

XRD of Fe3O4/CX, MgO/CX and CuO/CX.

FTIR spectra analysis

Figure 2 displays the infrared spectra of the adsorbents Fe3O4/CX, CuO/CX, and MgO/CX.The bands seen at 3855 cm− 1, 3759 cm− 1, 3751 cm− 1, and 3703 cm− 1 correspond to the hydroxyl (–OH) group23. The bands seen at wavelengths of 3430 cm − 1, 3432 cm − 1, 3415 cm − 1, and 3405 cm− 1 are attributed to the hydroxyl (–OH) group, indicating the existence of O-H stretching, carboxyl, and phenolic groups24.The absorption peaks seen from 2925 cm− 1 to 2923 cm− 1 are due to the stretching vibration of C-H bonds. These vibrations are connected with both asymmetric and symmetric vibrations of aliphatic and aromatic structures, providing evidence for the presence of Carbon xerogel25. The prominent peaks at 2378 cm− 1, 2377 cm− 1, 2376 cm− 1, and 2375 cm− 1 observed in the CX material may be attributed to the presence of the C-O group, which is associated with uncompensated ambient CO224. The absorption peaks observed at 2312 cm− 1 and 2310 cm− 1 in the case of Fe3O4/CX were attributed to the presence of − C ≡ C−23. The occurrence of absorption bands at 1645 cm− 1, 1631 cm− 1, and 1625 cm− 1 in the CX compound can be attributed to the C = C aromatic structure26. The bands at 1529 cm− 1 can be ascribed to the stretching vibrations of C = O groups in diketone, ketoester, and keto-enol structures of the Tannin precursor26. The peaks detected at 1476.46 cm− 1 and 1467.03 cm− 1 are associated with the –COOH functional group, and their positions were altered as a result of the introduction of MgO and CuO doping26. The bands within the range of 1381 cm− 1 to 1120 cm− 1, particularly for CX, were identified as the C-O vibrations associated with compounds such as esters, ethers, lactones, carboxyls, or phenols in Tannins23. The spectral peaks at 1035 cm− 1 and 1029 cm− 1 were identified as resulting from the stretching vibrations of C–O–C bonds, with some contributions from C–O–H and C–C–H bonds27. The presence of peaks at 862.21 cm− 1 and 882.27 cm− 1 can be attributed to the vibrations of alkyl amines in the C–O group’s in-plane bending and the aromatic group’s out-of-plane bending of the C–H bonds (Jiang et al., 2020). The bands observed at 599 cm-1 and 561 cm-1 correspond to the vibrations of the Fe–O bond. The Mg-O peak was seen at approximately 599.85 cm− 1 and 489.48 cm− 1, suggesting the presence of MgO19. The existence of peaks at wavenumbers 449.46 and 561.71 cm–1 verified the successful production of Cu–O19.

Fig. 2
figure 2

FTIR Spectra of Fe3O4/CX, CuO/CX and MgO/CX.

Morphological analysis

Scanning electron microscopy (SEM) technique was used to study the morphology of different samples of Carbon Xerogel doped with various metal oxides. Fe3O4/CX material is composed of many layers arranged in a stacked formation. Each layer has a Fiber-like structure with varying sizes of cavities and a high level of porosity which were presented at Fig. (3). These characteristics play a crucial role in facilitating the methanol oxidation process. While CuO/CX appears as a rod-shaped morphology, as illustrated in the Fig. 3b. Furthermore, the nanohybrids efficiently protect and equally cover the material, as demonstrated in Fig. (3). The nanorod crystals exhibited a consistent and well-grown structure, appearing as one-dimensional structures. The length of these crystals ranged from 500 to 980 nm, as shown in the SEM images shown in Fig. 3b. This shape might provide drawbacks for the electrode, as it hinders quick surface reactions and blocks the access of electrolyte ions to the electrode interlayers. Consequently, this leads to a decrease in the active site and results in poor capacitance behaviour for CuO/CX. In morphology of MgO/CX indicated that Fig. (3c) demonstrate the distribution of particles in MgO/CX as clusters of irregular shaped flakes grouped as flower-like clusters. SEM reveal the crystal flakes in a particular configuration resembling a crystalline flower. The morphology of Fe3O4/CX developed may provide a suitable surface for interaction between the catalyst and methanol, thereby enhancing the methanol oxidation process. The morphology of Fe3O4/CX maintains after electrochemical measurement with presence some protrusions in the matrix as a result to consecutive measurements which respresented at Fig. 3 (d).

Fig. 3
figure 3

Sem of (a) Fe3O4/CX, (a) magnification of Fe3O4/CX, (b) CuO/CX, (c) MgO/CX and (C) magnification Of MgO/CX and (d) Fe3O4/CX after Electrochemical reaction.

Methanol oxidation fuel cell (MOFC) of Fe3O4/CX, MgO/CX and CuO/CX

The electro-catalytic performance of the produced electrodes Fe3O4/CX, MgO/CX, and CuO/CX was evaluated in a 0.5 M Na2S2O8 electrolyte solution. The potential range used was − 1 to 1 V, and the scan rate was 100 mV/s at room temperature. The results are shown in Fig. 4(a-c). The platinum wire served as the counter electrode. Figure 4(a) shows the cyclic voltammetry (CV) of the produced electrodes at a scan rate of 100 mV/s in a solution of 0.5 M Na2S2O8. The Fe3O4/CX electrode demonstrates superior electrochemical activity, achieving a current density of 19 mA/cm2. In contrast, the MgO/CX and CuO/CX electrodes exhibit lower current densities. The notable electroactivity of Fe3O4/CX can be due to the existence of a Fiber-like structure with various diameters of cavities and a high degree of porosity. This enhances the conductivity of the electrode by allowing electron transmission.

Fig. 4
figure 4

CV curves of the (a) Fe3O4/CX, (b) MgO/CX, and (c) CuO/CX at a fixed scan rate of 100 mV S− 1 in 0.5 M Na2S2O8.

The effect of varying scan rates for methanol electro-oxidation of Fe3O4/CX was studied in 0.5 M Na2S2O8 and 1.5 M CH3OH at low scan rate (5, 10, 20mV s− 1) and high scan rate (40,50 mV s− 1). The results are illustrated in Fig. 5 (a and b)., which indicates that the anodic current density gradually increases with increasing scan rate from 33.4 to 39. 3 mA.cm− 2 for 5 to 50 mA. S− 1 respectively. As the scan rate increased, the anodic peak potential (Epa) shifted towards more positive values, while the cathodic peak potential (Epc) shifted to more negative potentials. This shows that there are diffusion-controlled systems and the electro-oxidation of methanol on catalysts24.

Fig. 5
figure 5

Cyclic voltametric of Fe3O4/CX at (a) low scan rate 5–20 mV/s, (b) high scan rate 30–50 mV/s in 1.5 M methanol and 0.5 M Na2S2O8 and (c) The capacitive currents (j).

The electrochemically active surface area (ECSA) of the Fe3O4/CX electrode represents the area of the electrode surface that is accessible to the electrolyte and is used for evaluating the charge transfer and/or storage. The determination of this surface area is essential in electrocatalysis to provide surface-normalized intrinsic catalytic activity. Under a non-Faradaic region, a series of CV scans were performed at different scan rates (5, 10, 20, 30, 40,50 mV s− 1). The average difference between the anodic and cathodic charging current densities were plotted as a function of scan rate For calculating the double-layer capacitance (Cdl)in fig() is (0.0852 Mf/CM2) and calculated The specific capacitance (Cs) is (6.908676304 mF/g) can be calculated by equations to determine ECSA.

$$\:Cdl=\:\frac{\Delta{J}}{2V} = SLOPE$$

Where ν is the scan rate in V/s, and J are different between the anodic and cathodic current densities25.

$$\:{C}_{S}=\:\frac{A}{2 \times m \times v \times dV}$$

Where A: Area under the current (I) vs. potential (E) curve, m: Mass of the electrode material (mg). ν: Scan rate (mV/s). dV: Potential window (the difference in potential mV)25.

The ECSA for this composite electrode was found to be 12.33 cm2 illustrated in eq(). By gwyddion software determined Roughness from the SEM image is 26.33. This indicates that the ECSA when the Roughness factor is increased and which proves the effect of Fe3O4/CX on the surface area and increasing active sites26.

$$\:\text{E}\text{C}\text{S}\text{A}\:=\:\frac{Cdl}{{C}_{S}},$$

Catalyst

ECSA (cm2 )

RF

Fe3O4/CX electrode

12.33

26.33

To study the effect of methanol concentration on the MOR process of Fe3O4/CX, MgO/CX, and CuO/CX, the CV analysis was performed at a constant concentration of 0.5 M Na2S2O8 with different concentrations of methanol (0.25, 0.5, 0.75, 1, 1.25, and 1.5 M) at a scan rate of 100 mV/s which were shown at Fig. 6( a-c). When methanol concentration is increased from 0.25 M to 1.5 M, 0.25 M to 1.25 M, and 0.25 M to 0.75 M, the current density increases to 42.9862 mA.cm2, 28.3 mA.cm− 2, and 6.6 mA.cm2 during the MOR in Fe3O4/CX, MgO/CX, and CuO/CX, respectively. However, this trend is reversed when the methanol concentration reaches 2 M, 1.5 M, and 1 M in Fe3O4/CX, MgO/CX, and CuO/CX, respectively. A further decrease in current density is observed. The reason probably can be the resistance against the occupancy of active sites of the catalyst with the side-products resulting from the oxidation of methanol after a certain critical concentration27.did not improve the final activity and even prevented molecule diffusion28. Therefore, This behavior indicated that the MOR depended on the available active sites for methanol adsorption and the oxidation reaction was a diffusion-controlled process29. The methanol concentration of 1.5 M of Fe3O4/CX, 1.25 M of MgO/CX and 0.75 M of CuO/CX were chosen as the optimum concentration to be used in the Salts solution.

Fig. 6
figure 6

CV curves of the (a) Fe3O4/CX, (b) MgO/CX, and (c) CuO/CX at a fixed scan rate of 100 mV s − 1 in 0.5 M Na2S2O8 and with various concentrations of methanol.

A chronoamperometric test was carried out to characterize the stability of the methanol oxidation reaction for the Fe3O4/CX, MgO/CX and CuO/CX in 0.5 M Na2S2O8 and 1.5 M, 1.25 M and 0.75 M of methanol respectively at room temperature for 3600s at Fig. 7. The results showed that the peak current values of the catalyst decreased rapidly in the early stage of measurement from 40 mA.cm− 2 to 17 mA.cm− 2 For Fe3O4/CX, 26.6 mA.cm− 2 to 5 mA.cm− 2 For MgO/CX and For CuO/CX This showed a slow decrease until the end of measurement to 16 mA cm− 2, 4.9 mA. cm− 2 and 1.3 mA. cm− 2 for Fe3O4/CX, MgO/CX and CuO/CX respectively. The initial rapid decline is caused by poisoning of the electrode surface or by the adsorption of CO, hydrocarbons, and oxygenates30. As seen in Fig. 7 the Carbon Xerogel with Different metal oxides catalyst started with a higher peak current. It showed better stability and catalytic efficiency after 3600 s.

As a result, it has been shown that Fe3O4/CX has higher catalytic activity and efficiency and this means that the favorite catalyst used in fuel cell energy is Fe3O4/CX. Besides, Fe3O4/CX has been demonstrated to possess superior catalytic activity and efficiency, making it the preferred catalyst for fuel cell energy. The Fe3O4/CX consists of many layers organized in a stacked arrangement. The structure of each layer consists of fibers arranged in a manner similar to that of a fiber. These fibers have different sizes of empty spaces and a significant level of porosity. The design of the surface facilitates the interaction between the catalyst and methanol, leading to an enhanced process of methanol oxidation it was seen that the data obtained were comparable with MgO/CX and CuO/CX. The higher values were obtained the proposed mechanism of the methanol oxidation process can be expressed as follows using a 6 electrons mechanism in Eqs. (5), (6), (7) and (8).

$$\:catalyst-{CH}_{3}OH\:\to\:\:catalyst-{{CH}_{3}OH}_{ads}$$
(5)
$$\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}-{\text{C}\text{H}}_{3}\text{O}\text{H}\:\text{a}\text{d}\text{s}\:+\:4{\text{O}\text{H}}^{-}\:\to\:\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}-{\left(\text{C}\text{O}\right)}_{\text{a}\text{d}\text{s}\:}+\:4{\text{H}}_{2}\text{O}\:+\:{4\text{e}}^{-}\:\:\:\:$$
(6)
$$\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}\:+\:{\text{O}\text{H}\:}^{-}\to\:\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}-{\text{O}\text{H}\:}_{\text{a}\text{d}\text{s}}\:+\:{\text{e}}^{-}\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:$$
(7)
$$\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}-{\text{C}\text{O}}_{\text{a}\text{d}\text{s}}\:+\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}-{\text{O}\text{H}\:}_{\text{a}\text{d}\text{s}}+\:{\text{O}\text{H}\:}^{-}\:\to\:\text{c}\text{a}\text{t}\text{a}\text{l}\text{y}\text{s}\text{t}\:+\:{\text{C}\text{O}}_{2}\:+\:{\text{H}}_{2}\text{O}+{\text{e}}^{-}\:\:\:\:\:$$
(8)
Fig. 7
figure 7

Chronoamperometric stability curves for Fe3O4/CX in 1.5 M methanol, MgO/CX in 1.25 M methanol and CuO/CX in 0.75 M methanol at room temperature at in 0.5 M Na2S2O8.

One of the crucial characteristics of a catalyst suitable for use in fuel cells is its ability to maintain cyclic stability during the process of methanol oxidation reactions (MOR)31.To assess the durability of Fe3O4/CX in the methanol oxidation process, a series of 100 consecutive cyclic voltammetry (CV) cycles were conducted in a salt solution containing 0.5 M Na2S2O8 in presence of 1.5 M methanol at room temperature, with a scan rate of 100 mV/s which presented at Fig. 8. Observably, after the 100th cycle, Fe3O4/CX retains approximately 82% from its performance, accompanied by a slight reduction in its peak oxidation current density. In the initial cycles, the electrodes interact with active sites shared with electrolyte ions and methanol. However, as the number of cycles increases, the catalyst surface becomes saturated with methanol byproducts. Consequently, there is an initial decline in current density followed by its stabilization. Additionally, the consistent stability of iso-potential points and the absence of distortion in CV curves highlight the pronounced electrochemical stability of the catalyst throughout the Methanol Oxidation Reactions process27. These observations signify the excellent stability of Fe3O4/CX in the context of Methanol Oxidation Reaction.

Fig. 8
figure 8

Cyclic stability of Fe3O4/CX for 100 cycles in 1.5 M methanol and 0.5 M Na2S2O8.

The impedance of an electrochemical system is determined by the charge transfer between the active electrode and the electrolyte contact32. Figure 9(a-d). displays a Nyquist plot of Fe3O4/CX, MgO/CX and CuO/CX measured in 0.5 M Na2S2O8 and 1.5 M ,1.25 M and 0.75 M from Methanol of Fe3O4/CX, MgO/CX and CuO/CX correspondingly Typically, two sections can be distinguished in Nyquist plots: semicircles related to charge-transfer (Rct) and capacitive (Qdl) impedances, and linear parts attributable to mass-transfer (Warburg) resistance33. These EIS spectra clearly demonstrated mixed kinetic and diffusion control systems34. The composites Fe3O4/CX, MgO/CX, and CuO/CX exhibited higher conductivity and reduced equivalent series resistance (Rct), as evidenced by the semicircles and linear patterns that were drawn. Figure 7 demonstrates that Fe3O4/CX had the lowest semicircle with a Rct of (44 KΩ), significantly less than those of MgO/CX (15 KΩ) and CuO/CX (24 KΩ), indicating that Fe3O4/CX has rapid and effective electron transport. These catalysts demonstrate the importance of the inclusion of Fe3O4 with Carbon Xerogel, which reduces the resistance of Fe3O4/CX and enhances its conductivity.

Bode graphs for the Fe3O4/CX electrode in Na2S2O8 in presence of 1.5 M Methanol and 25 ◦C was represented at Fig. 9b. Bode plots of Fe3O4/CX showed the fluctuation of the total impedance with frequency, inset of Fig. 7b. and the variation of phase with frequency. This figure depicts the resistive regime at low frequencies in addition to capacitive contribution at high frequencies32. These regimes are associated to the charge transfer resistance (Rct) and the double-layered capacitance (Cdl) of the electrode. The highest phase shift (max = -28.94 ◦) is detected at 2.65 Hz.

Fig. 9
figure 9

(a) Nyquist plot of electrochemical impedance spectrum of Fe3O4/CX measured in Na2S2O8 at 0 V (vs. Ag/AgCl) under illumination provided with the equivalent Randles Cell. (b) Bode Plot for the same cell, (c and d) Nyquist plot of electrochemical impedance spectrum of MgO/CX and CuO/CX measured in Na2S2O8 at 0 V (vs. Ag/AgCl) under illumination provided with the equivalent Randles Cell.

In order to verify the oxidation of methanol and reduce its concentration in the solution, measurements of total organic carbon (TOC) were conducted. In order to address this matter, the electrolyte samples were obtained from the electrolytic cell to measure the total organic carbon (TOC) over several cycles of methanol oxidation. The measurements were conducted at a scan rate of 100 mV s− 1, using a solution containing 0.5 M Na2S2O8 and 1.5 M methanol. The selected cycles for methanol oxidation were cycles 2, 5, 7, and 10. Figure 10 illustrates that the significant decrease in total organic carbon (TOC) content was caused by the oxidation of methanol on the Fe3O4/CX catalyst. This phenomenon can be attributed to the oxidative conversion of methanol into inorganic carbon, specifically CO2 and carbonates. The electrochemical activity of the spent Fe3O4/CX electrode leads to the oxidation of inorganic carbon, resulting in a decrease of approximately 30% in the methanol content of Na2S2O8 as the electrolyte35.

Fig. 10
figure 10

Total organic carbon (TOC) with repeated cycles over spent Fe3O4/CX at 0.5 M Na2S2O8, 1.5 M of methanol, and 100 mV s − 1 scan rate.

To clarify the impact of Fe3O4/CX in the methanol oxidation, the process of methanol dissociation and the ability of Fe3O4/CX to tolerate CO verified using DFT simulations. Given that the (111) facet of both electrocatalysts was mostly active for the reaction, we devised a cleaved surface for the (111) facet of the Fe3O4/CX. The process of CH3OH dehydrogenation initiates with the adsorption of CH3OH onto the electrocatalysts. Subsequently, the dissociative chemisorption of CH3OH occurs in a sequence of successive stages. The process leads to the creation of hydroxymethyl intermediates (CHxOH*) and surface-adsorbed protons (H*), as depicted in the figure. The optimization of atomic energy in the dehydrogenation of CH3OH leads to the formation of C-H or O-H bonds, resulting in the sequential generation of intermediates such as CH2OH (C-H bond cleavage), CHOH (O-H bond cleavage), and CHO (O-H bond cleavage). Prior to examining the energetic properties of CH3OH dehydrogenation, we performed computations to evaluate the structural modifications and binding energies of the reaction intermediates. We confirm that our adsorption energies are in good agreement with those obtained from other theories in terms of fairness and accuracy. In general, the addition of CX-doped iron facilitates a thermodynamically favorable step-by-step removal of hydrogen from CH3OH36, leading to a reduction in the energy needed for the last stages of hydrogen removal illustrated in Eq. (9). The final steps involve the reaction pathway that results in the creation of adsorbed CO and H species on Fe3O4/CX (111) with an energy of -0.215 eV shown in Eq. (10). The energy of this system is affected by the effects of Fe3O4/CX (111) on the reaction pathway with the highest level of activity which was graphed at Fig. 11.

$${\text{CH}}_{{\text{3}}} {\text{OH }} \to {\text{ CH}}_{{\text{3}}} {\text{O }} \to {\text{ CH}}_{{\text{2}}} {\text{O }} \to {\text{ CHO }} \to {\text{ CO}},$$
(9)
$${\text{E}}_{{{\text{diss}}}} = {\text{ E}}_{{{\text{ad}}}} \left( {{\text{CH}}_{{\text{3}}} {\text{OH}} - {\text{Fe}}_{{\text{3}}} {\text{O}}_{{\text{4}}} /{\text{CX}}} \right){\text{ }} - {\text{ E}}_{{{\text{ad}}}} \left( {{\text{CO}} - {\text{Fe}}_{{\text{3}}} {\text{O}}_{{\text{4}}} /{\text{CX}}} \right) ,$$
$${{\text{E}}_{{\text{diss}}}}={\text{ }} - 0.{{733ev }}--{\text{ }}\left( { - 0.{{518 ev}}} \right)\,=\, - \,0.{{215ev}}.$$
(10)
Fig. 11
figure 11

Representation of the methanol oxidation through Fe3O4/CX.

In addition to the experimental examination, DFT simulations were performed to gain understanding of the electrical influence of CO inclusion on the Fe3O4/CX surface. The DFT experiments revealed that the adsorption energies of methanol (Eads) on Fe3O4/CX (111) and its facets were − 0.733 eV. The energy required for the dissociation of methanol and its conversion to carbon monoxide is -0.215 eV. The negative ∆Eads signifies an exothermic chemisorption process.

Conclusion

This study presents the fabrication of nanocomposites involving of CX and metal oxides (Fe3O4, CuO, and MgO) using a straightforward method that does not require annealing or energy-intensive procedures. The nanocomposites are synthesized by utilizing tannin extracted from banana peels. The F3O4/CX material consists of many layers that are placed in a stacked configuration. The structure of each layer is similar to the fibres with different sizes of empty spaces and a significant level of porosity. This allows for the smooth flow of methanol oxidation process. The oxidation and dissociation using F3O4/CX was confirmed via Density Functional Theory (DFT).Furthermore, Fe3O4/CX demonstrated exceptional catalytic efficiency in the oxidation of methanol in a direct methanol fuel cell .It also maintains a retention of 82% and possesses the lowest charge transfer resistance of 44 Ω compared to the other produced electrodes. Hence, our study advocates for the uncomplicated procedure of producing nanocomposites consisting of CX-metal oxides, with the intended purpose of using them as anode components in DMFCs.