1. Introduction
Colorimetric characterisation methods date back to the 19th century and are constantly evolving. When they relate to chemical analysis, the basic principle of these methods is to detect the occurrence of a specific chemical reaction, which translates into a colour change of the analyte. The detection of colour variations also has various alternative applications, for example, for the quality assessment and ageing detection of a variety of fluids, from petrochemical products to pharmaceutical solutions. A large panel of colorimetric measurement technologies, whether based on spectrophotometer devices, camera image acquisition, scanners or RGB sensor systems, have been extensively described in the scientific literature [
1]. Traditional spectrophotometers, on the one hand, are usually expensive and bulky instruments suited for use in a laboratory. Such instruments include a monochromator that splits the light source into individual spectral components, which allows for the targeting of one or several specific bandwidth(s) of interest for the application. Recent works include the design of more portable and lower-cost spectrophotometer devices. In [
2], the authors present a smartphone-based multi-channel spectrophotometer. This prototype was demonstrated for the pH measurement of water. In [
3], the design and implementation of a microcontroller-based spectrophotometer are presented. This was validated for the detection of mercuric ions in water.
Single-pixel LED-based systems, on the other hand, do not involve any complex optical elements and can usually be implemented with a handful of low-cost and miniature off-the-shelf electronic components. They are therefore amongst the most cost-effective and portable colorimetric characterisation systems. While such devices do not aim to compete with spectrophotometers in terms of frequency resolution, recent studies have reported that they are usable for quantitative colorimetric characterisation and can achieve, in several cases, analytical performance similar to that obtained with commercial spectrophotometers [
4]. Depending on the target application, the light source can be either a coloured LED, whose peak frequency matches the absorption frequency of the analyte, or a white LED, allowing for more versatility. In a similar fashion, the sensor can be either a single photodiode or an RGB sensor. An RGB sensor is usually composed of a triplet of photodiodes, each sensitive in a different frequency range, allowing for a complete coverage of the visible spectrum. Therefore, compared to a single photodiode, RGB sensors are able to identify in which frequency range the observed phenomenon occurs. In [
5], the authors present an RGB sensor-based system for the monitoring of nitrite in aquaculture ponds. Peristaltic pumps were used to automatically sample and mix pond water with a reagent in a detection chamber in which the RGB sensor was located. A white LED was used as the light source. In [
6], an alternative apparatus for nitrite determination in water, based on Griess’ method, is presented. A green LED was used as the light source, and the green channel of an RGB sensor was selected as the output signal. The measurement was performed in a semi-micro-polystyrene cuvette, and the process is described as being environmentally friendly, as it requires a very low reagent volume. Nitrite monitoring is also of interest for health-related applications. In [
7], a portable and low-cost UV-based LED system is presented for the detection of nitrite in urine, allowing for the diagnosis of bacterial infection. In this case, a single Si-pin photodiode is used as the sensor. In [
8], the authors describe a system intended to characterise the pH of a solution. In this work, the analyte is mixed in a cuvette with several reagents that undergo colour changes in different pH ranges. A white LED is used to illuminate the sample, and the three channels of an RGB sensor are used to obtain a quantitative evaluation of the analyte’s pH. This enables pH measurement over the whole pH range, compared to colorimetric pH measurement systems based on a single reagent and a single photodiode [
9].
In addition to the numerous applications based on the detection of a colour change of a solution as a chemical reaction occurs between an analyte and a reagent, colorimetric measurement systems using LEDs have also been used for alternative applications. In [
10], an RGB sensor was used in tandem with an IR-based turbidimeter in order to determine the colour of suspended particles in water. The device was placed on the structure of a buoy and tested under real conditions for two months. In [
11], a near-infrared LED photometer dedicated to the analysis of gasoline is presented. Thanks to its portability, it allows for field analyses to be carried out. Finally, we believe that several applications will emerge in the pharmaceutical field, as the colour variation of liquid drugs indicates the presence of impurities or of product degradation, and these tests can be carried out rapidly at a minimal cost [
12].
In this paper, we first present an RGB sensor-based prototype for liquid analytes’ colorimetric characterisation. While some works report using a custom fluidic cell [
13], we decided to use standard commercially available cuvettes as the analyte container. Using these cuvettes speeds up the development of a measurement system (e.g., using a 3D printer to build the cuvette holder). They ensure repeatability, and they can be easily swapped or cleaned between tests, while the cuvette holder and optoelectronic systems can be reused indefinitely. We developed two versions of the prototype, allowing for the accommodation of cuvettes with optical paths (OPs) of 10 mm and 40 mm. The 10 mm OP cuvettes are the most standard, while the 40 mm OP cuvettes should allow for increasing the system’s sensitivity when there is less constraint on the analyte volume or on the system dimensions.
Subsequently, we assess the impact of the analyte volume/height in the cuvette on the signal output. As the design of the prototype is straightforward, the light path is not as strictly controlled as it would be when using a laboratory spectrophotometer. Therefore, we expected the light reflection at the analyte/air interface to play a significant role in the output signal variation, at least for low analyte volumes. The objectives of this study were twofold. First, LED-based systems, owing to their portability, simplicity and cost-effectiveness, will find many applications in measurements performed in the field, outside of a controlled laboratory environment. In such environments, strict measurement protocols are more difficult to follow, especially if the measurements are performed by non-specifically trained people. Although the use of portable laboratory equipment, such as high-accuracy pipettes, would facilitate the process of volume control, these remain fragile and expensive. Therefore, we expect that the analyte level will often be inaccurately controlled in such circumstances. Second, for applications taking place in the laboratory, even if the volume can easily be controlled (and certainly must be in the case where an analyte and a reagent are mixed), there is often an economical and/or environmental driver to minimise the quantity of the analyte and reagent to be used to perform one test. In this study, we experimented with both water and dye solutions.
Finally, building upon previously presented results, we introduce a new measurement concept for LED-based system, in which the reagent is in the solid phase. For the preliminary experiments presented in this paper, we used a dye-loaded molecularly imprinted polymer (MIP), taking the form of particles with an average diameter of 100 µm. As particles floating on the analyte surface are difficult to avoid in this case, we studied how these particles, as well as deposits at the bottom of the cuvette, affect the measurements. The objective of these dye-displacement assays was indeed to measure the amount of dye released in the solution, which is an image of the concentration of the MIP target in the analyte, but the result should be insensitive to the unreleased MIP particles.
The structure of this paper is as follows: The prototype hardware is described in
Section 2.
Section 3 presents the results related to the analyte volume variation and to the impact of deposits and floating particles. Finally,
Section 4 draws the conclusions.
2. Materials and Methods
The prototype was designed so as to be suitable for as many applications as possible. For this purpose, we selected a white LED as the light source and an RGB sensor as the transducer. Generally speaking, two major LED/RGB sensor implementations have been reported. In the first implementation [
4,
5], the LED and the sensor are placed next to each other on the same PCB (Printed Circuit Board), and the light reflects on a surface on the other side of the cuvette. This implementation is more common in the literature, likely because it can be implemented using RGB sensor development kits, which usually come in this configuration. Another advantage is that, because the light reflects on the white enclosure wall and reaches the sensor after a round trip in the analyte, the sensitivity is likely increased, as the optical attenuation is directly proportional to the optical path length, as expressed by the Beer–Lambert law. However, the sensor output depends on the reflectivity of the enclosure material (composition, colour and surface finish), and the effective light paths from the LED to the sensor are less straightforward to estimate. For these reasons, we decided to implement an alternative configuration (
Figure 1) in which the RGB sensor and the LED are located on the facing sides of the cuvette [
6]. An opaque enclosure, including a cap, was implemented to eliminate stray light inside the system. This enclosure was 3D printed using black PLA filament. In the first implementation of the prototype, the LED and the sensor are placed precisely to face each other, 7.5 mm above the enclosure bottom and 6.5 mm above the cuvette bottom (taking into account a 1 mm cuvette wall thickness). For the experiments presented in
Section 4, we also used a modified version of the prototype in which the LED/RGB sensor centre line is located higher, i.e., 14 mm above the bottom of the cuvette.
As the main component of our colorimetric measurement system, we selected the VEML3328 RGB sensor from Vishay (Malvern, PA, USA). This is a multi-use colour sensor with red, green, blue, clear and infrared (IR) channels, with a 16-bit resolution for each channel. The interface circuit is based on the development kits SensorXplorer and VEML3328-SB from Vishay (Malvern, PA, USA). We fully redesigned the electronic hardware layout while keeping the electronic schematic equivalent. In this way, the software libraries provided by the manufacturer to configure the sensor and record the measurements are still compatible, and we used the software (VEML3328_Xplorer_v1.4.1) provided with the development kits to configure the sensor and record data. The updated hardware consists of two PCBs. The main PCB, connected to a PC through a USB cable, includes most of the electronic components on the top layer. The only component on the bottom layer is the VEML3328 sensor, which faces towards the cuvette. The second PCB is populated with a standard 400 to 800 nm white LED with a 5500 K colour temperature (reference VLMW33S2V1-5K8L-08, from Vishay (Malvern, PA, USA). The two boards are connected using an FFC (Flat Flexible Cable) Premo-Flex 15266-0053 from Molex (Lisle, IL, USA). The LED is powered by a voltage of 5 V through a resistor of 47 Ω, leading to a typical LED current of 27.7 mA (considering a typical LED forward voltage of 3.7 V). The relative intensity of the LED [
14] and the relative sensitivity of the RGB sensors [
15] are depicted in
Figure 2 as a function of angular displacement. The angle of half intensity of the LED is about 60°. The sensor gain was set to 1, while the integration time was set to 50 ms for 10 mm OP cuvettes and to 200 ms for 40 mm OP cuvettes. This is the largest integration time that we could use through experiments without saturating the sensor output.
The final prototype implementation is shown in
Figure 3. The primary setup uses a disposable plastic cuvette, which has an optical path of 10 mm (VWR 612-5503). In an alternative implementation, we used a larger cuvette with an optical path of 40 mm. As plastic cuvettes of the latter dimension were not easily available, we used an optical glass cuvette 6030-OG from Hellma Analytics (Müllheim, Germany) that was carefully cleaned between each test. This alternative prototype is very similar, with the only difference being that the 3D printed enclosure is made much larger to accommodate the 40 mm glass cuvette (a width of 47 mm instead of 17 mm).
It should be noted that a warm-up period of 10 to 15 min was necessary to obtain stable measurements. This likely originated from the significant heating of the LED, as no specific heat sink was implemented. The LED power dissipation was indeed about 100 mW (V
F = 3.7 V, I
F = 27.7 mA), leading to an LED junction maximum temperature increase of about 40 °C (R
thJA = 400 K/W). This effect, illustrated in
Figure 4, must be taken into account if the prototype is intended for quick analyses in the field.
Finally, each measurement point presented from here onwards represents the average value over 30 successive sensor readings. The sensor readings proved to be very stable over the successive readings, as illustrated for one random case in
Figure 5. The coefficient of variation of the readings never exceeded 0.1% during the experimentation. Therefore, we omitted the error bar in subsequent figures for the sake of clarity.