1. Introduction
The continuous stirred tank bioreactor (CSTB) is a classical benchmark because it is one of the most popular types of equipment employed in the chemical and biochemical industries. This type of operation is flexible for production and ensures a suitable mixing operation in which the concentrations of chemical products and reactive products are adequately uniform throughout the bioreaction volume and within the outlet product stream. Despite such advantages, under an actual operation at an industrial-scale bioreactor, the operation is often far from idealized lab-scale bioreaction design because the influence of non-ideal flow, mass, and heat transport phenomena must be compensated for or attenuated toward the bioprocess intensification. The term ‘process intensification’ was introduced in the early 2000s. In the first years, the intensification concept was related to the optimal dimension design of the process equipment under predetermined operating conditions; however, industrial plants were required to provide a flexible and wide operational policy to respond to the high and changing demand of the market and the strict environmental legislation, along with process sustainability related to safe operation, high-quality products, energy saving, etc. Here, a new multidisciplinary conceptualization of industrial plants in design and operation is needed, so high predictive process modeling, multi-objective optimization, on-line monitoring, and control processes under the above-mentioned restrictions must be performed simultaneously.
Moreover, the bioprocess intensification via feedback is relevant because of the unpredictability caused by the strong influence of the highly nonlinear behavior on the chemical kinetics, which can induce dynamic complexity such as steady-state multiplicity, operational instability, or even more, oscillatory dynamic behavior [
1,
2].
Bioprocess intensification is a relatively recent concept that consists of searching for increased efficiency. Intensification combines optimization of capital, energy, environmental, and safety benefits with a radical reduction in a plant-scale fashion. Although the process intensification can be addressed via the reactor configuration strategies (see, for instance, ref. [
3] for the photocatalytic case), a suitable alternative for the bioprocess intensification is to exploit the feedback control approaches to promote efficiency at the bioreaction yield, which allows users to overcome stable operation. In this sense, distinct problems can be formulated from the perspective of feedback control, such as, for example, the stabilization of the chemostat under maximum production concerns [
4] or extremum seeking via robust sliding-mode control [
5], which introduces an extremum-seeking control scheme using sliding mode techniques to guarantee the dynamic optimization of methane outflow rate in anaerobic digestion processes. The proposed control method includes an observer-based uncertain estimator that computes the unknown terms related to the growth kinetics and the inlet composition. Moreover, self-optimizing control of dynamical processes and extremum-seeking control are two techniques to handle these kinds of dynamic optimization problems [
6,
7,
8]. The main goal of extremum-seeking methods is to determine the operating set-points, such that a performance function reaches its extremum values. That is, a feedback control step is a valuable tool to achieve secure and intensified operation while maintaining adequate bioreactor conditions and enhancing the system dynamics at previously selected set-points via a closed-loop operation under regulatory tasks. In this sense, an appropriate problem formulation and its solution can derive from intensification politics. Such an operational policy can be reached via lineal proportional–integral–derivative (PID), adaptive, predictive, and linearizing, among several other controllers [
9,
10,
11,
12,
13,
14,
15,
16,
17,
18], with certain success. Nevertheless, a different approach lies in the framework of optimal control, where the control engineers have tuned controller parameters through cost function optimization. There are several error cost functions, like integrated time-weighted absolute error (ITAE), integrated squared error (ISE), integrated exponential time squared error (IETSE), integrated squared time cubed error (ISTCE), and integrated time exponential time squared error (ITETSE), that are employed for obtaining optimal controller parameters [
19,
20]. Also, iterative methods such as numerical optimization, fminsearch subroutine, and soft computing-based optimization methods, which include artificial bee colony (ABC) optimization, particle swarm optimization (PSO), genetic algorithm, cuckoo optimization, and quasi-opposition-based equilibrium optimizer, are used to minimize the cost functions [
21,
22,
23,
24,
25].
As mentioned above, the intensification of the practical operation of continuous bioreactors remains an important challenge for process engineers in the design, analysis, optimization, and control stages. This contribution addresses bioprocess intensification from the perspective of optimal feedback control. The underlying idea is to tackle the necessity of increasing the quality of the reactor operation under an optimal operational policy that includes optimal cost and maximum productivity. The underlying idea is to solve the tracking trajectory problem. The proposed intensification scheme is such that it accounts for the structured uncertainties and output-bounded disturbances, including uncertain initial and ambient conditions, variations in feed quality, and uncertainty in the process description [
26]. This makes sense because the optimal design may lead to deviation from the optimal and potentially high-risk solution if the uncertainties are not considered. Therefore, the need to incorporate methodologies for uncertainty compensation in chemical processes is essential to achieving a robust process operation.
This manuscript is organized as follows.
Section 2 describes the mathematical model of the CSTB. The proposed optimal control and the uncertainty observers are given in
Section 3, together with their main technical characteristics.
Section 4 contains a description of the main results obtained, and, finally, the concluding remarks of this work are provided in
Section 5.
2. Bioreactor Modeling
In traditional model-based optimization techniques, the accuracy of the mathematical models of the processes is especially important. Particularly, the kinetic modeling in chemical reactors contains a wide set of model parameters that are subject to uncertainty in their thermodynamic and/or kinetic parameters, determined from experiments [
27]. Besides the uncertainty and fluctuations present in the process, operations affect the reliability of model-based optimization, among others pressure, feed composition, or temperature. Such sensitivity might cause a violation of safety constraints and, hence, result in an infeasible process design. In general, system optimization under uncertainty is an important and active research issue. Diverse approaches that consider uncertainties have been reported for the optimization of chemical processes [
28,
29,
30,
31].
Let us consider a class of continuous-flow bioreactors where enzymatic reactions take place. As is well known, enzymatic reactions can present complex dynamic behaviors, such as sustained oscillations or, even more, chaotic behavior. This work has taken an enzymatic kinetics model under continuous operation, which can even exhibit chaotic oscillations [
32]. The considered mathematical model is based on the classical mass conservation principle by considering a four-state variable dynamical system. For the considered bioreactor model, some assumptions are established: (a) the chemical reactions are performed in perfect homogeneous conditions in a well-stirred tank reactor under isothermal operation; (b) first-order kinetics are supposed for the reactions from
to
and
and
to
; (c) the reactive
catalyzes the production of the compound
; both reactions from
are catalyzed by
and
, and the reaction from
is also catalyzed by
; and (d) all the chemical species are involved in autocatalytic reactions and their kinetics are governed by the Michaelis–Menten structures.
The general chemical kinetic pathway is as follows [
32]:
where
for
i = 1, 2, 3, 4 are the corresponding activate chemical complexes, which are considered, as usual, in a pseudo-steady state.
The above kinetic model is extended to continuous reactor operation, showing complex oscillations. The mathematical model is defined by a set of four nonlinear ordinary differential equations, and it represents the mass balances for each one of the chemical compounds at the corresponding mass concentrations.
Here,
C = [
c1 c2 c3 c4]
T is the vector of mass concentrations. The inlet concentrations to the reactor have the following nominal values:
and
, whereas the nominal value of the control input is given by
u = 0.015. As usual, for these processes, let us consider that the control input is defined as
u = Q/V, where
Q is the volumetric inlet flow and
V is the volume of the reactor, which is assumed as constant, as usual for these systems. As reported in [
32], the set of kinetic parameters is given as follows:
k1 = 1.0,
k2 = 1.0,
k3 = 1.0,
k4 = 0.25,
k5 = 152.5,
k6 = 1.0,
k7 = 130,
k8 = 0.001,
k9 = 1.0,
k10 = 1.051,
k11 = 0.5, and
K = 0.001. The corresponding initial conditions are arbitrarily assumed to be
129.1,
76.06,
0.5895, and
21.38. Here,
d0 =90 and
d1 = 2.2 are constant load disturbances, which are included to simulate realistic process operation.
Killory’s model [
32] is selected for its capacity to generate complex oscillatory dynamic behavior; this is an important drawback for the operation of (bio)chemical reactors.
3. Controller Design
Generally, the theoretical framework of the optimal control is related to the calculus of variations, which concerns trajectory optimization tasks, where a functional
is a scalar called performance index, cost function, or cost index, which is for maximizing or minimizing, accordingly with the corresponding objectives to be reached by solving the Euler–Lagrange equation [
33]. That is,
The term is named as the Lagrangian of the system under study.
In the most common case, the performance index
can be represented by the following integral functional form as:
where
is an algebraic term to be minimized (or maximized) at final conditions, subject to the following terminal constraints:
As the state equation, a class of nonlinear systems is considered as follows:
Its initial conditions are as follows:
As usual, f(x) = [f1(x) f2(x) f3(x) … fn(x)]T; then, is a nonlinear and bounded smooth vector field, and exists as the inverse of . Also, x = [x1, x2, x3, … xn]T; here, is the vector of state variables, such that , where is a compact set, i.e., is bounded and closed under the vector field operations.
Now, the following functional form [
31] is considered:
Minimizing the functional (10) is required; therefore,
Here, the differential form of the Lagrangian
is given as
Now, to construct the corresponding Lagrangian for our purposes, let us consider the following alternative system representation based on Equation (8):
Therefore, from Equation (14), the corresponding Lagrangian for the performance index is proposed as
From Equations (10) and (15), the functional that represents the performance index is
Here, the differential form of Equation (16) is
Applying Equation (12), the following differential equation for the control input
u is performed:
By solving Equation (18), with
, we have that
or
As can be observed, the control law (20) is realizable as feedback control only if the nonlinear term f(x) is available. However, as is well known, the nonlinear terms are hard to model accurately, being an important source of parametric and/or structured uncertainties.
From the above, an alternative form of the controller (20) must be considered to avoid the above-mentioned drawbacks. Indeed, as non-ideal conditions and uncertain terms are present, the control approach given by Equation (20) is not realizable. So, a strategy must be proposed to compensate for the uncertain terms and reach a realizable control design. For this purpose, an uncertainty observer-based controller must be considered.
Uncertainty Observer-Based Estimator Design
Let us consider system (13), where the nonlinear term
f(
x) is unknown, which is now considered a new unknown state variable, and the term
h(x) is the uncertain nonlinear dynamic behavior of
f(x), constituting an extended dynamical system as
Coupled with a linearly measured output, y = Cx.
To analyze the convergence of the proposed observer, the following assumptions are introduced.
Assumption 1. h(x) is a bounded unknown nonlinear vector field, i.e., Assumption 2. . Here, f(x) is a nonlinear and unknown term of system (21) with uncertain dynamic h(x) and is the corresponding estimation of f(x).
Now, the design of the uncertainty observer is established.
Proposition 1. The following nonlinear system (23)–(24) is an asymptotic observer of the system (21)–(22):where g1 and g2 are the observer gains and , with C = [1 0] and being the observation errors. Proof of Proposition 1. Let us define the observation error vector as:
Let us consider the observation error dynamic from Equations (21)–(22) and (23)–(24):
Now, Assumptions 1 and 2 and the Cauchy–Schwartz inequality are applied to Equation (25):
Let us propose the following quadratic form of a Lyapunov function:
Note that this scalar function is a positive definite function.
The time derivative of the scalar function
V is defined as
Now, considering Equations (26)–(27):
By adequately selecting the observer gains of the vector
G:
As can be observed, Equation (34) satisfies the stability condition of the Lyapunov criteria; therefore, it can be concluded that the proposed observer is asymptotically stable.
Note that an asymptotic observer, by definition, can lead the named estimation or observation error to zero at a large enough time, i.e., . The conclusion of this point is that the estimated terms converge to the real ones. □
Finally, under the proposal of the above uncertainty observer design, the realizable controller can be defined as
4. Results and Discussion
Numerical experiments were conducted to explore the reliability and performance of the proposed methodology. The experiments were performed on a PC with an Intel
® Core™ i7 processor, employing MATLAB (v. 2022a) and the 23s library to solve ordinary differential equations under the initial conditions previously mentioned in
Section 2.
From the bioreactor model, the selected productivity of the chemical compound corresponds to C1, where is the reaction rate term, which, as usual, is the most difficult term to be known, so it is considered the uncertain term, which is a realistic assumption. The considered control input corresponds to the input flow u. Considering that the application example shows complex and nonlinear oscillatory dynamic behavior, there are generally no rules for the tuning of the control’s parameters. Therefore, via numerical simulations (not shown), we realize some experiments to calculate, via trial and error, the best selection of the corresponding parameters. As usual, in the control process for nonlinear systems, the parameters of the proposed optimal control are assumed to be α = 1 and u0 = 0.015, yielding the following control structure: u = 1×f − 0.015.
The uncertainty observer (23)–(24), coupled with the proposed controller (35), considers that C1 is available as measured system output and as parameters g1 = 10 and g2 = 100, under the following initial conditions: and . The proposed control strategy is turned on at t = 50 time units.
Now,
Figure 1 shows the open-loop performance of
C1 concentration and the oscillatory dynamics of the bioreactor from the operation start-up until the controller start-up. When the proposed controller acts, the
C1 concentration responds immediately, eliminating the oscillatory behavior and increasing the
C1 concentration to a constant value of
C1 = 150, which is the first satisfactory response of the bioreactor.
Figure 2 is related to a phase portrait, where the uncontrolled concentrations,
C2,
C3, and
C4, are presented. Note that the oscillatory behavior is also eliminated, leading the bioreactor to a fixed closed-loop steady state. Now, it can be observed in
Figure 3 that the performance of the uncertainty observer varies from the oscillatory open-loop operation to the closed-loop operation. The estimation methodology has satisfactory performance, as when the controller is active, the estimator again reaches the real reaction rate
f without a large setting time (only 5 time units) and without large overshoots.
Figure 4 is related to the corresponding control effort; as can be seen, an important increase in the input flow is caused by the control law (35). This is a second important characteristic of the proposed methodology, considering that the bioreactor productivity
p, in a continuous operation, is directly proportional to the output concentration and the corresponding flow. From the above and because of the previous results, the open-loop and closed-loop bioreactor productivity is presented in
Figure 5. The closed-loop productivity is stable and has increased by around 12.5%.
The intensification of biochemical processes is still an open and challenging problem. This is mainly because distinct approaches can be addressed towards biochemical process intensification. Among others, high productivity with a lower possible process scale, economical or yielding costs, or an increment in bioprocess efficiency aim for intensification. Meanwhile, feedback control strategies accompany most of the intensification goals. Robust and optimization properties of the feedback control are open problems whose solutions support biochemical process intensification.