1 Introduction

Ferrocene and its derivatives have been popular subjects of research because of their useful electrochemical activity, thermal stability, and liquid crystalline properties (Seibold and Sutton, 1955; Manners, 1999; Apreutesei et al., 2007; Lisa et al., 2010; Onofrei et al., 2012). On the other hand, azobenzene and its derivatives are well-known for their perfect opto-chemical properties since the azo group can undergo isomerization between trans- and cis- form through alternate irradiation of UV and visible light (Kumar and Neckers, 1989; Ikeda and Tsutsumi, 1995; Natansohn and Rochon, 2002). What is noteworthy is that, on combination of these two units in one compound, the ferrocenyl center affects the isomerization behavior of azobenzene by intramolecular interaction. On account of this phenomenon, many efforts have been done to synthesize multifunctional compounds containing both ferrocene and azobenzene units (Kurosawa et al., 1999; Shafir et al., 2000; Namiki et al., 2011; Amer et al., 2013). The resultant products have shown various applications in different fields such as chemical sensors, molecular devices, liquid crystalline materials, and high-density information storage materials, etc. (Sakamoto et al., 2005; Muraoka et al., 2006; 2007; Carlescu et al., 2007; Sola et al., 2012; Onofrei et al., 2013).

With the rapid development of the economy, environmental issues are becoming more important and it is necessary to detect anions such as F and H2PO4, which will, above certain concentrations, harm the environment, the ecological balance, and people’s health. Recognition and sensing of anions is usually based on interactions such as hydrogen-bonding and electrostatic interaction (Thomas et al., 2000; Reynes et al., 2004; Szymanska et al., 2006; Yoon et al., 2006; Villoslada et al., 2009; Li et al., 2013). Acyl amino and ureido groups are promising candidates for binding specific organic anions due to their specific chemical structures (Beer et al., 1997; Kuo et al., 2003; Miyaji et al., 2003; Oton et al., 2004). Furthermore, effective signal transmission units are needed in anion recognition. Ferrocene and azobenzene are well known electro- and photo-responsive units which thus have advantages in signal transmission for anion recognition. As far as we know, double signal responsive recognition molecules have advantages for the detection of specific anions with more accuracy. Our previous research showed that ferrocene-containing azobenzene-based probe molecules have high selectivity and sensitivity toward F and H2PO4 accompanied by color changes (Li et al., 2013). However, the effect of different kinds of substituent groups was not studied.

In this research, three ferrocenyl azobenzenes, substituted with amino and nitro groups, were synthesized and their sensitivity and selectivity toward F and H2PO4 were studied and the effect of different substituent groups on anion recognition behaviour was explored. The photo-chemical and electro-chemical properties and recognition behavior of the synthesized compounds were investigated through UV-vis absorption spectroscopy (UV) and cyclic voltammetry (CV) studies, respectively. The most interesting finding was that the nitro group has a positive effect on the binding affinity and sensitivity between the probe molecules and specific anions, while the amino group substituent has a negative effect on that sensitivity.

2 Experimental

2.1 Materials

Tetrahydrofuran (THF, analytical reagent (AR)), dichloromethane (DCM, AR), dimethyl sulfoxide (DMSO, AR), ethanol (AR), and triethylamine (Et3N, AR) were purchased from Sinopharm Chemical Reagent Co., Ltd. Tetrabutylammonium fluoride hydrate (98%) and tetrabutylammonium chloride (98%) were purchased from Tokyo Chemical Industry Co., Ltd. Tetrabutylammonium iodide (99%), tetrabutylammonium hydrogen sulfate (99%), tetrabutylammonium bromide (99%), tetrabutylammonium phosphate (99%), and sodium sulfide nonahydrate were supplied by J&K Scientific Ltd. Disperse orange 3 (90%) was purchased from Thermo Fisher Scientific. Ferrocene carbonate acid and 1,1′-ferrocenedicarboxylic acid were supplied by China National Pharmaceutical Group Chemical Co., Ltd. DCM and Et3N were used after drying by 4A-type molecular sieves followed by distillation over calcium hydride, while THF was used after drying by 4A-type molecular sieves followed by distillation over potassium. Other chemicals were used as received.

2.2 Characterization

The 1H NMR and 13C NMR spectra of the synthesized ferrocenyl azobenzene 1, 2, and 3 were recorded on a 400 MHz AVANCE DMX spectrometer instrument and 500 MHz AVANCE DMX spectrometer instrument with deuterated DMSO as the solvent, respectively. Fourier transform infrared (FTIR) spectra were recorded on a Jasco IR-700 infrared spectrophotometer within 400–4000 cm−1 by incorporating samples in KBr disks.

The CV curves were recorded on a CHI-630A electro-chemical analyzer (CH Instruments, Inc., Austin, Texas) by using 0.5 mmol/L solution of the synthesized ferrocenyl azobenzenes with Bu4NBF4 (0.1 mol/L) as electrolyte. A glassy carbon electrode was used as the working electrode with a platinum electrode as counter electrode and a silver electrode as the reference electrode. The working electrode was polished with 0.05 µm Al2O3 paste followed by washing successively in alcohol and deionized water for 30 s under ultrasonication, and then dried at room atmosphere before use.

The UV-vis spectra of the synthesized compounds were recorded on a UV-vis Unico spectra-photometer. The concentration of the solution was 0.05 mmol/L.

2.3 Synthesis

Chlorocarbonyl ferrocene and 1,1′-dichloro-carbonylferrocene were synthesized according to the reported method (Amer et al., 2013).

2.3.1 Synthesis of ferrocenyl azobenzene 1

Disperse orange 3 (14.5 g, 0.06 mol) was dissolved in 30 ml freshly distilled THF in a dried two-necked round-bottom flask followed by the addition of Et3N (5.5 ml, 0.04 mol). Afterwards, a solution of chlorocarbonyl ferrocene (9.9 g, 0.04 mol) in 30 ml freshly distilled THF was added dropwise into the previous solution. The reaction mixture was stirred for 8 h at 25 °C. After stirring, the mixture was filtered to obtain the precipitate. The crude product was washed successively with alcohol and deionized water three times each to remove disperse orange 3 and triethylamine salt. The synthetic route for ferrocenyl azobenzene 1 is shown in Scheme 1.

Scheme 1
figure 1

Synthetic route of ferrocenyl azobenzene 1

FTIR: wavenumber (cm−1)=490 (Cp-Fe str.), 1520 (C=C str. of benzene ring), 1720 (N-H str. of amide group), 3100 (C-H str. of the rings), and 3278 (C=O str.).

1H NMR (DMSO): δ (ppm)=4.99 and 4.52 (–C5H4, 4H), 4.33 (C5H5, 5H), 8.06 (–2CH–C-N =N-C6H4–NO2, 6H), 8.48 (–NH-C–2CH–, 2H), and 9.85 (–NH–, 1H).

13C NMR (DMSO): δ (ppm)=67 (Cb), 68 (Cd), 69 (Cc), 78 (Ca), 120 (Cg), 123 (Ck), 124 (Ch), 125 (Cl), 142 (Cf), 148 (Ci), 149 (Cm), 156 (Cj), 169(Ce).

2.3.2 Synthesis of ferrocenyl azobenzene 2

Ferrocenyl azobenzene 1 (0.4 g, 0.9 mmol) was dissolved in 100 ml THF in a two-necked round-bottom flask. Sodium sulfide nonahydrate (1.7 g, 7.1 mmol) was dissolved in mixed solvents (20 ml deionized water and 10 ml THF), then added to the previous solution. The reaction mixture was stirred at 80 °C for 20 h. The mixture was then immediately filtered to remove the precipitate. The filtrate was evaporated on a rotary evaporator to get a crude product. The final product was obtained after removal of the sodium sulfide nonahydrate by washing the crude product with deionized water. The synthetic route of ferrocenyl azobenzene 2 is shown in Scheme 2.

Scheme 2
figure 2

Synthetic route of ferrocenyl azobenzene 2

FTIR: wavenumber (cm−1)=490 (Cp-Fe str.), 1520 (C=C str. of benzene ring), 1720 (N-H str. of amide group), 3100 (C-H str. of the rings), and 3278 (C=O str.).

1H NMR (DMSO): δ (ppm)=4.36 (C5H5, 5H), 4.51 and 5.02 (–C5H4, 4H), 6.11 (–NH2, 2H), 6.71 and 7.65 (–C6H4–NH2, 4H), 7.69 and 7.81 (–CO-NH-C6H4–, 4H), and 9.69 (–CO-NH–, 1H).

13C NMR (DMSO): δ (ppm)=67 (Cb), 68 (Cd), 69 (Cc), 78 (Ca), 114 (Cl), 121 (Ck), 123 (Cg), 125 (Ch), 141 (Cf), 142 (Cj), 149 (Ci), 169 (Ce), and 152 (Cm).

2.3.3 Synthesis of ferrocenyl azobenzene 3

Disperse orange 3 (6.0 g, 24.9 mmol) was dissolved in 100 ml freshly distilled THF in a dried two-necked round-bottom flask followed by the addition of Et3N (2.3 ml, 16.6 mmol). Afterwards, a solution of 1,1′-dichloro-carbonylferrocene (2.6 g, 8.3 mmol) in 50 ml freshly distilled THF was added dropwise into the previous solution. The reaction mixture was stirred at 25 °C for 8 h. After stirring, the mixture was filtered to obtain the precipitate. The precipitate was washed successively with alcohol and deionized water to remove disperse orange 3 and the triethylamine salt. The synthetic route for ferrocenyl azobenzene 3 is shown in Scheme 3.

Scheme 3
figure 3

Synthetic route of ferrocenyl azobenzene 3

FTIR: wavenumber (cm−1)=490 (Cp-Fe str.), 1520 (C=C str. of benzene ring), 1720 (N-H str. of amide group), 3100 (C-H str. of the rings), and 3278 (C=O str.).

1H NMR (DMSO): δ (ppm)=4.56 (–C5H4, 4H), 5.23 (–C5H4, 4H), 7.75 (–CONH-C6H4–CH–, 12H), 8.26 (–2CH–NO2, 4H), and 9.75 (–CO-NH–, 2H).

3 Results and discussion

3.1 Synthesis and characterization of ferrocenyl azobenzenes

Ferrocenyl azobenzene 1 and ferrocenyl azobenzene 3 were synthesized by an ammonolysis reaction of acyl chloride in freshly distilled THF, while ferrocenyl azobenzene 2 was synthesized by the reduction reaction of the nitro group of the ferrocenyl azobenzene 1 with sodium sulfide nonahydrate as a reducing agent in THF. The 1H NMR and 13C NMR spectra of the synthesized ferrocenyl azobenzenes are shown in Fig. 1 and Fig. 2, respectively.

Fig. 1
figure 1

1 H NMR spectra of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c)

Fig. 2
figure 2

13 C NMR spectra of ferrocenyl azobenzene 1 (a) and ferrocenyl azobenzene 2 (b)

Fig. 3 displays the FTIR spectra of the synthesized ferrocenyl azobenzene 1, 2, and 3. The assignment of the bands is as follows (Amer et al., 2013). The spectra showed stretching vibration of C-H of the cyclopentadienyl rings of the ferrocene moiety at 3100 cm−1. Characteristic bands of stretching vibration of C=O and N-H of amide group were observed at 3278 cm−1 and 1720 cm−1, respectively. The peaks at 1520 cm−1 and 490 cm−1 were assigned to the stretching vibration of C=C in the phenyl and the stretching vibration of the cyclopentadienyl rings and iron atom. The absorptions manifested in the 1H and 13C NMR and FTIR spectra are in full agreement with the expected constitution of the synthesized products, which indicates that all the three compounds were synthesized successfully.

Fig. 3
figure 3

FTIR spectra of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c)

3.2 Photo-chemical and redox properties of ferrocenyl azobenzenes

The synthesized ferrocenyl azobenzenes were expected to undergo reversible trans-cis isomerization by irradiation with UV and visible light due to the presence of the azobenzene group. Furthermore, ferrocene is well-known for its redox properties. Therefore, we investigated the photo- and electro-chemical properties of the synthesized compounds by UV and CV.

It can be seen in Fig. 4 that ferrocenyl azobenzene showed the azo π-π* band at about λmax=410 nm (Kurihara et al., 2002). The intensity of the azo π-π* band was decreased by UV irradiation, and almost reverted to its initial state by irradiation with visible light. This phenomenon is compatible with the characteristics of reversible trans-cis isomerization.

Fig. 4
figure 4

UV spectra of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c) in DMSO under irradiation by different light sources

The synthesized ferrocenyl azobenzenes were electro-chemically active. However, the electric potential could be affected by many factors. We therefore investigated the effects of organic solvents, scan rate, and UV light irradiation on the electro-chemical properties of the synthesized ferrocenyl azobenzenes by CV. From Fig. 5, it can be seen that organic solvents affected the electro-chemical behavior of ferrocenyl azobenzenes significantly. The ferrocenyl azobenzenes showed one pair of redox peaks in DCM. That pair related to the chemical structure in that only one redox center was present in each compound. However, several pairs of redox peaks were present in the CV spectra when ferrocenyl azobenzenes were dissolved in DMSO, which may be ascribed to interaction between DMSO and the synthesized compounds. Thus, DCM was chosen as the organic solvent in the following electro-chemical studies of the synthesized compounds. Fig. 6 (p.150) implied that the redox current of the synthesized ferrocenyl azobenzenes increased with the increase of scan rate (from 0.1 to 0.5 V/s). Furthermore, it can be seen that the highest and the lowest peak-to-peak potential separations (ΔEp) of ferrocenyl azobenzene 1 and 2 were only a little higher than 59 mV, which indicated nearly reversible electro-chemical processes (Tan et al., 2009). However, the highest ΔEp was obtained for ferrocenyl azobenzene 3 in DCM, which indicated a totally irreversible redox process (Tan et al., 2007).

Fig. 5
figure 5

Effect of different solvents on the CV behavior of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c) containing 0.1 mol/L Bu 4 NBF 4 and 0.5 mmol/L ferrocenyl group at the scan rate of 0.1 V/s

Fig. 6
figure 6

Effect of scan rate on the CV behavior of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferro-cenyl azobenzene 3 (c) in DCM containing 0.1 mol/L Bu 4 NBF 4 and 0.5 mmol/L ferrocenyl group

The effect of UV light irradiation on the redox behavior of the synthesized ferrocenyl azobenzenes was investigated by CV. The results are shown in Fig. 7. From these results, we can say that the redox behavior of the synthesized compounds was influenced by UV irradiation, and is consistent with the results of UV-vis absorption spectra. From these results, it is reasonable to conclude that the synthesized ferrocenyl azobenzenes are photo- and electro-chemically responsive materials.

Fig. 7
figure 7

Effect of UV light irradiation on the CV behavior of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c) in DMSO containing 0.1 mol/L Bu 4 NBF 4 and 0.5 mmol/L ferrocenyl group at the scanning rate of 0.1 V/s

3.3 Anion recognition behavior of the synthesized ferrocenyl azobenzenes

Anion recognition and sensing have become a keen interest of chemists and environmentalists due to their relevance to the environment and people’s health (Deng et al., 2008; Tan et al., 2008). Generally, chemosensors are composed of anion binding and signal transmission units. Here, we used the acyl amino group as an anion receptor due to its ability to form hydrogen bonds with specific anionic guests. Ferrocene and the azobenzene group served as effective signal transmission units due to their stable redox and photochemical properties, which have distinct advantages for detection. Compared with UV-vis absorption spectra and CV technique, color discrimination is the most feasible among analytical methods. To ensure the accuracy of results, all the above mentioned methods were applied to analyze the recognition behavior of ferrocenyl azobenzenes.

The synthesized ferrocenyl azobenzenes were titrated against Br, Cl, F, H2PO4, HSO4, and I in a mole ratio of 1:1 between ferrocenyl azobenzenes and anions, respectively. The recorded UV-vis absorption spectra and CV curves of ferrocenyl azobenzenes after titration are shown in Fig. 8 and Fig. 9, respectively. The titration of F and H2PO4 in ferrocenyl azobenzene 1 and 3 caused an apparent change in the shape of absorption spectra, whereas little difference could be observed for ferrocenyl azobenzene 2 by the addition of anions. In addition, a series of ferrocenyl azobenzene solutions were prepared to investigate the colorimetric change by the addition of different anions in DCM, and the mole ratio was 1:4 (Fig. 10). As expected, the color of ferrocenyl azobenzene 1 and ferrocenyl azobenzene 3 changed from yellow to red-brown by the addition of F and H2PO4. However, no obvious colorimetric change was observed for ferrocenyl azobenzene 2.

Fig. 8
figure 8

UV-vis absorption spectra changes of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c) in DCM upon addition of different ions of 1 equiv. (none, Br , Cl , F , H 2 PO 4 , HSO 4 , and I )

Fig. 9
figure 9

CV behavior of ferrocenyl azobenzene 1 (a), ferro-cenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c) in DCM upon addition of different ions of 1 equiv. (none, Br, Cl, F, H 2 PO 4 , HSO 4 , and I)

Fig. 10
figure 10

Colorimetric changes of ferrocenyl azobenzene 1 (a), ferrocenyl azobenzene 2 (b), and ferrocenyl azobenzene 3 (c) in DCM upon addition of different ions of 4 equiv. (none, F , Cl , Br , I , H 2 PO 4 , and HSO 4 ). Note: for interpretation of the references to color in this figure, the reader is referred to the web version of this article

These phenomena may be ascribed to the different effect of nitro and amino substituents on the benzene ring. As shown in Scheme 4, the nitro group caused an obvious charge transfer due to its electron attracting effect which resulted in an intensity sharpening of the hydrogen-bonding interaction (Zheng et al., 2011). Thus, it showed benign recognition to specific ions. On comparison with ferrocenyl azobenzene 1, ferrocenyl azobenzene 3 showed a more obvious colorimetric change upon addition of F and H2PO4, which can be attributed to the presence of two strong electron-withdrawing substitutes and two binding units. However, ferrocenyl azobenzene 2 substituted with an amino group showed weak recognition ability because of its electro effect which weakens the hydrogen bonding. On the basis of these results, we can say that ferrocenyl azobenzene 1 and 3 are promising candidates for selective recognition of F and H2PO4, while ferrocenyl azobenzene 2 shows little recognition behavior towards those anions.

Scheme 4
figure 4

Plausible mechanism of anion recognition processes of the synthesized ferrocenyl azobenzenes upon addition of F and H 2 PO 4

4 Conclusions

Three ferrocene- and azobenzene-based compounds linked with an acyl amino group were successfully synthesized. The anion recognition behaviors of the synthesized ferrocenyl azobenzenes with specific guest anions based on hydrogen bonding were studied by electro- and photo-chemical techniques. The results showed that ferrocenyl azobenzene 1 and ferrocenyl azobenzene 3 exhibited high binding affinity and sensitivity for F and H2PO4, while ferrocenyl azobenzene 2 was not sensitive to F and H2PO4, as little change could be observed in the absorption spectrum or by naked-eye detection. These interesting phenomena may well be caused by different substituents on the receptor compounds. The nitro substituent, an electron withdrawing one, showed a positive effect on the binding sensitivity toward F and H2PO4 due to the strong hydrogen bonding between the receptor and the guest, while the electron-donating amino group substituent decreased the sensitivity of the sensor. Further studies will be needed to explore the effect of the substituent on the recognition behaviors.