Detailed Analysis of Five Aspects Addressed to Minimize Costs and Waste in the Chemical Bath Deposition of CdS Films Using the Cd B – A C 6 H 5 O 7 – A OH – ( NH 2 ) 2 CS System

Five studies were conducted in order to produce less waste and economize the application of a CdCl2–Na3C6H5O7– KOH–H3BO3/NaOH/KCl–(NH2)2CS definite aqueous system in the chemical bath deposition of CdS thin films, as well as to generate supporting information helpful to explain the effects of varying certain parameters established for the use of this formulation. These studies are related to the utility of the pH 10 borate buffer, to the selection of the appropriate OH concentration, commercial alkali, and reaction temperature, and to the reusing of the residual solution. These studies were conducted by means of optical characterization, pH measurements, energy consumption tests, and chemical analysis; and all possible implications were analyzed in detail and widely supported by the literature. It is observed that the addition of 5.0 mL of pH 10 borate buffer in the reaction solutions only causes a slight reduction in the pH value and, therefore, in the thickness of the resulted films. It is observed that a decrease in CdCl2 concentration causes an increase in the pH values, and when such reagent concentration is varied it is necessary to determine the pH value at which the best CdS films can be obtained; this indicates the existence of an optimum pH of deposition, depending on the used reagent concentrations. It is demonstrated that the use of KOH and NaOH is interchangeable, and the advantages of NaOH are evaluated in the context of hygroscopicity, CO2 absorption, purity, and price. It is observed that the energy consumption when depositing a determined film is lower at high temperatures, and it is concluded that the time and energy savings at high temperatures are undoubtedly advantages in the deposition process of CdS thin films. A formulation to recycle the residual solution is presented, which is very important for the reducing of residual volume, and, therefore, in the minimizing of the environmental impact. An indirect objective of this work is to generate interest in identifying those points that could be modified in other chemical formulations to minimize costs and waste.


Introduction
Certainly, the main objective of the research groups focused on the development of photovoltaic devices, such as solar cells, is the fabrication of a product that achieves the maximum conversion efficiency.After an analysis of the literature, our working group concluded that, in addition to the conversion efficiency, the product becomes more valuable when the fabrication of the device is supported on the minimization of overall costs and the environmental friendliness.This means that several aspects related to the production of the constituent materials of such devices have to be modified.Therefore, we consider that the first steps to comply with the two raised points involve the following: a) the use of rapid, simple operation, and minimum energy consumption techniques; b) the use of inexpensive and accessible raw materials, and the achievement of their maximum use; and c) the use of low-toxicity reagents, combined with a lower production of waste.Of course, these actions should not affect, at least not to a large extent, the functional properties of the constituent materials of the devices of interest.
Although the interest by the scientific community in the environmental friendliness and the minimization of overall costs was apparently relegated to second place, there are some publications-which will be referred to in the following sections-in which the authors have con-sidered some issues related to the arguments mentioned in the previous paragraph.This is precisely which has motivated us to address the issues of the costs and environmental impact resulting from the process of synthesis of cadmium-sulfide (CdS) thin films, which is a semiconductor material that acquired interest from the scientific community-interest that has remained strong to date of publication of this work-due to the photovoltaic effect observed by Reynolds et al. during the course of their investigation with the photoconduction and rectifycation properties of CdS crystals, which was reported in 1954 [1], and to the possibility of fabricating photovoltaic cells from polycrystalline CdS films, as studied and demonstrated by Carlson et al. in their work reported in 1956 [2] and in that patented in 1958 [3].In this regard, we concluded that further research is required to improve the application or use of the techniques and methodseven the selection of raw materials-that have made great strides in reducing the environmental impact of waste produced, without adversely affecting the costs of synthesis or the CdS properties.
Among the techniques for the synthesis of thin films, it is well-known that the chemical bath deposition is a flexible, inexpensive, effective, and experimentally simple technique for the synthesis of semiconductor thin films in laboratory conditions [4], and it is probably the simplest available technique for such purpose [5].The earliest work reporting on the application of the chemical bath deposition technique for the synthesis of CdS thin films is credited to Mokrushin and Tkachev, with their work reported in 1961 [6], although CdS deposited from a thiosulfate ( ) solution was already noted by Allen et al. in 1912 [7].Anyway, with the work of Mokrushin and Tkachev [6] a standard aqueous reaction system consisting of three components was established: a cadmium-salt (CdB) as Cd 2+ ions source, thiourea ((NH 2 ) 2 CS) as S 2-ions source, and ammonium-hydroxide (NH 4 OH) as OH -ions source, which, in the ammonia (NH 3 ) form, also acts as a Cd 2+ ions ligand.
However, it was not until the report of Ortuño-López et al. in 2002 [52] when the use of NH 3 / was completely removed from this citrate-containing formulation by replacing the pH 10 ammonia buffer with pH 10 borate buffer-composed of boric-acid (H 3 BO 3 ), sodiumhydroxide (NaOH), and potassium-chloride (KCl)-, which was justified in terms of environmental friendliness one year later [53]; thus resulting in the CdCl 2 -Na 3 C 6 H 5 O 7 -KOH-H 3 BO 3 /NaOH/KCl-(NH 2 ) 2 CS definite system-in which the pH 10 borate buffer is included or not-which since this moment was labeled as ammonia-free system-although this label had been already used by Němec et al. in 2002 [54,55] for a system containing nitrilotriacetate ( ) as ligand.In addition, in 2004 Ortuño-López et al. reported another work [56] in which they succeeded in obtaining of CdS thin films using low concentrations of all the reagents, being able to use even the half of the concentrations used in the original ammonia-free citrate-containing formulation.Then, although with small variations in the concentrations of the reagents, this less-harmful formulation began to be widely used by research groups in Mexico and USA [4,[56][57][58][59][60][61][62][63][64][65][66][67][68][69][70][71], and in other countries [72][73][74].
It is important to highlight these small variations in the concentrations of the reagents often applied to this latter ammonia-free citrate-containing formulation, since the reports in which these variations were applied, although in some cases do mention the effect of this action on the properties of CdS films, do not include a solid argument to justify the application of such variations and to explain their effects.For environmental reasons we decided to perform our researches by using this less-harmful formulation, and in this work we decided to conduct studies-not only about the concentration of reagents-in order to experimentally support the changes that can be made to this formulation, all this in the context of economize its application and generate less waste.Henceforth, this less-harmful chemical formulation will be appointed as Ortuño-López-2004 formulation-see Table 1.
The studies to be performed are: 1) An investigation about the effect of adding the pH 10 borate buffer on the pH of the reaction solutions and the optical properties of the resulting CdS thin films.
2) Various tests, at a defined Cd 2+ concentration, to determine the OH -concentration with which a better adherence and wider interval of thickness can be obtained.
3) An investigation about the effect of using NaOH instead of KOH as source of OH -ions.
4) An investigation for determine the best reaction temperature that permits energy saving.
5) Various experiments to deposit thin films by using a reaction solution prepared from the residual solution after the first deposition reaction.
This work, by means of all these experiments, aims to generate interest in identifying those points that could be modified in other chemical formulations to minimize costs and waste, and generate information to chemically understand the effects of these modifications.For such purpose, all the experimentally studied issues presented in this work are analyzed in detail, and all the discussions are widely supported by the literature.For a better presentation of this paper, the results and discussion section is divided into five subsections, which begin with a brief background about the issue to be addressed.

Experimental Details
Reaction solutions with different concentrations were prepared for the CdS thin film synthesis in a 100-mL beaker by using the following stock reagent solutions: 0.05 M CdCl 2 (Spectrum, 95.0% purity), 0.50 M sodiumcitrate (Na 3 C 6 H 5 O 7 •2H 2 O, Fermont, 99.7% purity), 0.50 M KOH (J.T. Baker, 87.6% purity), 0.50 M NaOH (J.T. Baker, 98.6% purity), 0.50 M (NH 2 ) 2 CS (Fermont, 99.9% purity), and pH 10.01 borate buffer (J.T. Baker).Corning float glass microscope slides were used as substrates, which were washed with water and liquid soap and dried with a hair dryer prior to deposition reaction.The substrates were immersed in the reaction solution within 5 to 20 s after its preparation; thus, the difference between immersion time and reaction time is negligible compared to the duration of the studied reaction times and, therefore, immersion time and reaction time will be considered identical.Unless a different temperature is specified, the deposition reactions were done at 70˚C by submerging the 100-mL beaker containing the reaction solution and the substrates in a water bath inside a Lauda Ecoline Staredition RE 106 refrigerating bath/circulator, E 100 controller, with a chamber capacity of 6 L.
The substrates covered with CdS film were sequentially withdrawn from the reaction solution at different immersion times.At the end of each immersion time, the withdrawn substrates covered with CdS film were rinsed with distilled water, and the non-adhered precipitates on the film surface were removed using damp cotton and more distilled water.Then, the samples were dried in the air.The chemical formulation and the type of substrates employed here only allow adherence of the CdS thin films to the tin side of the substrates, however, in those cases in which CdS films were adhered to the non-tin side of the float glass substrate, the films were removed by using a cotton swab moistened with dilute hydrochloric-acid (HCl), and then the samples were rinsed with distilled water and dried in the air again.
A Dynatech Nevada Inc. 235A safety/ECG analyzer was used to determine the energy consumption of the electrical equipment containing the water bath.The pH For the study of the optical properties, the absorbance, A, of the samples was measured at an interval of wavelength, λ, from 300 to 1100 nm in the near-ultraviolet/visible/ near-infrared (NUV/Vis/NIR) spectrum using a Perkin Elmer UV-Vis Spectrometer Lambda 20 instrument.To measure A in the case of reaction solutions, a solution containing all the reagents, except the analyte, was used as the blank.In the measurement of thin films a Corning float glass slide was used as the blank.In this case, A will be referred to as the logarithm of the inverse of optical transmittance, log(T -1 ), since optical specular reflectance, R, was not measured.Under certain conditions, the log(T -1 ) value is proportional to the thin film thickness, d, and the absorption coefficient, α, by the following relation [75]: which can be reordered to include the term of interest: As will be seen in the spectra presented in the following sections, the increase in log(T -1 ) value with increasing reaction time, which naturally increases d, occurs at λ shorter than about 450 nm and longer than about 800 nm.Therefore, in this study the log(T -1 ) value at 400 nm will be used as a rough indication of the thin film d; the main aim of the use of this arbitrarily chosen λ, based on the latter, is to know the film growth tendency.The chemical bonding of the CdS thin films was analyzed by X-ray photoelectron spectroscopy (XPS) using a Perkin-Elmer Physical Electronics PHI 5100 spectrometer equipped with a non-monochromatic Mg Kα X-ray source (1256 eV) and a hemispherical analyzer.
As safety precautions, before starting the experimental reproduction of this work, we recommend to read the indications described in the material safety data sheets of all reagents used here, including for hydrogen-sulfide (H 2 S), which is produced by the reaction between CdS and HCl, and take the pertinent precautions.Also ensure that the generated residues will be treated or confined.

Omission of the pH 10 Borate Buffer
As mentioned in the introduction of this paper, the use of a pH 10 buffer in the Ortuño-López-2004 formulation is based on the observations derived from the synthesis of CdS in zeolites [36] and from the experience acquired [37][38][39][40] with the use of the standard formulation employed by the group made up by Zelaya-Angel and collaborators [37][38][39][40][41][42][43][44][45][46][47][48][49][50][51].Although it is thought that the purpose of the addition of pH 10 buffer in this formulation is to regulate the pH of the reaction solution throughout the course of the deposition reaction, there are no reports that demonstrate this assumption.In fact, the volume reported of pH 10 buffer-specifically a pH 10 borate bufferadded to the reaction solution, whose final volume is 100.0 mL, was decreased from 20.0 [52] to 5.0 mL [53] with no observed adverse results.On the other hand, it is well-known that the buffer capacity depends on the total concentrations of the chemical species that have this buffering effects [76], which greatly decreases when a dilution as drastic as 1:20 is performed, which is obtained by diluting 5 mL of buffer to a final volume of 100 mL, as done in the Ortuño-López-2004 formulation.This suggests that the omission of the pH 10 borate buffer does not affect the properties of CdS films.However, it is necessary to determine the true effect of the addition of pH 10 buffer to the reaction solution.
To date, the only work that provides information about the effect of adding 5.0 mL of pH 10 borate buffer in the Ortuño- López-2004 formulation is that reported by Ochoa-Landín et al. in 2009 [60].They synthesized four sets of CdS thin films within the parameters of temperature, reagent concentration, and immersion time that were used in the work reported by Ortuño-López et al. [56], but with the difference that no buffer was added to the reaction solutions.Then, they compared their results with those reported by Ortuño-López et al. five years ago [56], finding only minor differences, which provided arguments for their discussion.A critical comparison between the two mentioned publications clarifies the high similarity of the general properties of CdS thin films deposited with and without pH 10 borate buffer, despite that they were made by different persons and probably with different batch reagents, but maintaining unchanged the rest of the conditions specified in the Ortuño-López-2004 formulation.At first sight, this is indicative of the high reproducibility of using this formulation, even with the addition of certain chemicals.
However, aimed to confirming the existence of those minor differences in the properties of the CdS thin films deposited from reaction solutions containing and not containing pH 10 borate buffer, and, if such minor differences exists, to determine their causes, we proceeded to repeat the synthesis of CdS thin films reported in both publications under the same working conditions and using the same stock reagent solutions for all the deposition reactions.This consisted of four sets of CdS films, for whose synthesis the volume of 0.05 M CdCl 2 was varied -in this case by using 10.0, 12.0, 13.5, and 15.0 mLaccording to the specifications described in Table 1.The log(T -1 ) spectra of the resulted CdS thin films deposited during 15 min of reaction are shown in Figure 1, whose analysis is discussed in the following paragraphs.
Several observations resulted from varying the CdCl 2 volume and from the use or omission of the pH 10 borate buffer.First, the thin films were destroyed with the damp cotton when 10.0 mL of 0.05 M CdCl 2 was used regardless of adding the pH 10 buffer or of the studied immersion time.Second, when 12.0 mL of CdCl 2 was used the thin films were destroyed with the damp cotton at immersion times greater than 20 min, regardless of the addition of the pH 10 buffer.Third, as the amount of CdCl 2 was increased, maintaining constant the immersion time, the log(T -1 ) values also increased.According with that discussed with Equation (2), this is directly related to the increase in thin film d.This increase in the growth rate by increasing the Cd 2+ ions amount is widely supported by the literature [56,60,[77][78][79][80][81][82][83][84][85][86].Fourth, as reported by Ochoa-Landín et al. [60], there is a slight difference between the films deposited in a reaction solution containing pH 10 borate buffer, compared with those deposited in the absence of the buffer.In our experience, that small difference between films obtained in two different deposition runs usually results from slight errors in the measurement of the reagent volumes used for the preparation of the reaction solutions; however, this experiment was repeated several times and always resulted in the same tendency.Therefore, this small difference in the log(T -1 ) spectra due to a slight decrease in the d-according to Equation (2)-of the films deposited in the presence of the pH 10 buffer, for each immersion time and CdCl 2 concentration, is definitely an effect of the addition of the buffer.One parameter that has not been considered up to this point, and a very important one that also affects the growth rate of the CdS thin films and that could explain the foregoing is the pH of the reaction solutions, whose effect on the growth rate of CdS thin films-or in the precipitation rate of CdS-has been noted by several authors [54,[78][79][80][81][87][88][89].
To corroborate if the pH of the reaction solutions with and without pH 10 borate buffer is responsible for the small differences in the d of deposited films, we measured the pH of each reaction solution used in the present study, and the results are shown in Figure 2. A very important observation resulting from this measurement is that the pH values of all the reaction solutions are always higher than 12.This means that the addition of a defined volume of pH 10 buffer naturally will cause a decrease in the pH of the reaction solution, as shown in the figure, in which all the pH values of solutions prepared with the pH 10 borate buffer were lower than those of the solutions prepared without the buffer, for each CdCl 2 concentration measured.This study revealed a decrease of about 0.03 pH units-at pH values around 12-when 5.0 mL of the pH 10 borate buffer was added to the reaction solutions, this being the cause of the slight decrease in growth rate of the thin films deposited in the presence of the buffer.Furthermore, due to the high pH values of the reaction solutions, the buffer capacity of the pH 10 borate buffer, efficient at pH 10, is completely lost, and its addition to the reaction solutions only causes the mentioned slight decrease in the pH values.Moreover, the addition of the pH 10 borate buffer creates the possibility of doping the resulting CdS thin films with boron atoms, according to the discussed in the reports of several authors who used H 3 BO 3 for doping CdS [90][91][92][93][94][95][96][97].On the other hand, simply decreasing in about 0.20 mL the volume of KOH in those solutions without the pH 10 buffer is enough to match the pH values of the solutions with and without the buffer-or otherwise, by increasing about 0.20 mL the volume of KOH in the solutions with the buffer.This leads to similar films for both cases, which shows that it is not necessary to add a volume of pH 10 borate buffer to the studied CdCl 2 -Na 3 C 6 H 5 O 7 -KOH-(NH 2 ) 2 CS definite system.Moreover, eliminating the use of the pH 10 borate buffer allows reagent saving and reduction of processes.However, the possibility of testing the buffer efficiency of some systems at pH values around 12 is not discarded, or, even, to test whether such buffering is really necessary.

Selection of an Appropriate pH
An important aspect of Figure 2 is that an increase in 0.05 M CdCl 2 volume leads to a decrease in the pH values of the reaction solutions.This is understood when considering the interaction between Cd 2+ ions or cadmium-citrate complexes and OH -ions, according to the following general equation: In accordance with this equation, by increasing the CdCl 2 amount and keeping constant the KOH amount the reaction is displaced to the right, to the formation of the [Cd(C 6 H 5 O 7 ) b (OH) h (H 2 O) 6 -3b -h ] 2 -3b -h species with subsequent reduction of free OH -ions, according to the principle of Le Châtelier.Therefore, when maintaining constant the concentration of the other reagents, it is clear that a decrease in the CdCl 2 concentration results in an increase of the pH value of the reaction solution.This could alter the delicate chemical species distribution that gives rise to compact and good quality CdS films.This means that, when the CdCl 2 concentration is varied, a pH adjustment is necessary, or even, a determination of the pH value at which the best CdS films can be obtained.
For example, our working group chose to perform the investigations by using a low concentration of CdCl 2 , in this case a Cd 2+ concentration of 6 mM in the final reaction solution volume, obtained by using 12.0 mL of 0.05 M CdCl 2 in 100.0 mL of reaction solution.As mentioned in the previous section, this CdCl 2 concentration results in CdS films that are destroyed with the damp cotton after 20 min of immersion, an observation similar to that reported by Ortuño-López et al. [56] and Ochoa-Landín et al. [60] when they used 10.0 mL of 0.05 M CdCl 2 .To corroborate if the effect of a specific pH value of the re-action solution is the cause of this poor quality of the films, we synthesized and characterized four sets of CdS thin films in which, by using 12.0 mL of 0.05 M CdCl 2 and no pH 10 borate buffer, the KOH concentration and the immersion time were varied, and the results are presented in Figure 3, in which it is first evident that the thin film growth rate increases by increasing the pH.
The figure shows that when using 5.0 mL of 0.50 M KOH, the maximum log(T -1 ) value at 400 nm and, therefore, the maximum d are obtained at 10 min of reaction, indicating a high deposition rate-apparently in a homogeneous precipitation tendency-that consumes the reactive chemical species at short immersion times.Also, this culminates with the destruction of the films with the damp cotton at immersion times greater than 20 min, as mentioned above.Something similar happens when using 4.0 mL of 0.50 M KOH, with the difference that the maximum d is obtained at 15 min and that no destruction occurs at any studied immersion time.The wider interval of d-wider interval of log(T -1 ) values-is obtained by using 3.0 and 2.0 mL of 0.50 M KOH, being higher when using 3.0 mL.A similar result when selecting a specific immersion time value, but greater than 15 min with the aim to compare with our case, was noticed by Němec et al. [54] and Khallaf et al. [89] for nitrilotriacetate-containing aqueous systems.
For this reason, we selected 3.0 mL of 0.50 M KOH as the most appropriate volume for the synthesis of CdS thin films when 12.0 mL of 0.05 M CdCl 2 is used maintaining constant the other reagents, which leads to a pH equal to 11.92.When using more than 3 mL of KOH the maximum d is getting smaller, although it is reached at immersion times increasingly lower.From this study it is clear that there is an optimum pH value of deposition for each concentration of reagents.Furthermore, this opens the possibility to use even lower amounts of CdCl 2 -even lower than 10 mL, which is the minimum value studied by Ortuño-López et al. [56] and Ochoa-Landín et al. [60]-to obtain CdS thin films once the optimum pH of synthesis for the selected Cd 2+ concentration has been determined.Besides the reduction in the costs of raw materials, this allows the reduction of toxic material concentration in the reaction residues.

Use of NaOH Instead of KOH
Another important aspect for the reduction of costs in the area of raw materials used for the synthesis of CdS thin films is the implementation of the use of reagents that are inexpensive and generate higher yields.A clear example of this is the substitution of KOH, the commonly used alkali, by NaOH, which is a more advantageous reagent.The most relevant subjects that were considered for this comparison are the hygroscopicity and absorption of carbon dioxide (CO 2 ) from the environment, and the purity and price of the commercial presentations.
In the cases of water and CO 2 absorption, it is wellknown that KOH is more hygroscopic than NaOH-in fact, KOH is a desiccant of greater intensity than NaOH [98]-and it is a better absorber of CO 2 compared with the absorbing capacity shown by NaOH [99].Also, there are some reports that showed that KOH aqueous solutions are better CO 2 absorbers than NaOH aqueous solutions [100][101][102].For reagent solution preparation and storage purposes, these aspects are a disadvantage of KOH, since to prevent rapid loss of purity due to the absorption of water and the formation of carbonate ( ) as a consequence of absorption of CO 2 [101], its handling requires more care compared with NaOH.This is not a justification for neglecting the preparation and storage processes of NaOH solutions.Although the NaOH solutions require less care, we recommend a quick preparation of the NaOH solutions-and the same for KOH solutions-in a low humidity and low CO 2 environment, a subsequent titration of the solutions to corroborate the molarity, and their storage in a sealed plastic container.

CO
On the other hand, when considering the prices for bottles with 500 g of product-pellets, reagent, ACStaking as an example the Spectrum reagent brand, through its 2013 website, the NaOH bottle is more economical, with a price of US$ 70.00, whereas the KOH one has a price of US$ 77.90; that is, 500-g bottles of commercial NaOH are 10.14% cheaper than KOH ones.However, two more important considerations than the product bottle price is the purity of the commercial material and the molar mass of the compound, since NaOH, besides having a lower molar mass, is commonly obtained with a purity of about 97.0%, whereas KOH is obtained with about 85.0% purity.This means that a 500-g bottle of commercial NaOH contains 12.125 mol of OH -ions, whereas 500-g bottle of commercial KOH only contains 7.576 mol of OH -ions.In conclusion, taking into account molar mass of the compounds and price and purity of the commercial materials, the price of each mole of KOH is US$ 10.28, whereas the price of each mole of NaOH is only US$ 5.77-see Table 2.This means a monetary saving of 43.9% in cash destined to the OH -source reagent when using NaOH instead of KOH, which becomes very important in the industrial scale production of CdS.
Definitely, it is more convenient the use of NaOH than KOH.However, to confirm if their use is interchangeable, we deposited CdS thin films at different immersion times by using 3.0 mL of each 0.50 M alkali, 12.0 mL of 0.05 M CdCl 2 , and no pH 10 bo ate buffer, resulting in r slight differences-much smaller than those caused by the addition of pH 10 buffer-between the films deposited in both cases, for each immersion time, as shown in Figure 4.These slight differences, mainly at long immersion times, are due to minuscule experimental errors in the preparation of the stock reagent solutions, specially for the hygroscopic KOH reagent, and in the measurement of the reagent volumes used for the preparation of the reaction solution, as well as the arrangement of the substrates in the reaction beaker, as we noticed experimentally.With this study, the economic advantage in reducing reagent costs as well as process costs is clear when NaOH is used instead of KOH.
reaction solution, under which good quality films can be obtained, depending on the selected reagent concentrations, must be clearly identified.

Selection of a Convenient Temperature
One would think that the synthesis of CdS thin films at room temperature, or simply at low temperatures, is an advantage in the applying of a given chemical formulation in the deposition process.However, several authors have reported explicitly or implicitly that the lower the reaction temperature the lower the thin film growth rate [12,15,20,21,23,28,34,35,54,[77][78][79][80][81]84,87,90,[103][104][105][106][107][108][109][110][111][112][113][114][115][116][117][118][119][120][121].Thus, without delving into the cases in which homogeneous precipitation is favored, which limits the maximum d-a limit which was directly reported [12,15,21] or simply evident in the results reported [115,118,120] by some authors-the use of low temperatures lengthens the time required to achieve a thin film with determined d compared to the time required at higher temperatures.For example, Figure 5 shows the log(T -1 ) value at 400 nm of the CdS thin films synthesized by using the economical formulation at different temperatures and different immersion times, and it confirms the increase in thin film growth rate with increasing temperature.This indicates that, for example, to achieve a log(T -1 ) value at 400 nm of 0.32, obtained during 160 min at 30˚C, an immersion time of 15 min at 70˚C is only required.This time saving when using high reaction temperatures is undoubtedly an advantage in the deposition process of CdS thin films.
Due to the omission of the pH 10 borate buffer, the use of minimum amounts of Cd 2+ and OH -ions, and the advantages of using NaOH instead of KOH, the resulting chemical formulation becomes more economical and less harmful.Mainly for the economical reason, from this point on we will refer to it as economical formulation-although this can be further enhanced-whose specifications are depicted in Table 3.These specifications can be changed-usually a variation in the Cd 2+ concentration is done-but it is necessary to take into account that the deposition conditions, like the pH of the On the other hand, although different authors have included in their reports studies in which the reaction    temperature is varied [12,15,[20][21][22][23][24]27,28,34,35,54,73,[77][78][79][80][81]84,85,87,89,90,, there is no report about the energy consumption of the equipment that keeps constant the temperature of the water bath at a selected value.
For this purpose, we measured the energy consumption during the first minutes when a temperature of 30˚C, 50˚C, and 70˚C is achieved, starting from a water bath at 25˚C.We observed that, as expected, the higher the temperature value to be reached the greater the time required to achieve it.Figure 6 shows the power, P, calculated by using the current, I, data recorded by the electrical safety analyzer from the moment at which the electrical equipment containing the water bath-connected to a 120-V line-was switched on until the moment when the selected temperature was stabilized.A P of about 1.36 kW was calculated during the heating mode until the water bath reached the selected temperature, which took about 1.3, 8.4, and 16.3 min to reach 30˚C, 50˚C, and 70˚C, respectively.Therefore, the higher the temperature to be reached the greater the energy consumed to achieve it.Furthermore, the continuous heating causes the system to reach about 0.4˚C above the selected temperature value, which activates the cooling mode, for which a P value between about 0.3 and 0.8 kW was recorded.Then, the energy consumption becomes progressively smaller until a stable temperature and stable P are achieved.From this moment, the water bath can be used for a reproducible deposition of thin films.The P from this point on was recorded with an average value of about 0.024, 0.060, and 0.132 kW, for temperatures of 30˚C, 50˚C, and 70˚C, respectively, with fluctuations that depend on the times at which the heating and cooling modes are activated.
The above means that reaching a higher temperature carries higher energy consumption.However, a method could be designed to maximize the use of the hot water to avoid wasting the energy used for the heating.On the other hand, once the selected temperature is stabilized, the maintenance of a higher temperature also consumes more energy.At this point, however, to obtain a given d value, the total energy consumption is lower at higher temperatures.For example, to obtain a film with log(T -1 ) at 400 nm equal to 0.32 are required about 0.024 kW during 160 min at 30˚C, this is a total energy of 230.4 kJ; to obtain the same value of log(T -1 ) are required about 0.060 kW during 40 min at 50˚C, this is a total energy of 144.0 kJ; and for the case at 70˚C, are required about 0.132 kW during 15 min, this is a total energy consumption of 118.8 kJ.By considering that the total energy spent is lower at higher temperatures when the selected temperature is stabilized, in addition to the saving time, the use of high temperatures for deposition reactions definitely is more convenient.

Reutilization of Reaction Residues
In addition to production costs, it is also necessary to consider the costs resulting from the treatment of the chemical waste generated after the chemical bath deposition of CdS thin films.It is also very important to reduce the environmental impact of this chemical waste.Some aspects in reducing the environmental impact and the treatment costs of the generated chemical waste is the reduction of toxic compounds concentration-which has been dealt in previous sections-as well as of the residual volume.
A few authors have addressed some points related to these issues.For the case of a citrate-ammonia-containing system, the group of Nair and Nair conducted a mathematical model which can qualitatively account for most of the features of the experimental growth curves of the chemically deposited semiconductor thin films [84], a model that was used to study the thin film yield as a function of the separation among substrates in batch production, and they established that there is an optimum separation at which, for a given bath composition and temperature, about 90% of the maximum possible process yield is achieved [125]; based on this, they reported the achieving of a thin film yield of almost 100% for CdS with final d of about 50 nm by using very small substrate separation-0.1 mm- [133].With the aim to improve yield and reduce waste in other ammonia-containing systems, Hariskos et al. synthesized CdS thin films by using fresh CdCl 2 solutions and reusing the NH 4 OH and (NH 2 ) 2 CS contained in the permeate separated from the waste after the deposition reaction [134], whereas Malinowska et al. implemented and described processes to recover and recycle NH 4 OH [135] and Cd 2+ ions [136].On the other hand, the group of O'Brien presented a process in which low Cd 2+ ions concentration is used-achieved through the use of ethylenediamine (H 2 NCH 2 CH 2 NH 2 ) as ligand instead of NH 3 -and a reaction system in which, among others aspects, the substrate is heated instead of the whole reaction solution in order to assist the heterogeneous precipitation, thus making more efficient the production of CdS films [137,138].The heating of the substrate was later used in a variation of the chemical bath deposition technique, which also utilizes a small volume of reaction solution, thus further increasing the efficiency of the reagents; this technique, described by McCandless and Shafarman [139,140] and used for the deposition of ultra-thin films, is called as chemical surface deposition [139][140][141][142][143][144]-with a slightly different arrangement, it has also been called as shallow chemical bath deposition [145,146].All these and other approaches should be implemented or emulated to improve markedly the efficiency of a determined chemical formulation to deposit CdS thin films.
In a similar way to that reported by Hariskos et al. [134], we performed several experiments with the aim of determining the possibility of recycling the chemical residual solution generated from the deposition of CdS films by using the economical formulation.For this purpose, it was first necessary to identify which chemical reagents remain in the residual reaction solution and their concentration.Therefore, it is important to understand the reaction that occurs among all the reactants present in the reaction solution to give the CdS product, which can be summarized-by considering the formation of cyanamide (NH 2 CN) as a final product of the hydrolysis of (NH 2 ) 2 CS [147]-by the following general equation: According to the above equation, Na 3 C 6 H 5 O 7 is not consumed, since acts as a Cd 2+ ions ligand, which gradually releases Cd 2+ ions during the course of the CdS formation reaction.Because of the used concentrations of reagents, which can be calculated from the data depicted in Table 3, the CdCl 2 compound is the limiting reagent, thus, theoretically, its consumption must be completed, and, therefore, the consumption of (NH 2 ) 2 CS should be proportional to the synthesized CdS.On the other hand, the reduction of OH -concentration, which is more complicated than the expressed in Equation ( 4) since NH 2 CN is hydrolyzed into products that apparently interact with OH -ions [147], can be known by a simple pH measurement with a glass electrode.The simplest way to know the approximate amount of reagents consumed is by determining the portion of (NH 2 ) 2 CS consumed after a deposition reaction.For this, we measured the intensity of the absorption peak at 236 nm at the beginning and at the end of the reaction-1 h of reaction.Figure 7 shows the result of this measurement, which was conducted after performing a dilution of 1:500 of the fresh and residual reaction solutions.The observed decrease in A is due to a loss of about 9% of the amount of (NH 2 ) 2 CS, indicating that a large amount of this compound remains in the residual reaction solution.Additionally, this 9% of (NH 2 ) 2 CS almost coincides with the amount of Cd 2+ present at the start of the reaction, which indicates a high consumption of the Cd 2+ ions to form CdS.
By considering the above, we proceeded to take 90.0 mL of the residual solution, which is almost the 100% of the residual volume generated in one experiment conducted with the original fresh reagents.This volume of residual solution was obtained by filtering the final reaction solution, which, before filtering, was cooled during 1 h after finished the first deposition reaction.This residual solution contained, as determined experimentally, about 91% of the original (NH 2 ) 2 CS, and, theoretically, 100% of the original Na 3 C 6 H 5 O 7 , besides remained OH - and Cd 2+ ions and reaction byproducts.By using the residual solution, we replenished the consumed reagents for a second deposition reaction, but this was not enough to obtain compact and well adhered to the substrate CdS films, besides the thin film growth rate was decreased.As also observed by Hariskos et al. [134], the reaction byproducts apparently are responsible for the decrease of the thin film growth rate, impacting even-as we noticed and mentioned above-the quality and adhesion of the films.More research is required to identify the species responsible for this finding.
Due to the adverse results, we performed various tests by using 90.0 mL of the residual solution and different amounts for each stock reagent solution: 2.5 to 10.0 mL of 0.05 M CdCl 2 , 1.0 to 10.0 mL of 0.50 M (NH 2 ) 2 CS, and 1.0 to 3.0 mL of 0.50 M NaOH.These amounts were varied not only to replenish the consumed reagents, but to find again the equilibrium among those chemical spe-cies that promote good quality CdS films, but now in the presence of the byproducts.The best CdS films were obtained when using the amounts specified in Table 4.The log(T -1 ) spectra of the films deposited during 20, 40, and 60 min of immersion by using these amounts is presented in Figure 8, which also shows the spectra for thin films deposited every 10 min during the first hour of reaction by using the original fresh reagent amounts of the economical formulation.The figure shows that the log(T -1 ) spectra of the thin films deposited during 40 and 60 min by employing the residual solution are almost identical, which indicates that the reaction finished at about 40 min.Furthermore, these spectra are compared only with the spectrum obtained just at 10 min by using fresh reagent solutions, besides the approximate λ where the log(T -1 ) begins to increase was displaced to shorter values.However, the results are acceptable because this process permits the recycling of the residual solution.
Moreover, Figure 9(a) and Figure 9(b) show the XPS results for the thin films deposited during 60 min for both conditions-prepared with fresh reagents and prepared with the residual solution.This study was conducted

Conclusions
Because the pH of a reaction solution prepared by using the Ortuño-López-2004 formulation is always higher than 12, the addition of a certain volume of pH 10 borate buffer will cause a reduction in that value.The slight difference in the pH values of the reaction solutions prepared with and without the 5.0 mL of pH 10 buffer results in slightly different thin film growth rates, and, hence, in slightly different d values when the thin films are deposited during the same immersion time using a defined Cd 2+ concentration.The thin film d values can be matched when the initial pH values are equal.This means that the omission of the use of the pH 10 borate buffer in the Ortuño-López-2004 formulation does not cause adverse results.Due to the existence of a chemical equilibrium between the cadmium-citrate complexes and cadmiumcitrate-hydroxo complexes, a decrease in the CdCl 2 concentration causes an increase in the pH value of the reaction solution.This change in Cd 2+ concentration and pH value could alter the delicate chemical species distribution that gives rise to good quality and well adhered to the substrate CdS thin films.Therefore, when the CdCl 2 concentration is varied it is necessary to determine the pH value at which the best CdS thin films are obtained, which indicates the existence of an optimum pH of deposition depending on the used reagent concentrations.
It was demonstrated that the use of NaOH and KOH is interchangeable, since no optical differences were observed among the thin films deposited at the same immersion time and conditions, regardless of the used alkali.This reason, in addition to the lesser hygroscopicity, lesser CO 2 absorption, higher purity, and lower price of the NaOH, is sufficient to justify the use of NaOH instead of KOH as OH -ions source.
When selecting a reaction temperature, it was observed that the higher the temperature to be reached the greater the time required to achieve it and, therefore, the greater the energy consumption.However, once the selected temperature is stabilized, it was observed that the total energy consumption to obtain a determined thin film d is lower at high temperatures.On the other hand, it was observed that the higher the temperature the higher the thin film growth rate and, therefore, the lower the time required to obtain a thin film with determined d.This time and energy savings at high temperatures are undoubtedly advantages in the deposition process of CdS thin films.
The reaction byproducts generated during the deposition reaction apparently affect the thin film growth rate, which is evident when the residual solution is used for a second CdS thin film deposition.However, a chemical formulation to recycle the residual solution was designed, which, although it did not allow to obtain films with d values similar to those obtained from fresh reagent solutions, it resulted in CdS thin films with acceptable quality.However, more studies are required to match the properties of the CdS thin films deposited by using the residual solution with those of the films synthesized during the first deposition using fresh reagent solutions.The development of this work allowed us to understand the different aspects that can be modified for the design of a chemical formulation that allows costs reduction in the chemical bath deposition of CdS thin films, and whose generated residues are capable to be recycled for a second CdS thin film deposition.

Figure 1 .
Figure 1.Variation of the logarithm of the inverse of optical transmittance of CdS films deposited at 15 min with different 0.05 M CdCl 2 volumes, by using the Ortuño-López-2004 formulation with and without pH 10 borate buffer.

Figure 2 .
Figure 2. Variation of the pH of the reaction solutions prepared by means of the Ortuño-López-2004 formulation with and without pH 10 borate buffer as a function of the 0.05 M CdCl 2 volume.

DetailedFigure 3 .
Figure 3. Logarithm of the inverse of optical transmittance of the CdS thin films deposited at different immersion times by using 100.0 mL of reaction solution prepared with 12.0 mL of 0.05 M CdCl 2 , 20.0 mL of 0.50 M Na 3 C 6 H 5 O 7 , Y mL of 0.50 M KOH, 10.0 mL of 0.50 M (NH 2 ) 2 CS, and water; where Y is equal to (a) 5.0, (b) 4.0, (c) 3.0, and (d) 2.0.

Figure 4 .
Figure 4. Logarithm of the inverse of optical transmittance of the CdS thin films deposited at different immersion times by using 100.0 mL of aqueous reaction solution prepared with 12.0 mL of 0.05 M CdCl 2 , 20.0 mL of 0.50 M Na 3 C 6 H 5 O 7 , 3.0 mL of 0.50 M alkali, either KOH or NaOH, 10.0 mL of 0.50 M (NH 2 ) 2 CS, and water.

Figure 5 .
Figure 5. Logarithm of the inverse of optical transmittance at 400 nm of the CdS thin films deposited at different temperatures and immersion times by using the economical formulation.

Figure 6 .
Figure 6.Variation of the power calculated for the Lauda Ecoline Staredition RE 106 refrigerating bath/circulator as a function of the switched on time, taking into account the current recorded by the Dynatech Nevada Inc. 235A safety/ ECG analyzer to reach a temperature of (a) 30˚C, (b) 50˚C, and (c) 70˚C, starting from 25˚C.

Figure 7 .
Figure 7. Absorbance of a reaction solution prepared according to the economical formulation at the beginning and the end of the deposition reaction, after a dilution of 1:500.

Figure 8 .Figure 9 .
Figure 8. Logarithm of the inverse of optical transmittance of CdS thin films deposited during 10, 20, 30, 40, 50, and 60 min by using fresh reagent solutions, according to the economical formulation, and during 20, 40, and 60 min by using the residual solution, according to the formulation for a second CdS thin film deposition.

Table 1 . Formulations for the chemical bath deposition of CdS thin films using pH 10 borate buffer, as studied by Or- tuño-López et al. [56], and not using pH 10 borate buffer, as studied by Ochoa-Landín et al. [60].
Detailed Analysis of Five Aspects Addressed to Minimize Costs and Waste in the Chemical Bath Deposition of CdS Films Using the CdB-AC 6 H 5 O 7 -AOH-(NH 2 ) 2 CS System 390

Table 3 . Economical formulation for the synthesis of CdS thin films.
Copyright © 2013 SciRes.MSA Detailed Analysis of Five Aspects Addressed to Minimize Costs and Waste in the Chemical Bath Deposition of CdS Films Using the CdB-AC 6 H 5 O 7 -AOH-(NH 2 ) 2 CS System 395

Table 4 . Formulation for a second CdS thin film deposition by reusing the residual solution.
Copyright © 2013 SciRes.MSA Detailed Analysis of Five Aspects Addressed to Minimize Costs and Waste in the Chemical Bath Deposition of CdS Films Using the CdB-AC 6 H 5 O 7 -AOH-(NH 2 ) 2 CS System 398