Introduction

Textile industry wastewater contains various types of pollutants such as dyes, chemical oxygen demand (COD), biochemical oxygen demand (BOD) and other toxic resistant compounds that are discharged into the environment, especially the receiving waters with irreversible health and environmental hazards (Hasani et al. 2021; Peyghami et al. 2021). Contamination of this wastewater in proportion to the colors in the wastewater reduces the penetration of light into the receiving water. The numerical value of the BOD/COD ratio indicates the degree of biodegradability of organic matter, which in the case of colored wastewater is usually less than 0.25, and indicates that such wastewater contains a large amount of biodegradable organic matter (Chiou et al. 2006; Samarghandi et al. 2021; Dargahi et al. 2021b; Azizi et al. 2019). The dyes used in the textile industry are divided into several groups: 1- Anionic dyes (acidic, direct and reactive), 2- Cationic dyes (all base dyes), 3- Non-dye dyes (Karadag et al. 2007). Basic blue 41 dye with molecular formula C20H26N4O6S, color index number 11105, molecular weight 450 g/mol, and wavelength 600 nm can be seen in industrial wastewater (Fig. 1) (Mahmoudi et al. 2007).

Fig. 1
figure 1

Structural formula of BB41 dye

Colored wastewater treatment methods are classified into three groups: physical methods and chemical and biological processes, Among these methods, adsorption on activated carbon, sedimentation, chemical oxidation, optical and biological decomposition and coagulation are common (Malakootian and Moridi 2017; Samarghandi et al. 2020a; Pirsaheb et al. 2016). Among the common removal methods, adsorption is recognized as a promising technique due to its simplicity, low cost and high efficiency (Zhong et al. 2012; Samarghandi et al. 2020b). Zeolites, alginates, chitosans, clays, etc. have been suggested as adsorbents. Activated carbon is the most widely used adsorbent today due to its wide surface area, porosity and high adsorption capacity (Lim et al. 2009). The efficiency of the adsorption process using commercial activated carbon to remove various dyes from the effluent has made it an ideal method compared to other expensive treatment technologies (Temdrara et al. 2013; Samarghandi et al. 2021a). Agricultural products and by-products are abundant and necessarily disposable waste, when they are disposed of by incineration, they produce CO2 and other forms of pollution. Production of activated carbon from horticultural waste, in addition to cheap production of this product and meeting many industrial and environmental needs, also reduces the volume of production waste (Sayyahzadeh et al. 2012; Shokoohi et al. 2018). Salvia seeds due to their fatty acid groups and banana peel also have a very high amount of carbon in their composition due to their carbohydrate groups and can be used in the production of activated carbon (Razavi et al. 2013; Zazouli and Balarak 2016). Magnetic activated carbon has a unique property so that magnetic nanoparticles coated with activated carbon can be easily separated by an external magnetic field (Shokoohi et al. 2020). Unfortunately, the main problem with using powdered activated carbon or adsorbents with nanosize or nanoparticles is their separation from the solution due to the small particle size, so dispersion and secondary contamination are the main problems of these systems. Therefore, magnetizing these adsorbents can be a suitable solution to solve many of these problems. Recently, the magnetic separation method has been widely used due to its low cost, simplicity and optimal speed as well as high efficiency (Salehnia et al. 2016; Kakavandi et al. 2014).

In the present study, the efficiency of magnetic activated carbon of banana peel (BPAC@Fe3O4) and magnetic activated carbon of Salvia seed (SSAC@Fe3O4) in the removal of cationic dye BB41 were compare.

Materials and methods

Materials

The dye stock solution was prepared by dissolving the dye powder in double distilled water. Raw materials including BB41 dye powder from Alvan Sabet Hamedan Company and iron (II) chloride, iron (III) chloride, 25% ammonium, phosphoric acid, sulfuric acid, sodium hydroxide were prepared from Merck company in Germany. H2SO4 and NaOH In order to adjust the pH of the solution containing dye and for reading and calculating the dye concentration, spectrophotometric device model DR-5000 made in Germany was used. All these experiments were performed on a laboratory scale in the chemistry laboratory of the Faculty of Health of Ardabil University of Medical Sciences.

Synthesis of Fe3O4 nanoparticles

Fe3O4 nanoparticles with a weight ratio of two to one were synthesized by chemical co-precipitation method (Ozmen et al. 2010). In this method, 5.4 g of iron (II) chloride and 2.78 g of iron (III) chloride in a volume of 250 mL of distilled water were dispersed using ultrasonication. Homogenization was performed at 70 °C by adding 20 mL of ammonia solution dropwise until the pH of the solution reached 9. At a pH of about 9, a black precipitate containing magnetic nanoparticles formed. The formed precipitate was stirred for 45 min. It was then rinsed several times with double distilled water to remove impurities. Finally, using 1.3 Tesla magnet, the magnetized Fe3O4 nanoparticles were separated and dried in an oven at 70 °C for 12 hr and then in containers (Ozmen et al. 2010).

Activated carbon production

Dried banana peel and dried salvia seeds were used to prepare activated carbon. To prepare each type of activated carbon, 200 gr of finely chopped banana peel and chopped salvia seeds were first soaked in concentrated phosphoric acid for 24 h. The acid-impregnated wood was transferred to a steel reactor and placed in an electric furnace with temperature and time adjustment at 650 °C for 2 h. After cooling the electric furnace, the reactor contents were washed several times with distilled water by vacuum filter to reach a near neutral pH. Finally, the activated carbon in the oven was dried at 110 °C for 24 h and after cooling inside the desiccator, it was pulverized by hand mortar and stored in a closed container(Mahvi and Heibati 2010).

Synthesis of AC@Fe3O4 nanocomposites

After the synthesis of Fe3O4 nanoparticles, the loading process was performed by conventional immersion method on activated carbon. For this purpose, 8 g of activated carbon was added to a solution of Fe3O4 nanoparticles with a specific weight, which was equivalent to 20% by weight of iron oxide in the final product, and was mixed vigorously for 3 h. After immersion process, the resulting nanocomposite was dried in an oven at 110 °C for 12 h (Pourfayaz et al. 2016).

BB41 dye adsorption experiments

Stoke solution of 1000 mg/L BB41 dye was used for adsorption experiments. In this research, the variables of pH (3, 5, 7, 9), contact time (5-10-15-20-30-60 min), adsorbent dose (0.25, 0.5, 0.75, 1.0 g/L) and initial concentration of BB41 dye (25, 50, 75, 100 mg/L) were considered as effective parameters in the process of adsorption of BB41 dye. Normal sulfuric acid and sodium hydroxide were adjusted and a certain amount of AC@Fe3O4 nanocomposite obtained from banana peel and salvia seed was added to the solution and entered the adsorption process. During the process, the solution was stirred by a magnetic stirrer at 250 rpm. Finally, after the contact time had elapsed, the adsorbent was separated using a 1.3 Tesla magnet and prepared to measure the concentration of residual dye. Residual dye concentration was determined by spectrophotometer. The efficiency and adsorption capacity of the adsorbent were calculated using Equations (1) and (2) (Samarghandi et al. 2021b; Afshin et al. 2021).

$$\left( {\frac{{\left( {C_{{\text{O}}} - C_{{\text{e}}} } \right)}}{{C_{{\text{O}}} }}} \right) \times 100$$
(1)
$$q_{{\text{e}}} = \frac{{\left[ {(C_{{\text{O}}} - C_{{\text{e}}} ) \times V} \right]}}{M}$$
(2)

where C0 represents the initial dye concentration and Ce the dye concentration of BB41 after contact with the adsorbent in terms of (mg/L) V volume of solution in terms of (L), M the dry weight of the adsorbent (g), qe the equilibrium adsorption rate (mg/g) (Moussavi and Emamjomeh 2014)

Results and discussion

Characterization of adsorbents

Scanning electron microscopy (SEM) analysis was performed to evaluate the morphological characteristics of the adsorbent. According to Figs. 2 and 3, which shows the morphological characteristics of the adsorbents used for adsorption processes using scanning electron microscopy (SEM), both adsorbents had large pores and had an almost uniform surface, but the pores and porosity of the adsorbent BPAC@Fe3O4 was higher than SSAC@Fe3O4 and also corresponded to the level of activated carbon used in the study entitled “Dynamic Isotherms in Activated Carbon” conducted by Mata et al (Matta et al. 2008).

Fig. 2
figure 2

Scanning electron micrographs (SEM) of PBAC@Fe3O4

Fig. 3
figure 3

Scanning electron micrographs (SEM) of SSAC@Fe3O4

In order to measure the porosity and specific surface area of adsorbents, Brunauer-Emmett-Teller (BET) was used, which is very effective in studies related to the adsorption of pollutants (Rashidi and Yusup 2017). Table 1 and Fig. 3 show the results of BET analysis for magnetic activated carbon obtained from banana peel and salvia seed. According to this diagram, the specific surface area BPAC@Fe3O4 and SSAC@Fe3O4 are 394.85cm2/g and 160.02 cm2/g, respectively. According to Table 1 and Fig. 4, the total pore volume and the area of the specific adsorbent surface BPAC@Fe3O4 is more than 2 times SSAC@Fe3O4, which indicates a higher degree of porosity BPAC@Fe3O4, so banana peel can be used as a promising raw material for activated carbon production. The results shown were consistent with a study of the effect of banana peel activated carbon on the removal of methylene blue and orange 2 by Ma et al (Ma et al. 2015).

Table 1 BET analysis data for the adsorbent investigated in this study
Fig. 4
figure 4

Analysis (BET): a BPAC@Fe3O4 and b SSAC@Fe3O4

Parametric study of the adsorption of BB41

Effect of solution pH

BB41 dye is unstable under alkaline dyeing conditions and weakens due to chromophore degradation, but under acidic conditions dye stabilization on synthetic fibers is more effective (Humelnicu et al. 2017). Control of the pH parameter is so important in the adsorption process that it affects both the molecular structure of the dye and the chemical properties of the activated carbon, such as surface charge and the separation of functional groups (Olgun and Atar 2009). Figure 5 shows the effect of the pH of the solution on the reaction. It is observed that with increasing pH, the contaminant removal efficiency by both adsorbents increases. In BPAC@Fe3O4 between intervals 3 to 5 and in SSAC@Fe3O4 between intervals 5 and 7, the highest jump is observed in the color removal process diagram and the highest removal efficiency is observed at pH 9 for BPAC@Fe3O4 and SSAC@Fe3O4 was equal to 61.9% and 49.01%, respectively, so pH = 9 was selected as the optimal pH . According to the diagram in Fig. 5, it is observed that with increasing pH, the adsorption efficiency for both adsorbents increases. Negative charge play The level of activated carbon increases with increasing pH and causes a strong electrostatic bond in cationic dyes (Ahmaditabar et al. 2015; Boudechiche et al. 2019). In the study of Boudechiche et al. 2019. In 2019, the optimal pH of dye adsorption of BB41 using activated carbon obtained from ziziphus lotus was pH = 8 (Boudechiche et al. 2019).

Fig. 5
figure 5

The effect of pH parameter on the dye removal efficiency of BB41

Effect of adsorbent dose

Figure 6 shows the effect of increasing the adsorbent dose on the amount of dye adsorption by (SSAC@Fe3O4) and (BPAC@Fe3O4) which with increasing the amount of adsorbent increases the removal efficiency and decreases the adsorption capacity. According to the diagram of Fig. 6, a range of (0.1–1 mg/L) was considered for both adsorbents. The slope of the contaminant removal process for both adsorbents is ascending to the dose of 0.75 mg/L and then equilibrium. Therefore, at the dose of 0.75 mg/L, the removal efficiencies for (BPAC) and (SSAC) were 97.22% and 88.16%, respectively, and were selected as the optimal dose for both adsorbents. According to the diagram in Fig. 6, the increase in the adsorbent dose increases due to the increase in the number of sites available for adsorption efficiency, but because the dye concentration is constant at high doses, the existing sites remain unsaturated, which led to a decrease in the amount of dye adsorbed per unit mass of adsorbent. The results of the study by Fil et al. 2013 are similar to this study (Ahmadabadi et al. 2016; Fil et al. 2013). Table 4 shows a comparison of the adsorption capacity of different adsorbents in BB41 dye removal. According to Table 2, it can be seen that BPAC and SSAC adsorbents have a very high adsorption capacity compared to the adsorbents used in previous studies (Afshin et al. 2018).

Fig. 6
figure 6

The effect of the amount of adsorbent on the dye removal efficiency of BB41

Table 2 Comparison of adsorption capacity of different adsorbents in BB41 dye removal

Effect of time and initial concentration of dyes

As shown in Fig. 6, in the reaction of both adsorbents, the removal efficiency decreases with increasing concentration of contaminants, and also with increasing contact time, the removal efficiency increases, and in 30 min, both reactions reach equilibrium. The studied system was performed by changing the initial concentration of contaminants (25-25 mg/L). According to Fig. 6 in contact time of 30 min, the highest dye removal efficiencies by BPSAC@Fe3O4 and SSAC@Fe3O4 were 97.79% and 98.23%, respectively. As can be seen in Fig. 6, with increasing BB41dye concentration, the adsorption efficiency decreased due to the fact that at a constant amount of absorbent dose, the active sites of adsorption are constant; however, with increasing the concentration of adsorbent, the number of contaminants in the reaction medium increases, so the removal efficiency decreases (Alidadi et al. 2017). This may also indicate that the equilibrium time does not change with the initial concentration of BB41 dye (Kooli et al. 2015). Due to the increase in time, the removal efficiency increases and reaches equilibrium at different concentrations but at the same time, i.e., 30 min. In other words, at this moment, the amount of adsorbed dye reaches the dynamic equilibrium with the amount of desorbed dye (Ahmad and Alrozi 2011; Acharya et al. 2009; MORADI NASAB et al. 2016) (Fig. 7).

Fig. 7
figure 7

The effect of time and concentration of BB41 on adsorption by PBAC and SSAC

Adsorption isotherms

Isothermal equations with Langmuir and Freundlich models were used to evaluate the experimental data and describe the equilibrium state between solid phase (AC@Fe3O4 nanocomposite) and liquid (dye solution). The Langmuir isotherm model represents the uniform and a layer adsorption of adsorbent material with the same energy on all adsorbent surfaces. While Freundlich equation is based on multilayer, non-uniform and heterogeneous adsorption of adsorbent on adsorbent. The linear form of the Langmuir and Freundlich isotherm equations is presented in Equations (3) and (4) (Afshin et al. 2019):

$$\frac{1}{{q_{e} }} = \frac{1}{{{\text{k}}_{{\text{L}}} q_{{\text{m}}} c_{{\text{e}}} { }}} + \frac{1}{{q_{{\text{m}}} }}$$
(3)

In these equations, Ce is the equilibrium concentration of BB41 in terms of (mg/L), qe is the amount of dye adsorbed per unit mass of adsorbent (mg/g), qm represents the maximum adsorption capacity in terms of (mg/g), and the Langmuir constant KL is (L/mg).

$$\log {\text{q}}_{{\text{e}}} = \log {\text{k}}_{{\text{f}}} + \frac{1}{{\text{n}}}\log {\text{c}}_{{\text{e}}}$$
(4)

Kf and n are Freundlich constants and depend on the adsorption capacity and intensity. If the values of n are less than one, they indicate poor adsorption and the values of 1–2 and 2–10 also indicate moderate and desirable adsorption, respectively. In the Langmuir equation, the type of utility can also be determined using factor values without the RL dimension (Eq. 5) (Rashtbari et al. 2020).

$$R_{{\text{L}}} = \frac{1}{{1 + {\text{K}}_{{\text{L}}} C_{0} }}$$
(5)

If the value of 1 <RL shows undesirable adsorption, RL = 1 shows linear adsorption, RL = 0 indicates irreversible adsorption and 1 <RL <0 shows optimal adsorption (Samarghandi et al. 2019a, b; Dargahi et al. 2021; Alizadeh et al. 2017).

Since the optimal contact time for both adsorbents is 30 min, so for 30 min, a pH of 9 was prepared to investigate the adsorption isotherm. Figure 8 shows the Langmuir model isotherm diagram and Fig. 9 shows the Freundlich model isotherm diagram. The maximum adsorption capacity is shown. In the Langmuir isotherm model for BPAC@Fe3O4 and SSAC@Fe3O4, it is equal to 333.33 and 303.03, respectively. According to Table 3, the best isotherm for both adsorbents is the Langmuir isotherm. As can be seen from the results of Figs. 8 and 9, Table 3, dye adsorption using AC @Fe3O4 nanocomposite in the present study with regression coefficient of 0.9886 for BPAC@Fe3O4 and regression coefficient of 0.964 for SSAC@Fe3O4 follows the Langmuir isotherm model. The Langmuir isotherm model is known as the most widely used adsorption isotherm for soluble adsorption of solutions and has often been successfully applied to adsorb a variety of contaminants from water (El Qada et al. 2008). Which is consistent with the results of the study of (Afshin et al. 2018). Also, the results of Ashrafi et al study in 2015 regarding the study of BB41 dye adsorption by NaOH-modified rice husk adsorbent with regression coefficient of 0.9865 were very similar to this study (Ashrafi et al. 2016).

Fig. 8
figure 8

Langmuir isotherm models of adsorption BB41 by PBAC and SSAC

Fig. 9
figure 9

Freundlich isotherm models of adsorption BB41 by PBAC and SSAC

Table 3 Adsorption isotherm data for the removal of BB41 dye by adsorption process

Adsorption kinetics

Adsorption kinetics examines important information to understand the mechanisms of adsorption and to evaluate the performance of adsorbents (Hassani et al. 2014). Kinetic equations are used to describe the transfer behavior of adsorbed material molecules per unit time and to study the reaction rate. In the present study, pseudo-first and pseudo-second kinetic models were used. Equations (6) and (7) (Alipour et al. 2021) show the Pseudo-first and pseudo-second kinetic models, respectively.

$${\text{log }}\left( {q_{{\text{e}}} - q_{{\text{t}}} } \right) = \log q_{{\text{e}}} - \left( {\frac{{{\text{k}}_{1} t}}{2.303}} \right)$$
(6)
$$\frac{t}{{q_{{\text{e}}} }} = \frac{1}{{({\text{k}}_{2} q_{{\text{e}}}^{2} )}} + \left( {\frac{1}{{q_{{\text{e}}} }}} \right)t$$
(7)

qe and qt are the adsorption capacities at equilibrium and at time t and k1 (min−1) and k2 the adsorption rate constant in the pseudo-first and pseudo-second kinetic models, respectively (Samarghandi et al. 2019a, b; Dargahi et al. 2021a).

Figure 10 shows in the pseudo-first graphs and Fig. 11 shows pseudo-second kinetic models graphs and Table 4 shows the data of the kinetic equations of the reactions. Pseudo-first and pseudo-second equations of kinetic models were obtained at different concentrations in the range 25–100 mg/L. According to Table 4 at a concentration of 25 mg/L, the regression coefficient of pseudo-first and pseudo-second equations for magnetic activated carbon obtained from banana peel 0.628 and 0.995, respectively, and for activated carbon obtained from salvia seed equal to 0.7842 and 0.994. According to Table 4 and the diagrams in Figs. 10 and 11, both magnetic activated carbon (BPAC@Fe3O4) and (SSAC@Fe3O4) have R2 < 0.95 in the pseudo -first-order model and R2> 0.95 in the pseudo- second model (Boudechiche et al. 2019). And follow the pseudo- second kinetic model well, which indicates the quality of the adsorbents used. The results were consistent with the study of (Regti et al. 2017).

Fig. 10
figure 10

Pseudo-first kinetic data of adsorption by BPAC and SSAC

Fig 11
figure 11

Pseudo-second kinetic data of adsorption by BPAC and SSAC

Table 4 The kinetics of adsorption reactions for the removal of BB41 dye by adsorption process

Conclusion

Carbon from agricultural and household wastes can be used to remove emerging pollutants. SEM and BET analyzes for adsorbents used in BB41 dye adsorption experiments showed that the adsorbents have a very high quality due to their large pores and uniform surface as well as having a suitable specific surface area. Adsorption of BB41 dye using magnetic activated carbon prepared from banana peel and salvia seeds, with increasing adsorbent and contact time, adsorption efficiency increases and adsorption capacity also decreases with increasing pH and concentration of BB41 adsorption efficiency decreases. Optimal dye adsorption conditions with BPAC@Fe3O4 equal to pH = 9, adsorbent dose 0.5 g/L, dye concentration 50 mg/L and equilibrium contact time 30 min, optimal dye adsorption conditions for SSAC@Fe3O4 equal to pH = 9, adsorbent dose 0.75 g/L, dye concentration 50 mg/L and equilibrium contact time is 30 min. This study followed the Langmuir isotherm model well with regression coefficient of 0.9886 for BPAC@Fe3O4 and regression coefficient of 0.9764 for SSAC@Fe3O4. Kinetic observations showed that the adsorption behavior of BB41 per unit time followed the pseudo-second kinetic equation. Also, the high adsorption capacity of the adsorbents used in the present study indicates the quality of activated carbon prepared from banana peel and salvia seeds. Therefore, activated carbon can be very useful and efficient in removing pollutants from polluted environments and also its magnetization can be useful in carbon sequestration and not using filters and can be used as an economical and useful method.