Intelligent control method for dosing in water treatment

Through intelligent control methods, algorithms and sensors are used to monitor water quality and automatically adjust the dosage amount, the problems of large inertia and long pure lag time of the dosing process in sewage treatment are solved, and efficient and accurate chemical treatment processes are achieved, reducing operating costs.

CN119861654APending Publication Date: 2025-04-22NINGXIA BAOFENG ENERGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510010588.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

The dosing process in sewage treatment has problems such as large inertia and long pure lag time, which leads to poor PID control effect. Especially when the pure lag time is extended, the PID control effect of the composite ring is not ideal, and there are difficult switching problems for manual switching method.

Method used

An intelligent control method is adopted to monitor water quality through algorithms and sensors, automatically adjust the amount of chemical agents added, encrypt data transmission using the Internet of Things platform and industrial gateway, analyze water quality data in combination with machine learning algorithms, and generate control instructions to adjust the dosage.

Benefits of technology

It realizes efficient operation of drug dosing work in sewage treatment, improves the accuracy of the chemical treatment process, reduces the need for manual intervention, reduces operating costs, and improves the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861654A_ABST
    Figure CN119861654A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent control method for water treatment dosing, which comprises the following steps: S1, collecting dosing data of front-end equipment, and monitoring sewage treatment data in real time through intelligent monitoring equipment; s2, collecting operation data of the water treatment equipment, sending the operation data to the Internet of Things platform, and storing the operation data in a database; s3, encrypting the data in the S1 and the S2 through the industrial gateway, and then sending the encrypted data to the Internet of Things platform; s4, a data analysis module is arranged on the Internet of Things platform, and the data analysis module is used for regularly checking the water quality data, comparing the water quality data with a preset standard or target value, and analyzing the trend and abnormal conditions of the water quality data through a machine learning algorithm; s5, the adjusted water quality data is sent to an Internet of Things platform, efficient operation of dosing work in sewage treatment in the chemical industry park is achieved, the water quality is monitored through an algorithm and a sensor, the adding amount of chemical agents is automatically adjusted, and the chemical treatment process is accurately controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of intelligent control, and in particular relates to an intelligent control method for water treatment dosing. Background Art

[0002] The automatic control system for sewage treatment has the common characteristics of other control systems, including analog and digital quantities, sequential control and real-time control, open-loop control and closed-loop control. The intelligent dosing control technology for sewage treatment caters to the current chemical industry's demand for automation and intelligent improvement of sewage treatment, making the dosing amount and various reagent ratios in the sewage treatment plant more accurate. Through the coordinated linkage of data mining, edge computing and other technologies with intelligent terminals, the information data analysis, abnormal warning, and personalized customization of each reagent dosing of biochemical wastewater can improve the accuracy of reagent input in the sewage treatment process in the operation activities of the sewage treatment plant. The large-scale application of advanced instruments and equipment for water treatment has put forward higher and higher requirements on the stability and reliability of its control system. Traditional manual operation is far from being able to obtain good control quality. Programmable controllers (PLCs) are widely used in industrial control due to their high reliability and high cost performance. PLCs make the equipment and detection instruments of each process section in the sewage treatment plant relatively centralized and the control relatively independent. Therefore, the structure of modern sewage treatment control systems generally adopts a two-level monitoring distribution system based on computers and PLCs.

[0003] In the prior art, the sewage treatment SCADA system generally adopts three levels of control for the sake of safe production: local manual, on-site monitoring and remote monitoring. Local manual refers to manually controlling the opening and closing of the equipment through the conversion switch next to the equipment; on-site monitoring refers to the task of controlling the equipment by the on-site PLC station; remote monitoring refers to the monitoring of the remote equipment by the central control room of the sewage treatment plant through the SCADA system network. However, in large-scale computer automatic control systems, due to the large number of devices and components that need to be controlled and the complex logical relationships, various devices and units may fail or malfunction, which will cause certain losses.

[0004] The process control method of intelligent dosing in sewage treatment plants has the characteristics of large inertia and long pure lag time. Theoretical proof: for -t / (1+T 1 )(1+T 2S) characteristic control object, PID is an optimal control, but when its pure lag time t is greater than several minutes, the effect of PID control is not good. Especially when the pure lag time is extended, even if the compound loop control is adopted, the effect is not ideal. Moreover, when the compound loop PID controller is used for control, the computer in the control room can only monitor the parameters of the control system but cannot participate in the control. When switching to manual mode, it is necessary to operate on site, and the switching problem between the two modes is difficult to solve.

[0005] Therefore, the present invention provides an intelligent control method for water treatment dosing to solve the above technical problems. Summary of the invention

[0006] In response to the problems raised by the above background technology, the purpose of the present invention is to provide an intelligent control method for water treatment dosing, aiming to achieve efficient operation of dosing work in sewage treatment in chemical parks, and to monitor water quality by using algorithms and sensors to automatically adjust the amount of chemical agents added to accurately control the chemical treatment process.

[0007] In order to achieve the above technical objectives, the technical solution adopted by the present invention is as follows:

[0008] An intelligent control method for water treatment dosing includes the following steps:

[0009] S1: Collect the dosing data of the front-end equipment and monitor the sewage treatment data in real time through intelligent monitoring equipment;

[0010] S2: Collect the operating data of water treatment equipment, send it to the IoT platform, and store it in the database;

[0011] S3: Encrypts the data in S1 and S2 through the industrial gateway and then sends it to the IoT platform;

[0012] S4: The IoT platform is provided with a data analysis module, which is used to regularly check water quality data and compare it with a preset standard or target value, and analyze the trend and abnormality of water quality data through a machine learning algorithm. The analysis result generated by the data analysis module is used to determine whether the dosage needs to be adjusted, and the IoT platform generates a control instruction to adjust the dosage and thus adjust the water quality data;

[0013] S5: The adjusted water quality data is sent to the IoT platform.

[0014] In the actual application of this embodiment, the front-end equipment in S1 includes a magnetic levitation fan, a softening high-density PAM dosing pump, a softening high-density PAC dosing pump, a reverse osmosis chemical cleaning tank, a softening high-density sodium hydroxide dosing pump and a softening high-density sodium carbonate dosing pump, and the intelligent monitoring equipment includes a pH meter, a conductivity meter, a dissolved oxygen meter and a turbidity meter; the dosing data and sewage treatment data are divided into monitoring data and control data.

[0015] In the actual application of this embodiment, the operating data of the water treatment equipment in S2 includes water quality, flow and pressure data, and the operating data stored in the database is used to be processed by a big data analysis tool to generate reports and / or charts.

[0016] In the practical application of this embodiment, the analysis result generated by the data analysis module in S4 is used to determine whether the dosage needs to be adjusted, which specifically includes the following steps:

[0017] S41: If the pH value of the water quality data deviates from the target range, the machine learning algorithm calculates how much agent needs to be added to return the pH value to the normal range;

[0018] S42: After determining the amount of medicine to be added, the Internet of Things platform generates a control instruction to control the dosing pump controller;

[0019] S43: After receiving the control instruction, the dosing pump controller adjusts the adding rate or total amount of the agent according to the content of the control instruction.

[0020] In the actual application of this embodiment, the industrial gateway has a firewall function and establishes its own protection security through iptables configuration;

[0021] Specifically, the industrial gateway configures gateway inbound and outbound rules, establishes a network access whitelist, and only allows legitimate server IPs that meet the rules to access the gateway for data filtering. Other illegal IP messages will be filtered out.

[0022] In the actual application of this embodiment, the industrial gateway supports wireless and wired network access modes;

[0023] The wireless network uses China Mobile's Internet of Things card. By formulating access whitelist settings, the China Internet of Things card operator configures a whitelist strategy for the Internet of Things, allowing only bound legal IPs to access, thereby establishing network link access security;

[0024] The office intranet wired network and wireless network are used. The collected data is accessed through the wireless network and uploaded to the Internet of Things platform. The control data is mainly accessed through the wireless network, and the office intranet wired network is deployed as a backup, accessed and uploaded to the Internet of Things platform. The Internet of Things platform operates the on-site equipment by issuing control instructions.

[0025] In the actual application of this embodiment, it also includes a network access method of newly building an independent production network and a wireless network. By establishing an independent production network, accessing and uploading it to the Internet of Things platform, the independent production network replaces the office intranet wired network.

[0026] In the practical application of this embodiment, the IoT platform encrypts the device channel to which it is connected through the TLS encryption mechanism, including the following steps:

[0027] S31: message mechanism, the IoT platform receives messages from the IoT server MQTT broke proxy server through the MQTT message subscription mechanism;

[0028] S32: Message encryption: Create a TLS encrypted channel through the TLS encryption mechanism and encrypt the transmitted messages;

[0029] S33: Transmission protocol. The communication protocol between the industrial gateway and the Internet of Things platform is MQTT.

[0030] In the practical application of this embodiment, the message encryption of S32 includes the following steps:

[0031] S311: Obtain a valid CA certificate and the username and password for connection;

[0032] S312: The IoT platform collects data by creating a successful TLS encryption channel. The data collection is a data reporting process, and the data collection process performs ciphertext transmission.

[0033] S313: The IoT platform issues control instructions through the successfully connected TLS encrypted channel. The control instructions are transmitted to the industrial gateway via ciphertext and are decrypted by the industrial gateway for control execution.

[0034] In the actual application of this embodiment, the Internet of Things platform is a private cloud server, and the security of the Internet of Things platform is ensured by a firewall security mechanism.

[0035] Beneficial effects of the present invention:

[0036] 1. The present invention provides an intelligent control method for water treatment dosing, which effectively collects various data such as the dosage of the dosing pump, and realizes secure multi-party joint modeling through machine learning algorithms and encrypted data to maximize data value and benefit all parties.

[0037] 2. The data transmission security mechanism is protected by four levels: device gateway terminal security protection, network link security mechanism, data transmission security, and server-side security. The device gateway terminal security is mainly protected by the internal firewall of the gateway, and other illegal IP access is prohibited through rules; network link security is protected by network access firewall or wireless network card whitelist mechanism; data transmission security establishes TLS encryption channel through CA certificate, and securely encrypts the connection authentication user password; the server security end performs access security control through the firewall, and publishes web pages through HTTPS encryption to achieve security.

[0038] 3. Dosing data is the time series data of the operation of the dosing equipment. The data storage mainly uses the IotDB database to ensure the integrity of the data and the efficiency of data query.

[0039] 4. Intelligent dosing follows the principle of saving medicine and stabilizing water quality. Combined with the dosing experience of on-site dosing personnel, relevant algorithm intelligent dosing software function application development is carried out to realize the automatic adjustment and control method of PAC, PAM, sodium carbonate and sodium hydroxide dosing pumps. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The present invention can be further illustrated by the non-limiting examples given in the accompanying drawings;

[0041] Figure 1 This is an overall architecture diagram of an embodiment of an intelligent control method for water treatment dosing according to the present invention;

[0042] Figure 2 A flowchart of an embodiment of an intelligent control method for water treatment dosing according to the present invention;

[0043] Figure 3 This is a MQTT communication mechanism diagram of an embodiment of an intelligent control method for water treatment dosing of the present invention;

[0044] Figure 4 A CA certificate creation connection process diagram for an embodiment of an intelligent control method for water treatment dosing of the present invention;

[0045] Figure 5 A diagram of a data collection process of a TLS encrypted channel of an embodiment of an intelligent control method for water treatment dosing of the present invention;

[0046] Figure 6 This is a process diagram of sending control instructions through a TLS encrypted channel of an embodiment of an intelligent control method for water treatment dosing of the present invention. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the present invention, the technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments. The technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present invention.

[0048] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0049] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0050] The intelligent control method for water treatment dosing of the present invention aims to achieve efficient operation of dosing in sewage treatment in chemical parks, use algorithms and sensors to monitor water quality, and automatically adjust the amount of chemical agents added to accurately control chemical treatment processes such as coagulation, precipitation and disinfection. It is used to meet the personalized needs of enterprises to reduce costs and increase efficiency, and information data to enable enterprise production. The overall architecture of the method is as follows Figure 1 shown.

[0051] To achieve the above object, an intelligent control method for water treatment dosing of the present invention comprises the following steps:

[0052] S1: Collect the dosing data of the front-end equipment and monitor the sewage treatment data in real time through intelligent monitoring equipment;

[0053] S2: Collect the operating data of water treatment equipment, send it to the IoT platform, and store it in the database;

[0054] Specifically, the data storage of this embodiment adopts IotDB database. In order to ensure the integrity of data and data query efficiency, data is organized with devices as the smallest object and stored in the form of wide tables. IotDB database adopts cluster deployment mode and consists of three cluster nodes to ensure that single node failure does not affect system application.

[0055] S3: Encrypts the data in S1 and S2 through the industrial gateway and then sends it to the IoT platform;

[0056] Specifically, in the process of transmitting data from the industrial gateway to the IoT cloud platform, in order to ensure the security of the data, the industrial gateway will use encryption technology to encrypt the data before transmission to ensure that the data is not intercepted or tampered with by a third party during the transmission process. The industrial gateway sends data to the Internet through a wireless network, which may pass through a router or base station in the process and finally reach the IoT platform.

[0057] S4: The IoT platform is provided with a data analysis module, which is used to regularly check water quality data and compare it with a preset standard or target value, and analyze the trend and abnormality of water quality data through a machine learning algorithm. The analysis result generated by the data analysis module is used to determine whether the dosage needs to be adjusted, and the IoT platform generates a control instruction to adjust the dosage and thus adjust the water quality data;

[0058] S5: The adjusted water quality data is sent to the IoT platform.

[0059] Specifically, the adjusted water quality data continues to be collected and sent to the IoT platform to form a closed-loop control. Over time, the machine learning algorithm can learn a more accurate prediction model and further optimize the control strategy. Such a design can not only improve the efficiency and accuracy of the water treatment system, but also reduce the need for manual intervention, thereby reducing operating costs and improving safety.

[0060] In the actual application of this embodiment, the front-end equipment in S1 includes a magnetic levitation fan, a softening high-density PAM dosing pump, a softening high-density PAC dosing pump, a reverse osmosis chemical cleaning tank, a softening high-density sodium hydroxide dosing pump and a softening high-density sodium carbonate dosing pump, and the intelligent monitoring equipment includes a pH meter, a conductivity meter, a dissolved oxygen meter and a turbidity meter; the dosing data and sewage treatment data are divided into monitoring data and control data.

[0061] Specifically, monitoring data and control data mainly involve analog and digital quantities of the above instrumentation equipment. Analog data mainly refers to analog signals connected to instrumentation equipment, including 4-20mA analog signals. The collector can convert analog data into digital quantities and transmit them to the gateway through the adapter.

[0062] Specifically, the intelligent dosing part of this embodiment includes: PAC agent and PAM agent dosing, NaOH agent dosing and Na 2 CO 3 Dosing of reagents. The instantaneous flow rate of PAC and PAM reagents is determined by the instantaneous flow rate of water inlet (m3 / h) of the high-density tank. This embodiment establishes a corresponding relationship between the reagent dosage and pump frequency based on the water inlet flow gradient as the target adjustment frequency of the dosing pump control algorithm. The instantaneous flow rate of NaOH reagent addition is linked to pH, so this embodiment adjusts the reagent dosage according to the real-time value of pH change. Na 2 CO 3 The instantaneous flow rate of the reagent addition is determined by the instantaneous flow rate of the water inlet of the high-density tank (m 3 / h). According to the experience of dosing in sewage treatment process, the relationship between the inflow flow rate of high-density pool and the pump frequency of dosing pump can be established:

[0063] f=w*x+b 0

[0064] Among them, f represents the pump frequency of the dosing pump, x represents the instantaneous flow rate of gasified ash water, w is the coefficient, b 0 is a constant term.

[0065] In the actual application of this embodiment, the operating data of the water treatment equipment in S2 includes water quality, flow and pressure data, and the operating data stored in the database is used to be processed by a big data analysis tool to generate reports and / or charts.

[0066] Specifically, in order to remotely monitor and analyze operating data, it is necessary to transmit operating data from field equipment to the IoT platform. After the operating data reaches the IoT platform, it is received through the API interface and stored in the database. The data stored on the data end can be processed by big data analysis tools to generate useful reports and charts to help operators better understand the operating status of the water treatment system and make decisions accordingly.

[0067] In the practical application of this embodiment, the analysis result generated by the data analysis module in S4 is used to determine whether the dosage needs to be adjusted, which specifically includes the following steps:

[0068] S41: If the pH value of the water quality data deviates from the target range, the machine learning algorithm calculates how much agent needs to be added to return the pH value to the normal range;

[0069] S42: After determining the amount of medicine to be added, the Internet of Things platform generates a control instruction to control the dosing pump controller;

[0070] S43: After receiving the control instruction, the dosing pump controller adjusts the adding rate or total amount of the agent according to the content of the control instruction.

[0071] Industrial gateway terminal security: In the actual application of this embodiment, the industrial gateway has a firewall function and establishes its own protection security through iptables configuration;

[0072] Specifically, the industrial gateway configures gateway inbound and outbound rules, establishes a network access whitelist, and only allows legitimate server IPs that meet the rules to access the gateway and perform data filtering. Other illegal IP messages will be filtered out, thereby improving the security of the gateway itself.

[0073] Network link security: In the actual application of this embodiment, field equipment (such as dosing instrument equipment in a water treatment plant) performs data forwarding interaction through an industrial gateway, and the industrial gateway supports wireless and wired network access modes;

[0074] The wireless network uses China Mobile's Internet of Things card. By formulating access whitelist settings, the China Internet of Things card operator configures a whitelist strategy for the Internet of Things, allowing only bound legitimate IPs to access, and establishing network link access security.

[0075] The office intranet wired network and wireless network are adopted, and the collected data is accessed by the wireless network and uploaded to the Internet of Things platform (one-way transmission). The control data is mainly accessed by the wireless network, and the office intranet wired network is deployed as a backup, accessed and uploaded to the Internet of Things platform. The Internet of Things platform performs on-site equipment operations by issuing control instructions (two-way transmission); the office intranet of this embodiment has a certain security protection level, which can ensure transmission security and avoid illegal intrusion from external networks.

[0076] In the practical application of this embodiment, a network access method of a newly-built independent production network and a wireless network is also included. By establishing an independent production network, accessing and uploading to the Internet of Things platform, the independent production network replaces the office intranet wired network;

[0077] Specifically, a new independent production network and wireless network are built: collected data is accessed via the wireless network and uploaded to the Internet of Things platform (one-way transmission), and control data is mainly accessed via the wireless network; control data is mainly accessed via the wireless network, and an independent production network is deployed as a backup, accessed and uploaded to the Internet of Things platform, and the Internet of Things platform performs on-site equipment operations by issuing control commands (two-way transmission).

[0078] Message transmission security: Ensuring the transmission of IoT message data through the TLS encryption mechanism is a widely used security mechanism for IoT platform data access and is widely used in IoT projects in various industries. In the actual application of this embodiment, the IoT platform encrypts the device channel to which it accesses through the TLS encryption mechanism, including the following steps:

[0079] S31: Message mechanism, the IoT platform receives messages from the IoT Alibaba Cloud server MQTT broke proxy server through the MQTT message subscription mechanism; in addition, a legitimate user and password must be registered to pass the proxy communication server connection authentication to avoid illegal customer connections.

[0080] S32: Message encryption: Using the CA certificate maintained by the server, a TLS encryption channel is created through the TLS encryption mechanism, and the transmitted messages are encrypted, thus ensuring the security of the message transmission process;

[0081] S33: Transmission protocol. The communication protocol between the industrial gateway and the Internet of Things platform is MQTT.

[0082] like Figure 3 As shown in the figure, MQTT (Message Queuing Telemetry Transport) is a lightweight broker-based publish / subscribe instant messaging protocol developed by IBM. The MQTT communication mechanism is as follows:

[0083] ①MQTT Broke is an MQTT service proxy deployed on Alibaba Cloud's private cloud server. As a client, the industrial gateway needs to establish a connection with MQTT Broke for data interaction. First, it needs to obtain a valid user name and password.

[0084] ②The characteristics of the MQTT message mechanism are: the industrial gateway can only communicate with the legitimate MQTT broke that it actively establishes, and any third-party MQTT broke that is not legally connected cannot communicate with it.

[0085] ③Message encryption: The server issues and maintains the CA certificate, performs connection authentication on the transport security encryption protocol TLS, and creates a TLS encrypted channel.

[0086] In the practical application of this embodiment, the message encryption of S32 includes the following steps:

[0087] like Figure 4 As shown, S311: Obtain a legal CA certificate and a user name and password for connection;

[0088] Specifically, this method ensures data security from the connection level. The client that wants to connect must have the server's username, password, and TLS encryption certificate to successfully establish a connection.

[0089] like Figure 5 As shown, S312: the IoT platform collects data by creating a successful TLS encryption channel, the data collection is a data reporting process, and the data collection process performs ciphertext transmission;

[0090] Specifically, data is uploaded through a connection channel that has passed encryption authentication, ensuring security at the data message level.

[0091] like Figure 6 As shown, Figure 6 To authenticate the TLS channel that has been successfully connected, the process of issuing control instructions is as follows:

[0092] S313: The IoT platform issues control instructions through a successfully connected TLS encrypted channel. The control instructions are transmitted to the industrial gateway in ciphertext, which is decrypted by the industrial gateway for control execution. In addition, the control instruction issuance process also requires the use of encrypted authentication and a connection channel for data issuance. Similarly, the issued control instructions are also transmitted to the industrial gateway in ciphertext, which is decrypted by the industrial gateway for control execution.

[0093] Server security: In the actual application of this embodiment, the Internet of Things platform is a private cloud server, and the security of the Internet of Things platform is ensured by a firewall security mechanism.

[0094] Specifically, the firewall security mechanism is used, and the required ports are mapped and opened to the outside world, and other unnecessary ports are closed to ensure server security. In addition, the web access of PC applications is published through https, and the application request transmission is encrypted to ensure the security of application access. PC and Web applications are published through the intranet, and web applications can only be accessed through the intranet.

[0095] The intelligent dosing control method for water treatment in this scheme adopts fuzzy control. Fuzzy control uses fuzzy logic for direct reasoning. It does not require an accurate mathematical model of the object and is suitable for intelligent control of objects with high nonlinearity, large disturbance factors, pure lag, time-varying characteristics, etc. According to fuzzy control theory, fuzzy control needs to be achieved through the steps of fuzzification of precise quantities, establishment of fuzzy rules, fuzzy reasoning and defuzzification of its fuzzy quantities. Compared with traditional DDC and PID regulators, fuzzy controllers (FLCs) have faster response and smaller overshoot, are insensitive to changes in the parameters of the controlled system, and can overcome the influence of nonlinearity. The fuzzy expert control (EFC) system, a product of the combination of fuzzy control technology and expert system technology, provides a fairly rich ability to express process control knowledge and experience, and has enhanced the ability to handle complex problems compared to conventional FLCs.

[0096] In the intelligent dosing system of this scheme, the dosing pump dosage adopts fuzzy expert control EFC, which has much better regulation quality and robustness to system parameter changes than PID regulation. The scheme is simple to implement and has high cost performance, which has certain promotion value. In addition, fuzzy control has been successfully applied in many fields of sewage treatment, especially in activated sludge sewage treatment systems.

[0097] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed by the present invention should still be covered by the claims of the present invention.

Claims

1. An intelligent control method for water treatment dosing, characterized in that: The steps include: S1: Collect the dosing data of the front-end equipment and monitor the sewage treatment data in real time through intelligent monitoring equipment; S2: Collect the operating data of water treatment equipment, send it to the IoT platform, and store it in the database; S3: Encrypts the data in S1 and S2 through the industrial gateway and then sends it to the IoT platform; S4: The IoT platform is provided with a data analysis module, which is used to regularly check water quality data and compare it with a preset standard or target value, and analyze the trend and abnormality of water quality data through a machine learning algorithm. The analysis result generated by the data analysis module is used to determine whether the dosage needs to be adjusted, and the IoT platform generates a control instruction to adjust the dosage and thus adjust the water quality data; S5: The adjusted water quality data is sent to the IoT platform.

2. The intelligent control method for water treatment dosing according to claim 1 is characterized in that: The front-end equipment in S1 includes a magnetic levitation fan, a softening high-density PAM dosing pump, a softening high-density PAC dosing pump, a reverse osmosis chemical cleaning tank, a softening high-density sodium hydroxide dosing pump and a softening high-density sodium carbonate dosing pump; the intelligent monitoring equipment includes a pH meter, a conductivity meter, a dissolved oxygen meter and a turbidity meter; the dosing data and sewage treatment data are divided into monitoring data and control data.

3. The intelligent control method for water treatment dosing according to claim 1 is characterized in that: The operating data of the water treatment equipment in S2 includes water quality, flow rate and pressure data, and the operating data stored in the database is used to be processed by a big data analysis tool to generate reports and / or charts.

4. The intelligent control method for water treatment dosing according to claim 1 is characterized in that The analysis result generated by the data analysis module in S4 is used to determine whether the dosage needs to be adjusted, which specifically includes the following steps: S41: If the pH value of the water quality data deviates from the target range, the machine learning algorithm calculates how much agent needs to be added to return the pH value to the normal range; S42: After determining the amount of medicine to be added, the Internet of Things platform generates a control instruction to control the dosing pump controller; S43: After receiving the control instruction, the dosing pump controller adjusts the adding rate or total amount of the agent according to the content of the control instruction.

5. The intelligent control method for water treatment dosing according to claim 1 is characterized in that: The industrial gateway has a firewall function and establishes its own protection security through iptables configuration; Specifically, the industrial gateway configures gateway inbound and outbound rules, establishes a network access whitelist, and only allows legitimate server IPs that meet the rules to access the gateway for data filtering. Other illegal IP messages will be filtered out.

6. The intelligent control method for water treatment dosing according to claim 5 is characterized in that: The industrial gateway supports wireless and wired network access modes; The wireless network uses China Mobile's Internet of Things card. By formulating access whitelist settings, the China Internet of Things card operator configures a whitelist strategy for the Internet of Things, allowing only bound legal IPs to access, thereby establishing network link access security; The office intranet wired network and wireless network are used. The collected data is accessed through the wireless network and uploaded to the Internet of Things platform. The control data is mainly accessed through the wireless network, and the office intranet wired network is deployed as a backup, accessed and uploaded to the Internet of Things platform. The Internet of Things platform operates the on-site equipment by issuing control instructions.

7. An intelligent control method for water treatment dosing according to claim 6, characterized in that: It also includes the network access method of building a new independent production network and wireless network. By establishing an independent production network, accessing and uploading it to the Internet of Things platform, and replacing the office intranet wired network with an independent production network.

8. The intelligent control method for water treatment dosing according to claim 6, characterized in that: The IoT platform encrypts the device channel to which it is connected through the TLS encryption mechanism, including the following steps: S31: Message mechanism, the IoT platform receives messages from the IoT server MQTTbroke proxy server through the MQTT message subscription mechanism; S32: Message encryption: Create a TLS encrypted channel through the TLS encryption mechanism and encrypt the transmitted messages; S33: Transmission protocol. The communication protocol between the industrial gateway and the Internet of Things platform is MQTT.

9. The intelligent control method for water treatment dosing according to claim 8, characterized in that: The message encryption of S32 includes the following steps: S311: Obtain a valid CA certificate and the username and password for connection; S312: The IoT platform collects data by creating a successful TLS encryption channel. The data collection is a data reporting process, and the data collection process performs ciphertext transmission. S313: The IoT platform issues control instructions through the successfully connected TLS encrypted channel. The control instructions are transmitted to the industrial gateway via ciphertext and are decrypted by the industrial gateway for control execution.

10. The intelligent control method for water treatment dosing according to claim 6, characterized in that: The Internet of Things platform is a private cloud server, and the security of the Internet of Things platform is ensured by a firewall security mechanism.