Introduction

Hydrothermal carbonization (HTC) is a thermochemical conversion method carried out in conditions of subcritical water, where the material is heated in a closed environment under autogenous pressure [1]. HTC has been reported to be more energy efficient and economical compared to the other thermochemical conversion processes, such as pyrolysis. HTC has no specific requirements for pressure, and the pressure is dependent on the temperature used in the process. Water is used as a solvent, and thus wet feedstock can be utilized, which saves energy that is normally used to dry the feedstock before processing [2,3,4,5]. The solid product from HTC is called as hydrochar and its properties depend on the biomass source and the reaction conditions used [6, 7]. Generally, hydrochar is non-toxic and hydrophobic. The surface chemistry, porosity, particle size and specific surface area of hydrochar are dependent on the temperature and reaction time used in HTC. Corn stove hydrochars produced at 250 °C for 4 h, and pinewood at 300 °C for 20 min, had specific surfaces areas of 4 m2g−1 and 21 m2g−1, respectively. The specific surface area of the hydrochar can be increased using activation. In principal, there are two types of activation—physical and chemical. Physical activation is usually carried out at higher temperatures, even greater than 900 °C, in a flow of steam, CO2 or both, while in chemical activation, activating agents like KOH are used at room or elevated temperatures (600 °C–800 °C). Chemical activation typically leads to high specific surface areas. For example, cellulose, rye straw and glucose hydrochar-derived adsorbents produced at 240 °C reached specific surface areas of 2250, 2200 and 2219 m2g−1, respectively, when using KOH as an activation chemical. Though chemical activation is faster and occurs at lower temperatures, it causes secondary pollution, and hence physical activation is more recommended [8,9,10,11,12,13]. The hydrochar surface contains typically number of oxygen-containing functional groups that have good adsorption affinity for both polar and non-polar functional groups leading to high adsorption capacity. This property might be lost from the hydrochar during the gas-phase activation intended to increase the specific surface area. Therefore, careful selection of the processing conditions is necessary.

Oil palm (Elaeis guineensis) is a major source of vegetable oil that is extracted from its flesh and shell. Oil palms are cultivated in South East Asia (Malaysia, Indonesia, and Thailand), Africa and several southern provinces of China. Malaysia produces about two million tons dry weight of oil palm shells annually, which are normally used as biofuels and building materials [14]. Previous research has been carried out on the use of palm shell activated carbon for adsorption of pollutants, such as heavy metals (lead, copper and nickel ions), phenol and dyes (methylene blue), in aqueous solutions [15,16,17,18]. However, less information is available related to the use of adsorbents derived from palm kernel shells in adsorption of emerging pollutants and using HTC as the primary preparation method.

There has been an increase in the level of micro-pollutants especially pharmaceuticals in the effluents of wastewater treatment plants, in sewage water, groundwater and drinking water supplies. Only about 30% of pharmaceuticals are absorbed in the human body with the rest being sent out in urine and faeces. Diclofenac is a non-steroidal anti-inflammatory drug used worldwide as analgesic, anti-arthritic compounds and for the remediation of menstrual pain of females [19,20,21,22,23]. It has a low solubility in water and due to its negative charge, it can easily escape from the nanofiltration unit of the water treatment plant. It is already known that its presence in the aquatic ecosystem can cause damage to fish tissue and change its biochemical functions [24, 25]. Therefore, finding an efficient technology for the removal of diclofenac from water is very important.

The objective of this work was to develop a new, efficient and economic adsorbent for the removal of diclofenac in water by using hydrothermal carbonization as the primary processing technology. Palm kernel shells were selected as the raw materials. To explain the performance of the developed adsorbent, its chemical and structural properties were characterized. The adsorption isotherms and kinetics of adsorption were evaluated to get more information on the adsorption process.

Materials and Methods

Materials

Palm kernel shells were collected from the North and South-West regions of Cameroon. The shells were washed to remove the fibres and sun dried at temperature of about 32 °C. After drying, the shells were ground and sieved to a particle size of < 84 mm.

Chemical reagents

All the chemicals used in this research were of analytical reagent grade. Diclofenac sodium salt with a molecular weight of 318.13 g mol−1 purchased from Sigma Aldrich, 99.5% sodium chloride and 37% hydrochloric acid from Alphatec, sodium hydroxide from Neon Commercial Ltda and 95% ethanol from Química Contemporânea Ltda were used as reagents. Diclofenac sodium salt (Fig. 1a) is typically used in pharmaceuticals since diclofenac is fat-soluble and does not easily dissolve in water. Deionized water was used for the preparation of all model water solutions and as the solvent for hydrothermal carbonization.

Fig. 1
figure 1

a Chemical structure of diclofenac sodium, b Schematics for hydrothermal carbonization of palm kernel shells

Hydrothermal carbonization of Palm kernel shells

Hydrothermal carbonization (Fig. 1b) of palm kernel shells was done in a high-pressure Parr reactor. The reaction conditions were optimized in our earlier work and are reported in [26]. The ratio of palm kernel shells to deionized water used was 1:5. The mixture of palm kernel shells and deionized water was put in a Teflon cup with a 30% air space. The reactor was heated to 200 °C for 4 h with a heating rate of 40 °C min−1. The reactor was then left to cool down, and the solid phase (hydrochar) was filtered out and dried at 80 °C for 12 h. Activation of the hydrochar was done in a nitrogen flow of 60 mL min−1 at 400 °C for 4 h.

Characterization

To determine the specific surface area and pore structure of the materials, nitrogen physisorption analysis (Micromeritics ASAP 2020) at − 195 °C was carried out using the BET-BJH and Horvath-Kawazoe methods. The material was evacuated for 30 min at 200 °C before analysis. The morphology and structure of the palm kernel shell, hydrochar and hydrochar-derived adsorbent were analysed using a scanning electron microscopy (SEM; Jeol JSM-IT300) operated in vacuum, with electron acceleration voltage of 15 kV in backscattered electron mode. The elemental analyses were performed using the energy-dispersion spectroscopy (EDS) technique, with Oxford Instruments X-Max N X-ray detector attached to the microscope. The Fourier transform infrared spectrometer (FTIR) (Perkin Elmer Spectrum 400) with attenuated total reflectance (ATR) accessory was used to study the functional groups on the adsorbents before and after adsorption experiments. The change in mass with temperature was analysed using thermogravimetric analysis TGA-DTG (Shimadzu DTG-60H) to evaluate the thermal stability of the hydrochar. For the analysis, the sample was placed in a 70 µL platinum crucible and heated from 25 °C to 700 °C with a heating rate of 10 °C min−1 under nitrogen flow of 100 mL min−1. Raman spectra of the materials were obtained using the time-gated Pico Raman spectrometer (532 nm pulsed laser with a shot length of 150 ps and frequency of 40–100 kHz) from Timegate Instruments Ltd. Measurements were done in a wave number range of 100 cm−1 – 2100 cm−1, and the wet samples were rotated during the measurements. XRD analysis of the hydrochar-derived adsorbent was realized using Rikagu SmartLab XRD device using 9 kW rotating Cu anode X-ray generator. The scanning was done at 2θ range 5–130° using a step size of 0.02°.

Adsorption experiments

Batch adsorption studies were done at several concentrations of diclofenac sodium, dosages of adsorbent, temperatures, and contact times. Each experiment was carried out in a 250 mL Erlenmeyer flask containing 100 mL volume of diclofenac solution at pH 2. The mixtures were shaken on a SI-300R thermostat incubator shaker (Nova Analitica Imp. Exp. Ltda) at 200 rpm. Liquid samples were collected at 10, 15 and 30 min intervals, and the concentration of Diclofenac (DCF) was analysed using a UV Vis spectrometer (UV-M51) at the maximum absorbance wavelength of 276 nm. The removal percentage of diclofenac at a given time t was calculated using the Eq. 1. Equations 2 and 3 were used to calculate the amount of diclofenac adsorbed per mass unit (mg g−1) of adsorbent at any given time and at equilibrium.

$$ {\text{Removal }}\left( \% \right) = \frac{{\left( {{\text{Co}} - {\text{ Ct}}} \right)100}}{{{\text{Co}}}} $$
(1)
$$ {\text{ Qt }} = \frac{{\left( {{\text{Co}} - {\text{ Ct}}} \right){\text{V}}}}{{\text{m}}}{ } $$
(2)
$$ {\text{ Qe }} = \frac{{\left( {{\text{Co}} - {\text{ Ce}}} \right){\text{V}}}}{{\text{m}}}{ } $$
(3)

In the equations, Co is initial concentration of diclofenac sodium (DCF), Ct is DCF concentration at given time, m is mass of adsorbent, Ce is equilibrium DCF concentration and V is volume of solution (L).

Langmuir (Eq. 4) [27] and Freundlich (Eq. 5) [28] models were used in examining the equilibrium data and to find out information on distribution of DCF molecules at the solid–liquid interface.

$$ 1/Q_{e} = 1/Q_{\max } + 1/\left( {K_{L} Q_{m} C_{e} } \right) $$
(4)
$$ {\text{Ln }}\left( {Q_{e} } \right) = \, \ln K_{F} + 1/n{\text{ Ln }}\left( {C_{e} } \right) $$
(5)

In the equations, Ce is concentration at equilibrium, Qe is adsorption at equilibrium, Qmax is maximum adsorption capacity and KL is Langmuir constant related to the affinity of adsorption sites for diclofenac (Lmg−1), KF is Freundlich constant, which is roughly an indicator for the sorption capacity (mgg−1)/(mgL−1) 1/n and n is (dimensionless) Freundlich constant indicative of the sorption intensity and heterogeneity.

Pseudo-first-order (PFO; Equation) [29] and pseudo-second-order (PSO; Eq. 7) [30] models were used in order to investigate the kinetics of the interaction between DCF and hydrochar-derived adsorbent (PKC) at the solid–liquid interface. The equations are described as:

$$ {\text{Ln}}\left( {Q_{e} - Q_{t} } \right) = \log \left( {Q_{e} } \right) \, - \, K_{1} t/2.303 $$
(6)

and

$$ t/Q_{t} = 1/\left( {K_{2} Q_{t}^{2} } \right) + 1/Q_{e} $$
(7)

where Qt is adsorbed amount of diclofenac at time t, Qe is adsorption at equilibrium, K1 and K2 are rate constants.

Regeneration experiments

To study the reusability of the hydrochar-derived adsorbent, regeneration experiments were carried out in the following way: 1.5 g of the used material was put in 20 mL of 95% ethanol solution and shaken at 200 rpm for 4 h. After this, the adsorbent was filtered out, washed with distilled water and dried at 80 °C for 12 h. The same adsorbent was used in diclofenac adsorption and regenerated for five times.

Results and discussion

Characterization

Figure 2 shows the SEM micrographs of the dried palm kernel shells (PKS), hydrochar (PKH) and hydrochar-derived adsorbent (PKC) at 2000 × magnification. It can be observed that pores are homogenously distributed on the surface of the dried palm kernel shells. After hydrothermal carbonization, the pores are widened. During HTC process, water density and viscosity are decreased due to the subcritical conditions, and this is enhancing the removal of the inorganic material from the structure of the biomass while widening the pores [31]. During activation, volatile compounds are removed from the hydrochar leading to the appearance of the smaller pores [32]. This is visible in the images as well.

Fig. 2
figure 2

SEM images for PKS, PKH and PKC at 2000 × magnification

Based on N2 adsorption analysis, PKC was found to be predominantly mesoporous material with specific surface area of about 131 m2g−1 and the diameter of pores between 2 and 50 nm. The Horvath-Kawazoe plot showed the presence of some micropores as well. PKC had a total pore volume of 0.06 cm3g−1. The specific surface area of PKH was found to be about 22 m2g−1 with presence of mesopores between diameters of 15 nm and 20 nm and macropores with diameter greater than 50 nm. The total pore volume of PKH was 0.1 cm3g−1. This result showed that a significant increase in specific surface area and modification of porous structure appears during activation.

The thermogram for the palm kernel shells shown in Fig. 3a indicates a mass loss corresponding to about 13% up to temperature of 310 °C, which is related to the loss of adsorbed water and volatile compounds. This is an endothermic process, shown by an endothermic peak observed in the DTA curve. The exothermic feature between 320 °C and 420 °C is related to a mass loss of about 24%. At this temperature range, decomposition of the functional groups with lower stability and decomposition of cellulose and hemicellulose takes place. In the temperature range between 420 °C and 700 °C, there is a mass loss of about 38% and an exothermic peak centred at around 440 °C, which is related to the decomposition of lignin [33]. This result is in accordance with the FTIR analysis where a disappearance of C=O and C–O groups after activation of the hydrochar is observed (Fig. 3b).

Fig. 3
figure 3

a TGA/DTA results for the palm kernel shells, and (b) FTIR spectra of palm kernel shells (PKS), hydrochar (PKH), hydrochar-derived adsorbent (PKC) and after diclofenac adsorption (PKA)

The FTIR spectra of the dried palm kernel shells (PKS), palm kernel shell hydrochar (PKH), hydrochar-derived adsorbent (PKC) and the adsorbent after diclofenac adsorption (PKA) are presented in Fig. 3b. All the materials displayed bands between 3300 cm −1 and 3700 cm −1 that correspond to –OH stretching vibration [34]. The intensity of the -OH bands in untreated palm kernel shells (PKS) is lower and broader than in the case of hydrochar (PKH). The higher intensity in the latter could originate from water used in the HTC process. The C=C stretching vibrations of lignin aromatic rings around 1636 cm −1 and the aliphatic C–H stretching vibrations between 2923 cm −1 and 2852 cm −1 are equally observed in all the materials [35].

One can observe bands at around 1450 cm−1 in the spectra of PKS and PKH corresponding to the C–H deformation of lignin molecule typical for hydrochars and raw lignocellulosic materials [36]. The C=O and C–O stretching vibrations typical for saturated aliphatic compounds are present only in the PKS and PKH spectra. These groups are unstable under high temperature, which can explain the absence of these bands in the hydrochar-derived adsorbent (PKC) and PKA (after diclofenac adsorption) spectra. We also observe the C–O stretching vibration between 1240 cm−1 and 1230 cm−1 in PKS and PKH. The absence of C–O and C=O groups in PKC is also an indication of the decomposition of hemicellulose and cellulose during activation [32, 37]. In general, the activation under N2 flow decreases the number of functional groups in the material both quantitatively and qualitatively. These functional groups play an important role in the adsorption of diclofenac on the adsorbent PKC. In the PKA sample, one can observe bands at around 747 cm−1, 1402 cm−1, 1454 cm−1 and 1617 cm−1 all corresponding to diclofenac [38]. This proofs that diclofenac is adsorbed on the material.

The Raman spectra (Fig. 4) of the dried palm shells, hydrochar and hydrochar-derived adsorbent were used to evaluate the formation of graphite or graphene structures in the materials. Activation clearly changes the structure of the studied material. The Raman spectra show the development of D (1350 cm−1) and G (1597 cm−1) bands along with the activation. The D band shows the presence of defects or disorder in the graphite structure that may be beneficial for the material, while the G band is assigned to the symmetric stretching of the sp2 graphitic carbon [39, 40]. The HTC treatment already seems to create some graphite or graphene structures to the material shown by G band. After activation, these two bands appear clearly for the PKC (ID/IG ratio of about 0.5), while other spectral features remain less intense. The ID/IG ratio of about 0.5 indicates a low amount of defects in the adsorbent. The Raman peaks below 1000 cm−1 are also changed during the activation. The intensities of these peaks decrease during HTC and activation. The peaks around 1000 cm−1 can be attributed to the cellulose and hemicellulose components in the spectra of PKS and PKH. Decrease in intensity of these peaks is in correlation with the TGA results, which indicated the loss of the hemicellulosic and cellulosic components in the activation temperature range (~ 400 °C). Dried palm kernel shells (PKS) and hydrochar (PKH) show also spectral features in the region of C-O stretch in cellulose and hemicellulose (1056 cm−1) and crystalline cellulose (1098 cm−1) [41]. This ties with the FTIR results, where we observed a loss of the C–O groups after activation. We also observe prominent peaks in the Raman spectra of PKS and PKH below 900 cm−1 which are greatly reduced in the PKC spectrum. These peaks can be associated with hydrogen bonded to aromatic carbons [42].

Fig. 4
figure 4

Time-gated Raman spectra of dried palm kernel shells (PKS), hydrochar (PKH) and hydrochar-derived adsorbent (PKC)

Fig. 5 shows the XRD diffractogram of PKC. It is directly visible from the diffractogram, that the material is not well-structured crystalline material. Similar diffractograms are typical for biowaste-derived carbons. The broad peaks visible at 2θ 27° and at around 50° are related to the disordered graphite-like structures [43, 44], that were also observed in Raman spectra. The feature visible at around 2θ 15° could be related to graphite oxide [45, 46]. The presence of graphite oxide in material supports the information found in FTIR analysis, namely observation of various oxygen-containing functional groups.

Fig. 5
figure 5

XRD diffractogram of PKC

DCF adsorption experiments

The pHpzc of the hydrochar-derived adsorbent (PKC) was determined to be 5.7 using the pH drift method [47]. The pKa of diclofenac is ~ 4.2 [19]. When the pH of the solution is equivalent to the pKa, 50% of DCF is in protonated and 50% is in deprotonated form. When pH of the solution decreases, the protonated form prevails. At the pH 2, DCF is mainly in protonated form while the adsorbent surface is positively charged. After pH increases above pHpzc of the adsorbent, larger part of DCF is in deprotonated form and adsorbent has a negative charge. The lower pH (pH 2) was selected for the experiments to avoid the repulsion between the adsorbate and the adsorbent surface. Furthermore, earlier studies indicate pH 2 as optimal pH for diclofenac adsorption [19].

The effect of adsorbent amount in DCF removal was studied using 0.25, 0.5, 1.0 and 1.5 g of hydrochar-derived adsorbent (PKC). The results are presented in Fig. 6a. The adsorption of DCF on PKC after 90 min in presence of 0.25 g and 1.5 g of adsorbent was 0.214 mg g−1 and 0.376 mg g−1, respectively. The adsorption capacity of PKC increased with increasing adsorbent mass, which is due to availability of higher number of surface sites for adsorption. Figure 5a displays that the removal of DCF increases with increasing adsorbent mass. However, when the mass of adsorbent is taken into account when calculating the amount of DCF adsorbed at a given time, the difference is not anymore equally large, which is visible in Fig. 6b. About 43% of DCF is removed during 90 min using 1.5 g of adsorbent compared to 5% removal achieved with 0.25 g of adsorbent. Usually, adsorption capacity and efficiency are linked to contact time and thus adsorption increases with increasing contact time until the adsorption–desorption process reaches the equilibrium. Based on the results, an amount of 1.5 g of adsorbent was selected for further experiments. An increase in the concentration of DCF increases the DCF removal percentage from about 75% removal at 5 ppm to maximum removal of about 95% with 50 ppm of DCF solution (Fig. 6c).

Fig. 6
figure 6

a Effect of adsorbent mass and contact time on the removal efficiency of DCF. b Amount of adsorbed DCF at given contact times for different masses of the adsorbent (DCF concentration was 10 mgL−1). c Effect of DCF concentration on the removal of DCF at pH 2 (Total liquid volume 100 mL; experiments were carried out at room temperature)

Adsorption kinetics of DCF was examined by fitting two kinetic models to the data (Fig. 7). Compared to pseudo-first-order (PFO) model, pseudo-second-order (PSO) kinetic model explained better the experimental data with the correlation coefficients (R2) superior than 0.93 for all the studied adsorbent amounts (Table 1). The theoretical values of adsorption quantity at equilibrium (Qe,cal (mgg−1)) determined from PSO model were consistent with the experimental value (Qe,exp (mgg−1)) (see Table 1). The highest equilibrium adsorption capacity was observed for 1.5 g of adsorbent for the removal of DCF. The increase in adsorbent mass accelerated the adsorption of DCF onto adsorbent, which was shown by the increase of second-order rate constants (K2) from 0.311 to 0.869 gm gmin−1.

Fig. 7
figure 7

Fitting of kinetic data of DCF adsorption with (a) PFO kinetic model and (b) PSO model. (The models are fitted with different mass of the adsorbent. The initial concentration of DCF was 10 mgL−1, temperature was 25 °C and total volume 100 mL.)

Table 1 Kinetic parameters of DCF adsorption onto hydrochar-derived adsorbent at 25 °C and 10 mgL−1

To investigate the DCF adsorption further, Langmuir and Freundlich adsorption models were used to fit the equilibrium data. As seen in Table 2 and Fig. 8, the Langmuir model fits reasonably well with the experimental data with a correlation coefficient of R2 > 0.98. This means that the adsorption of DCF occurs as monolayers onto homogeneously dispersed adsorption sites on the adsorbent surface with absence of interaction between the adsorbed DCF molecules. The maximum amount of DCF adsorbed was 13.16 mg g−1 at 25 °C. Freundlich model did not fit equally well with the data based on smaller correlation coefficient (R2: 0.95). The value of the Freundlich constant n is larger than 1 (n: 1.825), which points out the favourable adsorption conditions.

Table 2 Langmuir and Freundlich parameters for DCF adsorption
Fig. 8
figure 8

Fitting of the experimental DCF adsorption data against (a) Langmuir adsorption model and (b) Freundlich model. (The initial concentration used in the experiment was varied between 0 and 50 mgL−1, mass of adsorbent was 1.5 g, contact time 90 min, pH = 2.0 and temperature was 25 °C)

A comparison between the maximum adsorption capacity of the adsorbent prepared in this work and the values reported earlier for physically and chemically activated carbons are presented in Table 3. It can be observed that PKC (13.16 mgg−1) has very good adsorption capacity in DCF adsorption compared to other adsorbents derived from lignocellulosic materials and activated especially by physical means. Higher adsorption capacities are achieved using ZnCl2 and K2CO3 as chemical activating agents. The adsorption times reported for other materials have mainly been significantly longer than in our case.

Table 3 Comparison of the maximum adsorption capacity of DCF onto different adsorbents in this study and reference studies

The adsorption mechanism between PKC and DCF is useful to understand the performance of PKC. Despite the specific surface area of the adsorbent being only about 131 m2g−1, we obtained a good removal of 95% at pH 2. At this pH, the electrostatic interactions cannot explain the good performance of the adsorbent, since the pKa of DCF is ~ 4.2 (typical for weak acid) and at the pH of the experiment, DCF is mainly present in protonated form while the adsorbent is positively charged. The result indicates that the surface functional groups played a major role in the adsorption of DCF onto PKC. DCF molecule contains three non-polar structures—two aromatic rings and hydrocarbon chain. Diarylamine and carboxyl acid groups improve the DCF solubility in water. Diarylamine and carboxylic acid groups can form strong hydrogen bonds, while non-polar groups can create Van der Waals bonding with other non-polar groups. The aromatic rings can also create π–π interaction via aromatic stacking. The FTIR spectrum of PKC showed the presence of phenolic groups that improve the bonding between DCF and the adsorbent [55,56,57]. The interaction via aromatic π–π stacking and hydrogen bonding between -OH groups of phenol and carboxylic acid groups of DCF are probably the main cause for good removal at acidic pH.

Regeneration and reusability

Spent PKC was regenerated after DCF adsorption according to the protocol proposed by Zbair et al. [58, 59]. The results presented in Fig. 9 show, that PKC has a very good performance after five cycles of adsorption and regeneration. Furthermore, the removal efficiency remains steady without any significant loss in its ability to adsorb DCF. This shows that the developed adsorbent can be used several times before it loses its adsorption capacity, which is important in the practical use of the material.

Fig. 9
figure 9

Reusability of PKC adsorbent after cycles of adsorption and regeneration. (Adsorption experiments were carried out with 15 mg −1 DCF, 1.5 g of PKC, 100 mL total volume and 25 °C temperature. Regeneration was done using 20 mL 95% ethanol.)

Conclusions

An efficient adsorbent for diclofenac removal from water was successfully developed through hydrothermal carbonization and activation under N2 flow. The prepared adsorbent was mesoporous and it had specific surface area of 131 m2g−1. Based on FTIR analysis, the hydrochar surface was rich in oxygen containing functional groups, while their quantity and quality decreased after activation. Activation increased the amount of graphene and graphite structures in the material while cellulose and hemicellulose structures were removed. Maximum adsorption capacity of 13.16 mgg−1 for diclofenac was achieved, which is better than capacities reported in several previous works. The adsorption equilibrium followed the Langmuir model meaning that diclofenac adsorption occurs as monolayers on homogenously dispersed adsorption sites. The adsorption kinetics was explained better by pseudo-second-order kinetic model. The repeated regeneration experiments showed that the material kept high adsorption capacity even after five cycles. This study demonstrates that hydrothermal carbonization can be used as a basic process for production of an efficient hydrochar-derived adsorbent that has a good potential in the low-cost water purification applications.