A simple and efficient feedback control strategy for wastewater denitrification
C\'edric Join, Jean Bernier, St\'ephane Mottelet, Michel Fliess,, Sabrina Rechdaoui-Gu\'erin, Sam Azimi, Vincent Rocher

TL;DR
This paper introduces a model-free feedback control strategy for wastewater denitrification, combining intelligent control with open-loop knowledge-based control to improve performance over traditional open-loop methods.
Contribution
A novel model-free control approach with an intelligent controller and open-loop knowledge-based control for better wastewater denitrification management.
Findings
Improved control performance demonstrated through computer simulations.
Effective regulation of multiple output variables with a single input.
Overcoming limitations of open-loop feedforward control.
Abstract
Due to severe mathematical modeling and calibration difficulties open-loop feedforward control is mainly employed today for wastewater denitrification, which is a key ecological issue. In order to improve the resulting poor performances a new model-free control setting and its corresponding "intelligent" controller are introduced. The pitfall of regulating two output variables via a single input variable is overcome by introducing also an open-loop knowledge-based control deduced from the plant behavior. Several convincing computer simulations are presented and discussed.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWastewater Treatment and Nitrogen Removal · Modular Robots and Swarm Intelligence · Advanced Control Systems Optimization
A simple and efficient feedback control strategy for wastewater denitrification
Cédric Join
Jean Bernier
Stéphane Mottelet
Michel Fliess
Sabrina Rechdaoui-Guérin
Sam Azimi
Vincent Rocher
CRAN (CNRS, UMR 7039), Université de Lorraine, BP 239,
54506 Vandœuvre-lès-Nancy, France (e-mail: [email protected])
SIAAP (Syndicat Interdépartemental pour l’Assainissement de l’Agglomération Parisienne), Direction Développement Prospective,
82 avenue Kléber, 92700 Colombes, France
(e-mail: {jean.bernier, sabrina.guerin, sam.azimi, vincent.rocher}@siaap.fr)
TIMR (EA 4297), Sorbonne Universités & Université de Technologie de Compiègne, rue du docteur Schweitzer,
60203 Compiègne, France (e-mail: [email protected])
LIX (CNRS, UMR 7161), École polytechnique, 91128 Palaiseau, France (e-mail: [email protected])
AL.I.E.N. (ALgèbre pour Identification & Estimation Numériques), 24-30 rue Lionnois, BP 60120, 54003 Nancy, France
(e-mail: {cedric.join, michel.fliess}@alien-sas.com)
Projet Non-A, INRIA Lille – Nord-Europe, France
Abstract
Due to severe mathematical modeling and calibration difficulties open-loop feedforward control is mainly employed today for wastewater denitrification, which is a key ecological issue. In order to improve the resulting poor performances a new model-free control setting and its corresponding “intelligent” controller are introduced. The pitfall of regulating two output variables via a single input variable is overcome by introducing also an open-loop knowledge-based control deduced from the plant behavior. Several convincing computer simulations are presented and discussed.
keywords:
Wastewater, biofiltration, denitrification, feedback control design, knowledge-based control, artificial intelligence, model-free control, intelligent P controllers, algebraic estimation techniques, robust performance.
1 Introduction
Maintaining low nitrite concentrations in the effluent is a major ecological issue for wastewater treatment plants (WWTP) due to nitrite’s high toxicity (see, e.g., Capodaglio et al. (2016); Fux et al. (2015); Grady Jr. et al. (2011); Henze et al. (2008); Raimonet et al. (2015); Water Environment Federation (2013)). To this end, the aim of a wastewater post-denitrifying biofilter is to convert nitrate and nitrite () of the effluent into nitrogen gas (N2). The process uses a submerged packed bed biofilm reactor hosting a class of bacteria under anoxic (low/no oxygen) conditions which use the as a source of oxygen when they are fed with a carbon source such as methanol (Samie et al. (2011); Bernier et al. (2014)). On the one hand, underfeed of methanol will limit the reduction of in the process, and as the denitrification is a two step reaction , this can leave some nitrite in the effluent even if this compound was absent in the influent (Rocher et al. (2015)). On the other hand, overfeed of methanol results in elevated effluent biochemical oxygen demand (BOD) and useless operating expenses. In most WWTP using post-denitrifying biofilters, the actual control strategy is mainly of feedforward open-loop type:111See, e.g., Bastin et al. (1990); Bourrel et al. (2000); Cristea et al. (2008); Marsili-Libelli et al. (2002); Olsson et al. (1999); Torres Zúñiga et al. (2012); Wahaba et al. (2009) for most interesting exceptions, i.e., for the use of feedback loops on-line measurements of incoming are combined with wastewater flow to compute an ideal methanol feed rate. But because of process complexity and many types of disturbances, e.g., periodical backwash of biofilters, this is not sufficient to accurately control the nitrite concentration in the effluent. Model-based approaches seem nevertheless to be hard to apply in this context (see, e.g., Grady Jr. et al. (2011); Water Environment Federation (2013)). In fact the dynamics of a denitrifying biofilter has to be described by partial differential equations taking into account concentration gradients, nonlinearities of the biological processes, biofilm clogging and so on (see, e.g., the excellent report by Dochain et al. (2001), and the references therein). Such an exhaustive model needing the identification of numerous parameters is necessary to assess a particular control strategy, like in Section 4. However it cannot reasonably be used for realtime feedback control.
A new model-free control setting (Fliess et al. (2013)) is therefore used.222See, e.g., Join et al. (2010) for the analysis of model-free control in a somehow analogous situation with respect to partial differential equations. The corresponding intelligent P feedback controller is moreover quite easy to implement both from software (Fliess et al. (2013)) and hardware (Join et al. (2013)) standpoints. Many concrete applications have already been developed all over the world. Some have been patented. Lack of space permits here to quote only three recent works that are related to biotechnology: Bara et al. (2016); Lafont et al. (2015); Tebbani et al. (2016). From a purely control-theoretic viewpoint, a major difficulty is encountered: a single input variable must regulate two output variables (see, e.g., Fliess (1989) for an explanation via input-output nonlinear system inversion). A satisfactory practical solution is nevertheless proposed. It is based on an appropriate mixing of a knowledge-based behavior of the plant with a suitable feedback law.
Our paper is organized as follows. Section 2 is sketching wastewater treatment and its corresponding rough description via differential equations. Model-free control and the associated real-time estimation techniques are summarized in Section 3. After presenting our control law, Section 4 displays convincing computer experiments, which are based in this preliminary work on the modeling in Section 2. Some concluding remarks may be found in Section 5.
2 Problem and model
2.1 Dynamic model of the biofilter
The actual denitrifying process is composed of several biofilters operating in parallel with the same influent. A typical unit is displayed in Figure 1. The water is fed from the base of the filter bed, which is composed of beads of expanded clay. A biofilm, where all biological reactions occur, is considered to grow on the media. The biological reactions inside the biofilm are modeled using a modified version of ASM1 (Henze et al. (1987)). This model is widely used to simulate the growth of bacteria and the resulting consumption of carbon and nitrogen pollution occurring in biological wastewater treatment processes. The main modification in this specific case consists in the addition of two-step denitrification to simulate the production and consumption of nitrite during the process. The first two denitrification reactions of ASMN (Hiatt et al. (2008)) were used to this end, and can be summarized as
[TABLE]
The whole dynamics of the biofilter results from the mass balance of the different reacting species, nitrate , nitrite , carbon and biomass . The limited axial dispersion allows to consider that all concentrations are constant in a vertical cross section. The following model with distributed parameters, i.e., a system of partial differential equations, model with a single space dimension, may be written
[TABLE]
for . All species concentrations are given in g/m3. The yield coefficients are given in , the superficial velocity in m/h (flow rate in m3/h divided by the cross-section area) and is the porosity. The specific growth rates and are given by a double Monod-type model (Bastin et al. (1990))
[TABLE]
where is the maximum specific growth rate for species and the affinity constants. The boundary conditions are given by
[TABLE]
where is the methanol concentration at the inlet of the reactor, i.e. the control variable.
Equations (1)-(4) were initially proposed for a drinkable water denitrifying biofilter (see (Bourrel et al. (2000)) and were easily adapted to our specific configuration as only hydraulic parameters and maximum biomass concentration had to be changed. They have been used during the early stage of our project in order to validate our interest for model-free control, but the simulations of Section 4 have been made with the SimBio software. This more realistic setting is built in Matlab with the Simulink toolbox, using submodels already available in the literature. The biofilter hydraulics is approximated with a series of several continuously stirred tank reactors (CSTRs) of equal volume to obtain reactor hydraulics close to the plug-flow model of equations (1)-(3) while maintaining simulation times in a reasonable range. As concentration gradients are observed in thick biofilms, their distributed nature is taken into account in SimBio by dividing the biofilm into several CSTRs through which soluble substrates are able to diffuse (Spengel et al. (1992)). Soluble substrates are brought to and into the biofilm through diffusion, whereas particular components are transferred to the biofilm surface through filtration (Horner et al. (1986); Ives (1970)). Backwash efficiency is modelled as a removal of a fixed proportion of biofilm thickness in each reactor using different removal efficiencies for biomass and for other non-biomass particles. A certain fraction of media mixing across the reactors also occurs during backwash.
This version of SimBio was calibrated on hourly nitrate and nitrite measurements made on the post-denitrification step of the Seine-Centre plant (Bernier et al. (2014)).
2.2 Actual control strategy on the real plant
The control variable value is tuned according to a desired removal of incoming nitrogen, which comes under the form of nitrates (the incoming concentration of nitrite is negligible), i.e., for a target concentration of at the outlet of the reactor, the control law is of the form
[TABLE]
where is an operating coefficient based on pure stoichiometric and yield considerations (Rocher et al. (2015)). This strategy does not take into account the intermediate species (nitrite) and leads to an unstable behavior of its concentration in the effluent. In fact the ratio between the methanol and the total nitrogen (nitrate and nitrite) concentrations in the biofilter plays a major role in the appearance of residual nitrites, but it cannot be controlled with a simple control law as in Equation (5). However, as the nitrite concentration can be measured at the outlet of the biofilter, it can be used as a natural controlled variable in a feedback control strategy.
3 Model-free control
3.1 The ultra-local model
Replace the unknown global system description by the ultra-local model:333For more details, see Fliess et al. (2013).
[TABLE]
where
- •
the control and output variables are and ,
- •
the derivation order of is like in most concrete situations,
- •
is chosen by the practitioner such that and are of the same magnitude.
The following explanations on might be useful:
- •
is estimated via the measures of and ,
- •
subsumes not only the unknown system structure but also any perturbation.
Remark 3.1
In Equation (6) is seldom replaced by (see, e.g., Fliess et al. (2013), and the references therein). Higher order derivatives were never utilized until today.
3.2 Intelligent controllers
The loop is closed by an intelligent proportional controller, or iP,
[TABLE]
where
- •
is a reference trajectory,
- •
is the tracking error,
- •
is the usual tuning gain.
Combining Equations (6) and (7) yields:
[TABLE]
where does not appear anymore. The tuning of , in order to insure local stability, becomes therefore quite straightforward. This is a major benefit when compared to the tuning of “classic” PIDs (see, e.g., Åström et al. (2006, 2008), and the references therein), which
- •
necessitate a “fine” tuning in order to deal with the poorly known parts of the plant,
- •
exhibit a poor robustness with respect to “strong” perturbations and/or system alterations.
3.3 Estimation of
The calculations below stem from algebraic estimation techniques that are borrowed from Fliess et al. (2003, 2008), and Sira-Ramírez et al. (2014).
3.3.1 First approach
The term in Equation (6) may be assumed to be “well” approximated by a piecewise constant function (see, e.g., Godement (1998)). Rewrite then Equation (6) in the operational domain (see, e.g., Erdélyi (1962)):
[TABLE]
where is a constant. We get rid of the initial condition by multiplying both sides on the left by :
[TABLE]
Noise attenuation is achieved by multiplying both sides on the left by . It yields in the time domain the realtime estimate, thanks to the equivalence between and the multiplication by ,
[TABLE]
3.3.2 Second approach
Close the loop with the iP (7):
[TABLE]
Remark 3.2
Note the following facts:
- •
integrals (8) and (9) are low pass filters,
- •
* might be quite small,*
- •
the integrals may of course be replaced in practice by classic digital filters.
4 Numerical experiments
4.1 Control law description
Our control law is displayed by Figure 2:
- •
Equation (5) defines the single control variable in open loop,
- •
the loop is closed via the iP (7).
The aim of methanol injection , i.e., our single input variable,444See Section 2.1 for precise definitions of the quantities associated to the letter . is to regulate the total nitrogen concentration, i.e., two quantities and , namely the nitrate and nitrite wastewater concentrations. The fact, depicted in Figure 3, that is much larger than , is taken into account by regulating via an open-loop knowledge-based control. For model-free control is utilized. For Equations (6)-(7), and were selected. In order to avoid debating the regulation of the resulting value of the iP should be non-negative. If not, the water concentration of nitrate would increase. This is not acceptable.
4.2 Simulations
The mathematical modeling discussed in Section 2.1 is used for the computer simulations. The sampling time period is day.
Quite good results corresponding to several targets are displayed in Figures 4, 5, 6, 7, 8. Important daily perturbations, corresponding to biofilter backwash, have been introduced in order to show more realistic performances. According to the Figures, a small injection of methanol is reducing notably the nitrites and nitrates concentrations in the water which is rejected. Notice however a worsening of the performances if . Let us emphasize that
- •
it is not due to a weakness of our control strategy,
- •
the very nature of the wastewater denitrification, which is detailed at the end of Section 4.1, explains it.
5 Conclusion
This new setting for wastewater denitrification, which seems to be rather promising (see Rocher et al. (2017) for further details), will soon be tested in Paris. Although it has been shown in other applications that model-free control behaves quite well with respect to noise corruptions, it will provide us with more realistic data on noisy measurements, and other perturbations, for water treatment. The results will be reported elsewhere.
{ack}
The authors are thankful to the research program MOCOPÉE555MOCOPÉE is an acronym of the French words ‘MOdélisation Contrôle et Optimisation des Procédés d’Épuration des Eaux.” for its technical and financial support.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Åström et al. (2006) Åström K.J., Hägglund T. (2006). Advanced PID Control . Instrument Soc. Amer.
- 2Åström et al. (2008) Åström K.J., Murray R.M. (2008). Feedback Systems: An Introduction for Scientists and Engineers . Princeton University Press.
- 3Bara et al. (2016) Bara O., Fliess M., Join C., Day J., Djouadi S.M. (2016). Model-free immune therapy: A control approach to acute inflammation. Europ. Contr. Conf. , Aalborg. https://hal.archives-ouvertes.fr/hal-01341060/en/
- 4Bastin et al. (1990) Bastin G., Dochain D. (1990). On-Line Estimation and Adaptive Control of Bioreactors . Elsevier.
- 5Bernier et al. (2014) Bernier J., Rocher V., Lessard P. (2014). Modelling headloss and two-step denitrification in a full-scale wastewater post-denitrifying biofiltration plant. J. Environ. Engin. Sci. , 9, 171–180.
- 6Bourrel et al. (2000) Bourrel S., Dochain D., Babary J., Queinnec I. (2000). Modelling, identification and control of a denitrifying biofilter. J. Process Contr. , 10, 73–91.
- 7Capodaglio et al. (2016) Capodaglio A.G., Hlavínek P., Raboni M. (2016). Advances in wastewater nitrogen removal by biological processes: state of the art review. Ambiente & Água , 11, 250–267.
- 8Cristea et al. (2008) Cristea V.-M., Pop C., Agachi P.S. (2008). Model Predictive Control of the Waste Water Treatment Plant Based on the Benchmark Simulation Model No.1-BSM 1. B. Braunschweig & X. Joulia (Eds): 18th Europ. Symp. Comput. Aided Process Engin. - ESCAPE 18 , Elsevier.
