Control method and system of gas valve
The gas valve control system, which dynamically updates alarm thresholds by acquiring gas data in real time, solves the problem of false alarms from gas meters and achieves accurate and intelligent management of gas safety control.
Patent Information
- Application Number
- CN202511205612.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-11-04
AI Technical Summary
The existing gas meter's gas on/off control method relies on fixed alarm thresholds, resulting in a high false alarm rate. It cannot adapt to individual differences in gas usage, affecting users' normal production and life.
By acquiring gas data in real time through the valve control device, dynamically updating alarm thresholds, and combining this with the server to determine the target gas pipeline interface and send a shut-off command, the automatic control of the gas valve is achieved.
It improves the accuracy of gas safety control, reduces false alarms, and ensures the safety and intelligent management of gas use.
Smart Images

Figure CN120889946A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of gas meters, in particular to a control method and system of a gas valve. BACKGROUND
[0002] With the acceleration of urbanization, gas as an important energy for residents' life and commercial production, its safety is concerned. The function of gas meters as a metering device for gas use has not only limited to metering. In the context of frequent gas safety accidents, automatic control of gas cut-off by gas meters is of great significance. Through automatic monitoring and control, rapid response in critical situations such as gas leakage and abnormal consumption can be realized, and the gas source can be cut off in time, which greatly reduces the risk of gas accidents, protects the safety of life and property of residents, and improves the intelligent level of urban gas management, laying a foundation for the construction of smart city.
[0003] The current control mode of gas cut-off is mainly through fixed alarm threshold, and then closed control when gas is abnormal. However, due to the difference of individual gas use affected by use season, use time and personal habits, the fixed alarm threshold often misreports, with low accuracy, which affects the normal production and life of users. SUMMARY
[0004] The present application provides a control method and system of a gas valve, which can realize automatic updating of alarm threshold, improve the accuracy of alarm, and ensure gas safety.
[0005] In a first aspect, the present application provides a control method of a gas valve, comprising: applying to a valve control device and a server, the valve control device is installed at a gas pipeline interface, and the valve control device is in communication connection with the server;
[0006] The valve control device acquires current gas data of the current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected in the current detection period in the current time period;
[0007] The valve control device acquires a target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on the historical gas data of the current detection period in the last time period;
[0008] The valve control device sends the current gas data to the server when the current gas data meets the target alarm threshold;
[0009] The server determines a target gas pipeline interface according to the current gas data, and sends a gas closing instruction to valve control devices corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface has a pipeline association relationship with the current gas pipeline interface.
[0010] The valve control device closes the gas valve based on the gas closing instruction.
[0011] In a second aspect, the present application provides a gas valve control system, comprising a server and a valve control device, wherein the valve control device is in communication connection with the server.
[0012] The valve control device is configured to acquire current gas data of a current gas pipeline interface, wherein the current gas data is gas data of the current gas pipeline interface collected in a current detection period in a current time period.
[0013] The valve control device is configured to acquire a target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on historical gas data of the current detection period in a previous time period.
[0014] The valve control device is configured to send the current gas data to the server if the current gas data meets the target alarm threshold.
[0015] The server is configured to determine a target gas pipeline interface according to the current gas data, and send a gas closing instruction to valve control devices corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface has a pipeline association relationship with the current gas pipeline interface.
[0016] The valve control device is configured to close the gas valve based on the gas closing instruction.
[0017] The embodiment of the present application provides a kind of control method and system of gas valve, which method is applied to valve control device and server, the valve control device is installed at gas pipeline interface, the valve control device is connected with server communication;The valve control device obtains the current gas data of current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected in the current detection period in current time period;The valve control device obtains the target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on the historical gas data of the current detection period in last time period;The valve control device sends the current gas data to server in the case where the current gas data meets the target alarm threshold;The server determines target gas pipeline interface according to current gas data, and sends gas closing instruction to the valve control device corresponding to current gas pipeline interface and target gas pipeline interface, wherein the target gas pipeline interface and the current gas pipeline interface exist pipeline association relationship;The valve control device closes gas valve based on the gas closing instruction.Specifically, the target alarm threshold corresponding to the current detection period of the embodiment of the present application is updated based on the historical gas data of the current detection period in last time period, which can realize the automatic update of alarm threshold, avoid the low accuracy caused by fixed alarm threshold, frequently false alarm, improve the accuracy of alarm, and ensure gas safety. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0019] Figure 1 A flow chart of a control method of a gas valve is provided for the first embodiment of the present application.
[0020] Figure 2 A flow chart of a control method of a gas valve is provided for the second embodiment of the present application.
[0021] Figure 3 A structural schematic diagram of a control system of a gas valve is provided for the third embodiment of the present application.
[0022] Figure 4 A structural schematic diagram of a controller of a valve control device is provided for the embodiment of the present application.
[0023] Figure 5 A structural schematic diagram of a gas pipeline valve body is provided for the embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the personnel in the technical field better understand the present application scheme, the technical scheme in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the person skilled in the art without creative labor should belong to the scope of protection of the present application.
[0026] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] It should be noted that in the technical scheme of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in the technical scheme comply with the relevant legal regulations and do not violate public order and good customs.
[0028] Embodiment one
[0029] Figure 1 A flowchart of a control method of a gas valve provided by the first embodiment of the present application is provided. The method is applied to a valve control device and a server, and the valve control device is in communication connection with the server. The method is particularly suitable for dynamically adjusting the gas alarm threshold value, thereby avoiding false alarms and improving the alarm accuracy.
[0030] As shown in Figure 1
[0031] Step 110, the valve control device acquires current gas data of the current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected in the current detection period within the current time period.
[0032] Specifically, the current gas pipeline interface includes two typical scenarios: one is the branch interface in the user end gas branch, and the other is the gas main interface corresponding to the house building. As a key node of gas transmission, the current gas pipeline interface can collect gas data in real time through the installed sensor, and determine whether the gas transmission state is normal through the gas data. Further, the user gas use behavior has a significant periodicity characteristic (for example, the gas consumption significantly increases at meal time due to cooking demand). Based on this characteristic, the time period is used to represent the regularity of the time length, which can set a day as a time period, or set other time length conforming to the use regularity as a time period according to the actual demand of the user. The detection period is a specific statistical interval divided in the time period. For example, if a day is set as a time period, each continuous 2 hours can be divided into a detection period, so that 1 time period (a day) will include 12 detection periods. Further, the current time period refers to the time period corresponding to the collection of the current gas data; and the current detection period refers to the detection period in the time period where the current gas data is collected.
[0033] Optionally, the valve control device further comprises a detection module, which is installed at the inlet and outlet of the current gas pipeline interface.
[0034] The current gas data of the current gas pipeline interface is obtained, including:
[0035] The detection module collects the inlet gas flow and inlet pressure, and the outlet gas flow and outlet pressure of the current gas pipeline interface, and the inlet gas flow and inlet pressure, and the outlet gas flow and outlet pressure constitute the current gas data.
[0036] Specifically, the detection module can be a sensor, such as a flow sensor for detecting the inlet and outlet gas flow of the current gas pipeline interface, and a pressure sensor for detecting the inlet and outlet pressure of the current gas pipeline interface. Further, if the inlet and outlet gas flow difference or the pressure difference is different, it indicates that the current gas pipeline interface may have a gas leakage problem. Further, the method of determining whether it is abnormal through the gas flow and the gas pressure is not described herein.
[0037] Step 120, the valve control device obtains a target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on the historical gas data of the current detection period in the last time period.
[0038] Specifically, due to the influence of user living habits, the gas consumption in different time periods is different, so in the same time period, the target alarm threshold corresponding to different detection periods will be different. This strategy of differentiating the target alarm threshold based on the period characteristics can effectively improve the alarm accuracy and reduce the false alarm probability.
[0039] Specifically, due to factors such as seasonal change or user habit, the user gas consumption may change periodically (for example, the gas consumption continuously increases due to the decrease of winter temperature). If a fixed alarm threshold is used, when the actual gas consumption exceeds the original threshold range due to the above reasons, the system is easy to trigger false alarm. To solve this problem, the embodiment of the present application updates the historical gas data in real time by the current gas data, and determines the target alarm threshold again by using the updated historical gas data, so that the target alarm threshold is always determined based on the latest gas data, thereby improving the threshold accuracy and fundamentally avoiding false alarm.
[0040] Step 130, the valve control device sends the current gas data to the server if the current gas data meets the target alarm threshold.
[0041] Specifically, if the inlet and outlet gas flow value, the inlet and outlet gas flow difference, the inlet and outlet pressure value or the inlet and outlet pressure difference represented by the current gas data is greater than the target alarm threshold, the current gas data is sent to the server.
[0042] For example, the communication module of the valve control device can be NB-IoT eDRX communication mode to realize real-time issuance of control instructions, complete real-time pressure test and shunt cut-off control instructions. Further leakage detection can be realized by the linkage of the valve control system with the user's safety valve and gas meter, and timely closing of each part of the valve can be realized to achieve safe application of gas.
[0043] Step 140, the server determines the target gas pipeline interface according to the current gas data, and sends a gas closing instruction to the valve control devices corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface has a pipeline association relationship with the current gas pipeline interface.
[0044] Wherein, the gas closing instruction is used to control the gas meter to close the gas pipeline interface and stop gas delivery, and the pipeline association relationship is the connection relationship between different gas pipeline interfaces in the gas pipeline system based on physical connection or system topology.
[0045] Specifically, due to the linkage characteristics of the gas pipeline system, when a single gas pipeline interface has an abnormality (such as a leakage and an abnormal pressure, etc.), other gas pipeline interfaces connected to the pipeline network (i.e., target gas pipeline interfaces having a pipeline association relationship with the current gas pipeline interface) can also be affected due to pressure conduction, medium diffusion and other factors, and there is a possibility of synchronously causing a safety risk. In order to maximize the safety of gas use, at this time, a gas closing instruction needs to be sent to the valve control device corresponding to the current gas pipeline interface and the target gas pipeline interface having a pipeline association relationship with the current gas pipeline interface, the gas meter is driven to perform a valve closing operation through the instruction, and finally the gas delivery path of the current gas pipeline interface and the target gas pipeline interface is cut off, thereby avoiding a chain safety accident caused by a single interface abnormality.
[0046] Step 150, the valve control device closes the gas valve based on the gas closing instruction.
[0047] Specifically, when the on-site personnel complete the repair for the abnormality or the staff or the server determines that it is a false alarm, a gas opening instruction can be manually or sent by the server again to reopen the gas valve.
[0048] The embodiment of the present application provides a control method of a gas valve, which is applied to a server and a valve control device, the valve control device is in communication connection with the server; the valve control device acquires current gas data of a current gas pipeline interface, wherein the current gas data is gas data of the current gas pipeline interface collected in a current detection period in a current time period; the valve control device acquires a target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on historical gas data of the current detection period in a previous time period; the valve control device sends the current gas data to the server in the case that the current gas data meets the target alarm threshold; the server determines a target gas pipeline interface according to the current gas data, and sends a gas closing instruction to valve control devices corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface has a pipeline association relationship with the current gas pipeline interface; and the valve control device closes a gas valve based on the gas closing instruction. Specifically, the target alarm threshold corresponding to the current detection period in the embodiment of the present application is updated based on the historical gas data of the current detection period in the previous time period, which can realize automatic updating of the alarm threshold, avoid a low accuracy caused by a fixed alarm threshold and a frequent false alarm, improve the accuracy of the alarm, and ensure the safety of the gas.
[0049] Embodiment two
[0050] Figure 2A flowchart of a control method of a gas valve is provided for the second embodiment of the present application, which is based on the above-mentioned embodiment and further limits the determination method of the target alarm threshold and the target gas pipeline interface.
[0051] As shown in Figure 2 , it comprises:
[0052] Step 210, the valve control device acquires current gas data of the current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected in the current detection period within the current time period.
[0053] Step 220, the valve control device acquires historical gas data of multiple consecutive time periods, wherein the time period comprises multiple detection periods.
[0054] The number of consecutive time periods can be preset, such as one day for each time period, and the number of multiple consecutive time periods can be seven, i.e. the target alarm threshold is determined by the historical gas data of the last seven days. Further, for the target alarm threshold of any detection period in the time period, the historical gas data of the corresponding detection period in the last seven days is determined.
[0055] Step 230, the valve control device updates the historical gas data of the current detection period acquired earliest in the multiple consecutive time periods based on the current gas data.
[0056] Specifically, to ensure that the gas data used to calculate the target alarm threshold is always the latest, the historical data of the corresponding detection period acquired earliest in the multiple consecutive time periods needs to be updated and replaced by the current gas data.
[0057] For example, assuming that the multiple consecutive time periods are three days (e.g. January 1, January 2, January 3), each time period contains three detection periods of 0-8, 8-16 and 16-24. When the current gas data is acquired on January 4, if the corresponding current detection period is 0-8, the system will replace the historical gas data of 0-8 in the earliest time period (January 1) with the current data. Further, when the historical gas data of January 1 is all replaced with the gas data of January 4, the three consecutive time periods are automatically updated to (January 2, January 3, January 4). The current gas data acquired on January 5 (assuming it still corresponds to the 0-8 detection period) will replace the historical data of 0-8 on January 2. Through this cyclic replacement mechanism, the historical gas data used to calculate the target alarm threshold is always kept as the latest data of the same detection period in each time period, thereby ensuring the timeliness and accuracy of the alarm threshold.
[0058] Step 240, the valve control device determines the target alarm threshold according to the updated historical gas data.
[0059] Specifically, the updating of the historical gas data and the recalculation of the target alarm threshold can be performed at the end of each detection period or time cycle.
[0060] Optionally, step 240 comprises:
[0061] For any detection period, the target deviation is determined according to the deviation of the historical gas data of the detection period in each time cycle, and the target alarm threshold is determined according to the historical gas data of the detection period in each time cycle and the target deviation.
[0062] Specifically, the average value of the historical gas data of the detection period in each time cycle can be calculated to determine the target gas data, the average deviation of the historical gas data of the detection period in each time cycle is calculated to determine the target deviation, and finally the target threshold is determined according to the target gas data and the target deviation (for example, the target threshold A = B + C, where B is the target gas data and C is the target deviation).
[0063] Step 250, the valve control device obtains the target alarm threshold corresponding to the current detection period, and the valve control device sends the current gas data to the server if the current gas data meets the target alarm threshold.
[0064] Specifically, the target alarm threshold corresponding to each detection period can be determined by querying the threshold record table, and then the current gas data is sent to the server if the current gas data meets the target alarm threshold.
[0065] Step 260, the server determines the danger level according to a preset level table and the current gas data, wherein the preset level table includes the corresponding relationship between the current gas data and the danger level.
[0066] Further, different current gas data can represent different danger levels, for example, the danger level can be determined to be primary, intermediate or high by the leakage gas flow, and different processing measures can be adopted for different danger levels to avoid risks.
[0067] Step 270, the server determines the target gas pipeline interface according to the current gas pipeline interface of the current gas data, the danger level and the gas pipeline map.
[0068] Specifically, the gas pipeline map stores information such as the input-output relationship, physical connection relationship, and gas delivery path of each gas pipeline interface. Based on this information, combined with the current gas pipeline interface position and hazard level, the server can accurately locate the target gas pipeline interface that needs to be disposed of. It should be noted that the higher the hazard level, the greater the potential risk, and therefore the number of target gas pipeline interfaces that need to be closed will also increase, thereby enhancing the safety of risk control.
[0069] Optionally, the gas node range corresponding to the hazard level is determined according to the gas pipeline map with the current gas pipeline interface as the center, and the gas pipeline interfaces in the gas node range are determined as the target gas pipeline interfaces.
[0070] Wherein, the gas node range is used to determine the associated range of the gas pipeline interface, specifically indicating the associated interface level that needs to be included in risk control when the current gas pipeline interface is taken as the center node. For example, when the gas node range is set to 1, only the first-level associated interface directly connected to the current gas pipeline interface (such as directly connected through a valve or a pipeline) is included; when the gas node range is set to 2, the second-level associated interface directly connected to the first-level associated interface (i.e. indirectly connected to the current interface) is further included, and so on. By adjusting the value of the gas node range, the number and range of target gas pipeline interfaces that need to be closed can be flexibly controlled, thereby adapting to the risk disposal needs under different hazard levels - the higher the hazard level, the larger the set gas node range, the more associated interfaces covered, and the more interfaces closed, ensuring the effectiveness of risk isolation.
[0071] For example, if the interface connection relationship represented by the gas pipeline map is as follows:
[0072] Current gas pipeline interface: A
[0073] First-level association (direct connection): A-B, A-C
[0074] Second-level association (indirect connection): B-D, C-E.
[0075] If the gas node range is set to 1 (i.e. first-level association range), the target gas pipeline interface only includes B and C directly connected to A; if the gas node range is set to 2 (i.e. second-level association range), the target gas pipeline interface will be expanded to B, C, and D, E (i.e. second-level interfaces indirectly connected to A) directly connected to B and C.
[0076] Step 280, the server sends a gas closing instruction to the valve control device corresponding to the current gas pipeline interface and the target gas pipeline interface.
[0077] Step 290, the valve control device closes the gas valve based on the gas closing instruction.
[0078] The embodiment of the present application provides a control method of a gas valve, re-calculates an alarm threshold value by dynamically updating historical gas data, solves the problem of false alarm caused by user habits or seasonal changes of fixed threshold value, effectively improves the accuracy and reliability of the alarm, and balances the safety disposal and user demand.
[0079] Embodiment three
[0080] Figure 3 A structural schematic diagram of a control system of a gas valve provided by the embodiment three is shown in the figure. Figure 3 As shown in the figure, the device comprises:
[0081] A server and a valve control device, the valve control device is in communication connection with the server;
[0082] The valve control device is used for acquiring current gas data of a current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected in a current detection period in a current time period;
[0083] The valve control device is used for acquiring a target alarm threshold value corresponding to the current detection period, wherein the target alarm threshold value is updated based on historical gas data of the current detection period in a previous time period;
[0084] The valve control device is used for sending the current gas data to the server in the case that the current gas data meets the target alarm threshold value;
[0085] The server is used for determining a target gas pipeline interface according to the current gas data, and sending a gas closing instruction to the valve control devices corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface has a pipeline association relationship with the current gas pipeline interface;
[0086] The valve control device is used for closing the gas valve based on the gas closing instruction.
[0087] Optionally, the valve control device is further used for:
[0088] Acquiring historical gas data of a plurality of continuous time periods, wherein the time period comprises a plurality of detection periods;
[0089] updating the historical gas data of the earliest-acquired current detection period in a plurality of continuous time periods based on the current gas data;
[0090] determining the target alarm threshold according to the updated historical gas data.
[0091] Optionally, the valve control device is specifically used for:
[0092] For any detection period, determining a target deviation according to the deviation of the historical gas data of the detection period in each time period, and determining the target alarm threshold according to the historical gas data of the detection period in each time period and the target deviation.
[0093] Figure 4 The controller of the valve control device provided in the embodiment of the present application has a structure diagram as shown in the figure. The valve control device takes a microcontroller single-chip as a core and integrates multiple modules to build a gas safety intelligent system: a power management module guarantees continuous operation in power failure and overvoltage protection; a storage module records gas consumption data and alarm logs; an audible and visual alarm and LCD module provides real-time warning and display of abnormalities; a key module provides local interaction; an NB-IoT and 485 module realizes remote monitoring and local networking and is used for communication and interconnection with a server; a valve control module is used for emergency gas source shutoff; and a clock module provides a time reference for events, so that the modules cooperatively complete monitoring, control, alarm and traceability of the gas system and guard gas safety.
[0094] Figure 5 The structure diagram of the gas pipeline valve body provided in the embodiment of the present application is shown in the figure. Specifically, the inlet and outlet of the gas pipeline can be provided with temperature and pressure sensors and flow sensors for detecting gas data. Meanwhile, the valve body itself has a manual valve switch for manual control of gas shutoff by workers.
[0095] Further, the valve control device can be installed on the gas pipeline as an independent component and can reliably automatically control the on-off of gas; can be used in combination with a flowmeter to realize integration of pipeline gas flow metering and on-off control functions; and can use pipeline gas tightness detection, leakage alarm linkage and other technical means to effectively improve gas safety by combining pre-detection early warning with post-real-time processing, so as to avoid safety hazards caused by user misoperation and pipeline leakage.
[0096] The control system of the gas valve can complete the pressure maintenance test by remotely setting the pressure maintenance period, issuing pressure maintenance test instructions in real time, or judging the period of no gas use by the user through self-learning. It can also collect flow in real time and report to the server at regular intervals. The server performs self-learning for a week or half a month according to the gas use, judges the abnormal flow and abnormal pressure of each device, performs early warning evaluation, further judges the leakage risk point in combination with the associated device, and timely closes the user's internal safety valve and gas meter valve.
[0097] Data uploading and remote control are realized through NB-IoT wireless remote transmission technology. Real-time issuance of control instructions is realized through the eDRX mode of NB-IoT, and real-time pressure maintenance test and shunt cut-off control instructions are completed. Further leakage detection can be realized through linkage of the valve control system with the user's internal safety valve and gas meter, and the valves of each part can be closed in time to realize safe application of gas.
[0098] Further, the pressure maintenance test phase is carried out. The no leakage, leakage, and user gas use are simulated and tested under the pressure maintenance state. The pipeline behind the pressure maintenance valve is tested for no leakage by using a U-shaped pressure gauge or other pressure detection equipment for 15 minutes under the pressure maintenance test state. The pipeline pressure at this time is recorded by the control system of the gas valve. The test is accumulated for 10 times, and the pressure range of the test is taken as the no leakage pressure range. The wire is blocked at the micro-open standpipe. The pipeline pressure at this time is recorded by the gas standpipe pressure maintenance valve control system for 15 minutes under the pressure maintenance test state. The pipeline behind the pressure maintenance valve is simulated for micro-leakage at different positions each time. The test is accumulated for 10 times, and the pressure range of the test is taken as the leakage pressure range. The user gas stove or water heater is turned on through the pipeline behind the pressure maintenance valve for 15 minutes under the pressure maintenance test state. The pipeline pressure at this time is recorded by the gas standpipe pressure maintenance valve control system. The test is accumulated for 10 times, and the pressure range of the test is taken as the minimum pressure range of the user gas use.
[0099] The pipeline pressure at different time periods is used to judge the gas use and idle time of the building. The test is accumulated for 10 days, the gas use idle time of the building is counted every day, the absolute idle time of the building is analyzed, the automatic pressure maintenance time setting is completed, and the pipeline pressure maintenance test is completed.
[0100] The above method can accurately count the flow anomaly, no leakage, micro-leakage, and accurate pressure threshold of user gas use of each standpipe pressure maintenance valve, as well as the no gas use time.
[0101] The gas company background system groups each valve control system with the indoor gas meter of the corresponding building, and counts the gas use period and daily gas consumption of each gas meter, if the pressure abnormality or flow abnormality of the pipeline is found by the pressure maintaining valve, the gas data is uploaded to the gas company background system through NB-IoT, the gas company background system detects whether the gas use period or the gas consumption of each gas meter in the group changes, if there is abnormal change, the valve of the user and the adjacent user gas meter is closed and the user and the maintenance personnel are notified for maintenance, which can further reduce the maintenance range and improve the maintenance efficiency and gas safety.
[0102] If in the non-pressure maintaining period, the pressure maintaining valve finds that the gas flow of the building obviously exceeds the gas consumption of the gas peak, the pressure maintaining valve is closed in time and reported to the gas company background system, the system closes all the gas meter valves in the group through the abnormal situation and notifies the user and the maintenance personnel for maintenance.
[0103] The embodiment of the application provides a control system of a gas valve, which is applied to a server and a valve control device, the valve control device is in communication connection with the server, the valve control device acquires current gas data of a current gas pipeline interface, wherein the current gas data is gas data of the current gas pipeline interface collected in a current detection period in a current time period, the valve control device acquires a target alarm threshold value corresponding to the current detection period, wherein the target alarm threshold value is updated based on historical gas data of the current detection period in a previous time period, and the valve control device sends the current gas data to the server in the case that the current gas data meets the target alarm threshold value, the server determines a target gas pipeline interface according to the current gas data, and sends a gas closing instruction to the valve control device corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface has a pipeline association relationship with the current gas pipeline interface, and the valve control device is used for closing the gas valve based on the gas closing instruction. Specifically, the target alarm threshold value corresponding to the current detection period in the embodiment of the application is updated based on the historical gas data of the current detection period in the previous time period, so that automatic updating of the alarm threshold value can be realized, the situation of frequent false positives caused by the low accuracy of the fixed alarm threshold value is avoided, the accuracy of the alarm is improved, and the gas safety is ensured.
[0104] It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present application can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.
[0105] The above detailed description does not limit the scope of the application. Various modifications, combinations, sub-combinations and alternatives can be made to the detailed embodiment within the scope of the application. Any modification, equivalent replacement and improvement made without departing from the spirit and principle of the application shall fall within the scope of the application.
Claims
1. A method for controlling a gas valve, characterized in that, include: It is applied to valve control devices and servers, wherein the valve control device is installed at the gas pipeline interface and the valve control device is communicatively connected to the server; The valve control device acquires the current gas data of the current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected during the current detection period within the current time cycle; The valve control device acquires the target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on the historical gas data of the current detection period in the previous time period; When the current gas data meets the target alarm threshold, the valve control device sends the current gas data to the server; The server determines the target gas pipeline interface based on the current gas data and sends a gas shut-off command to the valve control device corresponding to the current gas pipeline interface and the target gas pipeline interface. The target gas pipeline interface and the current gas pipeline interface have a pipeline association relationship. The valve control device closes the gas valve based on the gas shut-off command.
2. The method according to claim 1, characterized in that, The valve control device further includes a detection module, which is installed at the inlet and outlet of the current gas pipeline interface; The step of obtaining the current gas data of the current gas pipeline interface includes: The detection module collects the inlet gas flow rate and inlet pressure, as well as the outlet gas flow rate and outlet pressure of the current gas pipeline interface. The inlet gas flow rate and inlet pressure, as well as the outlet gas flow rate and outlet pressure, constitute the current gas data.
3. The method according to claim 1, characterized in that, After the valve control device acquires the current gas data of the current gas pipeline interface, it further includes: Historical gas data for multiple consecutive time periods are acquired, wherein the time periods include multiple detection periods; The historical gas data for the current detection period is updated based on the earliest historical gas data obtained in multiple consecutive time periods. The target alarm threshold is determined based on the updated historical gas data.
4. The method according to claim 3, characterized in that, The step of determining the target alarm threshold based on the updated historical gas data includes: For any given detection period, a target deviation is determined based on the deviation of historical gas data for each detection period in each time cycle. A target alarm threshold is then determined based on the historical gas data for each detection period in each time cycle and the target deviation.
5. The method according to claim 3, characterized in that, Before updating the historical gas data for the earliest acquired time period among multiple consecutive time periods based on the current gas data, the method further includes: If the current gas flow data is greater than a preset multiple of the historical alarm threshold, the current flow data is determined to be abnormal data, and the update operation is stopped.
6. The method according to claim 1, characterized in that, The step of determining the target gas pipeline interface based on current gas data includes: The hazard level is determined based on a preset hazard level table and current gas data, wherein the preset hazard level table includes the correspondence between current gas data and hazard levels; Based on the current gas pipeline interface, hazard level, and gas pipeline diagram of the current gas data, determine the target gas pipeline interface.
7. The method according to claim 6, characterized in that, The step of determining the target gas pipeline interface based on the current gas pipeline interface, hazard level, and gas pipeline diagram of the current gas data includes: Centered on the current gas pipeline interface, the gas pipeline interfaces within the range of gas nodes corresponding to the hazard level, as determined by the gas pipeline diagram, are identified as the target gas pipeline interfaces.
8. A control system for a gas valve, characterized in that, include: It is applied to valve control devices and servers, wherein the valve control device is installed at the gas pipeline interface and the valve control device is communicatively connected to the server; The valve control device is used to acquire the current gas data of the current gas pipeline interface, wherein the current gas data is the gas data of the current gas pipeline interface collected during the current detection period within the current time cycle; The valve control device is used to obtain the target alarm threshold corresponding to the current detection period, wherein the target alarm threshold is updated based on the historical gas data of the current detection period in the previous time period; The valve control device is used to send the current gas data to the server when the current gas data meets the target alarm threshold. The server is used to determine the target gas pipeline interface based on the current gas data, and send a gas shut-off command to the valve control device corresponding to the current gas pipeline interface and the target gas pipeline interface, wherein the target gas pipeline interface and the current gas pipeline interface have a pipeline association relationship. The valve control device is used to close the gas valve based on the gas shut-off command.
9. The system according to claim 8, characterized in that, The valve control device is also used for: Historical gas data for multiple consecutive time periods are acquired, wherein the time periods include multiple detection periods; The historical gas data for the current detection period is updated based on the earliest historical gas data obtained in multiple consecutive time periods. The target alarm threshold is determined based on the updated historical gas data.
10. The system according to claim 9, characterized in that, The valve control device is specifically used for: For any given detection period, a target deviation is determined based on the deviation of historical gas data for each detection period in each time cycle. A target alarm threshold is then determined based on the historical gas data for each detection period in each time cycle and the target deviation.
Citation Information
Patent Citations
Method for realizing safe gas use through constant-flow limited gas use by internet-of-things gas meter
CN112950855A
Fuel gas conveying monitoring method, system and device
CN113884135A
Gas pipeline leakage detection method, device and equipment and storage medium
CN113944888A
Gas door station monitoring method based on intelligent gas platform and Internet of Things system
CN117455196A
Alarm and gas meter linkage method and device based on Internet of Things
CN117456692A