Intelligent control system based on disinfection of shared direct drinking water
By combining multi-source parameter acquisition and feedback fine-tuning modules, a disinfection intensity command matching the degree of water quality anomaly is generated, solving the problems of insufficient adaptability and safety of the disinfection control system in shared drinking water equipment, and achieving continuous compliance with disinfection standards and system reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-27
- Publication Date
- 2026-03-27
AI Technical Summary
The existing disinfection control system of shared drinking water equipment relies on fixed threshold judgment, which cannot effectively cope with changes in the quality of incoming water and lacks real-time tracking and rapid intervention of disinfection effect, resulting in problems of insufficient or excessive disinfection.
The system uses a multi-source parameter acquisition module to obtain the residual chlorine concentration and turbidity of the influent, generates an initial disinfection intensity command through an adaptive combination coefficient, and combines a feedback fine-tuning module to monitor the residual chlorine concentration and ultraviolet intensity downstream of the disinfection unit in real time. It constructs a trend vector for correction and sets up an independent safety monitoring mechanism at the outlet.
It enables quantitative assessment of dynamic changes in influent water quality, ensuring continuous compliance with disinfection standards, avoiding insufficient or excessive disinfection, and improving the overall reliability and safety of the system.
Smart Images

Figure CN121742227A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of water treatment disinfection control technology, specifically an intelligent control system based on shared direct drinking water disinfection. Background Technology
[0002] As an important public facility, the hygiene and safety of the water from shared drinking water equipment is of paramount importance. Disinfection is the core of ensuring water quality safety, and currently, methods such as ultraviolet light, ozone, or residual chlorine are commonly used for continuous or intermittent disinfection.
[0003] Existing technologies typically employ a single-parameter feedback control method, which involves installing a single water quality sensor at the outlet or in a key section of the equipment to monitor a specific water quality indicator, such as residual chlorine concentration or ultraviolet intensity, in real time. The monitored value is then compared with a preset fixed threshold, and the disinfection unit is started, stopped, or adjusted based on the comparison result.
[0004] However, the above control methods have the following limitations: 1. They rely on fixed thresholds for judgment, which cannot effectively cope with changes in influent water quality caused by seasonal changes or fluctuations in the pipeline network. They also lack dynamic assessment of the historical state of influent water quality and real-time tracking of the effects after disinfection, and cannot reflect the overall effect and dynamic trend of the disinfection process, which can easily lead to insufficient or excessive disinfection.
[0005] 2. There may be a discrepancy between the actual output of the disinfection execution unit and the instructions. Existing systems lack a mechanism for continuous tracking and real-time compensation of the execution status. Moreover, most systems do not have an independent and continuous safety monitoring and rapid intervention mechanism at the final outlet, making it difficult to ensure water quality safety in extreme situations. Summary of the Invention
[0006] To overcome the shortcomings of the prior art, embodiments of the present invention provide an intelligent control system based on shared direct drinking water disinfection, which can effectively solve the problems involved in the prior art.
[0007] The objective of this invention can be achieved through the following technical solution: an intelligent control system based on shared direct drinking water disinfection, comprising: a multi-source parameter acquisition module, an initial adjustment module, a feedback fine-tuning module, and an execution control module.
[0008] The multi-source parameter acquisition module is connected to the initial adjustment module, the initial adjustment module is connected to the feedback fine-tuning module, and the feedback fine-tuning module is connected to the execution control module.
[0009] The multi-source parameter acquisition module obtains the current residual chlorine concentration and turbidity of the inlet water in the inlet pipe section of the shared direct drinking water equipment, calculates the ratio of the residual chlorine concentration and turbidity of the inlet water to the median value of their respective historical sequences, and obtains the residual chlorine state factor and turbidity state factor.
[0010] The initial adjustment module uses linear normalization analysis to analyze the adaptive combination coefficients of residual chlorine state factors and turbidity state factors, and maps these adaptive combination coefficients to initial disinfection intensity commands.
[0011] The feedback fine-tuning module continuously tracks the residual chlorine concentration and ultraviolet intensity in the downstream pipe section of the disinfection unit of the shared direct drinking water equipment, constructs a trend vector of change per unit time, and calculates the compensation value used to correct the initial disinfection intensity command.
[0012] The execution control module logically superimposes the initial disinfection intensity command and compensation value to generate the final disinfection command, and monitors the response status of the disinfection unit in real time to execute closed-loop control.
[0013] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects: (1) The present invention realizes the quantitative assessment of the dynamic changes of the influent water quality by calculating the state factors of the residual chlorine and turbidity of the influent relative to their historical median values, thereby generating an initial disinfection intensity instruction that matches the current water quality anomaly, effectively avoiding insufficient or excessive disinfection caused by fixed thresholds.
[0014] (2) The present invention sets up a sensor in the downstream pipe section of the disinfection unit to continuously monitor the residual chlorine concentration and ultraviolet intensity in the water after disinfection, and constructs a change trend vector per unit time, so that the system can directly perceive the actual effect and dynamic process of disinfection. By calculating the compensation value and combining it with the initial disinfection command, it can make real-time corrections and respond to the change trend of water quality after disinfection in a timely manner, ensuring that the disinfection effect continues to meet the standards.
[0015] (3) The present invention independently sets a residual chlorine sensor at the final outlet of the shared direct drinking water equipment, forming a safety monitoring mechanism independent of the main control loop. This mechanism continuously compares the residual chlorine concentration of the outlet water with the preset safety concentration value in real time. When a safety risk occurs, the dynamic final disinfection command is switched to a safety command, thereby improving the overall reliability of the system. Attached Figure Description
[0016] The present invention will be further described with reference to the accompanying drawings, but the embodiments in the drawings do not constitute any limitation on the present invention. For those skilled in the art, other drawings can be obtained based on the following drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of the module connection of the present invention.
[0018] Figure 2 This is a flowchart illustrating the process of obtaining the residual chlorine state factor and turbidity state factor in this invention.
[0019] Figure 3 The logic flowchart for the final disinfection instruction of this invention is shown below. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Reference Figure 1 As shown, the present invention provides an intelligent control system based on shared direct drinking water disinfection, including: a multi-source parameter acquisition module, an initial adjustment module, a feedback fine-tuning module, and an execution control module.
[0022] The multi-source parameter acquisition module is connected to the initial adjustment module, the initial adjustment module is connected to the feedback fine-tuning module, and the feedback fine-tuning module is connected to the execution control module.
[0023] The multi-source parameter acquisition module obtains the current residual chlorine concentration and turbidity of the inlet water in the inlet pipe section of the shared direct drinking water equipment, and calculates the ratio of the residual chlorine concentration and turbidity of the inlet water to the median value of their respective historical sequences to obtain the residual chlorine state factor and turbidity state factor.
[0024] Considering that existing technologies rely on fixed thresholds for water quality assessment, resulting in insufficient adaptability, this invention introduces a dynamic benchmark comparison method based on historical data sequences to intelligently distinguish the types of influent water quality fluctuations. This method converts the absolute values of the current influent residual chlorine concentration and influent turbidity into relative changes relative to their respective recent normal values, providing standardized inputs that reflect the degree of water quality deviation from the normal for subsequent adaptive control.
[0025] The process of obtaining the current residual chlorine concentration and turbidity of the inlet water of the shared direct drinking water equipment is as follows: the residual chlorine concentration signal and light scattering signal at the current moment are collected by the residual chlorine sensor and turbidity sensor installed at the inlet.
[0026] For residual chlorine concentration signals, they are stored in a first-in-first-out data buffer of length three in chronological order.
[0027] At any given time, the buffer stores three data points arranged in chronological order of sampling time. After each data update, the three values currently stored in the buffer are sorted in descending order.
[0028] The value in the middle is selected as the effective filter output value at the current moment, and is used as the residual chlorine concentration in the influent.
[0029] The turbidity of the influent water is calculated based on the light intensity attenuation ratio of the light scattering signal. The specific process is as follows: The turbidity sensor integrates a stable light source, an optical sample chamber, and a photodetector. The stable light source emits a beam of incident light of constant intensity to the influent water sample flowing through the optical sample chamber. The photodetector is configured to receive the transmitted light after penetrating the water sample and convert it into a corresponding electrical signal, namely the light scattering signal.
[0030] The electrical signal value output by the photodetector is read in real time, and this value corresponds to the real-time transmitted light intensity value in the current water sample.
[0031] The reference light intensity value is called from the cloud database. For each sampling time, the ratio of the current real-time transmitted light intensity value to the reference light intensity value is calculated to obtain the light intensity attenuation ratio.
[0032] A conversion formula is established based on Lambert-Beer's law. The light intensity attenuation ratio is substituted into the conversion formula to calculate the corresponding current influent turbidity. The conversion formula is as follows: .
[0033] in, It indicates the current turbidity of the influent, reflecting the degree of light scattering and absorption by suspended particulate matter in the water. The turbidity-absorbance coefficient is related to the properties, size, and distribution of suspended particulate matter. It is usually obtained by experimental calibration. Specifically, using standard turbidity solutions with multiple known standard turbidity values, the corresponding light intensity attenuation ratio is measured on the sensor. The average of multiple light intensity attenuation ratios is calculated, and the average is substituted into the above formula to calculate the specific value of the constant term. This represents the optical path length, which is the actual path length of light propagating in the water sample being tested. This indicates the current real-time transmitted light intensity value; This represents the reference light intensity value.
[0034] In the formula, It represents the light intensity attenuation ratio, which is the ratio of the actual transmitted light intensity of the water sample to the reference light intensity. Its value is less than or equal to 1, reflecting the degree of light attenuation caused by turbidity. According to the Lambert-Beer law, the attenuation relationship of transmitted light intensity is converted into absorbance; In the Lambert-Beer Law, Its natural logarithm Adding a negative sign is to make the final turbidity value... The value is positive, which aligns with the physical meaning of non-negative turbidity. It serves to calibrate and normalize, converting absorbance into specific turbidity values.
[0035] The overall formula is derived by measuring the attenuation of transmitted light intensity and combining it with system calibration parameters. and The turbidity value of the water sample was calculated quantitatively. This enables the conversion from optical signals to the current turbidity of the influent.
[0036] Reference Figure 2 As shown, after obtaining the influent residual chlorine concentration and influent turbidity, the real-time measurement values at the current moment are evaluated within their respective historical change contexts. This provides a basis for subsequently generating residual chlorine state factors and turbidity state factors to control commands. The specific process is as follows: Historical data sequences of influent residual chlorine concentration and influent turbidity within a preset time period are retrieved from a cyclic storage queue updated in a first-in-first-out manner. Specifically, the preset time period is obtained by first retrieving historical hourly water consumption data from the shared direct drinking water equipment to form a discrete time series with equal time intervals.
[0037] Next, any missing hourly data is filled by linear interpolation of adjacent time periods.
[0038] Then, a straight line is fitted using the least squares method. The original discrete time series is subtracted from the fitted trend line point by point to obtain the detrended discrete time series.
[0039] Perform a Fast Fourier Transform (FFT) on the processed discrete time series to calculate its discrete spectrum. In the discrete spectrum, find the frequency index corresponding to the largest peak other than the zero frequency. According to the frequency mapping relationship of FFT, convert the index into the actual physical frequency. Take the reciprocal of the physical frequency to obtain the preset duration.
[0040] Calculate the median values of the historical data sequences of residual chlorine concentration and turbidity in the influent, respectively.
[0041] The residual chlorine concentration and turbidity of the influent are compared with the corresponding median values to obtain the residual chlorine state factor and turbidity state factor.
[0042] It should also be noted that by using the median value as a ratio to obtain the state factor, values with different physical units and dimensions can be converted into dimensionless relative change factors. This allows the system to effectively distinguish between safe fluctuations and risk deviations in water quality, providing a reasonable basis for generating a proportional initial disinfection intensity command that matches the current water quality situation.
[0043] The initial adjustment module maps the adaptive combination coefficients of the residual chlorine state factor and the turbidity state factor into an initial disinfection intensity command by performing linear normalization analysis.
[0044] Considering that in practical applications, the patterns of influent water quality fluctuations are complex and diverse, for example, sometimes residual chlorine decreases significantly while turbidity does not change much, and sometimes turbidity increases sharply while residual chlorine remains stable; fixed combination rules cannot dynamically adapt to such variable scenarios, resulting in wasted energy in control commands or insufficient disinfection.
[0045] Based on this, the present invention dynamically adapts to the overall severity of the current water quality anomaly by calculating adaptive combination coefficients and mapping them to initial disinfection intensity commands. The specific logic is as follows: calculate the absolute difference between the residual chlorine state factor, the turbidity state factor and the preset reference constant respectively.
[0046] The absolute difference is input into the corresponding linear normalization function to obtain the residual chlorine influence coefficient and the turbidity influence coefficient.
[0047] The linear normalization function is a piecewise linear function, which is determined by: based on the statistical analysis of long-term operating data of shared direct drinking water equipment in the target area, observing and determining the range of deviations that have control significance between the residual chlorine state factor or turbidity state factor and the preset reference constant (the ideal value of the reference constant is 1).
[0048] Based on this, the linear normalization function is defined as: .
[0049] in, This represents the absolute difference between the state factor and the reference constant. The upper limit value represents the statistical upper limit of normal fluctuations in water quality. The determination process is as follows: during normal equipment operation, the residual chlorine state factor sequence and turbidity state factor sequence are collected over a continuous period of time.
[0050] The absolute difference between each state factor value in the residual chlorine state factor sequence and the preset reference constant is calculated separately to form the residual chlorine absolute difference sequence and the turbidity absolute difference sequence.
[0051] Calculate the 95th percentiles of the absolute difference series of residual chlorine and absolute difference series of turbidity respectively, take the larger one, and round it down to the nearest integer as the upper limit. .
[0052] Calculate the absolute values of the differences between the residual chlorine state factor, the turbidity state factor, and the preset reference constant, respectively, and denote them as follows: and .
[0053] Will and Input the linear normalization function respectively The residual chlorine influence coefficient Turbidity influence coefficient .
[0054] Calculate the arithmetic mean of the residual chlorine influence coefficient and the turbidity influence coefficient, and define the arithmetic mean as the adaptive combination coefficient.
[0055] The disinfection intensity adjustment ratio is obtained by adding the adaptive combination coefficient to the preset benchmark constant.
[0056] The baseline disinfection intensity value for a single disinfection calibration of the shared direct drinking water equipment is pre-stored in the cloud database.
[0057] The product of the disinfection intensity adjustment factor and the baseline disinfection intensity value is used as the initial disinfection intensity command.
[0058] It should be noted that the disinfection intensity adjustment ratio is obtained by adding the adaptive combination coefficient to the preset benchmark constant. It is a dimensionless scaling factor. When the water quality is ideal (each state factor equals 1), the adaptive combination coefficient is 0 and the adjustment ratio is 1. When the water quality is abnormal, the adaptive combination coefficient is greater than 0 and the adjustment ratio is greater than 1. The higher the overall severity of the water quality abnormality, the greater the adjustment ratio.
[0059] Using the product of the two as the initial disinfection intensity command, this approach takes into account the baseline disinfection intensity value determined by the physical characteristics of the equipment and the disinfection dynamics, and can also intelligently scale the multiplier based on the real-time sensed disinfection intensity, thus forming a robust control strategy that combines stability and adaptability.
[0060] This invention calculates the state factors of residual chlorine and turbidity in the influent relative to their historical median values, which can quantify and identify the degree of water quality deviation from the normal state caused by pipeline fluctuations. Based on this, the initial adjustment module generates a disinfection intensity command that matches the severity of the current influent water quality anomaly, effectively avoiding insufficient or excessive disinfection caused by sudden changes in influent water quality.
[0061] The feedback fine-tuning module continuously tracks the residual chlorine concentration and ultraviolet intensity in the downstream pipe section of the disinfection unit of the shared direct drinking water equipment, constructs a trend vector of change per unit time, and calculates the compensation value used to correct the initial disinfection intensity command.
[0062] Since the initial command is generated based on the historical and current state of the influent water quality, but the actual disinfection effect is affected by multiple dynamic factors such as the real-time fluctuations in the performance of the disinfection unit itself and changes in pipeline flow, there may be execution deviations or response lags. Therefore, it is necessary to perceive the actual effect of the disinfection process and the equipment status in real time, and to make rapid and precise fine-tuning of the initial command accordingly. The adjustment process is as follows: Within a unit of time, at fixed sampling intervals, the residual chlorine sensor and the ultraviolet intensity sensor installed in the downstream pipe section of the disinfection unit continuously acquire multiple time-series real-time residual chlorine concentration values and real-time ultraviolet intensity values, and construct real-time residual chlorine concentration value sequences and real-time ultraviolet intensity value sequences, respectively.
[0063] Calculate the concentration difference between the end value and the beginning value of the residual chlorine concentration value sequence and the real-time ultraviolet intensity value sequence, and divide the concentration difference by the unit time to obtain the residual chlorine change rate and the ultraviolet intensity change rate.
[0064] The residual chlorine change rate is assigned to the first dimension of the vector structure to characterize the instantaneous rate and direction of change of the residual chlorine concentration in the water after disinfection within a unit time; the ultraviolet intensity change rate is assigned to the second dimension of the vector structure to characterize the instantaneous rate and direction of change of the ultraviolet intensity output by the disinfection unit within a unit time.
[0065] During the initial operation of the system, the residual chlorine change rate and ultraviolet intensity change rate were statistically analyzed during the effluent compliance stage. The residual chlorine change rate and ultraviolet intensity change rate values were continuously calculated and recorded over multiple unit time periods. The average of their corresponding absolute values was taken as the reference benchmark values for the residual chlorine change rate and ultraviolet intensity change rate.
[0066] The original residual chlorine change rate and ultraviolet intensity change rate in each control cycle are obtained, and they are compared with the corresponding reference values to obtain two normalized components, which are then used to construct a trend vector.
[0067] Calculate the magnitude of the trend vector and define it as a scaling factor as the basic compensation amount.
[0068] If the residual chlorine change rate is less than zero, it indicates that the residual chlorine concentration is decreasing after disinfection, and the disinfection effect is potentially insufficient. In this case, the basic compensation amount is set to a positive value.
[0069] If the residual chlorine change rate is greater than zero, it indicates that the residual chlorine concentration is on the rise after disinfection, and the disinfection effect has a margin. At this time, the basic compensation amount is set to a negative value.
[0070] If the residual chlorine change rate is zero, it indicates that the residual chlorine concentration remains stable within a unit of time after disinfection. In this case, it is determined that no trend compensation is required, and the basic compensation amount is set to zero.
[0071] The base compensation amount, after sign determination or zeroing, is used as the final compensation value.
[0072] It is understandable that the physical meaning of the magnitude of the trend vector is that it comprehensively quantifies the overall drastic degree of state change of the two dimensions of disinfection effect and disinfection execution capability per unit time; the larger the magnitude, the higher the comprehensive degree of dynamic deviation of the system from the steady state, and the greater the expected intervention amplitude should be.
[0073] Using the module length directly as the basic compensation amount is based on the mapping rule that the compensation magnitude is proportional to the degree of dynamic deviation.
[0074] The unit time, as the time window for the feedback fine-tuning module to calculate the trend vector of change, determines the sensitivity and reliability of the system in sensing the dynamic changes in the disinfection process. The specific acquisition process is as follows: at the water inlet of the equipment, a known, small dose of disinfectant such as sodium hypochlorite is instantaneously added, or the power of the ultraviolet disinfection unit is quickly changed to a known non-working value. A repeatable, known residual chlorine concentration or changing ultraviolet intensity is received downstream of the disinfection unit.
[0075] At the highest sampling frequency of the system, the output values of the downstream residual chlorine sensor and ultraviolet intensity sensor are recorded synchronously from before the disturbance occurs until their readings no longer show a trend change.
[0076] By analyzing the recorded sensor data, the time required from the onset of the disturbance to the sensor reading entering and remaining within ±2% of the final stable value was determined, and the response time of the residual chlorine sensor and the response time of the ultraviolet intensity sensor were obtained respectively.
[0077] Take the larger of the two response times mentioned above as the unit time.
[0078] It should be noted that the above compensation value setting ensures that the magnitude of the compensation amount is adaptively matched with the modulus of the calculated trend vector, while the direction of compensation is determined by the trend of the residual chlorine concentration, a key disinfection effect indicator. This makes the correction action of the feedback fine-tuning module both targeted and maintains a reasonable adjustment intensity, thereby achieving precise and robust closed-loop fine-tuning of the initial disinfection intensity command.
[0079] This invention installs sensors in the downstream pipe section of the disinfection unit to continuously monitor the residual chlorine concentration and ultraviolet intensity in the water after disinfection, and constructs a trend vector of change per unit time. This allows the system to directly perceive the actual effect and dynamic process of disinfection. By calculating compensation values and combining them with the initial disinfection command, the system can make real-time corrections and respond promptly to changes in water quality after disinfection, ensuring that the disinfection effect continues to meet standards.
[0080] The execution control module logically superimposes the initial disinfection intensity command and compensation value to generate the final disinfection command, and monitors the response status of the disinfection unit in real time to execute closed-loop control.
[0081] Considering that system oscillations may occur when commands change, vector synthesis and rate of change limiting can be used to make it a final disinfection command that can directly drive the actuator. On this basis, closed-loop control is used to ensure the long-term stability of the disinfection effect. In addition, a safety monitoring mechanism independent of the main control loop provides a deterministic redundancy safety barrier for the system by setting direct monitoring and rapid judgment logic at the final outlet.
[0082] Reference Figure 3 As shown, based on this, the specific process of generating the final disinfection instruction is as follows: the initial disinfection intensity instruction and the compensation value are regarded as two independent components in a two-dimensional orthogonal space, wherein the value of the initial disinfection intensity instruction is used as the first-dimensional coordinate and the compensation value is used as the second-dimensional coordinate, thereby forming an instruction adjustment vector.
[0083] In the two-dimensional orthogonal space, a vector composition operation is defined, which specifically involves calculating the magnitude of the instruction adjustment vector and defining the magnitude as the composite disinfection intensity adjustment amount.
[0084] The formula for calculating the modulus length is: .
[0085] in, This represents the amount of synthetic disinfection intensity adjustment. This represents the initial disinfection intensity instruction. For a preset proportional coefficient, This represents the compensation value.
[0086] The preset ratio coefficient Its value range is set to [0,1], for example, it can be 0.8. The implementer can adjust the specific value according to the accuracy requirements.
[0087] If the compensation value is negative, it indicates that the residual chlorine concentration in the disinfected water is increasing within a unit of time, indicating excessive disinfection. Therefore, the difference between the baseline disinfection intensity value and the synthetic disinfection intensity adjustment is used as the instruction to be executed.
[0088] If the compensation value is positive, it indicates that the residual chlorine concentration in the disinfected water is decreasing within a unit of time, indicating insufficient disinfection. In this case, the baseline disinfection intensity value is added to the synthetic disinfection intensity adjustment amount, and the sum is used as the instruction to be executed.
[0089] If the compensation value is zero, it indicates that the residual chlorine concentration in the disinfected water remains stable within a unit of time, and the initial disinfection intensity command can be directly used as the command to be executed.
[0090] Calculate the algebraic difference between the instruction to be executed and the final disinfection instruction output in the previous control cycle to obtain the instruction change.
[0091] If the absolute value of the change in the instruction is greater than the preset maximum allowable change, and the change in the instruction is positive, it indicates that the instruction to be executed is increasing positively relative to the final disinfection instruction of the previous cycle. To ensure a smooth change, the final disinfection instruction is modified to the instruction of the previous cycle plus the preset maximum allowable change.
[0092] If the absolute value of the change in the instruction is greater than the preset maximum allowable change, and the change in the instruction is negative, it indicates that the instruction to be executed is required to decrease negatively relative to the final disinfection instruction of the previous cycle. Similarly, in order to smooth the change, the final disinfection instruction is modified to the instruction of the previous cycle minus the preset maximum allowable change.
[0093] Otherwise, the instruction to be executed will be used as the final disinfection instruction.
[0094] It should be noted that the preset maximum allowable variation is obtained through the following process: querying the technical specifications of the disinfection unit actuator of the shared drinking water equipment to obtain the maximum adjustment rate of the actuator. This maximum adjustment rate is calibrated by the manufacturer based on the physical characteristics of the equipment and the requirements for safe operation.
[0095] Multiply the maximum adjustment rate by the system's control cycle, and the product is the preset maximum allowable change.
[0096] The control cycle is the time interval between two consecutive generation of the final disinfection command.
[0097] It should also be noted that changes in water quality and the establishment of disinfection effects both have inertia and lag. If the disinfection intensity command jumps without constraint following the instantaneous calculated value, the system will experience overshoot and oscillation, leading to increased fluctuations in the effluent water quality indicators. By limiting the single final disinfection command to the preset maximum allowable change, it is possible to effectively filter out command components that are too high-frequency or too large in amplitude, thus avoiding overshoot and oscillation.
[0098] The closed-loop control specifically involves continuously collecting the actual ultraviolet intensity values output by the disinfection unit while executing the final disinfection command, thus forming a sequence of actual ultraviolet intensity values.
[0099] Within a preset time window, the average value of the actual ultraviolet intensity value sequence is calculated, and the difference between the average value and the final disinfection command is calculated to obtain the intensity execution deviation. The trend of residual chlorine concentration change within the preset time window is recorded.
[0100] If the intensity execution deviation is negative and the residual chlorine concentration shows a trend of insufficient disinfection, then before the start of the next control cycle, the final disinfection command will be added to the preset step size to form a corrected final disinfection command and output.
[0101] If the intensity execution deviation is positive and the residual chlorine concentration shows an over-disinfection trend, then before the start of the next control cycle, the final disinfection command is subtracted from the preset step size to form a corrected final disinfection command and output.
[0102] Otherwise, the final disinfection instruction remains unchanged.
[0103] It should be noted that the preset time window is determined based on the time interval of the final disinfection instruction. The preset time window is obtained by multiplying the time interval by a fixed integer multiple. The fixed integer multiple is preferably between 5 and 10, and implementers can customize and adjust it according to actual requirements.
[0104] The preset step size is determined based on the minimum repeatable adjustment accuracy of the sterilization unit actuator (such as an ultraviolet lamp ballast or metering pump), and is specifically provided by the actuator manufacturer in the technical specifications. The preset step size should be less than or equal to the preset maximum allowable variation.
[0105] It should also be noted that by analyzing the positive and negative values of the intensity execution deviation and the trend of residual chlorine concentration, false alarms caused by isolated signal jumps due to instantaneous noise of the sensor are effectively filtered out; by using a fixed preset step size for adjustment, oscillation can be effectively avoided and the stability of the system can be guaranteed.
[0106] In addition, the present invention also includes a safety monitoring mechanism, specifically: a residual chlorine sensor is installed at the outlet of the shared direct drinking water equipment to continuously collect the residual chlorine concentration value of the water.
[0107] The collected residual chlorine concentration value of the effluent is compared with the preset safe concentration value in real time.
[0108] If the residual chlorine concentration in the effluent continuously deviates from the preset safe concentration value in multiple adjacent sampling periods, it is determined to be a risk to the safety of the effluent water quality.
[0109] When a safety risk is determined, the final disinfection instruction will be replaced with the algebraic sum of the baseline disinfection intensity value and a constant correction value.
[0110] It should be noted that the preset safe concentration value is derived from the residual chlorine concentration limit in the effluent as specified in the existing drinking water hygiene standards.
[0111] In this embodiment, multiple sampling periods refer to three or more sampling periods.
[0112] The constant calibration value is set as a fixed integer multiple of the minimum adjustment resolution of the disinfection unit actuator of the shared direct drinking water equipment, such as the ultraviolet lamp ballast or metering pump. Here, the fixed integer multiple is preferably 10.
[0113] This invention independently installs a residual chlorine sensor at the final outlet of the shared direct drinking water equipment, forming a safety monitoring mechanism independent of the main control loop. This mechanism continuously compares the residual chlorine concentration of the outlet water with the preset safety concentration value in real time. When a safety risk occurs, the dynamic final disinfection command is switched to a safety command, thereby improving the overall reliability of the system.
[0114] The above description is merely an example and illustration of the structure of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.
Claims
1. An intelligent control system based on shared direct drinking water disinfection, characterized in that, include: The multi-source parameter acquisition module obtains the current residual chlorine concentration and turbidity of the inlet water in the inlet pipe section of the shared direct drinking water equipment, calculates the ratio of the residual chlorine concentration and turbidity of the inlet water to the median value of their respective historical sequences, and obtains the residual chlorine state factor and turbidity state factor. The initial adjustment module uses linear normalization analysis to analyze the adaptive combination coefficients of residual chlorine state factor and turbidity state factor, and maps the adaptive combination coefficients to the initial disinfection intensity command. The feedback fine-tuning module continuously tracks the residual chlorine concentration and ultraviolet intensity in the downstream pipe section of the disinfection unit of the shared direct drinking water equipment, constructs a change trend vector per unit time, and calculates the compensation value. The execution control module logically superimposes the initial disinfection intensity command and compensation value to generate the final disinfection command, and monitors the response status of the disinfection unit in real time to execute closed-loop control.
2. The intelligent control system based on shared direct drinking water disinfection according to claim 1, characterized in that: The process of obtaining the current residual chlorine concentration and turbidity of the inlet water in the shared direct drinking water equipment inlet pipe section is as follows: The residual chlorine concentration signal and light scattering signal at the current moment are collected by the residual chlorine sensor and turbidity sensor installed at the water inlet. For residual chlorine concentration signals, they are stored in a first-in-first-out data buffer of length three in chronological order; The data buffer continuously stores the original residual chlorine concentration values corresponding to the current sampling time and the two immediately preceding historical sampling times. By comparing the values in the buffer, the median value is selected as the influent residual chlorine concentration at the current time. The turbidity of the influent is calculated based on the light intensity attenuation ratio of the light scattering signal.
3. The intelligent control system based on shared direct drinking water disinfection according to claim 2, characterized in that: The residual chlorine state factor and turbidity state factor are obtained in the following ways: The historical data sequences of residual chlorine concentration and turbidity of influent within a preset time period are retrieved from the circulating storage queue, which is updated in a first-in-first-out manner. Calculate the median values of the historical data sequences of residual chlorine concentration and turbidity in the influent, respectively. The residual chlorine concentration and turbidity of the influent are compared with the corresponding median values to obtain the residual chlorine state factor and turbidity state factor.
4. The intelligent control system based on shared direct drinking water disinfection according to claim 1, characterized in that: The specific process of the adaptive combination coefficient of the residual chlorine state factor and turbidity state factor in the linear normalization analysis is as follows: Calculate the absolute differences between the residual chlorine state factor, the turbidity state factor, and the preset reference constant, respectively; The absolute difference is input into the corresponding linear normalization function to obtain the residual chlorine influence coefficient and the turbidity influence coefficient. The arithmetic mean of the residual chlorine influence coefficient and the turbidity influence coefficient is calculated, and the arithmetic mean is defined as the adaptive combination coefficient.
5. The intelligent control system based on shared direct drinking water disinfection according to claim 1, characterized in that: The initial disinfection intensity command is obtained in the following way: The disinfection intensity adjustment ratio is obtained by adding the adaptive combination coefficient to the preset benchmark constant. Call the baseline disinfection intensity value of a single disinfection calibration of the shared direct drinking water equipment pre-stored in the cloud database; The product of the disinfection intensity adjustment factor and the baseline disinfection intensity value is used as the initial disinfection intensity command.
6. The intelligent control system based on shared direct drinking water disinfection according to claim 1, characterized in that: The process of constructing the change trend vector per unit time is as follows: Within a unit of time, the residual chlorine sensor and the ultraviolet intensity sensor installed in the downstream pipe section of the disinfection unit continuously acquire multiple time-series real-time residual chlorine concentration values and real-time ultraviolet intensity values at fixed sampling intervals, and respectively form a real-time residual chlorine concentration value sequence and a real-time ultraviolet intensity value sequence. Calculate the concentration difference between the end value and the beginning value of the residual chlorine concentration value sequence and the real-time ultraviolet intensity value sequence, and divide the concentration difference by the unit time to obtain the residual chlorine change rate and the ultraviolet intensity change rate; The rate of change of residual chlorine and the rate of change of ultraviolet intensity are used as two independent dimensions to form a trend vector that characterizes the dynamic disinfection effect.
7. The intelligent control system based on shared direct drinking water disinfection according to claim 6, characterized in that: The calculation process for the compensation value is as follows: Calculate the magnitude of the trend vector and define it as a dimensionless proportionality coefficient as the basic compensation quantity; If the residual chlorine change rate is less than zero, the basic compensation amount is set to a positive value; if the residual chlorine change rate is greater than zero, the basic compensation amount is set to a negative value; if the residual chlorine change rate is equal to zero, the basic compensation amount is set to zero. The base compensation amount, after sign determination or zeroing, is used as the final compensation value.
8. The intelligent control system based on shared direct drinking water disinfection according to claim 5, characterized in that: The specific process for generating the final disinfection instruction is as follows: The initial disinfection intensity command and the compensation value are regarded as two independent components in an orthogonal space, and the synthetic disinfection intensity adjustment is calculated by vector synthesis method. If the compensation value is negative, the baseline disinfection intensity value is subtracted from the synthetic disinfection intensity adjustment amount, and the difference is used as the instruction to be executed. If the compensation value is positive, the baseline disinfection intensity value is added to the synthetic disinfection intensity adjustment amount, and the sum is used as the instruction to be executed. If the compensation value is zero, the initial disinfection intensity command will be directly used as the command to be executed. Calculate the algebraic difference between the instruction to be executed and the final disinfection instruction output in the previous control cycle to obtain the instruction change. If the absolute value of the change in the instruction is greater than the preset maximum allowable change, then the final disinfection instruction will be modified to the previous cycle instruction plus or minus the preset maximum allowable change, depending on the sign of the change in the instruction. Otherwise, the instruction to be executed will be used as the final disinfection instruction.
9. The intelligent control system based on shared direct drinking water disinfection according to claim 1, characterized in that: The closed-loop control specifically refers to: While executing the final disinfection command, the actual ultraviolet intensity value output by the disinfection unit is continuously collected to form an actual ultraviolet intensity value sequence. Within a preset time window, the average value of the actual ultraviolet intensity value sequence is calculated, and the difference between the average value and the final disinfection command is calculated to obtain the intensity execution deviation. The trend of residual chlorine concentration change within the preset time window is recorded. If the intensity execution deviation is negative and the residual chlorine concentration shows a trend of insufficient disinfection, then before the start of the next control cycle, the final disinfection command will be added to the preset step size to form a corrected final disinfection command and output. If the intensity execution deviation is positive and the residual chlorine concentration shows an over-disinfection trend, then before the start of the next control cycle, the final disinfection command is subtracted by the preset step size to form a corrected final disinfection command and output it. Otherwise, the final disinfection instruction remains unchanged.
10. The intelligent control system based on shared direct drinking water disinfection according to claim 1, characterized in that: It also includes a security monitoring mechanism, specifically: A residual chlorine sensor is installed at the outlet of the shared drinking water equipment to continuously collect the residual chlorine concentration value of the water. The collected residual chlorine concentration value of the effluent is compared with the preset safe concentration value in real time; If the residual chlorine concentration in the effluent continuously deviates from the preset safe concentration value in multiple adjacent sampling periods, it is determined to be a risk to the safety of the effluent water quality. When a safety risk is determined, the final disinfection instruction will be replaced with the algebraic sum of the baseline disinfection intensity value and a constant correction value.
Citation Information
Patent Citations
Online detection method and device for building reclaimed water
CN102030397A
Water tank chlorination disinfection method and system based on incremental PID control
CN109678231A
Secondary water supply chlorine replenishing disinfection system based on intelligent algorithm automatic control
CN109928483A
Swimming pool water quality management system and method based on intelligent regulation and control of residual chlorine concentration
CN120841688A
Intelligent drinking water system based on real-time prediction and feedback hybrid control
CN121232589A