Introduction

Timely detection of different analytes by using chemo- or bio-sensors could be increased the safety level and inhibits environmental hazards1,2,3,4,5,6. Among various methods, optical sensing is the most efficient approach for detection of environmental changes with high accuracy and validity7,8,9,10,11,12,13,14. In the recent years, photosensing of metal ions in biological environments has been considered in advanced researches. The presence of toxic ions, even in low concentrations, could lead to irreparable damage to human life. Stimuli-responsive materials have remarkably been used to design advanced sensors with the ability of monitoring various triggers depending on their chemical structure and functional photoactive molecules11,15,16,17,18,19,20,21,22,23. Therefore, a wide range of responses including color change, solubility, deformation, volume variation, and induction of surface charge could be observed as an alarm to display detection of the stimuli. Optical sensors could be used for detection of external stimuli, which are classified into chemical, physical, and biochemical categories24,25,26,27,28,29,30,31. Fluorescent compounds as light-responsive materials are among the most important smart systems, which have been used in preparation of optical sensors. Fluorescent compounds change their optical properties, such as color and fluorescence emission, in response to external triggers, which are detectable by UV–vis and fluorescence spectroscopies16,32,33,34,35,36.

Oxazolidine as a novel stimuli-chromic compound have significant advantages including fast responsivity towards external stimuli, isomerization between two isomer structures as non-fluorescent/discolored and colored/fluorescent states37,38,39,40,41,42,43,44,45,46,47. In addition, a wide range of oxazolidine derivatives could be synthesized by using various aromatic aldehyde compounds substituted with different electron donor and electron withdrawing groups. Oxazolidine derivatives display various stimuli-chromism, such as hydrochromism, solvatochromism, acidochromism, and photochromism, depending on the functional groups on their chemical structure45,47,48,49,50. Oxazolidine displays various coloration and fluorescence emission in different media, depending on interactions of different functional groups on the indolenine ring or benzaldehyde structure with the surrounding media45,51,52,53,54,55. The color changes act as an alarm in response to stimulus that is detectable by naked eye, which is a significant requirement for development of highly selective colorimetric and fluorometric sensors without the need to high-cost materials or special equipment. These unique properties have resulted in introduction of oxazolidine as a good candidate for chemosensor applications in the recent years.

Herein, new fluorescent oxazolidine derivatives were synthesized by using different aromatic aldehydes, such as 4-nitrobenzaldehyde and 9-anthraldehyde. The functional groups (electron donating or electron withdrawing) could induce various responsivities to oxazolidine molecules, such as coloration or fluorescence emission in presence of metal ions. Because of the pointed advantages, oxazolidine derivatives could be used as an excellent optical chemosensor for determination of various metal cations with high sensitivity and selectivity. The substituted functional groups such as NO2 and anthracene are able to coordinate with metal ions via non-bonding electrons or π-π interactions, which could result in coloration or fluorescence emission. Therefore, optical properties of the oxazolidine derivatives upon various metal ions were studied by UV–vis and fluorescence spectroscopies to develop novel molecular colorimetric/fluorometric chemosensors. The oxazolidine derivatives were synthesized for the first time and also used as a novel type of colorimetric/fluorometric optical chemosensors for selective and sensitive detection of metal ions. In addition, oxazolidine derivatives have potential applications as paper-based ionochromic chemosensors for detection of metal ion solutions.

Experimental

Materials

2,3,3-Trimethylindolenin (98%), 1,1,2-trimethylbenz[e]indole (98%), 2-bromoethanol (95%), 9-anthraldehyde, and 4-nitrobenzaldehyde (98%), which were used for the synthesis of (E)-1-(2-hydroxyethyl)-3,3-dimethyl-2-(4-nitrostyryl)-3H-indol-1-ium (OX1-Nitro), (E)-3-(2-hydroxyethyl)-1,1-dimethyl-2-(4-nitrostyryl)-1H-benzo[e]indol-3-ium (OX2-Nitro), (E)-2-(2-(anthracen-9-yl)vinyl)-1-(2-hydroxyethyl)-3,3-dimethyl-3H-indol-1-ium (OX1-Anthracene), and (E)-2-(2-(anthracen-9-yl)vinyl)-3-(2-hydroxyethyl)-1,1-dimethyl-1H-benzo[e]indol-3-ium (OX2-Anthracene) were purchased from Sigma-Aldrich. The metal salts including Zn(NO3)2, Cu(NO3)2, Ni(NO3)2, Co(NO3)2, Pb(NO3)2, Fe(NO3)3, Cd(NO3)2, AgNO3, and Hg(NO3)2 were supplied by the Merck Chemical Company and used for the preparation of aqueous solutions of metal ions. Distilled-deionized (DI) water was used in all the recipes, and all the materials were used without further purifications.

Synthesis of the oxazolidine derivatives

The oxazolidine derivatives were synthesized according to the literature40,41,44,47,56. A solution of 2-bromoethanol (25 mmol, 1.8 mL) and 2-buotanone (10 mL) was added dropwise to the solution of 2,3,3-trimethylindolenin (A, 20 mmol, 3.2 g) or 1,1,2-trimethylbenz[e]indole (B, 20 mmol, 2.1 g) and 2-buotanone (30 mL) at ambient conditions under reflux at 80 °C for 48 h to obtain reddish precipitates. The precipitate (C or D, respectively, Fig. 1) was washed three times with acetone to afford reddish solids with a reaction yield of about 60–70%. In the second step, 10 mmol of C (2.85) or D (3.35 g) was dissolved in ethanol (20 mL), and then a solution of 4-nitrobenzaldehyde (20 mmol, 2.45 g) or 9-anthraldehyde (20 mmol, 2.45 g) in 10 mL ethanol was added to the mixture and the reaction was continued for 48 h. The products were filtered and washed with cold ethanol (5 mL) for three times to obtain E (OX1-Anthracene), F (OX1-Nitro), G (OX2-Anthracene), and H (OX2-Nitro) as oxazolidine derivatives. Chemical structures of OX1 and OX2 were characterized by 1H NMR analysis (CDCl3 as solvent) and the corresponding spectra are presented in Fig. S1 (A, B, C, and D, Supporting Information) for the OX1-Anthracene, OX1-Nitro, OX2-Anthracene, and OX2-Nitro compounds, respectively.

Figure 1
figure 1

Schematic representation for the synthesis of different oxazolidine derivatives from various indolium salts.

Preparation of the ionochromic security papers

The ionochromic security papers were prepared by a layer-by-layer method according to the procedure reported by Sheng et al.41. Whatman filter papers (Whatman qualitative filter paper for technical use, product number: WHA10347512, creped circles with a diameter of 185 mm, Germany) as the substrate were coated with a thin layer of 10 wt% PEG aqueous solution by impregnation and then drying at room temperature. Then, a solution of oxazolidine (0.08 mmol/L) in ethanol/H2O (2/3 by volume) containing 6 wt% of PEG and 0.01 wt% of NaNO3 was coated on the PEG-coated papere as the second layer. Finally, a layer of 10 wt% PEG solution was coated as the third layer on the two-layer coated papers to prepare the ionochromic security papers.

Characterization

Chemical structure of the oxazolidine derivatives was characterized by proton nuclear magnetic resonance (1H NMR) spectroscopy using a Bruker DPX 400 MHz apparatus in D2O solvent. Optical properties of the samples were investigated by UV–vis analysis by using Jenway 6705 UV/Visible Scanning Spectrophotometer (United Kingdom). Fluorescence emission of the samples was studied by using JASCO FP-750 Spectrofluorometer (Japan). Diluted samples with a concentration of 0.5 mg/mL were used for UV–vis and fluorescence spectroscopy analysis. To evaluate the fluorescence properties, excitation was done by a UV lamp (365 nm, 50 W/m2), CAMAG 12VDC/VAC (50/60 Hz, 14 VA, Switzerland). Also, the source for visible light was a common LED lamp (8 W/m2).

Results and discussion

The photochromic and fluorescent compounds well-known as stimuli-chromic materials have extensively been used in development of the colorimetric and fluorometric chemosensors in the recent years12,29,57,58,59,60. Oxazolidine is a new category of stimuli-chromic materials that displays hydrochromism, acidochromism, photochromism, and ionochromism by induction of different external stimuli. Compared to the other stimuli-chromic materials, chemical structure of the oxazolidine derivatives is very sensitive to characteristics of the surrounding media, where coloration and fluorescence emission could be significantly affected by the solute–solvent interactions. Therefore, the oxazolidine molecules are highly important candidates for colorimetric and fluorometric photosensing of different analytes especially metal ions11,44,52,61,62. Chemical structure and substituted functional groups on oxazolidine molecules are significant parameters on sensitivity and selectivity of metal ion chemosensors. In this study, some novel oxazolidine derivatives were synthesized according to the procedure schematically presented in Fig. 1 by using various aromatic aldehydes. OX1-Anthracene and OX2-Anthracene derivatives were prepared with two indolenine salts and 9-anthraldehyde, and OX1-Nitro and OX2-Nitro were synthesized by using the same indolenine salts and 4-nitrobenzaldehyde. Chemical structure of the oxazolidine derivatives were characterized by 1H NMR analysis and the obtained spectra were reported in Fig. S1. All of the protons were indicated by the labels in chemical structure of the oxazolidine derivatives, and the corresponding peaks were determined in the spectra shown in Fig. S1. Results displayed successful synthesis of the oxazolidine derivatives that were used as colorimetric/fluorometric sensors for photodetection of metal ions.

Photodetection of metal ions by oxazolidine derivatives

Metal ions even in low amount, especially in living media, could have irreparable damages in daily life. Efficient detection of metal ions could be carried out by optical chemosensors using organic compounds with the ability of colorimetric and fluorometric response to photo irradiation. For this purpose, aqueous solutions of oxazolidine derivatives (0.0002 M) were used for photodetection of metal ions (0.01 M) including Cd2+, Cu2+, Fe3+, Pb2+, Zn2+, Ni2+, Co2+, and Ag+ via UV–vis and fluorescence spectroscopies. As shown in Fig. 2, photodetection of metal ions in OX1-Anthracene solution was investigated by UV–vis (Fig. 2A) and fluorescence spectroscopy (Fig. 2B). In UV–vis spectra, a broad peak in the range of 220–300 nm with a λmax of about 245 nm and also multiple broad peaks in the range of 330–400 nm were observed for OX1-Anthracene. Addition of various metal ions to the OX1-Anthracene solution was led to slight decrease of absorbance intensity for both of the peaks (220–300 and 330–400 nm), and showed that the OX1-Anthracene solution behaves selective for the detection of Ag+. Figure 2B displays fluorescence spectra of the OX1-Anthracene solutions containing different metal ions. All of the samples show similar fluorescence emission spectra, except the sample containing Ag+, which shows a shift in the peak point of fluorescence spectrum and increase of intensity. The photographs of colorimetric and fluorometric detection of Ag+ are presented in Fig. 2C, D, respectively, which show changing coloration from light-pink in free solution to discolored state for Ag+ solution. These results indicated that OX1-Anthracene could be used as a selective colorimetric/fluorometric optical chemosensor for detection of Ag+ by spectroscopy methods and even by naked eye.

Figure 2
figure 2

(A) UV–vis and (B) fluorescence spectra (excited with wavelength of 340 nm) of the OX1-Anthracene aqueous solutions with a concentration of 0.0002 M containing metal ions with a concentration of 0.01 M, and photographs of (C) color change and (D) fluorescence emission for the OX1-Anthracene/metal ions solutions under visible light and UV irradiation, respectively.

A significant effective parameter on the optical properties of the oxazolidine derivatives is the conjugation length in chemical structure. Substitution with electron withdrawing or electron donating groups can also significantly affect the sensing characteristics. UV–vis and fluorescence spectra of the OX2-Anthracene in aqueous solutions of various metal ions are shown in Fig. 3A, B, respectively. A significant reduction of absorption intensity was observed for the OX2-Anthracene sample after addition of Ag+, in comparing with the other metal ions. A remarkable decrease of fluorescence intensity was also observed for the OX2-Anthracene sample containing Ag+, which is important for photosensing of Ag+ by fluorometric method. Figure 3C, D were obtained from exposing the OX2-Anthracene/metal ions solutions to visible light (to observe coloration) and UV light irradiation (to observe fluorescence emission), respectively. All of the samples showed pink and light pink colors; however, the sample containing Ag+ was discolored. A light blue fluorescence emission was observed for all of the samples except the sample containing Ag+ that displayed light green fluorescence emission. The results indicate that OX2-Anthracene could be used as a highly-selective colorimetric/fluorometric optical chemosensor for photosensing of Ag+ by spectroscopy methods, and also easy detection by naked eye under visible light and UV irradiation by means of color change or fluorescence emission change after addition of Ag+.

Figure 3
figure 3

(A) UV–vis and (B) fluorescence spectra (excited with wavelength of 340 nm) of the OX2-Anthracene aqueous solutions with a concentration of 0.0002 M containing metal ions with a concentration of 0.01 M, and photographs of (C) color change and (D) fluorescence emission of the OX2-Anthracene/metal ions solutions under visible light and UV irradiation, respectively.

According to the important role of different functional groups on photochromism and fluorescence properties, two new oxazolidine derivatives of OX1-Nitro and OX2-Nitro were synthesized using 4- nitrobenzaldehyde as the raw material. The UV absorption (Fig. 4A) indicated that OX1-Nitro has a broad peak in 250–400 nm with λmax of 310 nm. After addition of metal ions to the OX1-Nitro solution, hyperchromism phenomenon was observed by increasing of absorbance intensity for all of the samples, which is maximum in the case of Fe3+ and Co2+ metal ions. As shown in Fig. 4B, fluorescence intensity (excitation wavelength of 400 nm) in the range of 410–600 nm was increased in the case of Co2+ and Fe3+ solutions. These significant results, highly intense fluorescence emission, indicate high sensitivity and selectivity of OX1-Nitro toward Co2+ and Fe3+ metal ions. Coloration and fluorescence emission of the samples were investigated under visible light and UV irradiation, and the images are presented in Fig. 4C, D, respectively. As concluded from the results of UV–vis and fluorescence spectra, OX1-Nitro displayed highly-intense color change from discolored to bold yellow under visible light irradiation and also cyan blue fluorescence emission under UV irradiation after the addition of Fe3+ and Co2+ metal ions. Therefore, OX1-Nitro behaved as a selective and sensitive dual mode colorimetric/fluorometric optical sensor for photodetection of Fe3+ and Co2+ under visible or UV light irradiation.

Figure 4
figure 4

(A) UV–vis and (B) fluorescence spectra (excited with wavelength of 400 nm) of the OX1-Nitro aqueous solutions with a concentration of 0.0002 M containing metal ions with a concentration of 0.01 M, and photographs of (C) color change and (D) fluorescence emission of the OX1-Nitro/metal ions solutions under visible light and UV irradiation, respectively.

To investigate effect of conjugation length of the oxazolidine structure on the photochromic and fluorescence properties, OX2-Nitro was synthesized by using a new indolenine salt. As shown in Fig. 5A, a broad absorbance peak in the range of 250–400 nm with λmax of 310 nm was observed that is attributed to the absorption of UV light by OX2-Nitro (free sample, black curve). After addition of Fe3+, a bathochromism (red-shift of the peak wavelength) phenomenon occurred in addition to the hyperchromism (increasing of absorbance intensity) in UV–vis spectra (Fig. 5A). A highly intense and selective detection of Fe3+ by fluorescence emission was observed in fluorescence spectra (Fig. 5B), where the samples were excited by UV with the wavelength of 400 nm. The OX2-Nitro sample displayed emission by excitation with 520 nm in addition to the excitation with 400 nm, which could be named as a two-photon excitable fluorescent compound. Therefore, emission of the OX2-Nitro samples was investigated under excitation at 520 nm, and the resulted fluorescence spectra are presented in Fig. 5C. Surprisingly, a strong fluorescence emission was observed for the OX2-Nitro in response to the addition of Fe3+, Co2+, and also Pb2+ metal ions. Selective photosensing of Pb2+ in aqueous solutions, especially in living media, is a very significant challenge. It was shown that OX2-Nitro is a good candidate for development of a selective and sensitive chemosensor for detection of this toxic metal ion. In addition, the images obtained from photography under visible light (Fig. 5D) showed that the bold yellow color of OX2-Nitro containing Fe3+ and Co2+ was changed to highly intense cyan blue emission under UV light irradiation (Fig. 5E). In summary, OX2-Nitro can be used as a highly selective and sensitive optical chemosensor for simultaneous detection of Fe3+, Co2+, and Pb2+ metal ions by the two-photon excitable fluorometric approach and also colorimetric method, as spectroscopic and easy detection by naked eyes, respectively.

Figure 5
figure 5

(A) UV–vis and (B, C) fluorescence spectra (excited at 400 and 520 nm, respectively) of the OX2-Nitro aqueous solutions with a concentration of 0.0002 M containing metal ions with a concentration of 0.01 M, and photographs of (D) color change and (E) fluorescence emission of the OX2-Nitro/metal ions solutions under visible light and UV irradiation, respectively.

Ionochromic security papers

Anticounterfeiting technology has attached remarkable attentions in the preparation of smart inks, papers, fibers, labels, holograms, etc.63,64,65,66,67,68,69,70. Due to the important role of anticounterfeiting security papers in the recent studies, development of the anticounterfeiting ionochromic papers based on oxazolidine derivatives can help the documents to stay safe from any forgery and counterfeiting. The previous results showed that the fluorescent oxazolidine can be used as an excellent sensitive chemosensor for detection of metal ions with high selectivity and also for development of security papers for printing and handwriting by using of metal ion aqueous solutions as the ink. According to the selective photodetection of Fe3+ and Co2+ ions by OX1-Nitro and OX2-Nitro and Ag+ ion by OX1-Anthracene and OX2-Anthracene in this study, the ionochromic security papers were designed and prepared with specific inks based on metal ion aqueous solutions for handwriting and printing. For this purpose, the layer-by-layer technique was used to prepare the ionochromic security papers. A novel approach was developed in the current study for the first time to prepare new class of security papers with specific anticounterfeiting inks. As shown in Fig. 6, the ionochromic cellulosic paper was colorless under visible light, and displayed blue emission under UV irradiation (365 nm) because of its coating with oxazolidine solution (OX2-Nitro) by the layer-by-layer method. The Fe3+ and Co2+ metal ion aqueous solutions can induce highly intense cyan blue fluorescence emission when used as the ink for handwriting and printing (stamping) on the ionochromic papers coated with OX2-Nitro (Fig. 6). The highly intense pink fluorescence emission resulted from stamping and handwriting of Fe3+ and Co2+ metal ion aqueous solutions on security papers displayed dual-mode security based on simultaneously coloration and fluorescence emission. A significant and interesting application for the ionochromic papers is development of paper-based chemosensors for detection of metal ions under UV irradiation, similar to the paper-based indicators used for detection of pH in aqueous solutions.

Figure 6
figure 6

Handwriting and stamping of Fe3+ and Co2+ aqueous solutions on the ionochromic security papers coated with OX2-Nitro.

Similar ionochromic security papers were prepared by using OX1-Anthracene and OX2-Anthracene solutions coated on cellulosic papers by the layer-by-layer strategy. As previously discussed in Figs. 2 and 3, addition of the Ag+ aqueous solution into the OX1-Anthracene and OX2-Anthracene solutions was led to induction of highly intense cyan blue emission under UV light, which is a powerful approach for development of a novel anticounterfeiting technology. As shown in Fig. 7, the withe and dark purple security marks were induced on the papers coated with OX1-Anthracene and OX2-Anthracene by printing and handwriting of the Ag+ aqueous solution as an ionochromic security ink. The colorimetric/fluorometric properties of these novel ionochromic papers have a great powerful identifier for security documents based on ion metal solutions and also paper-based chemosensors for detection of metal ions under UV irradiation.

Figure 7
figure 7

Handwriting and stamping of Ag+ aqueous solutions on the ionochromic security papers coated with OX1-Anthtacene and OX2-Anthtacene.

Conclusion

Four novel oxazolidine derivatives with dual colorimetric and fluorometric characteristics were synthesized for selective photodetection of different metal ions with high sensitivity. The results showed that the OX1-Anthracene and OX2-Anthracene derivatives are able to selective photodetection of Ag+ in aqueous solution, and both of the OX1-Nitro and OX2-Nitro aqueous solutions can be used for selective photodetection of Fe3+ and Co2 + metal ions. The detection in all of the samples is based on the fluorometric and colorimetric mechanisms, which can be observed with high intensity by naked eyes. The photodetection and also two-photon emission of OX2-Nitro could be used for selective detection of toxic Pb2+ (0.01 M) in aqueous solutions. As an innovative approach, such unique colorimetric and fluorometric properties of the oxazolidine derivatives after the addition of metal ions have potential applications in high security ionochromic papers for printing and handwriting of metal ion aqueous solutions as anticounterfeiting inks. The dual-mode colorimetric/fluorometric behavior of the ionochromic paper could be used for development of paper-based chemosensors for photodetection of Fe3+, Co2+, and Ag+ metal ion solutions. These observations could open a new window for development of high-tech chemosensors in security documents with easy and accurate detection of metal ion aqueous solutions.