Automatic alarm method for monitoring remaining amount of gas container
By measuring the weight of the gas container in real time and using the moving average filtering algorithm, the gas residual amount is estimated and the early warning threshold is set, which solves the problem of inaccurate gas cylinder margin monitoring in the prior art, and achieves efficient and accurate gas margin monitoring and Timely warning has improved the efficiency and safety of detection instruments.
Patent Information
- Application Number
- CN202411203178.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-27
AI Technical Summary
The existing gas cylinder margin monitoring technology relies on pressure gauge and cannot provide accurate gas residual data, which makes it impossible for operators to accurately predict the service life and replacement time of the gas cylinder, which increases the risk of equipment downtime and limits the detection instruments. Efficiency and flexibility in use.
Use the weighing module to measure the real-time weight of the gas container, use the moving average filtering algorithm to remove noise, estimate the gas residual amount, and set the warning threshold to trigger the warning information in a timely manner. The warning information is sent to the designated mobile terminal through the information transmission module, and the user interface display is provided. Gas margin information.
It realizes high-precision gas margin monitoring, reduces false alarms and missed reports, provides an accurate gas use plan, a timely warning mechanism to avoid equipment downtime, and improves the use efficiency and safety of detection instruments.
Smart Images

Figure BDA0005018296610000031 
Figure BDA0005018296610000052 
Figure BDA0005018296610000061
Abstract
Description
Technical Field
[0001] The invention relates to an automatic alarm method for monitoring the residual amount of a gas container, and belongs to the field of inspection and detection. Background Art
[0002] In the current industrial and scientific research fields, a stable supply of gas is essential for the normal operation of detection instruments. These instruments often rely on precise pressure and flow parameters to ensure the accuracy and reliability of the test. However, existing gas cylinder (tank) remaining monitoring technology mainly relies on pressure gauges. Although this method can provide basic gas presence information, it cannot provide accurate data on the remaining gas amount. This lack of information makes it impossible for operators to accurately predict the service life and replacement time of gas cylinders (tanks), thereby increasing the risk of equipment downtime due to gas exhaustion at critical moments.
[0003] Especially during non-working hours, when there is no real-time monitoring by personnel, this risk is further amplified. Once the gas in the cylinder (tank) is exhausted and not replenished in time, it will not only delay the detection work, but also may affect the accuracy of the test results. In addition, frequent post-event remedial measures will also increase additional operating costs and time costs. Therefore, the existing monitoring methods limit the efficiency and flexibility of the use of detection instruments to a certain extent. Summary of the invention
[0004] In order to overcome the defects of the prior art, the present invention provides an automatic alarm method for monitoring the remaining amount of a gas container. The technical solution of the present invention is:
[0005] An automatic alarm method for monitoring the remaining amount of a gas container comprises the following steps:
[0006] (1) Use a weighing module to measure the real-time weight of the gas container and output the measured value;
[0007] (2) Apply moving average filtering algorithm to perform filtering to remove measurement noise;
[0008] (3) Estimate the remaining amount of gas based on the real-time weight and the known initial weight;
[0009] (4) Setting a warning threshold for the remaining gas volume and triggering a warning when the estimated remaining volume is lower than the threshold;
[0010] (5) Send warning information to the designated mobile phone through the information transmission module;
[0011] (6) Provide a user interface to display gas remaining information and allow the user to receive and confirm warning information.
[0012] The step (2) is specifically: using a moving average filtering algorithm to filter the original weight data output by the weighing module, and the specific algorithm is:
[0013] Among them, W filtered (t) is the filtered weight at time t, W raw(t-i) is the original measurement value at time ti, and n is the number of data points; at the same time, the filtered weight data is output for gas balance estimation and early warning judgment.
[0014] The specific steps of the filtering process in step (2) are:
[0015] 2.1 Initialization: Initialize the filter;
[0016] 2.2 Real-time measurement: The weighing module continuously measures the weight of the gas container and stores the raw data in a buffer;
[0017] 2.3 Filtering: After each measurement, take n data points from the buffer and calculate the average value of the data points as the weight after filtering;
[0018] 2.4 Output data: Output the filtered weight data for subsequent processing.
[0019] The step (3) is specifically as follows:
[0020] 3.1 Determine the initial total weight of the gas container, including the weight of the gas and the container;
[0021] 3.2 Estimate the remaining amount of gas by the difference between the real-time weight and the initial weight.
[0022]
[0023] Among them, V remaining (t) is the remaining gas volume at time t, W initial is the initial total weight, W filtered (t) is the filtered weight at time t, and ρ is the density of the gas.
[0024] The step (4) is specifically as follows:
[0025] 4.1 Set the warning threshold of gas balance;
[0026] 4.2 The estimated remaining quantity is compared with the warning threshold, and if it is lower than the warning threshold, a warning is triggered.
[0027] 4.3 Regularly collect gas container usage data, including gas consumption rate and usage frequency, and use this data to update the warning threshold to ensure that the threshold matches the actual usage;
[0028] V threshold =α·V threshold +(1-α)·V new ; Among them, V threshold is the current warning threshold, V new is the new threshold calculated based on the latest data, and α is the adjustment coefficient, which is between 0 and 1.
[0029] In the step (6), key information is displayed on the user interface, including the gas container number, current weight, filtered weight, remaining gas volume and warning status information.
[0030] The advantages of the present invention are:
[0031] 1. Real-time identification of the real-time weight of gas containers (gas tanks or gas cylinders) can monitor the remaining gas efficiently and accurately;
[0032] 2. Safe to use, easy to install and wide applicable range;
[0033] 3. It can send alarm information to the designated mobile phone in time, and the information feedback is faster. DETAILED DESCRIPTION
[0034] The present invention will be further described below in conjunction with specific embodiments, and the advantages and features of the present invention will become clearer as the description proceeds. However, these embodiments are exemplary only and do not constitute any limitation to the scope of the present invention. It should be understood by those skilled in the art that the details and forms of the technical solution of the present invention may be modified or replaced without departing from the spirit and scope of the present invention, but these modifications and replacements all fall within the scope of protection of the present invention.
[0035] The present invention relates to an automatic alarm method for monitoring the remaining amount of a gas container, comprising the following steps:
[0036] (1) Use a weighing module to measure the real-time weight of the gas container and output the measured value;
[0037] (2) Apply moving average filtering algorithm to perform filtering to remove measurement noise;
[0038] (3) Estimate the remaining amount of gas based on the real-time weight and the known initial weight;
[0039] (4) Setting a warning threshold for the remaining gas volume and triggering a warning when the estimated remaining volume is lower than the threshold;
[0040] (5) Send warning information to the designated mobile phone through the information transmission module;
[0041] (6) Provide a user interface to display gas remaining information and allow the user to receive and confirm warning information.
[0042] Based on the arrangement of the above steps of the present invention, the following is achieved:
[0043] 1. High-precision weight monitoring: By using a weighing module, the weight of the gas container can be measured in real time and accurate measurement values can be output. This provides accurate basic data for subsequent gas balance estimation.
[0044] 2. Enhanced data stability: effectively remove noise and improve data stability and reliability. This ensures the accuracy of gas balance estimation and reduces the possibility of false alarms and missed alarms.
[0045] 3. Real-time gas remaining estimation: Combine the real-time weight and initial weight to estimate the remaining gas through an algorithm. This method can provide more accurate information on the remaining gas volume, helping operators to better plan gas usage and replenishment.
[0046] 4. Timely warning mechanism: Set a warning threshold and trigger a warning when the remaining gas volume falls below the threshold. This automatic warning mechanism can promptly remind operators to take action to avoid equipment downtime or safety accidents caused by gas depletion.
[0047] The step (2) is specifically: using a moving average filtering algorithm to filter the original weight data output by the weighing module, and the specific algorithm is:
[0048] Among them, W filtered (t) is the filtered weight at time t, W raw(t-i) is the original measurement value at time ti, and n is the number of data points; at the same time, the filtered weight data is output for gas balance estimation and early warning judgment.
[0049] Assume that the number of data points of the weighing module is n = 5, that is, the weight after filtering each time is the average of the last five measured values. The following are five consecutive raw measured values (unit: kilogram): Wraw(t-1) = 21.2; Wraw(t-2) = 21.1; Wraw(t-3) = 21.3; Wraw(t-4) = 21.4; Wraw(t-5) = 21.5, then:
[0050]
[0051] The specific steps of the filtering process in step (2) are:
[0052] 2.1 Initialization: Initialize the filter;
[0053] 2.2 Real-time measurement: The weighing module continuously measures the weight of the gas container and stores the raw data in a buffer;
[0054] 2.3 Filtering: After each measurement, take n data points from the buffer and calculate the average value of the data points as the weight after filtering;
[0055] 2.4 Output data: Output the filtered weight data for subsequent processing.
[0056] The present invention reduces the random fluctuation and noise of the weighing module output data through filtering processing, making the weight data more stable, and providing a more reliable basis for subsequent gas balance estimation; filtering processing helps to eliminate measurement errors caused by factors such as sensor errors and environmental interference, thereby improving the accuracy of the data.
[0057] The step (3) is specifically as follows:
[0058] 3.1 Determine the initial total weight of the gas container, including the weight of the gas and the container;
[0059] 3.2 Estimate the remaining amount of gas by the difference between the real-time weight and the initial weight.
[0060]
[0061] Among them, V remaining (t) is the remaining gas volume at time t, W initial is the initial total weight, W filtered (t) is the filtered weight at time t, and ρ is the density of the gas.
[0062] Assume that the initial total weight of the gas container is W initial =30 kg, filtered real-time weight W filtered (t) = 21.3 kg, gas density ρ = 1.5 kg / m3,
[0063] By precisely measuring the initial total weight and the real-time weight, the remaining amount of gas can be accurately calculated, avoiding the errors that may occur when relying solely on a pressure gauge.
[0064] The estimation method directly determines the remaining amount through the weight difference, which is intuitive and easy for operators to understand and use.
[0065] The acquisition and processing of real-time weight data enables the estimation of the remaining gas amount to be carried out in real time, reflecting the gas consumption situation in a timely manner.
[0066] The step (4) is specifically as follows:
[0067] 4.1 Set the warning threshold of gas balance;
[0068] 4.2 The estimated remaining quantity is compared with the warning threshold, and if it is lower than the warning threshold, a warning is triggered.
[0069] 4.3 Regularly collect gas container usage data, including gas consumption rate and usage frequency, and use this data to update the warning threshold to ensure that the threshold matches the actual usage;
[0070] V threshold =α·V threshold +(1-α)·V new ; Among them, V threshold is the current warning threshold, V new is the new threshold calculated based on the latest data, and α is the adjustment coefficient, which is between 0 and 1.
[0071] Assume that the initial warning threshold V threshold = 10 cubic meters, the new threshold V calculated based on the latest usage data new =12 cubic meters, adjustment factor α = 0.5;
[0072] V threshold =0.5·10+(1-0.5)·12=11 cubic meters; the warning threshold setting and dynamic adjustment in step (4) have the following advantages:
[0073] In the present invention, by setting the early warning threshold, the user can be notified in advance when the remaining gas is insufficient, so as to perform preventive maintenance and avoid equipment downtime or safety accidents.
[0074] By regularly collecting usage data and updating warning thresholds, the system can adapt to different usage patterns and environmental changes and improve the accuracy of warnings.
[0075] The warning threshold is not fixed and can be adjusted dynamically according to actual usage, which increases the flexibility and adaptability of the system.
[0076] In the step (6), key information is displayed on the user interface, including the gas container number, current weight, filtered weight, remaining gas volume and warning status information.
[0077] In the present invention, specific technical effects are achieved through the following steps:
[0078] High-precision weight monitoring: By using a weighing module, the weight of the gas container can be measured in real time and output accurate measurement values.
[0079] Enhanced data stability: The moving average filtering algorithm effectively removes noise and improves data stability and reliability.
[0080] Real-time gas remaining estimation: Combining the real-time weight and initial weight, the remaining gas amount is estimated through an algorithm to provide accurate remaining gas amount information.
[0081] Timely warning mechanism: Set a warning threshold and trigger a warning when the remaining gas volume falls below the threshold, prompting operators to take action in a timely manner.
[0082] Dynamic threshold adjustment: Dynamically adjust the warning threshold according to actual usage data to improve the accuracy and adaptability of the warning.
[0083] User-friendly: Intuitive user interface and interactive design improve user experience and system usability.
[0084] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An automatic alarm method for monitoring the remaining amount of a gas container, characterized in that: The following steps are involved: (1) Use a weighing module to measure the real-time weight of the gas container and output the measured value; (2) Apply moving average filtering algorithm to perform filtering to remove measurement noise; (3) Estimate the remaining amount of gas based on the real-time weight and the known initial weight; (4) Setting a warning threshold for the remaining gas volume and triggering a warning when the estimated remaining volume is lower than the threshold; (5) Send warning information to the designated mobile phone through the information transmission module; (6) Provide a user interface to display gas remaining information and allow the user to receive and confirm warning information.
2. The automatic alarm method for monitoring the remaining amount of a gas container according to claim 1 is characterized in that: The step (2) is specifically: using a moving average filtering algorithm to filter the original weight data output by the weighing module, and the specific algorithm is: Among them, W filtered (t) is the filtered weight at time t, W raw(t-i) is the original measurement value at time ti, and n is the number of data points; at the same time, the filtered weight data is output for gas balance estimation and early warning judgment.
3. The automatic alarm method for monitoring the remaining amount of a gas container according to claim 2 is characterized in that: The specific steps of the filtering process in step (2) are: 2.1 Initialization: Initialize the filter; 2.2 Real-time measurement: The weighing module continuously measures the weight of the gas container and stores the raw data in a buffer; 2.3 Filtering: After each measurement, take n data points from the buffer and calculate the average value of the data points as the weight after filtering; 2.4 Output data: Output the filtered weight data for subsequent processing.
4. The automatic alarm method for monitoring the remaining amount of a gas container according to claim 2 is characterized in that: The step (3) is specifically as follows: 3.1 Determine the initial total weight of the gas container, including the weight of the gas and the container; 3.2 Estimate the remaining amount of gas by the difference between the real-time weight and the initial weight. Among them, V remaining (t) is the remaining gas volume at time t, W initial is the initial total weight, W filtered (t) is the filtered weight at time t, and ρ is the density of the gas.
5. The automatic alarm method for monitoring the remaining amount of a gas container according to claim 2, characterized in that: The step (4) is specifically as follows: 4.1 Set the warning threshold of gas balance; 4.2 The estimated remaining quantity is compared with the warning threshold, and if it is lower than the warning threshold, a warning is triggered. 4.3 Regularly collect gas container usage data, including gas consumption rate and usage frequency, and use this data to update the warning threshold to ensure that the threshold matches the actual usage; V threshold =α·V threshold +(1-a)·V new ; among them,V threshold is the current warning threshold, V new is the new threshold calculated based on the latest data, and α is the adjustment coefficient, which is between 0 and 1.
6. The automatic alarm method for monitoring the remaining amount of a gas container according to claim 5, characterized in that: In the step (6), key information is displayed on the user interface, including the gas container number, current weight, filtered weight, remaining gas volume and warning status information.
