Desalination water treatment multi-set device linkage control method, equipment and medium
By constructing functional block logic in the desalination process, the complexity of multi-unit linkage control was solved, achieving fully automated operation, reducing the risk of misoperation, improving the automation level and maintenance convenience of the equipment, and ensuring the stability of the water tank level.
Patent Information
- Application Number
- CN202211581791.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-09
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-12-09
AI Technical Summary
In existing desalination technologies, the linkage control of multiple sets of devices is complex, the logic control is not rigorous, it is difficult to achieve full automation, the workload of operators is large, the probability of operation error is high, the utilization of devices is uneven, and it is difficult to realize simulation function.
Functional blocks are built using ST language to construct demineralized water logic, enabling single-set main program control, multi-set queuing control, pump start/stop control, and cation/mixed bed linkage control. By using system function blocks and user-defined function blocks, combined with logic operation, logic control, comparison, and selection operation function blocks, automatic switching and balanced utilization of multiple sets of equipment can be achieved.
It improves the automation level of the device, reduces the workload of operators, lowers the probability of misoperation, realizes the balanced utilization and simulation function of multiple devices, facilitates maintenance and upgrades, and ensures stable control of the water tank level.
Smart Images

Figure CN116081772B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of water treatment, and particularly relates to a method, equipment and medium for the coordinated control of multiple sets of devices for desalination treatment. Background Technology
[0002] This invention relates to the water treatment industry, primarily addressing the problems of complex and lengthy commissioning cycles associated with multi-media, ultrafiltration, reverse osmosis, mixed bed, anion exchange bed, and activated carbon multi-stage linkage processes in desalination water treatment. With the development of desalination technology, desalination treatment has gradually evolved from single-stage automation to multi-stage linkage, achieving full automation. Compared to existing single-stage automation, multi-stage linkage offers advantages such as reduced operator workload and higher water quality. In existing technologies, programs for switching between multiple devices are written using ST language in the control system. This eliminates the need for repeated interruptions and restarts between desalination treatment devices, allowing for simple switching from one device to another while maintaining the continuity of the entire system, ensuring continuous operation.
[0003] However, in existing technologies, using ST language to write function blocks for logic control doesn't clearly distinguish between fixed and variable parts. Even slight changes in user logic require major modifications to the ST program, resulting in low reusability. The ST underlying framework is not rigorous and lacks organization, hindering modification and secondary upgrades. Furthermore, issues such as hard-coded parameters and lack of open access hinder future maintenance. Additionally, it lacks simulation capabilities, requiring manual value input during program debugging and preventing smooth program execution. It cannot fully automate multi-unit water production, requiring extensive operator intervention during switching between multiple units, increasing the probability of errors. Finally, it cannot achieve balanced utilization of multiple units, leading to overload and other technical problems. Summary of the Invention
[0004] The technical objective of this invention is to provide a method, equipment, and medium for the coordinated control of multiple desalination devices, in order to solve the technical problems in the prior art.
[0005] To solve the above problems, the technical solution of the present invention is as follows:
[0006] A method for coordinated control of multiple demineralized water treatment units involves constructing function blocks using ST language, arranging these function blocks in a specified order to form program pages with different functions, building demineralized water logic based on the program pages, and controlling the multiple units used for demineralized water treatment according to the demineralized water logic. The program pages are used to implement single-unit main program control, multi-unit queue control, pump start / stop control, and cation / mixed bed coordinated control.
[0007] Specifically, the function blocks include system function blocks and user-defined function blocks, wherein the user-defined function blocks are generated by compiling the ST language;
[0008] The system function blocks include logic operation function blocks, logic control function blocks, comparison function blocks, and selection operation function blocks;
[0009] User-defined function blocks include the main program function block, the start / stop control function block, and the queue judgment function block.
[0010] Specifically, the logic operation function blocks include AND, OR, NOT, RS, SR, TON, TOFF, TP, and TRIG; the logic control function blocks include DIO-21V, DIO-01V, PIDEX, MANUAL, and FIRST; the comparison function blocks include EQ, NE, GE, GT, LE, and LT; and the selection operation function blocks include ASW and DS.
[0011] Among them, a single main program controls a corresponding single device. The single main program includes: emergency stop command, automatic command, manual command, start command and stop command.
[0012] Specifically, the steps include the following:
[0013] After initializing all valves, receive the start command to start the single unit and select the automatic command to make the single unit run in automatic mode;
[0014] If a fault occurs during operation, an emergency stop command will be activated, and the individual unit will stop operating. After the fault is cleared, a manual command will be issued to operate in manual mode.
[0015] During operation, automatic and manual commands are switched to achieve automatic mode and manual mode switching.
[0016] Upon receiving the stop command, the operation of a single unit ends.
[0017] In this system, multiple sets of devices are connected to the regeneration pump in sequence through multiple queue control. If multiple sets of devices are in a queue, they are queued in a first-in-first-out manner. In addition, a single set of devices can be inserted into the queue.
[0018] Among them, the pump start-stop control is used to calculate the number of pumps that need to be operated in order to control the pumps. Specifically, it includes fixed sequence start-stop, alternating start-stop, priority start-stop of pumps with shorter running time, and automatic restart of other pumps if a pump fails to start.
[0019] Among them, the number of mixed bed operations, the number of cation beds in operation, and the handling of cation bed faults are obtained through the linkage control of cation bed / mixed bed;
[0020] Obtaining the number of operating mixed beds includes the following steps: manually selecting to start / stop the mixed beds; calculating the number of mixed beds to be operated based on the water tank level; if the number of mixed beds to be operated is greater than the number of mixed beds currently operating, then start one more mixed bed, otherwise stop one mixed bed; when multiple mixed beds are in standby, a first-in-first-out or longer / shorter water production time scheme can be used to select the mixed bed to enter water production; when multiple mixed beds are producing water, a longer / shorter water production time scheme can be used to select the mixed bed to enter standby.
[0021] Obtaining the number of operating cation exchange beds includes the following steps: obtaining the mixed bed timing diagram; calculating the number of cation exchange beds to be operated based on the number of mixed beds in the mixed bed timing diagram; if the number of cation exchange beds to be operated is greater than the number of currently operating cation exchange beds, then one more cation exchange bed is started, otherwise one cation exchange bed is stopped; when multiple cation exchange beds are in standby, a first-in-first-out or longer or shorter water production time scheme can be used to select the cation exchange bed to enter water production; when multiple cation exchange beds are in water production, a longer or shorter water production time scheme can be used to select the standby cation exchange bed to enter.
[0022] Cation bed failure handling includes the following steps: When a cation bed fails, start the backup cation bed. If the number of backup cation beds still does not meet the required number of cation beds after starting, stop the mixed bed to ensure the correspondence between the mixed bed and the cation bed. The mixed bed to be stopped can be selected by choosing between a longer or shorter water production time.
[0023] An electronic device includes a processor and a memory, the memory storing computer instructions executable on the processor, and the processor calling the computer instructions in the memory to execute a multi-device linkage control method for desalination treatment as described above.
[0024] A storage medium for storing computer instructions, wherein a multi-device linkage control method is provided to control the device where the storage medium is located to perform desalination treatment as described above when the computer instructions are executed.
[0025] Because of the above technical solutions, this invention has the following advantages and positive effects compared with the prior art:
[0026] This invention incorporates fixed content into the sequential control program, making it easy to apply. The host computer interface is aesthetically pleasing, logically laid out, and easy to operate, integrating control and simulation.
[0027] This invention can record the usage time of a single device. When the usage time of a single device exceeds a preset time, it automatically switches to a backup device, avoiding the drawbacks of manual switching, such as unprepared calculation of time and operational errors.
[0028] This invention can automatically calculate the required quantity of water to be produced based on the water tank level. When the required quantity of water to be produced is greater than the required quantity, the water production process is switched to standby. When the required quantity of water to be produced is less than the required quantity, the water production process is switched to standby.
[0029] This invention enables switching between multiple devices through program control. Operators only need to confirm that the device is fault-free and then put it into automatic mode.
[0030] This invention employs a number of liquid level control devices, which ensures that the water tank level remains at the required level even when water consumption fluctuates greatly, without the need for manual intervention. Attached Figure Description
[0031] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention.
[0032] Figure 1 This is a schematic diagram of the framework of the multi-set linkage control method for desalination treatment according to the present invention;
[0033] Figure 2 This is a block diagram of the sequential control logic of the present invention;
[0034] Figure 3 This is a timing diagram of the male bed of the present invention;
[0035] Figure 4 This is a timing diagram of the mixed bed in this invention;
[0036] Figure 5 This invention relates to a male bed pop-out panel;
[0037] Figure 6 Pop-up panel for mixed bed;
[0038] Figure 7 The images are for reference only, showing a mixed-bed / sunny-bed setup. Detailed Implementation
[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.
[0040] To keep the drawings concise, only the parts relevant to the invention are shown schematically in each figure, and they do not represent the actual structure of the product. Furthermore, for ease of understanding, in some figures, only one of components with the same structure or function is shown schematically, or only one is labeled. In this document, "one" can mean not only "only one" but also "more than one".
[0041] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a method, equipment, and medium for the coordinated control of multiple desalination devices proposed in this invention. The advantages and features of this invention will become more apparent from the following description and claims.
[0042] Example
[0043] See Figures 1 to 7 This embodiment provides a method for coordinated control of multiple demineralized water treatment devices. Functional blocks are constructed using ST language, and these functional blocks are arranged in a specified order to form program pages with different functions. Demineralized water logic is constructed based on the program pages, and the multiple devices used for demineralized water treatment are controlled according to the demineralized water logic.
[0044] Specifically, function blocks are divided into system function blocks and user-defined function blocks. User-defined function blocks are generated through compilation using the ST program. System function blocks are more stable, while user-defined function blocks are easier and more flexible to configure. System function blocks include logic operation function blocks, logic control function blocks, comparison function blocks, and selection operation function blocks; specifically, logic operation function blocks include AND, OR, NOT, RS, SR, TON, TOFF, TP, TRIG; logic control function blocks include DI O-21V, DI O-01V, PI DEX, MANUAL, FI RST; comparison function blocks include EQ, NE, GE, GT, LE, LT; and selection operation function blocks include ASW, DS. User-defined function blocks include main program function blocks, start / stop control function blocks, and queuing judgment function blocks.
[0045] See Figure 1In this embodiment, the framework of the program built using ST language can be divided into panel control, secondary processing, main program, and post-processing. Panel control refers to the transmission of instructions. Operators can write data to the controller through human-machine interaction, and the controller executes different statements based on the data. General control program instructions can be divided into reset, start, pause, resume, stop, forced back, skip step, jump back, absolute reset, automatic, and manual. Due to the special nature of water treatment, this sequential control only uses emergency stop, automatic, manual, start, and stop to simplify the program. Secondary processing refers to data processing when a button is pressed or a fault occurs. It mainly targets status, counters, and flags. The main program can be divided into two states: start, stop, and manual / automatic, each corresponding to three types of instructions. In addition, the state will change when a fault occurs. Emergency stop is operated in an emergency, stopping operation directly regardless of the current state. Manual / automatic refers to whether the device is manually operated or program-controlled. Only one state can be selected at a time, and it cannot be switched from automatic to manual when in the start state. Start / Stop refers to the program executing in the required sequence. During regeneration, pressing Stop requires waiting for the regeneration to complete before the program stops. Post-processing refers to outputting various statuses, mainly various running and pause times and control commands.
[0046] See Figure 2 This is a block diagram of the sequential control logic in this embodiment. Figure 2 The configuration ensures a clear and logically sound underlying architecture for the sequential control template, facilitating maintenance and upgrades. Even if additional functions are needed later, the corresponding locations can be easily found and added. The valve actions of a single cation / mixed bed unit remain largely unchanged for each device, allowing them to be incorporated into the sequential control program for easy application. However, pump start / stop control, the number of mixed beds, and the number of cation beds vary from project to project and can be controlled via external function blocks. Furthermore, the main differences between each demineralized water unit lie in pump start / stop control and the number of individual units, while direct control remains largely the same, thus significantly reducing modifications to the ST program and lowering the workload for both configuration personnel and customers. In addition, this embodiment uses alias variables instead of output parameters, resolving issues such as hard-coded or unopened parameters.
[0047] In addition, simulation control function blocks were written using FBD language, enabling the program to implement simulation functions and achieve integrated control and simulation. The main principle is that when the simulation switch is activated, the input points related to the cation / mixed bed enter simulation mode, changing accordingly with the action of the corresponding output points. For example, if the output of a valve is ON, then the valve's opening feedback simulation input is ON, and the closing feedback simulation input is OFF. Since most steps of the sequential control of the cation / mixed bed require feedback judgment, this function is needed when the software is FAT (Fault-Ahead Test) because there are no field signal lines connected, allowing for smooth program debugging. Furthermore, a fault first-out program written in FBD language, mainly covering valves and motors, allows operators to intuitively understand the reasons for program stoppage, facilitating subsequent maintenance.
[0048] Specifically, the program page can be used to implement single-set main program control, multiple-set queue control, pump start-stop control, and cation / mixed bed linkage control.
[0049] A single main program controls a corresponding single device. The single main program includes the aforementioned emergency stop command, automatic command, manual command, start command, and stop command to achieve the following: Figure 2 The sequential control process is as follows: First, after initializing all valves, operators can start the system without needing to monitor the valve status, facilitating operation. The discontinuous sequence of water production / regeneration / stop steps is primarily to accommodate potential additions / removals during on-site commissioning, allowing for subsequent program modifications. Then, upon receiving a start command, the system initiates the operation of a single unit and selects the automatic command, allowing the unit to operate in automatic mode. If a fault occurs during operation, an emergency stop command is activated, halting the unit's operation. Once the fault is resolved, a manual command is invoked to operate in manual mode. During operation, switching between automatic and manual commands allows for the transition between automatic and manual modes. Upon receiving a stop command, the operation of the single unit terminates.
[0050] Multiple sets of devices are connected to the regeneration pump in a sequential order through a queuing system. Since the output of the regeneration pump can only meet the water demand of a single device, queuing is required when multiple devices need to regenerate simultaneously. To ensure that the water production is not affected, queuing is divided into water production queuing and stop queuing. If multiple devices are queuing, a first-in, first-out (FIFO) method is used to queue them. In addition, a single device can be allowed to skip the queue.
[0051] Pump start-stop control is used to calculate the number of pumps that need to be operated, thus controlling the pumps accordingly. To improve system reliability, multiple pumps are typically designed as a common utility (i.e., the pumps are shared equipment). Pump start-stop control can be implemented as a separate subroutine. To ensure the applicability of the pump control block, this block has functions such as fixed-sequence start-stop, alternating start-stop, priority start-stop for pumps with shorter running times, and automatic restart of other pumps if a pump fails to start.
[0052] The system obtains the number of mixed bed operations, the number of cation beds in operation, and cation bed fault handling information through the cation bed / mixed bed linkage control.
[0053] Obtaining the number of operating mixed beds includes the following steps: manually selecting to start / stop the mixed beds; calculating the required number of operating mixed beds based on the water tank level; to prevent frequent changes in the required number of mixed beds due to water level fluctuations, the required number of mixed beds is only calculated when the water level is at HH / H / M / L / LL. When the number of mixed beds to be operated is greater than the number of currently operating mixed beds, one more mixed bed is started (standby until water production), otherwise one mixed bed is stopped (water production until standby); when multiple mixed beds are in standby, a first-in-first-out or longer / shorter water production time scheme can be used to select the mixed bed to enter water production; when multiple mixed beds are in water production, a longer / shorter water production time scheme can be used to select the mixed bed to enter standby.
[0054] See Figure 4 The process of obtaining the number of operating cation exchange beds includes the following steps: Obtaining the mixed bed timing diagram, and calculating the required number of operating cation exchange beds based on the number of mixed beds in the diagram (steps 2-4 / 9 / 15-18 / 22-23). If the required number of operating cation exchange beds is greater than the number of currently operating cation exchange beds, one additional cation exchange bed is started (standby until water production); otherwise, one cation exchange bed is stopped (water production until standby). When multiple cation exchange beds are on standby, a first-in-first-out (FIFO) or longer / shorter water production time scheme can be used to select the cation exchange bed for water production. When multiple cation exchange beds are producing water, a longer / shorter water production time scheme can be used to select the standby cation exchange bed.
[0055] Cation bed failure handling includes the following steps: When a cation bed fails, a backup cation bed is started. If the number of backup cation beds still does not meet the required number of cation beds, the mixed bed is stopped to ensure the correspondence between the mixed bed and the cation bed. A scheme with either a longer or shorter water production time can be used to select which mixed bed to stop.
[0056] See Figure 1 , Figures 5 to 7This embodiment features a user-friendly and logically laid-out host computer interface that is easy to operate. It provides clear program steps, visible valve status, and prominent alarm displays. It offers five main functions: manual, automatic, start, stop, and emergency stop. It displays permitted start conditions and regeneration conditions. Clicking on a valve brings up the corresponding control panel. Program parameters can be set on the monitoring interface. Real-time program data can be retrieved for easy querying. The current step and its running time are displayed, and a bottom page selection button allows for quick navigation. Furthermore, the host computer interface allows setting the running time for various steps in different cation exchange beds and mixed beds. Both cation exchange beds and mixed beds involve setting time for multiple steps, including water production and regeneration. Water production in the cation exchange bed includes sub-steps such as standby, full water, forward wash, and water production. Its regeneration includes sub-steps such as backwash, settling, draining, pre-acid injection, acid injection, displacement, full water, and forward wash. The water production process of a mixed bed includes sub-steps such as full water filling, forward washing, and water production. Its regeneration includes sub-steps such as drainage, alkali introduction, soaking, backwashing and stratification, free settling, water discharge, pre-spraying, acid and alkali introduction, displacement, water filling, anion resin cleaning, series washing, water discharge, air mixing, mixed oil filling, and mixed oil forward flushing.
[0057] Furthermore, this embodiment also provides an electronic device, which includes a processor and a memory. The memory stores computer instructions that can be executed on the processor. The processor is used to call the computer instructions in the memory to execute the multi-device linkage control method for desalination treatment as described above.
[0058] In addition, this embodiment also provides a storage medium for storing computer instructions, wherein, when the computer instructions are executed, the device where the storage medium is located is controlled to perform the above-described desalination treatment multi-device linkage control method.
[0059] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, if these changes fall within the scope of the claims of the present invention and their equivalents, they shall still fall within the protection scope of the present invention.
Claims
1. A method for coordinated control of multiple desalination units, characterized in that, Functional blocks are constructed using ST language, and these functional blocks are arranged in a specified order to form program pages with different functions. Based on these program pages, demineralized water logic is constructed, and multiple sets of devices used for demineralized water treatment are controlled according to the demineralized water logic. The program pages are used to implement single main program control, multiple queuing control, pump start-stop control, and cation bed / mixed bed linkage control. The number of mixed bed operations, the number of cation bed operations, and cation bed fault handling are obtained through the linkage control of cation bed / mixed bed. Obtaining the number of operating mixed beds includes the following steps: manually selecting to start / stop the mixed beds; calculating the number of mixed beds to be operated based on the water tank level; if the number of mixed beds to be operated is greater than the number of mixed beds currently operating, then start one more mixed bed, otherwise stop one mixed bed; when multiple mixed beds are in standby, a first-in-first-out or longer / shorter water production time scheme can be used to select the mixed bed to enter water production; when multiple mixed beds are producing water, a longer / shorter water production time scheme can be used to select the mixed bed to enter standby. Obtaining the number of operating cation exchange beds includes the following steps: obtaining a mixed bed timing diagram; calculating the number of cation exchange beds to be operated based on the number of mixed beds in the mixed bed timing diagram; if the number of cation exchange beds to be operated is greater than the number of currently operating cation exchange beds, then one more cation exchange bed is started, otherwise one cation exchange bed is stopped; when multiple cation exchange beds are in standby, a first-in-first-out or longer or shorter water production time scheme can be used to select the cation exchange bed to enter water production; when multiple cation exchange beds are in water production, a longer or shorter water production time scheme can be used to select the standby cation exchange bed to enter. Cation bed failure handling includes the following steps: When a cation bed fails, start the backup cation bed. If the number of backup cation beds still does not meet the required number of cation beds after starting, stop the mixed bed to ensure the correspondence between the mixed bed and the cation bed. The mixed bed to be stopped can be selected by choosing between a longer or shorter water production time. Simulation control function blocks were also written using the FBD language to realize simulation functions and achieve integrated control and simulation.
2. The method for coordinated control of multiple desalination treatment devices according to claim 1, characterized in that, The function blocks include system function blocks and user-defined function blocks, wherein the user-defined function blocks are generated by compiling the ST language; The system functional blocks include a logic operation functional block, a logic control functional block, a comparison functional block, and a selection operation functional block. The user-defined function blocks include the main program function block, the start / stop control function block, and the queue judgment function block.
3. The method for coordinated control of multiple desalination treatment devices according to claim 2, characterized in that, The logical operation function blocks include AND, OR, NOT, RS, SR, TON, TOFF, TP, and TRIG; The logic control function blocks include DIO-21V, DIO-01V, PIDEX, MANUAL, and FIRST; The comparison function blocks include EQ, NE, GE, GT, LE, and LT; The selectable operation function blocks include ASW and DS.
4. The method for coordinated control of multiple desalination units according to claim 1, characterized in that, The single main program controls the corresponding single device. The single main program includes: emergency stop command, automatic command, manual command, start command, and stop command. Specifically, the steps include the following: After initializing all valves, a start command is received to start the single unit and select the automatic command to make the single unit operate in automatic mode; If a fault occurs during operation, the emergency stop command is activated, and the individual unit stops operating. After the fault is cleared, the manual command is executed to operate in manual mode. During operation, the automatic command and the manual command are switched to switch between automatic mode and manual mode. Upon receiving the stop command, the operation of a single unit ends.
5. The method for coordinated control of multiple desalination treatment devices according to claim 1, characterized in that, The multiple sets of queuing control devices are connected to the regeneration pump in sequence according to the order. If multiple sets of devices are queuing, the first-in-first-out method is used to queue the multiple sets of devices. In addition, a single set of devices can be inserted into the queue.
6. The method for coordinated control of multiple desalination treatment devices according to claim 1, characterized in that, Pump start-stop control is used to calculate the number of pumps that need to be operated in order to control the pumps. Specifically, it includes fixed sequence start-stop, alternating start-stop, priority start-stop of pumps with shorter running time, and automatic restart of other pumps if a pump fails to start.
7. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing computer instructions that can be executed on the processor, and the processor being used to invoke the computer instructions in the memory to execute the multi-set device linkage control method for desalination treatment as described in any one of claims 1-6.
8. A storage medium, characterized in that, The storage medium is used to store computer instructions, wherein, when the computer instructions are executed, the device containing the storage medium is controlled to perform the multi-set device linkage control method for desalination treatment as described in any one of claims 1-6.
Citation Information
Patent Citations
Unattended intelligent control system for desalted water production process
CN107473477A
Treatment method, device and equipment of molecular sieve system and storage medium
CN114367166A
Automatic flow regulation method for water treating system
CN1246444A