Spectrum correction technology based on GSA near-infrared spectrometerTechnical Field
The invention mainly relates to the technical field of spectrum detection, in particular to a spectrum correction technology based on a GSA near-infrared spectrometer.
Background
The near infrared wavelength range is 780nm-2526nm, and refers to electromagnetic waves between visible light and medium-wave infrared. The near infrared spectrum analysis technology is a key technology capable of effectively analyzing different material materials. In recent years, the technology is rapidly developed, and the near infrared spectrum analysis technology also relies on the special detection advantages of the near infrared spectrum analysis technology: the detection is simple and convenient, has no damage, is efficient and quick, has no pollution, has rich information content, can be analyzed on line in real time, and the like, and is widely applied to the fields of scientific experiments, industrial manufacturing, agricultural production, petrochemical industry, food safety detection, pharmaceutical monitoring, human body monitoring, and the like.
The GSA (golden SpectraAnalyzer) golden light series near infrared analyzer which is independently researched and developed by the Kingpo-Longxun adopts an international advanced chip-level light splitting module, the signal-to-noise ratio is 3 times of that of a linear array spectrometer, and a light splitting system has no moving parts and high stability, so that the GSA (golden SpectraIyzer) golden light series near infrared analyzer is an ideal choice for online analysis. At present, the material mixing uniformity degree is detected mostly by adopting a gravity sensor, the sensor can be well applied to one-dimensional detection, two-dimensional and three-dimensional detection needs a plurality of gravity sensors to measure simultaneously, the processing of detection data is very complicated, and the acquired spectrum data has very large errors. The problem that two-dimensional and three-dimensional detection data of a gravity sensor are complex to process and have large errors can be solved by detecting the material mixing uniformity through a GSA-based near infrared spectrometer, but a near infrared spectrum correction technology is yet to be developed.
Disclosure of Invention
In view of the shortcomings and drawbacks of the prior art, the present invention provides a spectrum correction technique based on a GSA near-infrared spectrometer.
In order to solve the technical problems, the invention adopts the following technical scheme: a spectrum correction technology based on a GSA near-infrared spectrometer is characterized in that: comprises the following steps of (a) carrying out,
the method comprises the following steps: self-defining a spectrum wavelength point N in a wavelength range;
step two: calculating the threshold range of the spectral absorbance of the wavelength point, firstly judging the abnormal and normal spectrums, selecting the wavelength point, finding out the maximum value and the minimum value of the normal spectral absorbance, and taking the range of the maximum value and the minimum value as the threshold range M of the spectral absorbance at the wavelength point;
step three: in the wavelength range, customizing a spectrum wavelength point N +1 by user, repeating the step two, and obtaining a threshold value range M +1 of the spectrum absorbance under the wavelength point;
step four: and (3) taking intersection of the threshold ranges M, M +1 … … of the spectral absorbances at the wavelength points N, N +1 … … to obtain a threshold range A of the spectral absorbances, wherein the spectrum in the threshold range A of the spectral absorbances is taken as a preset spectrum, so that the identification rate of the abnormal spectrum is improved.
As a further improvement of the invention, when the abnormal spectrum and the normal spectrum are judged, a sample is measured for multiple times, a spectral band appears, the spectral line obviously deviating from the spectral band is considered as the abnormal spectrum, the spectral line of the concentrated spectral band is considered as the normal spectrum,
compared with the prior art, the invention has the beneficial effects that: the spectrum correction technology based on the GSA near-infrared spectrometer can further reduce the spectrum range constraint, thereby improving the resolution of the near-infrared spectrometer on abnormal spectra and improving the two-dimensional and three-dimensional detection precision of the material mixing uniformity, and meanwhile, the spectrum correction technology is not only suitable for detecting the material mixing uniformity, but also can be adopted for the online detection of all substances applying the near-infrared spectrometer detection technology.
Detailed Description
For better understanding of the technical solutions and advantages of the present invention, the following detailed description of the present invention is provided with specific embodiments, it should be understood that the specific embodiments described herein are only for understanding the present invention and are not intended to limit the present invention, and all other embodiments obtained by those of ordinary skill in the art without creative efforts will fall within the protection scope of the present invention.
The method comprises the following steps: self-defining a spectrum wavelength point N in a wavelength range;
step two: calculating the threshold range of the spectral absorbance of the wavelength point, firstly judging the abnormal and normal spectrums, selecting the wavelength point, finding out the maximum value and the minimum value of the normal spectral absorbance, and taking the range of the maximum value and the minimum value as the threshold range M of the spectral absorbance at the wavelength point;
step three: in the wavelength range, customizing a spectrum wavelength point N +1 by user, repeating the step two, and obtaining a threshold value range M +1 of the spectrum absorbance under the wavelength point;
step four: and (3) taking intersection of the threshold ranges M, M +1 … … of the spectral absorbances at the wavelength points N, N +1 … … to obtain a threshold range A of the spectral absorbances, wherein the spectrum in the threshold range A of the spectral absorbances is taken as a preset spectrum, so that the identification rate of the abnormal spectrum is improved.
The near infrared wavelength range is 780nm-2526nm, the selected wavelength range is 1550nm-1950nm,
the method comprises the following steps: within the wavelength range, custom spectral wavelength points 1550;
step two: calculating the threshold range of the spectral absorbance of the wavelength point, firstly judging the abnormal and normal spectrums, selecting the wavelength point, finding out the maximum value 0.3 and the minimum value 0.1 of the normal spectral absorbance, and taking {0.1 and 0.3} as the threshold ranges {0.1 and 0.3} of the spectral absorbance under the wavelength point;
step three: defining spectral wavelength points 1650, 1750, 1850 and 1950 in a wavelength range, and repeating the step two respectively to obtain threshold ranges of spectral absorbance at the wavelength points {0.12 and 0.35} {0.0.8 and 0.3}, {0.11 and 0.28}, {0.1 and 0.35 };
step four: intersection is taken for the threshold ranges of the spectral absorbances {0.1, 0.3}, {0.12, 0.35} {0.08, 0.3}, {0.11, 0.28}, {0.1, 0.35} under the wavelength points 1550, 1650, 1750, 1850, 1950 to obtain the threshold ranges of the spectral absorbances {0.12, 0.28}, and the spectrums in the threshold ranges of the spectral absorbances {0.12, 0.28} are taken as preset spectrums, so that the identification rate of the abnormal spectrums is improved.
Through selecting a plurality of wavelength points, the threshold range of the absorbance value is set, abnormal spectra do not appear in the range of 1550nm-1950nm finally, the spectral correction technology based on the GSA near infrared spectrometer can further reduce the spectral range constraint, thereby improving the resolution of the near infrared spectrometer on the abnormal spectra, improving the two-dimensional and three-dimensional detection precision of the material mixing uniformity, meanwhile, the spectral correction technology is not only suitable for detecting the material mixing uniformity, and all substances applying the detection technology of the near infrared spectrometer can adopt the spectral correction technology for online detection.