Introduction

Leather, textile, paper and pulp industries discharge large quantities of highly coloured effluent containing dyes into nearby rivers or land without any treatment because conventional treatment methods are very expensive. Small amount of dye present in water (<1 mg/L), is highly visible and consequently undesirable (Sun and Yung 2003). Based on the chromophore group, 20–30 different groups of dyes are pollutants; therefore, removal of color from effluents is one of the major environmental problems. Different investigations on the effectiveness of low-cost adsorbents for effluent treatment of various applications have been carried out, e.g., perlite (Dogan et al. 2000), wheat straw (Robinson et al. 2002), straw carbon (Verma and Mishra 2006), periwinkle shell (Bello et al. 2008), banana stalk (Bello et al. 2012a, b, c), groundnut hull (Din et al. 2009; Bello et al. 2012b), oil palm ash (Hasan 2008; Foo and Hameed 2009a), oil palm fruit fibre (Bello 2013), cocoa pod husks (Bello and Ahmad 2011a), mango peels (Bello and Ahmad 2011b), rice husk (Foo and Hameed 2009b; Yahaya et al. 2010a, b, 2011a, b); Bello and Ahmad 2011c, d), palm kernel shell (Zawani et al. 2009), coconut shell (Bello and Ahmad 2012b), Imperata cylindrica leaf (Bello and Semire 2012), rubber seed coat (Bello and Ahmad 2012a) and fly ash (Bello et al. 2013). The dye under investigation, Malachite green is used to colour silk, leather and paper. It is water-soluble, found as contaminant in industrial effluents. Clinical and experimental observations reported so far reveal that malachite green is a multi-organ toxin. Malachite green is highly cytotoxic to mammalian cells and carcinogenic to liver, thyroid and other organs in animals (Sundarrajan et al. 2000).

Musk lime (Citrus microcarpa) from family Rutaceae is commonly found in Malaysia, Thailand, Indonesia and Philippines (Abdullah et al. 2012). The health benefits of lime include skin care, eye care, weight loss, good digestion, relief from constipation, and treatment of scurvy. Besides that, the juice is also commonly used as a flavoring ingredient in desserts or as an additive in various food preparations such as fish steak, jams, candies, and marmalade. The pulp of the fruit is used as a major ingredient in purees, syrups, concentrates, and beverages. The peel of musk lime is rough and usually discarded. Thus, utilization of musk lime peel for AC production is a way of placing value on this waste thereby saving disposal cost. As a result of the hazardous health effects of MG dye, the present study is aimed at removing this dye from wastewater using musk lime peel as adsorbent by employing a central composite design (CCD) in response surface methodology (RSM) Design Expert software version 7.1.5.1 (STAT-EASE Inc., Minneapolis, USA). RSM was selected to elucidate the simultaneous effects of parameters on the adsorption process. The multiple regression analysis technique in the RSM was utilized to develop the equations and empirical models correlating the dye removal efficiency and activated carbon yield to three adsorption variables. The analysis of variance (ANOVA) was employed to judge the adequacy of the model. The optimized conditions developed from the model were validated experimentally and the feasibility of LPAC for MG dye removal was obtained.

Materials and methods

Adsorbate used

MG dye was supplied by Sigma-Aldrich (M) Sdn Bhd, Malaysia and used as received. MG has a chemical formula of C52H54N4O12, molecular weight of 927.00 g/mol and λ max = 618 nm. Stock solutions were prepared by dissolving accurately weighed samples of dye in deionized water.

Activated carbon preparation

Musk lime peel (LP) used as precursors for AC preparation was obtained from Lembaran, Café, Universiti Sains Malaysia. Malaysia. It was cleansed and rinsed thoroughly with distilled water. It was then dried to constant weight and stored in an air tight container for further use.

100 g of dried musk lime peel was ground into small pieces using an electric crusher and sieved using endecotte sieves to the desired particle size of 1–2 mm and loaded in a stainless steel vertical tubular reactor (l 140 mm, d 73 mm, i.d. 67 mm) placed in a tube furnace (l 480 mm, d 89 mm, i.d. 83 mm). The flow rate of nitrogen gas and the heating rate were held at 150 cm3/min and 10 °C/min, respectively. The temperature was ramped from room temperature to 850 °C and held for 1 h. Then, the reactor was cooled down to room temperature. The char produced was stored in an airtight container for further treatment. The char produced was then impregnated using KOH. The impregnation ratio (IR) was calculated using;

$$ {\text{IR}} = \frac{{w_{\text{KOH}} }}{{w_{\text{char}} }} $$
(1)

where w KOH is the dry weight (g) of potassium hydroxide pellet and w char is the dry weight (g) of char. The char and KOH powder (depending on the IR) were mixed together with deionized water in a 250 ml beaker. The mixture was allowed to dry in the oven at 105 °C for 12 h. The KOH impregnated char was placed inside the vertical tubular reactor for activation process. The system was purged under nitrogen flow of 150 cm3/min. The temperature was ramped from ambient temperature to the activation temperature of 850 °C at heating rate of 10 °C/min. Once the desired activation temperature was reached (850 °C), the gas flow was switched to carbon dioxide at flow rate of 150 cm3/min to complete the activation process. Then, the reactor was cooled to room temperature under nitrogen flow. The sample was washed with 0.1 M HCl. It was further washed with deionized water several times until the pH of the washing solution reached 6.5–7. The pH was measured using pH meter (Model Delta 320, Mettler Toledo, China). Filter paper and filter funnel were used in the washing process. The washed sample was kept in an oven at 105 °C for 12 h. The dried sample, which was the activated carbon (LPAC), was stored in airtight containers for optimization, adsorption and characterization studies. The LPAC yield was calculated using the equation:

$$ {\text{Yield\,(}}\,{\% } )\,{ = }\frac{{w_{\text{c}} }}{{w_{0} }}\, \times \,100 $$
(2)

where w c and w 0 are the dry weight of LPAC (g) and the dry weight of precursor (g), respectively.

Adsorption studies

For batch adsorption studies, 0.2 g of LPAC was mixed with 100 ml aqueous dye solution of 100 mg/L initial concentration in 20 sets of 250-ml Erlenmeyer flasks. The mixture was agitated at 120 rpm at 30 °C until equilibrium was reached. The concentration of MG dye solution was determined using a UV–visible spectrophotometer (UV-1800 Shimadzu, Japan) at a maximum wavelength of 618 nm. The percentage of dye removal at equilibrium was calculated using Eq. (3):

$$ {\text{Removal}}\,\left( \% \right) = \frac{{C_{0} - C_{\text{e}} }}{{C_{0} }}\,\, \times \,100 $$
(3)

where C o and C e are the liquid-phase dye concentrations at initial and equilibrium states (mg/L), respectively.

Characterization of LPAC

Fourier transform infrared (FTIR) spectroscopic analysis was performed (FTIR-2000, Perkin Elmer). The FTIR spectra give information about the characteristic functional groups on the surface of the sample. The spectra were measured from 4000 to 400 cm−1. The surface area, total pore volume, and average pore diameter of the samples were determined from the adsorption isotherms of nitrogen at 77 K using Autosorb I, supplied by Quantachrome Corporation, USA. Mesopore volume was calculated by subtracting total volume, obtained at a relative pressure of 0.99 from the micropore volume obtained from t-plot equation. The surface morphology of the sample was examined using scanning electron microscope (Model VPFESEM Supra 35VP). Proximate analysis (Wasewar et al. 2009) was carried out using thermo gravimetric analyzer (TGA) (Model Perkin Elmer TGA7, USA).

Experimental design using CCD

A standard response surface methodology (RSM) design known as central composite design (CCD) was used to study the parameter for AC preparation. In this work, three independent variables were studied for the AC preparation; they are: x 1, activation temperature (°C), x 2, activation time (h), and x 3, impregnation ratio (IR). The ranges and the levels of the variables investigated. Based on the ranges and the levels given, a complete design matrix of the experiments was employed as shown in Table 1. There are 8 factorial points, 6 axial points and 6 replicates at the center points, indicated by a total of 20 experiments for each precursor, as calculated from Eq. 4:

$$ N = { 2}^{n} + { 2}n + n = 2^{ 3} + { 2} \times 3+ 6= 20 $$
(4)
Table 1 Pore characteristics and surface area of samples

where N is the total number of experiments required and n is the number of variables. The center points were used to verify the reproducibility of the data and the experimental error. The variables were coded to the (−1, 1) interval where low and high level were coded as −1 and +1, respectively. The axial points are located at (±α, 0, 0) (0, ±α, 0) and (0, 0, ±α) where α is the distance of the axial point from center and makes the design rotatable. In this study, α value was fixed at 1.682 (rotatable). The two responses are MG removal (Y 1) and LPAC yield (Y 2). Each response was used to develop an empirical model which correlated the response to the variables using a second-degree polynomial equation as follow (Zainudin et al. 2005):

$$ Y = b_{0} + \mathop \sum \limits_{i = 1}^{n} b_{i} x_{i} + \left( {\mathop \sum \limits_{i = 1}^{n} b_{ii} x_{i} } \right)^{2} + \,\mathop \sum \limits_{i = 1}^{n - 1} \,\mathop \sum \limits_{j = i + 1}^{n} \,b_{ij} x_{i} x_{j} $$
(5)

where Y is the predicted response, b 0 the constant coefficient, b i the linear coefficients, b ij the interaction coefficients, b ii the quadratic coefficients and x i , x j are the coded values of the AC preparation variables. The coefficient with one factor represents the effect of particular factor, while the coefficient with two factors and those with second-order terms represent the interaction between two factors and quadratic effects. In order to strike a compromise between the responses, the function of desirability was applied by using Design Expert software version 7.1.5.1 (STAT-EASE Inc., Minneapolis, USA). The “prob > F” value of less than 0.05 indicates that the model is significant (Ahmad and Hameed 2010). It is desirable to indicate the influence of particular model terms that have significant effects on the response. Experimental conditions with the highest desirability were selected to be verified.

Result and discussion

Sample characterization

Pore characteristics, surface area, surface morphology, surface chemistry and proximate analysis were studied to characterize the LPAC sample.

Pore characteristics and surface area

The pore characteristics of the LPAC are given in Table 1 and consist of BET surface area, mesopores surface area, total pore volume and average pore diameter. As can be seen from the Table, surface area of the sample was found to increase significantly throughout the preparation of AC. LPAC has a relatively high BET surface area of 903.65 m2/g. The high BET surface area and total pore volumes were due to the activation process used, which involved both chemical and physical activating agents of KOH and CO2. Diffusion of KOH and CO2 molecules into the pores have increased the KOH-carbon and CO2-carbon reactions which then developed more pores in the LPAC. This result agrees with the study carried out on preparation of highly porous carbon from fir wood by KOH etching and CO2 gasification for adsorption of dyes and phenols from water (Wu and Tseng 2006; Li et al. 2008).

The average pore diameter for LPAC was 5.57 nm, which is categorized in mesopore region according to the IUPAC classification (IUPAC 1972). The significant increase in surface area was attributed to intercalation of potassium metal from intermediate reaction of KOH with carbon (Sudaryanto et al. 2006).

Surface morphology (SEM)

SEM was used to characterize the surface morphology of the sample as shown in Fig. 1a and b, respectively. No pore was detected in LP whereas large pores were clearly found on the surface of the LPAC compared to LP. The well-developed pores resulted in larger surface area and more porous structure of the LPAC which would further enhance the adsorption process (Bello et al. 2012a, b, c). LPAC micrographs illustrated heterogeneous pore distribution. High activation temperature and IR applied were believed to be responsible for pore development in LPAC. The C–KOH (activated carbon impregnated with KOH) reaction rate was increased during activation process, which resulting in increased carbon “burn-off” and porosity in samples. The C–KOH reaction also increased the porosity of the existing pore as well as creating new pores (Auta and Hameed 2011). Besides, the physiochemical treatment was able to produce porous AC thus increasing the surface area that will enhance the higher adsorption capacity. KOH treatment facilitates the widening of tobacco residue-based AC pores (TRAC). Raw tobacco residue was found to have very little porosity whereas the surface of TRAC was full of cavities (Kilic et al. 2011).

Fig. 1
figure 1

SEM micrographs of a LP (×3000) and b LPAC (×3000)

Surface chemistry

FTIR spectral assignments for LP, LP char and LPAC is shown in Fig. 2. The spectra revealed various functional groups detected on the surface of LPAC. Four significant bands were detected; they are OH stretching vibrations at bandwidth around 3500–3800 cm−1, C≡C stretching vibrations at 2340–2420 cm−1, C=C stretching vibration in aromatic ring at 1500–1650 cm−1 and = C–H stretching vibrations of alkane group around 2900–2920 cm−1. These bands indicate the possible involvements of these functional groups on the surface of LPAC in dye adsorption process (Sathishkumar et al. 2006). LP and LPAC surface chemistry were found to be different as some of the functional groups disappeared due to the activation process, which shows that these functional groups were thermally unstable. From Fig. 2, there is a decrease in the absorption band of aromatic group from LP to LPAC due to oxidative degradation of aromatic rings during chemical impregnation and heat treatment stages.

Fig. 2
figure 2figure 2

Surface chemistry of a LP b LP char and c LPAC

Proximate and ultimate analysis

Proximate analysis of LP samples are shown in Table 2. LP was found to be rich in moisture and volatile matter. It can be seen that the moisture and volatile matter content for both materials was sharply reduced from precursor to AC. During carbonization process, high temperature condition resulted in reduction in volatile matter and moisture content. Further reduction in volatile matter occurred during the activation step. Meanwhile, the fixed carbon increased drastically from raw material to AC for both samples. The same trend was observed in the carbon content in the ultimate analysis of LP. This was due to the heat supplied during carbonization process which initiated the thermal degradation process. The volatile substances inside could not maintain their stability at high temperature due to the breakage of bonds and linkages in the molecule (Bello et al. 2012a, b, c).

Table 2 Proximate and ultimate analyses of samples

Model fitting and statistical analysis

Design Expert Software version 7.1.5.1 (STAT-EASE Inc., Minneapolis, US) was used to analyze the experimental data.

Development of regression model equation of LPAC

Experimental design for preparing ACs from lime peel (LP) was studied. Response surface methodology (RSM) was used to design the experimental work. Three variables studied were; activation temperature (x 1), activation time (x 2) and KOH/char IR (x 3) with two responses; MG removal, Y 1 (%) and LPAC yield, Y 2 (%). These variables were chosen based on the literature and results obtained from the preliminary studies. Design Expert Software was used to analyze the experimental data. The models were selected based on the highest order polynomials where the additional terms were significant. From the data for dye removal in Table 3, quadratic model was generated by RSM as it was statistically significant for MG dye removal response (Y 1 ). Meanwhile, for LPAC yield (Y 2 ), two factor interaction (2FI) model was chosen. RSM generates empirical model in term of coded factors which reflects the interaction and significance of variables towards response. The coefficient with one factor stand for the effect of the particular factor only, whereas the coefficients with two factors and also with second-order term correspond to the interaction between two factors and quadratic effect, respectively. The final empirical formula models for the responses in terms of coded factors are represented by Eqs. 6 and 7, respectively.

Table 3 Matrix for LPAC preparation variables and responses

MG removal (Y 1 );

$$ Y_{1} = \, 94.13 \, + \, 4.53x_{1} + \, 0.57x_{2} + \, 5.92x_{3} {-} \, 0.52x_{1}^{2} - \, 1.20x_{2}^{2} - \, 0.32x_{3}^{2} - \, 3.51x_{1} \,x_{2} - \, 0.87x_{1} x_{3} - \, 4.07x_{2} x_{3} $$
(6)

LPAC yield (Y 2 );

$$ Y_{2} = \, 17.72 \, - \, 1.63x_{1} - \, 1.26x_{2} - \, 1.23x_{3} - \, 0.87x_{1} x_{2} + \, 0.067x_{1} x_{3} - \, 0.18x_{2} x_{3} $$
(7)

Correlation coefficient, R 2 value was important for validation of the model developed. The R 2 values for Eqs. 6 and 7 are 0.9839 and 0.8971, respectively. This indicates 98.39 and 89.71 % of the total variation in the MG dye and LPAC yield correlation between the experimental and predicted values, respectively. These high R 2 values indicate that the predicted responses were close to the experimental values and the models are suitable to correlate with the experiment data. Therefore, the R 2 shows good agreement between experimental data. These are shown in Figs. 3 and 4, respectively. Furthermore, low standard deviation values of 1.38 and 0.87 are obtained for the two models, respectively. The complete design matrix for preparing (LPAC) is given in Table 3. For the responses, the model coefficient was estimated using multiple regression analysis technique in RSM.

Fig. 3
figure 3

Predicted versus experimental MG dye removal of LPAC

Fig. 4
figure 4

Predicted versus experimental LPAC yield

The significance and adequacy of the models were justified through analysis of variance (ANOVA). The mean squares were obtained by dividing the sum of the squares of each of the variable sources, the model and the error variance, by the respective degree of freedom. Low value of Prob > F less than 0.05 indicates that result is not random and the term model has a significant effect to the response (Sahu et al. 2010). The ANOVA for the quadratic model of MG dye removal by LPAC is shown in Table 4. From the Table, model F value of 67.97 and value “Prob > F” of 0.0001, implies the model was significant. In this case, activation temperature (x 1), IR (x 3) as well as quadratic (x 2 1 , x 22 , x 23 ) factors and the interaction term of pyrolysis temperature and IR (x 1 x 3) were significant models. Whereas activation time (x 2) and the interaction terms of x 1 x 2, and x 2 x 3 were all insignificant to their responses.

Table 4 ANOVA analysis for MG dye removal using LPAC

The ANOVA for 2FI model for LPAC yield is shown in Table 5. From this Table, the model F value of 18.89 and Prob. > F of less than 0.0001 indicated that LPAC yield model was significant. The model term x 1 , x 2 , x 3 and x 1 x 2 were significant models whereas x 1 x 3 and x 2 x 3 were insignificant to the responses. Therefore, it can be concluded that the above models (Eqs. 6, 7) were adequate to predict the MG dye removal and the LPAC yield within the range of variables studied.

Table 5 ANOVA analysis for LPAC yield

MG dye removal using LPAC

The F value tabulated in Table 4 verified that x 3 imposed the most significant effect, followed by x 1 and x 2 on MG dye removal by LPAC. As seen in Table 4, interaction of activation temperature and IR, denoted by x 1 x 3 were profound than the interaction of x 1 x 2 and x 2 x 3 as it showed highest F value of 6.10. Figure 5 illustrate the three-dimensional response surface which shows the effects of the two significant variables (x 1 and x 3) where the x 2 was fixed at zero level (t = 2 h). It was observed that the maximum MG dye removal was achieved at the activation temperature range between 730 and 850 °C and IR 1.5–3.5 which is marked as red color in Fig. 5. The MG dye removal increased with increase of IR and activation temperature which explains that the interaction between the activation temperature and IR is prominent on MG dye adsorption. These results were in agreement with the study carried by Bello et al. (2012a) which used banana stalk to prepare AC; they found that the activation temperature and IR have significant effects on removal of malachite green dye.

Fig. 5
figure 5

Response surface plot of MG dye removal of LPAC (effect of activation temperature and impregnation ratio. Activation time = 2 h)

The increase in temperature promotes devolatilization rate resulting in significant effect to the pore structure of AC produced (Sudaryanto et al. 2006). An increase in temperature would increase the volatiles released as a result of intensification in dehydration and elimination reaction which would increase the C–KOH (activated carbon impregnated with KOH) and C–CO2 (activated carbon gasified with CO2) reaction rate. In fact, at higher temperature, the activation time should just be enough to eliminate all the moisture and volatile components for pores to develop. However, the MG dye removal increased after the temperature exceeded 850 °C due to the loss of the volatile materials at such temperature. A similar result was obtained in the optimization of preparation conditions for activated carbons from date stones using response surface methodology (Samar and Muthanna 2012). Furthermore, intercalation of potassium metal ion on the carbon sample at high temperatures enhanced the pore development of the LPAC. KOH is a dehydrating agent that penetrates deep into the structure of the carbon sample causing tiny pores to develop. This resulted in new pore development, thus enhancing the dye adsorption capacity of LPAC. The application of heat to an impregnated sample caused the CO2 and the metal complex to further gasify the carbon, leading to widening of micropore to mesopore (Wu and Tseng 2006). However, IR above 3.5 contributed to a drop in MG dye removal due to the reaction between KOH and carbon leading to presence of excess K2CO3 and metallic K blocking the pores of LPAC (El-Hendawy 2005).

Increase in activation temperature and activation time caused more pore to enlarge resulting in enhanced adsorption capacity. However, if it goes beyond the threshold required it causes undesirable characteristics of activated carbon produced (Lua and Yang 2004). The effect can be seen on Fig. 5 where at a very high or low activation temperature, the MG dye percent removal was about to decrease. The pore size instead of getting widened; becomes blocked, resulting in a decrease in adsorption capacity of LPAC. Vargas and co-workers stated that increase in temperature and time beyond the maximum range suggested by the software in the experimental design tends to decrease the surface area and mesopore volume. In their work, activation time gave the least significant effect towards MB dye removal (Vargas et al. 2011). In addition, Hameed et al. (2007) also asserted that the removal of dye from rattan sawdust AC decrease with increasing activation time.

LPAC yield

Activation temperature (x 1) was the most significant variable to LPAC yield as it showed F value of 48.60 and Prob > F is less than 0.001, followed by activation time (x 2) and IR (x 3) (Table 5). The interaction effect between activation temperature and activation time were considered to be the most compatible as it shows the highest F value of 8.08 with Prob > F of 0.0139. Figure 6 shows the three-dimensional response surface plot of LPAC yield comprising effect of activation temperature and activation time, while IR was kept at zero level (IR = 2.25) whereas Fig. 7 illustrate the effect of activation temperature and IR on the response, with activation time fixed at zero level (t = 2 h). Increase in activation temperature and activation time caused LPAC yield to decrease. As can be seen from Fig. 6, the highest yield was achieved when both variables were at maximum point. Meanwhile, increase in IR decreased the LPAC yield as shown in Fig. 7. The devolatilization, dehydration and elimination reaction of samples at high temperature significantly reduce LPAC yield. As temperature increased, the C–KOH and C–CO2 reaction were increased which leads to decrease in LPAC yield and increase in carbon “burn off” by KOH. This result was in agreement with the work on preparation and characterization of activated carbon from bamboo by microwave-induced phosphoric acid activation (Liu et al. 2010). The KOH impregnation of sample and high activation temperature lead to the breaking of C–O–C and C–C bonds, which result in low carbon yield. Samar and Muthanna also found out that as the three variables increased, the date stones yield decreased due to loss of volatile matters and also continuous removal of tar material from the pores, respectively (Samar and Muthanna 2012).

Fig. 6
figure 6

Response surface plot of LPAC yield (effect of activation temperature and activation time, IR = 2.25)

Fig. 7
figure 7

Response surface plot of LPAC yield (effect of activation temperature and IR, activation time = 2 h)

Optimization of operating parameters

The objective of the experimental design was to find the optimum preparation conditions so that the high AC’s yield with high dye removal can be achieved. However, these responses have different interest region of the factors. As the dye removal increases, the AC yield decreases and vice versa. Hence, two optimum operating conditions must be determined in each adsorbate. Table 5 showed the model validation for LPAC for dye removal, and AC yield. Optimized parameters were selected based on highest desirability. Optimum condition selected was verified by experimental. Design Expert Software version 7.1.5.1 (STAT-EASE Inc., Minneapolis, USA). It was used to optimize the parameters where the targets were set at maximum values, while the values of variables were set in range under study.

Table 6 shows model validation for MG dye removal by LPAC. The predicted and experimental values for the two responses for each activated AC derived are also presented in the same Table. The optimum conditions of MG dye removal by LPAC was achieved at activation temperature, activation time and IR of 796 °C, 1.0 h and 2.6, respectively. The MG dye percent removal obtained was 94.68 % resulting in 17.88 % LPAC yield. Model desirability approaching unity and with low error value portrays the applicability of the model towards the responses. From the table, relatively small errors less than 0.5 and 6 4.0 % were obtained for the predicted and the actual values, respectively, indicating that the models are suitable and sufficient to predict the responses. The optimized LPAC samples prepared were further characterized to understand their physical and chemical characteristics.

Table 6 Model validation for LPAC prepared for MG dye removal

Conclusion

The activating agent used for impregnation enhances the surface morphology of LPAC. The quadratic and two factor interaction (2FI) models developed for process optimization and statistical experimental designs were found to be useful for predicting and understanding the interactive effects between process parameters. The optimum conditions of MG dye removal by LPAC are: activation temperature (796 °C), activation time (1.0 h) and impregnation ratio (2.6), respectively. The percentage of MG dye removal obtained was 94.68 % resulting in 17.88 % LPAC yield. The percentage of error between predicted and experimental results for the removal of MG dye is 0.4 % showing that the experimental results were in good agreement with that predicted from model.