Next Article in Journal
Financial Analysis of International Energy Trade: A Strategic Outlook for EU-15
Previous Article in Journal
Life Cycle Assessment of Large-scale Compressed Bio-natural Gas Production in China: A Case Study on Manure Co-digestion with Corn Stover
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Virtual Sensors to Drive Anaerobic Digestion under a Synergetic Controller

by
Hanane Bouchareb
1,
Samia Semcheddine
1,*,
Mohamed Naguib Harmas
2,
Kouider Nacer M’sirdi
3 and
Aziz Naamane
3
1
LEPCI Laboratory, Faculty of Technology, Ferhat Abbas University, Setif 19000, Algeria
2
QUERE Laboratory, Faculty of Technology, Ferhat Abbas University, Setif 19000, Algeria
3
LSIS Laboratory, Aix Marseille University, 13397 Marseille, France
*
Author to whom correspondence should be addressed.
Energies 2019, 12(3), 430; https://doi.org/10.3390/en12030430
Submission received: 29 December 2018 / Revised: 25 January 2019 / Accepted: 26 January 2019 / Published: 29 January 2019
(This article belongs to the Section A4: Bio-Energy)

Abstract

:
A robust synergetic controller using different observers is developed to drive an anaerobic digestion biogas plant. The latter, a highly nonlinear process requires prohibitive cost sensors. Furthermore, some variables are downright immeasurable rendering control an intricate challenge. Only biogas flow which can be effectively measured, due to an easily integrated low cost sensor, will be considered available and used in this work. The proposed synergetic controller depends on immeasurable system states, thus observers will be used for state estimation. Substrate and biomass concentrations required in the synergetic control law will be obtained via three virtual sensors developed for a one stage fermentation process model. The model, used in this paper, consider the mechanization phase responsible for the biogas production because the objective is to improve the amount of methane produced. A simulation study of the biogas plant control with the proposed technique is compared to a classic PID (Proportional, Integral and Derivative) approach. Comparative studies are provided for observation and control via computer simulations.

1. Introduction

Anaerobic digestion (AD) is a biotechnological process widely used and a promising method to solve some energy and ecological problems in the agriculture and the agro-industry.
Production of biogas via anaerobic fermentation has been recently one of the most interesting research topics for two essential reasons: Elimination of organic waste (ecological aspect) and renewable power production (energetical aspect). The renewable energy produced in gas form is coined biogas in which methane constitutes the main component. This biotechnological process is described by a two stages reaction diagram expressed by a second order nonlinear model.
Biogas production by fermentation of organic material takes place in bioreactors tanks continuously stirred. The organic material is cleaned up by microorganisms producing biogas essentially composed of methane, carbon dioxide and compost in the absence of oxygen [1,2,3]. Different biogases with non-methane content can also be produced through this bioprocess [4] but will not be addressed in this work. Biogas is an additional source of energy which can possibly back up dwindling fossil fuels sources. Besides it has an indirect positive effect in the reduction of greenhouse gas emission, yet this complex process can become unstable in open-loop configuration and production of biogas may even exhaust itself if left without control.
Many factors enter in the biogas production among which the biodegradable organic matter content of the raw material subjected to anaerobic digestion, the sub-layer pH and temperature of the digester process [2]. An equally significant issue consists in the control approach applied to supervise the global biogas production process, which is to be addressed in this paper.
Implementation of the proposed synergetic control law based on the nonlinear system model entails the knowledge of the complete state vector of the system. Thus, it is necessary to reconstruct the state vector, using virtual sensors, i.e., observers, to generate the proposed control law. Observers are used in conjunction with a robust synergetic controller to address both robustness and variable unavailability issues in a tracking problem in a biogas production process.
This seemingly simple biogas process has revealed to be a challenging control topic, not only because it exhibits high nonlinearity features, but the controllers proposed in the literature rely on a problematic to a non-measurable system variable.
The contribution in this work lies in the fact that both biomass and substrate concentrations are estimated through different virtual sensors while the only really measurable variable relied upon, in the development of the control laws, is the output gas flow Q which is indeed readily available. Further enhancement comes from the synergetic control approach used, which is as robust as SMC (sliding mode control) but without the chattering problem.
Observers are used in conjunction with a robust synergetic controller to address both robustness and variable unavailability issues in a tracking problem in a biogas production process.
The rest of the paper is organized as follows: First, process description is briefly recalled followed by a brief synergetic control section. Introduction of three observers and their corresponding synergetic control laws of a biogas plant are then developed. The results of the simulation are presented and discussed in subsequent sections.

2. Process Description

2.1. Process Outline

These processes are carried out in continuously stirred tank bioreactors (CSTR); Figure 1 gives a basic layout of such a plant. The organic matter is depolluted by microorganisms into biogas (methane and carbon dioxide) and digestate in the absence of oxygen. The liquid medium contains cells and the substrates which are needed for the cell growth and cell production. The feed D is used to control the substrate concentration.
Well-mixed conditions are obtained through continuous stirring with a mechanical agitator. The produced cells are kept in the bioreactor where several control loops ensure that important process parameters, such as pH and temperature, stay close to specified operating conditions. The stirrer speed is often used to be kept constant as long as the liquid medium level is high enough; keeping good mixing in the reactor, the stirrer speed, N, does never fall never below a minimum value.
Cell metabolism can be described by different specific rates of growth μ, among which the Monod type will be used in this paper.

2.2. Process Modeling

Different mathematical models of AD exist in the specialized literature: One-stage, Three-stage and Five-stage model.
The model for the description of the AD process used in this study is the basic one-stage proposed in References [5,6,7,8] devoted to modeling anaerobic digestion obtained by fermentation.
The dynamics of the anaerobic digestion system represented by the model is illustrated by the following first order differential equations system:
{ d X d t = ( μ ( S ) D ) X d S d t = k 1 μ ( S ) X + D ( S i S ) ,
Q = k 2 μ ( S ) X ,
μ = μ m S S + k s .
X is the concentration of the bacterial population (or biomass) (g/L), S is the substrate concentration of complex organic materials in the bioreactor (g/L), S i is the inlet substrate concentration (g/L), k 1 and k 2 are positive constant yield coefficients. D is the dilution rate and μ is the specific bacterial growth expressed by Equation (3). D and μ are both expressed in day−1.
The measured output flow rate Q , in biogas (methane) is given by Equation (2). It’s expressed in L/day.
The last Equation (3) expresses the growth rate of methanogen bacteria that is obtained through the Monod model. μ m is the maximum specific growth rate (day−1) and k s is a saturation parameter (g/L).
Specific values used in this work are given by:
k 1 = 6.7 ,   k 2 = 16.8 ,   S i = 7.4   g / L ,   μ m = 0.35   day 1 ,   k s = 2.3   g / L .
X , S , Q , μ ( S ) are always positive values. D is defined as the ratio of the flow to the volume of the bioreactor [1],
D = Q i n V = d V d t V ; D 0 .
The plant model can be written in the following standard form:
{ d x ( t ) d t = f 0 ( x , u , t ) y = C ( S ) x ,
where x is the state vector defined by: x = ( X S ) , f 0 ( x , μ , t ) = ( μ X D X k 1 μ X + ( S i S ) D ) , u is the control input: u = D and C ( S ) = ( k 2 μ ( S ) 0 ) .
The initial conditions are calculated at the equilibrium point given by Q 0 = 0.453 L/day and D 0 = 0.025 day−1 [5]. By replacing in the Equation (1), we obtain at the equilibrium: ( μ 0 D 0 ) X 0 = 0 and k 1 μ 0 X 0 + D 0 ( S i S 0 ) = 0 .
The bacterial concentration although small is never zero at startup, so: μ 0 = D 0 = 0.025 day−1.
Replacing μ 0 by its value in Equation (3), leads to: 0.35 S 0 S 0 + 2.3 = 0.025
The resolution of this equation gives:
S 0 = S ( 0 ) = 0.1769   g / L .
Replacing S 0 by its value, leads to: 6.7 * 0.025 * X 0 + 0.025 ( 7.4 0.1769 ) = 0
The resolution of this equation gives:
X 0 = X ( 0 ) = 1.0781   g / L .

2.3. Reference Process Modeling Analysis

The anaerobic fermentation process modeling has attracted interest as early as 1976 as can be seen in Reference [9] which tackled animal waste digestion modeling. Ensuing work of Bastin and Dochain [10] who proposed a one-stage reaction model for methane fermentation process formalized by a nonlinear second order system much used in the specialized literature. The methane fermentation process is a complex system with many time varying parameters, as well as variables that cannot be accurately measured if at all. Furthermore, the specific bacteria growth rate can take three different forms as proposed in Reference [10] and can greatly impact simulation results. Nevertheless, models based on Monod bacteria growth rate have been used extensively in biogas production control algorithms reinforced by Simeonov’s work [11] in which Monod, Contois, and Haldane bacteria growth rates were investigated in a thorough experimental study assessing positively the second order nonlinear model developed in Reference [10] and used in this paper. Indeed, the author in Reference [11] concludes that the model is suitable for control algorithms testing when considering continuous biogas fermentation.
This simple nonlinear model has been extensively used since then to evaluate control algorithms, such as extremum seeking [6], SMC [7,12,13,14], composite adaptive control [5], Hinf control [15], and fuzzy logic control [16].
More complex models, such as three and five stage reaction scheme models, exist, but only one-stage model using Monod’s growth rate form will be considered in this paper as continuous methane production is envisaged.

3. Bioreactor Control

CSTR is often a preferred way of methane production because the additional substrate is well integrated into agricultural cultures during the fermentation process.

3.1. Synergetic Control

Consider a nonlinear SISO dynamic process of any dimension described by Equation (4).
The development of the synergetic control starts with the choice of a macro variable Ψ [17,18,19], which contains the desired control constraints, as well as the performance specifications:
Ψ = ψ ( x , t ) .
Ψ is the macro-variable and ψ ( x , t ) is a function of the state variables and the time chosen by the designer.
The synergetic control forces the system to evolve on the domain chosen by the user:
ψ = 0 .
The macro-variable is forced to evolve in a desired way through a chosen constraint indicated by Equation (10) according to the desired dynamics for the evolution of ψ .
T ψ ˙ + ψ = 0 T > 0 .
T is the convergence speed. Differentiation of the macro-variable gives:
d ψ ( x , t ) d t = d ψ ( x , t ) d x d x d t .
The substitution of Equation (10) in Equation (9) leads to writing:
T d ψ ( x , t ) d t f 0 ( x ) + ψ ( x , t ) = 0 .
By solving Equation (11) the control law can thus be obtained as a function of the state vector, the macro-variable, the convergence speed and time.
u = h ( x , ψ ( x , t ) , T , t )
Applying this approach to the underlying bioprocess starts by a choice of a synergetic macro-variable defined by:
Ψ = e = Q d Q ,  
where Q d represents constant desired gas flow output.
Expressing the constraints of Equation (9) with the synergetic macro-variable defined by Equation (13) gives:
T ( Q ˙ d Q ˙ ) + e = 0 .
Calculation of Q ˙ :
Q ˙ = k 2 ( μ ˙ X + μ X ˙ ) ,
Q ˙ = k 2 ( μ m S ˙ ( k s + S ) μ m S ˙ S ( k s + S ) 2 X + μ ( μ X D X ) ) .
Basic simplification steps lead to:
Q ˙ = k 2 X ( μ m S ˙ k s ( k s + S ) 2 + μ 2 μ D ) .
Using: B = μ m ( S + k s ) 2
One can rewrite Equation (17) as:
Q ˙ = k 2 X ( B S ˙ k s + μ 2 μ D ) .
Replacing S ˙ by its value:
Q ˙ = k 2 X ( B k 1 μ X k s + B D S i k s B D S k s + μ 2 μ D ) .
Porting Equation (19) in Equation (14), gives:
T Q ˙ d T k 2 X ( B k 1 μ X k s + B D S i k s B D S k s + μ 2 μ D ) + e = 0 ,
T Q ˙ d T k 2 X μ ( B k 1 X k s + μ ) T k 2 X D ( B S i k s B S k s μ ) + e = 0 .
Straightforward steps lead to the controller of Equation (22):
D = T Q ˙ d T k 2 X μ ( B k 1 X k s + μ ) + e T k 2 X ( B S i k s B S k s μ )
It is to be noted that biomass concentration X is never null.
Synergetic control stability proof
Stability of the closed loop system can be proved using the following Lyapunov function:
V = 1 2 ψ 2 .
The derivative of the Lyapunov function is given by:
V ˙ = ψ ψ ˙ .
From the constraints of Equation (9) one obtains:
ψ ˙ = ψ T .
Replacing Equation (25) in Equation (24) leads to:
V ˙ = ψ 2 T < 0 ,   for   ψ 0 .
The closed loop system is thus stable under synergetic control.

3.2. PID Control

A standard PID (Proportional, Integral and Derivative) controller, widely used in industry [20] will be used in this paper with the aim of comparison. The controller in this case can be expressed by the following relation:
D p i d = k p e ( t ) + k i e ( τ ) d τ + k d d e ( t ) d t .
As defined before for the fermentation process e ( t ) expresses the error between the desired biogas output flow Q d and the actual plant output Q .
The PID gains used in this paper are taken from reference [5] for comparative purposes.
k p = 4 , k i = 1.5   and   k d = 2
The desired trajectory of the output is selected in the form of steps of increasing heights for 200 days [5]:
0.45 L/day before 30 days; 1 L/day between 30 days and 60 days; 1.5 L/day between 60 days and 90 days; 1.8 L/day between 90 days and 120 days; 2.1 L/day between 120 days and 200 days.

3.3. Simulation Results

Simulation is carried out under the environment Matlab/Simulink for a 200 days period using PID and synergetic controllers. The system is simulated using Equations (1)–(3), (5), (6), (22) and (27), process parameters, given in Section 2.2, and PID parameters, given in Section 3.2.
It is evident, as can be noted from Figure 2, that good tracking occurs under both controllers, using the parameters of the PID mentioned above given in Reference [5] and T = 0.01 for the synergetic approach. It is observed that PID control provides a faster response than the proposed approach at transitions and in the event of reference variations. Besides PID control presents elevated peaks at transitions. Overall synergetic performance, such as response time and steady-state error are improved compared to PID.
On the other hand, PID control signal requires much more dilution rate D at transitions time than when synergetic control is used as can be seen in Figure 3c. Indeed, the highest level of required flow rate (6.1/day) for synergetic control occurs at 120 days but reaches a much higher level (61/day) for PID control lasting for 0.01 day(≈15min).Thus, the value of these peaks is more reasonable with the synergetic control. These results have been obtained making the assumption that the complete system state vector was readily available and used in the control laws used; however, the state vector is not completely measurable. A more realistic approach would be therefore to rely on an observer devoted to the estimation of both concentrations X and S. Different observers are introducing in the ensuing sections and simulation results discussed.

4. Observers Based Control

In practice it is not possible to measure on-line the different bacterial concentrations or their specific growth rates. Other biochemical variables important for the AD processes are too costly to be measured. In practice, only the biogas flow rate can be easily measured on-line. One of the most promising ways to solve this problem is the design of software sensors for estimating biochemical variables on the basis of an AD mathematical model and some easily measured process parameters [8,13,21].
Hence in this paper, only the use of reliable gas sensor will be exploited in the control of this biotechnological process, other required state variables will be estimated through different observers (Figure 4).
As with most applications, biogas production does not offer readily accessible variables for the direct measure to empower developed control law; the latter requires nevertheless high cost sensors not often accurate or always available. These drawbacks on top of difficulties in maintenance and eventual induced stochastic errors are often mitigated by the use of algorithms coined observers designed to replace hard sensors efficiently. Such observers are used to estimate substrate S and biomass X of the bioreactor previously described.
Different observers for this kind of process have been proposed in the literature but these observers rely on measurements made on the substrate which is not only very costly but may be less efficient than gas flow measurement.
Furthermore, it is practically impossible to measure on-line different bacterial concentrations or specific growth rates [21]. Other biochemical variables are too expensive to be measured. In practice, the biogas flow rate sensor is not expensive and it is easily integrated in the process. So, it’s the only measured variable and virtual sensors are used in the following section to estimate bacterial and substrate concentrations variables.

4.1. Observer with Linear Feedback

Observer dynamics are given by Equation (28). The estimated state vector x ^ is computed using the plant model, to which a linear corrective term is added [8], to ensure the convergence of the state estimate x ^ to the system state x.
Defining the output estimation error ε = y y ^ then the observer may be written as:
{ d x ^ d t = f ( x ^ ) + g ( x ^ ) u + L ε y ^ = h ( x ^ ) ,
where, L is the observer gain.
Using the observer above onto the biogas process, where Q ˜ = Q Q ^ ( Q ˜ = ε ) , leads to Equation (29). Biomass, substrate concentration and biogas flow rate estimations are given by Equation (29):
{ d X ^ d t = ( μ ( S ^ ) D ) X ^ + L 1 Q ˜ d S ^ d t = k 1 μ ( S ^ ) X ^ + D ( S i S ^ ) + L 2 Q ˜ Q ^ = k 2 μ ( S ^ ) X ^ .
Global stability proof
After observation, e defined in the control section becomes e = Q d Q ^ which can be written e = Q d Q ^ + Q Q . Steady state as has already been proven Q d Q = 0 so e = Q Q ^ = Q ˜ .
Observation errors are given by Equation (30):
{ X ˜ = X X ^ S ˜ = S S ^ Q ˜ = Q Q ^ = k 2 ( μ ( S ) X μ ( S ^ ) X ^ ) .
Introducing a new variable given by Equation (31)
Z ˜ = 1 k 1 S ˜ .
The error dynamics can be rewritten as:
{ X ˜ ˙ = ( μ ( S ) D ) X ˜ ( μ ( S ^ ) μ ( S ) ) X ^ L 1 Q ˜ S ˜ ˙ = k 1 μ ( S ) X ˜ D S ˜ k 1 ( μ ( S ) μ ( S ^ ) ) X ^ L 2 Q ˜ Z ˜ ˙ = 1 k 1 S ˜ ˙ = μ ( S ) X ˜ D Z ˜ ( μ ( S ) μ ( S ^ ) ) X ^ L 2 k 1 Q ˜ .
Choosing the following Lyapunov function:
V g = 1 2 α Z ˜ 2 + 1 2 β X ˜ 2 + 1 2 γ Q ˜ 2 .
Its derivative is given by:
V ˙ g = α Z ˜ Z ˜ ˙ + β X ˜ X ˜ ˙ + γ Q ˜ Q ˜ ˙ .
Making use of Equation (32) into Equation (34) leads to:
V ˙ g = α Z ˜ ( μ ( S ) X ˜ D Z ˜ ( μ ( S ) μ ( S ^ ) ) X ^ L 2 k 1 Q ˜ ) + β X ˜ ( ( μ ( S ) D ) X ˜ ( μ ( S ^ ) μ ( S ) ) X ^ L 1 Q ˜ ) γ T Q ˜ 2 .
Noting that:
Q ˜ = k 2 μ ( S ) X k 2 μ ( S ^ ) X ^ = k 2 μ ( S ) X k 2 μ ( S ^ ) X ^ k 2 μ ( S ) X ^ + k 2 μ ( S ) X ^ = k 2 μ ( S ) X ˜ + k 2 ( μ ( S ) μ ( S ^ ) ) X ^ .
So:
1 k 2 Q ˜ μ ( S ) X ˜ = ( μ ( S ) μ ( S ^ ) ) X ^ .
Porting Equation (37) into Equation (35) gives:
V ˙ g = α Z ˜ ( D Z ˜ 1 k 2 Q ˜ L 2 k 1 Q ˜ ) + β X ˜ ( D X ˜ + 1 k 2 Q ˜ L 1 Q ˜ ) γ T Q ˜ 2 ,
V ˙ g = α D Z ˜ 2 β D X ˜ 2 Z ˜ Q ˜ ( α k 2 + α L 2 k 1 ) X ˜ Q ˜ ( β k 2 + β L 1 ) γ T Q ˜ 2 .
This can be written as:
V ˙ g = ( Z ˜ X ˜ Q ˜ ) M 1 ( Z ˜ X ˜ Q ˜ ) .
With:
M 1 = ( α D 0 1 2 ( α k 2 + α L 2 k 1 ) 0 β D 1 2 ( β k 2 + β L 1 ) 1 2 ( α k 2 + α L 2 k 1 ) 1 2 ( β k 2 + β L 1 ) γ T ) .
For V ˙ < 0 it is necessary that the symmetric matrix M 1 be positive definite.
For M 1 positive definite, it is necessary that the main minors of M 1 are positive [22].
Δ 1 a = α D
α D > 0   for   α > 0
Δ 2 a = | α D 0 0 β D | = α β D 2
α β D 2 > 0   for   α > 0   and   β > 0
Δ 3 a = | α D 0 1 2 ( α k 2 + α L 2 k 1 ) 0 β D 1 2 ( β k 2 + β L 1 ) 1 2 ( α k 2 + α L 2 k 1 ) 1 2 ( β k 2 + β L 1 ) γ T |
Δ 3 a = α D ( γ T β D 1 4 ( β k 2 + β L 1 ) 2 ) β D 1 4 ( α k 2 + α L 2 k 1 ) 2
Δ 3 a > 0   so ,   α D ( γ T β D 1 4 ( β k 2 + β L 1 ) 2 ) β D 1 4 ( α k 2 + α L 2 k 1 ) 2 > 0
γ T D β 4 ( 1 k 2 + L 1 ) 2 α 4 ( 1 k 2 + L 2 k 1 ) 2 > 0
For simplification purpose the following steps are taken:
α = β   and  
L 1 = L 2 k 1 .
This leads to:
γ T D α 2 ( 1 k 2 2 + ( L 2 k 1 ) 2 ) > 0
using   2 γ D α T > 1 k 2 2   give :  
0 < L 2 < k 1 2 γ D α T 1 k 2 2
Stability is thus guaranteed with gains defined by Equations (42) and (43).
A nonlinear robust observer based on sliding mode techniques will be recalled in the ensuing section.

4.2. Sliding Mode Observers

As stated above only Q measurements are available, estimates of both biomass and substrate concentrations will be obtained via a first order sliding mode observer.

4.2.1. First Order Sliding Mode Observer (FOSMO)

The sliding mode observer [23,24] is given by:
{ d x ^ d t = f ( x ^ ) + g ( x ^ ) u + K 1 ε + L s i g n σ y ^ = h ( x ^ ) .
The used term of correction is proportional to the discontinuous function sign applied to the output error where s i g n ( σ ) is defined by: sign ( σ ) = { 1 s i σ > 0 1 s i σ < 0
Applying FOSMO to the biogas process lead to:
{ d X ^ d t = ( μ ( S ^ ) D ) X ^ + K 1 Q ˜ + L 1 a s i g n ( σ ) d S ^ d t = k 1 μ ( S ^ ) X ^ + D ( S i S ^ ) + K 1 Q ˜ + L 2 a s i g n ( σ )
Q ^ = k 2 μ ( S ^ ) X ^
where L 1 a , L 2 b and K 1 are observer gains and σ = Q ˜ is the sliding surface [23,24].
Global stability proof
Introduction of the variable Z ˜ . defined by Equation (31), Equation (32) can be written for this observer as:
{ X ˜ ˙ = ( μ ( S ) D ) X ˜ ( μ ( S ^ ) μ ( S ) ) X ^ K 1 Q ˜ L 1 a s i g n Q ˜ S ˜ ˙ = k 1 μ ( S ) X ˜ D S ˜ k 1 ( μ ( S ) μ ( S ^ ) ) X ^ K 1 Q ˜ L 2 b s i g n Q ˜ Z ˜ ˙ = 1 k 1 S ˜ ˙ = μ ( S ) X ˜ D Z ˜ ( μ ( S ) μ ( S ^ ) ) X ^ K 1 k 1 Q L 2 b k 1 s i g n Q ˜
Choosing Lyapunov function V g , Equation (33), and proceeding in the same manner as before for V ˙ g Equations (34) and (35), one can write:
V ˙ g = α Z ˜ ( D Z ˜ 1 k 2 Q ˜ K 1 k 1 Q ˜ L 2 a k 1 s i g n ( Q ˜ ) ) + β X ˜ ( D X ˜ + 1 k 2 Q ˜ K 1 Q ˜ L 1 a s i g n ( Q ˜ ) ) γ T Q ˜ 2 ,
V ˙ g = α D Z ˜ 2 α Z ˜ Q ˜ ( 1 k 2 + K 1 k 1 ) α L 2 a k 1 Z ˜ s i g n ( Q ˜ ) β D X ˜ 2 β X ˜ Q ˜ ( 1 k 2 + K 1 ) β L 1 a X ˜ s i g n ( Q ˜ ) γ T Q ˜ 2 .
Eliminating the sign function using s i g n ( Q ˜ ) = Q ˜ | Q ˜ | .
And noting that Q ˜ is small but not null lead to:
V ˙ g = α D Z ˜ 2 α Z ˜ Q ˜ ( 1 k 2 + K 1 k 1 + L 2 a k 1 | Q ˜ | ) β D X ˜ 2 β X ˜ Q ˜ ( 1 k 2 + K 1 + L 1 a | Q ˜ | ) γ T Q ˜ 2 ,
V ˙ g = ( S ˜ X ˜ Q ˜ ) M 2 ( S ˜ X ˜ Q ˜ ) ,
With :   M 2 = ( α D 0 α 2 ( 1 k 2 + Q ˜ k 1 + L 2 a k 1 | Q ˜ | ) 0 β D β 2 ( 1 k 2 + K 1 + L 1 a | Q ˜ | ) α 2 ( 1 k 2 + K 1 k 1 + L 2 a k 1 | Q ˜ | ) β 2 ( 1 k 2 + K 1 + L 1 a | Q ˜ | ) γ T ) .
For V ˙ g < 0 , it is necessary that the matrix M 2 be positive definite.
For M 2 positive definite, it is necessary that the main minors of M 2 be positive.
Δ 1 b = α D
α D > 0   for   α > 0
Δ 2 b = | α D 0 0 β D | = α β D 2
α β D 2 > 0   for   α > 0   and   β > 0
Δ 3 b = | α D 0 α 2 ( 1 k 2 + K 1 k 1 + L 2 a k 1 | Q ˜ | ) 0 β D β 2 ( 1 k 2 + K 1 + L 1 a | Q ˜ | ) α 2 ( 1 k 2 + K 1 k 1 + L 2 a k 1 | Q ˜ | ) β 2 ( 1 k 2 + K 1 + L 1 a | Q ˜ | ) γ T |
Δ 3 b = α D ( γ T β D 1 4 ( β k 2 + β K 1 + β L 1 a | Q ˜ | ) 2 ) β D 1 4 ( α k 2 + α K 1 k 1 + α L 2 a k 1 | Q ˜ | ) 2
Δ 3 b > 0
Such   that :   γ T D β 4 ( 1 k 2 + K 1 + L 1 a | Q ˜ | ) 2 α 4 ( 1 k 2 + K 1 k 1 + L 2 a k 1 | Q ˜ | ) 2 > 0
Some simplification steps taken before are carried out a gain:
For α = β ,   K 1 = 0 ,
L 1 a = L 2 a k 1 .
Leading   to   :   γ T D α 2 ( 1 k 2 2 + ( L 2 a k 1 | Q ˜ | ) 2 ) > 0
For   2 γ D α T > 1 k 2 2
The gain may be obtained by Equation (51):
0 < L 2 a < k 1 2 γ D Q ˜ 2 α T Q ˜ 2 k 2 2
Stability is thus guaranteed with gains defined by Equations (50) and (51).

4.2.2. Sliding Mode Observer with PD Based Surface

In this section, the proposed sliding surface is PD (Proportional derived). Proceeding as before, the observer gain term is replaced by L 1 b  for the first state variable X and L 2 b for the second state variable S .
{ d X ^ d t = ( μ ( S ^ ) D ) X ^ + K 2 Q ˜ + L 1 b s i g n ( σ ) d S ^ d t = k 1 μ ( S ^ ) X ^ + D ( S i S ^ ) + K 2 Q ˜ + L 2 b s i g n ( σ )
where σ = λ Q ˜ + Q ˜ ˙ is the new sliding surface [25].
Stability proof is similar to Section 4.2.1.
Interested readers in the observability of the bioprocess are referred to the excellent and detailed work of Selişteanu [13].

5. Simulation and Results

For the bioprocess represented by Equations (1)–(3), simulation results are presented for the synergetic controller given by Equation (24), the process parameters used in Section 2, T = 0.01 , L 1 = 5 , L 2 = 33.5 , L 1 a = 2 , L 2 a = 13.4 , λ = 50 , L 1 b = 2 , L 2 b = 13.4 .
The observer based synergetic control is obtained by replacing X by X ^ , S by S ^ , μ ( S ) by μ ( S ^ ) , as well as B by B ^ in Equation (22) for all the virtual sensors written as (53):
D = T Q ˙ d T k 2 X ^ μ ^ ( B ^ k 1 X ^ k s + μ ^ ) + ( Q ^ Q d ) T k 2 X ^ ( B ^ S i k s B ^ S ^ k s μ ^ )
Simulation of the biogas process control using:
a) Linear feedback observer based synergetic control.
Starting with Q ˜ ( 0 ) 0 as shown in Figure 5a good tracking occurs under the proposed observer based synergetic controller. As previously found the control signal in Figure 5b although vitiated with peaks at transitions show much lower magnitude values as opposed to the PID approach. Rapidly dwindling estimation errors for both concentrations X and S are given in Figure 5c,d.
b) First order sliding mode observer based synergetic control.
c) Sliding mode observer with PD based surface based synergetic control.
Simulation results for biogas output flow rate, biomass and substrate concentration obtained for three observers under the proposed control approach used are given in Figure 5, Figure 6 and Figure 7 showing good overall tracking performance. Figure 5a, Figure 6a, Figure 7a show that the three observers act in the same way on biogas flow rate evolution. Figure 5b, Figure 6b and Figure 7b show the control effort necessary to achieve the desired tracking. It is to be noted that the magnitude of the synergetic control signal is much lower than under PID control for all observers. Estimation errors magnitude orders are similar for the three observers used as can be seen in Figure 8a, and faster response time for the SMO based proposed control technique this comes out with chattering as expected. As anticipated response time using the two type of SMO is faster than that obtained with the linear feedback observer (Figure 8a).
Figure 8b,c shows the chattering phenomenon for the two sliding mode observers. Switching/chattering of sliding mode observation signals crossing the sliding mode surfaces is an important characteristic in all current sliding mode observation systems. To eliminate the chattering, the property of the zero-error convergence is to replace the sign function by the sigmoid function in sliding mode observation and also control signals. Nevertheless, this phenomenon is less important when introducing PD surface.

6. Conclusions

Among the multiple sources of renewable energy, biogas is produced by anaerobic digestion. The controlled use of this natural phenomenon makes it possible to recover organic waste while producing biogas that can replace natural gas for many applications.
In this paper, the synergetic approach has been proposed for trajectory tracking in the context of the fermentation of organic waste in a biogas bioreactor.
Contrarily to many other published works in which bacterial and substrate concentrations are used in the control algorithms, in this work a more realistic approach, based on effectively measurable biogas flow rate, is developed based on synergetic control methodology.
Simulation results compared to a typical PID control show not only the improvement in response time and static error, but a drastic reduction in the control signal occurs as well.
Synergetic control depends on the substrate and biomass concentrations that are not easily measurable, that which justifies the use of virtual sensors. Thus, three observers have been used in conjunction with the proposed approach in tracking a nonlinear trajectory showing acceptable performances. Substrate concentration estimation allows possible to estimate the growth rate of methanogen bacteria.
Finally, we summarize the perspectives in four main areas:
  • Optimization of the control parameters via meta-heuristic techniques;
  • Use of the three and five stage process models;
  • Use of higher order sliding mode observers in order to eliminate the chattering phenomenon caused by the sliding mode observers used;
  • Experimental validation should be carried out to assess the soundness of the studied control algorithm and the effectiveness of all the proposed observers.

Author Contributions

H.B. and S.S. built the simulation model, M.N.H. proposed the controller K.N.M. and A.N. proposed the observers and studied the stability. All the authors analyzed the results and revised the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tan Deublein, L.; Steinhauser, A. Biogas from Waste and Renewable Resources; Wiley-VCH: Weinheim, Germany, 2008; ISBN 978-3-527-31841-4. [Google Scholar]
  2. Simeonov, I.; Naamane, A. Hybrid mathematical modeling and PH control of anaerobic waste waters treatment processes. In Proceedings of the AIS’2002, Lisbon, Portugal, 7–10 April 2002. [Google Scholar]
  3. Achiraya, J.; Kornpong, V.; Malinee, L.; Sumaeth, C. Three-stage anaerobic sequencing batch reactor (ASBR) for maximum methane production: Effects of COD loading rate and reactor volumetric ratio. Energies 2018, 11, 1543. [Google Scholar]
  4. Cermy, M.; Vitezova, M.; Vitez, T.; Bartos, M.; Kushkevych, I. Variation in the distribution of hydrogen producers from the clostridiales order in biogas reactors depending on different input substrates. Energies 2018, 11, 3270. [Google Scholar] [CrossRef]
  5. Wang, H.P.; Kalchev, B.; Tian, Y.; Simeonov, I.; Christov, N.; Vasseur, C. Composed adaptive control for a second-order nonlinear model of a biotechnological process. In Proceedings of the 19th Mediterranean Conference on Control and Automation, Corfu, Greece, 20–23 June 2011. [Google Scholar]
  6. Wang, H.P.; Krstic, M.; Bastin, G. Optimizing bioreactors by extremum seeking. Int. J. Adapt. Control Signal Process. 1999, 13, 651–669. [Google Scholar] [CrossRef] [Green Version]
  7. Kravaris, C.; Savoglidis, G. Tracking the singular arc of a continuous bioreactor using sliding mode control. J. Frankl. Inst. 2012, 349, 1583–1601. [Google Scholar] [CrossRef]
  8. Ramjug-Ballgobin, R.; Rugooputh, H.C.S.; Busawon, K.; Binns, R. Observer-based control for biomass regulation in wastewater treatment plants. In Proceedings of the International Conference on Computing, Communication and Security, Pamplemousses, Mauritius, 4–5 December 2015. [Google Scholar]
  9. Hill, D.T.; Barth, C.L. A dynamical model for simulation of animal waste digestion. J. Watt. Pol. Contr. Fed 1977, 49, 2126–2143. [Google Scholar]
  10. Bastin, G.; Dochain, D. On-line Estimation and Adaptive Control of Bioreactors; Elsevier Science Publishers: Amsterdam, The Netherlands; New York, NY, USA, 1990; ISBN 0-444-88430-0. [Google Scholar]
  11. Simeonov, I. Mathematical modeling and parameters estimation of anaerobic fermentation processes. Bioprocess Eng. 1999, 21, 377–381. [Google Scholar] [CrossRef]
  12. Tham, H.J.; Ramachandran, K.B.; Hussain, M.A. Sliding mode control for a continuous bioreactor. Chem. Biochem. Eng. Q. 2003, 4, 267–275. [Google Scholar]
  13. Selişteanu, D.; Petre, E.; Rasvan, V.B. Sliding mode and adaptive sliding-mode control of a class of nonlinear bioprocesses. Int. J. Adapt. Control Signal Process Wiley Inter Sci. 2007, 21, 795–822. [Google Scholar] [CrossRef]
  14. Veluvolu, K.C.; Soh, Y.C.; Cao, W. Robust observer with sliding mode estimation for nonlinear uncertain systems. Iet Control Theory Appl 2007, 5, 1533–1540. [Google Scholar] [CrossRef]
  15. Kalchev, B.; Christov, N.; Simeonov, I. Output-feedback Hinf control for a second-order nonlinear model of a biotechnological process. Compt. Rend. Acad. Bulg. 2011, 64, 125–132. [Google Scholar]
  16. Arulmozhi, N. Bioreactor control using fuzzy logic controllers. Appl. Mech. Mater. 2014, 573, 291–296. [Google Scholar] [CrossRef]
  17. Mehdi, L.; Barazane, L. Synergetic speed control of squirrel motor drives. Rev. Room Sci. Tech Électrotechn. et Énerg. 2016, 61, 111–115. [Google Scholar]
  18. Kolesnikov, A.; Veselov, G. Modern Applied Control Theory: Synergetic Approach in Control Theory; TSURE Press: Taganrog, Russia, 2000. [Google Scholar]
  19. Bouchama, Z.; Essounbouli, N.; Harmas, M.N.; Hamzaoui, A.; Saoudi, K. Reaching phase free adaptive fuzzy synergetic power system stabilizer. Int. J. Electr. Power Energy Syst. 2016, 77, 43–49. [Google Scholar] [CrossRef]
  20. Visioli, A. Practical PID Control; Springer: London, UK, 2006. [Google Scholar]
  21. Simeonov, I.; Diop, S.; Kalchev, B.; Chorukova, E.; Christov, N. Design of Soft-Ware Sensors for Unmeasurable Variables of Anaerobic Digestion Processes; Bulgarian Academy of Sciences, Science and Engineering: Sofia, Bulgaria, 2012; pp. 307–311. [Google Scholar]
  22. Gilbert, G.T. Positive definite matrices and Sylvester’s criterion. Am. Math. Mon. 1991, 98, 44–46. [Google Scholar] [CrossRef]
  23. Jaballah, B.; M’sirdi, K.N.; Naamane, A.; Hassani, M. Estimation of vehicle longitudinal tire force with FOSMO & SOSMO. Int. J. Sci. Tech. Autom. Control Comput. Eng. 2011, 5, 1516–1531. [Google Scholar]
  24. Rabhi, A.; M’sirdi, K.N.; Naamane, A.; Jaballah, B. Estimation of contact forces and road profile using high order sliding modes. Int. J. Veh. Auton. Syst. 2010, 8, 23–38. [Google Scholar] [CrossRef]
  25. Edwards, C.; Spurgeon, S.K.; Patton, R.J. Sliding mode observers for fault detection and isolation. Automatica 2000, 36, 541–553. [Google Scholar] [CrossRef]
Figure 1. Bioreactor basic schematics.
Figure 1. Bioreactor basic schematics.
Energies 12 00430 g001
Figure 2. Time evolution of biogas flow rate under PID control and synergetic control for T = 0.01.
Figure 2. Time evolution of biogas flow rate under PID control and synergetic control for T = 0.01.
Energies 12 00430 g002
Figure 3. Control signal evolution (a) under synergetic control for T = 0.01 (b) under PID control (c) under PID control zoomed section.
Figure 3. Control signal evolution (a) under synergetic control for T = 0.01 (b) under PID control (c) under PID control zoomed section.
Energies 12 00430 g003
Figure 4. Control based on observer state estimation.
Figure 4. Control based on observer state estimation.
Energies 12 00430 g004
Figure 5. Linear feedback observer based synergetic controller. (a) Time evolution biogas flow rate; (b) control signal evolution; (c) error of the bacterial concentration evolution; (d) error of the substrate concentration evolution.
Figure 5. Linear feedback observer based synergetic controller. (a) Time evolution biogas flow rate; (b) control signal evolution; (c) error of the bacterial concentration evolution; (d) error of the substrate concentration evolution.
Energies 12 00430 g005
Figure 6. Anaerobic digestion first order sliding mode observer based synergetic controller. (a) Biogas flow rate; (b) control signal evolution; (c) estimation error of the concentration of the bacterial population X; (d) estimation error of the concentration of the substrate S.
Figure 6. Anaerobic digestion first order sliding mode observer based synergetic controller. (a) Biogas flow rate; (b) control signal evolution; (c) estimation error of the concentration of the bacterial population X; (d) estimation error of the concentration of the substrate S.
Energies 12 00430 g006
Figure 7. Anaerobic digestion sliding mode observer with PD based surface under a synergetic controller. (a) Biogas flow rate evolution; (b) control signal; (c) error of the concentration of the bacterial population X; (d) error of the concentration of the substrate S.
Figure 7. Anaerobic digestion sliding mode observer with PD based surface under a synergetic controller. (a) Biogas flow rate evolution; (b) control signal; (c) error of the concentration of the bacterial population X; (d) error of the concentration of the substrate S.
Energies 12 00430 g007aEnergies 12 00430 g007b
Figure 8. Comparison between three observers (a) Error evolution of biogas flow rate measured, and biogas flow rate estimated with the virtual sensors; (b) evolution of the real biomass and estimated biomass with three observers; (c) evolution of the real substrate and estimated substrate for three observers.
Figure 8. Comparison between three observers (a) Error evolution of biogas flow rate measured, and biogas flow rate estimated with the virtual sensors; (b) evolution of the real biomass and estimated biomass with three observers; (c) evolution of the real substrate and estimated substrate for three observers.
Energies 12 00430 g008aEnergies 12 00430 g008b

Share and Cite

MDPI and ACS Style

Bouchareb, H.; Semcheddine, S.; Harmas, M.N.; M’sirdi, K.N.; Naamane, A. Virtual Sensors to Drive Anaerobic Digestion under a Synergetic Controller. Energies 2019, 12, 430. https://doi.org/10.3390/en12030430

AMA Style

Bouchareb H, Semcheddine S, Harmas MN, M’sirdi KN, Naamane A. Virtual Sensors to Drive Anaerobic Digestion under a Synergetic Controller. Energies. 2019; 12(3):430. https://doi.org/10.3390/en12030430

Chicago/Turabian Style

Bouchareb, Hanane, Samia Semcheddine, Mohamed Naguib Harmas, Kouider Nacer M’sirdi, and Aziz Naamane. 2019. "Virtual Sensors to Drive Anaerobic Digestion under a Synergetic Controller" Energies 12, no. 3: 430. https://doi.org/10.3390/en12030430

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop