Introduction

Hydrogen (H2) is recognized as a clean and environmentally friendly energy. It generates only water (H2O) when it is combusted as a fuel or transformed into electricity. The US Department of Energy Hydrogen Program estimated that the provision of hydrogen to the total energy market will increase to 8–10% by 2025 (Wu et al. 2013). Dark fermentation is a biological hydrogen (biohydrogen) production that utilizes anaerobic bacteria to decay organic materials. This process requires low energy and it does not use light; therefore, it rapidly makes H2 production easy to operate) (Wang and Wan 2009). Food waste is a kind of organic waste that can be used as a substrate. It is a carbohydrate-based waste which is the main source for biohydrogen production. Carbohydrate-based waste can provide hydrogen production 20 times higher than protein-based waste and fat-based waste (Show et al. 2012). For biohydrogen production by mixed cultures, a heat shock method is the ultimate and most commonly used pretreatment method of mixed cultures to restrain the activity of H2-consuming bacteria while still conserving the H2-producing bacteria (Valdez-Vazquez and Poggi-Varaldo 2009). During biohydrogen production process, not only is H2 produced as the main product but also volatile fatty acids (VFAs) and alcohols occurred as byproducts (Wei et al. 2010). These byproducts can be used as a substrate for biomethane production (Chu et al. 2012). Therefore, biohydrogen and biomethane production by a two-stage fermentation process has been applied and developed at present (Luo et al. 2011). In a two-stage process, H2-producing bacteria and methanogenic bacteria are the main microorganism in biohydrogen (first stage) and biomethane (second stage) production processes, respectively. Fermentation process is a complicated process and is encouraged by various factors. Previous research has investigated the effect of initial pH (5.0–8.0) and temperature (35–60 °C) on biohydrogen production from food waste. It was found that hydrogen yield was low at the mesophilic temperature in the range of 35–40 °C, while it was higher at thermophilic temperature in the range of 50–55 °C. The extreme temperature of 60 °C caused inhibition of hydrogen production. Furthermore, pH is an important factor influencing the growth of a diversity of microorganisms involved in various stages during operation of the process (Chandra et al. 2012). The minimum hydrogen yield was achieved at an initial pH 5.0, which was not appropriate for H2-producing bacteria. The maximum hydrogen yield was achieved at an initial pH 7.0, followed by initial pH 8.0 and 6.0, respectively (Nazlina et al. 2009). In biomethane process, pH outside the range of approximately 6.0–8.5 starts a slowing toxic effect on methanogens. The pH of the system can rely on the rate at which intermediates are developed during fermentation (Chandra et al. 2012). If the pH of the waste is outside the optimal range and there is insufficient buffer capacity, the anaerobic process will be inhibited (Raposo et al. 2011). Consequently, it is reasonable to control the pH value in the first stage lower than that in the second stage of a two-stage biogas plant (Chandra et al. 2012). It is well known that the fermentation process under thermophilic temperature (around 55 °C) is more proficient than mesophilic (around 37 °C) temperature to produce biogas (Abbasi et al. 2012). However, the other environmental conditions such as pH, C/N ratio and others might differently enhance biohydrogen and biomethane production since the dissimilarity of microorganism of each process. Hence, the objective of this research was emphasized on the optimal environmental conditions for a two-stage fermentation process from food waste using mixed cultures including initial pH and C/N ratio in biohydrogen production process (first stage) and initial pH in biomethane production process (second stage) under thermophilic temperature.

Materials and methods

Feedstock and seed sludge

Food waste was taken from a main canteen at Mahidol University (Salaya campus), Nakhonpathom province, Thailand. Hard materials such as animal bones and shells in food waste were removed. The compositions of food waste were 55% (rice and noodle), 23% (vegetables), and 13% (meat) and 9% (pig, chicken and fish bones) on wet weight (w/w) basis. After that, food waste was ground into small particles by a blender and was screened with a sieve (2.0 mm). Then, substrate was prepared by mixing food waste and distilled water with a volumetric waste to water ratio of 1:2. Food waste slurry without sterilization was conducted in both stages of experiment. The physical and chemical characteristics of food waste slurry were pH 4.7, total solids (TS) 208,530 mg/L, chemical oxygen demand (COD) 165,330 mg/L, total Kjeldahl nitrogen (TKN) 3870 mg/L, carbohydrate 142,870 mg/L, protein 24,210 mg/L and fat oil and grease (FOG) 26,630 mg/L (APHA 2012). Anaerobic sludge was taken from the Nonthaburi bio-fertilizer plant in Thailand. The characteristics of seed sludge were pH 7.8, TS 74,810 mg/L, COD 37,330 mg/L, and TKN 1540 mg/L (APHA 2012). Seed sludge was screened with a sieve (2.0 mm) to remove large particulate materials. Then, it was heated at 90 °C for 10 min to facilitate the growth of spore-forming bacteria and restrain hydrogen-consuming bacteria (Wang and Wan 2008).

Experimental setup

Batch experiments were conducted in 250 mL Duran bottles. Each bottle was covered with black plastic to eliminate light. The bioreactor with 200 mL working volume consisted of 10 mL nutrient solution, 20 mL seed sludge and 170 mL substrate. The nutrient solution contained 40 g NaHCO3, 15 g FeSO4·7H2O, 5 g K2HPO4·3H2O, 5 g NH4Cl, 5 g NaH2PO4·2H2O, 0.085 g MgCl2·6H2O and 0.004 g NiCl2·6H2O in 1000 mL distilled water (Wang and Wan 2008). The bioreactor was purged by nitrogen gas for 1 min, capped with a silicone rubber stopper then screw cap, and installed in an air bag. Then, it was placed in a water bath shaker (100 rounds per minute) under thermophilic temperature (55 ± 2 °C). The experiments were carried out in triplicate.

The optimal initial pH and C/N ratio were investigated in the biohydrogen production process (first stage). Food waste slurry and pretreated seed sludge were added in the batch reactor. Initial pH values of 5.0, 6.0, 7.0, 8.0 and 9.0 were adjusted with HCl or KOH. Subsequently, the optimal initial pH was carried on the experiment of C/N ratio. To prepare different C/N ratios, NH4HCO3 and NH4Cl were used as a nitrogen source from ammonium salt and COD value of food waste was used as carbon source to create C/N ratio values of 10, 20, 30, 40 and 50 (Kalil et al. 2008). The residue of biohydrogen production under the optimal initial pH and C/N ratio was collected. The physical and chemical characteristics of the residue (hydrogen fermentation effluent) were pH 6.98, COD 7787 mg/L, TKN 25 mg/L, and NH3–N 1986 mg/L (APHA 2012). Hydrogen fermentation effluent and seed sludge were added in the biomethane production process (second stage). Lastly, the optimal initial pH was carried out in the experiment. Initial pH values were 6.0, 7.0, 8.0, 9.0 and 10.0 and were adjusted with HCl or KOH.

Analytical method and data analysis

Biogas volume was measured every 24 h by a wetted glass syringe sized 50–100 mL. Hydrogen and methane were measured after the experiment was started at 4, 6, 8, 10, 12 h and every 24 h by a gas chromatography system (Varian STAR 3400, USA) equipped with a thermal conductivity detector. The stainless steel packed column was an Alltech, Molesieve 5A 80/100 10′x 1/8″. Argon was applied as a carrier gas. The operating temperatures of the interjection, column and detector were 80, 50 and 90 °C, respectively. The liquid in the bioreactor was sampled 1 mL every 48 h by a plastic syringe. Then, mixed liquor samples from the bioreactor were monitored for pH and COD analysis after the experiment (APHA 2012). Volatile fatty acid (VFA) was measured before and after the fermentation. The products were sampled for 5 mL using syringe, and centrifuged at 10,000 rpm for 2 min to separate solid remaining in the sampled solution. Then, the supernatant was analyzed by a gas chromatography system-flame ionization detector (GC-FID), equipped with TG-WAXMS A column. The carrier gas was helium with a flow rate at 3 mL/min. The operating temperatures of injector and detector were 230 and 250 °C, respectively. The oven temperature was started at 50 °C for 2 min and then increased to 230 °C at a rate of 50 °C per min. Subsequently, the temperature was kept at 230 °C for 3 min (Wongthanate and Polprasert 2015).

Mass balance equation (Eq. 1) was calculated for cumulative hydrogen or methane production (Elbeshbishy and Nakhla 2012; Wongthanate and Polprasert 2015).

$$V_{{{\text{H}},i}} = V_{{{\text{H}},i - 1}} + C_{{{\text{H,}}i}} (V_{{{\text{G}},i}} {-}V_{{{\text{G}},i - 1}} ) + V_{\text{H}} (C_{{{\text{H}},i}} {-}C_{{{\text{H}},i - 1}} ),$$
(1)

where VH,i and VH,i−1 are the cumulative hydrogen gas volumes (or cumulative methane gas volumes) at the current (i), and the previous time interval (i − 1), VG,i and VG,i−1 are the total biogas volume at the current and the previous time interval, CH,i and CH,i−1 are the fraction of hydrogen gas (or methane gas) in the headspace at the current and the previous time interval and VH is the volume of the headspace in the bioreactor.

Modified Gompertz equation (Eq. 2) was calculated for cumulative hydrogen production and cumulative methane production (Elbeshbishy and Nakhla 2012; Wongthanate and Polprasert 2015).

$$H = P \times \exp \left\{ { - \exp \left[ {\frac{{R_{\text{m}} \times e}}{P}(\lambda - t) + 1} \right] } \right\},$$
(2)

where H (mL) is the cumulative hydrogen production (or cumulative methane production), P (mL) is the hydrogen production (or methane production), Rm (mL/h) is the maximum hydrogen production rate (or maximum methane production rate), λ (h) is the lag phase time, t (h) is the incubation time and e = 2.71828.

Results and discussion

Effect of initial pH on thermophilic biohydrogen production

In this experiment, biogas production, cumulative hydrogen production and hydrogen production rate were 1060.67–2406.00 mL, 322.17–1549.57 mL and 9.18–41.71 mL/h, respectively. Cumulative hydrogen production and COD of food waste were calculated for hydrogen yield (mL H2/g COD). Hydrogen yields at various initial pH values under thermophilic temperature are shown in Fig. 1. The curves were plotted with the predicted values by the modified Gompertz equation and were fitted with the observed values of the experiment. The correlation coefficient (R2) values were approximately 0.98, which indicated that the modified Gompertz equation could successfully describe the progress of cumulative hydrogen production. All of the experiments presented a lag phase time of 12 h. This duration was a physiological adaptation of hydrogen-producing bacteria that depends on several factors such as pH, temperature, nutrient, germinant availability and others (Valdez-Vazquez and Poggi-Varaldo 2009). As a result, initial pH had a significant (p < 0.05) effect on hydrogen yield under thermophilic temperature. The maximum hydrogen yield (176.10 mL H2/g COD) was obtained at an initial pH 7.0, while the minimum hydrogen yield (36.61 mL H2/g COD) was achieved at initial pH 5.0. Hydrogen yield significantly increased with increasing initial pH from 5.0 to 7.0. Then, it significantly decreased as the initial pH increased from 7.0 to 9.0. The result demonstrated that increasing initial pH could enhance the capability of hydrogen-producing bacteria to produce hydrogen. However, the higher or lower initial pH value could decrease hydrogen production (Wang and Wan 2009; Wong et al. 2014). In this study, thermophilic biohydrogen production from food waste was significantly obtained at an initial pH of 7.0. It resembled previous research, in which the maximum hydrogen yield (593 mL/g carbohydrate) was achieved at an initial pH of 7.0 as well (Nazlina et al. 2009). However, some research has reported the thermophilic biohydrogen production could be achieved at an initial pH of 6.5 (1.52 mol H2/mol glucose) (Karadag et al. 2009), and initial pH in the range of 5.0–5.5 (1.6–1.7 mol H2) (Calli et al. 2009). The difference of these optimal initial pH values was the result of the various characteristics of substrate and seed sludge, initial pH range studied, reactor type, nutrients and other factors. Initial pH value is an important factor since it influences: lag phase time, spore germination, bacterial growth and synthesis of enzymes (Sinha and Pandey 2011). The activity of hydrogen-producing bacteria can occur within a pH range of 5.0–7.5. The accumulation of VFAs caused reduction of the final pH value in the reactor. In this study, the final pH values were in the range of 4.02–4.29. The low pH value and the large concentration of VFAs can inhibit the activity of hydrogen-producing bacteria. In addition, hydrogen is not produced when the pH value is less than 4.0 (Wei et al. 2010). After the experiment was finished, it was found that the COD of all batch reactors decreased. The maximum COD removal efficiency (91%) was obtained at the initial pH of 7.0, while the minimum COD removal efficiency (75%) was obtained at the initial pH of 5.0. In a dark fermentation process, substrate was decomposed and converted to biogas by microorganisms (Abbasi et al. 2012). Thus, COD removal led to the degradation of organic matter. It conformed to the previous results that substrate degradation efficiency could be improved with an increase of the initial pH (6.0–7.0) and optimal temperature conditions (37.8 °C), and then it decreased with the higher initial pH (8.0–9.0) and temperature (40–45 °C) (Wang and Wan 2011).

Fig. 1
figure 1

Effect of initial pH on thermophilic biohydrogen production

Effect of C/N ratio on thermophilic biohydrogen production

This experiment was investigated at the optimal initial pH of 7.0. Biogas production, cumulative hydrogen production and hydrogen production rate were 1055.67–5066.67 mL, 351.00–1890.81 mL and 10.69–65.45 mL/h, respectively. Hydrogen yields at various C/N ratios by the modified Gompertz equation are shown in Fig. 2. The predicted values by the modified Gompertz equation were well consistent with the observed values, as R2 values were 0.99. The lag phase time was in 8–24 h. The shortest lag phase time of 8 h was found at C/N ratio 30 and 40. It has been noted that addition of external nitrogen source could enhance bacterial growth and synthesis of hydrogenase (Argun et al. 2008). As a result, C/N ratio had a significant (p < 0.05) effect on hydrogen yield under thermophilic temperature. The maximum hydrogen yield (214.88 mL H2/g COD) was achieved at C/N ratio 30, while the minimum hydrogen yield (39.89 mL H2/g COD) was achieved at C/N ratio 10. Hydrogen yield was significantly enhanced with increasing C/N ratio from 10 to 30. Subsequently, it significantly decreased as the C/N ratio increased from 30 to 50. The results indicated that the optimal C/N ratio could enhance biohydrogen production. Food waste is a carbohydrate-based waste, in which the main composition is carbon (C), whereas the other nutrients such as nitrogen (N), phosphorus (P) are deficient. Nitrogen is an essential nutrient for microorganisms because it is a component in enzymes, nucleic acids and protein. Therefore, the appropriate amount of the external nitrogen was required for stimulation the activity of hydrogen-producing bacteria and enhancement of biohydrogen production (Sreela-or et al. 2011; Hay et al. 2017). The high C/N ratio (shortage of nitrogen) could decrease biohydrogen production because nitrogen will be rapidly consumed and then it will be lacking for microbial growth. On other sides, a low C/N ratio results in as excess of nitrogen that will be released and accumulated in the form of ammonia (Abbasi et al. 2012). Generally, carbon utilization of microorganism is 25–30 times greater than nitrogen. Thus, a C/N ratio of 20–30 is necessary for biological process and C/N ratio in the range of 10–45 is suggested for hydrolysis/acidogenesis (Chandra et al. 2012). In this study, thermophilic biohydrogen production from food waste was significantly achieved at a C/N ratio of 30. When compared to the previous research, various optimal C/N ratio values were reported because of the difference of substrate and seed sludge, nitrogen source, C/N range studied, and other factors. It has been reported that the maximum hydrogen yield (102.63 mL H2/g VS) was obtained from co-digestion of food waste and sludge at a C/N ratio of 33 (Sreela-or et al. 2011). Other researches on mesophilic biohydrogen production reported that the maximum hydrogen yield of hydrolyzed wheat starch (2.84 mol H2/mol glucose) was achieved at a C/N ratio of 50 (Oztekin et al. 2008), while the maximum hydrogen yield of wheat powder solution (281 mL H2/g starch) was achieved at a C/N ratio of 200 (Sreela-or et al. 2011). After the experiment finished, the initial pH of 7.0 decreased to the final pH in the range of 4.27–6.61. It was mentioned that the C/N ratio influenced the final pH value. The maximum final pH of 6.61 presented at a C/N ratio of 10, while the minimum final pH of 4.27 presented at a C/N ratio of 50. Nitrogen will be released in the form of ammonia at a low C/N ratio. The accumulation of excess ammonia caused an increase of pH in the system and had an adverse effect on the activity of microorganisms (Chandra et al. 2012). The maximum COD removal efficiency (90%) was achieved at a C/N ratio of 30, while the minimum COD removal efficiency (43%) was achieved at a C/N ratio of 10. This study indicated that the C/N ratio influenced the hydrogen yield, final pH value and COD removal in thermophilic biohydrogen production from food waste.

Fig. 2
figure 2

Effect of C/N ratio on thermophilic biohydrogen production

Effect of initial pH on thermophilic biomethane production

The chemical characteristics of hydrogen fermentation effluent (COD and TKN) showed a high C/N ratio (approximately 312). Generally, a C/N ratio in the range of 20–30 is considered appropriate for biomethane production (Chandra et al. 2012). Therefore, the hydrogen fermentation effluent was adjusted to a C/N ratio around of 25 by addition of NH4HCO3. Ammonia is considered as a main inhibitor in the biomethane production process. It has been reported that the activity of methanogenic bacteria went down by 56.5% when the concentration of ammonia ranged between 4051 and 5734 mg/L (Chen et al. 2008). In this study, the hydrogen fermentation effluent had an ammonia concentration of 1985.86 mg/L. Moreover, the experiment resulted in the production of acetic acid (14,378.53 mg/L), butyric acid (4978.02 mg/L) and propionic acid (530.11 mg/L) which were produced as byproducts from biohydrogen production process. Generally, methanogenic bacteria can consume hydrogen with carbon, formate, methanol and acetic acid as substrates and then convert to methane (Chandra et al. 2012). However, methanol was not found in the hydrogen fermentation effluent.

In this experiment, biogas production, cumulative methane production and methane production rate were 55.67–486.67 mL, 0–411.37 mL and 0–7.66 mL/h, respectively. Cumulative methane production and COD of hydrogen fermentation effluent were calculated based on methane yield production (mL CH4/g COD). Methane yields at various initial pH values under thermophilic temperatures are shown in Fig. 3. The correlation coefficient (R2) was in the range of 0.97–0.99, which indicated that cumulative methane production by the modified Gompertz equation was consistent with the experimental results.

Fig. 3
figure 3

Effect of initial pH on thermophilic biomethane production

The lag phase time was in 20–24 h, which is the duration for adaptation, growth and activity of methanogenic bacteria (Abbasi et al. 2012). No activity of methanogenic bacteria was found at an initial pH of 6.0. As a result, initial pH had a significant (p < 0.05) effect on methane yield under thermophilic temperatures. The maximum methane yield (310.77 mL CH4/g COD) was obtained at an initial pH of 7.0, while the minimum methane yield (34.44 mL CH4/g COD) was obtained at an initial pH of 10.0. Initial pH is an important factor that can enhance biomethane production. The pH has a significant influence on the growth of several microorganisms in the four stages of anaerobic digestion that are hydrolysis, acidogenesis, acetogenesis and methanogenesis (Abbasi et al. 2012; Chandra et al. 2012). Most methanogenic bacteria can be active in the optimal pH range of 6.7–7.5, while hydrogen-producing bacteria can be active at a lower optimal pH range of 5.2–6.3. However, it has been reported that the population of methanogenic bacteria was affected by the toxicity of the pH value outside the range of 6.0–8.5. When the pH is lower than 6.6, it could unfavorably influence the activity of the methanogenic bacteria and a pH of 6.2 was toxic to methanogenic bacteria (Raposo et al. 2011; Abbasi et al. 2012; Chandra et al. 2012). In this study, thermophilic biomethane production from hydrogen fermentation effluent was significantly obtained at an initial pH of 7.0. It resembled previous research on thermophilic biomethane production, in which the maximum methane yields of food waste (502 mL CH4/g VS) and organic fraction of municipal solid waste were achieved at an initial pH of 7.2 (Liu et al. 2009). However, it has been noted that the maximum methane yield of food waste (180 mL CH4/g VS) could be achieve with an initial pH of 8.1 (Forster-Carneiro et al. 2008). After the experiment finished, the final pH was in the range of 5.71–8.41. During the biomethane production process, organic acids are produced in the preliminary period thus the pH value of liquor decreases. Then, the pH value will increase after nitrogen in the system is digested into ammonia (Abbasi et al. 2012). The maximum COD removal efficiency (70%) was obtained at the initial pH of 7.0, while the minimum COD removal efficiency (15%) was obtained at the initial pH of 10.0. This study indicated that, initial pH influenced methane yield and COD removal in thermophilic biomethane production from hydrogen fermentation effluent. Furthermore, a C/N ratio ranging from 20 to 30 is considered optimum for biomethane production. If the C/N ratio is very low, nitrogen will be liberated and accumulated in the form of ammonium ion (NH4+). The presence of excess NH4+ will increase the pH of the biodigestate in the digester and consequently a pH higher than 8.5 will start showing a toxic effect on methanogens. On other sides, if the C/N ratio is very high, methanogens will rapidly consume the nitrogen for meeting their protein requirements and will no longer react with the left-over carbon content of the material as well as gas production will be low (Chandra et al. 2012).

Regarding pH profile during fermentation process, the first stage had an initial pH of 7.0 and final pH of 4.19, while the second stage had initial pH of 7.0 and final pH of 5.80. As shown in previous research, methanogenic bacteria have the optimal pH in the range of7.0 –8.0, while H2-producing bacteria have a lower optimal pH (Raposo et al. 2011). However, pH below 6.6 could inhibit the activity of methanogens and a pH of 6.2 could be toxic to methanogens (Chandra et al. 2012). For H2-producing bacteria, the activity of hydrogenase is low when the pH is lower than 5.2 (Valdez-Vazquez and Poggi-Varaldo 2009). At the optimal initial pH of 7.0 under thermophilic temperature, the experimental kinetic parameters of cumulative biohydrogen and biomethane production from food waste in two-stage fermentation process are presented in Table 1.

Table 1 Experimental kinetic parameters of biogas production from food waste in two-stage fermentation process

A two-stage fermentation process is a separation of acidogenesis/acetogenesis and methanogenesis for biohydrogen production in the first stage and biomethane production in the second stage, respectively. Acidogenesis/acetogenesis produces hydrogen and carbon dioxide as the main gas products and provides VFAs as the byproducts. Then, a part of the VFAs and other biodegradable residues from the first stage will be converted into methane and carbon dioxide by methanogenesis. There are several advantages from this process such as, enhanced efficiency of substrate digestion and COD removal, high biogas yield, high energy recovery and reduction of the concentration of VFAs in the final product (Gioannis et al. 2013; Nathao et al. 2013). As previous research, biohydrogen and biomethane production from food industry wastes by a two-stage fermentation process was investigated at an initial pH of 7.0 under the mesophilic temperature (35 ± 1 °C). The hydrogen recovery, methane recovery and total gas recovery were in the range of 3.40–12.60, 52.30–69.50, and 61.20–75.00%, respectively (Giordano et al. 2011). Moreover, carbon dioxide and carbon monoxide emission from a two-stage fermentation process are less than a single stage fermentation process (Luo et al. 2011). Thus, a two-stage fermentation process is an environmentally friendly process.

Conclusions

This study demonstrated that thermophilic biohydrogen production from food waste was achieved at the optimal environmental conditions of initial pH of 7.0 and C/N ratio of 30. Hydrogen fermentation effluent could be used as a substrate for thermophilic biomethane production, which was obtained at the optimal initial pH of 7.0. At these optimal conditions, COD removal efficiency could be reached in the range of 70–90%. Therefore, a two-stage process of food waste at optimal condition can enhance the bioenergy production and is feasible to treat organic matter in a controlled system.