1 Introduction

Kojic acid (KA) is extensively used in pharmaceutical products to obtain a skin-lightening effect in personal care products since it prevents melanin formation. Moreover, due to the functional role of KA as an enzyme inhibitor in the biosynthesis of dihydroxyphenylalanine, it applied as a preservative agent to avoid microbial and chemical degradation of food [1, 2].

On the other hand, the presence of 4-pyrone in the KA structure may cause a carcinogenic effect that threatens human health [3]. However, some researcher believes that animal experiments such as rat data cannot generalize to human beings and the usual level of KA in foods would not cause harmful effect on human health [1]. Nevertheless, due to the unfavorable effect of KA at relatively higher concentrations, especially in foods and cosmetics stuff, it is of great importance to consider with high sensitivity about the safety and quality control of the mentioned products. Therefore, developing an economical and fast analytical approach for the quantitative evaluation of the trace level of KA is considered desirable.

Various techniques developed for quantitative determination KA such as ion-pair liquid chromatography (IPLC) [4], high-performance liquid chromatography (HPLC) [5], fluorescent detection [6], and electrochemical method [7]. Among the mentioned techniques, electrochemical methods such as voltammetry received attention due to offering opportunities such as sensitive and fast detection procedures and portability for the determination of electroactive compounds such as KA [8]. Due to the advantages such as lowering cost, easy, and fast preparation by providing a reproducible surface with a low residual current in electrochemical studies, ionic liquid-based carbon paste electrodes received growing attention recently.

Lately, nanostructured materials by unique chemical and electrical properties received extraordinary attention for developing the electrochemical sensors employed in the analysis of pharmaceutical and biological samples [9,10,11,12]. Due to the high surface area and great catalytic activity of metal-based nanoparticles with biocompatible properties, they employed to increase the current density of the electrochemical setup of biosensors in biological and food compound analysis. Moreover, to fabricate a sensitive electrochemical modified sensor, it is recommended to optimize the binder of the fabricated paste with a new generation of stable room temperature ionic liquids with high conductivity and broad electrochemical windows [13].

In the current work, we aimed to fabricate a high sensitive nanostructured sensor based on ionic liquid carbon pastes modified with NiO nanoparticles to investigate the electro-oxidation of KA. The analytical performance of the proposed sensor was assessed by quantitative evaluation of KA in various real samples.

2 Material and Methods

2.1 Chemicals

Analytical grade kojic acid (KA), nickel (II) nitrate hexahydrate (Ni (NO3)2·6H2O), sodium hydroxide (NaOH), phosphoric acid (H3PO4), calcium sulfate (CaSO4), magnesium nitrate hexahydrate (Mg(NO3)2·6H2O), potassium carbonate (K2CO3), sodium bicarbonate (NaHCO3), 1-butyl-3-methylimidazolium tetrafluoroborate (1B3MITFB), graphite fine powder, and paraffin obtained from Sigma-Aldrich. Glucose, ascorbic acid, phenylalanine, methionine, histidine, cysteine, lysine, glycine, urea, and thiourea were obtained from Merck. Phosphate buffer solutions (PBS) with the desired pH values were prepared using 0.1 M H3PO4 and 0.1 M NaOH solutions.

2.2 Apparatus

The electrochemical investigations was carried out by a conventional three-electrode system including NiO/NPs/1B3MITFB/MCPE, platinum wire, and Ag/AgCl (3 M KCl) as working, counter, and the reference electrode, respectively, connected to Sama 500 potentiostat/galvanostat. Electrochemical impedance spectroscopy (EIS) studies were carried out by Autolab PGSTAT204-Metrohm potentiostat/galvanostat equipped with the FRA module. All experiments were carried out at room temperature. The pH adjustment was performed by a Metrohm pH meter model 827 pH lab. To evaluate the morphological aspects of the synthesized NiO nanoparticle, scanning electron microscopy (SEM) and X-ray diffraction analysis were carried out using VEGA3 XMU SEM and STOE diffractometer with Cu-Kα radiation (k = 1.54 Å), respectively,

2.3 Optimization the Modified Ionic Liquid-Based Carbon Paste Electrode

NiO/NPs/1B3MITFB/MCPE were prepared by mixing the appropriate amount of 1B3MITFB, paraffin oil, NiO/NPs, and graphite powder which mixed well in mortar for 3 h until a homogeneously moisten paste is achieved. The electro-oxidation response of 500 μM KA was employed for optimization of the ratio of NiO/NPs to 1B3MITFB in the composition of modified ionic liquid-based carbon paste. The obtained result exhibited that the presence of 5.0% w/w of NiO/NPs and 10.0% w/w of 1B3MITFB in the proposed paste provide the highest oxidation peak current for a constant amount of KA. Hence, this composition is used for further studies.

3 Results and Discussion

3.1 NiO/NPs Characterization

XRD analyses were employed to analyze the synthesized NiO/NPs. The definite line broadening obtained from the XRD pattern revealed that the NPs synthesized successfully where the average diameter of synthesized NiO/NPs found to be about 20.8 nm using the Scherrer equation [14, 15]. The XRD patterns of NiO nanoparticle that is presented in Fig. 1a, revealing the reflection planes of (111), (200), (220), (311), and (222), correspond to the FCC structure of NiO nanoparticle according to JCPDS data. On the other hand, the elemental analysis of the synthesized nanoparticle was confirmed by the EDAX spectrum. The existence of nickel and oxygen elements confirmed that NiO/NPs synthesized successfully (see Fig. 1b).

Fig. 1
figure 1

a The XRD patterns of as-synthesized NiO nanoparticles. b The EDAX analysis of NiO nanoparticles

Moreover, the SEM technique was employed to characterize the morphology of the synthesized NiO/NPs that is seen in Fig. 2; the observed dark points in nanoscale size correspond to the NiO/NPs.

Fig. 2
figure 2

The SEM image of NiO nanoparticles

3.2 Electrochemical Impedance Spectroscopy

EIS technique as an informative electrochemical approach employed in the current work to study the conductivity and electron transfer kinetics of the surface of bare and modified electrodes throughout the step by step modification process. All researches carried out in 0.1 M PBS solution with frequencies ranging from 0.1 to 100 kHz. As seen from Fig. 3, the obtained Nyquist diagrams revealed an increase in the electrical conductivity of the prepared pastes from unmodified CPE (curve a) to the fully modified CPE namely NiO/NPs/1B3MITFB/MCPE (curve d) in the presence of 1.0 mM [Fe(CN)6]3−/4− as a probe in EIS investigation.

Fig. 3
figure 3

Nyquist plots of CPE (a), NiO/NPs/MCPE (b), 1B3MITFB/MCPE (c), and NiO/NPs/1B3MITFB/MCPE (d) in the presence of 1.0 mM [Fe(CN)6]3−/4− and 0.1 mol L−1 KCl. Conditions: pH, 6.0; Edc, + 0.38 V vs. Ag/AgCl; Eac, 5 mV; frequency range, 0.1 to 100,000 Hz. Inset: equivalent circuit for the system

The obtained data confirmed that the presence of NiO nanoparticles and 1B3MITFB as a conductive binder resulted in increasing the electro-oxidation signal of KA. The value of Rct for unmodified CPE found to be 12.3 kΩ which is the highest value of Rct in comparison with the other fabricated modified CPEs in the current work because of paraffin usage as a non-conductive binder in its composition.

By adding NiO/NPs into the CPE to get the NiO/NPs/MCPE, the amount of Rct lowered to 6.5 kΩ due to the presence of conductive NiO/NPs with high catalytic activity in NiO/NPs/MCPE composition. Alternatively, by addition of 1B3MITFB as a conductive binder into the CPE to get the 1B3MITFB/MCPE, the amount of Rct was lowered to 3.1 kΩ. In contrast, using both NiO/NPs and 1B3MITFB in the composition of NiO/NPs/1B3MITFB/MCPE resulted in a maximum decreasing of Rct value to the amount of 1.7 kΩ which indicated that they performed as an efficient pathway for electron transfer between the proposed electrode and electrolyte. It is noteworthy to mention that the ratio of decrease in Rct using EIS is in satisfactory agreement by the ratio of increase in oxidation current using cyclic voltammetry. The observed shape of Nyquist diagrams including a compressed semicircle portion and a straight line corresponds to the electron transfer resistance at the electrode surface and the diffusion-limiting step of the electrochemical process, respectively.

3.3 Voltammetric Investigation

The cyclic voltammetry method was employed to investigate the electro-oxidation of KA and the obtained electrochemical response in the presence of 500 μM KA on the surface of the bare and modified CPEs was demonstrated in Fig. 4 using phosphate buffer solution of 0.1 M (pH 6.0) at a scan rate of 100 mV s−1. Curve (a) corresponding to NiO/NPs/1B3MITFB/MCPE revealed the maximum oxidation peak current of 118.6 μA with a substantial negative shift of the oxidation potential to 905 mV which confirmed the catalytic ability of the proposed electrode for KA electro-oxidation. As seen from curve (c) and (d), the contribution of NiO nanoparticles with superior electrical conductivity and large surface area in the composition of the bare electrode led to improving the peak current from 35.3 to 58.7 μA and reducing the KA oxidation potential from 1015 to 985 mV.

Fig. 4
figure 4

Cyclic voltammograms of a NiO/NPs/1B3MITFB/MCPE, b 1B3MITFB/MCPE, c NiO/NPs/MCPE, and d CPE in the presence of 500 μM KA at pH 6.0, respectively

Moreover, curve (b) which corresponds to the presence of 1B3MITFB as a conductive binder in the composition of the bare revealed satisfactory enhancement in oxidation current to the value of 88.5 μA along with decreasing the overpotential of KA electro-oxidation to 935 mV. Due to the absence of a corresponding reduction peak for KA by scanning the potential to the negative values, it concluded that electro-oxidation of KA was an irreversible reaction.

The current density at the surface of the proposed electrodes was calculated and demonstrated in Fig. 4 (inset) which confirmed the useful effect of NiO/NPs and 1B3MITFB presence by improving the active surface of the proposed modified CPE and led to the higher electrocatalytic activity at the surface of the prepared NiO/NPs/1B3MITFB/MCPE.

The literature survey revealed that due to the presence of the hydroxyl group in the KA structure, the pH of the electrolyte solution significantly affected the electro-oxidation of KA [1, 16, 17]. Therefore, NiO/NPs/1B3MITFB/MCPE was employed to investigate the effect of pH on the electrochemical oxidation signal of KA. The obtained results indicated that the oxidation potentials (Epa) of KA lowered to negative values as the solution pH increased varying from 5.0 to 8.0 (see Fig. 5 inset). The observed behavior attributed to the direct involvement of protons in the electro-oxidation process of KA.

Fig. 5
figure 5

Plot of potential, E, vs. pH for the electro-oxidation of 500 μM KA at a surface of NiO/NPs/1B3MITFB/MCPE. Inset: influence of pH on cyclic voltammograms of KA at a surface of the modified electrode (pH 5–8, respectively) (n = 1)

As seen, the value of oxidation current improved from pH 5.0 to 6.0 and then diminished gradually by increasing the pH value from 6.0 to 8.0. Hence, the phosphate buffer solution with a pH of 6 taken as the proper medium and used throughout further experiments. As demonstrated in Fig. 5, the relationship between the pH and the oxidation peak potential (Epa) which expressed by the equation below with the Nernstian slope of (0.0591x/n), where x and n denote the number of involved hydrogen and the number of electrons transferred throughout the electro-oxidation process, revealed that the number of x and n is equal (see Scheme 1).

$$ {E}_{\mathrm{pa}}\ (V)=-0.0587\ \mathrm{pH}+1.2458\ \left({R}^2=0.9963\right) $$
(1)
Scheme 1
scheme 1

Electro-oxidation of kojic acid

Moreover, the relationship between the potential scan rate and current through the electro-oxidation process of KA was investigated. The obtained cyclic voltammograms revealed that along with an increase in applied scan rates, the peak current was enhanced and shifted to the more positive potentials due to higher overvoltage (see Fig. 6 inset).

Fig. 6
figure 6

Plot of Ipa versus ν1/2 for the oxidation of KA at NiO/NPs/1B3MITFB/MCPE. Inset shows cyclic voltammograms of 500 μM KA at NiO/NPs/1B3MITFB/MCPE at different scan rates of a 20, b 40, c 80, d 100, e 140, and f 180 mV s−1 in 0.1 M phosphate buffer, pH 6.0

According to the following equation which describes the relationship between the square root of scan rate (ν1/2) and the anodic peak currents (Ip), it concluded that the observed irreversible oxidation behavior of KA at the surface of the NiO/NPs/1B3MITFB/MCPE was controlled under the diffusion step.

$$ {I}_{\mathrm{p}}=8.488\ {\nu}^{1/2}+10.174\ \left({r}^2=0.993,I\ \mathrm{in}\ \upmu \mathrm{A},\nu\ \mathrm{in}\ \mathrm{mV}\ {\mathrm{s}}^{\hbox{--} 1}\right) $$
(2)

Additionally, the linear relationship between the peak potential (Epa) and ln(ν), which demonstrated in Fig. 7, were investigated and expressed by the equation as below:

$$ {E}_{\mathrm{p}\mathrm{a}}=0.0361\ \ln \left(\nu \right)+0.990\ \left({r}^2=0.998,{E}_{\mathrm{p}}\ \mathrm{in}\ \mathrm{V},\nu\ \mathrm{in}\ \mathrm{V}\ {\mathrm{s}}^{\hbox{--} 1}\right) $$
(3)
Fig. 7
figure 7

Plot of potential, Ep, vs. Ln ν for the electro-oxidation of 500 μM KA at a surface of NiO/NPs/1B3MITFB/MCPE at different scan rates of 0.02, 0.04, 0.08, 0.10, 0.14, and 0.18 V s−1 in 0.1 M phosphate buffer, pH 6.0

On the other hand, the value of the electron transfer coefficient (α) was calculated using Eq. (5) as follows:

$$ {E}_{\mathrm{pa}}={E}^{0/}+m\ \left[0.78+\ln \left({D}^{1/2}{k_{\mathrm{s}}}^{-1}\right)-0.5\mathrm{ln}m\right]+\left(m/2\right)\ \ln \left(\upnu \right) $$
(4)

Epa, E0/, ν, and ks denote the oxidation peak potential, formal potential, potential scan rate, and the electron transfer rate constant, respectively. By plotting the peak potential (Epa in V) versus ln(ν in V s−1), a straight line is obtained with the slope expressed as below:

$$ m=\mathrm{RT}/\left[\left(1\hbox{--} \alpha \right){n}_{\upalpha}F\right] $$
(5)

According to the Eq. (4), the value of m is 0.0722. Consequently, the value of the electron transfer coefficient (α) found to be 0.644 for the irreversible electrode process.

Alternatively, the value of the electron transfer coefficient (α) obtained from the Tafel plot as acquired from the raising part of the current-voltage curve (Fig. 8). The relationship between the log(I) and the peak potential (Epa) was expressed by the following equation:

$$ {E}_{\mathrm{p}\mathrm{a}}=0.1576\ \log (I)+0.5187\ \left({r}^2=0.999,{E}_{\mathrm{p}}\ \mathrm{in}\ \mathrm{V},I\ \mathrm{in}\ \upmu \mathrm{A}\right) $$
(6)
Fig. 8
figure 8

The Plot of potential, Ep, vs. log I for the electro-oxidation of 500 μM KA at a surface of NiO/NPs/1B3MITFB/MCPE at the scan rate of 40 mV s−1 in 0.1 M phosphate buffer, pH 6.0

By plotting the peak potential (Epa) versus log(I), a straight line is obtained with the slope expressed as below:

$$ m=2.303\ \mathrm{RT}/\left[\left(1\hbox{--} \upalpha \right){n}_{\upalpha}F\right] $$
(7)

According to Eq. (7), the slope of the Tafel plot comes up to be 0.1576 V decade−1. The amount of calculated α found to be 0.625, which is in the satisfactory agreement with the obtained electron transfer coefficient (α) mentioned above.

3.4 Chronoamperometric Investigation

To evaluate the diffusion coefficient of the KA electro-oxidation process at the mass transport limited rate on the surface of NiO/NPs/1B3MITFB/MCPE, chronoamperometric measurements were carried out [18, 19]. The applied potential was set at 1000 mV vs. Ag/AgCl/KClsat for the 500 μM and 700 μM of KA in phosphate buffer solutions (pH 6.0) (Fig. 9a). To calculate the value of the diffusion coefficient (D), the Cottrell equation was employed as follows:

$$ I={\mathrm{nFAD}}^{1/2}\ \mathrm{C}/{\uppi}^{1/2}\ {t}^{1/2} $$
(8)
Fig. 9
figure 9

a Chronoamperograms obtained at NiO/NPs/1B3MITFB/MCPE in the presence of a 500 and b 700 μM KA in the buffer solution (pH 6.0). b Cottrell’s plot for the data from the chronoamperograms (n = 1)

The relationship between the electro-oxidation currents (I) and (t−1/2) for different concentrations of KA was demonstrated in Fig. 9b which revealed straight lines with different slopes. By calculating the average value for the diffusion coefficient, the amount of D found to be 2.3 × 10−4 cm2 s−1.

3.5 Characterization of Fabricated MCPE

The diagnostic performance of the proposed modified sensor with different aspects was examined. For the quantitative determination of KA concentration, the square wave voltammetry technique was employed under the optimum condition. As seen from Fig. 10, the obtained calibration curve revealed an adequate linear response over the KA concentration range from 5.0 to 600 μM with the linear regression equation expressed below:

$$ {I}_{\mathrm{p}}\ \left(\upmu \mathrm{A}\right)=\left(0.0708\pm 0.0019\right)\ {\mathrm{C}}_{\mathrm{KA}}-\left(0.0346\pm 0.0052\right)\ \left({R}^2=0.9981,n=10\right) $$
(9)
Fig. 10
figure 10

Plot of peak current as a function of KA concentration. Inset shows the SWVs of NiO/NPs/1B3MITFB/MCPE in 0.1 mol L−1 phosphate buffer solution (pH 6.0) correspond to different concentrations of KA including 5, 10, 15, 20, 35, 50, 100, 120, 150, 250, 350, 450, 500, and 600 μM

The lower detection limit of the proposed sensor found to be 0.8 μM. Table 1 summarized some other relevant reported sensors for the quantitative determination of KA concentration. It is concluded that the developed sensor in the current work revealed a comparable or even better performance. It is noteworthy to mention that the fabricated NiO/NPs/1B3MITFB/MCPE has some advantages such as easy preparation and low cost compared with other electrodes used in reported works for determination of KA [1, 2, 20].

Table 1 Comparison of the efficiency of some modified electrodes used in the voltammetric determination of KA

The long-term stability of the proposed sensor examined after the NiO/NPs/1B3MITFB/MCPE stored for 6 weeks at 25 °C. The obtained results revealed that a negligible drift in peak current observed with a relative standard deviation of 1.3% for the concentration of 10.0 μM KA, which confirmed the satisfactory stability of the developed sensor.

Moreover, to evaluate the reproducibility of the proposed sensor, ten successive measurements of KA concentration were conducted using a standard solution of 10.0 μM KA. The obtained results revealed good reproducibility of the proposed sensor with a relative standard deviation of 2.4%. On the other hand, the response of the proposed sensor was investigated by immersing it in an aqueous media. The obtained results indicated that the developed electrode revealed stable response within 2.0 h, and afterwards, the background current increased. Moreover, an increase in the background current probably related to partial leakage of 1-butyl-3-methylimidazolium tetrafluoroborate from NiO/NPs/1B3MITFB/MCPE, which resulted in increasing the roughness of the proposed electrode. The proposed sensor revealed a satisfying reproducibility and stability over an adequately long time.

The selectivity of the proposed sensor towards KA was investigated in the presence of some routine potential interference such as glucose, urea, thiourea, amino acids, and electrolyte which exist in blood serum, under the optimum condition. The toleration limit was verified as the highest concentration of the interfering material that made an error of less than ± 5% for the determination of KA. The proposed sensor revealed a successful performance in the term of selectivity, as demonstrated in Table 2.

Table 2 Interference study for the determination of 50.0 μM KA under the optimized condition

3.6 Real Sample Analysis

The standard addition method was employed to investigate the applicability of the proposed sensor in the quantitative determination of KA concentration in real samples such as urine, serum, and vinegar (see Table 3).

Table 3 Determination of kojic acid in real samples

Moreover, the loading efficiency of KA encapsulation into the liposomes with different chemical compositions evaluated indirectly by the proposed sensor using the supernatant phase. The obtained results revealed that the liposomal composition of 70:30 (lecithin: cholesterol) demonstrated the highest encapsulation efficiency of 91.0%.

4 Conclusions

A novel high sensitive voltammetric sensor was developed for the quantitative determination of KA concentration in real samples, namely NiO/NPs/1B3MITFB/MCPE. The developed sensor demonstrated superior electrocatalytic activity towards KA in the concentration range of 5.0–600 μM with a lower detection limit of 0.8 μM in aqueous solutions. The conductivity and electron transfer kinetics of the bare and modified electrodes were investigated by electrochemical impedance spectroscopy studies. According to the obtained results, it is concluded that the presence of NiO NPS and 1B3MITFB as a conductive binder significantly increased the KA electro-oxidation process. The acquired data from SEM, XRD, and EDAX analysis confirmed the successful synthesis of NiO nanoparticles with an average diameter of about 20.8 nm using the Scherrer equation. The obtained results revealed that the observed irreversible oxidation behavior of KA at the surface of the NiO/NPs/1B3MITFB/MCPE controlled under the diffusion step with the diffusion coefficient and electron transfer coefficient of 2.3 × 10−4 cm2 s−1 and 0.625, respectively. The proposed sensor was applied successfully for the analysis of trace amounts of KA in pharmaceutical, biological, and food samples such as liposomal carriers containing KA, human urine and blood serum, and vinegar, respectively.