Carbon source addition adjusting method and system for sewage treatment, terminal and medium
By adjusting the amount of carbon source added in the sewage treatment system in real time, combined with feedback adjustment of water temperature and total nitrogen concentration in the effluent, the problem of insufficient adaptability of the carbon source addition method to water temperature fluctuations is solved, and the stable operation and efficient nitrogen removal effect of the sewage treatment system are achieved.
Patent Information
- Application Number
- CN202510577660.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-08-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing carbon source addition methods lack an effective response mechanism to fluctuate water temperature, which affects the stability of the sewage treatment system and the effluent water quality is prone to fluctuation, which increases the difficulty and cost of sewage treatment.
By obtaining the actual water temperature value of the sewage treatment plant, determining whether the water temperature is lower or higher than the set threshold, using the temperature compensation coefficient to adjust the amount of carbon source addition, and combining the feedback adjustment of the total nitrogen concentration of the effluent, adjust the amount of carbon source addition in real time to meet the metabolic needs of microorganisms and ensure the stable operation of the system.
It improves the adaptive adjustment capability of the sewage treatment system, reduces the difficulty and cost of sewage treatment, ensures that the effluent water quality meets relevant standards, and improves the nitrogen removal effect and system stability.
Smart Images

Figure CN120494377A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of sewage treatment, and in particular to a method, system, terminal and medium for adding and regulating a carbon source for sewage treatment. Background Art
[0002] In the field of sewage treatment, the rational addition of carbon sources plays a key role in the removal of pollutants in sewage, especially in the denitrification and phosphorus removal processes. However, the current carbon source addition methods have some problems that need to be solved. For example, the water temperature of sewage fluctuates greatly in different seasons and time periods, and this fluctuation directly affects the growth environment and metabolic activities of microorganisms. The existing carbon source addition methods lack an effective response mechanism to water temperature fluctuations. When the water temperature suddenly drops or rises, the demand for carbon sources by microorganisms will also change accordingly. However, since the amount of carbon source added cannot be adjusted in time, the stability of the sewage treatment system is affected, and the effluent water quality is prone to fluctuations, which increases the difficulty and cost of sewage treatment. Summary of the Invention
[0003] In order to reduce the difficulty and cost of sewage treatment, the present application provides a method, system, terminal and medium for carbon source addition and regulation for sewage treatment.
[0004] In the first aspect, the present application provides a method for adding and regulating a carbon source for sewage treatment, which adopts the following technical solution: A method for adding and regulating a carbon source for sewage treatment, comprising: Obtain the actual water temperature of sewage in the sewage treatment plant; Determine whether the actual water temperature is lower than a set first temperature threshold or higher than a set second temperature threshold; If the actual water temperature is lower than the first temperature threshold, a first temperature compensation coefficient is obtained. T ref is the reference temperature, T is the actual water temperature, ΔT is the temperature gradient threshold, ΔT=T ref - a first temperature threshold; Obtaining a feedforward carbon source addition amount according to the first temperature compensation coefficient; Obtaining the total nitrogen concentration of the first effluent; Obtaining a first correction amount according to the first outlet water total nitrogen concentration; Obtaining a first final addition amount according to the first correction amount and the feedforward carbon source addition amount; According to the first final addition amount, a carbon source is added.
[0005] By adopting the above technical solution, under low temperature conditions, the activity of microorganisms usually decreases, and the efficiency of carbon source utilization will also be affected. The amount of carbon source added is increased through the temperature compensation coefficient to meet the metabolic needs of microorganisms in low temperature environments, ensuring the normal growth and metabolism of microorganisms during the sewage treatment process, thereby maintaining the stable operation of the sewage treatment system. Total nitrogen is one of the important indicators in sewage treatment. By monitoring and feedback correction of the total nitrogen concentration in the effluent, problems with poor denitrification in the sewage treatment process can be discovered in a timely manner, and the denitrification effect can be improved by adjusting the amount of carbon source added, thereby reducing the total nitrogen concentration in the effluent and improving the denitrification effect of sewage treatment. This method combines water temperature factors and feedback regulation of the total nitrogen concentration in the effluent, and has strong adaptive adjustment capabilities. It can adjust the amount of carbon source added in real time according to the actual situation in the sewage treatment process, effectively control various indicators in the sewage treatment process, ensure that the effluent water quality meets the relevant standards and requirements, and thus reduce the difficulty and cost of sewage treatment.
[0006] Optionally, the step of obtaining the feedforward carbon source addition amount according to the first temperature compensation coefficient specifically includes: obtaining a first influent flow rate, a first influent total nitrogen concentration, and a first nitrate nitrogen concentration at the end of the filter; Inputting the first temperature compensation coefficient, the first influent flow rate, the first influent total nitrogen concentration, and the first nitrate nitrogen concentration into a pre-trained first feedforward model to obtain a feedforward carbon source addition amount; The first feedforward model is D 前馈 =K T '×(α1A1+β1B1+γ1C1)×d,D 前馈 is the feedforward carbon source addition amount, A1 is the first influent flow rate, B1 is the first influent total nitrogen concentration, C1 is the first nitrate nitrogen concentration, α1, β1, γ1 are the weight coefficients of the corresponding parameters, and d is the safety correction factor.
[0007] Optionally, the steps before obtaining the first correction value include: According to the first effluent total nitrogen concentration, the absolute value of the error value of the effluent total nitrogen is obtained; the error value e(t)=E0-E', where E0 is the target value of the effluent total nitrogen concentration and E' is the first effluent total nitrogen concentration; Determining whether the absolute value is less than a set error threshold; If not, obtain the first correction amount; If so, add carbon source according to the feedforward carbon source addition amount.
[0008] By adopting the above technical solution, the absolute value of the error value of the effluent total nitrogen is calculated and compared with a set error threshold. When the absolute value is less than the error threshold, it indicates that the current feedforward carbon source addition amount has brought the effluent total nitrogen concentration within an acceptable error range. In this case, the carbon source is added directly according to the feedforward carbon source addition amount, avoiding unnecessary correction operations. This prevents carbon source waste caused by excessive adjustment of the carbon source addition amount, reducing the cost of sewage treatment. When the absolute value is greater than the error threshold, it indicates that the current carbon source addition amount may not meet the sewage treatment needs, causing the effluent total nitrogen concentration to deviate significantly from the target value. Obtaining a first correction amount and adjusting the carbon source addition amount can ensure that the carbon source addition is more accurately matched to the actual needs of sewage treatment, improve the denitrification effect, and ensure that the effluent water quality is consistently up to standard. Frequent adjustments to the carbon source addition amount may cause certain impacts on the sewage treatment system and affect system stability. By setting an error threshold, corrections are only made when the error in the effluent total nitrogen concentration exceeds a certain range. This avoids frequent adjustments to the carbon source addition amount due to minor errors, reduces system fluctuations, and enables more stable operation of the sewage treatment system.
[0009] Optionally, the specific steps of obtaining the first correction value include: Obtain the first current sampling error, the first previous sampling error, and the first two previous sampling errors of the total nitrogen in the effluent water; input the first current sampling error, the first previous sampling error, and the first two previous sampling errors into a pre-built correction model to obtain a first correction value; the correction model is ΔD(k) ’ =-(K p ’ ·[e(k) ’ -e(k-1) ’ ]+K i ’ e(k) ’ +K d ’ ·[e(k) ’ -2e(k-1) ’ +e(k-2) ’ ]), ΔD(k) ’ is the first correction value, e(k) ’ is the first current sampling error, e(k-1) ’ is the sampling error of the first previous time, e(k-2) ’ is the sampling error of the first two times, K p ’ , K i ’ , K d ’ are proportional, integral, and differential coefficients, respectively, ΔD(k) ’A negative value indicates a reduction in the amount of addition, ΔD(k) ’ A positive value indicates an increase in the addition amount.
[0010] By employing the above technical solution, by obtaining the first current sampling error, the first previous sampling error, and the first two previous sampling errors of effluent total nitrogen and inputting them into a pre-built correction model, it is possible to comprehensively consider the effluent total nitrogen errors over multiple time periods. The wastewater treatment process is a dynamic one, and errors at a single point in time may be affected by random factors and may not fully reflect the true state of the system. The comprehensive utilization of multi-stage error information can more accurately capture the changing trends and patterns of effluent total nitrogen concentration, thereby making the first correction calculated by the correction model more consistent with actual needs and improving the accuracy of carbon source addition adjustments. In actual wastewater treatment processes, random factors may cause abnormal fluctuations in effluent total nitrogen concentration at certain moments. Calculating the correction based solely on the current sampling error may result in over- or under-adjustment of the carbon source addition. A comprehensive analysis combining the previous and two previous sampling errors can effectively reduce the interference of these random factors, making the correction calculation more stable and reliable. Accurate correction calculation helps avoid system fluctuations caused by over-adjustment of carbon source addition. In wastewater treatment systems, large fluctuations in carbon source addition can adversely affect microbial growth and metabolism, thereby compromising treatment effectiveness. By integrating multi-stage error information to calculate the first correction amount, adjustments to the carbon source addition can be made more smoothly and gradually, reducing the risk of system fluctuations and improving system stability. The first correction amount calculated using the correction model can align the carbon source addition amount with the error in the effluent total nitrogen concentration, ensuring that microorganisms have sufficient carbon source for denitrification reactions, effectively reducing the effluent total nitrogen concentration and improving the denitrification effect of wastewater treatment.
[0011] Optionally, the carbon source addition and adjustment method further comprises: If the actual water temperature is higher than the second temperature threshold, a second temperature compensation coefficient is obtained. Obtaining an absolute addition amount according to the second temperature compensation coefficient; Obtaining the total nitrogen concentration of the second effluent; obtaining a second correction amount according to the second effluent total nitrogen concentration; Obtaining a second final addition amount according to the second correction amount and the absolute addition amount; According to the second final addition amount, a carbon source is added.
[0012] By employing this technical solution, when the actual water temperature exceeds the second temperature threshold, the activity and metabolic rate of microorganisms will differ from those in normal or low-temperature environments. Obtaining the second temperature compensation coefficient and using it to derive the absolute addition amount allows precise adjustments to the changing carbon source demand of microorganisms in high-temperature environments. High temperatures may accelerate microbial metabolism and increase their carbon source consumption. Using the temperature compensation coefficient, the amount of carbon source added can be appropriately increased or decreased to ensure sufficient and appropriate carbon sources for microbial growth and metabolism, thereby ensuring effective pollutant decomposition and removal during the wastewater treatment process and maintaining stable system operation. Obtaining the second effluent total nitrogen concentration and obtaining a second correction amount allows real-time adjustments to the carbon source addition amount based on the actual denitrification effect. Total nitrogen is a key indicator in wastewater treatment. By monitoring the second effluent total nitrogen concentration, problems in the denitrification process can be promptly identified. If the total nitrogen concentration is too high, it may indicate insufficient carbon source addition and require an increase in addition. Conversely, if the total nitrogen concentration is too low, it may indicate excessive carbon source addition, resulting in waste. By adjusting the absolute addition amount using a second correction factor, carbon source addition can more precisely meet denitrification requirements, improving the denitrification efficiency of wastewater treatment. This method not only considers carbon source addition adjustments in low-temperature environments but also adds a mechanism for high-temperature environments, enabling the wastewater treatment system to better adapt to varying water temperature conditions. Whether low or high, the system automatically adjusts its carbon source addition strategy based on the actual water temperature, enhancing its adaptability and flexibility.
[0013] Optionally, the step of obtaining the absolute addition amount according to the second temperature compensation coefficient includes: obtaining a second influent flow rate, a second influent total nitrogen concentration, and a second nitrate nitrogen concentration at the end of the filter; The second influent flow rate, the second influent total nitrogen concentration, and the second nitrate nitrogen concentration are input into the pre-trained second feedforward model to obtain the basic addition amount. The second feedforward model is: A2 is the second influent flow rate, B2 is the second influent total nitrogen concentration, C2 is the second nitrate nitrogen concentration, α2, β2, γ2 are the weight coefficients of the corresponding parameters; According to the basic addition amount and the second temperature compensation coefficient, the absolute addition amount is obtained. The absolute addition amount D 绝对 =K T ‘’ ×A2×D 基础 .
[0014] Optionally, the steps before obtaining the second outlet water total nitrogen concentration include: Obtain the actual concentration value of chemical oxygen demand in effluent; Determining whether the actual concentration value is less than a set concentration threshold; If yes, obtain the total nitrogen concentration of the second effluent; If not, then obtain the mandatory addition amount according to the absolute addition amount, wherein the mandatory addition amount = 70% of the absolute addition amount; The carbon source is added according to the mandatory addition amount.
[0015] By adopting the above technical solution, the actual concentration of chemical oxygen demand (COD) in the effluent reflects, to a certain extent, the organic matter content in the wastewater. When the actual concentration value is less than the set concentration threshold, it indicates that the wastewater contains relatively low amounts of usable organic matter. In this case, obtaining the second effluent total nitrogen concentration and further adjusting the carbon source addition amount can more accurately adjust the carbon source addition based on denitrification needs. When the actual concentration value is greater than the set concentration threshold, it means that the wastewater itself contains a high amount of organic matter, which can provide a carbon source for microorganisms to a certain extent. In this case, determining the mandatory addition amount (70% of the absolute addition amount) based on the absolute addition amount can avoid excessive carbon source addition, reduce carbon source waste, improve resource utilization efficiency, and reduce wastewater treatment costs. If the absolute addition amount is still used when the organic matter content in the wastewater is high, the carbon source may be excessive, causing a shock to the wastewater treatment system. Excessive carbon source may drastically change the metabolic environment of microorganisms, affecting their growth and activity, and even reducing the system's treatment efficiency. By setting a mandatory addition amount, excessive carbon source addition can be avoided to a certain extent, reducing the impact on the wastewater treatment system and ensuring stable operation of the system. A stable carbon source addition helps maintain the balance of the microbial community in the sewage treatment system. The stability of the microbial community is crucial to the effectiveness of sewage treatment, and excessive or insufficient carbon source addition can disrupt the balance of the microbial community. Adjusting the carbon source addition amount according to the actual concentration of the effluent chemical oxygen demand can provide a relatively stable living environment for microorganisms, allowing the microbial community to maintain a good metabolic state, thereby ensuring the stable operation and treatment effect of the sewage treatment system. The carbon source addition adjustment method based on multi-indicator judgment can more comprehensively consider various factors in the sewage treatment process and improve the reliability of the treatment effect. Through the coordinated control of the effluent chemical oxygen demand and total nitrogen, the uncertainty that may be caused by the control of a single indicator is reduced, and the sewage treatment system can operate more stably and reliably.
[0016] In a second aspect, the present application provides a carbon source addition and regulation system for sewage treatment, which adopts the following technical solution: A carbon source addition and regulation system for sewage treatment, comprising: A data acquisition module is used to obtain the actual water temperature value of sewage in the sewage treatment plant; A judgment module is used to judge whether the actual water temperature value is lower than a set first temperature threshold or higher than a set second temperature threshold; a data processing module is used to obtain a first temperature compensation coefficient when the actual water temperature value is lower than the first temperature threshold. The first temperature compensation coefficient T ref is the reference temperature, T is the actual water temperature, ΔT is the temperature gradient threshold, ΔT=T ref - a first temperature threshold; and obtaining a feedforward carbon source addition amount based on the first temperature compensation coefficient; the data acquisition module is further used to obtain a first outlet water total nitrogen concentration; the data processing module is used to obtain a first correction amount based on the first outlet water total nitrogen concentration, and obtain a first final addition amount based on the first correction amount and the feedforward carbon source addition amount; The carbon source adding module is used to add the carbon source according to the first final addition amount.
[0017] In a third aspect, the present application provides a terminal that adopts the following technical solution: A terminal, comprising: A memory storing a carbon source addition adjustment program for sewage treatment; The processor is used to execute the program stored in the memory to implement the steps of the above-mentioned carbon source addition and adjustment method for sewage treatment.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute the above-mentioned carbon source addition and adjustment method for sewage treatment.
[0019] In summary, this application has at least the following beneficial effects: When the actual water temperature value is lower than the first temperature threshold, the feedforward carbon source addition amount is adjusted by obtaining the first temperature compensation coefficient. Under low temperature conditions, the activity of microorganisms usually decreases, and the efficiency of carbon source utilization will also be affected. This method takes this factor into account and increases the amount of carbon source added through the temperature compensation coefficient to meet the metabolic needs of microorganisms in a low temperature environment, ensuring the normal growth and metabolism of microorganisms during sewage treatment, thereby maintaining the stable operation of the sewage treatment system. The first effluent total nitrogen concentration is obtained, and the first correction amount is obtained based on the concentration, and then the final addition amount is adjusted. Total nitrogen is one of the important indicators in sewage treatment. By monitoring and feedback correction of the effluent total nitrogen concentration, problems with poor denitrification effects in the sewage treatment process can be discovered in a timely manner, and denitrification can be improved by adjusting the amount of carbon source added, thereby reducing the effluent total nitrogen concentration and improving the denitrification effect of sewage treatment. This method combines the water temperature factor and the feedback regulation of the effluent total nitrogen concentration, and has a strong adaptive adjustment ability. It can adjust the amount of carbon source added in real time according to the actual situation in the sewage treatment process, effectively control various indicators in the sewage treatment process, ensure that the effluent water quality meets the relevant standards and requirements, and thus reduce the difficulty and cost of sewage treatment. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a first flow chart of an embodiment of the method of the present application; Figure 2 This is a second flow chart of the method embodiment of the present application; Figure 3 This is a third flow chart of the method embodiment of the present application; Figure 4 This is a fourth flow chart of the method embodiment of the present application; Figure 5 This is the fifth flow chart of the method embodiment of the present application. DETAILED DESCRIPTION
[0021] To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will be combined with the appended drawings of the embodiments of the present invention. Figure 1 -Attached Figure 5 The technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0022] The first embodiment of the present application discloses a method for adding and regulating a carbon source for sewage treatment. Figure 1 As an embodiment of the carbon source addition and adjustment method, the carbon source addition and adjustment method may include S110-S180: S110, obtaining the actual water temperature of the sewage in the sewage treatment plant; S120, determining whether the actual water temperature is lower than a set first temperature threshold or higher than a set second temperature threshold; S130, if the actual water temperature is lower than the first temperature threshold, obtaining a first temperature compensation coefficient; S140, obtaining a feedforward carbon source addition amount according to a first temperature compensation coefficient; S150, obtaining the total nitrogen concentration of the first outlet water; S160, obtaining a first correction amount according to the first outlet water total nitrogen concentration; S170, obtaining a first final addition amount according to the first correction amount and the feedforward carbon source addition amount; S180, adding a carbon source according to the first final addition amount.
[0023] Specifically, the sewage temperature can be measured using an online temperature detector placed within the sewage. A first temperature threshold is lower than a second temperature threshold. When the actual water temperature is lower than the first temperature threshold, it indicates a low temperature, such as in winter. When the actual water temperature is higher than the second temperature threshold, it indicates a high temperature, such as in summer.
[0024] When the actual water temperature is lower than the first temperature threshold: First temperature compensation coefficient T ref is the reference temperature, T is the actual water temperature, ΔT is the temperature gradient threshold, ΔT=T ref -First temperature threshold. The reference temperature is set according to the optimal temperature for the bacterial flora, for example, the reference temperature is set at 12°.
[0025] Then, a first influent flow rate is obtained by a flow meter, a first influent total nitrogen concentration is obtained by a total nitrogen online analyzer, and a first nitrate nitrogen concentration at the end of the filter is obtained by a nitrate nitrogen detector; The first temperature compensation coefficient, the first influent flow rate, the first influent total nitrogen concentration and the first nitrate nitrogen concentration are input into the first feedforward model trained in advance to obtain the feedforward carbon source addition amount; the first feedforward model is D 前馈 =K T '×(α1A1+β1B1+γ1C1)×d,D 前馈 is the feedforward carbon source addition amount, A1 is the first influent flow rate, B1 is the first influent total nitrogen concentration, C1 is the first nitrate nitrogen concentration, α1, β1, γ1 are the weight coefficients of the corresponding parameters, and d is the safety correction factor.
[0026] Reference Figure 2 After obtaining the first effluent total nitrogen concentration through the total nitrogen online analyzer, before obtaining the first correction value, it is necessary to execute S210-S240: S210, obtaining an absolute value of an error value of the total nitrogen in the outlet water according to the first total nitrogen concentration in the outlet water; S220, determining whether the absolute value is less than a set error threshold; S230, if not, obtaining a first correction value; S240: If yes, add carbon source according to the feedforward carbon source addition amount.
[0027] Specifically, the error value e(t)=E0-E ’ , E0 is the target value of total nitrogen concentration in effluent, E ’ is the total nitrogen concentration of the first effluent.
[0028] Then, the first current sampling error, the first previous sampling error, and the first two previous sampling errors of the total nitrogen in the effluent are obtained; The first current sampling error, the first previous sampling error, and the first two previous sampling errors are input into a pre-built correction model to obtain a first correction value; the correction model is ΔD(k) ’ =-(K p ’ ·[e(k) ’ -e(k-1) ’ ]+K i ’ ·e(k) ’ +K d ’ ·[e(k) ’ -2e(k-1) ’ +e(k-2) ’ ]), ΔD(k) ’ is the first correction value, e(k) ’ is the first current sampling error, e(k-1) ’ is the sampling error of the first previous time, e(k-2) ’ is the sampling error of the first two times, K p ’ , K i ’ , K d ’ are proportional, integral, and differential coefficients, respectively, ΔD(k) ’ A negative value indicates a reduction in the amount of addition, ΔD(k) ’ A positive value indicates an increase in the amount added. 终 ‘ =D 前馈 +ΔD(k) ’ ; The sampling error is the error value.
[0029] When adding a carbon source according to the first final addition amount or the feedforward carbon source addition amount, it is necessary to compare it with the set maximum addition amount and minimum addition amount. If the first final addition amount or the feedforward carbon source addition amount exceeds the maximum addition amount, it is added according to the maximum addition amount. If it is less than the minimum addition amount, it is added according to the minimum addition amount. When adding a carbon source, it is distributed according to the proportion: the front end of the anoxic zone: 68% of the total addition amount, the filter mixing tank: 32% of the total addition amount.
[0030] Reference Figure 3 The carbon source addition and adjustment method also includes S310-S360: S310, if the actual water temperature is higher than the second temperature threshold, obtaining a second temperature compensation coefficient; S320, obtaining an absolute addition amount according to a second temperature compensation coefficient; S330, obtaining the total nitrogen concentration of the second outlet water; S340, obtaining a second correction value according to the second outlet water total nitrogen concentration; S350, obtaining a second final addition amount according to the second correction amount and the absolute addition amount; S360, adding a carbon source according to the second final addition amount.
[0031] Specifically, the second temperature compensation coefficient
[0032] Reference Figure 4 , according to the second temperature compensation coefficient, the step of obtaining the absolute addition amount may include S410-S430: S410, obtaining a second influent flow rate, a second influent total nitrogen concentration, and a second nitrate nitrogen concentration at the end of the filter tank; S420, inputting the second influent flow rate, the second influent total nitrogen concentration, and the second nitrate nitrogen concentration into a pre-trained second feedforward model to obtain a basic addition amount; S430: Obtain an absolute addition amount according to the basic addition amount and the second temperature compensation coefficient.
[0033] Specifically, the second feedforward model is Absolute addition amount D 绝对 =K T ''×A2×D 基础 ; A2 is the second inlet flow rate, B2 is the second inlet total nitrogen concentration, C2 is the second nitrate nitrogen concentration, α2, β2, γ2 are the weight coefficients of the corresponding parameters.
[0034] Reference Figure 5 The steps before obtaining the second outlet water total nitrogen concentration may include S510-S550: S510, obtaining the actual concentration value of the chemical oxygen demand of the effluent; S520, determining whether the actual concentration value is less than a set concentration threshold; S530, if yes, obtain the second outlet water total nitrogen concentration; S540, if not, obtain the mandatory addition amount according to the absolute addition amount, where the mandatory addition amount = 70% of the absolute addition amount; S550, adding a carbon source according to a mandatory addition amount.
[0035] Specifically, the chemical oxygen demand of the effluent can be determined by measuring the magnitude of the current or potential through the oxidation-reduction reaction between electrodes and organic matter in the water sample to generate current or potential changes.
[0036] The specific steps for obtaining the second correction amount according to the second effluent total nitrogen concentration are as follows: Obtain the second current sampling error, the second previous sampling error, and the second two previous sampling errors of the total nitrogen in the effluent; input the second current sampling error, the second previous sampling error, and the second two previous sampling errors into the pre-built correction model to obtain the second correction value; the correction model is ΔD(k) ” =-(K p ” ·[e(k) ‘’ -e(k-1) ‘’ ]+K i ‘’ ·e(k) ‘’ +K d ‘’ ·[e(k) ‘’ -2e(k-1) ‘’ +e(k-2) ‘’ ]), ΔD(k) ‘’ is the second correction value, e(k) ‘’ is the second current sampling error, e(k-1) ‘’ is the sampling error before the second time, e(k-2) ‘’ is the sampling error of the first two times, K p ‘’ , K i ‘’ , K d ‘’ are proportional, integral, and differential coefficients, respectively, ΔD(k) ‘’ A negative value indicates a reduction in the amount of addition, ΔD(k) ‘’ A positive value indicates an increase in the amount added. 终 ‘’ =D 绝对 +ΔD(k) ‘’ .
[0037] Adding the carbon source according to the second final addition amount, or adding the carbon source according to the mandatory addition amount can specifically be: Distribute according to the proportion, D 终 ‘’ or D 强制 It is composed of 0.6× sodium acetate + 0.3× glucose. Among them, 70% D 终 ‘’ or 70% D 强制 Added at the aerobic end reflux point, 30% D 终 ‘’ or 30% D 强制 Add to the water inlet of the secondary sedimentation tank.
[0038] The frequency of the sodium acetate solution pump can be adjusted to The addition rate of glucose powder can be adjusted to
[0039] A scenario of this implementation is as follows: Before adjusting the addition of the carbon source, first obtain the actual water temperature value of the sewage, and then determine whether the actual water temperature value is lower than the first temperature threshold or higher than the second temperature threshold; if the actual water temperature value is lower than the first temperature threshold, obtain the first temperature compensation coefficient, and then obtain the first inlet flow rate, the first inlet total nitrogen concentration and the first nitrate nitrogen concentration, and obtain the feedforward carbon source addition amount according to the first feedforward model; then further obtain the effluent total nitrogen concentration, and according to the effluent total nitrogen concentration target value, obtain the absolute value of the error value of the effluent total nitrogen, and then determine whether the absolute value is less than the error threshold. If so, further compare with The maximum addition amount is compared with the minimum addition amount, and then addition is made according to the comparison result, wherein 68% of the total addition amount is added at the front end of the anoxic zone, and the rest is added to the filter mixing tank; if not, it is necessary to obtain the first current sampling error of the total nitrogen in the effluent, the first previous sampling error, and the first two previous sampling errors, and then obtain the first correction amount according to the correction model; then the first correction amount and the feedforward carbon source addition amount are summed to obtain the first final addition amount, and then the first final addition amount is compared with the maximum addition amount and the minimum addition amount, and then addition is made according to the comparison result, and the addition method is as described above.
[0040] Based on the above method embodiment, the second embodiment of the present application discloses a carbon source addition and regulation system for sewage treatment. The carbon source addition and regulation system may include: A data acquisition module is used to obtain the actual water temperature value of sewage in the sewage treatment plant; The judgment module is used to judge whether the actual water temperature value is lower than the set first temperature threshold or higher than the set second temperature threshold; the data processing module is used to obtain the first temperature compensation coefficient when the actual water temperature value is lower than the first temperature threshold. T refis the reference temperature, T is the actual water temperature, ΔT is the temperature gradient threshold, ΔT=T ref - a first temperature threshold; and obtaining a feedforward carbon source addition amount according to the first temperature compensation coefficient; The data acquisition module is further used to obtain the first effluent total nitrogen concentration; the data processing module is used to obtain a first correction amount according to the first effluent total nitrogen concentration, and to obtain a first final addition amount according to the first correction amount and the feedforward carbon source addition amount; The carbon source adding module is used to add the carbon source according to the first final addition amount.
[0041] The modules of the carbon source addition and regulation system for sewage treatment correspond one to one with the carbon source addition and regulation method for sewage treatment, and will not be elaborated on here.
[0042] The third embodiment of the present application provides a terminal. As an implementation of the terminal, the terminal may include: a memory and a processor; wherein, The memory is used for storing a carbon source addition adjustment program for sewage treatment; The processor is used to execute the program stored in the memory to implement the steps of the above-mentioned carbon source addition and adjustment method for sewage treatment.
[0043] The memory may be communicatively connected to the processor via a communication bus, and the communication bus may be an address bus, a data bus, a control bus, or the like.
[0044] In addition, the memory may include a random access memory (RAM) and may also include a non-volatile memory (NVM), such as at least one disk storage.
[0045] The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0046] The fourth embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute the above-mentioned carbon source addition and adjustment method for sewage treatment.
[0047] Computer-readable storage media can be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more available media. Available media can include magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives).
[0048] The above are all preferred embodiments of the present application and are not intended to limit the scope of protection of the present application. Unless otherwise stated, any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features. In other words, unless otherwise stated, each feature is merely an example of a series of equivalent or similar features.
Claims
1. A method for adding and regulating a carbon source for sewage treatment, characterized in that: include: Obtain the actual water temperature of sewage in the sewage treatment plant; Determine whether the actual water temperature is lower than a set first temperature threshold or higher than a set second temperature threshold; If the actual water temperature is lower than the first temperature threshold, a first temperature compensation coefficient is obtained. T ref is the reference temperature, T is the actual water temperature, ΔT is the temperature gradient threshold, ΔT=T ref - a first temperature threshold; Obtaining a feedforward carbon source addition amount according to the first temperature compensation coefficient; Obtaining the total nitrogen concentration of the first effluent; Obtaining a first correction amount according to the first outlet water total nitrogen concentration; Obtaining a first final addition amount according to the first correction amount and the feedforward carbon source addition amount; According to the first final addition amount, a carbon source is added.
2. The method for adding a carbon source for sewage treatment according to claim 1, wherein: The step of obtaining the feedforward carbon source addition amount according to the first temperature compensation coefficient specifically includes: Obtaining a first influent flow rate, a first influent total nitrogen concentration, and a first nitrate nitrogen concentration at the end of the filter; Inputting the first temperature compensation coefficient, the first influent flow rate, the first influent total nitrogen concentration, and the first nitrate nitrogen concentration into a pre-trained first feedforward model to obtain a feedforward carbon source addition amount; The first feedforward model is D 前馈 =K T '×(α1A1+β1B1+γ1C1)×d,D 前馈 is the feedforward carbon source addition amount, A1 is the first influent flow rate, B1 is the first influent total nitrogen concentration, C1 is the first nitrate nitrogen concentration, α1, β1, γ1 are the weight coefficients of the corresponding parameters, and d is the safety correction factor.
3. The method for adding and regulating a carbon source for sewage treatment according to claim 1, wherein: The steps before obtaining the first correction amount include: According to the first effluent total nitrogen concentration, the absolute value of the error value of the effluent total nitrogen is obtained; the error value e(t)=E0-E ’ , E0 is the target value of total nitrogen concentration in effluent, E ’ is the total nitrogen concentration of the first effluent; Determining whether the absolute value is less than a set error threshold; If not, obtain the first correction amount; If so, add carbon source according to the feedforward carbon source addition amount.
4. The method for adding and regulating a carbon source for sewage treatment according to claim 1, wherein: The specific steps of obtaining the first correction amount include: Obtaining the first current sampling error, the first previous sampling error, and the first two previous sampling errors of the total nitrogen in the effluent; The first current sampling error, the first previous sampling error, and the first two previous sampling errors are input into a pre-built correction model to obtain a first correction value; the correction model is ΔD(k) ’ =-(K p ’ ·[e(k) ’ -e(k-1) ’ ]+K i ’ ·e(k) ’ +K d ’ ·[e(k) ’ -2e(k-1) ’ +e(k-2) ’ ]), ΔD(k) ’ is the first correction value, e(k) ’ is the first current sampling error, e(k-1) ’ is the sampling error of the first previous time, e(k-2) ’ is the sampling error of the first two times, K p ’ , K i ’ , K d ’ are proportional, integral, and differential coefficients, respectively, ΔD(k) ’ A negative value indicates a reduction in the amount of addition, ΔD(k) ’ A positive value indicates an increase in the addition amount.
5. The method for adding and regulating a carbon source for sewage treatment according to claim 1, wherein: The carbon source addition and regulation method further comprises: If the actual water temperature is higher than the second temperature threshold, a second temperature compensation coefficient is obtained. The second temperature compensation coefficient K T ‘’ =e -0.03(T-Tref) ; Obtaining an absolute addition amount according to the second temperature compensation coefficient; Obtaining the total nitrogen concentration of the second effluent; obtaining a second correction amount according to the second effluent total nitrogen concentration; Obtaining a second final addition amount according to the second correction amount and the absolute addition amount; According to the second final addition amount, a carbon source is added.
6. A method for adding and regulating a carbon source for sewage treatment according to claim 5, characterized in that: The step of obtaining the absolute addition amount according to the second temperature compensation coefficient includes: obtaining a second influent flow rate, a second influent total nitrogen concentration, and a second nitrate nitrogen concentration at the end of the filter; The second influent flow rate, the second influent total nitrogen concentration, and the second nitrate nitrogen concentration are input into the pre-trained second feedforward model to obtain the basic addition amount. The second feedforward model is: A2 is the second influent flow rate, B2 is the second influent total nitrogen concentration, C2 is the second nitrate nitrogen concentration, α2, β2, γ2 are the weight coefficients of the corresponding parameters; According to the basic addition amount and the second temperature compensation coefficient, the absolute addition amount is obtained. The absolute addition amount D 绝对 =K T ‘’ ×A2×D 基础 .
7. The method for adding and regulating a carbon source for sewage treatment according to claim 5, characterized in that: The steps before obtaining the second outlet water total nitrogen concentration include: Obtain the actual concentration value of chemical oxygen demand in effluent; Determining whether the actual concentration value is less than a set concentration threshold; If yes, obtain the total nitrogen concentration of the second effluent; If not, then obtain the mandatory addition amount according to the absolute addition amount, wherein the mandatory addition amount = 70% of the absolute addition amount; The carbon source is added according to the mandatory addition amount.
8. A carbon source addition and regulation system for sewage treatment, characterized in that: include: A data acquisition module is used to obtain the actual water temperature value of sewage in the sewage treatment plant; A judgment module, configured to judge whether the actual water temperature is lower than a set first temperature threshold or higher than a set second temperature threshold; A data processing module is configured to obtain a first temperature compensation coefficient when the actual water temperature is lower than the first temperature threshold. The first temperature compensation coefficient T ref is the reference temperature, T is the actual water temperature, ΔT is the temperature gradient threshold, ΔT=T ref - a first temperature threshold; and obtaining a feedforward carbon source addition amount based on the first temperature compensation coefficient; the data acquisition module is further used to obtain a first outlet water total nitrogen concentration; the data processing module is used to obtain a first correction amount based on the first outlet water total nitrogen concentration, and obtain a first final addition amount based on the first correction amount and the feedforward carbon source addition amount; The carbon source adding module is used to add the carbon source according to the first final addition amount.
9. A terminal, characterized in that: include: A memory storing a carbon source addition adjustment program for sewage treatment; A processor is used to execute the program stored in the memory to implement the steps of the carbon source addition and adjustment method for sewage treatment as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer program is stored which can be loaded by a processor and execute the carbon source addition and adjustment method for sewage treatment as claimed in any one of claims 1 to 7.