Next Article in Journal
A Novel Inner Wall Coating-Insulated Oil Pipeline for Scale and Wax Prevention
Previous Article in Journal
Finite Element Analysis and Prediction of Rock Mass Permeability Based on a Two-Dimensional Plane Discrete Fracture Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development of a Lux Meter for the Identification of Liquids in Post-Consumer Polyethylene Terephthalate Bottles for Collection Centers in Mexico

by
L. A. Ángeles-Hurtado
1,†,
Juvenal Rodríguez-Reséndiz
1,*,†,‡,
Hilda Romero Zepeda
1,†,
Hugo Torres-Salinas
2,†,
José R. García-Martínez
3,† and
Silvia Patricia Salas-Aguilar
1,†
1
Faculty of Engineering, Autonomous University of Querétaro, Querétaro 76010, Mexico
2
Faculty of Informatics, Autonomous University of Querétaro, Querétaro 76230, Mexico
3
Faculty of Engineering in Electronics and Communications, Universidad Veracruzana, Poza Rica 93390, Mexico
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Current address: Head of the Energy and Sustainability Laboratory, Autonomous University of Querétaro, Querétaro 76010, Mexico.
Processes 2023, 11(7), 1963; https://doi.org/10.3390/pr11071963
Submission received: 29 May 2023 / Revised: 20 June 2023 / Accepted: 25 June 2023 / Published: 28 June 2023

Abstract

:
This article aims to enhance technological advancements in the classification of polyethylene terephthalate (PET) bottle plastic, positively impacting sustainable development and providing effective solutions for collection centers (CC) in Mexico. Three experimental designs and machine learning tools for data processing were developed. The experiments considered three factors: bottle size, liquid volume, and bottle labels. The first experiment focused on determining the sensor distance from post-consumer PET bottles. The second experiment aimed to evaluate the sensor’s detection ability with varying liquid levels, while the third experiment assessed its detection capability for bottle labels. A digital lux meter integrated with a microcontroller was developed to monitor illuminance in post-consumer PET bottles containing liquid as they moved through a conveyor belt at an average rate of three bottles per second. The implemented methodology successfully detected liquids inside transparent PET bottles when they contained beverages ranging from 25% to 100% of their capacity. This study highlights the feasibility of implementing an affordable design for identifying bottles with liquids at CC.

1. Introduction

Every year, millions of metric tons of plastic are produced worldwide, leading to significant challenges in managing urban and industrial solid waste. Initiatives promoting a recycling culture have been developed globally to reduce waste generation [1]. For successful recycling, polymers must possess specific quality characteristics [2]. In [3], they revealed that it is possible to make significant improvements in terms of sorting recovered plastic waste. In the United Mexican States, over 86,343 tons of solid and organic waste are collected daily from homes, buildings, streets, avenues, parks, and gardens. More than half of these generated materials nationwide are organized in seven states. Unfortunately, less than 11% of the collected waste is separated daily in Mexico [4]. The country has CC for urban solid waste. In the various CC where recyclable materials are purchased, users bring bottles to be paid at a reasonable price. However, these bottles are often internally and externally contaminated with liquids or organic substances. Mexico has 501 CC that collect various materials, with paper, cardboard, PET, and glass accounting for 65% of the collected waste. The states with the most CC are Ciudad de México with 411, Estado de México with 17, Hidalgo with 15, Quintana Roo with 15, and Aguascalientes with 11 [5]. While 87 out of 100 people in Mexico express interest in environmental conservation, only 31% practice it [5,6]. Implementing efficient waste separation and recovery measures can significantly reduce the amount of waste sent to landfills [7]. Therefore, promoting and facilitating reuse and recycling practices can profoundly impact the environment. It is crucial to take viable actions to transfer value to the end consumer and minimize the environmental impact of solid urban waste. In Mexico and Latin America, leading companies provide direct employment to approximately 98,000 individuals and generate over one million indirect jobs in recycling plastic materials [8]. Daily, CC buy recyclable materials including polymers, ferrous and non-ferrous metals, and electrical and electronic materials. Proper separation is essential to restore market value to recyclable materials, ensuring that polymers are not mixed with other materials, liquids, oils, or polymers. To increase recycling, personnel who can identify material that could still be used again are required. The identification of recyclable bottles is primarily performed manually at CC, resulting in delays in classification and increased losses due to the inability to detect contaminated bottles. Bottles with higher levels of contamination, particularly liquids, contribute to increased weight. Therefore, it is crucial to identify bottles with significant liquid or other contaminants. Accurate classification of recyclable materials in CC, mainly polymers, supports the circular economy and provides employment opportunities. Modernizing CC can enhance productivity and improve plastic waste management in developing countries [4]. This project proposes a potential solution for micro-enterprises functioning as CC, enabling them to estimate the liquid content rather than relying solely on plastic weight. The development and design of a digital lux meter aims to monitor the reflectance in post-consumer PET bottles when liquids are present. Existing commercial lux meters may not be suitable for the specific purpose described in this context. To address this issue, this paper proposes developing an affordable alternative to effectively measure illuminance and provide the advantage of generating actions based on a predefined illuminance value.
  • This paper aims to develop an automatic liquid identification system for recyclable polyethylene terephthalate bottles with an affordable design.
  • A new methodology is developed and implemented to identify dark liquids.
  • In conclusion, it is possible to quantify the number of dark liquids that post-consumer PET bottles may contain by implementing an affordable design.

1.1. Post-Consumer PET Bottles

Recyclable plastics (thermoplastics) are defined as polymers that can be melted and shaped almost indefinitely. When exposed to heat, they undergo a phase change, melting into a malleable state, and solidify again upon cooling. However, if frozen, thermoplastics can break, just like glass. The reversible nature of their melting and solidification processes allows thermoplastics to be repeatedly heated, shaped, and cooled without a significant loss in their material properties. This characteristic is integral to their name and distinguishes them from other plastics [9]. There are more than one hundred types of plastics, but six of them are particularly common and widely used [10]. Polypropylene, polyethylene, polyvinyl chloride, polystyrene, polyethylene terephthalate, and polycarbonate [11]. These plastics are frequently recycled due to their widespread use. They are identified by a number within a triangle to aid in their identification. They were codified by the Plastics Industrial Society in 1980 [12]. There are various presentations of PET bottles; see Figure 1.
PET bottles are identified by the number one within a triangular symbol often engraved on the bottom of the bottle. One million plastic bottles are sold worldwide every minute, and 60 million metric tons of PET are produced yearly. For soft drink manufacturers Coca-Cola and PepsiCo, the production of PET bottles from 250 mL to 600 mL constitutes 50% of annual sales. Bottling represents 30% of world PET production, amounting to 20 million metric tons. The annual consumption was estimated to exceed half a billion in 2021 [13]. Once the PET has been collected and classified, it represents a raw material for the recovery processing lines. The recovery involves washing the materials, mainly bottles, and conditioning the plastics to be processed as resin [14]. Because PET is food safe, it is used throughout the food delivery system. Out of total plastic production, 50% is for single-use products [13]. Plastic waste has physical characteristics that comprise only 7% to 9% by weight and 20% to 30% by volume. This means that a lot of energy is required to store, move, and process the waste polymers [15]. Recycling PET is a profitable endeavor, as it can be transformed into various products, such as fibers for carpets, clothing, 3D printer filaments, bags, toys, and new bottles. In Mexico, Coca-Cola has already introduced 100% recycled bottles to the market. While recycling is essential for maintaining an economic cycle, it also has environmental implications. For instance, PET bottles in landfills can release over 1108 tons of antimony into the hydrosphere, pedosphere, and atmosphere, potentially causing developmental disorders in children [16].

1.1.1. Physical Characteristics of Post-Consumer PET Bottles

To ensure the suitability of post-consumer PET bottles for mechanical recycling, specific criteria must be met, and knowledge of the plastic’s origin is essential to ensure the purity of the resulting resin. Plastics primarily originate from the mass of urban solid waste from two prominent sources. These sources can be further divided into three classes: those that have been classified and separated from other classes, or mixed waste; those of the same class but of a different color of cap or bottle; and mixed plastic waste combined with other debris, such as paper, cardboard, metal, etc., including plastics found in electronic waste. Among these different types of bottles, the plastic used in PET bottles differs from the plastic used for the screw caps used to seal them. Lids are made of high-density polyethylene or foamed polypropylene, while the bottom of the lid is polypropylene. This plastic is more rigid than PET [13].

1.1.2. Reducing the Problem to an Empirical Level

The global population growth and the impact of the COVID-19 pandemic increased the use of single-use plastics and solid waste, particularly in cities [17]. There are at least 23 different presentations of PET bottles in Mexico, and their storage capacity ranges from 100 mL to more than 10 L. Therefore, more efficient systems and methods are required to collect, classify, store, and process solids after having finished their life cycle. Solid waste collection and sorting of post-consumer recyclable materials require many resources and human resources. Developing automated systems that perform these activities reduces the requirements for resources and labor. CC buy materials to be separated, classified, or treated for reuse. See in [5] the type of material and amount separated in 2018. The modernization of CC in managing urban solid waste represents an economic, social, technological, and ecological opportunity. This research work was carried out using the methods of observation and statistical analysis. The study contemplates only the characteristics of post-consumer PET bottles collected and taken to a collection center for purchase. The study and data collection were conducted in Querétaro, in a collection center called Recyclable Materials Ángeles located north of the town. The data acquisition period was 7 March 2021. The analysis ended 6 May 2023. To estimate the number of liquids in the post-consumer PET bottles, a manual classification process was conducted by three individuals who had prior knowledge of the characteristics required for PET polymer to be recyclable. This classification process aimed to identify the bottles that contained liquids. A sample of 100 kg of post-consumer PET bottles was selected from a collection center to approximate the number of liquids present. The sample consisted of a total of 4959 post-consumer PET bottles. The bottles were unsorted and of various sizes and colors.

2. Methodology

Figure 2 summarizes the implemented methodology; the results of each stage are used for the final proposal.

2.1. Materials

Various materials were used to automate the experiment and minimize the variation in the data, thus avoiding external factors such as the environment, etc.

2.1.1. Mechanical Design Parameters

For experimentation, a mechanical system was developed to transport bottles of different sizes. The design parameters can be seen in Table 1. A conveyor belt and a mobile structure were used to determine the best position for data acquisition to assemble the lux meter. The conveyor belt has a geared motor with 1750 revolutions per minute and a reducer of one hundred to one, equivalent to making eighteen turns in one minute.

2.1.2. Electronic Card

Table 2 shows some of the materials used to develop the lux meter.

2.2. Description of the Manual Bottle Classification Process

Figure 3 describes the process used in the study to discriminate post-consumer PET bottles. The experiment began in the collection center Recyclable Materials Ángeles. The material purchased was mixed, so it was inspected to find out what conditions it was in. If the bottle had a label, it was removed depending on whether it covered the entire bottle; then, the bottle was classified according to the color. Finally, it was compacted and stored.
From the 100 kg sample, it was expected to observe at least 23 different types of post-consumer PET bottles, considering liquid storage capacity as the main differentiator. Bottles ranged from 100 mL to 10 L. To verify that the sample was representative, we used the information provided by the soft drink manufacturers Coca-Cola and PepsiCo [13].

2.3. Design of Experiments for Variable Identification

Design of experiments (DOE) is a practical statistical tool for design and testing. DOE provides a sequential strategy to find a region containing the optimum settings of the variables. Suppose many variables can affect the performance of a system, but only a relatively small number of them are essential. In that case, a screening experiment can be conducted to identify the critical variables [18]. Three DOEs were developed, two with two factors and the other with only one factor. The distance, the size of the bottle, and the label of the bottles are factors that were considered to affect the illuminance measurement. See Table 3.

2.3.1. Design of Experiments to Determine the Distance and Working Range of the Lux Meter

To determine the position of the lux meter, a DOE was developed that helped obtain readings that represent the amount of liquid inside the bottles. Figure 4 illustrates the causality diagram with the considered factors. See Table 4.
The position of the bottle was established vertically in the direction of the conveyor belt. It is essential to highlight that other positions were not considered. The experimentation was carried out with dark liquids. See Figure 5 to know the interaction of the distance factor [19]. With the data obtained, the significant distance was determined to specify the operating range of the lux meter.
Table 5 summarizes the results of the variation sources of the preparation of the analysis of variance (ANOVA) of two factors.

2.3.2. Design of Experiments to Identify the Minimum Amount of Liquids inside the Bottle

The distance was considered a fixed factor once the results of the first DOE were obtained. The second DOE was developed to obtain readings representing the minimum amount of liquid inside the bottles. See Table 6. The position of the bottle was maintained as in the first DOE. See Figure 6.
The minimum amount of liquids the lux meter could identify was determined with the data obtained. With the results of the two DOEs, the minimum characteristics that the lux meter must have were established.

2.3.3. Design of Experiments to Determine Label Illuminance

A one-factor DOE was performed to identify the reflectance of the labels on the bottles. A recommendation to determine the number of replicates (n) is that the degrees of freedom of the error are at least 20 or 25. According to this recommendation, we used the double N = a + 50 , where n = N / a , where a is the number of levels of factor A. For this example, considering a minimum of 50 degrees of freedom in error and N = 10 + 50 , n = 60 / 10 , six replicates were performed. See Table 7 [20].
Table 8 summarizes the results of the sources of variation of the elaboration of the ANOVA of a fixed factor.
Once the three DOEs were finished, their results were processed using principal component analysis. The results will help us identify and approximate the amount of liquids inside the bottle.

2.4. Principal Component Analysis

Principal component analysis (PCA) is a numerical research method. Its main objective is to explain the maximum variance with the least number of components. PCA can analyze the main elements of multiple characteristics, expose their nature by highlighting the main features, and shorten the data dimensions to help diagnose complex problems. The first component represents the most significant percentage of the total variation in the data. The second component represents the second largest percentage of the total data variation, and so on [21,22]. Minitab 17 Statistical Software was used for this analysis. The PCA was used to describe the variation between the DOE results and their correlation, reducing the complexity and aiding data interpretation.

2.5. Support Vector Machine

A support vector machine (SVM) has robust classification capabilities considering statistical learning theory and the principle of minimum structural risk. An SVM effectively solves small-sample, high-dimensional, nonlinear learning problems and overcomes the shortcomings of artificial neural network learning in determining the rational structure. An SVM improves the generalizability of learning methods [21,23]. In general, an SVM is a linear classifier for two data types, one of which is labeled as follows: ( x 1 , y 1 ) , …, ( x l , y l ) , where x i R N is a feature vector and y i { 1 , 1 } is a label belonging to a class. An SVM constructs an optimal hyperplane as a surface decision to separate data points of two classes. The hyperplane margin is defined as the minimum distance from the hyperplane training points [24]. The learning problem of an SVM is to search for the optimal hyperplane once the data set is obtained, and find the values of w and b such that they satisfy the condition y i w t x i + b 1 ; i=1, 2, …, l [25].

2.6. Development of the Lux Meter and Liquid Identification System

2.6.1. Definition of the Measurand for the Measurement of Illuminance

A system that works in the visible spectrum was developed for the illuminance measurement; it can identify if there is liquid inside the plastic bottle (see Figure 7). At this stage, a lux meter was developed that identifies a bottle with no deformation and a label [26].
The measurand is the electric current that passes through a silicon photodiode for illuminance measurement. The measure is indirectly due to the properties of the sensor that changes its resistance when the illuminance varies in the photodiode [27]. If the relationship between V and I is linear, we are in the presence of an ohmic material or component. The relationship that describes this behavior is known as the law of Ohm, I = V R . By varying the resistance of the photodiode due to the change in illuminance and the induced V, the I will change. Depending on this variation, the illuminance can be calculated. To illustrate the behavior of the sensor, the manufacturer provides information represented in [27], and the scale is logarithmic–logarithmic.

2.6.2. Ambient Light Sensor BPW21R

Illuminance measures the intensity of light incident on a surface and can be correlated to the brightness perceived by the human eye. In the visible range, it is measured in units called lux. Ambient light sensors detect light or brightness like the human eye. A standard silicon photodetector is more sensitive to infrared than visible light. Using BPW21R ambient light sensors solves this problem because they are most sensitive to the visible part of the spectrum. On the other hand, there is a strictly logarithmic correlation between the open circuit voltage and the illumination over the same range. BPW21R is a planar PN silicon photodiode specially designed for high-precision linear applications. Due to its extremely high resistance to darkness, the short-circuit photocurrent is linear over seven decades of illumination levels. The device has a flat glass window built with a color correction filter, approximating the human eye spectral response. A standard silicon photodetector is much more sensitive to infrared than visible light. By contrast, BPW21R is sensitive to the visible part of the spectrum [27,28]. This work has reduced incandescent light and sunlight for the exact lux measurement.

3. Results

This work considered that the plastics came from homes, apartments, condominiums, and commercial areas generated by retail businesses, offices, and hotels because the bottles presented less than 1% loss and dirt. It should be noted that it was decided to round their value for the data capture of certain bottles that were very close in storage capacity. For example, the 1.75 L bottles were added to the 2 L bottles.

3.1. Sample Results of the Classification Process Manually

Four thousand, nine hundred and fifty-nine post-consumer PET bottles were analyzed, representing over 100 kg. The results can be seen in Table 9. The bottle that presented the most was the 600 milliliter bottle (26.35%). On the other hand, eight types of bottles represented 94% of the variation found in the twenty-three bottle types in the sample.
With the results, the characteristics of the 0.25 L, 0.35 L, 0.6 L, 0.5 L, 1 L, 1.5 L, 2 L, and 3 L PET bottles were considered in the next stage. This means that by basing the experimentation on eight types of bottles, we could obtain an approximation of other kinds of bottles with similar characteristics.

3.2. Design of Experiments for Variable Identification

3.2.1. Design of Experiments to Determine the Distance and Working Range of the Lux Meter

The experiment designs with three different distances with zero speed on the conveyor belt were developed. The design experiments were carried out with a commercial lux meter to identify the distance the lux meter should have to identify liquids inside the bottles.
  • A: Distance from the lux meter to the conveyor belt (20, 25, 30 cm).
  • B: Bottle Size (200, 300, 355, 500, 600, 1000, 1500, 2000, 3000 mL).
The initial conditions to start the experiment were to take the reading of the lux meter when the light source was off, and the results were 0.3–0.4 lux. Subsequently, the light source was turned on, and the light reflected from the conveyor belt was between 13.8 and 14.5 lux. For replicates and not repetitions to be considered in this experiment, measurements were taken at different times and on other days. The DOE implementation is shown in Table 10, and the results are in Table 11. In [20] it is stated that for the case of two factors, the minimum sample size should be N = a + b + ( a 1 ) ( b 1 ) + 24 . See Equation (1)
N = a + b + ( a 1 ) ( b 1 ) + 24 = 3 + 9 + ( 3 1 ) ( 9 1 + 24 ) = 52
The number of replicates per cell is N / a b , where a and b are, respectively, the number of levels of factors A and B. For this design, N is considered to be 54
n = N / a b = 54 / ( 3 ) ( 9 ) = 2 .
The following Equations (3)–(7) shows the elaboration of the ANOVA of two factors. The sum of squares and degrees of freedom were calculated as follows.
S S T = y i j 2 ( y i j ) 2 N = ( 13.4 ) 2 + + ( 16 ) 2 771.6 54 = 371.0533
S S A = T o t a l S u m i 2 b n ( y i j ) 2 N = ( 215.8 ) 2 + ( 273.2 ) 2 + ( 282.6 ) 2 18 ( 771.6 ) 2 54 = 145.2844
S S B = T o t a l S u m j 2 a n ( y i j ) 2 N = ( 88 ) 2 + + ( 79.9 ) 2 6 ( 771.6 ) 2 54 = 19.73
S S A B = S u m i j 2 2 ( y i j ) 2 N S S A S S B = ( 26.1 ) 2 + + ( 33 ) 2 2 ( 771.6 ) 2 54 145.2844 19.73 = 194.5788
S S E = S S T S S A S S B S S A B = 371.0533 145.2844 19.73 194.5788 = 11.46
With the ANOVA we seek to know if the factors are significant and if there is an interaction. Interaction is defined as a dependency relationship between the value of the response and the levels of two or more variables. The response graphs are presented in Figure 8. The calculations are
Y ¯ A 1 = 215.8 18 = 11.98 Y ¯ A 2 = 273.2 18 = 15.17 Y ¯ A 3 = 282.6 18 = 15.7 Y ¯ B 1 = 88 6 = 14.66 Y ¯ B 2 = 85.9 6 = 14.31 Y ¯ B 3 = 89.4 6 = 14.9 Y ¯ B 4 = 84.2 6 = 14.03 Y ¯ B 5 = 82.6 6 = 13.76 Y ¯ B 6 = 85.8 6 = 14.3 Y ¯ B 7 = 92.6 6 = 15.43 Y ¯ B 8 = 83.2 6 = 13.86 Y ¯ B 9 = 79.9 6 = 13.31 Y ¯ A 1 B 1 = 26.1 2 = 13.05 Y ¯ A 1 B 2 = 25.5 2 = 12.75 Y ¯ A 1 B 3 = 26.9 2 = 13.45 Y ¯ A 1 B 4 = 26.9 2 = 13.45 Y ¯ A 1 B 5 = 25.6 2 = 12.8 Y ¯ A 1 B 6 = 27 2 = 13.5 Y ¯ A 1 B 7 = 29 2 = 14.5 Y ¯ A 1 B 8 = 19.7 2 = 9.85 Y ¯ A 1 B 9 = 9.1 2 = 4.55 Y ¯ A 2 B 1 = 29.4 2 = 14.7 Y ¯ A 2 B 2 = 27.1 2 = 13.55 Y ¯ A 2 B 3 = 30.1 2 = 15.05 Y ¯ A 2 B 4 = 27.5 2 = 13.75 Y ¯ A 2 B 5 = 26.6 2 = 13.3 Y ¯ A 2 B 6 = 28.7 2 = 14.35 Y ¯ A 2 B 7 = 31.7 2 = 15.85 Y ¯ A 2 B 8 = 34.3 2 = 17.15 Y ¯ A 2 B 9 = 37.8 2 = 18.9 Y ¯ A 3 B 1 = 32.5 2 = 16.25 Y ¯ A 3 B 2 = 33.3 2 = 16.65 Y ¯ A 3 B 3 = 32.4 2 = 16.2 Y ¯ A 3 B 4 = 29.8 2 = 14.9 Y ¯ A 3 B 5 = 30.4 2 = 15.2 Y ¯ A 3 B 6 = 30.1 2 = 15.05 Y ¯ A 3 B 7 = 31.9 2 = 15.95 Y ¯ A 3 B 8 = 29.2 2 = 14.6 Y ¯ A 3 B 9 = 33 2 = 16.5
At a closer distance, the larger-capacity bottles reflected less, and at a greater distance, the reflectance seemed to stay between 14.7 and 16.5 lux. When comparing the initial conditions when there was no bottle on the conveyor belt, the range was between 13.8 and 14.5. Therefore, it indicates that the illuminance increased when a bottle with liquid was between 0.9 and 2 lux.
The significant distance to obtain the illuminance was determined with the data obtained. Figure 9 shows the optimal distance between the meter and the conveyor belt and between the light source and the conveyor belt.

3.2.2. Design of Experiments to Identify the Minimum Amount of Liquid Inside the Bottle

For the initial conditions to start the experiment, the lux meter readings were taken when the light source was off, and the readings were between 0.7 and 0.8 lux. With the light source on, the reflection was between 15.6 and 17.8 lux. These were taken at different times and on other days so that replicates and not repetitions were considered in this experiment. The conveyor belt was cleaned, which caused an increase in reflectance. See Table 12 and Table 13.
  • A: Percentage of liquids in the bottle (50, 25, 0%).
  • B: Bottle Size (200, 300, 355, 500, 600, 1000, 1500, 2000, 3000 mL).
Figure 10 shows an interaction between the factors. It describes that when there is less liquid inside the bottle, the amount of illuminance increases depending on the bottle size. This means that the operating range is between 13.75 and 15.75 lux and that the variation in illuminance is between 1.85 and 2.05 lux.

3.2.3. Design of Experiments to Determine the Illuminance of the Labels

In the third DOE, the label of each bottle is not uniform, so depending on its position, it would give a different reading, see Table 14.
The calculation of the sums of squares and degrees of freedom for a factor is performed as follows:
S S T = y i j 2 ( y i j ) 2 N = ( 30 ) 2 + + ( 18 ) 2 ( 1240.20 ) 2 60 = 804.526
S S t = S u m j 2 n ( y i j ) 2 N = ( 163.20 ) 2 + + ( 105.4 ) 2 6 ( 1240.20 ) 2 60 = 722.48
S S E = S S T S S t = 804.526 722.48 = 82.046
g l ( S S T ) = N 1 = 60 1 = 59
g l ( S S t ) = a 1 = 10 1 = 9
g l ( S S E ) = g l ( S S T ) g l ( S S t ) = N a = 60 10 = 50
The results of the sums of squares and degrees of freedom calculations are shown in Table 15. With the results obtained, 48.92 is more significant than 2.07, and the equality of means is rejected. The size of the label affects the illuminance.
The experiment was carried out by modifying the bottle in different positions to obtain the most significant variation between replicates. In Figure 11, it is shown that as the size of the label on the bottle decreases, the illuminance decreases. However, the illuminance increases when the bottle has a label; this occurs when the brand has white letters.

3.3. Principal Component Analysis

Finally, principal component analysis was used to identify the number of liquids in the bottles. Data were entered into the Minitab software, and the data and results are shown in Table 16.
Transforming the data with the following formula, x i j = x i j x ¯ j σ j , the two principal components represent 76.8% of the variation in the data. The results are shown in Figure 12. The graph shows that the 3000 and 1350 bottles have the most illuminance, mainly due to their type of label. This result is due to the manufacturing design. The bottles 2000 and 1000 have high illuminance when they have a label. When they contain liquids, their illuminance is much lower than the other bottles. The 500 and 600 bottles have slight label variations but are more significant when the amount of liquids decreases. The 200 bottle is the most difficult to detect by its label and if it has liquids. The 300 and 355 bottles are similar concerning the label when they have liquids inside the bottle. The 355 and 300 bottles with liquid contents between 75 and 177 mL have the most variation at a distance of 25 cm from the conveyor belt.
In conclusion, the first component is the amount of variation in the bottles affecting the detection of liquids. The second component was interpreted as the variation in bottle labels. With these results, at least two classes can be identified to determine the amount of liquid inside the bottles.

3.4. Support Vector Machine

In Table 17, the bottles were classified according to their different sizes and the amount of liquid inside them.
The development of the SVM used a program in Matlab that can be consulted in Listing A1. Figure 13 shows that two classes were determined, one for bottles with liquids less than 337.5 mL and class two for bottles with more than 500 mL.
The SVM results help us determine the operating range to detect the bottle size and the amount of liquid inside it. As the number of classes increases in this analysis, the amount of liquid inside the bottles can be determined better at an affordable cost of implementation.

3.5. Development of the Lux Meter and the Liquid Identification System

A system was developed that works in the visible spectrum. By measuring the luminous intensity, it is possible to identify if there is liquid inside the plastic bottle. At this stage, a lux meter was developed to be activated by identifying a bottle with no deformation. See Figure 14. Activation was performed manually.
Infrared spectroscopy was used to detect the absorption of different light wavelengths in PET and labels. In the first stage of this configuration, work was carried out with an infrared photodiode that detects wavelengths in the range of 800 nm to 1100 nm, suitable for differentiating between transparent and colored PET and labels with different sizes and colors. A light source was installed to help the sensor better detect the type of plastic and to obtain the data. With the results of the three DOEs and with statistical evidence, the working range was designed for optimal operating conditions and detection of wavelengths [29,30].

3.5.1. Functions to Estimate the Illuminance on the Sensor

The value of the measurand was estimated, and the law of Ohm was applied (see Equation (14)), and 18 linear equations were calculated to obtain the electrical resistance in the entire working range of the photodiode. See Figure 15.
The input signal to the microcontroller was not amplified because the readings were consistent. The variable resistance of the photodiode was estimated, and with it, the current of the circuit was calculated to assess the illuminance.
I = V R = V o l t a g e R e s i s t a n c e v a r i a b l e + R e s i s t a n c e f i x e d
The first nine points of Table 18 were taken to obtain the equations that describe the photodiode, then Newton’s interpolation was applied, and the variables were cleared.
Work intervals were estimated, and a function was determined using the current in the circuit. The results are the following: From 0 lux to less than 89 lux, we have the following Equations (15)–(17).
l u x = 45 5 69 200 I
l u x = 10 11 ( 100 I + 3 )
l u x = 175 5 1041 800 I
Equation (18) from 90 to 200 lux
l u x = 0.151515 ( 100000495 10000105600001089 132000000000 I )
Equation (19) from 200 to 400 lux
l u x = ( 5 ( 21909103 374223401867769.0 145454800000000 I ) ) 363637
Equation (20) from 400 to 600 lux
l u x = ( 50 ( 240.0 I 359.0 1.0 ) ) 3
Equation (21) from 600 to 800 lux
l u x = 50 80 I + 113 650
Equation (22) from 800 to 1000 lux
l u x = 1750 50 1041 80 I
Equation (23) from 1000 to 3000 lux
l u x = 50 16 I 127.0 + 650
Equation (24) from 3000 to 5000 lux
l u x = ( 500 ( 31 889 24 I ) ) 3
Equation (25) from 5000 to 7000 lux
l u x = ( 1000 ( I + 3 ) ) 11
Equation (26) from 7000 to 9000 lux
l u x = 17500 500 1041 8 I
Equation (27) from 7000 to 20,000 lux
l u x = 100 ( I 5 )
Equation (28) from 20,000 to 40,000 lux
l u x = ( 500 ( 1825757 2598770771809 10101000000 I ) ) 30303
Equation (29) from 40,000 to 60,000 lux
l u x = ( 1000 5 ( 12 I 1795 5 ) ) 3
Equation (30) from 60,000 to 80,000 lux
l u x = 1000 5 4 I + 565 65 , 000
Equation (31) from 80,000 to 100,000 lux
l u x = 175000 1000 5 5205 4 I
Equation (32) greater than 100,000 lux
l u x = 1000 4 I 3175 + 65000

3.5.2. Lux Meter

The above equations were programmed on a microcontroller and a PCB designed for implementation on the conveyor belt. The conveyor belt was designed so that the system would analyze three bottles per second. It can move forward and backward and be controlled by pulses through a programmable logic controller (PLC) interface with a web page. The lux meter design can send the information through the USB port, and the data can be processed to identify liquids inside the bottles. Figure 16 shows the connections for the implementation and acquisition of the data.
Figure 17, shows the conveyor belt where the commercial lux meter and the proposed lux meter were installed. To detect the bottles, the conveyor belt starts and stops depending on the bottle when it passes entirely through the lux meter. The results coincide with the experimentation already mentioned above.
Listings A2 to A4, shows the code used to program the digital lux meter. Figure A1 shows evidence of the lux meter design.

4. Discussion

Based on the results obtained from the three experiments, it was possible to determine the distance at which the lux meter should operate to identify if the bottles contain liquids and approximate the amount of liquid in a ton of bottles. The results from the SVM also demonstrated that estimating the amount of liquid in a bottle is feasible. By increasing the dimensions of the support vector machine, it would be possible to optimize the system further using the available data. To enhance the accuracy of the liquid approximation, the research proposes the implementation of a video camera to identify the size of the bottle. This additional information can be used to optimize the performance of the lux meter in estimating the liquid content more effectively. Another objective of this work is to publish the results of developing an automated system for polymer identification CC in Mexico. The experimentation focused solely on bottles aligned with the conveyor belt. Incorporating a camera system can help minimize variations caused by the bottle’s orientation. To simplify the proposed idea, the research will conduct at least three experimental designs to analyze the factors that impact real-time image processing in a test bed. These experiments aim to generate insights for designing and developing an affordable classification system within the academic field. Overall, the work presented in this section represents a part of a larger project, and by combining the vision system, lux meter, and additional experimental designs, the research aims to achieve better results in developing an automated system for identifying polymers in recycling centers.

5. Conclusions

This work integrates classification technologies to demonstrate advances in the modern recycling of urban solid materials. It is necessary to emphasize that Mexico needs to develop techniques to increase the productivity of collection centers for recyclable materials and face the challenges that recycling implies.
  • It is possible to develop an automatic liquid identification system for recyclable polyethylene terephthalate bottles with an affordable design.
  • It was possible to develop a new methodology to be implemented to identify dark liquids.
  • It is possible to quantify the amount of dark liquid that post-consumer PET bottles contain by implementing an affordable design.
This work has provided a solution for modernizing collection centers to increase the classification of post-consumer PET bottles. We can assume with this work that it is possible to approximate the weight represented by liquids in post-consumer PET bottles by applying an identification system with machine learning instead of using a scale and then empirically estimating the weight of the liquid in bottles.

Author Contributions

Conceptualization, L.A.Á.-H. and J.R.-R.; methodology, L.A.Á.-H.; software, L.A.Á.-H.; validation, J.R.G.-M., H.R.Z., H.T.-S. and J.R.-R.; formal analysis, L.A.Á.-H.; investigation, L.A.Á.-H.; resources, L.A.Á.-H. and J.R.-R.; data curation, L.A.Á.-H.; writing—original draft preparation, J.R.-R., J.R.G.-M., H.T.-S. and H.R.Z.; writing—review and editing, J.R.G.-M., J.R.-R., H.T.-S., S.P.S.-A. and H.R.Z.; visualization, L.A.Á.-H.; supervision, H.R.Z. and J.R.-R.; project administration, L.A.Á.-H.; funding acquisition, J.R.G.-M., L.A.Á.-H., J.R.-R. and S.P.S.-A. All authors have read and agreed to the published version of the manuscript.

Funding

CONAHCYT funded this research.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

This work was carried out thanks to the support of the Autonomous University of Querétaro and Recyclable Materials Ángeles, Querétaro.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the study’s design; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

    The following abbreviations are used in this manuscript:
ANOVAAnalysis of variance
CCCollection centers
DIL4040 PINS dual-in-line package
DOEDesign of experiments
FF Ratio
glDegrees of freedom
LCDLiquid-crystal display
LEDLight-emitting diode
MSMean squarese
mlMilliliters
NCNormally closed
No.Number
PC1First principal component
PC2Second principal component
PCAPrincipal component analysis
PCBPrinted circuit board
PETPolyethylene terephthalate
PICPeripheral interface controller
PLCProgrammable logic controller
SVMSupport vector machine
SSSum of squares
USEUniversal serial bus

Appendix A

Listing A1. Code for the SVM algorithm in Matlab.
1      format~long
2   
3      P1 = [337.5,13.90,1];       % -1
4      P2 = [355,16.2,1];      % -1
5      P3 = [500,14.9,1];      % +1
6   
7      Figure~(1),plot(337.5,13.90,’o’);
8      hold on;
9      Figure~(1),plot(355,16.2,’o’);
10      hold on;
11      Figure~(1),plot(500,14.9,’x’);
12      xlim([0,800])
13      ylim([12,17])
14   
15      syms A1 A2 A3;
16      a1 = A1;
17      a2 = A2;
18      a3 = A3;
19   
20      eqs=[a1∗(sum(P1.∗P1))+a2∗(sum(P1.∗P2))+a3∗(sum(P1.∗P3))==-1,…                
21      a1∗(sum(P1.∗P2))+a2∗(sum(P2.∗P2))+a3∗(sum(P2.∗P3))==-1,…                
22      a1∗(sum(P1.∗P3))+a2∗(sum(P3.∗P2))+a3∗(sum(P3.∗P3))==1];
23   
24      [a1,a2,a3]=solve(eqs);
25   
26      Wx=a1∗P1(1)+a2∗P2(1)+a3∗P3(1);
27      Wy=a1∗P1(2)+a2∗P2(2)+a3∗P3(2);
28      Wb=a1∗P1(3)+a2∗P2(3)+a3∗P3(3);
29   
30      t=[0:1:800];
31      y=( -Wx∗t - Wb )/Wy;
32      hold on;
33      Figure~(1),plot(t,y);
34   
35      % Evaluate the results
36      Dx=[600,15.2];
37      res=Dx(1)∗Wx+Dx(2)∗Wy+Wb;
38   
39      if(res > 0)
40          1
41      elseif res < 0
42          -1
43      end

Appendix B

Listing A2. Code for programming the lux meter in c.
1   
2  #include <18F4550.h>
3  #device adc=10
4  #fuses HS,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV2,VREGEN          
5  #use delay(clock=20000000)
6  #define use_portb_lcd TRUE
7  #include <LCD.c>
8  #define USB_CON_SENSE_PIN PIN_B3
9  #include "usb_cdc.h"
10  #include <math.h>
11  #Byte PortA = 0xF80
12  #Byte PortB = 0xF81
13  #Byte PortC = 0xF82
14  #Byte PortD = 0xF83
15  #Byte PortE = 0xF84
16  void main(void){
17  while(TRUE){
18     int16 q;
19     float p,y,lux,t=0,Ts=0.5;
20     int k=0,aux=0;
21     char ch;
22     set_tris_a(0x01);
23     setup_adc_ports(AN0);
24     setup_adc(ADC_CLOCK_INTERNAL);
25     set_tris_e(0x03);
26     lcd_init();
27     printf(lcd_putc,"\f");
28     bit_clear(PortB,3);
29     while(TRUE){
30   
31     output_d(0x00);
32     set_adc_channel(0);
33     delay_us(10);
34     q=read_adc();
35     p=5.0∗q/1024.0;
36   
37     if(bit_test(portE,0)==0){
38        y=p/300000.0;
39        aux=1;
40     }
41     if(bit_test(portE,1)==0){
42        y=p/5000.0;
43        aux=2;
44     }
45     y=y∗1000000.0;
46     if(bit_test(PortB,3)==1 && k==0){
47              usb_cdc_init();
48              usb_init();
49              while(!usb_cdc_connected())
50              {
51              }
52              k++;
53     }
Listing A3. Code for programming the lux meter in c.
1  if(k>0 && usb_enumerated() ){
2        usb_task();
3       printf(usb_cdc_putc,"%f\t%f\tTs=%f\t\n",t,lux,Ts);
4       t=Ts+t;
5     }
6     if(bit_test(PortB,3)==0 && k>0){
7        k=0;
8        break;
9      }
10        if(y>=0.1 && y<=0.3){
11           lux=45.0-5.0∗sqrt(69.0-200.0∗y);
12           p=1.0;
13        }
14        if(y>0.3 && y<=0.52){
15           lux=(10.0/11.0)∗(100.0∗y+3.0);
16           p=2.0;
17        }
18        if(y>0.52 && y<=0.75){
19           lux=175.0-5.0∗sqrt(1041.0-800.0∗y);
20           p=3.0;
21        }
22        if(y>0.75 && y<=0.95){
23           lux=0.151515∗(100000495.0-sqrt(10000105600001089.0-132000000000.0∗y));
24           p=4.0;
25        }
26        if(y>0.95 && y<=2.2){
27           lux=(5.0∗(21909103.0-sqrt(374223401867769.0-145454800000000.0∗y)))/363637.0;     
28           p=5.0;
29        }
30        if(y>2.2 && y<=4.1){
31           lux=(50.0∗(sqrt(240.0∗y-359.0)-1.0))/3.0;
32           p=6.0;
33        }
34        if(y>4.1 && y<=6.4){
35           lux= 50.0∗sqrt(80.0∗y+113.0)-650.0;
36           p=7.0;
37        }
38        if(y>6.4 && y<=8.5){
39           lux=1750.0-50.0∗sqrt(1041.0-80.0∗y);
40           p=8.0;
41        }
42        if(y>8.5 && y<=11){
43           lux=50.0∗sqrt(16.0∗y-127.0)+650.0;
44           p=9.0;
45        }
46        if(y>11 && y<=30){
47           lux=(500.0∗(31.0-sqrt(889.0-24.0∗y)))/3.0;
48           p=10.0;
49        }
Listing A4. Code for programming the lux meter in c.
1        if(y>30 && y<=52){
2           lux=(1000.0∗(y+3.0))/11.0;
3           p=11.0;
4        }
5        if(y>52 && y<=75){
6           lux=17500.0-500.0∗sqrt(1041.0-8.0∗y);
7           p=12.0;
8        }
9        if(y>75 && y<=95){
10           lux=100.0∗(y-5.0);
11           p=13.0;
12        }
13        if(y>95 && y<=220){
14           lux=(500.0∗(1825757.0-sqrt(2598770771809.0-10101000000.0∗y)))/30303.0;     
15           p=14.0;
16        }
17        if(y>220 && y<=410){
18           lux=(1000.0∗sqrt(5.0)∗(sqrt(12.0∗y-1795.0)-sqrt(5.0)))/3.0;
19           p=15.0;
20        }
21        if(y>410 && y<=640){
22           lux=1000.0∗sqrt(5.0)∗sqrt(4.0∗y+565.0)-65000.0;
23           p=16.0;
24        }
25        if(y>640 && y<=850){
26           lux=175000.0-1000.0∗sqrt(5.0)∗sqrt(5205.0-4.0∗y);
27           p=17.0;
28        }
29        if(y>850 && y<=1100){
30           lux=1000.0∗sqrt(4.0∗y-3175.0)+65000.0;
31           p=18.0;
32        }
33           if(aux==1 && y<0.1)
34              printf(lcd_putc,"\fMenor a 10 lux");
35           else
36              printf(lcd_putc, "\fLux %1.1f(%1.0f)",lux,p); //
37           if(aux==1 && y>1.1){
38              printf(lcd_putc,"\fCambie Escala(2)\n");
39              printf(lcd_putc," 100 lux a 100k");
40           }
41   
42           if(aux==2 && y<=1.1){
43              printf(lcd_putc,"\fCambie Escala(1)\n");
44              printf(lcd_putc," 0 lux a 100 ");
45              }
46           delay_ms(250);
47           aux=0;
48          }
49     }
50  }

Appendix C

Figure A1. Photos of the experiment workbench.
Figure A1. Photos of the experiment workbench.
Processes 11 01963 g0a1

References

  1. OECD. Plastic Pollution is Growing Relentlessly as Waste Management and Recycling Fall Short. 2022. Available online: https://www.oecd.org/environment/plastic-pollution-is-growing-relentlessly-as-waste-management-and-recycling-fall-short.htm (accessed on 11 June 2023).
  2. La Mantia, F.P.; Scaffaro, R.; Baiamonte, M.; Ceraulo, M.; Mistretta, M.C. Comparison of the Recycling Behavior of a Polypropylene Sample Aged in Air and in Marine Water. Polymers 2023, 15, 2173. [Google Scholar] [CrossRef] [PubMed]
  3. Gadaleta, G.; De Gisi, S.; Todaro, F.; D’Alessandro, G.; Binetti, S.; Notarnicola, M. Assessing the Sorting Efficiency of Plastic Packaging Waste in an Italian Material Recovery Facility: Current and Upgraded Configuration. Recycling 2023, 8, 25. [Google Scholar] [CrossRef]
  4. Ángeles-Hurtado, L.A.; Rodríguez-Reséndiz, J.; Salazar-Colores, S.; Torres-Salinas, H.; Sevilla-Camacho, P.Y. Viable Disposal of Post-Consumer Polymers in Mexico: A Review. Front. Environ. Sci. 2021, 9, 427. [Google Scholar] [CrossRef]
  5. Cuentame.inegi.org.mx. Medio Ambiente—Basura; Fecha de la Consulta 06/05/2020. 2020. Available online: http://cuentame.inegi.org.mx/territorio/ambiente/basura.aspx?tema=T (accessed on 11 June 2023).
  6. Hernández Huerta, A. Caja de Herramientas Para la Formación Ambiental; Instituto de Ecología, A.C: Xalapa, Mexico, 2018; Volume 1. [Google Scholar]
  7. Hejna, A. Renewable, Degradable, and Recyclable Polymer Composites. Polymers 2023, 15, 1769. [Google Scholar] [CrossRef] [PubMed]
  8. (IMCC), I.M.D.C.C. Entérate Qué es la Industria Mexicana de Coca-Cola y Quiénes Formamos Parte de Ella 27/05/2019. 2019. Available online: https://www.coca-colamexico.com.mx/historias/mapa-industria-mexicana-de-coca-cola (accessed on 11 June 2023).
  9. Christakopoulos, F.; van Heugten, P.M.H.; Tervoort, T.A. Additive Manufacturing of Polyolefins. Polymers 2022, 14, 5147. [Google Scholar] [CrossRef] [PubMed]
  10. Peláez Lenis, L.C.; Olmos Rodríguez, M.C. Plan de Empresa Para la Creación de Recoplast, Empresa Dedicada a la Recuperación de Plásticos Reciclables. Bachelor’s Thesis, Universidad Autónoma de Occidente, Cali, Colombia, 2018. [Google Scholar]
  11. Garraín, D.; Vidal, R.; Franco, V.; Martínez, P. Análisis del Ciclo de Vida del Reciclado del Polietileno de Alta Densidad. Residuos 2008, 104, 58–63. [Google Scholar]
  12. Ramli, S.; Mustafa, M.M.; Hussain, A.; Wahab, D.A. Histogram of Intensity Feature Extraction for Automatic Plastic Bottle Recycling System Using Machine Vision. Am. J. Environ. Sci. 2008, 4, 583. [Google Scholar] [CrossRef]
  13. Lundell, C.; Thomas, J. PET: Polyethylene Terephthalate—The Ubiquitous 500 ml Water Bottle. In Advances in Intelligent Systems and Computing; Elsevier Inc.: Amsterdam, The Netherlands, 2020; Volume 1202 AISC, pp. 248–254. [Google Scholar]
  14. Al-Salem, S.M.; Lettieri, P.; Baeyens, J. Recycling and Recovery Routes of Plastic Solid Waste (PSW): A Review. Waste Manag. 2009, 29, 2625–2643. [Google Scholar] [CrossRef] [PubMed]
  15. Sahin, O.; Kirim, Y. Material Recycling. In Comprehensive Energy Systems; Elsevier Inc.: Amsterdam, The Netherlands, 2018; Volumes 2–5, pp. 1018–1042. [Google Scholar]
  16. Chu, J.; Hu, X.; Kong, L.; Wang, N.; Zhang, S.; He, M.; Ouyang, W.; Liu, X.; Lin, C. Dynamic Flow and Pollution of Antimony from Polyethylene Terephthalate (PET) Fibers in China. Sci. Total Environ. 2021, 771, 144643. [Google Scholar] [CrossRef] [PubMed]
  17. Ardusso, M.; Forero-López, A.D.; Buzzi, N.S.; Spetter, C.V.; Fernández-Severini, M.D. COVID-19 Pandemic Repercussions on Plastic and Antiviral Polymeric Textile Causing Pollution on Beaches and Coasts of South America. Sci. Total Environ. 2021, 763, 144365. [Google Scholar] [CrossRef] [PubMed]
  18. Lee, B.; Mahtab, M.; Neo, T.; Farooqi, I.; Khursheed, A. A comprehensive review of Design of experiment (DOE) for water and wastewater treatment application-Key concepts, methodology and contextualized application. J. Water Process. Eng. 2022, 47, 102673. [Google Scholar] [CrossRef]
  19. Gutiérrez Pulido, H.; Vara Salazar, R.d.l. Análisis y Diseño de Experimentos; McGrawHill: New York, NY, USA, 2004. [Google Scholar]
  20. Escalante Vázquez, E.J. Seis-Sigma Metodología y Técnicas; Editorial Limusa: Mexico City, México, 2007. [Google Scholar]
  21. Kumar, P.A. Classification of Power Quality Events Using Support Vectir Machine and S-Transform. In Proceedings of the 2016 2nd International Conference on Contemporary Computing and Informatic, Greater Noida, India, 14–17 December 2016; Volume 7, pp. 279–284. [Google Scholar]
  22. Rizanti, N.A.; Setyaningrum, A.H. Colon Detection Using Principal Component Analysis (PCA) and Support Vector Machine (SVM). In Proceedings of the 2016 4th International Conference on Cyber and IT Service Management, Bandung, Indonesia, 26–27 April 2016; pp. 1–6. [Google Scholar]
  23. Ashwini, S.; Shinde, S.S.J.; Puranik, V. Identification and Sorting of Power Quality Disturbances Using Signal Processing with GUI. In Proceedings of the 2016 IEEE International Conference on Advances in Electronics, Communication and Computer Technology (ICAECCT), Pune, India, 2–3 December 2016; pp. 60–63. [Google Scholar]
  24. Vapnik, V.N. An Overview of Statistical Learning Theory. IEEE Trans. Neural Netw. 1999, 10, 988–999. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Kumar, P.; Krishna, P.R.; Raju, S.B. Pattern Discovery Using Sequence Data Mining; Information Science Reference: Hershey, PA, USA, 2011. [Google Scholar]
  26. Rani, M.; Marchesi, C.; Federici, S.; Rovelli, G.; Alessandri, I.; Vassalini, I.; Ducoli, S.; Borgese, L.; Zacco, A.; Bilo, F.; et al. Miniaturized Near-infrared (MicroNIR) Spectrometer in Plastic Waste Sorting. Materials 2019, 12, 2740. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Semiconductors, V. Silicon PN Photodiode; Technical Report; Vishay Semiconductor GmbH: Heilbronn, Germany, 2006. [Google Scholar]
  28. Semiconductors, V. Measurement Techniques: Document Number: 80085; Technical Report; Vishay Semiconductor GmbH: Heilbronn, Germany, 2008. [Google Scholar]
  29. Huth-Fehre, T.; Feldhoff, R.; Kantimm, T.; Quick, L.; Winter, F.; Cammann, K.; Van den Broek, W.H.A.M.; Wienke, D.; Melssen, W.; Buydens, L. NIR—Remote Sensing and Artificial Neural Networks for Rapid Identification of Post Consumer Plastics. J. Mol. Struct. 1995, 348, 143–146. [Google Scholar] [CrossRef] [Green Version]
  30. Safavi, S.M.; Masoumi, H.; Mirian, S.S.; Tabrizchi, M. Tabrizchi, M. Sorting of Polypropylene Resins by Color in MSW Using Visible Reflectance Spectroscopy. Waste Manag. 2010, 30, 2216–2222. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Different presentations of PET bottles in the Mexican market.
Figure 1. Different presentations of PET bottles in the Mexican market.
Processes 11 01963 g001
Figure 2. Diagram of the new methodology for designing and developing the liquid identification system.
Figure 2. Diagram of the new methodology for designing and developing the liquid identification system.
Processes 11 01963 g002
Figure 3. Flowchart of the manual sorting process for PET bottles.
Figure 3. Flowchart of the manual sorting process for PET bottles.
Processes 11 01963 g003
Figure 4. Factors and variables of the first design of experiments.
Figure 4. Factors and variables of the first design of experiments.
Processes 11 01963 g004
Figure 5. Discrimination system for the detection of liquids in PET bottles by their illuminance.
Figure 5. Discrimination system for the detection of liquids in PET bottles by their illuminance.
Processes 11 01963 g005
Figure 6. Factors and variables in the second design of experiments.
Figure 6. Factors and variables in the second design of experiments.
Processes 11 01963 g006
Figure 7. Detection system for liquids in PET bottles due to their illuminance.
Figure 7. Detection system for liquids in PET bottles due to their illuminance.
Processes 11 01963 g007
Figure 8. Response graph with the interaction of factors A and B.
Figure 8. Response graph with the interaction of factors A and B.
Processes 11 01963 g008
Figure 9. Discrimination system for liquid detection.
Figure 9. Discrimination system for liquid detection.
Processes 11 01963 g009
Figure 10. Response graph with the interaction of the second experiment.
Figure 10. Response graph with the interaction of the second experiment.
Processes 11 01963 g010
Figure 11. Response plot of the third experiment.
Figure 11. Response plot of the third experiment.
Processes 11 01963 g011
Figure 12. The plot of scores for the two principal components.
Figure 12. The plot of scores for the two principal components.
Processes 11 01963 g012
Figure 13. SVM graph to identify the amount of liquid in PET bottles.
Figure 13. SVM graph to identify the amount of liquid in PET bottles.
Processes 11 01963 g013
Figure 14. Block diagram of the lux meter data acquisition system.
Figure 14. Block diagram of the lux meter data acquisition system.
Processes 11 01963 g014
Figure 15. Sensor data reading system circuit.
Figure 15. Sensor data reading system circuit.
Processes 11 01963 g015
Figure 16. Circuit diagram and data acquisition.
Figure 16. Circuit diagram and data acquisition.
Processes 11 01963 g016
Figure 17. Conveyor belt.
Figure 17. Conveyor belt.
Processes 11 01963 g017
Table 1. Conveyor belt design parameters.
Table 1. Conveyor belt design parameters.
No.NameParameterExpressionValue
1Band base widthbandBaseWidth90 cm90.0
2Long band baseLongBandBase200 cm200.0
3Band leg baseBandLegBase10 cm10.0
4Table base widthTableBaseWidthbandBaseWidth + (BandLegBase*4)130.0
5Long table baseLongTableBase70 cm70.0
6High table baseHighTableBase2 cm2.0
7Wide leg baseWideLegBase70 mm70.0
8Long leg baseLongLegBase150 mm150.0
9High leg baseHighLegBase10 mm10.0
10Wide legWideLeg35 mm35.0
11Long legLongLeg100 mm100.0
12High legHighLeg70 cm70.0
13Table planTablePlanHighLeg + HighLegBase101.0
14Bottom box widthBottomBoxWidthTableBaseWidth—10 cm120.0
15Long box baseLongBoxBaseLongTableBase—2 cm68.0
16Base box thicknessBaseBoxThickness2 cm2.0
17High box baseHighBoxBase60 cm60.0
18Height tabHeightTabHighBoxBase/1.540.0
19Base rail widthBaseRailWidth4.5 cm4.5
20Base long railBaseLongRail30 cm30.0
21Base rail thicknessBaseRailThickness1.3 cm1.3
22Base chamber widthBaseChamberWidthTableBaseWidth—20 cm110.0
23Base chamber lengthBaseChamberLengthLongTableBase—10 cm60.0
Table 2. The material used for the printed circuit board (PCB) of the lux meter.
Table 2. The material used for the printed circuit board (PCB) of the lux meter.
No.MaterialTypeVolume
1LIQUID-CRYSTAL DISPLAY (LCD)16X21
2MICROCONTROLLER18F45501
3SENSORbpw21r1
4CONNECTORMOLEX3
5POTENTIOMETER1M1
6POTENTIOMETER5k1
7RESISTOR1K6
8RESISTOR10K8
9RESISTOR2204
10CAPACITOR470n3
11CAPACITOR15p4
12CAPACITOR0.1u2
13CAPACITOR1u2
14CAPACITOR0.33u2
15LIGHT-EMITTING DIODE (LED)RED3
16CRYSTAL20M1
17DIL4040 PINS1
18PINSMALE1
19PINSFEMALE1
20PHENOLIC BOARDCOPPER1
21ACIDFeCl31
22USB CONNECTORB1
23TEL CONNECTOR4 HILOS1
24SWICH 1POLO 22
25HOUSINGBLACK1
26BUTTONNC1
Table 3. General guidelines for conducting DOE.
Table 3. General guidelines for conducting DOE.
Objective DOE 1Identify Important Factors from Many Potential Factors
ResponseIluminance
Factor and LevelsDistance and three levels
Factor and LevelsBottle size and nine levels
Objective DOE 2Identify important factors from many potential factors
ResponseIlluminance
Factor and LevelsPercentage of liquids inside the bottle and three levels
Factor and LevelsBottle size and nine levels
Objective DOE 3Identify important factor
ResponseIlluminance
Factor and LevelsTypes of labels on bottles
Table 4. Approach to the design of experiments for the position of the lux meter considering two factors.
Table 4. Approach to the design of experiments for the position of the lux meter considering two factors.
Lux Meter Distance (cm) (A)
Bottle Size (mL) (B)152025Sum
200 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
300 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
355 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
500 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
600 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
1000 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
1350 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
2000 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
3000 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
Sum Total S u m T i S u m T i S u m T i S u m T
Table 5. Summary of the first two-way ANOVA.
Table 5. Summary of the first two-way ANOVA.
SourceSSglMSF
Distance (A)SSA a 1 MSA = SSA/ ( a 1 ) MSA/MSE
Bottle (B)SSB b 1 MSB = SSB/ ( b 1 ) MSB/MSE
ABSSAB a 1 MSAB = SSAB/ ( a 1 ) MSAB/MSE
ErrorSSE N a b 1 MSE = SSE/ ( N a b 1 )
TotalSST N 1
Table 6. Approach to the design of experiments to identify the percentage of liquid in the bottles.
Table 6. Approach to the design of experiments to identify the percentage of liquid in the bottles.
Percentage of Liquid in the Bottle (A)
Bottle Size (mL) (B)50%25%0%Sum
200 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
300 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
355 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
500 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
600 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
1000 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
1350 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
2000 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
3000 y i j y i j y i j
y i j y i j y i j S u m j
Sum S u m i j S u m i j S u m i j
Sum Total S u m T i S u m T i S u m T i S u m T
Table 7. Approach to the design of experiments to identify the variability with the labels.
Table 7. Approach to the design of experiments to identify the variability with the labels.
Replicas
Bottle Size (mL) (A)123456Sumy s 2
3000 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
2000 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
1350 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
1000 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
600 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
500 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
355 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
300 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
250 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
200 y i j y i j y i j y i j y i j y i j S u m j y j s j 2
Table 8. Summary of the third ANOVA with one factor.
Table 8. Summary of the third ANOVA with one factor.
Source of VariationSSglMSF
Treatments (t)SSt a 1 MSt = SSt/ ( a 1 ) MSt/MSE
ErrorSSE N a MSE = SSE/ ( N a )
TotalSST N 1
Table 9. Results of a 100 kg sample of post-consumer PET.
Table 9. Results of a 100 kg sample of post-consumer PET.
Bottles That Were Repeated the Most.
NumberBottle (Liter)FrequencyFrequency (%)Accumulated (%)
10.6130726.35626.356
21.083716.87843.234
31.565313.16756.402
42.064212.94669.348
53.03827.70377.051
60.53466.97784.029
70.352945.92889.957
80.252054.13394.091
Table 10. Information from the first ANOVA of two factors.
Table 10. Information from the first ANOVA of two factors.
Lux Meter Distance (cm) (A)
Bottle Size (mL) (B)152025Sum
20013.414.916.5
12.714.51688
Sum26.129.432.5
30012.414.416.7
13.112.716.685.9
Sum25.527.133.3
3551315.216.2
13.914.916.289.4
Sum26.930.132.4
50013.613.914.8
13.313.61584.2
Sum26.927.529.8
60012.513.915
13.112.715.482.6
Sum25.626.630.4
100013.91415.1
13.114.71585.8
Sum2728.730.1
135015.615.216.4
13.416.515.592.6
Sum2931.731.9
200010.716.814.3
917.514.983.2
Sum19.734.329.2
30005.219.317
3.918.51679.9
Sum9.137.833
Sum Total215.8273.2282.6771.6
Table 11. ANOVA of the first experiment. * Factor affecting variability.
Table 11. ANOVA of the first experiment. * Factor affecting variability.
SourceSSglMSF
Distance (A)145.2844272.6422259.8892 *
Bottle (B)19.7382.46628.8234 *
AB194.5788297.2894348.0686 *
Error11.46410.2795
Total371.053353
Table 12. Information from the second two-way ANOVA.
Table 12. Information from the second two-way ANOVA.
Liquid (%) in the Bottle (A)
Bottle Size (mL) (B)50250Sum
20013.314.315
14.413.315.285.5
Sum27.727.630.2
30014.714.815
14.514.415.388.7
Sum29.229.230.3
35516.516.315.5
14.715.21694.2
Sum31.231.531.5
50014.514.514.5
1414.115.487
Sum28.528.629.9
60015.11414
14.313.71586.1
Sum29.427.729
100012.214.213.5
13.913.615.282.6
Sum26.127.828.7
135014.514.413.4
13.413.41584.1
Sum27.927.828.4
200015.113.713.4
13.813.31685.3
Sum28.92729.4
300015.213.212.2
13.712.715.382.3
Sum28.925.927.5
Sum Total257.8253.1264.9775.8
Table 13. Results of the ANOVA of the second experiment. * Factor affecting variability.
Table 13. Results of the ANOVA of the second experiment. * Factor affecting variability.
SourceSSglMSF
% Liquid (A)3.92121.96053.8442 *
Bottle (B)17.463382.18294.2802 *
AB5.785522.89275.6721 *
Error20.91410.51
Total48.0853
Table 14. Results design of experiments to identify the variability with the labels.
Table 14. Results design of experiments to identify the variability with the labels.
Replicas
Bottle Size (mL) (A)123456Sumy s 2
300030.0028.1025.2024.1026.0029.80163.2027.206.092
200026.526.424.523.422.121.6144.524.084.38
13502226.725.725.82728.4155.625.934.67
100020.821.121.320.319.819.4122.720.450.563
60018.218.418.218.518.318.3109.918.320.013
50018.218.518.919.11918.8112.518.750.115
35518.418.518.519.118.318110.818.470.13
3001817.517.817.518.217.9106.917.820.07
25017.918.117.918.418.517.9108.718.120.073
20016.617.817.317.817.918105.417.570.282
Table 15. One -way ANOVA of the third experiment. * Factor affecting variability.
Table 15. One -way ANOVA of the third experiment. * Factor affecting variability.
Source of VariationSSglMSF
Treatments (t)722.48980.2748.92 *
Error82.04501.64
Total804.5259
Table 16. Data and results of the PCA.
Table 16. Data and results of the PCA.
Bottle Size (mL)Liquid (100%)Liquid (50%)Liquid (25%)LabelPC1PC2
300016.5014.4512.9527.20−1.341371.99768
200014.6014.4513.5024.08−1.16713−0.41555
135015.9513.9513.9025.93−0.964400.83528
100015.0513.0513.9020.45−1.25152−1.28753
60015.2014.7013.8518.320.26894−0.64694
50014.9014.2514.3018.750.14066−1.18554
35516.2015.6015.7518.472.849550.37889
30016.6514.6014.6017.821.398850.47160
20016.2513.8513.8017.570.06642−0.14789
Table 17. Classes for parsing SVM.
Table 17. Classes for parsing SVM.
Class1 Class2
Liquid (%)LiquidIlluminanceLiquid (%)LiquidIlluminance
10035516.20100100015.05
10030016.6510060015.2
10020016.2510050014.9
50177.515.605050013.05
5015014.60100300016.50
5010013.85100200014.60
2588.7515.75100135015.95
257514.6050150014.45
255013.8050100014.45
5030014.75067513.95
5025014.252575012.95
2525013.92550013.50
2515013.85
2512514.3
25337.513.9
Table 18. Data to obtain the equations of the operation of the photodiode.
Table 18. Data to obtain the equations of the operation of the photodiode.
No.EA-Iluminancia (lx)lK-Short-Circuit Current (mA)
10.010.0001
20.10.00086
310.0092696
4100.09172
51000.967639
610009.712874
710,00096.64246
8100,000972.178
9912,6691000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ángeles-Hurtado, L.A.; Rodríguez-Reséndiz, J.; Romero Zepeda, H.; Torres-Salinas, H.; García-Martínez, J.R.; Salas-Aguilar, S.P. Development of a Lux Meter for the Identification of Liquids in Post-Consumer Polyethylene Terephthalate Bottles for Collection Centers in Mexico. Processes 2023, 11, 1963. https://doi.org/10.3390/pr11071963

AMA Style

Ángeles-Hurtado LA, Rodríguez-Reséndiz J, Romero Zepeda H, Torres-Salinas H, García-Martínez JR, Salas-Aguilar SP. Development of a Lux Meter for the Identification of Liquids in Post-Consumer Polyethylene Terephthalate Bottles for Collection Centers in Mexico. Processes. 2023; 11(7):1963. https://doi.org/10.3390/pr11071963

Chicago/Turabian Style

Ángeles-Hurtado, L. A., Juvenal Rodríguez-Reséndiz, Hilda Romero Zepeda, Hugo Torres-Salinas, José R. García-Martínez, and Silvia Patricia Salas-Aguilar. 2023. "Development of a Lux Meter for the Identification of Liquids in Post-Consumer Polyethylene Terephthalate Bottles for Collection Centers in Mexico" Processes 11, no. 7: 1963. https://doi.org/10.3390/pr11071963

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