Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2022 Sep 15;22(18):6988. doi: 10.3390/s22186988

A Simplified Algorithm for Setting the Observer Parameters for Second-Order Systems with Persistent Disturbances Using a Robust Observer

Alejandro Rincón 1,2,*, Fredy E Hoyos 3, John E Candelo-Becerra 3
Editor: Simon Tomažič
PMCID: PMC9502853  PMID: 36146332

Abstract

The properties of the convergence region of the estimation error of a robust observer for second-order systems are determined, and a new algorithm is proposed for setting the observer parameters, considering persistent but bounded disturbances in the two observation error dynamics. The main contributions over closely related studies of the stability of state observers are: (i) the width of the convergence region of the observer error for the unknown state is expressed in terms of the interaction between the observer parameters and the disturbance terms of the observer error dynamics; (ii) it was found that this width has a minimum point and a vertical asymptote with respect to one of the observer parameters, and their coordinates were determined. In addition, the main advantages of the proposed algorithm over closely related algorithms are: (i) the definition of observer parameters is significantly simpler, as the fulfillment of Riccati equation conditions, solution of LMI constraints, and fulfillment of eigenvalue conditions are not required; (ii) unknown bounded terms are considered in the dynamics of the observer error for the known state. Finally, the algorithm is applied to a model of microalgae culture in a photobioreactor for the estimation of biomass growth rate and substrate uptake rate based on known concentrations of biomass and substrate.

Keywords: state estimation, robust observer, bioprocess monitoring, nonlinear systems

1. Introduction

In the monitoring and control of biological and biochemical processes, it is crucial to have real-time knowledge of variables such as the concentrations of biomass, products or reactants; the growth rate of microorganisms; and the substrate consumption rate [1,2,3,4]. Online knowledge of the substrate uptake rate is needed for the application of automatic control [4], whereas online knowledge of the specific growth rate (μ) is usually required in the following cases: (i) in automatic control with the biomass concentration as the output [5]; (ii) in automatic control with μ as the output (see [6,7]); (iii) in the maximization of growth rate via an extremum seeking controller [8]; (iv) in the maximization of the gaseous outflow rate via an extremum seeking controller [9]. The concentrations and reaction rates can be estimated by using state observers combined with the measurement of some state variables, and a known mass balance model for the measured states [1,10,11,12]. Control design for multi-agent systems is another active area of observer design. In these systems, observers are designed to estimate the unmeasured states of adjacent agents [13,14,15].

Robust observer designs have been developed for tackling uncertainty in the dynamics of observation errors. Common designs consider: (i) a lack of knowledge in the dynamics of the observation error for the unknown state; (ii) an unknown term of the unknown state in the dynamics of the observation error for the known state [10,16,17,18,19,20,21,22]. In the case that the dynamics of the observation error for the known state involves an additional additive uncertain term and it is persistent but bounded, the steady state estimation involves error, even if a discontinuous observer is used. However, the estimation error depends on the observer parameters, so it can be reduced to a certain extent, provided that the known limits of the uncertainty [23,24].

In [25], a tuning procedure is proposed for setting the parameters of an extended state observer (ESO) for a closed loop second-order system with measurement noise and bounded external disturbance. The used observer is a Luenberger-like extended state, which is intended to estimate the external disturbance. The stability of the resulting estimation error dynamics is determined based on the state matrix, and two choices are proposed for setting the observer gains that lead to the real negative eigenvalues of the state matrix. Furthermore, the time-dependent bound of the transient behavior of the observation errors is determined, which gives the exponential convergence rate and the width of the convergence region in terms of observer parameters and some disturbances of the dynamics of the observation errors. However, the time derivative of the external disturbance is required to be bounded, and the input gain is required to be locally Lipschitz continuous.

In [21], an observer is designed to estimate the parameters of the tunneling current in a Scanning Tunneling Microscope (STM). The measurement of the tunneling current (it) is described by additive noise and first-order sensor dynamics, with the current it as its input. The observer is used for estimating the tunneling current it. The estimate is expressed in terms of Laplace transforms of the actual current and additive noise. The observer parameters must be chosen to have poles with strictly negative real parts in the transfer functions. A simple choice is proposed, which yields a second-order characteristic polynomial with a damping coefficient of one. However, no external disturbance is considered in the first-order sensor dynamics.

In [10], a filtered high gain observer is designed for a class of non-uniformly observable systems, and then it is applied to a phytoplanktonic growth model. Bounded disturbances and noisy measurements are considered, although bounded disturbances are not considered in the dynamics of the known state. The observation errors exponentially converge to a compact set whose width is a function of the observer parameters and bounds of the disturbances and measurement noise. Thus, the boundary of the transient behavior of the observation errors is determined. Furthermore, an improved observer is formulated for the case of sampled outputs, and the transient boundary of the observation errors is determined. Finally, the observer is applied to a model of continuous culture of phytoplankton, with an estimation of the substrate and cell quota concentrations based on biomass concentration measurements. The main limitations of the observer design are: (i) bounded disturbances are not considered in the dynamics of the observation error for the known state; (ii) some conditions of a Riccati differential equation must be satisfied.

In [23], a super-twisting observer is designed for a two-dimensional system, considering disturbances in the two observation error dynamics. Two disturbance types are considered in the observation error dynamics: in the first, the upper bound is the function of the observation error for the known state (known observation error); in the second, the upper bound is constant. The observation errors converge to zero in finite time for the first disturbance type. Thus, the convergence is proved, and the convergence time is determined. The observation errors converge to a compact set for the second disturbance type. Thus, the convergence region is determined, but the time-dependent bound of the transient behavior of the observation errors and the convergence times are not determined. In addition, the observer design algorithm is proposed, which involves the selection of design parameters. Finally, the observer and the algorithm are applied to a model of microalgae culture in a photobioreactor, performing an estimation of biomass growth rate, substrate uptake rate, and internal quota. However, the observer algorithm involves an iterative solution of LMIs, and the observer involves a discontinuous signal.

In this work, a new algorithm is proposed for setting the parameters of a robust observer for second-order systems, considering persistent but bounded disturbances in the two observation error dynamics. The algorithm is applied to a model of microalgae culture in a photobioreactor for the estimation of biomass growth rate and substrate uptake rate based on known concentrations of biomass and substrate. The main contributions over closely related studies of the stability of state observers (for instance [10,21,23,25]) are:

  • Ci. The width of the convergence region of the observer error for the unknown state is expressed in terms of the interaction between the observer parameters and the disturbance in terms of the observer error dynamics. Thus, the desired estimation accuracy can be defined by the user by setting the observer parameters in accordance with this relationship. In contrast:
    • In [21], the dependence of the width of the convergence region on the observer parameters and disturbance terms is not determined.
    • In [10], the width of the convergence region is expressed in terms of the bounds of the disturbances and measurement noise, but bounded disturbances are not considered in the dynamics of the estimation error of the known state, so the effect of these disturbances is not considered in the convergence region.
    • In [23], the width of the convergence region is expressed in terms of the bounds of the disturbances of the dynamics of the estimation error of the known state, but the effect of observer parameters and bounded disturbance of the dynamics of the estimation error of the unknown state are not considered.
  • Cii. The properties and limits of this width are determined. It was found that this width has a minimum point and a vertical asymptote with respect to one of the observer parameters, and their coordinates were determined. Then, the highest accuracy of the state estimation can be obtained by setting the observer parameters equal or similar to the coordinates of the minimum. In contrast, in [21,23,25]: (i) the properties, limits, and minimum of the width of the convergence region of the estimation error for the unknown state are not determined; (ii) the observer parameter values that lead to the lowest width of the convergence region are not determined.

  • Ciii. The algorithm considers the combined effect of disturbance terms and observer parameters on the width of the convergence region.

In addition, the advantages of the proposed algorithm over closely related algorithms are:

  • (i)

    Advantage A1. It involves a significantly simpler definition of observer parameters: the fulfillment of Riccati equation conditions, solution of LMI constraints, and fulfillment of eigenvalue conditions are not required, thus, reducing the trial-and-error effort. In contrast, the fulfillment of these conditions is commonly required in closely related observer strategies, for instance [10,23,26].

  • (ii)

    Advantage A2. Different from [10,16,17,18,19,20,21,22], unknown bounded terms are considered in the dynamics of the observer error for the known state.

  • (iii)

    Advantage A3. The time derivatives of the disturbance terms of the plant model are not required to be bounded, whereas this condition is required in [25,27,28,29,30].

  • (iv)

    Advantage A4. Different from [23,31], discontinuous signals are not used in the observer, thus, avoiding problematic numerical solutions.

The work is organized as follows. The bioreactor model is presented in Section 2. The preliminaries in Section 3 include the observer equations and the bound of the transient and asymptotic behavior of the observer error. The main results presented in Section 4 include the formulation of the algorithm for setting the observer parameters and the determination of the width of the convergence region of the observer error in terms of the observer parameters. An application to a microalgae bioreactor is shown in Section 5, and the discussion and conclusions are drawn in Section 6.

2. Bioreactor Model

Consider the system

dx1dt=h1+bx2+δ1, (1)
dx2dt=h2+δ2, (2)

where x1 and x2 are the states; h1 and h2 are model functions; δ1 and δ2 are disturbance terms; and b is the x2 gain in the dynamics of x1. The model terms fulfill the following assumptions:

Assumption 1.

The functions h1 and h2 are known; the state x1 is measured, and the coefficient b is known; the state x2 and the terms δ1 and δ2 are unknown.

Assumption 2.

The coefficient b is bounded away from zero:

|b|bmin>0 

where bmin is an unknown positive constant.

Assumption 3.

The disturbance terms δ1 and  δ2 are bounded.

3. Preliminaries: Observer and Bounds for the Transient and Steady Behavior of the Observer Error

In this section, the observer equations and the bounds for the transient and asymptotic behavior of the observer error for the unknown state (x¯2) are recalled from [24]. The detailed mathematical procedure of the Lyapunov-based formulation of the observer is provided in [24].

3.1. Observer

The observer equations are [24]:

dx^1dt=bx^2|b|(ωx¯1+(k+14ω)ψx1+satx1θ^)+h1, (3)
dx^2dt=bω((k+14ω)ψx1+satx1θ^)+h2, (4)
dθ^dt=γ|b||ψx1|. (5)

where

x¯1=x^1x1, (6)
ψx1={x¯1ε for x¯1ε 0 for x¯1 ϵ [ε, ε] x¯1+ε for x¯1ε (7)
satx1={1 for x¯1ε 1εx¯1 for x¯1 1 for x¯1ε [ε, ε] (8)
σ=sign(b)

where x^1 is the estimate of x1, x^2 is the estimate of x2, θ^ is the updated parameter, and: (i) γ, k, ω are user-defined positive constants; (ii) the width of the convergence region of x¯1, that is, ε, is user-defined, positive, and constant.

3.2. Mathematical Definitions

The main mathematical definitions are given as follows. b, h1, h2, δ1 and δ2 are terms of the model (1) and (2) described after Equations (1) and (2), satisfying Assumptions 1, 2, and 3. In addition, x¯1=x^1x1  is the observer error for the known state, x¯2=x^2x2  is the observer error for the unknown state; x1 is the known state, x2 is the unknown state, and z=x¯2σωx¯1.

Mathematical definitions related to the function Vz:

Vz=12ψz2
ψz={z+δmin for zδmin0 0 for z (δmax,δmin)z+δmax for zδmax0 

where δmin and δmax are constants that satisfy

δδmin,    δmin(,0];δδmax,    δmax[0,  ),

where δ is defined as

δ=1b(δ2σωδ1),

and ψzo is the value of ψz at the initial time.

Mathematical definitions related to the overall Lyapunov function:

Vzθx1=Vz+Vx1+Vθ ,
Vx1=12ψx12; Vθ=12γ1θ˜2; θ˜=θ^θ

where θ is a positive constant fulfilling:

|δztδ1/b|θ; δzt=ψzz.

Mathematical definitions of convergence regions:

Ωx1={x¯1:εx¯1ε}
Ωx2={x¯2:|x¯2|max{δmin,δmax}+ωε}

3.3. Convergence of the Observer Error for the Known State

The combined state z is defined as:

z=x¯2σωx¯1, (9)

The Lyapunov function for z is defined as

Vz=12ψz2, (10)
ψz={z+δmin for zδmin0 0 for z (δmax,δmin)z+δmax for zδmax0  .

where δmin and δmax are constant limits for the disturbance term

δ=1b(δ2σωδ1), 

that satisfy

δδmin,    δmin(,0],δδmax,    δmax[0,  ).

Differentiating Vz with respect to time, yields

dVzdt2ω|b|Vz0. 

The overall Lyapunov function is:

Vzθx1=Vz+Vx1+Vθ ,
Vx1=12ψx12; Vθ=12γ1θ˜2; θ˜=θ^θ

where Vz is given by Equation (10), γ is a user-defined positive constant, θ^ is provided by Equation (5) and θ is a positive constant fulfilling

|δztδ1/b|θ; δzt=ψzz.

The time derivative of Vzθx1 leads to

dVzθx1dt=ddt(Vz+Vx1+Vθ)kbminψx120. (11)

This indicates the asymptotic convergence of the observer error x¯1 to the compact set Ωx1={x¯1:εx¯1ε}.

Remark 1.Theψzdefinition given after Equation (10) indicates thatψz,ψz2anddψz2/dzexist and are continuous. Theψx1definition (7) indicates thatψx1,ψx12, anddψx12/dx¯1exist and are continuous. Consequently,Vz, Vx1and the overall Lyapunov functionVzθx1exist and are continuous. A detailed determination ofdVzθx1/dt,dVz/dt,dVx1/dt,dVθ/dtis given in [24].

Remark 2. The term ‘overall Lyapunov function’ is used for the Lyapunov function that results from the addition of several quadratic or positive forms and whose time derivative indicates the convergence result of some state. This term is also used in [32,33]. Notice that this condition is only fulfilled by Vzθx1, as follows from Equation (11).

3.4. Bounds for the Transient and Steady Behavior of the Observer Error for the Unknown State

From the definition of z (9), it follows that the observer error x¯2 can be rewritten in terms of z and x¯1:

x¯2=z+σωx¯1.

This leads to

|x¯2||z|+ω|x¯1|.

Combining the dynamics of z and x¯1, yields

|x¯2||ψzo|eωbmin(tto)+max{δmin,δmax}+ω|x¯1|  (12)

where ψzo is the value of ψz at the initial time, and δmin and δmax are constant limits for the disturbance term

δ=1b(δ2σωδ1),  (13)

that satisfy

δδmin,    δmin(,0],δδmax,    δmax[0,  ). (14)

bmin is a constant limit for b that satisfies Assumption 2.

Despite the fact that the convergence of x¯1 to Ωx1={x¯1:εx¯1ε} is asymptotic, one can consider that x¯1Ωx1 for some tT1, that is, |x¯1|ε. Combining with Equation (12) yields the time-dependent bound for the transient behavior of the observer error x¯2:

|x¯2||ψzo|eωbmin(tto)+max{δmin,δmax}+ωεfor tT1  (15)

Hence, x¯2 converges asymptotically to the compact set

Ωx2={x¯2:|x¯2|max{δmin,δmax}+ωε}  (16)

so that the limits of the convergence region Ωx2 are max{δmin,δmax}+ωε and max{δmin,δmax}ωε.

4. Formulation of the Algorithm for Setting the Observer Parameters and Determination of the Width of the Convergence Region of the Observer Error in Terms of the Observer Parameters

In this section: (i) the width of the convergence region Ωx2 (16) is expressed in terms of the interaction between the parameters of the observer (3)–(5) and δ1,δ2, the disturbance terms of the observer error dynamics; (ii) an algorithm is formulated for setting the observer parameters ω, ε, γ, k.

4.1. Determination of the Width of the Convergence Region of the Observer Error

From the definition of δ in Equation (13), it follows that

|δ|1ωd2+d1  (17)

where d1 and d2 are positive constants that satisfy

|δ2b|d2; |δ1b|d1  (18)

From Equation (17) and the conditions on δmin and δmax (14), it follows that the δmin and δmax values can be chosen to be:

δmax=1ωd2+d1; δmin=δmax

so that the terms in Equation (14) are fulfilled. Then, the convergence set Ωx2 (16) becomes

Ωx2={x¯2:|x¯2|fw }  (19)
fw=1ωd2+d1+ωε (20)

so that the width of the convergence set Ωx2 is fw and the limits of Ωx2 are fw and +fw. The main features of the fw function are:

fw>0; fwhas a vertical asymptote, at ω=0limωfw=; fw>d1suptto |δ1/b|; limω0+fw=  (21)

From these properties, it follows that fw  has a minimum point with respect to ω. Its coordinates are determined by differentiating fw expression (20) with respect to ω, which yields:

ω*=d2 1ε;fw*=2d2ε+d1  (22)

Therefore, the relationship between fw* and ω* is given by

fw*=2d21ω*+d1  (23)

Remark 3. The properties (21) of thefwfunction and its minimum (22) indicate that ω=ω*and a low ε value leads to low fw, which implies a low width of the convergence region Ωx2, and consequently, a high quality of x2 estimation, as follows from Equations (19) and (20).

Remark 4. An overlargeωvalue fulfillingωω*leads to: (i) fast convergence of the upper bound ofx¯2, as follows from Equation (15); (ii) a largefwvalue, which implies a low quality ofx¯2estimation, as follows from Equations (19) and (20). Therefore, the choice ofωmust take into account both the convergence rate and the width of the convergence region ofx¯2.

Remark 5. A lowεvalue leads to low fw*, since fw* increases with respect to ε, as follows from Equation (22). However, overly small ε values lead to steeper slopes in the shape of the satx1 signal (8) of the observer, which implies that the numerical solution of the differential equation must use a smaller step size.

Remark 6. Thefw*function (23) increases with d1, whereas ω* is independent of d1, as follows from Equation (22).

In the case that δ1=0 in Equation (1), we have

|δ|1ωd2

and one can use

δmax=1ωd2; δmin=δmax

Then, Equation (19) becomes

Ωx2={x¯2:|x¯2|fw}  (24)
fw=1ωd2+ωε (25)

The resulting features of fw for δ1=0 are:

fw>0; fwhas a vertical asymptote, at ω=0;
limωfw=; limω0+fw=

From these properties, it follows that fw has a minimum point with respect to ω. The coordinates of this minimum are determined by differentiating fw expression (22) with respect to ω, which yields:

ω*=d21ε;fw*=2d2ε  (26)

4.2. Formulation of the Algorithm for Setting the Observer Parameters

The algorithm presented in Algorithm 1 allows us to set the observer parameters ω, ε, γ, and k, so as to define: (i) the convergence rate of x¯2; (ii) the value of fw=1ωd2+d1+ωε, which is the width of the x¯2 convergence set Ωx2={x¯2: |x¯2|fw }.

Algorithm 1: Algorithm for setting the parameters of the observer (3)–(5).
Step Description
1 Cast the system model in the form (1)–(2) and identify the known state x1, the unknown state x2, and the terms b, h1, h2, δ1, δ2.
2 Obtain the values of bmin that satisfy Assumption 2 and the values of d2, d1, satisfying Equation (18). To this end, the values of d2, d1 can be obtained by the simulation of δ2/b, δ1/b, based on the x1, x2 model, with model parameter values obtained from either closely related studies or offline fitting.
3 Set the values of ω, ε to define:
  • The time-dependent bound for the transient evolution of x¯2, given by Equation (15):|x¯2||ψzo|eωbmin(tto)+max{δmin,δmax}+ωε; for tT1

  • The limit of the convergence region of x¯2, given by Equations (19) and (20):

Ωx2={x¯2:|x¯2|fw }; fw=1ωd2+d1+ωε
where fw>d1suptto |δ1/b| and the minimum point of fw is given by Equation (22):
ω*=d21ε; fw*=2d2ε+d1
4 Set a high value of γ to define the update rate of θ^, according to Equation (5).
Set a high value of k to define the convergence rate of x¯1, according to Equation (11).

Remark 7. The proposed algorithm and the observer (3)–(5) lead to a more practical and simpler real-time state estimation in either laboratory or industrial applications, according to the advantages A1 to A4, which are due to the observer of [24]. They can be applied to systems whose model can be cast in the second-order form (1) and (2), which includes a wide range of mechanical and physical systems. Some examples are:

  • Microalgae reactor represented by the Droop model: (i) estimation of specific bio-mass growth rate based on known biomass concentration; (ii) estimation of specific substrate uptake rate based on known substrate concentration—see [8,23].

  • Anaerobic bioreactor for hydrogen production via the dark fermentation of glucose: estimation of influent glucose concentration based on known reactor glucose con-centration—see [3].

  • Fed-batch bioreactor for ethanol production: (i) estimation of the rate of enzymatic hydrolysis based on known substrate (starch) concentration; (ii) estimation of the glucose consumption rate based on known glucose concentration—see [4].

  • Membrane fuel cell: estimation of stack temperature based on known oxygen pres-sure—see [34].

  • Photovoltaic system: estimation of the power gradient based on known generated electric power—see [35].

  • DC-DC buck converter: estimation of the time derivative of the output tracking er-ror based on the known average output voltage—see [36].

  • Second-order underactuated mechanical system: estimation of the time derivative of the pole angle—see [20].

Remark 8. The convergence rate and the width of thex¯2convergence set(fw)can be properly defined by setting the observer parametersω,ε,γ,kin accordance with the proposed procedure, withω,εvalues corresponding to the minimum point offw, that is,ω*,fw*.

Remark 9. The proposed observer algorithm deals with the combined effect of disturbance terms and observer parameters on the width of the convergence region for the estimation error of the unknown state, as follows:

  • (a)

    The convergence region is expressed as a function of the combined effect of observer parameters and disturbance terms—see Equations (19) and (20). Then, the desired estimation accuracy can be defined by the user by properly setting the observer parameters in accordance with this relationship.

  • (b)

    The properties of this expression are determined in terms of the observer parameters, including the limits and the coordinates of the minimum—see Equations (21)–(23). In turn, these properties allow choosing ω, ε values to avoid an undesired overlarge f_w value, and the lowest f_w value is obtained by using the coordinates of the minimum, that is, ω=ω^*, according to Equation (22). Thus, the highest accuracy of the state estimation is obtained by setting the observer parameters equal or similar to the coordinates of the minimum.

5. Application to Microalgae Bioreactor

The developed algorithm for setting parameters of the observer (3)–(5) is used to estimate the substrate uptake rate ρ and specific growth rate μ in a continuous microalgae bioreactor. The concentrations of substrate and biomass are considered to be known, and the system is described by the Droop model [23,37]:

dxdt=μxDx  (27)
dsdt=ρx+D(sis) (28)
dqdt=ρμq (29)

where x is the biomass concentration, s is the substrate concentration, and q is the cell quota of assimilated nutrient; D=Fi/v is the dilution rate, Fi is the feeding flow rate, v is the broth volume, si is the fed substrate concentration, μ is the specific growth rate, and ρ is the specific substrate uptake rate. The expressions for μ,ρ, and the model parameters are [23]:

{μ(q)= max{0,μm(1QOq)};ρ=ρm(ss+Ks)ρm=0.03mgNmgC·d;Ks=0.0010mgNL; μm=0.5 d1;QO=0.045 mgN/mgC;xto=0.1 mgC/L;sto=0.01 mgN/L; qto=0.06 mgN/mgC;D={0.25(1+sin(2πτDt))                      0 for t6 dd1 for t<6 d;τD=8 d;si=0.05 mgN/L; (30)

The model details, including parameters and specific growth rate expression, are given in [23].

The fw curve as a function of ω and ε is computed using Equation (20), the curves of fw* and ω* as a function of ε are computed using Equation (22), and the fw* vs. ω* curve is computed using Equation (23).

The simulation of the model (27)–(29) and the observer (3)–(5) was performed using Matlab software (The Math Works Inc., Natick, MA, USA): the differential equations were numerically integrated using the ode45 routine.

Although model (27)–(29) comprises three states, it leads to the following second-order subsystems:

A)

dsdt=ρx+D(sis)
dρdt=δ2

for the first example, so that x1=s; x2=ρ.

B)

dxdt=μxDx
dμdt=δ2

for the second example, so that x1=x; x2=μ.

This approach is also considered in [23].

5.1. First Example: Estimation of Substrate Uptake Rate

The specific substrate uptake rate ρ is estimated using the substrate mass balance model (28) and the knowledge of substrate and biomass concentrations. The fed substrate concentration si is inaccurately known: si=s¯i+δsin, where s¯i is the known value of si, and δsin is the uncertainty; s¯i=0.05 mg N/L; δsin=0.1s¯i×sin(2πtτsi);τsi=3. The substrate concentration (s) is the known state, and the specific substrate uptake rate (ρ) is the unknown state, so that substrate model (28) can be cast in the form (1), (2) with

x1=s; x2=ρ; b=x; h1=(s¯is)D; h2=0; δ1=Dδsi; δ2=dρdt  (31)

Additionally, the observer (3)–(5) provides the estimate of ρ, that is, x^2=ρ^. The observer structure is given in Figure 1. x is the biomass concentration, s is the substrate concentration, ρ is the specific substrate uptake rate, D=Fi/v is the dilution rate, Fi is the feeding flow rate, v is the broth volume, and si is the fed substrate concentration. In addition, x1 is the known state, x2 is the unknown state, and x^2 is the estimate of x2.

Figure 1.

Figure 1

Structure of the observer application to microalgae bioreactor for estimating the specific substrate uptake rate ρ.

To examine the fw function (20), the d1, d2 bounds of the disturbance terms δ1/b, δ2/b are obtained by simulation based on the x1, x2 model, yielding d1=0.04, d2=0.11. The curves of fw, fw*, ω* for different ε, ω values are shown in Figure 2.

Figure 2.

Figure 2

Effect of the observer parameters ε, ω on the fw function (20) for estimation of the specific substrate uptake rate ρ: (a) fw  as a function of ω for several ε values, indicating the minimum point; (b) detail of fw  as a function of ω for several ε values, indicating the minimum point; (c) values of ω* as a function of ε, indicating the points for the ε values considered in subfigure a; (d) values of fw* as a function of ε, indicating the points for the ε values considered in subfigure a.

Low fw values are obtained for ω=ω* and low ε value (see Figure 2b,d), which is in accordance with remark 4.1. A minimum of the fw function is characterized by ω*=8.564, fw*=0.0657 for ε=0.0015, as follows from Equation (22). The observer parameters are chosen to be:

ε=0.0015;ω=8.56; k=40;γ=100; x^1|to=0.1; x^2|to=0 d1; θ^to=0   (32)

So that fwfw*. The bioreactor is simulated using model (27)–(29) with plant model terms and parameters (30), whereas the observer (3)–(5) is simulated using the definition of the terms of the system model given by Equation (31), and the values of observer parameters given by Equation (32), and it is observed that (Figure 3):

  • The observer error x¯1 converges faster than x¯2.

  • The observer error x¯1=x^1x1 converges asymptotically to the compact set Ωx1={x¯1:εx¯1ε } and remains inside for t2.6 d approx. (Figure 3a,b).

  • The observer error x¯2=x^2x2 converges to the computed compact set Ωx2 and remains inside for t4.4 d approx. (Figure 3c,d). The limits (fw,+fw) of the Ωx2 convergence set are indicated through dashed horizontal lines in Figure 3d.

  • The low width of Ωx2 is owed to the small values of δ1/b and ε.

Figure 3.

Figure 3

Performance of the observer (3)–(5) for estimation of specific substrate uptake rate ρ, using the observer parameters obtained through the proposed algorithm: (a) trajectory of state x1 and estimate x^1; (b) trajectory of the observer error for the known state, x¯1; (c) trajectory of state x2 and estimate x^2; (d) trajectory of the observer error for the unknown state, x¯2, with the limits (fw,+fw) of the Ωx2 convergence set indicated through dashed horizontal lines; (e) trajectory of the updated parameter θ^.

The performed simulations confirm the adequacy of the parameter recommendations provided in the observer algorithm to achieve proper convergence speed and the width of the convergence region of x¯2.

5.2. Second Example: Estimation of Biomass Growth Rate

The specific growth rate μ is estimated using the biomass mass balance model (27) and the knowledge of biomass concentration. The biomass concentration (x) is the known state, and the specific growth rate μ is the unknown state, so the biomass model (27) can be cast in the form (1), (2) with

x1=x; x2=μ; b=x; h1=Dx; h2=0; δ1=0; δ2=dμdt  (33)

Additionally, the observer (3)–(5) provides the estimate of μ, that is, x^2=μ^. The observer structure is given in Figure 4. x is the biomass concentration, s is the substrate concentration, μ is the specific growth rate, ρ is the specific substrate uptake rate, D=Fi/v is the dilution rate, Fi is the feeding flow rate, v is the broth volume, and si is the fed substrate concentration. In addition, x1 is the known state, x2 is the unknown state, and x^2 is the estimate of x2.

Figure 4.

Figure 4

Structure of the observer application to microalgae bioreactor for estimation of the specific growth rate μ.

To examine the fw function, the d1, d2 bounds of the disturbance terms δ1/b, δ2/b are obtained by simulation based on the x1, x2 model, yielding d1=0, d2=0.125. The curves of fw, fw*, ω* for different ε, ω values are shown in Figure 5.

Figure 5.

Figure 5

Effect of the observer parameters ε, ω on the fw function (19) for estimation of the specific growth rate μ: (a) fw  as a function of ω for several ε values; (b) detail of fw  as a function of ω for several ε values, indicating the minimum point; (c) values of ω* as a function of ε, indicating the points for the ε values considered in subfigure a; (d) values of fw* as a function of ε, indicating the points for the ε values considered in subfigure a.

Low fw values are obtained for ω=ω* and low ε value (see Figure 5b,d), which is in accordance with remark 4.1. A minimum of the fw function is characterized by ω*=9.129, fw*=0.0097 for ε=0.0015. The observer parameters are chosen to be:

ε=0.0015;ω=9.12; k=40;γ=100; x^1|to=0.1mgC/L; x^2|to=0 d1; θ^to=0   (34)

So that fwfw*. The bioreactor is simulated using model (27)–(29) with plant model terms and parameters (30), whereas the observer (3)–(5) is simulated using the plant model terms and parameters given by Equation (33), and the values of observer parameters given by Equation (34), and it is observed that (Figure 6):

  • The observer error x¯1 converges faster than x¯2.

  • The observer error x¯1=x^1x1 enters to the compact set Ωx1 at 4.92 days and remains inside afterward (Figure 6a,b).

  • The observer error x¯2=x^2x2 remains inside its compact set for t15.3 d approx. (Figure 6c,d). The limits (fw,+fw) of the Ωx2 convergence set are indicated through dashed horizontal lines in Figure 6d.

  • A low width of Ωx2 is achieved by choosing ε, ω values on the basis of the proposed algorithm.

Figure 6.

Figure 6

Performance of the observer (3)–(5) for estimation of specific growth rate μ, using the observer parameters obtained through the proposed algorithm: (a) trajectory of state x1 and estimate x^1; (b) trajectory of the observer error for the known state, x¯1; (c) trajectory of state x2 and estimate x^2; (d) trajectory of the observer error for the unknown state, x¯2, with the limits (fw,+fw) of the Ωx2 convergence set indicated through dashed horizontal lines; (e) trajectory of the updated parameter θ^.

6. Discussion and Conclusions

6.1. Discussion

  • The main contributions over closely related studies of the stability of state observers are:

  • Ci. The width of the convergence region of the observer error for the unknown state is expressed in terms of the interaction between the observer parameters and the disturbance in terms of the observer error dynamics. Then, the user defines the desired estimation accuracy by properly setting the observer parameters in accordance with the aforementioned relationship.

  • Cii. The properties and limits of this width are determined; it was found that this width has a minimum point and a vertical asymptote with respect to one of the observer parameters, and their coordinates were determined. Thus, the highest accuracy of the state estimation is obtained by setting the observer parameters equal or similar to the coordinates of the minimum.

  • The main challenges encountered in this research work are:

  • Choosing the idea of contributions Ci and Cii as the core topics of the paper required identifying contributions and limitations of high-quality works addressing observer design and stability analysis, mainly [23,25]. This implied a deep understanding of all the mathematical developments involved in the stability analysis, and also the advantages, disadvantages, and limitations of the observer and its stability properties.

The statement of the procedure for determining the constants that satisfy Equation (18). Based on several literature studies, we finally concluded that they could be obtained by the simulation of δ2/b, δ1/b, based on the x1, x2 model, with model parameter values obtained from either closely related studies or offline fitting, as stated in Algorithm 1.

6.2. Conclusions

In this work, a new algorithm is proposed for setting parameters of a robust observer for second-order systems, considering persistent but bounded disturbances in the two observation error dynamics. As the main contribution over closely related studies of the stability of state observers, the width of the convergence region of the observer error for the unknown state is expressed in terms of the interaction between the observer parameters and the disturbance terms of the observer error dynamics. Moreover, the properties and the minimum of this relationship were determined.

The proposed observer algorithm leads to a more practical and simpler state estimation in either laboratory or industrial applications. It can be used for systems whose model can be cast in second-order form, for instance, mechanical, chemical, and biochemical systems. Moreover, it can be used for multiple state estimation, in cases of several second-order systems. The choice of the observer parameters must consider both the convergence rate and width of the convergence region of the estimation error of the unknown state. Choosing the observer parameter values to be similar or equal to the values for the minimum leads to a high quality of state estimation.

The performed simulations confirm the adequacy of the parameter recommendations provided in the observer algorithm to achieve the proper convergence speed and width of the convergence region of the observer error for the unknown state.

Future work will include: (i) extending the observer and the algorithm to system models of third order; (ii) extending the observer and the algorithm to system models of general nth order; (iii) considering noise in the measurement of the known state.

Acknowledgments

This work was supported by Universidad Católica de Manizales and Universidad Nacional de Colombia, Sede Medellín. Fredy E. Hoyos and John E. Candelo-Becerra thank the Departamento de Energía Eléctrica y Automática. The work of Alejandro Rincón was supported by Universidad Católica de Manizales.

Author Contributions

Conceptualization, A.R.; methodology, A.R.; writing—original draft preparation, A.R., J.E.C.-B. and F.E.H.; writing—review and editing, A.R., F.E.H. and J.E.C.-B.; visualization, A.R., F.E.H. and J.E.C.-B. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Funding Statement

A. Rincón was supported by Universidad Católica de Manizales. The work of F.E. Hoyos and John E. Candelo-Becerra were supported by Universidad Nacional de Colombia—Sede Medellín.

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Reis de Souza A., Gouzé J.L., Efimov D., Polyakov A. Robust Adaptive Estimation in the Competitive Chemostat. Comput. Chem. Eng. 2020;142:107030. doi: 10.1016/j.compchemeng.2020.107030. [DOI] [Google Scholar]
  • 2.Zalai D., Kopp J., Kozma B., Küchler M., Herwig C., Kager J. Microbial Technologies for Biotherapeutics Production: Key Tools for Advanced Biopharmaceutical Process Development and Control. Drug Discov. Today Technol. 2020;38:9–24. doi: 10.1016/j.ddtec.2021.04.001. [DOI] [PubMed] [Google Scholar]
  • 3.Torres Zúñiga I., Villa-Leyva A., Vargas A., Buitrón G. Experimental Validation of Online Monitoring and Optimization Strategies Applied to a Biohydrogen Production Dark Fermenter. Chem. Eng. Sci. 2018;190:48–59. doi: 10.1016/j.ces.2018.05.039. [DOI] [Google Scholar]
  • 4.Lyubenova V.N., Ignatova M.N. On-Line Estimation of Physiological States for Monitoring and Control of Bioprocesses. AIMS Bioeng. 2017;4:93–112. doi: 10.3934/bioeng.2017.1.93. [DOI] [Google Scholar]
  • 5.Zeinali S., Shahrokhi M. Observer-Based Singularity Free Nonlinear Controller for Uncertain Systems Subject to Input Saturation. Eur. J. Control. 2020;52:49–58. doi: 10.1016/j.ejcon.2019.08.001. [DOI] [Google Scholar]
  • 6.Ibáñez F., Saa P.A., Bárzaga L., Duarte-Mermoud M.A., Fernández-Fernández M., Agosin E., Pérez-Correa J.R. Robust Control of Fed-Batch High-Cell Density Cultures: A Simulation-Based Assessment. Comput. Chem. Eng. 2021;155:107545. doi: 10.1016/j.compchemeng.2021.107545. [DOI] [Google Scholar]
  • 7.Nuñez S., Garelli F., de Battista H. Closed-Loop Growth-Rate Regulation in Fed-Batch Dual-Substrate Processes with Additive Kinetics Based on Biomass Concentration Measurement. J. Process Control. 2016;44:14–22. doi: 10.1016/j.jprocont.2016.05.003. [DOI] [Google Scholar]
  • 8.Jamilis M., Garelli F., de Battista H. Growth Rate Maximization in Fed-Batch Processes Using High Order Sliding Controllers and Observers Based on Cell Density Measurement. J. Process Control. 2018;68:23–33. doi: 10.1016/j.jprocont.2018.04.003. [DOI] [Google Scholar]
  • 9.Lara-Cisneros G., Femat R., Dochain D. An Extremum Seeking Approach via Variable-Structure Control for Fed-Batch Bioreactors with Uncertain Growth Rate. J. Process Control. 2014;24:663–671. doi: 10.1016/j.jprocont.2014.03.011. [DOI] [Google Scholar]
  • 10.Robles-Magdaleno J.L., Rodríguez-Mata A.E., Farza M., M’Saad M. A Filtered High Gain Observer for a Class of Non Uniformly Observable Systems—Application to a Phytoplanktonic Growth Model. J. Process Control. 2020;87:68–78. doi: 10.1016/j.jprocont.2020.01.007. [DOI] [Google Scholar]
  • 11.Noll P., Henkel M. History and Evolution of Modeling in Biotechnology: Modeling & Simulation, Application and Hardware Performance. Comput. Struct. Biotechnol. J. 2020;18:3309–3323. doi: 10.1016/J.CSBJ.2020.10.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Jamilis M., Garelli F., Mozumder M.S.I., Castañeda T., de Battista H. Modeling and Estimation of Production Rate for the Production Phase of Non-Growth-Associated High Cell Density Processes. Bioprocess Biosyst. Eng. 2015;38:1903–1914. doi: 10.1007/s00449-015-1430-7. [DOI] [PubMed] [Google Scholar]
  • 13.Jin Z., Wang Z., Zhang X. Cooperative Control Problem of Takagi-Sugeno Fuzzy Multiagent Systems via Observer Based Distributed Adaptive Sliding Mode Control. J. Franklin Inst. 2022;359:3405–3426. doi: 10.1016/j.jfranklin.2022.03.024. [DOI] [Google Scholar]
  • 14.Guo R., Feng J., Wang J., Zhao Y. Leader-Following Successive Lag Consensus of Nonlinear Multi-Agent Systems via Observer-Based Event-Triggered Control. J. Franklin Inst. 2022 doi: 10.1016/j.jfranklin.2022.06.049. [DOI] [Google Scholar]
  • 15.Xiao Y., Che W.W. Neural-Networks-Based Event-Triggered Consensus Tracking Control for Nonlinear MASs with DoS Attacks. Neurocomputing. 2022;501:451–462. doi: 10.1016/j.neucom.2022.06.029. [DOI] [Google Scholar]
  • 16.Miranda-Colorado R. Observer-Based Saturated Proportional Derivative Control of Perturbed Second-Order Systems: Prescribed Input and Velocity Constraints. ISA Trans. 2022;122:336–345. doi: 10.1016/j.isatra.2021.05.001. [DOI] [PubMed] [Google Scholar]
  • 17.Borkar A., Patil P.M. Super Twisting Observer Based Full Order Sliding Mode Control. Int. J. Dyn. Control. 2021;9:1653–1659. doi: 10.1007/s40435-021-00757-9. [DOI] [Google Scholar]
  • 18.ben Tarla L., Bakhti M., Bououlid Idrissi B. Implementation of Second Order Sliding Mode Disturbance Observer for a One-Link Flexible Manipulator Using Dspace Ds1104. SN Appl. Sci. 2020;2:485. doi: 10.1007/s42452-020-2304-4. [DOI] [Google Scholar]
  • 19.Byun G., Kikuuwe R. An Improved Sliding Mode Differentiator Combined with Sliding Mode Filter for Estimating First and Second-Order Derivatives of Noisy Signals. Int. J. Control Autom. Syst. 2020;18:3001–3014. doi: 10.1007/s12555-019-0688-y. [DOI] [Google Scholar]
  • 20.Liu W., Chen S., Huang H. Double Closed-Loop Integral Terminal Sliding Mode for a Class of Underactuated Systems Based on Sliding Mode Observer. Int. J. Control Autom. Syst. 2020;18:339–350. doi: 10.1007/s12555-019-0184-4. [DOI] [Google Scholar]
  • 21.Besançon G., Voda A., Popescu A. Closed-Loop-Based Observer Approach for Tunneling Current Parameter Estimation in an Experimental STM. Mechatronics. 2022;83:102743. doi: 10.1016/j.mechatronics.2022.102743. [DOI] [Google Scholar]
  • 22.Hu Q., Jiang B., Zhang Y. Observer-Based Output Feedback Attitude Stabilization for Spacecraft With Finite-Time Convergence. IEEE Trans. Control Syst. Technol. 2019;27:781–789. doi: 10.1109/TCST.2017.2780061. [DOI] [Google Scholar]
  • 23.Coutinho D., Vargas A., Feudjio C., Benavides M., Wouwer A. vande A Robust Approach to the Design of Super-Twisting Observers—Application to Monitoring Microalgae Cultures in Photo-Bioreactors. Comput. Chem. Eng. 2019;121:46–56. doi: 10.1016/j.compchemeng.2018.07.006. [DOI] [Google Scholar]
  • 24.Rincón A., Hoyos F.E., Restrepo G.M. Design and Evaluation of a Robust Observer Using Dead-Zone Lyapunov Functions—Application to Reaction Rate Estimation in Bioprocesses. Fermentation. 2022;8:173. doi: 10.3390/fermentation8040173. [DOI] [Google Scholar]
  • 25.Kicki P., Łakomy K., Lee K.M.B. Tuning of Extended State Observer with Neural Network-Based Control Performance Assessment. Eur. J. Control. 2022;64:100609. doi: 10.1016/j.ejcon.2021.12.004. [DOI] [Google Scholar]
  • 26.Wang P., Zhang X., Zhu J. Online Performance-Based Adaptive Fuzzy Dynamic Surface Control for Nonlinear Uncertain Systems Under Input Saturation. IEEE Trans. Fuzzy Syst. 2019;27:209–220. doi: 10.1109/TFUZZ.2018.2856111. [DOI] [Google Scholar]
  • 27.Madonski R., Shao S., Zhang H., Gao Z., Yang J., Li S. General Error-Based Active Disturbance Rejection Control for Swift Industrial Implementations. Control Eng. Pract. 2019;84:218–229. doi: 10.1016/j.conengprac.2018.11.021. [DOI] [Google Scholar]
  • 28.Shi S., Lu J., Hu Y., Sun Y. Robust Output-Feedback SOSM Control Subject to Unmatched Disturbances and Its Application: A Fixed-Time Observer-Based Method. Nonlinear Anal. Hybrid Syst. 2022;45:101210. doi: 10.1016/j.nahs.2022.101210. [DOI] [Google Scholar]
  • 29.Hans S., Joseph F.O.M. Control of a Flexible Bevel-Tipped Needle Using Super-Twisting Controller Based Sliding Mode Observer. ISA Trans. 2021;109:186–198. doi: 10.1016/j.isatra.2020.09.011. [DOI] [PubMed] [Google Scholar]
  • 30.Meng R., Chen S., Hua C., Qian J., Sun J. Disturbance Observer-Based Output Feedback Control for Uncertain QUAVs with Input Saturation. Neurocomputing. 2020;413:96–106. doi: 10.1016/j.neucom.2020.06.096. [DOI] [Google Scholar]
  • 31.Abadi A.S.S., Hosseinabadi P.A., Mekhilef S. Fuzzy Adaptive Fixed-Time Sliding Mode Control with State Observer for A Class of High-Order Mismatched Uncertain Systems. Int. J. Control Autom. Syst. 2020;18:2492–2508. doi: 10.1007/s12555-019-0650-z. [DOI] [Google Scholar]
  • 32.Tang Z.-L., Tee K.P., He W. Tangent Barrier Lyapunov Functions for the Control of Output-Constrained Nonlinear Systems. IFAC Proc. Vol. 2013;46:449–455. doi: 10.3182/20130902-3-CN-3020.00122. [DOI] [Google Scholar]
  • 33.Rozgonyi S., Hangos K.M., Szederkényi G. Determining the Domain of Attraction of Hybrid Non–Linear Systems Using Maximal Lyapunov Functions. Kybernetika. 2010;46:19–37. [Google Scholar]
  • 34.Sankar K., Thakre N., Singh S.M., Jana A.K. Sliding Mode Observer Based Nonlinear Control of a PEMFC Integrated with a Methanol Reformer. Energy. 2017;139:1126–1143. doi: 10.1016/j.energy.2017.08.028. [DOI] [Google Scholar]
  • 35.Valenciaga F., Inthamoussou F.A. A Novel PV-MPPT Method Based on a Second Order Sliding Mode Gradient Observer. Energy Convers. Manag. 2018;176:422–430. doi: 10.1016/j.enconman.2018.09.018. [DOI] [Google Scholar]
  • 36.Zhang L., Wang Z., Li S., Ding S., Du H. Universal Finite-Time Observer Based Second-Order Sliding Mode Control for DC-DC Buck Converters with Only Output Voltage Measurement. J. Franklin Inst. 2020;357:11863–11879. doi: 10.1016/j.jfranklin.2019.11.057. [DOI] [Google Scholar]
  • 37.Muñoz-Tamayo R., Martinon P., Bougaran G., Mairet F., Bernard O. Getting the Most out of It: Optimal Experiments for Parameter Estimation of Microalgae Growth Models. J. Process Control. 2014;24:991–1001. doi: 10.1016/j.jprocont.2014.04.021. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Not applicable.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES