CN-122016950-A - Gas detection method, system, equipment, medium and product based on smell array sensor
Abstract
The application discloses a gas detection method, a system, equipment, a medium and a product based on an odor array sensor, and relates to the field of gas detection, wherein the method comprises the steps of collecting odor data of a plurality of types of sample gases in a sampling box through the odor array sensor; the odor array sensor comprises 32 oxide semiconductor elements sensitive to differentiation, preprocesses collected odor data to generate a sample standardization matrix of each type of sample gas, generates a sample identification feature matrix of each type of sample gas by adopting a support vector machine based on the standardization matrix, and detects the gas to be detected based on the sample identification feature matrix. The application can improve the speed and the precision of gas detection.
Inventors
- GAO RUNDONG
- NIU GANG
- LIAN YUNFENG
- KANG KE
- SUN JING
- HAN NING
- SONG MINGCHANG
- ZUO WENXIN
Assignees
- 中国人民解放军32181部队
Dates
- Publication Date
- 20260512
- Application Date
- 20260127
Claims (10)
- 1. A gas detection method based on an odor array sensor, comprising: the odor data acquisition method comprises the steps of collecting odor data of a plurality of types of sample gases in a sampling box through an odor array sensor, wherein the odor array sensor consists of 32 oxide semiconductor elements sensitive to differentiation; preprocessing the collected smell data to generate a sample standardization matrix of each type of sample gas; based on the standardized matrix, generating a sample recognition feature matrix of each class of sample gas by adopting a support vector machine; and detecting the gas to be detected based on the sample identification feature matrix.
- 2. The odor array sensor-based gas detection method of claim 1 wherein preprocessing the collected odor data to generate a sample normalization matrix for each class of sample gas, comprising: summarizing the collected smell data into a total sample matrix; calculating the average value and standard deviation of the overall sample matrix; And carrying out standardization processing on the total sample matrix based on the average value and the standard deviation to generate a sample standardization matrix of each class of sample gas.
- 3. The odor array sensor-based gas detection method of claim 1, wherein calculating the average and standard deviation of the overall sample matrix comprises: Calculating an arithmetic average matrix of the overall sample matrix; Calculating an average value of the overall sample matrix based on the arithmetic average matrix; a standard deviation is calculated based on the average value and the overall sample matrix.
- 4. The gas detection method based on the odor array sensor of claim 1, wherein generating a sample recognition feature matrix using a support vector machine based on the sample normalization matrix, specifically comprises: constructing an objective function by using a support vector machine and taking the sum of distances from a hyperplane to two types of sample gases as the maximum; solving the objective function by using a Lagrangian multiplier method to obtain an optimal hyperplane; and converting the sample standardization matrix into a sample identification feature matrix based on the optimal hyperplane.
- 5. The gas detection method based on the odor array sensor according to claim 1, wherein detecting the gas to be detected based on the sample recognition feature matrix specifically comprises: Collecting smell data of the gas to be detected through a smell array sensor, and generating a standardized matrix to be detected; generating a gas feature matrix to be detected by adopting a support vector machine based on the standardized matrix to be detected; calculating the hyperplane distance between the gas feature matrix to be measured and the sample identification feature matrix of each class of sample gas; And judging the type of the sample gas with the closest hyperplane distance as the type of the gas to be detected.
- 6. A gas detection system based on an odor array sensor, comprising: the system comprises a collection module, a smell array sensor and a detection module, wherein the collection module is used for collecting smell data of a plurality of types of sample gases in a sampling box through the smell array sensor, and the smell array sensor consists of 32 oxide semiconductor elements sensitive to differentiation; the pretreatment module is used for carrying out pretreatment on the collected smell data to generate a sample standardization matrix of the sample gas of each category; the sample recognition feature matrix generation module is used for generating a sample recognition feature matrix of each type of sample gas by adopting a support vector machine based on the standardized matrix; and the detection module is used for detecting the gas to be detected based on the sample identification feature matrix.
- 7. The odor array sensor-based gas detection system of claim 6, wherein said detection module comprises: a standardized matrix generating unit to be measured for collecting smell data of the gas to be measured through a smell array sensor, generating a standardized matrix to be tested; The to-be-detected gas feature matrix generation unit is used for generating a to-be-detected gas feature matrix by adopting a support vector machine based on the to-be-detected standardized matrix; the hyperplane distance calculating unit is used for calculating the hyperplane distance between the gas feature matrix to be detected and the sample identification feature matrix of each class of sample gas; and the detection unit is used for judging the type of the sample gas with the closest hyperplane distance as the type of the gas to be detected.
- 8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to implement the gas detection method based on a scent array sensor according to any one of claims 1-5.
- 9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the gas detection method based on an odour array sensor according to any one of claims 1-5.
- 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the gas detection method based on a scent array sensor according to any one of claims 1-5.
Description
Gas detection method, system, equipment, medium and product based on smell array sensor Technical Field The application relates to the field of gas detection, in particular to a gas detection method, a gas detection system, gas detection equipment, gas detection media and gas detection products based on an odor array sensor. Background As society progresses with advances in science and technology, human research into biological organ mechanisms has matured. The imitation of biological sensory functions such as vision, hearing, taste, touch and smell has been widely studied by scientists of various countries. The research of human beings on smell is developed from the earliest chemical analysis method to the instrumental analysis method, the development of the bionic smell technology is carried out for nearly a hundred years, the material recognition capability of the bionic smell technology is stronger, and the recognition rate is also gradually improved. The odor identification technology realizes odor detection and classification by simulating a human olfactory system, but the progress is influenced by the dimension of characteristic data, and the traditional technology mostly adopts 8-16-dimensional characteristic data, so that the problem of insufficient accurate identification exists. Disclosure of Invention The application aims to provide a gas detection method, a system, equipment, a medium and a product based on an odor array sensor, which can improve the speed and the accuracy of gas detection. In order to achieve the above object, the present application provides the following solutions: In a first aspect, the present application provides a gas detection method based on an odor array sensor, comprising: the odor data acquisition method comprises the steps of collecting odor data of a plurality of types of sample gases in a sampling box through an odor array sensor, wherein the odor array sensor consists of 32 oxide semiconductor elements sensitive to differentiation; preprocessing the collected smell data to generate a sample standardization matrix of each type of sample gas; based on the standardized matrix, generating a sample recognition feature matrix of each class of sample gas by adopting a support vector machine; and detecting the gas to be detected based on the sample identification feature matrix. In a second aspect, the present application provides a gas detection system based on an odor array sensor, comprising: the system comprises a collection module, a smell array sensor and a detection module, wherein the collection module is used for collecting smell data of a plurality of types of sample gases in a sampling box through the smell array sensor, and the smell array sensor consists of 32 oxide semiconductor elements sensitive to differentiation; the pretreatment module is used for carrying out pretreatment on the collected smell data to generate a sample standardization matrix of the sample gas of each category; the sample recognition feature matrix generation module is used for generating a sample recognition feature matrix of each type of sample gas by adopting a support vector machine based on the standardized matrix; and the detection module is used for detecting the gas to be detected based on the sample identification feature matrix. In a third aspect, the application provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the computer program to implement the gas detection method based on the odour array sensor described above. In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described gas detection method based on a scent array sensor. In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described gas detection method based on a scent array sensor. According to the specific embodiment provided by the application, the application has the following technical effects: The application adopts the odor array sensor formed by 32 oxide semiconductor elements sensitive to differentiation, remarkably improves the dimension and the information richness of odor data, and effectively solves the problem of insufficient recognition accuracy caused by the fact that the traditional odor recognition technology only depends on 8-16-dimensional characteristic data. On the basis, the collected smell data is subjected to standardized pretreatment, and a high-discriminant sample recognition feature matrix is constructed by combining a support vector machine (Support Vector Machine, SVM), so that the resolving power of multi-class gas is enhanced, and the generalization performance and stability of the model in a complex or interference environment a