An adaptive dosing control method and system for modular water purifier units
By using an adaptive dosing control method, the arrival time of each batch of chemicals is calculated based on the effective volume and influent flow rate, thus solving the mismatch problem of dosing control in modular water purifiers and achieving stable effluent and optimized chemical consumption.
Patent Information
- Application Number
- CN202611505529.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-17
AI Technical Summary
In modular water purifier units, the dosing control of the treatment modules is difficult to match correctly with the downstream measurement results under frequently changing operating conditions, resulting in fluctuations in effluent and increased chemical consumption.
An adaptive dosing control method is adopted. By collecting monitoring data along the process and the operating status of the processing module, the dosing control amount is determined. The arrival time of the dosing batch is calculated based on the effective volume and influent flow rate. The dosing response relationship is corrected in real time to ensure that the dosing action corresponds to the downstream measured results.
It achieves accurate matching between dosing actions and downstream measurement results under conditions of frequent operation and shutdown of the processing module, reduces water output fluctuations and chemical consumption, and improves the operational stability and efficiency of the water purifier unit.
Smart Images

Figure CN123105757A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water treatment control technology, and in particular to an adaptive dosing control method and system for a modular water purifier unit. Background Technology
[0002] Modular water purifier units consist of multiple interconnected treatment sections. The coagulation and filtration sections are composed of multiple independently operable and de-energized modules connected in parallel. By adding or removing operating modules, the unit adapts to changes in water production. It is primarily used in rural water supply and emergency water supply applications. Adding coagulant is a fundamental step. If the dosage is too low, the flocs will be too small and penetrate the filter layer, increasing the turbidity of the effluent; if the dosage is too high, chemical consumption and sludge production will increase, and filter media clogging will accelerate.
[0003] These types of units experience frequent changes in operating conditions. During rainfall, the turbidity of the raw water can rise from less than 10 degrees to the 200 degree level within tens of minutes, and the water temperature and organic matter content also change with the seasons. On the unit side, the number and combination of operating treatment modules frequently change due to filter backwashing, module maintenance, and production water adjustment. The units are mostly configured for unattended operation, with the dosage adjustment completed automatically by the control system.
[0004] There are several existing methods for chemical dosing control. One method sets a fixed dosage according to the operating procedures, and the pump frequency is manually adjusted after water quality changes are detected by sampling and testing. Another method makes the output of the dosing pump follow the influent flow rate, and the proportional coefficient is fixed after calibration. A third method installs an online water quality meter at the main outlet and adjusts the dosage according to the difference between the effluent index and the target value. Yet another method configures independent control units for chemical dosing, backwashing, and disinfection, and the units do not exchange operating status and water quality data.
[0005] These approaches encounter the same contradiction in modular water purifier units. Chemical dosing at the inlet requires hydraulic retention time for its effects to become apparent downstream. To redirect measured results to the corresponding dosing action, existing methods either set a fixed lag based on experience or calculate the lag using the ratio of tank volume to inlet flow rate. Even recognizing that the lag changes with flow rate and tank structure, this calculation still assumes the volume is a constant during operation. However, treatment modules can be independently started and stopped, causing the flow volume to fluctuate with the combination of operating modules. This fluctuation can also occur before the water flows out of the process chain, rendering the downstream observation time derived from the dosing time invalid. The measured results are then redirected to the incorrect dosing action, and the mismatched samples skew the correlation between dosage and water quality. Before the measured results are returned, the control system continues to issue adjustments based on the original relationship. These unverified adjustments accumulate with the increasing frequency of module start-ups and shutdowns, leading to increased fluctuations in effluent and higher chemical consumption. Summary of the Invention
[0006] In order to ensure that the dosing action and the downstream measured results can still be correctly matched under the conditions that the processing module can be independently put into operation and taken out of operation and the overcurrent volume changes during operation, this application provides an adaptive dosing control method and system for modular water purifier units.
[0007] Firstly, this application provides an adaptive dosing control method for a modular water purifier unit, which adopts the following technical solution:
[0008] An adaptive dosing control method for a modular water purifier unit, the modular water purifier unit comprising multiple treatment sections connected in sequence, at least one treatment section being composed of multiple treatment modules connected in parallel that can be independently started and stopped, the method comprising the following steps in sequence:
[0009] S1. Collect monitoring data along the process and the operating status of each processing module. The operating status is either in operation or out of operation. The monitoring data along the process includes influent indicators, influent flow rate, process water indicators of each treatment section, and total effluent indicators.
[0010] S2. Determine the dosage control amount based on the influent index, target effluent index and dosing response relationship, and dosing the drug according to the dosage control amount. Determine the water body corresponding to this dosing as the dosing batch. Determine the expected effluent index of the dosing batch based on the dosing response relationship and the dosage control amount. Record the dosing time, the dosage control amount and the expected effluent index of the dosing batch.
[0011] S3. Determine the effective volume of each treatment section based on the treatment modules in operation in each treatment section, accumulate the influent flow rate from the dosing time to obtain the cumulative dosing volume, and use the sum of the effective volumes along the path from the inlet to the outlet of each treatment section as the criterion to estimate the arrival time of the dosing batch at the outlet of each treatment section, and in response to the change in the operating state, recalculate the arrival time of the dosing batch that has not yet arrived based on the sum of the changed effective volumes;
[0012] S4. Collect the total effluent index based on the arrival time at the outlet of the final treatment section, and compare it with the expected effluent index to obtain the batch deviation of the dosing batch;
[0013] S5. Correct the dosing response relationship based on the batch deviation, and determine the dosing control amount for subsequent dosings according to the corrected dosing response relationship.
[0014] By adopting the above technical solution, each dosing is registered as a dosing batch and its expected effluent indicators are registered at the same time. The correspondence between dosing and observation is changed from time to batch. The arrival time is no longer taken from a fixed lag or a lag calculated based on the rated volume, but is calculated by the effective volume determined by the treatment module in operation and the cumulative influent flow rate. The volume thus becomes the input of the control logic. The operation and exit of the module occur when the batch is in progress. The arrival time of the batch that has not yet arrived is recalculated based on the sum of the changed effective volumes. This ensures that the batch deviation is taken from the water body corresponding to the dosing, and the sample for correcting the response relationship is no longer mixed with mismatched data.
[0015] Optionally, in step S3, recalculating the arrival time for each processing segment exit includes the following sub-steps:
[0016] S31. The batch of drugs that has not yet reached the exit of the corresponding processing section is identified as a batch in transit;
[0017] S32. The ratio of the cumulative water volume of the batch in transit to the sum of the effective volumes before the change in operating status is taken as the proportion of progress.
[0018] S33. Determine the remaining volume of the batch in transit based on the sum of the effective volumes after the change in operating status and the proportion already traveled;
[0019] S34. The arrival time of the batch in transit is determined based on the criterion that the cumulative value of the influent flow rate from the moment the operating state changes reaches the remaining volume.
[0020] By adopting the above technical solution, the progress of the batches in transit under the original effective volume is converted into the remaining volume under the changed volume based on the already traveled proportion. This allows the batches already in the pipeline at the switching time to obtain the criteria for continued accumulation, without having to start the calculation from the time of addition.
[0021] Optionally, in S3, the processing module that is restarted after being decommissioned is defined as the re-operation processing module, and the ratio of the cumulative water volume flowing through the re-operation processing module since its commissioning to the volume of the re-operation processing module is defined as the replacement progress, and includes parallel S3a and S3b:
[0022] S3a. In response to the replacement progress being less than the replacement judgment value, the volume of the reprocessing module is weighted according to the replacement progress and included in the effective volume of the processing section, and the process water index of the processing section is taken from the outlet of the other processing modules in the processing section.
[0023] S3b. In response to the replacement progress reaching the replacement determination value, the volume of the reprocessing module is fully included in the effective volume of the processing segment.
[0024] By adopting the above technical solution, the re-operated treatment module is weighted and its volume is calculated according to the replacement progress before the internal water is completely replaced. At the same time, the process water index of this treatment section is taken from the outlet of other treatment modules, and the volume change and sampling representativeness during the replacement period are treated together.
[0025] Optionally, the multiple treatment sections include a coagulation treatment section and a filtration treatment section located downstream of the coagulation treatment section, and the dosing response relationship includes the segmented response relationship at the outlet of each treatment section; S1 further includes: collecting the pressure difference of each treatment module in the filtration treatment section, and determining the treatment module with the highest pressure difference as the module to be backwashed; S2 further includes the following sub-steps:
[0026] S21. The batches in which the drug has been administered but the batch deviation has not yet been obtained are identified as pending batches;
[0027] S22. Calculate the algebraic sum of the changes in the dosage control amount for each pending batch relative to the previous dosage to obtain the pending adjustment amount;
[0028] S23. Determine the feedback blind zone duration based on the difference between the arrival time and the addition time of each pending batch at the final processing stage exit, and determine the pending adjustment limit in reverse according to the feedback blind zone duration;
[0029] S24. In response to the absolute value of the pending adjustment amount reaching the pending adjustment amount limit, an adjustment direction constraint is applied to the dosage control amount of subsequent drug administration, the adjustment direction constraint causing the dosage control amount of subsequent drug administration to remain unchanged or to be adjusted in the opposite direction to the sign of the pending adjustment amount;
[0030] S4 also includes the following sub-steps S41 to S43, as well as the parallel steps S4a and S4b:
[0031] S41. Based on the arrival times at the outlets of the coagulation treatment section and the filtration treatment section, the process water indicators at the outlets of the coagulation treatment section and the filtration treatment section are collected respectively.
[0032] S42. Determine the expected process water parameters of the dosing batch at the outlet of the coagulation treatment section and the outlet of the filtration treatment section based on the dosing response relationship and the dosing control amount;
[0033] S43. The deviation between the process water index at the outlet of the coagulation treatment section and the expected process water index at the outlet of the coagulation treatment section is determined as the front-end deviation, and the deviation between the process water index at the outlet of the filtration treatment section and the expected process water index at the outlet of the filtration treatment section is determined as the back-end deviation.
[0034] S4a. In response to the fact that the magnitude of the preceding deviation is greater than the magnitude of the following deviation, the adjustment direction constraint is released until the batch deviation is obtained again, so that the dosage control amount of subsequent drug administration is restored to be adjusted along the sign direction of the pending adjustment amount;
[0035] S4b. In response to the fact that the magnitude of the subsequent deviation is not less than the magnitude of the preceding deviation, the adjustment direction constraint is maintained.
[0036] By adopting the above technical solution, the adjustments that have been issued but have not yet yielded deviations are summarized as unresolved adjustment amounts and the feedback blind zone duration is used to limit the corresponding adjustments in the opposite direction, so that the same-direction adjustments within the blind zone do not accumulate; the deviation amplitude comparison between the coagulation section and the filtration section provides a release criterion, avoiding false locking when the previous section has already deteriorated.
[0037] Optionally, S2 may also include S2a and S2b arranged in parallel:
[0038] S2a. In response to the change of the dosage control amount required for subsequent drug administration in the upward direction and the pressure difference of the module to be backwashed not reaching the backwash threshold, backwashing is performed on the module to be backwashed before the dosage control amount increases;
[0039] S2b. In response to the pressure difference of the module to be backwashed reaching the backwash threshold and the influent index changing in the direction of deterioration, including S2b1 and S2b2 executed sequentially: S2b1. Delay the backwashing performed on the module to be backwashed, and perform backwash delay compensation on the volume occupancy of the module to be backwashed and the increase in the dosage control amount, wherein the backwash delay compensation includes correcting the volume of the module to be backwashed to an equivalent volume according to the pressure difference and including the equivalent volume in the effective volume of the treatment section, and limiting the increase in the dosage control amount; S2b2. In response to the total effluent index reaching the effluent warning value during the execution of the backwash delay compensation, reduce the influent flow rate.
[0040] By adopting the above technical solutions, the timing of backwashing and the direction of increase in dosage control are included in the same judgment. Backwashing can be carried out before the dosage is increased, or the equivalent volume and limit can be used to compensate for the volume occupancy and sludge load during the delayed backwashing period, and the flow can be limited when the total effluent index reaches the warning value.
[0041] Optionally, in S3, the arrival time of each treatment section outlet is extended into an arrival window, and the ratio of the number of treatment modules in the exit state along the path from the inlet to the outlet of each treatment section to the total number of treatment modules along the path from the inlet to the outlet of each treatment section is determined as the exit ratio, and the window width of the arrival window increases as the exit ratio increases; in S4, the total effluent index is collected multiple times within the arrival window of the final treatment section outlet, and the representative value obtained from the multiple collections is compared with the expected effluent index to obtain the batch deviation.
[0042] By adopting the above technical solution, the arrival time is expanded into an arrival window that widens with the proportion of exits. As more exit modules are added and the flow pattern widens, the sampling interval is widened accordingly. The batch deviation is taken from the representative value collected multiple times within the window, reducing misjudgments caused by single-point sampling falling on the edge of the batch.
[0043] Optionally, in S5, the batch of drugs that has not changed in the operating status of each processing module from the time of addition to the time of arrival at the outlet of the final processing section is determined as a valid calibration batch, and the drug addition response relationship is corrected only based on the addition control amount of the valid calibration batch and the batch deviation.
[0044] By adopting the above technical solution, only batches whose operating status did not change between the time of addition and the time of arrival are included in the correction of the response relationship. Batches whose travel conditions have changed during the switching period are excluded from the calibration sample, thus avoiding systematically skewing the response relationship.
[0045] Optionally, the effective volume of each treatment section can be changed by adjusting the operating water level of the flocculation treatment section or the number of flocculation cells put into operation, and the changed effective volume can be synchronously substituted into the calculation of the arrival time.
[0046] By adopting the above technical solution, the effective volume can be actively adjusted not only when the module starts and stops, but also when the adjustment result is simultaneously included in the calculation of the arrival time.
[0047] Optionally, the monitoring data along the process may also include raw water temperature, pH value, conductivity and organic matter index, and the dosing response relationship may be calibrated separately according to temperature zones.
[0048] By adopting the above technical solution, multiple water quality dimensions are calibrated simultaneously, and the dosing response relationship is maintained according to temperature zones to adapt to seasonal water quality differences.
[0049] Optionally, the record of the drug administration batch also includes the combination identifier of the operating status and the effective volume, and each record, together with the batch deviation and the reason for adjustment, is uploaded to the remote operation and maintenance platform for storage.
[0050] By adopting the above technical solution, batch records, along with the combination of operating status and reasons for adjustment, are retained, providing batch-by-batch evidence for post-event traceability of abnormal drug consumption and fluctuations in effluent.
[0051] Optionally, the adjustment of the dosage control amount is linked to the adjustment of the mixing intensity, flocculation residence time, and disinfectant compensation amount.
[0052] By adopting the above technical solution, the adjustment of the dosage control quantity is synchronized with the operating parameters of the preceding and following processes, so that the process conditions and the dosage changes are matched.
[0053] Optionally, the multiple processing stages may also include a deep processing stage located downstream of the filtering processing stage, the effective volume of which is also included in the calculation of the arrival time.
[0054] By adopting the above technical solution, the volume of the deep processing section is included in the sum of the effective volumes along the process, so that the calculation of the arrival time after the process chain is extended is still valid.
[0055] Optionally, in response to any monitoring quantity in the along-line monitoring data having a rate of change exceeding the range calibration band, the monitoring quantity is marked as inaccurate and replaced with a similar monitoring quantity from an adjacent monitoring location in the calculation of the batch deviation.
[0056] By adopting the above technical solution, the monitored quantity whose rate of change exceeds the range calibration band is marked as inaccurate and replaced by the same quantity at an adjacent position, thus avoiding abnormal probe readings from entering the batch deviation.
[0057] Optionally, the response is tiered according to the comparison between the duration of fluctuation of the influent index and the residence time. The ratio of the effective volume of the coagulation treatment section to the influent flow rate is the initial residence time, and the difference between the arrival time and the dosing time is the total residence time. When the duration of fluctuation is less than the initial residence time, the dosing control amount is maintained; when it is between the two, the dosing control amount is adjusted; when it is not less than the total residence time, the dosing control amount is adjusted and the dosing response relationship is corrected.
[0058] By adopting the above technical solution, the comparison between the duration of disturbance and the duration of dwell time provides a grading criterion: short-term disturbances do not trigger adjustments, while continuous disturbances are subject to response relationship correction.
[0059] Optionally, the drug administration response relationship is maintained separately for each drug batch. When a drug batch is changed, a new response relationship branch is created, and it is not merged with the valid calibration batch before the change.
[0060] By adopting the above technical solution, the calibration samples before and after the batch change are not merged, thus avoiding the difference in reagent characteristics being written into the same response relationship as water quality changes.
[0061] Optionally, the confidence level of the drug dosing response relationship is taken as the proportion of the batch deviation in the recent valid calibration batches that falls within the allowable range. When the confidence level is lower than the confidence threshold, the dosage control amount is limited to the historical calibration range.
[0062] By adopting the above technical solution, the reliability of the response relationship is measured by the proportion of batch deviations falling within the allowable range. When the reliability is low, the dosage control quantity is limited to the historical calibration range.
[0063] Optionally, the replacement determination value is taken as one to several times the replacement progress corresponding to the volume of the reprocessing module, and the water quality index of the backwash residual water of the reprocessing module is involved in the determination of the replacement determination value.
[0064] By adopting the above technical solution, the replacement judgment value is taken as a multiple of the volume of the reprocessing module and the water quality of the backwash residual water is taken into account, so that the time point for full capacity calculation has a verifiable basis.
[0065] Secondly, the adaptive dosing control system for a modular water purifier unit provided in this application adopts the following technical solution:
[0066] An adaptive dosing control system for a modular water purifier unit includes:
[0067] A modular water purification unit includes multiple treatment sections connected in sequence, at least one of which is composed of multiple treatment modules connected in parallel that can be independently put into operation and taken out of operation.
[0068] The monitoring and acquisition unit is configured to collect monitoring data along the process and the operating status of each processing module. The operating status is either in operation or out of operation. The monitoring data along the process includes influent indicators, influent flow rate, process water indicators of each treatment section, and total effluent indicators.
[0069] The dosing execution unit is configured to administer the drug according to the dosing control amount;
[0070] A dosing strategy generation unit is configured to determine the dosing control quantity based on the influent index, the target effluent index and the dosing response relationship and output it to the dosing execution unit.
[0071] A batch management unit is configured to identify the water body corresponding to each dosing as a dosing batch, determine the expected effluent index of the dosing batch based on the dosing response relationship and the dosing control quantity, record the dosing time, the dosing control quantity, and the expected effluent index of the dosing batch, determine the effective volume of each treatment section based on the treatment modules in operation in each treatment section, accumulate the influent flow rate from the dosing time to obtain the cumulative dosing volume, and calculate the arrival time of the dosing batch at the outlet of each treatment section based on the sum of the effective volumes along the path from the inlet to the outlet of each treatment section using the cumulative dosing volume as a criterion, and recalculate the arrival time of the dosing batch that has not yet arrived based on the sum of the changed effective volumes in response to changes in the operating status.
[0072] A closed-loop correction unit is configured to obtain the total effluent index based on the arrival time at the outlet of the final treatment section, compare it with the expected effluent index to obtain the batch deviation of the dosing batch, correct the dosing response relationship based on the batch deviation, and output it to the dosing strategy generation unit.
[0073] Optionally, the batch management unit is further configured to: identify a processing module that has been restarted after being withdrawn as a reoperation processing module; determine the replacement progress as the ratio of the cumulative water volume flowing through the reoperation processing module since its commissioning to the volume of the reoperation processing module; in response to the replacement progress being less than the replacement determination value, include the volume of the reoperation processing module in the effective volume of the processing segment according to the replacement progress; and in response to the replacement progress reaching the replacement determination value, include the full volume of the reoperation processing module in the effective volume of the processing segment.
[0074] By adopting the above technical solution, the batch management unit separately handles the replacement progress of the reoperation processing module in the volume ledger, so that the effective volume on the system side is calculated according to the actual overcurrent conditions in the initial stage of module reconnection.
[0075] Optionally, the closed-loop correction unit is further configured to: identify the batches that have been dosed but for which the batch deviation has not yet been obtained as undetermined batches; calculate the algebraic sum of the changes in the dosing control quantity of each undetermined batch relative to the previous dosing to obtain the undetermined adjustment quantity; determine the feedback blind zone duration based on the difference between the arrival time of each undetermined batch at the final processing stage exit and the dosing time; determine the undetermined adjustment quantity limit in reverse according to the feedback blind zone duration; and, in response to the absolute value of the undetermined adjustment quantity reaching the undetermined adjustment quantity limit, output an instruction to the dosing strategy generation unit to apply an adjustment direction constraint, wherein the adjustment direction constraint causes the dosing control quantity to remain unchanged or to be adjusted in the opposite direction to the sign of the undetermined adjustment quantity.
[0076] By adopting the above technical solution, the closed-loop correction unit maintains the undecided adjustment amount in addition to the batch deviation, and applies adjustment direction constraints to the dosing strategy generation unit in the form of instructions, so that the strategy output in the feedback blind zone is restricted by the feedback side.
[0077] In summary, this application includes at least one of the following beneficial technical effects:
[0078] 1. Each dosing is registered as a dosing batch. The time it arrives at the outlet of the treatment section is calculated by the effective volume and influent flow rate determined by the treatment module in operation. The actual effluent measurement is matched with the corresponding dosing action. The sample that corrects the response relationship does not contain mismatched data.
[0079] 2. When module start-up or shutdown occurs during the batch, the remaining volume is calculated based on the proportion of progress already made. During the period when the reoperation module replacement is not completed, the volume is calculated based on the progress weighting and water samples are taken. The amount of unresolved adjustments in the blind zone is subject to the limit and segmented attribution constraints. Backwashing and chemical dosing increase are coordinated.
[0080] 3. The arrival time is expanded to an arrival window that widens with the proportion of exits and is compared with the representative value within the window. Only batches whose operating status has not changed participate in the calibration. Influent fluctuations are graded and responded to by comparing the duration and residence time, and the response relationship is accounted for by chemical batch. Attached Figure Description
[0081] Figure 1 This is a flowchart of an adaptive dosing control method for a modular water purifier unit in one embodiment of this application.
[0082] Figure 2 This is a schematic diagram of the arrangement and monitoring positions of the modular water purifier unit along the flow path in one embodiment of this application.
[0083] Figure 3 This is a schematic diagram of an adaptive dosing control system for a modular water purifier unit according to one embodiment of this application. Detailed Implementation
[0084] The present application will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the application and are not intended to limit the scope of the application.
[0085] This application discloses an adaptive dosing control method for a modular water purifier unit. This application registers each dosing as a traceable dosing batch and calculates the arrival time of that batch at the outlet of each treatment section based on the effective volume determined by the treatment module in operation, thereby pairing the dosing action with the downstream measured results by batch. First, monitoring data along the process and the operating status of each treatment module are collected. Then, the dosing control quantity is determined based on the relationship between the influent index and the dosing response, and a dosing batch is established. Next, the arrival time is calculated based on the cumulative dosing volume reaching the sum of the effective volumes along the process, and this calculation is recalculated when the operating status changes. Finally, the total effluent index is retrieved based on the arrival time, the batch deviation is obtained, and the dosing response relationship is corrected accordingly. Therefore, even with frequent operation and shutdown of the treatment module, the measured effluent results can still be returned to the corresponding dosing action. The following provides a detailed explanation of the terminology, overall method flow, specific implementation of each step, and system mapping. The following first explains several technical terms involved in the embodiments of this application.
[0086] A modular water purifier unit is a water purification device consisting of multiple treatment sections connected in sequence. Raw water enters through the inlet and flows through each treatment section in sequence, and is discharged from the outlet of the last treatment section. At least one treatment section consists of multiple treatment modules connected in parallel, and each treatment module can be independently put into operation and taken out of operation. Therefore, the number of modules in operation can be increased or decreased according to the water production demand.
[0087] A treatment section is a process unit divided according to its treatment function, such as a coagulation treatment section, a filtration treatment section, and a deep treatment section. A treatment module is a parallel unit that constitutes the same treatment section. The inlets and outlets of each treatment module within the same section converge at the section's main inlet pipe and main outlet pipe, respectively. The commissioning or decommissioning of a single treatment module does not affect the continued flow of other treatment modules within the same section.
[0088] Operating status refers to the flow conditions of a processing module at a given moment. A processing module in the operational state participates in the flow, and its volume is involved in water transport; a processing module in the decommissioned state is isolated from the main flow path, and its volume is not involved in transport. Maintenance shutdowns, filter backwashing, and adjustments to the number of operating modules based on permeate production will all cause the processing module to switch between these two states.
[0089] Monitoring data along the process is collected from three types of locations. An online water quality meter and flow meter are installed at the inlet to obtain the raw water quality values and instantaneous flow rate. An online water quality meter is installed at the main outlet pipe of each treatment section to obtain the water quality values of the treated water at that section. An online water quality meter is installed at the main outlet to obtain the final effluent water quality values from the unit. The main outlet is the same location as the outlet of the final treatment section's main outlet pipe. The values measured by the online water quality meter at this location serve as both the process water index for the final treatment section and the overall effluent index. Therefore, when collecting the overall effluent index based on the arrival time at the final treatment section's outlet, the data collection location is consistent with the location indicated by the criterion.
[0090] The dosing response relationship is a model describing the correspondence between the controlled dosage and water quality. Given influent parameters and target effluent parameters, the appropriate controlled dosage can be derived from this relationship; given influent parameters and a determined controlled dosage, the water quality value to be achieved during the dosing can be derived from this relationship. The parameters of this relationship are not fixed but are continuously corrected based on subsequent batch deviations.
[0091] A dosing batch refers to the portion of water body corresponding to this dosing, and is the smallest water body unit tracked in this method. For each dosing batch, its dosing time, controlled dosage, and expected effluent quality indicators are recorded. The expected effluent quality indicators are the water quality values that the batch should achieve when flowing to the main outlet, derived by forward extrapolating the dosing response relationship and the controlled dosage, and serve as the benchmark for subsequent comparisons.
[0092] Effective volume refers to the volume actually involved in current transmission within a processing segment. It is the sum of the volumes of all processing modules in operation within that segment, excluding the volumes of modules in shutdown mode. The effective volume of the same processing segment can differ at different times, and its value varies depending on the combination of operating modules. In some embodiments, the volume of processing modules in operation but with abnormal current conditions is calculated based on their actual participation in transmission; the calculation method is described in the corresponding embodiments below.
[0093] The cumulative dosing volume is the cumulative amount of water passing through the inlet from the time a certain batch of chemicals is added. The arrival time is the time when the leading edge of that batch reaches the outlet of a certain treatment section, determined by the criterion that the cumulative dosing volume reaches the sum of the effective volumes of all treatment sections along the path from the inlet to the outlet of that treatment section.
[0094] The overall process of this method is described in detail below. (Refer to...) Figure 1 This method comprises steps S1 to S5, which are executed sequentially. It should be noted that S2 to S5 are performed separately for each batch of chemical dosing, and the execution processes of each batch overlap in time: while one batch is still moving downstream from the inlet, subsequent dosing has already begun and a new batch has been established. Therefore, at any given time, there are usually multiple batches in the unit that have been dosed but whose batch deviations have not yet been retrieved. Each batch proceeds independently according to its own dosing and arrival times. S1, on the other hand, is executed continuously throughout the entire operation, providing real-time monitoring data and operational status for each batch.
[0095] S1. Collect monitoring data along the process and the operating status of each processing module. The operating status is either in operation or out of operation. The monitoring data along the process includes influent indicators, influent flow rate, process water indicators of each treatment section, and total effluent indicators.
[0096] In the specific implementation, refer to Figure 2 The monitoring data along the process were collected from three locations: the inlet, the main effluent pipe of each treatment section, and the main effluent outlet. Inlet indicators characterize the difficulty of raw water treatment, such as turbidity, color, or organic matter content; process water indicators and total effluent indicators characterize the degree of water treatment at their respective locations, typically using water quality items similar to the inlet indicators for easy comparison along the process. The operating status of each treatment module was obtained from the position feedback of its inlet and outlet valves or the operating flags of its control loop. The collection cycle was consistent with the monitoring data along the process, ensuring that every change in operating status was recorded promptly.
[0097] In some embodiments, the multiple treatment sections include a coagulation treatment section and a filtration treatment section located downstream of the coagulation treatment section. The dosing response relationship includes the segmented response relationship at the outlet of each treatment section. S1 further includes: collecting the pressure difference of each treatment module in the filtration treatment section, and identifying the treatment module with the highest pressure difference as the module to be backwashed. The pressure difference is taken from the pressure difference between the inlet and outlet of the treatment module, and its value increases with the accumulation of retained material in the filter layer, thus characterizing the degree of clogging of the module. The module with the highest pressure difference is the module with the most severe filter layer clogging, and it is identified as the module to be backwashed, so that the subsequent backwashing action has a clear target.
[0098] In other embodiments, the monitoring data along the process also includes raw water temperature, pH value, conductivity, and organic matter index, and the dosing response relationship is calibrated separately according to temperature zones. The floc formation rate and settling performance under low temperature conditions are different from those under normal temperature conditions. The response relationship is maintained according to temperature zones so that the same unit uses a set of parameters that are appropriate for the water temperature at different seasons.
[0099] S2. Determine the dosage control amount based on the influent index, target effluent index and dosing response relationship, and dosing the drug according to the dosage control amount. The water body corresponding to this dosing is determined as the dosing batch. Determine the expected effluent index of the dosing batch based on the dosing response relationship and dosage control amount, and record the dosing time, dosage control amount and expected effluent index of the dosing batch.
[0100] In practice, the target effluent quality is given by the water plant's effluent control target, while the influent quality is obtained in real time by S1. The difference between the two is the water quality span that this dosing needs to overcome. The dosage control amount is obtained by inversely solving this span under the dosing response relationship. In the same calculation, the determined dosage control amount and the current influent quality are substituted back into the relationship to obtain the expected effluent quality for this batch. Therefore, the expected effluent quality is not directly determined by the target effluent quality, but rather is a calculated value jointly determined by the influent quality and the actual dosage. It reflects the water quality that should be achieved according to the current response relationship, rather than the water quality that the water plant hopes to achieve.
[0101] The dosing response relationship can be implemented in various ways. In some embodiments, the relationship is implemented as a piecewise calibration curve, providing a segmented line representing the dosing control quantity and the effluent index according to the range of influent index values. The slope and intercept of each segment are the parameters to be subsequently corrected. In other embodiments, the relationship is implemented as a regression model, using historical batches of influent index, dosing control quantity, and measured effluent index as samples to fit the model coefficients. Both forms achieve the goal of inversely solving the dosing control quantity from the influent index and the target effluent index, and then forward producing the expected effluent index from the dosing control quantity.
[0102] In some embodiments, S2 further includes the following sub-steps S21 to S24:
[0103] S21. Drug-administered batches for which batch deviations have not yet been obtained are designated as pending batches.
[0104] S22. Calculate the algebraic sum of the changes in the dosage control amount for each pending batch relative to the previous dosage to obtain the pending adjustment amount.
[0105] S23. Determine the feedback blind zone duration based on the difference between the arrival time and the addition time of each pending batch at the final processing stage exit, and determine the pending adjustment limit in reverse order of the feedback blind zone duration.
[0106] S24. In response to the absolute value of the pending adjustment amount reaching the pending adjustment amount limit, an adjustment direction constraint is applied to the subsequent drug administration control amount, the adjustment direction constraint causing the subsequent drug administration control amount to remain unchanged or to be adjusted in the opposite direction to the sign of the pending adjustment amount.
[0107] The pending adjustment quantity records the total amount of adjustments that have been issued but not yet verified. For example, if three consecutive drug administrations successively increase the dosage, and the change in dosage relative to the previous one is positive, their algebraic sum is a positive pending adjustment quantity. If there is a pullback in between, the negative change in that pullback will offset the previous one, and the pending adjustment quantity will decrease accordingly. The feedback blind zone duration is given by the difference between the arrival time and the dosage time. The longer this duration, the more pending batches accumulate in the same period, and the smaller the limit is obtained accordingly, so that the control system does not accumulate the adjustment quantity too high during the period when the results are not visible.
[0108] It is important to distinguish that the dosage control amount obtained from the inverse solution of the dosing response relationship in S2 is the dosage control amount required for this dosing; when the adjustment direction constraint takes effect, the actual applied dosage control amount is the value after constraint correction based on the required value, and the two may not be equal. The value actually applied is written into the dosing batch record and used to calculate the expected effluent indicators, so that subsequent comparisons are based on the actual dosage.
[0109] There is also room for coordination between the backwashing action and the direction of change in the dosage. In some embodiments, S2 also includes parallel steps S2a and S2b:
[0110] S2a. In response to the change in the dosage control amount required for subsequent drug administration along the increasing direction and the pressure difference of the module to be backwashed not reaching the backwash threshold, backwashing is performed on the module to be backwashed before the dosage control amount increases.
[0111] S2b. In response to the pressure difference of the module to be backwashed reaching the backwash threshold and the influent index changing in the direction of deterioration, including the sequential execution of S2b1 and S2b2.
[0112] S2b1. Delay the backwashing to be performed on the backwashing module, and perform backwashing delay compensation on the volume occupancy of the backwashing module and the increase in the added control quantity. The backwashing delay compensation includes correcting the volume of the backwashing module to be backwashed to the equivalent volume according to the pressure difference and including the equivalent volume in the effective volume of the processing section, and limiting the increase in the added control quantity.
[0113] S2b2. In response to the total effluent index reaching the effluent warning value during the backwash delay compensation period, reduce the influent flow rate.
[0114] The backwash delay compensation includes the following two aspects in its specific implementation, and the effluent warning value on which S2b2 is based is explained below.
[0115] Equivalent volume conversion. The accumulation of trapped material within the filter layer reduces the flowable pores while increasing the inter-module pressure difference. Consequently, the actual water volume transported within the module is less than its rated volume. The equivalent volume is calculated as the product of the module's rated volume and a reduction factor. This reduction factor decreases as the pressure difference increases. When the pressure difference is near its initial value, the reduction factor approaches one. When the pressure difference reaches the backwash threshold, the reduction factor takes an intermediate value. As the pressure difference further rises to the upper limit of the allowable operating pressure difference, it drops to the lower limit determined by calibration. Backwash delay compensation is performed between the backwash threshold and the upper limit of the pressure difference. Within this range, the reduction factor continues to decrease as the pressure difference continues to rise, ensuring that the estimated arrival time during the delayed backwash period matches the actual flow conditions.
[0116] Limitations on the increase in dosage control. When the backwash module is under high pressure differential, its filter layer's ability to retain flocs has decreased. If the dosage is increased to match the degree of influent degradation, the excess reagent will not be adequately retained in the module and will instead flow downstream. Therefore, an upper limit is set for the single increase in dosage control during the compensation execution period. This upper limit is determined by the degree to which the pressure differential exceeds the backwash threshold; the greater the exceedance, the lower the upper limit.
[0117] Setting the effluent warning value. The effluent warning value is set between the effluent control target and the exceedance limit, allowing for a margin of error to postpone backwashing without exceeding the limit. In some embodiments, this value is selected as the midpoint of the difference between the control target and the exceedance limit; if the water plant has other management requirements, it can also be set according to those requirements.
[0118] During backwashing, the processing module being backwashed is disconnected from the main power line, and its operating status changes from operational to out of operation. This switch, like maintenance shutdown, will trigger a recalculation of the arrival time in S3; if the module is put back into operation after backwashing, it will be handled according to the reactivation processing module described later.
[0119] Fluctuations in influent parameters do not necessarily require corresponding changes in dosage. In some embodiments, responses are tiered based on the comparison between the duration of the fluctuation and the residence time. The ratio of the effective volume of the coagulation treatment section to the influent flow rate is the initial residence time, and the difference between the arrival time and the dosing time is the total residence time. When the duration of the fluctuation is less than the initial residence time, the dosage control is maintained; when it is between the two, the dosage control is adjusted; and when it is not less than the total residence time, the dosage control is adjusted and the dosing response is corrected. Fluctuations with a duration shorter than the initial residence time dissipate before their impact extends beyond the coagulation treatment section, and responding to such fluctuations only introduces unnecessary fluctuations in dosage.
[0120] In other embodiments, the adjustment of the dosage control amount is linked to the adjustment of the mixing intensity, flocculation residence time, and disinfectant compensation amount. After the dosage is increased, if the mixing intensity and flocculation residence time remain at their original values, the increased amount of reagent will be difficult to complete destabilization and flocculation under the original hydraulic conditions. The linked adjustment ensures that the operating conditions of the preceding and following processes match the changes in reagent dosage.
[0121] S3. Determine the effective volume of each treatment section based on the treatment modules in operation in each treatment section. Accumulate the influent flow rate from the time of dosing to obtain the cumulative dosing volume. Use the sum of the effective volumes along the path from the inlet to the outlet of each treatment section as the criterion to calculate the arrival time of the dosing batch at the outlet of each treatment section. In response to changes in operating status, recalculate the arrival time of the dosing batch that has not yet arrived based on the sum of the changed effective volumes.
[0122] The basis of this criterion is that water generally flows in a first-in, first-out (FIFO) order within the tank and pipelines. Once a batch of chemicals enters through the inlet, the subsequent inflow pushes it downstream. Therefore, the volume of water accumulated through the inlet from the moment of dosing corresponds to the volume by which the leading edge of that batch has advanced. Combined with... Figure 2 When this cumulative value equals the sum of the effective volumes of all treatment sections from the inlet to the outlet of a certain treatment section, the leading edge of that batch has just reached the outlet of that treatment section. The criterion adds up the effective volume, not the rated volume. The treatment module in the exit state is isolated from the main flow, and its volume does not bear the transportation. If it is included, the criterion will be postponed, and the water actually retrieved will be from the later section.
[0123] When the operating status changes during batch travel, the arrival time is recalculated based on the sum of the changed effective volumes. This applies to batches that have been dosed but have not yet flowed out of the corresponding processing section outlet. In some embodiments, the recalculation of the arrival time in S3 for each processing section outlet includes the following sub-steps S31 to S34:
[0124] S31. Determine the batch of pesticides that has not yet reached the exit of the corresponding processing section as the batch in transit.
[0125] S32. The ratio of the cumulative water volume of the batches of chemicals being administered to the sum of the effective volumes before the change in operating status is taken as the proportion of progress.
[0126] S33. Determine the remaining volume of the batch in transit based on the sum of the effective volumes after the change in operating status and the proportion already traveled.
[0127] S34. The arrival time of the batch in transit is determined by the criterion that the cumulative value of the influent flow rate since the moment of change in the operating state reaches the remaining volume.
[0128] The remaining volume is determined by the following formula:
[0129]
[0130] in, This is the sum of the effective volumes along the path from the inlet to the outlet of the treatment section before the change in operating status. It is the sum of the effective volumes along the same path after the change. This refers to the cumulative water volume used for this batch of pesticides in transit. This represents the remaining volume of the batch currently in transit. The percentage already traveled is... and The ratio represents the proportion of the batch that has already been traversed under the original flow conditions; the remaining volume converts this proportion to the changed flow conditions, obtaining how much more water is needed for the batch to be pushed into place from the moment of the change.
[0131] For example, the sum of the effective volumes along the path from the dosing batch to the outlet of the final treatment section. The cumulative water volume for this batch of pesticide application is 300 m³. When the volume reaches 120m³, a processing module with a volume of 50m³ exits, and the sum of the effective volumes along the path after the change is complete. The volume is 250 m³. Substituting this into the above formula, the already traveled proportion is 0.4, and the remaining volume is... The volume is 150 m³. At this point, the influent flow rate is 100 m³ / h. Therefore, 1.5 hours after the module exits, this batch will reach the final treatment stage outlet. If no recalculation is performed and the previous criteria are used, this batch still requires 180 m³ of influent, and the arrival time will be delayed by 0.3 hours.
[0132] The above formula is calculated based on the already traveled proportion and does not distinguish whether the change in effective volume occurs upstream or downstream of the batch front. When the change occurs upstream of the front, the volume between the batch front and the outlet of the final processing section remains unchanged, and its remaining volume is unaffected. When the change occurs downstream of the front, the remaining volume increases or decreases directly according to the amount of change. Therefore, the above formula is an approximation when the processing section where the batch front is located is unknown, and its deviation does not exceed the volume of the processing module that has changed. When the processing section where the front is located is known, directly increasing or decreasing the remaining volume according to the above two scenarios can yield results that are more consistent with the actual flow conditions.
[0133] The above describes one implementation method for recalculation. In other embodiments, recalculation can also bypass the already traveled proportion and instead directly subtract the volume already flowed since the addition time from the sum of the changed effective volumes, with the difference also serving as the remaining volume. This alternative method yields results close to the above method when the module volume is a small percentage of the total volume along the route, achieving the same goal of providing a criterion for continued accumulation of batches in transit under new flow conditions.
[0134] When a treatment module is restarted from a deactivated state, the water remaining inside has not yet been replaced by new water, a situation different from normal operation. In some embodiments, in S3, the treatment module restarted after deactivation is defined as a reactivated treatment module, and the ratio of the cumulative water volume flowing through the reactivated treatment module since its restart to the volume of the reactivated treatment module is defined as the replacement progress, including parallel steps S3a and S3b:
[0135] S3a. In response to the replacement progress being less than the replacement judgment value, the volume of the reprocessing module is weighted according to the replacement progress and included in the effective volume of the processing section, and the process water index of the processing section is taken from the outlet of the other processing modules in the processing section.
[0136] S3b. In response to the replacement progress reaching the replacement judgment value, the volume of the reprocessing module is fully included in the effective volume of the processing section.
[0137] The weighted volumetric calculation based on the replacement progress is necessary because in the initial stage of reactivation, only a portion of the module's space is occupied by the incoming water. The volume involved in transportation gradually increases from zero to the rated value as the replacement progresses. If the rated volume is fully included at the moment of reactivation, the sum of the effective volumes along the route is overestimated, the criterion is postponed, and the arrival time is later than the actual time. The comparison then uses water from a later batch, and batch deviation thus includes components not caused by this dosing. Conversely, if the volumetric calculation is not included after the replacement is completed, the criterion is advanced, and water from a earlier batch is used. Gradual volumetric calculation based on the replacement progress ensures that the arrival time during this transition period matches the actual flow conditions. When the replacement progress exceeds one stage, the weighting coefficient is set to one, and the module's volume no longer increases with the replacement progress. Therefore, the weighted volume never exceeds the module's rated volume.
[0138] Sampling locations also need to be differentiated during this period. Under normal circumstances, the process water indicators for a certain treatment section are taken from the main effluent pipe of that section. The water in the main pipe is the confluence of the effluent from each treatment module in that section and can represent the treatment level of that section. During the reoperation period, the main pipe contains residual water that has not yet been completely replaced by the reoperation treatment modules. This part of the water is not from the current batch treated by that section, and the values measured after its mixing cannot represent the treatment level of this batch. Therefore, the sampling is changed to the outlet branch pipes of the other treatment modules in that section; after the replacement progress reaches the judgment value, the sampling location returns to the main effluent pipe.
[0139] The replacement judgment value needs to strike a balance between being included too early and too late. In some embodiments, the replacement judgment value is taken as one to several times the replacement progress corresponding to the volume of the reprocessing module, and the water quality indicators of the backwash residual water of the reprocessing module are used to determine the replacement judgment value. When the turbidity of the residual water after backwashing is high, a larger multiple is used to ensure more thorough replacement before full volume calculation; when the residual water quality is close to the effluent level of that section, a smaller multiple is used.
[0140] The exit of a processing module also alters the distribution of the flow cross-section, causing differences in the travel speed of water within the same batch. In some embodiments, in S3, the arrival time of each processing section outlet is extended into an arrival window, and the ratio of the number of processing modules in the exit state along the path from the inlet to the outlet of each processing section to the total number of processing modules along the path from the inlet to the outlet of each processing section is determined as the exit ratio. The width of the arrival window increases as the exit ratio increases. In S4, the total effluent index is collected multiple times within the arrival window at the outlet of the last processing section, and the representative values obtained from the multiple collections are compared with the expected effluent index to obtain the batch deviation.
[0141] The exit rate is calculated cumulatively along the entire treatment process because water flows sequentially through each treatment section from the inlet to the outlet. Each time a treatment section with exiting modules is reached, the flow cross-section is redistributed, and the velocity difference between water near the wall and water near the main flow accumulates. Therefore, the measure of flow broadening at the outlet of a treatment section is not the exit rate of that section itself, but the sum of the exit rates of all treatment sections along the entire process from the inlet to the outlet. The more modules that exit along the process, the more dispersed the arrival times of water within the same batch, and the larger the corresponding window width.
[0142] Changes in effective volume do not always arise from module start-up and shutdown. In some embodiments, the effective volume of each processing section is altered by adjusting the operating water level of the flocculation treatment section or the number of flocculation cells put into operation, and the changed effective volume is simultaneously incorporated into the calculation of the arrival time. Adjustments to the water level and the number of cells also cause changes in the volume involved in transportation, and the handling method is the same as for module start-up and shutdown.
[0143] In other embodiments, the multiple processing sections also include a deep processing section located downstream of the filtration processing section, and the effective volume of the deep processing section is also included in the calculation of the arrival time. As the process chain is extended, the sum of the effective volumes along the path from the inlet to the main outlet increases accordingly, and the summation relationship on which the criterion is based does not change with the increase in the number of processing sections.
[0144] S4. Collect the total effluent index based on the arrival time at the outlet of the final treatment section, and compare it with the expected effluent index to obtain the batch deviation of the dosing batch.
[0145] Batch deviation is the difference between the total effluent parameters measured at the arrival time of the batch and its registered expected effluent parameters. The sign of the difference indicates the direction of deviation: a positive deviation indicates insufficient dosage or an overestimation of the effect of the dosage by the response relationship when the measured value is worse than the expected value; a negative deviation indicates excessive dosage or an underestimation of the effect of the dosage by the response relationship when the measured value is better than the expected value. The absolute value of the difference indicates the degree of deviation. The two ends of the comparison are the measured results of the same part of the water body and the estimated results at the time of batch dosage; therefore, this difference reflects the mismatch between the current dosage and its actual effect.
[0146] The representative values for the multiple data collections within the aforementioned window can be obtained in various ways. In some embodiments, the median of each sample within the window is used to suppress individual abnormal readings; in other embodiments, the arithmetic mean of each sample within the window is used to smooth out short-term fluctuations within the window. Both methods similarly converge a set of readings within the window into a single value for comparison with the expected effluent indicators.
[0147] When the deviation falls at the main outlet, only a summary can be provided, without indicating where the deviation occurred. In some embodiments, S4 further includes the following sub-steps S41 to S43, as well as parallel steps S4a and S4b:
[0148] S41. Based on the arrival times at the outlets of the coagulation treatment section and the filtration treatment section, process water indicators are collected at the outlets of the coagulation treatment section and the filtration treatment section, respectively.
[0149] S42. Determine the expected process water parameters at the outlet of the coagulation treatment section and the outlet of the filtration treatment section based on the dosing response relationship and the dosing control amount.
[0150] S43. The deviation between the process water index at the outlet of the coagulation treatment section and the expected process water index at the outlet of the coagulation treatment section is defined as the front-end deviation, and the deviation between the process water index at the outlet of the filtration treatment section and the expected process water index at the outlet of the filtration treatment section is defined as the back-end deviation.
[0151] S4a. In response to the fact that the magnitude of the previous deviation is greater than the magnitude of the subsequent deviation, the adjustment direction constraint is released until the next batch deviation is obtained, so that the dosage control amount of subsequent drug administration is restored to be adjusted in the sign direction of the pending adjustment amount.
[0152] S4b. In response to the fact that the magnitude of the subsequent deviation is not less than the magnitude of the preceding deviation, maintain the adjustment direction constraint.
[0153] The segmented response relationships are established during the initial commissioning of the unit. The unit is stabilized under several different influent parameters and dosages. Water quality values at the outlets of the coagulation and filtration sections are recorded for the same batch of water. These paired data are used to fit the corresponding relationships for each segment. Subsequently, the corresponding relationships for each segment are corrected by the deviation of that segment: the deviation of the preceding segment corrects the segmented response relationship of the coagulation section, and the deviation of the following segment corrects the segmented response relationship of the filtration section.
[0154] In some embodiments, the process water indicators at the outlets of the coagulation treatment section and the filtration treatment section are also collected multiple times within the corresponding arrival window, and the method for obtaining their representative values is the same as that for the total effluent indicators, so that the deviations of the front and back sections are not affected by the timing of single-point sampling.
[0155] For example, if the influent turbidity of a batch is 30 degrees, based on the segmented response relationship and the current dosage control, the expected process water index at the coagulation treatment section outlet is 8 degrees, and the expected process water index at the filtration treatment section outlet is 0.6 degrees. If the actual measured process water indexes at the two outlets are 14 degrees and 0.8 degrees respectively, then the initial deviation is 6 degrees, and the subsequent deviation is 0.2 degrees. The magnitude of the initial deviation is greater than that of the subsequent deviation, indicating that the deviation mainly occurs in the coagulation section and is directly related to the dosage. In this case, the adjustment direction constraint should be released, allowing subsequent dosing to continue in the original direction until the next batch deviation is obtained. If the two measured values are 8.2 degrees and 1.1 degrees respectively, then the initial deviation is 0.2 degrees and the subsequent deviation is 0.5 degrees. The deviation mainly occurs in the filtration section and is related to the filter bed condition rather than insufficient dosage. In this case, the constraint should be maintained. In some embodiments, the two deviations are first divided by their respective expected process water indexes to convert them into relative deviations before comparison, so that the two values of different magnitudes can be compared.
[0156] Online water quality meter readings are not always reliable. In some embodiments, in response to any monitored quantity in the along-line monitoring data changing beyond the calibration range, that monitored quantity is marked as inaccurate and replaced with a similar monitored quantity from an adjacent monitoring location in the batch deviation calculation. The actual change in water quality values is constrained by the hydraulic residence time, and its rate of change has a physical upper limit. Jumps exceeding this upper limit usually originate from probe scaling, bubbles, or signal interference.
[0157] In other embodiments, the record for each batch of medication administration also includes a combination identifier of the operating status and the effective volume. Each record, along with batch deviations and adjustment reasons, is uploaded to a remote operation and maintenance platform for storage. The combination identifier of the operating status records which processing modules were in operation during the batch's execution, enabling post-event traceability to correlate abnormal medication consumption at a certain time with the module combinations at that time.
[0158] S5. Correct the dosing response relationship based on batch deviation, and determine the dosing control amount for subsequent dosings according to the corrected dosing response relationship.
[0159] The correction targets the set of parameters in the response relationship that map the added control quantity to the effluent quality index. In some embodiments, the correction is implemented as a multiplicative factor, scaling the gain term in this set of parameters according to the sign and magnitude of the batch deviation, so that the same added control quantity corresponds to a stronger or weaker improvement in water quality after correction. In other embodiments, the correction is implemented as an additive bias, superimposing a bias obtained by accumulating the batch deviation onto the output of the response relationship. The multiplicative form follows gain drift more directly, while the additive form follows zero-point drift more directly; both achieve the goal of bringing the response relationship closer to the measured results.
[0160] Not all batches are suitable for calibration. In some embodiments, in S5, batches whose operating states of each processing module remain unchanged from the time of dosing to the time of arrival at the outlet of the final processing section are identified as valid calibration batches, and the dosing response relationship is corrected only based on the dosing control amount and batch deviation of the valid calibration batches. Batches that have experienced module start-up and shutdown during the journey, although their arrival time has been recalculated, have had their flow state disturbed along the way, and the obtained deviation contains components of changes in transport conditions. Using such samples for calibration will skew the response relationship in a direction unrelated to the dosing amount.
[0161] In some embodiments, in response to the absence of a valid calibration batch within a set time period, the determination of a valid calibration is relaxed to the number of changes in the operating status during the travel period not exceeding a set number, and batches participating in the correction are selected in order of the number of changes from fewest to most, so that the correction does not stop for a long time during periods of frequent module start-stop.
[0162] Replacing the reagent itself also constitutes a change in conditions. In some embodiments, the dosing response relationship is maintained separately for each reagent batch. When a reagent batch is changed, a new response relationship branch is created, and it is not merged with the valid calibration batch before the change. Different batches of coagulant differ in effective content and hydrolysis characteristics. Merging calibrations would treat the differences in reagent characteristics as water quality changes and record them in the same set of parameters.
[0163] The degree to which the response relationship is corrected also needs to be constrained. In some embodiments, the confidence level of the dosing response relationship is taken as the proportion of batch deviations in recently valid calibration batches falling within the allowable range. When the confidence level is lower than the confidence threshold, the dosing control quantity is limited to the historical calibration range. A low proportion falling within the allowable range indicates that the current response relationship has not yet aligned with the actual operating conditions. In this case, the dosing control quantity is limited to the range of values that have been verified in the past, so that the control system does not give a dosing quantity that is far from experience before the relationship reconverges.
[0164] The steps of the method have been explained above. The following section describes the system for implementing this method. (Refer to...) Figure 3 This application also discloses an adaptive dosing control system for a modular water purifier unit, including a modular water purification unit, a monitoring and acquisition unit, a dosing execution unit, a dosing strategy generation unit, a batch management unit, and a closed-loop correction unit.
[0165] The modular water purification unit comprises multiple sequentially connected treatment sections, at least one of which consists of multiple treatment modules connected in parallel, each capable of independent operation and deactivation. This unit is the controlled object; the operation and deactivation of each treatment module constitutes both the unit's operational actions and the conditions upon which subsequent calculations for each unit are based.
[0166] The monitoring and acquisition unit is configured to collect monitoring data along the process flow and the operating status of each processing module, which can be either operational or deactivated. The monitoring data includes influent parameters, influent flow rate, process water parameters for each treatment section, and total effluent parameters. This unit consists of online water quality meters and flow meters located at the inlet, the main effluent pipes of each treatment section, and the main effluent outlet, as well as valve position feedback from each module. It is the only data entry point in the system.
[0167] The dosing execution unit is configured to dispense chemicals according to the controlled dosage. This unit includes a metering pump and dosing lines, translating the controlled dosage into actual chemical dosing.
[0168] The dosing strategy generation unit is configured to determine the dosing control quantity based on the influent parameters, target effluent parameters, and the dosing response relationship, and output it to the dosing execution unit. This unit maintains the current parameters of the dosing response relationship and continues to generate the dosing control quantity according to the corrected parameters after the closed-loop correction unit provides the correction result.
[0169] The batch management unit is configured to identify the water body corresponding to each chemical dosing as a dosing batch, determine the expected effluent indicators of the dosing batch based on the dosing response relationship and the dosing control quantity, record the dosing time, dosing control quantity, and expected effluent indicators of the dosing batch, determine the effective volume of each treatment section based on the treatment modules in operation, accumulate the influent flow rate from the dosing time to obtain the cumulative dosing volume, and calculate the arrival time of the dosing batch at the outlet of each treatment section based on the cumulative dosing volume reaching the sum of the effective volumes along the route from the inlet to the outlet of each treatment section. In response to changes in operating status, the arrival time of dosing batches that have not yet arrived is recalculated based on the sum of the changed effective volumes. This unit maintains a ledger of batches in transit and a ledger of the effective volumes of each treatment section; the former is recorded batch by batch, and the latter is updated with each change in operating status.
[0170] The closed-loop correction unit is configured to obtain the total effluent index based on the arrival time of the final treatment stage outlet, compare it with the expected effluent index to obtain the batch deviation of the dosing batch, correct the dosing response relationship based on the batch deviation, and output it to the dosing strategy generation unit.
[0171] The data pathways between the units are as follows: The monitoring and acquisition unit obtains process monitoring data and operational status from the modular water purification unit. Influent indicators are sent to the dosing strategy generation unit, influent flow rate and operational status are sent to the batch management unit, and process water indicators and total effluent indicators for each treatment stage are sent to the closed-loop calibration unit. The target effluent indicator is not part of the process monitoring data; it is given by the water plant's effluent control target and pre-configured in the dosing strategy generation unit, without being transmitted through the monitoring and acquisition unit. The dosing strategy generation unit sends the determined dosing control quantity to both the dosing execution unit and the batch management unit. The former executes the dosing based on this, while the latter establishes the dosing batch and calculates the expected effluent indicator. The batch management unit sends the arrival time and expected effluent indicator of each batch to the closed-loop calibration unit as the data acquisition timing and comparison benchmark. The closed-loop calibration unit sends the corrected dosing response relationship back to the dosing strategy generation unit, closing the entire loop.
[0172] In some embodiments, the batch management unit is further configured to: identify processing modules that have been reactivated after being deactivated as reactivated processing modules; determine the replacement progress as the ratio of the cumulative water flow through the reactivated processing module since its activation to the volume of the reactivated processing module; in response to a replacement progress less than a replacement determination value, include the volume of the reactivated processing module in the effective volume of the processing segment according to the replacement progress; and in response to a replacement progress reaching the replacement determination value, include the full volume of the reactivated processing module in the effective volume of the processing segment. This configuration enables the effective volume ledger to be registered according to the actual flow conditions in the initial stage of module reconnection.
[0173] In other embodiments, the closed-loop correction unit is further configured to: identify batches that have been dosed but for which batch deviation has not yet been obtained as pending batches; calculate the algebraic sum of the changes in the dosing control quantity of each pending batch relative to the previous dosing to obtain the pending adjustment quantity; determine the feedback blind zone duration based on the difference between the arrival time of each pending batch at the final processing stage exit and the dosing time; determine the pending adjustment quantity limit in reverse according to the feedback blind zone duration; and, in response to the absolute value of the pending adjustment quantity reaching the pending adjustment quantity limit, output an instruction to the dosing strategy generation unit to apply an adjustment direction constraint, which causes the dosing control quantity to remain unchanged or to adjust in the opposite direction to the sign of the pending adjustment quantity. This configuration places the maintenance of the pending adjustment quantity on the feedback side, which is of the same origin as the batch deviation, so that the application and release of constraints are based on the information held by the feedback side.
[0174] The same or similar parts in the various embodiments of this application may be referred to each other; the technical features of each embodiment may be combined with each other without conflict to form new embodiments.
[0175] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device / system can be divided into different functional units or modules to complete all or part of the functions described above.
[0176] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. An adaptive dosing control method for a modular water purifier unit, characterized in that, The modular water purifier unit includes multiple treatment sections connected in sequence, at least one of which is composed of multiple treatment modules connected in parallel that can be independently put into operation and taken out of operation. The method includes the following steps in sequence: S1. Collect monitoring data along the process and the operating status of each processing module. The operating status is either in operation or out of operation. The monitoring data along the process includes influent indicators, influent flow rate, process water indicators of each treatment section, and total effluent indicators. S2. Determine the dosage control amount based on the influent index, target effluent index and dosing response relationship, and dosing the drug according to the dosage control amount. Determine the water body corresponding to this dosing as the dosing batch. Determine the expected effluent index of the dosing batch based on the dosing response relationship and the dosage control amount. Record the dosing time, the dosage control amount and the expected effluent index of the dosing batch. S3. Determine the effective volume of each treatment section based on the treatment modules in operation in each treatment section, accumulate the influent flow rate from the dosing time to obtain the cumulative dosing volume, and use the sum of the effective volumes along the path from the inlet to the outlet of each treatment section as the criterion to estimate the arrival time of the dosing batch at the outlet of each treatment section, and in response to the change in the operating state, recalculate the arrival time of the dosing batch that has not yet arrived based on the sum of the changed effective volumes; S4. Collect the total effluent index based on the arrival time at the outlet of the final treatment section, and compare it with the expected effluent index to obtain the batch deviation of the dosing batch; S5. Correct the dosing response relationship based on the batch deviation, and determine the dosing control amount for subsequent dosings according to the corrected dosing response relationship.
2. The adaptive dosing control method for modular water purifier units according to claim 1, characterized in that, In step S3, recalculating the arrival time for each processing segment exit includes the following sub-steps: S31. The batch of drugs that has not yet reached the exit of the corresponding processing section is identified as a batch in transit; S32. The ratio of the cumulative water volume of the batch in transit to the sum of the effective volumes before the change in operating status is taken as the proportion of progress. S33. Determine the remaining volume of the batch in transit based on the sum of the effective volumes after the change in operating status and the proportion already traveled; S34. The arrival time of the batch in transit is determined based on the criterion that the cumulative value of the influent flow rate from the moment the operating state changes reaches the remaining volume.
3. The adaptive dosing control method for modular water purifier units according to claim 2, characterized in that, In step S3, the processing module that is restarted after being deactivated is defined as the reactivated processing module. The ratio of the cumulative water volume flowing through the reactivated processing module since its activation to the volume of the reactivated processing module is defined as the replacement progress. This includes parallel steps S3a and S3b. S3a. In response to the replacement progress being less than the replacement judgment value, the volume of the reprocessing module is weighted according to the replacement progress and included in the effective volume of the processing section, and the process water index of the processing section is taken from the outlet of the other processing modules in the processing section. S3b. In response to the replacement progress reaching the replacement determination value, the volume of the reprocessing module is fully included in the effective volume of the processing segment.
4. The adaptive dosing control method for modular water purifier units according to claim 1, characterized in that, The multiple treatment sections include a coagulation treatment section and a filtration treatment section located downstream of the coagulation treatment section. The dosing response relationship includes the segmented response relationship at the outlet of each treatment section. Step S1 further includes: collecting the pressure difference of each treatment module in the filtration treatment section and identifying the treatment module with the highest pressure difference as the module to be backwashed. Step S2 further includes the following sub-steps: S21. The batches in which the drug has been administered but the batch deviation has not yet been obtained are identified as pending batches; S22. Calculate the algebraic sum of the changes in the dosage control amount for each pending batch relative to the previous dosage to obtain the pending adjustment amount; S23. Determine the feedback blind zone duration based on the difference between the arrival time and the addition time of each pending batch at the final processing stage exit, and determine the pending adjustment limit in reverse according to the feedback blind zone duration; S24. In response to the absolute value of the pending adjustment amount reaching the pending adjustment amount limit, an adjustment direction constraint is applied to the dosage control amount of subsequent drug administration, the adjustment direction constraint causing the dosage control amount of subsequent drug administration to remain unchanged or to be adjusted in the opposite direction to the sign of the pending adjustment amount; S4 also includes the following sub-steps S41 to S43, as well as the parallel steps S4a and S4b: S41. Based on the arrival times at the outlets of the coagulation treatment section and the filtration treatment section, the process water indicators at the outlets of the coagulation treatment section and the filtration treatment section are collected respectively. S42. Determine the expected process water parameters of the dosing batch at the outlet of the coagulation treatment section and the outlet of the filtration treatment section based on the dosing response relationship and the dosing control amount; S43. The deviation between the process water index at the outlet of the coagulation treatment section and the expected process water index at the outlet of the coagulation treatment section is determined as the front-end deviation, and the deviation between the process water index at the outlet of the filtration treatment section and the expected process water index at the outlet of the filtration treatment section is determined as the back-end deviation. S4a. In response to the fact that the magnitude of the preceding deviation is greater than the magnitude of the following deviation, the adjustment direction constraint is released until the batch deviation is obtained again, so that the dosage control amount of subsequent drug administration is restored to be adjusted along the sign direction of the pending adjustment amount; S4b. In response to the fact that the magnitude of the subsequent deviation is not less than the magnitude of the preceding deviation, the adjustment direction constraint is maintained.
5. The adaptive dosing control method for modular water purifier units according to claim 4, characterized in that, S2 also includes S2a and S2b, which are arranged in parallel: S2a. In response to the change of the dosage control amount required for subsequent drug administration in the upward direction and the pressure difference of the module to be backwashed not reaching the backwash threshold, backwashing is performed on the module to be backwashed before the dosage control amount increases; S2b. In response to the pressure difference of the module to be backwashed reaching the backwash threshold and the influent index changing in the direction of deterioration, including S2b1 and S2b2 executed sequentially: S2b1. Delay the backwashing performed on the module to be backwashed, and perform backwash delay compensation on the volume occupancy of the module to be backwashed and the increase in the dosage control amount, wherein the backwash delay compensation includes correcting the volume of the module to be backwashed to an equivalent volume according to the pressure difference and including the equivalent volume in the effective volume of the treatment section, and limiting the increase in the dosage control amount; S2b2. In response to the total effluent index reaching the effluent warning value during the execution of the backwash delay compensation, reduce the influent flow rate.
6. The adaptive dosing control method for modular water purifier units according to claim 1, characterized in that, In step S3, the arrival time of each treatment section outlet is extended into an arrival window. The ratio of the number of treatment modules in the exit state along the path from the inlet to the outlet of each treatment section to the total number of treatment modules along the path from the inlet to the outlet of each treatment section is determined as the exit ratio. The width of the arrival window increases as the exit ratio increases. In step S4, the total effluent index is collected multiple times within the arrival window at the outlet of the last treatment section. The representative value obtained from the multiple collections is compared with the expected effluent index to obtain the batch deviation.
7. The adaptive dosing control method for modular water purifier units according to claim 1, characterized in that, In step S5, the batch of drugs that has not changed in the operating status of each processing module from the time of addition to the time of arrival at the outlet of the final processing section is determined as a valid calibration batch, and the drug addition response relationship is corrected only based on the addition control amount of the valid calibration batch and the batch deviation.
8. An adaptive dosing control system for a modular water purifier unit, characterized in that, include: A modular water purification unit includes multiple treatment sections connected in sequence, at least one of which is composed of multiple treatment modules connected in parallel that can be independently put into operation and taken out of operation. The monitoring and acquisition unit is configured to collect monitoring data along the process and the operating status of each processing module. The operating status is either in operation or out of operation. The monitoring data along the process includes influent indicators, influent flow rate, process water indicators of each treatment section, and total effluent indicators. The dosing execution unit is configured to administer the drug according to the dosing control amount; A dosing strategy generation unit is configured to determine the dosing control quantity based on the influent index, the target effluent index and the dosing response relationship and output it to the dosing execution unit. A batch management unit is configured to identify the water body corresponding to each dosing as a dosing batch, determine the expected effluent index of the dosing batch based on the dosing response relationship and the dosing control quantity, record the dosing time, the dosing control quantity, and the expected effluent index of the dosing batch, determine the effective volume of each treatment section based on the treatment modules in operation in each treatment section, accumulate the influent flow rate from the dosing time to obtain the cumulative dosing volume, and calculate the arrival time of the dosing batch at the outlet of each treatment section based on the sum of the effective volumes along the path from the inlet to the outlet of each treatment section using the cumulative dosing volume as a criterion, and recalculate the arrival time of the dosing batch that has not yet arrived based on the sum of the changed effective volumes in response to changes in the operating status. A closed-loop correction unit is configured to obtain the total effluent index based on the arrival time at the outlet of the final treatment section, compare it with the expected effluent index to obtain the batch deviation of the dosing batch, correct the dosing response relationship based on the batch deviation, and output it to the dosing strategy generation unit.
9. The adaptive dosing control system for the modular water purifier unit according to claim 8, characterized in that, The batch management unit is further configured to: identify a processing module that has been restarted after being withdrawn as a reoperation processing module; determine the replacement progress as the ratio of the cumulative water volume flowing through the reoperation processing module since its commissioning to the volume of the reoperation processing module; in response to the replacement progress being less than the replacement judgment value, include the volume of the reoperation processing module in the effective volume of the processing segment according to the replacement progress; and in response to the replacement progress reaching the replacement judgment value, include the full volume of the reoperation processing module in the effective volume of the processing segment.
10. The adaptive dosing control system for the modular water purifier unit according to claim 8, characterized in that, The closed-loop correction unit is further configured to: identify the batches that have been dosed but for which the batch deviation has not yet been obtained as undetermined batches; calculate the algebraic sum of the changes in the dosing control quantity of each undetermined batch relative to the previous dosing to obtain the undetermined adjustment quantity; determine the feedback blind zone duration based on the difference between the arrival time of each undetermined batch at the final processing stage exit and the dosing time; determine the undetermined adjustment quantity limit in reverse according to the feedback blind zone duration; and, in response to the absolute value of the undetermined adjustment quantity reaching the undetermined adjustment quantity limit, output an instruction to the dosing strategy generation unit to apply an adjustment direction constraint, wherein the adjustment direction constraint causes the dosing control quantity to remain unchanged or to be adjusted in the opposite direction to the sign of the undetermined adjustment quantity.
