Introduction

Increasing energy requirements due to industrial and population growth has made the traditional energy resources, like fossil fuels, insufficient. Hydrogen seems to be an ideal candidate as a carbon-free fuel due to its high energy density. The production of molecular hydrogen by the electrochemical reduction of water is an important part of several clean energy technologies [1,2,3,4,5,6,7,8,9,10,11,12,13,14]. A practical and sustainable way to produce hydrogen is by the electrolysis of water, but this has one disadvantage due to an overpotential occurring in the electrochemical system, which increases the cost of the method. Although some noble metals, such as Pt, Au and Rh, are known as good hydrogen evolving catalysts in acidic solutions, the high cost of these metals limits their large-scale application. Therefore, cost-effective materials for the electrochemical production of hydrogen are a central area of the research into renewable energy. In addition to being low-cost, it is a challenge to develop highly active catalysts that are stable for long periods. From this point of the view, due to it being electrochemically active, low-cost, commercially available, mechanically rigid, easy to modify and especially having a large active surface area due to its porous structure, the pencil graphite electrode is an appropriate material for hydrogen production as in many other electrocatalytic applications [15,16,17,18,19].

Conducting polymers are materials that have intrinsic properties that are of interest to many fields of research related to electrochemistry. Among all the conducting polymers, polypyrrole has become the most commonly used due to its considerable electrical conductivity, stability, ease of synthesis and treatment. The surface of thin films of the conducting polymers/composites can be a supporting material for metal nanoparticles and provides a much larger effective surface area than bare metal electrodes due to their rough surfaces. In addition, the metal particles that dispersed homogeneously on this surface offer an increase in the intrinsic electrocatalytic activity of the hydrogen evolution [19,20,21,22].

Many attempts have been made to apply the highly conductive, catalytic, sensor and mechanical properties of the conducting polymers to different practical needs through blending or composite formation. For this purpose, chitosan, which is the second most abundant and renewable biopolymer after cellulose, has been used in a wide range of research areas. It possesses a unique combination of structural, mechanical, catalytic and thermal properties, as observed in numerous composites [23,24,25,26,27,28].

Nano-scale materials have excellent catalytic activities because of their active surface areas, which results in unique physical, chemical and biological properties that differ essentially from the properties of larger particles [26, 29].

In this study, we present a method for the fabrication of a catalyst by modifying a low-cost, low-technology and mechanically rigid pencil graphite electrode and used it in hydrogen evolution as a model process to demonstrate its catalytic activity. The other and the most important reason choosing the pencil graphite was its easy commercial availability. The modification was performed by codeposition of polypyrrole using the abundant natural biopolymer chitosan as the raw material. Then, we used this polymeric surface for the electrodepositon of gold metal particles at the nano-scale, which exhibit high catalytic activity in hydrogen evolution [30, 31]. Using this efficient catalyst at the nano-scale considerably reduced the amount of Au in the catalyst, resulting in low cost of prepared catalyst. To the best of our knowledge, pencil graphite as the carbon-based electrode modified by PPy-Chi/Au, prepared and used for hydrogen production fromwater for the first time in the literature. The performance of PPy-Chi/Au composite film was examined by electrochemical techniques. Designing a stable catalyst for long-term use was another goal of this study. The catalytic activity of the PGE modified by the PPy-Chi/Au was maintained over 6 h of electrolysis with a current density of nearly 80 mA cm−2.

Experimental

The pyrrole monomer (Merck) was purified by distillation under reduced pressure prior to use. Chitosan (medium molecular weight) was purchased from Sigma-Aldrich, oxalic acid, hydrochloric acid, sulphuric acid and chloroauric acid (HAuCl4) were purchased from Merck, and all were used as received without any further purification. Aqueous solutions were prepared daily with ultrapure water. The electropolymerization solutions were prepared in a 0.3 mol L−1 oxalic acid solution containing 0.1 mol L−1 pyrrole and 0.01 g chitosan in a final volume of 10 mL.

A graphite rod from a 2B pencil was isolated with epoxy resin. The exposed area of the graphite electrode was 0.0314 cm2. Prior to each electropolymerization, the surface of the bare PGE was carefully hand-polished using different grades of emery paper (200–2500 grain). After polishing, the electrode was washed with ethanol and distilled water. Electrochemical deposits were made using a Gamry Potentiostat (Interface 1000) controlled by a personal computer and software (Gamry Framework and Gamry Echem Analyst). A three-electrode setup was used and consisted of a Ag/AgCl/Cl reference electrode and platinum wire as a counter-electrode.

The electropolymerization of pyrrole in the presence and absence of chitosan was done potentiodynamically within the potential region of −0.2 V to +0.925 V at a scan rate of 50 mV s−1. To study the influence of the film thickness, the polymeric films synthesized after 3, 5 and 7 cycles on PGE. After polymerization, the coated electrodes were immersed in a 0.5 mol L−1 H2SO4 solution for 5 min to remove the monomers and other residues.

After the studies of the catalytic activity of the composite films by electrochemical measurements, it was determined that the composite film obtained after 5 cycles was the optimum film thickness (2.1 ± 0.1 μm) for HER. Therefore, the electrodeposition of the Au nanoparticles was performed on the composite film obtained by cyclic voltammetry after 5 cycles in the potential range of −0.5 V to +1.0 V, which was applied for 2 cycles at 50 mV s−1 in 0.5 mol L−1 H2SO4 solution containing 1 mmol L−1 HAuCl4. The composite films were ready to use for electrochemical measurements after holding them in the 0.5 mol L−1 H2SO4 solution for a few minutes.

The electrochemical impedance spectroscopy measurements were performed over a frequency range from 100 kHz to 0.1 Hz at −1.0 V applied potential with a 10 mV Ac amplitude. A FEI Quanta 250 FEG Scanning Electron Microscope (SEM) was used for the morphological analyses.

Results and discussion

In this study, we developed a new, easy to prepare and efficient electrocatalyst for HER. The schematic illustration of the experimental setup is shown in Fig. 1. The catalytic performances of both the PPy-Chi composite films and the PPy-Chi/Au nanostructured composite films coated on PGE were examined by cyclic voltammetry, Tafel polarization curves and electrochemical impedance spectroscopy. All experiments were also carried out on the bare graphite electrode, but due to the uncontrolled hydrogen evolution on it, the obtained data could not be evaluated. Coating the surface of the graphite with a conducting polymer film provided a controllable hydrogen evolution and allowed to decorate this surface with gold nanoparticles homogeneously. The first reason for using gold nanoparticles on PPy-Chi composite surface was to utilize its catalytic activity and the second was to use it at the nano-scale to develop a less expensive electrocatalyst for the hydrogen production. This is the key requirement for an efficient electrocatalyst for hydrogen production.

Fig. 1
figure 1

The schematic illustration of the experimental setup for HER on PGE modified by PPy-Chi/Au

Morphological analyses

First, the morphological structures of the electrode surfaces were determined by SEM. It is well-known that the size, shape and morphology of the particles affect the catalytic and electrocatalytic properties [3]. Figure 2 presents the details of the morphological structures of the bare pencil graphite as well as the PPy-coated, PPy-Chi-coated and PPy-Chi/Au-coated pencil electrode.

Fig. 2
figure 2

The SEM images of a bare PGE, b PGE/PPy, c PGE/PPy-Chi, d PGE/PPy-Chi/Au, e highly magnified image of the PPy-Chi/Au surfaces and f EDS spectrum of PPy-Chi/Au composite film

As shown in Fig. 2a, the surface of the graphite has a very porous structure. The typically cauliflower-like morphology of PPy (Fig. 2b) has become more compact with the addition of the chitosan (Fig. 2c). Such a surface is suitable for metal electrodeposition that will end with a homogeneous dispersion of the metal particles. It can be clearly seen that the Au nanoparticles were distributed on the PPy-Chi matrix uniformly (Fig. 2d) and Fig. 2e shows a highly magnified image of the prepared PPy-Chi/Au composite film which indicates the Au deposited on polymeric matrix at the nano-scale. Energy-dispersive spectrometer (EDS) analysis was utilized to determine the composition of the PPy-Chi/Au composite; the results showed that the weight percentage of Au was about 9% (Fig. 2f).

Voltammetric studies

The electrocatalytic performances of the modified electrodes were examined first by cyclic voltammetry, were recorded on the PPy-Chi-coated graphite electrode in the potential range of 0 to −1.5 V in 0.5 mol L−1 H2SO4 and are shown in Fig. 3a. The modified surface with conducting polymers provides a more controllable hydrogen evolution when compared with the naked electrodes. In addition, the conducting polymers act as a mediator and provide a homogenous distribution of the electrodeposited metals and alloys on their surfaces [20,21,22].

Fig. 3
figure 3

a The cyclic voltammograms of PGE cathode coated with different cycle numbers of PPy-Chi in 0.5 mol L−1 H2SO4 (ν = 10 mV s−1). b The cyclic voltammograms of PGE cathode coated with 5 cycles of PPy, PPy-Chi and PPy-Chi/Au nanoparticles in 0.5 mol L−1 H2SO4 (ν = 10 mV s−1)

To determine the optimum film thickness for the hydrogen evolution, all the electrochemical measurements were recorded on different film thicknesses. We know from our previous studies that the polymeric film thickness coated on the electrode surface plays an important role in H+ adsorption and in reactions such as hydrogenation [32,33,34,35]. Therefore, it appears clearly that the obtained current densities are strongly dependent upon the film thickness. The film obtained after 3 cycles of electropolymerization was too thin for H+ adsorption, while the thicker film obtained after 7 cycles had a low conductivity that decreased the charge transfer ability for H2 evolution [34, 35]. So, the highest current density response obtained after 5 cycles was the optimum film thickness.

After determining the optimum film, the modification of the PPy-Chi surface with gold nanoparticles was performed as explained in the experimental section. The amount of Au deposited was obtained by the electrical charge consumed during the deposition process Q Au (C cm−2). It was assumed that the current efficiency was 100% for reduction of Au3+ and the quantity of deposited Au (m Au) is obtained from the equation; m Au = Q Au.M Au/nF, where M is the atomic weight of Au (196.96 g mol−1), n is the number of electrons transferred and F is the Faraday constant (96,485 C mol−1). The loaded Au amount was calculated as 80 μg cm−2.

The real surface area (RSA) of the electrodeposited of Au nanoparticles on the surface of the PPy-Chi composite film can be estimated by simple sweep the modified electrode in 0.5 M H2SO4 solution using cyclic voltammetry scanning to −0.5 to 1.5 V at 100 mV s−1. The real surface area of the Au nanoparticles is calculated by assuming that the reduction of a monolayer of gold oxide requires 386 μC cm−2 (Q ref) according to RSA = Q/Q ref [36]. The Q for reduction of gold oxide to gold obtained from CV curve is 131.3 μC at observed oxide reduction peak (0.6 V). The real active surface area of the gold nanoparticles on PPy-Chi after 2 cycles is calculated to be 0.34 cm2.

Then, the comparison of the cyclic voltammograms of the pencil graphite electrodes modified with PPy-Chi and PPy-Chi/Au nano composites was performed in 0.5 mol L−1 H2SO4 in the same potential window (Fig. 3b). As a reference point, we also performed voltammetric measurements on graphite electrodes that were only coated with PPy. The CVs confirmed that when chitosan was added into the PPy matrix, the obtained current density increased gradually. As stated in the literature, electrical conductivity of the composite material increases with chitosan loading, as well as its thermal stability and the mechanical properties [24, 26,27,28]. In its actual state, a chitosan film has low electrical conductivity. Although the structure of chitosan monomer has three hydrogens (on -NH2 and -OH groups), they cannot be mobilized under the action of an electric field to make it a proton conductor. When the hydrogen atoms of chitosan dissolved in acidic medium, they can be mobilized under the influence of an electric field and can bond to PPy; consequently, the obtained film becomes a proton conductor [37, 38]. Also, the interaction between the PPy and chitosan might result in a more compact structure with small pore size, which provides a better film that results in higher electrical conductivity [39]. The second remarkable point from Fig. 3b is that the obtained current density also increased about five times in the presence of Au nanoparticles, in comparison with the PPy-Chi film from which it is absent. This difference in the current density confirmed that although in small amounts, the Au nanoparticles have a high catalytic effect on HER. The third remarkable point is that the onset potential for hydrogen evolution shifted to the positive potentials when the Au nanoparticles were electrodeposited on the PPy-Chi film. The hydrogen evolution started at about −0.6 V on the PPy-Ci/Au composite film, whereas it occurred near −1.0 V on the PPy-Chi film. The hydrogen evolution took place faster when the potential was more negative than the value of −0.8 V, and there was a sharp rise in the current density observed, which can be attributed to the strong hydrogen evolution in this region. These results accurately demonstrate that the hydrogen evolution requires less energy input and is quite strong on the PPy-Ci/Au composite film when compared with the PPy-Chi film.

Mechanistic investigations

To investigate the performances of the PPy-Chi and PPy-Chi/Au composite films for electroactivity on HER, linear Tafel polarization curves also were obtained (Fig. 4a), and the related kinetic parameters are shown in Table 1 and were calculated from the curves according to the Tafel equation (Eq. 1) [7, 40]. The results obtained on bare Au electrode are also given for the comparison.

Fig. 4
figure 4

a The Tafel polarization curves of PGE cathode coated with different cycle numbers of PPy-Chi and 5 cycles of PPy-Chi/Au and bare Au electrode in 0.5 mol L−1 H2SO4 (ν = 10 mV s−1). b The Nyquist diagrams of PGE cathode coated with different cycle numbers of PPy-Chi and 5 cycles of PPy-Chi/Au in 0.5 mol L−1 H2SO4 at −1.0 V

Table 1 The electrochemical parameters calculated from Tafel polarization curves for each composite
$$ \eta = a+ b \log i=-\frac{2.3 RT}{\alpha nF} \log {i}_0+\frac{2.3 RT}{\alpha nF} \log i $$
(1)

where η represents the applied overpotential, i is the resulting current density, b is the Tafel slope, a is the intercept, i o is the exchange current density, α is the transfer coefficient, n is the number of transferred electrons, F is the Faraday constant (96,485 C mol−1) and R is the universal gas constant (8.314 J K−1 mol−1).

The largest current densities were obtained on the film after 5 cycles of PPy-Chi at each applied potential, which was consistent with the CV results, and the current densities increased noticeably after Au electrodeposition. The hydrogen evolution reaction mechanism is defined by three possible reaction steps in acidic medium. The first step is the Volmer reaction (H3O+ + e → Had + H2O), and it is the Had formation step where one electron is transferred with a Tafel slope of ≈120 mV dec−1. This step is followed by either an electrochemical desorption step, which is called the Heyrovsky reaction (Had + H3O+ + e- → H2 + H2O), with a Tafel slope of ≈40 mV dec−1, or a recombination step, which is called the Tafel reaction (Had + Had → H2), with a Tafel slope of ≈30 mV dec−1 [6, 7].

The Tafel slopes (b) and the current densities (i) calculated by the linear part of the Tafel plots fitted the Tafel equation. The 5 cycles of PPy-Chi composite film showed the smallest Tafel slope, 174 mV dec−1 within other composite films, which indicated that the reduction process occurred more easily on this film. The Tafel slope was reduced to 131 mV dec−1 by the deposition of the Au nanoparticles on the composite film, and it was calculated about 114 mV dec−1 in the case of bare Au electrode. In principle, an electrocatalyst that has a small Tafel slope can generate larger current densities at lower overpotentials. The relatively small slope indicated the fast proton discharge kinetics on the PPy-Chi/Au electrode.

Lu and co-workers studied HER on Au nanoparticle@zinc–iron-embedded porous carbons (Au@Zn–Fe–C). The Tafel Slopes obtained on Au@Zn–Fe–C were in the range of 267 to 130 mV dec−1, depending on the addition of different amount of Au nanoparticles. They have specified that the encapsulated Au nanoparticles play an important role in determining the electrocatalytic activity for HER [41]. Zhang et al. fabricated HER catalysts by integrating gold nanoparticles (AuNPs) on nitrogen-doped carbon nanorods encapsulating carbon nanofibers (AuNPs@NCNRs/CNFs). They also found that the obtained Tafel slopes decreased from 110 to 93 mV dec−1 with the increasing amount of HAuCl4 solution [31].

When considering the theoretical values of both the Tafel and Heyrovsky reactions, it is impossible to say that the rate determining step is the Tafel or Heyrovsky reaction according to the calculated values. The Tafel slope of 131 mV dec−1 suggested that the hydrogen evolution on the PGE modified by the PPy-Chi/Au composite film probably occurred via a Volmer–Heyrovsky mechanism with the Volmer reaction (hydrogen adsorption) as the rate determining step [4,5,6].

On the other hand, for the proceeding reaction to occur at a measurable rate, a certain overpotential is required [8]. Therefore, the overpotential at a given current density is a more practical parameter for comparing the hydrogen production rate than the exchange current density itself. The composite film obtained after 5 cycles of PPy-Chi coating at a fixed current density of −10 mA cm−2 exhibited a lower overpotential of −0.81 V compared to −0.99 V on the third cycle and −1.15 V on the seventh cycle of the film. This overpotential decreased to −0.64 V on the PPy-Chi/Au film. These prominent differences in the Tafel results prove again the better catalytic behaviour of HER on PPy-Chi/Au compared to PPy-Chi composite film. Another important parameter calculated from the Tafel results was the resulting current density at a fixed applied potential (energy input). The current densities at −0.9 V were determined from the corresponding cathodic current-potential curves for different thicknesses of PPy-Chi composite films. The highest current density is obtained on the fifth cycle of PPy-Chi as 13.7 mA cm−2; this value increased to 98.1 mA cm−2 for PPy-Chi/Au composite film (Table 1).

Impedance spectroscopy measurements

For a more detailed examination, electrochemical impedance spectroscopy was employed to compare the charge transfer resistances of the composite films for HER. In the Nyquist plots of the impedance spectra, the semicircles obtained at high frequencies that correspond to the charge transfer resistance are noticeably altered with the film thickness (Fig. 4b). The results are compatible with other electrochemical results and indicate that the smallest resistance was observed on the fifth cycle of the PPy-Chi composite film, so the highest reaction rate of HER occurred on this electrocatalyst. The charge transfer resistance increased at the thinner (the characteristic properties of the naked electrode surface became more dominant) and thicker films (where the conductivity problem of the film arose). After modification of the PPy-Chi composite film (fifth cycle) with Au nanoparticles, the electron transfer resistance reduced more, from 0.7 to 0.1 kΩ (Fig. 4b). The result (0.1 kΩ) for charge transfer is quite good when compared with reference [41]. The decrease in the resistance is evidence for a much faster electron transfer between the composite film and H+ [42]. This result also confirms again that the rate-control step is the Volmer step: the discharge of a proton to give-up adsorbed hydrogen atoms (Had).

Stability studies

Beside the catalytic activity, the stability of an electrocatalyst is also very important. To prove the stability, the H2 evolution stability test was performed over PPy-Chi/Au composite film, which is a significant parameter for deciding if it is a promising catalyst [43] (Fig. 5).

Fig. 5
figure 5

The stability tests of PPy-Chi/Au in 0.5 mol L−1 H2SO4. a Cyclic voltammograms of the first and after 1000 cycles. b Amperometric responses recorded at −1.0 V

The continuous cyclic voltammograms were performed from −0.5 to −1.5 V for 1000 cycles at a scan rate of 100 mV s−1 in 0.5 mol L−1 H2SO4 and are shown in Fig. 5a. The polarization curves after 1000 cycles almost overlay the first cycle. In addition, the stability of the current density was tested as a function of time at the −1.0 V applied potential (Fig. 5b). The electrocatalyst maintained its stability over 6 h with a negligible current decrease. After long-term stability and cyclability tests, the results reveal that the PGE modified with PPy-Chi/Au catalyst is stable in acidic solution and suggests the potential use of this catalyst over a long time in electrochemical hydrogen generation.

Conclusion

In conclusion, we fabricated a low-cost, easy modify electrode material and investigated its performance for hydrogen production from water as a model process. A facile pencil graphite electrode was chosen as the support material and modified by electopolymerization of the pyrrole in the presence of a natural biopolymer chitosan at various film thicknesses. The morphological analyses and the catalytic activities of the PPy-Chi coated PGE were examined by cyclic voltammetry, Tafel polarization curves and electrochemical impedance spectroscopy. The optimum film thickness was determined from the experimental results. To utilize the well-known catalytic activity of Au, Au nanoparticles were electrodeposited on the PPy-Chi composite film obtained after 5 cycles of CV. The SEM images showed that the Au nanoparticles were distributed on the composite film homogenously. The electrochemical results obtained from the PPy-Chi/Au demonstrated that the deposited nano-structured Au enhanced the catalytic activity of the composite, which makes it a potentially cost-effective with small amount of nobel metal content, easily prepared and long-term usable material that would use a catalyst for electrocatalytic hydrogen production.