| Literature DB >> 31546747 |
Minglun Ren1,2, Yueli Song3,4, Wei Chu5,6.
Abstract
In industrial production, soft sensors play very important roles in ensuring product quality and production safety. Traditionally, global modeling methods, which use historical data to construct models offline, are often used to develop soft sensors. However, because of various complex and unknown changes in industrial production processes, the performance of global models deteriorates over time, and frequent model maintenance is difficult. In this study, locally weighted partial least squares (LWPLS) is adopted as a just-in-time learning method for industrial soft sensor modeling. In LWPLS, the bandwidth parameter h has an important impact on the performance of the algorithm, since it decides the range of the neighborhood and affects how the weight changes. Therefore, we propose a two-phase bandwidth optimization strategy that combines particle swarm optimization (PSO) and LWPLS. A numerical simulation example and an industrial application case were studied to estimate the performance of the proposed PSO-LWPLS method. The results show that, compared to the traditional global methods and the LWPLS with a fixed bandwidth, the proposed PSO-LWPLS can achieve a better prediction performance. The results also prove that the proposed method has apparent advantages over other methods in the case of data density changes.Entities:
Year: 2019 PMID: 31546747 PMCID: PMC6806305 DOI: 10.3390/s19194099
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Variations of weight with distance under different bandwidth values.
Figure 2Root mean square error (RMSE) curves with different bandwidth values: (a) data set I; (b) data set II.
Figure 3Framework of the proposed two-phase strategy.
Figure 4Probability density function: (a) rand(–5,5); (b) N~(0, 22).
Statistical analysis of prediction errors. GSSM: golden section search method, LWPLS: locally weighted partial least squares, MAE: mean absolute error, MAX: maximum absolute error, PLS: partial least squares, PSO: particle swarm optimization.
| Case | Method | RMSE | MAE | MAX |
|---|---|---|---|---|
| 1 | PLS | 21.09 | 15.70 | 89.94 |
| LWPLS | 4.20 | 2.59 | 15.47 | |
| GSSM–LWPLS | 4.09 | 2.52 | 15.20 | |
| PSO–LWPLS |
|
|
| |
| 2 | PLS | 31.18 | 24.08 | 92.86 |
| LWPLS | 7.58 | 5.77 | 31.28 | |
| GSSM–LWPLS | 6.74 | 4.91 | 25.63 | |
| PSO–LWPLS |
|
|
|
Figure 5Comparison of scatter plots for the real and predicted Y values using four methods for case 2: (a) PLS; (b) LWPLS; (c) GSSM–LWPLS; and (d) PSO–LWPLS.
Figure 6Tensile Strength test [32].
Correlation coefficients between all input and output variables. TS: tensile strength.
| Correlation Coefficients | C | Si | Mn | P | S | TS |
|---|---|---|---|---|---|---|
|
| 1.000 |
| –0.125 | 0.372 | 0.199 | –0.738 |
|
| 1.000 | –0.156 | 0.298 | 0.302 | –0.559 | |
|
| 1.000 | 0.033 | 0.151 | 0.252 | ||
|
| 1.000 | 0.523 | –0.351 | |||
|
| 1.000 | –0.516 | ||||
|
| 1.000 |
Figure 7Matrix singular warnings during prediction using LWLR.
Statistical analysis of TS prediction errors. BP-ANN: back-propagation artificial neural network.
| Method | RMSE | RE (%) | MAE | MAX |
|---|---|---|---|---|
| PLS | 13.6 | 5.63 | 11.8 | 25.0 |
| BP-ANN | 10.8 | 4.38 | 8.9 | 22.5 |
| LWPLS | 8.5 | 3.44 | 7.2 | 15.7 |
| GSSM–LWPLS | 8.0 | 3.27 | 6.3 | 17.7 |
| PSO–LWPLS |
|
|
|
|
Figure 8The predicted absolute errors for all the testing samples.
Comparison of the computation times of the five methods.
| Method | Training Time (s) | Prediction Time (s) |
|---|---|---|
| PLS | 3.8 | <1 |
| BP-ANN | 9.8 | <1 |
| LWPLS | 3.7 | |
| GSSM–LWPLS | 5.1 | 3.9 |
| PSO–LWPLS | 100.7 | 3.9 |
The computation time of PSO–LWPLS varies with the number of training samples.
| Time (s) | Number of Training Samples | ||||||
|---|---|---|---|---|---|---|---|
| 100 | 200 | 300 | 400 | 600 | 800 | 1000 | |
| Training time | 33.6 | 98.4 | 212.6 | 498.1 | 1248.0 | 3749.2 | 10,046.7 |
| Prediction time | <1 | <1 | 1.0 | 1.0 | 1.1 | 1.2 | 1.4 |