Introduction

The significant increase in water consumption following the improvement of the living standards of the rural residents in China has resulted in the generation of large quantities of rural sewage (Bi and Guo 2020). The obsolete rural sewage treatment technology and facilities and low sewage treatment rate, have resulted in a sizable proportion of untreated wastewater being directly disposed of into the environment, thereby causing considerable phosphorus leakage to the environment. Excess phosphorus in water bodies causes ecological damage and leads to eutrophication (Zou and Wang 2016). The inhibition of exogenous phosphorus discharging into water bodies is a potential solution to this problem and a relatively sustainable management strategy (Kong et al. 2019).

At present, chemical (Yang et al. 2010), biological (Park et al. 2009), and iron-carbon methods are the commonly used techniques for phosphorus removal. Chemical phosphorus removal entails the addition of metal salts (such as aluminum, iron, calcium, and magnesium) to phosphorus-containing wastewater; these elements react with phosphate to form precipitates that separate from the water (Guo et al. 2014). Chemical methods have been widely used for phosphate removal. However, owing to the extensive consumption of chemicals and difficulties in treating chemical sludge, biological methods have been strongly promoted and applied (Barat et al. 2011; Tang et al. 2012). Biological phosphorus removal entails the use of polyphosphate-accumulating organisms to remove phosphate from wastewater (Ramasahayam et al. 2014) and convert it into sludge in the form of intracellular polyphosphate. Biological methods have been extensively applied in the removal of phosphorus from wastewater because they are remarkably economical and non-toxic. However, these biological methods barely meet the requirements of the increasingly stringent laws (Ren et al. 2020). In contrast, iron-carbon methods have the advantages of simple operation, low cost, and environmental friendliness, and are considered promising technologies for phosphorus removal.

The iron-carbon method is also referred to as iron-carbon micro-electrolysis (IC-ME), and is used for phosphorus removal from wastewater; this method is based on electrochemistry, redox, adsorption, and flocculation (Zhao et al. 2020). Recently, IC-ME has been widely used in phosphorus wastewater treatment. Zhou et al. (Zhou et al. 2014) applied IC-ME technology to degrade and remove phosphates from discharged circulating cooling water, and indicated that the technique was effective for phosphorus removal. During the IC-ME process, a nascent iron floc was generated, which may contribute to phosphorus precipitation in wastewater (Zhu et al. 2014). A phosphorus removal rate of 88% was achieved under optimized reaction conditions using the orthogonal tests of the IC-ME system. However, the traditional IC-ME process fails to meet the specified emission standards, especially when hardening occurs during long-term operation (Zhang et al. 2018).

The filler in the IC-ME system, which affects the number of active sites and mass transfer efficiency, plays a key role in the removal of phosphorus. The pollutant removal performance of binary IC-ME fillers can be significantly improved by compositing with metal (Li et al. 2021b). Li et al. (Li et al. 2017) have noted that solid metal oxides such as magnesium oxide and calcium oxide can be used as kinks for metal sources. Magnesium oxide and calcium oxide are inexpensive, non-toxic alkaline earth metal oxides with a strong affinity for phosphates, and have been widely used as active components for the removal of phosphorus (Liu et al. 2021b). Therefore, loading magnesium oxide or calcium oxide onto carriers can improve the efficacy of phosphorus removal (Zhu and Xing 2018). Phosphorus removal in IC-ME can be hypothesized to be effectively improved by the application of magnesium oxide or calcium oxide to the iron-carbon fillers. However, studies on the composition of magnesium oxide or calcium oxide composited iron-carbon fillers used for phosphorus removal are very limited.

The specific objectives of this study were to prepare magnesium oxide or calcium oxide–modified Fe/C fillers and explore and identify the modified fillers with optimal phosphorus removal performance. The preparation parameters were optimized for the modified filler and the treatment efficiency of phosphorus wastewater was determined when the modified fillers worked for a long period. Scanning electron microscopy (SEM), energy-dispersive spectroscopy (EDS), X-ray photoelectron spectroscopy (XPS), and X-ray diffraction (XRD) were used to explore the phosphorus removal mechanism and provide a theoretical basis for the practical application of modified fillers.

Materials and methods

Materials

Iron powder, activated carbon powder, additives (MgO, MgCO3, CaMg(CO3)2, and CaCO3), ammonium bicarbonate, and sodium silicate were obtained from Shanghai Macklin Biochemical Technology Co., Ltd. (Shanghai, China). Dolomite powder and clay were obtained from Stone Factory (Hebei, China).

Experimental influent water was artificially prepared to simulate rural domestic sewage. C6H12O6, NH4Cl, and K2HPO4 were used as the sources of carbon, nitrogen, and phosphorus, respectively. The pH was adjusted using a 5% HCl or 5% NaOH solution. The characteristic values of the artificial simulated wastewater are listed in Table 1. All the chemical solutions were prepared using deionized water in the experiments.

Table 1 Simulated wastewater composition

Modified micro-electrolytic filler preparation

Modified fillers were prepared with iron powder, activated carbon powder, and clay as the basic raw materials; Na2SiO3 as the binder; NH4HCO3 as a pore-forming agent; and MgCO3, MgO, CaCO3, and dolomite powder as the additives. The composition of the fillers prepared in this study is listed in Table 2.

Table 2 Composition of filler samples

The preparation process of the modified micro-electrolysis filler included the following steps: first, the reduced iron powder, activated carbon powder, clay, pore-forming agent, and additives were uniformly mixed in the mass percentages of 31.5:31.5:30:4:3. A slurry of suitable viscosity was formed by adding 12% distilled water and 7% binder to the mixture. The mixture was formed into spheres with a diameter of 8–12 mm using a pelletizer. The prepared wet fillers were dried at 105 °C in an air oven for 2 h before being placed in a tube furnace and maintained at 800 °C for 1 h under a nitrogen atmosphere; subsequently, the fillers were cooled to room temperature.

After cooling in a furnace, the micro-electrolytic fillers comprising different additives, MgO, MgCO3, CaCO3, and CaMg(CO3)2, were produced and named Fe/C-MgCO3, Fe/C-MgO, Fe/C-CaCO3, and Fe/C-CaMg(CO3)2, respectively.

Reactor and operation procedure

Instruments and procedure

The experimental apparatus comprising micro-electrolytic fillers and a sequencing batch reactors system are illustrated in Fig. 1. The air was supplied by an air pump, and the gas flow rate was maintained in the range of 0.18–0.2 m3·h−1. Gas was supplied at the bottom of the reactor through an aerator. Water pumps were used to deliver the untreated wastewater. The residence time of water in each column was 120 min. The filler mass was 50 g, and the reaction volume of the simulated wastewater solution was 100 mL in each column. The initial pH of 3 was adjusted with 5% HCl.

Fig. 1
figure 1

Schematic of experimental apparatus for iron-carbon micro-electrolysis

Samples were obtained at various times (0, 10, 30, 60, 90, 120, 180, and 240 min) and filtered to determine the total phosphorus (TP) content. The pH of the water sample was adjusted to 8.5 via the dropwise addition of 5% NaOH or 5% HCl.

The effects of the type of additive (MgO, MgCO3, CaCO3, and CaMg(CO3)2), calcination temperature (600, 700, 800, 900, and 1000 °C), Fe/C ratio (1:1, 2:1, 4:1, 6:1, and 8:1), clay content (10%, 20%, 30%, 40%, and 50%), and additive content (0%, 1%, 3%, 5%, 10%, and 15%) on TP removal were investigated. Finally, the optimum preparation conditions for the modified filler were determined.

Analytical methods

The pH of the solution was determined using a portable pH meter (PHSJ-3F, Shanghai Instrument & Electrical Scientific Instrument Co., Ltd., China). TP was determined using ammonium molybdate spectrophotometry (5B-1(V8), Lianhua Science & Technology, China). The surface morphologies of the packing surfaces were observed using SEM and EDS (SEM–EDS; SSX-550, Shimadzu, Japan). Brunauer–Emmett–Teller (BET) (Micromeritics ASAP 2460, China) was used to measure the specific surface area of the filler. XPS (ESCALAB 250Xi, Thermo Fisher Scientific, USA) was used to determine the composition of the filler surface after the reaction. XRD (PANalytical X-ray Diffractometer Model X PerT3, Netherlands) was used to scan the filler before and after the reaction.

The removal rate of TP can be calculated as follows (Eq. 1):

$$D\left(\mathrm{\%}\right)=\left({C}_{0}-C\right)/{C}_{0}\times 100$$
(1)

where \({\text{C}}_{0}\) and \({\text{C}}\) are the initial and residual concentrations of TP, respectively.

Results and discussion

Characterization of modified micro-electrolytic filler

The morphology of the filler surface has an important influence on the heterogeneous reaction because the reaction is performed mainly at the interface (Li et al. 2018). Therefore, the surface morphology of the modified micro-electrolytic filler was investigated. The SEM images of the surfaces of the fillers, comprising different additives and sintered at 800 °C under an N2 atmosphere, are shown in Fig. 2.

Fig. 2
figure 2

Scanning electron microscopy (SEM) images of the surfaces of the fillers: a Fe/C; b Fe/C-MgCO3; c Fe/C-CaCO3; d Fe/C-MgO; and e Fe/C-CaMg(CO3)2

Significantly, compared with the relatively loose microstructures of Fe/C (Fig. 2a) and Fe/C-MgCO3 fillers (Fig. 2b), those of Fe/C-CaCO3 (Fig. 2c), Fe/C-MgO (Fig. 2d), and Fe/C-CaMg(CO3)2 (Fig. 2e) were denser. This difference could be attributed to the different chemical properties of the additives. Gas is not generated in the preparation process because the decomposition temperature of calcium oxide and dolomite exceeds 800 °C. This hypothesis was confirmed by the XRD patterns of the five fillers (Fig. 3). Therefore, a large porous structure was not formed inside the Fe/C filler, which was not conducive to phosphorus removal (Li et al. 2021a; Wang et al. 2014) (Fig. 2c and e). Magnesium oxide powder can also block the pores of the Fe/C fillers, thereby reducing the porous structure (Fig. 2d).

Decomposed MgCO3 can produce CO2 gas at 800 °C, resulting in a porous structure in the Fe/C-MgCO3 filler (Liu et al. 2011) (Fig. 2b). The significant number of pores in Fe/C-MgCO3 (Fig. 2b) could potentially produce an increased water absorption, and phosphorus removal rate (Sawada et al. 1979).

To further study the microporous structure of the fillers, the adsorption and desorption isotherms of N2 at 77 K for Fe/C, Fe/C-MgCO3, Fe/C-MgO, Fe/C-CaCO3, and Fe/C-CaMg(CO3)2 were investigated. The results are shown in the inset image of Fig. 4. A type IV sorption isotherm and an H1-type hysteresis loop were observed for each sample within a relative pressure range (P/P0) of 0.4–0.9 (Xie et al. 2018). An increase in N2 adsorption was clearly observed in the hysteresis loop following the addition of MgCO3. These results indicate that macropores existed in the MgCO3-modified iron-carbon filler (Ponvel et al. 2010).

Fig. 3
figure 3

Pore size distribution of packing (insert image: adsorption–desorption (AD) isotherms)

The pore size distribution of the five fillers in the range of 2–14 nm, as calculated from the nitrogen adsorption–desorption data, is illustrated in Fig. 4. The five fillers had obvious peaks in the range of 3–5 nm. The mesopore peak area of Fe/C-MgCO3 was 1.2 times higher than that of Fe/C. This indicates that the Fe/C-MgCO3 filler has more mesopores and macropores than the Fe/C packing, which may be due to the gas generated by the decomposition of MgCO3 during the pyrolysis process (Kong et al. 2013; Liu et al. 2011).

Fig. 4
figure 4

XRD patterns of five fillers

The BET analysis results are shown in Table 3. Among all the prepared fillers, the Fe/C-MgCO3 filler had the largest surface area and pore volume, which was also confirmed by SEM. This may facilitate phosphorus removal.

Table 3 Brunauer–Emmett–Teller (BET) analysis of packing

TP removal performance of various additives

The TP removal rate of Fe/C, Fe/C-MgCO3, Fe/C-MgO, Fe/C-CaCO3, and Fe/C-CaMg(CO3)2 is illustrated in Fig. 5. The capacity of the phosphorus removal of the Fe/C-MgCO3 filler was higher than that of the other modified iron-carbon fillers. The capacities of the phosphorus removal decreased as follows: Fe/C-MgCO3 > Fe/C > Fe/C-MgO > Fe/C-CaCO3 > Fe/C-CaMg(CO3)2. The efficiency of the phosphorus removal by Fe/C-MgCO3 was higher than that of Fe/C. These adsorption and desorption isotherm results indicate that the specific surface area and pore size of Fe/C-CaCO3 are higher than those of Fe/C. A relatively large specific surface area and porosity facilitate contact between the phosphorus wastewater and fillers, which may increase the number of functional sites on the filler surface (Kang et al. 2019a), and could improve the efficiency of micro-electrolysis reactions.

Fig. 5
figure 5

Effects of type of additive on total phosphorus (TP) removal. Experimental conditions: calcination temperature = 800 °C, Fe/C ratio = 4:1, clay content = 30%, and additive content = 3%

In addition, the results of the experiment described in the “Characterization of modified micro-electrolytic filler” section indicated that the specific surface area of the other modified fillers was relatively small, and the number of active sites decreased significantly, thereby reducing the treatment efficacy on the phosphorus-contaminated wastewater. Therefore, MgCO3 was selected as an additive for the modified micro-electrolytic filler in subsequent experiments to further investigate the optimization and reaction mechanism of phosphorus removal.

Effect of single-factor on Fe/C-MgCO3 filler optimization

Calcination temperature

The calcination temperature is a crucial factor in preparing micro-electrolytic fillers to determine their strength and effectiveness in wastewater treatment. Figure 6a illustrates the effect of the calcination temperature on the TP removal ability of the Fe/C-MgCO3 filler during the micro-electrolysis reaction. The TP removal rate of the Fe/C-MgCO3 filler gradually increased and then decreased as the calcination temperature increased. The highest TP removal rate (86.30%) was achieved when the calcination temperature was 800 °C, and the phosphorus removal effects of the Fe/C-MgCO3 filler were reduced when the temperature was higher or lower than 800 °C.

Fig. 6
figure 6

a Effect of calcination temperature on total phosphorus (TP) removal from wastewater at 120 min. Experimental conditions: Fe/C = 4:1, clay content = 30%, and additive content = 3%. b Effect of Fe/C ratio on TP removal from phosphorus wastewater at 120 min. Experimental conditions: calcination temperature = 800 ℃, clay content = 30%, and additive content = 3%. c Effect of clay content on TP removal of phosphorus wastewater at 120 min. Experimental conditions: calcination temperature = 800 ℃, Fe/C = 4:1, and additive content = 3%. d Effect of additive content on TP removal of phosphorus wastewater at 120 min. Experimental conditions: calcination temperature = 800 ℃, Fe/C = 4:1, and clay content = 20%

When the temperature was lower than 800 °C, the specific surface area and porosity of the filler were lower because the MgCO3 could not be decomposed, thereby impacting the phosphorus removal effect (Kang et al. 2019b). When the calcination temperature increased, the high-temperature decomposition of the MgCO3 in the modified micro-electrolytic filler increased the pore space of the filler and then increased the contact area between the filler and wastewater (Devasahayam and Strezov 2018). Hence, the treatment performance of the modified micro-electrolytic filler for phosphorus wastewater was gradually enhanced.

When the calcination temperature was greater than 800 °C, the clay in the filler melted and filled the spaces between the unfused particles, resulting in a decrease in the specific surface area and porosity (Mi et al. 2021). Fillers with lower specific surface areas and porosity are less effective for phosphorus-containing wastewater treatment. Therefore, the selected calcination temperature of the subsequent filler preparation was 800 °C.

Fe/C ratio

In the IC-ME system, the number of primary batteries, which formed between iron and activated carbon (Liu et al. 2007), directly affects the treatment effect of the filler in the phosphorus wastewater. Therefore, the Fe/C ratio was investigated for its efficiency in TP removal from wastewater; the results are illustrated in Fig. 6b. The TP removal rates were 67.55%, 83.89%, 87.33%, 83.43%, and 82.12%, corresponding to the Fe/C mass ratios of 1:1, 2:1, 4:1, 6:1, and 8:1, respectively.

The efficiency of TP removal from wastewater reached a maximum at an Fe/C ratio of 4:1 (87.33%). This was because the molar volume ratio of Fe/C was close to 1:1 when the mass ratio of Fe/C was close to 4:1, which could result in the largest number of primary batteries formed between iron and activated carbon (Kang et al. 2019a). The adsorption of phosphorus was dominant under an excessively low Fe/C ratio because of the strong adsorption effect of carbon (Yang et al. 2021). Conversely, an excessively high Fe/C ratio resulted in a high filler abrasion rate and reduced number of primary batteries (Mi et al. 2021). Therefore, the treatment efficiency of the removal of phosphorus from wastewater was reduced. Hence, an Fe/C ratio of 4:1 was selected for the subsequent experiments.

Clay content

Clay has excellent properties such as plasticity, binding, shrinkage, sintering, and refractoriness, and acts as a binder and skeleton in fillers (Riley 2006). However, clay is an inactive component of the filler that would inhibit phosphorus removal. The effect of the clay content on TP removal warrants investigation. The TP removal rate decreased as the clay content increased (Fig. 6c). The highest TP removal rate of 94% was achieved when the clay content in the fillers was 10%. This result was mainly attributed to the diminished phosphorus removal caused by the reduced iron and carbon contents in the IC-ME system, resulting from the increase in the clay content.

The low clay content complicated the formation of the fillers; thus, their compressive strength was insufficient. The compressive strengths of the fillers comprising different clay contents are compared in Table 4. When the clay content was 10%, the compressive strength did not meet the standard for fill use (Kang et al. 2019a). However, when the clay content was greater than 20%, the compressive strength fulfilled the standards for a filler. Therefore, a 20% clay content was determined to be suitable after considering the effectiveness of the phosphorus removal and compressive strength of the filler.

Table 4 Clay contents and compressive strengths of modified fillers

Additive content

In the IC-ME system using Fe/C-MgCO3 as a filler, MgCO3 (as an additive in the filler) can react with PO43− in the wastewater to form a precipitation to provide an appropriate reaction surface. Figure 6d compares the effect of using different MgCO3 contents (0%, 1%, 3%, 5%, 10%, and 15%) on the removal of TP.

The removal of TP increased sharply when the quantity of MgCO3 increased from 0 to 5%, as illustrated by Fig. 6d. When the quantity of MgCO3 was 5%, the removal rate of TP reached the maximum value of 97.0%. The rate of removal decreased when the quantity of MgCO3 exceeded 5%. Hence, the addition of MgCO3 improved the performance of the micro-electrolytic filler for the removal of phosphorus. However, when the MgCO3 concentration was excessive, the treatment performance of the modified filler was inhibited. Therefore, 5% was selected as the optimum quantity of MgCO3.

Performance of modified Fe/C-MgCO3 filler

The bulk density, apparent density, water absorption, void fraction, specific surface area, compressive strength, and grain size were selected for the filler performance analysis, based on “Lightweight aggregates and its test methods” (China, GB/T17431.1–2010) and artificial ceramsite filter material for water treatment (China, CJ/T299-2008). The analysis factors and their results are listed in Table 5.

Table 5 Physical properties of modified Fe/C-MgCO3 filler

Compared with the standard, the Fe/C-MgCO3 filler had a lower water adsorption rate (25.7%), higher compressive strength (3.5 MPa), higher specific surface area (154.2 m2/g), larger void fraction (74.9%), and lighter bulk density (694.4 kg/m3).

The elementary composition of the filler surface was studied via EDS (Fig. 7), and the mass percentages of various elements are presented in Fig. 7. The elemental analysis via EDS revealed that the surface of the filler consisted of carbon, oxygen, magnesium, aluminum, silicon, calcium, and iron atoms. Silicon and aluminum were part of the skeletal structure of the filler, and the metal ions such as magnesium, iron, and calcium effectively combined with PO43− to remove phosphorus from wastewater.

Fig. 7
figure 7

Energy-dispersive spectrometry (EDS) diagram of a Fe/C and b Fe/C-MgCO3 (insert table: element composition of filler)

The magnesium content on the filler surface increased after the addition of MgCO3 (Fig. 7b). This indicated that the adherent on the filler surface might be MgCO3 or MgO, and the results confirmed the prediction of the adherence made via SEM.

Comparison of phosphorus removal processes

To further investigate the advantages of IC-ME using Fe/C-MgCO3 as fillers to remove phosphorus from wastewater, the efficiencies, treatment mechanisms, advantages, and limitations of commonly used biological (Park et al. 2009) and physicochemical (Yang et al. 2010) methods for phosphorus removal are presented in Table 6.

Table 6 Comparison of phosphorus removal processes

Biological phosphorus removal processes have a wide range of applications and low cost. However, phosphorus removal using biological processes alone cannot meet increasingly stringent emission standards (Ren et al. 2020). In addition, the sludge yield of the biological method is large. Therefore, in order to meet strict emission standards, physicochemical phosphorus removal methods are often used after biological treatment (Ren et al. 2020).

Physicochemical phosphorus removal methods mainly include coagulation precipitation, adsorption, magnesium ammonium phosphate (MAP) precipitation, and IC-ME. The basic principle of the coagulation sedimentation is to add chemicals into the wastewater, then react with phosphate root to generate insoluble phosphate, and finally remove phosphorus in the wastewater through solid–liquid separation. However, it has disadvantages of high cost and large dosage of phosphorus removal (Peng et al. 2018). The low adsorption capacity and high replacement cost of adsorbents make it difficult for adsorption phosphorus removal methods to be widely used (Li et al. 2021c). In the phosphorus removal process of MAP precipitation, solution pH is one of the most influential parameters. Dissolved phosphate exhibits different states (PO43−, HPO42−, H2PO4, H3PO4) under different pH conditions; therefore, pH affects the supersaturation of the substance (Peng et al. 2018). Studies have shown that pH adjustment is an important part of the phosphorus removal process by MAP precipitation (Nelson et al. 2003; Rahman et al. 2014).

The IC-ME has been widely used in phosphorus removal due to its characteristics of treating waste with waste and the raw materials are cheap and easy to obtain. Since the suitable working environment of the micro-electrolysis system is acidic, it is necessary to adjust the pH value in the early stage to exert its high efficiency (Yang et al. 2017), which is also an important part of the efficient phosphorus removal of IC-ME. The disadvantage of fillers that are easily hardened and passivated in traditional methods can be improved by modifying fillers (Li et al. 2021b). It can be seen from Table 6 that by adding metal elements to traditional fillers, the number of primary cells in the micro-electrolysis system can be increased, and the reaction efficiency can be enhanced. Commonly added metal elements are Al (Yang et al. 2016), Mg (Gao et al. 2022), and Ca (Ma et al. 2022). But metal Al is chemically active and easy to oxidize and form metal oxides. When the element Ca is added, the phosphorus removal efficiency is low. Since metal Mg easily reacts with water to generate hydrogen, excess metal Mg has a high safety risk factor (Gao et al. 2022).

Although the IC-ME using the self-made Fe/C-MgCO3 as filler in this study has the same shortcomings as the conventional IC-ME which needs to adjust the pH value, it has the following advantages: (1) the addition of MgCO3 to the filler significantly improves the phosphorus removal efficiency; (2) the participation of MgCO3 increases the pH of the solution after the micro-electrolysis reaction and reduces the operating cost; (3) compared with the metal Mg modified filler, which is easy to generate hydrogen, the operation is safer; (4) the MAP formed in the reaction process can also be recycled and used as a potential raw material for the chemical fertilizer process, which can save economic costs. Therefore, the IC-ME process using Fe/C-MgCO3 as filler will be a phosphorus removal process with industrial application prospects.

Continuous run of the micro-electrolysis reactor

The micro-electrolysis reactor was operated continuously for 15 days under optimum parameters (influent pH of 3, HRT of 120 min, and aeration rate of 0.2 m3/h) and samples were taken according to the predetermined time intervals.

The running state of the micro-electrolysis reactor is illustrated in Fig. 8. During the continuous IC-ME process, the removal rates of TP, COD, and NH4+-N by the Fe/C-MgCO3 filler exhibited fluctuations. Thus, the experimental results can be divided into two parts based on the changes in removal rates of TP, COD, and NH4+-N.

Fig. 8
figure 8

Successive running of the micro-electrolysis reactor (influent pH of 3, HRT of 120 min, and ventilation rate of 0.2 m3/h)

In the first part of the process, that is, the first 3 days of micro-electrolysis reactor operation, the removal rates of COD, TP, and NH4+-N decreased to 51%, 85.5%, and 34.3%, respectively. During aeration at a low pH, the O2 on the carbon cathode was reduced to oxygen free radicals (O·), reactive hydrogen, and hydrogen peroxide (H2O2), leading to the degradation of COD (Han et al. 2019). The contact between the Fe/C-MgCO3 filler and pollutants was hindered by the passivation of iron on the filler surface and accumulation of other deposits such as corrosion products. In the second part of the process, the rate of removal gradually stabilized after increasing as the operation time lengthened from 3 to 8 days. This may be because, during the continuous aeration, the sediment layer increased to a specific thickness, and the scouring of gas, water flow, and collision between the fillers removed the sediment layer on the surface of the filler (Huang et al. 2014). Therefore, more active sites and structures were exposed on the surface of the filler which enhanced the contact between the filler and contaminants.

SEM and BET were used to test the surface morphology and specific surface area of the Fe/C-MgCO3 filler to confirm the renewal of the filler surface (Figs. 9 and 10, and Table 7).

Fig. 9
figure 9

Scanning electron microscopy (SEM) images of the surfaces of the fillers: a 0 days; b 3 days; c 6 days; and d 9 days

Fig. 10
figure 10

Pore size distribution of packing (insert image: adsorption–desorption (AD) isotherms)

Table 7 Brunauer–Emmett–Teller (BET) analysis for packing

Figure 9a and Table 7 demonstrate that the surface of the Fe/C-MgCO3 filler is rough and has an irregular shape because there are many small apertures on the surface that could enhance the specific surface area. After 3 days of continuous reaction experiments, the pore structure was blocked and micropore area was markedly reduced (Fig. 9b). This may be due to the deposition of iron oxides, iron hydroxides, and phosphorus reactants on the surface of the filler during the IC-ME process.

The specific surface area, micropore volume, and micropore area of the fillers increased significantly after the reaction was performed for 6 days (Fig. 9c and Table 7). The Fe/C-MgCO3 filler surface became porous again due to the shedding of deposits from the filler surface. When the reaction proceeded to the 9th day, the pore structure on the filler surface was blocked by sediment again (Fig. 9d). The deposited layer may possibly be shed again after a specific operating time and renewal of the filler surface. Thus, a cyclic renewal process occurred which led to the continuous removal of phosphorus in wastewater.

The adsorption–desorption isotherm diagram and pore size distribution diagram with the application of the fillers are shown in Fig. 10. All four fillers exhibited distinct peaks in the range of 3–5 nm. As the operating time is extended, a fluctuating trend of first decreasing, increasing thereafter, and subsequently decreasing is evident that further proves the analysis results of SEM.

After continuous operation, the Fe/C-MgCO3 packing was removed from the reactor, and no adhesion was observed between the packings, indicating that the Fe/C-MgCO3 packing could effectively prevent the packing from hardening.

To investigate the long-term effect of removing TP from actual wastewater, the micro-electrolysis reaction formed by the Fe/C-MgCO3 filler prepared in this study was applied to the treatment of landfill leachate. The operation time was 10 days. For comparison, the micro-electrolysis processes using conventional fillers were also applied to the treatment of actual landfill leachate under the same operating conditions. Figure 11 shows the effect of long-term phosphorus removal by micro-electrolysis using different fillers on actual landfill leachate.

Fig. 11
figure 11

Long-term phosphorus removal effect of micro-electrolysis with different fillers on actual landfill leachate

The results indicate that the removal of TP from actual landfill leachate by micro-electrolysis, formed by Fe/C-MgCO3 filler, exhibited a trend of fluctuation and slow decline within 10 days of continuous operation, and a stable removal rate exceeding 60%. However, the removal rate of TP by micro-electrolysis formed by traditional fillers was greatly reduced. As the TP removal rate fluctuation for simulated wastewater corresponds with the renewal of the Fe/C-MgCO3 filler surface shown by SEM test results, the removal rate fluctuation may be mainly caused by the periodic renewal of the filler surface. Because of the complex composition of actual wastewater, the formation of sediments on the filler surface and the frequency of surface detachment and renewal were faster than for simulated wastewater. Therefore, the fluctuating form of the removal rate exhibited a different frequency compared to the simulated wastewater.

The two packings in the reactor were observed after 10 days of continuous operation; the traditional micro-electrolysis packings formed small agglomerates, whereas the Fe/C-MgCO3 packings maintained a relatively independent integrity. During the long-term continuous operation of the traditional micro-electrolytic fillers, a high-density passivation film formed on the iron surface. Moreover, the passivation film coverage reduced the specific surface area of the iron and carbon, hindered the contact between the iron and carbon, and reduced the galvanic effect. Consequently, the TP removal rate decreased significantly. Compared with traditional micro-electrolytic fillers, Fe/C-MgCO3 fillers are conventional micro-electrolytic fillers prepared by high-temperature roasting technology applied to a clay skeleton. The addition of clay separates the iron filings with strong activity and also ensures effective contact between the iron and activated carbon. The long-term continuous operation results demonstrate that the Fe/C-MgCO3 filler is characterized by automatic surface renewal, and has a longer stable operation period and higher TP removal rate.

Mechanism of phosphorus removal of the modified Fe/C-MgCO3 filler

Surface morphologies of Fe/C-MgCO3

The surface morphology of the Fe/C-MgCO3 filler after wastewater treatment was compared with that of the original filler using SEM characterization to elucidate the phosphorus removal mechanism in this study (Fig. 12a and b). The filler surface was rough and porous, and certain particles were tightly embedded in the filler surface, as illustrated by Fig. 12a. This increased the probability of contact between the reactant and active sites of the fillers, and thus promoted the reactivity of the fillers.

Fig. 12
figure 12

Scanning electron microscopy (SEM) images of modified micro-electrolytic fillers: a before the reaction, and b after the reaction. Magnification: 5000 × 

After phosphorus wastewater treatment, the particulate matter disappeared, and many fine spherical clusters appeared. This phenomenon has been reported with respect to the adsorption system using natural calcium-rich attapulgite as the adsorbent for phosphorus removal (Yin and Kong 2014). The fine spherical clusters could be attributed to the precipitates that resulted from the complex chemical reactions of Mg, Fe, and P (Li et al. 2017).

Surface chemical property analysis of the Fe/C-MgCO3 filler

To clarify the mechanism of phosphate removal from the Fe/C-MgCO3 filler, the variation in pH of the solution and Fe/C-MgCO3 filler structure was investigated during the reaction process. The change in pH of the solution and removal rate over time was studied (Fig. 13).

Fig. 13
figure 13

Change in pH of the solution and removal rate during the reaction process

In the initial stage of the reaction, the pH of the solution increased rapidly over time. This behavior was attributed to the rapid protonation of MgO on the filler surface (Zhu et al. 2020) and participation of H+ in the redox reaction to generate H2, thereby decreasing the concentration of H+ and increasing the pH of the solution.

The next stage was the rapid reaction stage wherein the pH of the solution gradually reached the maximum value. This behavior was attributed to the oxidation of Fe2+ to Fe3+ by aerobic aeration, which increased the pH of the solution (Yang et al. 2017). In this stage, the main form of phosphate present was H2PO4 (pH ranged from 3 to 7.8) (Liu et al. 2021b). Because of the action of the following reaction, NH4+ + H2PO4 + Mg2+ + 6H2O = MgNH4PO4•6H2O + 2H+, the removal rate of NH4+-N reflected an upward trend in this stage (Mehta and Batstone 2013). Under acidic conditions, the cathode reaction of the filler consumed H+, which further promoted struvite formation. The last stage was characterized by a drop in pH, resulting from two main reasons: (a) the OH in the solution was consumed because of the precipitation of Fe(OH)3; and (b) the precipitation of struvite resulted in a rapid decrease in pH according to the following reaction, NH4+ + HPO42− + Mg2+ + 6H2O = MgNH4PO4•6H2O + H+, indicating that HPO42− rather than PO43− was involved in the struvite formation reaction (Hao et al. 2008).

The experimental results indicate that the rate of TP removal remains at an elevated level under higher pH conditions. The disadvantage of low efficiency of the IC-ME reaction in a high pH environment decreases, that is, the efficiency of the IC-ME reaction improves, and the pH range of the IC-ME reaction broadens.

The XPS spectra and XRD measurements of the Fe/C-MgCO3 filler before and after the phosphorus removal reaction were also analyzed to understand the phosphorus removal mechanism. Figure 14a illustrates that before the phosphorus removal reaction, Fe/C-MgCO3 revealed the peaks of Fe 2p, O 1 s, C 1 s, and Mg 1 s at 711.8, 530.05, 284.1, and 1304.4 eV, respectively. After the reaction, the P 2p peaks of Fe/C-MgCO3 at 133.7 and 134.9 eV (Fig. 14b) were attributed to PO43− and HPO42−, respectively (Liu et al. 2021a; Xie et al. 2014). The appearance of the P 2p peak after phosphorus removal proved that phosphate was successfully loaded onto the Fe/C-MgCO3 filler; thus, the surface of the modified filler was composed of PO43− and HPO42−. These phosphorus species were predominately associated with Fe2+, Fe3+, and Mg2+, which led to Mg-P and Fe–P precipitation (Zhou et al. 2020).

Fig. 14
figure 14

a High-resolution spectra of X-ray photoelectron spectroscopy (XPS) analyses of Fe/C-MgCO3 before and after the reaction; b P 2p after the reaction; c, d Fe 2p; e, f Mg 2p

Figure 14c illustrates the Fe 2p XPS spectra of Fe/C-MgCO3 before the phosphorus removal. A satellite peak at ≈ 718.9 eV, along with the doublet of 2p3/2 and 2p1/2 at ≈ 712.3 and ≈ 723.5 eV, respectively, was evident for Fe3+ (Xu et al. 2018), whereas the peak at ≈ 710.7 eV was assigned to Fe2+. These two main characteristic peaks indicate the presence of iron oxide on the surface of the composite packing, either in the form of FeO or Fe2O3; these may be attributed to the failure of the composite packing to completely isolate O2 during the roasting process, leading to partial oxidation on its surface (Li and Zhang 2007). After the reaction, a chemical shift of 1.6 eV was observed for Fe 2p1/2 although the 2p3/2 did not show a shift. The spectrum of Fe 2p after the phosphorus removal reaction is illustrated in Fig. 14d. The Fe 2p peaks at 725.1 and 711.8 eV were attributed to Fe 2p1/2 and Fe 2p3/2 of FePO4, respectively (Tan 2016).

There were significant changes observed for the Mg 1 s of Fe/C-MgCO3 before and after the reaction. Magnesium was present predominantly as MgO before the reaction. After the reaction, the MgO peak was still present; however, the peak area had decreased markedly and the characteristic peaks of MgHPO4 and Mg3(PO4)2 appeared. These results indicate that MgO was involved in the phosphorus removal reaction and possibly converted to MgHPO4 and Mg3(PO4)2 (Liu et al. 2021a; Zhu et al. 2020).

Figure 15a illustrates the XRD spectra of Fe/C-MgCO3 before and after the phosphorus removal reaction. The main crystal phases of Fe/C-MgCO3 before the reaction were Fe, FeO, Fe2O3, Fe3O4, SiO2, and MgO. After the removal of phosphorus using Fe/C-MgCO3, the characteristic peaks of FePO4 for this filler appeared at 43.3, 61.4, and 61.6 of 2θ, and those of Mg3(PO4)2 appeared at 29.8, 32.0, 42.4, and 61.6 of 2θ. The characteristic peaks of MgHPO4 appeared at 28.9, 35.5, 43.7, and 51.8 of 2θ, indicating that the phosphate in water reacted with the iron and magnesium in Fe/C-MgCO3.

Fig. 15
figure 15

X-ray diffraction (XRD) patterns of Fe/C-MgCO3 (A) before and (B) after the phosphorus removal reaction (a); XRD patterns of the sediments after reaction (b)

The sediments obtained during the optimum conditions were used for the analysis of the crystalline mineral facies; when compared with the standard pattern, the Jade software had strong diffraction peaks at 14.04°, 21.04°, 27.22°, 36.38°, and 46.41°. The peaks of struvite indicated that struvite was the main phase present. FePO4, MgHPO4, and Mg3(PO4)2 were also identified as minor phases present in the sediments. The identity of the other phases present in small quantities was very difficult to establish, because the pattern is characterized by numerous small overlapping peaks (Chimenos et al. 2003).

According to these results, a reaction mechanism is proposed to illustrate the removal of phosphates using MgCO3 as the magnesium source (Zhang et al. 2009).

Fe/C-MgCO3 filler phosphorus removal mechanism diagram

The reaction of conventional IC-ME in the presence of oxygen mainly includes the oxidation of iron to form Fe2+ (Eq. (2)) and Fe3+ (Eq. (3)) (Han et al. 2016, 2019, 2020), which simultaneously enhance the production of Fe(OH)2 and Fe(OH)3, respectively. The contaminants in wastewater can be removed indirectly by co-precipitation and the enmeshment of ferrous and ferric hydroxide floc. Fe3+ on the surface of the filler or in the solution reacts easily with PO43− to precipitate FePO4 (Eq. (4)) (Thistleton et al. 2002), as confirmed by the XRD results. At high temperatures, the MgCO3 in the Fe/C-MgCO3 filler in this study easily produced MgO that could combine with H+ on the surface of the filler to form a protonated MgOH+ (Eq. (5)) (Watanabe et al. 1995). The phosphate has a negative charge. The protonated MgOH+ has a positive charge and can be adsorbed by electrostatic attraction to form a surface complex, namely MgOH-HPO4 (Eq. (6)) (Shu et al. 2019), and lose a hydroxyl ion to form MgHPO4 (Eq. (7)), or lose additional water molecules to form Mg3(PO4)2 (Eq. (8)) (Zhu et al. 2020). This can be confirmed by the XRD and XPS results. The XRD results illustrate that the Mg2+ released into the solution can combine with H2PO4, HPO42−, PO43−, and NH4+ to form struvite (MgNH4PO4·6H2O) (Eqs. (911)) (Rabinovich et al. 2021) and to form a precipitate upon deposition. Therefore, a possible phosphorus removal mechanism is shown in Fig. 16.

Fig. 16
figure 16

Schematic diagram of the mechanism of phosphorus removal in iron-carbon micro-electrolysis (IC-ME)

$$\mathrm{Fe}-{2\mathrm{e}}^{-}\to {\mathrm{Fe}}^{2+}$$
(2)
$${4Fe}^{2+}+{8OH}^{-}+{O}_{2}+{2H}_{2}O\to 4Fe{\left(OH\right)}_{3}$$
(3)
$${Fe}^{3+}+{PO}_{4}^{3-}\to {FePO}_{4}$$
(4)
$$Fe/C\equiv MgO+{H}^{+}\to Fe/C\equiv Mg{OH}^{+}$$
(5)
$$Fe/C\equiv {MgOH}^{+}+{HPO}_{4}^{2-}\to Fe/C\equiv {MgOH}^{+}-{HPO}_{4}^{2-}$$
(6)
$$Fe/C\equiv {Mg}^{2+}{HPO}_{4}^{2-}\to Fe/C\equiv {MgHPO}_{4}$$
(7)
$$\frac{Fe}{C}\equiv {Mg}^{2+}+{PO}_{4}^{3-}\to Fe/C\equiv {Mg}_{3}{\left({PO}_{4}\right)}_{2}$$
(8)
$${Mg}^{2+}+{NH}_{4}^{+}+{H}_{2}{PO}_{4}^{-}+{6H}_{2}O\to {MgNH}_{4}{PO}_{4} \cdot{6H}_{2}O+{2H}^{+}$$
(9)
$${Mg}^{2+}+{NH}_{4}^{+}+{HPO}_{4}^{2-}+{6H}_{2}O\to {MgNH}_{4}{PO}_{4} \cdot{6H}_{2}O+{2H}^{+}$$
(10)
$${Mg}^{2+}+{NH}_{4}^{+}+{PO}_{4}^{3-}+{6H}_{2}O\to {MgNH}_{4}{PO}_{4} \cdot{6H}_{2}O$$
(11)

Conclusion

In this study, magnesium metal oxides were successfully utilized to prepare the Fe/C-MgCO3 filler, and the preparation conditions were optimized for efficient phosphorus removal. The phosphorus removal mechanism was investigated via the IC-ME process using the Fe/C-MgCO3 filler. The optimum conditions for preparing the modified micro-electrolytic fillers were a calcination temperature of 800 °C, Fe/C ratio of 4:1, clay content of 20%, and additive content of 5%. Under the optimum preparation conditions determined by single-factor experiments, the phosphorus removal rate was 97%, and the Fe/C-MgCO3 filler with a compressive strength of 3.5 MPa and a specific surface area of 154.2 m2/g met the standards of artificial ceramsite filter materials for water treatment. SEM–EDS, XRD, and XPS analyses indicate that the removal of phosphorus from water involved simultaneous processes of electrostatic adsorption and surface precipitation to form the major products, namely, MgNH4PO4·6H2O, MgHPO4, Mg3(PO4)2, and FePO4. The Fe/C-MgCO3 filler demonstrated the ability to remove phosphorus substantially and appears to be a promising filler for the removal of phosphate from wastewater.