1 Introduction

Cupric oxide (CuO) is a cheaper and nontoxic abundant material [1,2,3,4]. It also has fabulous properties, high stability [5], excellent catalytic activity [6], superconducting [4], good optical properties [2], and a fabulous antibacterial activity [5, 7]. Therefore, this low-cost material is preferred to be used in gas-sensing applications when compared with other rare expensive materials [5]. It is classified as an easily obtainable p-type semiconductor with bulk band gap range between 1.21 and 2.1 eV [3]. It has a complex crystallographic monoclinic structure. Recently, nanostructures CuO has been extensively used in manufacturing gas sensors because of its effective p-type properties [5, 8]. As a semiconductor, it has high electrical resistivity compared to the copper metal. Previous studies reported that the electrical resistivity of CuO is in the range of 104 to 106 Ω cm, for coating prepared by electrodeposition oxidation, and 102 to 104 Ω cm for coating prepared by thermal oxidation [9]. Nanosized CuO has been employed in the manufacturing of various gas sensors to detect the reducing and oxidizing gases include H2, H2S, CO, CO2, NH3, CH4, and NO, as well as some volatile organic compounds like formaldehyde, ethylene, propene, propane, methanol, ethanol, acetone, and toluene [10,11,12].

The mechanism of p-type gas-sensing semiconductor can be explained by the changes in resistance caused by the adsorption reactions of gas molecules on the surface of the sensor. The sensing performance of gas sensors is related to the surface morphology that affects electrical resistance [13]. Generally, the reduction of gases such as H2S, NH3, CO, H2, SO2, CH4, and HCHO by p-type semi-conductors leads to the decrease in resistance, while the reversed effect was observed for oxidizing gases such as NO, N2O, NO2, CO2, O3, and Cl2 [14, 15]. For example, when CuO gas sensor is exposed to air, the surface of the sample will absorb the oxygen molecules. The absorbed oxygen tends to trap the electrons from the CuO layer band to form O2− leading to a decrease in electron density on the surface, causing a rapid decrease in the resistance.

The surface morphology of the gas sensor firmly depends on the coating techniques and its operating parameters. The surface gas-sensing performance and heat transfer efficiency of any sensors can be enhanced by controlling the coating parameters such as concentration, temperature, and solution speed. Therefore, this study presents the effective parameters of nano-CuO coating on CO gas-sensing performance and heat transfer efficiency.

2 Materials and Methods

To study the effects of coating process parameters on nano-CuO coating, an electrochemical oxidation method in oxalic acid solution at various operating conditions was established. The testing samples were prepared from pure copper foil of 99.5% purity, with the dimension of 1 × 1 cm and thickness of 0.12 mm. These samples were polished using emery papers and chemically cleaned according to the ASTM International standard of B 281–88 [16]. The sample was soaked in distilled water and acetone, respectively, and then dried in the air. All experiments were performed using a three-electrode electrochemical cell consists of copper as the working electrode, silver/silver chloride (Ag/AgCl) (SSE) as the reference electrode, and platinum sheet as the counter electrode. The experiments were performed using the linear sweep voltammetry (LSV) method at the scan rate of 0.02 v/s, by means of Potentiostat/Galvanostat Auto-Lab, PGSTAT AUT86037, as reported in previous article [17]. The selected coating parameters include the temperature between 0 and 24 °C and oxalate concentration between 0.1 and 0.5 M. The effects of these parameters on the coating morphology were optimized to achieve the highest contact surface area to improve the gas-sensing and the thermal transfer performance. The speed of the coating solution was considered as a noise factor on the charge transfer and coating rate. Therefore, the effects of the solution speed on coating thickness and microstructure were investigated at the solution angular velocities of 0, 100, and 300 runs per min (RPM), which corresponding to the linear solution speed of 0.00, 0.18, and 0.55 m/s, respectively. The fully factorial parameters are shown in Table 1.

Table 1 Presentation of fully factorial parameters

The coated thin films’ electrical resistance was measured using Loresta resistivity meter, model MCP T400, from Mitsubishi. This device measures the thin film’s sheet electrical resistance, and then, the thin film thickness can be calculated using these measurements. The device consists of four-point tungsten probes. The electrical resistance was measured by contacting the four probes on the surface. High impedance current source was used to supply current through the two outer probes, while a voltmeter was used to measure the voltage across the inner two probes to determine the resistivity of the sample. When probes with uniform spacing (S) is placed on a film thickness of (th) the resistivity (r) can be expressed as follows:

$$ r\, = \,2\pi s\frac{V}{I}\,{\mu \varOmega } - {\text{cm}}\, \left( {{\text{th}} > > s} \right) $$
(1)

The electrical resistivity of a bulk material was calculated using Eq. (1), while the thin films resistivity was calculated using Eq. (2).

$$ r = \left\{ {\frac{\pi t}{\ln 2}} \right\}\frac{V}{I}\,{\mu \varOmega } - {\text{cm }}\,\,\left( {s > > {\text{th}}} \right) $$
(2)

The sheet resistance of the coated samples was measured with the four-point probe by dividing the voltage drop (V) between the two inner probes over the passing current (I) between the two outer probes.

The results were multiplied by a geometric correction factor that depends on the probe geometry. The average coating resistance (Rsh) and resistivity (r) were 270 MΩ/sq and 341 kΩ, respectively. Note that the obtained coating resistance value was from the average of five measurements for each sample according to Eq. (3).

$$ {\text{Rsh}} = \left\{ {\frac{\pi }{\ln 2}} \right\}\frac{V}{I} = 4.53 \frac{V}{I} $$
(3)

The sheet resistance is sorted as a function of the material specification, it is independent of the geometrical dimension of the coated samples. Therefore, the resistance for a rectangular sample was considered as follows:

$$ R = r\frac{L}{{w \times {\text{th}}}} $$
(4)

For a square sample, L = w hence, sheet resistance (Rsh) is considered as the ratio of the resistivity (r) of the films to their thickness (th) [9].

$$ R = \frac{r}{\text{th}}\, = \,{\text{Rsh}} $$
(5)

Sheet resistance is treated as the resistance of a square sample, the units of sheet resistance (Rsh) are taken to be Ohms-per-square (Ω/sq). From this equation, the film thickness (th) was measured by dividing resistivity to sheet resistance as in Eq. (6) [18].

$$ {\text{th }} = \frac{r}{\text{Rsh}} $$
(6)

The gas-sensing response (R) is defined as the ratio of the resistance values of the sensor; in the detected gas to the resistance in the air; R =Rg/Ra [6]. The highest sensitivity of CO gas sensor (S) was calculated by the following equation [6];

$$ S \left( \% \right) = \frac{{\left( {{\text{Rg}}\, - \,{\text{Ra}}} \right)}}{\text{Ra}} \times 100 $$
(7)

In case of gas detection by an interface between two phases, the total surface area comprises the external and internal surface area, which is available to the detected gas. The total surface area (SA) can be defined as the result of the mass-specific surface area (SSA) multiplied by the mass of the accessible surface area.

$$ {\text{SA}}\, = \,{\text{SSA}} \times M $$
(8)

where SA total surface area, SSA mass-specific surface area, and M = mass of the accessible surface area.

The mass of the accessible surface area M can be calculated by the following equation:

$$ M = {\text{th}} \times \rho \times {\text{SA}} $$
(9)

where th average thickness, ρ = average density of the surface, SA total surface area.

3 Characterization of Nano coated Material

Characterization of the coated samples phases was carried out using Bruker X-ray diffraction (XRD) testing machine with Cu-Kα radiation, λ = 1.54 Å at scanning rate of 0.02°/s within the range of 20°–80°. The XRD pattern of the coated sample is shown in Fig. 1. The XRD pattern shows prominent diffraction peaks at 35.5° and 38.7° which refer to the predominance of the monoclinic CuO nanostructure in the coating [19, 20]. The coating grains were crystallites arranged in a specific orientation plane. The coating’s Crystallite size was calculated from the corresponding X-ray spectral peak by employing Debye–Scherrer’s formula. The calculation was based on the full-width half-maximum FWHM method. The Crystallite size of coating using the highest diffraction peak was 42 nm.

Fig. 1
figure 1

XRD pattern of CuO coated sample at 24 °C and 0.5 M oxalate concentration

Chemical composition of anodized coating was characterized using energy-dispersive X-ray spectroscopy EDX revealed that the oxygen content in the coated samples reached 70 wt%, which indicate the formation of copper oxide phase. From the XRD diffraction pattern and the EDX spectrum results, it was concluded that an anodized coating of copper oxide was successfully formed on copper using anodization electrochemical technique in oxalate solution.

The microstructure analysis for the coated samples was investigated using high-resolution field emission scanning electron microscopy (FESEM). This device is supported with a high energetic electrons beam generates by emitting from a heated tungsten source. The electron source joined with a scanning electron microscope (SEM) that supported a secondary electron detector. This microscope produces high-resolution surface imaging, which is due to its tiny electron beam size. It is about 1000 times smaller than that of the standard thermal electron gun microscope. The grain size was measured by the linear intercept analyzing method according to the ASTM E112-10 standard [21]. FESEM micrographic results were analyzed using image analyzing software. The images were analyzed using colored or B&W background with applying the suitable gray threshold to create the best binary views for the grain size and distributions. The average grain size was measured in four directions (0°, 45°, 90°, 135°) using the linear intercept method, according to ASTM standard test methods for determining average grain size. This method’s first step is to set the line spacing in three directions horizontal, vertical, and 45 degrees. The 45-degree line spacing was measured as (vertical/0.7) to plot lines of equal length in all directions, where the perpendicular distance between lines defined as (sin 45° = 0.707). The measured grain size smaller than three pixels was excluded from the calculations and considered noise. The grain size, d, was determined according to the following equation:

$$ d = \frac{l}{n} $$
(10)

where l real lengths of the selected lines, n number of grains that its boundary intercepted with that lines.

The pores percentage area of the samples was measured according to the ASTM standard test methods of E2109-1 [22]. Pores percentage area was measured in a selected region on images of the same magnification. The pores of small sizes, less than one pixel, were excluded from the calculations and considered noise. The pores percentage area was calculated from the percentage ratio of the area of the pores divided by the total cross-section area [22]. FESEM micrograph images were threshold with an appropriate range of gray values to create the best binary and three-dimensional view of pores distribution on the surface. Figure 2 shows well-distributed CuO nanoparticles prepared in oxalate solution. The coatings’ average grain size and porosity were ~ 44 nm and ~ 8.5%, respectively. The measurement methods for the investigation of coating morphological characteristics of grain size and porosity are also reported in another study [23].

Fig. 2
figure 2

Microstructure of nano-CuO coating prepared in oxalate solution

3.1 Thickness of Nanocoating

The thickness of the coating prepared in various oxalate concentrations, temperatures, and voltage was measured using FESEM and checked by electrical resistivity (ER) methods. The average thickness for each coated sample was measured from five FESEM results according to the ASTM Standard B487-85 [24] using the distance measuring tools of the image analyzing software.

The coating thickness was also measured by the electrical resistance of the surface. The average measurements of three different points for each sample were taken. The results of the measured coating thickness by this method were compatible with the values measured from FESEM.

The effects of coating parameters such as temperature, oxalate concentrations, and voltage on the coating thickness were assessed using the Taguchi method. The coating was prepared at the oxalate concentration of 0.1, 0.23, 0.36, and 0.5 M, temperatures of 0, 8, 16, 24 °C, and voltage of 7.5, 8, 8.5, and 9 V. These experiments were used to evaluate the effects of various coating parameters on the coating thickness. The evaluation was based on the signal-to-noise (S/N) ratio as shown in the following equation:

$$ {\raise0.7ex\hbox{$S$} \!\mathord{\left/ {\vphantom {S N}}\right.\kern-0pt} \!\lower0.7ex\hbox{$N$}} = - 10*\log_{10} \left[ {\frac{1}{n}\sum \frac{1}{{yi^{2} }}} \right]^{1} $$
(11)

where n number of observations, yi average value of the coating thickness.

The results show that the average coating thickness was 13 µm. The results of coating thickness and the corresponding S/N ratios are listed in Table 2.

Table 2 Average thickness of coating with their corresponding S/N ratio

The calculated values of S/N ratios for varied coating thickness by factor levels are listed in Table 3.

Table 3 Values of S/N ratio of varied coating thickness

Figure 3 demonstrates the effects of coating parameters on the mean S/N ratios considering the coating thickness. The result shows that the oxalate concentration in the coating solution was the most affecting parameter on the coating thickness, followed by the coating temperature.

Fig. 3
figure 3

Mean signal-to-noise ratio with respect to the average coating thickness as a function of the coating parameters

The results were further analyzed to evaluate the effect of temperature and oxalate concentration on the coating thickness. Figure 4 shows that the coating thickness decreased with the increase in coating temperature at the same oxalate concentration. Meanwhile, the coating thickness was increased with the increase in the oxalate concentration at the same temperature. The increase in oxalate concentration at the same temperature increases the electrical conductivity of the coating solution. This is because the increased conductive ions in the solution led to an increase in the coating rate. Since the time of coating was the same for all experiments, the coating thickness increased with increasing oxalate concentration.

Fig. 4
figure 4

The average thickness of the coating as a function of oxalate concentration and temperature

The results also show that the coating thickness decreased with the increase in coating temperature at the same oxalate concentration. This is due to the increase in the dissolution of cuprous oxide (Cu2O) as the temperature increased. In other words, the increase in temperature leads to a decrease in the coating thickness as a result of the rise in oxides dissolving rate.

3.2 Grain Size and Porosity of Nanocoating

The results also reveal that the decrease in temperature produced thicker coating with smaller grain size and less porosity, as shown in Figs. 5 and 6. This result is in line with the previous results [25]. The increased temperature increases the coating rate and the dissolution of the Cu2O in the solution. The results show that the temperature effect on coating dissolution was more than its effect on the coating rate. Therefore, the increase in coating temperature decreases the coating thickness. Similarly, the coating porosity increased with temperature as a result to the increase in Cu2O dissolution toward the solution [23], as shown in Fig. 6.

Fig. 5
figure 5

Average grain size of the coating as a function of oxalate concentration and temperature

Fig. 6
figure 6

Average porosity of coating as a function of oxalate concentration and temperature

Recently, nanotechnology has been utilized in developing and enhancing material’s optical, thermal, physical, and mechanical properties [26]. The increase in surface area results in the increase in quantum effect, which enhances the material properties by increasing the surface-to-volume ratio. The microstructural surface characteristics are important due to their effects on the surface area, where reducing grain size leads to increased surface area according to the partition of surface particles into tiny parts. The calculations of total surface area for the coated samples show that the highest surface area was recorded at the highest oxalate concentration and lowest temperature as shown in Fig. 7. This means that the better gas-sensing and thermal transfer properties can be achieved for coating formed under these conditions.

Fig. 7
figure 7

The total surface area of coating as a function of coatings oxalate concentration and temperature

The nanoscale grain size coating increased the surface area and enhanced the metal surface characteristics because of the increasing surface-to-volume ratio which increases the quantum effect. The nanocoating has the same effect because the fined surface increases the surface area of the substrate material. The smaller the grain size, the larger the ratio of surface area to volume. Therefore, the heat transfer can be improved by the nanocoating technique. Furthermore, the higher surface area for gas sensors means that the sensors have more exposure to the targeted gas and greater ability to detect gas presence at lower concentrations. Therefore, the nanocoating technique can contribute to develop a device for heat transfers and gas sensors by increasing its efficiency and reducing its size, which are considered as among the most important industrial challenges.

4 Effects of Solution Speed on Coating Characteristics

The characteristics of coatings prepared at the same operating condition with different solution speeds were compared to investigate the relation between solution speed and coating microstructure. The effects of coating solution speed on thickness, grain size, and porosity were evaluated to investigate its effect on the total surface area. The same set of coating experiments was carried out under three solution speeds of 0.00, 0.18, and 0.55 m/s. Figure 8 shows that the grain size and porosity of coating prepared in 0.3 M concentration were decreased with increased solution speed and decreased temperature.

Fig. 8
figure 8

Grain size and porosity of coating as a function of temperature and solution speed

The results also show that the minimum grain size and porosity were obtained for the coating prepared in 0.1 M oxalate concentration under the maximum solution speed of 0.55 m/s as illustrated in Figs. 9 and 10.

Fig. 9
figure 9

The grain size of the coating as a function of oxalate concentration and solution speed

Fig. 10
figure 10

Porosity of coating as a function of oxalate concentration and solution speed

From the calculated total surface area of the nanocoated samples formed under various solution speed, the highest surface area was achieved for the sample prepared in the lowest oxalate concentration of 0.1 M and lowest temperature as illustrated in Figs. 11 and 12.

Fig. 11
figure 11

The total surface area of coating as a function of oxalate concentration and solution speed

Fig. 12
figure 12

The total surface area of coating as a function of temperature and solution speed

Previous study found that the solution speed of the coating solution is an effective noise factor in the coating process which improves the ionic and charging transfer activity through the coating solution to form a nonporous coating with smaller grain size [23]. As a conclusion, based on the current investigation, it can be said that the better gas-sensing and thermal transfer properties are attainable from the nanocoating technique with effective parameters of the process, especially oxalate concentration, speed, and temperature of the coating solution.

5 Gas-Sensing Performance

The gas-sensing performance was tested using an experimental system consists of a test chamber with temperature controller, and voltmeter samples fixed on a heater tape plate over a ceramic holder. The inlet gas was controlled by a gas flow meter and passed through a block valve. Finally, vent gas was absorbed in methanol solution before releasing to atmosphere as illustrated in Fig. 13.

Fig. 13
figure 13

The testing system for gas-sensing performance

The sensing response of nano-CuO coated samples to CO gas was tested in a chamber. Then, the quantity of targeted CO gas (typically 200 ppm) was injected into the testing chamber. The resistance of sensor was recorded when it reached a constant value after 27 min. Then, the testing chamber was vented. The inverse relation between the grain size and resistance was observed from the recorded resistance for various nanocoated samples. The results show that the resistance of coating surface (in air and gas) was increased with the decrease in grain size as shown in Fig. 14.

Fig. 14
figure 14

Gas-sensing performance and resistance of coating as a function of grain size

Figure 14 shows that the highest percentage of CO gas-sensing response of 1.15 was achieved for nano-CuO coating of the smallest grain size. The highest percentage of CO gas sensitivity for nano-CuO coating was increased by 50% from 10.2 to 15.2 with the decrease in coating grain size from 59 to 25 nm as illustrated in Fig. 14. The increase in resistance of coating with the decrease in grain size is due to the enhancement of the total surface area with the reduction of grain size, as previously discussed in Sect. 3.2.

From all the above, it can be concluded that the gas-sensing response of the coating was increased by improving the surface area through decreased oxalate concentration and temperature, in addition to increased speed of the coating solution to 0.55 m/s.

The present study provides more technical details about the effect of the surface grain size, porosity, and solution speed on the gas-sensing performance. It confirms the good sensitivity of the nano-CuO coating prepared by the electrochemical oxidation method in oxalic acid solution to CO gas. These results are compatible with the previous results of the nano-CuO coating prepared by the heating method at a temperature of 500 °C for 5 h [26]. The effect of coating grain size was significantly enhanced the response to CO gas reaching compatible sensitivity with other research studies for CuO nanowires prepared at 350 °C and decorated with Pd nanoparticles [27]. It confirmed the significant influence of these surface characteristics on the sensing performance. Furthermore, the thermal effects of nano-CuO coating on the heat transfer efficiency of copper were also investigated [28]. The results reveal that the efficiency of heat transfer was enhanced by 96.5%. The enhancement was achieved by adjusting the effective parameters of the coating process, especially oxalate concentration, speed, and temperature of the coating solution, which increased the surface area about 350 times [28].

6 Conclusions

From the current study, the following notes can be concluded;

  1. 1.

    The thickness of coating increased with the increase in oxalate concentration at fixed coating temperature. The increase in coating thickness was due to the increase in electrical conductivity of the coating solution which led to increased coating rate.

  2. 2.

    The highest surface area was achieved for the coating prepared in the highest oxalate concentration and the lowest temperature.

  3. 3.

    The speed of the coating solution is an effective noise factor in the coating process. Increased solution speed has improved the ionic and charging transfer and formed a nonporous coating with smaller grain size.

  4. 4.

    The CO gas sensitivity of nano-CuO coating was increased by 50% due to the improvement of the surface area with decreased oxalate concentration and temperature at fixed solution speed of 0.5 m/s.

  5. 5.

    The increase in surface area by the nano-CuO coating enhanced the efficiency of heat transfer by 96.5%.