Transformer Oil Acid Value Prediction Method Based on Infrared Spectroscopy and Deep Neural Network
Abstract
1. Introduction
2. Basic Theory
2.1. Principles of Infrared Spectroscopy and Acid Value Detection Methods
2.2. WPD Algorithm Preprocessing Principle
2.3. Principles of BOSS Algorithm Feature Extraction
2.4. Deep Neural Network Modeling
3. Transformer Oil Infrared Spectroscopy Detection and Prediction Modeling Methods
3.1. Sample and Data Acquisition
3.2. Spectral Preprocessing and Feature Parameter Extraction
3.3. Data Set Partitioning and Predictive Modeling
4. Results and Discussion
4.1. Transformer Oil Infrared Spectral Data Analysis
4.2. Comparison of Results Between the WPD Algorithm and Traditional Preprocessing Methods
4.3. Analysis of Feature Extraction Results
4.4. Analysis of Prediction Model Accuracy
4.5. Full External Validation
5. Conclusions
- (1)
- The mid-infrared ATR spectral data of the transformer oil samples in shipment were obtained by the ALPHA II FT-IR mid-infrared spectrometer, and the actual content of acid value of the transformer oil was measured by using the traditional BTB method. Preprocessing methods, such as the WPD algorithm, D1, and D2, were utilized for preprocessing of the transformer oil spectra to effectively reduce the influence of noise in the spectral data, to make spectral curves smoother, and to improve the prediction model’s accuracy.
- (2)
- Applying the BOSS algorithm to extract features from the full infrared spectral data of the transformer oil, the number of variables is reduced from 1750 to 7 for the input of the prediction model, and the dimensionality of the feature covariates is greatly reduced, which improves the computing speed of the model, and also avoids the overfitting problem of the model during the prediction process; this improves the accuracy of the model prediction.
- (3)
- After building the DNN model and training it, a well-predicted neural network model is obtained, with a prediction set RMSE of 0.0543 and a coefficient of determination R2 of 0.9712, and a validation set RMSE of 0.0668 and a coefficient of determination R2 of 0.9599. Comparing the model with the traditional PLS regression model algorithm, the model performance improves by 4.71%, which verifies the model’s advancement. The prediction accuracy of the model is further verified by applying a fully external validation set, and the coefficient of determination (R2) of the validation result is 0.9504, which indicates that it is able to obtain the accurate acid value content of the transformer oil.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
DNN | Deep neural network |
WPD | Wavelet packet decomposition |
BOSS | Bootstrapping soft shrinkage |
R2 | coefficient of determination |
BTB | bromothymol blue |
D1 | 1st Derivative |
D2 | 2nd Derivative |
SG | Savitzky–Golay |
PLS | Partial least squares |
Abs | Absorbance |
DT-CW | double-tree complex wavelet |
Adam | Adaptive moment estimation |
RMSE | Root mean square error |
References
- Chen, Z.M. A review of transformer oils. Synth. Lubr. Mater. 2018, 45, 28. [Google Scholar]
- Xiong, Y.; He, D.-L.; Feng, Y.; Chang, X.-Y.; Liu, F.-R. A rapid method for determination of acid value in transformer oil by PPy modified electrode. Cent. South. Univ. 2014, 21, 2202–2207. [Google Scholar] [CrossRef]
- Mehmood, M.A.; Nazir, M.T.; Li, J.; Zhou, Z.; Wang, F.; Azam, M.M. Comprehensive investigation on service aged power transformer insulating oil after decades of effective performance in field. Arab. J. Sci. Eng. 2020, 45, 6517–6528. [Google Scholar] [CrossRef]
- Liao, R.J.; Hao, J.; Liang, S.W.; Zhu, M.Z.; Yang, L.J. Effects of moisture and acid on thermal aging of mineral oil and natural ester hybrid oil-paper insulation. J. Electrotechnol. 2010, 25, 31–37. [Google Scholar]
- NB/SH/T 0836-2010; Determination of Acidity in Oil Insulation Automatically Potentiometric Titration. The National Energy Bureau: Beijing, China, 2010.
- GB/T 28552-2012; Determination of Acid Value of Transformer Oil and Turbine Oil Acid (BTB Method). China Standard Press: Beijing, China, 2012.
- Wang, Y.; Wang, H.M.; Qian, Y.H.; Wang, Q. Study on the acid value of insulating oil by infrared spectroscopy. Transformer 2022, 59, 55–60. [Google Scholar]
- Jiang, F.Y.; Wu, X.; Gao, S.T.; Wang, S.Y.; Zhang, R.R.; Li, Q.; Liu, X. Determination of furfural content in transformer oil by infrared spectroscopy. China Test 2022, 48, 72–77. [Google Scholar]
- Sun, J.S.; Liu, Y.J.; Zhang, S.N.; Lang, H.; Han, Z.Y. Research on rapid detection technology of turbine oil water content. Contemp. Chem. Ind. 2018, 47, 1310–1313. [Google Scholar]
- Lu, X.L.; Fan, X.L.; Ma, L.H. Comparative study of test conditions for detecting antioxidant content of transformer oil by infrared spectroscopy. Lubr. Oil 2014, 29, 42–49. [Google Scholar]
- Wang, J.; Fu, L.F.; Wang, X.W. Infrared spectroscopy detection technology for power oil. Therm. Power Gener. 2024, 53, 177–183. [Google Scholar]
- Gerretzen, J.; Szymańska, E.; Bart, J.; Davies, A.N.; van Manen, H.-J.; Heuvel, E.R.v.D.; Jansen, J.J.; Buydens, L.M. Boosting model performance and interpretation by entangling preprocessing selection and variable selection. Anal. Chim. Acta 2016, 93844–93852. [Google Scholar] [CrossRef]
- Shi, H.; Yu, P. Using Molecular Spectroscopic Techniques (NIR and ATR-FT/MIR) Coupling with Various Chemometrics to Test Possibility to Reveal Chemical and Molecular Response of Cool-Season Adapted Wheat Grain to Ergot Alkaloids. Toxins 2023, 15, 151. [Google Scholar] [CrossRef] [PubMed]
- Huang, T.; Bi, W.; Song, Y.; Yu, X.; Wang, L.; Sun, J.; Jiang, C. DMC-LIBSAS: A Laser-Induced Breakdown Spectroscopy Analysis System with Double-Multi Convolutional Neural Network for Accurate Traceability of Chinese Medicinal Materials. Sensors 2025, 25, 2104. [Google Scholar] [CrossRef] [PubMed]
- Ge, C.H.; Liu, Y.J.; Chen, M.S.; Yang, C.; Liang, P.P.; Yao, Z.X.; Zhang, K. Least-squares prediction of wind turbine lubricant acid value by higher-order derivatives of attenuated total reflection-Fourier infrared spectra combined with angular volume. Anal. Chem. 2024, 52, 1254–1269. [Google Scholar]
- Sun, H.Y.; Zhang, H.G.; Xue, M.C.; Lu, F.K. Research on fault diagnosis of solenoid valve of braking system based on wavelet packet decomposition and BP neural network. Railw. Roll. Stock. 2024, 44, 39–45. [Google Scholar]
- Ye, R.L.; Guo, Z.Z.; Liu, R.Y.; Liu, J.N. Wind speed and wind power prediction for wind farms based on wavelet packet decomposition and improved Elman neural network. J. Electrotechnol. 2017, 32, 103–111. [Google Scholar]
- Mu, W.Z.; Zhang, G.Y.; Zhang, W.; Yao, R.; Fu, N. Optimization of quantitative model for near-infrared spectra of yellow water starch based on CARS-SPA feature extraction. Food Sci. 2024, 45, 8–14. [Google Scholar]
- An, M.; Yang, X.Y.; He, L.N.; Zhang, J.Y.; Wang, Y.B. Study on infrared spectroscopy for rapid determination of acidity and other properties of automotive diesel fuel. Pet. Refin. Chem. Ind. 2020, 51, 87–92. [Google Scholar]
- Jiang, J.J.; Jin, X.K.; Li, W.S.; Zhuang, L.; Yuan, X.Z.; Zhu, C.Y. Identification of hemp fiber based on PCA-LDA statistical analysis of infrared spectra. Silk 2024, 61, 102–108. [Google Scholar]
- Yin, Y.; Wang, S.; Liu, C. Quantitative analysis of acid value and peroxide value of edible oil based on near infrared spectroscopy. J. Food Saf. Qual. Test. 2023, 14, 68–76. [Google Scholar]
- Yuan, H.; Lu, L.J.; Wang, S.; Zhao, W.H.; Qiu, L.M.; Xu, G.T. Application of infrared spectroscopy from structural analysis to in situ characterization in petroleum refining and chemical catalyst research. J. Pet. (Pet. Process.) 2024, 40, 1420–1429. [Google Scholar]
- Pu, H.; Kamruzzaman, M.; Sun, D.-W. Selection of feature wavelengths for developing multispectral imaging systems for quality, safety and authenticity of muscle foods—A review. Trends Food Sci. Technol. 2015, 45, 86–104. [Google Scholar] [CrossRef]
- Liu, G.; Gong, Y.Q.; Zhang, H.; Liang, H.B. Infrared spectral noise reduction algorithm based on wavelet transform optimized EEMD combined with SG. Infrared Technol. 2024, 46, 1453–1458. [Google Scholar]
- Cai, J.H.; Yin, S.J.; Chen, C.; Wang, S.M.; Liang, S.W. Study of Fourier transform attenuated total reflectance infrared spectroscopy screening model for phenylketonuria based on wavelet and wavelet packet transforms. J. Anal. Sci. 2016, 32, 458–462. [Google Scholar]
- Shi, H.L.; Hu, B. A review of dual-tree complex wavelet transform and its applications. Inf. Electron. Eng. 2007, 3, 229–234. [Google Scholar]
- Kingsbury, N. Complex Wavelets for Shift Invariant Analysis and Filtering of Signals. Appl. Comput. Harmon. Anal. 2001, 10, 234–253. [Google Scholar] [CrossRef]
- Deng, B.-C.; Yun, Y.-H.; Cao, D.-S.; Yin, Y.-L.; Wang, W.-T.; Lu, H.-M.; Luo, Q.-Y.; Liang, Y.-Z. A bootstrapping soft shrinkage approach for variable selection in chemical modeling. Anal. Chim. Acta 2016, 908, 63–74. [Google Scholar] [CrossRef]
- Yan, H.; Song, X.; Tian, K.; Chen, Y.; Xiong, Y.; Min, S. Quantitative determination of additive chlorantraniliprole in abamectin preparation: Investigation of bootstrapping soft shrinkage approach by mid-infrared spectroscopy. Spectrochim. Acta A 2018, 191, 296–302. [Google Scholar] [CrossRef] [PubMed]
- Jiang, D.Y. Analysis of Tobacco Near-Infrared Spectral Data BASED on Deep Learning. Master’s thesis, Chongqing University of Posts and Telecommunications, Chongqing, China, 2021. [Google Scholar]
- Wang, Z.; Li, J. Prediction model of SBS content in DNN-based modified asphalt. J. Constr. Mater. 2021, 24, 630–636. [Google Scholar]
- Abiodun, O.I.; Jantan, A.; Omolara, A.E.; Dada, K.V.; Mohamed, N.A.; Arshad, H. State-of-the-art in artificial neural network applications: A survey. Heliyon 2018, 4, e00938. [Google Scholar] [CrossRef]
- Kim, H.; Wang, C.; Byun, H.; Hu, W.; Kim, S.; Jiao, Q.; Lee, T.H. Variable three-term conjugate gradient method for training artificial neural networks. Neural Netw. 2023, 159, 125–136. [Google Scholar] [CrossRef]
- Xiao, Z.L.; Yuan, R.Y.; Fu, Z.; Liu, C.; Yin, B.L.; Xiao, M.Z.; Zhao, T.T.; Kuang, Y.J.; Song, L.B. Research on the aging behavior of transformer oil based on machine learning and infrared spectroscopy. Spectrosc. Spectr. Anal. 2025, 45, 434–442. [Google Scholar]
Sample Dataset Name | Number of Sample Set | Acid Value Content Range (mgKOH/g) |
---|---|---|
infrared spectral data sets | 143 | 0.002~0.152 |
training set | 104 | 0.002~0.152 |
validation sets | 26 | 0.030~0.124 |
full external validation set | 13 | 0.033~0.105 |
Processing Methods | Characteristic Parameter Range (cm−1) | Minimum RMSE |
---|---|---|
WPD + BOSS | 1604~1666 | 0.0006611 |
D1 + BOSS | 1428~1446 | 0.0010242 |
D2 + BOSS | 1390~1403 | 0.0008651 |
Modeling Method | Serial Number | Processing Method | Training Set | Validation Set | ||
---|---|---|---|---|---|---|
R2 | RMSE | R2 | RMSE | |||
PLS | 1 | WPD + BOSS | 0.9275 | 0.0085 | 0.9103 | 0.0106 |
2 | D1 + BOSS | 0.8901 | 0.0112 | 0.8792 | 0.0148 | |
3 | D2 + BOSS | 0.9028 | 0.0100 | 0.8823 | 0.0122 | |
DNN | 4 | WPD + BOSS | 0.9712 | 0.0054 | 0.9599 | 0.0066 |
5 | D1 + BOSS | 0.9203 | 0.0085 | 0.9378 | 0.0098 | |
6 | D2 + BOSS | 0.9324 | 0.0072 | 0.9407 | 0.0085 | |
7 | WPD | 0.7758 | 0.0227 | 0.6545 | 0.0244 | |
8 | D1 | 0.7361 | 0.0271 | 0.6275 | 0.0304 | |
9 | D2 | 0.7693 | 0.0257 | 0.6452 | 0.0271 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Fang, L.; Zong, C.; Pang, Z.; Tian, Y.; Huang, X.; Zhang, Y.; Wang, X.; Zhang, S. Transformer Oil Acid Value Prediction Method Based on Infrared Spectroscopy and Deep Neural Network. Energies 2025, 18, 3345. https://doi.org/10.3390/en18133345
Fang L, Zong C, Pang Z, Tian Y, Huang X, Zhang Y, Wang X, Zhang S. Transformer Oil Acid Value Prediction Method Based on Infrared Spectroscopy and Deep Neural Network. Energies. 2025; 18(13):3345. https://doi.org/10.3390/en18133345
Chicago/Turabian StyleFang, Linjie, Chuanshuai Zong, Zhenguo Pang, Ye Tian, Xuezeng Huang, Yining Zhang, Xiaolong Wang, and Shiji Zhang. 2025. "Transformer Oil Acid Value Prediction Method Based on Infrared Spectroscopy and Deep Neural Network" Energies 18, no. 13: 3345. https://doi.org/10.3390/en18133345
APA StyleFang, L., Zong, C., Pang, Z., Tian, Y., Huang, X., Zhang, Y., Wang, X., & Zhang, S. (2025). Transformer Oil Acid Value Prediction Method Based on Infrared Spectroscopy and Deep Neural Network. Energies, 18(13), 3345. https://doi.org/10.3390/en18133345