Introduction

Dyes are common pollutants released from various industries, especially the textile industry. In the early nineteenth century, dyes often originated naturally from animals and plants. After this period, the industrial production of dye was performed in 1977 and gradually synthetic dyes replaced natural type (Selvaraj et al. 2021). The annual production of about 10,000 types of synthetic dyes has caused a large amount of this pollutant to enter the environment (Chowdhury et al. 2020). Azo dyes are considered as a serious threat for human health and the environment due to their toxic nature (Chowdhury et al. 2020). These pollutants are difficultly removed from aqueous solutions due to their aromatic hydrocarbon functional groups and the complexity of their molecular structure (Ramavandi et al. 2019). Azo dyes are chemical class of dyes, which are characterized by the presence of at least one azo bond (–N==N–) bearing aromatic rings, and dominate the worldwide market of dyestuffs with a share of about 70% (Ramavandi et al. 2014).

Malachite green, an organic compound composed of triphenyl methane, is often widely used in various industries, especially in the food, pharmaceutical and textile industries (Fan et al. 2021). This dye is also used to treat microbial infections of fish. However, this toxic contaminant remains in the water for a long time due to its slow biodegradability by microorganisms (Qu et al. 2019). The discharge of high concentrations of MG into aquatic ecosystems prevents the natural light penetration into the water, which leads to a decrease in oxygen content and inhibition of aquatic activity due to reduced photosynthetic efficiency of plants (Wang et al. 2017). This reactive dye has carcinogenic, mutagenic and teratogenic properties in human. Furthermore, MG causes the health problems such as chromosomal abnormalities and gastrointestinal irritation for human (Tkaczyk et al. 2020). Therefore, it is necessary to use effective techniques for the removal of MG from dye wastewater. For this purpose, various methods have been considered to remove this pollutant from the environment. Among these, the treatment of dye wastewater using the adsorption method is very attractive due to its advantages such as simplicity, low cost and high efficiency (Saini et al. 2017). Bonyadi et al. (2022) removed successfully malachite greens from aquatic environments using Spirulina platensis (Bonyadi et al. 2022).

Nanotechnology is a relatively new branch of science that has wide applications in the field of treatment and control of environmental pollutants. The use of nanoparticles due to its high adsorption capacity, large surface area and high reactivity is a common strategy for the treatment of dye effluents and an effective alternative for conventional treatment methods (Joshi et al. 2018). Recently, new nanostructures have been used to purify azo dyes. The performance of nanoparticles depends mainly on the dye structure, the type of nanoparticles used and the related functional groups (Joshi et al. 2019). Magnetic nanoparticles are usually used for the removal of dyes from wastewater flow, even at very low concentrations (Joshi et al. 2019). Among the various types of magnetic nanoparticles, the use of iron nanoparticles has attracted much attention due to its low cost, easy synthesis, high catalytic activity and high potential reactivity (Liu et al. 2016). The green synthesis of magnetic nanoparticles is an appropriate economic and environmental approach. In this approach, natural biopolymers can be used due to low cost, high availability, strong affinity for metals, biodegradability, green solvent and reducing agents. The green synthesis of nanoparticles can be carried out using biological wastes, including rice husk, pine, wood, sawdust, orange peel, plant leaves, etc. Esvandi et al. (2020) and Foroutan et al. (2021) conducted similar studies on the removal of azo dyes using magnetic nanocomposites. 

Among these, saw dust is easily available, low cost, lignocellulose and has previously been utilized for the reduction of Fe3+ to Fe2+ ion (Yu et al. 2013; Bayat et al. 2015). Phenols and lignocelluloses in sawdust cause pollutant reduction (Chen et al. 2014). This paper focuses on the removal of MG from the aqueous medium by Fe3O4/SC nanocomposite. The removal process of MG was also examined to better understand the adsorption mechanism by isotherm and kinetic studies.

Materials and methods

Chemicals and reagents

Malachite green, ferric nitrate [Fe (NO3)3.9H2O], and liquor ammonia (25%) were purchased from Sigma-Aldrich Company. Sodium hydroxide pellets, hydrochloric acid, and nitric acid were bought from the Merck Company. Poplar tree sawdust was prepared from a saw mill located at Mashhad, Iran. Double-distilled water was utilized to prepare solutions in tests. The synthetic solutions at different levels were prepared from a stock MG solution of 200 mg/L.

Synthesis of Fe3O4/SC ncs

Based on the biogenic green synthesis approach, Fe3O4/SC ncs were provided. At the beginning, for the preparation of sawdust, it was washed several times with distilled water and dried at 60° C for 24 h. The prepared powder was passed through 100 mesh. 4.0 g of Fe (NO3)3.9H2O and 3 g of sawdust powder were dissolved in 100 ml of double-distilled water, and then the resulting suspension was stirred vigorously at 90° C for 1 h. In the reaction mixture, Fe3+ ions are reduced to Fe2+ ions using a sawdust solution (green solvent). The solution was then transferred to an ultrasonic device, and during the sonication process, the pH of the solution was increased to 10 by the gradual addition of ammonia (25%). Then, the black iron oxide nanoparticles were separated from the aqueous solution using ultrasound after changing the dye of the reaction mixture from brown to black using ultrasound. Fe3O4/SC ncs were dried at 180° C for 12 h in an electric oven (Kataria ang Garg 2018). The resulting nanocomposites were stored in supportive plastic containers and used for further synthesis.

The characteristics of Fe3O4/SC ncs

The characterization of Fe3O4/SC nanocomposite was studied using different techniques including FT-IR (Broker victor 22), EDX (Costech ECS 4010), and FESEM (LMU TESCAN BRNO-Mira3), DLS (Horiba- SZ-100-Z).

pHzpc determination

For the determination of pHzpc, 100 mL of 0.01 M NaCl solution was poured in flasks and the pH of solutions was adjusted to around 2, 4, 6, 8, 10, and 11. Then, a 2.5 g/L of Fe3O4/SC nanocomposite was added into the solutions, mixed at the fixed speed of 250 rpm for 24 h, and filtrated by Whatman paper 42. Finally, the difference between the initial and final pH values or “ΔpH = pHi − pHf” was plotted versus pHi.

Experimental design

In the study, a 100 mL of dye solution was prepared at the MG concentrations of 10, 55 and 100 mg/L, and under the independent variables, including Fe3O4/SC ncs dose (0.2–1 g/L), pH (3–9), and retention time (10–60 min) (Table 1). The dye removal process was performed on a magnetic stirrer at a speed of 250 rpm. At the end of the reaction time, the supernatant was separated from the settling portion using a centrifuge (model CE-118) at 3000 rpm for 12 min. After the adsorption occurred, the solutions centrifuged and the remaining MG dye was measured in the supernatant by the spectrophotometric method at λmax of 618 nm.

Table 1 Range and levels of main parameters used for the MG adsorption

The MG removal rate was obtained from the following equation:

$${\text{Removal efficiency \% }} = \frac{{\left( {C_{0} - C{\text{e}}} \right) \times 100}}{{C_{0} }}$$
(1)

where C0 is the initial MG concentration (mg/l) and Ce is the MG concentration in the treated solution after a given time (mg/L).

$$q_{{\text{e}}} = \frac{{(C_{0} - C_{{\text{e}}} )}}{m} \times V$$
(2)

where W is the mass of nanocomposite adsorbent (gr) and V is the volume of reaction solution (L).

Modeling MG removal

The current study was designed using the specialized response level software (RSM), Box–Behnken model (BBD), to optimize the MG removal rate by nanocomposite. The quadratic model, used by RSM, is expressed as the following equation:

$$Y = \beta_{0} + \mathop \sum \limits_{i = 1}^{k} \beta_{i} x_{i} + \mathop \sum \limits_{i = 1}^{k} \beta_{ii} x_{i}^{2} + \mathop \sum \limits_{1 \le i \le j}^{k} \beta_{ij} x_{i} x_{j }$$
(3)

where Y, β0, βi, βii, βij and xi or xj describe the predicted response, the constant coefficient, regression coefficients for linear impacts, quadratic coefficients, interaction coefficients, and the coded values of the factors, respectively.

Adsorption kinetic and isotherm studies

Kinetic studies also composed an essential section of the sorption check that reveals significant information for real treatment system design. The study of adsorption kinetics was investigated using independent variables, including the initial MG concentration (25–120 mg/L), the pH of 6, and the dose of 0.6 g/L. The adsorption kinetics of MG onto the nanocomposite were evaluated by the well-known models pseudo-first-order, pseudo-second-order, and intraparticle diffusion. Adsorption isotherms, including Freundlich, Langmuir, and Temkin isotherms, were examined in the presence of the above-mentioned variables. The equations related to kinetic and isotherm models were presented in the studies of Mohebbrad et al. (2019) and Davodi et al. (2019) (Fig. 1).

Results and discussion

Characterization

FT-IR: The FT-IR spectrum for Fe3O4/SC ncs before and after the MG adsorption is shown in Fig. 2. In Fe3O4/SC ncs, the stretching vibration of F–O group at 631, 587 and 435 cm−1 showed the incorporated iron oxide nanoparticles in sawdust carbon (Cheng et al. 2012). The absorption peaks in the range of 1459–1269 cm−1 were related probably to C–H stretching vibration of methyl and methoxy groups. The peaks at 1728, 1646, and 1598 cm−1 were related to C=O stretching vibrations due to the attendance of lignin and hemicelluloses. The peaks at 2907 cm−1 were correlated with C–H stretching vibration of methyl and methylene group existent in magnetic sawdust carbon (Gan et al. 2016). The absorption peaks at 3351and 3858 cm−1 correspond to O–H stretching vibration of lignocelluloses and water molecules. With regard to the findings, the range of vibrations and the intensity of absorption peaks in the structure of Fe3O4/SC ncs after the MG sorption were altered, which could be due to the interaction between the functional groups and the MG. For example, after MG sorption, the some peaks related to the functional groups of F–O, C–H, C=O, and O–H were altered to 592, 1462, 1650, and 3346 cm−1, respectively (Gan et al. 2016). Therefore, these changes were indicating the effective attribution of these functional groups in the adsorption of MG.

Fig. 1 
figure 1

Structural formula of MG

Fig. 2
figure 2

FTIR spectra of (A) before and (B) after MG adsorption

FESEM: FESEM images of Fe3O4/SC ncs are provided in Fig. 3a-d. The FESEM image shows small pieces of sawdust fiber sheet with a mostly uneven surface (Fig. 3a). As can be seen from the FESEM images, Fe3O4 nanoparticles have been compounded onto the SC surface in agglomerated form as well as elsewhere. FESEM image of Fe3O4/SC ncs shows that Fe3O4 nanoparticles incorporate onto the surface of sawdust carbon in agglomerated form and other places also (Fig. 3b and c). The Fe3O4 nps are spherical in form and prepared by SC powder as reducing factor.

Fig. 3
figure 3

FESEM images of (a) raw sawdust and (b, c, d) Fe3O4/SC ncs

EDX, DLS, and pHzpc: Figure 4 indicates EDX spectra and elemental composition of SC (a), Fe3O4/SC ncs (b), DLS spectrum of synthesized Fe3O4/SC ncs (c), and plot between final pH versus pHi of nanocomposites (d). According to EDX images (Fig. 4a,b), the values of C, O, N, S, and Fe in the SC were found 51.63, 40.13, 5.57, 2.43, and 0.24%, respectively. After magnetization of Fe3O4/SC ncs, the percentage of elements in the SC altered, which could be due to the reaction of the SC content with Fe3O4. Due to the increase in the Fe value up to 4.49, it can be stated that iron oxide nanoparticles are well incorporated on the sawdust carbon surface. The hydrodynamic diameter of Fe3O4/SC ncs was measured using by DLS analysis. The Z-average diameter of Fe3O4/SC ncs was found to be 221 nm (Fig. 4c). From Fig. 3d, the pHpzc for Fe3O4/SC ncs was determined 7.8. This means that the adsorbent surface has a negative charge or a positive charge for pH values above or below 7.8, respectively.

Fig. 4
figure 4

EDX spectra and elemental composition of a SC, b Fe3O4/SC ncs, c DLS spectrum of synthesized Fe3O4/SC ncs, and d plot between final pH versus initial pH of nanocomposites

Modeling of the MG removal rate

In this study, the impacts of the main factors, including the initial MG concentration, Fe3O4/SC ncs dose, reaction time, and pH on the MG removal rate were surveyed. The data of MG removal using Fe3O4/SC ncs are given in Table 2.

Table 2 BBD matrix for MG removal by Fe3O4/SC ncs

From Table 2, the maximum and minimum removal rates were 87.92 and 15.09, respectively. The impact of the independent factors, including the initial MG level, Fe3O4/SC ncs dose, reaction time, and pH, on the MG removal efficiency was assessed. Table 3 shows the statistical adequacy evaluation of models. The experimental findings were statistically evaluated for linear, 2Fl, quadratic and cubic models to choose the model that best explains the data.

Table 3 Statistical adequacy evaluation of models

Based on the data in Table 3, the quadratic model was proposed to fit the experimental data. Table 4 offers comparative model regression findings. Table 4 estimates the coefficients for the quadratic model of MG removal by Fe3O4/SC.

Table 4 Coefficients of estimation for quadratic model of MG removal by Fe3O4/SC ncs

From Table 4, based on the coefficient values of each of the coded factors, the quadratic model for the removal efficiency (Y) can be expressed as the following equation:

$$Y = {58}.0{9} + {8}.{95}A - {9}.{59}B + {23}.{15}C + {7}.{59}D + {4}.0{1}AB - {5}.{88}AC - {2}.0{6}AD + {1}.{81 }BC + {4}.0{8}BD - {6}.{79}CD + {3}.{84}A^{{2}} + {1}.{4}0B^{{2}} - {1}.{41}C^{{2}} - {9}.{17 }D^{{2}}$$
(4)

According to Eq. 4, each model consisted of both fixed and variable parts. Also, the removal efficiency was 85.98%, which is affected by various parameters. The coded factors of A, B, C, and D had the coefficients of + 8.95, −9.59, + 23.15, and + 7.59, respectively. The pH (C code) with a coefficient of + 23.15 had the highest impact on the MG removal. The greatest interaction is related to CD with a coefficient of −6.79, and the greatest square effect of factors is related to D2 with a coefficient of −9.17.

Table 5 presents ANOVA for the response surface quadratic model. Overall, the results of Table 5 showed that the model was significant (P-value < 0.05). Accordingly, the values of R2, adjusted R2, predicted R2, and adequacy precision were obtained 0.94, 0.89, 0.77, and 16.81, respectively.

Table 5 Analysis of variance (ANOVA) for quadratic model of MG removal by Fe3O4/SC ncs

For each of the main coded values in Table 5, the P-value was less than 0.05, indicating that the MG removal rate was statistically significant. It is recommended that the difference between the set R2 and the predicted R2 should be less than 0.2, which is true for the model.

The adequacy precision term measures the signal-to-noise ratio. This parameter was 16.81, which is higher than the minimum desired value of 4. Figure 5 displays the actual removal versus the predicted removal. As shown in Fig. 5, the adequacy of the model to provide a good prediction for MG removal is clear.

Fig. 5
figure 5

Distribution of experimental vs. predicted removal for MG adsorption onto Fe3O4/SC ncs

Main and interaction impacts

Figure 6a-b depicts the impact of contact time, MG concentration, pH, and Fe3O4/SC ncs dose on the MG removal rate.

Fig. 6
figure 6

Response surface plot about the effects of a Conc. vs. time, b dose vs. pH

Initial dye concentration and its effect

From Fig. 6a, increasing the dye concentration has an inverse effect on its removal efficiency (P-value < 0.05). The MG removal efficiency at concentrations of 10 and 100 mg/L was observed 68 and 47%, respectively, keeping the other experimental conditions constant. The decreasing trend of removal efficiency with increasing concentration can be due to the presence of large empty sites on the adsorbent surface to absorb dye at low dye concentrations, while the saturation of active binding sites with dye molecules at higher concentrations reduced the MG removal efficiency (Wu et al. 2016; Aliasghar Navaei et al. 2019).

Contact time and its effect

Figure 6a shows that with increasing time from 10 to 60 min, the removal efficiency increased by 25% (P-value < 0.05). The removal of malachite in the early times, due to the availability of a large number of free surface active sites to absorb the dye, is done more quickly and then gradually the slope of the dye removal process is slowed down. This indicates that over time, the active sites become saturated and their number decreases (Davodi et al. 2019; Kataria and Garg 2019).

The pH effect study

The pH is an effective factor on the ionization of the adsorbent and the surface charge, which had the greatest effect on the dye adsorption process. The findings of Fig. 6b show that with increasing the pH from 3 to 9, the dye removal also increased from 33.53 to 79.52%, respectively. The pHzpc of Fe3O4/SC ncs was obtained 7.8. Thus, at pH below 7.8, the charge on the adsorbent surface becomes positive, leading to the reply of cationic dye molecule. At low pH, there is a high density between the positive ions of the MG cationic dye and the H+ ions, which ultimately reduces the removal efficiency (Foroutan et al. 2020a). In other words, the adsorbent surface at a pH less than 7.8 is positively charged, which leads to the repulsion of dye molecules. At pH above 7.8, the negatively charged adsorbent surface absorbs the positively charged dye molecules and the number of H+ ions decreases rapidly. This results in less competition between H+ ions and cationic dye molecules adsorbed at active sites (Wu et al. 2016; Ali et al. 2017; Saini et al. 2017).

Adsorbent dose effect

From Fig. 6b, the removal MG efficiency is directly related to the increase in Fe3O4/SC ncs dose (P-value < 0.05). As can be deduced from Fig. 8, by enhancing Fe3O4/SC ncs dose from 0.2 to 1 g/L, the MG removal rate was enhanced from 41.3 to 56.5% and then decreased slightly. This is a normal behavior of most sorption processes. Based on the adsorption theory, the contaminants are attracted to the sorption sites on the adsorbent surface (Nasoudari et al. 2021). Our findings are in agreement with those reported previously for the adsorption of the dye onto bimetallic chitosan particle (Asgari et al. 2013).

Optimum operational conditions

In this study, the results were analyzed using the Box–Behnken model to obtain the highest dye removal rate. According to the quadratic model, the highest removal rate (89.22%) was found at the pH of 8.62, the contact time of 59.86 min, the Fe3O4/SC ncs dose of 0.59 g /L and the MG level of 17.62 mg/L. Conduction of similar tests at specified optimum conditions reveals the high repeat ability of method for prediction of real removal percentage with relative deviation less than 2%.

Isotherm and kinetic models

The adsorption kinetics is one of the main parameters to simulate the solute adsorption rate from the solution–solution interface. This model provides useful information in the field of adsorption economics by evaluating the velocity constants and thus the contact time and volume of an adsorption unit (Mohebbrad et al. 2019). The coefficients of reaction rate were calculated by the pseudo-first-order, pseudo-second-order and intraparticle diffusion kinetic models. Table 6 illustrates the parameters of kinetic and isotherm fitted for the MG removal using Fe3O4/SC ncs. From Table 6, R2 for pseudo-first-order, pseudo-second-order, and intraparticle diffusion kinetics were 0.95, 0.99, and 0.93. The value of pseudo-second-order regression coefficient (R2 = 0.99) is higher than that of other models. Hence, the pseudo-second-order model is best suited for MG. In a study, adsorption data were more consistent with the pseudo-second-order kinetic model (Foroutan et al. 2020b). Also the equilibrium adsorption capacity value or Qe (cal) is close to or almost equal to Qe (experimental) value obtained from adsorption experiments of MG for the pseudo-second-order model.

Table 6 The kinetic and isotherm parameters fitted for MG removal by Fe3O4/SC ncs

In this study, experimental equilibrium information was evaluated using adsorption isotherm models including Langmuir, Freundlich, and Temkin models. The results of Table 6 show that the Langmuir model agrees with the equilibrium data (Wan et al. 2016). The Langmuir adsorption model is based on the assumption that maximum adsorption corresponds to a saturated monolayer of solute molecules on the adsorbent surface with no lateral interaction between the adsorbed molecules (Asgari et al. 2014). This indicates the monolayer adsorption of MG on Fe3O4@SC ncs. According to Langmuir model, the maximum adsorption capacity of MG was obtained 41.66 mg/g. In the study of Foroutan et al. (2019), the maximum adsorption capacity of the ACSO/Fe3O4 magnetic composite toward methylene blue reached as high as 60.60 mg/g, respectively (Foroutan et al. 2019). The adsorption capacities of MG with other reported adsorbents are listed in Table 7. These data propose that the Fe3O4/SC ncs have potential to remove MG from aquatic environment.

Table 7 Comparison of Langmuir adsorption capacities of MG with results from previous studies

Conclusion

In the current study, the biogenic green synthesis method was utilized to synthesize Fe3O4/SC ncs. These nanocomposites were used for MG removal from aqueous environment. Process optimization was performed using the BBD. According to the quadratic model, the highest removal rate (89.22%) was found at the pH of 8.62, the contact time of 59.86 min, the Fe3O4/SC ncs dose of 0.59 g /L, and the MG level of 17.62 mg/L. The MG removal rate follows the pseudo-second-order model and the Langmuir model. The maximum absorption capacity for MG was 41.66 mg/g. These findings suggest that the Fe3O4/SC ncs has a significant potential for the MG adsorption of from aqueous solution.