Skip to main content

Auto-classification of biomass through characterization of their pyrolysis behaviors using thermogravimetric analysis with support vector machine algorithm: case study for tobacco

Abstract

Background

During the biomass-to-bio-oil conversion process, many studies focus on studying the association between biomass and bio-products using near-infrared spectra (NIR) and chemical analysis methods. However, the characterization of biomass pyrolysis behaviors using thermogravimetric analysis (TGA) with support vector machine (SVM) algorithm has not been reported. In this study, tobacco was chosen as the object for biomass, because the cigarette smoke (including water, tar, and gases) released by tobacco pyrolysis reactions decides the sensory quality, which is similar to biomass as a renewable resource through the pyrolysis process.

Results

SVM algorithm has been employed to automatically classify the planting area and growing position of tobacco leaves using thermogravimetric analysis data as the information source for the first time. Eighty-eight single-grade tobacco samples belonging to four grades and eight categories were split into the training, validation, and blind testing sets. Our model showed excellent performances in both the training and validation set as well as in the blind test, with accuracy over 91.67%. Throughout the whole dataset of 88 samples, our model not only provides precise results on the planting area of tobacco leave, but also accurately distinguishes the major grades among the upper, lower, and middle positions. The error only occurs in the classification of subgrades of the middle position.

Conclusions

From the case study of tobacco, our results validated the feasibility of using TGA with SVM algorithm as an objective and fast method for auto-classification of tobacco planting area and growing position. In view of the high similarity between tobacco and other biomasses in the compositions and pyrolysis behaviors, this new protocol, which couples the TGA data with SVM algorithm, can potentially be extrapolated to the auto-classification of other biomass types.

Background

Pyrolysis of biomass is a potential method to produce various gases, liquids (bio-oil), or solid materials (bio-char) that can then be used for fuel production. The product compositions depend mainly on the variability of different proportions of protein, triglycerides, hemicellulose, cellulose, lignin, etc., in the original biomass [1, 2]. Therefore, many studies focus on studying the association between biomass and bio-products [3,4,5,6,7,8,9]. In this study, tobacco was chosen as the object for biomass. As a commercial product, the cigarette smoke (including water, tar and gases) released by tobacco pyrolysis reactions can satisfy the consumer's demand, not the tobacco itself, which is similar to biomass as a renewable resource through the pyrolysis process.

Tobacco leaves cultivated in different areas have different styles, and their grades are based on the positions they grow on the stalk. The classification of tobacco style and grade is important in the processes of tobacco blend design and cigarette product maintenance [10]. Current evaluation of tobacco style and grade mainly relies on artificial sensory analysis, which is subjective and relatively unstable [11]. Therefore, it is necessary and urgent in the tobacco industry to develop a new rapid and convenient method to evaluate the tobacco style and grade automatically.

Artificial intelligence has opened a new page in the field of data analysis. Many efforts have been devoted to developing automatic evaluation methods using the advanced machine learning (ML) algorithms with the data from the tobacco leaves and smoke. Early works mainly focused on the classification of tobacco cultivation area and growing position using near-infrared spectra (NIR) due to its high efficiency and non-destructive characteristic. Hana et al. [12] employed artificial neural networks (ANNs) to classify whether the burley tobacco grows in USA or outside USA, and obtained high prediction accuracy. For the classification of tobacco style and grade, Ni et al. [13] developed an improved and simplified K-nearest neighbor algorithm (IS-KNN) to discriminate more than 1000 Chinese flue-cured tobacco leaf samples with moderate accuracy. Their results suggest that it is better to establish a classification model of tobacco grade from the same cultivation fields to get better classification results. By applying a combined random-forest (CRF) based on gas chromatography (GC) fingerprinting, Lin et al. [14] managed to classify three different grades of “Furong” series cigarettes with accuracy up to 93.74%. Based on image processing on tobacco color, texture, and shape, Zhang and Zhang [15] implemented a two-level fuzzy comprehensive evaluation (FCE) and classified the tobacco leaves into three grades, but accuracy is achieved just 72% for the non-trained tobacco leaves. Recently, Gu et al. [16] successfully built a relationship between chemical compounds and the aromatic quality of flue-cured tobacco leaves, using support vector machine (SVM) algorithm with 22 chemical compounds selected by Relief-F-particle swarm optimization (R-PSO), and obtained high accuracy of 90.95%. Very recently, Wang et al. [17] employed genetic algorithm (GA) to optimize the performance of SVM for data analysis of NIR spectroscopy sensors. They demonstrated that the GA could indeed improve the performance of SVM for tobacco classification based on NIR spectra, although the accuracy is just 83%. All previous works have focused on the relationship of tobacco style and grade with either the reactant (tobacco) component or the product (smoke). In this study, we choose to pay attention to the tobacco pyrolysis reaction process, which can be visually expressed by the thermogravimetric analysis (TGA). To the best of our knowledge, the auto-classification of tobacco planting area and growing position based on thermogravimetric analysis have not yet been reported.

TGA has been proven to be a useful tool to study the pyrolysis behavior and kinetics of the pyrolysis process, since it provides precise measurement depending on temperature and other experimental conditions that are well known and well controlled [18,19,20]. Investigations on biomass have shown that the differences in pyrolytic characteristics are mainly caused by the differences in the constituent and physical structure [21,22,23,24,25,26,27]. Studies on the pyrolysis of tobacco have also demonstrated that the differential thermal gravity (DTG) curve of tobacco pyrolysis can be divided into different Gaussian peaks representing the thermal decomposition of individual components [28, 29]. For instance, the mass loss below 373 K represents the evaporation of water [30]; the peaks between 373 and 473 K correspond to the thermal decomposition of sugars, nicotine, pectin, and some other volatile species [31, 32]; and in the temperature of 474-873 K, the mass loss would be attributed to the pyrolysis of hemicellulose, cellulose, and lignin, respectively [33,34,35]. Moreover, Baker and Bishop [36] have demonstrated that the thermogravimetric analysis spectra of tobacco pyrolysis are highly reproducible under well-defined conditions. The thermogravimetric analysis data not only represent the tobacco pyrolysis characteristics, but also supply the information of the tobacco composition. Hence, it can be taken as an important index to evaluate tobacco planting area and growing position.

Recently, we [37] demonstrated that thermogravimetric analysis data in conjunction with the normalized root-mean-square error (NRMSE) can be used to quantitatively evaluate the pyrolysis difference among tobacco of different stalk positions, planting areas and crop years. On this basis, we [38] proposed a tobacco leaves substitute scheme in tobacco blend maintenance, and the results showed that this substitute scheme could achieve artificial substitute level. In this work, we further extended previous investigations and introduced the SVM algorithm to the thermogravimetric analysis for the first time. Using TGA data as the information source, we demonstrated that auto-classification of tobacco planting area and growing position could be achieved with high accuracy as well as high efficiency by applying the SVM algorithm. In view of the high similarity between tobacco and other biomasses in the compositions and pyrolysis behaviors, this new protocol, which couples the TGA data with the SVM algorithm, can potentially be extrapolated to the auto-classification of other biomass types.

Results and discussion

Classification of tobacco leaves

Eighty-eight tobacco leaves were collected from different growing positions in Fujian (FJ) and Yunnan (YN) provinces, which are shown in Table 1. Eighty-eight single-grade tobacco leaves were classified into eight categories according to their planting areas and growing positions. Three positions are identified, namely B, X, and C, corresponding to the upper, lower, and middle positions of tobacco stalk, respectively. The middle group is further divided into two subgrades, as shown in Table 1. The notation FJ-C1 implies that the sample is at the first grade of the middle group from the Fujian province.

Table 1 Categories of 88 single-grade tobacco leaves

Although all these samples, planted in either Fujian or Yunnan provinces, have similar tobacco style (all belonging to the same light-flavor style), they can still be distinguished in artificial sensory analysis. This leads to the most stringent test for the auto-classification of tobacco style to verify the effectiveness and practicability of the SVM model in the analysis of thermogravimetric analysis data.

Analysis of thermogravimetric analysis data

For a better comparison, the thermogravimetric analysis data (DTG curves) of tobacco leaves belonging to the same category were averaged to obtain an averaged-DTG curve, which can represent the pyrolysis characteristics of the corresponding type of tobacco leaves, as shown in Fig. 1a, b.

Fig. 1
figure 1

Comparison of the thermogravimetric analysis curves of tobacco leaves between eight categories. a The DTG curves of averaged four grades of Fujian province. b The DTG curves of averaged four grades of Yunnan province. c The DTG curves of averaged grade B from Fujian and Yunnan province. d The DTG curves of averaged grade X from Fujian and Yunnan province. e The DTG curves of averaged grade C1 from Fujian and Yunnan province. f The DTG curves of averaged grade C2 from Fujian and Yunnan province

Close analysis of Fig. 1a, b reveals that the main differences in the DTG curves of tobacco leaves from the same planting area lie in the temperature range of 373–473 K, which correspond to the thermal decompositions of sugar, nicotine, pectin, and some other volatile species. While in the temperature range of 473–873 K (corresponding to the pyrolysis of hemicellulose, cellulose and lignin), the DTG curves are basically coincident. Figure 1c–f presents the comparisons of DTG curves of tobacco leaves from the same growing position but from different planting areas. It is found that the main differences fall in the temperature range of 473–873 K. Hence, we may infer, from the thermogravimetric analysis spectra point of view, that the physical structure characteristics of tobacco leave (hemicellulose, cellulose, and lignin reflect the tobacco physical structure) is determined by the planting area. Namely, the tobacco leaves from the same planting area have similar physical structure characteristics, while the tobacco leaves from different planting areas have different physical structure characteristics. We may also draw the conclusion that the grade of tobacco leaves qualitatively depends on the proportion of sugar, nicotine, pectin, and some other volatile species, in which X < B < C2 < C1.

To further validate the above statement, we performed a principal component analysis (PCA) to study what spectral features characterize the different groups of samples (see Additional file 1 for other details). It is encouraging to see from Fig. 2c that the major contributions to the second principal component (PC2), which is mainly responsible for the classification of tobacco style (Fig. 2b), lie in the temperature range of 473–873 K. This result further strengthens the argument that the planting area characteristics of tobacco determined by the tobacco physical structure are mainly reflected in the temperature range of 473–873 K.

Fig. 2
figure 2

PCA analysis of the thermogravimetric analysis curves of 88 tobacco leaves. a Scores of 88 tobacco leaves in eight categories on the second principal component (PC2). b Scores of 88 tobacco leaves categorized by the planting areas on the second principal component (PC2). c Loadings of PC2 in the feature space

In summary, our preliminary analysis reveals that the growing position characteristics of tobacco, which is closely related to the content of sugar, nicotine, pectin, and some other volatile species, are mainly reflected in the temperature range of 373–473 K. The planting area characteristics of tobacco determined by the tobacco physical structure are mainly reflected in the temperature range of 473–873 K. These results are in line with how the traditional classification of tobacco leaves is performed in tobacco industry, namely the grade and style are discriminated separately.

Algorithm

The above preliminary analysis has demonstrated that the thermogravimetric analysis data can reflect the planting area and growing position characteristics of tobacco leaves. To achieve auto-classification of tobacco leaves, machine learning is introduced to analyze the thermogravimetric analysis data.

Among numerical algorithms for machine learning, the traditional neural network algorithm requires a large amount of training data. However, due to sampling limitation, the number of samples (88) in this work cannot meet the requirements of neural networks for data training. Meanwhile, too many feature points (5890) in comparison to the number of samples (88) may also lead to dimensional disaster in neural network [39, 40]. For classification problems, the SVM algorithm [41] has been proven to be one of the best supervised learning algorithms, with faster speed and smaller sample size than other machine learning algorithms [42]. Therefore, we choose the SVM algorithm to perform auto-classification of tobacco quality and style. We would like to note that the traditional SVM algorithm only supports two categories, but our case involves eight different categories. Hence, the one-against-one method is adopted [43].

Dataset sampling

Investigations on the generalization performance of SVM indicated that the sizes of the training set, validation set, and testing set are crucial for the estimated model performance [44]. Too many or too few samples in the training set may have a negative effect. Hence, it is necessary to have a good balance between the sizes of the training set and validation set to have a reliable estimation of model performance. Typically, one can take around 70–80% of the data to use as a training set and split the remaining data as the validation and testing set. In this work, 88 samples were split into three sets: training set, validation set, and testing set with ratio of 64/12/12, as shown in Table 2. Kennard-Stone-like algorithm [45] for data splitting was employed to maintain the generalization of the model. Namely, given n samples available in a category, the first m (with 0.6 < m/n and m <  = n) samples with largest Euclidian distance in this category are used as the training set and the unselected samples are randomly split into the validation and testing set with a ratio of 1/1.

Table 2 The sample codes for tobacco leaves of eight categories

Model selection

Kernel function often plays an important role while classifying with SVM. Different kernel functions may have different application scopes. In the case where the number of feature points is much larger than the number of samples, the linear kernel has been proven to perform very well [46]. Hence, the linear kernel function was selected for training in this work. On the other hand, the penalty parameter C in the linear classification with SVM also plays a significant role in the training and prediction. Too small or too large C may have a negative effect on the prediction power of the model. To find an optimal C, the training set was used to build the model for each C and each trained model was tested with the validation set. As the samples in the validation set are not known to the model, therefore, the performance on the validation set can reflect the prediction power of the model. Based on the performance on the validation set, the optimal penalty parameter C was determined using the one with the highest accuracy. As shown in Fig. 3, the model has an excellent performance in both the training and the validation set when the penalty parameter C equals to 1.66 (Log(C) = 0.22), with accuracy being 98.44% and 91.67%, respectively. Therefore, the penalty parameter C was chosen to be 1.66 in this work.

Fig. 3
figure 3

The influence of penalty parameter C on the accuracy of the training and validation set

Classification accuracy

In the field of machine learning and the problem of classification with multiple categories, classification accuracy alone might be misleading. The confusion matrix can give a better idea of what the model is getting right and what types of errors it is making.

Detailed analysis of the performance of our optimal model on the training and validation set demonstrated that our optimal model performed remarkably well in the style classification, giving all correct results for the planting area, as shown in Fig. 4a, b. In the case of growing position classification, our model also correctly identified the upper, lower, and middle positions. Errors only occur in the classification of the subgrades of middle, namely C1 and C2. For the training set, only one sample (sample code: 18) belonging to FJ-C1 was mis-assigned to FJ-C2. A similar incorrect prediction was also found in the validation set, in which the sample (sample code: 79) belonging to YN-C2 was predicted to be YN-C1 instead. As elucidated in Sect. 3, both C1 and C2 grades correspond to the middle position of tobacco stalk and the grade difference is relatively small in comparison to the grade difference between X/B and C. This might be the reason for the mis-assignment of samples in C1 and C2. We would like to note that none of the previous investigations have ever tried to discriminate subgrades of the middle. Nonetheless, our optimal model showed excellent performance in both the training and validation set with overall accuracies being 98.44% and 91.67%, respectively.

Fig. 4
figure 4

The confusion matrix for the training and validation set. The horizontal axis is the predicted label and the vertical axis is the real label

Westerhuis et al. [47] showed that the performance by cross-validation might be an over-optimistic one and it is of importance in having an additional blind test. To verify the practicality and generalization capability of our model, we further applied the optimal model to the testing set, which is not used during the model training and selection. It is found that this model works very well in the testing set, with an overall accuracy of 91.67%. One out of 12 samples was misclassified. Detailed analysis of the confusion matrix for the testing set, as shown in Fig. 5, indicated that our model performed extremely well in the prediction of planting areas as well as in the prediction of major grades of the upper, lower, and middle positions. None of the 12 samples was misclassified. Like in the training and validation set, the error only occurs in the classification of subgrades of the middle while applying our model to the testing set. The sample (sample code: 34) belonging to FJ-C2 was misclassified to FJ-C1). Such a high accurate blind test indicates that our model has an excellent generalization capability. We also applied the PLS-DA [48] to the same datasets. The optimal accuracy was found for the validation set with 25 latent variables (see Additional file 1 for details), and the corresponding accuracies for the training, validation, and testing set were 99.97%, 84.25%, and 82.78%, respectively. Compared to the PLS-DA algorithm, the SVM algorithm has a considerably higher classification accuracy.

Fig. 5
figure 5

The confusion matrix for the testing set. The horizontal axis is the predicted label and the vertical axis is the real label

It is worthwhile to note that both Fujian and Yunnan provinces locate in the south of China, and the tobacco styles of the two provinces are relatively close among the traditionally defined three major scent types, belonging to the light-flavor type. Previous investigations have demonstrated that the differences in the DTG curves between tobaccos planted in Fujian and Yunnan provinces are much smaller than those of the others [37]. It is encouraging to see that our SVM model, based on the thermogravimetric analysis spectra, still can achieve as high accuracy as 91.67% under such a stringent test, verifying the feasibility and practicability of the auto-classification of tobacco planting area and growing position. Unfortunately, we are unable to collect sufficient samples of other styles of tobacco at the current stage. We will leave them for the further investigation in future study.

It is well accepted that the biofuel compositions are near related to the biomass compositions and their pyrolysis behaviors [3,4,5,6,7,8,9]. Previous investigations on biomass have disclosed that the differences in pyrolytic characteristic are mainly caused by the difference in the constituent and physical structure [21,22,23,24,25,26,27]. Of particular note is that Enrico and Leonardo [23] have set up a simple and generalized procedure, which can be used for obtaining the chemical composition of lignocellulosic biomass based on their DTG curves. This procedure has been validated on 37 biomass types, such as woods, energy crops, and agricultural and food residues. Therefore, biomass types can be easily reflected on the DTG curves due to different chemical compositions and contents in it. Taking tobacco as a case study, we have shown in this work that a simple protocol, by coupling the TGA data with SVM algorithm, can be efficiently used for auto-classification of tobacco style and grades with high confidence. As a kind of lignocellulosic biomass, tobacco is different from other biomass types only in that its value is reflected in cigarettes via its pyrolysis reaction, and the content of each chemical composition is different. Hence, the protocol presented in this work can potentially be extrapolated to other biomass types.

Conclusions

In this study, we conducted a thermogravimetric analysis over 88 single-grade tobacco leaves belonging to four grades and eight categories. Preliminary analysis of the thermogravimetric analysis spectra reveals that the tobacco leaves from the same planting area have similar physical structure characteristics, while the tobacco leaves from different planting areas have different physical structure characteristics, which are reflected in the DTG curves in temperature range of 473–873 K. Further analysis of the DTG curves also demonstrate that the growing position characteristic of tobacco leaves is mainly reflected in the temperature range of 373–473 K. On this basis, we introduced the SVM algorithm to automatically classify the planting area and growing position of tobacco leave using the thermogravimetric analysis spectra as the information source. This protocol, by coupling the DTG data with SVM algorithm, shows excellent performances in both the training and validation set as well as in the blind test, with overall accuracy over 91.67%. Throughout the whole dataset of 88 samples, our model not only provides precise results on the planting areas of tobacco leaves, but also accurately distinguishes major grades of the upper, middle, and lower parts of the tobacco stalk. The error only occurs in the classification of the subgrades of the middle. In the blind test, the sample (sample code: 34) belonging to FJ-C2 was misclassified to FJ-C1. Such a high accuracy in the blind test indicates that this protocol has an outstanding generalization capability. As a kind of lignocellulosic biomass, tobacco is different from other biomass types only in that its value is reflected in cigarette via its pyrolysis reaction, and the content of each chemical composition is different. Hence, the protocol presented in this work can potentially be extrapolated to other biomass types.

Methods

Materials

The tobacco samples were supplied by Fujian China Tobacco Industry Co., Ltd. For 48 h prior to analysis, all tobacco samples were conditioned in a chamber at 22 ± 1 °C and with a relative humidity of 60 ± 2%.

Thermogravimetric analysis experiment

To guarantee the reproducibility, tobacco samples were pulverized into powder using a coffee mill and then sifted through a 100-mesh sieve to remove big tobacco particles before the TGA test.

Pyrolysis of tobacco powder was performed in a TGA (STA 449 F3 TG–DTA/DSC Instruments, NETZSCH, Germany). 10 mg of tobacco powder was loaded evenly in an open ceramic pan and warmed up to 873 K from room temperature at a heating rate of 10 K/min. Dry nitrogen at a flow rate of 100 mL/min was used as purge gas throughout the test. To reduce the influence of water, the thermogravimetric analysis data (DTG curve) of 373–873 K were selected for calculation and analysis. The number of feature points of each sample is 5890 which were obtained by recording 120 feature points per minute. The DTG curves of all 88 samples are given in Additional file 1.

SVM

SVM algorithm is a linear classifier defined on the feature space to maximize the interval. It is essentially a convex optimization problem. Given the training data set in the feature space:

$$ \{ (x_{1} ,y_{1} ),(x_{2} ,y_{2} ),(x_{3} ,y_{3} ), \cdots ,(x_{n} ,y_{n} )\} , $$
(1)

where \({x}_{i}=({a}_{1}^{\left(i\right)},{a}_{2}^{\left(i\right)},{a}_{3}^{\left(i\right)},\cdots ,{a}_{m}^{\left(i\right)})\) and \({y}_{i}\in \left\{-\mathrm{1,1}\right\}.\)

The training procedure in SVM is to find a hyper-plane, denoted as decision boundary, in the feature space, which can maximize the separation, namely margin, of samples in different classes. This hyper-plane is described as:

$$ w \cdot x + b = 0, $$
(2)

where w is the slope and b is the intercept.

Assuming that the training data set is linearly separable, there are infinitely separated hyper-planes. Linearly separable support vector machine (LS-SVM) solves the hyper-plane by maximizing the margin, and the solution is unique.

The distance between the points in the feature space and the decision boundary can represent the confidence level of the classification results, as shown in Fig. 6. Point A is far from the decision boundary, so the confidence of classification result is high. Point B is close to the decision boundary, so the confidence of classification result is low. Point C is between A and B, and the confidence of classification results is between that of two points.

Fig. 6
figure 6

The points in the feature space, the supporting vectors, and the decision boundary (bold)

The distance from the Point xi to the decision boundary \(w \cdot x + b = 0\) is the magnitude of \(\hat{y}_{i} = w \cdot x_{i} + b\). Then, the function interval is described as follows:

$$ \hat{\gamma }_{i} = y_{i} \left( {w \cdot x_{i} + b} \right). $$
(3)

If w and b were changed in an equal proportion, though the position of the decision boundary will not change, the function interval would be changed correspondingly. Therefore, the geometric interval is introduced as follows:

$$ \gamma_{i} = y_{i} \left( {\frac{w}{\left\| w \right\|} \cdot x_{i} + \frac{b}{\left\| w \right\|}} \right). $$
(4)

To solve SVM is to find the decision boundary which maximize the geometric interval of points in feature space:

$$ \mathop {\max }\limits_{w,b} \mathop {\min }\limits_{i} \gamma_{i} \;\;\; $$
(5)
$$ {\text{s.t.}}\;\;y_{i} (w \cdot x_{i} + b) \ge 1,\;i = 1,2,...N. $$
(6)

This nonlinear optimization with inequality constraints can be further reduced to:

$$ \mathop {\max }\limits_{w,b} \;\;\;\frac{2}{{\left\| w \right\|^{2} }}\;\; \Leftrightarrow \;\mathop {\min }\limits_{w,b} \;\;\frac{1}{2}\left\| w \right\|^{2} $$
(7)
$$ s.t.\;\;\;\;\;y_{i} \left( {w \cdot x_{i} + b} \right) \ge 1,\;i = 1,2, \ldots ,N. $$
(8)

Then, the geometric interval of points in space from the decision boundary is used as the decision value, whose sign determines the result of classification.

However, in the case where the training data set is linearly non-separable, some sample points cannot satisfy the constraint condition (Eq. 8). A relaxation variable \(\xi_{i}\) can be introduced to make the function interval with the relaxation variable greater than or equal to 1. Then, the previous optimization problem transforms into:

$$ \mathop {\min }\limits_{w,b,\xi } \;\;\frac{1}{2}\left\| w \right\|^{2} + C\sum\limits_{i = 1}^{N} {\xi_{i} } \;\; $$
(9)
$$ \begin{gathered} s.t.\;\;\;\;\;y_{i} \left( {w \cdot x_{i} + b} \right) \ge 1 - \xi_{i} ,\;\;i = 1,2, \cdots ,N \hfill \\ \;\;\;\;\;\;\;\;\xi_{i} \ge 0,\;\;i = 1,2, \cdots ,N, \hfill \\ \end{gathered} $$
(10)

where C (> 0) is the penalty parameter, which controls the trade-off between minimizing the training error \(\sum\nolimits_{i = 1}^{N} {\xi_{i} }\) and maximizing the classification margin. Large values of C minimize the margin’s width of SVM and increase the weight of the non-separable samples. And, with a small value of C, the margin width was maximized, and the misclassified samples were increased. Optimal C can be obtained by applying grid search to find the value that achieves the maximum classification accuracy on the validation set.

The SVM model was trained with Scikit-learn (version 0.23) [49] in python 3.7 and original data from the thermogravimetric analysis experiment were adopted.

Availability of data and materials

All data generated and analyzed in this study are included in this published article.

References

  1. Jahirul MI, Rasul MG, Chowdhury AA, Ashwath N. Biofuels production through biomass pyrolysis—a technological review. Energies. 2012;5:4952–5001. https://doi.org/10.3390/en5124952.

    Article  CAS  Google Scholar 

  2. Sharma A, Pareek V, Zhang D. Biomass pyrolysis - A review of modelling, process parameters and catalytic studies. Renew Sustain Energy Rev. 2015;50:1081–96. https://doi.org/10.1016/j.rser.2015.04.193.

    Article  CAS  Google Scholar 

  3. Lazzari E, Schena T, Marcelo MCA, Primaz CT, Silva AN, Ferrão MF, et al. Classification of biomass through their pyrolytic bio-oil composition using FTIR and PCA analysis. Ind Crops Prod. 2018;111:856–64. https://doi.org/10.1016/j.indcrop.2017.11.005.

    Article  CAS  Google Scholar 

  4. Schlund M, Scipal K, Davidson MWJ. Forest classification and impact of BIOMASS resolution on forest area and aboveground biomass estimation. Int J Appl Earth Obs Geoinf. 2017;56:65–76. https://doi.org/10.1016/j.jag.2016.12.001.

    Article  Google Scholar 

  5. Olatunji OO, Akinlabi S, Madushele N, Adedeji PA. Property-based biomass feedstock grading using k-Nearest Neighbour technique. Energy. 2020;190:116346–55. https://doi.org/10.1016/j.energy.2019.116346.

    Article  Google Scholar 

  6. Li H, Zhao P. Improving the accuracy of tree-level aboveground biomass equations with height classification at a large regional scale. For Ecol Manage. 2013;289:153–63. https://doi.org/10.1016/j.foreco.2012.10.002.

    Article  Google Scholar 

  7. Li J, Chen Y, Yang H, Zhu D, Chen X, Wang X, et al. Correlation of feedstock and bio-oil compound distribution. Energy Fuels. 2017;31:7093–100. https://doi.org/10.1021/acs.energyfuels.7b00545.

    Article  CAS  Google Scholar 

  8. Stefanidis SD, Kalogiannis KG, Iliopoulou EF, Michailof CM, Pilavachi PA, Lappas AA. A study of lignocellulosic biomass pyrolysis via the pyrolysis of cellulose, hemicellulose and lignin. J Anal Appl Pyrolysis. 2014;105:143–50. https://doi.org/10.1016/j.jaap.2013.10.013.

    Article  CAS  Google Scholar 

  9. Qu T, Guo W, Shen L, Xiao J, Zhao K. Experimental study of biomass pyrolysis based on three major components: Hemicellulose, cellulose, and lignin. Ind Eng Chem Res. 2011;50:10424–33. https://doi.org/10.1021/ie1025453.

    Article  CAS  Google Scholar 

  10. Thielen A, Klus H, Müller L. Tobacco smoke: Unraveling a controversial subject. Exp Toxicol Pathol. 2008;60:141–56. https://doi.org/10.1016/j.etp.2008.01.014.

    Article  CAS  PubMed  Google Scholar 

  11. Thruling N. The aroma of flue-cured tobacco. Sensory testing for the discrimination of varieties. Aust J Exp Agric. 1964;4:367–70.

    Article  Google Scholar 

  12. Hana M, McClure WF, Whitaker TB, White MW, Bahler DR. Applying artificial neural networks: Part II. Using near infrared data to classify tobacco types and identify native grown tobacco. J Near Infrared Spectrosc. 1997;5:19–25. https://doi.org/10.1255/jnirs.96.

    Article  CAS  Google Scholar 

  13. Ni LJ, Zhang LG, Xie J, Luo JQ. Pattern recognition of Chinese flue-cured tobaccos by an improved and simplified K-nearest neighbors classification algorithm on near infrared spectra. Anal Chim Acta. 2009;633:43–50. https://doi.org/10.1016/j.aca.2008.11.044.

    Article  CAS  PubMed  Google Scholar 

  14. Lin X, Sun L, Li Y, Guo Z, Li Y, Zhong K, et al. A random forest of combined features in the classification of cut tobacco based on gas chromatography fingerprinting. Talanta. 2010;82:1571–5. https://doi.org/10.1016/j.talanta.2010.07.053.

    Article  CAS  PubMed  Google Scholar 

  15. Zhang F, Zhang X. Classification and quality evaluation of tobacco leaves based on image processing and fuzzy comprehensive evaluation. Sensors. 2011;11:2369–84. https://doi.org/10.3390/s110302369.

    Article  PubMed  Google Scholar 

  16. Gu L, Xue LC, Song Q. Classification of the fragrant style and evaluation of the aromatic quality of flue-cured tobacco leaves by machine-learning methods. J Bioinform Comput Biol. 2016;14:1650033. https://doi.org/10.1142/S0219720016500335.

    Article  CAS  PubMed  Google Scholar 

  17. Wang D, Xie L, Yang SX, Tian F. Support vector machine optimized by genetic algorithm for data analysis of near-infrared spectroscopy sensors. Sensors (Switzerland). 2018;18:3222–34. https://doi.org/10.3390/s18103222.

    Article  CAS  Google Scholar 

  18. Zhou L, Luo T, Huang Q. Co-pyrolysis characteristics and kinetics of coal and plastic blends. Energy Convers Manag. 2009;50:705–10. https://doi.org/10.1016/j.enconman.2008.10.007.

    Article  CAS  Google Scholar 

  19. Várhegyi G, Czégény Z, Jakab E, McAdam K, Liu C. Tobacco pyrolysis. Kinetic evaluation of thermogravimetric-mass spectrometric experiments. J Anal Appl Pyrolysis. 2009;86:310–22. https://doi.org/10.1016/j.jaap.2009.08.008.

    Article  CAS  Google Scholar 

  20. Várhegyi G, Antal MJ, Jakab E, Szabó P. Kinetic modeling of biomass pyrolysis. J Anal Appl Pyrolysis. 1997;42:73–87. https://doi.org/10.1016/S0165-2370(96)00971-0.

    Article  Google Scholar 

  21. Saldarriaga JF, Aguado R, Pablos A, Amutio M, Olazar M, Bilbao J. Fast characterization of biomass fuels by thermogravimetric analysis (TGA). Fuel. 2015;140:744–51. https://doi.org/10.1016/j.fuel.2014.10.024.

    Article  CAS  Google Scholar 

  22. Vamvuka D, Kakaras E, Kastanaki E, Grammelis P. Pyrolysis characteristics and kinetics of biomass residuals mixtures with lignite. Fuel. 2003;82:1949–60. https://doi.org/10.1016/S0016-2361(03)00153-4.

    Article  CAS  Google Scholar 

  23. Biagini E, Tognotti L. A generalized procedure for the devolatilization of biomass fuels based on the chemical components. Energy Fuels. 2014;28:614–23. https://doi.org/10.1021/ef402139v.

    Article  CAS  Google Scholar 

  24. Yang H, Yan R, Chen H, Zheng C, Lee DH, Liang DT. In-depth investigation of biomass pyrolysis based on three major components: hemicellulose cellulose and lignin. Energy Fuels. 2006;20:388–93. https://doi.org/10.1016/j.enconman.2018.05.063.

    Article  CAS  Google Scholar 

  25. Orfão JJM, Antunes FJA, Figueiredo JL. Pyrolysis kinetics of lignocellosic materials—three independent reactions model. Fuel. 1999;78:349–58. https://doi.org/10.1016/s0140-6701(99)91196-7.

    Article  Google Scholar 

  26. Gao Z, Li N, Chen M, Yi W. Comparative study on the pyrolysis of cellulose and its model compounds. Fuel Process Technol. 2019;193:131–40. https://doi.org/10.1016/j.fuproc.2019.04.038.

    Article  CAS  Google Scholar 

  27. Fan Y, Cai Y, Li X, Jiao L, Xia J, Deng X. Effects of the cellulose, xylan and lignin constituents on biomass pyrolysis characteristics and bio-oil composition using the Simplex Lattice Mixture Design method. Energy Convers Manag. 2017;138:106–18. https://doi.org/10.1016/j.enconman.2017.01.075.

    Article  CAS  Google Scholar 

  28. Wang H, Xin H, Liao Z, Li J, Xie W, Zeng Q, et al. Study on the effect of cut tobacco drying on the pyrolysis and combustion properties. Dry Technol. 2014;32:130–4. https://doi.org/10.1080/07373937.2013.781622.

    Article  Google Scholar 

  29. Senneca O, Chirone R, Salatino P, Nappi L. Patterns and kinetics of pyrolysis of tobacco under inert and oxidative conditions. J Anal Appl Pyrolysis. 2007;79:227–33. https://doi.org/10.1016/j.jaap.2006.12.011.

    Article  CAS  Google Scholar 

  30. Jakab E, Faix O, Till F, Székely T. Thermogravimetry/mass spectrometry study of six lignins within the scope of an international round robin test. J Anal Appl Pyrolysis. 1995;35:167–79. https://doi.org/10.1016/0165-2370(95)00907-7.

    Article  CAS  Google Scholar 

  31. Sung YJ, Seo YB. Thermogravimetric study on stem biomass of Nicotiana tabacum. Thermochim Acta. 2009;486:1–4. https://doi.org/10.1016/j.tca.2008.12.010.

    Article  CAS  Google Scholar 

  32. Oja V, Hajaligol MR, Waymack BE. The vaporization of semi-volatile compounds during tobacco pyrolysis. J Anal Appl Pyrolysis. 2006;76:117–23. https://doi.org/10.1016/j.jaap.2005.08.005.

    Article  CAS  Google Scholar 

  33. Guo G, Liu X, Li R, Li Q, Yu HB, Li MJ. Characterization of tobacco stalk lignin using nuclear magnetic resonance spectrometry and its pyrolysis behavior at different temperatures. J Anal Appl Pyrolysis. 2019;142:104665. https://doi.org/10.1016/j.jaap.2019.104665.

    Article  CAS  Google Scholar 

  34. Wu W, Mei Y, Zhang L, Liu R, Cai J. Kinetics and reaction chemistry of pyrolysis and combustion of tobacco waste. Fuel. 2015;156:71–80. https://doi.org/10.1016/j.fuel.2015.04.016.

    Article  CAS  Google Scholar 

  35. Yang H, Yan R, Chen H, Lee DH, Zheng C. Characteristics of hemicellulose, cellulose and lignin pyrolysis. Fuel. 2007;86:1781–8. https://doi.org/10.1016/j.fuel.2006.12.013.

    Article  CAS  Google Scholar 

  36. Baker RR, Bishop LJ. The pyrolysis of tobacco ingredients. J Anal Appl Pyrolysis. 2004;71:223–311. https://doi.org/10.1016/S0165-2370(03)00090-1.

    Article  CAS  Google Scholar 

  37. Li Q, Chen K, Liu Z, Deng X, Huang H, Huang C, et al. TGA-based analysis of pyrolysis differential between different tobacco samples. Tob Sci Technol. 2017;50:75–80. https://doi.org/10.16135/j.issn1002-0861.2016.0459.

    Article  Google Scholar 

  38. Li Q, Chen K, Deng X, Guo S, Chen H, Zhong H, et al. Method of tobacco substitution based on differential analysis of tobacco pyrolysis. Tob Sci Technol. 2018;51:77–84. https://doi.org/10.16135/j.issn1002-0861.2017.0485.

    Article  Google Scholar 

  39. Prieto A, Cabestany J, Sandoval F. Computational intelligence and bioinspired systems. Neurocomputing. 2007;70:2701–3. https://doi.org/10.1016/j.neucom.2006.06.009.

    Article  Google Scholar 

  40. Bellman R. The Structure of Dynamic Programming Processes. Dyn Program. 1957;3:81–115. https://doi.org/10.1109/9780470544334.ch6.

    Article  Google Scholar 

  41. Corinna C, Vladimir V. Support-Vector Networks. Mach Learn. 1995;20:273–97. https://doi.org/10.1109/64.163674.

    Article  Google Scholar 

  42. Mountrakis G, Im J, Ogole C. Support vector machines in remote sensing: a review. ISPRS J Photogramm Remote Sens. 2011;66:247–59. https://doi.org/10.1016/j.isprsjprs.2010.11.001.

    Article  Google Scholar 

  43. Hsu CW, Lin CJ. A comparison of methods for multiclass support vector machines. IEEE Trans Neural Networks. 2002;13:415–25. https://doi.org/10.1109/72.991427.

    Article  PubMed  Google Scholar 

  44. Xu Y, Goodacre R. On splitting training and validation set: a comparative study of cross-validation, bootstrap and systematic sampling for estimating the generalization performance of supervised learning. J Anal Test. 2018;2:249–62. https://doi.org/10.1007/s41664-018-0068-2.

    Article  PubMed  PubMed Central  Google Scholar 

  45. Taylor P, Kennard RW, Stone LA. Technometrics computer aided design of experiments. Technometric. 1969;11:137–48. https://doi.org/10.1080/00401706.1969.10490666.

    Article  Google Scholar 

  46. Yuan GX, Ho CH, Lin CJ. Recent advances of large-scale linear classification. Proc IEEE. 2012;100:2584–603. https://doi.org/10.1109/JPROC.2012.2188013.

    Article  Google Scholar 

  47. Westerhuis JA, Hoefsloot HCJ, Smit S, Vis DJ, Smilde AK, Velzen EJJ, et al. Assessment of PLSDA cross validation. Metabolomics. 2008;4:81–9. https://doi.org/10.1007/s11306-007-0099-6.

    Article  CAS  Google Scholar 

  48. Barker M, Rayens W. Partial least squares for discrimination. J Chemometr. 2003;17(3):166–73.

    Article  CAS  Google Scholar 

  49. Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E. Scikit-learn: machine learning in python. J Mach Learn Res. 2011;12:2825–30.

    Google Scholar 

Download references

Acknowledgements

The authors would like to thank Pro. Xiaodong Chen in Soochow University for help in numerical simulation of cigarette burning process, from which we developed the idea in this study.

Funding

This work was supported by the National Natural Science Foundation of China (Nos. 21773193) and the fundamental research Funds for the Central Universities (Grant No. 20720160031).

Author information

Authors and Affiliations

Authors

Contributions

CY performed the research and data analysis, and prepared the manuscript. XD and ZY collected the tobacco samples and performed artificial sensory analysis. ZL and HZ supervised the study. RC prepared figures and co-wrote the manuscript. GC, QZ, XL, JZ, PM, WH, and KL performed experiments and data analysis. QL and AW developed the idea for the study, set up the methodology, and edited the manuscript. All authors read and approved the final manuscript.

Corresponding authors

Correspondence to Qiaoling Li or Anan Wu.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1: Figure S1.

Thermal analysis curves of tobacco leaves of 8 categories. Figure S2. Scores of 88 tobacco leaves in eight categories on the first principal component (PC1). Figure S3. Scores of 88 tobacco leaves categorized by the planting area on the first principal component (PC1). Figure S4. Scores of 88 tobacco leaves in eight categories on PC1 and PC2. Figure S5. Loadings of PC1 and PC2 in the feature space. Figure S6. Explained variance of principal components in PCA analysis. Figure S7. Dependence of accuracies on the number of latent variables for the training and validation set in the PLS-DA analysis.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yin, C., Deng, X., Yu, Z. et al. Auto-classification of biomass through characterization of their pyrolysis behaviors using thermogravimetric analysis with support vector machine algorithm: case study for tobacco. Biotechnol Biofuels 14, 106 (2021). https://doi.org/10.1186/s13068-021-01942-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13068-021-01942-w

Keywords