1 Introduction

Oil palm biomass-derived activated carbon is a potential adsorbent for applications in removing organic pollutants from water, treatment of heavy metal from wastewater, liquid adsorption, reduction of gaseous pollutants emission, and, more recently, carbon dioxide (CO2) adsorption [1,2,3,4,5,6,7].

Palm kernel shell (PKS) is an attractive precursor for the synthesis of AC, given its high carbon, high lignin, significant volatile materials, and low ash content in addition to its hard and rough surfaces [8, 9]. Generally, PKS-derived AC (PKSdAC) can be prepared by three activation processes: physical, chemical, and physiochemical activation. The physical activation of PKS is performed after the carbonization process under the presence of oxidizing gas at an elevated temperature of 800–1100 °C [10,11,12]. The chemical activation process initially soaks PKS in a chemical dehydrating agent, followed by simultaneous carbonization and activation at a temperature range of 400–800 °C [9, 11,12,13]. Physiochemical activation is a process combining physical and chemical activation. The PKS undergoes chemical impregnation before the gasification with oxidizing gas [9, 11,12,13]. Chemical activation is cost-friendly among the activation processes from cost evaluation by Lai et al. [14]. The chemical activation does not use expensive and high-risk oxidizing gas. PKSdAC with higher surface area and smaller micropores have been prepared by chemical activation [15]. In addition, other than a chemical dehydrating agent, washing of PKSdAC can be carried out using distilled water to reduce the overall operational cost [16, 17].

Tian et al. [18] synthesized waste cotton-derived AC via chemical activation with a mixture of FeCl3 and ZnCl2. The dehydration of ZnCl2 and FeCl3 is responsible for pores development on the cotton waste precursor. The AC achieved a high surface area of 1342 m2 g−1, micropore volume of 0.45 cm3 g−1, and mesopore size of 2.00 nm. Sun et al. [19] used ferric chloride hexahydrate (FeCl3·6H2O), aluminium chloride hexahydrate (AlCl3·6H2O), and manganese chloride tetrahydrate (MnCl2·4H2O) as activating agent incorporated with H3PO4 activation to prepare Arundo donax Linn-derived AC. The AC prepared by MnCl2-H3PO4 activation yielded the highest BET surface area (1332 m2 g−1) and the highest total pore volume (1.06 cm3 g−1) with a mesopore size of 3.18 nm compared to those prepared by H3PO4 mixed with FeCl3 activation (BET surface area = 1156 m2 g−1, total pore volume = 1.03 cm3 g−1, and pore size = 3.55 nm) and H3PO4 mixed with AlCl3 activation (BET surface area = 992 m2 g−1, total pore volume = 0.69 cm3 g−1, and pore size = 2.77 nm). Amuda and Ibrahim [20] studied the removal of chemical oxygen demand (COD) on BaCl2-activated coconut shell carbon, and Ajani et al. [21] investigated the adsorption of methylene blue from aqueous solution onto the mango seed shells-based AC prepared using BaCl2 activation. Both BaCl2-activated coconut shell ACs and BaCl2-activated mango seed shell ACs are suitable as adsorbents for COD and methylene blue adsorption via physisorption with good adsorption efficiency towards dye and organic matter.

Surface modifications are typically implemented after the activation process to alter the surface chemistry of PKSdAC. Nitrogen incorporation or metal functionalization of PKSdAC are amongst the surface modification adopted to enhance adsorption performance [15]. Amine modification incorporates nitrogen groups into PKSdAC using mild-temperature drying [22, 23]. The surface functionalization of metal nanoparticles on PKSdAC is performed using a high-temperature thermal process [24, 25]. The impregnated metal nanoparticles retained in porous PKSdAC and on the surface enhance the chemical adsorption performance and selectivity of CO2 via electrostatic interactions [26]. The existing post-synthetic surface modification methods on PKSdAC are disadvantageous by requiring a subsequent additional step and complex synthesis process for a prolonged time. The post-synthetic surface modification causes reduced surface area and pores in the prepared PKSdAC. To our knowledge, there are limited studies of single-step chemical activation and surface modification with a mix of activating agents [18, 19].

In this work, concurrent activation and surface modification (CAM) using barium salt (BaCl2) as the modifying agent with H2SO4 activating agent for the preparation of surface-modified AC from palm kernel shell (PKS) is presented. The concurrent activation and modification (CAM) process involves simultaneous activation and surface modification. Compared to conventional surface modified-activated PKSdAC production, the CAM process reduces the overall production cost by 12% by eliminating the subsequent additional thermal surface modification based on a 10,000 kg day−1 feed [27]. Incorporating basic functional groups, such as barium (Ba), on the PKSdAC will improve surface adsorption properties [28], including the chemical adsorption of CO2 [18,19,20,21]. The presence of basic metal surface groups on PKSdAC serves as an electron donor via donating the lone pair of electrons to increase the chemisorption of acidic CO2 [29]. The deposition of barium (Ba) on the surface and pores of the derived AC was achieved via the reduction of barium sulphate (BaSO4) (i.e., from H2SO4 and BaCl2) to barium sulphide (BaS) [30].

Figures 1(a) and (b) illustrates the CAM and the conventional process of carbonaceous material to obtain targeted surface functional groups (i.e., acidic and metal surface functional groups). Mechanism (I) presents the reaction mechanism of CAM process of carbonaceous material. BaSO4 then reacts with carbon in PKS with the net generation of carbon monoxide (CO) and carbon dioxide (CO2) following the reaction scheme shown in Eqs. 24 [31, 32]. The chemical impregnation of H2SO4-treated PKS with BaCl2 solution leads to the formation of BaSO4 in the PKS (Eq. 1). The carbon (C) material combines with oxygen (O2) in the air and partially oxidizes carbon to CO during the CAM process, as depicted by Eq. 2 [31, 32]. Subsequently, the BaSO4 reduces to barium sulphide (BaS), oxidizing CO to CO2 (Eq. 3) [30]. The Boudouard reaction is postulated to be the rate-controlling step of the overall reaction mechanism, as shown in Eq. 4 [32]. Equation 5 shows the general reduction reaction of BaSO4 to BaS with carbon as the reducing agent [30]. This reduction process is important in forming BaS, an intermediate in producing barium (Ba) compounds [30, 33]. Although the reduction of BaSO4 typically occurs at 600 °C [34], a small amount of carbon additives produced from the slow pyrolysis of PKS acts as the reducing agent. It enables the reduction to initiate below 400 °C [35].

Fig. 1
figure 1

Illustration of (a) concurrent activation and surface modification (CAM) process and (b) conventional chemical activation-surface modification process

  1. (I)

    Mechanism of CAM process of carbonaceous material

$$\begin{array}{ll}\mathrm{Impregnation}:& {\mathrm{BaCl}}_{2}\left(\mathrm{aq}\right)\end{array}+{\mathrm{H}}_{2}{\mathrm{SO}}_{4}\left(\mathrm{aq}\right)\to {\mathrm{BaSO}}_{4}\left(\mathrm{s}\right)+2\mathrm{HCl}\left(\mathrm{aq}\right)$$
(1)
$$\begin{array}{ll}\mathrm{Activation}: & \mathrm{C}\left(\mathrm{s}\right)+1/{2}\mathrm{O}_{2}\left(\mathrm{g}\right)\to \mathrm{CO}\left(\mathrm{g}\right)\end{array}$$
(2)
$${\mathrm{BaSO}}_{4}\left(\mathrm{s}\right)+4\mathrm{CO}\left(\mathrm{g}\right)\to \mathrm{BaS}\left(\mathrm{s}\right)+{4\mathrm{CO}}_{2}\left(\mathrm{g}\right)$$
(3)
$$\mathrm{C}\left(\mathrm{s}\right)+{\mathrm{CO}}_{2}\left(\mathrm{g}\right)\leftrightarrow 2\mathrm{CO}\left(\mathrm{g}\right)$$
(4)
$$\begin{array}{ll}\mathrm{Overall}:& {\mathrm{BaSO}}_{4}+3\mathrm{C}\Rightarrow \mathrm{BaS}+2\mathrm{CO}+{\mathrm{CO}}_{2}\end{array}$$
(5)

The reaction mechanism of the conventional process of carbonaceous material is shown in mechanism (II). The impregnation of H2SO4 incorporates H2SO4 compound into the interior of PKS (Eq. 6). After drying, moisture is removed from the PKS, and H2SO4 remains as liquid in the PKS structure (Eq. 7). During H2SO4 activation, water vapor formed from H2SO4 dehydration burns off the carbon content of PKS through the gasification process to create substantial pore volumes and internal porosities [16]. Simultaneously, H2SO4 reacts with the C = C bond in the derived carbon material to release gaseous SO2, CO2, and CO [36, 37] (Eq. 8). Equation 9 is the thermal decomposition reaction of oxygen-containing functional groups (C(O)), which are carboxyl, phenolic hydroxyl, and ester groups [37]. In the presence of O2, carbon reacts with O2 to produce CO (Eq. 10), while C(O) reacts with O2 to release CO2 (Eq. 11) [37]. The impregnation of chemically activated carbon with BaCl2, followed by a subsequent drying process, causes BaCl2 solid to penetrate the interior pores and beneath the AC surface (Eqs. 1213). At a high-temperature thermal surface modification process, the sintering of BaCl2 to BaCl2 salts occupies the interior pores and the surface of AC (Eq. 14).

  1. (II)

    Mechanism of conventional process of carbonaceous material

$$\begin{array}{cc}\mathrm{Impregnation}:& {\mathrm{H}}_{2}{\mathrm{SO}}_{4}\left(\mathrm{aq}\right)\end{array}+\mathrm{C}\left(\mathrm{s}\right)\to \mathrm{C}-{\mathrm{H}}_{2}{\mathrm{SO}}_{4}\left(\mathrm{s}\right)$$
(6)
$$\mathrm C-{\mathrm H}_2{\mathrm{SO}}_4\left(\mathrm s\right)\overset{\mathrm{drying}}{\longrightarrow}\mathrm C-{\mathrm H}_2{\mathrm{SO}}_4\left(\mathrm s\right)+{\mathrm H}_2\mathrm O\left(\mathrm g\right)$$
(7)
$$\begin{array}{cc}\mathrm{Activation}:& {\mathrm{H}}_{2}{\mathrm{SO}}_{4}\left(\mathrm{l}\right)+\end{array}\mathrm{C}\left(\mathrm{s}\right)\to {\mathrm{SO}}_{2}\left(\mathrm{g}\right)+\mathrm{CO}\left(\mathrm{g}\right)+{\mathrm{H}}_{2}\mathrm{O}\left(\mathrm{g}\right)$$
(8)
$$\mathrm{C}\left(\mathrm{O}\right)\left(\mathrm{R}\right)+{\mathrm{H}}_{2}{\mathrm{SO}}_{4}\left(\mathrm{l}\right)\to {\mathrm{SO}}_{2}\left(\mathrm{g}\right)+{\mathrm{CO}}_{2}\left(\mathrm{g}\right)+{\mathrm{H}}_{2}\mathrm{O}\left(\mathrm{g}\right)$$
(9)
$$\mathrm{C}\left(\mathrm{s}\right)+\mathrm{O}\left(\mathrm{g}\right)\to \mathrm{CO}\left(\mathrm{g}\right)$$
(10)
$$\mathrm{C}\left(\mathrm{O}\right)\left(\mathrm{R}\right)+\mathrm{O}\left(\mathrm{g}\right)\to {\mathrm{CO}}_{2}\left(\mathrm{g}\right)$$
(11)
$$\begin{array}{cc}\mathrm{Impregnation}:& {\mathrm{BaCl}}_{2}\left(\mathrm{aq}\right)+\mathrm{C}\left(\mathrm{s}\right)\to \mathrm{C}-{\mathrm{BaCl}}_{2}\left(\mathrm{s}\right)\end{array}$$
(12)
$$\mathrm C-{\mathrm{BaCl}}_2\left(\mathrm s\right)\overset{\mathrm{drying}}{\longrightarrow}\mathrm C-{\mathrm{BaCl}}_2\left(\mathrm s\right)+{\mathrm H}_2\mathrm O\left(\mathrm g\right)$$
(13)
$$\begin{array}{cc}\mathrm S\mathrm u\mathrm r\mathrm f\mathrm a\mathrm c\mathrm e\;\mathrm m\mathrm o\mathrm d\mathrm i\mathrm f\mathrm i\mathrm c\mathrm a\mathrm t\mathrm i\mathrm o\mathrm n:&{\mathrm{BaCl}}_2\left(\mathrm s\right)\overset{\mathrm{sintering}}{\longrightarrow}{\mathrm{BaCl}}_2\left(\mathrm s\right)\end{array}$$
(14)

A response surface methodology (RSM) based on central composite design (CCD) was applied to optimize the mass ratio of PKS to H2SO4 (also termed H2SO4 mass loading) and the activation temperature for preparing AC in this work. In addition, the effect of BaCl2 mass loading on the PKSdAC was also evaluated to determine the mass ratio of H2SO4-treated PKS to BaCl2 to achieve a high amount of Ba impregnated on the PKSdAC. The PKSdAC was prepared at the optimal CAM conditions using a conventional H2SO4 activation followed by the subsequent BaCl2 surface modification process. It acts as a control sample to compare the impregnated Ba amount and its textural characteristics to the optimum CAM-PKSdAC.

2 Experimental section

2.1 Materials

Palm kernel shell (PKS) biomass was obtained from Lambir Palm Oil Mill in Miri Sarawak, Malaysia. The PKSs were pulverized to a particle size of 2 mm using a rotor mill (FRITSCH, Malaysia) and manually sieved using a test sieve (FRITSCH, Subang Jaya, Malaysia) with a diameter of 500 µm. The PKS was washed and dried in an oven (BINDER GmbH, Tuttlingen, Germany) at 105 °C for 24 h. The dried PKS was stored at room temperature in sealed containers before the experiments. Sulphuric acid (H2SO4, 95–98% purity, R&M) was used as an activating agent, while barium chloride (BaCl2, ≥ 99% purity, Merck) was used as the modifying agent in the CAM process.

2.2 Concurrent activation and modification (CAM)

The synthesis of PKSdAC via the two-stage integrated CAM process was conducted according to our parametric study [38]. In the parametric study, CAM was performed at activation temperatures of 400 °C, 550 °C, and 700 °C using 10% and 30% H2SO4 mass loading. The findings from the parametric study showed that CAM-PKSdAC prepared using 10% H2SO4 mass loading successfully synthesized and impregnated the highest Ba amount (2.98 wt.%), compared to using 30% H2SO4 mass loading (0.86 wt.%). A lower H2SO4 mass loading postulates to incorporate a higher Ba amount on CAM-PKSdAC. A further investigation of the effect of lower H2SO4 mass loading (i.e., 5–10%) on Ba functionalization of CAM-PKSdAC was therefore carried out.

48 g raw PKS was pulverized and sieved into 2 mm particles. The PKS was washed to remove residual sand and fibers and then dried in an oven (BINDER GmbH, Tuttlingen, Germany) at 105 °C for 24 h. After drying, the PKS was soaked in a 5% H2SO4 solution (R&M, United Kingdom) at ambient temperature for 48 h for homogeneous chemical impregnation. The PKS was separated from the H2SO4 solution by vacuum filtration, followed by drying at 110 °C for 8 h to remove residual H2SO4. Subsequently, the PKS underwent metal impregnation following the published work on the surface modification of PKSdAC using metal impregnation [24]. A 10 wt.% BaCl2 solution (Merck, United States) was used to impregnate PKS at ambient temperature for about 24 h. After metal impregnation, the PKS was dried at 70 °C for 24 h using the oven. It was simultaneously activated and thermally modified in a muffle furnace (Carbolite, Derbyshire, United Kingdom) at 400 °C for 2 h to produce PKSdAC. After cooling down, the PKSdAC was collected and washed several times to reduce BaCl2 content until the solution reached a stable pH value within 7–8. The wet PKSdAC was dried at 110 °C for 24 h and stored for material characterization.

The CAM process was repeated to synthesize PKSdAC by adjusting the H2SO4 mass loading to 7.5% and 10% and activation temperature to 550 °C and 700 °C, as specified by the designed experimental runs in Table S1. The experimental runs were repeated twice. The CAM-PKSdAC samples were labelled as CxH2SO4-PKSdAC-T, where x is the H2SO4 mass loading (i.e., 5%, 7.5%, and 10%), and T is the activation temperature (i.e., 400, 550, and 700 °C).

The preparation of conventional surface modified-activated PKSdAC was prepared via 2-step H2SO4 activation followed by subsequent BaCl2 surface modification as following the synthesis procedure in our techno-economic feasibility study [27]. The PKS was first impregnated in a 7.5% H2SO4 solution at ambient temperature for 48 h and dried at 110 °C for 8 h before it was activated at 700 °C at a heating rate of 10 °C min−1 in a muffle furnace (Carbolite, Derbyshire, United Kingdom) for 2 h to produce PKSdAC. After activation, the PKSdAC was soaked in a 10 wt.% BaCl2 solution at ambient temperature for about 24 h. The BaCl2-impregnated PKSdAC was dried at 70 °C for 24 h and then heated at 750 °C for 1 h for surface modification. The resultant surface-modified PKSdAC underwent washing until the solution reached a stable pH within 7–8. Lastly, the surface-modified PKSdAC was dried at 110 °C for 24 h before storage for material characterization.

The conventional surface modified-activated PKSdAC was prepared as the control sample to compare the Ba impregnation outcome (i.e., CAM against conventional chemical activation-surface modification process). The conventional surface modified-activated PKSdAC was labelled as CxH2SO4-PKSdAC-T-modified, where x is 7.5% H2SO4 mass loading, and T is the activation temperature of 700 °C.

2.3 Correlation and optimization study of CAM-PKSdAC synthesis

The CAM optimization study was performed with response surface methodology (RSM) based on face centered central composite design (CCD) using the testing range from the parametric study in previous work [38]. RSM is a numerical and statistical model tool utilized to assess the effect of the independent variables, individually or in combination with the dependent variable (response). It requires minimum experimental runs to optimize the best experimental conditions for the CAM process of PKS [39]. Figure S1 illustrates the optimization study flow adopted in this study. CCD was employed to study the correlation and the individual and interactive effects of the CAM process parameters (i.e., activation temperature and H2SO4 mass loading) toward the production of PKSdAC and its potential barium (Ba) loading. CCD enables the response surface within vicinity of the center points to be effectively explored while providing information about the interaction effects between factors. This make CCD design a promising tool for the optimization of activation temperature and H2SO4 mass loading with a fractional factorial design to produce PKSdAC impregnated with a high Ba amount [40]. Table 1 illustrates the process parameters and factor levels for the two CAM experiments. In Table 1, H2SO4 mass loading (5–10%) (B) and activation temperature (400–700 °C) (A) varied over three levels. The factor levels were denoted as -1 (low), 0 (central point), and + 1 (high). The impregnated Ba amount was analyzed as the response. Table S1 summarizes the nine experimental runs obtained from CCD based on the two CAM process parameters and their factor levels. A total of nine experiments were carried out to investigate the influence of the CAM process parameters on impregnated Ba amount. The impregnated Ba amount from experiments was used for the correlation study analysis. The results were analyzed with 95% confidence intervals using the Analysis of Variance (ANOVA) from Design Expert 6.0.10 software. After the correlation study, CAM process conditions were optimized using a numerical method. The interpretation of correlation and optimization study analysis are presented in Section 3.2.

Table 1 Experimental design with 2 factors and 3 levels
Table 2 ANOVA for the selected design model for impregnated Ba amount in CAM-PKSdAC

2.4 Effect of barium mass loading on CAM-PKSdAC

The optimal synthesis condition identified from the RSM in Section 2.3 is adopted to study the mass loading effect (2, 4, 6, 8, and 10 wt.%) of surface modification agents (BaCl2) on the impregnated Ba on PKSdAC. The BaCl2 mass loading was studied to investigate whether lower BaCl2 mass loading was adequate to achieve a comparable impregnated Ba amount using 10 wt.% of BaCl2. The CAM-PKSdAC samples were labelled CxH2SO4-PKSdAC-T-yBaCl2, where y is the BaCl2 mass loading.

2.5 Characterization of CAM-PKSdAC

For the nine CAM-PKSdAC produced with different H2SO4 loading (i.e., 5%, 7.5%, and 10%) and the optimum CAM-PKSdAC, the amount of the impregnated Ba in the CAM-PKSdACs was analyzed through inductively coupled plasma-optical emission spectrometry (ICP-OES) using USEPA 6010 B method [41]. Before the analysis, the CAM-PKSdAC was digested through conventional wet acid digestion per USEPA 3050 B method [42]. The sample digestion was to digest standard reference materials and the surface of the CAM-PKSdAC to ensure Ba does not degrade during extraction.

The pore structures of the optimum CAM-PKSdAC were characterized using N2 physisorption at 77 K to obtain adsorption isotherms by performing the test using Micromeritics ASAP 2020 apparatus (Micromeritics Instrument Corporation, Norcross, United States) [43]. The surface area was calculated by the BET method (SBET), while the total pore volume (Vtotal) was determined from the nitrogen amount adsorbed at a relative pressure (P/P0) of 0.99 [44, 45]. The average pore diameter (Davg) of the optimum CAM-PKSdAC was calculated using the measured SBET and Vtotal. Micropore volume (Vmicro) was obtained from the t-plot analysis [44, 45]. The mesopore volume and size distribution were determined by the Barrett-Joyner-Halenda (BJH) method from the N2 adsorption data [44, 45].

A variable-pressure scanning electron microscope (VP-SEM) using a scanning electron microscope model JEOL JSM-IT300LV (JEOL USA Inc., Pittsfield, United States) at an accelerating voltage of 10 kV across the magnification range of 500X-2500X was used to characterize the surface morphology of the optimum CAM-PKSdAC [46].

Elemental contents such as carbon (C), hydrogen (H), nitrogen (N), and sulphur (S) of raw PKS and the optimum CAM-PKSdAC were analyzed using a CHNS analyzer model FlashSmart CHNS/O (Thermo Fisher Scientific, Shah Alam, Malaysia). The crystallinity of the optimum CAM-PKSdAC was characterized by X-ray diffraction (XRD) method [46]. The model D8 Advance X-Ray Diffractometer-Bruker (Bruker Corporation, Billerica, United States) was operated at 40 kV, 15 mA at ambient temperature to calculate its diffractogram and lattice constant/indexing using DIFFRAC plus-EVA software.

The organic functional groups in the optimum CAM-PKSdAC were characterized by ex-situ Fourier Transform Infrared (FTIR) Spectroscopy using spectrometer model IFS66v/S (Bruker Optics, Ettlingen, Germany) with software Bruker Optic GmBH 19972000 OPUS Version 3.1. This was performed via the attenuated total reflectance (ATR) method to determine the presence and absence of structural and compositional in the CAM-PKSdAC [47]. The spectra were recorded within a wave number of 400–4000 cm−1.

The conventional surface modified-activated PKSdAC was also characterized for the impregnated Ba amount by ICP-OES, the BET surface area and pore structure, its morphology and crystallinity using VP-SEM and XRD, the C, H, N and S elemental contents, and the presence of organic functional groups on its surface via FTIR.

3 Result and Discussion

3.1 Correlation and optimization study of the synthesis of CAM-PKSdAC

Figure 2 shows the effect of H2SO4 mass loading (5.0, 7.5, and 10%) and activation temperature (400, 550, and 700 °C) using 10 wt.% BaCl2 on the amount of Ba impregnated in CAM-PKSdAC and a control sample, conventional surface modified-activated PKSdAC (C7.5H2SO4-PKSdAC-700-modified). Repeated measurements on the amount of Ba impregnated in the 9 samples of CAM-PKSdAC showed a standard deviation of 0.14–0.21 for 5% H2SO4 mass loading, 0.014–0.45 for 7.5% H2SO4 mass loading, and 0.053–0.34 for 10% H2SO4 mass loading for all activation temperature. The correlation study based on the designed experimental runs observed that CAM-PKSdAC treated with 7.5% H2SO4 and activation temperature of 700 °C exhibited the highest impregnated Ba amount of 1.50 wt.%. The conventional surface modified-activated PKSdAC has a lower impregnated Ba amount with 0.072 wt.% with a standard deviation of 0.012, compared to the CAM-PKSdACs, manifesting the integration of a two-step CAM process was possible to achieve Ba surface modification on PKSdAC. The CAM-PKSdAC showed a larger mass yield of 6.20 g than the conventional surface modified-activated PKSdAC, with a 5.40 g mass yield.

Fig. 2
figure 2

Effect of activation temperature on the amount of Ba impregnated in CAM-PKSdAC

From Fig. 2, the impregnated Ba amount decreased with the increase in the H2SO4 mass loading when CAM-PKSdAC was treated at 400 °C and 550 °C, respectively. Whereas for CAM-PKSdAC treated at 700 °C, the impregnated Ba amount increased when the H2SO4 mass loading increased from 5.0% to 7.5%, and then the Ba amount reduced with increasing H2SO4 mass loading from 7.5% to 10%. When considering the effect of activation temperature, for 5.0%, 7.5%, and 10% H2SO4 mass loading, the impregnated Ba amount decreased as the activation temperature increased from 400 °C to 550 °C, then increased with a further increase to 700 °C. Activation temperature affects the amount of carbon derived from PKS, since several reactions can occur over the range of 400 °C to 700 °C, alongside BaSO4 reduction (i.e., BaSO4 reduction was initiated at the temperature range 400–700 °C) [30, 33, 35]. This consequently affects the amount of Ba impregnated on PKSdAC.

The loss of moisture and the breakdown of complex organic compounds into smaller molecules, such as volatile gases, tar, and char, occurs mainly at temperatures below 500 °C [9]. The moderate amount of carbon with moisture and minor ash constituents (i.e., devolatilisation) in the char derived at 400 °C causes the BaSO4 reduction to BaS [30]. As the temperature increases beyond this range, secondary reactions become more significant. With competing reactions (i.e., formation of secondary char and the BaSO4 reduction using char as reducing agent), the impregnated Ba amount is reduced when PKS is activated at 550 °C for all H2SO4 mass loading [30, 35, 48, 49]. As the temperature increases further, greater volatile compounds are released, forming more carbon-rich species [9]. Consequently, at similar H2SO4 mass loading of 5.0%, 7.5%, and 10%, a high impregnated Ba amount was exhibited at 700 °C, followed by CAM-PKSdAC prepared at 400 °C then 550 °C. This indicates that an increased activation temperature of 700 °C was favourable for BaCl2 surface modification on CAM-PKSdAC. However, the impregnated Ba amount at 700 °C showed a bell-shaped trend. The H2SO4 mass loading has a noticeable impact on the amount of Ba impregnated on CAM-PKSdAC. High H2SO4 mass loading (10%) was attributed to the scale formation of BaSO4 precipitate that becomes saturated with PKS because BaSO4 is highly insoluble [50]. At 700 °C, the presence of bulk BaSO4 causes a change in the initiation temperature of the reduction process to form large BaS particles. The incompletion reduction process attributed to the remaining unreacted BaSO4 on the CAM-PKSdAC, resulting in low Ba impregnation [30, 51].

The BaSO4 reduction process occurs in the presence of air, causing a rapid increase in the re-oxidation rate of BaS with increasing temperature [53]. In addition, the Ba compound yield was unchanged or slightly increased by 1–2 wt.% when the reaction time was increased from 2 to 4 h for the reduction of BaSO4 in the work of Hargreaves and Murray [33]. Apart from that, during fast pyrolysis in the activation of PKS at 800 °C and the gasification process from 800 °C to 1000 °C, it generates less surface area and forms larger mesopores and macropores due to water vapor elimination via hydration of unreacted H2SO4 [16, 54]. This was observed in the surface area of CAM-PKSdAC with 503 m2 g−1 and has a large mesopores size of 33.65 nm when prepared using 10% H2SO4 mass loading and activation temperature of 700 °C, based on our parametric study [38]. A macropore will be created in its carbon structure by increasing the activation temperature above 700 °C [16, 54].

Consequently, heating BaSO4 in the presence of air during CAM, the simultaneous activation and surface modification process was carried out at 400 °C and up to a maximum 700 °C to prevent rapid re-oxidation of BaS at 800–1100 °C that leads to larger mesopores formation [53]. In addition, given the Ba yield that did not significantly change with increasing reduction process time from 2 to 4 h [33], the CAM process of PKS was performed at the selected activation temperature of 2 h. Lastly, C7.5H2SO4-PKSdAC-700 resulted in a higher amount of Ba impregnated with 1.50 wt.% than C5H2SO4-PKSdAC-700 and C10H2SO4-PKSdAC-700, as shown in Fig. 1. This indicates that 7.5% H2SO4 mass loading has a higher potential to assist Ba impregnation on CAM-PKSdAC. By using H2SO4 mass loading of 7.5%, an adequate amount of BaSO4 was generated with 10 wt.% BaCl2 to initiate the reduction process with the carbon-reducing agent to BaS during the CAM thermal treatment process [30].

3.2 Statistical analysis of correlation and optimization study of CAM-PKSdAC synthesis

The amount of Ba impregnated in the 9 samples of CAM-PKSdAC from the correlation synthesis study in Section 2.3 was used to develop the regression model to determine the relationship of the independent variables with the dependent variable (response) as the impregnated Ba amount (wt.%). The model equation is as follows in Eq. 15:

$$\mathrm{Impregnated}\;\mathrm{Ba}\;\mathrm{amount}\;\left(\mathrm{wt}.\%\right)=+0.59+0.31\mathrm A-0.14\mathrm B+0.44\mathrm A^2-0.16\mathrm B^2+0.010\mathrm{AB}$$
(15)

where A is the activation temperature in °C and B is the H2SO4 mass loading in %.

The Analysis of Variance (ANOVA) of the correlation synthesis study for the impregnated Ba amount in CAM-PKSdACs is shown in Table 2. The model F-value of 38.54 implies that the overall model was significant with ʺProb > Fʺ value less than 0.05. Furthermore, the variables A, B, A2, and B2 were significant model terms. Among these four model terms, the result indicated that the activation temperature (A) was highly significant since its ʺProb > Fʺ value was less than 0.0001 (Prob > F < 0.05) with the highest F-value of 90.82, as shown in Table 2. This suggests activation temperature significantly affected the impregnated Ba amount in CAM-PKSdACs (response). ʺAdeq precisionʺ measures the signal-to-noise ratio. A ratio of 18.695 indicates an adequate signal since a ratio greater than 4 is desirable. The standard deviation of the model was 0.080 for Eq. 15.

Figure 3 shows the variation of the experimental impregnated Ba amount to the predicted impregnated Ba amount. The predicted amount of impregnated Ba was close to the experimental values, indicating that the models developed were successful in correlating the CAM-PKSdAC preparation condition variables to the impregnated Ba amount. The coefficient of determination R2 of 0.9649 indicates a strong correlation between the experimental and the predicted impregnated Ba amount from the models. The model also showed that R2 reasonably agrees with the adjusted R2 value of 0.9399 for the impregnated Ba amount, as shown in Table 2. However, from Table 2, the predicted R2 value of 0.6062 is not as close to the adjusted R2 indicating the effect of outliers in the regression model. Figure S2 plots residuals versus predicted impregnated Ba amount to estimate outliers and test the assumption of constant variance. In Figure S2, the results of the residuals are structureless. This manifests the assumption of homogeneity of variances for the activation temperature (A) and H2SO4 mass loading (B) on the impregnated Ba amount (response) in CAM-PKSdAC. The outliers are considered to have a value above 3 or below -3.

Fig. 3
figure 3

Predicted versus experimental values of impregnated Ba amount in CAM-PKSdACs

In a similar trend as Fig. 2, at 700 °C, the 3D surface plot in Fig. 4 showed that the impregnated Ba amount increased with decreasing H2SO4 mass loading (i.e., 10% to 7.5%), then decreased with a further decrease in H2SO4 mass loading to 5%. The effect of activation temperature on the amount of Ba impregnated, as illustrated in Fig. 4, displayed the same trend as Fig. 2. At all three H2SO4 mass loading (5%, 7.5%, and 10%), the impregnated Ba amount showed a slight reduction of 18–29% when activation temperature increased from 400 °C to 550 °C and then improved with a further increase from 550 °C to 700 °C. Furthermore, Fig. 4 showed that at an activation temperature of 700 °C and 7.5% H2SO4 mass loading, the highest impregnated Ba amount exhibited by CAM-PKSdAC was 1.34 wt.% (denoted with red dots in Fig. 4). At below 400 °C or above 700 °C, H2SO4 mass loading of less than 5% or more than 10%, the impregnated Ba amount in CAM-PKSdAC increased in Fig. 4.

Fig. 4
figure 4

3D surface plot: activation temperature and H2SO4 mass loading effect on the impregnated Ba amount in CAM-PKSdACs at 10 wt.% BaCl2 mass loading

Therefore, the impregnation of Ba in CAM-PKSdAC was investigated beyond the CAM parameter ranges of H2SO4 mass loading of 4% and 11%, activation temperature of 338 °C and 762 °C. A full factorial CCD with a rotatability (α) of 1.414 was utilized to determine the possibility of achieving a high impregnated Ba amount. Both experimental and statistical analysis data for this investigation were presented in Supplementary Material as Table S2, Figure S3, Figure S4, and Figure S5. Tables S2(a) and (b) tabulate the experimental design and ANOVA for the selected design model for the regression model equation and coefficients of impregnated Ba amount in CAM-PKSdAC. In Table S2(b), activation temperature (Factor A) has a ʺProb > Fʺ value of 0.0005 (less than 0.05), indicating that it has a significant influence on the impregnated Ba amount in CAM-PKSdAC. The model found a high R2 of 0.9131 (R2 > 0.90), as shown in Figure S3, indicating the variability in the response (impregnated Ba amount) could be attributed to the two factors (A: activation temperature and B: H2SO4 mass loading). The 3D plot in Figure S4 shows that the synthesis performed at an activation temperature of 700 °C at varying H2SO4 mass loading between 5 and 10% can impregnate a higher Ba amount in CAM-PKSdAC, which is in a similar trend as Fig. 4. The predicted impregnated Ba amount at 550 °C using 4% and 11% H2SO4 mass loading are denoted with blue dots, and brown dots indicated for the temperatures of 338 °C and 762 °C using 7.5% H2SO4 mass loading in Figure S4. At a temperature of 550 °C using 4% and 11% H2SO4 mass loading, CCD estimated an increase in impregnated Ba amount with 0.67 wt.% and 0.41 wt.% as observed in Fig. S4. While an increase in impregnated Ba amount of 0.67 wt.% was predicted at a lower temperature of 338 °C and 1.27 wt.% at a higher temperature of 762 °C when using 7.5% H2SO4 mass loading.

Based on the experimental design in Table S2(a), the synthesized CAM-PKSdAC data in Figure S5 indicates a decrease in impregnated Ba amount at the temperature of 338 °C and 762 °C using 7.5% H2SO4 mass loading with 0.67 wt.% and 1.14 wt.%, lower than at 400 °C (0.68 wt.% Ba) and 700 °C (1.50 wt.% Ba). Under an activation temperature of 550 °C, the CAM-PKSdAC prepared using 4% H2SO4 mass loading has decreased impregnated Ba amount of 0.51 wt.% compared to CAM-PKSdAC prepared by 5% H2SO4 mass loading (0.60 wt.%). Further increasing the H2SO4 mass loading to 11% only slightly increased the impregnated Ba amount to 0.44 wt.% than 10% H2SO4 mass loading with 0.38 wt.%. This has no significant influence since activation temperature was the main factor affecting Ba impregnation, as determined in Table S2(b) and Table 2 from the correlation and optimization study. In summary, the optimal conditions to prepare PKSdAC via the CAM process obtained from the correlation and optimization study were 7.5% H2SO4 mass loading and an activation temperature of 700 °C. The optimal CAM parameters were used to perform the validation of the model in the following section.

3.3 Model validation

The statistical analysis of the Design-Expert software gave one numerical solution of optimum CAM process conditions with a desirability value of 0.925 for the production of CAM-PKSdAC based on the maximum impregnated Ba amount. The optimum conditions were determined numerically: activation temperature of 700 °C and H2SO4 mass loading of 7.5%, as shown in Table 3. The maximum impregnated Ba amount of 1.34 wt.% was predicted at this synthesis condition. The verification test was conducted to synthesize CAM-PKSdAC under the optimum synthesis conditions to validate the model’s accuracy. The verification test resulted in an impregnated Ba amount of 1.50 wt.% with a standard deviation of 0.45, as reported in Table 3. The experimental value for impregnated Ba amount agrees with the predicted value, with errors of 11.94%.

Table 3 Model validation

3.4 Effect of BaCl2 mass loading on CAM-PKSdAC

The ICP-OES analysis results for the impregnated Ba amount in 5 samples of CAM-PKSdAC prepared at varying BaCl2 mass loading of 2–10 wt.% is demonstrated in Table 4. Table 4 shows that increasing the BaCl2 mass loading increases the impregnated Ba amount, indicating the impregnation of Ba metal was favourable when the BaCl2 mass loading increases until 10 wt.%. The addition of 10 wt.% BaCl2 resulted in the highest amount of Ba impregnated in CAM-PKSdAC with 1.50 wt.%. This result also shows lower BaCl2 mass loading did not achieve a comparable impregnated Ba amount to 10 wt.% BaCl2 mass loading. The BaCl2 mass loading beyond 10 wt.% could seal AC’s pores and generates macropore, which is not desirable for the adsorption of CO2 [55].

Table 4 Effect of BaCl2 mass loading on the impregnated Ba amount in the CAM-PKSdAC

H2SO4 reacted with increasing BaCl2 loading during the chemical impregnation to produce an increasing amount of BaSO4 based on the reaction stoichiometry (i.e., BaCl2 + H2SO4 →BaSO4 + 2HCl [Eq. 1]). In the experiment with 7.5% H2SO4 mass loading, BaCl2 is the limiting reactant, and H2SO4 is the excess reactant. The actual experimental and theoretical amounts of BaCl2, BaSO4, and the impregnated Ba amount are presented in Tables S3 and S4. Table S3 shows a constant step increase of impregnated Ba with the increase in BaCl2 mass loading. The actual experimental impregnated Ba in Table S4 shows an exponential trend, indicating a second-order reaction. Therefore, a further increase in BaCl2 mass loading will not return a significant cost-effective improvement. Based on the actual Ba impregnation, only 1.37–4.74 wt.% BaCl2 out of total BaCl2 given (2–10 wt.%) was consumed with 0.0063–0.11 g H2SO4 penetrated beneath the surface of CAM-PKSdAC in the precipitation reaction. During chemical impregnation with 7.5% H2SO4 mass loading, a fixed amount of H2SO4 was impregnated on the surface of CAM-PKSdAC, and excess H2SO4 was removed by filtration. The drying process did not evaporate the H2SO4 since the boiling point of H2SO4 was 335 °C [56]. Therefore, the actual impregnated Ba depends on the amount of impregnated H2SO4. This resulted in 0.015–0.25 g BaSO4 obtained via BaCl2 impregnation, which was reduced to BaS during CAM to produce 0.088–1.50 wt.% impregnated Ba amount.

A higher amount of BaSO4 crystals generated more reduction to BaS, which penetrated the porous structure of CAM-PKSdAC and entrapped into the micropores during the activation process at high temperatures [55]. Based on our parametric study [38], the SEM micrograph (Fig. 5) showed the addition of 10 wt.% BaCl2 causes the interior pores of CAM-PKSdAC to be occupied with an abundance of BaSO4 (denoted with a blue box). By further increasing the addition of BaCl2 to 20 wt.%, Kim et al. [51] reported that high Ba loading (20 wt.%) resulted in the formation of more BaSO4 into the interior Pt-BaO/Al2O3 sample. After high temperature desulphation, the residual sulphur exists as large BaS particles [51]. This hinders the diffusion of Ba species into the interior region of Pt-BaO/Al2O3 [51]. Compared to the Pt-BaO/Al2O3 sample prepared with 8 wt.% Ba, a "monolayer" BaSO4 species experienced a complete desulphation at lower temperatures compared to when more BaSO4 was produced at high Ba loading [51].

Fig. 5
figure 5

SEM images of CAM-PKSdAC (C10H2SO4-PKSdAC-700) with magnification factors of 2,500 (Reproduced from [38])

In addition, the aim of studying the effect of BaCl2 mass loading was to investigate the possibility of reducing the surface modification agent required. Hence, the experiments did not include BaCl2 mass loading than 10 wt.%. The optimum process conditions for the CAM process parameters examined in this work were H2SO4 mass loading of 7.5%, activation temperature of 700 °C, and BaCl2 mass loading of 10 wt.%. The optimum CAM-PKSdAC was used to characterize its surface area, pore structure, morphology, and chemical elements.

3.5 Optimized CAM-PKSdAC characterization

The surface morphology of the optimum CAM-PKSdAC (C7.5H2SO4-PKSdAC-700) and conventional surface modified-activated PKSdAC prepared via 2-step H2SO4 activation followed by the subsequent BaCl2 modification at an activation temperature of 700 °C and 7.5% H2SO4 (C7.5H2SO4-PKSdAC-700-modified) are shown in Fig. 6(a) and (b). The optimum CAM-PKSdAC displays a sponge-like structure with the presence of BaSO4 metal salts (white crystalline material) on its external surface and in its internal pore structure (denoted with a blue box) in Fig. 6(a). Compared to conventional surface modified-activated PKSdAC, it has a porous structure and a crack surface containing a small amount of BaSO4 metal salts on its surface and interior pores, as shown in Fig. 6(b).

Fig. 6
figure 6

SEM image of (a) CAM-PKSdAC (C7.5H2SO4-PKSdAC-700) and (b) conventional surface modified-activated PKSdAC (C7.5H2SO4-PKSdAC-700-modified) with a magnification factor of 2500x

The FTIR spectra of the optimum CAM-PKSdAC and conventional surface modified-activated PKSdAC over the range of 400–4000 cm−1 are presented in Fig. 7. In the FTIR spectra of optimum CAM-PKSdAC (Fig. 7(a)), the observed wavenumbers are 729.01, 1026.02, 1164.88, 1463.81, 1741.53, 2860.13, and 2925.70 cm−1. The spectrum peaks at 729.01, 1026.02, and 1164.88 cm−1 were assigned to C-H bending vibrations [57]. The C-O stretch of carbon, hydrogen and SO2 (O = S = O) stretching from H2SO4 species appeared at 1164.88 cm−1 for the optimum CAM-PKSdAC [58, 59]. The alkyl C = C bending from the optimum CAM-PKSdAC and Ba metal-Cl stretching were presented at a weak peak of 729.01 cm−1 [57, 59]. The carbonyl (C-O) stretch of carbon and hydrogen, HSO4− ion vibration, and S = O (sulphur and oxygen) stretching of inorganic sulphates appeared as a weak peak at 1026.02 cm−1 [57,58,59]. In contrast, carboxylic acid’s carbonyl (C = O) stretch is a strong peak at 1741.53 cm−1 [57, 59]. Another high-intensity peak was observed at 2925.70 cm−1, along with the broad shoulder-type peak around 2860.13 cm−1; these were associated with the alkyl C-H stretching [57, 59].

Fig. 7
figure 7

FTIR spectra of (a) optimum CAM-PKSdAC (C7.5H2SO4-PKSdAC-700) and (b) conventional surface modified-activated PKSdAC (C7.5H2SO4-PKSdAC-700-modified)

The spectrum peaks at 729.01 cm−1 and 1463.81 cm−1 from the optimum CAM-PKSdAC sample show the presence of C–Cl stretching and C-H scissoring, respectively [57, 59]. A spectrum peak between 500–1500 cm−1 was associated with the presence of BaSO4 compound in the optimum CAM-PKSdAC [57]. The Ba metal-H stretching and Ba metal-H bending appeared as a strong peak at 1741.53 cm−1 and a weak peak at 729.01 cm−1 [57]. In addition, the stretching of S = O from sulphate was observed at the peak region between 1340–1391 cm−1 [59]. Therefore, impregnation of Ba metal salt was effectively performed onto the PKSdAC through the CAM process using H2SO4 as activating agent and BaCl2 for metal functionalization. In the FTIR spectra of the conventional surface modified-activated PKSdAC shown in Fig. 7(b), the sharp peak at 3751–3752 cm−1 was due to the bending of -OH group from the H2O molecules chemisorbed onto the surface of conventional surface modified-activated PKSdAC when exposed to the atmosphere [57]. The peak at 2029 cm−1 was associated with the stretching vibration of the Ba-H molecule, while those at 1735 and 2230 cm−1 were related to the stretching of alkyne (C≡C) and C = O groups [57, 59]. The C≡C group was formed by eliminating a hydrogen and a halogen (Cl) atom [60]. In addition, a very weak peak corresponding to the alkyl C = C and C-H bending, carbonyl (C-O) stretch of carbon and hydrogen, and carbon atoms (C–C) stretching vibration were visible around 956–958 cm−1 and 968–971 cm−1 [57, 59].

The elemental analysis of raw PKS and optimum CAM-PKSdAC are summarized in Table 5. The untreated palm kernel shell contains 47.69 wt.% carbon, 5.32 wt.% hydrogen, and 0.17 wt.% nitrogen contents with negligible sulphur detection. The raw PKS’s elemental composition was within other research work’s reported range but slightly lower, as presented in Table 5. After the CAM process, the carbon content increased from 47.69 wt.% to 71.88 wt.%, while the hydrogen content decreased from 5.32 wt.% to 1.70 wt.%. This behaviour was due to the removal of volatile matter during the CAM process, which subsequently caused an increase in carbon content and reduced hydrogen content. As mentioned earlier, BaSO4 was produced from the impregnation of BaCl2 onto the H2SO4-treated PKS. During the thermal CAM process, BaS is generated from the reduction of BaSO4 in the presence of carbon as the reducing agent. This eventually caused an increase in sulphur content from 0 wt.% in palm kernel shell to 0.044 wt.% in optimum CAM-PKSdAC. The use of carbon in the reduction of BaSO4 attributed to the lower carbon content in optimum CAM-PKSdAC than the conventional surface modified-activated PKSdAC prepared via 2-step H2SO4 activation followed by the subsequent BaCl2 modification at the optimal condition and other research works in Table 5. The nitrogen content remained almost unchanged during the CAM process, indicating the presence of nitrogen naturally in the aromatic structure of the optimum CAM-PKSdAC and not in functional groups on the layer edges [61]. The oxygen compound decreases from 46.82 wt.% to 26.01 wt.%, manifesting the loss of oxygen-functional groups during the thermal CAM process. The conventional surface modified-activated PKSdAC has the highest carbon content of 84.90 wt.%, a decreased hydrogen and oxygen content with 0.95 wt.% and 13.80 wt.%, 0 wt.% sulphur content, and a similar nitrogen content of 0.34 wt.% in comparison with CAM-PKSdAC. The BaCl2 modification after the H2SO4 activation does not significantly impregnate Ba on the PKSdAC surface and its interior pores.

Table 5 Comparison of elemental analysis of raw PKS and CAM-PKSdAC prepared via CAM by H2SO4 activation and BaCl2 functionalization under optimum conditions with others’ work

The textural properties of the optimum CAM-PKSdAC analyzed from the N2 adsorption/desorption isotherms analysis indicated type I(b) adsorption isotherm with hysteresis loop of type H4 for both micropore and mesopore structures according to the IUPAC classification [43]. This shows a pore size distribution in the micropore range with some mesopores [43]. Table 6 summarizes the BET surface area (SBET), total pore volume (Vtotal), micropore volume (Vmicro), and average pore diameter (Davg) for the optimum CAM-PKSdAC. The micropore structure has a surface area of 420.00 m2 g−1, Vtotal of 0.19 cm3 g−1, Vmicro of 0.14 cm3 g−1, and Davg of 1.78 nm. In comparison, the mesopore structure possessed comparable surface area (423.00 m2 g−1), Vtotal (0.19 cm3 g−1), Vmicro (0.14 cm3 g−1), and Davg (1.78 nm). The pore size distribution using the N2 adsorption data at 77 K discovered that the micropore and mesopore structures consist of the 3.03–3.23 nm mesopores. The incorporation of Ba forms these pores into the carbon structure of optimum CAM-PKSdAC during BaSO4 reduction, and therefore, causes the surface area to decrease. The conventional surface modified-activated PKSdAC has a higher SBET of 565.00 m2 g−1 compared to the optimum CAM-PKSdAC with Vtotal of 0.18 cm3 g−1, Vmicro of 0.18 cm3 g−1, and Davg of 1.27 nm. The N2 adsorption/desorption isotherms analysis indicated type I adsorption isotherm with hysteresis loop of type H4 for conventional surface modified-activated PKSdAC, showing it is a microporous material with slight mesoporous characteristic [43].

Table 6 The textural properties of CAM-PKSdAC and conventional surface modified-activated PKSdAC prepared under optimum conditions

Figure 8 presents the XRD pattern for the optimum CAM-PKSdAC and conventional surface modified-activated PKSdAC. The XRD spectra for the optimum CAM-PKSdAC shown in Fig. 8(a) were collected in the scan range 2θ from 5° to 90° at a scan rate of 0.12 sec step−1. The broadened peaks of a crystallographic phase of BaSO4 nanoparticles were observed at 22.8° (111), 25.8° (021), 26.8° (210), 28.7° (121), 31.5° (002), 40.8° (122), and 42.5° (140) (2θ). This indicates that BaSO4 crystals were encapsulated in the optimum CAM-PKSdAC, which aligned with the observation from the XRD pattern for as-synthesized BaSO4 nanoparticles [69]. A simple cubic carbon structure was exhibited in the optimum CAM-PKSdAC by showing broadened peaks at 31.5° (421), 43.9° (420), and 62.8° (111) in Fig. 8(a). In the XRD spectra for conventional surface modified-activated PKSdAC shown in Fig. 8(b), the peak at 22.9° (111) and 43.1° (420) were associated with the presence of crystallographic phase of BaSO4 nanoparticles in its simple cubic carbon structure.

Fig. 8
figure 8

XRD pattern for the (a) optimum CAM-PKSdAC and (b) conventional surface modified-activated PKSdAC

4 Conclusion

A concurrent activation and surface modification (CAM) process was developed and successfully synthesized palm kernel shell-derived activated carbon (PKSdAC) impregnated with Ba. The optimum process conditions for the CAM process in producing PKSdAC were H2SO4 mass loading of 7.5%, activation temperature of 700 °C, and BaCl2 mass loading of 10 wt.%. The impregnated Ba amount predicted from the statistical analysis (1.34 wt.%) agreed with the Ba amount obtained from the verification test (1.50 wt.%) under the same optimum process conditions with a percentage error of 11.94% in the measurement. The PKSdAC prepared from optimum CAM process conditions exhibited a sponge-like simple cubic carbon structure encapsulated with BaSO4 crystals with a surface area of 420.00 m2 g−1 and 423.00 m2 g−1 for its micropore and mesopore structure. The CAM-PKSdAC obtained a total pore volume of 0.19 cm3 g−1, a micropore volume of 0.14 cm3 g−1, and an average pore diameter of 1.78 nm. The BaCl2 modification after the H2SO4 activation does not significantly impregnate Ba in the PKSdAC, indicating the simplified scheme of a 2-step integrated CAM process is viable to impregnate high Ba in the PKSdAC with similar textural structure compared to the conventional 2-steps H2SO4 activation followed by the subsequent BaCl2 modification. Through this study, the surface modification process can simultaneously be conducted with chemical activation on PKS to introduce chemical groups or charges on the surface. The work presented will serve as a cross-reference in future studies of new PKSdAC synthesis and surface modification technologies. This study also uncovers critical insights into using barium salts in PKSdAC production.