1 Introduction

In recent years, metal oxides nanoparticles have attracted considerable attention on account of their potential applications and unique physical and chemical properties, which are strongly influenced by their size, morphology, and structure [13]. The synthesis of high-quality oxides with a controlled size and shape has been a major research focus in nanomaterials such as TiO2 [4], ZnO [5], WO3 [6], and SnO2 [7].

Cupric oxide and cuprous oxide nanoparticles have attracted extensive attention in recent years because of their unique properties. CuO and Cu2O are a p-type semiconductors with large band gaps (Eg (CuO) = 1.2 eV and Eg (Cu2O) = 2 eV). Both materials present various applications, and CuO has been widely used in gas sensors [8], giant magneto-resistance materials [9, 10], field emission [11], nanofluid [12], lithium ion electrode materials [13], and nanodevices for catalysis [14], whereas Cu2O has potential applications in solar energy [9], in gas sensing [15], photocatalysis [1618], CO oxidation [19], photochemical evolution of hydrogen from water [20], and photocurrent generation [21, 22].

Many different chemical and physical methods have been reported to synthesize CuO; Wang et al. [23] prepared CuO nanorods by thermal decomposition. A new sonochemical method has been developed by Kumar et al. [24] to synthesize the copper oxide nanoparticles in various organic solvents such as DMF. Gedanken et al. [25] fabricated nanocrystalline CuO by a sonochemical method. While there are a little reported methods on the elaboration of pure Cu2O nanostructures, it is difficult to synthesis this oxide in pure phase without any impurities due to the more stability of copper in Cu2+ state as compared to Cu1+. Zheng et al. [26] prepared various shapes of Cu2O nanoparticles such as nanocube, cuboctahedra and truncated nanocubes by using PVP as a shape-directing agent and ascorbic acid as a reducing agent. Moreover, Murphy et al. [27] elaborated Cu2O nanocubes by reduction of Cu2+ with sodium ascorbate. Furthermore, Yang et al. [28] synthesized Cu2O and converted them into CuO NPs by gas-phase oxidation. Otherwise, Song et al. [29] demonstrated that an increase in the pH of solution allows the transformation of Cu2O to CuO. However, all these methods either require high temperatures, long reaction time, sophisticated instrumentation, inert atmosphere or reducing agents to obtain these oxides in pure phases. Therefore, in the present study, we proposed a rapid one-step synthesis of stable CuO and Cu2O nanoparticles using sol–gel method from the same copper acetate (CuAct2) as precursor and ethylene glycol (EG) as solvent. Moreover, until now, this procedure has not been reported in the literature for the elaboration of Cu2O and CuO nanoparticles in a glycolic medium and in pure phases without introducing the reducing agents in the process. In this framework, the present paper aims to study the effect of the pH on the structural, morphological, and optical properties of the synthesized Cu2O/CuO NPs.

2 Experimental details

All chemical products are of analytical grade purity. Cu2O and CuO nanoparticles were synthesized using the sol–gel route. The typical experimental procedure is described as follows: 1.98 g of (Cu (CH3COO)2, H2O) was dissolved into 100 ml of ethylene glycol and stirred for 1 h. Then, different concentrations of NaOH were added to the above solution at 60 °C under constant stirring during 2 h, and after that, the solution is cooled to room temperature in air. The resulting precipitates were filtered and washed twice with distilled water and once with absolute ethanol to remove all kinds of impurities and then dried at 50 °C.

A schematic of the process describing the main steps employed during the synthesis is depicted in Fig. 1.

Fig. 1
figure 1

Schema of the synthesis process of the CuO and Cu2O NPs by sol–gel method

3 Characterization

The crystalline phases were determined by X-ray diffractometer (XRD, Panalytical Xpert Pro) using CuKα as radiation source (45 kV, 40 mA). The nanoparticle size and morphology were carried out by transmission electron microscope (TEM, FEI Tecnai12 −120 kV). The UV–visible absorption spectrum of Cu2O and CuO has been recorded by using UV–visible spectrophotometer (PerkinElmer Lambda 900), whereas the compositions of the products were analyzed by Fourier transform infrared (FTIR, Bruker Vertex) spectroscopy.

4 Results and discussion

4.1 Structural and morphological studies

A serie of experiments was carried out to synthesize Cu2O and CuO nanoparticles from the same precursor and solvent by sol–gel method where the pH is the unique variable parameter. The temperature reaction was maintained at 60 °C. Table 1 presents the color of the synthesized powders as function of the final solution pH. The pH was increased from 6.1 to 12.5 by adding sodium hydroxide. At lower pH (pH < 7), an orange solution was formed which is a sign of the formation of the Cu2O particles. However, when increasing the pH in the basic region, a blue color appeared indicating a change in the Cu2+ chemical environment. From pH = 12, the color of solution turns into black, which is a sign of the formation of the CuO particles.

Table 1 Final pH of the solutions and crystalline structure associated with the color of the obtained powders

X-ray diffraction characterizations of the obtained samples are given in Fig. 2. At acidic condition (pH = 6.1), the phase identification indicates that the as-formed sample is pure Cu2O without any impurity peaks. All peaks are indexed to a cubic Cu2O phase with the following cell constant: a = 4.2626 Å, which is consistent with the value of the JCPDS (card no. 01-077-0199). The peaks with 2θ values of 29.64°, 36.51°, 42.40°, and 52.63° correspond, respectively, to the atomic planes (111), (111), (200) and (211) of crystalline structure of Cu2O. The recorded peak intensities clearly imply that the obtained powders are highly crystalline. By increasing the pH values, the XRD patterns show the phase transition leading to the formation of the copper-based secondary phases which are identified as following: (Cu2C2H6O5, H2O) for the neutral pH and (CuC4H6O4, H2O)/(CuC4H12O2) for pH = 8.5. The XRD pattern shown in Fig. 2 indicates that the formation of the pure monoclinic CuO structure is only possible for the strongly basic solutions (pH ≥ 12). All diffraction peaks can be indexed as (110), (002), (111), (−202), (020), (202) and (−113) atomic plans using the JCPDS card no. 048–1548, and no other impurity peaks were detected. The calculated lattice parameters from XRD data are as follows: a = 4.6863 Å, b = 3.4794 Å and c = 5.1226 Å, which was in good agreement with literature.

Fig. 2
figure 2

X-ray diffraction patterns of the prepared samples at different pH values

Generally, the synthesis of cupric oxide and cuprous oxide nanoparticles by the sol–gel process is based on Cu(OR)2 as a starting material [30]. It has been reported that CuO and Cu2O particles grow through the dehydration–condensation reaction of Cu(OH)2 species [31, 32]. In our case, where the precursor is the copper acetate monohydrate (Cu (CH3COO) 2, H2O), the followed mechanism is proposed to explain the formation of the obtained CuO and Cu2O nanoparticles: The hydrolysis reaction:

$${\text{OH}} - {\text{CH}}_{2} - {\text{CH}}_{2} - {\text{OH}} + {\text{Cu}}^{2 + } \to \left[ {{\text{Cu}}\left( {{\text{C}}_{ 2} {\text{H}}_{ 6} {\text{O}}} \right)} \right]^{2 + }$$
(1)

The condensation process is initiated by NaOH addition:

$$\left[ {{\text{Cu}}\left( {{\text{C}}_{ 2} {\text{H}}_{ 6} {\text{O}}} \right)} \right]^{2+}\,+\,2{\text{OH}}^{-} \to {\text{Cu}}\left( {\text{OH}} \right)_{2}\,+\,{\text{HOCH}}_{ 2} {\text{CH}}_{ 2} {\text{OH}}$$
(2)

At lower concentration of OH, the Cu2O is firstly formed by dehydration of EG,

$${\text{OHCH}}_{ 2} {\text{CH}}_{ 2} {\text{OH}} \to {\text{CH}}_{ 3} {\text{COH}} + {\text{H}}_{ 2} {\text{O}}$$
(3)
$$2{\text{Cu}}\left( {\text{OH}} \right)_{2} + 2{\text{CH}}_{ 3} {\text{COH}} \to {\text{Cu}}_{ 2} {\text{O}} + {\text{CH}}_{ 3} - {\text{CO}} - {\text{CO}} - {\text{CH}}_{3} + 3 {\text{H}}_{ 2} {\text{O}}$$
(4)

At higher concentration of OH, the Cu(OH)2 is transformed into copper oxide phase,

$${\text{Cu}}\left( {\text{OH}} \right)_{ 2} \to {\text{CuO}} + {\text{H}}_{ 2} {\text{O}}$$
(5)

According to these equations, ethylene glycol (EG) and sodium hydroxide are the two key factors which orient the growth of CuO or Cu2O nanostructures by controlling the pH medium. In the both cases (basic or acid), the stable complex [Cu(II)EG]2+ is firstly formed after adding the ethylene glycol (EG) to the copper acetate according to Eq. (1) [33].

This complex is then transformed into Cu(OH)2 by the addition of NaOH (Eq. 2).

When the pH value of the solution is too low (pH ≤ 6), the small concentration of OH in the solution is insufficient to form CuO nanoparticles. It is noted that the formation of CuO phases requires the presence of two OH for each Cu2+ in the solution as it has been reported in our previous work [34]. Consequently, the cubic Cu2O (Eq. 4) is preferentially formed after the reduction of Cu(OH)2 by the acetaldehyde molecules produced subsequently to the EG dehydration (Eq. 3) [33]. However, when the pH increases (pH ≥ 12), the high concentration of OH drives Cu(OH)2 to dehydrate quickly and transforms into more stable CuO phase (Eq. 5). Figure 3 resumes the solution color variation which indicates the modification of copper-based chemical species present in the solution as a function of pH.

Fig. 3
figure 3

Schema illustrating the color changes of the prepared glycolic solution when varying the pH

The morphological evolution and the size distribution of the as-prepared particles were examined by transmission electron microscope. The TEM image, illustrated in Fig. 4a, shows that the CuO nanoparticles are spherical in shape with uniform distribution and having an average diameter of 4.5 nm. These very small-sized particles tend to agglomerate under the effect of EG. The same result was also reported in the literature [35]. The morphology of the as-obtained Cu2O powder, shown in TEM micrograph of Fig. 4b, consists of very small cubic particles with an average diameter of about 3 nm and aggregate into spherical shape under the effect of ethylene glycol. This formation in aggregation of Cu2O nanoparticles is also observed in the literature [36].

Fig. 4
figure 4

TEM images and particle size distribution of a CuO NPs and b Cu2O NPs

4.2 Optical properties

To confirm the above result showed by XRD and TEM, CuO and Cu2O nanoparticles were analyzed by FTIR spectroscopy. Figure 5a represents the FTIR spectrum of CuO NPs. The result shows three characteristic peaks of the vibrations of Cu–O observed at 420.7, 472, and 631.5 cm−1, which is in good agreement with literature values. The high-frequency mode observed at 631.3 cm−1 in the spectrum is may be assigned to the vibration stretching along the Cu–O bond. However, the FTIR spectrum of Cu2O nanoparticles (Fig. 5b) shows only one peak at about 533.6 cm−1 attributed to Cu–O vibration. The observation of the three peaks in the FTIR spectrum of CuO against one peak for Cu2O confirms the formation of highly pure CuO and Cu2O nanoparticles [37]. Compared with the bands of CuO/Cu2O reported in the literature [3840], the obtained peaks are downshifted due to nanosized effects.

Fig. 5
figure 5

FTIR spectra of copper oxides a CuO NPs and b Cu2O NPs

Figure 6 displays the optical absorbance characteristics of Cu2O and CuO nanostructures. As can be seen, an absorption peak is observed at 340 nm for Cu2O and 350 nm for CuO. The direct band gap of these powders was determined from Tauc’s plot [41]. The calculated band gap values are 4.08 eV and 2.07 eV for CuO and Cu2O nanoparticles respectively (Fig. 6a and 6b). These values for both oxides are higher as compared to the bulk values (1.2 and 2 eV for CuO and Cu2O, respectively). The observed blueshift in the band gap is due to the quantum confinement effect [42]. The good obtained band gap values make Cu2O and CuO nanoparticles relevant candidates for different solar energy harvesting and sensors applications.

Fig. 6
figure 6

UV–Vis spectra and Tauc’s plots of CuO and Cu2O NPs

5 Conclusion

In summary, a new process has been developed to prepare pure Cu2O and CuO nanoparticles by sol–gel in the absence of surfactant agent or other additives. The results illustrated by XRD, TEM, and UV–Vis indicate that the pH of solution plays a vital role in the selection of the Cu2O and/or CuO nanostructures phase formation. Pure CuO nanospheres and Cu2O nanocubes are synthesized in the average sizes of 4.5 and 3 nm, respectively. The as-prepared CuO and Cu2O possess very interesting optical properties (4.08 eV for CuO and 2.07 eV for Cu2O), suggesting a promising interest in many applications such as the photoelectronic devices and harvesting solar energy.