Introduction

Water in organic solvents usually has a strong and often adverse effect on organic chemical reactions. Even a small amount of water in drugs, fuels and lubricants can cause considerable damage [1,2,3]. Therefore, the detection of water is significant not only for basic research but also for many application prospects, such as in the pharmaceutical, chemical and petrochemical fields. To date, various techniques have been developed to detect water, including optical-fiber sensor detection [4, 5], fluorescence [6, 7], light-emitting sensor detection [8, 9] and photoinduced electron transfer [10] methods to replace the standard Karl Fischer titration [11] and gas chromatography [12]. Among these water detection methods, optical sensor detection has attracted attention because of its advantages of high efficiency, rapidity, simplicity and sensitivity, and the sensitivity of the fluorescent sensor to detect water in the organic phase has reached the ppm level. Despite these improvements, there are still many problems, such as low repeatability [13], which greatly limits the application of these methods in water detection.

Lanthanide-doped UCNPs have attracted increasing interest because of their distinctive properties. These properties include chemical and optical stability, narrow emission peaks, low spontaneous fluorescence backgrounds, low toxicity, large anti-Stokes shifts and long fluorescence lifetimes [14]. These particles can convert NIR into ultraviolet and visible light and have the ability to penetrate deep tissue. Therefore, lanthanide-doped UCNPs have been widely used in bioimaging [15], cancer treatment [16], drug delivery [17, 18] and photodynamic therapy [19,20,21]. However, the weak, narrow-band NIR absorption of UCNPs limits the photon capture capability of UCNPs, greatly suppressing the upconversion luminescence (UCL) intensity [22]. To enhance the luminescence intensity of UCNPs, NIR dyes can be used to sensitize UCNPs [23,24,25,26]. Based on the above problems, designing and synthesizing UCNPs with high emissivity and high conversion efficiency is vital for the water sensing platform.

Herein, a material consisting of NaGdF4:Yb,Er@NaGdF4:Yb,Nd nanoparticles with dye-sensitized nanoprobe for the measurement of water content in several kinds of organic solvents was developed. Because the sensitization efficiency of dyes in water is far below that in organic phase, the luminescence intensity of the system is quenched. The relationship between the reduction in luminescence intensity and water content is deduced to achieve the sensitive detection of water.

Experimental

Conjugation of the IR-808 dye to the surface of core-shell UCNPs

The ligand exchange method was used to prepare IR-808-sensitized UCNPs. Briefly, 1 mL of a solution of UCNPs (5 g·L−1) modified with nitrosyl tetrafluoroborate (NOBF4) was mixed with 10 μL of IR-808 (1 g·L−1) in DMF solution, and the mixture was gently shaken at room temperature for 2 h to acquire IR-808-UCNPs. Finally, centrifugation yielded a solid product.

Water determination in organic solvents

The Dye-UCNPs solid prepared above was dissolved by adding 1 mL of DMF, and the same Dye-UCNPs liquid was taken and different amounts of water were added. Then, the samples were diluted to 1 mL with DMF and shaken at room temperature for 30 min. The emission peak at 500 to 580 nm was recorded in a quartz cuvette under laser excitation at 808 nm. The tests for water in DMSO, methanol, acetone, acetonitrile and EtOH were performed in a similar manner.

Results and discussion

Characterization

To study the possibility of using dye-sensitized UCNPs to detect water content, oleic acid-terminated NaGdF4:Yb, Er@NaGdF4:Yb,Nd UCNPs were prepared by co-precipitation. As shown in Fig. 1, NaGdF4:Yb,Er nanoparticles and NaGdF4:Yb,Er@NaGdF4:Yb,Nd nanoparticles had uniform morphology and were well dispersed. The particle size of NaGdF4:Yb,Er@NaGdF4:Yb,Nd UCNPs (average size of ∼20 nm) is significantly increased compared to that of NaGdF4:Yb,Er (average size of ∼13 nm). The characteristic peak of Nd3+ appeared in the EDX spectrum, as shown in Fig. S1b, indicating that UCNPs with core-shell structures were successfully synthesized. The XRD pattern shows that the peaks positions and intensities of NaGdF4:Yb,Er@NaGdF4:Yb,Nd UCNPs were closely matched with the standard JCPDS27–0699 (Fig. S2) [27].

Fig. 1
figure 1

TEM images of NaGdF4:Yb,Er (a) and NaGdF4:Yb,Er@NaGdF4:Yb,Nd (b). The inset shows the size distributions of UCNPs

IR-808 was prepared by nucleophilic substitution of the chlorine atom in IR-783 (Scheme S1). The absorption spectra of IR-783 and IR-808 in DMF are shown in Fig. S3. The maximum absorption peaks of IR-783 and IR-808 in DMF are located at 793 nm and 808 nm. It can be seen that a significant redshift has occurred. Combined with the mass spectrum, IR-808 was successfully prepared (MS: calculated for C45H51O8S3N2Na: 867.2778, found 867.2634) (Fig. S4). Its maximum absorption occurs at a wavelength of 808 nm, so it is denoted IR-808.

The original oleic (OA) acid ligand was replaced BF4 ligand and then further exchanged with a carboxyl-functionalized IR-808. Fourier transform infrared spectroscopy was used to characterize the modified material. As show in Fig. 2, the absorption peaks of OA-coated UCNPs appeared at 1458 and 1554 cm−1 and were attributed to the carboxyl group. The peaks at 2856 and 2929 cm−1 are due to -CH asymmetric and symmetric vibrations. The broad absorption peak at 3435 cm−1 is due to the vibration of O-H. In the spectra of UCNPs modified with NOBF4, the intensity of the peak due to the C-H stretching vibration of OA at 2800–3000 cm−1 was significantly reduced. In addition, the intensity of the carboxyl vibration peak at 1500–1200 cm−1 was also greatly reduced, while the vibration peak attributed to NOBF4 appeared at 1084 cm−1. These results indicate that the BF4 ligand has successfully replaced the OA ligand on the UCNPs surface. The new peak at approximately 1650 cm−1 is caused by the stretching vibration of C=O in DMF. When IR-808 is bound to UCNPs, new peaks appeared at 1000–1500 cm−1, which indicated that the IR-808 dye had been successfully connected to the surface of the NOBF4-UCNPs [27].

Fig. 2
figure 2

FT-IR spectra of the OA-UCNPs, NOBF4-UCNPs and IR-808- UCNPs

Principle and mechanism of the nanoprobe

In the first step, the BF4 ligand was substituted for the primary OA ligand. In the second step, the BF4 ligand was exchanged with IR-808 to achieve Dye-UCNPs in DMF (Scheme 1a) [23]. The IR-808 dye collects photons of approximately 800 and 980 nm and transfers them to the Nd3+ and Yb3+ (doped in the shell layer) and then to the luminescent Er3+ centre by means of the Yb3+ ions in the nucleus (shown in Scheme 1b and c) [27]. As shown in Scheme 1d, when water was added to Dye-UCNPs in DMF, the luminescence lifetime of the Dye-UCNPs-Water (black line) became shorter than that of the Dye-UCNPs (red line), indicating that the energy transfer efficiency from the dye to the UCNPs was reduced. To further explore the principle, the same concentration of dye was dissolved in different solvents, and the fluorescence and absorption spectra of these samples were recorded separately (Fig. 3). The absorption and luminescence intensities of the dye in water were far below those in organic solvents. The absorbance of the dye decreased when the dye was bound to UCNPs (Fig. 4a); however, when different volumes of water were introduced into the Dye-UCNPs dispersed in DMF, the absorption of the dye in the supernatant increased (Fig. 4b), indicating that the surface of the IR-808 dye attached to the UCNPs was affected by water. Based on the above facts, the mechanism of this detection is mainly attributed to the amount of NIR dyes adsorbed on the UCNPs surface is affected by water, and the NIR dye transfer efficiency in water is far less than that in the organic phase [26].

Scheme 1
scheme 1

Principle of luminescence determination of water in organic solvents with dye-sensitized UCNPs (Scheme 1d, Dye-UCNPs (red line), Dye-UCNPs-Water (black line))

Fig. 3
figure 3

a Fluorescence spectra of IR-808 in DMSO (a), DMF (b), EtOH (c) and H2O (d) obtained by measuring the absorption from 820 to 900 nm. b Absorption spectra of IR-808 in EtOH (a), DMF (b), DMSO (c) and H2O (d) (concentrations are all 11.54 μM) obtained by measuring the emission from 650 to 870 nm

Fig. 4
figure 4

a The change in the absorption spectrum at 808 nm of the Dye (a) and Dye-UCNPs (b) in DMF. b Absorption spectra of Dye-UCNPs in DMF (a), DMF with the water content of 3% (b), and DMF with the water content of 10% (c) (The type of dye is IR-808.) obtained by measuring the absorption from 720 to 850 nm

Optimization of experimental conditions

In order to get better experimental results, the following parameters were optimized: (a) Dye type; (b) Dye concentration. Respective data and figures are given in the Electronic Supporting Material (Fig. S5 and Fig. S6). The following experimental conditions were found to give best results: (a) Best dye type: IR-808; (b) Optimal dye concentration: 11.54 μM.

Temperature has a great influence on this method. When the temperature increases gradually, fluorescence quenching will occur (Fig. S7). First, as the temperature increases, the luminous intensity and lifetime of the luminescent material decrease; this phenomenon is called hot quenching. Second, since the population of the thermal coupling energy level always satisfies the Boltzmann distribution during the illumination process, the fluorescence intensity ratio of the two energy levels is dependent on the temperature. The luminescence intensity of Yb3+ and Er3+-doped UCNPs is greatly affected by temperature. In particular, the ratio between the intensities of the green emission lines at 525 and 545 nm is extremely sensitive to temperature. These two emission lines are attributed to energy-intensive Er3+ ion states that are thermally coupled [28]. Therefore, the test process of this experiment was carried out at room temperature.

Detection of moisture in organic solvents

The water indwell in DMF was detected by the IR-808-UCNPs probe. When the water content in the system increased to 10%, the quenching rate reached 87.7%, as shown in Fig. 5a, and when the water content was 0.05%~10% (R2 = 0.997), the decrease in luminescence intensity was linearly related to the percentage of water content and the detection limit is 0.018%. The equation of the calibration plot is I0-I = 40.20 + 203.50·x (I0 represents the luminescence intensity in the absence of water, I is the luminescence intensity when water is added, and x represents the percentage of water volume %). The luminescence spectra and functional relationships of probes for the detection of water content in other organic solvents were obtained (see in Fig. 5). The quenching efficiency of Dye-UCNPs in different solvents and the change in fluorescence intensity at 545 nm as a function of water content in the presence of water are given in Fig. 6 and Table S1. The feasibility of applying dye-sensitized nanoprobe in practical specimens was studied. Three actual samples were analysed using Dye-UCNPs nanoprobe, the results are shown in Table 1. The results of the three samples are close to those measured by the Karl Fischer method, and the relative standard deviation (RSD, n = 3) is less than 1%. These results clearly show that the IR-808-UCNPs nanoprobe is able to detect water in authentic specimens. Compared with other water probes, this nanoprobe has a wider linear range and a lower detection line (Table S2).

Fig. 5
figure 5figure 5

Upconversion emission changes of Dye-UCNPs as a function of water (volume (V) %) in DMF (a). The change in emission peak intensity (I0-I) at 545 nm is a function of the change in water volume ratio. DMSO (b), methanol (c), acetone (d), acetonitrile (e), and EtOH (f). The emission intensity was obtained by measuring the emission at 500 to 580 nm (I0 represents the luminescence intensity of Dye-UCNPs; I represents the luminescence intensity of Dye-UCNPs-Water). The data are expressed as the average of three measurements

Fig. 6
figure 6

The quenching efficiency of fluorescence at 545 nm in different solvents when the water content is 9% (I0 represents the luminescence intensity of Dye-UCNPs, I represents the luminescence intensity of Dye-UCNPs-Water). The data are expressed as the average of three measurements

Table 1 Detection of water content in samples

Conclusion

A method is described for the determination of trace water in organic solvents. The method is rapid, convenient and sensitive. IR-808 dye was designed and synthesized and then used to enhance the upconversion luminescence. The detection of trace water in several organic solvents, such as DMF, DMSO, methanol, acetone, acetonitrile and EtOH, were carried out using dye-sensitized NaGdF4:Yb,Er@NaGdF4:Yb,Nd UCNPs as a nanoprobe. The method is temperature sensitve and its resolution (ΔS/Δconc) is poor. However, it also has some advantages, such as rapid, convenient and wide range of analysis. This method can be widely applied to the detection of water content in alcohols, ketones and hydrophilic organic solvents. The dye-sensitized UCNPs are expected to be used in water analysis in industrial processes.