Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a laser gas telemeter device according to an embodiment of the present invention, and as shown in fig. 1, the device may include a laser, a signal detector, a display, a controller, a memory, a processor, and the like. Communication means may also be included. The processor may include a spectrum analyzer, a signal detection processor, and the like. The apparatus may be provided with a distance measuring device and a gas sensing device.
It should be noted that the above-mentioned device may be a device that can be used alone, such as a handheld laser methane telemeter, or may be a device that can be integrated with other devices for use, such as a laser methane telemeter that can be integrated with a vehicle, an unmanned aerial vehicle, or a ship.
In practical applications, the Laser in the above-mentioned apparatus may be a Tunable Diode Laser, and the above-mentioned apparatus may be based on Tunable Diode Laser Absorption Spectroscopy (TDLAS) technology for gas concentration detection.
The method for reducing the data false alarm rate of the laser gas telemeter based on the above-mentioned equipment is introduced below, and fig. 2 is a flow diagram of the method for reducing the data false alarm rate of the laser gas telemeter provided by the embodiment of the present invention. The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or apparatus may be implemented in the form of a sequence of steps or in parallel as the method proceeds according to the embodiments or as shown in the drawings. Specifically, as shown in fig. 2, the method may include:
s100, acquiring a standard signal spectrum waveform;
in an embodiment of the present description, an apparatus or system for performing the method of the present description may be pre-stored with a standard signal spectrum waveform, which may be a test result obtained under a standard set of experimental conditions. Or selecting an environment meeting standard conditions in a detection field, and taking the acquired echo signal spectrum waveform as a standard signal spectrum waveform. For example, in the environment of the detection site, the environment range without the gas to be detected is selected, and the echo signal spectrum waveform is obtained by adopting the standard reflection surface and is used as the standard signal spectrum waveform.
In practical applications, if the standard signal spectrum waveform is pre-stored, more than one standard signal spectrum waveform may be pre-stored, for example, a standard signal spectrum waveform obtained under indoor lighting-free conditions, a standard signal spectrum waveform obtained under urban outdoor air conditions, and the like may be stored.
S200, acquiring an echo signal spectrum waveform;
in the embodiment of the present disclosure, the echo signal spectrum waveform is an echo signal generated by reflecting a laser beam by a reflecting surface after the laser beam is absorbed by a gas to be measured in an environment, and the echo signal is sampled to obtain an echo signal spectrum waveform.
In the embodiments of the present disclosure, the spectrum waveform of the echo signal may be distorted due to environmental factors in the field of detection, including but not limited to, severe changes in ambient light and/or severe changes in the received reflected light. For example, in outdoor detection environments where the sunlight is drastically changed, the reflection surface at the detection site has a different reflectance or the reflection surface has a different reflection angle from the laser beam, and the like.
Fig. 3 is a set of standard signal spectrum waveforms (fig. 3a) and echo signal spectrum waveforms (fig. 3 b-fig. 3i) obtained under the interference of the ambient strong light (the warmer simulates the strong light source), and referring to fig. 3, the echo signal spectrum waveforms (fig. 3 b-fig. 3i) are obviously distorted and have poor similarity with the standard signal spectrum waveforms compared with the standard signal spectrum waveforms (fig. 3 a).
S300, calculating the similarity between the spectrum waveform of the echo signal and the spectrum waveform of the standard signal;
in the embodiments of the present specification, the similarity calculation formula is as follows:
wherein, x is the longitudinal coordinate value of a certain sampling point in the standard signal spectrum waveform, y is the longitudinal coordinate value of the same sampling point in the echo signal spectrum waveform, x
0Is the average value of the ordinate of all sampling points in all or a certain area range of the standard signal spectrum waveform, y
0For the spectral wave of an echo signalAverage value r of ordinate of all sampling points in all or a certain area range corresponding to standard signal spectrum waveform
xyFor similarity of the spectrum waveform of the echo signal and the spectrum waveform of the standard signal
S400, judging whether the echo signals are credible or not based on the similarity and generating a judgment result;
in the embodiment of the present specification, after obtaining the similarity between the spectrum waveform of the echo signal and the spectrum waveform of the standard signal, determining whether the similarity is lower than a similarity threshold; if so, determining that the echo signal is not credible, and discarding the echo signal; and if not, determining that the echo signal is credible.
In a specific embodiment, the similarity between the spectrum waveform of the echo signal obtained under the strong light interference of the surrounding environment in fig. 3 and the standard spectrum waveform is obtained according to the above formula, and the spectrum corresponding to fig. 3 b-3 i is determined as a distorted spectrum, that is, the echo signal corresponding to fig. 3 b-3 i is not trusted.
And S500, extracting a credible echo signal based on the judgment result and using the credible echo signal for detection result calculation.
In the embodiment of the present specification, it may be set that the echo signal whose similarity value is equal to or greater than the similarity threshold value is extracted to calculate the detection result.
In practical application, the spectrum waveform of the echo signal received by each detection and the standard spectrum waveform are subjected to correlation operation to obtain a series of similarity results, and the credible echo signal and the incredible echo signal can be distinguished according to the comparison between the results and the set similarity threshold. And further, the incredible echo signals are abandoned, and the credible echo signals are selected to calculate the detection result (the detection result comprises data such as gas concentration), so that the accuracy of the test is improved. The method can avoid signal distortion or distortion caused by signal saturation, circuit switching, drastic change of environmental conditions (such as light rays) and the like, and effectively reduce the false alarm rate of data.
In practical applications, the similarity threshold is preferably in the range of 0.85-0.95.
In some embodiments of the present specification, step S300 may specifically include:
s310, determining a characteristic region according to the standard signal spectrum waveform;
in the embodiments of the specification, the characteristic region is a sampling point range in which the standard signal spectrum waveform does not include the absorption of the gas to be measured and the environmental interference gas. For example, in the case that the gas to be measured is methane, the characteristic region is that methane and environmental interference gas (such as water vapor and CO) are not included in the standard signal spectrum waveform2Etc.) the range of sample points for absorption. For tunable diode lasers, the drive current is related to the laser output wavelength and light intensity (standard signal spectrum waveform is obtained under the condition of given drive current, and the sampling point is related to the wavelength), the absorption wavelength of methane and environmental interference gas (such as water vapor, CO2 and the like) is known, and the sampling point range excluding the absorption of methane and environmental interference gas (such as water vapor, CO2 and the like) is selected as a characteristic region.
It should be noted that the characteristic region range may include a plurality of regions, and the region range may be dispersed or continuous.
And S320, calculating the similarity between the spectrum waveform of the echo signal in the characteristic region and the spectrum waveform of the standard signal.
In the embodiment of the present specification, in the above-mentioned similarity calculation formula, x and y have the same meanings as above, and x is0Is the average value y of the ordinate of all sampling points in the characteristic region of the standard signal spectrum waveform0The average value of the ordinate of all sampling points in the characteristic region of the spectrum waveform of the echo signal is obtained.
Further, in some embodiments of the present specification, the step S310 may specifically include:
s311, determining the boundary point of the characteristic region;
and setting the distance between the first boundary point and the reference point according to the full width of the absorption spectrum line of the gas to be detected and setting the second boundary point according to actual calculation requirements.
S312, determining a characteristic region according to the boundary points;
the range between the first boundary point and the second boundary point is the characteristic region.
In fact, the number of feature regions is usually n, where n is a positive integer greater than or equal to 1.
Therefore, the characteristic region is determined, the sampling points are preliminarily screened, the total quantity of the sampling points for correlation calculation is reduced, the calculation amount of correlation calculation is reduced, the calculation time is greatly shortened, the time cost is saved, and the requirement on hardware is reduced.
In one embodiment, referring to fig. 4, the two boxes in fig. 4 define a specific region of the standard signal spectrum waveform. Specifically, a reference point corresponding to an absorption peak of the gas to be detected is S, the standard signal spectrum waveform includes two characteristic regions in one current driving period, and a vertical coordinate of the standard signal spectrum waveform represents light intensity. The corresponding sampling point of the first characteristic area is 0-300, namely the sampling point corresponding to the first boundary point A is 0, the sampling point corresponding to the second boundary point B is 300, and the whole light intensity of the area is weaker; the second characteristic region corresponds to the sampling points 1300-1800, i.e., the sampling point corresponding to the third boundary point C is 1300, the sampling point corresponding to the fourth boundary point D is 1800, and the overall light intensity of the region is stronger. And taking the first characteristic region and the second characteristic region as characteristic regions. And taking the sampling points in the characteristic region as sampling points for calculating the similarity.
In one embodiment, samples 0-300 and sample 1300-1800 are based on the characteristic regions determined from the standard signal spectral waveform of FIG. 4 above. According to the similarity calculation formula, x is the ordinate (light intensity) value of a certain sampling point in the standard signal spectrum waveform, y is the ordinate (light intensity) value of the same sampling point in the echo signal spectrum waveform and the standard signal spectrum waveform, and x0Is the average value y of the ordinate (light intensity) of 800 sampling points in the characteristic region in the standard signal spectrum waveform0The average value of the ordinate of 800 sampling points in the characteristic area in the spectrum waveform of the echo signal is obtained.
In another embodiment, referring to fig. 5, the portion enclosed by the two boxes in fig. 5 is a characteristic region determined on the standard signal spectrum waveform, specifically, the first reference point corresponding to the absorption peak of the gas to be measured is S1The second reference point is S2. The sampling points corresponding to the first boundary point a ', the second boundary point B', the third boundary point C 'and the fourth boundary point D' are 500, 700, 1000 and 1300 respectively, i.e. the sampling point range corresponding to the first characteristic region is 500-. And taking the sampling points in the first characteristic region and the second characteristic region as sampling points for calculating the similarity.
Based on the above specific embodiments, in some embodiments of the present specification, the characteristic region may include a region where the light intensity on the spectral waveform changes drastically, for example, a curve bending point or a curve inflection point.
In this embodiment, the similarity threshold is determined to be 0.9 through experimental verification. Further, referring to fig. 6, according to the similarity calculation formula described above and the feature region determined in fig. 4, the similarities between the spectrum waveforms of the echo signals in fig. 6a to 6d and the spectrum waveforms of the standard signals in fig. 4 are sequentially: 0.999, 0.985, 0.8 and 0.7. Therefore, the echo signals corresponding to fig. 6a and 6b are determined to be credible for detection result calculation; the echo signals corresponding to fig. 6c and 6d are not trusted and are discarded.
The following introduces a system for reducing the false alarm rate of data of a laser gas telemeter based on the above-mentioned device, fig. 7 is a schematic structural diagram of the system for reducing the false alarm rate of data of a laser gas telemeter according to an embodiment of the present invention, and with reference to fig. 7, the system may include:
a data acquisition unit 10 configured to acquire a standard signal spectrum waveform and acquire an echo signal spectrum waveform;
a signal processing unit 20 configured to calculate a similarity of the echo signal spectrum waveform and the standard signal spectrum waveform;
a judging unit 30 configured to judge whether the echo signal is authentic based on the similarity and generate a judgment result;
an extraction unit 40 configured to extract a reliable echo signal based on the determination result and use it for detection result calculation.
Further, in some embodiments, the signal processing unit 20 may include:
an analysis module configured to determine a characteristic region from the standard signal spectral waveform;
an algorithm module may be configured to calculate a similarity of the echo signal spectral waveform and the standard signal spectral waveform within the feature region.
In particular, in some embodiments, the algorithm module may be configured to calculate the equation from the phase
Calculating the similarity;
wherein x is the ordinate value of a certain sampling point in the standard signal spectrum waveform, y is the ordinate value of the same sampling point in the echo signal spectrum waveform as the standard signal spectrum waveform, and x0Is the average value y of the ordinate of all sampling points in the characteristic region of the standard signal spectrum waveform0The average value of the ordinate of all sampling points in the characteristic region of the spectrum waveform of the echo signal is obtained.
Further, in some embodiments, the analysis module may be further configured to:
and determining the range of sampling points on the standard signal spectrum waveform, which does not include the absorption of the gas to be detected and the environmental interference gas, as a characteristic region, wherein the number of the characteristic regions is n, and n is a positive integer greater than or equal to 1. Further, in some embodiments, the determining unit 30 may be configured to determine whether the similarity is lower than a similarity threshold;
if so, determining that the echo signal is not credible, and discarding the echo signal;
and if not, determining that the echo signal is credible.
The method, the system or the equipment for reducing the false alarm rate of the laser gas telemeter data can be seen from the embodiment of the method, the system or the equipment for reducing the false alarm rate of the laser gas telemeter data, the similarity comparison is carried out on the spectrum waveform of the echo signal and the spectrum waveform of the standard signal, whether the echo signal is credible or not is judged according to the similarity value, and the detection result is obtained by adopting the credible echo signal for calculation. By utilizing the technical scheme provided by the embodiment of the specification, the accuracy of the detection result can be improved, signal distortion caused by signal saturation, circuit switching and/or severe change of environmental conditions is avoided, and the data false alarm rate of the laser gas telemeter is effectively reduced.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.