A method, system, device and medium for identifying downhole sensor calibration status

By extracting and analyzing the data of the underground methane sensor and calculating and determining its adjustment status, the false alarm problem during the adjustment of the underground methane sensor is solved, and the level of safety management of coal mines is improved.

CN111855897BActive Publication Date: 2024-11-19JINGYING SHUZHI TECH HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010514001.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-26
Publication Date
2024-11-19
Estimated Expiration
2040-08-26

AI Technical Summary

Technical Problem

In complex coal mine environments, the measured value and environmental truth may differ greatly from the measured value, resulting in a false alarm caused by exceeding the standard during adjustment, making it difficult to distinguish between real alarms and false alarms.

Method used

By extracting the data of the sensor during the period when the gas concentration has been continuously exceeded by monitoring the gas concentration, calculate the minimum value, maximum value and mutation slope, determine the sensor in a conditioning state, use the 3σ principle of normal distribution to eliminate outliers, and determine the parameters Take the value range to accurately identify the adjustment status of the sensor.

Benefits of technology

Accurately identify the reasons for sensor alarms, avoid false alarms, improve the level of coal mine safety management, reduce the incidence of accidents, and ensure safe production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111855897B_ABST
    Figure CN111855897B_ABST
Patent Text Reader

Abstract

The present disclosure is about a method, system, equipment and medium for identifying the calibration status of a downhole sensor. The method includes: extracting data uploaded by the sensor during the time period when the gas concentration continuously exceeds a preset threshold value and the preset time period before and after the time period as calculation data for the calibration model; calculating the minimum value, maximum value, duration of the maximum value and mutation slope in the data; when it is confirmed that the zero point value, standard gas concentration value, duration of calibration and mutation slope are all within the parameter value range of the calibration model calibrated in advance, determining that the sensor is in the calibration state within the time interval corresponding to the calculated data. The scheme provided by the present disclosure can accurately identify the calibration status of the sensor, so as to accurately determine whether the current sensor alarm is a true alarm caused by excessive concentration or a false alarm caused by calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of sensor calibration, and in particular to a method, system, device and medium for identifying a downhole sensor calibration state. Background Art

[0002] Underground sensors, such as methane sensors, are often used in the complex environment of coal mines. There may be a large difference between the sensor's measured value and the true value of the environment. They need to be calibrated on time to ensure the accuracy of gas measurement and the normal operation of the coal mine safety monitoring system. During calibration, methane gas with a standard concentration value needs to be passed into the methane sensor. When the methane concentration exceeds the alarm value, the coal mine safety monitoring system will also generate an alarm. If the sensor calibration status information is not uploaded, it is impossible to distinguish whether it is a real alarm caused by excessive underground gas or a false alarm caused by sensor calibration. Summary of the invention

[0003] In view of the above technical problems, the present invention provides a method, system, equipment and medium for identifying the calibration status of a downhole sensor.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for identifying a downhole sensor calibration state is provided, comprising:

[0005] Extracting data uploaded by the sensor during the time period when the gas concentration continuously exceeds the preset threshold value and the preset time period before and after the time period as calculation data for the calibration model;

[0006] The minimum value in the calculated data is taken as the zero point value, the maximum value of the continuous rising points after the minimum value is taken as the standard gas concentration value, the duration of the maximum value is taken as the adjustment duration, and the mutation slope from the minimum value to the maximum value is calculated;

[0007] When it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope are all within the pre-calibrated parameter value range of the calibration model, it is determined that the sensor is in a calibration state within the time interval corresponding to the calculation data.

[0008] The above method further includes: dividing the calculated data into multiple segments of calibration data by a preset concentration threshold;

[0009] The minimum value in each section of calibration data is taken as the zero point value, the maximum value of the continuous rising points after the minimum value is taken as the standard gas concentration value, the duration of the maximum value is taken as the calibration duration, and the mutation slope from the minimum value to the maximum value is calculated;

[0010] When it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope corresponding to at least one of the multiple calibration data are all within the pre-calibrated parameter value range of the calibration model, it is determined that the sensor is in a calibration state within the time interval corresponding to the calculated data.

[0011] In the above method, dividing the calculated data into multiple segments of calibration data by a preset concentration threshold value specifically includes:

[0012] Determine multiple segments of data in the calculated data that are continuously greater than a preset concentration threshold, divide the data in a time interval consisting of a time corresponding to the last point of the first segment of data and a time corresponding to the first point of the calculated data as a first segment of adjustment data, and divide the data in a time interval consisting of a time corresponding to the last point of other segments of data except the first segment of data and a time corresponding to the last point of the previous segment of adjustment data as adjustment data.

[0013] In the above method, the taking the duration of the maximum value as the adjustment duration specifically includes:

[0014] The duration of points that are continuously within the preset fluctuation threshold range of the standard gas concentration value is counted as the adjustment duration.

[0015] The above method further includes: calibrating the parameter value ranges corresponding to the zero point value, the standard gas concentration value, the adjustment duration and the mutation slope in the adjustment model respectively;

[0016] The process of calibrating the parameter value range corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope specifically includes:

[0017] Calculate the minimum value of each data in the calibration sample as the sample zero value, take the maximum value of the consecutive rising points after the sample zero value as the sample standard gas concentration value, count the duration of the points that are continuously within the preset fluctuation threshold range of the sample standard gas concentration value as the sample calibration duration, and calculate the mutation slope from the sample zero value to the sample standard gas concentration value as the sample mutation slope;

[0018] Using the 3σ principle of normal distribution, outliers in the sample zero value, sample standard gas concentration value, sample adjustment duration, and sample mutation slope are eliminated;

[0019] The mathematical expectation and overall standard deviation of the zero-point value, standard gas concentration value, adjustment duration and mutation slope in the calibration model are estimated by respectively taking the sample mean and sample standard deviation of the sample zero-point value, sample standard gas concentration value, sample adjustment duration and sample mutation slope after removing the outliers;

[0020] The corresponding parameter value range is determined according to the mathematical expectation and overall standard deviation corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope.

[0021] In the above method, after extracting the data uploaded by the sensor during the time period when the gas concentration continuously exceeds the preset threshold value and the preset time period before and after the time period as the calculation data for the calibration model, it also includes:

[0022] Determine whether the maximum value in the calculated data is equal to the preset standard gas concentration value. If so, execute the steps of calculating the zero point value, standard gas concentration value, adjustment duration and mutation slope; otherwise, do not execute.

[0023] According to a second aspect of an embodiment of the present disclosure, a downhole sensor calibration state recognition system is provided, comprising:

[0024] An extraction module, used to extract data uploaded by the sensor during a time period when the gas concentration continuously exceeds a preset threshold value and a preset time period before and after the time period, as calculation data for the calibration model;

[0025] A calculation module, used to take the minimum value in the calculation data as the zero point value, take the maximum value of the continuous rising points after the minimum value as the standard gas concentration value, take the duration of the maximum value as the adjustment duration, and calculate the mutation slope from the minimum value to the maximum value;

[0026] The determination module is used to determine that the sensor is in a calibration state within the time interval corresponding to the calculated data when it is confirmed that the zero point value, the standard gas concentration value, the calibration duration and the mutation slope are all within the pre-calibrated parameter value range of the calibration model.

[0027] The above system further includes: a division module, used to divide the calculated data into multiple segments of calibration data according to a preset concentration threshold;

[0028] The calculation module is used to take the minimum value in each section of calibration data as the zero point value, take the maximum value of the continuous rising points after the minimum value as the standard gas concentration value, take the duration of the maximum value as the calibration duration, and calculate the mutation slope from the minimum value to the maximum value;

[0029] The determination module is used to determine that the sensor is in a calibration state within the time interval corresponding to the calculated data when it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope corresponding to at least one of the multiple calibration data are all within the pre-calibrated parameter value range of the calibration model.

[0030] In the above system, the division module is specifically used for:

[0031] Determine multiple segments of data in the calculated data that are continuously greater than a preset concentration threshold, divide the data in a time interval consisting of a time corresponding to the last point of the first segment of data and a time corresponding to the first point of the calculated data as a first segment of adjustment data, and divide the data in a time interval consisting of a time corresponding to the last point of other segments of data except the first segment of data and a time corresponding to the last point of the previous segment of adjustment data as adjustment data.

[0032] In the above system, the calculation module uses the duration of the maximum value as the adjustment duration, specifically including:

[0033] The duration of points that are continuously within the preset fluctuation threshold range of the standard gas concentration value is counted as the adjustment duration.

[0034] The above system further includes:

[0035] The calibration module is used to calibrate the parameter value ranges corresponding to the zero point value, standard gas concentration value, calibration duration and mutation slope in the calibration model;

[0036] The calibration module specifically includes:

[0037] a calculation unit, for respectively calculating the minimum value of each piece of data in the calibration sample as the sample zero value, taking the maximum value of consecutive rising points after the sample zero value as the sample standard gas concentration value, counting the duration of points continuously within a preset fluctuation threshold range of the sample standard gas concentration value as the sample calibration duration, and calculating the mutation slope from the sample zero value to the sample standard gas concentration value as the sample mutation slope;

[0038] A processing unit, used to eliminate abnormal values ​​in the sample zero point value, sample standard gas concentration value, sample adjustment duration and sample mutation slope by using the 3σ principle of normal distribution;

[0039] An estimation unit, used to estimate the mathematical expectation and population standard deviation corresponding to the zero point value, the standard gas concentration value, the adjustment duration and the mutation slope in the calibration model by respectively excluding the sample zero point value, the sample standard gas concentration value, the sample adjustment duration and the sample mutation slope through the sample mean and the sample standard deviation;

[0040] The determination unit is used to determine the corresponding parameter value range according to the mathematical expectation and overall standard deviation corresponding to the zero point value, the standard gas concentration value, the adjustment duration and the mutation slope.

[0041] According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, including:

[0042] Processor; and

[0043] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.

[0044] According to a fourth aspect of an embodiment of the present disclosure, there is provided a non-transitory machine-readable storage medium on which an executable code is stored. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.

[0045] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: it can accurately identify the calibration status of the sensor, so as to accurately determine whether the current sensor alarm is a real alarm caused by excessive concentration or a false alarm caused by calibration, which is convenient for coal mine safety monitoring, improves the level of coal mine safety management, reduces the accident rate, and ensures safe production underground in coal mines.

[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is an example of the methane concentration change curve at the time of adjustment;

[0048] Figure 2 is a flow chart of a method for identifying a downhole sensor calibration state according to an exemplary embodiment of the present disclosure;

[0049] Figure 3 This is an example of the methane concentration change curve at the time of adjustment;

[0050] Figure 4 is a structural block diagram of a downhole sensor calibration state identification system according to an exemplary embodiment of the present disclosure;

[0051] Figure 5 It is a structural diagram of a computing device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0052] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0053] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0054] It should be understood that although the terms "first", "second", "third", etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0055] According to the provisions of "AQ1029-2019", safety monitoring equipment should be calibrated at least once a month. Among them, methane sensors using the carrier catalytic principle should be calibrated at least once every 15 days, and methane sensors using the laser principle should be calibrated at least once every 6 months. Equipment calibration includes zero point, display value, alarm point, power-off point, power-on point, control logic, etc. When adjusting the zero point, the range is controlled within 0.00%-0.03% CH4.

[0056] There are differences between the calibration methods for methane sensors in use and those for new methane sensors before use. When calibrating a methane sensor in use, use 1%-2% CH4 standard gas. When calibrating, first calibrate the zero point, then introduce 1%-2% CH4 standard gas at a small flow rate. When the displayed value slowly rises, adjust the flow rate to the specified value so that the measured value is displayed stably for more than 90 seconds.

[0057] The data characteristics of the sensor in the calibration operation scenario are as follows: (1) there is a zero value; (2) there is a sudden increase in the value after the zero value; (3) the methane concentration remains stable for a period of time after the value suddenly increases to the standard gas concentration value; (4) after a period of time, the methane concentration drops to zero. Specific characteristics are as follows Figure 1 The present invention identifies whether the sensor has been calibrated at this moment based on the uploaded monitoring data when the sensor alarms and the monitoring values ​​and monitoring time of a period of time before and after.

[0058] The technical solution of the embodiments of the present disclosure is described in detail below with reference to the accompanying drawings.

[0059] Figure 2It is a flow chart of a method for identifying a downhole sensor calibration state according to an exemplary embodiment of the present disclosure.

[0060] See also Figure 2 , the method comprising:

[0061] Step 11: extract the data uploaded by the sensor during the time period when the gas concentration continuously exceeds the preset threshold value and the preset time period before and after the time period as calculation data for the calibration model.

[0062] The preset threshold here can be set as an alarm threshold. Taking the methane sensor as an example, when the methane sensor detects that the methane concentration exceeds the alarm concentration, the data from ten minutes before the moment when the methane sensor monitors that the gas concentration begins to exceed the alarm concentration to ten minutes after the moment when the methane sensor monitors that the gas concentration returns to below the alarm concentration can be extracted as calculation data for the calibration model.

[0063] Step 12: take the minimum value in the calculated data as the zero point value, take the maximum value of the continuous rising points after the minimum value as the standard gas concentration value, take the duration of the maximum value as the adjustment duration, and calculate the mutation slope from the minimum value to the maximum value.

[0064] Among them, when calculating the duration of the adjustment, due to manual adjustment, after the methane concentration reaches the standard gas concentration value, there is a gas concentration fluctuation, so it is necessary to set a fluctuation threshold, and count the duration of points that are continuously within the preset fluctuation threshold range of the standard gas concentration value as the duration of the adjustment. For example, if the fluctuation threshold is set to 0.05, that is, the fluctuation threshold range is ±0.05, if the standard gas concentration value is 1.5, then the values ​​that are continuously greater than 1.45 and less than 1.55 are counted, and the time intervals corresponding to these values ​​are the duration of the adjustment.

[0065] Step 13: When it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope are all within the pre-calibrated parameter value range of the calibration model, it is determined that the sensor is in a calibration state within the time interval corresponding to the calculation data.

[0066] Because after the alarm ends, re-calibration may be performed due to an error in the calibration operation, there may be multiple calibrations in the time period extracted in step 11. Therefore, after step 11, the following steps are further included:

[0067] Step 14: Divide the calculated data into multiple segments of calibration data according to a preset concentration threshold.

[0068] In a specific embodiment, Figure 3As shown, there are two adjustments within the 5 minutes from 9:55 to 10:00. Due to the above reasons, it is necessary to set a concentration threshold and divide the calculated data into multiple segments of adjustment data through the concentration threshold.

[0069] The specific division method is: determine multiple segments of data in the calculated data that are continuously greater than a preset concentration threshold, divide the data in the time interval consisting of the time corresponding to the last point of the first segment of data and the time corresponding to the first point of the calculated data as the first segment of adjustment data, and divide the data in the time interval consisting of the time corresponding to the last point of other segments of data except the first segment of data and the time corresponding to the last point of the previous segment of adjustment data as adjustment data.

[0070] For example, the concentration threshold is set to 0.5, and the data is divided and calculated according to the concentration threshold of 0.5. The time corresponding to the last point of the data with a value greater than 0.5 and the time corresponding to the last point of the previous calibration data form a time interval, and the data in this time interval is the calibration data.

[0071] After step 14, the minimum value in each segment of calibration data is taken as the zero point value, the maximum value of the continuous rising points after the minimum value is taken as the standard gas concentration value, the duration of the maximum value is taken as the calibration duration, and the mutation slope from the minimum value to the maximum value is calculated.

[0072] When it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope corresponding to at least one of the multiple calibration data are all within the pre-calibrated parameter value range of the calibration model, it is determined that the sensor is in a calibration state within the time interval corresponding to the calculated data.

[0073] Optionally, in this embodiment, the method further includes:

[0074] Step 15: calibrate the parameter value ranges corresponding to the zero point value, standard gas concentration value, calibration duration and mutation slope in the calibration model respectively.

[0075] Step 15 specifically includes:

[0076] Step 151, calculate the minimum value of each data in the calibration sample as the sample zero point value, take the maximum value of the consecutive rising points after the sample zero point value as the sample standard gas concentration value, count the duration of the points continuously within the preset fluctuation threshold range of the sample standard gas concentration value as the sample calibration duration, and calculate the mutation slope from the sample zero point value to the sample standard gas concentration value as the sample mutation slope.

[0077] Before step 151, it is necessary to first divide the sensor data samples into real alarm samples and adjustment samples using artificial experience.

[0078] Step 152: Use the 3σ principle of normal distribution to eliminate abnormal values ​​in the sample zero point value, sample standard gas concentration value, sample adjustment duration, and sample mutation slope.

[0079] Since the sample size of the calibration interval is relatively large, it can be assumed that the sample size roughly follows the normal distribution N(μ,σ 2 ), where μ is the population mean, σ 2 is the population variance. In normal distribution, μ represents the mean and σ represents the standard deviation. x=μ is the axis of symmetry of the image. The probability that the value is distributed in (μ-σ,μ+σ) is 0.6826, the probability that the value is distributed in (μ-2σ,μ+2σ) is 0.9544, and the probability that the value is distributed in (μ-3σ,μ+3σ) is 0.9974. According to the 3σ principle of normal distribution, by eliminating extreme outliers, the normal range of zero point value, standard gas concentration value, adjustment duration and mutation slope can be obtained.

[0080] Step 153, estimate the mathematical expectation and population standard deviation corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope in the calibration model by respectively taking the sample mean and sample standard deviation of the sample zero point value, sample standard gas concentration value, sample adjustment duration and sample mutation slope after eliminating outliers.

[0081] When using the normal distribution principle, we must first determine whether the sample obeys the normal distribution. Therefore, the null hypothesis H0: the overall distribution of the sample does not obey the normal distribution; the alternative hypothesis H1: the overall distribution of the sample obeys the normal distribution. Screen the sample values, calculate the p-value, and get a p-value less than 0.05, indicating that the sample obeys the normal distribution. Reject the null hypothesis and accept the alternative hypothesis. The calculation process of the p-value is an existing technology and will not be repeated here.

[0082] When the sample obeys the normal distribution, the mathematical expectation and the overall standard deviation of the zero point value a, the standard gas concentration value b, the adjustment duration c and the mutation slope d are calculated respectively according to the method of step 153.

[0083] Step 154, determining the corresponding parameter value range according to the mathematical expectation and overall standard deviation corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope.

[0084] According to the calculation result of step 153, the mathematical expectation of the zero value a is obtained. Mathematical expectation of standard gas concentration value b The mathematical expectation of the adjustment duration c and the mathematical expectation of the mutation slope d By adjusting the coefficient of the population standard deviation σ, the population standard deviation of the sample zero value is obtained as S a , the overall standard deviation of the sample standard gas concentration value is S b , the overall standard deviation of the sample adjustment duration is S c , the overall standard deviation of the sample mutation slope is S d The parameter value ranges corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope can be preliminarily determined as follows:

[0085] Zero point value parameter range:

[0086] The parameter value range of standard gas concentration value:

[0087] The parameter value range for adjusting the duration is:

[0088] The parameter range of mutation slope is:

[0089] Combined with the regulations, the value range that does not conform to the actual situation is removed, and the reasonable value ranges of the calibration zero point value, standard gas concentration value, calibration duration and mutation slope are further obtained as follows:

[0090] Zero point value parameter range:

[0091] The parameter value range of standard gas concentration value:

[0092] The parameter value range for adjusting the duration is:

[0093] The parameter range of mutation slope is:

[0094] Optionally, in this embodiment, after step 11, the method further includes:

[0095] Step 16: Determine whether the maximum value in the calculated data is equal to the preset standard gas concentration value. If so, execute step 12; otherwise, do not execute.

[0096] Since a gas with a standard gas concentration value is usually used when calibrating a sensor, by executing step 16, it is possible to pre-judge whether the calculated data is in a calibration state.

[0097] The present disclosure adopts a method combining regulations with fluctuation thresholds to determine the reasonable value range of parameters during adjustment. In view of the fact that in actual mine operation, the gas concentration value during adjustment is significantly higher than the concentration value in other states, and the adjustment is not necessarily performed strictly in accordance with the zero point value and standard gas sample value specified in the standard, the technical solution of the present disclosure flexibly determines whether it is an adjustment by setting the fluctuation range of the zero point value, standard gas concentration value, adjustment duration, and mutation slope, thereby greatly reducing the probability of false alarms due to adjustment.

[0098] Corresponding to the aforementioned application function realization method embodiment, the present disclosure also provides a coal mine underground sensor adjustment status identification system, terminal equipment and corresponding embodiments.

[0099] Figure 4 It is a structural block diagram of a downhole sensor calibration state identification system according to an exemplary embodiment of the present disclosure.

[0100] See also Figure 4 The system comprises:

[0101] An extraction module, used to extract data uploaded by the sensor during a time period when the gas concentration continuously exceeds a preset threshold value and a preset time period before and after the time period, as calculation data for the calibration model;

[0102] A calculation module, used to take the minimum value in the calculation data as the zero point value, take the maximum value of the continuous rising points after the minimum value as the standard gas concentration value, take the duration of the maximum value as the adjustment duration, and calculate the mutation slope from the minimum value to the maximum value;

[0103] The determination module is used to determine that the sensor is in a calibration state within the time interval corresponding to the calculated data when it is confirmed that the zero point value, the standard gas concentration value, the calibration duration and the mutation slope are all within the pre-calibrated parameter value range of the calibration model.

[0104] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.

[0105] Figure 5 It is a structural diagram of a computing device according to an exemplary embodiment of the present disclosure.

[0106] See also Figure 5 , the computing device 500 includes a memory 510 and a processor 520 .

[0107] The processor 520 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0108] The memory 510 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 520 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0109] The memory 510 stores executable codes, and when the executable codes are processed by the processor 520 , the processor 520 can execute part or all of the methods described above.

[0110] The scheme of the present disclosure has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of the various embodiments have different focuses. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art should also be aware that the actions and modules involved in the specification are not necessarily required by the present invention. In addition, it can be understood that the steps in the method of the embodiment of the present disclosure can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present disclosure can be merged, divided and deleted according to actual needs.

[0111] In addition, the method according to the present disclosure may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present disclosure.

[0112] Alternatively, the present disclosure may also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or computing device, server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present disclosure.

[0113] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or a combination of both.

[0114] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the system and method according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0115] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for identifying downhole sensor calibration status, characterized in that: include: Extracting data uploaded by the sensor during the time period when the gas concentration continuously exceeds the preset threshold value and the preset time period before and after the time period as calculation data for the calibration model; The minimum value in the calculated data is taken as the zero point value, the maximum value of the continuous rising points after the minimum value is taken as the standard gas concentration value, the duration of the points continuously within the preset fluctuation threshold range of the standard gas concentration value is counted as the adjustment duration, and the mutation slope from the minimum value to the maximum value is calculated; When it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope are all within the pre-calibrated parameter value range of the calibration model, it is determined that the sensor is in a calibration state within the time interval corresponding to the calculation data.

2. A method for identifying downhole sensor calibration status according to claim 1, characterized in that: Also includes: Dividing the calculated data into multiple segments of calibration data according to a preset concentration threshold; The minimum value in each section of calibration data is taken as the zero point value, the maximum value of the continuous rising points after the minimum value is taken as the standard gas concentration value, the duration of the maximum value is taken as the calibration duration, and the mutation slope from the minimum value to the maximum value is calculated; When it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope corresponding to at least one of the multiple calibration data are all within the pre-calibrated parameter value range of the calibration model, it is determined that the sensor is in a calibration state within the time interval corresponding to the calculated data.

3. A method for identifying downhole sensor calibration status according to claim 2, characterized in that: The step of dividing the calculated data into multiple segments of calibration data by a preset concentration threshold specifically includes: Determine multiple segments of data in the calculated data that are continuously greater than a preset concentration threshold, divide the data in a time interval consisting of a time corresponding to the last point of the first segment of data and a time corresponding to the first point of the calculated data as a first segment of adjustment data, and divide the data in a time interval consisting of a time corresponding to the last point of other segments of data except the first segment of data and a time corresponding to the last point of the previous segment of adjustment data as adjustment data.

4. A method for identifying downhole sensor calibration status according to claim 1, characterized in that: Also includes: The parameter value ranges corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope in the adjustment model are calibrated respectively; The process of calibrating the parameter value range corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope specifically includes: Calculate the minimum value of each data in the calibration sample as the sample zero value, take the maximum value of the consecutive rising points after the sample zero value as the sample standard gas concentration value, count the duration of the points that are continuously within the preset fluctuation threshold range of the sample standard gas concentration value as the sample calibration duration, and calculate the mutation slope from the sample zero value to the sample standard gas concentration value as the sample mutation slope; Using the 3σ principle of normal distribution, outliers in the sample zero value, sample standard gas concentration value, sample adjustment duration, and sample mutation slope are eliminated; The mathematical expectation and overall standard deviation of the zero-point value, standard gas concentration value, adjustment duration and mutation slope in the calibration model are estimated by respectively taking the sample mean and sample standard deviation of the sample zero-point value, sample standard gas concentration value, sample adjustment duration and sample mutation slope after removing the outliers; The corresponding parameter value range is determined according to the mathematical expectation and overall standard deviation corresponding to the zero point value, standard gas concentration value, adjustment duration and mutation slope.

5. A method for identifying downhole sensor calibration status according to any one of claims 1 to 4, characterized in that: After extracting the data uploaded by the sensor during the time period when the gas concentration continuously exceeds the preset threshold value and the preset time period before and after the time period as the calculation data for the calibration model, the method further includes: Determine whether the maximum value in the calculated data is equal to the preset standard gas concentration value. If so, execute the steps of calculating the zero point value, standard gas concentration value, adjustment duration and mutation slope; otherwise, do not execute.

6. A downhole sensor calibration status recognition system, characterized in that: include: An extraction module, used to extract data uploaded by the sensor during a time period when the gas concentration continuously exceeds a preset threshold value and a preset time period before and after the time period, as calculation data for the calibration model; A calculation module, used to take the minimum value in the calculation data as the zero point value, take the maximum value of the continuous rising points after the minimum value as the standard gas concentration value, count the duration of the points continuously within the preset fluctuation threshold range of the standard gas concentration value as the adjustment duration, and calculate the mutation slope from the minimum value to the maximum value; The determination module is used to determine that the sensor is in a calibration state within the time interval corresponding to the calculated data when it is confirmed that the zero point value, the standard gas concentration value, the calibration duration and the mutation slope are all within the pre-calibrated parameter value range of the calibration model.

7. A downhole sensor calibration status recognition system according to claim 6, characterized in that: Also includes: A division module, used for dividing the calculated data into multiple segments of calibration data according to a preset concentration threshold; The calculation module is used to take the minimum value in each section of calibration data as the zero point value, take the maximum value of the continuous rising points after the minimum value as the standard gas concentration value, take the duration of the maximum value as the calibration duration, and calculate the mutation slope from the minimum value to the maximum value; The determination module is used to determine that the sensor is in a calibration state within the time interval corresponding to the calculated data when it is confirmed that the zero point value, standard gas concentration value, calibration duration and mutation slope corresponding to at least one of the multiple calibration data are all within the pre-calibrated parameter value range of the calibration model.

8. A terminal device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 5.

9. A non-transitory machine-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 5.