1 Introduction

Hydrogen sulfide is listed by the US Environmental Protection Agency (EPA) as an extremely hazardous substance [1]. It is a dangerous toxic material that jeopardizes the health of humans and promotes the corrosion of metallic materials [2, 3]. It contaminates massive volumes of natural geothermal fluids that are encountered in the drilling of wells for the production of oil and for the utilization of geothermal energy [35]. It exists in many other natural water bodies [6, 7] and contaminates many waste water streams resulting from various industries [811].

Control of hydrogen sulfide in oil production involves precipitation and oxidation using scavengers, such as zinc carbonate, sodium chromate, ferric oxide, etc. at doses of some kilograms per barrel, depending on the sulphide level and other oil well fluid properties [3, 1216]. Depending on the volume of production, a particular oil field may require injection of some hundreds of tons of these scavengers. This entails great cost and exerts a heavy toll on the environment.

The removal of H2S from gas streams is achieved using the Claus process [17]. This is a gas phase catalytic process that is performed at high temperature. Various electrochemical versions of the Claus process were proposed to oxidize H2S from gas streams in molten electrolytes at temperatures up to 900 °C [1820]. A similar electrochemical process, using a molten salt electrolyte, has been proposed for the removal of SO x from flue gas streams [21]. The removal of H2S from sour gas streams was achieved by scrubbing the gas in 1 M NaOH and electrolyzing the resulting solution at 80 °C and 1 atm. [22, 23]. These processes are not suitable for the removal of sulfide ions from geothermal fluids.

Direct electrochemical oxidation of such fluids provides an attractive environmentally friendly process that converts the polluting sulfide ions into more innocuous products, using electrons rather than chemicals. The process leads to the formation of elemental sulfur at temperatures up to 80 °C [2224]. The electrode reaction can be represented by:

$$ {\text{HS}}^{ - } = {\text{S}} + {\text{H}}^{ + } + {\text{e}}^{ - } \quad \quad E^{0} = - 0.065\,{\text{V(SHE)}} $$
(1)

Naturally occurring geothermal fluids deep underground exist under much higher temperatures and pressures [35]. Consequently, one needs to test the direct electrochemical oxidation of sulfide ions under higher temperatures to make a closer simulation of the natural environment where the polluting sulfide ions exist. Natural geothermal fluids under this condition are also particularly amenable to electrochemical treatment as they exhibit high electrical conductivity.

This paper presents the results of some experiments that were performed under conditions which simulate geothermal fluids over a range of temperatures that exceeds the normal melting point of sulfur (115 °C). Since this temperature is above the normal boiling point of water, it is necessary to perform the measurements in a closed system (an autoclave). In such a system, the pressure increases above 1 atm as the temperature increases above 100 °C. This increase in pressure might affect the thermodynamics of the various transitions of sulfur, i.e. from orthorhombic to monoclinic to liquid sulfur. This issue is also addressed in this paper.

2 Experimental details

Working electrodes were in the form of rods of pyrolytic graphite (0.64 cm diameter). These were machined from a 0.7 cm thick slab of pyrolytic graphite. The cross sectional area of the rod (0.32 cm2) served as the working electrode while the side walls of the rod were insulated with Teflon. The electrodes were polished successively down to 0.05 μm alumina giving a mirror finish. All measurements were performed in a supporting electrolyte of 3.5% NaCl containing 0.01 M sodium sulfide. The test solutions were prepared from deionized water and analytical grade chemicals. Measurements were performed using a Gamry PC4/750 Potentiostat. The potential was scanned from cathodic towards anodic potentials against an Ag/AgCl reference electrode, E = 0.197 V (SHE). The graphite electrodes were examined using AXIO Imager A1 M optical microscope, and an X-ray photoelectron spectrometer (XPS), FISON Instruments, Model ESCA-lab 200 (VG instruments).

Experiments were performed in a Teflon cell housed in an autoclave made from 316 L stainless steel. The head of the autoclave has ports for a thermocouple and contacts to the working, counter and reference electrodes. To ensure gas-tight sealing of the head onto the autoclave, the head was machined to accommodate two o-rings. The electrolytic cell was fabricated from a block of PTFE to fit tightly in the main body of the autoclave. The cell is also composed of a main body which contains the salt solution and a cover. After the cell was assembled and the autoclave sealed, the system was placed in a specially designed electric furnace equipped with a temperature regulator. Attainment of constant temperature required about 2 h. After the measurements were performed and the heating turned off, the system required many more hours to cool down before it could be disassembled.

3 Results

Figure 1 illustrates some current-potential curves for the electrochemical oxidation of sulfide ions at various temperatures, from a solution containing 0.01 M HS at a scanning rate of 1 mV s−1. The anodic current increases gradually with potential towards a well defined limiting current, which remains constant for several hundred mV. This limiting current is a measure of the highest possible rate of the reaction. The shape of these curves is characteristic of electrochemical reactions under control by charge transfer and material transport processes.

Fig. 1
figure 1

Effect of temperature on the polarization curves of the graphite electrode in a solution containing 3.5% NaCl + 0.01 M HS

Potentiostatic current transients were measured under various conditions. Figure 2 is an illustrative example obtained at 25 °C and a potential of 0.8 V (Ag/AgCl). The current in the presence of sulfide ions is more than two orders of magnitude greater than that in the supporting electrolyte. This indicates that the currents measured in Fig. 1 are indeed resulting from the oxidation of the sulfide ions.

Fig. 2
figure 2

Effect of the sulfide ions on the potentiostatic current transients obtained at 25 °C in 3.5% NaCl at a potential of 0.8 V

Figure 3 displays the effect of temperature on the potentiostatic current transients obtained under a potential of 0.8 V (Ag/AgCl). As the temperature increases, the current increases. However, the more significant increase in current occurs around 100 °C. An increase of about 55 °C in temperature from 25 to 80 °C has a much smaller effect on the current than an increase of only 20 °C from 100 to 120 °C. The currents obtained at temperatures up to 80 °C decrease rapidly with time to negligibly small values which remain nearly constant. This is an indication of the passivation of the surface by elemental sulfur. The presence of elemental sulfur on the electrode surface has been confirmed below, using microscopy and XPS. On the other hand, the currents obtained at and above 100 °C are much larger and more sustainable. This behavior is associated with the absence of elemental sulfur on the electrode surface, as shown below.

Fig. 3
figure 3

Effect of temperature on the potentiostatic current transients of pyrolytic graphite in 0.01 M HS at 0.8 V (Ag/AgCl). The transients measured at 25, 40 and 80 °C (marked 1, 2 and 3) converge to a very small value at the bottom of the figure

Figure 4 illustrates the effect of temperature on the currents measured at the end of the tests shown in Fig. 3. The relationship is quite nonlinear. Two regions are clearly seen in Fig. 4. In Region 1 the current increases with temperature only slightly. This is followed by rapid increase of current with temperature (Region 2). The intersection of the two straight lines shown in Fig. 4 occurs at about 115 °C, which coincides with the normal melting point of sulfur.

Fig. 4
figure 4

Effect of temperature on the currents obtained from Fig. 3

3.1 Reaction products

The electrode surfaces were inspected microscopically and subjected to XPS after performing the electrolyses at different temperatures. Figures 5a–c show some micrographs of the graphite surfaces after tests similar to those described in Fig. 3. Note the presence of sulfur in the images shown in Fig. 5a and b, at 80 and 100 °C, respectively. On the other hand, no sulfur is seen in the image of Fig. 5c, at 150 °C. Several XPS spectra are shown in Fig. 6a–c for electrodes treated at different temperatures. The well developed peaks at about 164.8 and 161.8 eV correspond to elemental sulfur and sulfide ions, respectively [25, 26]. On the other hand, the peak at about 168.5 eV is often associated with oxygen bearing species, such as sulfate ions. Note the presence of the peak at 164.8 eV on the electrode surfaces treated at 25 and 100 °C, indicating the presence of elemental sulfur, which is seen in the images presented in Fig. 5a and b. On the other hand, the electrode treated at 175 °C is totally void from elemental sulfur. The presence of a sulfide peak at a binding energy of 161.8 eV after this treatment reveals that the sulfide ions have not been completely removed. The formation of elemental sulfur at low temperatures was shown to occur via reaction 1 [24]. On the other hand, the formation of sulfate ions proceeds according to reaction 5, described below.

Fig. 5
figure 5

Optical micrographs obtained from the graphite electrode after 3 h of polarization in a medium of 3.5% NaCl + 0.01 M HS at: a 80, b 100 and c 150 °C

Fig. 6
figure 6

XPS spectra of the S2p signal obtained from the graphite electrodes after 3 h of electrolysis in a medium of 3.5% NaCl + 0.01 M HS at: a 25, b 100 and c 175 °C

3.2 Removal rate and efficiency

The rate of removal of sulfide ions (∂m/∂t in mol s−1) is directly proportional to the currents (i in A) measured in Fig. 3, through Faraday’s law:

$$ \partial m/\partial t = i/nF\,{\text{\,\,mol}}\,{\text{s}}^{ - 1} $$
(2)

where i is in A, n is the number of electrons transferred in the reaction and F is the Faraday’s constant. A simple calculation illustrates the effect of temperature on the rate of removal of sulfide ions. The currents supported by a fairly small electrode (0.32 cm2 area) are about 0.001 and 0.003 A at 120 and 150 °C, respectively. The electrochemical oxidation of HS at such temperatures is shown below to produce oxygen bearing sulfur species, such as sulfates SO4 . This reaction is associated with a value of n = 9 (see Eq. 5). Using the Faraday’s constant and this value of n in Eq. 2, one obtains removal rates of about 1 × 10−9 and 3 × 10−9 mol s−1 at 120 and 175 °C, respectively. The amount of removed sulfide ions is directly affected by the area of the electrode and the duration of the process. A flat electrode of a modest size (10 cm × 10 cm) can remove sulfide ions at rates of 2.25 and 6.75 mmol h−1 at 120 and 175 °C, respectively. Much higher electroactive areas can be utilized for this purpose using porous electrodes [27].

The charge passed during the electrolysis process can be obtained from the area under each curve in Fig. 3. The curves measured at 120 and 175 °C corresponding to charges of about 12 and 40 C, respectively. An electrode of larger area would pass proportionately higher number of coulombs under otherwise the same conditions. Assuming all the sulfide ions in the electrolyte are oxidized to sulfate ions, the total charge would be about 200 C. This indicates that the efficiency of the removal process is about 6% at 120 °C and 20% at 175 °C after electrolysis for 3 h using an electrode of only 0.32 cm2 area. An electrode of much larger area would support much higher currents and hence much higher removal rates. With an electrode of much larger area, one expects that the current will decay more rapidly with time because of the rapid depletion of the sulfide ions from the electrolyte. Measurements with much larger and/or porous electrodes are planed to achieve this objective.

4 Discussion

4.1 Sulfur species

Anodic oxidation of sulfide ions can yield a variety of products e.g. elemental sulfur, polysulfide, thiosulfates and sulfates [2830], i.e.

$$ 2{\text{HS}}^{ - } = {\text{S}}_{2}^{2 - } + 2{\text{H}}^{ + } + 2{\text{e}}\quad \quad E^{0} = 0.298\,{\text{V}}({\text{SHE}}) $$
(3)
$$ 3{\text{HS}}^{ - } = {\text{S}}_{3}^{2 - } + 3{\text{H}}^{ + } + 4{\text{e}}\quad \quad E^{0} = 0.097\,{\text{V}}({\text{SHE}}) $$
(4)
$$ {\text{HS}}^{ - } + 4{\text{H}}_{2} {\text{O}} = {\text{SO}}_{4}^{ - - } + 9{\text{H}}^{ + } + 8{\text{e}}\quad \quad E^{0} = 0.252\,{\text{V}}({\text{SHE}}) $$
(5)

Polysulfides may also undergo oxidation to elemental sulfur, i.e.

$$ {\text{S}}_{2}^{2 - } = {\text{2S}} + 2{\text{e}}^{ - } \quad \quad E^{0} = - 0.310\,{\text{V}}({\text{SHE}}) $$
(6)

Both elemental sulfur and the various polysulfides undergo oxidation to oxyanions, e.g. thiosulfate and sulfate, e.g.

$$ 2{\text{S}} + 3{\text{H}}_{2} {\text{O}} = {\text{S}}_{2} {\text{O}}_{3}^{2 - } + 6{\text{H}}^{ + } + 4{\text{e}}\quad \quad E^{0} = 0.165\,{\text{V}}({\text{SHE}}) $$
(7)

On the basis of thermodynamic predictions, many of the above reactions can occur simultaneously. For example at a potential of E = 0.35 V (SHE), all the above reactions can, in principle, occur simultaneously under standard conditions. On the other hand, at 0.20 V, only reactions 1, 4, 6 and 7 can proceed simultaneously. Although reaction 7 is thermodynamically feasible, elemental sulfur was found to be stable at lower temperatures under strongly oxidizing potentials [24]. This indicates that reaction 7 does not proceed to any great extent at the lower temperatures due to kinetic limitations. Determination of the selectivity of each of the above reactions and the simultaneous determination of the concentration of each of the above species are major tasks that are yet to be achieved.

Stefansson et al. [31, 32] gave a brief summary of sulfur chemistry in hydrothermal waters. They indicated that the oxidation of H2S proceeds through a series of complex reactions that involve meta stable sulfur species with oxidation states from −2 to +6, such as sulfur (So), poly sulfides (S n S2−), thiosulfate (S2O3 2−), polythionates (S x O6 2−) and sulfite (SO3 2−).

4.2 Transition temperatures

The thermodynamics of the sulfur system have important bearings on the interpretation of the present results, which are covering a range of temperature from 25 to 175 °C. The equilibrium between orthorhombic (o) and monoclinic (m) sulfur is given by:

$$ {\text{S}}({\text{o}}) \rightleftarrows {\text{S}}({\text{m}}) $$
(8)

The transition temperature of this equilibrium is about 95 °C at one atmosphere. This temperature occurs shortly after the beginning of the region of rapid increase of current with temperature, as shown in Fig. 4. However, the rate of increase of current with temperature around 95 °C is much less than that around (115 °C) which is the normal melting point of sulfur (see Fig. 4). The present results suggest that the orthorhombic to monoclinic phase change (Eq. 3) is not significant in terms of the rate and efficiency of sulfide removal, as shown in Fig. 4. On the other hand, the melting of sulfur is represented by:

$$ {\text{S}}({\text{m}}) \rightleftarrows {\text{S}}({\text{l}}) $$
(9)

Our results show that above 115 °C, the current increases quite rapidly as the temperature increases. This might be attributed to the melting of sulfur, or to a possible change in the reaction product. Had elemental sulfur remained to be the predominant reaction product above 115 °C, it would melt away and go into the electrolyte. However, elemental sulfur was not detected.

Above 100 °C the pressure inside the autoclave is above 1 atm. The increase in pressure affects the melting point of sulfur. An estimate of the rate of change of the melting point of sulfur with pressure can be obtained using the Clausius-Clapeyron’s equation, i.e.

$$ {\text{d}}T/{\text{d}}p = T\Updelta V/\Updelta H_{\text{f}} $$
(10)

where ΔV is the change in molar volume (between liquid and monoclinic sulfur) and ΔH f is the molar enthalpy of fusion of monoclinic sulfur. The densities of monoclinic and liquid sulfur are 2.0 and 1.82 g cm−3, respectively while ΔH f ≈ 1.72 kJ mole−1. Using the above values and Eq. 10, we obtain a value of dT/dp ≈ 3.5 × 10−2 k atm−1. This rate of change requires a pressure increase of about 30 atm to produce an increase of the melting point of monoclinic sulfur of only one degree. Since the pressure in the autoclave was less than 10 atm, the melting point of monoclinic sulfur under the condition of our measurements is not much different than its normal melting point.

5 Conclusions

This work proved the feasibility of direct electrochemical desulfurization of geothermal fluids under high temperature. Above the melting point of sulfur (115 °C), high sustainable rates of desulfurization can be achieved, while the reaction produces oxygen bearing sulfur species such as sulfates. At lower temperatures, the reaction produces elemental sulfur which was seen under the microscope and identified using XPS. It passivates the electrode and hence diminished its activity. It has also been shown that the melting point of sulfur (at 115 °C) has more profound effects on the rate and efficiency of sulfide removal than the transition of monoclinic to orthorhombic sulfur (at 95 °C).

The efficiency of the process was shown to be strongly affected by the temperature, in measurements above the melting point of sulfur. This is contrary to the findings at temperatures much below 115 °C. The present work identified some areas that deserve more measurements and analyses. Some of these areas are briefly described below:

  1. 1.

    Determination of the selectivity of the various anodic oxidation reactions of the sulfide ion, under different conditions of temperature, potential, electrode material and sulfide concentration.

  2. 2.

    Simultaneous determination of the concentrations of the various sulfur species that result from sulfide oxidation.

  3. 3.

    The present measurements were performed on pyrolytic graphite electrodes of quite a small area (0.32 cm2). This resulted in fairly small rates and efficiencies of removal. Much higher rates and efficiencies of removal can be achieved using flat electrodes with much larger surface areas or porous electrodes. These tasks are planned for future work.