An Adaptive Hyperfine Spectrum Extraction Algorithm for Optical Sensing Based on SG Filtering and VMD
Abstract
1. Introduction
2. Methods
2.1. Signal Preprocessing
2.2. Denoising with Adaptive VMD
2.3. Smoothing with Adaptive Sg Filter
3. Results
3.1. Hyperfine Spectral Signal Simulation
3.2. Hyperfine Spectral Signal Experiment
| Algorithm 1. A-VMD-SG Spectrum Extraction Algorithm |
| 1 Input: Dual optical power intensity signal , . |
| 2 Preprocessing: Calculate the corrected power quotient. |
| 3 Fit and estimate the DC and AC component. |
| 4 . |
| 5 Adaptive parameter estimation: |
| 6 Evaluation of the number of frequency peaks above the threshold using FFT; |
| 7 Use VMD to decompose the signal: |
| 8 Evaluate the energy proportion of IMFs () and the spectral overlap, and select the modes to be used for synthesis; |
| 9 for m=1:data_length |
| 10 Count the number of knee points of the curve within the calculation window, |
| 11 Calculate the curve of the least squares fit: |
| 12 The convolution calculates the corresponding filtering value at the center point of the window. |
| 13 end |
| 14 Output: The processed spectral signal. |
4. Discussions
4.1. Selection of VMD Threshold
4.2. Computational Complexity
4.3. Limitations of the A-VMD-SG Algorithm
4.4. Analysis of the Spectral Extraction
5. Conclusions
- Adaptive Algorithm Development: An adaptive algorithm based on VMD and SG filtering is proposed for high-quality spectral signal extraction. The algorithm autonomously acquires model parameters through local signal processing, eliminating the need for additional model training.
- Power Fluctuation Correction: A reference light-based power fluctuation correction method is introduced, utilizing a correction quotient to suppress the impact of power fluctuations on measurements, thereby enhancing instrumentation accuracy.
- Parameter Optimization: The algorithm evaluates VMD parameters based on spectral information and SG filter parameters based on local window information. The threshold parameter simplifies adjustments and demonstrates insensitivity to signal length, enhancing the algorithm’s adaptability in practical instrumentation scenarios.
- Enhanced Spectral Signal Features: By eliminating power noise and applying smoothing techniques, the algorithm yields high-quality spectral signals that improve measurement reliability and precision.
- Algorithm Validation: The effectiveness and superiority of the A-VMD-SG algorithm are validated through comparisons with different optimization algorithms. Both simulations and experiments confirm its capability to restore high-quality spectral signals, providing a robust solution for spectral signal processing in instrumentation applications.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- He, W.; You, H.; Lu, Z.; Liu, Y.; Chen, Y.; Liu, Y.; Sun, C. A Novel Overlapping ME Peaks Decomposition Algorithm Based on Iterative Derivative Sharpening. IEEE Trans. Instrum. Meas. 2024, 73, 6502413. [Google Scholar] [CrossRef]
- Xie, H.; Xiao, D.; Mao, Z. Rapid Detection of Iron Ore Grades Based on Fractional-Order Derivative Spectroscopy and Machine Learning. IEEE Trans. Instrum. Meas. 2023, 72, 2531910. [Google Scholar] [CrossRef]
- Manzoor, S.; Chiarotti, M.; Meek, S.A.; Santambrogio, G.; Poli, N. Precision spectroscopy and frequency determination of the hyperfine components of the P(63) 4-4 transition of molecular iodine near 652 nm. Opt. Express 2024, 32, 44683–44693. [Google Scholar] [CrossRef]
- Tu, X.; Luan, X.; Wang, Z. Denoising of Second Harmonic Signals of the Absorption Spectrum Using the Frequency Decomposition Combined with the Savitzky-Golay Filtering. Spectrosc. Spectr. Anal. 2025, 45, 1209–1216. [Google Scholar] [CrossRef]
- Feltis, S.E.; Grimes, N.Y.; Compton, B.G.; Zhang, Z. Mass spectrometry and laser absorption spectroscopy instrumentation for characterization of carbon phenolic composites pyrolysis. Opt. Contin. 2025, 4, 1242–1254. [Google Scholar] [CrossRef]
- Narimani, G.; Martin, P.A.; Taylor, D.P. Spectral Analysis of Fractionally-Spaced MMSE Equalizers and Stability of the LMS Algorithm. IEEE Trans. Commun. 2018, 66, 1675–1688. [Google Scholar] [CrossRef]
- Ozawa, K.; Itakura, T.; Ono, T. Locally Self-Adjustive Smoothing for Measurement Noise Reduction with Application to Automated Peak Detection. Appl. Spectrosc. 2024, 78, 825–836. [Google Scholar] [CrossRef]
- Lu, S.M.; Hao, Y.; Shi, Z.T.; Chu, Y.Y.; Zhang, Y.; Bian, X.H. Spectral Denoising Based on Peak Extraction Combined with Variational Mode Decomposition for Complex Samples. Chin. J. Anal. Chem. 2024, 52, 1277–1286. [Google Scholar] [CrossRef]
- Zhou, Z.; Tang, P. VI-Quality-Based Savitzky-Golay Method for Filtering Time Series Data. Remote Sens. Technol. Appl. 2013, 28, 232–239. [Google Scholar]
- Kuang, R.; Wang, Z.; Ma, L.; Wang, H.; Chen, Q.; Junior, A.L.; Kumar, S.; Li, X.; Marques, C.; Min, R. Smart photonic wristband for pulse wave monitoring. Opto-Electron. Sci. 2024, 3, 240009. [Google Scholar] [CrossRef]
- Kang, P.; Sun, Y.; Wang, J.; Liu, A.; Hu, S. Measurement of molecular absorption spectrum with a laser locked on a high-finesse cavity. Acta Phys. Sin. 2018, 67, 79–85. [Google Scholar] [CrossRef]
- Chen, J.; Li, S.; Zhu, J.; Liu, M.; Li, R.; Cui, X.; Li, L. Significant wave height prediction based on variational mode decomposition and dual network model. Ocean Eng. 2025, 323, 120533. [Google Scholar] [CrossRef]
- Lan, J.; Qiu, H.; Hu, Q.; Ma, X.; Zhang, H.; Xu, Y. Suppression of interference fringes in laser absorption spectroscopy using signal feature improved Variational Mode Decomposition. Sens. Actuators B-Chem. 2025, 422, 136576. [Google Scholar] [CrossRef]
- Li, C.; Wang, Z.; Liu, X.; Yang, S.; Xu, Z.; Fan, C. Anti-scattering signal processing method of VMD-ICA based underwater lidar. Acta Phys. Sin. 2024, 73, 094203-1–094203-6. [Google Scholar] [CrossRef]
- Wu, Y.; Ma, K.; Wu, Z.; Zhang, W. Intensity Noise Suppression in Photonic Detector Systems for Spectroscopic Applications. Sensors 2025, 25, 6932. [Google Scholar] [CrossRef]
- Dragomiretskiy, K.; Zosso, D. Variational Mode Decomposition. IEEE Trans. Signal Process. 2014, 62, 531–544. [Google Scholar] [CrossRef]
- Zeng, W.; Liu, X.; Miao, Y.; Zeng, Q.; Yang, C. TDLAS second harmonic signal denoising research based on INGO-VMD-improved wavelet thresholding algorithm. Laser J. 2024, 45, 53–61. [Google Scholar] [CrossRef]
- Savitzky, A.; Golay, M.J.E. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef]
- Zhou, C.; Zhang, L.; Li, J. Detection of atmospheric multi-component based on a single quantum cascade laser. Acta Phys. Sin. 2017, 66, 094203. [Google Scholar] [CrossRef]
- Shen, Y.; Zhao, Z.; Yang, S. Improved EMD based de-noising method. J. Vib. Shock 2009, 28, 35–37+62. [Google Scholar] [CrossRef]
- Zhao, A.; Tang, X.; Zhang, Z.; Liu, J. Optimizing Savitzky-Golay Parameters and Its Smoothing Pretreatment for FTIR Gas Spectra. Spectrosc. Spectr. Anal. 2016, 36, 1340–1344. [Google Scholar] [CrossRef]
- Le, L.; Kim, Y.; Aspnes, D.E. Quantitative assessment of linear noise-reduction filters for spectroscopy. Opt. Express 2020, 28, 38917–38933. [Google Scholar] [CrossRef]
- Jia, H.; Feng, Y.; Qi, W. Research on infrared image denoising and enhancement algorithm. In Proceedings of the 2024 7th International Conference on Artificial Intelligence and Pattern Recognition, Hangzhou, China, 15–17 August 2024; Association for Computing Machinery: New York, NY, USA, 2025; pp. 265–272. [Google Scholar]
















| Equipment | Parameter | Brand |
|---|---|---|
| Laser | - | LDPD-INC |
| Constant current source | 89.4 mA/103 mA | Thorlabs LDC202C |
| Temperature control device | 10 kΩ | Thorlabs TED200C |
| Detector | - | Thorlabs PDA36A2 |
| Iodine cell | Φ20 × 100 mm | CellI2-801 |
| Signal generator | - | Moku: pro |
| Waveform Digitizer | 10 MSa/100 MSa | AlazarTech ATS9462 |
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
Wu, Y.; Ma, K.; Yun, Z.; Zhang, Y.; Su, Q.; Kong, X.; Wu, Z.; Zhang, W. An Adaptive Hyperfine Spectrum Extraction Algorithm for Optical Sensing Based on SG Filtering and VMD. Sensors 2025, 25, 7590. https://doi.org/10.3390/s25247590
Wu Y, Ma K, Yun Z, Zhang Y, Su Q, Kong X, Wu Z, Zhang W. An Adaptive Hyperfine Spectrum Extraction Algorithm for Optical Sensing Based on SG Filtering and VMD. Sensors. 2025; 25(24):7590. https://doi.org/10.3390/s25247590
Chicago/Turabian StyleWu, Yupeng, Kai Ma, Ziyan Yun, Yueheng Zhang, Qiming Su, Xinxin Kong, Zhou Wu, and Wenxi Zhang. 2025. "An Adaptive Hyperfine Spectrum Extraction Algorithm for Optical Sensing Based on SG Filtering and VMD" Sensors 25, no. 24: 7590. https://doi.org/10.3390/s25247590
APA StyleWu, Y., Ma, K., Yun, Z., Zhang, Y., Su, Q., Kong, X., Wu, Z., & Zhang, W. (2025). An Adaptive Hyperfine Spectrum Extraction Algorithm for Optical Sensing Based on SG Filtering and VMD. Sensors, 25(24), 7590. https://doi.org/10.3390/s25247590

