CN106053430B - Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum - Google Patents

Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum Download PDF

Info

Publication number
CN106053430B
CN106053430B CN201610430372.7A CN201610430372A CN106053430B CN 106053430 B CN106053430 B CN 106053430B CN 201610430372 A CN201610430372 A CN 201610430372A CN 106053430 B CN106053430 B CN 106053430B
Authority
CN
China
Prior art keywords
raman spectrum
envelope
baseline
gas raman
minimum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610430372.7A
Other languages
Chinese (zh)
Other versions
CN106053430A (en
Inventor
陈伟根
万福
王建新
王品
王品一
杨曼琳
贺鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University
Original Assignee
Chongqing University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing University filed Critical Chongqing University
Priority to CN201610430372.7A priority Critical patent/CN106053430B/en
Publication of CN106053430A publication Critical patent/CN106053430A/en
Application granted granted Critical
Publication of CN106053430B publication Critical patent/CN106053430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/62Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light
    • G01N21/63Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light optically excited
    • G01N21/65Raman scattering

Abstract

The present invention proposes a kind of envelope alternative manner of minimum gas Raman spectrum detection baseline correction, this method seeks numerical differentiation to the gas Raman spectrum W after denoising with diff function, with the slope of find function and minimum point left-most curve less than 0 and the right slope of a curve greater than 0 condition acquires minimum point, first enveloped line L is acquired with spline interpolation function spline and minimum point1, the gas Raman spectrum inconsistent to front and back spectral peak closeness carries out segment processing, and introduces envelope line interation thought, using the mode of the extra sparse section of the number of iterations of condensed section the number of iterations, obtains envelope L2(as gas Raman spectrum baseline), W subtracts baseline L2, complete the baseline correction to W.This method processing result can relatively accurately correct the baseline of minimum gas Raman spectrum, and the spectrum fluorescence background residual after reducing correction improves gas Raman quantitative spectrochemical analysis accuracy.

Description

Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum
Technical field
The present invention relates to gas Raman spectral detection field more particularly to the baseline correction skills of minimum gas Raman spectrum Art.
Background technique
Raman spectrum (Raman spectroscopy) is a kind of scattering spectrum based on Raman scattering effect, by India's object Neo-confucian Raman had found, has many advantages, such as non-intruding, not damaged and radiationless.As the introducing of laser light source, signal are examined The raising of survey technology and popularizing for computer technology, Raman spectroscopy are just increasingly being applied to chemical, biomedical inspection It surveys and the fields such as material production.
However influenced by instrument system, the detection factors such as environment and sample, the Raman spectrum of acquisition detects letter Number there is always different degrees of noise and background interferences.The phenomenon that increasing Raman spectrum baseline by factors such as fluorescence backgrounds, is known as Baseline drift.When baseline drift is larger, the extraction of raman characteristic peak and the identification of measured matter will seriously affect, it is fixed to reduce The accuracy of property quantitative analysis.Therefore, baseline correction is directly related to the quality of spectrum analysis quality, the research one to this respect Directly by vast focus of attention.The method for reducing baseline drift at present is mainly two aspects, the improvement of Raman spectrum analysis instrument And data processing method.Raman spectrum analysis instrument improvement higher cost and the influence that cannot be completely eliminated fluorescent material, and count According to processing method, then cost is relatively low and effect is preferable.Existing fitting of a polynomial and piecewise polynomial fitting algorithm are most common Baseline correction method, but it is more all to there is a problem of that fluorescence background remains, it is poor so as to cause baseline correction accuracy, it is unfavorable for Improve the accuracy of gas Raman spectral detection.And wavelet transformation baseline correction is that Raman signal is decomposed into a series of sine waves Superposition, the low frequency of signal and high frequency can be separated, it is quick, accurate to have many advantages, such as, but decomposition scale rely on experience, for Different practical problems is difficult to reach optimization process effect, and baseline correction is easily distorted or insufficient, calculation amount and calculates multiple Miscellaneous degree is also relatively high.
Summary of the invention
Problem to be solved by this invention is to propose one kind for deficiency existing for existing Raman spectrum baseline correction method Minimum gas Raman spectrum detect baseline correction envelope alternative manner, this method be based on spline interpolation algorithm and Envelope line interation thought can more accurately indicate the baseline of gas Raman spectrum, reduce gas Raman spectrum fluorescence background Residual, improve the quantitative analysis accuracy in detection of gas concentration.
In order to achieve the above objectives, The technical solution adopted by the invention is as follows:
A kind of envelope alternative manner of minimum gas Raman spectrum detection baseline correction, steps are as follows:
Step 1: denoising is carried out to the gas Raman spectrum of acquisition, the gas Raman spectrum after definition denoising is W;
Step 2: seeking numerical differentiation to W with diff function, if W shares N+1 point, then after numerical differentiation It is worth to N, will wherein the 1st be stored in matrix d1 to N-1 value, the 2nd into N value deposit matrix d2;
Step 3: with the slope of find function and minimum point left-most curve less than 0 and the right slope of a curve is big Condition in 0 acquires minimum point indmin, i.e. indmin=find (d1 < 0 the & of d1.*d2 < 0)+1;
Step 4: the minimum point indmin acquired with spline interpolation function spline and step 3 is asked Obtain first enveloped line L1
Step 5: judging W spectral peak density, if spectral peak closeness is consistent before and after W, repeats step 2 to step 4, right L 1It carries out m iteration and acquires envelope L2;If spectral peak closeness is different before and after W, L is separated1 The condensed section of spectral peak with Sparse section, respectively with step 2 to step 4 to L1 Sparse section iteration m times, to condensed section iteration m+1 times, obtain envelope Line L2, as gas Raman spectral detection baseline.Wherein the number of iterations m can be increased and decreased according to W situation, and m is usually 2~4。
Step 6: W subtracts baseline L 2, that is, uses the envelope of iteration as baseline, and original spectrum subtracts envelope method The baseline of formation completes the baseline correction to W.
In step one of the invention, denoising is carried out to resulting gas Raman spectrum is measured, keeps spectral line smooth, it can To guarantee minimum point is sought in step 3 accuracy, reality of the envelope for seeking step 5 closer to gas Raman spectrum Border baseline reduces the residual of fluorescence background to a certain extent.
In the step of inventing two, since computer can only handle discrete data, therefore introduces diff function and ask numerical value micro- Point, to obtain the Δ y of discrete data under unit abscissa Δ x, and replace with this slope of gas Raman curve of spectrum.
In step three of the invention, using minimum point left-most curve slope less than 0 and the right slope of curve is greater than 0 property can accurately acquire minimum point abscissa all in gas Raman spectrum in conjunction with find function.In addition, examining The missing for considering data total number after numerical differentiation in step 2, has carried out the abscissa of minimum point plus 1 compensates, and guarantees The accuracy of baseline correction.
In step four of the invention, five, the gas Raman spectrum inconsistent to front and back spectral peak closeness is carried out at segmentation Reason, and envelope line interation thought is introduced, using the mode of the extra sparse section of the number of iterations of condensed section the number of iterations, gas is considered comprehensively The characteristics of body Raman spectrum, embodies the versatility of the envelope alternative manner of minimum gas Raman spectrum detection baseline correction.
The method of the present invention processing result can relatively accurately correct the baseline of minimum gas Raman spectrum, after reducing correction Spectrum fluorescence background residual, improve the accuracy of gas Raman spectral detection, quantitative analysis for gas Raman spectrum and answer With with very important practical significance.The advantages of this method is specific as follows:
1, after using the envelope alternative manner of minimum gas Raman spectrum detection baseline correction, it is glimmering spectrum can be effectively reduced Light background residual, improves the accuracy of gas Raman spectral detection.
, comprehensively consider gas Raman spectrum the characteristics of, to gas Raman spectrum carry out segment processing, condensed section the number of iterations More, sparse section of the number of iterations is few, embodies the general of the envelope alternative manner of minimum gas Raman spectrum detection baseline correction Property.
Detailed description of the invention
Fig. 1 is the envelope alternative manner flow chart that minimum gas Raman spectrum detects baseline correction;
Fig. 2 is H 2The comparison diagram of Raman spectrum denoising front and back;
Fig. 3 is the H after denoising2Raman spectrum and iteration envelope L 2;
Fig. 4 is H2Comparison diagram before and after Raman spectrum baseline correction.
Specific embodiment
For a better understanding of the present invention, below with reference to the embodiment content that the present invention is further explained.
If Fig. 1 show the envelope alternative manner flow chart of minimum gas Raman spectrum detection baseline correction, with micro- Measure gas H 2For, in this way to H2Raman spectrum carries out baseline correction processing, is realized with MATLAB software programming, Specific embodiment is as follows:
1. is using Raman spectrum analysis system to micro H 2 Raman spectroscopy measurement is carried out, with Wavelet Modulus Maxima Algorithm Denoising is carried out to 2 Raman spectrum of H of acquisition, the H after definition denoising2Raman spectrum data is W, and result is as schemed Shown in 2.
2. is based on diff function and seeks numerical differentiation to W, W shares 2000 points, obtains after numerical differentiation 1999 values, the 1st to 1998 value is stored in matrix d1, and the 2nd to 1999 value is stored in matrix d2.
3. is based on find function minimizing point indmin and carries out adding 1 to compensate to it, i.e. and indmin= Find (d1 < 0 the & of d1.*d2 < 0)+1 minimum point acquired.
4. acquires first enveloped line L with spline interpolation function spline and minimum point indmin 1
5. is in H2 The 1000th point of Raman spectrum data punishes section, to the right and left respectively repeat steps 3. and 4., into Capable iteration twice, obtains the envelope L of iteration 2 As shown in Fig. 3.
6. the envelope L of iteration2Instead of baseline, the ordinate that original spectrum W and baseline should be put subtracts each other completion Baseline correction, comparative analysis result is as shown in Fig. 4 before and after baseline correction.

Claims (2)

1. a kind of envelope alternative manner of minimum gas Raman spectrum detection baseline correction, which is characterized in that steps are as follows:
Step 1: denoising is carried out with gas Raman spectrum of the Wavelet Modulus Maxima Algorithm to acquisition, the gas after definition denoising Body Raman spectrum is W;
Step 2: seeking numerical differentiation to W with diff function, if W shares N+1 point, then N number of value is obtained after numerical differentiation, by it In the 1st to N-1 value deposit matrix d1 in, the 2nd to N value deposit matrix d2 in;
Step 3: with the slope of find function and minimum point left-most curve less than 0 and the right slope of a curve be greater than 0 condition Acquire minimum point indmin, i.e. indmin=find (d1 < 0 the & of d1.*d2 < 0)+1;
Step 4: the minimum point indmin acquired with spline interpolation function spline and step 3 acquires primary packet Winding thread L1
Step 5: judging W spectral peak density, if spectral peak closeness is consistent before and after W, repeats step 2 to step 4, to L1It carries out m times Iteration acquires envelope L2;If spectral peak closeness is different before and after W, L is separated1The condensed section of spectral peak with sparse section, use step 2 respectively To step 4 to L1Sparse section iteration m times, to condensed section iteration m+1 times, obtain envelope L2, as gas Raman spectral detection Baseline;
Step 6: W subtracts baseline L2, that is, complete the baseline correction to W.
2. the envelope alternative manner of minimum gas Raman spectrum detection baseline correction according to claim 1, feature It is, m is 2 ~ 4.
CN201610430372.7A 2016-06-16 2016-06-16 Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum Active CN106053430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610430372.7A CN106053430B (en) 2016-06-16 2016-06-16 Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610430372.7A CN106053430B (en) 2016-06-16 2016-06-16 Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum

Publications (2)

Publication Number Publication Date
CN106053430A CN106053430A (en) 2016-10-26
CN106053430B true CN106053430B (en) 2019-02-05

Family

ID=57169111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610430372.7A Active CN106053430B (en) 2016-06-16 2016-06-16 Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum

Country Status (1)

Country Link
CN (1) CN106053430B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106770192B (en) * 2016-12-29 2019-04-16 江南大学 Laser induced breakdown spectroscopy continuous background bearing calibration based on interpolation method
CN107831157B (en) * 2017-10-24 2020-02-18 西安电子科技大学 Raman spectrum fluorescence background subtraction method based on spectrum removal
CN108287137A (en) * 2017-12-22 2018-07-17 必欧瀚生物技术(合肥)有限公司 A kind of baseline correction method based on piecewise polynomial fitting
CN110553989A (en) * 2019-09-03 2019-12-10 无锡创想分析仪器有限公司 method for removing spectrum baseline
CN113008874B (en) * 2021-03-11 2022-07-26 合肥工业大学 Method for improving qualitative detection capability of laser-induced breakdown spectroscopy technology based on baseline correction and spectral peak recognition
CN113324971B (en) * 2021-05-14 2022-11-08 重庆大学 Self-adaptive Raman spectrum baseline correction method based on low-pass filtering
CN114048764B (en) * 2021-10-22 2023-04-18 中国科学院西安光学精密机械研究所 Infrared spectrum envelope removing method
CN114878552B (en) * 2022-07-11 2022-10-04 合肥金星智控科技股份有限公司 Spectrum correction method, spectrum correction device, storage medium and electronic equipment
CN117288739B (en) * 2023-11-27 2024-02-02 奥谱天成(厦门)光电有限公司 Asymmetric Raman spectrum baseline correction method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361861A (en) * 1999-05-21 2002-07-31 布克哈姆技术公共有限公司 Method and system for adaptive interpretation of spectrometric data comobined with continual re-calibration
CN103217409A (en) * 2013-03-22 2013-07-24 重庆绿色智能技术研究院 Raman spectral preprocessing method
CN104198463A (en) * 2014-09-22 2014-12-10 中国科学院重庆绿色智能技术研究院 Raman spectrum preprocessing method and system
CN104870955A (en) * 2012-10-25 2015-08-26 瑞尼斯豪公司 Spectroscopic apparatus and methods

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218395B2 (en) * 2003-04-16 2007-05-15 Optopo Inc. Rapid pharmaceutical identification and verification system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361861A (en) * 1999-05-21 2002-07-31 布克哈姆技术公共有限公司 Method and system for adaptive interpretation of spectrometric data comobined with continual re-calibration
CN104870955A (en) * 2012-10-25 2015-08-26 瑞尼斯豪公司 Spectroscopic apparatus and methods
CN103217409A (en) * 2013-03-22 2013-07-24 重庆绿色智能技术研究院 Raman spectral preprocessing method
CN104198463A (en) * 2014-09-22 2014-12-10 中国科学院重庆绿色智能技术研究院 Raman spectrum preprocessing method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Matlab图像局部求极值";mimi;《http://blogsina.com.cu/u/1816257267》;20121211;第1-2页
"改进多项式迭代拟合红外光谱基线校正方法";马恒;《激光技术》;20130331;第37卷(第2期);第223-226页
"消除拉曼光谱荧光背景的新方法";高国明;《光学学报》;20130215;第33卷(第2期);第0230002-2—0230002-9页

Also Published As

Publication number Publication date
CN106053430A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106053430B (en) Envelope alternative manner for the detection baseline correction of minimum gas Raman spectrum
Yuan et al. A partial least squares and wavelet-transform hybrid model to analyze carbon content in coal using laser-induced breakdown spectroscopy
Chen et al. A background and noise elimination method for quantitative calibration of near infrared spectra
CN104867130B (en) A kind of self-adapting division method based on crack image sub-district gray average
CN107643252B (en) Real-time background-deduction nonlinear correction method for WMS detection of oxygen concentration in bottle
CN105279379B (en) Tera-hertz spectra feature extracting method based on convex combination Kernel principal component analysis
Branson et al. LAtools: A data analysis package for the reproducible reduction of LA-ICPMS data
JP5964983B2 (en) Method for identifying microorganisms by mass spectrometry
CN105518456B (en) Chromatography data system
CN103809198A (en) Method for measuring particle accelerator beam position
CN111487213A (en) Multispectral fusion chemical oxygen demand testing method and device
Deng et al. An improved peak detection algorithm in mass spectra combining wavelet transform and image segmentation
CN104730042A (en) Method for improving free calibration analysis precision by combining genetic algorithm with laser induced breakdown spectroscopy
Tseitlin et al. Uncertainty analysis for absorption and first‐derivative electron paramagnetic resonance spectra
Zheng-Feng et al. Outlier detection for multivariate calibration in near infrared spectroscopic analysis by model diagnostics
Zhai et al. A simple approach to quantitative analysis using three-dimensional spectra based on selected Zernike moments
WO2018103541A1 (en) Raman spectrum detection method and electronic apparatus for removing solvent perturbation
CN109520941B (en) Response function correction method of on-line spectral measuring instrument
TWI493168B (en) A method computer program and system to analyze mass spectra
CN116380869A (en) Raman spectrum denoising method based on self-adaptive sparse decomposition
CN109145403A (en) A kind of near infrared spectrum modeling method based on sample common recognition
CN111122469A (en) Method for determining feldspar content in igneous rock
Zhao et al. Method for extracting Raman spectra characteristic variables of biological sample based on Hilbert–Huang transform
CN114878544A (en) Method for identifying target component from mixture SERS spectrum
Wang et al. Missing data recovery combined with Parallel factor analysis model for eliminating Rayleigh scattering in the process of detecting pesticide mixture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Weigen

Inventor after: Wan Fu

Inventor after: Wang Jianxin

Inventor after: Wang Pinyi

Inventor after: Yang Manlin

Inventor after: He Peng

Inventor before: Chen Weigen

Inventor before: Wang Jianxin

Inventor before: Yang Manlin

Inventor before: He Peng

Inventor before: Wang Pinyi

Inventor before: Wan Fu

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant