1 Introduction

Due to the conditions that Egypt is going through, which are related to shortage of water resources, the reuse of wastewater is gaining more attention as an effective strategy (Ibrahim et al., 2020; EL-Mekkawi et al., 2020; EL-Mekkawi et al., 2016). Metal contamination of soil and water is a critical environmental problem (Sebastian et al., 2019). Sodic soils reduce the productivity of arid and semiarid lands. The high level of sodium restricts the infiltration of water into the soil as well as the water availability to plants (Sebastian et al., 2019). The existing potassium and sodium ions in water are essential for cellular and electrical processes. Abnormal levels of these ions may raise the risk of heart arrhythmias, weaken health of bones, and hypokalemia. Therefore, it is necessary to control the amount of sodium and potassium ions in irrigating and drinking water within their normal limits (Ahn et al., 2018).

Inorganic ion exchangers are a promising class of materials for the removal of these undesired metal cations (Zhang et al., 2017). The most important advantages of the ion exchange process are their fast kinetics, high removal capacity and its capability to sorb metal cations present in trace amounts (EL-Mekkawi, and Selim, 2014; EL-Mekkawi et al., 2016; Selim et al., 2017). Titanium phosphate (TP) ion exchanger is an insoluble acid salt of tetravalent titanium metal. The presence of two types of functional groups, Ti−OH and phosphoric acid groups, enables titanium phosphate materials to display amphoteric behavior (Zhang et al., 2017). The protons within the phosphate groups are mostly responsible for the ion exchange process.

TP exhibits various structures according to the type of linkage between oxygen in the phosphate groups and titanium. Amorphous, fibrous, layered α-TP and γ-TP, or three-dimensional titanium phosphates are previously investigated structures (Alberti et al., 1996; Serre et al., 2012; Trublet et al., 2016). The preparation of TP mostly involves long procedures and harsh conditions such as high pressure and temperatures. These complicated conditions raise the energy consumption and the cost of the preparation processes. Various methods have been introduced in literature for the synthesis of titanium phosphates (TP). TP was mostly prepared through the reaction of phosphoric acid or phosphate salts with titanium (Tegehall, 1986) or titanium-based materials. These materials include titanium oxides (Bruque et al., 1995; Maslova et al., 2018), alkoxides (Liu et al., 2010; Guo, and Han, 2014; Guo et al., 2014), or salts such as TiCl4 (Onoda and Yamaguchi, 2012a; Onoda and Yamaguchi, 2012b; Onoda et al., 2021), TiCl3 (Bortun et al., 1995), TiSO4 (Onoda et al., 2014), and TiOSO4 (Maslova et al., 2008).

On the other hand, it has been previously revealed that transformation of the titanium phosphate materials from their proton to sodium forms cannot be fully accomplished (Qureshi and Varshney, 1991). This was attributed to the existence of different exchange units, geometry restriction and possible partial hydrolysis of the material.

Activate carbon is extensively utilized in the remediation of waters contaminated with organic and inorganic pollutants (Velo-Gala et al., 2017; Botome´ et al., 2017; Suhas et al., 2017; Filipe-Ribeiro et al., 2017, Zhang et al., 2017; Björklund and Li, 2017). Active carbon is characterized by its porous structure and high surface area. It is expected that the removal of metal ions from wastewaters by TTP will be enhanced when supported on active carbon due to the high exposed surface area of the formed composite.

EL-Rahawy drain is the major source of pollution for Rosetta Branch (one of two branches of River Nile on Mediterranean Sea). It is the end part of EL-Mhiet agricultural drain. EL-Rahawy receives combined discharges from the agricultural drainage system and the two-sewerage plant (Zenein and Abo-Rawwash). This highly polluted streams flow into Rosetta Branch from the west side about 9 km north of Delta Barrage. The discharge of EL-Rahawy drain ranged from 1.9 up to 2.8 million m3/day. The drain contains significant amount of sodium, potassium, toxic heavy metals, and organic pollutants. The Rahawy drain is mostly a basic stream. Thus, the aim of this research is demonstrating adequate TP materials with high removal capacity to be utilized at such operating circumstances.

Taking into account the above, this article represents a simple preparation method of high removal capacity titanium phosphate composites under mild experimental conditions. The method involves the hydrolysis of TiCl4 in a basic medium followed by the reaction with phosphoric acid. The suitability of the remediation of polluted synthetic and real wastewaters by titanium oxyhydroxide/titanium phosphate (TTP) and TTP-active carbon (TTPC) composites has been explored. The synthesized materials were fully characterized by using x-ray fluorescence (XRF), x-ray diffraction (XRD), high-resolution transmission electron microscopy (HRTEM), Fourier transform infrared (FTIR), and thermo gravimetric analysis (TGA). Surface characterizations were also investigated by using N2 adsorption/desorption measurements. The sorption behavior of the synthesized TTP composites against metal cations particularly Na and K ions were thoroughly investigated.

2 Materials and Methods

Titanium tetrachloride (TiCl4) was purchased from Merck. Ammonium hydroxide solution (NH4OH, 30%) was purchased from Adwic, Egypt. Sodium nitrate (NaNO3) and potassium nitrate (KNO3) were purchased from GFS, CHEMICALS, USA. Phosphoric acid H3PO4, 95%) was purchased from Lach-Ner, Czech. All chemicals and materials were used as received.

Real wastewater samples were collected from Rahawy drain as a real case study. The sample was collected from the point of discharge of the drain into Rosetta Branch. Sampling and preservation procedures were carried out according to Standard Method for Examination of Water and Wastewater (Standard methods for the examination of water and wastewater, 2017). Full analysis of the collected real wastewater was given in the results and discussion section.

2.1 Synthesis of Titanium Phosphate Materials

Titanium phosphate (TTP) materials were synthesized by hydrolyzing TiCl4 in a basic medium followed by the reaction with phosphoric acid. 88 ml of TiCl4 dissolved in HCl (24% w/v) was transferred drop wise to solution containing 145 ml of NH4OH solution in the absence and presence of activated carbon under vigorous stirring. Upon the completion of the reaction, the formed white precipitate of titanium oxyhydroxide (supported or unsupported) was washed with distilled water to get rid of any chloride ions. Phosphoric acid was then added drop by drop to form titanium phosphate until pH became 3. The synthesized samples were then washed thoroughly by distilled water until pH reached constant value (approximately 4.5). All samples were then dried in an oven at 100 °C. The synthesized unsupported and supported titanium phosphate samples were coded TTP and TTPC, respectively. The ratio of TTP to active carbon in the prepared TTPC composite was adjusted at 1:5. Active carbon was purchased from Atlantic Industries company, Egypt. Full analyses of the active carbon were carried out according to American Society for Testing and Materials “ASTM” (1999). The physicochemical characteristics of the active carbon are summarized in Table 1

Table 1 physicochemical characteristics of the active carbon

2.2 Characterization of Titanium Phosphate Materials

2.2.1 X-ray Diffraction Measurements

Crystallinity and chemical composition of TTP materials were investigated by x-ray diffraction technique. The XRD diffractograms of the synthesized TTP materials were determined using a Bruker diffractometer (Bruker D8 advance target). Cu Kα radiation source with secondly monochromator (λ= 1.5405Ǻ) at 40 kV and 40 mA was used and the scanning rate was adjusted at 0.2 min−1.

2.2.2 Elemental Analysis

The chemical composition of the prepared TTP sample was determined through its elemental analysis by using x-ray fluorescence (XRF Axios, sequential WD-XRF spectrometer, PANalytical 2005, Netherland). Grinding, pressing, and bead preparation of the investigated samples were carried out by using automated integrated sample preparation units.

2.2.3 High-Resolution Transmission Electron Microscopy

The surface morphology of TTP materials were studied by high-resolution transmission electron microscope (HRTEM). HRTEM images were taken on JEOLTEM- 1230 at 200 k eV acceleration voltage and camera length 8–12 m. The samples were dispersed in distilled water followed by ultrasonic vibration for half an hour. A drop of the dispersed sample was placed onto a copper grid coated with a layer of amorphous carbon.

2.2.4 FTIR Analyses

The characteristic functional groups on TTP surface were identified by using Fourier-transform infrared spectroscopy (FTIR). The FTIR transmission spectrum of TTP in the range 4000–400 cm−1 was measured using FTIR-ATR Bruker Vertex 80V (Germany) combined with platinum diamond ATR, with resolution 4 cm−1 and refractive index 2.4. The spectrum was recorded in IR grade KBr at room temperature.

2.2.5 Thermogravimetric Analysis

Thermogravimetric analysis (TGA) was performed to study the thermal decomposition of TTP by Themesys one, thermal analyzer, France. TGA analysis was carried out according to ASTM E1131, ISO 11358. Heating rate was set at 10 °C per minute from room temperature to 1000 °C under nitrogen atmosphere.

2.2.6 Surface Characterization

The surface characteristics of TTP materials were determined from N2 adsorption-desorption isotherms measured with BELSORPmax (BEL JAPAN INC.) at −196 °C. Samples were degassed for 24 h at 80 °C before taking the measurements. The specific surface area of each sample was calculated by the Brunauer-Emmett-Teller (BET) equation, whereas the micropore/mesopore volume was measured using the t-plot method. Non-local density functional theory (NLDFT) model was applied to determine the porosity of TTP samples.

2.3 Removal of Na and K Ions by TTP Materials

Removal of Na and K ions by TTP materials from water was conducted using the batch method. Batch experiments were carried out using certain weight of TTP samples suspended in a solutions containing metal ions of different concentrations (weight/volume = 1:10). All experiments were carried at room temperatures (25 °C). The mixtures in the bottles were shaken for 120 min. After each experiment, TTP materials were filtered. The exact concentrations of the removed Na and K ions were estimated using Flame photometer 410 Sherwood.

The sorption of metal cations by TTP materials was described by the Langmuir Eq. (1) (Langmuir, 1918)

$$\it 1/q_{e} = C_{e}/q_{m}b + 1/C_{e}q_{m}$$
(1)

where qe (mg/100g) and Ce (mg/L) are the amounts of removed metal ions per 100 g of the investigated samples and remaining metal ions concentration in solution at equilibrium, respectively. qm is the maximum amount of removed metal ions per 100 g of solid sample to form a complete monolayer on the surface at high Ce, and b is a constant related to the affinity of the binding sites (L/mg).

2.4 Determination of Ion-Exchange Capacity

The ion-exchange capacity of titanium phosphate was investigated by a simple back titration method (Maslova et al., 2012). TTP sample was treated with 0.5 M NaOH for 12 h (solid:liquid = 1:100). The solution was then filtrated and titrated with 0.1 M HCl (using phenol phthalene as indicator). The exchange capacity E (in meq/g) was then estimated using the Eq. (2):

$$\textrm{E}=\frac{{\textrm{V}}_{\textrm{HCl}}\times {\textrm{M}}_{\textrm{HCl}}\times {\textrm{V}}_{\textrm{solution}}}{{\textrm{V}}_{\textrm{aliquot}}\times {\textrm{M}}_{\textrm{sorbent}}}$$
(2)

The ion-exchange capacity was similarly investigated by using KOH and the results were compared to that obtained by using NaOH.

2.5 Real Wastewater Analysis

Inductively coupled plasma -optical emission spectrometry (ICP-OES) with Ultra Sonic Nebulizer (USN) with instrumental detection limit 10%, Perkin Elmer Optima 5300, USA, was used to determine heavy metals (Ba, Cd, Co, Cu, Fe, Mn, and Zn) in the real wastewater samples. Electrical conductivity (EC) and pH values were measured at 25°C as standard temperature using bench-top electric conductivity and pH meter, WTW Multi 9620IDS, serial No:19211274. Ammonia determined by Ammonia electrode Orion STAR A214 serial No: SnX4281. Calcium and magnesium hardness were determined as calcium carbonate and magnesium carbonate by applying a titrimetric method with ethylene diamine tetra acetic acid (EDTA). Sodium salt of EDTA forms a chelate of a soluble complex when added to the water sample (standard methods for the examination of water and wastewater, 2017).

3 Results and Discussion

3.1 Synthesis of Titanium Oxyhydroxide/Phosphate Composites

In this research, titanium phosphate (TTP) materials were synthesized by hydrolyzing TiCl4 using NH4OH solution followed by the interaction of phosphoric acid as previously indicated in the experimental section. The precipitation of TiCl4 into the highly dispersed oxyhydroxide gel allowed robust interaction between the gel and phosphoric acid to form tiny nano-sized titanium phosphate under mild conditions. The pH of the solution was followed up to minimize the excess of the unreacted phosphoric acid. The formed samples were then fully characterized and investigated for the removal of metal cations as described later.

3.2 Characterization of TTP Materials

The synthesized TTP and TTPC were characterized using XRD, XRF, HRTEM, FTIR, and TGA as well as the nitrogen adsorption/desorption analyses as discussed below.

3.2.1 XRD Analysis

The x-ray diffractogram of TTP is illustrated in Fig. 1. TTP displayed no sharp diffraction peaks, only broad peaks at 10–70°, indicating its low degree of crystallinity. Similar x-ray diffractograms were previously introduced for amorphous TTP (Trublet et al., 2016; Maslova et al., 2008).

Fig. 1
figure 1

XRD diffractogram of the synthesized TTP

The XRD diffractogram (Fig. 2) of TTP treated at 1000 °C indicates the formation of a mixture of TiO2 and titanium oxide phosphate Ti5O4(PO4)4 phases. The mixture is composed of 18% anatase, 24% rutile, and 58% titanium oxide phosphate phases. The data matched the standard XRD data in Joint Committee on Powder Diffraction Standards (JCPDS); card files nos. 00-021-1276, 00-021-1272, and 01-087-0563 of rutile, anatase titania, and titanium oxide phosphate phases, respectively. This data indicates that the synthesized TTP sample composed of unreacted titanium oxyhydroxide and titanium phosphate.

Fig. 2
figure 2

XRD diffractogram of the TTP after treatment at 1000 °C. A = anatase, R = rutile and P = titanium oxide phosphate

3.2.2 Elemental Analysis

The chemical composition of the synthesized TTP sample was investigated by XRF measurement (see Table 2). As illustrated in Table 2, TTP composed of only Ti and P elements beside the weight loss (volatile water) which are the constituents of titanium oxyhydroxide and titanium phosphate phases. As indicated in Table 2, the TiO2:P2O5 ratio in TTP sample was estimated to be 1.513 indicating the existence of TiO2 as a separate phase as confirmed by XRD.

Table 2 Chemical composition of TTP in % mass

3.2.3 High-Resolution Transmission Electron Microscopy Analyses

Figure 3 illustrates high-resolution transmission electron microscopy (HRTEM) image of the synthesized TTP and TTPC. The obtained images in Fig. 3 confirm the formation of nano-sized TTP with narrow particle size distribution (average diameter of TTP ~ 6 nm). TTP is quasi-spherical in shape. Both of TTP and TTPC samples displayed layered structures. Figure 3b presents the diffraction pattern of the prepared sample indicating the low crystallinity of TTP. These results are in agreement with findings obtained by XRD. On the other side, increase in the amorphicity is observed in Fig. 3d due to the presence of active carbon.

Fig. 3
figure 3

HRTEM images (a, c) and diffraction patterns (b, d) of the prepared TTP and TTPC samples, respectively

3.2.4 FTIR Analysis

As shown in Fig. 4, FTIR spectrum of TTP displayed broad peak around 3400 cm−1 which is attributed to overlapping asymmetric and symmetric OH stretching vibrations of surface water molecules and P-OH and Ti-OH groups. The peak at 1645 cm−1 is assigned to the OH bending vibration of adsorbed water. The peaks in the region 1000–1060 cm−1 can be referred to the Ti–O–P skeletal stretching vibrations (Janusz et al., 2019).

Fig. 4
figure 4

FTIR spectrum of TTP

The band at 1045 cm−1 is referred to the Ti-O-P stretching modes of HPO42- groups (Maslova et al., 2008; Sahu & Parida, 2002). The band at 438 cm−1 is due to the P-O bending vibrations (Maslova et al., 2008). The characteristic vibration peak at 630 cm−1 is referred to Ti-O-P vibrations (Maslova et al., 2008). Besides, a vibration band at 750 cm−1 appeared. This indicated the existence of nonbridging oxygen Ti-O bonds due to the presence of unreacted oxyhydroxide or terminal OH groups. Generally, the obtained characteristic peaks at 1054, 630 and 438 cm−1 that referred to the bending and stretching modes of Ti-O-P vibrations are substantially well-resolved. However, the OH- stretching vibrations of residual water around 3400 cm−1 appeared broad and poor resolved. All of this data confirms the formation of titanium phosphate and suggests existence of OH groups connected to titanium (i.e., the formation of oxyhydroxide or hydroxyphosphate materials) (Maslova et al., 2008).

3.2.5 Thermogravimertic Analysis

The TGA data of TTP is depicted in Fig. 5. Data in Fig. 5 reveals the thermal decomposition of TTP in the temperature range of 75–1000 °C. The final product was a mixture of TiO2 and Ti5O4(PO4)4 as confirmed by XRD. The total weight loss up to 700 °C was found to be 25.43% which is nearly similar to the estimated weight loss using XRF. TTP started to lose the adsorbed water at ~75–170 °C (weight loss =1.73%). When all of the physically adsorbed water was liberated, the composite decomposed above 200 °C. The first decomposition peak appeared at the range 202–302 °C (weight loss =13.22%). At this range, TiO(OH)2 started to loss its water molecules to form TiO2 (Yao et al., 2017). Besides, Ti-OH and phosphate groups simultaneously start to condense (Maslova et al., 2008). Further heating of TTP sample up to 1000 °C resulted in further weight loss (10.48%) until the formation of the end product which is a mixture of TiO2 and Ti5O4(PO4)4 as confirmed by XRD. Combined with data obtained from XRD, the ratio of TTP constituents was calculated to be 38.38% TiO(OH)2 and 59.89% titanium phosphate. Comparing the obtained data from TGA analysis with that previously presented in literature, one can conclude that the structure of titanium phosphate in TTP contains only monohydrogenated phosphate group HPO42--. Unlike titanium dihydrogen phosphate, the decomposition of titanium monohydrogen phosphate continued up to 700 °C occurring at two temperature ranges, which is similar to what TTP currently displayed (Maslova et al., 2008).

Fig. 5
figure 5

TGA data of TTP under nitrogen atmosphere at a heating rate: 10 °C/min

3.2.6 Surface Characterization

The nitrogen adsorption-desorption isotherms of TTP composites and pure carbon are depicted in Fig. 6a–d. In addition, Fig. 6e represents the pore volume distribution according to the NLDFT model. The surface textural properties are listed in Table 3. The values of the P/Po at which the estimated total pore volumes were measured are also listed in Table 3. The surface parameters of TTP supported on activated carbon (TTPC) was also measured and compared with a physically mixed TTP with carbon (TPC(mix)) having the same TTP:C ratio (1:5). According to Brunauer’s classification (Puma et al., 2008), the adsorption isotherm of TTP belongs to type II isotherm, having a gradual increase of N2-adsorbed volume at high P/Po region with a small hysteresis loop, indicating the presence of small amount of larger mesopores. However, the isotherms of C, TTPC, and TTPC (mix) belong to type I of Langmuir adsorption isotherm. All these carbonaceous samples displayed typical adsorption characteristic curves of the microporous structure. As indicated in Fig. 6b–d, the shape of the characteristic isotherm curve of carbon (C) did not exhibit significant change when TTP was loaded on its surfaces. This revealed the predominance of the microporous structure in TTPC and TTPC (mix) leading to the quick formation of N2 monolayer at low pressures.

Fig. 6
figure 6figure 6

ad Nitrogen adsorption-desorption isotherms of a TTP, b TTPC, c C, and d TTPC (mix), e pore volume distribution according to the NLDFT method

Table 3 The estimated surface parameters of the investigated samples

As shown in Fig. 6e, the pore volume distribution indicates that TTP is a mesopores material while the carbonaceous samples are microporous materials according to the IUPAC classification. The pore width in TTP is ranging from 3.8 to 8 nm. However, the pore width of pure carbon and TTPC range from 0.4 to 2.8 and 0.4 to 2.6 nm, respectively.

As indicated in Table 3, the pure nano TTP has a relatively lower BET-specific surface area (143.8 m2/g) comparing to the other TTP materials. However, it possesses the highest average pore size (6.7285 nm) and total pore volume (0.2419 cm3/g) among the other investigated samples. Moreover, the specific surface area of C is slightly reduced from 1432.3 to 1294.9 m2/g by simple physical mixing with TTP. The mean pore diameter and total pore volume of C and TTPC (mix) are approximately the same. This is because the physical mixed loading method does not effectively disperse nano-TTP to the surface of carbon. Therefore, the retained large specific surface area is actually due to the surface of carbon. Contrary, the estimated surface parameters of TTPC revealed the significant decrease of surface area and total pore volume from 1432.3 to 550.8 m2/g and 0.5933 to 0.2353 cm3/g, respectively, upon loading of TTP on C via the simple precipitation method. This indicates that the loaded TTP successfully occupied the inner surfaces of C.

3.3 Batch Sorption Experiments

As previously illustrated, TTP materials were synthesized in acidic conditions. Thus, they were obtained in their proton forms. In this section, the sorption behavior of the proton form of TTP and TTPC were investigated for Na+ and K+ removal from water using batch experiments. TTP and TTPC were treated with either NaNO3 or KNO3 where the protons in the phosphate groups are exchanged with Na+ and K+ present in the solution. The initial pH values of Na and K nitrates’ solutions were measured to be 7±0.2.

As illustrated in Fig. 7, the removal of K and Na ions displayed slightly different behavior at different intervals of the reaction time. At the early 10 min, the removal of both cations using TTP occurred at rapid exchange rate. At this stage, the hydrogen ion exchange probably occurred via partial exchange of hydrogen ions in phosphate groups as well as through deprotonation of hydroxyl groups.

Fig. 7
figure 7

The effect of the reaction time on the removal of a: Na+ and b: K+ using TTP and TTPC

After 10 min., the exchange of both K and Na ions suddenly fall down followed by a second increase after 60 min. During the exchange reaction, the pH values drastically decreased due to the release of hydrogen ions. The final pH value of KNO3 solution was measured to be 2.6±0.2 and 2.8±0.2 using TTP. Desorption of some K and Na ions were observed after the first 10 min probably due to the re-protonation of hydroxyl groups at these low pH values. Further, as shown in Fig. 7, TTPC displayed higher affinity toward the removal of metal cations than that obtained by TTP. This revealed that supporting nano-TTP on activated carbon enhanced its removal efficiency.

It is worth to mention that unlike K+, the removal of Na+ ions constantly increased until they reach a plateau at longer reaction time (Fig. 7). The affinity of TTP toward K+ removal was significantly higher than its affinity toward Na+. K+ ions possess higher and mobility than that of Na+ (Laidler and Meiser, 1982). The calculated Stokes radius of Na+ is (1.94 Å) is larger than that of K+ (1.34 Å) (Zhang et al., 2017). The large shell of water molecules that surround Na+ ions significantly slowed down their diffusion toward TTP surfaces compared with K+. Therefore, K+ ions diffused easier toward inner and outer surfaces of TTP. Thus, they more easily exchanged the H+ ions. Consequently, the changes occurred due to the variation in the pH of the reaction medium is more clearly observed in case of K+ ions removal.

3.4 Sorption Isotherms

The amount of the sorbed cations on TTP and TTPC (qe) was significantly influenced by the initial concentration (Co) of Na+ and K+. Figure 8a illustrates the relationship between qe and C0 at the range (25–1500 mg/L) by using TTP. As shown in Fig. 8a, at relatively low initial concentrations (up to 1000 mg/L), the affinity of TTP toward K+ removal was significantly higher than its affinity toward Na+. As previously mentioned, K+ ions possess higher mobility than that of Na+. The large shell of water molecules that surround Na+ ions significantly slow down their diffusion toward TTP surfaces compared with K+. Therefore, K+ ions diffused easier toward inner and outer surfaces of TTP. Thus, they more easily exchanged the H+ ions.

Fig. 8
figure 8

Change in the amount of K+ and Na+ ions removed by TTP and TPC composites at different initial concentrations

On the other side, the sorption behavior of supported nano-TTP on activated carbon (TTPC) was investigated and compared to that of the unsupported TTP. Bare activated carbon showed no activity toward the removal of either Na+ of K+ ions. However, as shown in figures 8b and c, TTPC displayed higher affinity toward the removal of metal cations than that obtained by TTP. This revealed that supporting nano-TTP on activated carbon enhanced the removal efficiency of TTP. This observation is in agreement with the data obtained by surface measurements. As previously discussed, the loaded nano-TTP in TPC was effectively dispersed inside the inner surfaces of C. Therefore, exposed surface area of supported nano-titanium phosphate in TTPC sample increased toward the targeted cations during the removal experiment.

Additionally, at high concentrations, the affinity of both TTP and TTPC toward the removal of K+ ions became nearly constant. Contrary, the removal of Na+ ions continuously increased at higher initial concentrations. At high initial concentrations, TTP material surfaces were surrounded by large number of hydrated sodium or potassium ions. The number of K+ ions is much higher than the number of Na+ ions per unit surface area of TTP. The large hydration shell surrounding Na+ ions, probably served to keep the Na+ ions more dispersed and separated. Therefore, the sorption of Na+ ions continued to increase at high initial concentrations. Meanwhile, K+ ions occupied the outer surface of TTP, blocking the entrance of the deeply inner pores and thus preventing further sorption.

Langmuir was selected as the adsorption model to study the stacking behavior of K+ and Na+ by TTP and TTPC as mentioned in section 2.

Applying Langmuir adsorption model on sorption batch data allows estimating the amount of metal ions that can be exchanged by TTP materials. The fitted constants for Langmuir model and their corresponding regression coefficients are summarized in Table 4. The maximum adsorption capacities (qm) derived from Langmuir plot were estimated to be 90.1, 188.7, 81.97, and 82.64 meq/100 g for Na-TP, Na-TPC, K-TP, and K-TPC, respectively.

Table 4 Langmuir sorption isotherm parameters of the Na and K ions removal by TTP samples

3.5 The Effect of Initial pH of the Cation Solutions

The effect of the initial pH of K and Na ions solutions was investigated and illustrated in Fig. 9. Drops of diluted HCl and NH4OH solutions were used to adjust the initial pH values. As seen in figure 9, the amount of the removed Na and K ions increased as the initial pH increased using both TTP and TTPC. However, remarkable decrease in the pH of the reaction media was observed at the end of the reaction media due to the release of the exchanged protons.

Fig. 9
figure 9

The effect of pH on Na and K ions removal by TTP and TTPC

3.6 Determination of Ion-Exchange Capacity

The ion-exchange capacity of TTP was twice investigated through a simple acid-base back titration method by using either NaOH or KOH as indicated in the experimental section. The estimated exchange capacity values were found to be 10.60 and 11.55 meq/g TTP using NaOH and KOH, respectively. The obtained values revealed that the maximal affinity of TTP to exchange K+ is slightly higher than Na+ ions under the given experimental conditions. The removal of both K and Na ions is drastically higher than those previously estimated by using sodium and potassium nitrates even at high initial pH values. Herein, sodium and potassium hydroxides kept the pH of the reaction media high during the removal experiments. At high pH values, all exchangeable protons in the hydrogen titanium phosphate and titanium oxyhydroxide participated in the removal processes. Combining the data obtained from TGA, XRD, XRF, and the exchange capacity experiments, the theoretical exchange capacities of the individual parts of TTP are estimated to be 7.68 and 3.83 meq/g TTP for titanium oxyhydroxide and hydrogen titanium phosphate, respectively.

Additionally, the obtained exchange capacity of TTP composite toward Na ions is significantly higher when compared to some of the previously reported pure titanium phosphate materials in literature using the same back titration method as illustrated in Table 5. Data in Table 5 reveals the potential outstanding performance of our TTP composites against the removal of ions particularly from the basic sodic waters.

Table 5 Exchange capacities of titanium phosphate materials using the back titration method

3.7 Real Wastewater Treatment

In this work, the remediation of highly polluted real wastewater from EL-Rahawy drain by TTP and TTPC composites were investigated. Preliminary chemical analyses of collected wastewater samples from EL-Rahawy drain are illustrated in Table 6. Further, Table 7 provides full analysis of the collected real wastewater sample to be treated by TTP materials. As seen in Tables 6 and 7, the waters contained relatively significant amount of sodium, potassium, toxic heavy metals, and organic pollutants. The pH values of the collected samples are slightly high which is adequate for the better performance of TTP materials.

Table 6 Preliminarily chemical analyses of the collected samples from Rahawy drain at rush hour (at 12:00)
Table 7 Full analysis of the real wastewater collected from Rahawy drain before and after the treatment using TTP and TTPC

Thus, the treatment of the polluted wastewater was investigated by using TTP materials (w/v=1:100). Two sorption experiments were conducted using TTP and TTPC as the target sorbents. As shown in Table 7, the amount of K ions was decreased by 84.13% and 44.8% by using 1 g of TTP and TPC, respectively. Meanwhile, the amount of Na ions was decreased by 28.6% and 18.4% by using TTP and TPC, respectively.

Table 7 also revealed significant decrease in the levels of other different metal cations, total dissolved solids (TDS) and even organic contaminants represented by the chemical oxygen demand (COD) was obtained upon using any of these composites. Based on the given data, one can conclude that the remediation of highly polluted real wastewater from EL-Rahawy drain by TTP and TTPC composites were successfully achieved.

4 Conclusion

Titanium oxyhydroxide/titanium phosphate (TTP) and TTP-active carbon (TTPC) composites have been successfully prepared under mild conditions. XRD, HRTEM, XRF, TGA, and FTIR revealed the formation of nano-sized low crystalline material (average diameter of TTP ~ 6 nm) composed of 38.38% TiO(OH)2 and 59.89% titanium phosphate. The structure of titanium phosphate in TTP most probably contains only monohydrogenated phosphate group HPO42--. The surface properties of TTP and TTPC were measured and compared with a physically mixed TTP with carbon. The pure nano TTP has a relatively lower BET-specific surface area (143.8 m2/g) comparing to the other TTP materials. However, TTP possesses the highest average pore size (6.7285 nm) and total pore volume (0.2419 cm3/g) among the other investigated samples. Significant decrease of surface area and total pore volume of active carbon from 1432.3 to 550.8 m2/g and 0.5933 to 0.2353 cm3/g, respectively was observed upon loading of TTP on active carbon (C) indicating the successful inclusion of TTP within the inner surfaces of C. TTP and TTPC displayed different removal behavior against Na and K ions. The maximum adsorption capacities derived from Langmuir plot were estimated to be 90.1, 188.7, 81.97, and 82.64 meq/100g for Na-TP, Na-TPC, K-TP, and K-TPC, respectively. The maximal removal capacities of TTP were achieved in the highly basic waters. They were measured to be 10.60 and 11.55 meq/g TTP with respect to Na and K ions, respectively. At high pH values, all exchangeable protons in the hydrogen titanium phosphate and titanium oxyhydroxide participated in the removal processes. The removal capacities of the individual parts of TTP are estimated to be 7.68 and 3.83 meq/g for titanium oxyhydroxide and hydrogen titanium phosphate, respectively. Remediation of highly polluted real wastewater from EL-Rahawy drain by TTP and TTPC composites were successfully achieved. The full analysis of the treated real wastewater revealed significant decrease in the levels of metal cations, total dissolved solids (TDS), and even organic contaminants represented by the chemical oxygen demand (COD) was obtained upon using any of these composites.