Introduction

An increase in population has resulted in rapid increase in industrialization, which creates room for more generation of effluent and domestic wastewaters into the aquatic ecosystem (Adewuyi and Pereira 2017; Azari et al. 2017; Aguilar et al. 2019). These wastewaters contains heavy metals such as cadmium, zinc, lead, chromium, nickel, arsenic and copper which are generated from electroplating, pulp and paper manufacturing, mining operation, ceramics industry, textile, acid battery production process, pharmaceutical and printing (Siva kiran et al. 2017; Safinejad et al. 2017). These heavy metals enter the plants, animals and human bodies through food chain which affects their health and functional activity (Safinejad et al. 2017; Yao et al. 2016; Schullehner et al. 2017). Among these metals, Pb(II) ion due to its toxicity and suspected carcinogenicity is hazardous to the aquatic ecosystem and poses possible human health risk. Lead ion is seen as a long-standing environmental contaminant which is highly toxic and hazardous to the aquatic ecosystem and poses possible human health risk. Due to the harmful effect of lead on human health and environment, World Health Organization (WHO) has already imposed strict law on the maximum permissible concentration for lead in drinking water as 0.05 mg/L (Uzun and Debik 2019).

Various methods for the removal of these heavy metals from industrial wastewater have been developed such as electrochemical treatment (Kobya et al. 2016), coagulation/flocculation (Luo et al. 2017; Gaikar et al. 2016; Sen et al. 2017), adsorption (Berber-Villamar et al. 2018; Wang et al. 2016a, b), ion exchange processes (Yang et al. 2015; Ansari et al. 2017), solvent extraction (Lam et al. 2018) and membrane filtration (Samadder et al. 2017; Aravind et al. 2018). Among all the stated techniques, adsorption process appears to be the alternative method due to its excellent removal capacity, convenience, economic cost and simplicity (Lalchhingpuii et al. 2017; Okoye et al. 2018; Lu et al. 2018; Lowe et al. 2015). Several adsorbents can be used to treat wastewater, namely commercial activated carbon, silica gel, zeolite and activated alumina, but they are very expensive. For this reason, the use of low-cost adsorbents derived mainly from agricultural materials has attracted wide attention in recent years, due to the presence of certain functional groups such as hydroxyl, carboxyl, amino, ester carbonyl and phosphor (Aravind et al. 2015). Biosorption is one of the recent technologies applied for the removal of heavy metals from an aqueous solution, because of its wide range of target pollutants, high sorption capacity, eco-friendly and low operating cost. This method has been studied by several researches as an alternative to commercial methods for heavy metal removal from wastewaters (Ma et al. 2014; Alqadami et al. 2017; Shojaeimehr et al. 2014; Ashrafi et al. 2017; Sarvani et al. 2018). The major advantages of biosorption technology are its effectiveness in reducing the concentration of heavy metal ions to very low levels and the use of inexpensive biosorbent materials (Miyah et al. 2017; Satayeva et al. 2018; Fan and Zhang 2018; Gouran-Orimi et al. 2018; El Hanache et al.2019). The adsorptive properties of any activated carbon are highly dependent upon active surface sites including functional groups, specific surface area, iodine number and modifications. The removal capabilities of these biosorbents can generally be improved through physical or chemical modification (Kyzas et al. 2015; Chen et al. 2016a, b).

The main objective of the present study is to prepare biosorbent from two agricultural wastes [Africa elemi seed (Canarium schweinfurthii) and mucuna shell (Mucuna pruriens)] and one animal waste material [oyster shell (Crassostrea virginica)] and to explore their potential for the removal Pb(II) from an aqueous solution. The three biosorbents used in this study were examined using one factor at a time (OFAT) for the Pb(II) removal efficiency in order to determine the range of values of process parameters, with an idea to optimize the parameters and to understand the interaction between the factors impacting overall adsorption efficiency using response surface methodology (RSM). The removal efficiency may be developed by optimizing these factors (Gadekar and Ahammed 2019; Archin et al. 2019). RSM is applied as a statistical tool to optimize and study the interaction. Therefore, the RSM-BBD is carried out to evaluate the relationship, and interactions of the factors involve the following steps:

  • Design of the experiment: three-level designs such as the Box–Behnken design (BBD).

  • Regression and statistical analysis: developing models and graphical representation of the response surface (3D, contour plots).

  • Optimization of the variables using the response model to achieve the desirable target.

  • The use of the analysis of variance to check the validity of the models by comparing the predicted model and the experimental values.

Materials and methods

Collection and preparation of materials

Africa elemi seeds (AES), mucuna shell (MS) and oyster shell (OS) were collected from local markets. The materials were ground, washed with 0.5% HCl to remove dirt and dried in an oven at 105 °C. It is then carbonized in a furnace at 500 °C for 2 h. The char produced from each material was then impregnated with orthophosphoric acid, and the ratio was calculated using:

$$ {\text{IR}} = \frac{{W_{{{\text{H}}_{3} {\text{PO}}_{4} }} }}{{W_{\text{sample}} }} $$
(1)

where \( {\text{W}}_{{{\text{H}}_{3} {\text{PO}}_{4} }} \) is dry weight (g) of orthophosphoric acid pellet and \( W_{\text{sample}} \) is dry weight (g) of char. Then, the impregnated samples were dehydrated in an oven at 110 °C and activated in muffled furnace of 450 °C for 1 h. The activated samples were soaked in deionized water several times for half an hour with constant stirring after cooling, washed until pH of each sample filtrate reached (6–8). The sample was dried in an oven at 105 °C and stored in airtight container for further characterization and adsorption studies.

Preparation of Pb(II) stock solution

Stock solution of Pb(II) (1000 mg L−1) was prepared by dissolving required amount of Pb(II) nitrate [Pb(No3)2, Sigma-Aldrich] in double-distilled water. Different concentrations of Pb(II) ion for experimental purposes were prepared by diluting the stock solution with suitable volume of double-distilled water. The initial pH of Pb(II) solution was adjusted using sodium hydroxide (NaOH, Merk) or hydrochloric acid (HCl, Merk) solution using a digital pH meter (ELICO).

Characterization of the adsorbent

Point of zero charge (pHzpc)

The point of zero charge is the pH at which the surface of adsorbent has zero net charge (neutral). This can be used to determine the surface charge of an adsorbent at different pH values. Experiments were conducted by preparing 0.01 M KNO3 solution. The solution pH (pH0) was adjusted from 2 to10 with 0.1 M HCl or 0.1 M NaOH. The biosorbents (20 mg) were added to 100 ml of the pH-adjusted solution in an Erlenmeyer flask and agitated with magnetic shaker for 48 h at room temperature. The final pH (pHf) value of supernatant was measured and plotted against the initial pH. The pH at which the curve cuts the initial (pHO) was taken as the point of zero charge (pHPZC).

BET analysis

The Brunauer–Emmett–Teller (BET) surface area, pore volume and pore size of the biosorbent were measured using a pore size micrometric (9320 model, USA). A gas mixture of 22.9 mol% nitrogen and 77.1 mol% helium was used for the purpose.

Scanning electron microscope (SEM)

The surface morphology of the biosorbents was examined before and after adsorption using scanning electron microscopic SEM (SHIMADZU SS 500).

Infrared spectroscopy

The surface functional groups of the biosorbent were determined using Fourier transform infrared spectrometer (Prestige 21, Shimadzu) within a range 400–4000 cm−1. In order to identify the main functional groups involved in each process, the Fourier transform infrared (FTIR) spectroscopy was used, thus recording the infrared spectrum before and after the adsorption test in the batch system.

X-ray diffraction (XRD)

The structure of modified biosorbent was analyzed by X-ray diffraction (XRD-6000 Shimadzu) pattern of the biosorbent and was recorded in the range 2 \( \theta = 3 \) at 70 °C.

Batch adsorption experiments

In order to optimize the experimental conditions and to collect data for modeling the study, batch experiment were carried out in 250-ml Erlenmeyer flasks with 20 mg of the biosorbents in 100 ml aqueous solution of Pb(II) ions at 150 rpm at different concentrations (20–100 mg/L) for equilibrium time of 40 min. The mixtures were agitated using a thermostatic mechanical shaker (HAAKE SWB20, Germany). Various pH values of the solution for the experiment were determined using 0.1 mol/L HCl or 0.1 mol/L NaOH using pH meter (Electronics, Model 101E). Each experiment was conducted in triplicate, and mean values of data were reported. At the end of each experiment, the mixture was centrifuged for 5 min at 4500 rpm to separate the adsorbent from the solution, and the filtrate was analyzed to determine the remaining concentration of Pb(II) ions using UV–visible spectrophotometer (UV-1650A, Shimadzu Japan) at \( \lambda_{ \hbox{max} } \). 560 nm. The quantity of Pb(II) ions adsorbed per gram of the biosorbent at equilibrium, \( q_{\text{e}} \;\left( {{\text{mg}}\;{\text{g}}^{ - 1} } \right) \), is given as:

$$ q_{\text{e}} = \frac{{\left( {C_{\text{o}} - C_{\text{e}} } \right)V}}{m} $$
(2)

where \( C_{\text{o}} \;{\text{and}}\; C_{\text{e}} \) are the initial and equilibrium concentrations of Pb(II) ions in the solution (mg L−1), respectively, V is the volume of Pb(II) solution (L) and m is the mass of the biosorbent (g).

The efficiency was calculated as follows:

$$ R\left( \% \right) = \frac{{\left( {C_{\text{o}} - C_{\text{e}} } \right) \times 100}}{{C_{\text{o}} }} $$
(3)

where \( C_{\text{o}} \;{\text{and}}\;C_{\text{e}} \) are the initial and equilibrium concentrations of Pb(II) ions in the solution (mg L−1), respectively.

Box–Behnken design of experiment

The experimental design for optimization of Pb(II) adsorption onto mucuna seed activated biosorbent (MSA), African elemi seed activated biosorbent (AESA) and oyster shell activated biosorbent (OSA) was done by applying response surface methodology (RSM) through Box-Behnken design. The design which consisted of three levels (low, medium and high coded as − 1, 0 and + 1) was used to optimize the level of chosen variables, that is, adsorbent dosage, pH and contact time. Three independent variables X1, X2 and X3 were applied for statistical calculation with the following mathematical representation:

$$ x_{i} = \frac{{X_{i} - X_{o} }}{{\Delta X_{i} }} $$
(4)

where \( x_{i} \) is the coded value of an independent variables, \( X_{i} \;{\text{and}}\;X_{o} \) are values of an independent variables and \( \Delta X_{i} \) is the step change value (Damena and Alansi 2018).

In this study, the experimental design and response surface methodology (RSM) were employed using Design Expert software version 9.0.6., USA. The experimental parameters and their levels are presented in Table 1. The range of values of each parameter was obtained from one factor at a time experiments (OFAT) earlier conducted (results not reported). RSM is used to construct a second-order polynomial for assessing the response as a function of independent variables and their interactions as follows:

Table 1 Independence factors and their coded values

The response model may be represented as:

$$ Y = \beta_{o} + \mathop \sum \limits_{i = 1}^{k} \beta_{i} X_{i} + \mathop \sum \limits_{i = 1}^{k} \beta_{ii} X_{i}^{2} + \sum \mathop \sum \limits_{i < j} \beta_{ij} X_{i} X_{j} $$
(5)

where Y is the response variables to be modeled, \( X_{i } \;{\text{and }}\;X_{j} \;{\text{are}} \) the independent variables, and \( \beta_{o} ,\beta_{i} ,\beta_{ii} \;{\text{and}}\;\beta_{ij} \) are regression coefficients for intercept, linear, quadratic and interaction coefficient, respectively (Jadhav and Mahajan 2013).

Results and discussion

Point of zero charge

The point of zero charge of the adsorbents was determined using salt addition method (Mahmood et al. 2011), to investigate the surface behavior of adsorbent and the influence of pH in an adsorption process. From the results obtained, the pH(PZC) of Pb-MSA, Pb-AESA and Pb-OSA system is shown to be pH 8.1, 6.6 and 5.6, respectively (Fig. 1). If the pH of the surroundings were below pH(PZC), the surface of the absorbent was positively charged, and then, the adsorption would be difficult due to charge repulsion (Gu et al. 2018). The Pb(II) ions are found in this form in the acidic conditions with pH values below 6.5, when the soluble species are governed by Pb2+ and Pb(OH)+, and as Pb(OH)2 form when the pH > 6.5 (Tu et al. 2017). At low pH values, there is a competition between Pb(II) ions and the concentration of H+ ions presented in solution. With increasing pH, fewer hydrogen proton are present in solution, so more binding sites are released, resulting in the increase in the adsorption of Pb(II) on the binding site. This indicates that below this pH, the activated carbon acquires positive charge due to protonation of functional groups which results in electrostatic attraction between Pb(II) anions, whereas above this pH, a negative charge exists on the surface of MSA, AESA and OSA. Hence, the adsorption of anionic Pb(II) is favored at pH less than pH(PZC) where the surface of adsorbent becomes positively charge (Chen et al. 2016a, b; Ranote et al. 2019; Osasona et al. 2015). Thus, similar result has been reported (Yin et al. 2018).

Fig. 1
figure 1

Point of zero charge for acid-treated adsorbent

FTIR spectra analysis

The FTIR technique is an important tool used to identify the characteristic functional groups on the surface of the biosorbent (Ghaedi et al. 2014). The spectra of the biosorbents were measured within the range of 500–4000 cm−1 wave number. Figures 2, 3 and 4 demonstrate the results of FTIR spectra of MSA, AESA and OSA before adsorption of Pb(II). The FTIR spectra display a number of peaks pertaining to different functional groups, which reflects the complex nature of the biomass. The broad and intense peaks at 3937.74–3544.56 cm−1 in MSA-Pb, AESA-Pb and OSA-Pb are due to the stretching of the N–H bond of amino groups and indicative of bonded hydroxyl group involved in the reaction (Wang et al. 2016a; Dil et al. 2017; Zeng et al. 2015). The peaks at 2868.29 cm−1 is assign to aldehyde group of –O–CH3, while the bend at 2064.51 cm−1 is attributed to vibration in the alkyn group (Song and Li 2019). The peaks at 1853.59 and 1757.15 cm−1 are assigned to O–H, H bonded H stretch, carbonyl stretching of aldehyde (Dil et al. 2017; Wang et al. 2016a). The C=C stretch of aromatic alkene or N–H group of amino acid is represented by the bands at 1647.21, 1566.13 and 1517.98 cm−1 (Song and Li 2019; Ranote et al. 2019). The peak at 1440.83 cm−1 is assigned to O–H bend in carboxylic acid. The peaks from 1300 to 1043.49 cm−1 are attributed to the presence of carboxyl and phosphate groups (Oliveira et al. 2016). The peak at 879 cm−1 is assigned to C–C stretch and N–H rocking (Zeng et al. 2015). The band at 428.2 cm−1 is assigned to C–I aromatic ring deformation. In Fig. 2, the peak at 3429.43 cm−1 is due to the stretching of the N–H bond of amino groups. Also the peak at 2372.44 is assigned C=C stretch of alkyne. The peaks at 1874.81 and 1757.15 cm−1 are assigned to O–H, H bonded H stretch, carbonyl stretching of aldehyde. The C=C stretch of aromatic alkene or N–H group of amino acid is represented by the bands at 1654.92 and 1568.13 cm−1. The peak at 1440.83 and 1421.54 cm−1 is assigned to O–H bend in carboxylic acid. In all samples spectra, the peaks at 1111.00 and 1035.77 cm−1 are attributed to the presence C–H, CO deformation or stretching vibrations in different groups of lignin and carbohydrate (Hajji et al. 2017). The peak at 877.61 cm−1 shows the presence of aromatic –CH stretching. The peaks at 710.26 and 608.65 are assigned to N–H rocking, C–H rocking, C–Cl stretching. The peaks at 528.50, 493.78 and 428.27 cm−1 are assigned to C–Br stretching, C–I aromatic ring deformation. The FTIR spectra of the adsorbents after adsorption (figures are not shown) show that some peaks shifted or disappeared and also new peaks appeared. This proves the interaction effects due to involvement of the functional groups in the adsorption process. This change may be responsible for chemical interaction of lead ions with the functional groups corresponding to these peaks. A similar result was also reported for cassava starch treated with citric acid (Mei et al. 2015).

Fig. 2
figure 2

FTIR spectrum analysis of MSA adsorbent before adsorption of Pb(II)

Fig. 3
figure 3

FTIR spectrum analysis of AESA biosorbent before adsorption of Pb(II)

Fig. 4
figure 4

FTIR spectrum analysis of OSA biosorbent before adsorption of Pb(II)

X-ray diffraction analysis (XRD)

X-ray diffraction technique is a powerful tool used to analyze the crystalline nature of material. The crystalline compositions of the activated carbon are shown in Figs. 5, 6 and 7 for MSA, AESA and OSA. MSA and AESA show almost the same appearance and reveal the existence of major peaks at 20° and 21° for MSA 14° and 18° for AESA of kaolinite and mica/illite, which correspond to the pattern of the amorphous nature (Bahoria et al. 2018; Yin et al. 2018), while OSA shows many peaks corresponding to the position 2 \( \theta \) 21°, 26°, 27°, 29°, 31°, 33°, 36°, 38°, 39°, 41°, 43°, 46°, 48°, 50° and 53°, respectively, whereas mica/illite predominate over quartz (Jiang et al. 2018; Benafqir et al. 2019). If the material under investigation is crystalline, well-defined peaks are observed, while non-crystalline or amorphous system shows a hollow instead of well-defined peaks (Hajji et al. 2017; Zhao et al. 2017).

Fig. 5
figure 5

X-ray diffraction pattern of MSA

Fig. 6
figure 6

X-ray diffraction pattern of AESA

Fig. 7
figure 7

X-ray diffraction pattern of OSA

SEM (scanning electron microscopy)

The surface morphology of the biosorbent before and after adsorption at a magnification was used to study the surface morphology and pore variations of activated carbon, and its results are shown in Figs. 8, 9 and 10. After modification with orthophosphorous acid, many various sizes of pores like honeycomb can be observed on some samples surface. From the figures, it shows the pores and cavities which provide a large surface area for trapping of particles within the pores. This can be confirmed from the figure, because the surface roughness changed significantly and the pores are packed with deposited Pb(II) ions after adsorption (Sharma et al. 2019). Similar types of pore arrangement were observed by Ranote et al. (2019).

Fig. 8
figure 8

SEM micrograph of AESA before and after adsorption

Fig. 9
figure 9

SEM micrograph of MSA before and after adsorption

Fig. 10
figure 10

SEM micrograph of OSA before and after adsorption

Development of RSM model

RSM is a capable statistical tool that gives a better result of reproducibility and process optimization for predictive model (Damena and Alansi 2018). Also a total of 27 experiments were conducted. BBD matrix for experimental design (real and coded values of the three factors such as adsorbent dose, pH and contact time) for observed and predicted responses for the removal of Pb(II) ions is given in Table 2, using Design Expert software version 9.0.6., USA. Second-order polynomial equations were used to draw relationship between independent variables and responses. The effects of the parameters and response behavior of the system are explained by Eqs. 5 to 7 as shown below. Within the chosen range of experiments, the optimum adsorbent dose, pH and contact time for MSA were at 100 mg, pH 6 and contact time of 40 min at 99.59% removal of Pb(II) ions. With AESA, the removal was 99.59% with 100 mg, pH 2 and contact time of 70 min, while the OSA removed 98.18% with 100 mg, pH 6 and contact time 40 min. Optimized results were obtained at desirability of 1.00, indicating the applicability of the developed models. The desirability value closer to 1.00 is considered most desirable (Mondal et al. 2018).

Table 2 Design matrix and BBD with experimental and predicted results for the removal of Pb(II) ions with MSA, AESA and OSA from an aqueous solution
$$ \begin{aligned} Y_{{\left( {\text{MSA}} \right)}} &= 72.42350 + 0.15309X_{1} + 4.03523X_{2} \\ &\quad+ 0.25639X_{3} - 6.25946E - 003X_{1} X_{2} \\ &\quad- 7.33172E - 004X_{1} X_{3} - 9.89710E \\ &\quad- 003X_{2} X_{3} - 3.22048E - 004X_{1}^{2} \\ &\quad- 0.21911X_{2}^{2} - 8.53832E - 004X_{3}^{2} \end{aligned} $$
(6)
$$ \begin{aligned} Y_{{\left( {\text{AESA}} \right)}} &= 88.96827 + 0.089505X_{1} + 0.82886X_{2} \\ &\quad+ 0.11205X_{3} + 5.2220E - 003X_{1} X_{2} \\ &\quad- 3.77887E - 004X_{1} X_{3} + 4.24976E \\ &\quad- 003X_{2} X_{3} - 4.34725E - 004X_{1}^{2} \\ &\quad- 0.15962X_{2}^{2} - 4.34148E - 004X_{3}^{2} \end{aligned} $$
(7)
$$ Y_{{\left( {\text{OSA}} \right)}} = 63.04734 + 0.13823X_{1} + 5.55190X_{2} + 0.20385X_{3} - 6.34818E - 003X_{1} X_{2} + 1.48210E - 004X_{1} X_{3} - 4.50520E - 003X_{2} X_{3} - 3.6307E - 004X_{1}^{2} - 0.38030X_{2}^{2} - 8.42182E - 004X_{3}^{2} $$
(8)

Analysis of variance (ANOVA)

The ANOVA results obtained for the three models are presented in Tables 3, 4 and 5 indicating that all the models were significant because the F-values obtained are 31.76222, 42.83089 and 229.9161 for MSA, AESA and OSA, with a low probability value (p < 0.0001). The greater the F-value, the more certain it is that the model explains adequately the variation in the data, and the estimated significant terms of the adsorbents variables are closer to the actual value (Roshanak et al. 2015; Kumari and Gupta 2018). Also the p values for the quadratic models for the adsorbents were less than 0.05, indicating that the model is significant. If the p values are higher than 0.10, the model terms are not significant. Also there are other statistical parameters that determine significance of a models, such as coefficient of determination R2, adjusted R2, predicted R2 and coefficient variation (CV%). The coefficient of determination \( R^{2} \) is close to 1, which means a better correlation between the experimental and predicted (Asfaram et al. 2015; Li et al. 2016). The \( R^{2} \) values of 0.9470, 0.9578 and 0.993 for MSA, AESA and OSA indicate that the models could not explain 5.3%, 4.22% and 0.77%. The ‘adequate precision’ ratio should be higher than 4 so that the predicated models can be used to navigate the space (Kumari and Gupta 2018). Small values of CV and SD reflect reproducibility of the models; the values of CV, SD and AP are also presented in Tables 6, 7 and 8. The CV values of 1.23, 0.98 and 0.67 were obtained for MSA, AESA and OSA, respectively. Adequate precision (AP) results show that any value that exceeds 4 indicates that the model will give a reasonable performance in prediction (Roshanak et al. 2015).

Table 3 ANOVA for response surface quadratic model for Pb(II) removal from an MSA
Table 4 ANOVA for response surface quadratic model for Pb(II) removal from an AESA
Table 5 ANOVA for response surface quadratic model for Pb(II) removal from an OSA
Table 6 Model coefficient for Pb(II) ion removal using MSA
Table 7 Model coefficient for Pb(II) ion removal using AESA
Table 8 Model coefficient for Pb(II) ion removal using OSA

Adequacy of a model

It is usually necessary to check the fitted model to ensure it provides an adequate approximation to the real system. Normalization plots in Figs. 11, 12 and 13 helps in judging whether the models are satisfactory. Figure 11a shows that the data are plotted against a theoretical normal distribution in such a way that the points should form an approximate straight line and a departure from this line would indicate a departure from a normal distribution. From the result, the data points are slightly deviating from the normal distribution given, but not very critical. Figure 11b for residual plots shows that the data points are scattered randomly and do not form a trend, but all the data points in the plot are within the boundaries marked by the red lines. Therefore, there were no outlier data. The predicted versus actual, in Fig. 11c, shows that all the data points are distributed along the 45° line, indicating that the model can provide an acceptable fit for the experimental data (Mondal et al. 2017). Similar results are shown in Figs. 12 and 13 for AESA and OSA.

Fig. 11
figure 11

Design Expert plots: a normal probability plots, b residuals versus run number of data and c predicted versus actual for turbidity removal using MSA

Fig. 12
figure 12

Design Expert plots: a normal probability plots, b residuals versus run number of data and c predicted versus actual for Pb(II) removal using AESA

Fig. 13
figure 13

Design Expert plots: a normal probability plots, b residuals versus run number of data and c predicted versus actual for Pb(II) removal using OSA

Model analysis of response surface plots

The 3D response surface plots are the graphical representation of the regression equations used to observe the relationship between the responses and experimental levels of each factor. These plots are shown in Figs. 14, 15 and 16 for MSA, AESA and OSA. The interaction between pH and adsorbent mass was generated by fixing parameter of contact time center points. At moderate pH, high adsorbent mass results in maximum percentage removal of Pb(II). The percentage removal of Pb(II) increases with increase in adsorbent mass. This is as a result of more amount of adsorbent mass been available for the adsorption of Pb(II) (Havva et al. 2014). The interaction between contact time and adsorbent mass shown in Fig. 14b was generated by fixing pH at center point. At any given adsorbent mass from 10 to 100 mg, an increase in dosage and contact time led to higher percentage removal of Pb(II). The effect of contact time with pH at a fixed adsorbent mass on the percentage removal of Pb(II) is shown in Fig. 14c. From the figure, it was observed that adsorption at high contact time and moderate pH, the percentage removal was maximum. This is due to sufficient surface area available for adsorption (Sravan Kumar et al. 2014). The AESA and OSA show similar behavior in Figs. 15 and 16.

Fig. 14
figure 14

Response surface plots of the effects of a pH vs adsorbent dosage, b contact time vs adsorbent dose, c contact time vs pH for Pb(II) removal using MSA

Fig. 15
figure 15

Response surface plots of the effects of a pH vs adsorbent dosage, b contact time vs adsorbent dosage, c contact time vs pH for Pb(II) removal using AESA

Fig. 16
figure 16

Response surface plots of the effects of a pH vs adsorbent dosage, b contact time versus adsorbent dosage, c contact time vs pH for Pb(II) removal using OSA modified adsorbent

Optimization using the desirability functions

Optimization of Pb(II) ion removal was to find the maximum removal percentage by utilizing minimum adsorbent dosage. It is a value between 0 and 1, and increases as the corresponding response value becomes more desirable. In this study, the input variables were given specific ranged values, whereas the response was design to achieve a maximum. The values were calculated by means of the desirability function using design expert software. From the results, the maximum achieved Pb(II) removal efficiency was 99.59% (Fig. 15) at adsorbent dosage of 26.66 mg, initial pH 6.67 and contact time 69.0 min at maximum desirability value of 1.0 for MSA. In Fig. 16 for AESA, the 99.59% removal was achieved with adsorbent mass of 63.54 mg, pH 4.8 and contact time of 66.8 min at maximum desirability of 1.0. In Fig. 17 for OSA, the 98.21% removal was at adsorbent mass of 96.87 mg, pH of 5.92 and contact time of 69.36 at maximum desirability of 1.0.

Fig. 17
figure 17

Desirability ramp of optimization using MSA

Model validation and confirmation experiments

The optimized conditions generated during response surface methodology were validated by conducting adsorption experiments with the optimum parameters. Experimental validation is the final step in the modeling process to investigate the accuracy and robustness of the established models. The results of predicted and experimental values of the output variables are given in Table 9. Also the maximum error (%) between the predicted values and experimental values was less than 3%, indicating that the quadratic models adopted could predict experimental results well (Sharma et al. 2009). Therefore, it can be concluded that the models accurately represent Pb(II) ion removal over the experimental range studied (Figs. 18, 19).

Table 9 Validation of the model predicted using desirability function
Fig. 18
figure 18

Desirability ramp for numerical optimization for the selected variables using AESA

Fig. 19
figure 19

Desirability ramp for numerical optimization for the selected variables using OSA

Conclusion

In this study, application of modified biosorbents AESA, MSA and OSA for the adsorption of Pb(II) ions was investigated by an RSM with Box–Behnken design. All the biosorbents were characterized by FTIR, SEM and XRD. The FTIR analysis confirmed the role of surface functional groups present on the biosorbents in the biosorption process. The RSM model was used to examine the effect of three process variables on removal of Pb(II) ions. Variance analysis and 3-D response surface plots all indicated that the initial pH was the most significant factor in the removal process. The ANOVA results clearly suggest that the models developed for adsorption of Pb(II) ions onto MSA, AESA and OSA were highly significant base on low p values. This study shows that the above-mentioned biosorbents are alternative low-cost materials for the treatment of Pb(II) contaminated water.