A kind of spectrogram validation verification method, system, electronic equipment and storage medium

文档序号:1770315 发布日期:2019-12-03 浏览:6次 中文

阅读说明:本技术 一种谱图有效性验证方法、系统、电子设备及存储介质 (A kind of spectrogram validation verification method, system, electronic equipment and storage medium ) 是由 栗娇娇 杨明 李媛媛 于 2019-07-16 设计创作,主要内容包括:本发明涉及一种谱图有效性验证方法、系统、电子设备及存储介质,验证方法包括:获取拉曼光谱谱图中的有效特征峰;获取拉曼光谱谱图中各点的光谱数据的强度值;若有效特征峰的个数小于第一预设阈值,或/和存在任一点的光谱数据的强度值低于第二预设阈值,则确定拉曼光谱谱图无效。本发明实施例通过获取拉曼光谱谱图中的有效特征峰和各点的光谱数据的强度值,确认拉曼光谱谱图中的有效特征峰的个数和各点的光谱数据的强度值是否符合预设条件,若有效特征峰的个数小于第一预设阈值和存在任一点的光谱数据的强度值低于第二预设阈值,则说明该拉曼光谱谱图检测过程中受到干扰,从拉曼光谱谱图的各项数据确认拉曼光谱谱图是否有效。(The present invention relates to a kind of spectrogram validation verification method, system, electronic equipment and storage medium, verification method includes: the validity feature peak obtained in Raman spectroscopy;Obtain the intensity value of the spectroscopic data of each point in Raman spectroscopy;If the number at validity feature peak is less than the first preset threshold, or/and there are the intensity values of the spectroscopic data of any point to be lower than the second preset threshold, it is determined that Raman spectroscopy is invalid.The intensity value that the embodiment of the present invention passes through the spectroscopic data at validity feature peak and each point in acquisition Raman spectroscopy, whether the intensity value of the spectroscopic data of the number and each point at the validity feature peak in confirmation Raman spectroscopy meets preset condition, if the number at validity feature peak is less than the first preset threshold and there are the intensity values of the spectroscopic data of any point to be lower than the second preset threshold, then illustrate to be interfered in the Raman spectroscopy detection process, it is whether effective from all data of Raman spectroscopy confirmation Raman spectroscopy.)

1. a kind of Raman spectroscopy validation verification method, which is characterized in that the verification method includes:

Obtain the validity feature peak in the Raman spectroscopy;Obtain the spectroscopic data of each point in the Raman spectroscopy Intensity value;

Confirm the number at the validity feature peak whether less than the first preset threshold;

It is confirmed whether the intensity value of the spectroscopic data there are any point lower than the second preset threshold;

If the number at the validity feature peak is less than the first preset threshold, or/and there are the strong of the spectroscopic data of any point Angle value is lower than the second preset threshold, it is determined that the Raman spectroscopy is invalid.

2. Raman spectroscopy validation verification method according to claim 1, which is characterized in that the verification method is also Include:

Obtain the signal-to-noise ratio of spectroscopic data in the Raman spectroscopy;

Confirm whether the signal-to-noise ratio is in default snr threshold range;

If the signal-to-noise ratio is not in default snr threshold range, it is determined that the Raman spectroscopy is invalid.

3. Raman spectroscopy validation verification method according to claim 1, which is characterized in that described to obtain the drawing Validity feature peak in graceful spectrum spectrogram, comprising:

Denoising smooth operation is carried out to the Raman spectrum data, obtains the Raman spectrum data of denoising smooth;

The wave crest removed dryness in the smooth Raman spectrum data is obtained, as validity feature peak.

4. Raman spectroscopy validation verification method according to claim 1, which is characterized in that the verification method is also Include:

The peak intensity angle value at each validity feature peak is obtained, and by the maximum value in all peak intensity angle value, as maximum Peak intensity angle value;

Confirm whether the maximum peak intensity value is in preset strength value range;

If the maximum peak intensity value is not in preset strength value range, it is determined that the Raman spectroscopy is invalid.

5. any Raman spectroscopy validation verification method according to claim 1~4, which is characterized in that described to test Card method further include:

Each validity feature peak is compared with the substance Raman spectroscopy in substance data library respectively, determining and institute State the substance Raman spectroscopy of validity feature peak match;

Determine substance each corresponding with the substance Raman spectroscopy of the validity feature peak match;

Judging whether there is any substance is default substance;

Any substance is default substance if it exists, it is determined that the Raman spectroscopy is invalid.

6. a kind of Raman spectroscopy validation verification system, which is characterized in that the verifying system includes:

First acquisition unit, for obtaining the validity feature peak in the Raman spectroscopy;

Second acquisition unit, for obtaining the intensity value of the spectroscopic data of each point in the Raman spectroscopy;

First judging unit, for confirming the number at the validity feature peak whether less than the first preset threshold;

Second judgment unit, for being confirmed whether the intensity value of the spectroscopic data there are any point lower than the second preset threshold;

First processing units, if the number for the validity feature peak, less than the first preset threshold, or/and there are any points The intensity value of the spectroscopic data is lower than the second preset threshold, it is determined that the Raman spectroscopy is invalid.

7. Raman spectroscopy validation verification system according to claim 6, which is characterized in that the verifying system is also Include:

Third acquiring unit, for obtaining the signal-to-noise ratio of spectroscopic data in the Raman spectroscopy;

Third judging unit, for confirming whether the Raman signal-to-noise ratio is in default snr threshold range;

First processing units, if being also used to the signal-to-noise ratio is not in default snr threshold range, it is determined that the Raman light It is invalid to compose spectrogram.

8. Raman spectroscopy validation verification system according to claim 6, which is characterized in that described first obtains list Member is specifically used for carrying out denoising smooth operation to the Raman spectrum data, obtains the Raman spectrum data of denoising smooth; The wave crest removed dryness in the smooth Raman spectrum data is obtained, as validity feature peak.

9. Raman spectroscopy validation verification system according to claim 6, which is characterized in that the verifying system is also Include:

4th acquiring unit, for obtaining the peak intensity angle value at each validity feature peak, and will be in all peak intensity angle value Maximum value, as maximum peak intensity value;

4th judging unit, for confirming whether the maximum peak intensity value is in preset strength value range;

The first processing units, if being also used to the maximum peak intensity value is not in preset strength value range, it is determined that described Raman spectroscopy is invalid.

10. according to the Raman spectroscopy validation verification system any in claim 6~9, which is characterized in that described Verifying system further include:

Comparing unit, for carrying out each validity feature peak with the substance Raman spectroscopy in substance data library respectively It compares, the determining substance Raman spectroscopy with the validity feature peak match;

The second processing unit, for determining object each corresponding with the substance Raman spectroscopy of the validity feature peak match Matter;

5th judging unit is default substance for judging whether there is any substance;

The first processing units, being also used to any substance if it exists is default substance, it is determined that the Raman Spectra Figure is invalid.

11. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;

Memory, for storing computer program;

Processor when for executing the program stored on memory, realizes any Raman spectrum of Claims 1 to 5 Spectrogram validation verification method.

12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize in Claims 1 to 5 Any Raman spectroscopy validation verification method.

Technical field

The present invention relates to material identification technical fields more particularly to a kind of spectrogram validation verification method, system, electronics to set Standby and storage medium.

Background technique

Illumination, which is mapped on substance, occurs elastic scattering and inelastic scattering, and the scattering light of elastic scattering is and excitation wavelength Identical ingredient, inelastically scattered scattering light have ingredient longer than excitation wavelength and short, are referred to as Ramam effect.Raman Effect is the result of photon Yu optical branch phonon interaction.Raman spectrum effect is originating from molecular vibration and rotates, therefore from The knowledge of available molecular vibration energy level and rotational energy level structure in Raman spectrum.

When detecting sample to be confirmed by Ramam effect, generated Raman spectrum after laser irradiation is obtained, and generate Corresponding Raman spectroscopy is then compared by the Raman spectroscopy, can confirm that Raman spectroscopy is corresponding Substance completes the detection for treating confirmatory sample, still, if interfering when detecting substance, obtained Raman spectroscopy Also it will appear deviation, and cause finally to match less than corresponding substance or the substance mistake being matched to.

Summary of the invention

Of the existing technology in order to solve the problems, such as, at least one embodiment of the present invention provides a kind of spectrogram validity Verification method, system, electronic equipment and storage medium.

In a first aspect, the embodiment of the present invention provides a kind of Raman spectroscopy validation verification method, the verification method Include:

Obtain the validity feature peak in the Raman spectroscopy;Obtain the spectrum number of each point in the Raman spectroscopy According to intensity value;

Confirm the number at the validity feature peak whether less than the first preset threshold;

It is confirmed whether the intensity value of the spectroscopic data there are any point lower than the second preset threshold;

If the number at the validity feature peak is less than the first preset threshold, or/and there are the spectroscopic datas of any point Intensity value be lower than the second preset threshold, it is determined that the Raman spectroscopy is invalid.

Based on the above-mentioned technical proposal, the embodiment of the present invention can also make following improvement.

With reference to first aspect, in the first embodiment of first aspect, the verification method further include:

Obtain the signal-to-noise ratio of spectroscopic data in the Raman spectroscopy;

Confirm whether the signal-to-noise ratio is in default snr threshold range;

If the signal-to-noise ratio is not in default snr threshold range, it is determined that the Raman spectroscopy is invalid.

With reference to first aspect, described to obtain in the Raman spectroscopy in second of embodiment of first aspect Validity feature peak, comprising:

Denoising smooth operation is carried out to the Raman spectrum data, obtains the Raman spectrum data of denoising smooth;

The wave crest removed dryness in the smooth Raman spectrum data is obtained, as validity feature peak.

With reference to first aspect, in the third embodiment of first aspect, the verification method further include:

Obtain the peak intensity angle value at each validity feature peak, and by the maximum value in all peak intensity angle value, as Maximum peak intensity value;

Confirm whether the maximum peak intensity value is in preset strength value range;

If the maximum peak intensity value is not in preset strength value range, it is determined that the Raman spectroscopy is invalid.

With reference to first aspect or in first, second or third kind of embodiment of first aspect, at the 4th kind of first aspect In embodiment, the verification method further include:

Each validity feature peak is compared with the substance Raman spectroscopy in substance data library respectively, is determined With the substance Raman spectroscopy of the validity feature peak match;

Determine substance each corresponding with the substance Raman spectroscopy of the validity feature peak match;

Judging whether there is any substance is default substance;

Any substance is default substance if it exists, it is determined that the Raman spectroscopy is invalid.

Second aspect, the embodiment of the invention provides a kind of Raman spectroscopy validation verification system, the verifying system System includes:

First acquisition unit, for obtaining the validity feature peak in the Raman spectroscopy;

Second acquisition unit, for obtaining the intensity value of the spectroscopic data of each point in the Raman spectroscopy;

First judging unit, for confirming the number at the validity feature peak whether less than the first preset threshold;

Second judgment unit, for being confirmed whether the intensity value of the spectroscopic data there are any point lower than the second default threshold Value;

First processing units, if the number for the validity feature peak, less than the first preset threshold, or/and there are any The intensity value of the spectroscopic data of point is lower than the second preset threshold, it is determined that the Raman spectroscopy is invalid.

In conjunction with second aspect, in the first embodiment of second aspect, the verifying system further include:

Third acquiring unit, for obtaining the signal-to-noise ratio of spectroscopic data in the Raman spectroscopy;

Third judging unit, for confirming whether the Raman signal-to-noise ratio is in default snr threshold range;

First processing units, if being also used to the signal-to-noise ratio is not in default snr threshold range, it is determined that the drawing Graceful spectrum spectrogram is invalid.

In conjunction with second aspect, in second of embodiment of second aspect, the first acquisition unit is specifically used for institute It states Raman spectrum data and carries out denoising smooth operation, obtain the Raman spectrum data of denoising smooth;Acquisition removes dryness smooth Wave crest in the Raman spectrum data, as validity feature peak.

In conjunction with second aspect, in the third embodiment of second aspect, the verifying system further include:

4th acquiring unit, for obtaining the peak intensity angle value at each validity feature peak, and by all peak intensities Maximum value in value, as maximum peak intensity value;

4th judging unit, for confirming whether the maximum peak intensity value is in preset strength value range;

The first processing units, if being also used to the maximum peak intensity value is not in preset strength value range, it is determined that The Raman spectroscopy is invalid.

In conjunction with second aspect or first, second or third kind of embodiment of second aspect, in the 4th kind of reality of second aspect It applies in example, the verifying system further include:

Comparing unit, for by each validity feature peak respectively with the substance Raman spectroscopy in substance data library It is compared, the determining substance Raman spectroscopy with the validity feature peak match;

The second processing unit, it is each corresponding with the substance Raman spectroscopy of the validity feature peak match for determination Substance;

5th judging unit is default substance for judging whether there is any substance;

The first processing units, being also used to any substance if it exists is default substance, it is determined that the Raman light It is invalid to compose spectrogram.

The third aspect, the embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and Communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;

Memory, for storing computer program;

Processor when for executing the program stored on memory, is realized in first aspect described in any embodiment Raman spectroscopy validation verification method.

Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has one or more program, and one or more of programs can be executed by one or more processor, with Realize Raman spectroscopy validation verification method described in any embodiment in first aspect.

Above-mentioned technical proposal of the invention has the advantages that the embodiment of the present invention is drawn by obtaining compared with prior art The intensity value of the spectroscopic data at validity feature peak and each point in graceful spectrum spectrogram confirms the validity feature in Raman spectroscopy Whether the intensity value of the spectroscopic data of the number and each point at peak meets preset condition, if the number at validity feature peak is pre- less than first If threshold value and there are the intensity value of the spectroscopic data of any point be lower than the second preset threshold, then illustrate the Raman spectroscopy detect It is interfered in the process, it is whether effective from all data of Raman spectroscopy confirmation Raman spectroscopy.

Detailed description of the invention

Fig. 1 is a kind of applied environment figure of Raman spectroscopy validation verification method provided in an embodiment of the present invention;

Fig. 2 is a kind of Raman spectroscopy validation verification method flow schematic diagram provided in an embodiment of the present invention;

Fig. 3 be another embodiment of the present invention provides a kind of Raman spectroscopy validation verification method flow schematic diagram;

Fig. 4 be further embodiment of this invention provide a kind of Raman spectroscopy validation verification method flow schematic diagram its One;

Fig. 5 be further embodiment of this invention provide a kind of Raman spectroscopy validation verification method flow schematic diagram its Two;

Fig. 6 be further embodiment of this invention provide a kind of Raman spectroscopy validation verification method flow schematic diagram its Three;

Fig. 7 is a kind of Raman spectroscopy validation verification system structure diagram that further embodiment of this invention provides;

Fig. 8 is a kind of electronic equipment structural schematic diagram that further embodiment of this invention provides.

Specific embodiment

In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.

As shown in Figure 1, a kind of hardware knot of terminal of embodiment each to realize the present invention provided in an embodiment of the present invention Structure schematic diagram, including Raman spectrometer 1150, processor 1110, communication interface 1120, memory 1130 and communication bus 1140, Each electronic component completes mutual communication by communication bus 1140, wherein terminal can be such as mobile phone, plate electricity Brain, laptop, palm PC, personal digital assistant (PersonalDigitalAssistant, PDA), portable media Player (PortableMediaPlayer, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are mobile eventually End, and the fixed terminals such as number TV, desktop computer.

As shown in Fig. 2, a kind of Raman spectroscopy validation verification method provided in an embodiment of the present invention.It, should referring to Fig. 2 Verification method specifically comprises the following steps:

Validity feature peak in S11, acquisition Raman spectroscopy;Obtain the spectroscopic data of each point in Raman spectroscopy Intensity value.

In the present embodiment, Raman spectrum (Raman spectra) is a kind of scattering spectrum.Raman spectrum analysis method is Based on the Raman scattering effect that India's scientist's C.V. Raman is found, the scattering spectrum different from incident light frequency is divided Analysis is applied to a kind of analysis method of molecular structure research to obtain molecular vibration, rotation aspect information.In this step, The characteristic peak obtained in Raman spectroscopy can pass through characteristic peak and preset Raman in Raman spectroscopy Characteristic peak in spectrum spectrogram is compared, and determines the corresponding substance of the Raman spectroscopy with this, if Raman Spectra The case where characteristic peak in figure, is unsatisfactory for corresponding condition, then can not go to compare according to the characteristic peak in the Raman spectroscopy To the corresponding substance of the Raman spectroscopy, in this step, each validity feature peak in Raman spectroscopy is obtained, is passed through Whether validity feature peak determines Raman spectroscopy effective, while obtaining the strong of the spectroscopic data of each point in Raman spectroscopy Degree comprising the intensity value of each trough in the intensity value at above-mentioned validity feature peak, Raman spectroscopy works as Raman spectroscopy When the middle substance occurred in addition to substance to be detected, detected Raman spectroscopy just will appear abnormal Raman spectrum number According to since Raman spectrum data is generated due to laser, in the detection process, the interference of light also can be to the Raman detected Spectrum spectrogram has an immense impact on.

As shown in figure 3, specifically, in the present embodiment, the validity feature peak obtained in Raman spectroscopy may include Following steps:

S21, denoising smooth operation is carried out to Raman spectrum data, obtains the Raman spectrum data of denoising smooth.

In the present embodiment, since the Raman spectrum data got will appear multiple characteristic peaks, meanwhile, it can be due to noise Cause waveform unsmooth, erroneous judgement be easy to cause to think that noise is characteristic peak, in this step, to obtained Raman spectrum data into The operation of row denoising smooth, can be by denoising methods such as median filtering, mean filter and total variation denoising methods to Raman spectrum Data carry out denoising smooth operation.

S22, acquisition remove dryness the wave crest in smooth Raman spectrum data, as validity feature peak.

In the present embodiment, the wave in Raman spectrum data can be relatively determined by the intensity value in Raman spectrum data Peak, for example, any intensity value is stronger than the intensity value of the intensity value of the former point and the latter point, then confirmation should Point is wave crest, alternatively, to the Raman spectrum data derivation, the point when derivative for obtaining the Raman spectrum data is zero, the point is then The wave crest in Raman spectrum data can be obtained in conjunction with the derivative value of the point before and after the point for wave crest or trough.

S12, whether the number of characteristic peak is confirmed the validity less than the first preset threshold.

In the present embodiment, confirm whether the number at the validity feature peak obtained in above-mentioned steps reaches the first default threshold Value, in the detection process, since Raman spectrum is to generate due to scattering, and the molecular structure of substance to be detected and rotation all can shadows Ring to scattering the case where, so, will appear the wave crest of a large amount of varying strengths in the Raman spectroscopy finally generated, effectively spy When sign peak number amount is very few, which greatly may be by external interference, for example, visible light is dry in acquisition process It disturbs, the intensity that will lead to Raman spectrum in the period for visible light occur is zero, and the laser that Raman spectrometer 1150 is emitted is not It is directed at substance to be detected, so, whether the quantity for confirming the validity characteristic peak in this step is greater than or equal to preset threshold, with true Whether effective determine Raman spectroscopy.

S13, it is confirmed whether that the intensity value of the spectroscopic data there are any point is lower than the second preset threshold.

In the present embodiment, confirm in Raman spectroscopy whether have the intensity value of the spectroscopic data of any point too low, the Two preset thresholds can be set to 0, may be set to be other numerical value, for example, occurring visible light interference in detection process, it is seen that The interference of light will lead to spectroscopic data lower than zero, meanwhile, it, can be to testing result if occurring the interference of visible light in the detection process Tremendous influence is generated, alternatively, in the detection process, laser misalignment substance to be detected leads to generated spectroscopic data Intensity is too low, and the intensity value of the spectroscopic data by confirming each point confirms in the acquisition process of Raman spectroscopy whether occur Abnormal interference, and then determine whether Raman spectroscopy is effective.

If the number at S14, validity feature peak is less than the first preset threshold, or/and there are the strong of the spectroscopic data of any point Angle value is lower than the second preset threshold, it is determined that Raman spectroscopy is invalid.

In the present embodiment, validity feature peak number is less than the first preset threshold and there are the spectroscopic datas of any point Intensity value lower than the second preset threshold arbitrarily occur one when, it can confirm in the collection process of Raman spectroscopy and generate The situation of external disturbance or acquisition inaccuracy, so, which can be considered as to invalid spectrogram.

As shown in figure 4, in the present embodiment, Raman spectroscopy validation verification method can also include the following steps:

S31, each validity feature peak is compared with the substance Raman spectroscopy in substance data library respectively, is determined With the substance Raman spectroscopy of validity feature peak match.

S32, substance each corresponding with the substance Raman spectroscopy of validity feature peak match is determined.

In the present embodiment, the corresponding Raman Spectra in this feature peak is confirmed according to the validity feature peak in Raman spectrogram Scheme corresponding substance, wherein the substance Raman spectroscopy in substance data library is the database pre-established, by pure Object acquires Raman spectroscopy, the substance Raman spectroscopy is obtained, and establish corresponding substance data library with this, alternatively, object Matter database can be acquired from internet.

S33, any substance is judged whether there is as default substance.

In the present embodiment, confirmation compares whether obtained substance is default substance, for example, in confirmation Raman spectroscopy When corresponding substance is glass, plastics, it may be possible to because detecting that the container for loading article to be detected causes, in the present embodiment In, there is chaff interferent in the Raman spectroscopy for illustrating that detection obtains, alternatively, the corresponding substance of Raman spectroscopy is more typical When article, there is chaff interferent when can confirm detection Raman spectroscopy.

S34, if it exists any substance are default substance, it is determined that Raman spectroscopy is invalid.

In the present embodiment, if any substance occur is default substance, illustrate occur when detecting Raman spectroscopy The influence of chaff interferent, at this point, can confirm that Raman spectroscopy is invalid, to avoid poor Raman spectroscopy as ginseng It examines.

As shown in figure 5, a kind of Raman spectroscopy validation verification method provided in an embodiment of the present invention.Reference Fig. 5, with Fig. 2 is compared, and difference is, which specifically comprises the following steps:

S41, the signal-to-noise ratio for obtaining spectroscopic data in Raman spectroscopy.

In the present embodiment, signal-to-noise ratio, English name are called SNR or S/N (SIGNAL-NOISE RATIO), also known as interrogate It makes an uproar ratio.Refer to the ratio of signal and noise in an electronic equipment or electronic system.Here signal is referred to coming from and be set The electronic signal that standby outside need is handled by this equipment, noise refer to by the original signal generated after the equipment simultaneously The random extra (or information) being not present, and this kind of signal does not change with the variation of original signal.In Raman It when signal-to-noise ratio in spectrum spectrogram is excessively high, will appear bur in map, when confirming the wave crest in Raman spectroscopy, be easy Because bur causes to judge by accident, the wave crest to make mistake is identified, so obtaining spectroscopic data in Raman spectroscopy in this step Signal-to-noise ratio can confirm whether Raman spectroscopy is effective by signal-to-noise ratio.

Whether S42, confirmation signal-to-noise ratio are in default snr threshold range.

If the number at S43, validity feature peak is less than the first preset threshold, there are the intensity value of the spectroscopic data of any point is low It is not at least one in default snr threshold range in the second preset threshold and signal-to-noise ratio to set up, it is determined that Raman Spectra Figure is invalid.

In the present embodiment, validity feature peak number less than the first preset threshold, there are the spectroscopic datas of any point Intensity value be not in when arbitrarily occurring one in default snr threshold range lower than the second preset threshold and signal-to-noise ratio The situation of external disturbance or acquisition inaccuracy is produced in collection process to confirm Raman spectroscopy, so, it can incite somebody to action The Raman spectroscopy is considered as invalid spectrogram.Wherein, reasonable signal-to-noise ratio is usually 200 or so, so default SNR ranges It can be any section between 0~210.

As shown in fig. 6, a kind of Raman spectroscopy validation verification method provided in an embodiment of the present invention.Reference Fig. 6, with Fig. 2 or Fig. 5 are compared, and difference is, which specifically comprises the following steps:

S51, the peak intensity angle value for obtaining each validity feature peak, and by the maximum value in all peak intensity angle value, as maximum Peak intensity angle value.

In the present embodiment, each peak intensity angle value is ranked up, determines institute by the peak intensity angle value for determining each validity feature peak There is the maximum value in peak intensity angle value, in the present embodiment, the intensity of illumination for irradiating article to be detected is bigger, then generated Raman The peak intensity angle value of spectrum spectrogram is higher, when detecting Raman spectroscopy, can step up the intensity or irradiation time of laser, Until the limiting value of the peak value proximity test equipment of the Raman spectroscopy detected, if the peak of the Raman spectroscopy detected Value can not rise on this basis in not up to certain limit value, then illustrate that the Raman spectroscopy of detection goes wrong, in this step In rapid, the maximum value of peak intensity angle value is obtained as maximum peak intensity value.

Whether S52, confirmation maximum peak intensity value are in preset strength value range.

If the number at S53, validity feature peak is less than the first preset threshold, there are the intensity value of the spectroscopic data of any point is low Default snr threshold range is not in the second preset threshold, signal-to-noise ratio and maximum peak intensity value is not in preset strength value model At least one in enclosing is set up, it is determined that Raman spectroscopy is invalid.

In the present embodiment, validity feature peak number less than the first preset threshold, there are the spectroscopic datas of any point Intensity value lower than the second preset threshold, signal-to-noise ratio be not in default snr threshold range and maximum peak intensity value be not in it is pre- If arbitrarily occur one in intensity value range, it can confirm and produce external disturbance in the collection process of Raman spectroscopy Or the situation of acquisition inaccuracy, so, which can be considered as to invalid spectrogram.

As shown in fig. 7, verifying system packet the embodiment of the invention provides a kind of Raman spectroscopy validation verification system It includes: first acquisition unit, second acquisition unit, the first judging unit, second judgment unit and first processing units.

In the present embodiment, first acquisition unit, for obtaining the validity feature peak in Raman spectroscopy.

In the present embodiment, first acquisition unit is specifically used for carrying out denoising smooth operation to Raman spectrum data, obtain The Raman spectrum data of denoising smooth;The wave crest removed dryness in smooth Raman spectrum data is obtained, as validity feature peak.

In the present embodiment, first acquisition unit is specifically used for carrying out denoising smooth operation to Raman spectrum data, obtain The Raman spectrum data of denoising smooth;The wave crest removed dryness in smooth Raman spectrum data is obtained, as validity feature peak.

In the present embodiment, second acquisition unit, for obtaining the intensity of the spectroscopic data of each point in Raman spectroscopy Value.Wherein, Raman spectrum (Raman spectra) is a kind of scattering spectrum.Raman spectrum analysis method is based on India scientist C.V. the Raman scattering effect that Raman is found is analyzed the scattering spectrum different from incident light frequency to obtain molecule vibration Dynamic, rotation aspect information, and it is applied to a kind of analysis method of molecular structure research.In this step, Raman Spectra is obtained Characteristic peak in figure can pass through the spy in characteristic peak and preset Raman spectroscopy in Raman spectroscopy Sign peak is compared, and determines the corresponding substance of the Raman spectroscopy with this, if characteristic peak in Raman spectroscopy Situation is unsatisfactory for corresponding condition, then comparison can not be gone to obtain the Raman Spectra according to the characteristic peak in the Raman spectroscopy Scheme corresponding substance, in this step, obtains each validity feature peak in Raman spectroscopy, determined by validity feature peak Whether Raman spectroscopy is effective, while obtaining the intensity of the spectroscopic data of each point in Raman spectroscopy comprising above-mentioned to have Imitate the intensity value of characteristic peak, in Raman spectroscopy each trough intensity value, when occurring in Raman spectroscopy except to be detected When substance other than substance, detected Raman spectroscopy just will appear abnormal Raman spectrum data, due to Raman light Modal data is generated due to laser, and in the detection process, the interference of light can also generate the Raman spectroscopy detected Tremendous influence.

In the present embodiment, the first judging unit, for whether confirming the validity the number of characteristic peak less than the first default threshold Value, confirms whether the number at the validity feature peak obtained in above-mentioned steps reaches the first preset threshold, in the detection process, due to Raman spectrum is and the molecular structure of substance to be detected and rotation the case where all influencing scattering since scattering generates, so, The wave crest that will appear a large amount of varying strengths in the Raman spectroscopy finally generated, when validity feature peak number amount is very few, the drawing Graceful spectrum spectrogram in acquisition process greatly may by external interference, for example, the interference of visible light, occur visible light when Will lead to the intensity of Raman spectrum in section is zero, the laser misalignment substance to be detected that Raman spectrometer 1150 is emitted, so, Whether the quantity for confirming the validity characteristic peak in this step is greater than or equal to preset threshold, to determine whether Raman spectroscopy has Effect.

In the present embodiment, second judgment unit, the intensity value for being confirmed whether the spectroscopic data there are any point are low Whether in the second preset threshold, confirming in Raman spectroscopy has the intensity value of the spectroscopic data of any point too low, and second is default Threshold value can be set to 0, may be set to be other numerical value, for example, occurring visible light interference in detection process, it is seen that light is done It disturbs and will lead to spectroscopic data lower than zero, meanwhile, if occurring the interference of visible light in the detection process, testing result can be generated huge Big influence, alternatively, in the detection process, laser misalignment substance to be detected leads to the intensity mistake of generated spectroscopic data It is low, the intensity value of the spectroscopic data by confirming each point, confirm in the acquisition process of Raman spectroscopy whether occur it is abnormal dry It disturbs, and then determines whether Raman spectroscopy is effective.

In the present embodiment, first processing units, if the number for validity feature peak less than the first preset threshold, or/ With there are the intensity value of the spectroscopic data of any point be lower than the second preset threshold, it is determined that Raman spectroscopy is invalid, effective The number of characteristic peak is less than the first preset threshold and there are the intensity values of the spectroscopic data of any point lower than the second preset threshold times Meaning occur one when, it can confirm produced in the collection process of Raman spectroscopy external disturbance or acquisition inaccuracy Situation, so, which can be considered as to invalid spectrogram.

In the present embodiment, system is verified further include: comparing unit, the second processing unit, the 5th judging unit and first Processing unit.

In the present embodiment, comparing unit, for drawing each validity feature peak with the substance in substance data library respectively Graceful spectrum spectrogram is compared, the determining substance Raman spectroscopy with validity feature peak match.

In the present embodiment, the second processing unit, for determine each with the substance Raman spectrum of validity feature peak match The corresponding substance of spectrogram;Confirm that the corresponding Raman spectroscopy in this feature peak is corresponding according to the validity feature peak in Raman spectrogram Substance, wherein the substance Raman spectroscopy in substance data library is the database pre-established, by acquiring to pure substance Raman spectroscopy obtains the substance Raman spectroscopy, and establishes corresponding substance data library with this, alternatively, substance data Library can be acquired from internet.

In the present embodiment, the 5th judging unit is default substance for judging whether there is any substance;Confirmation compares Whether obtained substance is default substance, for example, when confirming the corresponding substance of Raman spectroscopy is glass, plastics, it may It is in the present embodiment, to illustrate the Raman spectroscopy that detection obtains because detecting that the container for loading article to be detected causes There is chaff interferent, alternatively, can confirm detection Raman Spectra when the corresponding substance of Raman spectroscopy is more typical article Occurs chaff interferent when figure.

In the present embodiment, first processing units, being also used to any substance if it exists is default substance, it is determined that Raman light Spectrum spectrogram is invalid, determines that two conditions in Raman spectroscopy invalid condition and above scheme are arranged side by side in this step, if going out An incumbent substance is default substance, then explanation the influence of chaff interferent occurs when detecting Raman spectroscopy, at this point, can be true Recognize that Raman spectroscopy is invalid, to avoid poor Raman spectroscopy as reference.

The embodiment of the invention provides a kind of Raman spectroscopy validation verification systems, with verifying system phase shown in Fig. 7 Than difference is, verifies system further include: third acquiring unit and third judging unit.

In the present embodiment, third acquiring unit, for obtaining the signal-to-noise ratio of spectroscopic data in Raman spectroscopy.

In the present embodiment, third judging unit, for confirming whether Raman signal-to-noise ratio is in default snr threshold model It encloses.

In the present embodiment, first processing units, if being also used to signal-to-noise ratio is not in default snr threshold range, really It is invalid to determine Raman spectroscopy.

In the present embodiment, if the number at validity feature peak is less than the first preset threshold, there are the spectroscopic datas of any point Intensity value be not at least one in default snr threshold range lower than the second preset threshold and signal-to-noise ratio and set up, it is determined that Raman spectroscopy is invalid;Validity feature peak number less than the first preset threshold, there are the strong of the spectroscopic data of any point Angle value is not in when arbitrarily occurring one in default snr threshold range lower than the second preset threshold and signal-to-noise ratio, it can really Recognize in the collection process of Raman spectroscopy and produces the situation of external disturbance or acquisition inaccuracy, so, it can be by the drawing Graceful spectrum spectrogram is considered as invalid spectrogram.Wherein, reasonable signal-to-noise ratio is usually 200 or so, so default SNR ranges can be with It is any section between 0~210.

The embodiment of the invention provides a kind of Raman spectroscopy validation verification systems, verify with shown in above-described embodiment System is compared, and difference is, verifies system further include: the 4th acquiring unit and the 4th judging unit.

In the present embodiment, the 4th acquiring unit, for obtaining the peak intensity angle value at each validity feature peak, and by all peaks Maximum value in intensity value, as maximum peak intensity value;The peak intensity angle value for determining each validity feature peak, by each peak intensity angle value into Row sequence, determines the maximum value in all peak intensity angle value, and in the present embodiment, the intensity of illumination for irradiating article to be detected is bigger, Then the peak intensity angle value of generated Raman spectroscopy is higher, when detecting Raman spectroscopy, can step up the strong of laser Degree or irradiation time, until the limiting value of the peak value proximity test equipment of the Raman spectroscopy detected, if detect The peak value of Raman spectroscopy can not rise on this basis in not up to certain limit value, then illustrate the Raman Spectra of detection Figure goes wrong, and in this step, obtains the maximum value of peak intensity angle value as maximum peak intensity value.

In the present embodiment, the 4th judging unit, for confirming whether maximum peak intensity value is in preset strength value range.

In the present embodiment, first processing units, if being also used to maximum peak intensity value is not in preset strength value range, Determine that Raman spectroscopy is invalid.

In the present embodiment, if the number at validity feature peak is less than the first preset threshold, there are the spectroscopic datas of any point Intensity value lower than the second preset threshold, signal-to-noise ratio be not in default snr threshold range and maximum peak intensity value be not in it is pre- If at least one in intensity value range is set up, it is determined that Raman spectroscopy is invalid.Validity feature peak number less than first Preset threshold, there are the intensity values of the spectroscopic data of any point to be lower than the second preset threshold, signal-to-noise ratio is not in default signal-to-noise ratio Threshold range and maximum peak intensity value are not in when arbitrarily occurring one in preset strength value range, it can confirmation Raman spectrum The situation of external disturbance or acquisition inaccuracy is produced in the collection process of spectrogram, so, it can be by the Raman spectroscopy It is considered as invalid spectrogram.

As shown in figure 8, the embodiment of the invention provides a kind of electronic equipment, including processor 1110, communication interface 1120, Memory 1130 and communication bus 1140, wherein processor 1110, communication interface 1120, memory 1130 pass through communication bus 1140 complete mutual communication;

Memory 1130, for storing computer program;

Processor 1110 when for executing the program stored on memory 1130, realizes following Raman spectroscopy Validation verification method, verification method include:

Obtain the validity feature peak in Raman spectroscopy;Obtain the intensity of the spectroscopic data of each point in Raman spectroscopy Value;

The number of characteristic peak is confirmed the validity whether less than the first preset threshold;

It is confirmed whether the intensity value of the spectroscopic data there are any point lower than the second preset threshold;

If the number at validity feature peak is less than the first preset threshold, or/and there are the intensity values of the spectroscopic data of any point Lower than the second preset threshold, it is determined that Raman spectroscopy is invalid.

Electronic equipment provided in an embodiment of the present invention, processor 1110 is by executing the program stored on memory 1130 By obtaining the intensity value of the spectroscopic data at validity feature peak and each point in Raman spectroscopy, confirm in Raman spectroscopy The number at validity feature peak and the intensity value of spectroscopic data of each point whether meet preset condition, if the number at validity feature peak Less than the first preset threshold and there are the intensity values of the spectroscopic data of any point to be lower than the second preset threshold, then illustrates the Raman light It is interfered in spectrum spectrogram detection process, so the Raman spectroscopy is considered as in vain.

The communication bus 1140 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (PeripheralComponentInterconnect, abbreviation PCI) bus or expanding the industrial standard structure (ExtendedIndu StryStandardArchitecture, abbreviation EISA) bus etc..The communication bus 1140 can be divided into address bus, data Bus, control bus etc..Only to be indicated with a thick line in Fig. 8, it is not intended that an only bus or one kind convenient for indicating The bus of type.

Communication interface 1120 is for the communication between above-mentioned electronic equipment and other equipment.

Memory 1130 may include random access memory 1130 (RandomAccessMemory, abbreviation RAM), can also To include nonvolatile memory 1130 (non-volatilememory), a for example, at least magnetic disk storage 1130.It is optional , memory 1130 can also be that at least one is located remotely from the storage device of aforementioned processor 1110.

Above-mentioned processor 1110 can be general processor 1110, including central processing unit 1110 (CentralProcessingUnit, abbreviation CPU), network processing unit 1110 (NetworkProcessor, abbreviation NP) etc.;Also It can be digital signal processor 1110 (DigitalSignalProcessing, abbreviation DSP), specific integrated circuit (Appli CationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components.

The embodiment of the invention provides a kind of computer readable storage medium, computer-readable recording medium storage has one Or multiple programs, one or more program can be executed by one or more processor, to realize any of the above-described embodiment Raman spectroscopy validation verification method.

In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate Raw process or function according to the embodiment of the present invention.Computer can be general purpose computer, special purpose computer, computer network, Or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from a computer Readable storage medium storing program for executing to another computer readable storage medium transmit, for example, computer instruction can from a web-site, Computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as Infrared, wireless, microwave etc.) mode transmitted to another web-site, computer, server or data center.Computer Readable storage medium storing program for executing can be any usable medium or include one or more usable medium collection that computer can access At the data storage devices such as server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic Band), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk SolidStateDisk (SSD)) etc..

Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:Fe_3O_4@SiO_2/Au NPs颗粒的制备方法及其应用

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!