Improves LMS Algorithm to Detect Heavy Metal Ion Solution
Improves LMS Algorithm to Detect Heavy Metal Ion Solution
author: Susan
2022-01-04

Challenge
When the micro spectrometer used to detect high-concentration of trace heavy metal ions, the absorption spectra is easy to be interfered by environment and spectrometer noise. The weak absorbance signal annihilation affects detect result accuracy and repeatability.
How to reduce the noise and SNR by a new LMS algorithm that affects weak reflectance signals, the new LMS algorithm improved to reduce noise value and signal to noise ratio.
It provides a new method to detect high concentration absorption spectra with low SNR micro spectrometer.
Principle and Improvement of LMS algorithm
The LMS algorithm is based on the minimum mean square error criterion and uses a gradient descent method to achieve a denoising algorithm that minimizes the loss function.
Improved LMS algorithm
............(1)
Among them,
, represents the signal vector input by the adaptive filter corresponding to the n position;
, represents the filter weight coefficient vector in the state of the n position;
, represents the order of the improved LMS filter, [] represents rounding down, and L>1.
.............(2)
Use the sigmoid function to constrain the amount of deviation caused by the noise signal to-0.5 to 0.5, as shown in Figure 1, which reduces the algorithmic modulus to a certain extent.
The type is sensitive to noise signals. At the same time, when the weight update iteration is performed, the weight change of the weight coefficient vector of the adaptive filter will not be in an oscillating state, which is conducive to the rapid convergence of the weight coefficient.
When the micro spectrometer used to detect high-concentration of trace heavy metal ions, the absorption spectra is easy to be interfered by environment and spectrometer noise. The weak absorbance signal annihilation affects detect result accuracy and repeatability.
How to reduce the noise and SNR by a new LMS algorithm that affects weak reflectance signals, the new LMS algorithm improved to reduce noise value and signal to noise ratio.
It provides a new method to detect high concentration absorption spectra with low SNR micro spectrometer.
Principle and Improvement of LMS algorithm
The LMS algorithm is based on the minimum mean square error criterion and uses a gradient descent method to achieve a denoising algorithm that minimizes the loss function.
Improved LMS algorithm
a. The filter structure is as follows (1):




b. The error calculation module is usually expressed by formula (2):

The type is sensitive to noise signals. At the same time, when the weight update iteration is performed, the weight change of the weight coefficient vector of the adaptive filter will not be in an oscillating state, which is conducive to the rapid convergence of the weight coefficient.
Fig. 1 Error constraint
c. Substitute equation (2) into the minimum mean square error function established by the small batch stochastic gradient descent method, and describe it with equation (3):
...............(3)
Optosky ATP2000P portable miniature spectrometer was selected for the experiment. The light source was a deuterium halogen lamp ATG1020H, and the cuvette was a quartz cuvette ATP0080, figure 3.



Fig.2 The relationship between error and loss function
Test ResultsOptosky ATP2000P portable miniature spectrometer was selected for the experiment. The light source was a deuterium halogen lamp ATG1020H, and the cuvette was a quartz cuvette ATP0080, figure 3.

Fig. 3 Experiment System
With Zinc hydrometallurgy as the background, mixed standard solutions of Zn2+, Cu2+, Co2+, and Ni2+ concentrations were 16g·L-1, 1.4mg·L-1, 0.8mg·L-1, 0.3mg·L-1, respectively. The sampling integration time of the micro-spectrometer is set to 3ms, and the sampling integration interval is 500ms. Under the same experimental conditions, the spectral signal of this concentration was repeatedly collected 4000 times. Figure 4(a) shows the absorption spectrum signal obtained by one sampling. Figure 4(b) is the absorption spectrum signal statistically obtained according to the central limit theorem, which is used here as the reference absorption spectrum signal.


Fig. 4 Absorption spectral signal of mixed solution (a): Measured signal (b): Reference signal

Fig. 5 The denoising results of the simulation data the normal LMS algorithm Fig. 6 The denoising results of the actually measured data the improved LMS algorithm


Fig. 5 The denoising results of the simulation data the normal LMS algorithm Fig. 6 The denoising results of the actually measured data the improved LMS algorithm
This method is used to de-noise the measured absorbance spectrum signal of the micro- spectrometer. The de-noising effect is shown in Figure 6. The improved LMS algorithm effectively eliminates the interference of strong noise, and also effectively retains the high concentration ratio in the background. The signal characteristics of the original absorption spectra of trace heavy metal ions.
Conclusion
In the process of processing absorption spectrum signals with low signal-to-noise ratio, the proposed method is superior to the standard LMS algorithm, SG denoising algorithm, wavelet soft threshold algorithm, and wavelet hard threshold algorithm in terms of signal-to-noise ratio and mean square error. Effectively remove the influence of irrelevant noise, retain some important real details in the spectral signal, and avoid the problem of subjective judgment selection of key detail parameters, providing a new solution for the analysis of spectral signals under low signal-to-noise ratio Ideas.
Related Products

ATP2000P Light source ATG1020H Optical fiber UV-VIS Cuvette Holder ATP0080
Related Articles
Conclusion
In the process of processing absorption spectrum signals with low signal-to-noise ratio, the proposed method is superior to the standard LMS algorithm, SG denoising algorithm, wavelet soft threshold algorithm, and wavelet hard threshold algorithm in terms of signal-to-noise ratio and mean square error. Effectively remove the influence of irrelevant noise, retain some important real details in the spectral signal, and avoid the problem of subjective judgment selection of key detail parameters, providing a new solution for the analysis of spectral signals under low signal-to-noise ratio Ideas.
Related Products




ATP2000P Light source ATG1020H Optical fiber UV-VIS Cuvette Holder ATP0080
Related Articles
- “Spectral Signal Denoising Algorithm Based on Improved LMS”
- “Spectroscopy and Spectral Analysis”
- “Spectrochimica Acta Part A Molecular & Biomolecular Spectroscopy”



Measuring Solution Absorbance Comparison by UV-VIS Spectrometer Water Pollution Warning How to Detect COD in the Field Environment by UV Spectroscopy
Related News
XRF Fluorescence Spectrometer for jewelry
2023-02-01 493New Product Launch | ATP7810 Ultra Wide Range Infrared Grating Spectrometer
2023-09-05 40Treatment of Medical Waste Based on Spectroscopy
2023-01-09 434Whole Blood Analysis Based on UV-VIS Spectroscopy
2023-01-05 603Irradiance Spectrum Analysis Measure Solution
2022-12-16 387spectrometer FAQ
2022-08-22 938LED Light Measurement Solution
2022-04-24 891How to Use NIR Spectrometer to Detect Textiles Rapidly
2022-03-16 963Estimation of Forage Biomass and Nutritional Value by Ground Spectrometer
2022-03-08 788Spectroscopy - A Journey in Search of Clean Water
2022-03-07 920How to Predict the Freshness of Peppers by Spectroscopy
2022-03-02 875Applications of Spectroscopy to Insect
2022-02-18 787How does Spectroscopy Identify Real or Fake Sneakers?
2022-02-16 797Can Spectroscopy Quickly and Easily Evaluate Paint Samples?
2022-02-10 764How to Detect CWAs Simulants in Soil by Spectroscopy
2022-01-07 591How to Measure WO3/PVA Films by Spectroscopy
2022-01-07 587How to Predict Egg Freshness of New Varieties by VIS-NIR Spectroscopy
2022-01-07 474New Algorithm to Improve High-Quality Spectral Signal
2022-01-07 488How to Detect Dielectric Barrier Discharge Ion Source by Spectroscopy
2022-01-06 411Traumatic Brain Injuries Detection By NIR spectroscopy
2022-01-06 517