Introduction

Molecularly imprinted polymer (MIP) technique provides a versatile platform to create high selective binding sites in polymer matrices, which could be bonded covalently or non-covalently to the target molecule, followed by leaching out the template that leaves a pattern of molecular vacancies featuring specific binding sites complementary to those of the template molecules (Gohary et al. 2015; Shi et al. 2014; Zhao and Hao 2013). MIPs have a wide application in the preparation of catalysts (Szekely et al. 2015), artificial antibody (Sharma et al. 2015), sensing devices (Tiwari and Prasad 2015), drug delivery (Ruela et al. 2014), extraction of single compounds (Liu et al. 2015), chromatography (Davoodi et al. 2014), separation media (Li et al. 2015), and construction of chemical sensors (Madrakian et al. 2015).

Nanosensors have been attended because they are robust, reliable, ultrasensitive and low cost (Song et al. 2014; Azimzadeh et al. 2015) especially in medicine (Azimzadeh et al. 2016) and food analytics (Ghaani et al. 2016). On the other hand, the MIP Based sensors, compared to natural receptors have several advantages such as exceptional selectivity, robust, reusable, and cost-effective to prepare (Granado et al. 2014). Therefore, use of MIP-modified electrodes has been considered by the researchers in many cutting-edge publications so far. Also, In recent years, electrochemical methods are widely used in the analytical chemistry field because they are simple, fast, low cost, sensitive, and selective (Nasirizadeh et al. 2011, 2013a; Javanbakht et al. 2008). Moreover, they have been used broadly in food sciences and technologies (Nasirizadeh et al. 2013b, 2015).

Gallic acid (GA) (3,4,5-trihydroxybenzoic acid) as one of the main natural phenolic compounds is extensively used in tanning, ink dyes, manufacturing of paper, food industry, and the drug trimethoprim in the pharmaceutical industry (Sarjit et al. 2015; Abdel-Hamid and Newair 2013). The rapid and accurate detection of GA is of great interest to analytical chemistry because it has not only a strong anti-mutagenic, anti-carcinogenic, and anti-oxidant activity but also other potential health effects which have been found recently (Tashkhourian et al. 2013). In the past years, various methods have been applied to the determination of GA, such as flow injection analysis (Phakthong et al. 2014; Li et al. 2013), resonance light scattering (Wang et al. 2011), thin-layer chromatography (Srivastava et al. 2014), reversed phase high-performance liquid chromatography (Narumi et al. 2014), and electrochemical sensors and nanosensors (Ghaani et al. 2016; Narumi et al. 2014; Narum et al. 2014; Panizza and Cerisalo 2009; Abdel-Hamid and Newair 2011; Ghoreishi et al. 2011; Sundaram et al. 2015; Su and Chen 2015; Ziyatdinova et al. 2016; Kahl and Golden 2014). Based on conducted surveys, there are no chemical sensors based on MIP for the determination of the GA, to date. However, MIP was used for separation of the GA from aqueous samples.

In this work a low-cost, simple, and sensitive electrochemical nanosensor was developed for determination of GA at very low concentrations. The MIP, containing recognition sites for GA, was synthesized and then used as a recognition element in the MWCNT-modified carbon paste electrode (MWCNT–CPE). In order to construct the electrode, amount of MWCNT and MIP, solution pH, and time of GA pre-concentration for accumulation of GA on MIP and MWCNT-modified CPE (MIP–MWCNT–CPE) were optimized. Finally, a suitable method for determination of GA in real sample was presented.

Experimental

Materials and Chemicals

GA (97 %), methacrylic acid (MAA, 98 %), ethylene glycol dimethacrylate (EDMA, 98 %), phosphoric acid, and methanol were purchased from Merck (Germany). 2,2-azobis (2-methyl propionitrile (AMP) was supplied by Sigma-Aldrich (Germany). Multiwall carbon nanotubes (MWCNTs) (outside diameter = 10–20 nm, inside diameter = 5–10 nm, purity >95 %) was obtained from Nanolab Co. (USA). In all experiments, solutions were prepared using double-distilled water. The phosphoric acid (0.10 M) was used for preparation of the phosphate-buffered solution as counter electrolyte and sodium hydroxide (2.0 M) were used in adjusting of the solution pH. In all cases, buffer solutions were used immediately after preparation.

Instruments

All electrochemical techniques were performed out with an Autolab potentiostat–galvanostat PGSTAT 30 (Netherlands), using GPES 4.7 software package (General Purpose Electrochemical System). The conventional three-electrode electrochemical system was used for batch measurements, which included a carbon paste electrode as working electrode, a Pt counter electrode, and an Ag/AgCl as reference electrode (Azar Electrode Co, Iran). The solution pH was adjusted by pH meter model Metrohm 827–mV. GA was removed into MIP by soxhlet (Binder Co., Germany) procedure.

Preparation of Molecularly Imprinted Polymer for Gallic Acid

Synthesis of the copolymer starting with the combining of 0.3 mL methacrylic acid (MAA) as a monomer, 35.0 mL of dry chloroform, and 0.1 g GA which were placed into a 100.0-mL round-bottomed flask, and the mixture was kept isolated for 10.0 min. Then, 20.0 mL EDMA and 2.2 mg AMP were added to the mixture, the flask was sealed, and the mixture was purged with N2 gas for 15 min. The polymerization was performed in a water bath at 60.0 °C for 1 day. The resulting copolymer (Scheme 1) was dried and grounded and the template was removed by soxhlet extraction with methanol for 48.0 h. The procedure of non-imprinted polymer (NIP) synthesis was similar to the MIP, except that the polymerization was performed in absence of GA (Alizadeh et al. 2012).

Scheme 1
scheme 1

The illustration of the structure of synthesized copolymer

Morphological Characterization

As the surface morphology of a sensor significantly affects its performance, the morphological structure of the MIP and NIP were observed by scanning electronic microscopy imaging using an Auriga SEM from Zeiss, operated at 5–10 kV.

Preparation of the MIP–MWCNT-Modified Carbon Paste Electrode

For the construction of the MIP and MWCNT-modified carbon paste electrode (MIP–MWCNT–CPE), 0.1 g of graphite powder was homogenized in a mortar with 29.0 mg of MIP and 1.7 mg of MWCNT. Subsequently, a several drop of paraffin was added to MIP–MWCNT–graphite blend and mixed by stainless steel spatula until obtaining a homogenous paste. The final paste was used to fill a hole (2.0 mm in diameter, 3.0 mm in depth) at the end of an electrode body, which was preheated at 50.0 °C. This temperature was selected based on the optimization experiments, and in order to decrease the oxidation chance of GA in this temp, the solution of the GA was de-oxygenized before the accumulation on the sensor. Finally, MIP–MWCNT–CPE was rinsed with a water–ethanol solution (50 % v/v) and prepared electrode was cooled at room temperature; an excess of the solidified material out of the hole was removed with the aid of a paper sheet. After each experiment, the electrode can be reused by moving the electrode surface with a paper in order to rub out a thin layer of the electrode surface. The bare CPE was prepared similarly to the MIP–MWCNT–CPE, except that the MIP and MWCNT were not added to the blend.

Experimental Design

In order to optimize the preparing conditions the carbon paste electrodes and also pre-concentrate of GA, CCD was used to evaluate the significance of the effects of different parameters such as MIP and MWCNT amounts for construction of electrode and solution pH as well as accumulation time of GA on response of the MIP–MWCNT–CPE, which was oxidation current (μA) of the GA. The experiments were designed by software Design Expert 8.0.2. A four-factor, five-level central composite design leading to 30 runs was employed for the optimization of the preparation condition of MIP–MWCNT–CPE. The experimental sequence was randomized for minimizing the effects of the uncontrolled factors.

Results and Discussion

Morphological Structure of the MIP and NIP

As it is shown in the SEM images of the MIP and NIP on the electrode (Fig. 1), it is obvious that there is a significant morphological difference between MIP and NIP. The MIP surface has higher porosity and more rough structure than NIP. Indeed, no holes are formed on NIP surface, whereas the small holes in the surface of the MIP can be observed.

Fig. 1
figure 1

SEM images of (a) MIP and (b) NIP

Optimization of Preparation Conditions of the MIP–MWCNT–CPE

To optimize the preparation conditions of the MIP–MWCNT–CPE, different parameters including the quantity of MIP (3.0–30.0 mg), MWCNT (1.0– 10.0 mg), pH of the solution (2.0–11), and the accumulation time of GA (1.0–15.0 min) on modified electrode were optimized with RSM method. Using Design Expert 8.0.2 software, the complete CCD matrix including 30 experiments was designed, and the coefficients of the model equation and their statistical significance were evaluated. The MIP–MWCNT–CPE was fabricated with different given concentrations of MIP and MWCNT and then was incubated into 2.0 mM GA solution at 50 °C at the specified pH and time. Then, MIP–MWCNT–CPE was rinsed with water–ethanol solution (50 % v/v), DPV of each electrode in phosphate-buffered solution (pH = 7.0) was plotted, and anodic peak current of GA was measured. As is can be seen, Scheme 2 is representing all fabrication process of the nanosensor. All experiments were performed with four replications and the average was calculated.

Scheme 2
scheme 2

Preparation components and working process of the electrochemical nanosensor

The data were transferred to the software, and the regression model of GA oxidation current in the form of code factors was suggested as the following Eq. (1), where A, B, C, and D are the coded values of the process variables MIP, solution pH of GA, accumulation time of MIP–MWCNT–CPE in GA solution, and MWCNT, respectively.

$$ \begin{array}{l}\mathrm{G}\mathrm{A}\kern0.5em \mathrm{oxidation}\kern0.5em \mathrm{in}\kern0.5em \mathrm{current}=+2.17+0.18\ A+0.69\ B+0.11\ C\hbox{--} 0.012\ D+\\ {}0.\ 026\ {D}^2+0.093\ AC\hbox{--} 0.16\ AD\hbox{--} 0.066\ BC\hbox{--} 0.078\ BD+0.063\ CD\end{array} $$
(1)

The negative sign in front of the terms indicates the antagonistic effect, whereas the positive sign shows the synergistic effect. The results of the model F test were given in Table 1.

Table 1 Analysis of variance (ANOVA) for the response surface quadratic model

Analysis of variance (ANOVA) is used to analyze the data to obtain the interaction between independent variables and responses. The results are then evaluated by ANOVA to assess the “goodness of fit” (Table 1). The lack of fit describes the variation of data around the fitted model. If the model does not fit the data well, this will not be significant. It is observed that the designed model for the oxidation current of GA is statistically significant at F value of 686.41 and values of prob >F (<0.0001) (Table 1) The robustness of the model can be evaluated through R 2 coefficient, and the results of Table 1 indicates that only 0.01 % of total variables for oxidation current of GA models cannot be explained by this model. Through adjusted R 2, it is confirmed that the significance of model causes the increase of oxidation current of GA. Low values of coefficient of variation (CV% = 2.801) of employed model, especially for the model of oxidation current of GA, indicate a good precision and reliability of the experiments (Nasirizadeh et al. 2012).

Effect of Different Variables on the Oxidation Current of GA

Figure 2a, c shows the influence of the MIP quantity (on the preparing of the MWCNT-modified CPE) on the GA oxidation peak current. The results showed that increasing in the value of a MIP quantity from 11.7 up to 21.3 mg leads to an increase in the signal current. This could be resulted from the availability of more GA to pre-specified sites for the fixation on the surface of MIP–MWCNT–CPE. Since, higher MIP quantity was in the nanosensor, a higher number of specific attachment sites will exist for absorption of the GA on the MIP–MWCNT–CPE.

Fig. 2
figure 2

ac 3D plots of the effect of different parameters on the GA oxidation peak current (variable values are shown as actual value)

In addition, as can be observed in Fig. 2b, increasing in the amount of MWCNT in the range 3.9–7.1 mg leads to an increase in the oxidation signal of the GA. The large surface area, high conductivity, and fast electron transfer provided by MWCNT has enhanced the electrocatalytic performance of MIP–MWCNT–CPE. Hence, it is obvious that the MWCNT in preparation of MIP–MWCNT–CPE possess faster charge transfer kinetics which is attributed to the presence of MWCNT as a modifier (Nasirizadeh et al. 2011).

Figure 2c shows the pH effect of accumulation of the GA solution with two parameters at varying levels on the oxidation peak current of GA. The maximum current was obtained at pH around 7.4 with other variables at their constant values. The oxidation peak current was dependent on the pH of the GA solution that increased from pH 4.5–7.4. It can be concluded that the adsorption of GA to MIP–MWCNT–CPE was the highest at neutral pH. Indeed, in the neutral pH, GA and constituent monomers of MIP are without any charge. By forming the hydrogen bond between GA and MAA, good interactions exist between them. Therefore, the highest pre-concentration of GA was observed at neutral pH, while at acidic and basic condition, the adsorption of the GA decreases. The GA and constituent monomers of MIP (i.e., MAA) have active oxygen groups which at moderate acidic and acidic conditions (i.e., at very high concentrations of H+), is protonated; therefore, both molecules are positively charged. Thus, molecular molds have no affinity for trapping GA molecules. On the other hand, at moderate basic and extremely basic conditions, GA molecules and edge molecules of polymer chain, the MAA lost itself a proton and assumed to have a negative charge. Hence, both compounds of template (GA) and MIP have negative charges and GA was not absorbed into MIP due to repulsion between them. Figure 2a, b shows that oxidation current of GA has increased by increments in the accumulation time from 5–10 min. It could explain that higher GA molecules has absorbed by exiting molecular templates on the electrode by long time.

Optimization of the preparation of MIP–MWCNT–CPE showed that all variables had individual (direct) effect on the response of the sensor to GA and also in association with the other variables (indirect). This model predicted that the amount of MIP of 29.0 mg, MWCNT of 1.7 mg, solution pH of 7.1, and accumulation time of 14.5 min to be the optimum conditions to achieve the best response of the sensor to GA.

Comparison of the MIP–MWCNT–CPE, MIP–CPE, MWCNT–CPE, and Bare CPE

For confirmation of MIP performance of construction of GA nanosensor, different electrodes including carbon paste electrode (CPE), MWCNT–CPE, MIP–CPE, and MIP–MWCNT–CPE based on optimum conditions were prepared. The mentioned electrodes were separately immersed into 2.0 mM GA solution with pH 7.1 at 50 °C for 14.5 min for accumulation of the GA on the electrode. Afterwards, the electrodes were washed with water–ethanol (50 % v/v) solution and displaced to the phosphate-buffered solution with pH 7.0, and then their DPVs were depicted as presented in Fig. 3a. As it can be seen, there is no significant oxidation current for GA on CPE (curve a) and MWCNT–CPE (curve b). Indeed, CPE and MWCNT–CPE have no capability for trapping and accumulation of GA. While, MIP–CPE and MIP–MWCNT–CPE (curves c and d, respectively) have the considerable current for oxidation of GA. Thus, the prepared MIP was assumed to have a very good ability for trapping of GA molecules. On the other hand, by comparing DPVs of the MIP–CPE (curve c) and MIP–MWCNT–CPE (curve d), it can be concluded that anodic peak current was increased due to the presence of MWCNT. It would seem that a possible reason for an increase in current is caused by the presence of MWCNT in electrode structure, because MWCNT has a larger surface area and higher conductivity than graphite.

Fig. 3
figure 3

a, b Differential pulse voltammogram analysis of electrodes a bare CPE, b MWCNT/CPE, c MIP/CPE, and d MIP/MWCNT/CPE incubated in 2.0 mM GA solution for 14.5 min at 50 °C

In order to study the accumulation ability of the MIP for solutions containing GA, firstly, MIP–MWCNT–CPEs were prepared and immersed in a buffer solution (pH = 7.1) in the absence (curve a) and in the presence of GA with concentration 2.0 mM (curve b) at 50 °C for 14.5 min. Following this, it was washed with water–ethanol (50 % v/v) solution. Then, the prepared electrodes were immersed to buffer solution (pH = 7.0) and DPV was traced as shown in Fig. 3b. As can be seen in the voltammograms, oxidation current of GA on electrode is very low in absence of GA (curve a), while the oxidation peak current of GA was extremely increased because of the presence of GA in the solution and its accumulation of MIP on the electrode surface. Therefore, it could be concluded that MIP on electrode has enough capability for accumulation and trapping of GA molecules in solution.

Determination of GA by MIP–MWCNT–CPE

Under optimal experimental conditions, DPVs of MIP–MWCNT–CPE was recorded to estimate the lower limit of detection and the linear range of GA. As expected, the oxidation peak current increased upon the increase of GA concentration. Figure 4 clearly indicates that the plot of the oxidation peak current against the GA concentration was linear in the range of 0.12–380.0 μM. According to the method mentioned in Skoog et al. (1998), the lower detection limit, C m , was calculated 47.0 nM by using the equation C m  = 3sbl/m, where sbl is the standard deviation of the blank response and m is the slope of the calibration plot (0.0021 μA μM). The average voltammetric peak current and the precision estimated in terms of the coefficient of variation for repeated measurements (n = 15) of 10.0 μM GA at the MIP–MWCNT–CPE were 0.295 ± 0.007 μA and 2.4 %, respectively. In Table 2, some of the electroanalytical parameters obtained in this work are compared with those previously reported by others (Javanbakht et al. 2008; Nasirizadeh et al. 2012, 2013b; Abdel-Hamid and Newair 2011; Alizadeh et al. 2012; Skoog et al. 1998; Petkovic et al. 2015). A comparison of the analytical parameters of GA determination at various modified electrode surfaces exhibits that the MIP–MWCNT–CPE has advantages such as wide linear dynamic range (0.12–380.0 μM) and good detection limit (47.0 nM) for GA determination. Besides, the stability (life time) of the proposed nanosensor is tested by keeping the prepared nanosensor in 0.1 M phosphate buffered solution pH 7.0 in 4 °C for 7 days. After 7 days of storage, the performance of the nanosensor decreases only to 6.8 %, which is assigning the high storage capability of the proposed nanosensor.

Fig. 4
figure 4

Differential pulse voltammograms of MIP/MWCNT/CPE in a 0.1-M phosphate-buffered solution (pH 7.0) containing different concentrations of GA. Numbers of 18 correspond to 0.12–380.0 μM of GA. Insets show the plots of the electrocatalytic peak current as a function of GA concentration in the range of 0.12–380.0 μM

Table 2 Comparison of the analytical parameters of gallic acid determination with different modified electrodes

Reproducibility of the nanosensor was also evaluated by repeating the optimized fabrication process for five times in 50.0 nM of GA, and RSD of the average of the highest resulting currents in the five distinct replications was 3.22 %. The low RSD percentage represents the ability of the fabrication procedure to be reproducible and performed easily without reasonable error or bias.

Selectivity of the Fabricated Nanosensor

In order to investigate the potential interference of some existing species in real samples, the selectivity of the nanosensor was assessed in a simulated solution of some important compounds of fruit juices including ethanol, methanol, citric acid, glucose, and ascorbic acid. For this, solutions of every potential interference compounds (1.0 mM) were prepared as the pre-concentration solution, in the presence of 50.0 nM gallic acid. Afterwards, the electrodes were placed in the pre-concentration solutions, based on the method explained in the “Preparation of the MIP–MWCNT-Modified Carbon Paste Electrode” section, and the DPVs were recorded which are shown in Fig. 5.

Fig. 5
figure 5

Differential pulse voltammograms of MIP/MWCNT/CPE in a 0.1-M phosphate-buffered solution (pH 7.0) containing 50.0 nM solution of GA (without any interference compound) (curve a), and after addition of the interference compounds to the 50.0 nM GA solution: addition of 1.0 mM of the methanol (curve b), ethanol (curve c), glucose (curve d), ascorbic acid (curve e), and citric acid (curve f)

As it can be seen in Fig. 5, in the absence of interference compounds (curve a) and in the presence of methanol (curve b), ethanol (curve c), glucose (curve d), ascorbic acid (curve e), and citric acid (curve f), the current of voltammograms are relatively the same and without any significant changes. Therefore, it can be concluded that the designed nanosensor is able to quantify the GA in the presence of interference compounds without any measurable effect on its performance.

Measurement of GA in Real Samples

For determining the reliability of the nanosensor, we evaluated its potential in real samples from apple and orange juice. Before doing the measurements, it is first diluted 15 times with a buffer solution, in a concentration of 0.1 M and pH 7.1. Thus, different microvolumes of solutions in the prepared concentration of GA were added in juice samples (four different commercial juices including apple juice, orange juice, pineapple juice, and green tea extracted juice); furthermore, the measurements were done. As result, shown in Table 3, this prescribed method of determination of GA proved to have the desired ability for detection of GA in the real sample with high recovery percentages. In addition, the presented nanosensor poses some advantages over the most of conventional methods and also the most of previous publications regarding GA detection, including less time consumed, sensitivity, selectivity, reproducibility, storage ability, and simplicity (Narumi et al. 2014; Narum et al. 2014; Panizza and Cerisalo 2009; Abdel-Hamid and Newair 2011; Ghoreishi et al. 2011; Sundaram et al. 2015; Su and Chen 2015; Ziyatdinova et al. 2016; Kahl and Golden 2014). From this assessment and also by considering Table 3, it can be concluded that the proposed electrochemical nanosensor can be used in the detection of GA in analytical laboratories and agricultural and food industries.

Table 3 Determination and recovery results of GA in juice using DPV calibration plots and with the nanosensor (MIP–MWCNT–CPE)

Conclusion

At the present work, a selective nanosensor was designed and fabricated for the determination of gallic acid (GA) by MIP using CCD design. The parameters including MWCNT and MIP percentage of construction of sensor and pre-concentration time period and solution pH on nanosensor performance was evaluated. In this research, the oxidation peak current of GA was chosen as the independent variable. The RSM modeling was used to optimize the MIP–MWCNT–CPE preparation so that 30 experiments were designed. The optimal conditions for construction of GA electrode were MWCNT = 1.7 mg, MIP = 29.0 mg, solution pH = 7.1, and accumulation time = 14.5 min. Following this, DPV was measured with the prepared electrode based on optimum conditions. The limit of detection calculated as 47.0 nM and a linear range of 0.12–380.0 μM have been obtained for GA at the proposed electrochemical nanosensor. The method is simple and suitable for the determination of GA in real sample such as apple, pineapple, orange juices, and a commercial green tea drink.