Introduction

Oxytetracycline (OTC), as an inexpensive broad-spectrum antibiotic, has been used extensively worldwide as a feed additive in livestock and poultry or fish farming for preventive control or therapy of bacterial infections (Anadón et al. 2016; Simon 2005). However, the abuse of OTC leads to its excessive residue in animal-derived foods, which poses many threats to humans, including allergic reactions, liver/kidney toxicity, gastrointestinal problems, etc. (Anadón et al. 2016). More alarming, environmental residual OTC can induce the generation of antibiotic resistance genes, leading to the evolution of antibiotic-resistant bacteria, which might seriously damage the micro-ecological balance and thus, threaten human health (Anadón et al. 2016; Simon 2005). Therefore, it is much-needed to establish reliable analytical methods to quantify OTC accurately.

To date, various types of instrument-based OTC analysis methods have been suggested, namely high-performance liquid chromatography-tandem mass spectrometry (HPLC-TMS) (Gajda 2017), enzyme-linked immunosorbent assay (ELISA) (Chen et al. 2016), immunochromatographic assay (ICA) (Sheng et al. 2018), surface-enhanced Raman scattering (SERS) (Meng et al. 2017) and so on. Being very informative, these instrument-based methods require expensive apparatus and specialized technicians (Wang et al. 2018). In this framework, fluorescence-based assays provide a powerful method for the simple and efficient detection of trace amounts of OTC (Esmaelpourfarkhani et al. 2019; Kuong et al. 2009; Li et al. 2019, 2020a, b; Sun et al. 2022; Wang et al. 2005). However, most of the currently reported probes for OTC sensing are single-color fluorescence-based sensors, including “turn-off” (Li et al. 2019, 2020a, b) or “turn-on” (Esmaelpourfarkhani et al. 2019; Kuong et al. 2009; Wang et al. 2005) sensors. By contrast, ratiometric methods based on dual-color fluorescence signals provide a built-in correction against external interferences (Qian et al. 2020; Xu et al. 2022; Yuan et al. 2023; Zhang et al. 2022), and the relative change in intensities of the two peaks caused by the addition of an analyte can be externalized as a consecutive color change recognizable to the naked eye, allowing rapid visual identification (Qian et al. 2020; Xu et al. 2022; Yuan et al. 2023). However, fluorescent probes for ratiometric detection of OTC were reported rarely, and most of them are rare-earth elements containing probes that involve the “antenna effect” mechanism (Chen et al. 2020a; Sun et al. 2022; Yang et al. 2021). Unfortunately, the use of rare-earth elements in fluorescent probes not only implies higher costs, but also potential supply deficiencies, and severe adverse environmental impacts. Therefore, it is crucial to design reliable ratiometric fluorescent probes, especially rare-earth-free ratiometric fluorescent probes, for sensitive and rapid detection of OTC.

Metal–organic frameworks are a class of porous hybrid crystalline materials formed during the self-assembly of metal nodes and organic ligands (Zhao et al. 2021; Su et al. 2022a). Characterized by inexpensive and readily available raw materials, tunable pore size, abundant metal active sites, large specific surface area, and excellent three-dimensional structural stability, many metal–organic frameworks (MOFs) are widely used in catalysis (Nunes et al. 2021; Shi et al. 2021; Silva et al. 2022; Souza et al. 2022), adsorption ( Ahmed and Jhung 2014; Su et al. 2022a), drug delivery (Wang et al. 2022a), hydrogen storage (Elsabawy et al. 2022), sensing (Dong et al. 2021; Wang et al. 2022b), and other fields (Kim et al. 2017; Zhu and Xu 2014). Furthermore, MOF materials with tunable nanochannels can act as hosts to accommodate organic dye molecules as guests, constituting dye-encapsulated MOF composites with a wide range of applications in fluorescence sensing (Li et al. 2022a; Liu et al 2021; Wan et al. 2021; Xing et al. 2019), white light LEDs (Tang et al.2018), and nonlinear optics (Song et al. 2016). On the one hand, the encapsulation of dye molecules in MOF pores terminates the aggregation-induced quenching (ACQ) effect of the guest molecules and protects the guest against possible sources of degradation, thus stabilizing the optical signal output of the organic dyes (Let et al. 2020; Zhang et al. 2020). On the other hand, such dye-encapsulated MOF composites can be easily achieved simply by the “one-pot” or “post-synthesis modification” method and purified by convenient, low-cost routines such as filtration and centrifugation, improving the economics of the materials and paving the way for their application in optics-related fields (Let et al. 2020; Liu et al 2021). For applications in fluorescence sensing, since the additional fluorescence emission provided by the introduced dye can be used not only as a built-in reference, but also as a fluorescence response signal unit, the success of the dye-encapsulated MOF composites enriches the design concept of dual-emission ratiometric fluorescent probes and has become one of the most effective strategies for designing novel MOF-based ratiometric fluorescent probes (Li et al. 2022a; Wan et al. 2021; Yoo et al. 2019)

Recently, based on the conformational fixation induced luminescence enhancement of OTC, we have designed a rare-earth-free “turn-on” fluorescent probe for ultrasensitive detection of OTC, FMIL-53(Al), which is characterized by the abundant distribution of open aluminum sites on its surface that can coordinate with OTC molecules (Su et al. 2022b). Herein, based on the strategy of constructing dye-encapsulated MOF composites for ratiometric fluorescence sensing, by introducing blue-emitting fluorescent dye 2-aminoterephthalic acid (NH2-BDC) (Figure S1 in supporting information) into the nanochannels of FMIL-53(Al), we constructed six NH2-BDC@FMIL-53(Al) composites for OTC sensing, as illustrated in Scheme 1. Fortunately, under optimized sensing conditions, the prepared ratiometric fluorescent probe, NH2-BDC@FMIL-53(Al)-3, retains the fluorescence enhancement response of the pristine MOF material to OTC at 520 nm, while the additional fluorescence emission intensity provided by the introduced dye does not fluctuate with the OTC concentration and can be used as a built-in reference. Meanwhile, the system showed an apparent fluorescent color change from blue to green under UV light at 365 nm. As for the analytical performance, the constructed ratiometric fluorescent probe can respond sensitively to OTC with a detection limit (LOD) of 11.01 nM, which was well below the maximum residue limits for tetracycline antibiotics in milk established by the European Union and the US Food and Drug Administration (225 nM and 676 nM, respectively). It is considered to be one of the most sensitive ratiometric fluorescent probes even when compared to currently reported probes for OTC ratiometric fluorescence sensing. Furthermore, the platform exhibits satisfactory reliabilities for detecting OTC in river water samples. In addition, portable test strips have been validated as a device for rapid qualitative identification of OTC. More importantly, a smartphone-based sensing method for OTC detection was developed, providing a promising non-instrument-based technique for the reliable, semi-quantitative assay of OTC in the field. This work will provide a constructive strategy for the construction of rare-earth-free ratiometric fluorescence sensors for the highly sensitive detection of OTC.

Scheme 1
scheme 1

Schematic illustration of OTC detection based on the constructed ratiometric fluorescent probe NH2-BDC@FMIL-53(Al)

Experimental

Fabrication of NH2-BDC@FMIL-53(Al)

FMIL-53(Al) was prepared according to our previously reported solvothermal method (Su et al. 2022b). In brief, 10 mL of DMF solution dissolved with 1,4-dicarboxybenzene (PTA, 0.626 mmol, 104 mg) and acetic acid (17.5 mmol, 1 mL) were mixed with 5 mL of DMF solution dissolved with AlCl3·6H2O (1.0 eqv. 0.626 mmol, 151 mg) in a 50 mL scintillation vial. Subsequently, the mixture was transferred into a Teflon-lined steel autoclave and kept at 120 °C for 3 days. After cooling, the white crystals were obtained by centrifugation and then soaked in DMF for 3 days and ethanol for 24 h to remove impurities and DMF solvent molecules trapped in the pores, respectively, according to the reported method. Finally, the wet crystals were vacuum dried at 80 °C for 8 h to obtain FMIL-53(Al).

Six NH2-BDC@FMIL-53(Al) composites were prepared by a post-synthetic modification method. Taking the preparation of NH2-BDC@FMIL-53(Al)-3 as an example, 128 mg of FMIL-53(Al) was dissolved in 28.3 mL of NH2-BDC solution (0.3 mM in absolute ethanol) and sonicated for 5 min at 25 ℃. Subsequently, the mixture was stirred for 6 h at 25 ℃ in the dark and then centrifuged (8500 rpm, 6 min). The obtained wet product was washed three times with absolute ethanol and vacuum dried at 80 °C overnight to obtain NH2-BDC@FMIL-53(Al)-3.

By tuning the feeding concentration of NH2-BDC solution in absolute ethanol from 0.2, 0.4, 0.5 to 0.6 mM, other dye-encapsulated MOF composites, i.e., NH2-BDC@FMIL-53(Al)-1, NH2-BDC@FMIL-53(Al)-2, NH2-BDC@FMIL-53(Al)-4, NH2-BDC@FMIL-53(Al)-5, and NH2-BDC@FMIL-53(Al)-6 were also successfully synthesized by the same procedure. By comparing the concentration of NH2-BDC in the supernatant before and after the preparation of dye-encapsulated MOF composites, the contents of the dye in NH2-BDC@FMIL-53(Al)-1, NH2-BDC@FMIL-53(Al)-2, NH2-BDC@FMIL-53(Al)-3, NH2-BDC@FMIL-53(Al)-4, NH2-BDC@FMIL-53(Al)-5, and NH2-BDC@FMIL-53(Al)-6 composites were calculated to be 0.173, 0.568, 0.861, 1.157, 1.375, and 1.66 wt%, respectively ( Table S1 in supporting information).

Fluorescence detection of OTC

By introducing the prepared NH2-BDC@FMIL-53(Al)-3 powder (15.0 mg) into 7.5 mL of 10 mM HEPES buffer (pH = 7.3) and dispersing by sonication for 30 min at 25 ℃, the uniform dispersed MOF-based probe suspension was firstly prepared. For fluorescence titration experiments, 2 mL of HEPES buffer (pH = 7.3), 150 μL of well-mixed probe suspension, and different volumes (0, 3, 9, 15, 24, 30, 39, 45, 54, 60, 75, 90, and 120 μL, respectively) of 0.1 mM OTC solutions were sequentially added into the sequentially numbered centrifuge tubes. The mixtures were diluted to a final volume of 3.0 mL with 10 mM HEPES buffer (pH = 7.3), followed by incubating for 45 min at 25 ℃ in the dark. Finally, the OTC-NH2-BDC@FMIL-53(Al)-3 systems were mixed uniformly, and the spectra were recorded with the excitation wavelength of 383 nm and the scan rate of 1200 nm/min at room temperature.

Selectivity and interference experiments

For the selective experiments, 150 μL of well-mixed probe suspension and 450 μL of each interfering compound (including streptomycin sulfate (SMC), secnidazole (SDZ), kanamycin sulfate (KNMC), norfloxacin (NFX), erythromycin (Eryc), chloramphenicol (CAP), ceftriaxone sodium (CTA), ampicillin (APCL), nitrofurazone (NFZ), Ca2+, Ba2+, Mg2+, Fe3+, K+, NH4+, Ni2+, Na+, Cu2+, Cl, NO3, CO32−, HCO3, H2PO4, HPO42−, SO42−, and S2O32−) solution with the concentration of 0.1 mM were added to 2.4 mL HEPES buffer (10 mM, pH = 7.3). Besides, to verify the anti-interference capability of the ratiometric fluorescent sensor to OTC, 90 μL of the OTC solution (0.1 mM) and 450 μL of each interfering substance with a concentration of 0.1 mM were added to a mixture of 150 μL of well-mixed NH2-BDC@FMIL-53(Al)-3 suspension and 2.31 mL of HEPES buffer (10 mM, pH = 7.3). Finally, all samples were incubated and fluorescence measured following the steps described above.

Determination of OTC in real samples

From a local river in Maoming, Guangdong, China, the river water samples were sampled and, then, filtered through a 0.22 μm membrane before use. Subsequently, spiked samples containing 40 μM and 80 μM OTC were accurately prepared by the standard addition method. Finally, the content of OTC in the spiked samples was quantified according to the procedure mentioned above. To determine intra-day and inter-day precision, for the spiked samples, four repetitive analyses in a single day and duplicate analysis on four successive days were performed, respectively.

Paper sensors based on NH2-BDC@FMIL-53(Al) for OTC

Typically, dispersed 10.0 mg NH2-BDC@FMIL-53(Al)-3 into 5.0 mL EtOH and treated with ultrasonication for at least 45 min to form MOF-based probe suspension. Then, dropped 20 µL of the well-mixed probe suspension onto a 6 mm diameter round glass fiber filter paper with a diameter of 6 mm, and subsequently air dried at room temperature in the dark to form a test strip. For the visual detection of OTC, 20 μL of OTC solutions (5 μM, 10 μM, 15 μM, 20 μM, 25 μM, and 30 μM) were added directly onto the center of the test strips. After drying for 2 h at room temperature under vacuum conditions, the fluorescence color of the test strips was observed and photographed under the excitation of 365 nm ultraviolet light.

Results and discussion

Rational design of NH2-BDC@FMIL-53(Al) for ratiometric fluorescence sensor

Although a single-color fluorescence-based rare-earth-free probe was reported previously for OTC detection based on “turn-on” fluorescence using surface-wrinkled MIL-53(Al) (Su et al. 2022b), the two-color fluorescence signal-based ratiometric fluorescence method provides built-in correction for external interference and its continuous color change upon addition of the analyte(s) offers the possibility of fast visual identification. Therefore, we considered the introduction of dye molecules as built-in signal molecules within the pores of the MOF to construct a novel rare-earth-free ratiometric fluorescent probe for sensitive ratiometric sensing of OTC. Recognizing that the pore diameter of FMIL-53(Al) is about 0.5 nm, we designed the ratiometric fluorescence sensor NH2-BDC@FMIL-53(Al) by selecting a 2-aminoterephthalic acid (NH2-BDC) dye with a suitable size and capable of emitting blue fluorescence and introducing it into the pores of FMIL-53(Al) (Scheme 1 and Figure S1 in supporting information). Besides, in contrast to the “one-pot” method of preparing dye-embedded MOF complexes, the amount of dye in dye-encapsulated MOF composites prepared by “post-synthetic modification” method can be easily quantified by UV spectroscopy. Thus, the method of post-synthesis modification was chosen herein for the preparation of dye-embedded MOF composites.

Material synthesis and characterization

FMIL-53(Al) was firstly prepared by solvothermal reaction between AlCl3·6H2O and terephthalic acid (PTA) at 120 °C for 72 h. To investigate the optimal reaction time for the preparation of NH2-BDC@FMIL-53(Al) composites, the adsorption of NH2-BDC in FMIL-53(Al) was traced by UV spectroscopy. As shown in Figure S4 in supporting information, a rapid adsorption occurred in the first 35 min and the equilibrium was reached within 6 h. Six NH2-BDC@FMIL-53(Al) composites were obtained by stirring FMIL-53(Al) particles in an ethanolic solution of NH2-BDC for 6 h at room temperature. By the way, two kinetic models (pseudo-first-order model and pseudo-second-order model) were tested to fit the kinetic data. The higher R2 value (R2 = 0.9999) indicates that the pseudo-second-order model fits the kinetic data well, indicating the chemical adsorption process and non-diffusion controlled processes (Figure S5 in supporting information) (Sun et al. 2020a).

Furthermore, as a representative of the six NH2-BDC@FMIL-53(Al) composites, the NH2-BDC@FMIL-53(Al)-3 was characterized by powder X-ray diffraction (PXRD), Brunauer–Emmett–Teller (BET) measurements, scanning electron micrograph (SEM), and thermogravimetric analysis (TGA). As shown in Fig. 1a, both the N2 adsorption–desorption isotherms of FMIL-53(Al) and NH2-BDC@FMIL-53(Al)-3 can be classified as type-I isotherms. As expected, the Brunauer–Emmett–Teller areas (ABET) of NH2-BDC@FMIL-53(Al)-3 is 755.63 m2 g−1, which is slightly smaller than that of FMIL-53(Al)(787.12 m2 g−1) due to the loading of NH2-BDC molecules. Furthermore, the pore size distributions of FMIL-53(Al) before and after NH2-BDC loaded were calculated by the DFT (density function theory) model, which gave two types of pores of 0.42 and 0.46 nm for FMIL-53(Al) but one type of pore of 0.42 nm for NH2-BDC@FMIL-53(Al)-3, indicating the loaded NH2-BDC molecules were successfully trapped into the nanochannels of FMIL-53(Al) (Fig. 1b, c).

Fig. 1
figure 1

a N2 adsorption/desorption isotherms of FMIL-53(Al) and NH2-BDC@FMIL-53(Al)-3, respectively, at 77 K. DFT pore size distribution for b FMIL-53(Al) and c NH2-BDC@FMIL-53(Al)-3 evaluated by using N2 adsorption data measured at 77 K

Morphology of NH2-BDC@FMIL-53(Al)-3 composites was studied by SEM. As shown in Fig. 2, NH2-BDC@FMIL-53(Al)-3 exhibits a surface-wrinkled microflower-like morphology similar to the pristine MOF material (Su et al. 2022b). Furthermore, the PXRD patterns of NH2-BDC@FMIL-53(Al)-3 showed the same characteristic peaks of FMIL-53(Al), which also implied that the crystal structure of FMIL-53(Al) remained stable during the dye loading (Figure S3 in supporting information). Finally, the TG experimental results showed almost no mass loss of the material in the range less than 300 °C, indicating the high thermal stability of NH2-BDC@FMIL-53(Al)-3 (Figure S2 in supporting information). In the range of 300–520 °C, there is a continuous weight loss (~ 15% weight loss) due to the release of guest molecules, such as DMF and NH2-BDC molecules. Continuing to increase the temperature, a rapid and significant mass loss was observed due to the collapse of the FMIL-53(Al) framework structure and the decomposition of the PTA ligand.

Fig. 2
figure 2

SEM images of NH2-BDC@FMIL-53(Al)-3 at two scales: a. 5.0 μm, b 500 nm

Response of the fabricated ratiometric probe to OTC

The fluorescence characteristic peak of six NH2-BDC@FMIL-53(Al) composites, as shown in Figure S6 in supporting information, clearly appeared at about 433 nm due to the introduction of blue fluorescent dye. In addition, the fluorescence intensity at 433 nm gradually increased with the increase in NH2-BDC content in NH2-BDC@FMIL-53(Al) composites. Considering the fluorescence enhancement response of FMIL-53(Al) to OTC, NH2-BDC@FMIL-53(Al)-3, which has moderate intensity fluorescence emission at 433 nm and 520 nm, was chosen as the fluorescence sensor for ratiometric sensing of OTC. The addition of 4.0 μM OTC can significantly (about 13-fold) enhance the emission of green emission (FG) under excitation at a single wavelength of 383 nm, while the intensities of blue-emitting (FB) centered at 433 nm almost kept constant (Figure S18 in supporting information). Hence, NH2-BDC@FMIL-53(Al)-3 can be developed as a ratiometric fluorescent probe for OTC detection, in which FMIL-53(Al) can act as a reactive component specific to OTC and leads to the enhancement of green fluorescence, while NH2-BDC can serve as a reference signal.

Optimization of sensing conditions

Keeping stability in mind as a prerequisite for material applications (Lima et al. 2017; Liu and Dong 2020; Sanchez et al. 2016; Zahirinejad et al. 2021), the fluorescence stability of NH2-BDC@FMIL-53(Al)-3 was first verified in organic solvents (DMF, acetone, DCM, THF, ethanol, ethyl acetate, propan-2-ol, and n-Hexane), HEPES buffer (10 mM, pH = 7.3), metal ion (K+, Na+, Zn2+, and Ca2+), and surfactant (CTAB and SDS) solutions. As shown in Figure S7 and Figure S8 in supporting information, the blue emission of NH2-BDC@FMIL-53(Al)-3 remained almost constant over 3 days, indicating that NH2-BDC@FMIL-53(Al)-3 possesses sufficient fluorescence stability under the above media conditions. In addition, we examined the effect of pH on the fluorescence of the probe. NH2-BDC@FMIL-53(Al)-3 also exhibited satisfactory luminescence stability with the solution in the pH range of 5.0–9.0 (Figure S10 in supporting information). Next, we explored the fluorescence response of the probe to OTC in organic solvents and HEPES buffer. Only in HEPES buffer, NH2-BDC@FMIL-53(Al)-3 exhibited a ratiometric fluorescence response to OTC (Figure S9 and Figure S18 in Supporting information). Thus, HEPES buffer was chosen as the medium for OTC sensing. Furthermore, the effect of pH on OTC sensing was also explored in the buffer range (pH = 6.8–8.2) of HEPES buffer. According to the result in Figure S14 in supporting information, the sensing efficiency did not exhibit significant pH-dependent properties.

In addition, the effect of response time was next investigated. With the addition of OTC, the ratiometric probe-OTC system exhibited time-dependent spectral characteristics, and the signal of FG/FB showed a significant enhancement effect within 45 min (Figure S13 in supporting information). Finally, as a non-negligible factor, the optimal excitation wavelength in the sensing process was also investigated in detail. Specifically, after adding different concentrations of OTC from 1.0 to 4.0 μM, the fluorescence emission spectrum of the ratiometric probe-OTC system excited at different excitation wavelengths (370 nm, 375 nm, 380 nm, 383 nm, and 385 nm) was recorded (Figures S15-S19 in supporting information). Taking the addition of 4.0 μM OTC as an example, with the increase in the excitation wavelength from 370 to 385 nm, the green emission of the ratiometric probe-OTC system was enhanced by 4.8, 6.4, 9.6, 13.0 and 15.2 times, respectively. However, the blue emission intensity, which can be used as an internal standard, remained stable only when the excitation wavelength was 383 nm. Therefore, 383 nm was chosen as the optimal excitation wavelength for OTC detection.

Sensing mechanism

In addition, we speculated the possible mechanism of NH2-BDC@FMIL-53(Al) response to OTC molecules. Typically, in neutral solutions, OTC molecules adopt a twisted conformation with weak/no fluorescence (Fig. 3b) (Carlotti et al. 2012; Lambs et al. 1988). While the coordination with metal ions such as Ca2+, Zn2+, or Al3+ can promoted conformation of the OTC molecules gradually evolves from a twisted conformation to an extended conformation, accompanied by an intense yellow-green fluorescence emission and a clear red shift of the absorption peak (Carlotti et al. 2012; Lambs et al. 1988). We have elucidated that the OTC molecules can bind to FMIL-53(Al)’s surface-distributed open aluminum sites, which promotes the evolution of OTC molecules to an extended conformation, as evidenced by enhanced green emission intensity and redshifted absorption peaks (Su et al. 2022b). Here, the NH2-BDC@FMIL-53(Al)-OTC system exhibits similar spectral phenomena, including the enhancement of the fluorescence at ~ 520 nm and the redshift of the UV–vis absorption (Fig. 3a and Figure S18 in supporting information). Furthermore, as shown in Fig. 3a and Figure S11 in supporting information, EDTA, a common metal ion chelator, can significantly interfere with the interaction of OTC molecules with the probe, as reflected in the fluorescence and absorption spectra of the Probe-EDTA-OTC ternary system. Those results demonstrated the interaction between OTC molecules and the surface-distributed open aluminum sites. Thus, similar to the pristine MOF material, the mechanism by which the constructed ratiometric fluorescent probe enhances the fluorescence of OTC molecules can also be described as the conformational change driven by the coordination to NH2-BDC@FMIL-53(Al)’s surface-distributed open aluminum sites.

Fig. 3
figure 3

a Absorption spectra of OTC (10 μM) with (Orange) or without (black) the addition of the probe, and the probe-EDTA system with the addition of 10 μM OTC (blue) in HEPES buffer. The concentrations of EDTA and probe were 500 μM and 0.1 mg/mL. b The balance between the twisted conformation and the extended conformation

In addition, the reusability of functional materials is an important characteristic, which is considered as a continuous application (Galvão et al. 2018; Pinheiro et al. 2018). To investigate the reusability of the probe, after the detection of OTC, used FMIL-53(Al), noted as OTC@NH2-BDC@FMIL-53(Al)-3, was first obtained by centrifugation and vacuum drying. Next, OTC@NH2-BDC@FMIL-53(Al)-3 solids were treated by immersion in ethanol for different times (0 h, 2 h, 4 h, and 6 h) and then redispersed in HEPES buffer, and the fluorescence spectra were recorded with the excitation wavelength of 383 nm. As shown in Figure S12 in supporting information, the fluorescence intensity at 520 nm did not decrease significantly with the extension of soaking time, indicating the poor recoverability of the probe, which also briefly demonstrated the strong binding between the OTC and the open aluminum sites on the surface of FMIL-53(Al).

Fluorescence titration experiments

The dose-dependent response of prepared probe to OTC was examined by fluorescence titration experiments. When exposed to OTC, the green fluorescence centered at ~ 520 nm gradually increased, whereas the blue fluorescence at 433 nm of NH2-BDC as an internal standard remains unchanged (Fig. 4a). A well linear response (R2 = 0.9985) between the value of FG/FB and the concentration of OTC (0–4.0 μM) can be fitted as a regression equation of FG/FB = 0.5624 × [OTC] + 0.1452, where FG/FB is the ratios of the intensities of green fluorescence (FG) to the intensities of blue fluorescence (FB), and [OTC] represents the concentration of OTC (Fig. 4b). Correspondingly, the limit of detection (LOD) and limit of quantitation (LOQ) were calculated by 3σ/S (Güner et al. 2022; Turan et al. 2019) and 10σ/S (Güner et al. 2022; Turan et al. 2019) to be 11.0 nM and 36.70 nM, respectively, which were well below the maximum residue limits for tetracycline antibiotics in milk established by the European Union and the US Food and Drug Administration (225 nM and 676 nM, respectively) (Li et al. 2019). More importantly, as shown in Table 1, NH2-BDC@FMIL-53(Al)-3 exhibits high sensitivity, which is comparable to the most sensitive ratiometric fluorescent probes reported for OTC detection. Furthermore, under the excitation of 365 nm UV light, against the background of blue fluorescence of stable intensity, the enhancement of green fluorescence resulted in a continuous evolution of fluorescence color from dark blue to steel blue with the addition of 4.0 μM OTC (Fig. 4b inset).

Fig. 4
figure 4

a Dose-dependent response of the fluorescence spectra (λex = 383 nm) of NH2-BDC@FMIL-53(Al)-3 (0.1 mg mL−1) under various concentrations of OTC: 0, 0.1, 0.3, 0.5, 0.8, 1.0, 1.3, 1.5, 1.8, 2.0, 2.5, 3.0, and 4.0 μM. b Standard curve for the determination of OTC concentration. Calibration curve of FG/FB versus concentration of OTC from 0.1 to 4.0 μM. (inset) Photographs depicting OTC-induced ratiometric fluorescence change from dark blue to steel blue under UV light at 365 nm. The error bars are the standard deviations (n = 3) calculated based on the results of triplicate trials

Table 1 Comparison of ratiometric fluorescent sensors for OTC detection

Selectivity and interference studies

To determine the specificity of the prepared ratiometric fluorescent probe toward OTC, other relevant antibiotics (including Eryc, KNMC, CAP, SMC, SDZ, NFX, CTA, APCL, and NFZ), metal ions (including Ca2+, Zn2+, Mn2+, Al3+, Ni2+, Co2+, K+, and Na+), and anions (including Cl, Br, I, NO2, CO32−, HCO3, HPO42−, S2−, SO42−, IO3, and Ac), each at a concentration of 15 μM, were added to the NH2-BDC@FMIL-53(Al)-3 suspension and fluorescence spectra were recorded, respectively. As can be seen from Fig. 5, compared to the intensity ratio (FG/FB)0 of the blank sample without analyte added, the addition of these foreign species did not cause significant changes in the intensities ratios FG/FB, while 3 μM OTC could lead to a ~ 12-fold increase in the FG/FB ratio, demonstrating the high selectivity toward OTC. Furthermore, the effects of the coexistence of the above-mentioned species on the ratiometric fluorescent probe for OTC sensing were verified. The results showed that 5 times the concentration of coexisting antibiotics, metal ions, or anions did not significantly interfere with the sensing of OTC, which further verified the feasibility of the proposed ratiometric probe (Fig. 6).

Fig. 5
figure 5

The fluorescence ratiometric selectivity of NH2-BDC@FMIL-53(Al)-3 to a interfering antibiotics, b interfering metal ions, and c interfering anions. (FG/FB)0 and (FG/FB) were the ratios of the intensities of green fluorescence (FG) to the intensities of blue fluorescence (FB) without and with analytes, respectively. The error bars are the standard deviations (n = 3) calculated based on the results of triplicate trials

Fig. 6
figure 6

Fluorescence intensities ratio of (FG/FB)/(FG/FB)0 from the responses of NH2-BDC@FMIL-53(Al)-3 in the presence of 3 μM OTC coexisting with 15 μM a interfering antibiotics, b interfering metal ions, and c interfering anions. (FG/FB)0 and (FG/FB) were the ratios of the luminescence intensities without and with the analytes, respectively. The error bars are the standard deviations (n = 3) calculated based on the results of triplicate trials

Detection of OTC in river water samples

We further evaluated the practicability of the proposed ratiometric fluorescence method for OTC detection based on NH2-BDC@FMIL-53(Al)-3, and the river water samples were selected for spike and recovery tests (Chen et al. 2020b; Sun et al. 2020b). As listed in Table 2, the relative recoveries (99.8% − 102.6%) on river water samples with 2.0 and 4.0 μM of OTC spiked were obtained with low relative standard deviation (RSD, n = 3) values of 0.35–0.91%. In addition, compared with the measurement results in ultrapure water, no obvious matrix effect was found, indicating that the sensing process was not seriously interfered with by the environmental substances in real river water (Table S2 in supporting information). The relative recoveries obtained in real and ultrapure water samples were also statistically analyzed by applying t test, and no significant differences were noticed, as shown in Table S2 in supporting information. Furthermore, the analytical precision (intra-day and inter-day) of this ratiometric fluorescence method was calculated from real samples spiked with 2.0 μM and 4.0 μM OTC. As shown in Table S3 in supporting information, the intra-day and inter-day RSDs (n = 4) were within the ranges 0.55–1.39% and 0.95–1.26%, respectively, indicating the reliability of the probe for OTC quantification. All those results confirmed that the prepared ratiometric fluorescence sensing approach possessed practicability and reliability for quantification of OTC in real samples.

Table 2 Determination of OTC in ultrapure water and river water samples by NH2-BDC@FMIL-53(Al)-3 nanoprobe

Paper-based method for visual detection of OTC

To further explore such OTC-triggered ratiometric fluorescence response for real-time monitoring, the circular test strips with a diameter of 6 nm were firstly prepared by loading NH2-BDC@FMIL-53(Al)-3 on glass fiber filter paper. The test strips loaded with ratiometric fluorescent probes showed no obvious change under sunlight but emitted strong blue light under the irradiation of a hand-held UV 365 nm lamp (Figure S20 in supporting information). For application in visual detection, 20 μL of different concentrations of OTC (5 μM, 10 μM, 15 μM, 20 μM, 25 μM, and 30 μM) were sequentially dropped on the test strips, followed by vacuum drying at room temperature for 30 min. Under 365 nm ultraviolet light, the test strips showed a concentration-dependent yellow patch against the blue fluorescent background, which could be identified by the naked eye conveniently (Figs. 7b). Therefore, the above results demonstrate that the developed test strips can achieve rapid and simple detection of OTC.

Fig. 7
figure 7

Photographs depicting the test strips a before and b after sensing of OTC solutions under a 365 nm UV lamp. The concentrations of OTC were 5 μM, 10 μM, 15 μM, 20 μM, 25 μM, and 30 μM from left to right

Smartphone application used to detect OTC

As mentioned above, the ratiometric fluorescence method based on NH2-BDC@FMIL-53(Al)-3 can realize sensitive sensing of OTC, but the detection process involves the use of an expensive and bulky fluorophotometer, which is not suitable for field application. In addition, the paper-based method for visual detection can quickly and easily detect OTC, but it is difficult to accurately quantify the OTC concentration due to the inability of the naked eye to distinguish subtle color changes. To make the proposed ratiometric probe available for accurate on-site monitoring of OTC, a non-instrument-based semi-quantitative analysis method was established based on the color recognizer APP in the smartphone application (Fig. 8a and Figure S21 in supporting information). Specifically, the color recognizer APP was used as a signal reader to digitize the color information (RGB values) of the fluorescent color image shown in the inset of Fig. 4b, and the correlation between the RGB ratios (G/B) and the OTC concentration was calculated and fitted. As illustrated in Fig. 8b, within the concentration ranging from 0.3 to 4.0 μM, the RGB ratio (G/B) has a favorable linear correlation with the OTC concentration (R2 = 0.9956). The corresponding linear equation can be expressed by G/B = 0.1114 × [OTC] + 0.2673, while the lowest detectable concentration was estimated to be 0.18 μM. Therefore, the above experimental results demonstrate the reliability of the smartphone-based sensing method for OTC detection, validating the applications of the fabricated NH2-BDC@FMIL-53(Al)-3 composites for point-of-care analysis of OTC.

Fig. 8
figure 8

a Schematic diagram of digitizing RGB values of fluorescent photos via smartphone color recognizer. b Favorable Linear relationship plots of RGB ratios (G/B) versus OTC concentrations (OTC concentrations: 0.3 μM, 0.5 μM, 1.0 μM, 1.5 μM, 2.0 μM, and 2.5 μM). The error bars are the standard deviations (n = 3) calculated based on the results of triplicate trials

Conclusions

In conclusion, six NH2-BDC@FMIL-53(Al)-based rare-earth-free composites for ratiometric fluorescence sensing of OTC were fabricated by introducing blue-emitting fluorescent dye 2-aminoterephthalic acid (NH2-BDC) into the nanochannels of FMIL-53(Al). The detection limit (LOD) and quantitation limit (LOQ) of NH2-BDC@FMIL-53(Al)-3 are estimated to be as low as 11.01 nM and 36.70 nM, respectively, which is considered to be one of the most sensitive ratiometric fluorescent probes for OTC detection. In contrast to most rare-earth element containing probes, it is important to emphasize that the ratiometric fluorescent probes NH2-BDC@FMIL-53(Al) composites we constructed do not contain rare-earth elements, which implies low cost, abundant supply, and environmental friendliness. More importantly, the continuous color evolution caused by the addition of OTC can be recognized by the color identifier APP in the smartphone application, enabling quantitative detection of OTC with a LOD of 0.18 μM. Finally, OTC in river water samples can also be quantified, demonstrating the application potential of the constructed ratiometric fluorescence sensing platform.