Introduction

Anthropogenic release of antibiotics into the aquatic environment is of great concern due to their persistent nature and ability to alter ecological processes (Girardi et al. 2011; Zhang et al. 2024, Afzal et al. 2024). Most widely used antibiotics have already been proven genotoxic. Moreover, number of antibiotic resistant bacteria is increasing at an alarming rate, leading to an enhanced level of gene resistance (Carrales-Alvarado et al. 2014). Ciprofloxacin (CIP) ranks among the top ten pharmaceutical contaminants that disturb the aquatic environment (Ganesan et al. 2019). Moreover, it poses a high risk quotient (RQ > 1) to most sensitive aquatic organisms (Do and Stuckey 2019). The presence of antibiotics in aquatic systems poses a significant threat to human and environmental health. Their detrimental effects necessitate the development of efficient and sustainable methods for their removal, ultimately leading to the production of clean water (Shen, et al. 2023; Zhen et al. 2024).

Biochar, due to heterogeneous carboniferous material, plays its role in many environmental remediation, such as wastewater treatment, energy production and soil mitigation (Méndez-Díaz et al. 2010). It has been successfully used to remove organic pharmaceutical compounds and heavy metals (Qian et al. 2016) from aqueous solutions. However, bare biochar has the problem of difficulty in precise distribution of its particles when used on a large-scale plant and difficulty of its separation for regeneration after treatment.

Membrane filtration, a general way of treating wastewater in several industries worldwide due to its low manufacturing cost and large area, may be a potential solution for separation of organic pollutants from water (Yue et al. 2020). Polyether sulfone (PES), a polymeric material, is frequently used in synthesis of membranes due to excellent thermal and chemical resistance (Arkhangelsky, et al. 2007; Wang et al. 2018). But PES is hydrophobic in nature and polyvinylpyrrolidone (PVP) is added to increase the hydrophilicity of membrane because hydrophilic surface of membrane is advantageous in enhancing water permeate flux and to mitigate membrane fouling. Crucially, this study addresses the persistent challenge of membrane fouling, a major bottleneck in wastewater treatment. Conventional membranes are susceptible to fouling by organic contaminants, significantly reducing their filtration efficiency. However, this research leverages the unique properties of biochar. Its inherent surface functional groups, as highlighted by Sima et al. (2017), enhance membrane hydrophobicity, a key factor in mitigating fouling. By incorporating biochar into the membrane matrix, we propose a novel and potentially transformative strategy (win–win) for wastewater treatment. Moreover, conventional membranes offer filtration, they lack the ability to effectively remove pharmaceutical contaminants like ciprofloxacin. This limitation necessitates innovative solutions. Our study presents a groundbreaking approach using biochar incorporated mixed matrix membranes (MMMs). MMMs represent a paradigm shift in membrane technology, transcending the limitations of traditional membranes. By strategically incorporating biochar, a readily available, sustainable material, into the polymeric matrix, we create a novel system with dual functionalities: size-exclusion filtration from the membrane itself and enhanced adsorption from the biochar. This synergistic combination offers unparalleled potential for ciprofloxacin removal. Unlike conventional membranes that solely rely on filtration, our MMMs leverage the adsorptive properties of biochar to capture these contaminants more efficiently (Mukherjee et al. 2016). This research paves the way for a new generation of MMMs specifically designed to address the growing challenge of pharmaceutical residues in wastewater treatment. This approach not only addresses the critical issue of pharmaceutical removal but also offers a sustainable solution by utilizing a waste product (agricultural waste) as a functional component of the membrane. MMMs possess the advantageous dual functionality of both adsorption and filtration, occurring simultaneously within the membrane structure. This unique capability has led to demonstrably enhanced membrane performance compared to traditional membranes (Chu et al. 2017).

In this study, we fabricated MMM using controlled composition of PES, PVP and biochar with uniform loading for separation of CIP. Characterization analyses of prepared membranes were performed by Scanning electron microscopy (SEM), atomic force microscopy (AFM), contact angle measurement, Fourier-transform infrared attenuated total reflection (FTIR-ATR) and X-ray photoelectron spectroscopy (XPS). Main aims of this study were to construct biochar into membrane to minimize fouling and to enhance the separation efficiency. Determination of water flux and CIP removal was performed by using dead-end filtration assembly. Finally, membrane was regenerated for repeated removal of CIP.

Materials and methods

Materials

PES was purchased from Sigma Aldrich. Ciprofloxacin, tetracycline (TET), ceftriaxone sodium (CTA), chloramphenicol (CAP), PVP and dimethyl acetamide (DMAc > 98%), were purchased from Aladdin Chemicals Reagent Company (Shanghai, China). All substances were used without any refining. Biochar was prepared with the procedure mentioned in our previous studies (Afzal et al. 2019, 2018). Briefly, small pieces of peels of grapefruit were burnt in a muffle furnace at 450 °C for 15 min followed by grinding and sieving through 0.3 mm.

Preparation of biochar/PES membranes

Biochar-based PES membranes were prepared by a well-known thermal phase inversion (TPI) method. Specifically, four solutions were prepared in different beakers by dissolving 1.70 g PES and 0.1 g PVP in 8.72 mL of DMAc in each of beaker while continuous stirring at 60 °C until homogeneous solution was achieved. One of the above prepared solution was proceeded without any addition and the membrane prepared from this solution was named as M0. Whereas, in each of the remaining three PES solution, 1.70 g, 0.85 g and 0.425 g of biochar were added to make membranes of PES: biochar ratio of 1:1, 2:1 and 4:1, which were then named as M11, M21 and M41, respectively. Solutions were further stirred at 60°C for 24 h followed by venting in a vacuum oven at 50 °C for 4 h. The solutions were then shaped into membrane glass plates with a suitable applicator to maintain a uniform thickness of 150 µm. Casted solutions along with glass plates were instantly transferred to coagulation bath containing deionized water (DI) water. After peeling off the membranes from glass plates, they were transferred into DI water again for 24 h to remove any undissolved PVP.

Characterization of membranes

Surface and cross sessional morphologies of membranes, before filtration, were characterized with SEM (QUANTA FEG 250; FEI, Holland). For SEM cross sectional analysis, brittle fracturing of membranes was done with liquid nitrogen before capturing of SEM images. To evaluate the surface roughness and morphology of membranes, AFM (NanoManVS, UK) was used. Moreover, membranes, before and after filtration, were subjected to different characterization analyses. FTIR-ATR spectroscopic measurements (Perkin Elmer FTIR spectrometer (Frontier Optica)) to investigate the surface functional groups. Hydrophilic/hydrophobic properties were assessed by measuring water contact angle using DSA3OE Kruss Drop shape analyzer, (GmbH, Germany). XPS (PHYSICAL ELECTRONICS/PHI 5300, USA) was applied for materials surface characterization. Gravimetric method was used to measure porosity (ɛ) of membrane, as mentioned in Eq. 1 (Vatanpour et al. 2012).

$$\varepsilon = \frac{{\omega - \omega^{\prime}}}{A * l * dw}$$
(1)

where ω and ώ are weight of the wet and dried membranes; A is effective area of membrane (m2), dw denotes water density (0.998 g/cm3) and l is the membrane thickness (m).

Average pore radius (rm) was measured with the following Guerout–Elford–Ferry equation (Hamid et al. 2011).

$$r_{m} = \sqrt {\frac{{\left( {29 - 1.75\varepsilon } \right)8\eta lQ}}{\varepsilon A\Delta P}}$$
(2)

where η is viscosity of water (8.9 × 10−4 Pa.s); Q is volume of the permeate water per unit time (m3/s); ΔP is operational pressure (0.1 MPa).

Specific surface area (SSA) of the prepared membranes was calculated by applying following equation (Lowell et al. 2012).

$${\text{SSA}} = \frac{2*\varepsilon }{{r_{m} }}$$
(3)

where ɛ is porosity (%) and rm is pore radius (m).

Filtration experiments

To investigate the membrane’s filtration performance, a laboratory scale dead-end filtration set up was utilized, using a circular piece of membranes with effective area of 4.91 cm2. The dead-end filtration assembly consists of aeration tank connected to nitrogen gas cylinder on one end and to stirring cell on another end. Also, there is a filtrate collector, which is placed on an electric balance. To measure water flux, feed solution (DI water) was forced to pass through membrane by applying 0.1 MPa pressure of nitrogen gas for 30 min. Increase in weight of filtered water was used to calculate water flux J (L/m2h) using Eq. 4 (Ghaffar et al. 2018).

$$J = \frac{\Delta m}{{\rho *A*t}}$$
(4)

J represents water flux in L/m2h; Δm is weight of filtered water; ρ is water density (0.998 g/mL); A represents effective area of membrane (m2); t stands for time (h).

To check membrane efficiency for CIP removal, its solution of 10 mg/L was used as feed solution and forced to pass through membrane for 30 min. Then, absorbances of passed solutions were measured at a wavelength of 276 nm with UV/Vis spectrophotometer (UV5100, China). Removal efficiency (rejection) was calculated with following Eq. 5.

$$R \% = \frac{{C_{0} }}{{C_{e} }}*100$$
(5)

where C0 is pre-filtration concentration of ciprofloxacin (mg/L), and Ce is post filtration concentration of ciprofloxacin (mg/L).

Similarly, feed solutions of other three antibiotics, TET, CTA and CAP, at the same concentrations were also subjected to filtration, and their absorbances were measured at 360 nm, 240 nm, and 277 nm, respectively. To regenerate membrane, used membrane was put into 0.1 M HCl solution for 30 min to desorb ciprofloxacin for repeated filtration. At beginning of each measurement, either flux or pollutant filtration, membranes were cleaned via passing DI water under nitrogen pressure of 0.15 MPa for 30 min.

Results and discussion

Morphology and structure of membranes

PES/biochar membranes were fabricated by insertion of biochar into bulk PES solution. The colors of membranes became darker with increased ratio of biochar (Fig. 1a).

Fig. 1
figure 1

a Naked eye appearance of the prepared membranes; b SEM images of the prepared membranes; c Cross sectional SEM images of the prepared membranes

To get through the exact structures of membranes, membranes surface and their cross sections were investigated with SEM. The morphologies of prepared membranes signally changed with different ratio of biochar. As shown in Fig. 1b, more pores are generated with the increasing biochar ratio. The increased ration of biochar inclines to cumulate with each other, resulting in suppressed pores. Cross sectional images of prepared membranes clearly showed the spongy structure with invariant dispersion of biochar which ensures the physical strength of membranes and uniform distribution of flow through it. Thickness of membranes cross sections increased with increase in biochar ratio and membranes M21 and M11 were found to have longer pore channels and more abundant.

Roughness of membrane was examined with AFM, which was performed by scanning of 8 μm × 8 μm of membrane’s surface (Fig. 2). Dark areas exemplify membrane’s pore/valley and that of bright regions indicate the highest site of membrane’s surface. Several peaks on surface of M0 were detected, indicating the roughness of high degree, and the roughness decreased with the increasing ratio of biochar. Moreover, decrease in Ra value with increase in biochar ratio is another evidence of decrease in roughness. M0, M41, M21 and M11 had Ra values at 39.2, 25.0, 15.0 and 12.0, respectively. Smooth surface topography of membrane decreases its surface area, which leads to reduction in fouling of membrane and enhances its ability to remove contaminants (Li et al. 2018; Wu et al. 2020).

Fig. 2
figure 2

AFM images of the prepared membranes 100 µm

Properties of membranes

In Table 1, porosity and pore radius were increased with increasing biochar ratio, which in turn improved membrane’s permeability (Tiraferri et al. 2011). Porosity of the membranes were calculated to be 48.6% (M0), 51.6% (M41), 62.4% (M21) and 68.9% (M11). Whereas, pore radius was 90.61 nm (M0), 232.46 nm (M41), 248.07 nm (M21) and 266.96 nm (M11). Increase in pore radius increases water flux. As remaining parameters of Eq. 2 are kept constant, pore radius becomes directly proportional to square root of flux (Wang et al. 2013).

Table 1 Different characterization properties of the prepared membranes

Hydrophilic characteristics of prepared membranes were characterized by measuring water contact angle. As shown in Fig. 3, contact angle of M0 was 74.26, which continuously decreased upon increase in biochar content. M41, M21 and M11 had contact angles of 62.86, 45.84 and 31.05, respectively. This corresponds to increase in hydrophilic nature upon increase in biochar content and the successive improvement in hydrophilicity were 15.35%, 38.27% and 58.19%, respectively. It is because of the presence of functional groups on biochar’s surface such as -OH and -CH. These results indicate the excellent hydrophilicity of biochar.

Fig. 3
figure 3

Contact angles of the prepared membranes

Figure 4a displays the FTIR spectra from 1800 to 500 cm−1 for all the prepared membranes (M0, M41, M21 and M11). Peaks at 700 and 717 cm−1 are due to aromatic sulfone group present in PES, those at 835 and 871 could be assigned to C–O–C bond (Afzal et al. 2022a). Peaks at 1071 and 1103 cm−1 could be designated to C-O group and S = O group, respectively. Peak at 1297 cm−1 was attributed to asymmetric stretching of S = O bonds and symmetrical stretching vibrations of the same bond was observed at 1147 cm−1 (Huang et al. 2017). Peak at 1237 cm−1 represents the C–O–C stretching vibrations of PES backbone material (Hanafi et al. 2016). Peaks at 1485 and 1577 cm−1 were attributed to C = C bond (Rabiller-Baudry et al. 2015). PVP shows its presence in the form of peak at 1668 cm−1 which was due to C = O vibration of the PVP amide group (Fu and Zhang 2019). Whereas Fig. 4b shows FTIR spectra of M11 before and after filtration. It is evident from the FTIR analyses that membrane, after filtration, exhibited new peaks between 2400 and 1800 cm−1. According to Mao et al. (Mao et al. 2016), peaks in this region are indication of creation of bonds of C–C and C-N. It further indicates the chemical adsorption of CIP on membrane surface.

Fig. 4
figure 4

FTIR spectra of: a all the prepared membranes; b M1 before and after filtration

Performance of membranes

Performances of all four manufactured membranes were tested with water flux measurements and ciprofloxacin rejection using dead-end filtration system. As listed in Table 2, water flux of all prepared membranes was higher than that of their respective ciprofloxacin flux. It may be because of blockage of pores and engagement of functional groups on membrane’s surface by ciprofloxacin. Water flux of M0 was 434 LMH, which was increasing with biochar content i.e., M41, M21 and M11 had water flux of 518, 761 and 790, respectively. Increase in water flux with biochar content may possibly be due to hydrophilic nature of biochar, which allows its nanochannels to enter more water molecules, resulting in increase in water flux (Heiranian et al. 2015). Smooth surface of membranes, with increasing biochar content, can be another reason of high flux because of hydraulic resistance (Wang et al. 2017). Moreover, it is visible from Fig. 6a that decrease in water/CIP flux is negligible with passage of time, confirming the least fouling of membranes.

Table 2 Flux and rejection efficiencies of the prepared membranes

Figure 5 showcases the X-ray photoelectron spectroscopy (XPS) analysis of M11 membranes before and after filtration, providing compelling evidence of ciprofloxacin (CIP) removal through interaction with the membrane surface. The C1s core spectra reveal a critical shift after filtration. Prior to filtration, two dominant peaks were observed: one at 284.53 eV corresponding to C–C, C = C (aromatic and aliphatic carbons), and another at 285.54 eV indicative of C–O–C bonds. However, following filtration, a new peak emerges at 286.86 eV, which can be attributed to O–C = O bonds. This newly formed peak signifies the interaction between CIP and the carbonyl groups present on the membrane surface, potentially through hydrogen bonding or other mechanisms. Similarly, the N1s core spectra corroborate this interaction. The pre-filtration spectra exhibit two peaks at 399.48 eV and 399.95 eV, corresponding to N–C = O and C-NH2 bonds, respectively. Interestingly, after filtration, a new peak appears at 398.93 eV, indicative of N–H bonds. The presence of this new peak suggests the formation of new bonds between the nitrogen atom in CIP and functional groups on the membrane surface, likely involving amine groups. In essence, the creation of these new peaks in both C1s and N1s spectra provides strong evidence of chemical interaction between CIP and the functional groups present on the M11 membrane surface. Our previous study (Afzal et al. 2019) also exhibited the similar phenomenon. So, this XPS analysis reinforces the effectiveness of the biochar incorporated MMMs in removing ciprofloxacin from water through a combination of adsorption and filtration mechanisms.

Fig. 5
figure 5

C 1 s core spectra of M11: a before filtration; b after filtration; N 1 s core spectra of M11: c before filtration; d after filtration

As mentioned in Fig. 6, rejection of ciprofloxacin significantly improved with increase in biochar content. M11 had the highest rejection of 95.19% which was substantially higher than 77.92% (M21), 25.76% (M41) and 10.27% (M0). It may be due to superior adsorption behavior of biochar. The increase in membrane hydrophilicity by biochar also enhances the membrane’s wettability (Zhao et al. 2013; Wang et al. 2019), which creates more opportunities for ciprofloxacin collision with surface of membrane. Therefore, a membrane with higher biochar content can adsorb more ciprofloxacin leading to more rejection than that of with low or zero biochar content.

Fig. 6
figure 6

a Water and ciprofloxacin flux; b removal efficiencies of all the membranes for ciprofloxacin; c removal efficiency of M11 for different antibiotics; d removal efficiency of M11 after different regeneration cycles

Along with ciprofloxacin, three other antibiotics, TET, CTA, and CAP, were filtered through M11, and their rejection was monitored. M11 also showed great interaction with these antibiotics, and rejection of these antibiotics was quite enough i.e., 82.39% (TET), 88.61% (CTA) and 57.63% (CAP). These result suggest that M11 can be used for the removal of wide range of antibiotics. Overall, biochar was helpful in constructing porous membranes of smooth surface topography, increased pore radii, and increased hydrophilicity. It in turn increased the efficiencies of membranes in terms of increased flux and more rejection ability for CIP confirmed with different characterization analyses. Building upon previous research, the data presented in Table 3 indicate that M11 exhibits superior rejection efficiency for contaminants of emerging concern specifically for CIP. This observation further strengthens the notion that M11 possesses exceptional capabilities for the removal of CIP and other organic micro-pollutants.

Table 3 Comparison of the rejection efficiency of the prepared membrane with previously reported studies about antibiotics removal

Filtration mechanism

Our analysis of the data helped us identify the most likely way the filtration mechanism, which can be described as below:

Size exclusion

The Ra value of 12.0 nm suggests a relatively smooth membrane surface. This allows for size-based separation. Moreover, pore size falls within the typical range for ultrafiltration membranes, which can effectively reject larger particles like bacteria, viruses, and some macromolecules, while allowing water to pass through. Also, porosity of 68.9% is a high value, meaning a significant portion of the membrane volume is occupied by pores. This allows for a larger volume of water to pass through the membrane.

Adsorption

Biochar, incorporated into the membrane, is known for its high adsorption capacity. When ciprofloxacin comes in contact with the biochar within the membrane, it can get adsorbed onto the biochar's surface through various mechanisms like electrostatic interactions, π-π interactions, or hydrogen bonding (Afzal et al. 2022b). This phenomenon contributes to ciprofloxacin rejection.

Hydrophilicity

The low contact angle of 31.05° indicates a highly hydrophilic membrane. This means the membrane surface has a strong affinity for water. As water molecules preferentially interact with the membrane surface, they form a hydration layer that hinders the passage of hydrophobic contaminants like ciprofloxacin. This creates a repulsive force between the membrane and the contaminant, further enhancing rejection. Also, porosity of 68.9% is a high value, meaning a significant portion of the membrane volume is occupied by pores. This allows for a larger volume of water to pass through the membrane.

Regeneration of membrane

Regeneration experiments were performed to check the sustainability of M11 and its economic value. It was done by desorbing, which is a utile to regenerate used membranes (Huang et al. 2016). Membrane was suspended in 0.1 M HCl for 30 min to detach ciprofloxacin from it before using it again for ciprofloxacin rejection. We executed four rejection/desorption cycles during which the rejection efficiency of membrane decreased in each of the successive cycle which may be owing to the decline in strength of different functional groups and pores on membrane’s surface. While the regeneration experiments achieved a rejection efficiency of over 57% even in the 4th cycle, indicating promising reusability of M11, further optimization might be necessary to maximize its regeneration potential for extended lifespans. Nonetheless, compared to single-use membranes, M11 offers a more sustainable and potentially economical solution for ciprofloxacin removal from water.

Conclusion

In this study, we prepared 4 different membranes (M0, M41, M21 and M11) via mixing different ratios of biochar in PES and PVP for filtration of ciprofloxacin from water. M11 was found to be more acceptable as it has highest water/ciprofloxacin flux (790/595), highest porosity (68.9), least contact angle (31.05) and least roughness (12.0). Ciprofloxacin rejection by M11 was 95.19%. It also showed good rejection for 3 other antibiotics i.e., TET (82.39%), CTA (88.61%) and CAP (57.63%). Removal capability of M11 was confirmed with FTIR and XPS analyses in which some new peaks were observed. M11 was also regenerated 4 times and it showed removal efficiency of more than 57% in last cycle. These results proved M11, a sustainable and economical for filtration of ciprofloxacin from water. Hence, this study reveals the effectiveness of biochar in enhancing hydrophilic nature of membranes. The influence of real wastewater composition, particularly the presence of diverse organic matter, on membrane fouling and long-term performance necessitates further investigation. Additionally, optimization of biochar incorporation ratios and exploration of biochar derived from various feedstock hold promise for enhanced membrane performance and broader applicability across a wider range of contaminants.