Calibration Method, Device, Equipment and Medium of Gas Probe
Through the automated gas probe calibration method, the target calibration mode and control parameters are determined using probe parameters, initial environmental parameters and gas parameters, which solves the problem of low manual calibration efficiency in the prior art and achieves efficient and accurate calibration results.
Patent Information
- Application Number
- CN202510477572.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-04-16
AI Technical Summary
In the prior art, the verification of gas probes relies on manual operation, is inefficient and easily affected by human factors, and cannot meet the needs of nuclear power plants for efficient and accurate verification.
By obtaining the probe parameters of the probe to be checked and the initial environmental parameters of the calibration environment, matching the calibration gas parameters in the gas database, analyzing the target calibration mode and target control parameters, and controlling the calibration gas flow to the probe to achieve automated calibration.
It improves the efficiency and accuracy of gas probe calibration, enhances the flexibility and adaptability of calibration, and reduces the influence of human factors.
Smart Images

Figure CN120028495B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic control, and particularly relates to a method, device, equipment and medium for calibrating a gas probe. Background Art
[0002] In the nuclear power field, high-purity hydrogen or oxygen, as well as other purified gases, are often required. For hydrogen or oxygen, due to their relatively active chemical properties, once leakage occurs during transportation or use, since they are usually colorless and odorless, it is very easy to cause catastrophic consequences. Therefore, in order to ensure the safe operation of nuclear power facilities, gas alarm detectors have become indispensable monitoring equipment in nuclear power plants.
[0003] The main function of the gas alarm detector is to continuously monitor the gas concentration in the surrounding environment. Once the gas concentration exceeds the preset safety threshold, an alarm is immediately issued to remind the operator to take timely measures. In order to ensure the accuracy and reliability of the gas alarm detector, it must be regularly calibrated for sensitivity to ensure that it can respond quickly and accurately to changes in gas concentration. Currently, most calibration processes still rely on manual operation, which is not only inefficient but also easily affected by human factors, resulting in inaccurate calibration results. At the same time, the lack of automated calibration instruments and working methods also limits the convenience and flexibility of calibration, and cannot meet the requirements of nuclear power plants for efficient and accurate calibration of gas alarm detectors.
[0004] Therefore, how to automatically classify and calibrate gas probes and improve the calibration efficiency of gas probes has become an urgent problem to be solved. Summary of the Invention
[0005] Based on this, a method, device, equipment and medium for calibrating a gas probe are provided to solve the problem of how to improve the calibration efficiency of gas probes.
[0006] In a first aspect, an embodiment of the present invention provides a method for calibrating a gas probe, including the following steps:
[0007] Obtain the probe parameters of the probe to be calibrated and the initial environmental parameters of the calibration environment, and match the gas parameters of the corresponding calibration gas from the gas database according to the probe parameters;
[0008] Analyze the initial environmental parameters and the gas parameters to determine the target calibration mode for calibrating the probe to be calibrated, and determine the target control parameters for calibrating the probe to be calibrated according to the target calibration mode. The target calibration mode includes a flow mode and a time mode;
[0009] Determine the target parameter value corresponding to the target control parameter according to the probe parameters, the initial environment parameters, and the gas parameters. In the calibration environment, control the calibration gas to flow to the probe to be calibrated according to the target parameter value corresponding to the target control parameter, so as to calibrate the probe to be calibrated in the target calibration mode;
[0010] Monitor the real-time environment parameters of the calibration environment. When the real-time environment parameters are different from the initial environment parameters, update the initial environment parameters according to the real-time environment parameters. After the calibration in the target calibration mode ends, return to execute the step of analyzing the initial environment parameters and the gas parameters until the calibration of the probe to be calibrated ends.
[0011] In a second aspect, an embodiment of the present invention provides a calibration device for a gas probe, including:
[0012] An acquisition module, configured to acquire the probe parameters of the probe to be calibrated and the initial environment parameters of the calibration environment, and match the gas parameters of the corresponding calibration gas from the gas database according to the probe parameters;
[0013] A mode determination module, configured to analyze the initial environment parameters and the gas parameters, determine the target calibration mode for calibrating the probe to be calibrated, and determine the target control parameter for calibrating the probe to be calibrated according to the target calibration mode. The target calibration mode includes a flow mode and a time mode;
[0014] A calibration module, configured to determine the target parameter value corresponding to the target control parameter according to the probe parameters, the initial environment parameters, and the gas parameters. In the calibration environment, control the calibration gas to flow to the probe to be calibrated according to the target parameter value corresponding to the target control parameter, so as to calibrate the probe to be calibrated in the target calibration mode;
[0015] An update module, configured to monitor the real-time environment parameters of the calibration environment. When the real-time environment parameters are different from the initial environment parameters, update the initial environment parameters according to the real-time environment parameters. After the calibration in the target calibration mode ends, return to execute the step of analyzing the initial environment parameters and the gas parameters until the calibration of the probe to be calibrated ends.
[0016] In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the calibration method for the gas probe in the first aspect is implemented.
[0017] Fourthly, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the calibration method of the gas probe in the first aspect above.
[0018] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows: according to the probe parameters of the probe to be calibrated, the gas parameters of the corresponding calibration gas are matched, the initial environmental parameters and gas parameters are analyzed to determine the target calibration mode, according to the target calibration mode, the target control parameters are determined, according to the probe parameters, initial environmental parameters and gas parameters, the target parameter values corresponding to the target control parameters are determined, in the calibration environment, according to the target parameter values corresponding to the target control parameters, the calibration gas is controlled to flow to the probe to be calibrated to calibrate the probe to be calibrated in the target calibration mode, the real-time environmental parameters of the calibration environment are monitored, when the real-time environmental parameters are different from the initial environmental parameters, the initial environmental parameters are updated according to the real-time environmental parameters, after the calibration in the target calibration mode is completed, the steps of analyzing the initial environmental parameters and gas parameters are returned to be executed until the calibration is completed.
[0019] Among them, it automatically realizes determining the target calibration mode and the target parameter values of the corresponding target control parameters that more meet the actual calibration requirements and conditions according to the probe parameters, gas parameters and initial environmental parameters. Therefore, when calibrating the probe to be calibrated with the calibration gas according to the determined target calibration mode and the target parameter values of the corresponding target control parameters, while improving the calibration efficiency, the calibration accuracy is also improved, and during the calibration process, according to the monitored real-time environmental parameters, the target calibration mode is dynamically adjusted, enhancing the flexibility and adaptability of the calibration and also improving the calibration efficiency. Description of the Drawings
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0021] Figure 1 It is a schematic flowchart of a calibration method for a gas probe provided in Embodiment 1 of the present invention;
[0022] Figure 2 It is a schematic flowchart of a calibration method for a gas probe provided in Embodiment 2 of the present invention;
[0023] Figure 3 It is a schematic flowchart of a calibration method for a gas probe provided in Embodiment 3 of the present invention;
[0024] Figure 4 It is a schematic flowchart of a method for calibrating a gas probe provided in the fourth embodiment of the present invention;
[0025] Figure 5 It is a schematic flowchart of a method for calibrating a gas probe provided in the fifth embodiment of the present invention;
[0026] Figure 6 It is a schematic flowchart of a method for calibrating a gas probe provided in the sixth embodiment of the present invention;
[0027] Figure 7 It is a schematic structural diagram of a device for calibrating a gas probe provided in the seventh embodiment of the present invention;
[0028] Figure 8 It is a schematic structural diagram of a computer device provided in the eighth embodiment of the present invention. Detailed implementation manners
[0029] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0030] As Figure 1 shown, it is a schematic flowchart of a method for calibrating a gas probe provided in the first embodiment of the present invention, including the following steps:
[0031] Step S101: Obtain the probe parameters of the probe to be calibrated and the initial environmental parameters of the calibration environment, and match the gas parameters of the corresponding calibration gas from the gas database according to the probe parameters.
[0032] In this embodiment, the probe to be calibrated may refer to a gas detection head to be calibrated, and the probe parameters may refer to the parameters related to the probe to be calibrated, which may include the physical parameters and status parameters of the probe to be calibrated. Among them, the physical parameters may include the gas types monitored and alarmed by the probe to be calibrated, such as hydrogen, methane, and oxygen, etc., and the status parameters may include the used years and the degree of use damage of the probe to be calibrated, etc.; the calibration environment may refer to the physical space where the probe to be calibrated is calibrated, and the initial environmental parameters may refer to the parameters related to the calibration environment, which may include the temperature, humidity, and air pressure of the calibration environment, etc.; the calibration gas may refer to the gas corresponding to the gas type monitored and alarmed by the probe to be calibrated, and the gas parameters may refer to the parameters related to the calibration gas, which may include the gas type, density, toxicity, and diffusion coefficient of the calibration gas, etc.; the gas database may be used to store the mapping relationship between the gas type and the corresponding gas parameters.
[0033] Specifically, obtain the probe parameters of the probe to be calibrated and the initial environmental parameters of the calibration environment. According to the probe parameters, determine the type of gas monitored and alarmed by the probe to be calibrated. According to the gas type, match the gas parameters of the corresponding calibration gas from the gas database.
[0034] Step S102: Analyze the initial environmental parameters and gas parameters to determine the target calibration mode for calibrating the probe to be calibrated. According to the target calibration mode, determine the target control parameters for calibrating the probe to be calibrated.
[0035] In this embodiment, the target calibration mode may refer to the method or process adopted when calibrating the probe to be calibrated, and may include a flow mode and a time mode. The method adopted in the flow mode may be to continuously output the calibration gas at a certain flow rate, which may be variable or constant, until the total flow rate threshold is reached, and the calibration in the flow mode ends. This flow mode is more suitable for calibrating the sensitivity of the calibration gas probe in different gas flow rate environments. The method adopted in the time mode may be to continuously output the calibration gas at a constant flow rate, such as 1 L / s. After a constant total output time threshold, such as outputting for 1 minute, the calibration in the time mode ends. This time mode is more suitable for calibrating the response ability of the calibration gas probe in a stable gas environment.
[0036] The target control parameters may refer to the parameters that need to be precisely controlled during the calibration process. If the target calibration mode is the flow mode, the target control parameters corresponding to the flow mode may include the flow rate of the output calibration gas and the total flow rate of the calibration gas flowing through the probe to be calibrated. If the target calibration mode is the time mode, the target control parameters corresponding to the time mode may include the flow rate of the output calibration gas and the total time of the calibration gas flowing through the probe to be calibrated. The target parameter value may refer to the specific value of the corresponding target control parameter.
[0037] Specifically, analyze the gas parameters to determine the initial calibration mode for calibrating the probe to be calibrated. According to the initial environmental parameters, adjust the initial calibration mode to obtain the target calibration mode. According to the target calibration mode, determine the target control parameters corresponding to the target calibration mode. Analyze the probe parameters, initial environmental parameters, and gas parameters to determine the target parameter values required for setting the corresponding target control parameters.
[0038] Step S103: According to the probe parameters, initial environmental parameters, and gas parameters, determine the target parameter values corresponding to the target control parameters. In the calibration environment, control the calibration gas to flow to the probe to be calibrated according to the target parameter values of the corresponding target control parameters, so as to calibrate the probe to be calibrated in the target calibration mode.
[0039] Specifically, in a calibration environment, in the method of the target calibration mode, according to the parameter value of the corresponding target control parameter, the calibration gas is controlled to flow to the probe to be calibrated, and the response ability of the probe to be calibrated is observed, so as to realize the calibration of indexes such as the sensitivity of the probe to be calibrated.
[0040] Optionally, the calibration method of the present invention can be used to control a hardware system for calibrating a probe to be calibrated, which consists of hardware devices such as a solenoid valve, a pressure reducing valve, a mass flow controller and connected pipelines. Among them, the mass flow controller is a finished mechanical device that can automatically adjust the gas flow. Then, in the process of controlling the calibration gas to flow to the probe to be calibrated according to the parameter value of the corresponding target control parameter and calibrating the probe to be calibrated in the target calibration mode, the specific process can be as follows:
[0041] 1) Open the solenoid valve in the pipeline connecting the calibration gas to allow the calibration gas to flow into the calibration environment; 2) When it is detected that the calibration gas flows to the mass flow controller, if the target calibration mode is the flow mode, control the mass flow controller to make the calibration gas flow to the probe to be calibrated according to the flow rate (changing or constant) of the output calibration gas. The mass flow controller counts the cumulative flow of the calibration gas flowing through the probe to be calibrated. When the cumulative flow is equal to the total flow threshold, the calibration in this flow mode ends; 3) When it is detected that the calibration gas flows to the mass flow controller, if the target calibration mode is the time mode, control the mass flow controller to make the calibration gas flow to the probe to be calibrated according to the flow rate (constant) of the output calibration gas. The mass flow controller counts the cumulative time of the calibration gas flowing through the probe to be calibrated. When the cumulative time is equal to the total time threshold, the calibration in this time mode ends.
[0042] Step S104: Monitor the real-time environmental parameters of the calibration environment. When the real-time environmental parameters are different from the initial environmental parameters, update the initial environmental parameters according to the real-time environmental parameters. After the calibration in the target calibration mode ends, return to execute the step of analyzing the initial environmental parameters and gas parameters until the calibration of the probe to be calibrated ends.
[0043] In this embodiment, the real-time environmental parameters may refer to the environmental parameters of the calibration environment during the process of calibrating the probe to be calibrated.
[0044] Specifically, during the calibration process, monitor the real-time environmental parameters of the calibration environment, compare the real-time environmental parameters with the initial environmental parameters, update the initial environmental parameters according to the comparison result to obtain new initial environmental parameters. After the calibration in the target calibration mode ends, execute the content in the above step S102 according to the new initial environmental parameters until the calibration termination condition is met, such as receiving an instruction to terminate the calibration, etc., and end the calibration of the probe to be calibrated.
[0045] Optionally, after monitoring the real-time environmental parameters of the calibration environment, if the air pressure value of the calibration environment is monitored to be lower than the preset pressure range, a low-pressure warning prompt is given; if the air pressure value of the calibration environment is monitored to be higher than the preset pressure range, a high-pressure warning prompt is given.
[0046] In this embodiment, it is automatically realized to determine the target calibration mode and the target parameter value of the corresponding target control parameter that better meet the actual calibration requirements and conditions according to the probe parameters, gas parameters and initial environmental parameters. Therefore, when controlling the calibration gas to calibrate the probe to be calibrated according to the determined target calibration mode and the target parameter value of the corresponding target control parameter, on the basis of improving the calibration efficiency, the calibration accuracy is also improved. During the calibration process, the target calibration mode is dynamically adjusted according to the monitored real-time environmental parameters, enhancing the flexibility and adaptability of the calibration and also improving the calibration efficiency.
[0047] As Figure 2 shown, it is a schematic flowchart of a calibration method for a gas probe provided by Embodiment 2 of the present invention. In the above step S102, the initial environmental parameters and gas parameters are analyzed to determine the calibration mode for calibrating the probe to be calibrated. According to the target calibration mode, determining the target control parameter for calibrating the probe to be calibrated may include the following steps:
[0048] Step S201: Determine the gas type of the calibration gas from the gas parameters, and determine the initial calibration mode according to the gas type.
[0049] Step S202: Adjust the initial calibration mode according to the initial environmental parameters to obtain the target calibration mode, and match the target control parameter from the parameter database according to the target calibration mode.
[0050] In this embodiment, the initial calibration mode may refer to the method or process adopted when calibrating the probe to be calibrated according to the gas type of the calibration gas. The parameter database is used to store the mapping relationship between the target calibration mode and the target control parameter.
[0051] Specifically, the initial calibration mode can be determined from the gas-mode mapping table according to the gas type of the calibration gas. The gas-mode mapping table can be used to store the mapping relationship between the gas type and the initial calibration mode;
[0052] For example, if the gas types monitored and alarmed by the probe to be calibrated are relatively stable gases such as oxygen and nitrogen, and their concentrations usually do not change much in the normal environment, then the probe to be calibrated needs to be calibrated more for its response ability in a stable gas environment. Then the preferred initial calibration mode can be determined from the gas-mode mapping table as the time mode;
[0053] If the gas type monitored and alarmed by the probe to be calibrated is a relatively unstable gas such as methane with toxicity or flammability and explosiveness, the changes in its concentration and flow rate may pose a threat to safety. Then, it is more necessary to calibrate the sensitivity of the probe to be calibrated in a gas environment with different flow rates. The preferred initial calibration mode can be determined as the flow mode from the gas-mode mapping table;
[0054] After determining the initial calibration mode, if the initial environmental parameters such as temperature and air pressure in the calibration environment affect the diffusion characteristics of the gas, thereby affecting the applicability of the calibration mode, the initial calibration mode can also be adjusted to obtain the target calibration mode;
[0055] For example, when the gas type is methane, in a low-pressure environment, the diffusion rate of methane may increase, and in a high-pressure environment, the diffusion rate may decrease. The initial calibration mode of methane is the flow mode. If the calibration environment is in a low-pressure environment, the probe needs to respond more sensitively to the rapidly changing gas concentration. Therefore, in this case, the flow mode is still appropriate because it can simulate the rapidly changing gas flow in the actual working environment; if the calibration environment is in a high-pressure environment, the diffusion rate of methane decreases and the gas flow is relatively stable. At this time, if the flow mode is still used for calibration, it may not be able to accurately evaluate the sensitivity of the probe due to the too slow gas flow rate. Therefore, in this case, the flow mode can be adjusted to the time mode.
[0056] In this embodiment, by comprehensively considering the gas type of the calibration gas and the initial environmental parameters to determine and adjust the calibration mode, the target calibration mode and the corresponding target control parameters are finally obtained, so that the determined target calibration mode not only conforms to the characteristics of the calibration gas but also adapts to the actual calibration environment, thereby improving the accuracy and efficiency of the calibration and enhancing the reliability and adaptability of the calibration result.
[0057] As Figure 3 shown, it is a schematic flowchart of a method for calibrating a gas probe provided in Embodiment 3 of the present invention. In the above step S103, according to the probe parameters, initial environmental parameters, and gas parameters, determining the target parameter value corresponding to the target control parameter may include the following steps:
[0058] Step S301: For any target control parameter, determine the parameter value range of the target control parameter according to the initial environmental parameters and gas parameters.
[0059] Step S302: According to the probe parameters, determine the target parameter value of the target control parameter from the parameter value range.
[0060] Specifically, according to the initial environmental parameters and gas parameters, query the parameter-parameter value mapping table to determine the parameter value range of the target control parameter. The parameter-parameter value mapping table is used to store the mapping relationship between the initial environmental parameters, gas parameters and the parameter value range of the target control parameter. Determine the service life and usage damage degree parameters of the probe to be calibrated from the probe parameters, perform a weighted summation operation on the service life and usage damage degree parameters to obtain a probe compensation coefficient, which is positively correlated with the service life and usage damage degree of the probe to be calibrated. Determine the intermediate value within this parameter value range. If the probe compensation coefficient exceeds the threshold, select the parameter value above the intermediate value within this parameter value range as the target parameter value. The reason is that if the probe compensation coefficient is larger, it indicates that the current performance of the probe to be calibrated is lower. Therefore, a higher target parameter value needs to be selected (such as selecting a faster flow rate to output the calibration gas, selecting a larger total gas flow rate (larger total flow rate threshold) flowing through the probe to be calibrated in the flow mode, and selecting a longer total gas time (larger total time threshold) flowing through the probe to be calibrated in the time mode) to ensure that the probe to be calibrated can still be calibrated effectively under the condition of lower performance. If the probe compensation coefficient does not exceed the threshold, select the parameter value below the intermediate value within this parameter value range as the target parameter value. The reason is that if the probe compensation coefficient is smaller, it indicates that the current performance of the probe to be calibrated is higher. Therefore, selecting a lower target parameter value can calibrate the probe to be calibrated.
[0061] In this embodiment, for any target control parameter, by comprehensively considering the initial environmental parameters, gas parameters and probe parameters (including service life and usage damage degree), the determined target parameter value not only integrates the influence of the calibration environment and gas characteristics, but also adapts to the current state of the probe itself, thereby improving the accuracy and efficiency of calibration, and enhancing the reliability and adaptability of the calibration result.
[0062] As Figure 4 shown, it is a schematic flowchart of a method for calibrating a gas probe provided in Embodiment 4 of the present invention. In the above step S103, in the initial calibration environment, according to the target parameter value corresponding to the target control parameter, control the calibration gas to flow to the probe to be calibrated to calibrate the probe to be calibrated in the target calibration mode, which may include the following steps:
[0063] Step S401: If the target calibration mode is the flow mode, count the cumulative flow rate of the calibration gas flowing through the probe to be calibrated.
[0064] Step S402: If the cumulative flow rate is equal to the total flow rate threshold, end the calibration in the flow mode.
[0065] In this embodiment, the cumulative flow rate may refer to the total flow rate of the calibration gas flowing through the probe to be calibrated, and the total flow rate threshold may refer to the target parameter value of the target control parameter, which is the total flow rate of the calibration gas flowing through the probe to be calibrated in the flow rate mode. The determination of this total flow rate threshold may refer to the content in step S103 above, or steps S301 to S302.
[0066] Specifically, if the target calibration mode is the flow rate mode, the target control parameters corresponding to the flow rate mode may include the flow velocity of the output calibration gas and the total flow rate of the calibration gas flowing through the probe to be calibrated. In the initial calibration environment, according to the specific flow velocity value (changing or constant) of the calibration gas, control the calibration gas to flow to the probe to be calibrated, and count the total flow rate of the calibration gas flowing through the probe to be calibrated. If the cumulative flow rate is equal to the total flow rate threshold, the calibration in the flow rate mode ends.
[0067] In this embodiment, if the target calibration mode is the flow rate mode, by outputting the calibration gas at a variable or constant flow velocity until the cumulative flow rate reaches the total flow rate threshold and then ending the calibration, the exposure amount and flow state of the gas during the calibration can be accurately controlled, ensuring the sufficiency and standardization of the calibration, helping to evaluate the sensitivity of the gas probe in different flow velocity environments, and improving the accuracy and reliability of the calibration result.
[0068] As Figure 5 shown, it is a schematic flowchart of a method for calibrating a gas probe provided in Embodiment 5 of the present invention. In step S103 above, in the initial calibration environment, according to the target parameter value of the corresponding target control parameter, control the calibration gas to flow to the probe to be calibrated to calibrate the probe to be calibrated in the target calibration mode. It may further include the following steps:
[0069] Step S501: If the calibration mode is the time mode, count the cumulative time of the calibration gas flowing through the probe to be calibrated.
[0070] Step S502: If the cumulative time is equal to the total time threshold, end the calibration in the time mode.
[0071] In this embodiment, the cumulative time may refer to the total time of the calibration gas flowing through the probe to be calibrated, and the total time threshold may refer to the target parameter value of the target control parameter, which is the total time of the calibration gas flowing through the probe to be calibrated in the time mode. The determination of this total time threshold may refer to the content in step S103 above, or steps S301 to S302.
[0072] Specifically, if the target verification mode is the time mode, the target control parameters corresponding to the time mode may include the flow rate of the output verification gas, the total time of the verification gas flowing through the probe to be verified, etc. In the initial verification environment, according to the specific flow rate value of the verification gas, control the verification gas to flow to the probe to be verified, and count the cumulative time of the verification gas flowing through the probe to be verified. If the cumulative time is equal to the total time threshold, the verification in the time mode ends.
[0073] In this embodiment, if the target verification mode is the time mode, by outputting the verification gas at a constant flow rate and ending the verification after a total time threshold, the flow rate and flow time of the gas during the verification can be precisely controlled, ensuring the sufficiency and standardization of the verification, helping to evaluate the response speed and stability of the gas probe in a stable gas environment, and improving the accuracy and reliability of the verification results.
[0074] As Figure 6 shown, it is a schematic flowchart of a method for verifying a gas probe provided in Embodiment 6 of the present invention. When the real-time environment parameters are different from the initial environment parameters in the above step S104, according to the real-time environment parameters, the initial environment parameters are updated. After the verification in the target verification mode ends, return to execute the step of analyzing the initial environment parameters and gas parameters until the verification of the probe to be verified ends, which may include the following steps:
[0075] Step S601: Compare the real-time environment parameters with the initial environment parameters for consistency to obtain a comparison result.
[0076] Step S602: If the comparison result does not meet the preset conditions, update the initial environment parameters according to the real-time environment parameters. After the verification in the target verification mode ends, return to execute the step of analyzing the initial environment parameters and gas parameters until the verification of the probe to be verified ends.
[0077] In this embodiment, the comparison result may refer to the result of comparing the real-time environment parameters with the initial environment parameters, and the preset conditions may refer to the conditions that need to be met for updating the initial environment parameters set in advance.
[0078] Specifically, the real-time environment parameters can be compared with the corresponding numerical values of the initial environment parameters. The comparison can be performed by calculating the difference, etc., to obtain the comparison result. If the comparison result shows that the difference between the real-time environment parameters and the corresponding numerical values of the initial environment parameters exceeds the threshold, it is determined that the comparison result does not meet the preset conditions, and the real-time environment parameters are used as the new initial environment parameters. After the verification in the target verification mode ends, return to execute the content in the above step S102 until the verification ends.
[0079] In the process of using the real-time environmental parameters as the new initial environmental parameters and returning to execute the content in step S102 above, since the real-time environmental parameters are used as the new initial environmental parameters, when analyzing the new initial environmental parameters and the gas parameters to determine the target calibration mode for the probe to be calibrated, due to the update of the initial environmental parameters, it may also cause a switch in the target calibration mode. For example, if the calibration gas is methane, under the initial environmental parameters, the calibration environment is a low-pressure environment, and the target calibration mode for methane is the flow mode. Then, in the process of calibrating the probe to be calibrated according to the flow mode using methane, due to continuous gas input, under the monitored real-time environmental parameters, the air pressure in the calibration environment will gradually increase. When it reaches the high-pressure environment, at this time, when analyzing according to the air pressure of the new initial environmental parameters, the target calibration mode can be switched from the flow mode to the time mode.
[0080] In this embodiment, by comparing the real-time environmental parameters and the initial environmental parameters and dynamically adjusting the initial environmental parameters accordingly, the switching of the target calibration mode is realized, which can flexibly adapt to the actual changes in the environmental conditions during the calibration process, improve the flexibility and adaptability of the calibration, and also improve the calibration efficiency.
[0081] As Figure 7 shown, a calibration device for a gas probe provided in Embodiment VII of the present invention corresponds one-to-one to the calibration method of the gas probe in the above embodiment. The calibration device for the gas probe includes an acquisition module 71, a mode determination module 72, a calibration module 73, and an update module 74. The detailed descriptions of each functional module are as follows:
[0082] The acquisition module 71 is configured to acquire the probe parameters of the probe to be calibrated and the initial environmental parameters of the calibration environment, and match the gas parameters of the corresponding calibration gas from the gas database according to the probe parameters;
[0083] The mode determination module 72 is configured to analyze the initial environmental parameters and the gas parameters, determine the target calibration mode for calibrating the probe to be calibrated, and determine the target control parameters for calibrating the probe to be calibrated according to the target calibration mode. The target calibration mode includes a flow mode and a time mode;
[0084] The calibration module 73 is configured to determine the target parameter values corresponding to the target control parameters according to the probe parameters, the initial environmental parameters, and the gas parameters, and control the calibration gas to flow to the probe to be calibrated according to the target parameter values corresponding to the target control parameters in the calibration environment, so as to calibrate the probe to be calibrated in the target calibration mode;
[0085] An update module 74, configured to monitor real-time environmental parameters of the calibration environment, and when the real-time environmental parameters are different from the initial environmental parameters, update the initial environmental parameters according to the real-time environmental parameters. After the calibration in the target calibration mode ends, return to execute the step of analyzing the initial environmental parameters and the gas parameters until the calibration of the probe to be calibrated ends.
[0086] Optionally, the above-mentioned mode determination module 72 includes:
[0087] An initial determination unit, configured to determine the gas type of the calibration gas from the gas parameters, and determine an initial calibration mode according to the gas type;
[0088] An adjustment unit, configured to adjust the initial calibration mode according to the initial environmental parameters to obtain the target calibration mode, and match the target control parameters from the parameter database according to the target calibration mode.
[0089] Optionally, the above-mentioned calibration module 73 includes:
[0090] A range determination unit, configured to determine the parameter value range of any target control parameter according to the initial environmental parameters and the gas parameters;
[0091] A parameter value determination unit, configured to determine the target parameter value of the target control parameter from the parameter value range according to the probe parameters.
[0092] Optionally, the above-mentioned calibration module 73 includes:
[0093] A first statistics unit, configured to, if the target calibration mode is the flow mode, statistics the cumulative flow rate of the calibration gas flowing through the probe to be calibrated;
[0094] A first control unit, configured to end the calibration in the flow mode if the cumulative flow rate is equal to the total flow rate threshold.
[0095] Optionally, the above-mentioned calibration module 73 further includes:
[0096] A second statistics unit, configured to, if the calibration mode is the time mode, statistics the cumulative time of the calibration gas flowing through the probe to be calibrated;
[0097] A second control unit, configured to end the calibration in the time mode if the cumulative time is equal to the total time threshold.
[0098] Optionally, the above-mentioned update module 74 includes:
[0099] A comparison unit for comparing the real-time environmental parameters with the initial environmental parameters to obtain a comparison result;
[0100] A judgment unit for, if the comparison result does not meet the preset conditions, updating the initial environmental parameters according to the real-time environmental parameters, and after the verification in the target verification mode is completed, returning to execute the step of analyzing the initial environmental parameters and the gas parameters until the verification of the probe to be verified is completed.
[0101] Optionally, the calibration device further includes:
[0102] A low-pressure warning module for giving a low-pressure warning prompt if it is detected that the air pressure value of the calibration environment is lower than the preset pressure range;
[0103] A high-pressure warning module for giving a high-pressure warning prompt if it is detected that the air pressure value of the calibration environment is higher than the preset pressure range.
[0104] For the specific limitations of the calibration device for the gas probe, reference can be made to the limitations of the calibration method for the gas probe in the above text, which will not be elaborated here. Each module in the above calibration device for the gas probe can be implemented in whole or in part through software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.
[0105] Figure 8 This is a schematic structural diagram of a computer device provided in Embodiment VIII of the present invention. As Figure 8 shown, the computer device of this embodiment includes: at least one processor ( Figure 8 only one is shown in the figure), a memory, and a computer program stored in the memory and executable on at least one processor. When the processor executes the computer program, the steps in any of the above embodiments of the calibration method for the gas probe are implemented.
[0106] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 8 merely examples of computer devices are given here, which do not constitute a limitation on computer devices. A computer device may include more or fewer components than shown in the figure, or combine some components, or different components. For example, it may also include a network interface, a display screen, and an input device, etc.
[0107] The so-called processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0108] The memory includes a readable storage medium, an internal memory, etc. Among them, the internal memory may be the memory of the computer device, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be the hard disk of the computer device, and in some other embodiments, it may also be an external storage device of the computer device. For example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Further, the memory may also include both the internal storage unit of the computer device and the external storage device. The memory is used to store the operating system, application programs, a boot loader, data, and other programs, such as the program code of a computer program. The memory may also be used to temporarily store the data that has been output or will be output.
[0109] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present invention. The specific working processes of the units and modules in the above device can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above method embodiments of the present invention, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0110] All or part of the processes in the above method embodiments of the present invention can also be completed by a computer program product. When the computer program product runs on a computer device, the computer device can be made to execute the steps in the above method embodiments.
[0111] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0112] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0113] In the embodiments provided by the present invention, it should be understood that the disclosed device / computer equipment and method can be implemented in other ways. For example, the device / computer equipment embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0114] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0115] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A gas probe calibration method, characterized in that: include: Acquire probe parameters of the probe to be calibrated and initial environmental parameters of the calibration environment, and match gas parameters of the corresponding calibration gas from the gas database according to the probe parameters; Analyze the initial environmental parameters and the gas parameters to determine a target calibration mode for calibrating the probe to be calibrated, and determine target control parameters for calibrating the probe to be calibrated according to the target calibration mode, wherein the target calibration mode includes a flow mode and a time mode; Determine a target parameter value corresponding to a target control parameter according to the probe parameter, the initial environment parameter and the gas parameter, and control the calibration gas to flow to the probe to be calibrated according to the target parameter value corresponding to the target control parameter under the calibration environment, so as to calibrate the probe to be calibrated in the target calibration mode; Monitor the real-time environmental parameters of the calibration environment, and when the real-time environmental parameters are different from the initial environmental parameters, update the initial environmental parameters according to the real-time environmental parameters, and after the calibration in the target calibration mode is completed, return to execute the step of analyzing the initial environmental parameters and the gas parameters until the calibration of the probe to be calibrated is completed.
2. The gas probe calibration method according to claim 1, characterized in that: The analyzing the initial environmental parameters and the gas parameters to determine a calibration mode for calibrating the probe to be calibrated, and determining a target control parameter for calibrating the probe to be calibrated according to the target calibration mode, comprises: Determining a gas type of the calibration gas from the gas parameters, and determining an initial calibration mode according to the gas type; The initial verification mode is adjusted according to the initial environmental parameters to obtain the target verification mode, and the target control parameters are matched from a parameter database according to the target verification mode.
3. The gas probe calibration method according to claim 1, characterized in that: Determining a target parameter value of a corresponding target control parameter according to the probe parameter, the initial environment parameter and the gas parameter comprises: For any target control parameter, determining a parameter value range of the target control parameter according to the initial environment parameter and the gas parameter; A target parameter value of the target control parameter is determined from the parameter value range according to the probe parameter.
4. The gas probe calibration method according to claim 1, characterized in that: The method of controlling the calibration gas to flow to the probe to be calibrated under the calibration environment according to the target parameter value of the corresponding target control parameter, so as to calibrate the probe to be calibrated in the target calibration mode, includes: If the target calibration mode is the flow mode, the cumulative flow of the calibration gas flowing through the probe to be calibrated is counted; If the accumulated flow is equal to the total flow threshold, the verification under the flow mode is terminated.
5. The gas probe calibration method according to claim 1, characterized in that: The method further comprises: controlling the calibration gas to flow to the probe to be calibrated according to the target parameter value of the corresponding target control parameter under the calibration environment, so as to calibrate the probe to be calibrated in the target calibration mode; If the calibration mode is the time mode, the cumulative time of the calibration gas flowing through the probe to be calibrated is counted; If the accumulated time is equal to the total time threshold, the verification in the time mode is terminated.
6. The gas probe calibration method according to claim 1, characterized in that: When the real-time environmental parameter is different from the initial environmental parameter, the initial environmental parameter is updated according to the real-time environmental parameter, and after the verification in the target verification mode is completed, the step of analyzing the initial environmental parameter and the gas parameter is returned to be executed until the verification of the probe to be verified is completed, including: Comparing the real-time environment parameters with the initial environment parameters to obtain a comparison result; If the comparison result does not meet the preset conditions, the initial environmental parameters are updated according to the real-time environmental parameters. After the verification in the target verification mode is completed, the step of analyzing the initial environmental parameters and the gas parameters is returned to execute until the verification of the probe to be verified is completed.
7. The gas probe calibration method according to claim 1, characterized in that: After monitoring the real-time environmental parameters of the verification environment, the method further includes: If the air pressure value of the calibration environment is detected to be lower than the preset pressure range, a low pressure warning prompt is issued; If the air pressure value of the calibration environment is monitored to be higher than the preset pressure range, a high pressure warning prompt is issued.
8. A gas probe calibration device, characterized in that: include: An acquisition module is used to acquire probe parameters of the probe to be calibrated and initial environmental parameters of the calibration environment, and match gas parameters of the corresponding calibration gas from the gas database according to the probe parameters; A mode determination module, used for analyzing the initial environmental parameters and the gas parameters, determining a target calibration mode for calibrating the probe to be calibrated, and determining a target control parameter for calibrating the probe to be calibrated according to the target calibration mode, wherein the target calibration mode includes a flow mode and a time mode; A calibration module, configured to determine a target parameter value of a corresponding target control parameter according to the probe parameter, the initial environment parameter and the gas parameter, and to control the calibration gas to flow to the probe to be calibrated according to the target parameter value of the corresponding target control parameter under the calibration environment, so as to calibrate the probe to be calibrated in the target calibration mode; An update module is used to monitor the real-time environmental parameters of the calibration environment. When the real-time environmental parameters are different from the initial environmental parameters, the initial environmental parameters are updated according to the real-time environmental parameters. After the calibration in the target calibration mode is completed, the update module returns to execute the step of analyzing the initial environmental parameters and the gas parameters until the calibration of the probe to be calibrated is completed.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the gas probe calibration method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the gas probe calibration method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Domestic gas detector verification method and system
CN117571924A
Electric energy quality and voltage monitoring device intelligent verification system based on automation
CN117949881A