A slaughter cleaning wastewater recycling purification intelligent control method and system
By dynamically adjusting the load intensity and margin of the biochemical tank through real-time monitoring and trend analysis, the stability and efficiency of the slaughterhouse wastewater system under load impact were solved, achieving efficient wastewater purification.
Patent Information
- Application Number
- CN202611301444.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-24
AI Technical Summary
Existing slaughterhouse wastewater recycling and purification systems lack the ability to predict the impact of pulsed wastewater loads, leading to a degradation of the biochemical system's treatment capacity, increased energy consumption, and easy damage to the sludge structure, making it difficult to achieve stable and efficient operation.
By monitoring the influent flow rate and chemical oxygen demand of the biological treatment tank in real time, calculating the instantaneous load intensity and relative organic load intensity, and combining historical data and trend analysis, the system is divided into shock and intermittent phases, calculated cumulative treatment pressure, and a dynamic control scheme is generated to adjust the aeration intensity and sludge return ratio to actively control the system.
It enables proactive prediction and control of the biochemical system, avoiding energy waste and sludge disintegration, and improving the system's stability and processing efficiency.
Smart Images

Figure CN123151518A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wastewater treatment, in particular to a slaughter cleaning wastewater recycling purification intelligent control method and system. BACKGROUND
[0002] Slaughter cleaning wastewater recycling purification refers to the technical means of treating and recycling the flushing wastewater generated in the slaughter processing process. Purifying the wastewater can significantly reduce the fresh water intake of enterprises, realize efficient reuse of water resources, and has environmental and economic benefits.
[0003] The existing slaughter cleaning wastewater recycling purification generally adopts a combined process of "pretreatment + biochemical treatment + advanced treatment". Among them, the biochemical treatment system (i.e. biochemical tank) uses aerobic microorganisms to decompose dissolved and colloidal organic matter in the wastewater, which is the core link of slaughter wastewater purification. The generation of slaughter wastewater has a typical pulse feature: during the early morning slaughter peak period, slaughter workshops concentrate on slaughtering, bleeding, immersion and scalding, evisceration, carcass splitting and trimming, and cleaning processes. The wastewater generated in each link is mixed in the conditioning tank and then enters the biochemical system. During this process, the water quantity and quality of the wastewater fluctuate sharply in a short time, causing the biochemical system to be frequently impacted by organic load.
[0004] To cope with the above impact, the existing technology mainly adopts two measures: one is to build a large-capacity conditioning tank for homogeneous and uniform buffering of water quantity and quality; the other is to artificially increase aeration and reflux ratio for emergency intervention when the impact occurs. However, the above measures have obvious defects. The construction cost of a large-capacity conditioning tank is high, and it cannot be fully utilized during the non-slaughter peak period, resulting in capacity waste. The emergency intervention method of artificially increasing aeration and reflux ratio is a passive response, which usually takes action after the biochemical system has appeared degradation of treatment capacity (such as increase of effluent COD concentration), and the intervention opportunity is lagging. In addition, excessive aeration not only leads to a sharp increase in energy consumption, but also the water shear force generated by it may destroy the sludge floc structure, cause sludge disintegration, increase the suspended solids in the secondary sedimentation tank, and further deteriorate the effluent quality. More importantly, the existing technology lacks the ability to predict the organic load of the wastewater entering the biochemical system, and fails to consider the compensation effect between the "impact phase" and "intermittent phase" of slaughter wastewater discharge, making it difficult to achieve proactive assessment and active control of the treatment pressure of the biochemical system, and unable to guarantee the efficient and stable operation of the slaughter wastewater recycling purification system. SUMMARY
[0005] The present application provides a slaughter cleaning wastewater recycling purification intelligent control method and system to solve the existing problems.
[0006] The slaughter cleaning wastewater recycling purification intelligent control method of the present application adopts the following technical scheme:
[0007] One embodiment of the present application provides a slaughter cleaning wastewater recycling purification intelligent control method, which comprises the following steps:
[0008] Obtaining real-time inflow and real-time chemical oxygen demand concentration in the biochemical pool, and calculating the instantaneous load intensity according to the real-time inflow and the real-time chemical oxygen demand concentration;
[0009] Obtaining the instability threshold of the biochemical pool, normalizing the instantaneous load intensity according to the instability threshold, and correcting the normalization result according to the change trend of the instantaneous load intensity in the preset time window to obtain the relative organic load intensity representing the current impact degree of the biochemical pool;
[0010] According to the relative organic load intensity, the instantaneous margin degree of the biochemical pool is calculated, and based on the positive and negative of the instantaneous margin degree, the preset time window is divided into an impact phase and an intermittent phase;
[0011] According to the instantaneous margin degree cumulative amount in each impact phase and the time length proportion of each impact phase, the impact accumulation pressure is calculated, and according to the instantaneous margin degree cumulative amount in each intermittent phase, the intermittent accumulation pressure is calculated, and the cumulative processing pressure is calculated in combination with the impact accumulation pressure, the intermittent accumulation pressure and the matching degree between each impact phase and each intermittent phase;
[0012] According to the change trend of the cumulative processing pressure in the preset time window and the change trend in the daily operation window, the purification capacity tension degree of the biochemical pool is calculated;
[0013] According to the purification capacity tension degree of the biochemical pool, a control parameter correction scheme is generated, and the operating parameters are adjusted according to the control parameter correction scheme.
[0014] Further, the instantaneous load intensity is calculated according to the real-time inflow and the real-time chemical oxygen demand concentration, specifically including:
[0015] The product of the real-time inflow and the real-time chemical oxygen demand concentration is determined as the instantaneous load intensity.
[0016] Further, the instantaneous load intensity is normalized according to the instability threshold, and the normalization result is corrected according to the change trend of the instantaneous load intensity in the preset time window to obtain the relative organic load intensity representing the current impact degree of the biochemical pool, specifically including:
[0017] Taking the current time as the termination time of the preset time window, the instantaneous load intensity of each sampling point in the preset time window is obtained;
[0018] The instantaneous load intensity of each sampling point is divided by the instantaneous load intensity at the starting time of the preset time window to obtain the load change relative value of each sampling point.
[0019] sequentially calculating difference values of relative values of load changes of two adjacent sampling points, adding all positive difference values to obtain a positive difference value sum, adding absolute values of all difference values to obtain a total difference value sum, and dividing the positive difference value sum by the total difference value sum to obtain a load change trend coefficient;
[0020] calculating a trend correction coefficient according to the load change trend coefficient;
[0021] calculating a ratio of an instantaneous load intensity at the current moment to the instability threshold to obtain a normalization result of the instantaneous load intensity at the current moment, and multiplying the normalization result by the trend correction coefficient to determine a relative organic load intensity at the current moment.
[0022] Further, calculating an instantaneous margin degree of the biochemical tank according to the relative organic load intensity, specifically comprising:
[0023] taking any moment as the current moment, obtaining the relative organic load intensity at each moment;
[0024] obtaining a historical maximum value of the relative organic load intensity;
[0025] for each relative organic load intensity greater than or equal to 1 and less than or equal to the historical maximum value, compressively transforming it to a value interval of 1 to 2 through linear transformation, and recording a compression ratio thereof, using the compression ratio to compressively transform each relative organic load intensity less than 1 to obtain a standardized relative organic load intensity at each moment;
[0026] subtracting the standardized relative organic load intensity from 1 to obtain the instantaneous margin degree of the biochemical tank at each moment.
[0027] Further, dividing a preset time window into an impact phase and an intermittent phase based on the positive and negative of the instantaneous margin degree, specifically comprising:
[0028] obtaining the instantaneous margin degree at each moment within the preset time window;
[0029] sequentially comparing the instantaneous margin degrees of adjacent moments, identifying a position at which the instantaneous margin degree switches from a positive value to a negative value or from a negative value to a positive value, and taking the position as a positive-negative switching point;
[0030] taking each positive-negative switching point as a segmentation boundary to divide the preset time window into sub-windows, wherein the instantaneous margin degrees at all moments within each sub-window are all positive values or all negative values;
[0031] determining a sub-window in which the instantaneous margin degrees are all positive values as the intermittent phase, and determining a sub-window in which the instantaneous margin degrees are all negative values as the impact phase.
[0032] Furthermore, the accumulated pressure of the impact is calculated based on the cumulative instantaneous margin within each impact stage and the duration proportion of each impact stage, specifically including:
[0033] Obtain the start and end times of each impact phase within the preset time window, calculate the duration of each impact phase, and determine the ratio of the duration of each impact phase to the total duration of the preset time window as the duration percentage of each impact phase.
[0034] The instantaneous margin levels within each impact stage are summed and their absolute values are taken to obtain the cumulative instantaneous margin level for each impact stage.
[0035] Add one to the duration percentage of each impact phase to obtain the pressure correction coefficient for each impact phase.
[0036] The cumulative instantaneous margin of each impact stage is multiplied by the pressure correction coefficient of that impact stage to obtain the time-period impact accumulation pressure of each impact stage.
[0037] The accumulated impact pressure is obtained by summing up the accumulated impact pressure over all time periods.
[0038] Furthermore, the intermittent accumulated pressure is calculated based on the cumulative instantaneous margin within each intermittent stage. The cumulative treatment pressure is then calculated by combining the impact accumulated pressure, the intermittent accumulated pressure, and the matching degree between each impact stage and each intermittent stage. Specifically, this includes:
[0039] The instantaneous margin level within each interval is summed to obtain the cumulative instantaneous margin level for each interval.
[0040] The accumulated instantaneous margins of all intermittent phases are summed to obtain the intermittent accumulated pressure.
[0041] The accumulated impact pressure during each impact phase is obtained, and the accumulated impact pressure during each impact phase is arranged in chronological order to obtain the impact change sequence. The accumulated instantaneous margin during each intermittent phase is arranged in chronological order to obtain the intermittent change sequence.
[0042] The differences between adjacent values in the impact change sequence and the differences between adjacent values in the intermittent change sequence are calculated separately to obtain the impact difference sequence and the intermittent difference sequence;
[0043] The difference between the corresponding positions in the impact difference sequence and the intermittent difference sequence is matched, and the compensation effect factor between each impact stage and each intermittent stage is calculated based on the matching results.
[0044] The actual compensation amount is calculated based on the compensation effect factor and intermittent accumulated pressure.
[0045] Calculate the difference between the accumulated impact pressure and the actual compensation amount, and take the maximum value between this difference and zero as the accumulated treatment pressure.
[0046] Furthermore, based on the trend of cumulative treatment pressure within a preset time window and its trend within the daily operating window, the stress level of the biological treatment tank's purification capacity is calculated, specifically including:
[0047] Obtain the current cumulative processing pressure and record it as the current cumulative pressure;
[0048] Obtain the accumulated processing pressure at the start time of a preset time window preceding the current time, and record it as the historical accumulated pressure. Calculate the short-term pressure change trend index based on the relationship between the current accumulated pressure and the historical accumulated pressure.
[0049] The cumulative processing pressure from the moment when the relative organic load intensity is non-zero on the current day to the present moment is obtained and recorded as the total cumulative processing pressure for the day.
[0050] Based on the relationship between the current accumulated pressure and the total accumulated processing pressure of the day, and combined with the relationship between the preset time window duration and the daily operating window duration, calculate the daily pressure development trend index;
[0051] The stress level of the biochemical pool's purification capacity is calculated based on short-term pressure change trend indicators and daily pressure development trend indicators.
[0052] Furthermore, a control parameter correction scheme is generated based on the stress level of the biological treatment tank's purification capacity, specifically including:
[0053] Obtain the current level of the biological treatment pool's purification capacity and the total cumulative processing pressure within the daily operating window;
[0054] The stress level of the biological treatment tank's purification capacity and the total cumulative treatment pressure of the day are input into the pre-trained control parameter decision model. The pre-trained control parameter decision model outputs a corrected set of control parameters, which includes the aeration intensity of the aerobic section of the biological treatment tank, the sludge return ratio, and the effluent flow rate of the equalization tank.
[0055] Based on the revised control parameter set, a control parameter correction scheme is generated.
[0056] This invention proposes an intelligent control system for the circulation and purification of slaughterhouse cleaning wastewater, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater as described above.
[0057] The beneficial effects of the technical solution of the present invention are:
[0058] In this embodiment of the invention, by real-time monitoring of influent flow rate and COD concentration, the instantaneous impact degree, historical backlog pressure and intermittent compensation effect of the biological treatment tank are quantitatively assessed. Combined with short-term change trends and the daily operation stage, the overall purification capacity tension is calculated. Based on this, a precise control plan is generated proactively and dynamically. Without expanding the large-capacity equalization tank, the system achieves advanced prediction and proactive control of pulse-type impact loads, avoiding energy waste and sludge disintegration risks caused by excessive aeration, and significantly improving the stability and treatment efficiency of the slaughterhouse wastewater recycling purification system. Attached Figure Description
[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0060] Figure 1 A flowchart illustrating an intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater, provided in one embodiment of the present invention;
[0061] Figure 2 This is a structural diagram of an intelligent control system for the circulation and purification of slaughterhouse cleaning wastewater, provided in one embodiment of the present invention. Detailed Implementation
[0062] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of an intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0063] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0064] The following description, in conjunction with the accompanying drawings, details the specific scheme of the intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater provided by this invention.
[0065] This invention provides an intelligent control method and system for the recycling and purification of slaughterhouse cleaning wastewater. Please refer to [link / reference]. Figure 1 The diagram illustrates a flowchart of an intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater according to an embodiment of the present invention. The method includes the following steps:
[0066] S101. Obtain the real-time influent flow rate and real-time chemical oxygen demand (COD) concentration in the biological treatment tank, and calculate the instantaneous load intensity based on the real-time influent flow rate and real-time COD concentration.
[0067] In this embodiment, the instantaneous load intensity is calculated based on the real-time influent flow rate and the real-time chemical oxygen demand concentration, specifically including:
[0068] The instantaneous load intensity is determined by multiplying the real-time influent flow rate and the real-time chemical oxygen demand concentration.
[0069] Exemplarily, this embodiment uses a wastewater recycling and purification system in a slaughterhouse as an example to describe the method of the present invention in detail. It should be noted that this slaughterhouse is for illustrative purposes only and does not constitute any limitation on the scope of application of the present invention. Those skilled in the art should understand that the method of the present invention is also applicable to other wastewater treatment scenarios with similar pulsed influent characteristics.
[0070] Slaughterhouse wastewater discharge exhibits intermittent characteristics: a high-concentration, high-flow-rate "impact phase" wastewater is generated during peak slaughter periods (early morning), while a low-concentration, low-flow-rate, or no-wastewater "intermittent phase" occurs during off-peak periods. During the intermittent phase, due to the lower influent load, the biological treatment tank has unused treatment capacity. Theoretically, this capacity could be used to reprocess the undegraded organic matter accumulated during the impact phase, i.e., a "compensation effect." However, current technologies fail to incorporate this compensation effect into a quantitative assessment system, making it impossible to accurately determine the actual compensation capacity during the intermittent phase, resulting in a lack of basis for control decisions.
[0071] In this embodiment, the processing is based on the state data of the wastewater generated during the slaughtering process entering the biochemical system, specifically including the instantaneous influent flow rate of the wastewater and the instantaneous COD concentration of the wastewater (i.e., the real-time chemical oxygen demand concentration).
[0072] The instantaneous influent flow rate is measured using an electromagnetic flow meter installed on the straight section of the main effluent pipe of the dissolved air flotation (DAF) tank. This location was chosen based on the following considerations: as a pretreatment unit, the water flow in the main effluent pipe of the DAF tank is relatively stable, and this location is before the biological treatment tank, so the measured flow rate can accurately reflect the actual amount of water entering the biological treatment tank, avoiding interference with the flow rate caused by operations such as sludge scraping and sludge removal at the front end of the DAF tank.
[0073] COD concentration is used to describe the concentration of organic pollutants in wastewater and is calculated in real time using a COD sensor based on ultraviolet absorption. This sensor employs a dual-wavelength compensation algorithm to effectively eliminate interference from turbidity, suspended solids, and other factors in the wastewater on measurement accuracy. The COD sensor is placed in the stable flow section at the end of the effluent channel of the dissolved air flotation tank, where water flow fluctuations are minimal. The optical window of the sensor probe is positioned away from the water flow direction to prevent suspended solids in the water flow from directly impacting the window surface and causing contamination or abrasion. Simultaneously, an appropriate immersion depth is maintained (e.g., 20-30 cm below the liquid surface; the specific depth is determined based on the channel water level fluctuation range, ensuring continuous submersion below the liquid surface without being covered by bottom sediment) to ensure sufficient wetting of the measurement contact surface. The sampling frequency of the COD concentration data is consistent with the data acquisition frequency of the electromagnetic flowmeter to ensure strict temporal correspondence between flow rate and concentration data in subsequent calculations.
[0074] After obtaining the real-time influent flow rate and real-time COD concentration, routine preprocessing such as timestamp alignment and noise reduction is performed to eliminate data asynchrony issues caused by sensor response delay, signal noise, or clock deviation during data acquisition, thus providing an accurate and reliable data foundation for subsequent calculations.
[0075] Based on the real-time inflow rate (denoted as...) (unit: liters per second) and real-time COD concentration (denoted as...) (Unit: mg / L) Calculate instantaneous load intensity (mg / s). The physical meaning of this product is the total mass of organic matter entering the biochemical tank per unit time (second) (mg / s), which is a fundamental physical quantity characterizing the immediate pollution load entering the biochemical tank.
[0076] S102. Obtain the instability threshold of the biochemical pool, normalize the instantaneous load intensity according to the instability threshold, and correct the normalization result according to the change trend of the instantaneous load intensity within a preset time window to obtain the relative organic load intensity characterizing the current impact degree of the biochemical pool.
[0077] In this embodiment, the instantaneous load intensity is normalized according to the instability threshold, and the normalization result is corrected according to the changing trend of the instantaneous load intensity within a preset time window to obtain the relative organic load intensity characterizing the current impact degree of the biological tank, specifically including:
[0078] Using the current time as the end time of the preset time window, obtain the instantaneous load intensity of each sampling point within the preset time window;
[0079] Divide the instantaneous load intensity at each sampling point by the instantaneous load intensity at the start of the preset time window to obtain the relative value of the load change at each sampling point;
[0080] Calculate the difference between the relative values of load changes at two adjacent sampling points in turn. Add all the positive difference values to get the sum of positive difference values. Add the absolute values of all the differences to get the total difference sum. Divide the sum of positive difference values by the total difference sum to get the load change trend coefficient.
[0081] Calculate the trend correction coefficient based on the load change trend coefficient;
[0082] Calculate the ratio of the instantaneous load intensity at the current moment to the instability threshold to obtain the normalized result of the instantaneous load intensity at the current moment. Multiply the normalized result by the trend correction coefficient to determine the relative organic load intensity at the current moment.
[0083] For example, in this embodiment, the instability threshold of the biochemical pool is first obtained. (Unit: mg / s) is used to characterize the upper limit of the average treatment capacity of the biochemical pool.
[0084] It should be noted that the instability threshold is not a real-time measurement, but a fixed value determined through pre-calibration. The calibration method is as follows: during non-peak slaughter periods (when the wastewater quality and quantity in the equalization tank are basically stable and there are no pulse-like shocks), the inflow rate from the dissolved air flotation tank to the biological treatment tank is manually controlled (i.e., the instantaneous flow rate is adjusted). This process gradually increases the organic load entering the biological treatment tank while continuously monitoring the effluent COD concentration. After at least one hydraulic retention time cycle, when the effluent COD concentration shows a stable and continuous upward trend, the instantaneous load intensity corresponding to one hydraulic retention time prior to that moment is calibrated as the instability threshold. To avoid the instability threshold deviating from the actual treatment capacity due to changes in microbial activity within the biological treatment tank caused by seasonal variations, sludge age, and other factors, this calibration process is performed periodically during shutdown or low-load windows to ensure that the instability threshold always accurately reflects the upper limit of the actual treatment capacity of the biological treatment tank.
[0085] Obtain the instantaneous load intensity at each moment. and instability threshold Based on this, it is necessary to further calculate the relative organic load intensity, which can characterize the current impact on the biological treatment tank. The core idea of this calculation is that the current impact on the biological treatment tank depends not only on the deviation of the total amount of organic matter entering the biological treatment tank from the upper limit of the treatment capacity, but also on the recent trend of the organic load. Even if the current load is the same, the impact of a load in a rapidly rising phase on the biological treatment tank is more severe than that of a load in a stable or declining phase.
[0086] The specific calculation process is as follows:
[0087] First, sampling points within a 30-minute window are taken in reverse order, with the current time as the end of the window, as the preset time window. The 30-minute window length is chosen based on the following considerations: the pulse-like impacts of slaughterhouse wastewater typically occur on a timescale of several minutes to tens of minutes. A 30-minute window captures the initial upward trend of the impact without smoothing out crucial short-term fluctuations due to an excessively long window. It should be noted that this window length can be adjusted according to the actual production cycle and wastewater discharge characteristics of the slaughterhouse, and does not constitute a limitation on the scope of protection of this invention.
[0088] Within this preset time window, the instantaneous load intensity at the start of the window is taken as... For each sampling time in the window (Its instantaneous load intensity is) ), calculate the ratio of the instantaneous load intensity at this moment to the instantaneous load intensity at the beginning of the window, and obtain the relative value of the load change at each sampling point from the beginning to the current moment within the preset time window. .when When, it indicates that the instantaneous load intensity at the sampling point is higher than the initial time of the window; when When, it indicates that it is below the window start time; when When, it indicates that it is the same as the window start time.
[0089] The relative values of load changes at each sampling point were obtained. Then, the distance between two adjacent sampling points is calculated sequentially. The difference (from the previous moment to the next moment) is denoted as .when When this occurs, it indicates that the relative value of the load change is increasing, meaning that the instantaneous load intensity is accelerating; when When the load change is relatively decreasing, it indicates that the instantaneous load intensity is slowing down or falling.
[0090] Based on this, the load change trend coefficient is calculated. The calculation formula is: The numerator is the sum of all positive differences, representing the total increase in the relative load change among all sampling points; the denominator is the sum of the absolute values of all differences (positive and negative), representing the total fluctuation of the relative load change among all sampling points. The load change trend coefficient is a dimensionless indicator of the instantaneous load intensity change trend, ranging from 0 to 1. A larger load change trend coefficient indicates a larger proportion of the increase in the relative load change within the current window to the total fluctuation, meaning a more pronounced upward trend in the instantaneous load intensity; when... When the increase and decrease are roughly equal, it indicates that the relative value of load change is oscillating within the window, and the growth trend is basically consistent with the decrease trend. When the load change trend coefficient is close to 1, it indicates that the relative value of load change within the window is almost entirely increasing, and the instantaneous load intensity is in a state of rapid increase.
[0091] In obtaining the load change trend coefficient Based on the load change trend coefficient, a trend correction coefficient is calculated. In this embodiment, 0.5 can be added to the load change trend coefficient to obtain the trend correction coefficient. This trend correction coefficient is a key weighting factor in the calculation of relative organic load intensity. Its physical meaning is as follows: taking 0.5 as a neutral benchmark (corresponding to an oscillating state where the relative value of load change is roughly equal to the increase or decrease, and the growth trend and the decrease trend are basically consistent), when the recent load growth trend is dominant, the trend correction coefficient is greater than 1, amplifying the relative instantaneous load to reflect the additional amplifying effect of the growth trend on the impact; when the recent load decrease trend is dominant, the trend correction coefficient is less than 1, shrinking the relative instantaneous load to reflect the weakening effect of the decline trend on the impact. The following examples illustrate the value of the trend correction coefficient and its physical meaning.
[0092] The calculation method for the trend correction coefficient is not limited to "adding 0.5", but it must satisfy the physical constraint of "using 0.5 as the neutral benchmark", that is, when When the price changes are evenly split and there is no significant trend, the trend correction coefficient is equal to 1, and there is no amplification or reduction effect. Any calculation method that satisfies this constraint and maintains monotonicity can be used as an alternative.
[0093] Then, calculate the instantaneous load intensity at the current moment. With instability threshold The ratio of the influent load to the total organic matter entering the biological treatment tank at any given moment, known as the relative instantaneous load (i.e., the normalized result of the instantaneous load intensity at the current moment), is used to quantify the deviation of the total amount of organic matter entering the biological treatment tank at the current moment from the upper limit of the tank's treatment capacity. When the ratio is less than 1, it indicates that the current influent load is within the tolerable range of the biological treatment tank, and the system has a treatment margin; when the ratio is equal to 1, it indicates that the current influent load has just reached the upper limit of the biological treatment tank's treatment capacity, and the system is in a critical state; when the ratio is greater than 1, it indicates that the current influent load has exceeded the upper limit of the biological treatment tank's treatment capacity, the system is in an overload state, and undegraded organic matter may accumulate in the biological treatment tank.
[0094] Multiplying the normalized result by the trend correction factor yields the relative organic load intensity. : The information consists of two dimensions: the relative size of the current load ( The relative organic load intensity is calculated by combining the current instantaneous load intensity with recent load trends into a comprehensive indicator. Overall, the greater the current instantaneous load intensity and the more significant the recent load growth, the higher the calculated relative organic load intensity. The greater the pressure, the greater the purification pressure of the biochemical pool at any given moment.
[0095] S103. Calculate the instantaneous margin of the biochemical tank based on the relative organic load intensity, and divide the preset time window into the impact phase and the intermittent phase based on the positive or negative value of the instantaneous margin.
[0096] In this embodiment, the instantaneous margin of the biological tank is calculated based on the relative organic load intensity, specifically including:
[0097] Take any given moment as the current moment and obtain the relative organic load intensity at each moment;
[0098] Obtain the historical maximum value of relative organic load intensity;
[0099] For each relative organic load intensity with a value greater than or equal to 1 and less than or equal to the historical maximum value, it is compressed to the range of 1 to 2 through linear transformation, and its compression ratio is recorded. Using this compression ratio, each relative organic load intensity less than 1 is compressed to obtain the standardized relative organic load intensity at each time.
[0100] Subtracting the standardized relative organic load intensity from 1 yields the instantaneous margin of the biochemical tank at each moment.
[0101] The preset time window is divided into an impact phase and an interval phase based on the sign of the instantaneous margin, specifically including:
[0102] Obtain the instantaneous margin at each moment within a preset time window;
[0103] By comparing the instantaneous margin at adjacent time points, the position where the instantaneous margin changes from a positive value to a negative value or from a negative value to a positive value is identified, and this position is taken as the positive-to-negative switching point;
[0104] Using each positive and negative switching point as the dividing boundary, the preset time window is divided into sub-windows, where the instantaneous margin at all times in each sub-window is either positive or negative.
[0105] Sub-windows with all instantaneous margins being positive are defined as the intermittent phase, while sub-windows with all instantaneous margins being negative are defined as the impact phase.
[0106] For example, to facilitate subsequent processing, the relative magnitude relationship between the relative organic load intensities at different times is kept stable (i.e., maintained). (The relative proportion between values greater than or equal to 1 and values less than 1 is not disrupted; it is necessary to...) Standardization is performed. Specifically: the historical maximum value of the relative organic load intensity up to the current moment is obtained and denoted as... For values greater than or equal to 1 and less than or equal to the historical maximum, a linear transformation is used to proportionally compress the values to the range of 1 to 2, and the compression ratio is recorded; for values less than 1... The values are compressed using the same compression ratio, so that the values at all times are... The values all fall within a uniform numerical scale. The standardized relative organic load intensity is denoted as... The range of values is between 0 and 2. The purpose of this standardization process is to unify the relative organic load intensities under different magnitudes and operating conditions to the same numerical scale, so that the instantaneous margin at each moment in subsequent calculations is comparable.
[0107] After standardization, with As a measure of the instantaneous slack of the bio-pool at the current moment, This represents the standardized relative organic load intensity at the current moment. When hour, This indicates that the current load is lower than the treatment capacity of the biological treatment tank, and the system has a margin of safety (i.e., the influent load is lower than the treatment capacity of the biological treatment tank); when hour, This indicates that the current load is exactly equal to the processing capacity, and the system is in a critical state; when hour, This indicates that the current load has exceeded the processing capacity, the system is in an overload state, and pollutants have begun to accumulate.
[0108] To obtain the standardized relative organic load intensity at each time point and instantaneous leeway Based on this, further calculation of the cumulative treatment pressure of the biological treatment system is needed. It should be noted that the load on the biological treatment tank at any given moment comes not only from the wastewater currently entering the tank, but also from residual organic matter in previously discharged but untreated wastewater. When the treatment load is too high, the untreated portion of previously discharged wastewater will accumulate in the biological treatment tank, contributing to the actual treatment pressure along with the currently entering wastewater. Therefore, relying solely on instantaneous load intensity or instantaneous margin for judgment has limitations.
[0109] The following comparison of two typical scenarios under the same high organic load impact intensity illustrates the necessity of cumulative treatment pressure analysis:
[0110] Scenario 1: Continuous High-Load Impact: When the biological treatment tank continuously receives slaughterhouse wastewater exceeding its capacity (e.g., multiple slaughterhouses simultaneously and continuously slaughtering and cleaning, generating large amounts of high-organic-content emissions), undegraded organic matter will continuously accumulate. As described in the aforementioned positive feedback deterioration logic, when the organic matter load exceeds a certain critical value, the oxygen demand of microorganisms will rapidly exceed the system's oxygen supply capacity, leading to localized hypoxia within the tank. The activity of aerobic microorganisms is inhibited, reducing the efficiency of pollutant decomposition. Furthermore, undegraded organic matter further accumulates, further increasing oxygen demand and creating a vicious cycle. In this scenario, the pollutant accumulation during the impact phase cannot be effectively compensated for during the intermittent phases, and the treatment pressure on the biological treatment tank continues to rise.
[0111] Scenario 2: Intermittent High Load Shocks: When the relative organic load intensity is intermittently high (e.g., multiple slaughterhouses simultaneously performing a single bleeding or evisceration operation), the situation differs from Scenario 1. During the high-intensity organic load shock phase, untreated organic pollutants accumulate in a short period. However, during the relatively low-intensity intermittent phase, because the concentration and volume of pollutants in the discharged slaughterhouse wastewater are lower, the biological treatment tank has a treatment capacity to treat the organic pollutants accumulated during the shock phase. In other words, the intermittent phase provides cross-time compensation treatment for the pollutants accumulated during the shock phase.
[0112] The comparison between the two scenarios illustrates that the difference in destructive power between continuous high-load shocks and intermittent high-load shocks on the biological treatment tank is significantly greater than the numerical difference in the amount of pollutant accumulation alone. The positive feedback deterioration effect of continuous shocks can quickly lead to system collapse, while the compensatory effect of intermittent shocks provides the system with an opportunity for self-recovery. Therefore, the quantitative assessment of cumulative treatment pressure must take this intermittent compensatory effect into account.
[0113] Based on the above analysis, this instantaneous margin is utilized. The preset time window of the aforementioned steps is further segmented. Specifically, within the preset time window, the instantaneous margin at adjacent moments is compared sequentially, and the position where the instantaneous margin changes from positive to negative or vice versa is identified as the positive-to-negative switching point. Using each positive-to-negative switching point as a dividing boundary, the preset time window is divided into multiple consecutive sub-windows, such that the instantaneous margin at all moments within each sub-window is either positive or negative. A sub-window where all instantaneous margins are positive indicates that the biochemical tank has processing capacity during that period, referred to as the intermittent phase; a sub-window where all instantaneous margins are negative indicates that the biochemical tank is overloaded during that period, referred to as the impact phase.
[0114] S104. Calculate the impact accumulation pressure based on the cumulative amount of instantaneous margin in each impact stage and the duration ratio of each impact stage, and calculate the intermittent accumulation pressure based on the cumulative amount of instantaneous margin in each intermittent stage. Combine the impact accumulation pressure, intermittent accumulation pressure, and the matching degree between each impact stage and each intermittent stage to calculate the cumulative treatment pressure.
[0115] In this embodiment, the accumulated impact pressure is calculated based on the cumulative instantaneous margin within each impact stage and the duration percentage of each impact stage, specifically including:
[0116] Obtain the start and end times of each impact phase within the preset time window, calculate the duration of each impact phase, and determine the ratio of the duration of each impact phase to the total duration of the preset time window as the duration percentage of each impact phase.
[0117] The instantaneous margin levels within each impact stage are summed and their absolute values are taken to obtain the cumulative instantaneous margin level for each impact stage.
[0118] Add one to the duration percentage of each impact phase to obtain the pressure correction coefficient for each impact phase.
[0119] The cumulative instantaneous margin of each impact stage is multiplied by the pressure correction coefficient of that impact stage to obtain the time-period impact accumulation pressure of each impact stage.
[0120] The accumulated impact pressure is obtained by summing up the accumulated impact pressure over all time periods.
[0121] The intermittent accumulated pressure is calculated based on the cumulative instantaneous margin within each intermittent stage. The cumulative treatment pressure is then calculated by combining the impact accumulated pressure, the intermittent accumulated pressure, and the matching degree between each impact stage and each intermittent stage. Specifically, this includes:
[0122] The instantaneous margin level within each interval is summed to obtain the cumulative instantaneous margin level for each interval.
[0123] The accumulated instantaneous margins of all intermittent phases are summed to obtain the intermittent accumulated pressure.
[0124] The accumulated impact pressure during each impact phase is obtained, and the accumulated impact pressure during each impact phase is arranged in chronological order to obtain the impact change sequence. The accumulated instantaneous margin during each intermittent phase is arranged in chronological order to obtain the intermittent change sequence.
[0125] The differences between adjacent values in the impact change sequence and the differences between adjacent values in the intermittent change sequence are calculated separately to obtain the impact difference sequence and the intermittent difference sequence;
[0126] The difference between the corresponding positions in the impact difference sequence and the intermittent difference sequence is matched, and the compensation effect factor between each impact stage and each intermittent stage is calculated based on the matching results.
[0127] The actual compensation amount is calculated based on the compensation effect factor and intermittent accumulated pressure.
[0128] Calculate the difference between the accumulated impact pressure and the actual compensation amount, and take the maximum value between this difference and zero as the accumulated treatment pressure.
[0129] For example, after the above segmentation, the preset time window is divided into: Each sub-window. For the first... Each sub-window, the sum of the instantaneous margins of its sampling points is denoted as . The duration of the child window (i.e., the length of time contained within the child window) is denoted as... The total duration of the preset time window is recorded as .
[0130] Based on this, the impact phase and the intermittent phase can be identified: The sub-window (i.e., the sub-window in which the instantaneous margin is negative and the sum of the overload states at each moment) is defined as the impact phase. The sub-window (i.e., the sub-window where all instantaneous margins are positive, and the sum of margins at each time step) is defined as the intermittent phase. It should be noted that... A negative value indicates that the biochemical tank was in a state where the "pollutant entry rate was greater than the treatment rate" during that period. A positive value indicates that the biochemical tank was in a state of "pollutant entry rate is less than treatment rate" during that period (pollutant entry rate is less than treatment rate, and there is a margin to digest previously accumulated pollutants).
[0131] For each impact phase, determine the duration of its corresponding sub-window (i.e., the length of time contained within that sub-window). Total duration of the preset time window The ratio of these values is denoted as the relative length of the impact phase. (That is, the proportion of the duration of this impact phase). This ratio represents the proportion of the duration of this impact phase to the total duration of the preset time window, reflecting the duration of this impact phase on the overall time axis. The longer the impact phase, the longer the system is subjected to high pressure, and the more serious the accumulation of pollutants.
[0132] Then, the time-phase impact accumulation pressure during this impact phase is calculated. The calculation formula is: ,in, It is the absolute value of the cumulative instantaneous margin during the impact phase, that is, the cumulative sum of the overload level at each moment during the impact phase ("deficit" total). This is the pressure correction factor, where 1 is the baseline factor. This represents the relative length of the impact phase, used here as a time-proportion correction term. The physical meaning of this formula is: the greater the overload during the impact phase (…). The larger the impact, the longer the duration of the impact. The larger the value (the greater the impact factor), the more severe the cumulative pressure on the biological tank during this impact phase. Therefore, using... right Weighted amplification is applied; the greater the proportion of the impact duration, the more significant the amplification effect. For example, if a certain impact phase... Percentage of time ,but If another shock phase is similar... However, the proportion of time spent ,but This indicates that, under the same level of overload, a longer-lasting impact produces greater cumulative stress.
[0133] Finally, all impact phases within the preset time window will be... Adding them together yields the accumulated impact pressure. It reflects the sum of the cumulative overload pressure on the biochemical pool caused by all impact phases within the preset time window.
[0134] When calculating the accumulated pressure from impact, the duration of each impact phase is used as a weighting factor. However, when calculating the accumulated pressure from intermittent periods, the cumulative instantaneous margins of each intermittent phase are directly added together without multiplying by any duration-related correction factor. This difference stems from the fundamental physical differences between impact phases and intermittent phases.
[0135] The physical meaning of the impact phase is "the period of continuous excessive input of pollutants." During this period, the total amount of organic matter entering the biological treatment tank continuously exceeds the tank's treatment capacity, and undegraded organic matter accumulates within the tank. The harm here depends not only on the "degree of overload" (i.e., The magnitude of the impact accumulation pressure also depends on "how long this overload condition lasts." The longer the duration, the greater the total amount of pollutants accumulated, and the more severe the inhibition of microbial activity under hypoxic / overload conditions. Therefore, the calculation of impact accumulation pressure needs to couple the degree of overload with the duration of overload; that is, the larger the proportion of duration, the longer the system has been under overload, and the more severe the pressure on the system. right Weighted amplification is applied.
[0136] In this embodiment, the calculation of the impact accumulation pressure adopts... The necessity and physical rationality of using it as a pressure correction factor are demonstrated as follows:
[0137] The substantial harm caused to the biological tank during the impact phase comprises two independent dimensions. The first dimension is the overload depth, which is the absolute value of the cumulative instantaneous margin. The first dimension represents the absolute deficit in processing capacity, where the total amount of organic matter entering the biological treatment tank during that period exceeds the treatment capacity. The second dimension is the overload extent, i.e., the percentage over a certain duration. This characterizes the duration of the deficit state over time.
[0138] There is a significant coupling amplification effect between the two dimensions, rather than a simple linear superposition relationship. The mechanism lies in the fact that when the biochemical pool is in an overloaded state (i.e.,...) When the dissolved oxygen concentration in the tank is <0, the decomposition and metabolic activities of aerobic microorganisms are inhibited. If the overload condition continues for a long time, the endogenous respiration reserves of microorganisms are largely consumed, and the specific degradation rate (the amount of organic matter degraded by a unit mass of microorganisms per unit time) will decrease with the extension of the overload duration. At this time, even if the instantaneous load intensity entering the biological treatment tank later drops back to the same level as before, the microorganisms cannot immediately recover to their original treatment efficiency. In other words, the longer the impact phase lasts, the more pollutants accumulate, and more seriously, the more it reduces the system's own biological activity reserves for decomposing these pollutants.
[0139] The physical meaning of the intermittent phase is "the period when the load is lower than the treatment capacity." During this period, the biological treatment tank has an underutilized treatment capacity, which can be used to reprocess the undegraded organic matter accumulated during the shock phase. The key point here is that as long as there is a treatment capacity, regardless of whether this capacity is concentrated over a long period or dispersed over several short periods, its ability to digest the accumulated matter from the shock phase is reflected in the total amount. In other words, the compensating capacity of the intermittent phase for the shock phase is determined by "the total amount of capacity," not by "the duration of the capacity." For example, a stable capacity of 1 hour and 10 dispersed capacities of 6 minutes each have the same theoretical compensating capacity, as long as the total amount is the same. Therefore, the calculation of intermittent accumulation pressure only requires the simple addition of the instantaneous capacity accumulation of each intermittent phase, without the need to introduce a weighted average based on duration.
[0140] After obtaining the cumulative instantaneous margin for each intermittent phase, the cumulative instantaneous margins for all intermittent phases are summed to obtain the intermittent accumulated pressure. This value reflects the theoretical maximum compensability for all intermittent phases within the preset time window.
[0141] As mentioned earlier, in intermittent high-load shock scenarios, the biological treatment tank has a treatment capacity during the intermittent phase due to the lower influent load, which can be used to treat the undegraded organic matter accumulated during the shock phase. However, the effectiveness of this compensation depends on several factors: the switching frequency between the shock and intermittent phases, the degree of matching between the excess load during the shock phase and the margin during the intermittent phase, and the consistency of their changing trends. Specifically, if the shock phase has a huge load but the margin during the intermittent phase is insufficient, or if the purification load during the shock phase continues to increase but the margin during the intermittent phase does not increase synchronously, the compensation effect will be poor. Therefore, it is necessary to quantitatively assess the degree of matching between the shock and intermittent phases, and then calculate the actual compensation capacity of the intermittent phase.
[0142] The impact difference sequence is matched with the difference at corresponding positions in the intermittent difference sequence. Based on the matching results, the compensation effect factor between each impact stage and each intermittent stage is calculated. In a specific embodiment, this can be:
[0143] Specifically, within a preset time window, the accumulated pressure from each impact phase is measured. Arranged chronologically, the impact change sequence is obtained; the instantaneous margin of each intermittent stage is accumulated. Arranged chronologically, an intermittent variation sequence is obtained. Then, the difference between adjacent values in the impact variation sequence (subtracting the previous moment from the next moment) and the difference between adjacent values in the intermittent variation sequence (subtracting the previous moment from the next moment) are calculated separately to obtain the impact difference sequence. and intermittent difference sequence The two sequences should have the same length. If the sequence lengths differ by 1, the value furthest from the current time in the longer sequence is discarded to ensure that the differences at corresponding positions are aligned in time. For each set of impact difference sequences at corresponding positions... and intermittent difference sequence Calculate the degree of matching between impact intervals : .
[0144] The physical meaning of this formula is: when A ratio closer to 1 indicates a higher degree of synchronization between the pressure increase during the impact phase and the margin increase during the interval phase. This means the interval phase can promptly "catch up" with the pressure increase during the impact phase, resulting in a better compensation effect. When the ratio is less than 1, it indicates that the margin increase during the interval phase is insufficient to match the pressure increase during the impact phase, limiting the compensation effect. When the ratio is greater than 1 (taking a value of 1), it indicates that the margin increase during the interval phase completely covers the pressure increase during the impact phase, and the compensation effect reaches saturation. This ultimately yields a degree of impact-interval matching. sequence.
[0145] However, based solely on the degree of matching The mean of the sequence is insufficient to fully reflect the compensation effect. It is also necessary to consider the trend of the matching degree. Even if the average matching degree is high, if the matching degree shows a continuous downward trend, it indicates that the compensation effect is deteriorating and the actual compensation capacity should be reduced. Conversely, if the matching degree shows a continuous upward trend, it indicates that the compensation effect is improving and the actual compensation capacity should be enhanced.
[0146] Based on the above considerations, the matching degree sequence is calculated. The mean, denoted as Then, the matching degree sequence is calculated sequentially for adjacent elements. The difference between them (the latter minus the former) is denoted as ,statistics The sum of absolute values is denoted as ,statistics The sum of all differences greater than 0 in the range is denoted as . The ratio of these two statistics This ratio reflects the changing trend of the matching degree: the closer this ratio is to 1, the more dominant the upward trend is in the matching degree sequence, and the compensation effect is continuously improving; the closer this ratio is to 0, the more dominant the downward trend is in the matching degree sequence, and the compensation effect is continuously deteriorating. Finally, the compensation effect factor is obtained by multiplying the mean of the matching degree by the trend indicator. Compensation effect factor The larger the value, the better the compensation effect of the intermittent stage on the impact stage, that is, the total margin of the intermittent stage can be more effectively used to digest the pollutants accumulated in the impact stage.
[0147] Accumulated pressure upon impact Intermittent accumulation of pressure and compensation effect factor Based on this, the actual compensation amount is calculated according to the compensation effect factor and the intermittent accumulated pressure. In a specific embodiment, this can be: calculating the actual compensation amount, which is the product of the compensation effect factor and the intermittent accumulated pressure. This indicates the actual compensatory capacity that can be effective during the intermittent phase, after considering the degree of matching and the trend of change.
[0148] Considering the compensation effect factor A lower value indicates a poor match between the impact phase and the interval phase, meaning the margin in the interval phase is difficult to effectively translate into actual compensation for the pressure accumulated during the impact phase. In this case, if directly using... The actual compensation amount may overestimate the actual compensation effect during the intermittent phase. Therefore, an effectiveness threshold for the compensation effect factor can be set: when the compensation effect factor is greater than a preset threshold (e.g., 0.3), it indicates a certain degree of matching between the impact phase and the intermittent phase, meaning the margin during the intermittent phase can be partially converted into compensation capacity. In this case, the actual compensation amount is taken as... When the compensation effect factor is lower than or equal to the preset threshold, it indicates that the matching degree between the impact stage and the intermittent stage is extremely low, and the margin of the intermittent stage is difficult to be effectively used to compensate for the accumulated pressure of the impact stage. In this case, the actual compensation amount is taken as 0. The advantage of this method is that it avoids overestimating the compensation capacity when the matching degree is extremely poor, making the assessment of the accumulated processing pressure more robust.
[0149] Then calculate the cumulative processing pressure. The calculation formula is: The physical meaning of this formula is: the net accumulated pressure of the biological treatment tank at the current moment is the total accumulated pressure minus the actual available intermittent compensation capacity. If the result is negative, it means that the compensation capacity during the intermittent stage has completely covered the accumulated pressure during the impact stage, and there is no net backlog in the biological treatment tank; therefore, 0 is taken as the lower limit. The larger this value, the greater the backlog of slaughterhouse wastewater in the biological treatment tank, and the more actively the system needs intervention.
[0150] Overall, the more pronounced the intermittent impact characteristics, and the worse the match between the load exceeding the impact phase and the margin of the intermittent phase between the continuous impact phases and the intermittent phases, the greater the compensation effect factor. The smaller the value, the higher the final calculated cumulative processing pressure. The larger the value, the greater the load of untreated slaughterhouse wastewater accumulated in the biological treatment tank in the recent period.
[0151] S105. Calculate the stress level of the biochemical pool's purification capacity based on the trend of cumulative treatment pressure within a preset time window and the trend of change within the daily operating window.
[0152] In this embodiment, the stress level of the biological treatment tank's purification capacity is calculated based on the trend of cumulative treatment pressure within a preset time window and the trend of pressure within the daily operating window. Specifically, this includes:
[0153] Obtain the current cumulative processing pressure and record it as the current cumulative pressure;
[0154] Obtain the accumulated processing pressure at the start time of a preset time window preceding the current time, and record it as the historical accumulated pressure. Calculate the short-term pressure change trend index based on the relationship between the current accumulated pressure and the historical accumulated pressure.
[0155] The cumulative processing pressure from the moment when the relative organic load intensity is non-zero on the current day to the present moment is obtained and recorded as the total cumulative processing pressure for the day.
[0156] Based on the relationship between the current accumulated pressure and the total accumulated processing pressure of the day, and combined with the relationship between the preset time window duration and the daily operating window duration, calculate the daily pressure development trend index;
[0157] The stress level of the biochemical pool's purification capacity is calculated based on short-term pressure change trend indicators and daily pressure development trend indicators.
[0158] For example, the cumulative processing pressure of the biochemical system is obtained in the above steps. This indicates the degree of accumulation of untreated slaughterhouse wastewater currently trapped in the biochemical system within the wastewater recycling and purification control system. However, It only reflects the "magnitude" of the pressure and cannot indicate which stage of its development process it is in, whether it is in a continuously worsening upward phase or a downward phase that is about to ease. Due to the highly periodic and pulsating nature of slaughterhouse wastewater discharge (the peak slaughtering period is in the early morning every day, which is also the peak time for the generation of slaughterhouse wastewater), the pressure state indicated by the cumulative treatment pressure of the same biological treatment tank varies significantly at different times.
[0159] The following two typical scenarios illustrate the limitations of adjusting solely based on the magnitude of accumulated processing pressure:
[0160] Scenario 1: Peak Start-up Phase: As each slaughterhouse gradually begins operation, wastewater is generated from processes such as bleeding, evisceration, splitting, and floor washing. With the commencement of each process, the impact intensity of the organic load entering the biological treatment tank gradually increases. Before reaching its peak, the cumulative treatment pressure in the biological treatment tank continuously increases and shows a continuing upward trend. At this point, if only the numerical value of the cumulative treatment pressure is considered (e.g., the current...),... Feedback adjustments to aeration and return flow rates may be implemented, but because the values are not yet extremely high, a relatively relaxed control strategy may be adopted, underestimating the cumulative impact of subsequent organic load shocks. This could actually lead to higher subsequent treatment pressure for slaughterhouse wastewater compared to when no control is applied, resulting in a more dramatic increase in wastewater treatment pressure.
[0161] Scenario 2: Peak Period Closure Stage: When the slaughterhouse operations are basically completed, or when several workshops simultaneously enter a slaughtering process with relatively low wastewater generation (lower organic load impact intensity) (such as splitting), the biological treatment tank may still have significant accumulated treatment pressure (e.g., currently...). While the cumulative treatment pressure is higher than 50 in scenario one, it will not generate a large amount of wastewater with high organic load impact intensity in a short period of time. Therefore, although the cumulative treatment pressure is relatively high at this time, since there is no further upward trend, a relatively relaxed control strategy can be adopted to avoid energy waste.
[0162] The comparison between the two scenarios above illustrates that the same accumulated pressure has completely different meanings at different stages. During the upward phase, it is necessary to tighten regulation to cope with the upcoming greater shock, while during the downward phase, it is possible to relax regulation appropriately to avoid over-regulation.
[0163] Based on the above analysis, this embodiment quantifies the development trend of cumulative treatment pressure from two dimensions: short-term change trend and overall status on the day, and finally calculates the stress level of the biochemical pool purification capacity.
[0164] Record the current cumulative processing pressure of the biochemical tank as: By working backwards in time to a shorter time window (i.e., the aforementioned preset time window, for example, 30 minutes), the cumulative processing pressure at the start of that window is obtained and denoted as... Calculate short-term pressure change trend indicators. In this embodiment, the calculation formula can be: .in, This is a very small positive number, used to prevent the denominator from being zero. The physical meaning of this indicator is: current cumulative pressure. The proportion of current pressure to the sum of historical pressure. When Much larger (That is, when pressure increases rapidly within a short time window) A value approaching 1 indicates a significant upward trend in short-term pressure; when much smaller (That is, when the pressure drops rapidly within a short time window) Approaching 0 indicates a significant downward trend in short-term pressure; when and At that time, A value of approximately 0.5 indicates minimal short-term pressure changes. This indicator captures short-term trends in the pressure changes of the biological treatment tank, reflecting the rate of pressure accumulation or release over a recent period.
[0165] relative organic load intensity on the day Starting from a non-zero moment (i.e., the moment when slaughterhouse wastewater first enters the biological treatment tank on that day), the time from that moment to the current moment is considered as a whole time window, and the length of this window is denoted as . (Unit: hours), the total cumulative processing pressure calculated within this window is: The method for obtaining the cumulative processing pressure is as follows: From the moment the relative organic load intensity becomes non-zero on that day until the current moment, the cumulative processing pressure at each sampling moment is obtained. The cumulative processing pressure at each sampling moment is then summed to obtain the total cumulative processing pressure for the day. Simultaneously, the short-time window length used in the aforementioned steps is denoted as... (Unit is hours, for example, 0.5 hours), and the preset time window is included in the daily running window.
[0166] Based on the relationship between the current accumulated pressure and the total accumulated processing pressure for the day, and combined with the relationship between the preset time window duration and the daily operating window duration, the daily pressure development trend index is calculated. In this embodiment, this can specifically be: The physical meaning of this index is: molecules. The denominator represents the proportion of the current accumulated pressure to the total accumulated pressure processed that day, reflecting the contribution of the current pressure to the overall pressure of the day; This represents the proportion of the short time window duration to the total running time of the day, reflecting the current moment's relative position on the day's timeline. Dividing the two yields... The value indicates the current state of the purification pressure accumulated in the biological treatment tank on that day. The higher the value, the faster the purification pressure in the biological treatment tank is accumulating compared to the overall situation on that day, indicating a more severe growth trend. Specifically, when... A value significantly greater than 1 indicates that the current rate of pressure accumulation is higher than the daily average, and the system is in a period of rapid pressure increase; when When the value is significantly less than 1, it indicates that the current pressure accumulation rate is lower than the daily average, and the system has passed the pressure peak period; when When the value is close to 1, it indicates that the rate of pressure accumulation at the current moment is comparable to the average level for the day.
[0167] Obtaining short-term pressure change trend indicators and daily pressure trend indicators Based on this, the stress level of the biological treatment tank's purification capacity was calculated. The calculation formula can be: .in This is a short-term trend correction term, occurring when short-term pressure rises rapidly ( Approaching 1), the correction term approaches 2, doubling the amplification of the daily trend indicator; when short-term pressure falls rapidly ( (Approaching 0), this correction term approaches 1, and does not generate additional amplification for the daily trend indicator. Overall, the more significant the short-term and intraday increase in the current biochemical pool purification pressure, the higher the final calculated value. The larger the pressure, the greater the purification pressure of the biological treatment tank, and the more proactive control measures the system needs to take.
[0168] S106. Generate a control parameter correction scheme based on the stress level of the biochemical tank's purification capacity, and adjust the operating parameters according to the control parameter correction scheme.
[0169] In this embodiment, a control parameter correction scheme is generated based on the stress level of the biological treatment tank's purification capacity, specifically including:
[0170] Obtain the current level of the biological treatment pool's purification capacity and the total cumulative processing pressure within the daily operating window;
[0171] The stress level of the biological treatment tank's purification capacity and the total cumulative treatment pressure of the day are input into the pre-trained control parameter decision model. The pre-trained control parameter decision model outputs a corrected set of control parameters, which includes the aeration intensity of the aerobic section of the biological treatment tank, the sludge return ratio, and the effluent flow rate of the equalization tank.
[0172] Based on the revised control parameter set, a control parameter correction scheme is generated.
[0173] For example, the aforementioned steps have already determined the stress level of the biological treatment tank's purification capacity. This reflects the relative size of the purification capacity of the biochemical pool. The higher the value, the greater the purification pressure the biological treatment tank is currently under, and the more proactive control measures the system needs to take. The smaller the value, the lower the current purification pressure on the biological treatment tank, and the more the system can maintain or relax its control intensity. After obtaining this parameter, the following processing is performed:
[0174] The strain on the purification capacity of the biological treatment tank and the total cumulative processing pressure of the day The cumulative treatment pressure (i.e., the cumulative treatment pressure from the moment when the relative organic load intensity is non-zero on the current day to the present moment) is input into the pre-prepared optimization parameter model, which then provides a control parameter correction scheme.
[0175] In this embodiment, the parameter tuning model uses a reinforcement learning decision model based on deep deterministic policy gradient. This model is a deep reinforcement learning algorithm suitable for continuous control tasks, capable of learning the optimal policy in a high-dimensional continuous action space and optimizing control decisions through trial and error with the environment (i.e., the wastewater recycling and purification system). The model's input is the stress level of the biological treatment tank's purification capacity. and the total cumulative processing pressure of the day Two state variables, the output is the control parameter set of the corrected wastewater circulation and purification system, including three control parameters: aeration intensity of the aerobic section of the biological treatment tank, sludge return ratio, and effluent flow rate of the equalization tank.
[0176] The training process of the model is as follows: First, a strategy combining offline pre-training and online fine-tuning is adopted. Firstly, control parameter sets with excellent control effects (achieving effluent COD standards and low energy consumption) from historical records and their corresponding... and The initial experience replay pool is used for behavior cloning pre-training, enabling the model to possess basic decision-making capabilities in the early stages of training. Based on this, a reward function is defined, which provides positive rewards when the effluent COD meets the standard and energy consumption is low, and negative rewards when the effluent COD exceeds the standard or energy consumption is too high. The model aims to maximize the cumulative discounted reward and continuously updates the policy network and value network parameters through continuous interaction with the simulation environment composed of historical operating data, gradually optimizing its decision-making capabilities. After the above training, the model can make decisions based on the current input... and It can quickly output the optimal or suboptimal control parameter set that is adapted to the current state of the biochemical pool.
[0177] After obtaining the set of optimized control parameters, adjustments are made based on this set of control parameters:
[0178] The aeration intensity of the aerobic section of the biological treatment tank can be adjusted by regulating the output frequency of the aeration blower's inverter or by adjusting the opening of the electric regulating valve on the aeration pipeline. When the value is large, the system needs to increase the aeration intensity to enhance the organic matter decomposition capacity of the microorganisms; when When the value is low, the aeration intensity can be reduced to save energy.
[0179] The sludge return ratio can be adjusted by changing the frequency of the sludge return pump's inverter or the opening of the electric valve on the return pipeline, thereby altering the flow rate of the returned sludge. When the value is large, increasing the reflux ratio can increase the sludge concentration in the biological treatment tank and enhance the system's treatment capacity; when When the value is small, the reflux ratio can be reduced to decrease energy consumption.
[0180] The instantaneous influent flow rate into the biological treatment tank is changed by adjusting the frequency of the inverter of the effluent booster pump in the equalization tank or the opening of the electric regulating valve on the effluent main pipe, thereby controlling the effluent output of the equalization tank. When the value is large, reducing the influent flow rate can mitigate the instantaneous load impact on the biological treatment tank; when When the value is low, the influent flow rate can be appropriately increased to make full use of the treatment capacity of the biological treatment tank.
[0181] The linkage adjustment mechanism of the above three control parameters is as follows: When the value increases, the system simultaneously increases the aeration intensity, increases the reflux ratio, and reduces the influent flow rate. The three work together to alleviate the purification pressure. When the value decreases, the system simultaneously reduces aeration intensity, decreases the reflux ratio, and increases the influent flow rate. These three factors work synergistically to reduce energy consumption and fully utilize the treatment capacity. Through the coordinated adjustment of these three factors, the system can effectively cope with high load shocks while avoiding energy waste and over-regulation at low loads.
[0182] Finally, based on the real-time acquired influent flow rate and COD data, continuous analysis is performed and updates are made. The values are fed back to the control module, enabling dynamic closed-loop control of the slaughterhouse wastewater circulation and purification control system based on the conditions of the biochemical tank. This dynamic control process is continuous, unaffected by peak or off-peak slaughter periods, achieving 24 / 7 intelligent regulation of the slaughterhouse wastewater circulation and purification system.
[0183] In summary, in this embodiment of the invention, by integrating short-term trends and daily stage characteristics to generate an indicator of purification capacity tension, and dynamically matching differentiated control strategies accordingly, the passive emergency response after the fact is transformed into proactive intervention before the fact without increasing civil engineering costs. This not only solves the problems of delayed timing of traditional manual control and sludge disintegration caused by excessive aeration, but also achieves a dynamic balance between aeration energy consumption, return energy consumption and treatment efficiency, effectively ensuring the long-term stable operation of the slaughterhouse wastewater circulation purification system under all-weather pulsed water intake conditions.
[0184] This invention also proposes an intelligent control system for the circulation and purification of slaughterhouse cleaning wastewater. Please refer to [link / reference]. Figure 2 The diagram shows a structural diagram of an intelligent control system for the circulation and purification of slaughterhouse cleaning wastewater according to an embodiment of the present invention. The system includes: a data acquisition module 101, a data processing module 102, and a correction and adjustment module 103.
[0185] The data acquisition module 101 is used to acquire the real-time influent flow rate and real-time chemical oxygen demand concentration in the biological tank, and to calculate the instantaneous load intensity based on the real-time influent flow rate and real-time chemical oxygen demand concentration.
[0186] The data processing module 102 is used to obtain the instability threshold of the biochemical pool, normalize the instantaneous load intensity according to the instability threshold, and correct the normalization result according to the change trend of the instantaneous load intensity within a preset time window, so as to obtain the relative organic load intensity characterizing the current impact degree of the biochemical pool.
[0187] The instantaneous margin of the biological tank is calculated based on the relative organic load intensity, and the preset time window is divided into the impact phase and the intermittent phase based on the sign of the instantaneous margin.
[0188] The impact accumulation pressure is calculated based on the cumulative amount of instantaneous margin in each impact stage and the duration ratio of each impact stage. The intermittent accumulation pressure is calculated based on the cumulative amount of instantaneous margin in each intermittent stage. The cumulative treatment pressure is calculated by combining the impact accumulation pressure, the intermittent accumulation pressure, and the matching degree between each impact stage and each intermittent stage.
[0189] The stress level of the biological treatment tank's purification capacity is calculated based on the trend of cumulative treatment pressure within a preset time window and the trend of cumulative pressure within the daily operating window.
[0190] The adjustment module 103 is used to generate a control parameter adjustment scheme based on the stress level of the biochemical pool's purification capacity, and adjust the operating parameters according to the control parameter adjustment scheme.
[0191] It should be noted that the system provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. In addition, the intelligent control system for the circulation and purification of slaughterhouse cleaning wastewater and the intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater provided in the above embodiments belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0192] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0193] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.
[0194] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for intelligent control of wastewater circulation and purification in slaughterhouse cleaning, characterized in that, include: The real-time influent flow rate and real-time chemical oxygen demand (COD) concentration in the biological treatment tank are obtained, and the instantaneous load intensity is calculated based on the real-time influent flow rate and real-time COD concentration. The instability threshold of the biochemical pool is obtained, the instantaneous load intensity is normalized according to the instability threshold, and the normalization result is corrected according to the change trend of the instantaneous load intensity within a preset time window to obtain the relative organic load intensity characterizing the current impact degree of the biochemical pool. The instantaneous margin of the biological tank is calculated based on the relative organic load intensity, and the preset time window is divided into the impact phase and the intermittent phase based on the sign of the instantaneous margin. The impact accumulation pressure is calculated based on the cumulative amount of instantaneous margin in each impact stage and the duration ratio of each impact stage. The intermittent accumulation pressure is calculated based on the cumulative amount of instantaneous margin in each intermittent stage. The cumulative treatment pressure is calculated by combining the impact accumulation pressure, the intermittent accumulation pressure, and the matching degree between each impact stage and each intermittent stage. The stress level of the biological treatment tank's purification capacity is calculated based on the trend of cumulative treatment pressure within a preset time window and the trend of cumulative pressure within the daily operating window. Based on the urgency of the biological treatment tank's purification capacity, a control parameter correction plan is generated, and the operating parameters are adjusted according to the control parameter correction plan.
2. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The calculation of instantaneous load intensity based on real-time influent flow rate and real-time chemical oxygen demand concentration specifically includes: The instantaneous load intensity is determined by multiplying the real-time influent flow rate and the real-time chemical oxygen demand concentration.
3. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The process of normalizing the instantaneous load intensity based on the instability threshold and correcting the normalization result according to the changing trend of the instantaneous load intensity within a preset time window to obtain the relative organic load intensity characterizing the current impact on the biochemical tank specifically includes: Using the current time as the end time of the preset time window, obtain the instantaneous load intensity of each sampling point within the preset time window; Divide the instantaneous load intensity at each sampling point by the instantaneous load intensity at the start of the preset time window to obtain the relative value of the load change at each sampling point; Calculate the difference between the relative values of load changes at two adjacent sampling points in turn. Add all the positive difference values to get the sum of positive difference values. Add the absolute values of all the differences to get the total difference sum. Divide the sum of positive difference values by the total difference sum to get the load change trend coefficient. Calculate the trend correction coefficient based on the load change trend coefficient; Calculate the ratio of the instantaneous load intensity at the current moment to the instability threshold to obtain the normalized result of the instantaneous load intensity at the current moment. Multiply the normalized result by the trend correction coefficient to determine the relative organic load intensity at the current moment.
4. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The calculation of the instantaneous margin of the biological treatment tank based on the relative organic load intensity specifically includes: Take any given moment as the current moment and obtain the relative organic load intensity at each moment; Obtain the historical maximum value of relative organic load intensity; For each relative organic load intensity with a value greater than or equal to 1 and less than or equal to the historical maximum value, it is compressed to the range of 1 to 2 through linear transformation, and its compression ratio is recorded. Using this compression ratio, each relative organic load intensity less than 1 is compressed to obtain the standardized relative organic load intensity at each time. Subtracting the standardized relative organic load intensity from 1 yields the instantaneous margin of the biochemical tank at each moment.
5. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The method of dividing the preset time window into an impact phase and an intermittent phase based on the positive or negative value of the instantaneous margin specifically includes: Obtain the instantaneous margin at each moment within a preset time window; By comparing the instantaneous margin at adjacent time points, the position where the instantaneous margin changes from a positive value to a negative value or from a negative value to a positive value is identified, and this position is taken as the positive-to-negative switching point; Using each positive and negative switching point as the dividing boundary, the preset time window is divided into sub-windows, where the instantaneous margin at all times in each sub-window is either positive or negative. Sub-windows with all instantaneous margins being positive are defined as the intermittent phase, while sub-windows with all instantaneous margins being negative are defined as the impact phase.
6. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The calculation of accumulated impact pressure based on the cumulative instantaneous margin within each impact stage and the duration proportion of each impact stage specifically includes: Obtain the start and end times of each impact phase within the preset time window, calculate the duration of each impact phase, and determine the ratio of the duration of each impact phase to the total duration of the preset time window as the duration percentage of each impact phase. The instantaneous margin levels within each impact stage are summed and their absolute values are taken to obtain the cumulative instantaneous margin level for each impact stage. Add one to the duration percentage of each impact phase to obtain the pressure correction coefficient for each impact phase. The cumulative instantaneous margin of each impact stage is multiplied by the pressure correction coefficient of that impact stage to obtain the time-period impact accumulation pressure of each impact stage. The accumulated impact pressure is obtained by summing up the accumulated impact pressure over all time periods.
7. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The calculation of intermittent accumulated pressure based on the cumulative instantaneous margin within each intermittent stage, and the calculation of cumulative treatment pressure by combining the impact accumulated pressure, intermittent accumulated pressure, and the matching degree between each impact stage and each intermittent stage, specifically includes: The instantaneous margin level within each interval is summed to obtain the cumulative instantaneous margin level for each interval. The accumulated instantaneous margins of all intermittent phases are summed to obtain the intermittent accumulated pressure. The accumulated impact pressure during each impact phase is obtained, and the accumulated impact pressure during each impact phase is arranged in chronological order to obtain the impact change sequence. The accumulated instantaneous margin during each intermittent phase is arranged in chronological order to obtain the intermittent change sequence. The differences between adjacent values in the impact change sequence and the differences between adjacent values in the intermittent change sequence are calculated separately to obtain the impact difference sequence and the intermittent difference sequence; The difference between the corresponding positions in the impact difference sequence and the intermittent difference sequence is matched, and the compensation effect factor between each impact stage and each intermittent stage is calculated based on the matching results. The actual compensation amount is calculated based on the compensation effect factor and intermittent accumulated pressure. Calculate the difference between the accumulated impact pressure and the actual compensation amount, and take the maximum value between this difference and zero as the accumulated treatment pressure.
8. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The calculation of the biochemical tank's purification capacity stress level based on the cumulative treatment pressure change trend within a preset time window and the change trend within the daily operation window specifically includes: Obtain the current cumulative processing pressure and record it as the current cumulative pressure; Obtain the accumulated processing pressure at the start time of a preset time window preceding the current time, and record it as the historical accumulated pressure. Calculate the short-term pressure change trend index based on the relationship between the current accumulated pressure and the historical accumulated pressure. The cumulative processing pressure from the moment when the relative organic load intensity is non-zero on the current day to the present moment is obtained and recorded as the total cumulative processing pressure for the day. Based on the relationship between the current accumulated pressure and the total accumulated processing pressure of the day, and combined with the relationship between the preset time window duration and the daily operating window duration, calculate the daily pressure development trend index; The stress level of the biochemical pool's purification capacity is calculated based on short-term pressure change trend indicators and daily pressure development trend indicators.
9. The intelligent control method for circulating and purifying slaughterhouse cleaning wastewater according to claim 1, characterized in that, The control parameter correction scheme generated based on the stress level of the biochemical tank's purification capacity specifically includes: Obtain the current level of the biological treatment pool's purification capacity and the total cumulative processing pressure within the daily operating window; The stress level of the biological treatment tank's purification capacity and the total cumulative treatment pressure of the day are input into the pre-trained control parameter decision model. The pre-trained control parameter decision model outputs a corrected set of control parameters, which includes the aeration intensity of the aerobic section of the biological treatment tank, the sludge return ratio, and the effluent flow rate of the equalization tank. Based on the revised control parameter set, a control parameter correction scheme is generated.
10. A smart control system for the recycling and purification of slaughterhouse cleaning wastewater, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the computer program is executed by the processor, it implements the steps of the intelligent control method for the circulation and purification of slaughterhouse cleaning wastewater as described in any one of claims 1-9.
