Calibration method and system of gas alarm, intelligent terminal and storage medium

By obtaining gas analyzer data in real time, calibrating the gas alarm, adjusting the gas injection rate and time, solving the impact of gas injection rate and time on gas concentration during the calibration process in the prior art, improving the accuracy of calibration and simplifying the step.

CN119028105AInactive Publication Date: 2024-11-26NINGBO KESAIDI ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410974435.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the calibration process of existing gas alarms, the gas injection rate and gas injection time have a greater impact on the gas concentration in the closed container, resulting in increased calibration difficulty and lower accuracy.

Method used

The calibration control board is connected to the gas analyzer to obtain the gas concentration data in the confined space in real time, and calibrate according to the measured concentration data and real-time concentration data, adjust the gas injection rate and gas injection time, and achieve accurate calibration of the gas alarm.

Benefits of technology

The calibration steps are simplified, the calibration difficulty is reduced, and the calibration accuracy is improved, allowing the gas alarm to calibrate according to the real-time gas concentration, reducing the sensitivity to gas injection speed and total amount.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119028105A_ABST
    Figure CN119028105A_ABST
Patent Text Reader

Abstract

The invention relates to a gas alarm calibration method and system, an intelligent terminal and a storage medium, and relates to the technical field of alarms, and the method comprises the following steps: executing a calibration step: introducing calibration gas into a closed space through a calibration control panel, and arranging at least two gas alarms in the closed space, the calibration control panel is connected with at least two gas alarms through a control bus; real-time concentration data of the gas analyzer are extracted, the real-time concentration data are provided for the gas alarm through the calibration control panel, the gas analyzer is used for measuring the gas concentration in the closed space, and the calibration control panel is further connected with the gas analyzer; calibrating the gas alarm according to the measured concentration data and the real-time concentration data detected by the gas alarm; and repeating the calibration steps after the calibration of the gas alarm is completed and a preset time length is passed. The method has the effects of simplifying the calibration steps and improving the calibration accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of alarm technology, and in particular to a calibration method, system, intelligent terminal and storage medium for a gas alarm. Background Art

[0002] Gas alarms are closely related to factory safety, fire safety, and resident safety, so it is very necessary to ensure that gas alarms can work normally.

[0003] Before the gas alarm is put into use, the relevant technology will calibrate the gas alarm so that it can be triggered at the correct alarm threshold. The relevant technology will place the gas alarm in a sealed container, and then slowly introduce the calibration gas into the sealed container until the gas concentration in the sealed container is consistent with the alarm threshold set by the gas alarm. The gas alarm will record the gas concentration at this time and use it as the alarm threshold.

[0004] Regarding the above-mentioned related technologies, the inventors believe that the related technologies have high requirements for the gas injection process. The gas injection rate and injection time have a great influence on the gas concentration in the closed container. Therefore, the gas injection speed needs to be strictly controlled, which not only increases the difficulty of calibration, but also reduces the calibration accuracy. Summary of the invention

[0005] In order to simplify the calibration steps and improve the accuracy of calibration, the present application provides a calibration method, system, intelligent terminal and storage medium for a gas alarm.

[0006] In a first aspect, the present application provides a gas alarm calibration method, which adopts the following technical solution: A gas alarm calibration method, comprising: Perform the calibration steps; The calibration step includes: passing calibration gas into a confined space through a calibration control panel, wherein at least two gas alarms are arranged in the confined space, and the calibration control panel is connected to at least two of the gas alarms through a control bus; extracting real-time concentration data of a gas analyzer, and providing the real-time concentration data to the gas alarm through the calibration control panel, wherein the gas analyzer is used to measure the gas concentration in the confined space, and the calibration control panel is also connected to the gas analyzer; calibrating the gas alarm according to the measured concentration data and the real-time concentration data detected by the gas alarm; After the calibration of the gas alarm is completed and a preset time has passed, the above calibration steps are repeated.

[0007] By adopting the above technical solution, when calibrating the gas alarm, the real-time gas concentration in the enclosed space can be obtained in real time through the gas analyzer, and the real-time gas concentration can be provided to the gas alarm, so that the gas alarm can be calibrated according to the real-time gas concentration. Therefore, this application is not sensitive to the injection speed and total amount of the calibration gas, which can simplify the calibration steps and reduce the difficulty of calibration. And because the gas analyzer can accurately measure the gas concentration, the calibrated gas alarm is more accurate.

[0008] Optionally, providing the gas alarm with first real-time concentration data and a first moment corresponding to the first real-time concentration data, the first moment being a moment after the concentration of the calibration gas in the confined space reaches stability; Finding first measured concentration data corresponding to a first moment; Calibrate the gas alarm according to the difference between the first measured concentration data and the first real-time concentration data; If the difference between the second measured concentration data and the second real-time concentration data is less than the preset value, the calibration of the gas alarm is completed, the second measured concentration data corresponds to the second moment, and the second real-time concentration data corresponds to the second moment, and the second moment is later than the first moment.

[0009] By adopting the above technical solution, whether the gas alarm has been calibrated is determined based on the condition that the measured concentration data and the real-time concentration data are the same. There is no need to strictly follow the alarm threshold of the gas alarm to complete the calibration, and more flexible calibration can be achieved.

[0010] Optionally, providing calibration start information to at least two gas alarms so that the gas alarms enter a calibration state, the calibration start information including a calibration start notification and clock data; using the clock data to calibrate system clocks of at least two gas alarms; Calibrate the zero state of at least two gas alarms and generate status feedback information after the gas alarms are calibrated; In the case where at least two gas alarms generate status feedback information, a step of controlling calibration gas to enter the confined space is performed.

[0011] By adopting the above technical solution, the clock synchronization of the gas alarm is completed before the gas alarm is calibrated, and the zero point state of the gas alarm is calibrated, so that the calibration result of the gas alarm is more accurate.

[0012] Optionally, a first measured electrical parameter corresponding to the first measured gas concentration data is calculated according to a first preset conversion formula, the first preset conversion formula being used to convert the gas concentration data output by the gas alarm into an electrical parameter; Calculating a first actual electrical parameter corresponding to the first actual gas concentration data according to a first preset conversion formula; Calculating a difference between the first measured electrical parameter and the first actual electrical parameter to obtain an electrical parameter difference; The second preset conversion formula of the gas alarm is updated according to the electrical parameter difference to complete the calibration of the gas alarm. The first preset conversion formula is used to convert the electrical parameters of the gas alarm into gas concentration data.

[0013] By adopting the above technical solution, the alarm threshold inside the gas alarm can be adjusted to improve the accuracy of the gas alarm.

[0014] Optionally, after completing the kth calibration, obtaining the kth steady-state concentration data when the concentration of the calibration gas in the confined space reaches stability, as well as the kth gas injection rate and the kth gas injection time, where k is a positive integer; According to the difference between the kth steady-state concentration data and the preset concentration data, the kth gas injection rate and the kth gas injection time are adjusted to obtain the k+1th gas injection rate and the k+1th gas injection time used for the k+1th calibration.

[0015] By adopting the above technical solution, the gas injection rate and the gas injection time can be adjusted between two calibration actions, so that the next gas injection process can fill the calibration gas into the closed space to achieve the preset concentration data.

[0016] Optionally, after the gas alarm has been calibrated at least once and at a third moment, the target real-time concentration data of the gas analyzer and the target measured concentration data of the gas alarm are obtained, and the third moment is the moment when the calibration gas is introduced into the confined space; Through the gas diffusion model, according to the remaining gas injection time, the gas injection rate, the position of the gas inlet of the confined space, the position of the gas analyzer in the confined space, and the position of the gas alarm in the confined space, the target real-time concentration data and the target measured concentration data are processed to obtain the predicted steady-state concentration data. The predicted steady-state concentration data is used to indicate the gas concentration of the calibration gas in the confined space when it reaches a steady state after the calibration gas is introduced into the confined space; The gas injection rate and injection time are adjusted in real time according to the predicted steady-state concentration data and the preset concentration data.

[0017] By adopting the above technical solution, the injection rate and injection time are adjusted during gas injection, so that calibration gas with preset concentration data can be obtained in a closed space, which is helpful for the implementation of the calibration process and can improve the accuracy of the calibration.

[0018] Optionally, obtaining a set of measured concentration data of the gas alarm within a preset historical period according to the third moment; Generate a fitting curve based on the measured concentration data set, where the fitting curve is a smooth curve of the measured concentration data provided by the gas alarm changing over time; Finding the fitted measured concentration data corresponding to the third moment in the fitted curve; The target measured concentration data is updated using the fitted measured concentration data.

[0019] By adopting the above technical solution, the fitted measurement concentration data can be obtained through the data of the historical period. Due to the limited measurement accuracy of the gas alarm itself, the fitted measurement concentration data is more in line with the actual situation and has higher accuracy. Therefore, this technical solution can improve the accuracy of calibration.

[0020] In a second aspect, the present application provides a gas alarm calibration system, which adopts the following technical solution: A gas alarm calibration system, comprising: An acquisition module, used to acquire real-time concentration data, measured concentration data, calibration startup information, a first preset conversion formula, a second preset conversion formula, the kth steady-state concentration data, the kth gas injection rate, the kth gas injection time, and the position of the gas inlet; A memory for storing a program of the calibration method of the gas alarm as described in the above embodiment; The program in the processor memory can be loaded and executed by the processor to implement the calibration method of the gas alarm as described in the above embodiment.

[0021] In a third aspect, the present application provides a smart terminal, which adopts the following technical solution: An intelligent terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor as described in the above embodiment.

[0022] In a fourth aspect, the present application provides a computer storage medium capable of storing a corresponding program, which is convenient for simplifying the calibration steps and improving the accuracy of the calibration, and adopts the following technical solutions: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned gas alarm calibration methods.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. When calibrating a gas alarm, the real-time gas concentration in the confined space can be obtained through a gas analyzer, and the real-time gas concentration can be provided to the gas alarm, so that the gas alarm can be calibrated according to the real-time gas concentration. Therefore, this application is not sensitive to the injection speed and total amount of the calibration gas, which can simplify the calibration steps and reduce the difficulty of calibration. And because the gas analyzer can accurately measure the gas concentration, the calibrated gas alarm is more accurate; 2. Before calibrating the gas alarm, the clock synchronization of the gas alarm is completed, and the zero point state of the gas alarm is calibrated, making the calibration result of the gas alarm more accurate; 3. Between two calibration actions, the gas injection rate and injection time can be adjusted so that the next gas injection process can fill the closed space with calibration gas to achieve the preset concentration data. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a structural schematic diagram of a calibration system for a gas alarm provided in an embodiment of the present application.

[0025] Figure 2 It is a flow chart of a gas alarm calibration method provided in an embodiment of the present application.

[0026] Figure 3 It is a flow chart of a gas alarm calibration method provided in an embodiment of the present application.

[0027] Figure 4 It is a flow chart of a method for updating gas injection rate and gas injection time provided in an embodiment of the present application.

[0028] Figure 5 It is a flow chart of a gas alarm calibration method provided in an embodiment of the present application.

[0029] Figure 6 It is a flow chart of a gas injection calibration method provided in an embodiment of the present application.

[0030] Figure 7 It is a flow chart of a method for updating target measurement concentration data provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-7 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0032] The present application embodiment discloses a structural schematic diagram of a gas alarm calibration system. Figure 1 The system includes a calibration control panel 110 , a gas alarm 120 and a gas analyzer 130 .

[0033] The calibration control board 110 is used to control the behavior of other devices in the calibration system. In some embodiments, the calibration control board 110 is connected to at least two gas alarms 120 via a control bus; the calibration control board 110 is also connected to a gas analyzer 130 .

[0034] The gas alarm 120 is placed in a sealed container 140, and the sealed container 140 can form a sealed space inside. In some embodiments, a data transmission interface is provided on the gas alarm 120, and the calibration control board 110 communicates with the gas alarm 120 through the data transmission interface.

[0035] The gas analyzer 130 is used to detect the gas concentration of various gases in the sealed container 140. The gas analyzer 130 transmits the detected gas concentration to the calibration control board 110.

[0036] In some embodiments, the system further includes a gas generator 150, which is used to generate calibration gas, and the calibration gas is a gas detectable by the gas alarm 120. Optionally, the calibration control board 110 can control the gas generator 150 to work or stop working. Exemplarily, the gas generator 150 passes the calibration gas into the sealed container 140 according to the instruction of the calibration control board 110.

[0037] The present application embodiment discloses a flow chart of a gas alarm calibration method. Figure 2 , the method comprising: Step S21: Execute the calibration step.

[0038] The calibration step includes the following steps S211 to S213.

[0039] Step S211: Calibration gas is introduced into a closed space through a calibration control board. At least two gas alarms are arranged in the closed space. The calibration control board is connected to the at least two gas alarms through a control bus.

[0040] The positions of gas alarms in a confined space can be randomly distributed or distributed according to a preset rule.

[0041] In some embodiments, the enclosed space is implemented by a closed container, for example, please refer to Figure 1 A closed space is formed inside the closed container 140.

[0042] In some embodiments, before the calibration gas is introduced into the enclosed space, preset concentration data of the calibration gas needs to be set in advance, so that after the calibration gas is introduced, the gas concentration of the calibration gas in the enclosed space can reach the preset concentration data.

[0043] In some embodiments, the calibration control panel can set the injection rate and injection time of the calibration gas. Optionally, in the first calibration, the injection rate and injection time can be determined based on historical data stored in the calibration control panel, or can be manually input by the user.

[0044] In some embodiments, the calibration control panel can adjust the injection rate and injection time of the calibration gas by controlling the opening of the gas injection valve.

[0045] Step S212: extracting the real-time concentration data of the gas analyzer, and providing the real-time concentration data to the gas alarm through the calibration control board, the gas analyzer is used to measure the gas concentration in the confined space, and the calibration control board is also connected to the gas analyzer.

[0046] The gas analyzer may measure the gas concentration at only one point in the enclosed space, or may measure the gas concentration at multiple points in the enclosed space, which is not specifically limited in this embodiment.

[0047] After generating real-time concentration data, the gas analyzer sends the real-time concentration data to the calibration control board, and the calibration control board then sends the real-time concentration data to the gas alarm through the control bus. Among them, the gas analyzer and the gas alarm are not connected.

[0048] In some embodiments, when the gas analyzer generates real-time concentration data, it also generates a timestamp, which is used to record the time when the real-time concentration data is generated. The gas analyzer packages the timestamp and the real-time concentration data to obtain a first data packet, and sends the first data packet to the calibration control board. The calibration control board then forwards the first data packet to the gas alarm.

[0049] Optionally, if the gas analyzer and the gas alarm use different encryption and decryption algorithms, before the calibration control board forwards the first data packet to the gas alarm, the calibration control board may use the first algorithm to decrypt the first data packet to obtain the timestamp and real-time concentration data; the calibration control board then uses the second algorithm to encrypt the timestamp and real-time concentration data to obtain the second data packet; the calibration control board sends the second data packet to the gas analyzer. The first algorithm is the encryption and decryption algorithm supported by the gas analyzer, and the second algorithm is the encryption and decryption algorithm supported by the gas alarm.

[0050] Step S213: Calibrate the gas alarm according to the measured concentration data and real-time concentration data detected by the gas alarm.

[0051] In some embodiments, after the gas enters the confined space, it needs time to diffuse in the confined space to make the gas concentration in each place in the confined space the same so as to stabilize the reading of the gas analyzer. Therefore, this embodiment also provides a gas alarm calibration method, which includes steps S2301 to S2304, and the specific contents are as follows: Step S2301: Provide the gas alarm with first real-time concentration data and a first moment corresponding to the first real-time concentration data, wherein the first moment is the moment after the concentration of the calibration gas in the enclosed space reaches stability.

[0052] In some embodiments, the calibration control board can record the real-time concentration data sent by the gas analyzer and store it in a memory. When the first real-time concentration data is received, a real-time concentration data set close to the first real-time concentration data is obtained in the memory according to the first timestamp corresponding to the first real-time concentration data, wherein the difference between the second timestamp of the data in the real-time concentration data set and the first timestamp is less than a preset value, and the second timestamp is generated before the first timestamp, and the number of data in the real-time concentration data set is a preset fixed value. The variance of the real-time concentration data set is calculated. If the variance is less than the preset variance, it is considered that the concentration of the calibration gas in the confined space has reached stability.

[0053] Step S2302: searching for first measured concentration data corresponding to the first moment.

[0054] In some embodiments, the gas alarm internally stores a correspondence between measured concentration data and timestamps, and the gas alarm may use the first moment to search for the first measured concentration data in the aforementioned correspondence.

[0055] Step S2303: calibrate the gas alarm according to the difference between the first measured concentration data and the first real-time concentration data.

[0056] In some embodiments, the mutual conversion between electrical parameters and gas concentration data can be achieved by setting a first preset conversion formula and a second preset conversion formula inside the gas alarm. According to the first preset conversion formula, the first measured electrical parameter corresponding to the first measured gas concentration data is calculated. The first preset conversion formula is used to convert the gas concentration data output by the gas alarm into electrical parameters. According to the first preset conversion formula, the first actual electrical parameter corresponding to the first actual gas concentration data is calculated. The difference between the first measured electrical parameter and the first actual electrical parameter is calculated to obtain the electrical parameter difference. The second preset conversion formula of the gas alarm is updated according to the electrical parameter difference to complete the calibration of the gas alarm. The first preset conversion formula is used to convert the electrical parameters of the gas alarm into gas concentration data.

[0057] Step S2304: If the difference between the second measured concentration data and the second real-time concentration data is less than the preset value, the calibration of the gas alarm is completed, the second measured concentration data corresponds to the second moment, and the second real-time concentration data corresponds to the second moment, and the second moment is later than the first moment.

[0058] The preset value is a fixed value set in advance, and the value of the preset value can be adjusted according to actual needs.

[0059] In some embodiments, if the difference between the second measured concentration data and the second real-time concentration data is greater than or equal to a preset value, it is considered that the calibration of the gas alarm is not completed and it is necessary to return to step S2301.

[0060] To sum up, by adopting the above technical solution, whether the gas alarm has been calibrated can be judged based on the condition that the measured concentration data and the real-time concentration data are the same. It is not necessary to strictly follow the alarm threshold of the gas alarm to complete the calibration, and more flexible calibration can be achieved.

[0061] Step S22: After the calibration of the gas alarm is completed and a preset time has passed, the above calibration steps are repeated.

[0062] In some embodiments, after completing one calibration, the calibration gas in the enclosed space will not be cleared, but the calibration gas will continue to be introduced into the enclosed space on the basis of the original calibration gas. Therefore, as the number of calibrations increases, the gas concentration of the calibration gas in the enclosed space will also increase. Exemplarily, after completing the first calibration, the gas concentration of the calibration gas is 0.5%; after completing the second calibration, the gas concentration of the calibration gas is 1%. Therefore, the present embodiment can also set a variety of different preset concentration data to calibrate the gas alarm, and the gas alarm can be calibrated under different gas concentrations, reducing the impact of gas concentration on the calibration process, thereby improving the accuracy of the calibration.

[0063] In some other embodiments, the gas alarm is provided with an early warning function. When the gas alarm detects that the difference between the measured concentration data and the early warning threshold is less than a preset value, and the rising rate of the measured concentration data in the historical period is greater than a preset rate, the gas alarm will generate an early warning signal. The early warning threshold is less than the alarm threshold.

[0064] In some embodiments, during the a-th calibration process, the steady-state concentration data when the concentration of the calibration gas in the enclosed space reaches stability is the warning threshold of the gas alarm. During the b-th calibration process, the steady-state concentration data when the concentration of the calibration gas in the enclosed space reaches stability is the alarm threshold of the gas alarm, a is less than b, and a and b are positive integers. Therefore, this embodiment can calibrate the warning threshold and the alarm threshold at the same time.

[0065] In some embodiments, after each calibration, the injection rate and injection time of the calibration gas can be adjusted according to the steady-state concentration data and the preset concentration data, so that the gas concentration of the calibration gas in the confined space can reach the preset concentration data during the next calibration. Although the embodiment of the present application is not sensitive to the injection rate and injection time of the calibration gas, controlling the injection rate and injection time can provide technicians with more information to facilitate the calibration of the gas alarm. Therefore, this embodiment also provides a method for updating the injection rate and injection time, which includes steps S2401 to S2402, and the specific contents are as follows: Step S2401: After completing the kth calibration, obtain the kth steady-state concentration data when the concentration of the calibration gas in the enclosed space reaches stability, as well as the kth gas injection rate and the kth gas injection time, where k is a positive integer.

[0066] In some embodiments, the steady-state concentration data is not necessarily the same as the preset concentration data. Therefore, in order to ensure that the steady-state concentration data is consistent with the preset concentration data, the gas injection rate and the gas injection time need to be adjusted.

[0067] Step S2402: According to the difference between the kth steady-state concentration data and the preset concentration data, the kth gas injection rate and the kth gas injection time are adjusted to obtain the k+1th gas injection rate and the k+1th gas injection time used for the k+1th calibration.

[0068] Optionally, in the actual operation process, there may be data with large errors in the steady-state concentration data obtained by each calibration, so the steady-state concentration data needs to be screened. Perform clustering operation on the k-th steady-state concentration data to obtain clustering results; according to the difference between the clustering results and the preset concentration data, adjust the k-th gas injection rate and the k-th gas injection time to obtain the k+1-th gas injection rate and k+1-th gas injection time used for the k+1-th calibration.

[0069] In some other embodiments, the embodiments of the present application can also determine a gas alarm that has failed. Receive the measured gas concentration data sent by the gas alarm; determine the abnormal gas concentration data in the measured gas concentration data according to the difference between the actual gas concentration data and the measured gas concentration data; obtain the measured historical gas concentration data of the target gas alarm corresponding to the abnormal gas concentration data within the historical period, and the actual historical gas concentration data within the historical period; determine the abnormal historical gas concentration data in the measured historical gas concentration data according to the difference between the actual historical gas concentration data and the measured historical gas concentration data; if the ratio of the abnormal historical gas concentration data to the actual historical gas concentration data is greater than or equal to the preset judgment threshold, determine that the target gas alarm is working abnormally; if the ratio of the abnormal historical gas concentration data to the actual historical gas concentration data is less than the preset judgment threshold, determine that the target gas alarm is working normally.

[0070] In summary, by adopting the above technical solution, when calibrating the gas alarm, the real-time gas concentration in the enclosed space can be obtained in real time through the gas analyzer, and the real-time gas concentration can be provided to the gas alarm, so that the gas alarm can be calibrated according to the real-time gas concentration. Therefore, this application is not sensitive to the injection speed and total amount of the calibration gas, which can simplify the calibration steps and reduce the difficulty of calibration. And because the gas analyzer can accurately measure the gas concentration, the calibrated gas alarm is more accurate.

[0071] In the following embodiments, before calibrating the gas alarm, it is also necessary to synchronize the system clock of the gas alarm and calibrate the zero state of each gas alarm to improve the accuracy of subsequent calibration. The present application embodiment discloses a flow chart of a gas alarm calibration method. Referring to the figure, the method includes: Step S510: providing calibration start information to at least two gas alarms to put the gas alarms into a calibration state, wherein the calibration start information includes a calibration start notification and clock data.

[0072] Optionally, the calibration start information is generated by the calibration control board. The calibration control board sends the calibration start information to the gas alarm, and the gas alarm enters the calibration state according to the calibration start notification in the calibration start information.

[0073] The calibration state refers to the state in which the gas alarm can modify the detected gas concentration. The gas alarm can only be calibrated in the calibration state.

[0074] The clock data is generated according to the system clock of the calibration control board. Optionally, the clock data includes timestamp information of the calibration control board.

[0075] Step S520: Use the clock data to calibrate the system clocks of at least two gas alarms.

[0076] In some embodiments, the calibration control board sends calibration start information to the gas alarm, and the calibration start information also includes calibration start information of the calibration control board sending a synchronization message; the calibration control board will send a delayed response message to the gas alarm based on the delay request message returned by the gas alarm, the delayed request message includes a second timestamp when the gas alarm sends the delay request message, and the delayed response message includes a third timestamp when the calibration control board receives the delay request message. The delayed response message is used by the gas alarm to synchronize the system clock of the calibration control board and the gas alarm according to the transmission delay, and the transmission delay is obtained based on the difference between the second timestamp and the third timestamp.

[0077] Step S530: calibrate the zero point status of at least two gas alarms, and generate status feedback information after the gas alarms are calibrated.

[0078] Zero state refers to the gas concentration detected by the gas alarm without calibration gas. In the zero state, the gas alarm should display zero gas concentration or a gas concentration extremely close to zero.

[0079] The status feedback information is generated by the gas alarm and sent to the calibration control board. The status feedback information is used to indicate that the gas alarm has completed the calibration of the zero state.

[0080] In some embodiments, if a sealed container is used to create a closed space, the calibration control panel controls the air entering the sealed container and simultaneously opens the air outlet of the sealed container, allowing air to pass through the sealed container and take away the calibration gas in the sealed container.

[0081] Step S540: When at least two gas alarms generate status feedback information, execute the step of controlling calibration gas to enter the confined space.

[0082] In some other embodiments, if a gas alarm does not generate status feedback information within a preset time period, the gas alarm is marked as a fault state and the fault state is displayed on a display screen to notify relevant technicians.

[0083] In summary, by adopting the above technical solution, the clock synchronization of the gas alarm is completed before the gas alarm is calibrated, and the zero point state of the gas alarm is calibrated, so that the calibration result of the gas alarm is more accurate.

[0084] In the following embodiments, the present application can also adjust the gas injection rate and gas injection time during the ventilation process, so that the gas concentration of the calibration gas in the closed space can reach a preset concentration. The present application embodiment discloses a flow chart of a gas injection calibration method. Figure 6, the method comprising: Step S610: The gas alarm has been calibrated at least once and at a third moment, the target real-time concentration data of the gas analyzer and the target measured concentration data of the gas alarm are obtained. The third moment is the moment when the calibration gas is introduced into the confined space.

[0085] In this embodiment, after the gas alarm is calibrated once, the gas alarm is regarded as a gas analyzer with lower accuracy, and the measured concentration data detected by the gas alarm is used as the gas concentration at the location of the gas alarm in the enclosed space.

[0086] Optionally, at the third moment, the calibration control panel still controls the gas generator to introduce calibration gas into the enclosed space.

[0087] In some embodiments, due to the fact that the accuracy of the gas alarm is lower than that of the gas analyzer, the gas concentration detected by the gas analyzer often has an error with the actual gas concentration. In order to minimize this error, the embodiment of the present application uses the data of the gas alarm in the historical period to correct the data detected by the gas alarm to improve the reading accuracy of the gas alarm. Therefore, the embodiment of the present application provides a method for updating target measurement concentration data, which includes steps S6101 to S6104, and the specific contents are as follows: Step S6101: Obtain a set of measured concentration data of the gas alarm within a preset historical period according to the third moment.

[0088] The preset historical period refers to a period with the third moment as an endpoint, and during the preset historical period, the calibration gas is still injected into the confined space.

[0089] Step S6102: Generate a fitting curve based on the measured concentration data set. The fitting curve is a smooth curve of the measured concentration data provided by the gas alarm changing over time.

[0090] In some embodiments, abnormal data in the measured concentration data set is removed, the abnormal data including at least one of an isolated value, a deviation value, a value greater than a maximum threshold, and a value less than a minimum threshold.

[0091] Step S6103: searching the fitting measured concentration data corresponding to the third moment in the fitting curve.

[0092] In some embodiments, the fitting curve has time as the horizontal axis and gas concentration as the vertical axis. Therefore, the fitting measured concentration data can be determined in the fitting curve at the third moment.

[0093] Step S6104: Use the fitted measured concentration data to update the target measured concentration data.

[0094] In some embodiments, the fitted measured concentration data is used to replace the target measured concentration data, or the mean of the fitted measured concentration data and the target measured concentration data is used to replace the target measured concentration data.

[0095] In summary, by adopting the above technical solution, the fitted measurement concentration data can be obtained through the data of the historical period. Due to the limited measurement accuracy of the gas alarm itself, the fitted measurement concentration data is more in line with the actual situation and has higher accuracy. Therefore, this technical solution can improve the accuracy of calibration.

[0096] Step S620: Through the gas diffusion model, according to the remaining gas injection time, the gas injection rate, the position of the gas inlet of the confined space, the position of the gas analyzer in the confined space, and the position of the gas alarm in the confined space, the target real-time concentration data and the target measured concentration data are processed to obtain predicted steady-state concentration data. The predicted steady-state concentration data is used to indicate the gas concentration of the calibration gas in the confined space when it reaches a steady state after the calibration gas is introduced into the confined space.

[0097] In some embodiments, in a three-dimensional model of a confined space, the arrangement and distribution of the calibration gas is obtained based on the target real-time concentration data, the position of the air inlet of the confined space filled with target measured concentration data, the position of the gas analyzer in the confined space, and the position of the gas alarm in the confined space; based on the arrangement and distribution of the calibration gas, the gas concentration distribution in the confined space is obtained; the current total amount of calibration gas in the confined space is calculated using the gas concentration distribution; the final total amount of calibration gas is calculated based on the remaining injection time, the injection rate and the total amount of calibration gas; and the predicted steady-state concentration data is obtained based on the ratio of the final total amount of calibration gas to the volume of the confined space.

[0098] In some embodiments, the gas diffusion model is used to predict the gas concentration distribution in the closed container. Optionally, the gas diffusion model can use any one of a computational fluid dynamics model (CFD), a Gaussian diffusion model, and a Lagrangian model.

[0099] Step S640: adjusting the gas injection rate and the gas injection time in real time according to the predicted steady-state concentration data and the preset concentration data.

[0100] In some embodiments, if the predicted steady-state concentration data is greater than the preset concentration data, the injection rate and / or injection time may be reduced; if the predicted steady-state concentration data is less than the preset concentration data, the injection rate and / or injection time may be increased.

[0101] In some other embodiments, if the difference between the predicted steady-state concentration data and the preset concentration data is greater than the upper limit of the difference, a gas leakage alarm is generated, and the gas leakage alarm is used to indicate that there is a gas leakage in the confined space. The upper limit of the difference is a preset constant.

[0102] In some embodiments, in actual home scenarios, the gas alarm is often a methane gas alarm, which is used to detect whether there is a methane gas leak in the home. During the use of the gas alarm, the relative position of the gas alarm and the leak port will affect the position of the gas alarm. For example, when the gas alarm is far away from the leak port, part of the space is already filled with methane gas, which may be dangerous. Therefore, it is necessary to adjust the warning threshold according to the relative position of the gas alarm. Exemplarily, the calibration control panel introduces calibration gas into the confined space according to a preset rule, wherein the preset rule is used to simulate the calibration gas in a leaking state; the gas alarm records the change in gas concentration of the calibration gas in the confined space; and the warning threshold is generated according to the position of the gas alarm relative to the air inlet in the confined space and the change in gas concentration.

[0103] To sum up, by adopting the above technical solution, the injection rate and injection time are adjusted during gas injection, so that calibration gas with preset concentration data can be obtained in a closed space, which is helpful for the implementation of the calibration process and can improve the accuracy of the calibration.

[0104] Based on the same inventive concept, the embodiment of the present application provides a gas alarm calibration system, including: An acquisition module, used to acquire real-time concentration data, measured concentration data, calibration startup information, a first preset conversion formula, a second preset conversion formula, the kth steady-state concentration data, the kth gas injection rate, the kth gas injection time, and the position of the gas inlet; A memory for storing a program of a gas alarm calibration method as described in an embodiment of the present application; The program in the processor and the memory can be loaded and executed by the processor to implement the calibration method of the gas alarm as described in the embodiment of the present application.

[0105] In summary, by adopting the above technical solution, when calibrating the gas alarm, the real-time gas concentration in the enclosed space can be obtained in real time through the gas analyzer, and the real-time gas concentration can be provided to the gas alarm, so that the gas alarm can be calibrated according to the real-time gas concentration. Therefore, this application is not sensitive to the injection speed and total amount of the calibration gas, which can simplify the calibration steps and reduce the difficulty of calibration. And because the gas analyzer can accurately measure the gas concentration, the calibrated gas alarm is more accurate.

[0106] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0107] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a calibration method for a gas alarm.

[0108] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0109] Based on the same inventive concept, an embodiment of the present application provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes a calibration method for a gas alarm.

[0110] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0111] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A gas alarm calibration method, It is characterized in that The method comprises: Perform the calibration steps; The calibration step includes: passing calibration gas into a confined space through a calibration control panel, wherein at least two gas alarms are arranged in the confined space, and the calibration control panel is connected to at least two of the gas alarms through a control bus; extracting real-time concentration data of a gas analyzer, and providing the real-time concentration data to the gas alarm through the calibration control panel, wherein the gas analyzer is used to measure the gas concentration in the confined space, and the calibration control panel is also connected to the gas analyzer; calibrating the gas alarm according to the measured concentration data and the real-time concentration data detected by the gas alarm; After the calibration of the gas alarm is completed and a preset time has passed, the above calibration steps are repeated.

2. The gas alarm calibration method according to claim 1, It is characterized in that The step of calibrating the gas alarm according to the measured concentration data and the real-time concentration data detected by the gas alarm comprises: Providing the first real-time concentration data and a first time corresponding to the first real-time concentration data to the gas alarm, wherein the first time is a time after the concentration of the calibration gas in the confined space reaches stability; Searching for first measured concentration data corresponding to the first moment; Calibrate the gas alarm according to the difference between the first measured concentration data and the first real-time concentration data; If the difference between the second measured concentration data and the second real-time concentration data is less than a preset value, the calibration of the gas alarm is completed, the second measured concentration data corresponds to the second moment, and the second real-time concentration data corresponds to the second moment, and the second moment is later than the first moment.

3. The gas alarm calibration method according to claim 2, It is characterized in that Before the step of controlling the calibration gas to enter the confined space, the method further includes: Providing calibration start information to at least two of the gas alarms to make the gas alarms enter a calibration state, wherein the calibration start information includes a calibration start notification and clock data; Correcting system clocks of at least two of the gas alarms using the clock data; Calibrate the zero point status of at least two of the gas alarms, and generate status feedback information after the gas alarms have completed calibration; In the case where at least two of the gas alarms generate the status feedback information, the step of controlling the calibration gas to enter the confined space is performed.

4. The gas alarm calibration method according to claim 2, It is characterized in that The step of calibrating the gas alarm according to the difference between the first measured concentration data and the first real-time concentration data further includes: Calculating a first measured electrical parameter corresponding to the first measured gas concentration data according to a first preset conversion formula, wherein the first preset conversion formula is used to convert the gas concentration data output by the gas alarm into an electrical parameter; Calculating a first actual electrical parameter corresponding to the first actual gas concentration data according to the first preset conversion formula; Calculating a difference between the first measured electrical parameter and the first actual electrical parameter to obtain an electrical parameter difference; The second preset conversion formula of the gas alarm is updated according to the electrical parameter difference to complete the calibration of the gas alarm. The first preset conversion formula is used to convert the electrical parameters of the gas alarm into gas concentration data.

5. The gas alarm calibration method according to claim 1, It is characterized in that The method further comprises: After completing the kth calibration, obtaining the kth steady-state concentration data when the concentration of the calibration gas in the confined space reaches stability, as well as the kth gas injection rate and the kth gas injection time, where k is a positive integer; According to the difference between the kth steady-state concentration data and the preset concentration data, the kth gas injection rate and the kth gas injection time are adjusted to obtain the k+1th gas injection rate and k+1th gas injection time used for the k+1th calibration.

6. The gas alarm calibration method according to claim 1, It is characterized in that The method further comprises: After the gas alarm has been calibrated at least once and at a third moment, obtaining target real-time concentration data of the gas analyzer and obtaining target measured concentration data of the gas alarm, wherein the third moment is the moment when the calibration gas is introduced into the confined space; Through a gas diffusion model, according to the remaining gas injection time, the gas injection rate, the position of the gas inlet of the confined space, the position of the gas analyzer in the confined space, and the position of the gas alarm in the confined space, the target real-time concentration data and the target measured concentration data are processed to obtain predicted steady-state concentration data, wherein the predicted steady-state concentration data is used to indicate the gas concentration of the calibration gas in the confined space when it reaches a steady state after the calibration gas is introduced into the confined space; The gas injection rate and the gas injection time are adjusted in real time according to the predicted steady-state concentration data and the preset concentration data.

7. The gas alarm calibration method according to claim 6, It is characterized in that The step of obtaining the target measurement concentration data of the gas alarm comprises: Acquire a set of measured concentration data of the gas alarm within a preset historical period according to the third moment; generating a fitting curve according to the measured concentration data set, wherein the fitting curve is a smooth curve of the measured concentration data provided by the gas alarm changing over time; searching the fitting measured concentration data corresponding to the third moment in the fitting curve; The target measured concentration data is updated using the fitted measured concentration data.

8. A gas alarm calibration system, It is characterized in that include: An acquisition module, used to acquire real-time concentration data, measured concentration data, calibration startup information, a first preset conversion formula, a second preset conversion formula, the kth steady-state concentration data, the kth gas injection rate, the kth gas injection time, and the position of the gas inlet; A memory for storing a program of a gas alarm calibration method according to any one of claims 1 to 7; The program in the memory can be loaded and executed by the processor to implement the calibration method of the gas alarm as claimed in any one of claims 1 to 7.

9. A smart terminal, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes any one of the methods of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.