1 Introduction

Water pollution due to an effluent dye is identified as one of the most primary hazards that is produced by wastes of cosmetics, dye manufacturing industries, food processing, leather, and textile industries due to its characteristics [1,2,3]. Methylene blue (MB), the most common effluent found in the textile industry, is classified as a basic dye material which is widely used for dyeing of cotton, silk, and wool. Although MB is not classified as hazardous as a heavy metal pollutant, it can lead to harmful effects on human health and microorganisms due to constant exposure to an excessive quantity of this dye [4, 5].

Various methods are used to remove pollutants from wastewater, such as biological, chemical, and physical (including adsorption) purification processes [6,7,8]. Adsorption is the most frequently used method for the treatment of wastewater by using activated carbon [9]. Adsorption performance and capacity of the activated carbon (AC) are generally obtained from equilibrium adsorption isotherm studies. Adsorption isotherms describe the equilibrium relationships between the adsorbate and the adsorbent [10]. The regularly used isotherm models by numerous researchers for the adsorption are Langmuir, Freundlich, Temkin, BET, Redlich-Peterson, and Dubinin–Radushkevich isotherms, etc.

The best-fit adsorption isotherm can be found using linear regression by the method of least-squares. It is the most commonly used method for predicting the optimum isotherm [11, 12]. The difference between the model predicted values and the experimental equilibrium data is minimized by using various types of error functions [13]. The best-fit isotherm model for adsorption is selected based on the highest value of the coefficient of determination and the least value of the other error functions.

1.1 Error functions

In the present study, the coefficient of determination and five distinct kinds of error functions performed a very significant role in determining the optimum isotherm model and enhancing the optimization procedure for given experimental data (Table 1) [14,15,16,17].

Table 1 Error functions and their corresponding equations

where qe, exp and qe, cal are the experimental and calculated values of the equilibrium adsorbate concentration in the solid phase (mg/g), respectively. \( \overline{q_{e, cal}} \) is the mean of the all calculated (qe, cal) values, and n and p are the number of data points and parameters in the isotherm model, respectively.

Most of the adsorption isotherms proposed in the literature were non-linear models. Linearization of non-linear models to estimate the model parameter(s) may alter the error distribution. Some of the researchers have studied the comparison of linear and non-linear isotherm models for the estimation of model parameters [18,19,20,21].

In the present study, an abundantly available biomass waste was used as the raw material for the production of novel ACs. To study the effect of adsorptive properties of the ACs, impregnation ratio and carbonization temperature were varied. Three linear and non-linear isotherm models were analyzed to obtain the optimum isotherm and isotherm parameters for the adsorption of MB onto various ACs derived from the banana root. The adsorption equilibrium studies were conducted for different initial MB concentrations at three different temperatures of 25, 30, and 40 °C.

2 Materials and methods

2.1 Materials

The banana root (Musa acuminata) was obtained from the local farming field from Andhra Pradesh, India. The raw material was manually selected, cleaned with distilled water several times, cut into small pieces, dried at 105 °C for 24 h, and was ground thereafter using a household mixer-grinder. The ground material was screened, and the material in the particle size range of 300–425 μm was collected and stored in zip-lock plastic bags. The physical and chemical characterization of this ground raw material was carried out. All the chemicals used in the present study were of analytical grade and purchased from Merck Life Science Private Limited, India.

2.2 Preparation of activated carbons

The ground raw material was chemically activated by using zinc chloride (95% (wt.)). The weight ratio of raw material to that of zinc chloride (impregnation ratio) was varied from 1:1 to 1:4, and the corresponding amounts of zinc chloride per 10 g of raw material were 10.53, 21.05, 31.58, and 42.1 g, respectively. The raw material and zinc chloride were mixed in 300 ml of doubled distilled water, and the solution was stirred at 450 rpm, at 85 °C for 6 h. The slurry was then filtered, and the solid residue was collected and dried at 105 °C for 24 h in an electric hot air oven. The impregnated solid was placed in an alumina crucible with a lid and kept inside the electric tubular furnace. The solid was heated to a final selected temperature ranging from 400 to 600 °C with a heating rate of 10 °C/min, and the final temperature attained was maintained for 1 h under inert (nitrogen flow) atmosphere. The solid was then allowed to cool down to room temperature. The prepared activated carbon was washed extensively with double distilled water and dried in an electric hot air oven at 105 °C until such time that the weight of the dried sample became constant. The dried sample was stored in a zip-lock plastic bag. The activated carbon (AC) samples prepared under various experimental conditions were labeled, as shown in Table 2.

Table 2 Nomenclature of ACs from the banana root (BR) activated with zinc chloride

2.3 Characterization

The proximate analysis, which includes estimation of moisture content, volatile matter, ash, and fixed carbon content, was carried out by using thermogravimetric analyzer (Eltra Thermostep). The ultimate analysis, which includes the evaluation of carbon, nitrogen, hydrogen, and sulfur content as weight percent, was performed by using the CHNS analyzer (Vario Micro cube, Elementar). The surface area was measured by the BET surface area analyzer (Micromeritics, model ASAP 2020). The surface morphology/microstructures of the raw material and the ACs were examined using field emission scanning electron microscopy (FE-SEM Supra 55, Carl Zeiss). Identification and characterization of functional groups were made by using FTIR (Cary 660, Agilent Technologies).

2.4 Batch adsorption studies

A stock solution of methylene blue (MB) 1.0 g/L (1000 ppm) was prepared by dissolving 1 g of MB in double distilled water in a standard volumetric flask. Equilibrium adsorption experiments were performed by taking 100 ml of MB solutions in 250-ml conical flasks with various initial concentrations (20–200 mg/L) and at the natural pH of the solutions. A quantity of 0.1 g of AC was added to each flask and maintained at different constant temperatures (25 °C, 30 °C, and 40 °C) in an orbital incubator shaker at 150 rpm. The experiments were carried out for 24 h to guarantee that the equilibrium was attained. All samples were filtered before analysis, and the concentration of the samples before and after adsorption was determined using a UV–vis spectrophotometer (Thermo Fisher Evolution™ 300) at its maximum wavelength (λ) of 664 nm. Similar sets of experiments were repeated at the temperatures of 30 °C and 40 °C. Duplicate experiments were performed, and only the average values are reported. The amount of MB adsorbed onto activated carbon, qe (mg/g), was calculated by the following equation.

$$ {q}_e=\frac{\left({C}_o-{C}_e\right)V}{W} $$
(1)

where Co and Ce (mg/L) are the initial and equilibrium MB concentrations in the liquid phase, respectively, V (L) is the volume of the solution, and W (g) is the mass of dry adsorbent added.

For batch kinetic studies, 0.2 g of prepared AC was contacted with 200 ml of MB solutions of initial concentrations, 50, 100, 150, and 200 mg/L, for 12 h contact time and a temperature of 30 °C was employed. A similar set of experiments was conducted at a different temperature of 40 °C. The samples taken at regular time intervals were analyzed for MB concentration, as mentioned earlier. Using these concentration data, the amount of MB adsorbed at any time, qt (mg/g), was calculated by the following equation.

$$ {q}_t=\frac{\left({C}_o-{C}_t\right)V}{W} $$
(2)

where Ct (mg/L) is the MB concentration at any time “t.”

2.5 Adsorption isotherm models

The current study identifies the isotherm parameters based on the maximum value of the coefficient of determination and minimum value of error function to estimate the best-fit equilibrium isotherm model for the single solute system. The isotherm models such as Freundlich, Langmuir, and Temkin were investigated in the linear and non-linear forms to describe the equilibrium characteristics of MB adsorption onto prepared activated carbons (Table 3).

Table 3 Linear and non-linear forms of isotherm models [21]

2.6 Kinetic models

For adsorption kinetic study, the concentration of the MB in the solution as a function of time was investigated using the Lagergren pseudo-first-order model (Eq. 3) [22] and Ho’s pseudo-second-order model (Eq. 4) [23].

$$ q={q}_e\left(1-{e}^{-{k}_1t}\right) $$
(3)
$$ q=\frac{q_e^2{k}_2t}{1+{q}_e{k}_2t} $$
(4)

where qe is adsorption capacity at equilibrium (mg/g), q is the amount of MB adsorbed (mg/g) at time t, k1 is the rate constant of pseudo-first-order sorption (1/min), and k2 is the rate constant of pseudo-second-order sorption (g/mg min).

3 Results and discussion

3.1 Characterization of the raw material and the prepared activated carbons

The proximate and ultimate analyses of the banana root and the prepared ACs are shown in Tables 4 and 5, respectively. The results show that the raw material has a high volatile matter and low ash content, thus making it a good starting material for the preparation of activated carbon [24]. The fixed carbon content of the prepared ACs is very high compared with that of the raw material.

Table 4 Proximate analysis of the raw material and prepared ACs
Table 5 Ultimate analysis of the raw material and ACs

The carbon content of the prepared ACs increases with an increase in the carbonization temperature from 400 to 600 °C due to an increasing degree of aromaticity [25]. The weight percentages of hydrogen, nitrogen, and oxygen of the prepared ACs decreased in comparison with the values for the raw material due to the decomposition of banana root (BR) as volatile compounds during the activation and carbonization processes.

The total BET surface area of the raw material and a few prepared ACs is shown in Table 6. The surface area of the raw material is shallow; however, it increased for the prepared ACs due to chemical activation and carbonization of the raw material. The raw material is having a surface area of 4 m2/g, while for the AC, the maximum surface area obtained was 903 m2/g. The surface area of the prepared ACs increased with an increase in the carbonization temperature. The increase in surface area is due to the escape of the volatile matter from the core of the material and an increase in the aromaticity.

Table 6 BET surface area of the raw BR and a few ACs

Field emission scanning electron microscopy (FE-SEM) helps in the direct observation of the surface microstructures of the raw material and the prepared ACs. Figures 1 and 2 show the FE-SEM images of the banana root and the ACs developed under different conditions, as mentioned earlier, respectively. It could be observed that the surface of raw material was quite dense without any pores.

Fig. 1
figure 1

FE-SEM images of the banana root (magnification: 1.00 KX and 5.00 KX)

Fig. 2
figure 2figure 2

FE-SEM images of ACs at different conditions. ad At 600 °C, eh at 500 °C, il at 400 °C (magnification: ah: 5.00 KX and il: 1.00 KX)

There are substantial modifications in the surface morphology of the banana root and the prepared ACs. After chemical activation and carbonization, the compact structure of the raw material turned to be porous. The pores on the activated carbons are due to the release of volatiles and the reaction between carbon and the chemical activating agent, resulting in the higher BET surface area of the ACs.

The FTIR spectra of the BR and some of the prepared ACs are shown in Fig. 3 and recorded within the range of 4000–400 cm−1. Various functional groups present on the raw material and the prepared ACs present were hydroxyl, carboxylic, carbonyl, and phenol. The wavenumbers corresponding to different functional groups that were present in the materials are listed in Table 7.

Fig. 3
figure 3

FTIR spectra of the BR and a few prepared ACs

Table 7 Functional groups and corresponding wavenumbers

The presence of a hydroxyl functional group (O − H) results in the raw material a broad peak between 3000 and 3900 wavenumber. It was attributed to an associated O–H stretching vibration in cellulose, hemicellulose, lignin, or adsorbed water. After the activation of the raw material, the broad peak was significantly reduced, indicating hydroxyl dehydration or evaporation of adsorbed water during the carbonization process [32]. The presence of these negatively charged functional groups listed in Table 7 in the prepared activated carbons makes them better adsorbents for the removal of cationic dyes.

3.2 Adsorption isotherms

An adsorption isotherm describes how solutes interact with the adsorbents. Equilibrium experimental data of adsorption of MB on the prepared ACs subjected to the linear and non-linear isotherm model-based regression analyses are shown in Figs. 4 and 5, respectively.

Fig. 4
figure 4

Linear adsorption isotherms of ACs prepared at 600 °C

Fig. 5
figure 5figure 5

Experimental data and non-linear isotherms at different adsorption temperatures of ACs prepared at 600 °C

Figure 4 shows the linear isotherm plots for MB adsorption on the prepared activated carbons at three different temperatures 25 °C, 30 °C, and 40 °C obtained using the Origin Pro 9.1 software. The Langmuir’s parameters Q0 and KL can be determined by plotting graph between Ce/qe vs. Ce. Similarly, the Freundlich parameters KF and 1/n are determined by plotting of lnqe vs. lnCe and graph between qe vs. lnCe helps to calculate the Temkin parameters bT and KT. In Tables 8 and 9, linear adsorption isotherm parameters and values of the corresponding mentioned error functions are listed, respectively. From Table 8, it is evident that the linear Langmuir model best fitted with the experimental data as the R2 values are higher in comparison with the other models. However, the predicted values of the linear Langmuir model are inconsistent with the experimental data at lower concentrations. From Table 9, it can be observed that the values of the error functions are higher for the linear Langmuir model in comparison with the other two models. So, from Table 9, the Temkin isotherm model was the optimum isotherm, followed by Freundlich and Langmuir isotherm for the linear method to describe the adsorption of MB on the prepared ACs.

Table 8 Adsorption isotherm parameters obtained by linear regression analysis
Table 9 Error functions obtained by the linear regression method

The plots of Ce vs. qe for different non-linear isotherm models with the experimental data were presented in Fig. 5. The parameters for various non-linear isotherms and values of the error functions were shown in Tables 10 and 11, respectively. The coefficient of determination (R2) was used to assess the model’s fitting with experimental data. As can be seen from Tables 10 and 11, the Temkin isotherm model is the most consistent with the experimental data, which is followed by Freundlich and Langmuir isotherm models based on the minimum value of the SSE and higher coefficient of determination. In both linear and non-linear forms, the Temkin model best fitted with the experimental data, followed by Freundlich and Langmuir.

Table 10 Adsorption isotherm parameters obtained by non-linear regression analysis
Table 11 Error functions obtained by non-linear regression method

It can be observed from Fig. 5 that, at a low concentration of the adsorbate, a sudden increase in the adsorption, this means that the adsorbate has a high affinity to the adsorbent. At a higher concentration of the adsorbate, the amount adsorbed per unit mass of the adsorbent increases slightly and becomes almost constant afterward. The adsorption capacity of adsorbents increased with an increase in carbonization temperature from 400 to 600 °C, at any batch adsorption temperature. The high surface area of the prepared ACs makes them better adsorbents in the adsorption process. With an increase in the batch adsorption temperature, the adsorption also increased. The increase in temperature might increase the mobility of the dye particles; thereby, the interaction between the adsorbate and the active spots present on the adsorbent surface could upsurge, and also the adsorbent particle might swell with an increase in temperature [33]. Also, the adsorption capacity of the adsorbent was found to increase with an increase in the impregnation ratio. This might be due to the multilayer adsorption of methylene blue molecules onto the porous structure of the ACs. Similar trends were obtained in the fitting of the equilibrium data of adsorption of MB onto prepared ACs at carbonization temperatures of 500 °C and 400 °C, also, at the batch adsorption temperatures of 25 °C, 30 °C, and 40 °C.

The maximum adsorption capacity of the prepared ACs was found to be 139 mg/g, 142 mg/g, and 165 mg/g, respectively, at adsorption temperature of 25 °C, 30 °C, and 40 °C, for an initial MB concentration of 200 mg/L. Adsorption capacities for the removal of MB using the prepared ACs from different resources reported in the literature were compared with the present work in Table 12. The MB removal adsorption capacities of the ACs developed in this work are substantial in comparison with others.

Table 12 Maximum adsorption capacities of MB adsorbed by various adsorbents

3.3 Assessment of linear and non-linear methods

As shown from the previous tables, various isotherm parameters are obtained by different linear and non-linear models. On comparing, it was found that the values of isotherm parameters (KF, n) acquired by the linear methods are nearer to those obtained by the non-linear method for the Freundlich model. But in the case of the Langmuir model, the values of isotherm parameters (Q0, KL) acquired by the linear method are different from those obtained by the non-linear method. There is no difference in the value of isotherm parameters (KT, bT) acquired by the linear and non-linear method for the Temkin model because of its equation structure. In both linear and non-linear forms, the Temkin model best fitted with the experimental data, followed by Freundlich and Langmuir. The magnitudes of error functions in the non-linear model are lower than the linear model, which indicates that the non-linear method is the more appropriate method for the evaluation of adsorption isotherm parameters.

3.4 Kinetic studies

Four different initial concentrations of adsorbate, ranging from 50 to 200 mg/L with a difference of 50 mg/L, were taken for adsorption kinetic experiments. The non-linear pseudo-first-order and pseudo-second-order kinetic models were used to fit the adsorption kinetic experimental data. Experimental data at adsorption temperature of 30 °C and 40 °C and non-linear model-based curve fitting are shown in Figs. 6 and 7, respectively. Typical kinetic curves were observed, where a fast rate of adsorption was observed until 300 min, and after that, the rate of adsorption decreased; the kinetic equilibrium was attained at around 800 min. With an increase in contact time, the active sites available for adsorption decreased. The kinetic profile indicated that the adsorbate molecules progressively occupied the adsorbent surface. As the temperature was increased, the adsorption capacity increased, indicating that the adsorption was an endothermic process. The adsorption kinetic parameters are listed in Tables 13 and 14 for the adsorption temperature of 30 °C and 40 °C, respectively. It can be observed that R2 values of pseudo-first-order and pseudo-second-order models were close to unity. However, the pseudo-first-order model predicted data was closer to the experimental data and thus was more suitable for describing the adsorption kinetic process of the present study.

Fig. 6
figure 6

Experimental data and adsorption kinetics of MB onto activated carbons at 30 °C

Fig. 7
figure 7

Experimental data and adsorption kinetics of MB onto activated carbons at 40 °C

Table 13 Kinetic model parameters for the adsorption of MB on activated carbons at 30 °C
Table 14 Kinetic model parameters for the adsorption of MB on activated carbons at 40 °C

4 Conclusions

In this study, the banana root was used as the raw material, and zinc chloride was used as the chemical activation agent to derive ACs from biomass inexpensively. The precursor and all the prepared ACs have been characterized. Proximate and ultimate analyses were reported. The surface area, surface morphology, and different functional groups present were also reported. A maximum surface area of 903 m2/g was observed for one of the prepared ACs. The prepared ACs were satisfactorily applied to the adsorption of MB in an aqueous solution. The amount of MB adsorbed increased with increased adsorption temperature, in agreement with an endothermic process. The adsorption capacity of the adsorbents increased with an increase in both impregnation ratio and carbonization temperature. The adsorption equilibrium data were fitted using linear and non-linear forms of isotherms, namely Langmuir, Freundlich, and Temkin models. Six different error functions were used to get the optimum isotherm and isotherm parameters. In comparison with the linear method, the non-linear method has a higher coefficient of determination and lower values of other error functions. The Temkin model was best suited to the experimental data.

In conclusion, the non-linear approach is a better way to estimate precisely the isotherm parameters. Non-linear pseudo-first-order and pseudo-second-order kinetic models were fitted to the experimental kinetic data. The pseudo-first-order model was found to be more suitable to describe the kinetic process.