Introduction

With the fast development of social economy and rapid urbanization, large amounts of sewage sludge (SL) are generated in municipal sewage plants. In 2016, around 13 million tons (dry weight) of SL were produced in China, and its amount is predicted to continuously increase with an annual rate of approximately 10% over a 10-year period (Jin et al. 2017). Therefore, SL remains a great concern due to its abundance of contamination, including heavy metals (HMs), microorganisms, and hazardous organic substances (Fytili and Zabaniotou 2008). How to safely treat SL and utilize its byproduct is becoming an impending problem. Pyrolysis is a thermal degradation process within an inert atmosphere, which has been proved to be an effective strategy for SL treatment with generation of sewage sludge biochar (SLC), biogas, and oil (Frišták et al. 2018). The organic pollutants, e.g., pathogens and antibiotics, could be degraded thoroughly, and the leaching concentrations of HMs can be also reduced (Dou et al. 2017; Wang et al. 2016).

In addition, antibiotics residues in aqueous environment have caused many serious environmental problems in recent years. Ciprofloxacin (CIP), a second-generation quinolone, has been frequently detected in aquatic environment, including ground, surface, and even drinking water, due to its chemical stability and ability for bacteria inhabitation (Mao et al. 2016). It is reported that CIP concentration in waste water reaches 31 mg/L, and this value is even higher in wastewater stream of drug plants (Zhang et al. 2017). CIP does harm to human health due to emerging and acute genotoxicity (Espinosa et al. 2015; Li et al. 2014). Researchers have explored many methods, including adsorption, oxidation, and photolytic/photocatalytic and biological treatment, to eliminate CIP from contaminated water (Liao et al. 2016; Tu et al. 2014; Zhang et al. 2017). Among these approaches, adsorption is one of the most promising technologies for its high efficiency and simple operation (Zhu et al. 2015).

SLC could be a potential low-cost adsorbent for CIP removal due to its specific physicochemical properties owing to its rich functional groups, developed micropores and mesopores, and some special metal elements (Li et al. 2015a; Ren et al. 2018). Our previous study has found that a catalyst prepared from the SLC facilitated a CIP adsorption ability (Li et al. 2019). Another previous research in our group has proved that CIP molecules could be easily attracted by a biochar surface with various functional groups (Li et al. 2018). Besides, it has been reported that 66.70% of CIP was removed by a biochar prepared from sludge as humic acid increased the degradation ability of •OH, while its removal performance could be further improved (Luo et al. 2019). One feasible approach to improve adsorption ability of biochar is optimizing its physicochemical properties, e.g., pore structure, functional groups, and elements components by co-pyrolysis with other additives (Fan et al. 2016; Thines et al. 2017; Zhao et al. 2018). Authors stated that co-pyrolysis of SL and other biomasses can adjust microstructure and compositions of biochar, especially the contents of C, H, N, and organic matter (Huang et al. 2017; Jin et al. 2017), which might elevate the adsorption ability of CIP. Moreover, previous studies reported that pyrolysis or hydrothermal treatment of sludge with other additives could minimize the environmental risks from metals (Jin et al. 2017; Xie et al. 2019). As far as we know, previous research has investigated little about CIP adsorption by sewage sludge biochar, much less by the biochar derived from co-pyrolysis of SL and BW.

For this study, the bamboo waste (BW) with high organic matter content was chosen as biomass addictive to co-pyrolyze with SL. Two significant benefits may be obtained from the co-pyrolysis of SL with BW. First, much more biogas and biooil can be produced after the BW addition due to its high content of organic components. These biofuels can be used for energy supply in the co-pyrolysis process to save extra energy and avoid carbon emission. Second, the characteristics of biochar from the co-pyrolysis will be improved, e.g., enrichment of the surface functional groups and decrease of the HM contents in biochar, which can extent the application of sludge-based biochar and make a contribution on solving the terminal utilization problem of sludge treatment byproduct. In this work, biochar samples from single SL and mixture of SL and BW were prepared via pyrolysis to obtain a low-cost and safe adsorbent with high CIP adsorption ability, and they were characterized on the adsorption performance of CIP from aqueous solution. Furthermore, the kinetics and isotherms of CIP adsorption were investigated and the possible adsorption mechanism was according to the characterization analysis of biochar. In addition, the speciation, leaching behavior, and potential ecological risk from HMs were analyzed to evaluate its potential of utilization.

Materials and methods

Raw materials and biochar preparation

CIP with analytical standard was obtained in Aladdin Industrial Corporation which is located in Shanghai, China. Other analytical-grade chemicals were purchased from Sinopharm Chemical Reagent Co., Ltd., China. SL was taken from a sewage plant located in in Xiamen City, Fujian province. BW was collected from the same city and ground to less than 150 μm after being dried in an oven at 105 °C for 24 h. As can be seen in Table 1, the proximate and ultimate analysis of raw materials, i.e., SL and BW, were analyzed before experiments.

Table 1 Proximate and ultimate analysis of SL and BW

SL and mixture of SL and BW (mass ratio of 4: 1) were introduced into a pyrolysis reactor to prepare biochar. Pyrolysis was conducted in a vertical tubular furnace at 700 °C with a ramp rate of 10 °C/min within nitrogen atmosphere for 30 min. These operational parameters were chosen from our previous work which found that the ratio and processing conditions have a positive effect on the immobilization of heavy metals in sludge and porous structure of biochar (Wang et al. 2019a, b, c). After pyrolysis finished, SL-based biochar (SLC) and BW-sludge-based biochar (SBC) were collected to keep in a desiccator for subsequent experiments.

Adsorption experiments

According to our previous work (Li et al. 2018), the two types of biochar were weighed as 0.25 g and added into 100 mL of CIP solutions, and then batch adsorption experiments were conducted under conditions of pH of 6.0 and temperature of 30 °C, respectively. The CIP solution was put into sealed flasks which were placed in a shading shaker with a speed of 200 rpm for 24 h. For the adsorption kinetic study, the 10 mg/L CIP solution was used, and samples were withdrawn at interval times (0 h, 1 h, 2 h, 5 h, 8 h, 12 h, 24 h) during 24 h with a small volume of 0.5 mL each time. For the equilibrium adsorption isotherm, five different initial concentrations (5, 10, 20, 50, 100, and 200 mg/L) were selected with the contact time of 24 h. The batch experiments were conducted in triplicate. The CIP concentration of the solution sample taken from the flasks was detected by the high-performance liquid chromatography (HPLC, Hitachi L-2000, Japan) after filtered through a 0.45-μm membrane. The details of the detected conditions and method have been reported in our previous study (Pan et al. 2018).

The amount of CIP adsorption and its removal percentage were computed via Eqs. (1)–(3), respectively (Hairuddin et al. 2019).

$$ {q}_t=\frac{C_0-{C}_t}{M}\cdotp V $$
(1)
$$ {q}_e=\frac{C_0-{C}_e}{M}\cdotp V $$
(2)
$$ \mathrm{RP}=\frac{C_0-{C}_e}{C_0}\cdotp 100 $$
(3)

where the qt (mg/g) represents the amount of CIP adsorbed by biochar at contact time of t (h); qe (mg/g) means the amount of CIP adsorption at equilibrium; C0 (mg/L) represents the initial concentration of CIP; Ct is the CIP concentration at contact time of t; Ce (mg/L) is the CIP concentration after reaching adsorption equilibrium; V (L) means the volume of CIP solution; M (g) is biochar mass added in the solution; and RP (%) is the removal percentage of CIP from the solution.

Adsorption kinetic analysis

In order to understand the adsorption process, three adsorption kinetic models were analyzed. Besides, the normalized standard deviation (Δq) was employed to quantitatively compare the applicability of the model in fitting the data. A lower value of Δq (%) indicates a better fit of the kinetic models (Nasuha et al. 2010).

Pseudo-first-order model:

$$ {q}_t={q}_e\left(1-{e}^{-{k}_1t}\right) $$
(4)

Pseudo-second-order model:

$$ {q}_t=\frac{q_e^2{tk}_2}{1+{k}_2{q}_et} $$
(5)

Intra-particle diffusion model:

$$ {q}_t={k}_{\mathrm{id}}{t}^{1/2}+C $$
(6)

Normalized standard deviation:

$$ \varDelta q=100\times \sqrt{\frac{\sum {\left[\left({q}_{t,\exp }-{q}_{t,\mathrm{cal}}\right)/{q}_{t,\exp}\right]}^2}{n-1}} $$
(7)

where qt (mg/g) and qe (mg/g) are the amounts of CIP adsorbed by biochar at contact time and equilibrium, respectively; k1 (h−1), k2 (g/(mg h)), and kid (mg/g h−1/2) are the rate constants of pseudo-first-order, second-order, and intra-particle model, respectively; C is the boundary layer thickness; qt,exp represents the experimental data; qt,cal (mg/g) is the values calculated from kinetic models at contact time of t; n is the number of total data samples.

Adsorption isotherm analysis

To evaluate the CIP-biochar interaction at adsorption equilibrium state, typical adsorption isotherm models, including Langmuir, Freundlich, and Redlich–Peterson models with nonlinear forms, were investigated (Karri et al. 2017; Tran et al. 2017b), as seen in Eqs. (811):

Langmuir isotherm equation:

$$ {q}_e=\frac{q_{\mathrm{max}}{K}_{\mathrm{L}}{C}_e}{1+{K}_{\mathrm{L}}{C}_e} $$
(8)
$$ {R}_L=\frac{1}{1+{K}_{\mathrm{L}}{C}_0} $$
(9)

Freundlich isotherm equation:

$$ {q}_t={K}_{\mathrm{F}}\ {C}_e^n $$
(10)

Redlich–Peterson equation:

$$ {q}_e=\frac{K_{\mathrm{RP}}{C}_e}{1+{a}_{\mathrm{RP}}{C}_e^g} $$
(11)

where qmax (mg/g) indicates the theoretical maximum of adsorption amount; RL is a parameter of dimensionless; C0 (mg/L) and Ce (mg/L) are the initial and equilibrium concentrations of CIP; KL and KF are the constants in Langmuir and Freundlich models; n represents an indicator of magnitude of the adsorption driving force or surface heterogeneity; and KRP (L/g) and ARP (mg/L)g are the constants of Redlich–Peterson, and g (dimensionless) is its exponent with a value between 0 and 1.

Characterization of biochar

The proximate analyses including moistures of sludge and bamboo waste were conducted according to Chinese government standard (GB/T 2873-2012: Proximate analysis of solid biofuels). Ultimate analysis of raw and biochar samples was conducted by Vario MAX (Elementar Analysensysteme GmbH, Germany). The values of H/C, O/C, and (O + N)/C ratios were further calculated from the ultimate. The pore structure of biochar including pore-size and specific surface areas (calculated by Brunauer-Emmett-Teller (BET) method) was analyzed based on the N2 adsorption/desorption isotherms in a volumetric system (Micromeritics ASAP 2020 M+C, USA). Scanning electron microscopy (SEM, Hitachi S-4800, Japan) was carried out for the morphology of SLC and SBC, and X-ray photoelectron spectroscopy (XPS, ThermoFisher Scientific XLESCALAB250Xi, UK) was employed to analyze its surface chemical states.

Results and discussion

Biochar characterization

Ultimate analysis of biochar

From the ultimate analysis of biochar (Table 2), it was found that adding bamboo into sludge could elevate C contents of biochar. The SBC had a higher total carbon content of 22.70% compared with SLC (15.55%), due to the high contents of C in BW. Furthermore, aromaticity, hydrophilia, and polarity of biochar can be analyzed based on the values of O/C, H/C, and (O+N)/C ratios, respectively (Agrafioti et al. 2014). As shown in Table 2, the H/C values of the two biochar were extremely low, which implied that the biochar was almost completely carbonized with high aromaticity produced (Han et al. 2016). Furthermore, both of the two biochar samples possessed a low H/C ratio and high (O+N)/C, suggesting their high carbonization and polarity. Compared with SLC, O/C ratios of SBC were much lower, which implied that the hydrophilicity of SBC may be lowered to some extent after co-pyrolysis with BW.

Table 2 Ultimate analysis of biochar samples (wt.%, d)

Porous structure and micrographs analysis of biochar

According to the results of porous structure analysis (Fig. 1), both of the two types of biochar had a type H3 hysteresis loop, which indicated that biochar obtained from co-pyrolysis had a slit-like mesoporous structure due to the generation of plate-like particles in the pyrolysis (Thommes et al. 2015; You et al. 2017). The pore structure analysis results of biochar are shown in Table 3. The BET surface area (47.48 m2/g) of SBC was much higher than that of SLC (25.68 m2/g). This result implied that addition of BW could enhance the BET surface of sludge-based biochar significantly. However, the average pore size was decreased after the adding of BW in the SL pyrolysis. The reason may be that main C–C bonds of BW were cracked, and then, short-chain products reacted with the functional groups of SL and fill in the pores of SBC during co-pyrolysis (Miskolczi and Nagy 2012).

Fig. 1
figure 1

Nitrogen adsorption-desorption isotherms and pore distribution of SLC (a) and SBC (b)

Table 3 Pore structure analysis of biochar

Figure 2 presents the SEM micrographs of SLC and SBC. SLC was made up of many blocks with various shapes, including rod-like, atactic and stratified structures. In addition, there were some slit pores distributed irregularity due to the blocks’ stacking in SLC, while many spherical particles appeared and attached on the blocky structure in SBC after the co-pyrolysis of SL with BW. Besides, the blocks became smaller and the slit pores were narrower compared with SLC. This may be the reason why SBC obtained a higher specific surface area than that of SLC. This result of the SEM micrograph analysis was consistent with that of the porous structure analysis.

Fig. 2
figure 2

SEM micrographs of SLC (a) and SBC (b)

Surface species analysis of biochar

The characteristics of C 1s and Fe 2p for SLC and SBC were determined by XPS. As shown in Fig. 3 and Table 4, the peaks of both the SLC and SBC can be separated into four identical peaks that appeared at 284.34 (or 284.35), 284.75 (or 284.73), 285.2, and 286.35 eV, respectively. The peaks at 284.34 (or 284.35) and 284.75 (or 284.73) indicated the existence of C–C, aromatic C–H, and aliphatic hydrocarbons (Shen et al. 2017). The peak position located at 285.20 eV corresponds to C=O or C–O–C groups, and the functional groups of C–OH or C≡N was also proven to exist according to the peak at 286.35 eV (Dementjev et al. 2000; Jiang et al. 2013; Shen et al. 2017). However, all the peak contents in SBC were higher than those in SLC except the peak at 284.35 eV. Fe species in the biochar was also detected due to its high content in SL (Li et al. 2017a). Literature reported that the biochar modified by Fe possessed high adsorption ability owing to strong interaction of Fe species and adsorbate in solution from the electrostatic reaction and metal precipitation (He et al. 2012). Our previous study also found that biochar-based catalyst with rich Fe species equipped both adsorption and catalytic degradation ability of CIP (Li et al. 2017a). Hence, the characteristics of Fe species in biochar were analyzed via XPS for further understanding of the CIP adsorption mechanism on sludge-based biochar. As shown in Fig. 3, two peaks of Fe species (Fe 2p3/2 and Fe 2p1/2) were detected in the two types of biochar. Both of the Fe 2p3/2 peaks were stronger and narrower than the peaks of Fe 2p1/2. It was reported that the stronger Fe 2p3/2 peaks in biochar were generated from spin–orbit (j–j) coupling (Grosvenor et al. 2004). Moreover, the shapes of the two peaks were quite close to those of Fe3O4, indicating that both Fe2+ and Fe3+ existed in sludge-based biochar (Yamashita and Hayes 2008). In details, the peaks were deconvoluted into two peaks of Fe2+ and Fe3+ according to their peak positions reported in the literature (Grosvenor et al. 2004). Comparing the two biochar, they possessed the same split peak, while the relative contents of Fe 2p3/2 peak for Fe3+ at 714.60 eV and the satellite for Fe2+ at 711.20 eV appeared in SBC were much higher than that in SLC.

Fig. 3
figure 3

C 1s (a) and Fe 2p (b) XPS spectra of SLC and SBC

Table 4 The relative content of functional groups in biochar detected by XPS

Adsorption of CIP by biochar

Adsorption kinetics studies

The CIP solution samples were taken at different adsorption times to analyze the change of CIP concentration during the biochar adsorption process. As can be seen in Fig. 4a, the Ct declined with a fast speed at the beginning of 2 h, and then the reduction rate of CIP concentration became slow. The plateaued state reached under condition of adsorption time of more than 12 h. The rapid adsorption rate at the beginning was probably due to the high difference of CIP concentration between the solution and surface of the biochar containing large amounts of free active sites from the function species (Chang et al. 2014; Cheung et al. 2007; Yamashita and Hayes 2008). In addition, the value of removal percentage (RP), obtained by SBC adsorption, was 95% which increased by 8% compared with RP of SLC. Furthermore, fitting results of three adsorption kinetic models based on the data of CIP concentration at different times are demonstrated in Fig. 4b, c and Table 5. The value of R2 from the pseudo-second-order model fitting was 0.99 which was much higher than that of the pseudo-first-order. This showed that CIP adsorption onto biochar was well fitted by using pseudo-second-order kinetic model, revealing that CIP adsorption by sludge-based biochar was a chemical adsorption process, and the number of free active sites on the surface of biochar was significantly related to its adsorption capacity (Li et al. 2015b). The rate constants of the second-order model (k2) of SLC and SBC were 0.67 and 0.63, implying a fast CIP adsorption rate onto the biochar (Ahmad et al. 2012).

Fig. 4
figure 4

Kinetic studies for the adsorption of CIP by biochar: Time effect (a), pseudo-first (b), pseudo-second (c), intra-particle diffusion (d)

Table 5 Kinetic parameters for the adsorption of CIP by biochar

Literature has reported that absorbing rate is mainly controlled by intra-particle or boundary layer diffusion, or both of them (Sun et al. 2016). In this work, the adsorption process of biochar could be separated into three linear portions within the whole adsorption time based on the intra-particle diffusion model analysis (Fig. 4d). The first sharper portions indicated fast diffusion of CIP molecules to outer surface of the biochar. The second portions with smaller slopes described gradual penetration of CIP molecules into micropores and mesopores of the biochar due to greater resistance that occurred. In this case, the slope of the second portion in the SBC adsorption process was much greater, suggesting a lower resistance or stronger adsorption ability for CIP, compared with SLC. The third portions suggested that the state of CIP adsorption approached to equilibrium. Another notable result was that the first linear portion did not pass through the origin point, which indicated that the adsorption process was mainly limited by both boundary layer and intra-particle diffusion (rate-controlling steps). This meant the adsorption process in our experiments was not only related to the mass transfer of CIP but also to the diffusion in the internal pore and on the surface of biochar. For the behaviors and kinetics of mass transfer of CIP adsorption, it will be further investigated using the mass transfer kinetics in our future work, which will be of benefit to better understand the adsorption mechanism (Fulazzaky 2011; Fulazzaky et al. 2013, 2017).

Adsorption isotherm studies

Figure 5a presents the CIP adsorption capability of biochar under the condition of different initial concentrations. The qe elevated gradually with elevation of initial CIP concentrations due to increasing of driving force from the concentration gradient. This driving force was able to conquer the resistance and obstruction from the CIP diffusion between the solution and solid phases of biochar (Srivastava et al. 2006). For the RP of CIP by biochar, there were different trends for CIP adsorption on the biochar with a rising of the initial CIP concentration. The RP of SLC kept at high values (90%) at the range of initial CIP concentration from 5 to 10 mg/L due to their adequate active sites. However, the RP of SBC first increased and then decreased with the initial CIP concentration increasing, and the maximum RP was 95% under the condition of initial CIP concentration of 10 mg/L. With the initial CIP concentration elevating continuously from 10 to 200 mg/L, the RP of the two types of biochar decreased significantly due to finite functional groups and active sites on the surface of biochar.

Fig. 5
figure 5

Adsorption isotherm for the adsorption of CIP by biochar: Initial CIP concentration effect (a), Langmuir model fitting (b), Freundlich model fitting (c), and Redlich–Peterson model fitting (d)

In addition, three adsorption isotherm models were employed to explore the adsorption process of biochar under different initial CIP concentrations (Fig. 5). The model fitting results including regression coefficients (R2) and other constants of adsorption isotherm models are shown in Table 6. The R2 of fitting with Langmuir isotherm was 0.92 and 0.91 for the CIP onto SLC and SBC, and the maximum adsorption capacity could be obtained after fitting. The maximum adsorption capacities of SLC and SBC for CIP adsorption were 46.20 and 62.48 mg/g which were higher than those of many other biochar prepared from different feedstocks (Table 7). Besides, the Freundlich model exhibited a better fit (R2 = 0.99) for CIP adsorption by the two types of biochar compared with Langmuir. It can be inferred that the surface of biochar was heterogeneous, on which the CIP molecules were adsorbed with multilayer (Foo and Hameed 2010). Moreover, KF is an indication of the adsorbent capacity and n is an index of the adsorption intensity and surface heterogeneity. 1 > n > 0 in this work indicated that the adsorption intensity and surface heterogeneity were moderate (Haghseresht and Lu 1998). Comparing the two types of biochar, the higher KF of SBC indicated a higher CIP capacity, which agreed with the result of the Langmuir model. Moreover, the Redlich–Peterson model was further investigated, because it includes the features of both Langmuir and Freundlich. The Redlich–Peterson equation becomes the Langmuir equation with g = 1, and it will transform into the Freundlich isotherm when KRP and aKP ≫ 1 and g = 1. In this work, the fitting result showed that KRP and aKP ≫ 1, while g was not equal to 1. This may further indicate that the CIP adsorption process approached the Freundlich isotherm (Tran et al. 2017b).

Table 6 Isotherm parameters for CIP adsorption by different biochar
Table 7 Comparison of the maximum adsorption capacity and model fitting performance of biochar in this work and literatures

Adsorption mechanism

From the above analysis of the characteristics of the two biochar, although the was a significant difference in O/C ratios (a hydrophilicity index), micrographs, and pore structures (much higher BET surface area and smaller pore size for SBC) between the two biochar, the CIP adsorption ability of SBC exhibited slight elevation (8%). The results indicated that the hydrophilicity and pore structure of sludge-based biochar probably were not the dominated factors for the CIP adsorption in the range of this study. This result was consistent with what concluded in our previous study on the investigation of CIP adsorption on waste tea–based biochar (UTC). It was found that the UTC with a low BET surface area (8.06 m2/g) still facilitated a good CIP adsorption ability (Li et al. 2018).

Another notable result was that both of the two biochar obtained an outstanding CIP adsorption. According to the XPS analysis, C–C and C–H were detected, indicating that there were alkanes or aromatic rings existing in the biochar. Therefore, the π-π donor-acceptor interactions between the aromatic structure of biochar and CIP molecules may proceed during the adsorption process (Jin et al. 2015; Tran et al. 2017a; Yang et al. 2019). Besides, both biochar owned variety of other functional groups, including C=O, C–O–C, C–N, C=N, C–OH, and C≡N. These functional groups may form an H–bond with moieties (–COOH, –NH–, –F) of CIP molecules, which would contribute to a higher CIP adsorption ability (Yang et al. 2012). More importantly, the ion exchange may happen in the adsorbing process. The piperazine rings of CIP molecules were positively charged (–NH2+–) in neutral or faintly acid solution, and the CIP+ may be attracted by the polar and alkaline surface of biochar with H+ releasing (Fan et al. 2016). Besides, complexation effect of Fe species with CIP molecules may be another removal mechanism. The Fe species probably produce hydrous oxide on the surface of biochar, and one O of the carboxylate group in CIP molecule will bind with the hydrous oxide surface easily. The reason may be that CIP molecule tends to form a six-membered ring with an Fe atom through one O of carboxylate group and keto O (Gu and Karthikeyan 2005). The high content of Fe2+ on the SBC surface may enhance the complexation reaction and then result in a higher adsorption.

Heavy metal risk analysis

Literature reported that most of HMs were enriched in the sludge biochar obtained from pyrolysis (Wang et al. 2016). In order to evaluate the potential risks for biochar utilization, HM (Zn, Cr, Ni, As, and Cd) speciation was investigated (Fig. 6), as well as other characteristics including the total concentration (Table S1), leaching toxicity (Table S2), and ecological risks assessment (Table S3) of SL, SLC, and SBC. Figure 6 shows that F4 of all the HMs in SLC and SBC increased significantly after pyrolysis compared with SL. Furthermore, compared with the SLC, the F4 (residual fraction) content of Cr increased dramatically in SBC. A F4 percentage of over 95% of Cr was obtained in SBC, which was 40% higher than that in SLC. For Cd and As, F4 content of STC was much higher than that of SL and reduced further after co-pyrolysis with BW. However, the chemical speciation of Zn and Ni had little distinction by comparison of SLC with SBC, while their F4 speciation increased significantly after pyrolysis. The above result suggested that the HMs, especially the Cr, Cd, and As, were well immobilized through the co-pyrolysis of SL with BW. As for the leaching toxicity, the leached amount of the HMs in biochar was found to be much lower than that in SL, and the leaching concentrations of HMs in biochar were within the threshold prescribed by GB 5085.3-2007 (Table S1). On the other hand, according to the indices of RI in Table S3, it can be found that the values of RI are in the order of SL > SLC > SBC, and the RI of SBC was close to 50, indicating a low ecological risk in the environment. The above results implied that the SBC possessed a good CIP adsorption ability, and its ecological risk is low when used in the environment.

Fig. 6
figure 6

Distributions of HM speciation in SL, SLC, and SBC (F1, acid-soluble/exchangeable fraction; F2, reducible fraction; F3, oxidizable fraction; F4, residual fraction)

Conclusions

The biochar obtained from co-pyrolysis of SL and BW was used for ciprofloxacin adsorption. The results confirmed that BW was an outstanding addictive to prepare co-pyrolysis biochar for CIP adsorption and HM immobilization. Ninety-five percent of the CIP was removed from aqueous solutions by SBC with the maximum adsorption capacity of 62.48 mg/g, and the immobilization of Cr, Cd, and As was enhanced in SBC. Moreover, the pseudo-second-order and Freundlich model exhibited better fitting for CIP adsorption onto sludge-based biochar, indicating that this process was involved in chemical and multilayer adsorption. Moreover, the functional groups and Fe species on the biochar surface probably dominated the CIP adsorption; and the π-π interaction, H–bond, ion exchange, and Fe-complexation may happen between the interaction of these functional species and CIP molecules. This work suggests that it is feasible to utilize the sludge-based biochar, especially the co-pyrolyzed SBC, as a potential adsorbent for CIP adsorption from aqueous solutions.