CN-121979002-A - Valve control device based on water meter
Abstract
The invention discloses a valve control device based on a water meter, which comprises a water meter base table, a communication unit, a key input unit, an information analysis and processing unit, a control execution unit and an information analysis and processing unit, wherein the water meter base table is used for collecting water parameters, the communication unit is connected with the water meter base table and used for interacting with a master station through a wireless or wired communication mode to receive a master station valve control instruction, the key input unit is used for local user interaction, the information analysis and processing unit is connected with the water meter base table, the communication unit and the key input unit and used for monitoring water failure conditions in real time according to the water parameters to generate a valve control instruction, the control execution unit is connected with the information analysis and processing unit and comprises a logic layer and a physical layer, the logic layer is used for receiving specific service information and outputting a control target of a device layer according to current information, the physical layer is used for receiving the control target of the logic layer and outputting a control signal of the control execution unit according to the actual physical state of the valve, and the valve is arranged on a water pipe to realize opening and closing operation.
Inventors
- DIAO RUIPENG
- LIU XINXIN
- LI XIANG
- ZHANG ZHIGANG
- GUO JIBAO
- DUAN MENGYUN
Assignees
- 青岛拓维科技有限公司
- 青岛鼎信通讯股份有限公司
- 青岛智电新能科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251226
Claims (10)
- 1. A water meter-based valve control apparatus, comprising: the water meter base table is used for collecting water consumption parameters; The communication unit is connected with the water meter base table and is used for interacting with the master station in a wireless or wired communication mode and receiving a master station valve control instruction; The key input unit is used for local user interaction and receiving manual input signals; The information analysis and processing unit is connected with the water meter base table, the communication unit and the key input unit, monitors the water consumption fault condition in real time according to the water consumption parameter, and generates a valve control instruction according to a monitoring result or a main station instruction; The control execution unit is connected with the information analysis and processing unit and comprises a logic layer and a physical layer, wherein the logic layer is used for receiving specific service information and outputting a control target of the equipment layer according to current information; the valve is arranged on the water pipe and is controlled by the control execution unit to realize opening and closing operation.
- 2. The water meter-based valve control of claim 1, wherein the information analysis and processing unit is configured to perform flow data processing, the method of performing flow data processing comprising: Acquiring real-time flow Q and clock data from a water meter base table according to a fixed time interval; Storing the real-time traffic Q into a traffic buffer array, denoted Q1, Q2, QN; Calculating average flow using slip method Wherein the calculation formula is as follows: ; Wherein N is the size of the cache array, and i is the number of the current data points.
- 3. The water meter-based valve control of claim 2, wherein the information analysis and processing unit is configured to detect a water fault condition, the detection logic to detect the water fault condition comprising: drip status detection for checking Whether the value of (1) is in the range of [ initial flow, Q 1 ], Q1 is the minimum flow of the water meter, which represents the minimum flow of the water meter which can still be accurately measured under the flow, and/or, Counterflow condition detection for checking Whether the value of (c) is less than 0, and/or, Overcurrent condition detection for checking Wherein X >1, Q4 is the overload flow of the water meter, which represents the maximum flow that the water meter can bear in a short time, and/or, Tube burst status detection for checking Whether greater than the pickup flow; Wherein the information analysis and processing unit outputs a valve closing instruction to the control execution unit if any fault condition is detected.
- 4. The water meter-based valve control of claim 1, wherein the information analysis and processing unit is configured to respond to external commands and events, the method of responding to external commands and events comprising: Checking whether a main station is related to a valve command or not under the condition that the current valve state is a valve opening state, and outputting a valve closing command to a control execution unit if the valve closing command exists; And under the condition that the current valve state is a valve closing state, checking whether a valve opening command exists or whether a key is pressed for a long time to input, and outputting a valve opening command to a control execution unit if the valve opening command exists or the key is pressed for a long time.
- 5. The water meter-based valve control of claim 1, wherein the information analysis and processing unit is configured to trigger the valve control based on a clock event, the method of triggering the valve control based on the clock event comprising: Checking whether the current clock is the same as the preset format time; If the clocks are matched, outputting a valve closing instruction under the valve closing state, and outputting the valve closing instruction when the valve is closed to the preset opening, or outputting the valve opening instruction under the valve closing state, and outputting the valve closing instruction when the valve is opened to the preset opening.
- 6. The water meter-based valve control device of claim 1, wherein the logic layer of the control execution unit is configured to execute a state transition according to an input signal, wherein the logic state of the logic layer comprises a command valve-open state, a command valve-close state, an emergency valve-open state, a key valve-close state, and a valve self-test and fail-safe state, and wherein the logic layer transition rule comprises: in the command valve-opening state, when the output of the information analysis and processing unit is not monitored or is command valve-opening, the command valve-opening state is maintained and a valve-opening signal is output to the physical layer, and/or, In the command valve-opening state, when the output of the information analysis and processing unit is detected as command valve-closing, the control unit is shifted to the command valve-closing state and outputs a valve-closing signal to the physical layer, and/or, In the command valve opening state, when the output of the information analysis and processing unit is detected to be self-checking or fault protection, the valve is shifted to the valve self-checking and fault protection state, and a valve closing signal is output to a physical layer, and/or, In the command valve closing state, when the output of the information analysis and processing unit is not monitored or is command valve closing, the command valve closing state is maintained and a valve closing signal is output to the physical layer, and/or, In the command valve-closing state, when the output of the information analysis and processing unit is detected as command valve-opening, the information analysis and processing unit is shifted to the command valve-opening state and a valve-opening signal is output to the physical layer, and/or, In the command valve closing state, when the output of the information analysis and processing unit is detected to be self-checking or fault protection, the valve is shifted to the valve self-checking and fault protection state, and a valve closing signal is output to a physical layer, and/or, In the command valve closing state, when the key input unit detects that the key is pressed for a long time, the key input unit shifts to an emergency valve opening state and outputs a valve opening signal to the physical layer, and/or, In the valve self-checking and fault protection state, when the output of the information analysis and processing unit is monitored to be command valve closing, the valve is shifted to a command valve closing state, and a valve closing signal is output to a physical layer, and/or, In the valve self-checking and fault protection state, when the output of the information analysis and processing unit is monitored to be command valve opening, the valve is shifted to a command valve closing state, and a valve closing signal is output to a physical layer, and/or, In the valve self-checking and fault protection state, when the key is monitored to be pressed for a long time, the valve is shifted to an emergency valve opening state, and a valve opening signal is output to a physical layer, and/or, Under the self-checking and fault protection state of the valve, when the output of the information analysis and processing unit is not monitored and the pressing of the key is not monitored, if the self-checking mode is in, a self-checking timer is started, and after the timing time is up, a signal opposite to the previous control signal is output to the physical layer.
- 7. The valve control device according to claim 1, wherein the physical layer of the control execution unit is configured to drive the valve actuator according to a control target of the logic layer, the physical layer includes a valve-open state, a valve-close state, and a valve failure state, and the migration rule of the physical layer includes: in the valve-open state, when the input is a valve-closing signal, the control valve is closed and shifts to the valve-closing state, and/or, In the valve-closing state, when the input is a valve-opening signal, the control valve is opened and shifted to the valve-opening state, and/or, In the valve closing state, when the input is a valve opening signal, the control valve is opened and is shifted to the valve opening state, and/or, In the valve closing state, the valve closing state is maintained when the valve closing signal is inputted, and/or, In the valve-opening state, when the input is a valve-opening signal, the valve-opening state is maintained, and/or, In the valve-closing state, when the input is a valve-closing signal, the control valve is closed and shifts to the valve-closing state, and/or, And immediately stopping valve movement under the valve failure state, and periodically executing repair operation, wherein the repair operation comprises the steps of executing valve closing action and then executing valve opening action and migrating to the valve closing execution state if the valve opening state is executed before the failure, and executing valve opening action and then executing valve closing action and migrating to the valve opening execution state if the valve opening state is executed before the failure.
- 8. The water meter-based valve control of claim 1, wherein the physical layer of the control execution unit is configured to control valve movement in a combination of horizontal direct drive and PWM drive, the control of valve movement comprising: In the valve starting stage, a level direct drive mode is used for providing large current so as to overcome inertial resistance; when the valve position change is monitored, the PWM driving mode is switched to save energy consumption.
- 9. The water meter-based valve control of any one of claims 1 to 8, wherein the physical layer of the control execution unit is configured to monitor the valve status in real time to detect anomalies, and when a valve anomaly is detected, to migrate to a valve failure state and to perform a protection operation.
- 10. The water meter-based valve control of claim 9, wherein the method of monitoring the valve status comprises: and when the abnormal conditions are met, judging the abnormal state of the valve, wherein the abnormal conditions comprise: the drive current continues to exceed the fault threshold for a time period, and/or, The valve position is unchanged for S seconds continuously, S is a preset value, and/or, The valve does not reach the designated position within a preset timeout.
Description
Valve control device based on water meter Technical Field The invention relates to the technical field of water meters, in particular to a valve control device based on a water meter. Background The traditional mechanical water meter does not have the function of automatic valve control, when users arrears or water faults such as water leakage occur, the valve needs to be manually processed to be closed, and when the users need to recover, the valve needs to be manually opened. This situation is inefficient. The existing intelligent water meter has the function of automatic valve control, but the function is relatively single, can only receive valve control commands from a main station generally, does not have the function of automatically identifying water faults, and needs to control the valve through the main station after being reported manually when the water faults occur, so that the efficiency is low. In summary, the low valve control efficiency of the intelligent water meter is a problem to be solved by those skilled in the art. Disclosure of Invention The invention mainly aims to provide a valve control device based on a water meter, which aims to solve the problem of low efficiency of an intelligent water meter control valve in the prior art. In order to achieve the above object, according to one aspect of the present invention, there is provided a valve control device based on a water meter, comprising: the water meter base table is used for collecting water consumption parameters; The communication unit is connected with the water meter base table and is used for interacting with the master station in a wireless or wired communication mode and receiving a master station valve control instruction; The key input unit is used for local user interaction and receiving manual input signals; The information analysis and processing unit is connected with the water meter base table, the communication unit and the key input unit, monitors the water consumption fault condition in real time according to the water consumption parameter, and generates a valve control instruction according to a monitoring result or a main station instruction; The control execution unit is connected with the information analysis and processing unit and comprises a logic layer and a physical layer, wherein the logic layer is used for receiving specific service information and outputting a control target of the equipment layer according to current information; the valve is arranged on the water pipe and is controlled by the control execution unit to realize opening and closing operation. In some embodiments, the information analysis and processing unit is configured to perform traffic data processing, and the method of performing traffic data processing includes: Acquiring real-time flow Q and clock data from a water meter base table according to a fixed time interval; Storing the real-time traffic Q into a traffic buffer array, denoted Q1, Q2, QN; Calculating average flow using slip method Wherein the calculation formula is as follows: ; Wherein N is the size of the cache array, and i is the number of the current data points. In some embodiments, the information analysis and processing unit is configured to detect a water fault condition, the detection logic to detect the water fault condition comprising: drip status detection for checking Whether the value of (1) is in the range of [ initial flow, Q 1 ], Q1 is the minimum flow of the water meter, which represents the minimum flow of the water meter which can still be accurately measured under the flow, and/or, Counterflow condition detection for checkingWhether the value of (c) is less than 0, and/or, Overcurrent condition detection for checkingWherein X >1, Q4 is the overload flow of the water meter, which represents the maximum flow that the water meter can bear in a short time, and/or, Tube burst status detection for checkingWhether greater than the pickup flow; Wherein the information analysis and processing unit outputs a valve closing instruction to the control execution unit if any fault condition is detected. In some embodiments, the information analysis and processing unit is configured to respond to external commands and events, the method of responding to external commands and events comprising: Checking whether a main station is related to a valve command or not under the condition that the current valve state is a valve opening state, and outputting a valve closing command to a control execution unit if the valve closing command exists; And under the condition that the current valve state is a valve closing state, checking whether a valve opening command exists or whether a key is pressed for a long time to input, and outputting a valve opening command to a control execution unit if the valve opening command exists or the key is pressed for a long time. In some embodiments, the information analysis and processing unit is configured to trigger valve control based on