Next Article in Journal
Nonlocal Total Variation Using the First and Second Order Derivatives and Its Application to CT image Reconstruction
Previous Article in Journal
Spatio-Temporal Representation of an Electoencephalogram for Emotion Recognition Using a Three-Dimensional Convolutional Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Performing Calibration of Transmittance by Single RGB-LED within the Visible Spectrum

by
Daniel Carreres-Prieto
1,*,
Juan T. García
1,*,
Fernando Cerdán-Cartagena
2 and
Juan Suardiaz-Muro
3
1
Department of Mining and Civil Engineering, Technical University of Cartagena, 30202 Cartagena, Spain
2
Department of Information and Communications Technologies, Technical University of Cartagena, 30202 Cartagena, Spain
3
Department of Electronic Technology, Technical University of Cartagena, 30202 Cartagena, Spain
*
Authors to whom correspondence should be addressed.
Sensors 2020, 20(12), 3492; https://doi.org/10.3390/s20123492
Submission received: 8 April 2020 / Revised: 2 June 2020 / Accepted: 17 June 2020 / Published: 20 June 2020
(This article belongs to the Section Optical Sensors)

Abstract

:
Spectrophotometry has proven to be an effective non-invasive technique for the characterization of the pollution load of sewer systems, enabling compliance with new environmental protection regulations. This type of equipment has costs and an energy consumption which make it difficult to place it inside a sewer network for real-time and massive monitoring. These shortcomings are mainly due to the use of incandescent lamps to generate the working spectrum as they often require the use of optical elements, such as diffraction gratings, to work. The search for viable alternatives to incandescent lamps is key to the development of portable equipment that is cheaper and with a lower consumption that can be used in different points of the sewer network. This research work achieved the following results in terms of the measured samples: First, the development a calibration procedure that enables the use of RGB-LED technology as a viable alternative to incandescent lamps, within the range of 510 to 645 nm, with high accuracy. Secondly, demonstration of a simple method to model the transmittance value of a specific wavelength without the need for optical elements, achieving a cost-effective equipment. Thirdly, it provides a simple method to obtain the transmittance based on the combination of RGB colors. Finally its viability is demonstrated for the spectral analysis of wastewater.

1. Introduction

The European Union states that in order to improve indicators of compliance with the Urban Wastewater Treatment Directive, Directive 91/271, it is necessary to reduce pollution emitted through combined sewer overflows (CSOs) [1,2]. At the same time, it is recognized that there is still a lack of knowledge about how pollutants are mobilized in CSOs [3,4,5]. Overflows are closely related to rainfall, thus presenting a great variability both in their volume and in the pollutant load they transport. In addition, they can vary enormously throughout the same episode, registering pollution peaks, which in turn can be reduced to very low values in intervals of minutes [6,7,8]. These reasons make it necessary to devote significant efforts to the monitoring of overflows in order to quantify the impacts on the receiving environment, taking into account the characteristics of that environment [9,10,11]. The US DSS control policy (Clean Water Act) includes nine minimum controls to be carried out by landfill owners, including monitoring and evaluation of the contaminating load [12,13].
The monitoring of pollution in sewer networks can be at different levels, from merely taking some periodical samples to be analyzed in the lab, to the continuous monitoring of pollutants. The measurement of continuous values of turbidity, pH, conductivity, temperature, nutrients, and organic compounds through spectrophotometric probes today constitutes robust techniques that enable the mobilization of pollutants to be characterized throughout the day, on-line and continuously [4,5,14,15]. Furthermore, on-line monitoring helps in the planning of actions and infrastructures and is required in order to comply with existing legislation on wastewater treatment [16,17]. Nowadays, to address the CSOs’ pollutant dynamics, time-continuous transmittance measurements have been used with satisfactory results. Measurements are taken at several wavelengths, like those of the visible and 254 nm UV wavelengths [9,18,19]. Spectroscopy devices capable of working in the visible spectrum, such as those made of RGB-LED, will help to increase knowledge of pollutants’ movement and water quality monitoring during CSOs [20].
Cost-effective spectrophotometers based on LEDs are being developed and spread to determine wastewater pollution with high accuracy [21,22,23,24], and their comparison with transmittance calculated from classical devices based on incandescent lamps shows good agreement [25].
Low-cost RGB light-emitting diodes (RGB-LEDs) are nowadays used in the construction of simple and compact spectrophotometers for molecular absorbance measurements in analytical chemistry. For instance, RGB-LED-based sensors have been developed to measure different parameters on-line, such as the microalgae-biomass concentration, within a photo-bioreactor, with a 2% error [26]. The use of RGB allowed the study of on-line chromatic values without the cost spiraling throughout the winemaking process [27]. An RGB sensor was also used to obtain information about the color of the sample, detecting the movement of phytoplankton [28]. In the case of tap water, RGB sensors through a web cam were also utilized to control the concentration of parameters, such as ortho-phosphate and aluminum (III) [29]. In the case of wastewater, a portable RGB diode was utilized for the on-site determination of nitrite and iron in river waters [30]. The results of visible spectrophotometry in the near infrared region (NIR) using an RGB diode and a 360- to 740-nm spectrophotometer were compared when characterizing parameters, such as the ammonia concentration and electrical conductivity values [31].
RGB-LED has also been used to calculate the dense packing of bacterial cells in sample solutions in well plates, obtaining good accuracy [32]. The RGB-LED assumes the superposition of different wavelengths, as opposed to conventional spectrophotometers that apply reduced wavelengths for each measurement. This fact introduces an increased susceptibility to interference. However, several authors have shown RGB to be effective, simple, compact, and at a low cost. As stated by [33], its performance indicates that it could be suitable as a replacement for conventional spectrophotometers used in photometric analytical procedures. A loss of sensitivity will usually be encountered, and users will have to decide if this is not significant, since the accuracy continues to be high enough.
The present work includes an experimental campaign in which transmittance is measured from an RGB-LED diode through multiple water samples with different dyes and compounds that cover a broad range of transmittance. The results are compared and discussed with those obtained from a commercial spectrophotometer. An RGB-LED is operated with different equations to vary the emitted superposition of wavelengths, so as to cover the widest possible range within the visible spectrum of light, making use of the combination of the three small individual LEDs contained within the RGB-LED.
The contributions of this work are as follows: First, we developed a novelty calibration process, in order to measure transmittance values between 510 and 645 nm using a single RGB-LED, without optical devices, and with a high level of accuracy. As indicated in the study [25], 18 individual LEDs are needed to be able to analyze water samples between 510 and 645 nm; therefore, a single RGB-LED enables us to significantly reduce the cost of the equipment. Secondly, we provide a simple way to define the red, green, and blue RGB-LED intensity combinations to be used in order to measure the transmittance values that are in agreement with those obtained using the commercial equipment. The novelty lies in using the RGB combination to produce a chemical response in water samples; this can be correlated with that obtained by equipment based on incandescent lamps, where a single wavelength passes through the sample.

2. Materials and Methods

2.1. Analyzed Samples

Table 1 shows the different samples used in this research. From a total of 48 samples, 20 (S1-–S20) were used to carry out the calibration process, to ensure that the transmittance values provided by the RGB-LED are close to those provided by commercial equipment based on incandescent lamps.
In order to evaluate the suitability of the calibration models, 28 water samples were analyzed, including nine from urban wastewater of the city of Cartagena (Spain), and whose origin includes important industrial areas. These wastewater samples were collected at different points at the Cabezo Beaza wastewater treatment plant: Wastewater treatment plant inlet (S21, S43, and S44), at the Primary Settler outlet (S22, S45, and S46), and at the treatment plant outlet (S23, S47, and S48).
Likewise, the food dyes used to generate part of the calibration samples were as follows: E105 (S3), E133 (S3 and S4), E124 (S10, S13, and S14), E100 (S16), and E133 (S19)
All the samples were stored in standard 12 × 12 × 50 mm plastic test tubes of the SEOH brand [34], designed for spectrophotometry purposes.

2.2. Reference Equipment

In the present work, all the results were contrasted with the commercial equipment V-5000 VIS [35]. This has a working spectrum of between 325 and 1000 nm, with a bandwidth of 4 nm, which complies with the following standards:
  • ISO 22891: 2013: Determination of transmittance by diffuse reflectance measurement.
  • ISO 10110-9: 2016: Preparation of drawings for optical elements and systems—Part 9: Surface treatment and coating.
  • ISO 7887:2011: Water Quality—Examination and determination of color.
  • ISO 9001 7.6: Control of monitoring and measuring equipment.

2.3. Sensor Unit

To develop a cost-effective equipment, one of the main points to tackle is the sensor unit. Most commercial equipment are based on CCD (charge-coupled device) sensors [36], which can measure multiple wavelengths at the same time. However, their high price and the need for an additional elements to work (mainly an optical element), increase the price of such equipment. For this reason, and pursuing the “minimum viable solution”, i.e., one that makes use of as few elements as possible, we used an individual photodiode as a sensor, which is designed to capture a single beam of light [37,38] from a wide range of wavelengths. Once the kind of sensor to be used has been chosen, it remained to determine which one to choose, since this type of sensor is marketed with different sensitivities and spectral responses. In order to determine which properties the sensor must have in order to be valid for this type of application, we carried out a comparison between several models. To simplify the explanation, we focused the study on two of them: S1223 [39] and OSD15-E [40].
Figure 1 shows the spectral response of both sensors. A photodiode can have a different spectral response according to the wavelength of the incident light, that is, it will be able to detect more of some wavelengths than others, as shown in the figure.
If the same sample is traversed by a certain wavelength, for example, at 470 nm, with a certain brightness level, as shown in Figure 1, the measured value I (amount of detected light through the sample) will be different. The sensor OSD15-E (Figure 1B) presents at that wavelength a sensitivity over 50%, while S1223 (Figure 1A) barely manages to reach 25%. This implies that the former (OSD15-E) will be able to detect twice as much light as the latter, and therefore, the I value will be different. This fact could lead us to think that the best sensor to choose will be the one that is capable of capturing a greater amount of light at a certain wavelength, i.e., the one with the highest sensitivity. However, we must take into account that the transmittance ( T = I I 0 ) is the result of the amount of light that manages to pass through the sample we seek to analyze (I), with respect to the amount of light that passes through a reference sample ( I 0 ) , typically distilled water. In addition, we must note that if the I value is twice as much on the OSD15-E sensor as S1223, the I 0 value of the first one (OSD15-E) will also be twice that measured in S1223. Therefore, the transmittance relation will remain constant regardless of the type of sensor used. A series of measurements performed proved that the differences between the transmittance values provided by the two sensors in all cases were less than 4%.
Based on the tests carried out, we concluded that the sensor that has a sensitivity of at least 5% for the wavelength to be analyzed is valid for spectrophotometry applications. As we focused the study on the visible spectrum, the sensor S1223, which has a monetary cost three times lower than OSD15-E, has been chosen to carry out the analysis of the samples shown in Table 1. However, the price difference between the two is not particularly significant, so either could have been chosen without overly affecting either the price of the equipment or its accuracy.
At this point, once the sensor was chosen, it was necessary to take into account that this type of sensor generates an electrical current according to the amount of light that falls on them, which is of the order of picoAmperium. Most microcontrollers/microprocessors are only capable of measuring voltage levels within a certain range, for example, 0–3 v. Therefore, the values provided by the sensors must be converted to the voltage and amplified by a transimpedance circuit. In our case, we configured the sensor to provide a response within the 0–5 V range.

2.4. RGB Light-Emitting Diode (RGB-LED)

Incandescent lamps are able to generate a wide range of wavelengths on their own; however, they have an associated power consumption and high temperature issues, as well as being large in size, due to the additional elements required to operate them (overall, optical elements). Therefore, the present research work focused on determining whether a new light source could replace them in a cost-effective way.
A priori, one idea that would come to mind is to use LED technology, due to its low power consumption and lack of temperature problems. Nevertheless, for analyzing the entire spectrum would require the use of a huge number of LEDs [25], since each of them is designed to emit within a specific range of wavelengths. This would therefore result in an increase in both the size of the equipment as well as its cost.
Not all applications that make use of the spectrometry technique require the use of a full multispectral analysis but merely some specific spectral points. For instance, the analysis of chlorophyll focuses only on the 600-nm wavelength. For these reasons, in the current research work, we studied the RGB-LED as a source of light for spectrophotometry applications, in order to define how many wavelengths can be modelled by a single RGB-LED, without using optical devices; more specifically, we used the HV-5RGB25 [41], a common cathode diode, 5 mm in diameter.
What is commonly known as an RGB-LED is in fact a package containing three small individual LEDs, which emit at the following peak wavelengths: 460 (blue), 525 (green), and 625 nm (red), as shown in Figure 2.
The part highlighted part (Figure 2) corresponds to the so-called “spectral width”, which is defined as the wavelength range that presents an emission intensity greater than/equal to 50% of the maximum value. So, wavelengths located below that threshold have a lower influence on the samples.
As can be observed in Figure 2, each of the LEDs emits certain wavelengths simultaneously. This results means that the water samples will be traversed by more than one wavelength simultaneously, which will cause discrepancies with respect to the results provided by the commercial equipment.
However, commercial equipment based on an incandescent lamps makes use of optical elements, such as monochromators or a diffraction grids, to diffract the light beam in the different wavelengths that make up the source of the light’s spectrum (visible in our case). As a result of this diffraction, a single wavelength is emitted at a time.
The multiple emission spectrums of LEDs have always been one of the reasons why this kind of technology has not become a feasible replacement for the incandescent lamp, as the only way to remove the effect of these “additional wavelengths” was through optical filters, which increase both the size as well as the cost of equipment.
However, through the present research, we defined a simple method that enables the approximation of a single wavelength transmittance by a single RGB-LED without using any optical devices, such as filters of a diffraction grid.
As can already be observed, the emission spectrum of the RGB-LED does not seem to be enough to cover the entire visible spectrum since, as we can see in Figure 2, there are some gaps in certain parts of the RGB-LED spectrum, such as between 546 and 610 nm.
Therefore, our research focused on both: (i) Determining what portion of the visible spectrum it is possible to model using each of the individual LEDs that make up the RGB-LED independently, and (ii) finding the different combinations of red, green, and blue that produce a response in the samples that has a linear correlation with the transmittance values obtained by spectrophotometric equipment based on incandescent lamps.

2.5. Hardware

A simplified diagram illustrating the design of the equipment developed is presented in Figure 3. Since one of the objectives was to reduce the size of the device, it was decided not to use optical elements, such as lenses or monochromators, since this is one of the main reasons for the big dimensions of commercial spectrophotometers.
The tests carried out revealed that the best results were obtained when the sensor (Figure 3A right) was as close as possible to the sample without touching it. The light source (Figure 3A left) was at a distance of about 20 mm with reference to the test tube.

2.6. Methodology

The experimental campaign was followed by a calibration process that will enable the use of the RGB-LED technology as viable to complement incandescent lamps. This process is shown in Figure 4.

3. Results and Discussion

3.1. Preliminary Tests

The development of spectrophotometers based on RGB-LED has always faced the same issue: This kind of diode cannot emit a wide range of wavelengths (such as the entire visible spectrum); in fact, it only emits three small portions of the spectrum, i.e., 435–485 nm (blue), 500–550 nm (green), and 610–650 nm (red), according to a normal distribution.
We began our study by analyzing what responses would be obtained when each individual LEDs (red, green, or blue) was turned on separately. Taking the green LED (500 to 550 nm, and 525 nm peak) as an example, Figure 5 shows that the transmission values achieved by the green LED were higher than those provided by the incandescent lamp at 525 nm for the samples detailed in Table 1.
Although the green LED has a peak wavelength of 525 nm, it also emits other wavelengths simultaneously (from 500 to 550 nm). This increases the amount of light that passes through the sample, and consequently, higher than expected transmittance values were obtained.
This behavior is analogous to that observed with the blue and red LEDs (Figure 6 and Figure 7), except that the differences were far more significant in the case of the blue LED.
At this point, it is key to determine how the effect of the remaining wavelengths can be eliminated, without using filters or diffraction grids.
Our investigations concluded that there is a linear relation between the transmittance values provided by the RGB-LED when it uses each of its LEDs (red, green, and blue) independently, and those values that would be obtained with commercial equipment working at the same peak wavelength as the mentioned LEDs.
However, not only can the peak length of each of the LEDs be calibrated but also all the wavelengths emitted by each of them (within a certain range). Nevertheless, we must take into account the fact that as the wavelength that we seek to model moves away from the peak wavelength of each LED, the accuracy of the model is reduced, so not all wavelengths can be successfully modelled.
In order to determine which portion of the emission spectrum in each of the LEDs can be used for spectrophotometric applications, Figure 8, Figure 9 and Figure 10 show the fit between the transmittance measured from incandescent lamps and that from red, green, and blue RGB-LEDs, independently, for five selected wavelengths. These figures were calculated using the S1–S20 samples shown in Table 1.
It can be observed how the accuracy of the fit varies, improving when the wavelength approaches the peak of each LED.
As we can see in Figure 8, Figure 9 and Figure 10, the red LED showed the best performance, with a goodness-of-fit above 90%, closely followed by the green LED. On the other hand, the blue LED presented the largest disparity, since its fit was quite low, it is therefore not suitable for spectrophotometry applications. As expected, the best fits were obtained at the peak wavelength and decreased as we moved away from that point.
In order to understand the low performance of the RGB blue LED, Figure 11 shows the transmittance correlation of a single blue LED, with a peak wavelength of 460 nm, which does not belong to an RGB LED but coincides with its peak wavelength (Figure 10D).
As can be seen, the differences are noteworthy. The single blue LED produces a much better fit (higher than 99%) in comparison with the RGB-LED when only blue is selected (79%) as shown in Figure 10C.
The test carried out concluded that these results were due to the low-quality semiconductor used in most RGB LEDs. An LED emits light as a result of the jump (bandgap) of electrons when they try to pass from one layer (type N) to another where there are holes (type P). The size of this bandgap will determine the type of light emitted by the electrons. A small bandgap will give rise to red light (around 1.91 eV), and a large bandgap to blue light (2.64 eV) [42,43]. The greater the bandgap, the bluer the light emitted by the diode.
Most blue individual LEDs, such as in Figure 11, are based on a 1-µm sapphire substrate, on which alternate layers of gallium nitrate, indium, and aluminum are grown. These extra elements are key to increasing the efficiency and brightness of the blue LEDs. Moreover, with the use of aluminum, it is possible to make even ultraviolet LEDs.
It is necessary to mention that generating blue LEDs has been a technological challenge for years. In fact, Isamu Akasaki, Hiroshi Amano, and Shuji Nakamura’s research on the development of this type of diode won them the Nobel Prize in Physics in 2014 [44].
The issue is that RGB-LEDs are designed to be used for visual purposes, where the combination of primary colors creates the illusion that certain colors are being generated. This optical effect means that it is not necessary to design RGB-LEDs that generate a “pure blue”, but something that our eye perceives as blue [45] (in combination with red and green). For this reason, the quality of the substrates used and the purity of the crystals are lower than the individual LEDs (Figure 11). Proof of this is that an RGB-LED is around 10 times cheaper than an individual one.
Therefore, although an RGB-LED makes use of three different individual LEDs, which emit in a large portion of the visible spectrum, only the red and green LEDs seem to be suitable. Moreover, of these, only a portion of the spectrum between the following wavelengths is suitable for spectrophotometric applications: 510 to 550 nm (green LED) and 610 to 645 nm (red LED), as presented in Figure 12.
To be able to perform analyses outside that range, for example, between 380 and 500 nm, the RGB-LED would not be sufficient, and therefore, it should be combined with an individual blue LED (with a peak wavelength of 460 nm) to replace the one already present on the RGB-LED. This individual LED would allow measurements outside the range of 510–645 nm as shown in Figure 11.
However, in this research work, we only focused on the maximum spectral range that could be modelled using a single RGB-LED, in order to minimize the number of components needed to develop a spectrophotometry equipment.

3.2. Extension of the Working Range

In the previous section, it was shown that the red and green LEDs can model a reduced wavelength of the visible spectrum (Figure 12). It will now be studied if certain combinations of red and green can produce a response in the samples that has a linear correlation with the transmittance values that would be obtained with an incandescent lamp.
The transmittance value of a water sample is the response of the physical and chemical properties of the solids present in the water to a certain wavelength. The mere combination of three or two different colors (groups of wavelengths) will never provide the same spectral response that a certain wavelength would achieve. That is to say, you cannot create artificial wavelengths by simply combining colors, even though the human eye perceives the opposite. For instance, the combination of blue and yellow produces green, but this does not mean that the wavelengths from 500 to 550 nm are being emitted, it is just an optical effect [45].

3.2.1. Color Rendering

For this reason, a color rendering method was implemented, specifically, an algorithm developed by Dan Bruton of the Texas A&M University [46], which enables the approximation of a specific RGB combination to a certain color from a visual point of view, as Figure 13 shows.
This will allow us to obtain the correlations, in terms of transmittance, between the light wavelengths contained in the range from 380 to 700 nm and the RGB values, from the point of view of color representation. We observed that those color combinations (red, green, and blue) that are visually closer to the wavelength we seek to model (Figure 13A) produce transmittance values that reach a linear correlation with the transmittance values obtained with commercial equipment based on incandescent lamps (Figure 13B). Figure 13A was obtained from the RGB combinations provided by the equations that will be shown in this section.
The determination of the correlation between RGB and the wavelength Lambda (λ) is carried out by several sets of equations grouped by spectral regions, as presented in Equation (1), where R , G , and B are the red, green, and blue adopted values in the 0–1 range, respectively, without considering the brightness level Y:
( 380   nm   λ < 440   nm ) { R = ( λ 440 440 380 ) G = 0 B = 1 ( 440   nm   λ < 490   nm ) { R = 0 G = ( λ 440 490 440 ) B = 1 ( 490   nm   λ < 510   nm ) { R = 0 G = 1 B = ( λ 510 510 490 ) ( 510   nm   λ < 580   nm ) { R = ( λ 510 580 510 ) G = 1 B = 0 ( 580   nm   λ < 645   nm ) { R = 1 G = ( λ 645 645 580 ) B = 0 ( 645   nm   λ < 781   nm ) { R = 1 G = 0 B = 0 .
The brightness level Y is another factor to take into account when calculating correlations. This is defined according to the spectrum that we wish to calculate (Equation (2)):
( 380   nm   λ < 420   nm ) Y = 0.3 + 0.7 ( λ 380 ) 420 380 ( 420   nm   λ < 701   nm ) Y = 1 ( 701   nm   λ < 781   nm ) Y = 0.3 + 0.7 ( 780 λ ) 780 700 .
The RGB value is calculated through two additional parameters: Gamma=0.8. To be able to perform the current variation, we used an 8-bit driver, which can provide 2 8 1 = 256 different values, i.e., between 0 and 255, and therefore, the maximum working range that the LED will operate is I = 255. However, this procedure would be scalable to other resolutions. For example, a 10-bit current driver would make I take the value of 1023.
Finally, the expressions that allow the determination of the correlation between λ and the RGB value are shown in Equation (3):
{ ( R = 0 ) R = 0 ( R 0 ) R = I ( R Y ) G a m m a { ( G = 0 ) G = 0 ( G 0 ) G = I ( G Y ) G a m m a { ( B = 0 ) B = 0 ( B 0 ) B = I ( B Y ) G a m m a ,
where R, G, and B are the current values required to be able to achieve a specific color through an RGB-LED.
The variation of the RGB values to visually achieve the wavelengths between 380 and 700 nm, from the previous Equations (1)–(3), is shown in Figure 14. The working range of each RGB-LED can take a value between 0 and 255. However, in order to clarify the exposure of the results, the brightness level given in Figure 14 was expressed as a function of the current applied to each LED, in mA, taking into account that the highest level of intensity of the LED (255) is reached at 20 mA.

3.2.2. LED Combination Calibration

As was previously stated in Section 3.1, the red and green LEDs are able to explain by themselves (without combining them) the wavelength ranges between 510 and 550 nm and 610 and 645 nm with a high accuracy. However, they cannot model other parts of the visible spectrum. Therefore, in this section, we focus the study on the following three parts of the visible spectrum, which have not been modelled by red and green LED themselves: 550 to 610 nm, 645 to 700 nm, and 380 to 550 nm.
To analyze the behavior of the samples in these regions, the lighting brightness level of each LED (amount of current applied, which is directly proportional to the level of brightness) was set to produce the same color as the wavelength we sought to model using the color rendering algorithm presented in Figure 14 through Equations (1)–(3).
As commented, the combination of RGB-LEDs to achieve the visual effect of a defined wavelength will not generate the transmittance response expected of an incandescent lamp in the studied wavelength. However, we observed that wavelength combinations that produce (from the visual point of view) a color closer to the one we want to model (within a certain spectrum band) produce a response in the samples that is linearly related to the transmittance values that an incandescent lamp would provide at the same wavelength.
The tests carried out proved that wavelengths between 550 and 610 nm can be adjusted with the combination of LEDs according these equations.
Figure 15 shows, the emission spectrum to render the different wavelengths (according to the color rendering algorithm shown in Section 3.2.1) on the left, and the correlation between the transmittance values provided by such a combination of LEDs and those that would be obtained with commercial equipment based on incandescent lamps, for the following wavelengths: 560, 570, 580, 590, and 600 nm and for the 20 samples designed in Table 1 for the calibration process (S1–S20), on the right.
As can be observed, all the cases provide a fit higher than 90%. Figure 16 shows the comparison between the transmittance values obtained by the RGB-LED and the incandescent lamp at 580 nm for the samples included in Figure 15.
Although the LEDs are not emitting wavelengths between 560 and 600 nm, the combination of their wavelengths is able to produce a response in the samples that can be related to the transmittance values expected in commercial equipment.
However, the remaining wavelengths (greater than 645 nm and less than 510 nm) could not be modelled with the LEDs working individually, nor indeed with any combination of them. Figure 17 shows that the goodness-of-fit was less than 80%, thus rendering them unsuitable for the development of spectrophotometry equipment.
In order to understand this behavior, we performed the analysis of any three wavelengths, taken in different color regions: 670, 505, and 460 nm; the results are shown in Figure 17.
As we can see, the goodness-of-fit is lower than 80% in all cases. In 670 nm (Figure 17A), the emission diagram shows that only the red LED is on, i.e., there is no combination of wavelengths but, despite this, as 670 nm is outside the spectral width of the red LED (Figure 12), the correlation is very poor.
Something different seems to explain the lack of fit accuracy in the range from 460 to 505 nm. In this range, there is a combination of green and blue LEDs. Although the wavelength is in the spectral width covered by green and blue LEDs, the presence of the blue LED weighs down the results, due to the low quality of its materials. Therefore, we can conclude that a single RGB-LED can model only the spectrum between 510 and 645 nm, with a goodness-of-fit above 90%, without using any optical device.
Figure 18 shows a comparison between the transmittance values obtained for sample S4 using an incandescent lamp and the transmittance values obtained with the RGB-LED after the calibration process. The region between 510 and 645 nm (which is where the RGB-LED has shown the best performance) was highlighted in red to facilitate the reader’s understanding. Additionally, the other parts of the spectrum from RGB-LED, which could not be modelled correctly, are shown in grey. It can be observed that the fit is quite good in the designated portion of the spectrum.
At this point, it is important to note that other non-linear models have been tested without success. Only linear regression models have been able to determine the correlation between RGB combinations and transmittance values provided by commercial equipment with a high precision.

3.3. Final Results

In order to show the suitability of the calibration models, the results of the analysis carried out in the range of 510 to 645 nm are shown for different samples. To clarify the presentation of the results, we distinguished between those samples used during the calibration process (Figure 19) and those used to check the effectiveness of the models (Figure 20), i.e., samples that were not used during the calibration process (Table 1 from S21 to S48).
As can be seen, the charts shown in Figure 19 how a good level of fit within the 510–645 nm zone. Outside that range, the transmittance values differ from those provided by the reference equipment (incandescent lamp).
However, in order to show the suitability of the model with unused samples during the calibration process, Figure 20 shows the results obtained with wastewater samples (S21–S23 and S43–S48), corresponding to different points of a wastewater treatment plant, specifically: Wastewater treatment plant inlet (S21, S43, and S44), at the Primary Settler outlet (S22, S45, and S46) and at the treatment plant outlet (S23, S47, and S48).
As can be observed in Figure 20, all the samples analyzed show a high accuracy according to the transmittance values provided by the commercial equipment based on incandescent lamps within 510 nm to 645 nm.
Table 2, provides the reader with further information regarding the kind of wastewater the RGB-LED is valid for, settler showing the main properties of wastewater samples analyzed in Figure 20, namely: Chemical oxygen demand (COD), biological oxygen demand at 5 days (BOD5), total suspended solids (TSSs), phosphorus (P), nitrate nitrogen (NO3-N), pH, and conductivity.
One of the main characteristics of urban wastewater is the existence of different suspended substances, which influence the amount of light that passes through the samples.
A key issue in determining the validity of the RGB-LED was whether the presence of such suspended particles would have a different effect on the transmittance values measured with the RGB-LED than with equipment based on incandescent lamps.
The tests carried out showed that the spectral response within the range of 510–645 nm provided by the RGB-LED has been close to that of the reference equipment. Samples S21, S43, and S44, which had the highest concentration of total suspended solids (SST) provided proof of that.
Therefore, we conclude that these suspended particles affect both instruments in the same way, highlighting the validity of the RGB-LED for the analysis of wastewater.
Although RGB-LED is not able to model the whole visible spectrum, it provides a simple method to carry out a spectrophotometric analysis without the use of optical elements.
In order to quantify the precision of the results provided by RGB-LED after the calibration process, several statistical indicators were calculated: The Root-Mean-Square Deviation (RMSD) [46], and the error index, Er, through Equations (4) and (5):
R M S D = 1 n i n ( T m e a s u r e d _ i T c a l c u l a t e d _ i ) 2 ,
E r ( % ) = i n ( T m e a s u r e d _ i T c a l c u l a t e d _ i ) i n T m e a s u r e d _ i 100 ,
where Er is the error index (%); n is the number; and T m e a s u r e d and T c a l c u l a t e d are the transmittance values obtained through the commercial equipment [32] and our design based on RGB-LED technology, respectively.
Table 3 shows both the error index and the RMSD value from the samples shown in Figure 19 (used during the calibration process) and Figure 20 (test samples of wastewater), only for the spectrum between 510 and 645 nm.
For all the samples, the error level was always been less than 6%, including in the case of wastewater samples from urban areas. This proves the RGB-LED technology can be used for spectrophotometric applications, achieving a fairly close response to the commercial equipment, and enabling the development of more cost-effective equipment.

4. Conclusions

In this paper, we studied the possibility of using an RGB-LED device to work as a spectrophotometer to calculate transmittance. This is a cost-effective and robust piece of equipment that can be used as a complement to traditional incandescent lamps in the 510 to 645 nm range.
The method proposed in this research work is based on an RGB combination to produce a chemical response in water samples, which can be correlated with the expected transmittance values obtained with commercial equipment based on incandescent lamps, where a single wavelength passes through the sample.
The calibration procedure enables us to achieve results with an RGB-LED that are comparable to those highly accurate results obtained. Proof of this lies in the fact that the error obtained was less than 6% in all the cases (Table 3).
The methodology proposed:
(i)
Demonstrates that RGB-LED can be used to carry out a spectral analysis of wastewater, obtaining results very close to those provided by commercial equipment based on incandescent lamps.
(ii)
Develops a calibration system for measuring transmittance values between 510 and 645 nm using a single RGB-LED, with high accuracy. Moreover, it enables us to reduce the number of elements used, and therefore, significantly reduce the cost of the equipment.
(iii)
Models the transmittance value of a specific wavelength without the need for optical elements, such as monochromators or diffraction gratings.
(iv)
Uses the red and green LEDs in combination to model those parts of the visible spectrum that cannot be modelled by the RGB-LED when each of the LEDs that composes it acts individually. This allows the wavelength range to be extended without increasing the number of LEDs used.
(v)
Achieves reductions in the dimensions, costs, and sampling times of the equipment, which are vital aspects for the development of low-cost autonomous systems designed to measure in any type of environment.
This calibration procedure can serve as help when developing one’s own spectrophotometry equipment. This research contributes to the development of cost-effective equipment.
A model valid for the measured samples was proposed, where the modelled spectrum transmittance adjusts to that values calculated with commercial equipment between 510 and 645 nm by using a single RGB-LED through a color rendering algorithm, without optical elements.
Although it is not possible to use RGB technology to develop full visible spectrum spectrophotometry equipment (380–700 nm), the range of 510 to 645 nm could be of help to characterize certain parameters, such as chlorophyll types C2 and C3 [45], for instance.
This research can help in the development of new systems based on this technology, lowering the cost of equipment whilst also reducing its size and consumption, thus enabling the creation of autonomous equipment that can run on batteries in any environment.
This type of system can be very useful for the detection of unauthorized discharges, as the system can be placed in any environment, monitoring 24 h a day. It is therefore a tool to combat fraud and can contribute to environmental protection.
All this research work will allow us to have real-time control of water quality in sewer systems during rainfall events and dry weather periods, through a portable and cost-effective device to analyze the contaminant load present in wastewater.

Author Contributions

Investigation, D.C.-P. and J.T.G.; Data curation, D.C.-P.; Formal analysis, D.C.-P., J.T.G., F.C.-C. and J.S.-M.; Funding acquisition, D.C.-P., J.T.G. and J.S.-M.; Methodology, D.C.-P., J.T.G., F.C.-C. and J.S.-M.; Software, D.C.-P. and F.C.-C.; Supervision, D.C.-P., J.T.G., F.C.-C. and J.S.-M.; Validation, J.T.G., F.C.-C. and J.S.-M.; Writing—original draft, D.C.-P. and J.T.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Seneca Foundation of the Región de Murcia (Spain) and “Hidrogea, Gestión Integral de Aguas de Murcia S.A”.

Acknowledgments

The authors are grateful for the financial support received from the Seneca Foundation of the Región de Murcia (Spain) through the program devoted to training novel researchers in areas of specific interest for the industry and with a high capacity to transfer the results of the research generated, entitled: “Subprograma Regional de Contratos de Formación de Personal Investigador en Universidades y OPIs” (Mod. B, Ref. 20320/FPI/17).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Rakedjian, B. StormWater Overflows Challenges. In Proceedings of the 12th EWA Brussels Conference EU Water Policy and Sustainable Development, Brussels, Belgium, 8 November 2016. [Google Scholar]
  2. Ward, S.; Butler, D. Compliance with the Urban Waste Water Treatment Directive: European Union City Responses in Relation to Combined Sewer Overflow Discharges; University of Exeter: Exeter, UK, 2009. [Google Scholar]
  3. Del Río Cambeses, H. Estudio de los Flujos de Contaminación Movilizados en Tiempo de Lluvia y Estrategias de Gestión en un Sistema de Saneamiento y Drenaje unitario de una Cuenca Urbana Densa de la España Húmeda. Ph.D. Thesis, Universidade da Coruña, A Coruña, Spain, 2011. [Google Scholar]
  4. García, J.T.; Espín-Leal, P.; Vigueras-Rodriguez, A.; Castillo, L.G.; Carrillo, J.M.; Martínez-Solano, P.D.; Nevado-Santos, S. Urban Runoff Characteristics in Combined Sewer Overflows (CSOs): Analysis of Storm Events in Southeastern Spain. Water 2017, 9, 303. [Google Scholar] [CrossRef]
  5. García, J.T.; Espín-Leal, P.; Vigueras-Rodríguez, A.; Carrillo, J.M.; Castillo, L.G. Synthetic Pollutograph by Prediction Indices: An Evaluation in Several Urban Sub-Catchments. Sustainability 2018, 10, 2634. [Google Scholar] [CrossRef] [Green Version]
  6. Puertas-Agudo, J.; Suárez-López, J.; Anta-Álvarez, J. Gestión de las Aguas Pluviales. Implicaciones en el Diseño de Sistemas de Saneamiento y Drenaje Urbano; CEDEX: Madrid, Spain; Ministerio de Fomento Información Administrativa: Madrid, Spain, 2008. [Google Scholar]
  7. Naves, J.; Jikia, Z.; Anta, J.; Puertas, J.; Suárez, J.; Regueiro-Picallo, M. Experimental study of pollutant washoff on a full-scale street section physical model. Water Sci. Technol. 2017, 76, 2821–2829. [Google Scholar] [CrossRef] [PubMed]
  8. Anta, J.; Cagiao, J.; Suárez, J.; Peña, E. Análisis de la movilización de sólidos en suspensión en una cuenca urbana separativa mediante la aplicación del muestreo en continuo de la turbidez. Ing. Agua 2009, 16, 189–200. [Google Scholar] [CrossRef] [Green Version]
  9. Gruber, G.; Winkler, S.; Pressl, A. Continuous monitoring in sewer networks an approach for quantification of pollution loads from CSOs into surface water bodies. Water Sci. Technol. 2005, 52, 215–223. [Google Scholar] [CrossRef]
  10. Irvine, K.N.; McCorkhill, G.; Caruso, J. Continuous monitoring of conventional parameters to assess receiving water quality in support of combined sewer overflow abatement plans. Water Environ. Res. 2005, 77, 543–552. [Google Scholar] [CrossRef]
  11. Ellis, J.B.; Hvitved-Jacobsen, T. Urban drainage impacts on receiving waters. J. Hydraul. Res. 1996, 34, 771–783. [Google Scholar] [CrossRef]
  12. Copeland, C. Clean Water Act: A Summary of the Law; Congressional Research Service, Library of Congress: Washington, DC, USA, 1999.
  13. USA Environmental Protection Agency. Clean Water Act; EPA: Washington, DC, USA, 2008.
  14. Métadier, M.; Bertrand-Krajewski, J.L. The use of long-term on-line turbidity measurements for the calculation of urban stormwater pollutant concentrations, loads, pollutographs and intra-event fluxes. Water Res. 2012, 46, 6836–6856. [Google Scholar] [CrossRef]
  15. Van den Broeke, J.; Langergraber, G.; Weingartner, A. On-line and in-situ UV/vis spectroscopy for multi-parameter measurements: A brief review. Spectrosc. Eur. 2006, 18, 15–18. [Google Scholar]
  16. Malgrat, P.; Sunyer, D.; Russo, B. Las Nuevas Exigencias Sobre las Explotaciones de Saneamiento Derivadas de la Aplicación del Real Decreto 1290/2012. Available online: https://www.um.es/documents/3456781/14232816/Monitorizaci%C3%83%C2%B3n+y+Evaluaci%C3%83%C2%B3n+ciudad+de+Murcia_Juan+T_Garcia.pdf/af5f1070-6843-4929-b9db-e215ebe8c86f (accessed on 20 June 2020).
  17. Kallis, G.; Butler, D. The EU water framework directive: Measures and implications. Water Policy 2001, 3, 125–142. [Google Scholar] [CrossRef]
  18. Caradot, N. Continous Monitoring of Combined Sewer Overflows in the Sewer and the Receiving River; Kompetenzzentrum Wasser Berlin gGmbH: Berlin, Germany, 2013. [Google Scholar]
  19. Sandoval, S.; Torres, A.; Pawlowsky-Reusing, E.; Riechel, M.; Caradot, N. The evaluation of rainfall influence on combined sewer overflows characteristics: The Berlin case study. Water Sci. Technol. 2013, 68, 2683–2690. [Google Scholar] [CrossRef] [PubMed]
  20. Murphy, K.; Heery, B.; Sullivana, T.; Zhang, D.; Paludetti, L.; Lau, K.T.; Diamond, D.; Costa, E.; O’Connor, N.; Regan, F. A low-cost autonomous optical sensor for water quality monitoring. Talanta 2015, 132, 520–527. [Google Scholar] [CrossRef] [PubMed]
  21. Wego, A. Accuracy simulation of an LED based spectrophotometer. Opt. Int. J. Light Electron Opt. 2013, 124, 644–649. [Google Scholar] [CrossRef]
  22. Schnable, J.G.; Grochowski, P.J.; Wilhelm, L.; Harding, C.; Kiefer, M.; Orr, R.S. Portable LED-array VIS–NIR spectrophotometer/nephelometer. Field Anal. Chem. Technol. 1998, 2, 21–28. [Google Scholar] [CrossRef]
  23. Rocha, F.R.; Martelli, P.B.; Reis, B.F. Simultaneous in-line concentration for spectrophotometric determination of cations and anions. J. Braz. Chem. Soc. 2004, 15, 38–42. [Google Scholar] [CrossRef] [Green Version]
  24. Venugopalan, H. UVC LEDs enable cost-effective spectroscopic instruments. Laser Focus World 2015, 51, 81–85. [Google Scholar]
  25. Carreres-Prieto, D.; García, J.T.; Cerdán-Cartagena, F.; Suardiaz-Muro, J. Spectroscopy Transmittance by LED Calibration. Sensors 2019, 19, 2951. [Google Scholar] [CrossRef] [Green Version]
  26. Benavides, M.; Mailier, J.; Hantson, A.L.; Muñoz, G.; Vargas, A.; Van Impe, J.; Vande Wouwer, A. Design and test of a low-cost RGB sensor for online measurement of microalgae concentration within a photo-bioreactor. Sensors 2015, 15, 4766–4780. [Google Scholar] [CrossRef]
  27. De la Torre, C.; Muñiz, R.; Pérez, M.A. A new, low-cost, on-line RGB colorimeter for wine industry based on optical fibers. In Proceedings of the XIX IMEKO World Congress, Lisbon, Portugal, 6–11 September 2009; pp. 6–11. [Google Scholar]
  28. Sampedro, Ó.; Salgueiro, J.R. Turbidimeter and RGB sensor for remote measurements in an aquatic medium. Measurement 2015, 68, 128–134. [Google Scholar] [CrossRef]
  29. Lima, M.B.; Andrade, S.I.; Silva Neta, M.S.; Barreto, I.S.; Almeida, L.F.; Araújo, M.C.U. A micro-flow-batch analyzer using webcam for spectrophotometric determination of Ortho-phosphate and aluminium (III) in tap water. J. Braz. Chem. Soc. 2014, 25, 898–906. [Google Scholar]
  30. Suzuki, Y.; Aruga, T.; Kuwahara, H.; Kitamura, M.; Kuwabara, T.; Kawakubo, S.; Iwatsuki, M. A simple and portable colorimeter using a red-green-blue light-emitting diode and its application to the on-site determination of nitrite and iron in river-water. Anal. Sci. 2004, 20, 975–977. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  31. Bozhynov, V.; Soucek, P.; Barta, A.; Urbanova, P.; Bekkozhayeva, D. Visible Aquaphotomics Spectrophotometry for Aquaculture Systems. In Bioinformatics and Biomedical Engineering, Proceedings of the International Conference on Bioinformatics and Biomedical Engineering, Granada, Spain, 25–27 April 2018; Springer: Cham, Switzerland, 2018; pp. 107–117. [Google Scholar]
  32. Kwak, Y.H.; Lee, J.; Lee, J.; Kwak, S.H.; Oh, S.; Paek, S.-H.; Ha, U.-H.; Seo, S. A simple and low-cost biofilm quantification method using LED and CMOS image sensor. J. Microbiol. Methods 2014, 107, 150–156. [Google Scholar] [CrossRef] [PubMed]
  33. Gros, N. Spectrometer with microreaction chamber and tri-colour light emitting diode as a light source. Talanta 2004, 62, 143–150. [Google Scholar] [CrossRef]
  34. SEOH. SEOH Standard Cuvette Polystyrene Macro 3.5 mL. Available online: https://uedata.amazon.com/SEOH-Standard-Cuvette-Polystyrene-Macro/dp/B00T5A64PQ (accessed on 20 June 2020).
  35. Spectrophotometer V-5000 VIS. Available online: http://cort.as/-HglF (accessed on 18 June 2020).
  36. Stephenson, D. A portable diode array spectrophotometer. Appl. Spectrosc. 2016, 70, 874–878. [Google Scholar] [CrossRef]
  37. Jansen-van Vuuren, R.D.; Armin, A.; Pandey, A.K.; Burn, P.L.; Meredith, P. Organic photodiodes: The future of full color detection and image sensing. Adv. Mater. 2016, 28, 4766–4802. [Google Scholar] [CrossRef]
  38. Nie, X.; Ryckeboer, E.; Roelkens, G.; Baets, R. CMOS-compatible broadband co-propagative stationary Fourier transform spectrometer integrated on a silicon nitride photonics platform. Opt. Express 2017, 25, A409–A418. [Google Scholar] [CrossRef] [Green Version]
  39. Photodiode S1223, Sensitive to the Visible and Infrared Spectrum. Available online: http://cort.as/-SsPs (accessed on 18 June 2020).
  40. Photodiode OSD15-E, Sensitive to the Visible Spectrum. Available online: http://cort.as/-Hgkq (accessed on 18 June 2020).
  41. RGB-LEDs HV-5RGB25. Available online: https://www.digikey.com (accessed on 18 June 2020).
  42. Yamada, M.; Mitani, T.; Narukawa, Y.; Shioji, S.; Niki, I.; Sonobe, S.; Mukai, T. InGaN-based near-ultraviolet and blue-light-emitting diodes with high external quantum efficiency using a patterned sapphire substrate and a mesh electrode. Jpn. J. Appl. Phys. 2002, 41, L1431. [Google Scholar] [CrossRef]
  43. Coe-Sullivan, S.; Steckel, J.S.; Kim, L.; Bawendi, M.G.; Bulovic, V. Method for fabrication of saturated RGB quantum dot light-emitting devices. In Light-Emitting Diodes: Research, Manufacturing, and Applications IX; International Society for Optics and Photonics: Bellingham, WA, USA, 2005; Volume 5739, pp. 108–115. [Google Scholar]
  44. Amano, H.; Kito, M.; Hiramatsu, K.; Akasaki, I. P-type conduction in Mg-doped GaN treated with low-energy electron beam irradiation (LEEBI). Jpn. J. Appl. Phys. 1989, 28, L2112. [Google Scholar] [CrossRef]
  45. Young, A.T. Rendering Spectra. Available online: http://cort.as/-SvpK (accessed on 18 June 2020).
  46. Bruton, D. Colour Rendering Algorithm. Available online: http://www.physics.sfasu.edu/astro/color/spectra.html (accessed on 18 June 2020).
Figure 1. Sensitivity curves of the photodiodes (A) S1223 and (B) OSD15-E.
Figure 1. Sensitivity curves of the photodiodes (A) S1223 and (B) OSD15-E.
Sensors 20 03492 g001
Figure 2. Emission spectrum RGB-LED.
Figure 2. Emission spectrum RGB-LED.
Sensors 20 03492 g002
Figure 3. View of the experiment assembly. Schematic view of the assembly. (A) Layout diagram of RGB equipment elements. (B) Equipment developed for RGB spectrophotometric analysis.
Figure 3. View of the experiment assembly. Schematic view of the assembly. (A) Layout diagram of RGB equipment elements. (B) Equipment developed for RGB spectrophotometric analysis.
Sensors 20 03492 g003
Figure 4. Scheme of the work methodology.
Figure 4. Scheme of the work methodology.
Sensors 20 03492 g004
Figure 5. Comparative transmittance value by the green LED and incandescent lamp at 525 nm.
Figure 5. Comparative transmittance value by the green LED and incandescent lamp at 525 nm.
Sensors 20 03492 g005
Figure 6. Comparative transmittance value by the red LED and incandescent lamp at 625 nm.
Figure 6. Comparative transmittance value by the red LED and incandescent lamp at 625 nm.
Sensors 20 03492 g006
Figure 7. Comparative transmittance values by the blue LED and incandescent lamp at 460 nm.
Figure 7. Comparative transmittance values by the blue LED and incandescent lamp at 460 nm.
Sensors 20 03492 g007
Figure 8. Comparison of the fit for the emission spectrum of the red LED to: (A) 600 nm, (B) 610, (C) 625 nm-λPeak, (D) 630 nm, and (E) 645 nm.
Figure 8. Comparison of the fit for the emission spectrum of the red LED to: (A) 600 nm, (B) 610, (C) 625 nm-λPeak, (D) 630 nm, and (E) 645 nm.
Sensors 20 03492 g008aSensors 20 03492 g008b
Figure 9. Comparison of the fit for the emission spectrum of the green LED to: (A) 500 nm, (B) 510, (C) 525 nm-λPeak, (D) 530 nm, and (E) 550 nm.
Figure 9. Comparison of the fit for the emission spectrum of the green LED to: (A) 500 nm, (B) 510, (C) 525 nm-λPeak, (D) 530 nm, and (E) 550 nm.
Sensors 20 03492 g009aSensors 20 03492 g009b
Figure 10. Comparison of the fit for the emission spectrum of the Blue LED to: (A) 435 nm, (B) 445 nm, (C) 460 nm-λPeak, (D) 470 nm, and (E) 485 nm.
Figure 10. Comparison of the fit for the emission spectrum of the Blue LED to: (A) 435 nm, (B) 445 nm, (C) 460 nm-λPeak, (D) 470 nm, and (E) 485 nm.
Sensors 20 03492 g010
Figure 11. Fit of the LED whose peak wavelength is 460 nm.
Figure 11. Fit of the LED whose peak wavelength is 460 nm.
Sensors 20 03492 g011
Figure 12. Useful emission spectrum of the RGB-LED.
Figure 12. Useful emission spectrum of the RGB-LED.
Sensors 20 03492 g012
Figure 13. (A) Comparative visible spectrum based on RGB equivalence equations- λ. (B) Real visible spectrum.
Figure 13. (A) Comparative visible spectrum based on RGB equivalence equations- λ. (B) Real visible spectrum.
Sensors 20 03492 g013
Figure 14. Heuristic RGB values for visible wavelengths by color rendering.
Figure 14. Heuristic RGB values for visible wavelengths by color rendering.
Sensors 20 03492 g014
Figure 15. Combination of wavelengths and correlation for: (A) 560, (B) 570, (C) 580, (D) 590, and (E) 600 nm.
Figure 15. Combination of wavelengths and correlation for: (A) 560, (B) 570, (C) 580, (D) 590, and (E) 600 nm.
Sensors 20 03492 g015aSensors 20 03492 g015b
Figure 16. Comparative transmittance value by the RGB-LED and incandescent lamp at 580 nm.
Figure 16. Comparative transmittance value by the RGB-LED and incandescent lamp at 580 nm.
Sensors 20 03492 g016
Figure 17. Combination of wavelengths and correlation for: (A) 670, (B) 505, and (C) 460 nm.
Figure 17. Combination of wavelengths and correlation for: (A) 670, (B) 505, and (C) 460 nm.
Sensors 20 03492 g017
Figure 18. RGB-LED calibration between 380 and 700 nm for sample S4.
Figure 18. RGB-LED calibration between 380 and 700 nm for sample S4.
Sensors 20 03492 g018
Figure 19. Comparative results of the transmittance values between commercial equipment based on the incandescent lamp (blue) and RGB-LED device developed (red) after the calibration within 510–645 nm, for the following samples used during the calibration process: (A) S7, (B) S12, (C) S15, (D) S16, and (E) S20.
Figure 19. Comparative results of the transmittance values between commercial equipment based on the incandescent lamp (blue) and RGB-LED device developed (red) after the calibration within 510–645 nm, for the following samples used during the calibration process: (A) S7, (B) S12, (C) S15, (D) S16, and (E) S20.
Sensors 20 03492 g019aSensors 20 03492 g019b
Figure 20. Comparative results of the transmittance values between commercial equipment based on the incandescent lamp (blue) and RGB-LED device developed (red) after the calibration within 510–645 nm, for the following samples not used for the calibration process: (A) S21, (B) S22, (C) S23, (D) S43, (E) S44, (F) S45, (G) S46, (H) S47, and (I) S48.
Figure 20. Comparative results of the transmittance values between commercial equipment based on the incandescent lamp (blue) and RGB-LED device developed (red) after the calibration within 510–645 nm, for the following samples not used for the calibration process: (A) S21, (B) S22, (C) S23, (D) S43, (E) S44, (F) S45, (G) S46, (H) S47, and (I) S48.
Sensors 20 03492 g020aSensors 20 03492 g020b
Table 1. Analyzed samples.
Table 1. Analyzed samples.
DesignationSubstanceDissolution
Calibration SamplesS0Distilled water100%
S1Red wine50%
S2Tea80%
S3Yellow and Blue food dye20%–80%
S4Blue food dye50%
S5Washing machine detergent50%
S6Washing machine detergent65%
S7Washing machine detergent75%
S8Milk100%
S9Milk50%
S10Red food50%
S11Kitchen oil100%
S12Vinegar90%
S13Red food75%
S14Red food55%
S15Soluble coffee75%
S16Yellow food dye40%
S17Soluble coffee50%
S18Red wine100%
S19Blue food dye30%
S20Sea water100%
Test SamplesS21Urban wastewater Wastewater treatment plant inlet100%
S22Urban wastewater Primary settler100%
S23Treated wastewater Wastewater treatment plant outlet100%
S24Olive oil100%
S25Cocoa powder5%
S26Cocoa powder30%
S27Cocoa powder55%
S28Caffeine powder10%
S29Caffeine powder30%
S30Cetylpyridinium chloride50%
S31Cetylpyridinium chloride100%
S32Beer100%
S33Beer50%
S34Olive water100%
S35Olive water50%
S36White wine100%
S37White wine50%
S38Pinkish visage100%
S39Pinkish visage50%
S40Pinkish visage30%
S41Amphoteric surfactants100%
S42Amphoteric surfactants50%
S43Urban wastewater WWTP inlet100%
S44Urban wastewater WWTP inlet100%
S45Urban wastewaterWWTP Primary settler100%
S46Urban wastewaterWWTP Primary settler100%
S47Treated wastewater WWTP outlet100%
S48Treated wastewater WWTP outlet100%
Table 2. Characteristics of wastewater shown in Figure 20.
Table 2. Characteristics of wastewater shown in Figure 20.
Polluting ParametersWastewater Inflow
(S21)
Primary Settler
(S22)
Treated Water
(S23)
COD763 mg/L475 mg/L52 mg/L
BOD5500 mg/L310 mg/L9 mg/L
TSS304 mg/L88 mg/L14 mg/L
Phosphorus (P)9.1 mg/L7.2 mg/L2.5 mg/L
Total Nitrogen (TN)74 mg/L74 mg/L16.6 mg/L
NO3-N0.5 mg/L0.3 mg/L10.3 mg/L
PH7.597.57.56
Conductivity2770 µS/cm2590 µS/cm2580 µS/cm
Wastewater Inflow
(S43)
Wastewater Inflow
(S44)
Primary Settler
(S45)
COD1275 mg/L908 mg/L727 mg/L
BOD5720 mg/L480 mg/L460 mg/L
TSS624 mg/L558 mg/L151 mg/L
Phosphorus (P)8.7 mg/L9.4 mg/L12.5 mg/L
Total Nitrogen (TN)75 mg/L59 mg/L89 mg/L
NO3-N0.6 mg/L0.8 mg/L0.3 mg/L
PH7.487.147.24
Conductivity2590 µS/cm2630 µS/cm2600 µS/cm
Primary Settler
(S46)
Treated Water
(S47)
Treated Water
(S48)
COD732 mg/L47 mg/L46 mg/L
BOD5470 mg/L6 mg/L5 mg/L
TSS106 mg/L11 mg/L13 mg/L
Phosphorus (P)12.2 mg/L0.8 mg/L1.4 mg/L
Total Nitrogen (TN)73 mg/L59 mg/L19.3 mg/L
NO3-N0.5 mg/L3.8 mg/L10.8 mg/L
PH7.137.697.45
Conductivity2930 µS/cm2340 µS/cm2170 µS/cm
Table 3. Root-Mean-Square Deviation (RMSD) and error index 510–645 nm.
Table 3. Root-Mean-Square Deviation (RMSD) and error index 510–645 nm.
SampleRMSDEr (%)
Calibration SamplesS40.0382.453
S70.0423.415
S120.0170.920
S150.0285.252
S160.0514.173
S200.0281.691
Test SamplesS210.0385.688
S220.0313.595
S230.0231−1.125
S430.0297−3.163
S440.0257−1.009
S450.01250.8946
S460.04083.7038
S470.02170.5203
S480.02220.7365

Share and Cite

MDPI and ACS Style

Carreres-Prieto, D.; García, J.T.; Cerdán-Cartagena, F.; Suardiaz-Muro, J. Performing Calibration of Transmittance by Single RGB-LED within the Visible Spectrum. Sensors 2020, 20, 3492. https://doi.org/10.3390/s20123492

AMA Style

Carreres-Prieto D, García JT, Cerdán-Cartagena F, Suardiaz-Muro J. Performing Calibration of Transmittance by Single RGB-LED within the Visible Spectrum. Sensors. 2020; 20(12):3492. https://doi.org/10.3390/s20123492

Chicago/Turabian Style

Carreres-Prieto, Daniel, Juan T. García, Fernando Cerdán-Cartagena, and Juan Suardiaz-Muro. 2020. "Performing Calibration of Transmittance by Single RGB-LED within the Visible Spectrum" Sensors 20, no. 12: 3492. https://doi.org/10.3390/s20123492

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop