Introduction

Water resources on the earth are valuable and limited. Increasing population and industrialization caused a high reduction in drinking water. 90 Percent of diseases in the developing countries are related to contaminated drinking water [1]. One of the important human health challenges is heavy metal contaminations in water [2, 3]. However many articles have been reported to treatment water resources [4].

Heavy metal ions such as lead and cadmium are toxic and carcinogenic even in small amounts. These heavy metals are not biodegradable in living organisms and caused many diseases in human lifes [5]. Therefore, effective methods to remove heavy metals from water resources are essential. Classical methods to remove heavy metals such as reverse osmosis [6], electrochemical treatment [7], membrane filtration [8], chemical oxidation [9], chemical reduction [10], and ion exchange [11] are expensive and energy-consuming. In addition, some of them create new problems including production of other toxic materials [12]. In order to solve problems provided by above techniques, many efforts have been done to evaluate the efficiency of new adsorbents to removal of pollutants [13]. New adsorption techniques, in addition to being inexpensive, can be applied on a large scale and produce high-quality water without sludge production [14]. Recent researches focus on adsorbents like activated carbons, metal-oraganic frameworks, clays, zeolites, silica beads, biomass and polymeric materials to treat water [15, 16]. In the meantime, carbohydrates have good physical and chemical characteristics, low-prices, easy access and presence of various reactive groups in the main chain show fascinated specific consideration [2]. Biopolymers based on biomolecules such as starch, cyclodextrin, chitin, and chitosan are excellent substitutes for adsorbents due to their specific structure [17,18,19].

Current studies show cyclodextrins (CDs) are capable of absorbing pollutants more than zeolites [2] and activated carbon [13]. CDs are very important macrocyclic compounds because they are soluble in water [20], commercially available, inexpensive, nontoxic and readily functionalized [21]. CDs are cyclic oligosaccharides constructed from glucopyranose units connected to each other by α-1,4-linkages [22, 23]. The most usable cyclodextrins include 6, 7 and 8 units of glucopyranose, which are called α-, β- and γ- cyclodextrin respectively [24]. The outer surface of these structures is hydrophilic and their central cavity is lipophilic [25]. The presence of available OH groups in cyclodextrin molecules provides active sites which can form a number of connections [26]. Among them β-cyclodextrin has been more used due to its easy availability, cheapness and more reactivity [27, 28]. However, β-cyclodextrin are soluble in water, which limits their application to water purification [21]. Conversion of β-cyclodextrin to water insoluble materials by cross-linking to polymer networks and production of polymer derivatives or their immobilization on solid supports are proper solutions to this problem [29].

Polyurethanes (PUs) are multipurpose polymers. Unfortunately, they have low thermal stability, which limits their applications [30]. There have always been efforts to improve the thermal stability of polyurethanes. One way to improve the thermal stability of PU is the chemical modification of its structure by blending or copolymerizing with more thermally stable polymers. Poly(urethane-imide)s (PUIm)s are unique polymeric structures known for their interesting mechanical and thermal properties and also for their environmental friendly behaviors [31]. Incorporating symmetric aromatic imide rings with strong bonds into polyurethane backbone of PUIms provide good balances between mechanical and thermal properties and flexibility of these materials [30]. On the other hand introducing nanoparticles with high surface area to polymeric matrix associated with sorption sites improve adsorption ability [32, 33]. Among nanoparticles, magnetic nanoparticles are considered for high surface area and easy separation by external magnetic field [34,35,36]. Between magnetic nanoparticles, iron oxides such as magnetite (Fe3O4) with high saturation magnetizations have super paramagnetic behavior and less toxicity [37, 38]. Magnetite is a cubic mineral found in nature and can easily be synthesized [39]. Therefore, it is supposed that preparation of PUIms containing imide rings and β-cyclodextrin cavities not only provides a new adsorbent with good absorbing ability but also provides a thermally stable adsorbent with good mechanical properties.

The purpose of this research is to apply new friendly magnetic PUIm nanocomposites containing β-cyclodextrin cavities as the absorbent. The more important properties of PUIm nanocomposites are high thermal stability and reusability. Oxygen and nitrogen atoms in the imide and urethane linkages and oxygens in the pyranose rings and in glycoside bonds of β-cyclodextrin moiety may have great effects on the removal of heavy metals leading to the increase of adsorption capacity. The results has shown that these nanocomposites have a great capability to remove lead and cadmium ions from water in the optimized conditions.

Experimental section

Trimellitic anhydride, β-cyclodextrin (β-CD), 4-aminobenzoic acid, triethylamine, sodium azide, and ethyl chloroformate were purchased from Sigma-Aldrich chemical company. N,N-Dimethyl formamide (DMF), benzene, glacial acetic acid and acetone were from Merck chemical company. The adsorbents were synthesized through several steps as reported in [40].

Fourier transform infrared (FTIR) spectra were recorded on a Perkin Elmer FT-IR spectrophotometer in the range of 400–4000 cm−1. The spectra of solids were obtained by using the KBr pellet technique. 1H and 13C-NMR spectra were recorded on a Brucker Avance 300 MHz spectrometer in DMSO-d6 with TMS as an internal standard. BET surface areas were measured by nitrogen adsorption and desorption using a BELSORP-mini II (BEL Japan) system at 77 K. The samples were outgassed for 24 h at 100 °C. Crystal structure of nanocomposites were determined by Philips Xpert Xray powder diffraction (XRD), which diffracts meter (Cu-Kα radiation and λ = 0.15406) in the range of Bragg angle 10–80 by using 0.05 as the step length. The thermogravimetric analysis (TGA) and derivative thermogravimetry (DTG) data for β-cyclodextrin–polyurethane grafted to magnetic nanoparticles were obtained on a Mettler TA4000 system under N2 in the range of 25–800 °C at a heating speed of 10 °C min−1 by Tescan mira П. Morphology and nanoparticles size of resulting nanocomposites were considered by Field emission scanning electron microscope (Mira 3-XMU). The magnetic properties of nanostructures were detected by model 730 vibrating sample magnetometer (VSM) at room temperature.

Synthesis of imide-diacid (3)

A mixture of trimellitic anhydride (1) (20 mmol, 3.84 g) and 4-aminobenzoic acid (2) (20 mmol, 2.74 g) in glacial acetic acid (50 mL) were mixed at room temperature overnight and subsequently refluxed at 140 °C for 7 h. Resulting mixture was poured into crushed ice water until white precipitate formed. Then precipitate was filtered off and washed with deionized water to yield pure imide-diacide (3) (5.61 g, 90.19%) [41]. Yield: 90.16%; mp: 275–300 °C, FTIR (KBr, cm−1): 3400–2500 (OH), 1730, 1702, and 1686 (C=O), 1605 and 1512 (C=C), 1485, 1424, 1376, 1299, 1223, 1121, and 1091. 1H-NMR (DMSO-d6, 300 MHz): δ 7.62 (d, J = 8.0 Hz, 2H), 8.10 (d, J = 8.1 Hz, 3H), 8.32 (s, 1H), 8.43 (d, J = 7.5 Hz, 1 H) ppm. 13C-NMR (D2O, 100 MHz): δ 123.9, 124.4, 127.4, 130.3, 130.6, 132.4, 135.2, 136.0, 137.1166.3, 166.4, 167.2.

Synthesis of diacyl azide (4)

Into a 100 mL round-bottomed flask containing of imide-diacide (3) (10 mmole, 3.11 g) in 20 ml of acetone was added drop wise triethylamine (22 mmole, 2.23 g) and stirred about 30 min. Then a solution of ethyl chloroformate (22 mmole, 2.39 g) into 5 ml acetone was added drop wise over 30 min and stirred for another 30 min. Subsequently a solution of sodium azide (25 mmole, 1.62 g) into 15 mL of water was added drop wise to above mixture, and stirred for 2 h. Finally, 100 mL of water was added to the mixture and resulted cream colored diacyl azide (4) was filtered off and dried at ambient temperature. Yield: 80.14%; FTIR (KBr, cm−1): 3104 and 3081 (C-H), 2183 and 2143 (N3), 1780, 1734, and 1689 (C=O), 1604 and 1511 (C=C), 1418, 1373, 1286, 1260, 1216, 1181, 1121, 1088, 1001.

Synthesis of diisocyanate (5)

Into 100 mL round-bottomed flask equipped with a condenser and magnetic stirrer was added diacyl azide (4) (5 mmol, 1.806 g) into 80 mL dry benzene and refluxed for 10 h. The yellow powder of diisocyanate (5) was formed after evaporation of solvent under reduced pressure. Yield: 87.46%; FTIR (KBr, cm−1): 2283 (NCO), 1776 and 1716 (C=O), 1607 and 1537 (C=O), 1461, 1440, 1382, 1280, 1251, 1215, 1126, 1116, 1091.

Synthesis of superparamagnetic nanoparticles (MNPs) (8)

In following magnetic nanoparticles (MNPs) were prepared by an improved method such co-precipitation method [42]. Ferrous chloride (FeCl2.4H2O) (16 mmol, 3.18 g) and ferric chloride (FeCl3.6H2O) (28 mmol, 7.57 g) were dispersed into 320 mL of deionized water. Initial molar ratios of Fe(II)/Fe(III) is 1/1.75. The mixture was stirred under N2 atmosphere at 80 °C for 1 h. Then, 40 mL of NH3 (25%) was quickly added to the mixture, and stirred under N2 atmosphere for another 1 h and then cooled to room temperature. The precipitated particles were washed five times with hot water and separated by magnetic decantation. Finally, magnetite nanoparticles (8) were dried under vacuum at 70 °C. FTIR (KBr, cm−1): 3411, 1650, 627, 583 (Fe-O).

Synthesis of β-Cyclodextrin poly(urethane-imide) (β-CDPUIm) (7)

Into 100 mL round-bottomed flask containing diisocyanate (5) (17.6 mmol, 5.37 g) into dry DMF (15 mL) was gradually added a solution of β-cyclodextrin (6) (1.76 mmol, 2.0 g) into 15 ml of dry DMF and resulting mixture was stirred for 6 h at 70 °C. The final product was washed three times with water and acetone, then filtered and dried under vacuum for 24 h. FTIR (KBr, cm−1): 3350 (N-H and O-H), 1774 and 1710 (C=O), 1606, 1512, 1383. 1H-NMR (DMSO-d6, 300 MHz): δ 3.64 (bs), 4.37 (bs), 4.51 (bs), 4.90 (bs), 5.42 (bs), 5.10–5.90 (m), 6.99 (s), 7.15–7.95 (m), 9.13 (bs) ppm.

Synthesis of β-cyclodextrin poly(urethane-imide)(7) grafted to Fe3O4 magnetic nanoparticles(8) (β-CDPUIm-MNPs)(9)

Magnetic nanoparticles (8) (1.73 mmol, 0.40 g) were dispersed into 30 ml dry DMF in a 100 mL round-bottomed flask and then a solution of diisocyanat (5) (17.6 mmol, 5.37 g) into 15 ml of DMF was gradually added into the mixture and stirred for 3 h by a mechanical stirrer. Finally a solution of β-cyclodextrin (6) (1.76 mmol, 2.0 g) into 15 mL of dry DMF was gradually gradually added to the mixture and stirred for 3 h at 70 °C. Resulting β-CDPUIm-MNPs (9) was washed three times with distillated water and acetone, separated by magnetism and dried under vacuum for 24 h [37]. FTIR-(KBr, cm−1): 3366 (N-H and O-H), 3075, 2926, 1774 and 1722 (C=O), 1660, 1606, 1436, 1385 cm−1.

Batch-adsorption studies

To optimization of adsorption process of lead and cadmium ions, the effects of different factors like pH, contact time, and initial amounts of Pb(II) and Cd(II) ion were studied. Adsorption experiments were carried out by adding of β-CDPUIm-MNPs (9) (50 mg) to 50 mL conical flasks containing different amounts of Pb(II) and Cd(II) ions. As comparable experiments, similar trials were performed by adding same amounts of β-CDPUIm (7) (50 mg). The flasks were put into a shaking incubator at 180 rpm for different times. Initial pH of samples was adjusted by phosphate buffers. The Pb(II) and Cd(II) concentrations selected between 100 and 350 mg L−1. Adsorption kinetic analyses evaluated with an initial Pb (II) and Cd(II) concentration about 200 mg L−1 at pH 7 with an adsorbent dose of 50 mg. The prepared mixtures were allowed to react with adsorbent for a contact time between 1 and 180 min. At particular time intervals, mixtures were separated by a permanent magnet, filtered and Pb(II) and Cd(II) concentrations were measured. The concentrations of heavy metal ions in the filtrate were measured by atomic adsorption spectroscopy (PerkinElmer AA700, USA). The following Eq. 1 was applied to calculate the adsorption capacity of the adsorbent (qe, mg/g).

$$ {q}_e=\frac{\left({C}_0-{C}_e\right)V}{m} $$
(1)

The investigation of recyclability and reusability of adsorbent

The separation of β-CDPUIm-MNP (9) containing adsorbed Pb(II) and Cd(II) was carried out by a permanent magnet and then it was washed with water. Then, in order to regenerate β-CDPUIm-MNPs (9), desorption phenomenon was carried out by treating used adsorbents with nitric acid solution under stirring. Finally, the recovered β-CDPUIm-MNPs (9) was ready to be reused for other adsorption-desorption tests after being dried.

Results and discussion

Synthesis and characteristics of β-CDPUIm (7) and β-CDPUIm-MNPs (9)

Polyurethane (PU) skeletons are usually prepared by polycondensational reaction of a diol or polyol reagent with diisocyanate or poly isocyanate compounds. Different methods have been reported to prepare isocyanates, including phosgenation of an amine or its salts [43], oxidation of isonitriles [44], and conversion of hydroxamate via the Lossen rearrangement [45]. Oxidative rearrangements of acyl azides to corresponding isocyanate via the Curtius rearrangements have been used extensively to prepare various isocyanates. Hence, preparations of poly(urethane-imide)s (PUIm)s need proper diols and diisocyanate compound. Our initial investigation began with preparation of a new diisocyanate (5) containing dimide rings as a proper monomer to prepare new poly(urethane-imide) (7) containing β-cyclodextrine cavities. First imide-diacid (3) was obtained by condensational reaction of trimellitic anhydride (1) and 4-aminobenzoic acid (2) in glacial acetic acid according to a typical procedure [41]. Then imide-diacid (3) was converted to diacyl azide (4) by reaction with ethylchloroformate, sodium azide in the presence of triethylamine. Curtius rearrangement of diacyl azide (4) by refluxing in dry benzene yielded diisocyanate (5) (Scheme 1).

Scheme 1
scheme 1

Synthetic route to preparing diisocyanate (5)

The FT-IR spectra of imide-diacid (3), diacyl azide (4), and diisocyanate (5) are shown in Fig. 1. In the FT-IR spectrum of imid-diacid (3) vibrational bands between 3400 and 2400 cm−1 are dominated by broad hydrogen bonding bands. The frequencies appeared at 1770, 1722, and 1680 cm−1 are corresponding to asymmetric and symmetric vibrations of carbonyl imide rings and also carboxylic moiety, respectively. In FT-IR spectrum of diacyl azide (4), absorption bands at 2183 and 2143 cm−1 are related to azide stretching vibrations and also corresponding OH stretching frequencies of carboxylic groups are dispread. Appearance of broad strong isocyanate bands at 2283 cm−1 and disappearance of bands related to azide groups clearly confirmed formation of diisocyanate (5).

Fig. 1
figure 1

FT-IR spectra of imid-diacid (3) (a), diacyl azide (4) (b), and diisocyanate (5) (c)

Also successful fabrication of imid-diacid (3) was confirmed by 1H-NMR spectroscopy. 1H NMR spectrum of imid-diacid (3) in DMSO-d6 exhibited two doublet peaks at 7.62 and 8.43 ppm related to Hb and Hd protons respectively. The singlet peak at 8.32 ppm was attributed to He proton of imide ring. Finally, Ha and Hc appeared as one doublet peak at 8.10 ppm due to similarity in their chemical shift (Fig. 2).

Fig. 2
figure 2

1H-NMR spectra of the imid-diacid (3)

The 1H-decoupled 13C NMR spectrum of imid-diacid (3) shows three carbonyl groups at 166.3, 166.4, and 167.2 ppm. Also appearance of 10 distinct signals in the aromatic region of 13C NMR spectrum of imid-diacid (3) is in good agreement with the proposed structure (Fig. 3).

Fig. 3
figure 3

13C NMR spectra of the imid-diacid (3)

Also β-Cyclodextrin poly(urethane-imide) (β-CDPUIm) (7) was synthesized by reaction of β-CD (6) with diisocyanate (5) as a cross-linking agent. The urethane linkages were made by nucleophilic addition of two hydroxyl groups of β-CD (6) species onto isocyanate moieties (Scheme 2). The chemical structure of the soluble β-CDPUIm (7) was confirmed by FT-IR and 1H-NMR analyses.

Scheme 2
scheme 2

Synthesis of β-CDPUIm (7)

Taking the benefits of magnetic targeting, Fe3O4 nanoparticles (8) were prepared by improved coprecipitation method of an aqueous mixture of Fe(II) and Fe(III) chloride in the presence of ammonia solution. Resulting β-CDPUIm-MNPs (9) were obtained by a two steps-reaction. First isocyanate functionalized MNPs (8) were formed by reaction of free hydroxyl groups onto the surface of magnetic Fe3O4 nanoparticles with an excess of diisocyanate (5) and then, insoluble and cross-linked β-CDPUIm-MNPs (9) containing β-CD cavities were prepared by reaction of β-CD (6) with free isocyanate moiety onto MNPs (8) surfaces and also unreacted diisocyanate (5) into dry DMF at 70 °C under nitrogen atmosphere (Scheme 3).

Scheme 3
scheme 3

Synthetic route of β-CDPUIm-MNPs (9) grafted onto Fe3O4 magnetic nanoparticles (8)

The FT-IR spectra of β-CD (6), β-CDPUIm (7), β-CDPUIm-MNPs (9) and Fe3O4 nanoparticles (8) were shown in Fig. 4. FT-IR spectrum of β-CD (6) show a broad absorption peak around 3000–3600 cm−1 which related to hydroxyl groups of β-CD molecules. Peak appeared around 583 cm−1 in pristine Fe3O4 (8) spectrum as characteristic absorption of Fe-O was shifted to 593 cm−1 after surface modification by β-CDPUIm (7). Disappearance of a strong peak around 2283 cm−1 related to diisocyanate (5) moiety in FT-IR spectra of β-CDPUIm (7) and β-CDPUIm-MNPs (9) confirmed completed polymerization. The FT-IR spectrum of β-CDPUIm-MNPs (9) showed characteristic absorption bands at 3366 and 1774, 1722, 1660 cm−1 corresponded to NH and C=O starching vibrations. The NHCO stretching frequency was also observed at 1543 cm−1.

Fig. 4
figure 4

IR spectra of β-cyclodextrin (6), β-CDPUIm (7), β-CDPUIm-MNPs (9), and Fe3O4 nanoparticles (8)

The 1H-NMR spectra of β-CD (6) and soluble β-CDPUIm (7) compared in Fig. 5. Appeared protons in high-field (3.11–5.57 ppm) are related to β-CD (6) ring and also appeared signals around 7.15–7.95 ppm are related to aromatic protons. Also two peaks at 6.99 and 9.13 ppm related to N-H of amide moiety confirm formation of urethane linkages in soluble β-CDPUIm (7).

Fig. 5
figure 5

1HNMR spectra of β-CD (6) and β-CDPUIm (7)

Brunauer–Emmett–teller (BET) analysis

The specific surface areas of the β-CDPUIm (7) and the β-CDPUIm-MNPs (9) were determined by the Brunauer–Emmett–Teller (BET) surface area analyzer. The results are given in Table 1. The surface area of the β-CDPUIm (7) increased from 0.8336 to 1.9705 m2/g with the addition of Fe3O4 nanoparticles.

Table 1 Comparison of the BET surface area of β-CDPUIm (7) and the β-CDPUIm-MNPs (9)

XRD analysis

Crystalline structures of Fe3O4 nanoparticles (8), β-cyclodextrin poly(urethane-imide) (β-CDPUIm) (7) and β-cyclodextrin poly(urethane-imide) bonded to Fe3O4 nanoparticles (β-CDPUIm-MNPs) (9) were clearly visible in XRD measurements in Fig. 6. Six characteristic diffraction peaks of pure Fe3O4 (8) are exhibited at 2θ = 30.2°, 35.5°, 43.3°, 53.6°, 57.0° and 62.6° which corresponded to (220), (311), (400), (422), (511), and (440) planes of Fe3O4 (8), respectively [46]. Comparing XRD pattern of β-CDPUIm (7) to reported XRD pattern of pure β-CD [47] exhibited when the β-CD (6) is combined in a polymer backbone it totally loses its crystalline nature and spread in the poly(urethane-imide) matrix without creating any aggregates. The XRD pattern of β-CDPUIm-MNPs (9) demonstrated corresponding peaks of Fe3O4 (8) along with the peaks of β-CDPUIm (7).

Fig. 6
figure 6

XRD patterns of bare Fe3O4 nanoparticles, β-CDPUIm-MNP (9), and β-CDPUIm (7)

TGA and DTG analysis

TGA and DTG analysis of final adsorbent (9) shown in Fig. 7, was used to estimate thermal stability of β-CDPUIm-MNPs (9). There is a five-stage degradation pattern in the range of 30–700 °C in TGA thermogram. First weight loss around 2.89% up to 170 °C suggests a removal process of physically adsorbed water and dehydration of hydroxyl functional groups onto magnetic nanoparticles surfaces. The second weight loss step about 22.50% in the region of 170–390 °C corresponded to the cleavage of the urethane linkages. Another stage of degradation in the region of 390–480 °C is probably related to bond cleavage between β-CD (6), poly(urethane-imde) and magnetic nanoparticles (8). The degradation in the region of 480–600 °C may be related to decomposition of CD. Finally, weight loss in the range of 600–750 °C is related to degradation of magnetic nanoparticles of Fe3O4 (8).

Fig. 7
figure 7

TGA and DTG analysis of β-CDPUIm-MNPs (9)

Field emission scanning electron microscopy (FE-SEM) analysis

By using Field Emission Scanning Electron Microscopy (FE-SEM), morphology and distribution quality of β-CDPUIm (7) and β-CDPUIm-MNPs (9) are identified. Nanoparticles appeared in resulting samples as shown in Fig. 8 show spherical shapes means a large surface area. Size of magnetic nanoparticles is about 200 nm and nanoparticles were homogeneously distributed in resulting samples.

Fig. 8
figure 8

SEM morphology of β-CDPUIm (7) (a) and β-CDPUIm-MNP (9) (b)

Vibrating sample magnetometer (VSM) analysis

Magnetic property of pure magnetic nanoparticles (Fe3O4) (8) and β-cyclodextrin poly(urethane-imide) bonded to magnetic nanoparticles (β-CDPUIm-MNPs) (7) studied with vibrating sample magnetometer (VSM) at room temperature (Fig. 9). The hysteresis loops obtained at room temperature under applied magnetic field were between −10,000 to 10,000 Oe. Resulting saturation magnetization (Ms) value of β-CDPUIm-MNPs (9) was near to 33.0 emu/g at room temperature, and show a suitable view related to frequent magnetic separation. Indeed, this data was less than Ms. of pure Fe3O4 (46 emu/g). Remanence magnetization (Mr) values of nano pristine Fe3O4 (8) and β-CDPUIm-MNPs (9) were about 9 and 3, respectively and also their coercivity (Hc) were about 0.75 and 0.25, respectively indicating resulting β-CDPUIm-MNPs (9) retained super paramagnetic behavior. Also measuring saturation magnetization (MS) data show super paramagnetic behavior means nano pristine Fe3O4 (8) is not damaged during the preparation of β-CDPUIm-MNPs (9). Attaching Fe3O4 (8) onto β-cyclodextrin poly(urethane-imide) (7) surfaces leads easy separation of resulting product (β-CDPUIm-MNPs) (9) from water environment by a simple magnetic and reused to successive purification cycles. Synthetic β-CDPU-MNPs (9) has moderately higher Ms. value in comparison to most reported composite polymers [37]. The high saturation magnetization (Ms) value modifies water purification technique.

Fig. 9
figure 9

VSM data of pristine Fe3O4 nanoparticles (8) and β-CDPUIm-MNPs (9)

Effect of pH

Adsorption performance depends on pH value of solution because changing of pH leads to different protonation of active sites onto adsorbent surfaces and also effect on adsorption behavior of resulting β-CDPUIm-MNPs (9) to removal of Cd(II) and Pb(II) spices. All of experiment takes placed between pH 2 to 7 at room temperature and resulting data shown in Fig. 10. Results show the removal contents of Cd(II) and Pb(II) spices by β-CDPUIm-MNPs (9) adsorbent were strongly dependent to pH value. Adsorption efficiency of above ions was increased by changing pH value from 2 to 7. The effects of pH on the adsorption of heavy metal ions on β-CDPU-MNPs (9) adsorbents can be attributed to electrostatic interaction. In acidic pH active sites become protonated and the absorption of heavy metals decreases.

Fig. 10
figure 10

pH effect on adsorption behavior of Cd(II) and Pb(II) spices

Adsorption isotherms

The absorbance process of heavy metal ions by resulting solid adsorbents is usually verified through the Langmuir and Freundlich isotherms due to their simplest operation. The Langmuir isotherm presumes that maximum adsorption happens when a saturated monolayer of adsorbed molecules is present onto adsorbent surfaces [48]. In contrast to Langmuir isotherm, Freundlich isotherm model is used to depict multilayer adsorption. So, we used these models to lead and cadmium ions uptake onto β-CDPUIm-MNPs (9) and the linear Eq. 2 for Langmuir isotherm model is shown as follows:

$$ \frac{{\mathrm{C}}_{\mathrm{e}}}{{\mathrm{q}}_{\mathrm{e}}}=\frac{1}{K_L{\mathrm{q}}_{\mathrm{m}}}+\frac{{\mathrm{C}}_{\mathrm{e}}}{{\mathrm{q}}_{\mathrm{m}}} $$
(2)

The Freundlich isotherm model is based on this assumption that adsorption energy depends to contents of occupied adjacent sites and mathematical formula can be expressed in Eq. 3.

$$ \ln {\mathrm{q}}_{\mathrm{e}}=\frac{1}{n}\ln {\mathrm{C}}_{\mathrm{e}}+\ln {K}_{\mathrm{F}} $$
(3)

Ce (mg/L) is concentration of heavy metals at equilibrium; qe (mg/g) is quantity of adsorbed quantity per mass of β-CDPU-MNPs (9); qm (mg/g) is maximum adsorption capacity at equilibrium, KL (L/mg) is Langmuir adsorption constant. KF and n are defined as Freundlich constants related to adsorption capacity and adsorption intensity, respectively.

By plotting the diagram of lnqe vs lnCe, estimations of n and KF can be accessed by slope and intercept, respectively. Also, the graph of Ce/qe vs Ce leads to a straight line with slope of 1/qm and intercept of 1/KLqm.

Resulting parameters of Langmuir and Freundlich isotherms calculated by means of linear fitting listed in Table 2 and show in Fig. 11.

Table 2 Adsorption isotherm parameters of Pb(II) and Cd(II) onto β-CDPUIm-MNPs (9)
Fig. 11
figure 11

Langmuir and Freundlich isotherm of adsorption of Pb(II) and Cd(II) onto β-CDPUIm-MNPs (9)

The maximum adsorption capacity (qm) values calculated from the Langmuir model were 344.830 and 303.030 mg/g for Pb(II) and Cd(II) ions, respectively. Comparing qm values of Pb(II) and Cd(II) ions adsorption to other reported adsorbents (Table 3) showed that the β-CDPUIm-MNPs (9) have a higher adsorption capacity.

Table 3 Comparison of the maximum adsorption capacity of Pb(II), and Cd(II) ions on various adsorbents

The adsorption of Cd(II) and Pb(II) on adsorbent might be related to complexation and electrostatic interactions between Cd(II) and Pb(II) and oxygen and nitrogen- containing groups on β-CDPUIm backbone [56]. This is in accordance with Langmuir model. Poly(urethane-imide) backbone will be ionized at acidic pH. Therefore, protonation of the amine and carbonyl groups causes the electrostatic repulsion between the positive charges on the poly(urethane-imide) and Cd(II) and Pb(II), which lead to the less adsorption of them. In neutral medium the free carbonyl and nitrogen groups interacted with Cd(II) and Pb(II) and hence adsorption capacities will be increased. Hence, acid treatment is a proper method for regeneration of adsorbent.

Adsorption kinetics

The adsorption contents of Pb(II) and Cd(II) by β-CDPUIm (7) and β-CDPUIm-MNPs (9) adsorbents in aqueous solution versus contact times are shown in Fig. 12.

Fig. 12
figure 12

Effect of adsorption time on the adsorption amount of Pb(II) and Cd(II) by β-CDPUIm-MNPs (9) adsorbent

Results show adsorption capacity of both metal ions by adsorbent increased by increasing the contact time. Also rate of adsorption was remarkable fast and maximum adsorption attained within 20 min which is dramatically short time in compare to previous works. β-CDPUIm-MNPs (9) could adsorb heavy metal ions by aqueous solution due to high specific surface area and ability of internal diffusion.

Herein, pseudo-first-order and pseudo-second-order models were examined to find real kinetic model. The pseudo-first-order Eq. 4 is described as follow:

$$ \ln \left({q}_e-{q}_t\right)=\mathit{\ln}{q}_e-{k}_1t $$
(4)

The Pseudo-second-order model Eq. 5 is expressed as follow:

$$ \frac{t}{q_t}=\frac{1}{k_2{q}_e^2}+\frac{1}{q_e}t $$
(5)

qe (mg/g) and qt (mg/g) are adsorption capacity at equilibrium situation and time reaction respectively; K1(1/min) and K2 (mg/g min) are the constant rates of pseudo-first-order and pseudo-second-order models respectively [57, 58].

K1 and qe are determined by slope and intercept of linear plot of ln (qe-qt) versus time. By plotting the diagram of time/qt versus time, k2 and qe,cal can be approximated by intercept and slope respectively (Fig. 13).

Fig. 13
figure 13

Pseudo-first-order and pseudo-second-order kinetics of Pb(II) and Cd(II) adsorption by β-CDPUIm (7) and β-CDPUIm-MNPs (9)

Corresponding adsorption kinetics parameters by these models are shown in Table 4.

Table 4 Adsorption kinetic parameters of Pb(II) and Cd(II) onto magnetic adsorbent

The adsorption behavior of both samples, fits well to pseudo-second-order model with a high value of correlation coefficient (R2) (>99%), and also qe values calculated by pseudo-second-order model are much closer to experimental resulting qe compare to estimated data by pseudo-first-order model.

Desorption studies

Recycling and reuse of adsorbent are essential to practical and industrial applications. In this research β-CDPUIm-MNP (9) containing adsorbed Pb(II) and Cd(II) were separated by a permanent magnet and washing by water. Results show that prepared β-CDPUIm-MNPs (9) have a weak adsorption capacity at acidic pH means acid treatment is probably a proper method for regeneration of β-CDPUIm-MNPs (9). Therefore, desorption phenomenon takes place by treating isolated adsorbents with nitric acid solution under stirring. Recovered β-CDPUIm-MNPs (9) was dried and applied to other adsorption-desorption tests and desorption efficiency was found about 95%. The adsorption capacity of β-CDPUIm-MNPs (9) against Pb(II) and Cd(II) after five cycling usages decreased about 7.6% and 11.1%, respectively which is probably related to some inactive sites created onto nanocomposites surfaces during the adsorption-desorption processes.

Figure 14 shows representative SEM images of fresh and regenerated β-CDPUIm-MNPs (9) after five cycling usages. The regenerated adsorbents still showed similarity to fresh structure. Resulting magnetic nanocomposite can be simply recycled and reused within several times, which supports their long-time application in water treatment.

Fig. 14
figure 14

Performance of β-CDPUIm-MNPs (9) for five cycles of regeneration (a) and SEM images of fresh (b) and regenerated (c) β-CDPUIm-MNP (9) adsorbent

Conclusions

In this research, a new magnetic and thermally stable poly(urethane-imide) as adsorbent containing β-cyclodextrin cavities was successfully prepared and used to remove heavy metals such as lead and cadmium from contaminated water. The adsorption capacity of this adsorbent was significantly enhanced by binding to iron nanoparticles and also easily separated by external magnetic field. The highest amounts of lead and cadmium removal occurred within 20 min and also highest adsorption capacity occurred at pH 7. The equilibrium isotherm data show adsorbent follows the Langmuir model and kinetics of lead and cadmium adsorption pursues the pseudo-second-order model. The maximum adsorption capacities of β-CDPUIm-MNPs for Pb(II) and Cd(II) ions based on Langmuir isotherm calculation were 344.830 and 303.030 mg/g, respectively. In addition, β-CDPUIm-MNPs (9) can be recycled up to five times without any significant reduction in its magnetic intensity and adsorption capacity. The adsorption capacity of β-CDPUIm-MNPs (9) against Pb(II) and Cd(II) after five cycling usages decreased about 7.6% and 11.1%, respectively. Based on these resulting data magnetic β-CDPUIm-MNPs (9) can be a potentially proposed as suitable adsorbent to removal of heavy metal ions from aqueous media.