Water affair detection method and system
By introducing sensors and SCADA systems into the water system, water quality is detected and analyzed in real time, fault warning thresholds and filters are set, the problems of water waste and safety hazards for traditional residents are solved, and intelligent water quality detection and control are achieved.
Patent Information
- Application Number
- CN202411484178.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional water for residents may be unnecessary waste of water due to water pipe rupture, temporary power outage or negligence of residents. In severe cases, valuables may be damaged or water leakage, which may pose great safety hazards and economic losses.
Provide a water detection method and system, which detects water quality in real time through sensors and returns data to the water control system, uses SCADA system to perform data analysis and processing, sets fault warning thresholds and event trigger fault detection filters to achieve water quality Intelligent detection and control.
Intelligent detection and control of residents' water use has been achieved, unnecessary waste of water has been reduced, the accuracy and efficiency of water quality detection has been improved, and safety hazards and economic losses have been reduced.
Smart Images

Figure CN119398599A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water affairs detection systems, and specifically to a water affairs detection method and system. Background Art
[0002] With the continuous development of smart cities in recent years, each city has paid more and more attention to the supply and management of water resources, and the water system has become an indispensable part of the management of major cities. Water is the material source for people's daily life. With the continuous improvement of the quality of life, people's demand for water is increasing. Urban water supply often has unstable water supply, and even water outages due to equipment failures and other problems. Therefore, it is necessary to detect the failure of urban water system equipment in a timely manner to avoid water supply accidents caused by equipment problems that cause the water supply system to fail to work normally. The water supply system of urban water affairs is mainly composed of water sources, pumping stations, water supply tanks, water supply network pipes, water pipe valves and water departments. Among them, pumping stations, water pipe valves and water supply networks play an important role in the urban water supply system. In most cities, water pipe networks and water pipe valves are buried underground, which makes them difficult to monitor and repair. As a result, many problems that arise in the water pipe network and water pipe valves during long-term work cannot be monitored and handled in a timely manner, resulting in the insecurity of the urban water supply system and even water outages in local areas, which seriously affects people's daily lives.
[0003] Traditional residential water use is often caused by pipe ruptures, temporary power outages, or residents' negligence, such as forgetting to turn off the tap, which can easily lead to unnecessary waste of water. In serious cases, valuable items in the home may be soaked and damaged, or leak into the homes of residents downstairs, causing unnecessary economic losses and posing a major safety hazard. Summary of the invention
[0004] In view of this, the invention provides a water service detection method and system, which can realize intelligent detection and control operations of residents' water use, solving the problem that traditional residents' water use is often caused by broken water pipes, temporary power outages or due to residents' negligence, forgetting to turn off the faucet, which can easily lead to unnecessary waste of water. In serious cases, valuables in the home may even be soaked and damaged or leak into the homes of residents downstairs, causing unnecessary economic losses and posing a major safety hazard.
[0005] In order to solve the above technical problems, the invention provides a water service detection method and system, the method comprising the following steps:
[0006] S1. Water quality data entry;
[0007] S2, real-time collection of water quality data;
[0008] S3. Set and enter the corresponding fault warning threshold;
[0009] S4. Setting an event-triggered fault detection filter for the water system;
[0010] S5. Analyze and process relevant water quality data;
[0011] S6. Return of water quality data and sending of corresponding instructions.
[0012] Use the data acquisition system to input water quality related parameters. The data acquisition system includes sensors, data collectors, IoT devices and SCADA systems. Each unit in the data acquisition system is electrically connected. According to the water quality parameters, they are collected and input into the SCADA system for storage and subsequent comparison reference.
[0013] The SCADA system includes remote terminal units, PLC controllers, communication networks, central control systems, human-machine interfaces, databases, and alarm and time management systems. The SCADA system consists of the following main parts, including remote terminal units (RTUs) and programmable logic controllers (PLCs), among which RTUs: are installed on-site and are responsible for collecting sensor data and sending it to the central control system;
[0014] PLC: used to control field devices, perform predetermined logical operations, and transmit data back to the central control system; Communication network: used to transmit data between RTU / PLC and the central control system. The communication method can be wired (such as Ethernet, optical fiber) or wireless (such as radio, cellular network);
[0015] Central control system, usually one or more servers, running SCADA software, responsible for centralized processing, storage and display of data;
[0016] The central control system also provides a user interface for operators to monitor and control the entire system;
[0017] Human-machine interface (HMI), which provides a graphical user interface that enables operators to intuitively view system status, alarm information, and historical data;
[0018] The HMI can be a workstation, touch screen panel, or other type of display device;
[0019] Database, which stores real-time and historical data for trend analysis, report generation and fault diagnosis.
[0020] Alarm and event management system, when abnormal conditions are detected, the system will trigger an alarm and notify the operator to take appropriate measures;
[0021] The event management system records all important operations and events for subsequent analysis and auditing.
[0022] The main functions of the SCADA system are: data acquisition, collecting data from field equipment (such as sensors and instruments), including parameters such as temperature, pressure, flow, and liquid level;
[0023] Real-time monitoring, displaying real-time data through HMI, so that operators can understand the operating status of the system at any time;
[0024] Control, sending control instructions to field equipment, such as starting / stopping pumps, adjusting valve opening, etc.;
[0025] Alarm management: when an abnormal situation is detected, the system will trigger an alarm and notify the operator through sound, light or text message;
[0026] Historical data logging records all important data and events for subsequent analysis and report generation.
[0027] Report and trend analysis, generate various reports and charts to help managers make decisions and optimize the production process;
[0028] Remote access, which allows operators to remotely access the system through the Internet or other networks for monitoring and control;
[0029] The data collector also includes a data acquisition module for collecting water quality data;
[0030] Data verification module, used to verify the collected water quality data and detect and verify abnormal values;
[0031] The data entry module is electrically connected to the data acquisition module to enter the water quality data into the data acquisition module in real time;
[0032] A data storage module is electrically connected to the data acquisition module, the data entry module and the SCADA system to store the data collected by the data acquisition module and back it up in a database or management system of the SCADA system;
[0033] The data analysis module is electrically connected to the data verification module and is used to compare and analyze the water quality data collected by the data entry module and transmitted in real time into the SCADA system, and generate reports and stamps;
[0034] The data reporting module is electrically connected to the data analysis module and the SCADA system, and generates regular reports, trend analysis and action suggestions.
[0035] The acquisition module includes a microcontroller, which is electrically connected to the sensor and is used to preliminarily process and analyze the data sensed, detected and returned by the sensor;
[0036] Wireless communication module for transmitting data processed by the microcontroller to the SCADA system.
[0037] The wireless communication module adopts any one of Wi-Fi, Bluetooth, LoRaWAN and NB-IoT.
[0038] The following steps are also included:
[0039] Monitor water flow, pressure and temperature in water pipes through sensors;
[0040] Collect sensor data through data acquisition module;
[0041] Transmitting the data collected by the data acquisition module to a cloud server via a wireless communication module;
[0042] Receive and store the data transmitted by the data acquisition module through the cloud server, and process and analyze the data;
[0043] Send control instructions to the PLC controller through the cloud server;
[0044] The PLC controller controls the opening and closing of the intelligent valve according to the control instructions;
[0045] The following steps are also included:
[0046] Setting a threshold through the cloud server, when the data of the sensor module exceeds the threshold, generating an alarm message;
[0047] The alarm information is received and displayed via a mobile phone application.
[0048] The control instructions include: instructions for opening the intelligent valve;
[0049] Instructions to close the smart valve;
[0050] Instructions for adjusting the opening of the smart valve.
[0051] The filter is an IIR filter.
[0052] In summary, compared with the prior art, the present application includes at least one of the following beneficial technical effects:
[0053] 1. The present invention can realize real-time detection of the water quality of water entering the user's house through sensors, and transmit it back to the water control system. The water control system analyzes and processes the received water quality, and transmits its faults and operating conditions to the mobile phone terminal in real time, so that the user can remotely grasp and control the water quality, and the operation is more convenient, efficient and intelligent.
[0054] 2. The present invention can eliminate external interference factors that interfere with water quality detection through a filter, so as to obtain more accurate and effective water quality parameters, greatly improving the method of water quality detection and the accurate and efficient control of water quality.
[0055] 3. The present invention can realize remote control of water services through wireless communication technologies (such as Wi-Fi, Bluetooth, LoRaWAN, NB-IoT), and users can operate through mobile phone applications or web interfaces, which is more convenient and efficient.
[0056] 4. The present invention can realize fast and efficient opening and closing of the intelligent valve and convenient and efficient adjustment of its flow rate through control instructions, making the operation more convenient and efficient.
[0057] 5. The present invention can realize intelligent control operation of the entire water affairs detection method and system through the SCADA system, so as to ensure the normal operation of the water affairs detection system, so as to improve the intelligent control operation of water quality, and the operation is more convenient and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 A schematic diagram of the operation steps of the invented water service detection method;
[0059] Figure 2 A flow chart of the invented water service detection system.
[0060] Explanation of the accompanying drawings: 100, data acquisition system; 110, sensor; 120, data collector; 121, data acquisition module; 122, data verification module; 123, data entry module; 124, data storage module; 125, data analysis module; 126, data reporting module; 130, Internet of Things device; 140, SCADA system; 150, remote terminal unit; 160, PLC controller; 170, communication network; 180, central control system; 190, human-machine interface; 200, database; 210, alarm and time management system. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the invention clearer, the following will be combined with the appended drawings of the embodiments of the invention. Figure 1-2 , clearly and completely describe the technical solutions of the embodiments of the invention. Obviously, the described embodiments are part of the embodiments of the invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the described embodiments of the invention belong to the scope of protection of the invention.
[0062] like Figure 1-2 As shown: This embodiment provides a water service detection method and system, the method includes the following steps:
[0063] S1. Water quality data entry: Enter various water safety parameters into the water service detection system, including but not limited to physical parameters of water quality such as turbidity and pH value, chemical parameters such as hardness, alkalinity, safety standard values of heavy metals and organic pollutants, biological parameters such as E. coli, algae and plankton, and other related parameters;
[0064] S2, real-time collection of water quality data, using sensors 110 to detect and collect the water quality of water entering residents' homes in real time, and uploading it to the water service detection system for analysis, monitoring and recording;
[0065] S3. Set and input the corresponding fault warning threshold, set the threshold through the water service detection system, and when the data of the sensor 110 approaches or exceeds the threshold, generate an alarm message and transmit it back to the terminal;
[0066] S4. Setting an event-triggered fault detection filter for the water system, the filter is used to process and analyze the data collected from the sensor 110 to remove noise, extract useful information or perform data smoothing. Common water system detection parameters include water flow, pressure, temperature, conductivity, pH value, etc.;
[0067] S5. Analyze and process the corresponding water quality data, analyze the water quality data obtained by real-time detection, and determine whether the water quality is normal;
[0068] S6. Feedback of water quality data and sending of corresponding instructions. Corresponding action instructions are issued through real-time detection of the returned water quality data, such as remote control of closing valves, to remind users to dynamically respond to corresponding water quality detection system failures.
[0069] According to one embodiment of the invention, Figure 1-2 As shown,
[0070] The data acquisition system 100 is used to input water quality related parameters. The data acquisition system 100 includes a sensor 110, a data collector 120, an Internet of Things device 130 and a SCADA system 140. Each unit in the data acquisition system 100 is electrically connected. According to the water quality parameters, the water quality parameters are collected and input into the SCADA system 140 for storage and subsequent comparison and reference. The data is uploaded (using MQTT) in accordance with the following program code:
[0071] #python
[0072] import paho.mqtt.client as mqtt
[0073] import json
[0074] (#MQTT Broker Configuration)
[0075] broker = "mqtt.example.com"
[0076] port=1883
[0077] topic="home / water / sensors"
[0078] (#Connect to MQTT Broker)
[0079] client = mqtt.Client()
[0080] client.connect(broker,port)
[0081] (#Publish data)
[0082] data = {
[0083] "flow_rate":0.5,
[0084] "pressure":50,
[0085] "temperature":20
[0086] }
[0087] client.publish(topic,json.dumps(data)).
[0088] The SCADA system 140 includes a remote terminal unit 150, a PLC controller 160, a communication network 170, a central control system 180, a human-machine interface 190, a database 200, and an alarm and time management system 210. The SCADA system 140 consists of the following main parts, including a remote terminal unit 150 (RTU) and a programmable logic controller (PLC), wherein the RTU: is installed on site and is responsible for collecting sensor 110 data and sending it to the central control system 180;
[0089] PLC: used to control field devices, perform predetermined logical operations, and transmit data back to the central control system 180; Communication network 170, used to transmit data between RTU / PLC and central control system 180. The communication method can be wired (such as Ethernet, optical fiber) or wireless (such as radio, cellular network);
[0090] Central control system 180, usually one or more servers, running SCADA software, responsible for centralized processing, storage and display of data;
[0091] The central control system 180 also provides a user interface for operators to monitor and control the entire system;
[0092] Human-machine interface 190 (HMI), which provides a graphical user interface that enables operators to intuitively view system status, alarm information, and historical data;
[0093] The HMI can be a workstation, touch screen panel, or other type of display device;
[0094] Database 200 stores real-time data and historical data for trend analysis, report generation and fault diagnosis.
[0095] Alarm and event management system, when abnormal conditions are detected, the system will trigger an alarm and notify the operator to take appropriate measures;
[0096] The event management system records all important operations and events for subsequent analysis and auditing.
[0097] The main functions of the SCADA system 140 are: data acquisition, collecting data from field devices (e.g., sensors 110 and instruments), including parameters such as temperature, pressure, flow, and liquid level;
[0098] Real-time monitoring, displaying real-time data through HMI, so that operators can understand the operating status of the system at any time;
[0099] Control, sending control instructions to field equipment, such as starting / stopping pumps, adjusting valve opening, etc.;
[0100] Alarm management: when an abnormal situation is detected, the system will trigger an alarm and notify the operator through sound, light or text message;
[0101] Historical data logging records all important data and events for subsequent analysis and report generation.
[0102] Report and trend analysis, generate various reports and charts to help managers make decisions and optimize the production process;
[0103] Remote access, which allows operators to remotely access the system through the Internet or other networks for monitoring and control;
[0104] According to another embodiment of the invention, Figure 1-2 As shown, the data collector 120 also includes a data collection module 121 for collecting water quality data;
[0105] The data verification module 122 is used to verify the collected water quality data and detect and verify abnormal values;
[0106] The data entry module 123 is electrically connected to the data acquisition module 121 and enters the water quality data into the data acquisition module 121 in real time;
[0107] The data storage module 124 is electrically connected to the data acquisition module 121, the data entry module 123 and the SCADA system 140, stores the data collected by the data acquisition module 121, and backs it up in the database 200 or the management system of the SCADA system 140;
[0108] The data analysis module 125 is electrically connected to the data verification module 122 and is used to compare and analyze the water quality data collected by the data entry module 123 in the SCADA system 140 and to generate reports and stamps;
[0109] The data reporting module 126 is electrically connected to the data analysis module 125 and the SCADA system 140 and generates periodic reports, trend analysis and action recommendations.
[0110] The acquisition module includes a microcontroller, which is electrically connected to the sensor 110 and is used to preliminarily process and analyze the data sensed, detected and returned by the sensor 110;
[0111] The wireless communication module is used to transmit the data processed by the microcontroller to the SCADA system 140 .
[0112] The wireless communication module adopts any one of Wi-Fi, Bluetooth, LoRaWAN and NB-IoT.
[0113] The following steps are also included:
[0114] Monitor water flow, pressure and temperature in the water pipe by means of sensor 110;
[0115] Collecting data from the sensor 110 through the data acquisition module 121;
[0116] Transmitting the data collected by the data acquisition module 121 to a cloud server via a wireless communication module;
[0117] Receive and store the data transmitted by the data acquisition module 121 through the cloud server, and process and analyze the data;
[0118] Sending control instructions to the PLC controller 160 via the cloud server;
[0119] The PLC controller 160 controls the opening and closing of the intelligent valve according to the control instruction;
[0120] View the data of the sensor 110 and send control instructions through the mobile phone application, the mobile phone uses (ReactNative)
[0121] The program code is:
[0122]
[0123]
[0124]
[0125] export default App;
[0126] The following steps are also included:
[0127] Setting a threshold value through the cloud server, when the data of the sensor 110 module exceeds the threshold value, generating an alarm message;
[0128] The alarm information is received and displayed via a mobile phone application.
[0129] The control instructions include: instructions for opening the intelligent valve;
[0130] Instructions to close the smart valve;
[0131] Instructions for adjusting the opening of the smart valve.
[0132] The filter is an IIR filter.
[0133] Method of using the invention:
[0134] First of all, it should be made clear that the water conservancy detection system and method involved in the invention are mainly used for the precise control and detection of water quality and for its intelligent control. The invention takes the example to elaborate on its use method in detail. When water conservancy detection is required, follow the following steps: First, water quality data entry, enter various safety parameters of water into the water conservancy detection system, including but not limited to physical parameters of water quality such as turbidity and pH value, chemical parameters such as hardness, alkalinity, safety standard values of heavy metal and organic pollutant content, biological parameters such as E. coli, algae and plankton and other related parameters;
[0135] Second, water quality data is collected in real time. The water quality of water entering residents' homes is detected and collected in real time through the sensor 110, and the data is uploaded to the water service detection system in real time for analysis, monitoring and recording;
[0136] Third, set and input the corresponding fault warning threshold, set the threshold through the water service detection system, and when the data of the sensor 110 approaches or exceeds the threshold, generate an alarm message and transmit it back to the terminal;
[0137] Fourth, an event-triggered fault detection filter for the water system is set. The filter is used to process and analyze the data collected from the sensor 110 to remove noise, extract useful information or perform data smoothing. Common water system detection parameters include water flow, pressure, temperature, conductivity, pH value, etc.;
[0138] Fifth, analyze and process the corresponding water quality data, analyze the water quality data obtained by real-time detection, and determine whether the water quality is normal;
[0139] Sixth, the feedback of water quality data and the sending of corresponding instructions, through real-time detection of the returned water quality data to perform corresponding action instructions, such as remote control to close the valve, reminding the user to make dynamic response to the failure of the corresponding water quality detection system.
[0140] In addition, it should be noted that in the description of the invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the invention can be understood according to the specific circumstances.
[0141] The above is a preferred embodiment of the invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the invention. These improvements and modifications should also be regarded as the scope of protection of the invention.
Claims
1. A water service detection method, characterized in that: The method comprises the following steps: S1. Water quality data entry; S2, real-time collection of water quality data; S3. Set and enter the corresponding fault warning threshold; S4. Setting an event-triggered fault detection filter for the water system; S5. Analyze and process relevant water quality data; S6. Return of water quality data and sending of corresponding instructions.
2. A water service detection system, characterized in that: A data acquisition system (100) is used to input water quality related parameters. The data acquisition system (100) comprises a sensor (110), a data acquisition device (120), an Internet of Things device (130) and a SCADA system (140). Each unit in the data acquisition system (100) is electrically connected. Water quality parameters are collected and input into the SCADA system (140) for storage and subsequent comparison and reference.
3. The water service detection system according to claim 2, characterized in that: The SCADA system (140) includes a remote terminal unit (150), a PLC controller (160), a communication network (170), a central control system (180), a human-machine interface (190), a database (200) and an alarm and time management system (210).
4. The water service detection system as claimed in claim 3, characterized in that: The data collector (120) further comprises a data collection module (121) for collecting water quality data; A data verification module (122) is used to verify the collected water quality data and detect and verify abnormal values; A data entry module (123) is electrically connected to the data acquisition module (121) and enters the water quality data into the data acquisition module (121) in real time; A data storage module (124) is electrically connected to the data acquisition module (121), the data entry module (123) and the SCADA system (140), stores the data collected by the data acquisition module (121), and backs it up in a database (200) or a management system of the SCADA system (140); The data analysis module (125) is electrically connected to the data verification module (122) and is used to compare and analyze the water quality data collected by the data entry module (123) and transmitted in real time into the SCADA system (140), and generate reports and stamps; The data reporting module (126) is electrically connected to the data analysis module (125) and the SCADA system (140) and generates periodic reports, trend analysis and action recommendations.
5. The water service detection system as claimed in claim 4, characterized in that: The acquisition module comprises a microcontroller, which is electrically connected to the sensor (110) and is used for preliminarily processing and analyzing the data sensed, detected and returned by the sensor (110); The wireless communication module is used to transmit the data processed by the microcontroller to the SCADA system (140).
6. The water service detection method according to claim 5, characterized in that: The wireless communication module adopts any one of Wi-Fi, Bluetooth, LoRaWAN and NB-IoT.
7. The water service detection method according to claim 1, characterized in that: The following steps are also included: Monitoring water flow, pressure and temperature in the water pipe by means of a sensor (110); Collecting data from the sensor (110) through a data acquisition module (121); Transmitting the data collected by the data acquisition module (121) to a cloud server via a wireless communication module; receiving and storing the data transmitted by the data acquisition module (121) through a cloud server, and processing and analyzing the data; Sending control instructions to a PLC controller (160) via a cloud server; Controlling the opening and closing of the intelligent valve according to control instructions through a PLC controller (160); The data of the sensor (110) is viewed and control instructions are sent through a mobile phone application.
8. The water service detection method according to claim 7, characterized in that: The following steps are also included: Setting a threshold value through a cloud server, and generating an alarm message when the data of the sensor (110) module exceeds the threshold value; The alarm information is received and displayed via a mobile phone application.
9. The water service detection method according to claim 8, characterized in that: The control instructions include: instructions for opening the intelligent valve; Instructions to close the smart valve; Instructions for adjusting the opening of the smart valve.
10. The water service detection method according to claim 1, characterized in that: The filter is an IIR filter.