Introduction

The recurrent development of new applications for specific materials makes it necessary to continually optimize their preparation conditions. Many researches are made on activated carbon, which is one of the most important adsorbents used in the world due to its large range of applications and its low cost. In this regard, it has been demonstrated that a tailored design of nanoporous carbons is crucial not only in traditional applications, such as adsorption in liquid and gas phase [1,2,3], gas storage [4, 5], catalysis [6, 7], and electrochemistry [8, 9], but also in more recent uses as gas sensors, photocatalysts, and solar cell components [10, 11].

The use of activated carbons in such specific applications needs an excellent control of their porosity and surface functional groups. This is only possible by understanding the different phenomena occurring during the preparation of this material, especially during the activation and pyrolysis steps. However, these two operations depend on both the precursor and the activating agent used during the carbon elaboration. Specifically, and since Algeria is an important producer of olive oil, this study is focused in the valorization of olive stones by chemical activation with ZnCl2. In fact, residual biomass is largely used for the production of activated carbon [12,13,14,15,16,17]. Nevertheless, the pyrolysis of these lignocellulosic materials is a chemically complex process in which several reactions occur simultaneously [18, 19].

With the aim of shedding light on this matter, we have carried out a systematic study of the progress of the carbonization process of this lignocellulosic material for the preparation of activated carbon. Thus, in a previous work [20], four activated carbons were prepared at different temperatures by using olive waste as precursor and ZnCl2 as activating agent. Since the surface chemistry of the activated carbon also plays an important role in its final applications, chemical activation was chosen in order to carefully study the formation of the surface groups. Then, the properties of the so-obtained materials were thoroughly characterized by means of N2, CO2, and H2O adsorption, X-ray diffraction (XRD), Raman spectroscopy, Boehm titration, and Fourier transform infrared spectroscopy (FTIR). By studying the evolution of their properties with the carbonization temperature, we arrived to some interesting conclusions regarding the development of the porosity and the formation and location of the carboxylic groups, which are responsible for the moisture attraction during the adsorption process [21, 22].

In order to continue and complete the previous investigation, the pyrolysis treatment at various temperatures is herein in situ followed by means of thermogravimetric and calorimetric techniques. In this manner, the main products released during the pyrolysis of the precursor alone and in the presence of the activating agent are monitored by TG–MS analysis.

On the other hand, the changes in energy observed during the pyrolysis step of the mixture precursor/activating agent are measured by DSC. Moreover, and based on the pyrolysis phenomena evidenced by these techniques, the choice of the temperatures used to prepare the activated carbons is justified here.

The combination of all the obtained results leads to a better understanding of the role played by the activating agent during the carbonization step of a chemically activated carbon at different temperatures.

Experimental

Preparation of the samples

As it was mentioned before, olive stones (Bejaia region, Algeria) are used as a precursor for the preparation of the activated carbons. After cleaning, drying, and sieving the precursor, a chemical activation with ZnCl2 (1:1 ratio) is carried out at four different temperatures (573, 653, 718, and 773 K). More details can be found in our earlier work [20].

Thermogravimetry–mass spectroscopy analysis (TG–MS)

The thermogravimetric analysis is performed using a TGA/SDTA 851 microbalance (Mettler Toledo) under argon flow (100 mL min−1) with 25 mg of a mixture olive residue/ZnCl2. The sample is heated from 298 K at 10 K min−1 until the desired temperature is reached (573, 653, 718, or 773 K), and then held constant for 1 h. These samples are named, respectively, AC573, AC653, AC718, and AC773 in reference to the operatory conditions for the preparation of the activated carbons studied in [20].

Additional measurements are carried out using 25 mg of the precursor (olive residue) alone in the same conditions. In this case, the so-obtained materials are named P573, P653, P718, and P773. By this approach, a comparative study of the results obtained for the precursor and for the mixture can be done in order to assess the impact of the activating agent in the carbonization process.

The TG apparatus is directly coupled to a Thermostar/Omnistar GSD 301 3T (PTM 62 113) mass spectrometer (Pfeiffer Vacuum). Gases are ionized by using a tungsten filament. The ion source parameters were optimized with argon. Hence, a correct setting of the cathode (40 V) prevents the formation of Ar++ ions and allows the detection of low H2O concentrations on mass 18. Prior to each measurement, a blank is carried out by using an empty cell in the analysis conditions to ensure the stability of the signal and to evaluate the residual amount of each compound in the argon flow. MS signals m/e = 16, m/e = 18, m/e = 28, m/e = 30, and m/e = 44 are determined.

DSC analysis

DSC measurements of the precursor/activating agent mixture are carried out under the same operating conditions as the TG–MS measurements (previous section). However, and in order to avoid the presorbed water peak, each sample is held at 393 K for 20 min and then heated up to the final desired temperature.

A quantity of 30 mg is carbonized under a nitrogen flow (20 mL min−1) in aluminum crucibles using Netzsch DSC 204 equipment, which is previously calibrated with indium and zinc.

All the TG–MS and DSC experiments are done in triplicate.

Results and discussion

TG–MS results

TG results

The pyrolysis at different temperatures of both the mixture olive residue/ZnCl2 and the precursor alone is followed by TG measurements. The TG and DTG (first-derivative thermogravimetric) profiles are given in Fig. 1a–d and Table 1.

Fig. 1
figure 1

TG and DTG curves of the precursor and the mixture during the pyrolysis at different temperatures: a 573 K, b 653 K, c 718 K, and d 773 K

Table 1 Mass loss (%) of the precursor and the mixture at the selected pyrolysis temperature ranges

The first observation is that all the curves present a mass loss at around 393 K, which corresponds to the first peak in the different DTG curves. This indicates the presence of physisorbed water in the precursor. In fact, and as it is discussed in [20], the precursor contains many oxygen groups susceptible to make hydrogen bonds with water molecules.

After the loss of presorbed water, the TG curves start to differ between the mixture and the precursor. Indeed, the mass loss of the precursor occurs at higher temperatures in two steps: the first one at about 573 K (~ 22%) and the second one at about 633 K (~ 35%) (Table 1). The first DTG peak at around 573 K is probably due to the hemicellulose and cellulose decomposition, as reported in the literature [23]. The thermal decomposition of lignin, which takes place in three steps, also contributes to this peak and is responsible for the one observed at 633 K and the small peak (shoulder) at around 718 K [24]. The fact that the yield of a char from cellulose carbonization at temperatures around 773 K is very low [23] indicates that sample P773 is mainly the result of hemicellulose and lignin transformations.

Since the peaks observed in the DTG profiles correspond to different thermal events, carbonization temperatures were specifically selected in order to separately study them.

In the presence of ZnCl2, the mass loss is shifted to lower temperatures, and the DTG peak appears at 453 K (also with a shoulder), and no other peak is detected, except the one corresponding to water desorption (at 393 K). Consequently, the main mass losses occur at temperatures below 573 K (see Table 1). This phenomenon is already cited in the literature [25], stating that ZnCl2 acts as a catalyst in all pathways of cellulose degradation: dehydration, depolymerization, and ring opening leading to a lightly oxygenated product and CO and CO2 formation. Based on our results, this finding can also be extended to the thermal decomposition of lignin.

Total mass loss values are 35.2, 38.4, and 41.8% for AC573, AC653, and AC718 samples, respectively. In the case of AC773, this value goes up to 51.4%, which is the result of a noticeable mass loss (10.6%) during the isothermal step at 773 K.

The total mass loss of the precursor alone is much higher than for the mixture, especially for the samples pyrolyzed at temperatures of 653, 718, and 773 K. Therefore, the presence of ZnCl2 positively altered and accelerated the pyrolysis and increased the carbon yield [26].

Water TPD profiles

Given that the precursor used (olive residue) is a lignocellulosic material containing hydrolysable functional groups such as hydroxyls [26], the loss of water is of great importance during the degradation of this material. Therefore, the m/e = 18 TPD profiles are explored (Fig. 2).

Fig. 2
figure 2

m/e = 18 TPD profiles obtained by mass spectrometry during the carbonization of the precursor and the mixture during the pyrolysis at different temperatures

The first observation is that the water TPD profiles can be superposed perfectly with the DTG curves (Fig. 1a–d), for both the precursor and the mixture. This means that the mass loss during the pyrolysis process is mainly due to the departure of water molecules.

Secondly, it is observed that the precursor and the mixture exhibit different TPD profiles, indicating a different behavior during the pyrolysis process.

In the case of the precursor, all the obtained TPD profiles contain three peaks, except for the sample P573 which, logically, does not present the third peak at around 633 K. The first peak in the water TPD profiles of the precursor is obtained at around 393 K, and it is assigned to the desorption of presorbed water. In fact, lignocellulosic materials contain adsorbed moisture due to their polar nature [27]. In this regard, the water isotherm presented in [20] shows the relatively big amount of interactions between water molecules and the surface of the precursor. On the other hand, the two peaks obtained at higher temperatures correspond to the loss of water from chemical reactions [27].

The mixture precursor/ZnCl2 curves present one water peak at around 453 K for all the samples. However, the DTG curves show two peaks in this region, so we suppose that the water peak is the combination of the presorbed water at around 393 K and the water coming from the dehydration of the precursor. The temperature of this phenomenon is lower than that of the precursor alone due to the presence of ZnCl2, which plays a role as a catalyst.

TPD profiles of other compounds

Some other degradation compounds formed during the pyrolysis of both the precursor and the mixture were followed by MS. The different TPD profiles are given in Fig. 3a–d.

Fig. 3
figure 3

TPD profiles obtained by mass spectrometry during the carbonization of the precursor and the mixture at different temperatures: a m/e = 44, b m/e = 28, c m/e = 16, and d m/e = 30

At this point, it is important to clarify that the overall purpose of the MS analysis was to qualitatively compare the TPD profiles of the mixture and the precursor in order to evaluate the influence of the activating agent (ZnCl2) on the pyrolysis process, and not to carry out an exhaustive determination of all the species formed. Accordingly, MS signals corresponding to m/e = 16, 28, 30, and 44 were selected in order to monitor the main species produced during the thermal degradation of lignocellulosic materials and which mainly consist of carbon dioxide (CO2), carbon monoxide (CO), light hydrocarbons (primarily CH4), and small amounts of other gases [23, 28].

The release of some volatile compounds, in terms of their m/e ratio, during the pyrolysis at different temperatures is resumed in Table 2.

Table 2 Evidence of some volatile compounds released during the pyrolysis of both the mixture and the precursor

First of all, it is observed that the intensities of the TPD profiles of these compounds (Fig. 3) are lower than those of water (Fig. 2) [22].

As expected, and based on the DTG results, in the case of the mixture precursor/ZnCl2 all the compounds appeared at lower temperatures in comparison with the precursor alone. This phenomenon is partially found in the literature, where Khelfa et al. [25] studied the effects of some inorganic salts like ZnCl2 on cellulose pyrolysis. Related to this, and in order to understand the lignocellulosic pyrolysis, many researchers investigated the degradation of cellulose, hemicellulose, and lignin separately [23, 25, 29,30,31] or by combining two compounds (cellulose–hemicellulose [31, 32], cellulose–lignin [31, 33]). The study of the combination of the three compounds has also been done [31, 34]. However, it is still difficult to attribute, with certitude, the provenance of the different compounds, due to their interactions during the pyrolysis step, especially between cellulose and lignin [31,32,33].

Bearing in mind that a given m/e ratio can correspond to different compounds with the same molecular weight, it is probable that both formaldehyde (CH2O) and to a lesser extent, ethane (C2H6) are contributing to the m/e = 30 signal. Specifically, formaldehyde is formed during the dehydration of cellulose [23], and probably also hemicellulose, while ethane is formed at higher temperatures during the thermal decomposition of lignin [24, 35]. This is consistent with the results shown in Figs. 2 and 3, where m/e 30 is the only signal detected during the dehydration of the materials. This phenomenon is observed in both the precursor and the mixture. However, and as mentioned before, due to the role of the ZnCl2 as a catalyst, the thermal processes take place at lower temperature for the mixture than for the precursor alone.

The m/e = 28 and 44 TPD profiles of the precursor, which can be mainly ascribed (as explained below) to the formation of CO and CO2, respectively, are very similar in terms of peak shape and intensity. However, this trend is not seen in the mixture, especially above 653 K. Indeed, the pyrolysis of olive residue in the presence of zinc chloride leads to more CO2 than CO. This is probably due to the departure of carboxylic acid groups which are formed below a temperature of 573 K. The amount of these functions decreases seriously for the samples AC718 and AC773 [20]. Furthermore, the decomposition of carboxylic groups yields mainly CO2 [36, 37]. Also, and in agreement with the fact that ZnCl2 accelerates the pyrolysis process, CO2 is detected at lower temperatures for the mixture than for the precursor alone. Previous results on cellulose decomposition show much higher production of CO and CO2 over other gaseous products [23]. Given that olive stones are lignocellulosic materials and that low pyrolysis temperatures (T ≤ 773 K) were used, we consider that CO2 and CO are mainly produced, and that is the reason why we assign the signals m/e = 44 and m/e = 28 mainly to these two compounds. Nonetheless, one has to note that the formation of acetaldehyde, which has been reported for the thermal decomposition of cellulose [23], and propane can also slightly contribute to the m/e = 44 signal, whereas ethylene can have a small influence on the m/e = 28 signal.

Finally, the signal m/e = 16, which can be principally attributed to CH4, is investigated (Fig. 3c). In the case of the precursor, the departure of CH4 seems to be linked with m/e signals 28 and 44. The production of CH4 is mainly due to the lignin decomposition; therefore, the CH4 peaks in the profiles of Fig. 3c appeared at higher temperatures. It is an indication that CH4 evolves from the pyrolysis of lignin between 573 and 733 K. The release of this species at higher temperature can be ascribed to the secondary degradation of primary unstable volatile species [34]. However, CH4 TPD profiles of the mixture seem different from those of m/e 28 and 44, which can probably point to other mechanisms. In fact, the differences between the TG–MS profiles of the precursor and the mixture are probably due to the role of ZnCl2 as a catalyst. In this sense, dehydration at lower temperatures (mixture precursor/ZnCl2) lowers the amount of hydrogen and oxygen atoms from the lignocellulosic precursor earlier and thus lessens the chance of polymerization [26].

Following pyrolysis by DSC

The DSC curves of the olive waste/precursor mixture are given in Fig. 4. The results show two exothermic peaks common for all samples, the first at 453 K and the second one at 523 K. A third large peak appears at higher temperature, with a maximum at 653 K. The first peak can be assigned to the dehydration process; in fact, a similar peak detected at this same temperature is observed in the water TPD profiles. The second peak is also an exothermic one; it seems to correspond to phenomena involving volatiles such as CO2 and CO (Fig. 3). It is important to note that, despite the fact that the dehydration process leads to a considerable mass loss, the energy produced during the dehydration is small if compared to that produced later. In addition, dehydration seems to be an independent phenomenon, characterized by a well-resolved peak, contrary to the phenomena happening at temperatures higher than 473 K. The third peak is the largest with a maximum around 653 K and does not overlap any TPD profiles mentioned in the previous section. So we can suggest that this peak is a combination of many peaks provided from the different phenomena happening in the temperature range of 573–773 K, including the depolymerization process.

Fig. 4
figure 4

DSC curve of the activated carbon samples during the carbonization

It has to be mentioned that during the isothermal step, a change in the signal is only detected for the sample AC773, where a considerable energy is measured (Fig. 5). In addition, during this step, this sample loses 10.6% of its mass, much higher than the mass loss measured during the isothermal steps at lower temperatures (Table 1). These two phenomena cannot be associated with CO, CH4, and CO2 release, because they are also observed during the isothermal step of the other samples (Fig. 3) and are probably due to the condensation of the carbon into graphite-like rings [24].

Fig. 5
figure 5

DSC profile of the sample AC773, including the isothermal step at 773 K

Relationship between pyrolysis process, porosity, structural properties, and surface functional groups of the activated carbons

During the preparation of activated carbons, the main chemical processes take place in the pyrolysis stage, where the maximum loss of mass and the biggest changes in structural, textural, and physicochemical properties occur [20].

The pyrolysis of lignocellulosic materials is a very complex process, and up to now, no mechanism has been proposed to adequately describe it. In this study, the aim is to try to link the pyrolysis phenomenon with the porosity and the functional groups of the resulting materials. Hence, the textural, structural, and surface properties of the materials presented in a previous study [20] can be now further discussed in terms of the herein-studied reactions taking place during the pyrolysis treatment.

Table 3 shows the BET-equivalent surface area of the samples pyrolyzed at the different temperatures. If we consider that the maximum of porosity is achieved at 718 K (SBET = 1659 m2/g), we can deduce that the pyrolysis at a temperature of 573 K (SBET = 1035 m2/g) leads to the creation of more than half (~ 60%) of the porosity. Thus, the dehydration process of the precursor in the presence of the catalyst ZnCl2, leading to a change in the structure of the precursor as shown by X-ray diffraction (XRD) [20], is a crucial step in the development of the porosity of the activated carbon.

Table 3 BET-equivalent surface area of the samples

On the other hand, depolymerization, which occurs at higher temperatures (573 and 653 K) and releases some gaseous fraction containing CO, CO2, and a heavy oil fraction with other volatile materials [26], is responsible for a further creation of porosity. In this way, and taking into account the similar SBET values obtained for samples AC653 and AC718, we can conclude that the porosity is created during the dehydration and depolymerization processes, highlighting the role of the catalyst ZnCl2 therein. In fact, this reactant is also behaving as a templating agent for the creation of porosity [17]. Moreover, carbonization at higher temperatures (773 K) has a negative effect on the textural properties of the obtained material due to the condensation of the carbon network. So we can suggest that at a temperature of 653 K, the performance of ZnCl2 as a catalyst (on this precursor) is nearly optimal.

According to Boehm’s titration results [20], the activated carbon prepared at a temperature of 573 K contains a high amount of carboxylic surface groups. These are created during the condensation of the species derived from the dehydration of cellulose and hemicellulose [34]. So the dehydration process leads to the creation of carboxylic groups. Some of these functions disappear during the depolymerization process up to a temperature of 653 K. The results show a decrease in the amount of carboxylic groups for the samples AC718 and AC773 due to the effect of the relatively high temperature. In this regard, we found in an earlier work that a temperature of 773 K is sufficient to eliminate carboxylic acidic groups from the surface of activated carbons [38]. However, the water isotherms [20] show very similar slopes for AC653 and AC773; this can be explained by the creation of carboxylic anhydrides at the temperature of 773 K, probably due to rearrangement reactions.

The m/e = 18 and 30 TPD profiles are similar, indicating that the departure of water and formaldehyde seems to be linked.

Boehm’s titration permits a global quantification of the bases on the surface of activated carbons, but it cannot provide information about the nature of these bases. The results show that the bases depend on the pyrolysis temperature [20]. In fact, some bases disappear at 718 K, probably due to the lignin decomposition; in fact, we suspect that these bases are those of the lignin. However, another amount of bases is created when the pyrolysis is done at 773 K, so we suggest that these functions need a higher energy of formation and are stronger than the first ones. The departure of CH4, which is provided from the lignin decomposition, can be related to this phenomenon.

It seems that the functional groups further influence the evolution of the porous structure. In fact, a significant amount of porosity (more than a third of the total) is created during the depolymerization process without significant mass loss (less than 3%—see Table 1); simultaneously, changes are noted concerning the surface functional groups composition, especially the decrease in the carboxylic groups. In addition, it is shown that the external functionalities of the cellulose affect the surface properties of the resulting activated carbons; these pendant groups create carbonaceous intermediates with different sizes and chemical properties [39].

Conclusions

In this work, the evolution of the carbonization process of a lignocellulosic material for activated carbon preparation and the role played by the activating agent have been further addressed by means of thermal and calorimetric analysis. The results gathered in this part of the work and the previous one [20] allow to determine the thermal events involved, but also contribute to a better understanding of their influence on the final properties of the carbon material. Thus, and based on the results obtained in both parts of the study, we can conclude that:

  • The presence of ZnCl2 positively alters and accelerates the pyrolysis and increases the carbon yield.

  • The carboxylic surface groups of activated carbons prepared from a lignocellulosic precursor are created below a temperature of 573 K, due to the cellulose and hemicellulose dehydration.

  • The dehydration process occurs at temperatures below 473 K and leads to a considerable mass loss. However, the energy produced during this step is small when compared with that produced at higher temperatures.

  • The dehydration of the precursor in the presence of the catalyst ZnCl2 is the most crucial step in the development of the porosity of the activated carbon. Thus, highly porous materials can already be obtained by carbonization at 573 K.

  • The depolymerization process also contributes to the textural development of the material. Therefore, the performance of ZnCl2 as a catalyst is nearly optimal at 653 K.

  • The functional groups further affect the evolution of the porous structures.