Introduction

Ionic liquids (ILs) are a salt melting at about room temperature, which consist of organic cation and inorganic or organic anion. With the development of science and technology, further study of ILs has been made by scientists and engineers, especially ionic liquids based on the 1-alkyl-3-methylimidazolium cations ([C n mim]X, n = 2, 3, 4,…; X = Cl, Br, [PF6], [BF4], etc.). At present, a variety of [C n mim]X has been synthesized [13]. Then, various properties, such as hydrophobicity, viscosity, and density for pure [C n mim]X and their multicomponent systems, have been studied as well as the dependence of these properties on the side alkyl chains of cations and structure of anions [48]. Due to their unique physicochemical properties [912], [C n mim]X ILs have shown wide application in chemical sensors, extractive separation, catalysis, organic and inorganic synthesis, nanomaterial synthesis, and enzymatic reactions and become a research hotspot.

However, recently, many researches have indicated that [C n mim]X have bad effects (such as acute and chronic toxicity reaction, induction of teratogenesis and mutagenesis) on plant [13], microbe [14], and test animal [1517] in certain experiment conditions. Thus, they may have different degrees of potential toxicity to the human body and environment [1820]. Their large-scale use would give rise to environmental pollution through accidental spills or effluents. The determination of [C n mim]X in aqueous solution is a basis to accurately assess their environmental impact, physicochemical properties. Therefore, it is essential to develop an efficient method for the determination of [C n mim]X.

Up to now, the conventional methods for determining [C n mim]X are chromatography and electrophoresis [21, 22], which have excellent sensitivity. But these methods have some drawbacks such as complex sample pretreatment, time consuming, lack of in situ measurement ability, and high testing costs or expensive apparatuses. PVC membrane electrodes [23] and carbon paste electrodes [24] have also been used for the determination of [C n mim]X [2527]. But the selectivity of the sensors is not very good. Therefore, it is desirable to develop a simple, reliable, well-selective, and environment-friendly method for the detection of [C n mim]X in environmental and biological samples. Because potentiometric sensors are easy-to-use devices that allow rapidly and accurately qualitative or quantitative analysis at relatively low concentration, thus, the potentiometric sensor has attracted much interest over these years and then the advance in the field of molecular imprinting technology (MIT) makes it more promising in the modern laboratory.

MIT, a novel molecular recognition technology, can be used for the preparation of MIPs. MIPs completely match with the template on three-dimensional structure and thus are prior to extract the template compared to other interfering ions. As the recognition element or modification reagent, MIPs are a promising material in the field of potentiometric sensors [2831]. These sensitive membrane systems of potentiometric sensors mainly include traditional systems, self-assembled systems, embedded systems, electrical aggregation systems, and sol-gel systems [32, 33]. The commonly used membrane system is an embedded system by dispersing MIPs in PVC matrix or carbon paste [30]. The as-prepared sensor is simple and easy to follow and has wide application.

In this work, a potentiometric sensor was fabricated by dispersing MIPs into plasticized PVC matrix and used for the determination of [C6mim]+ in aqueous solution. The as-prepared electrode exhibited a Nernstian response (58.87 mV per decade) to [C6mim]+ in a concentration range from 1.0 × 10−6 to 0.1 mol kg−1 with a low detection limit of 2.8 × 10−7 mol kg−1, high selectivity, and little pH influence. The as-prepared electrode was successfully applied in the detection of the [C6mim]+ in distilled water, tap water, and river water. Moreover, the electrode can also be used successfully in the determination of mean activity coefficients of [C6mim]Br in fructose + water systems by using the potentiometric method.

Experimental

Apparatus and reagents

Fourier transform infrared (FTIR) spectra were recorded on a Nicolet 6700 spectrophotometer, and scanning electron microscopy (SEM) measurements were obtained on a JSM-6390LV scanning electron microscope (Japan Electron Company). Thermogravimetric analyses (TGA) were done using a Netzsch Sta 449 C thermal analyzer.

Ionic liquids [C6mim]Cl, [C n mim]Br (n = 2–8, 10, 12, 14, and 16; >99 %), [C n Py]Br (n = 2, 4; >99 %), and tetrabutylphosphonium bromide ([P4444]Br, 99 %) were purchased from Lanzhou Greenchem. Co., LICP, China. Dibutyl phthalate (DBP, >98.5 %), choline chloride (ChCl, >98 %), tetramethylammonium bromide (TMAB, ≥98 %), tetraethylammonium bromide (TEAB, ≥98 %), hexadecyltrimethyl ammonium bromide (CTAB, ≥99 %), bis(2-ethylhexyl) sebacate (DOS, ≥97 %), acetophenone (≥98 %), and polyvinyl-chloride (PVC) were purchased from Aladdin. Tetrahydrofuran (THF) and inorganic salts were purchased from Tianjin Chem. Co., China. THF was redistilled in the presence of sodium before use. Methacrylic acid (MAA, ≥99 %), ethylene glycol dimethacrylate (EGDMA, ≥99 %), and 2,2′-azobisisobutyronitrile (AIBN, ≥99 %) were from J&K Chemical Company, China. MAA was distilled in vacuum to remove stabilizers prior to use. All these materials were dried under vacuum for a few days before use. Butyl-(2-hydroxyethyl)-dimethylammonium bromide ([C4DMEA]Br) and decyl-(2-hydroxyethyl)-dimethylammonium bromide ([C10DMEA]Br) were synthesized according to the procedures described in the literature [34]. Double-distilled water with conductivity of 1.0–1.5 μs cm−1 was used throughout all experiments.

Synthesis of the imprinted and non-imprinted polymers

Synthesis route of molecularly imprinted polymer (MIP) particles for [C6mim]+ is shown in Fig. 1. MIP particles for [C6mim]+ were prepared by taking 0.50 mmol of [C6mim]Cl, 2.00 mmol of functional monomer (MAA), and 50 mL acetonitrile into a 250-mL flask. Subsequently, 7.00 mmol of cross-linker (EGDMA) was added. The mixture was left in contact for 6 h for prearrangement and followed by adding 0.06 mmol of initiator (AIBN). Then, the mixture was sonicated for 10 min to maintain homogeneity and was purged with Ar for 15 min for anaerobic process. The flask was sealed under this atmosphere. It was then kept stirring in a water bath maintained at 60 °C to start the polymerization process. After 24 h, the template and unpolymerized monomers were removed by Soxhlet extraction with 150 mL of methanol/acetic acid (4/1, v/v) by refluxing for 48 h. Then, the particles were methanol-washed until neutral. The resulting MIP particles were dried to a constant weight under vacuum at 60 °C and were used in the following experiments. Non-imprinted polymer (NIP) particles were prepared analogously without the addition of template during the polymer material preparation.

Fig. 1
figure 1

Synthesis route of molecularly imprinted polymer particles for [C6mim]+

Preparation of the MIP-based potentiometric sensor

The molecularly imprinted polymer-based potentiometric sensor was prepared as follows: powdered PVC (100 mg), MIP (4 mg), and DBP (189 mg) were dissolved in dry freshly distilled THF (5 mL). After ultrasonic mixing for 3 min, the resulting solution was poured into a glass ring (ca. 1.8 cm in diam.) until a homogeneous transparent membrane (ca. 0.4 mm in thickness) was obtained by evaporation at room temperature. The membrane was cut into small rounds (ca. 1.1 cm in diam.) using a hole punch, and subsequently, the small rounds were glued into the end of the custom-machined electrode bodies with THF. Eight hundred microliters inner filling solution (containing 1.0 × 10−2 mol kg−1 [C6mim]Cl and 1.0 × 10−2 mol kg−1 NaCl) was added into the electrode body with an AgCl-coated Ag wire as the internal reference electrode. An electrochemical cell was fabricated by immersing the as-prepared electrode and an external reference electrode (AgCl-coated Ag wire) into a sample solution. The preparation of the MIP-based potentiometric sensor is shown in Fig. 2. Prior to potentiometric measurements, the as-prepared electrodes were conditioned for 24 h in [C6mim]Br solution (1.0 × 10−2 mol kg−1). When not in use, the electrodes were kept in the same solution.

Fig. 2
figure 2

The fabrication of the MIP-based potentiometric sensor

Results and discussion

Characterization of MIP particles

FTIR characterization

FTIR spectra are presented in Fig. 3. It can be clearly seen that the FTIR spectra of MIP and NIP were similar. In the FTIR spectrum of [C6mim]Cl, the absorptions were observed as follows: C–H stretching in imidazolium ring (~3044 cm−1), C–H stretching of alkyl chain in imidazolium ring (~2954, ~2929, ~2858 cm−1), C=C stretching (~1569 cm−1), C=N stretching (~1460 cm−1), in-plane vibration of imidazolium ring (~1169 cm−1), and aromatic C–H out of plane bending bands (~837, ~765 cm−1). The peaks at ~2983 cm−1, ~2952 m−1, and ~1637 cm−1, which are characteristic of [C6mim]Cl, were observed in the unleached MIP, indicating that [C6mim]Cl existed in the unleached MIP. However, the intensities of these spectra were significantly diminished probably because of the interaction between [C6mim]Cl and MAA/EGDMA. Meanwhile, these spectra were not seen in the leached MIP. In addition, the spectra in leached MIP and NIP were similar. This proved that the target molecule ([C6mim]Cl) had been efficiently leached from MIP in the solvent elution step.

Fig. 3
figure 3

FTIR spectra of [C6mim]Cl (a), unleached MIP (b), leached MIP (c), and NIP (d) particles

TGA characterization

TGA plots of the leached MIP, unleached MIP, and NIP particles are depicted in Fig. 4. The thermal stability and the weight loss of the prepared polymers were measured up to 800 °C. The three polymers had similar patterns related to the decomposition of monomer and the cross-linker, and were completely decomposed by reaching 500 °C. However, for the unleached MIP particles, there was a mass loss between 250 and 300 °C, assigned to the decomposition of [C6mim]Cl since the decomposition temperature is 253 °C.

Fig. 4
figure 4

TG plots of the leached MIP (green line), unleached MIP (red line), and NIP (black line) particles

SEM characterization

Figure 5 shows the morphologies of leached MIP (a), unleached MIP (b), and NIP particles (c). Different morphologies were observed for MIP and NIP particles. NIP particles displayed very uniform polymer microspheres with an average diameter of 0.65 μm. However, both leached MIP and unleached MIP particles had not obvious spherical contour instead of slices and cloud-like. This phenomenon indicates that the template molecule plays an important role in the growth of the particles in the precipitation polymerization. This can be explained as follows: the MAA (functional monomer) may exist in different forms in the MIP and NIP reaction systems. In the reaction system for NIP without the template molecular, MAA can form dimers through intermolecular hydrogen bonds. Both single MAA and MAA dimers can take part in the pre-polymerization. In the reaction system for MIP, however, there is an additional molecular interaction between MAA and the template molecule ([C6mim]Cl), which might somehow influence the growth of the cross-linked polymer [35].

Fig. 5
figure 5

SEM images of leached MIP (a), unleached MIP (b), and NIP (c)

MIP-based sensor composition selection

For potentiometric sensors, the recognition element embedded in the sensing component of the electrode is a key factor to determine the sensitivity and selectivity. However, the influences of the membrane composition, the nature of solvents, and the type of additives cannot be ignored. Here, the MIP as the recognition element was used to fabricate different sensors (the potentiometric sensor for [C6mim]+) with a variety of membrane compositions (PVC, plasticizer, and additives). The influences of the factors were studied and the results for these sensors are given in Table 1.

Table 1 Optimization composition of the MIP based potentiometric sensors for C6mim]+

It is usually believed that as a component of sensor membranes, a lipophilic cationic additive not only provides cation binding sites to enhance the sensitivity but also reduces the electrode membrane impedance. However, herein, the electrodes without additives showed superior performance compared to the electrodes with additives such as tetraphenylboron sodium (NaTPB), sodium fluoroborate (NaBF4), and potassium hexafluorophosphate (KPF6). Obviously, the electrodes without additives (Nos. 5–19) had lower detection limit than the electrodes with NaTPB additives (Nos. 1–4). Next, we give the following explanations. Firstly, if NaTPB has an interaction with MIP particles, the existence of NaTPB would prevent the interaction between the MIP particles and the target molecules. So, the response of the electrode with NaTPB additive to the target molecule decreases, resulting in a higher detection limit. Secondly, if NaTPB has no interaction with MIP particles, the existence of NaTPB would decrease the recognition sites on the membrane surface. Although NaTPB may also have a response to the target molecule, the response is not stronger than that of MIP. Therefore, the detection limit of the electrode with NaTPB additives is higher. For the electrodes with additives (NaBF4 and KPF6), there was no good linear relationship between E and lgc (E, cell potention; c, the concentration of target molecule), and thus, the data have not been presented in Table 1.

The response of the electrodes (Nos. 5–9) showed no significant change with the increase of MIP, indicating that the electrode (No. 7) had the best performance. When the amount of MIP was fixed at 4 mg, the response of the electrodes (Nos. 7, 10–14) was studied by changing the amount of the plasticizer (DBP). The electrode (No. 7) showed the best performance. Meanwhile, the response of the electrodes (Nos. 15–17) was also studied by changing the amount of PVC, indicating that the electrode (No. 16) had the best performance.

The addition of plasticizers can enhance the sensitivity of polymeric membrane sensors, and the effect of plasticizers on electrode film properties is most likely dependent on the material-plasticizer compatibility. But now, there has not been a standard method to evaluate the compatibility. The dielectric constant of plasticizers can be used as a criterion. According to the research on polyvinyl-chloride (PVC), the plasticizers with dielectric constant (ε = 4–8) is better. In addition, the plasticizers with a low permittivity may cause the lower conductivity of as-prepared electrode film [36]. So, in this work, we chose DBP (ε = 8.5) as plasticizer. As emphasized, the dielectric constant of plasticizers is not the only criterion. We should consider all factors, such as the compatibility, conductivity, lipophilicity, high molecular weight, viscosity, and response performance. The electrode (No. 16) with DBP (moderate dielectric constant, ε = 8.5) showed better performance than electrodes with DOS (lower dielectric constant, ε = 4) or acetophenone (higher dielectric constant, ε = 17.4). The performance of the electrodes containing acetophenone was the worst because the membrane was non-transparent and poorly flexible, which largely affects the response to the target molecule.

The electrodes with NIP did not show better performance than those with MIP (sub-Nernstian slope 48–52 mV per decade). This is mainly because the response of the electrodes with MIP comes from two sources [28]. One is the interaction between the target molecule and the selective sites (the imprinted cavities on the surface of the MIP). This part of the interaction is named as the site interaction. The other is the interaction of the target molecule with the bulk of the MIP and sensor membrane besides the site interaction. This part of the interaction is named as the surface adsorption. But, for the electrodes with NIP, the response is only through the second effect because the electrodes with NIP have no predesigned binding sites.

Finally, the electrode (No. 16) was chosen for further examination. The best composition of the electrode is fixed to be 100 mg of PVC, 4 mg of MIP, and 189 mg of DBP.

Characteristics of the MIP-modified electrode

Calibration graph and statistical data

The MIP-modified electrode with the optimum composition (No. 16) exhibited a Nernstian response to [C6mim]+ in aqueous solution in the range from 1.0 × 10−6 to 0.1 mol kg−1, and the slope was 58.87 mV per decade (Fig. 6). The detection limit of the electrode was evaluated to be 2.8 × 10−7 mol kg−1 by extrapolation of the linear portion of the electrode’s calibration curve.

Fig. 6
figure 6

Calibration curve of the MIP-modified electrode for [C6mim]+ (No. 16)

Selectivity of the MIP-modified electrode

Selectivity, one of the most important features for ion-selective electrode, describes the electrode’s monitoring accuracy to the target ion in the presence of interfering ions. In this work, the selectivity coefficient of the novel MIP-modified electrode was determined by the separate solution method (SSM) [37, 38]. The selectivity coefficients were calculated by the following equation:

$$ \log {K}_{ij}^{pot}=\frac{E_2-{E}_1}{2.303RT/{Z}_iF}+\left(1-\frac{Z_i}{Z_j}\right) \log {a}_i $$

where E 1, E 2, Z i , and Z j are the measured potentials and charges on the ions i and j. a i is the activity of target ion i (but no j) and j is the interfering ion at the same activity a j  = a i (but no i). The resulting values of selectivity coefficients are listed in Table 2. For the alkylmethylimidazolium cations, the extent of interference is strengthened, when the number of carbon atoms of alkyl side chain of the interfering ions increases ([C n mim]+, n = 2–8, 10, and 12). With the increase of the length of alkyl side chain, the hydrophobicity of interfering ions increases, and the interfering ions trend to be transferred into the membrane phase from aqueous solution because. In addition, the logarithmic selectivity coefficients of the electrode increase linearly (Fig. S3). Obviously, the special regular is in accord with the Hofmeister series [39]. Pyridinium cations have similar structures with alkylmethylimidazolium cations (both cations contain cyclic conjugated systems). Pyridinium cations interfere the response of the electrode to [C6mim]+ at a certain extent. The interference of [C2Py]+ is higher than that of [C4Py]+ because [C2Py]+ is easier to enter the designed cavity. [C n DMEA]+ is more hydrophilic than other types of ionic liquid cations with the same number of carbon atoms due to the hydroxyl groups on its branched chain. So, the interference of [C4DMEA]+ is relatively smaller than that of [C4mim]+. For quaternary ammonium cations, the interference of TMAB and TEAB is relatively smaller than that of CTAB. [p4444]+ is highly symmetrical in structure and thus has a bigger interference. For the inorganic cations, the interference of divalent cations (Ca2+, Mg2+, Zn2+, and Cu2+) are lower than that of univalent inorganic cations (Na+, K+, and NH4 +). Obviously, inorganic cations hardly have interference to the target molecule [C6mim]+. Overall, the electrode shows a good selectivity especially for inorganic cations as the interference ions.

Table 2 Logarithm of selective coefficients (KSSM) of the electrode (No. 16) to 1-hexyl-3-methylimidazolium cation ([C6mim]+) for various interfering cations

pH effect on the electrode response

The effect of pH on the response of the MIP-modified sensor was studied over the pH range from 2 to 12. The pH values of given concentration solutions ([C6mim]Br) were adjusted by adding the prepared HCl or NaOH solution. The potential variation as a function of pH is plotted (Fig. 7). The results indicated that pH has little influence on the potential response and the electrode can be used in a wide pH range. This is mainly because the structure of the target ion has not obvious change under acidic or alkaline condition ([C6mim]Br exists in the form of [C6mim]+ and Br in water samples. The target ion ([C6mim]+) does not form precipitates or chelate complexes with other ions).

Fig. 7
figure 7

Effects of pH on the potential response of the electrode (No. 16) for [C6mim]+ at m IL/ = mol kg−1 (5 × 10−5 (black square), 5 × 10−4 (red circle), 1 × 10−3 (blue up-pointing triangle), and 1 × 10−2 (green down-pointing triangle))

Response time and life-time of the MIP-modified electrode

The response time, another important factor for the ion-selective electrode, describes the average equilibrium time reached in early stage of contacting analyte. In this work, the response time for the electrode (No. 16) was recorded upon changing the concentration of [C6mim]Br solution from 1.0 × 10−8 to 0.1 mol kg−1 to achieve a value within ±1 mV. The response time of the electrode was approximately equal to 3 min. Moreover, the as-prepared MIP-modified electrode can be used for at least 3 months.

Repeatability and reproducibility

The repeatability of the MIP-modified electrode was studied by three measurements with the same electrode over the working concentration ranges. For the three replicate measurements, the standard deviation (SD) of Nernstian slope of the electrode obtained was 0.3 mV, showing a good repeatability of the potential response.

The reproducibility of the MIP-modified electrode was tested by five electrodes which were prepared by the same method and same optimized membrane composition. The measured Nernstian slopes of the five electrodes were respectively 59.14, 59.16, 57.55, 57.20, and 58.32 mV, with a SD of 0.9 mV.

Analytical application

The MIP-modified electrode was successfully applied for the determination of [C6mim]Br in distilled water, tap water, and river water, respectively. The analysis was recorded by the standard addition method. The recoveries are in the range of 98.73–104.98 % (Table 3). Therefore, the potentiometric sensor can provide a good alternative for the determination of [C6mim]+ in real samples.

Table 3 Determination of [C6mim]Br by the prepared electrode (No. 16) in the real samples

On the basis of the previous work, the MIP-modified electrode was also used to study the mean activity coefficients for [C6mim]Br in water and fructose + water mixtures at T = 298.15 K. The results are shown in Table S1, which is fairly accorded with those reported in the literature [40].

The MIP-modified electrode can not only be used in the determination of [C6mim]Br in real samples but also be popularized and applied for the determination of their thermodynamic properties in various water samples.

Conclusions

The MIP-modified electrode, MIP as the recognition element, was fabricated for the determination of [C6mim]+. The as-prepared electrode exhibited a good selectivity for inorganic cations as the interference ions. The pH had little influence on the response of the electrode. The novel electrode was successfully applied for the determination of [C6mim]Br in real water samples with good recoveries. In addition, the MIP-modified electrode was also used to determine the mean activity coefficients for [C6mim]Br in water and fructose + water mixtures, which are in good consistence with the literature. We believe that the electrode would be applied widely to the detection of ILs in other systems and the determination of thermodynamic properties of ILs in solutions.