1 Introduction

With the rapid development of global economy, industries based on cosmetic, rubber, tanning, food, plastic, pharmaceutical, paper and textile use very large amount of dyes, and the waste from these industries is a major environmental concern [1]. So, it is highly desired to develop eco-friendly, simple and economical techniques for the removal of hazardous dyes from wastewater [2]. To date, several methods have been developed for the removal of dye pollutants, such as degradation, membrane separation and chemical oxidation, and so on [3,4,5]. However, some of these techniques have some disadvantages, for instance, high cost, high energy requirements, incomplete removal and production of toxic sludge [6]. Compared with the above methods, adsorption is a promising water-treatment technology due to its low invest-cost, simplicity of design and operation, no discharge of harmful substances, high efficiency and availability of a wide range of adsorbents [7,8,9]. The commonly used adsorbents primarily include activated carbons [10], carbon xerogels [11], carbon nanofibers [12], nanomaterials [13,14,15] and polymer sorbents [16, 17]. Although these types of adsorbents have shown promise in treating wastewater, some limitations still exist, such as low adsorption capacities and separation inconveniences. Therefore, the exploration of new promising adsorbents for the removal of dyes is still necessary.

Graphene is a new type of two-dimensional carbon nanostructure with one-atom thickness, possessing large surface area and good chemical stability [18]. Moreover, the graphitized basal plane structure of graphene has strong π–π interactions with the aromatic moieties of dyes [19]. These advantages reveal that graphene can be a promising material for the environmental cleanup, especially for the removal of dye pollutants from aqueous solution [20,21,22,23,24,25,26,27]. However, the two-dimensional lamellar structure of graphene is easily distorted into other uncontrolled morphologies, leading to a sharp decline in performance [28]. Therefore, it is of great significance to develop an efficient and facile strategy to transform two-dimensional graphene nanosheets into three-dimensional graphene networks with controlled morphology and porous structures [29,30,31,32,33]. On the other hand, it is very difficult to separate graphene from aqueous solution even by high-speed centrifugation because of its small size. Therefore, developing adsorbents which combine the advantages of high surface area of graphene with separation convenience of magnetic materials will be very important and urgent for the removal of toxic pollutants from wastewater [34,35,36,37,38,39].

However, there are few works about the synthesis of magnetic graphene-based adsorbents with controlled morphology and porous structures for environmental applications [40]. In the present work, three-dimensional hierarchical porous graphene–Fe3O4 (3D-HPGF) nanocomposite has been fabricated by poly(methyl methacrylate) (PMMA) colloidal crystal templating method. The potential practical application of 3D-HPGF nanocomposite for the removal of organic dyes from aqueous solution has been investigated systematically.

2 Experimental

2.1 Materials

Carboxylic graphene oxide (GO-COOH) aqueous solution was purchased from Nanjing XFNANO Materials Tech Co., Ltd, China. Ferrous sulfate (FeSO4·7H2O), methylene blue (MB), sodium hydroxide (NaOH), hydrochloric acid (HCl), Pyromellitic dinahydride anhydride (PMDA), 4, 40-diamino diphenyl ether (ODA, AR) and 1-methyl-2-pyrrolidone (NMP) of analytical grade were purchased from Sinopharm Chemical Reagent Co. Ltd., China. PMDA and ODA were recrystallized from acetic anhydride and ethanol before use, respectively. NMP was distilled over phosphorus pentoxide before use. Ultrapure water was used throughout the experiment.

2.2 Synthesis of PMMA colloidal crystal templates

PMMA microspheres were synthesized by surfactant-free emulsion polymerization using a cationic free radical initiator, as described in a previous report [41]. The synthesized PMMA microspheres were positively charged in aqueous solutions and the concentration of colloidal solution used here was 1.0 wt%. PMMA colloidal crystals were formed by centrifuging the colloid at 1500 rpm for 24 h, decanting the water, and allowing the solid to dry for 3 days. Before being used as templates, the PMMA colloidal crystal pellets were crushed with a metal spatula to form powder [42].

2.3 Preparation of 3D-HPGF nanocomposite

3D-HPGF nanocomposite was fabricated through PMMA colloidal crystal templating method. In a typical synthesis procedure, 1.0 g of dried PMMA colloidal crystals were crushed into powder and deposited in millimeter-thick layers. 50 mL of GO-COOH dispersion (1 mg/mL) was applied dropwise to completely wet the PMMA powder. The sample was allowed to dry in air at room temperature for 3 days. Then 20 mL of FeSO4·7H2O aqueous solution (0.3 mol/L) was added dropwise into the mixture followed by air drying for another 3 days. The PMMA template was removed from the sample by calcination at 600 °C for 3 h under nitrogen atmosphere.

2.4 Characterization

X-ray diffraction (XRD) measurements were carried out using a Rigaku SmartLab X-ray diffractometer at 40 kV, 30 mA. The morphology and structure of samples were observed by scanning electron microscopy (SEM) using a Hitachi S-3400N electron microscope operated at 20 kV and transmission electron microscopy (TEM) using a JEOL model JEM-2011(HR) with an accelerating voltage of 200 kV. X-ray photoelectron spectroscopy (XPS) measurements were performed on an ESCALAB 250 analyzer (Thermo Scientific) with a monochromatic Al Ka (1486.8 eV photons) X-ray source for excitation. Brunauer–Emmett–Teller (BET) surface area and pore size distribution were measured by Tristar-3020 surface area analyzer.

2.5 Adsorption of MB dye onto 3D-HPGF nanocomposite

The adsorption of MB dye in aqueous solution by using the as-prepared 3D-HPGF nanocomposite was performed in a batch experiment. 10 mg of 3D-HPGF nanocomposite adsorbent was added into 25 mL of MB solutions of desired initial concentrations (10, 20, 30, 40, 50, 60 mg/L) under stirring. At predetermined time intervals (10, 25, 35, 45, 60, 80, 100 min), 3D-HPGF nanocomposite adsorbent was separated from aqueous solution by a permanent magnet. The effect of temperature on the adsorption of MB dye onto the composite adsorbent was investigated by determining the adsorption isotherms at 298, 308 and 318 K. The concentrations of dyes were determined by UV-2450 Ultraviolet–Visible spectrophotometer. The amount of MB dye adsorbed per unit mass of the adsorbent was evaluated by the following equation:

$$q=\frac{{({C_0} - {C_e})V}}{m}$$
(1)

where q (mg/g) is the amount adsorbed per unit mass, C0 and Ce are the initial and equilibrium concentrations of MB dye in the solution (mg/L), respectively, m is the mass of the adsorbent used (g), and V (L) is the initial volume of solution.

2.6 Desorption and regeneration experiments

For the desorption study, 10 mg of 3D-HPGF nanocomposite adsorbent was added into 25 mL of MB dye solution (30 mg/L) and the mixture was stirred for 30 min at ambient temperature. After magnetic separation, the supernatant dye solution was discarded and the adsorbent alone was separated. Then, the MB-adsorbed adsorbent was added into 25 mL of ethanol and stirred for 30 min. The adsorbent was collected by magnet and reused for adsorption again. The supernatant solutions were analyzed by Ultraviolet–Visible spectrophotometer. The cycles of adsorption–desorption processes were successively conducted five times.

3 Results and discussion

3.1 Characterization of 3D-HPGF nanocomposite

X-ray diffraction measurements were utilized to investigate the phase and structure of samples. In the representative XRD pattern of 3D-HPGF nanocomposite (Fig. 1), the different peaks at 2θ = 18.5°, 30.1°, 35.5°, 37.1°, 43.6°, 53.3°, 57.0°, 62.8°, 71.1° and 73.9° are observed. These diffraction peaks can be assigned to (111), (220), (311), (222), (400), (422), (511), (440), (620) and (533) planes of Fe3O4 (JCPDS no. 89-3854) [43]. The broad peak at 2θ = 26.2° originates from (002) reflection of graphene. No obvious diffraction peak ascribed to GO is observed, indicating that GO has been successfully reduced into graphene.

Fig. 1
figure 1

XRD pattern of 3D-HPGF nanocomposite

Detailed information about the composition of samples was examined by X-ray photoelectron spectroscopy measurements. The sharp peaks at about 284, 534 and 711 eV in the full scan spectrum (Fig. 2a) are corresponding to the C1s, O1s and Fe2p, respectively, revealing the presence of carbon, oxygen, and iron elements in 3D-HPGF nanocomposite. Four different peaks centered at 284.8, 286.1, 287.1, and 288.5 eV are observed in the C1s spectrum, corresponding to C=C, C–C in aromatic rings, C–OH (epoxy and alkoxy), and C=O groups, respectively (Fig. 2b), demonstrating the removal of oxygen-containing groups from GO and the formation of graphene [44, 45]. In the Fe2p spectrum (Fig. 2c), the two peaks at 711.2 and 724.6 eV are corresponding to Fe2p3/2 and Fe2p1/2 of Fe3O4, respectively [46]. This can be further supported by the peak at 530.2 eV in the O1s spectrum (Fig. 2d), which is the binding energy of crystal oxygen in Fe3O4. Other peaks located at 531.8 and 533.7 eV can be attributed to the carbonyl oxygen in C=O and the oxygen in C–O.

Fig. 2
figure 2

XPS spectra of 3D-HPGF nanocomposite. a XPS survey spectrum, b C1s spectrum (The black lines are raw data and the colorful lines are fitted data), c Fe2p spectrum, d O1s spectrum (The black lines are raw data and the colorful lines are fitted data)

SEM was employed to investigate the morphology and structure of samples. Figure 3a shows SEM image of typical core/shell microsphere assembly of cationic PMMA microspheres and negative GO-COOH nanosheets. It can be clearly seen that GO nanosheets coating onto the PMMA microshperes. Figure 3b shows the SEM image of as-prepared 3D-HPGF nanocomposite. The spherical macropores with a pore size of about 200–250 nm can be clearly observed and the spherical PMMA structures have disappeared. These macropores are composed of aggregated graphene nanosheets, forming a three-dimensional porous structure.

Fig. 3
figure 3

SEM images of a PMMA/GO-COOH microspheres, b 3D-HPGF nanocomposite

The morphology and structure of samples were further analyzed by TEM measurements. It can be seen that Fe3O4 nanoparticles with an average size of 20 nm are well distributed on the surface of graphene nanosheets (Fig. 4a). The distribution of Fe3O4 nanoparticles on each graphene sheet is uniform and no big conglomeration is observed. HRTEM image of 3D-HPGF nanocomposite reveals clear lattice fringes with an interplanar distance of 0.257 nm, which agrees well with the basal spacing of cubic Fe3O4 (Fig. 4b) [47]. In addition, the ordered graphitic lattices are visible in the HRTEM image of 3D-HPGF nanocomposite.

Fig. 4
figure 4

TEM (a) and HRTEM (b) images of 3D-HPGF nanocomposite

Nitrogen adsorption–desorption isotherms and pore size distributions of 3D-HPGF nanocomposite are shown in Fig. 5. The sharp steps at the relative pressure around P/P0 = 0.5 is associated with capillary condensation of nitrogen molecules inside the pores. The BET specific surface area of 3D-HPGF nanocomposite is 486 m2/g. The large specific surface area can be attributed to the presence of Fe3O4 nanoparticles preventing the aggregation and restacking of graphene nanosheets, owing to the spacing effect of magnetite nanoparticles between graphene nanosheets [48]. The pore size distribution curve of 3D-HPGF nanocomposite exhibits typical bimodal mesopores with small mesopores of about 3.0 nm and large mesopores of about 14.9 nm. Therefore, combined with SEM and TEM measurements, the 3D-HPGF nanocomposite has a hierarchical porous structure with interconnected macro- and mesopores. The large specific surface area and hierarchical porous structure will guarantee the adsorption performance of 3D-HPGF nanocomposite for removing the dye contaminants from wastewater.

Fig. 5
figure 5

Nitrogen adsorption–desorption isotherms (a) and pore size distributions (b) of 3D-HPGF nanocomposite

3.2 Adsorption properties of 3D-HPGF nanocomposite

The effects of contact time on the adsorption of MB dye onto 3D-HPGF nanocomposite adsorbent are shown in Fig. 6. It can be seen that the adsorption capacity increases sharply with the contact time, and the contact time to reach the equilibrium is about 25 min. And the amount of adsorbed MB dye on the 3D-HPGF nanocomposite achieves 69.6 mg/g. The excellent adsorption capacity and fast adsorption rate of 3D-HPGF nanocomposite for organic dye can be attributed to the van der Waals interactions occurring between the hexagonally arrayed carbon atoms in the graphene nanosheet and the aromatic backbones of organic dye, and the strong π–π interactions between the benzene ring of MB dye and the large delocalized π-electron system of graphene [49].

Fig. 6
figure 6

Effects of contact time on the adsorption capacities of 3D-HPGF nanocomposite adsorbent (pH 6, initial dye concentration = 30 mg/L, T = 298 K)

To further investigate the adsorption behavior of MB dye onto 3D-HPGF nanocomposite adsorbent, the kinetic data are evaluated by pseudo-first-order and pseudo-second-order adsorption kinetic model, which can be expressed by the following equations.

$$\log ({q_e} - {q_t})=\log {q_e} - \frac{{{k_1}t}}{{2.303}}$$
(2)
$$\frac{t}{{{q_t}}}=\frac{1}{{{k_2}{q_e}^{2}}}+\frac{t}{{{q_e}}}$$
(3)

Here k1 (min−1) and k2 (g/mg min) are the rate constant for pseudo-first-order and pseudo-second-order adsorption kinetics, respectively. qe and qt are the amounts of MB dye adsorbed (mg/g) at equilibrium and time t (min), respectively.

Figure 7a indicates the linear dependence between log(qe − qt) and t, where the values of k1 and qe can be determined from the intercept and slope of the plot. Meanwhile, k2 and qe can be calculated by the intercept and slope of the linear plot t/qt vs. t in Fig. 7b. The corresponding kinetic parameters are listed in Table 1. Obviously, the correlation coefficient R2 calculated by pseudo-first-order is smaller than that of pseudo-second-order model. It means that the pseudo-second-order model is more suitable to describe the adsorption kinetics of 3D-HPGF nanocomposite adsorbent for MB dye.

Fig. 7
figure 7

Adsorption kinetic for MB adsorption onto 3D-HPGF nanocomposite adsorbent. a Pseudo-first-order model and b pseudo-second-order model

Table 1 Kinetic parameters for adsorption of MB dye onto 3D-HPGF nanocomposite adsorbent

Adsorption isotherms can afford the useful information for designing a desired adsorption system. The adsorption performance of 3D-HPGF nanocomposite adsorbent is evaluated by the classical Langmuir model and Freundlich model. The Langmuir isotherm is usually utilized to a homogeneous adsorption surface with all the adsorption sites having equal adsorbate affinity, while the Freundlich isotherm model assumes heterogeneity of adsorption surfaces, which can be described by the following equations.

$$\frac{{{C_e}}}{{{q_e}}}=\frac{{{C_e}}}{{{q_{\hbox{max} }}}}+\frac{1}{{{k_L}{q_{\hbox{max} }}}}$$
(4)
$$\log {q_e}=\log {k_F}+\frac{1}{n}\log {C_e}$$
(5)

where Ce (mg/L) and qe (mg/g) are the concentration and the adsorption capacity of MB dye at equilibrium, qmax (mg/g) is the maximum monolayer adsorption capacity, and kL (L/mg) is the constant related to the energy of adsorption, which can be calculated by the slope and intercept of the linear plot Ce/qe vs. Ce, respectively (in Fig. 8a). Meanwhile, kF and 1/n are the Freundlich equilibrium constant and Freundlich adsorption constant, which can be calculated from intercept and slope of the linear plot between logCe and logqe, respectively (in Fig. 8b). Based on the above isotherm models, the calculated parameters are listed in Table 2. It can be seen that the adsorption of MB dye onto 3D-HPGF nanocomposite adsorbent is better described by Langmuir isotherm model with higher correlation coefficients (R2), which means the adsorption of MB dye onto 3D-HPGF nanocomposite adsorbent is a monolayer adsorption.

Fig. 8
figure 8

Adsorption isotherms for MB adsorption onto 3D-HPGF nanocomposite adsorbent. a Langmuir isotherm and b Freundlich isotherm

Table 2 Isotherm parameters for adsorption of MB dye onto 3D-HPGF nanocomposite adsorbent

The thermodynamic studies provide in-depth information on inherent energetic changes that are associated with adsorption. The effect of temperature on MB dye adsorption onto the 3D-HPGF nanocomposite is investigated, and the related thermodynamic parameters are also calculated. The thermodynamic feasibility of the adsorbent-dye interaction process can be expressed by the following equations.

$$\Delta {G^0}= - RT\ln {K_d}$$
(6)

Here ΔG0 is the change of the Gibbs free energy, R is the gas constant (8.3145 J/mol K), T is the temperature (K), Kd is the distribution coefficient (Kd = qe/Ce). The related thermodynamic parameters are shown in Table 3. Obviously, the values of ΔG0 are negative at different temperatures, suggesting the spontaneous nature of the process. Furthermore, the values of enthalpy change (ΔH0) and entropy change (ΔS0) associated with the processes are calculated using the following equations.

Table 3 Adsorption thermodynamic parameters for MB dye adsorption onto 3D-HPGF nanocomposite adsorbent
$$\ln {K_d}=\frac{{\Delta {S^0}}}{R} - \frac{{\Delta {H^0}}}{{RT}}$$
(7)

The values of ΔS0 and ΔH0 can be calculated from the slope and intercept of van’t Hoff plot (ln Kd vs. 1/T), as shown in Fig. 9. The positive value of ΔH0 indicates an endothermic nature of adsorption, while the positive value of ΔS0 reflects an increase in randomness at the solid/solution interface during the adsorption process.

Fig. 9
figure 9

Van’t Hoff plot of ln Kd vs. 1/T (initial MB concentration: 30 mg/L; contact time: 45 min)

The regeneration ability of adsorbent is crucial for its practical application. The used 3D-HPGF nanocomposite can be regenerated simply by magnetic separation and treating with ethanol solution. As shown in Fig. 10, the recycling of 3D-HPGF nanocomposite leads to a slight decrease of adsorption capacity. After the first and fifth recycle, the removal percentage of MB dye is 95.3 and 66.5%, respectively. These results indicate that 3D-HPGF nanocomposite adsorbent can be reused during practical applications.

Fig. 10
figure 10

Recycling of 3D-HPGF nanocomposite adsorbent after adsorbing MB dyes

4 Conclusions

In summary, three-dimensional hierarchical porous graphene–Fe3O4 nanocomposite has been successfully synthesized by a facile colloidal crystal templating method. The obtained 3D-HPGF nanocomposite has high specific surface area and three-dimensional hierarchical porous structures, which guarantee its adsorption performance for removing the dye contaminants from wastewater. The 3D-HPGF nanocomposite exhibits extraordinary removal capacity and fast adsorption rates for MB dye from aqueous solution, due to the van der Waals interactions occurring between hexagonally arrayed carbon atoms in the graphene sheet and the aromatic backbones of organic dye, and the strong π–π interactions between the benzene ring of organic dye and the large delocalized π-electron system of graphene. The kinetic study suggests the adsorption process follows pseudo-second-order kinetic model. The equilibrium data are well-modeled by Langmuir isotherm model. The thermodynamic parameters reveal that the adsorption process is spontaneous and endothermic in nature. Most importantly, 3D-HPGF nanocomposite adsorbent can be easily and efficiently regenerated for reuse. Therefore, the 3D-HPGF nanocomposite adsorbent can provide a better solution for solving the environmental problem of dye pollution in water resources due to its advantages of high adsorption capacity, fast adsorption rate, convenient magnetic separation and regeneration.