1 Introduction

Non-steroidal anti-inflammatory drugs (NSAIDs) are a series of drugs providing antipyretic, analgesic, and anti-inflammatory effects. All compounds in this class act by inhibition of cyclooxygenase enzymes, which are involved in inflammation. They are also responsible for the synthesis of prostaglandins involved in normal physiological processes. Inhibition of these actions is responsible for the majority of the adverse effects of NSAIDs in clinical use, and for their main toxicity in overdose [13]. Indomethacin (IND) and diclofenac (DF) (Scheme 1) are important non-steroidal anti-inflammatory drugs used to treat several pathologies. DF is one of the most common NSAID and extensively used in clinical medicine for the treatment of rheumatoid arthritis, osteoarthritis, non-articular rheumatism, and sport injuries [4, 5]. Also, in NSAID drugs group, IND, is known for its antipyretic and analgesic actions [6]. IND is metabolized in vivo and used in the treatment of some forms of inflammatory and degenerative diseases of articulations, such as osteoarthritis, rheumatoid arthritis, and gout [79].

Scheme 1
scheme 1

Chemical structure of DF and IND

Since carbon nanotubes (CNTs) were discovered [10], due to their unique properties, such as high external surfaces, good electronic conductivity, and high stability, (CNTs) have attracted more and more interest in the applications of the new carbon materials in a variety of fields, including chemical and biological sensors [11, 12], separation membranes [13, 14], field emission devices [15, 16], energy storage [17], and so on.

Ionic liquids (ILs) are kinds of ionic compounds, which exist in liquid state at room temperature. Because of their unusual properties such as high chemical and thermal stability, negligible vapor pressure, relatively high ionic conductivity, and wide electrochemical windows [18, 19], ILs have received much attention in electrochemistry [20, 21], catalysis [22], organic synthesis [23], and liquid–liquid extraction [24]. Recently, ILs have been used as the paste binders for fabricating carbon composite electrodes, which provide an obvious increase in the electrochemical response of electroactive substrates and reduce the overpotentials of some organic substances [25].

Drug analysis has an extensive impact on public health. Electrochemical techniques have been used for the determination of a wide range of drug compounds without derivatization. Compared with other techniques, electrochemical methods are characterized by portability, simplicity, minimal cost, and reasonably short analysis time. To the best of our knowledge, no report based on simultaneous determination of IND and DF by using a MWCNT–IL nanocomposite-modified carbon ceramic electrode (CCE) has been found. This paper describes a simple and fast procedure for the fabrication of CCE modified with MWCNT–IL. Modified CCE was used for determination of DCF and IN in the individual and mixture solution. Finally, the analytical performance of this sensor for simultaneous determinations of these species was evaluated in commercial pharmaceutical and plasma samples by differential pulse voltammetry (DPV) and results indicated that determination of DCF and IN in biological samples could be well proceeded.

2 Experimental

2.1 Chemicals

All the chemicals were used in analytical grade, and all the solutions were prepared in double distilled water. IND and DCF were purchased from Zahravi pharmaceutical Co., Tabriz, Iran. Methyltrimethoxysilane (MTMOS) and powdered graphite were purchased from Merck. CH3COOH, H3BO3, H3PO4, HCl, and other reagents were from Merck or Aldrich. MWCNT with 95 % purity was obtained from Nanolab (Brighton, MA), and IL and 1-butyl-3-methylimidazolium hexafluorophosphate (BMIMPF6, 98 %) were obtained from Sigma (USA). Britton–Robinson buffer (B–R, 0.04 mol L−1, pH 7.0), as supporting electrolyte, was prepared by mixing 0.04 mol L−1 H3BO3, 0.04 mol L−1 CH3COOH, and 0.04 mol L−1 H3PO4, and the required pH was adjusted by using 0.5 mol L−1 NaOH.

2.2 Apparatus

All the electrochemical measurements were performed on an AUTOLAB PGSTAT-100 (potentiostat/galvanostat) in a three-electrode system. The working electrode was a MWCNTs–IL composite film-coated CCE, MWCNTs–IL|CCE, (geometric surface area of 0.119 cm2). A platinum wire and a saturated calomel electrode (SCE) were used as the counter and reference electrodes, respectively. The morphology of the films was studied by field emission scanning electron microscopy (Hitachi, model S-4160).

2.3 Preparation of bare carbon ceramic electrode

Due to some unique properties of CCE including high porosity, renewable surface, good conductivity, and economical fabrication, it was used as a substrate for MWCNTs–IL composite. The bare CCE was prepared according to the procedure described by Lev and coworkers [26] by mixing 0.15 mL MTMOS, 0.30 mL methanol, and 10 μL hydrochloric acid (11 M). This mixture was magnetically stirred for 2 min. Then 0.3 g graphite powder was added and the resultant mixture was shaken for another 1 min. A 5-mm-long Teflon tube (3–4 mm inner diameter) was filled with the sol–gel carbon mixture and dried under ambient conditions (25 °C).

2.4 Preparation of the MWCNT–IL|CCE

20 μL IL (BMIMPF6) was mixed with 1 mg mL−1 MWCNTs in DMF:water (1:3) solution and the resulted mixture was sonicated in ultrasonic bath about 30 min to obtain a viscous MWCNTs–IL composite. 20 μL of the obtained composite was dropped on the cleaned CCE surface and dried in room temperature for 24 h. Afterward the MWCNTs–IL|CCE is ready to use.

3 Results and discussions

3.1 Characterization of MWCNT–IL|CCE

FESEM was used to surface characterization of CCE, MWCNTs|CCE, and MWCNTs–IL|CCE and the results are presented in Fig. 1. The surface of the bare CCE immediately after being polished is presented in Fig. 1a. The image depicts that the surface is scaly, porous, and dense. As can be seen on the surface of CCE (Fig. 1b) the MWCNTs were distributed homogeneously on the surface of the electrode with a special three-dimensional structure; When IL is introduced in the MWCNT structure, the film becomes more uniform and even, this is related to the binding and blanketing effect of IL (Fig. 1c).

Fig. 1
figure 1

FESEM images of a CCE surface immediately after polishing, b MWCNT|CCE, and c MWCNT–IL|CCE

3.2 Electrocatalytic oxidation of IND and DCF at the surface of MWCNTs–IL|CCE

Our primary survey showed that the electrochemical detection of IND in the presence of DCF on untreated ordinary electrodes is difficult due to the oxidation peak of IND at the potential close to DCF that results in an overlapped voltammetric response and low currents. To confirm this, the electrochemical behavior of IND and DCF on the surface of the bare CCE was investigated. Figure 2a depicts cyclic voltammograms (CVs) of the bare CCE in the absence (a) and presence of 1.0 mM DCF (curve b) and 0.5 mM IND (curve c) in B–R buffer solution (pH 7.0). Background curve (a) shows that, the CV of B–R buffer solution at the bare CCE in the potential ranges from 0 to 0.9 V has no oxidation and reduction peaks. On the other hand, DCF shows an oxidative peak at 566 mV, and IND demonstrates oxidation peak at 800 mV. As can be seen on the surface of the electrode, oxidations of DCF and IND are irreversible.

Fig. 2
figure 2

CVs recorded a at the bare CCE in the absence (1) and in the presence of 1.0 mM DCF (2) and 0.5 mM IND (3), b at the MWCNT–IL|CCE in the absence (1) and in the presence of 1.0 mM DCF (2) and 0.5 mM IND (3), and c at the MWCNT–IL|CCE in the absence (1) and presence of 1.0 mM DCF + 0.5 mM IND (peak 2a and 2b), respectively, in B–R buffer solution (pH 7.0), Scan rate: 50 mV s−1

Figure 2b shows the CVs of the IND and DCF on the surface of the MWCNT–IL|CCE. The anodic peak potential of DCF shifts from 566 mV at the bare CCE to 547 mV at the MWCNT–IL|CCE, and the anodic peak current is enhanced approximately two times in comparison with the anodic peak current on CCE. However, the anodic peak potential for the oxidation of IND occurs at 772 mV, which is ~28 mV more negative than its CV at the bare CCE, and the anodic peak current is enhanced approximately five times in comparison with the anodic peak current on the CCE. The decrease of oxidation overpotential, accompanied by a significant increase in the oxidation current of IND and DCF, indicates excellent catalytic ability of MWCNT–IL composite on the oxidation of these compounds.

3.3 Electrochemical behavior of DCF and IND in mixture

We also studied the electrochemical behaviors of DCF and IND in the mixture solution. Figure 2c shows the CVs of the mixture solution at the MWCNT–IL|CCE. The obtained voltammetric peaks for DCF and IND at the MWCNT–IL|CCE appear at 563 and 778 mV in B–R buffer solution (pH 7.0). Larger separation of the peak potentials allows them to be simultaneously detected in mixtures. The above-obtained results demonstrate that MWCNT–IL accelerates the oxidation of DCF and IND because of much edge plane graphite and improves the peak separation between DCF and IND dramatically. On the other hand, the remarkable peak current enhancement and the drop of oxidation overpotentials undoubtedly testify the electrocatalytic properties of the MWCNT–IL|CCE in the oxidation of these compounds. Indeed, the MWCNT–IL|CCE presents an interlinked highly mesoporous three-dimensional structure with a relatively higher electrochemically accessible surface area and easier charge transfer at the electrode/electrolyte interface [27]. Also the effective surface area of MWCNT–IL was evaluated by CV using potassium ferricyanide as a probe at various scan rates. According to the Randles–Sevcik equation [28], the effective surface area of the MWCNT–IL was calculated to be 0.36 cm2. The same procedure was used for obtaining the effective surface area of CCE which was calculated to be 0.16 cm2. The increased effective surface area of MWCNT–IL/CCE in comparison with CCE indicated that the MWCNT–IL effectively enhanced the surface area as well as the reactivity of the MWCNT–IL/CCE surface.

3.4 Effect of buffer component and solution pH

The electrochemical responses of IND were studied in different media, namely acetate, phosphate, and B–R buffer solution. The maximal peak currents of IND were obtained in B–R buffer solution. So we used B–R buffer as electrolyte solution for all measurements. The effects of pH on electrochemical response of the MWCNT–IL|CCE toward the simultaneous determination of DCF and IND solutions were investigated. Dependences of peak current on the pH of the solution in the range of 5–12 are shown in Fig. 3a. It can be realized that the anodic peak currents of DCF and IND are increased slightly when there is an increase in the pH solution until it reaches 7.0. Thus pH 7.0 was selected as the optimum solution pH. As shown in Fig. 3b, all the anodic peak currents for the oxidation of DCF and IND shifted toward more negative potential with increasing pH value, which may be expressed by Eqs. 1 and 2, indicating that the protons have taken part in their electrode reaction processes.

$${\text{Diclofenac}}{\kern 1pt} \quad E_{\text{p}} = -0.054{\text{pH}} + 1.0015\quad R^{2} = 0.9958$$
(1)
$${\text{Indomethacin}}{\kern 1pt} \quad E_{p} = -0.051{\text{pH}}+0.9572\quad R^{2} = 0.9958$$
(2)

Our results revealed that the numbers of protons in the processes are equal to the number of the transferred electrons. As shown in Scheme 2, DCF and IND can be oxidized via two electrons and two protons processes, respectively. This conclusion is in accordance with the known electrochemical reactions of DCF and IND as shown in other investigations [2, 29].

Fig. 3
figure 3

Effect of pH on the peak current (a) and on the peak potential (b) of 1.0 mM DCF and IND in B–R buffer solution

Scheme 2
scheme 2

Oxidation mechanism of DCF (a) and IND (b)

3.5 Effect of scan rate

To study the effect of potential sweep rate on the peak current, cyclic voltammetry was recorded at different potential sweep rates in a wide range of 10–600 mV s−1 in B–R buffer solutions (pH 7.0) containing 0.5 mM DCF and 1.5 mM IND on the MWCNT–IL|CCE. The results showed that anodic peak current of IND varies linearly with the square root of the scan rate (v 1/2) and peak current of DCF versus scan rate was linear than its plot of peak current against v 1/2 (Fig. 4), confirming the diffusion-controlled process for electrooxidation of IND and surface-controlled process for DCF on the MWCNT–IL|CCE in the studied range of potential sweep rates regarding the following equations (Eqs. 3, 4):

$${\text{Diclofenac}} \quad I_{\text{p}} = 6.7718 \, v^{1/2} - 18.928\quad R^{2} \, = 0.965$$
(3)
$${\text{Indomethacin}} \quad I_{\text{p}} = 0.0333 \, v^{1/2} - 0.0428\quad R^{2} \, = 0.998$$
(4)
Fig. 4
figure 4

Plots of I p versus v for 0.5 mM DCF (a) and I p versus v 1/2 for 1.5 mM IND (b) derived from cyclic voltammograms of MWCNTs–IL nanocomposite-modified CCE in B–R buffer solution (pH 7.0), at different scan rates

3.6 Simultaneous determination of DCF and IND

The electrooxidation processes of DCF and IND in the mixture were also investigated by DPV in B–R buffer solution (pH 7.0). When the concentration of one species changed, the other one was kept constant. Examination of Fig. 5 shows that the peak current of DCF increased with an increase in the DCF concentration while the concentration of IND was kept constant (2 μM). Similarly as can be seen in Fig. 6, having kept the concentration of DCF constant (2 μM), the oxidation peak current of IND increases proportional to its concentration, while the oxidation peak current of DCF did not change. It should be noted that, the change of concentration of one compound did not have significant influence on the peak current and peak potential of the other compound. Moreover, when the concentrations of DCF and IND increased synchronously, the peak currents at the MWCNT–IL|CCE increase accordingly as shown in Fig. 7. It can be seen that the peak currents for the two species increased linearly with their concentrations (insets of Fig. 7). The calibration curves were linear for a wide range of concentrations of each species including 0.05–50 μmol L−1 DCF and 1–50 μmol L−1 IND. Detection limits of 18 and 260 nmol L−1 were observed for DCF and IND, respectively.

Fig. 5
figure 5

DPVs of DCF at MWCNT–IL|CCE in the presence of 2 μM IND in B–R buffer (pH 7.0) DCF concentrations (from inner to outer): 0.05, 0.2, 0.4, 1, 2, and 4 μM

Fig. 6
figure 6

DPVs of IND at MWCNT–IL|CCE in the presence of 2 μM DCF in B–R buffer (pH 7.0) IND concentrations (from inner to outer): 1, 3, 6, 10, 14, and 18 μM

Fig. 7
figure 7

DPVs of the mixture containing DCF and IND at the MWCNT–IL|CCE in B–R buffer (pH 7.0). Concentrations of the two compounds (from inner to outer): 0.05, 0.2, 0.4, 1, 2, and 4 μM for DCF; and 1, 3, 6, 10, 14, and 18 μM for IND. Insets are the variation of the anodic and peak currents versus concentration of each compound

3.7 Determination of DCF and IND in real samples

The utilization of the proposed method in real sample analysis was also investigated by direct analysis of DCF and IND in commercial pharmaceutical and blood plasma samples by using DPV technique and results were listed in Tables 1 and 2. From these results, it can be seen that the WCNT–IL-modified CCE shows good catalytic activity for real sample analysis, especially in human plasma sample which has most of one hundred various biological and mineral compounds, and the obtained results and recoveries were satisfactory. Also, the results obtained for DCF and IND on a MWCNT–IL-modified CCE are compared in Table 3 with previously reported methods for their detections [2934].

Table 1 Determination of IND in real samples (n = 4)
Table 2 Determination of DCF in real samples (n = 4)
Table 3 Analytical parameters for detection of DCF and IND at several methods

3.8 Reproducibility and long-term stability of the proposed electrode

The main advantage of using the MWCNT–IL|CCE is easy and quick surface renewal after each use. Thus, the repeatability of the analytical signal was studied by cyclic voltammetry in optimized conditions. The relative standard deviation (RSD) of 3 and 3.2 % for 1.0 mol L−1 DCF and 1.5 mol L−1 IND was obtained, respectively. Another attraction of the proposed modified electrode was that the resulting carbon paste electrode showed good long-term stability. Stability of the proposed electrode was tested by measuring the decrease in CV current of DCF and IND after being stored for 1 month. The CV response decreased by only 5 % indicating the suitable stability of MWCNTs–IL|CCE. The above results prove suitability of our fabricated electrode for practical applications.

4 Conclusions

We have shown that the MWCNT–IL composite-modified CCE exhibits high electrocatalytic activity to oxidation of DCF and IND. These drugs could be measured simultaneously at low levels by using the modified electrode with DPV method. Moreover, the results obtained from the application of the fabricated electrode for determination of DCF and IND in their tablets and plasma sample confirmed the good accuracy and precision of our fabricated electrode.