A method for rapid identification of carbon ratio in solid waste based on machine learning and infrared spectroscopy

Through methods based on machine learning and infrared spectroscopy technology, the proportion of biomass carbon and fossil carbon in solid waste is directly identified, which solves the labor-intensive, large error and sample damage problems of traditional methods, achieves rapid and non-destructive carbon proportion identification, and improves In order to ensure the timeliness and accuracy of detection, it supports the assessment of net carbon emissions of solid waste incineration.

CN114813618BActive Publication Date: 2024-10-18TONGJI UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210361240.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-07
Publication Date
2024-10-18
Estimated Expiration
2042-04-07

AI Technical Summary

Technical Problem

Existing technologies used to identify the proportion of biomass carbon and fossil carbon in solid waste have problems such as labor-intensive, high cost, large errors and sample damage. Traditional methods cannot achieve rapid, non-destructive and intelligent identification.

Method used

Using methods based on machine learning and infrared spectroscopy technology, the infrared spectrum data of solid waste is directly collected through the ATR-FTIR spectrometer, and combined with data preprocessing and feature engineering, a random forest classification and regression model is established to achieve rapid identification of biomass carbon and fossil carbon. Identification without sample pretreatment.

Benefits of technology

It achieves simple operation, non-destructive testing, and rapid identification of the carbon proportion of solid waste, improves detection timeliness and accuracy, has practical application value, and can assist in the net carbon emission assessment of solid waste incineration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114813618B_ABST
    Figure CN114813618B_ABST
Patent Text Reader

Abstract

The invention discloses a method for quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology, comprising the following steps: collecting different types of solid waste, using attenuated total reflection Fourier transform infrared spectrometer and element analyzer to test the infrared spectrum and carbon content of each sample respectively; standardizing and principal component analysis processing are performed on the obtained infrared spectrum data, and the data are divided into training set and test set; using the training set to establish a machine learning model for carbon source type (biomass carbon, fossil carbon, inert material) classification and carbon content regression, and using the test set to verify the accuracy of the model; using the constructed model and the infrared spectrum of the solid waste sample to be tested, predict the carbon source type and the carbon content of various types; weighing the mass of the solid waste sample to be tested, and calculating the ratio of biomass carbon and fossil carbon according to the carbon source type and carbon content. The method has a short detection time and a high accuracy rate, and the sample to be tested does not need pre-treatment operations such as drying and crushing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a technology for rapidly identifying the ratio of biomass carbon to fossil carbon in solid waste, and in particular to a method for rapidly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology. Background Art

[0002] According to the China Statistical Yearbook, the amount of solid waste generated and disposed of in my country has increased year by year. The main way to treat solid waste is incineration. The use of boiler waste heat and steam power generation can reduce the use of traditional fossil fuels. Therefore, solid waste incineration can reduce carbon emissions and ensure energy supply. According to the type of carbon source, solid waste can be divided into biomass carbon components, fossil carbon components and inert material components (Fellner, J.; Cencic, O.; Rechberger, H., A new method to determine the ratio of electricity production from fossil and biogenic sources in waste-to-energy plants. Environmental Science & Technology, 2007, 41, (7), 2579-2586.). Generally speaking, the release of CO2 from the incineration of biomass carbon components such as paper, kitchen waste, natural fabrics and wood in solid waste is a carbon neutralization process, while the release of CO2 from the incineration of fossil carbon components such as plastics, rubber and synthetic fabrics is a carbon emission process. When calculating the net greenhouse gas emissions from solid waste incineration, if the CO2 released from the incineration of biomass carbon components is not subtracted, the assessment result will be too high. Therefore, the ratio of solid waste biomass carbon to fossil carbon is an important indicator for assessing the impact of incineration on carbon emissions.

[0003] The methods recommended by ISO 21644:2021 for testing the carbon content of biomass in solid waste are: manual classification, selective dissolution, and radiocarbon (14C) testing. Manual classification is based on manual visual classification, which is affected by the physical properties of solid waste and workers' cognition. The manual sorting process may endanger workers' health. The selective dissolution method is based on the different solubility of biomass carbon and fossil carbon components in a mixed solution of concentrated sulfuric acid and hydrogen peroxide, but this method will cause huge test errors and require the consumption of strong acid and oxidant. The 14C method is to detect the proportion of 14C in the flue gas of solid waste incineration to the total carbon content, and the 14C content is proportional to the carbon content of biomass in solid waste. This method has high analytical accuracy, but the analytical instruments are expensive and rare, and its promotion and application are greatly restricted. It can be seen that these methods are labor- and cost-intensive, usually only a few times a year, and sampling may have problems with small scale representativeness and poor timeliness, and may destroy the original components of solid waste, resulting in distorted analytical test results. Therefore, it is of great significance to develop a rapid, non-destructive and intelligent method to identify the ratio of biomass carbon to fossil carbon in solid waste.

[0004] Attenuated total reflection-Fourier transform infrared spectroscopy (ATR-FTIR) is an important spectral non-destructive detection method, which is widely used in the fields of food and medicine. For example, Chinese patent CN 112763448 A uses ATR-FTIR to quickly detect the content of polysaccharides in rice bran. There are differences in the position and peak height of the absorption peaks formed by stretching and bending vibrations of different functional groups (CO, OH, CH and C=C, etc.), so ATR-FTIR can be used for qualitative characterization of the types of carbon sources in solid waste and quantitative analysis of carbon content. However, relying solely on simple data statistical analysis methods cannot directly and efficiently obtain information from the spectrum, and it needs to be organically combined with machine learning algorithms. Summary of the invention

[0005] In response to the above-mentioned problems existing in the prior art, the present application provides a method for quickly identifying the carbon proportion of solid waste based on machine learning and infrared spectroscopy technology. The method can accurately and quickly identify the ratio of biomass carbon and fossil carbon in solid waste without the need for pretreatment operations such as drying and crushing of the samples to be tested.

[0006] The technical solution of the present invention is as follows:

[0007] A method for rapidly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology comprises the following steps:

[0008] S1. Collect organic component samples and inorganic component samples from solid waste, without pretreatment, and directly obtain infrared spectrum data of each sample using ATR-FTIR spectrometer; the organic component samples include but are not limited to: paper, fabric, leather, plastic, rubber, wood and kitchen waste; the inorganic component samples include but are not limited to: metal, glass, bricks, ceramics, ash; the ATR-FTIR is attenuated total reflection-Fourier transform infrared spectroscopy;

[0009] S2. Dry the sample in an oven and test its moisture content; the temperature range of the oven is 100-110°C;

[0010] S3, using liquid nitrogen to freeze and crush each organic component sample, and then using an element analyzer to test the carbon content of the sample on a dry basis, and calculate the carbon content of the sample on a wet basis;

[0011] S4, processing the infrared spectrum data of the sample by data preprocessing and feature engineering, and dividing the processed infrared spectrum data into a training set and a test set;

[0012] S5. Establish a random forest classification model of carbon source types based on the carbon source types and their spectral information in the training set, establish a random forest regression model of carbon element content based on the wet basis carbon element content and its spectral information, and use a grid method to search for optimal modeling parameters; the carbon source types include biomass carbon, fossil carbon and inert substances;

[0013] S6. Use the test set to verify the model accuracy and optimize the carbon source classification model and carbon content prediction model;

[0014] S7, collecting solid waste samples to be tested, directly using an ATR-FTIR spectrometer to obtain infrared spectrum data of each sample, and using the carbon source type classification model and carbon element content prediction model optimized in step S6 to output the carbon source type and carbon element content respectively;

[0015] S8. Use a balance to weigh and obtain the mass of each solid waste sample to be tested. Combined with the type of carbon source and carbon content predicted by the model, calculate the content of biomass carbon and fossil carbon in the solid waste.

[0016] Furthermore, the solid waste samples in step S1 include, but are not limited to: domestic waste, construction waste, general industrial solid waste and agricultural solid waste.

[0017] Furthermore, when collecting various types of solid waste components in step S1, the number of representative samples of each component is not less than 10.

[0018] Furthermore, the spectrum acquisition range of the ATR-FTIR spectrometer is 400-4000cm -1 , the resolution range is 1~8cm -1, a single sample was scanned 6 to 12 times, and the average spectrum was taken to construct a machine learning model.

[0019] Furthermore, the spectrum preprocessing method in step S4 is standardization, which serves to make the spectrum data dimensionless.

[0020] Furthermore, the feature engineering in step S4 is principal component analysis, which is used to reduce the data dimension.

[0021] Furthermore, in step S4, the specific steps of dividing the processed data into a training set and a test set are as follows:

[0022] S41. The data of each sample is divided into a training set and a test set, and the total amount of data in the training set accounts for 70% to 80% of the total data of the sample, and the total amount of data in the test set accounts for 20% to 30% of the total data of the sample;

[0023] S42, merging the training sets of all samples to obtain a final training set; merging the test sets of all samples to obtain a final test set.

[0024] Furthermore, in step S6, when the test set is used to verify the accuracy of the random forest classification model, the accuracy is not less than 0.96 and the prediction time is less than 0.03s.

[0025] Furthermore, in step S6, when the test set is used to verify the accuracy of the random forest regression model, R 2 Not less than 0.92, and the prediction time is less than 0.01s.

[0026] Furthermore, in steps S4 to S7, the spectral data preprocessing and feature engineering as well as the establishment, prediction and evaluation of the classification and regression machine learning algorithms use the scikit-learn library of Python software, and the auxiliary calculations use the numpy and pandas libraries.

[0027] The beneficial technical effects of the present invention are:

[0028] (1) Simple operation, using ATR-FTIR and machine learning technology to quantitatively identify the ratio of biomass carbon and fossil carbon in solid waste, without the need for sample pretreatment;

[0029] (2) Non-destructive testing, does not require any chemical agents and does not damage the sample;

[0030] (3) Rapid detection: analysis of the optical properties of solid waste takes only less than 1 minute, which improves the timeliness of the detection process compared with traditional testing methods;

[0031] (4) The overall performance of the model is good, the model prediction accuracy is high and the calculation time is short, and it has practical application value;

[0032] (5) It can be used for online detection and is expected to make progress in the real-time analysis of the ratio of biomass carbon to fossil carbon in solid waste, thus assisting in the assessment of net carbon emissions from solid waste incineration. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a flow chart for identifying the carbon ratio of solid waste biomass in the present invention;

[0034] Figure 2 A confusion matrix for identifying carbon source types in a test set by the random forest classification model of the present invention;

[0035] Figure 3 Comparison between the true value and predicted value of the carbon content of the test set predicted by the random forest regression model of the present invention. DETAILED DESCRIPTION

[0036] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] Embodiment 1:

[0038] Process such as Figure 1 As shown, the following steps are included:

[0039] S1. Collect 143 representative samples of solid waste, including organic and inorganic component samples, such as domestic waste, construction waste, general industrial solid waste and agricultural solid waste, etc. The number of representative samples of each component is not less than 10, as follows: 25 papers, 10 fabrics, 20 leathers, 40 plastics, 12 rubbers, 10 woods, 11 kitchen wastes and 15 inorganic wastes. These samples do not need to be pretreated, and their optical properties are directly measured by ATR-FTIR spectrometer. The spectrum acquisition range of ATR-FTIR spectrometer is 650-4000cm -1 , the resolution is 2cm -1 , a single sample was scanned 12 times, and the average spectrum was taken to construct the machine learning model.

[0040] S2. Dry the sample in an oven at 105°C and then test its moisture content.

[0041] S3. Use liquid nitrogen to freeze and crush the organic component samples, then use an element analyzer to test the carbon content of the samples on a dry basis, and calculate the carbon content of the samples on a wet basis.

[0042] S4. Standardization and principal component analysis are used to process the infrared spectrum data of the samples to make the infrared spectrum data dimensionless and reduce the data dimension. The processed infrared spectrum data is divided into a training set and a test set. Considering the uneven distribution of sample attributes, the specific steps for establishing a classification model are as follows: (1) The data of each sample is divided into a training set and a test set, and the total amount of data in the training set accounts for 70% of the total data of the sample, and the total amount of data in the test set accounts for 30% of the total data of the sample; (2) The training sets of all samples are merged to obtain the final training set; the test sets of all samples are merged to obtain the final test set.

[0043] S5. A random forest classification model of carbon source types was established based on the carbon source types (biomass carbon, fossil carbon and inert substances) and their spectral information (n=1073) in the training set. A random forest regression model of carbon element content was established based on the wet basis carbon element content and its spectral information (n=710). The grid method was used to search for the optimal modeling parameters.

[0044] S6. Use the test set to verify the model accuracy and optimize the carbon source classification model and carbon content prediction model. The test set accuracy of the random forest classification algorithm reached above 0.96, and its confusion matrix is ​​as follows: Figure 2 As shown, the prediction time is 0.03s. Test set R of random forest regression algorithm 2 Reaching above 0.92, the comparison between the true value and the predicted value is as follows Figure 3 As shown, the prediction time is 0.01s.

[0045] S7. 20 solid waste samples to be tested, including plastics (7), wood (4), paper (3), fabrics (2), kitchen waste (2) and inorganic waste (2), were collected independently. Their infrared spectrum data were directly obtained using ATR-FTIR spectrometer. The carbon source classification model and carbon content prediction model constructed above were used to output the carbon source type and carbon content of unknown samples respectively. The carbon source classification accuracy was 0.92, and the carbon content regression R 2 It can reach 0.85.

[0046] S8. Use a balance to weigh and obtain the mass of the solid waste sample to be tested. Combined with the type of carbon source and carbon content predicted by the model, calculate that the proportion of biomass carbon in the solid waste is 53% and the proportion of fossil carbon is 47%.

[0047] In steps S4 to S7, the spectral data preprocessing and feature engineering as well as the establishment, prediction and evaluation of classification and regression machine learning algorithms all use the scikit-learn library of Python software, and use libraries such as numpy and pandas to assist in the calculation.

[0048] Embodiment 2:

[0049] This embodiment is basically the same as Example 1, except that the present invention is used to quickly identify the ratio of biomass carbon and fossil carbon in solid waste. Take 500kg of unknown solid waste from a domestic waste incineration plant, without pretreatment, and directly collect its infrared spectrum data in combination with an ATR-FTIR spectrometer. First, the infrared spectrum data is processed by standardized pretreatment and principal component analysis, and the processed infrared spectrum data is input into the random forest classification and random forest regression models respectively to obtain the carbon source type (biomass carbon, fossil carbon and inert substances) and carbon element content of each sample. Weighing is performed using a balance to obtain the mass of the solid waste sample to be tested. Combined with the model prediction results, it is calculated that the biomass carbon component of domestic waste weighs 370kg, the fossil carbon component weighs 90kg, and the inert substance component weighs 40kg, the biocarbon ratio accounts for 48%, and the fossil carbon ratio accounts for 52%.

[0050] Embodiment 3:

[0051] This embodiment is basically the same as embodiment 1, except that 500 kg of unknown construction waste is taken as the test object, and the biomass carbon component weighs 50 kg, the fossil carbon component weighs 250 kg, and the inert component weighs 200 kg. The biomass carbon ratio accounts for 22% and the fossil carbon ratio accounts for 78%.

[0052] Embodiment 4:

[0053] This embodiment is basically the same as embodiment 1, except that 500 kg of unknown general industrial solid waste is taken as the test object, and the biomass carbon component weighs 140 kg, the fossil carbon component weighs 200 kg, and the inert component weighs 160 kg. The proportion of biocarbon accounts for 35% and the proportion of fossil carbon accounts for 65%.

[0054] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and implementation modes, and can be fully applicable to various fields suitable for the present invention. For those familiar with the art, for those of ordinary skill in the art, various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principle and spirit of the present invention. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to specific details.

Claims

1. A method for rapidly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology, characterized in that: The following steps are involved: S1. Collect organic component samples and inorganic component samples from solid waste, without pretreatment, and directly obtain infrared spectrum data of each sample using ATR-FTIR spectrometer; the organic component samples include but are not limited to: paper, fabric, leather, plastic, rubber, wood and kitchen waste; the inorganic component samples include but are not limited to: metal, glass, bricks, ceramics, ash; the ATR-FTIR is attenuated total reflection-Fourier transform infrared spectroscopy; S2. Dry the sample in an oven and test its moisture content; the temperature range of the oven is 100-110°C; S3, using liquid nitrogen to freeze and crush each organic component sample, and then using an element analyzer to test the carbon content of the sample on a dry basis, and calculate the carbon content of the sample on a wet basis; S4, processing the infrared spectrum data of the sample by data preprocessing and feature engineering, and dividing the processed infrared spectrum data into a training set and a test set; S5. Establish a random forest classification model of carbon source types based on the carbon source types and their spectral information in the training set, establish a random forest regression model of carbon element content based on the wet basis carbon element content and its spectral information, and use a grid method to search for optimal modeling parameters; the carbon source types include biomass carbon, fossil carbon and inert substances; S6. Use the test set to verify the model accuracy and optimize the carbon source classification model and carbon content prediction model; S7, collecting solid waste samples to be tested, directly using an ATR-FTIR spectrometer to obtain infrared spectrum data of each sample, and using the carbon source type classification model and carbon element content prediction model optimized in step S6 to output the carbon source type and carbon element content respectively; S8. Use a balance to weigh and obtain the mass of each solid waste sample to be tested. Combined with the type of carbon source and carbon content predicted by the model, calculate the content of biomass carbon and fossil carbon in the solid waste.

2. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1 is characterized in that: The solid waste samples in step S1 include, but are not limited to: domestic waste, construction waste, general industrial solid waste and agricultural solid waste.

3. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1 is characterized in that: When collecting various types of solid waste components in step S1, the number of representative samples of each component is not less than 10.

4. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1 is characterized in that: The spectrum acquisition range of ATR-FTIR spectrometer is 400~4000cm -1 , the resolution range is 1~8cm -1 , a single sample was scanned 6 to 12 times, and the average spectrum was taken to construct a machine learning model.

5. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1 is characterized in that: The spectrum preprocessing method in step S4 is standardization, which serves to make the spectrum data dimensionless.

6. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1 is characterized in that: The feature engineering in step S4 is principal component analysis, which is used to reduce the data dimension.

7. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1, characterized in that: In step S4, the specific steps of dividing the processed data into a training set and a test set are as follows: S41. The data of each sample is divided into a training set and a test set, and the total amount of data in the training set accounts for 70% to 80% of the total data of the sample, and the total amount of data in the test set accounts for 20% to 30% of the total data of the sample; S42, merging the training sets of all samples to obtain a final training set; merging the test sets of all samples to obtain a final test set.

8. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1, characterized in that: In step S6, when the test set is used to verify the accuracy of the random forest classification model, the accuracy is not less than 0.96 and the prediction time is less than 0.03s.

9. The method of quickly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1, characterized in that: In step S6, when the test set is used to verify the accuracy of the random forest regression model, R 2 Not less than 0.92, and the prediction time is less than 0.01s.

10. The method for rapidly identifying the carbon ratio of solid waste based on machine learning and infrared spectroscopy technology according to claim 1, characterized in that: In steps S4 to S7, the spectral data preprocessing and feature engineering as well as the establishment, prediction and evaluation of classification and regression machine learning algorithms use the scikit-learn library of Python software, and the auxiliary calculations use the numpy and pandas libraries.

Citation Information

Patent Citations

  • Method for rapidly detecting content of polysaccharides in rice bran based on ATR-FTIR technology

    CN112763448A

  • A novel rapid detection method of fixed carbon in a coal sample

    CN104535525A

  • Green meeting carbon accounting system

    CN105678676A

  • Biomass carbon content measurement and modeling method based on infrared spectrum principal component and neural network

    CN112861414A

  • System of systems for monitoring greenhouse gas fluxes

    US20140172323A1