Abstract

Nowadays, the use of advanced control strategies in biotechnology is quite low. A main reason is the lack of quality of the data, and the fact that more sophisticated control strategies must be based on a model of the dynamics of bioprocesses. The nonlinearity of the bioprocesses and the absence of cheap and reliable instrumentation require an enhanced modeling effort and identification strategies for the kinetics. The present work approaches modeling and control strategies for the enzymatic synthesis of ampicillin that is carried out inside a fed-batch bioreactor. First, a nonlinear dynamical model of this bioprocess is obtained by using a novel modeling procedure for biotechnology: the bond graph methodology. Second, a high gain observer is designed for the estimation of the imprecisely known kinetics of the synthesis process. Third, by combining an exact linearizing control law with the on-line estimation kinetics algorithm, a nonlinear adaptive control law is designed. The case study discussed shows that a nonlinear feedback control strategy applied to the ampicillin synthesis bioprocess can cope with disturbances, noisy measurements, and parametric uncertainties. Numerical simulations performed with MATLAB environment are included in order to test the behavior and the performances of the proposed estimation and control strategies.

1. Introduction

The design and implementation of modern control strategies in bioindustry require useful models of the biotechnological processes. In many real-life applications, the dynamic models are high-order and nonlinear [13]. The bioprocess modeling is a quite difficult task; still, by using the mass balance of the components inside the process and obeying some modeling rules, a dynamical state-space model can be obtained [13].

A practical alternative to the classical modeling is the bond graph method, introduced by Paynter in 1961, and further developed in [4]. In the last period, there have been a lot of works on the subject of the theory and application of bond graphs for different kind of systems, such as electrical [5], mechanical, hydraulic, thermal, and chemical [68]. This method provides a uniform manner to describe the dynamical behavior for all types of physical systems. The advantages of bond graph modeling are the following: offers a unified approach for all types of systems; allows to display the exchange of power in a system by its graphical representation; due to causality assignment, it gives the possibility of localization of the state variables and achieving the mathematical model in terms of state space equations in an easier way than using classical methods; provides information regarding the structural properties of the system, in terms of controllability observability, and so forth. The bond graph method uses the exchange power in a system, which is normally the product between the effort and flow variables in the true bond graph [5]. Besides this representation there is another one, in which the product effort-flow does not have the physical dimension of power, called pseudo bond graph [7, 8]. Pseudo bond graphs are more suitable for chemical systems due to the physical meaning of the effort and flow variables. The bond graph modeling of a few biological systems was reported in some works, such as [9]. Though, the bond graph modeling of biotechnological processes is not fully exploited yet; in recent years, only some applications in wastewater treatment bioprocesses were reported [3, 10, 11].

To obtain the model of a bioprocess it is necessary to know the fundaments of the bioprocess and to have good knowledge concerning the bond graph methodology. Even if for a bioreactor specialist seems to be easily to obtain the model via classical method, the bond graph approach can be applied without difficulty after a short training. The major advantage of the proposed approach is that the obtained bond graph models of the bioprocesses can be easily used and extended to other bioprocesses. For example, the bond graph models can be used in order to obtain complex models of interconnected bioprocesses [11], and for the direct design of some observers and controllers [12].

The use of modern control techniques for bioprocesses is hampered by the nonlinearity of this kind of processes and the unavailability of several on-line measurements [2]. Serious problems appear in the measurement of biological variables, that is, the substrates, biomass and product concentrations, and so forth. In many cases, the state variables (concentrations) are analyzed manually and as a result there is not on-line (and real-time) control. These various issues can be solved using “software sensors.” A software sensor is a combination between a hardware sensor and a software estimator. These software sensors can be used not only for the estimation of the concentrations (state variables), but also for the estimation of the kinetic parameters. Very important is the estimation of kinetic rates inside a bioreactor, that is, the so-called kinetics of the bioprocess. The growing interest for development of software sensors for bioprocess and biological systems is proven by the numerous publications and applications in this field [13, 1316]. One of the first approaches from historically point of view is based on Kalman filter which leads to complex nonlinear algorithms. Another classical technique is the Bastin and Dochain approach based on adaptive systems theory [1]. This strategy consists in the estimation of unmeasured state with asymptotic observers, and after that, the measurements and the estimates of state variables are used for on-line estimation of kinetic rates. This method is useful, but in some cases, when many reactions are involved, the implementation requires the calibration of too many parameters. For instance, if we have n components’ concentrations used for the estimation of m kinetic rates, it is necessary to calibrate 2n tuning parameters [1]. In order to overcome this problem, a possibility is to design an estimator using a high gain approach (see [13, 14]). The gain expression of the high gain observers involves a single tuning parameter whatever the number of components and reactions. High gain observers have evolved over the past two decades as an important tool for the design of output feedback control of nonlinear systems [17]. The early work on high gain observers appeared in the late 1980s, and afterwards the technique was developed independently by two schools of researchers: a French school lead by Gauthier, Hammouri, Farza, and others, [13, 14], and a US school lead by Khalil [17].

The modeling techniques and the estimation strategies were used for the design of several control strategies, such as optimal control [1], sliding mode control [18], adaptive control [1, 18], vibrational control, model predictive control [19], fuzzy and neural strategies, and so on. Generally speaking, due to specificity and nonlinearity of bioprocesses, there is no universal solution to the control problem, and good solutions are given only by studying each particular bioprocess.

In this paper, which is an extended work of [20], three main correlated issues concerning the enzymatic bioprocess of ampicillin are studied: modeling, kinetics estimation, and control. First, a pseudo bond graph approach is proposed for the modeling of an enzymatic synthesis of ampicillin, widely used in bioindustry. Ampicillin (6-[2-amino-2-phenylacetamide] penicillanic acid) is a semisynthetic β-lactamic antibiotic which is very stable at acidic conditions, well absorbed and effective against a wide variety of microorganisms, with low minimal inhibitory concentration [2124]. Currently, it is manufactured in bioindustry through a chemical route. These reactions typically involve costly steps, such as very low temperatures and the use of toxic organic solvents like methylene chloride and silylation reagents. Enzymatic synthesis is an alternative process; it has high selectivity, specificity, and activity in mild reaction conditions (aqueous medium, neutral pH, and moderate temperatures) [2527]. The main aim of enzyme immobilization is the industrial reuse of enzymes for many reaction cycles [25, 28, 29]. Thus, simplicity and improvement of enzyme properties have to be strongly associated with the design of protocols for enzyme immobilization. A critical review of enzyme immobilization was presented in [25]. Concerning the use of enzymatic methods in production of semisynthetic β-lactamic antibiotics, several drawbacks and perspectives are presented by Volpato et al. [30]. These antibacteria agents are produced in hundreds tons/year scale. They are usually produced by the hydrolysis of natural antibiotics (penicillin G or cephalosporin C). Due to the contaminant reagents used in conventional chemical route, as well as the high energetic consumption, biocatalytic approaches have been studied for both steps in the production of these very interesting medicaments during the last decades [30]. The hydrolysis of penicillin G to produce 6-APA catalyzed by penicillin G acylase is one of the most successful examples of the enzymatic biocatalysis. The dynamical model of this complex bioprocess is obtained via the bond graph methodology by using the reaction scheme and the analysis of biochemical phenomena inside the bioreactor.

Second, because the kinetic rates of the enzymatic bioprocess of ampicillin production are nonlinear and highly uncertain, an on-line estimation strategy is designed. Some estimation strategies were proposed in the last years, such as observer-based estimators and the second-order observers (see, e.g., [31]). In this paper, the design and implementation of high gain observers is proposed, with certain advantages concerning the robustness against disturbances and the simple tuning. The high gain estimation scheme does not require any model for the kinetic rates. The tuning of the proposed observers is reduced to the calibration of a single parameter. The nonlinear observer design is based on the work of Gauthier et al. [14], Farza et al. [13], focused on deriving global results under global Lipschitz conditions.

Third, an adaptive control law for the enzymatic fed-batch bioprocess of ampicillin production is developed. For bioprocesses taking place into fed-batch reactors, the adaptive control approach is a viable alternative of the optimal control [1, 2]. In order to design a control law, the so-called exact linearizing approach is used [32]. The nonlinear controller thus obtained is combined with the high gain estimator for the unknown kinetics, and consequently an adaptive controller is obtained. Due to the fact that the implementation of highgain observer and of the adaptive controller requires on-line state estimates, these will be provided by an asymptotic observer. The performances and the behavior of the estimation and control algorithms are studied by using extensive numerical simulations. All these simulations are achieved by using the development, programming and simulation environment Matlab (registered trademark of The MathWorks, Inc., USA).

The results obtained in this study show a good behavior of the adaptive controlled ampicillin synthesis bioprocess. The proposed adaptive control scheme is quite simple, because only two tuning parameters were used, one for estimator and one for the linearizing controller. The bond graph modeling, estimation, and control strategies can be also applied to other processes belonging to the nonlinear class of bioprocesses considered in the study.

2. Materials and Methods

2.1. Bond Graph Modeling Method for the Enzymatic Synthesis of Ampicillin

The bioprocesses are highly complex processes that take place inside biochemical reactors (bioreactors). The bioreactors can operate in three modes: the continuous mode, the fed-batch mode, and the batch mode [13]. A Fed-Batch Bioreactor (FBB) initially contains a small amount of substrates (the nutrients) and microorganisms and is progressively filled with the influent substrates. When the FBB is full, the content is harvested. A Batch Bioreactor is filled with the reactant mixture: substrates and microorganisms and allows for a particular time period for the reactions inside the reactor; after some time the products are removed from the tank. In a Continuous Stirred Tank Bioreactor (CSTB), the substrates are fed to the bioreactor continuously and an effluent stream is continuously withdrawn such that the culture volume is constant.

Next, the bond graph method is used in order to obtain the model of the enzymatic synthesis of ampicillin process, which takes place inside an FBB. Firstly, after a short presentation of the bond graph method, a simple prototype fed-batch bioprocess is modeled. After that, the enzymatic synthesis of ampicillin is widely studied, and the bond graph model is obtained by using the reaction scheme, the analysis of the phenomena inside the bioprocess and the bond graph modeling rules.

Bond graph technique uses the effort-flow analogy to describe physical processes. A bond graph consists of subsystems linked together by lines representing power bonds. Each process is described by a pair of variables, effort e and flow f, and their product is the power. The direction of power is depicted by a half-arrow. In a dynamic system the effort and the flow variables, and hence the power fluctuate in time. One of the advantages of bond graph method is that models of various systems belonging to different engineering domains can be expressed using a set of only nine elements. A classification of bond graph elements can be made up by the number of ports; ports are places where interactions with other processes take place. There are one port elements represented by inertial elements (I), capacitive elements (C), resistive elements (R), effort sources (Se), and flow sources (Sf), two ports elements represented by transformer elements (TF) and gyrator elements (GY), and multiport elements effort junctions (J0), and flow junctions (J1). I, C, and R elements are passive elements because they convert the supplied energy into stored or dissipated energy. Se and Sf elements are active elements because they supply power to the system and TF, GY, 0-and 1-junctions are junction elements that serve to connect I, C, R, Se, and Sf, and constitute the junction structure of the bond graph model. Besides the power variables, two other types of variables are very important in describing dynamic systems and these variables, sometimes called energy variables, are the generalized momentum 𝑝 as time integral of effort and the generalized displacement 𝑞 as time integral of flow [4].

In biotechnology, pseudo bond graph models are accomplished starting with processes reactions schemes and using both base bond graph elements and pseudo bonds with effort and flow variables as concentrations and mass flows. One of the simplest biological reactions is the microorganisms growth process, with the reaction scheme [1] given by:𝑆𝜑𝑋,(1)

where 𝑆 is the substrate, 𝑋 is the biomass and 𝜑 is the reaction rate.

This simple growth reaction represents in fact a prototype reaction, which can be found in almost every bioprocess. The dynamics of the concentrations of the components from reaction scheme (1) can be modeled considering the mass balance of the components. The dynamical model of process (1) is simple, but if the reaction scheme is more complicated, the achievement of the dynamical model is difficult. In order to model bioprocesses, pseudo bond graph method is more appropriate because of the meaning of variables involved—effort (concentration) and flow (mass flow). From the reaction scheme (1) and taking into account the mass transfer through the FBB, using the bond graph modeling characteristics, the pseudo bond graph model of the fed-batch bioprocess is achieved see Figure 1. The bond graph model is depicted in the 20 sim environment (registered trademark of Controllab Products B.V. Enschede, The Netherlands).

The directions of half arrows correspond to the run of the reaction, going out from the substrate 𝑆 towards biomass 𝑋. In the bond graph model, the mass balances of the species involved in the bioreactor are represented by two 0-junctions: 01,2,3,4 (mass balance for the substrate 𝑆) and 07,8,9 (mass balance for the biomass 𝑋). Due to the fact that the form of kinetics is complex, nonlinear, and in many cases unknown, the modeling of the reaction kinetics is a difficult task. A general assumption [1] is that a reaction can take place only if all reactants are presented in the bioreactor. Therefore, the reaction rates are necessarily zero whenever the concentration of one of the reactants is zero.

In order to model the reaction rate 𝜑, because of the dependency of substrate and biomass concentrations, we have used a modulated two port R element, denoted MR5,6. Mass flow of the component entering the reaction is modeled using a modulated source flow element 𝑆𝑓1 and quantities exiting from the reaction are modeled using modulated flow sources elements 𝑆𝑓 represented by bonds 3 and 9. This approach was imposed by the dependency of these elements on 𝐹in: the input feed rate, and on 𝑉: volume of the bioreactor.

From 𝑆𝑓 constitutive equations we have 𝑓3=𝑒3𝑆𝑓3, 𝑓9=𝑒9𝑆𝑓9. The accumulations of substrate and biomass in FBB are represented by bonds 2 and 8 and are modeled using capacitive elements C, with the constitutive equations:𝑒2=𝑞2𝐶2=𝑡𝑓1𝑓3𝑓4𝑑𝑡𝐶2,(2)𝑒8=𝑞8𝐶8=𝑡𝑓7𝑓9𝑑𝑡𝐶8.(3)

By using the constitutive relations of transformer elements TF4,5 and TF6,7, the relations for flows 𝑓4 and 𝑓7 are obtained: 𝑓4=𝑘4,5𝑓5, 𝑓7=𝑓5/𝑘6,7, with 𝑘4,5 and 𝑘6,7 the transformers modulus, which are in fact yield coefficients of the bioprocess (their values equal one for this fed-batch bioprocess). In fact, 𝑒2 is the substrate concentration, which will be denoted with 𝑆, 𝑒8 is the biomass concentration 𝑋, 𝑓5 is proportional to 𝜑 and 𝑉, 𝐶2=𝐶8=𝑉 with 𝑆𝑓3=𝑆𝑓9=𝐹in. Therefore, from (2) and (3) we will obtain the dynamical model of the fed-batch bioprocess:𝑉𝑑𝑆𝑑𝑡=𝑉̇𝑆(𝑡)=𝐹in𝑆in𝐹0𝑆𝜑𝑉,𝑉𝑑𝑋𝑑𝑡=𝑉̇𝑋(𝑡)=𝐹0𝑋+𝜑𝑉,𝑑𝑉𝑑𝑡=̇𝑉(𝑡)=𝐹in.(4)

The model (4) expresses the equations of mass balance for the reaction scheme (1). Taking into account that the dilution rate 𝐷=𝐹in/𝑉, the dynamical behavior of the concentrations can be easily obtained from (4):̇𝑆(𝑡)=𝐷𝑆in𝐷𝑆𝜑,̇𝑋(𝑡)=𝐷𝑋+𝜑,̇𝑉(𝑡)=𝐹in.(5)

Next, this bond graph procedure is extended to the modeling of the enzymatic synthesis of ampicillin taking place inside a fed-batch bioprocess. Ampicillin (6-[2-amino-2-phenylacetamide] penicillanic acid) is a semisynthetic β-lactamic antibiotic which is very stable at acidic conditions, well absorbed and effective against a wide variety of microorganisms, with low minimal inhibitory concentration [2124]. Currently, it is manufactured in bioindustry through a chemical route. For instance, an amino β-lactam, such as 6-aminopenicilanic acid (6-APA), having its carboxyl group protected, reacts with an activated side-chain derivative (D-phenylglycine acid chloride, to produce ampicillin). The protecting group is than removed by hydrolysis. These reactions typically involve costly steps, such as very low temperatures and the use of toxic organic solvents like methylene chloride and silylation reagents [22]. Enzymatic synthesis is an alternative process; it has high selectivity, specificity, and activity in mild reaction conditions (aqueous medium, neutral pH and moderate temperatures). The influence of the substrate structure on the catalytic properties of penicillin G acylase (PGA) from Escherichia coli in kinetically controlled acylations has been studied in [27]. In particular, the affinity of different β-lactam nuclei towards the active site has been evaluated considering the ratio between the rate of synthesis and the rate of hydrolysis of the acylating ester. It has been shown that this approach presents several advantages compared with the classical chemical processes [27].

Still, none of the known enzymatic methods have yet been upscaled to industrial applicability, due to the high costs caused by a low yield. Penicillin G acylase (PGA), for example, can act as a hydrolase as well as a transferase, which means that the same enzyme catalyzes the synthesis of ampicillin as well as the hydrolysis of the activated acyl donor and the hydrolysis of the newly formed antibiotic. The main reactions involved in the enzymatic synthesis of ampicillin are presented in Figure 2 [33, 34].

The reaction scheme of this complex bioprocess contains three reactions [31]:

(a) the ampicillin synthesis:𝑘1𝑆1+𝑆2𝜑1𝑘5𝑃2+𝑘6𝑃3,(6)

(b) the phenylglycine methyl ester hydrolysis:𝑆2𝜑2𝑘3𝑃1+𝑘7𝑃3,(7)

(c) the ampicillin hydrolysis:𝑃2𝜑3𝑘4𝑃1+𝑘2𝑆1,(8)

In the above reactions, 𝑆1, 𝑆2, 𝑃1, 𝑃2, and 𝑃3 represent 6-aminopenicillanic acid (6-APA), phenylglycine methyl ester (PGME), phenylglycine (PG), ampicillin (AMP), and methanol, respectively. 𝜑1,𝜑2, and 𝜑3 represent the reaction rates of these three reactions, and 𝑘𝑖 are yield coefficients. Considering that the bioprocess takes place inside a fed-batch bioreactor, from the reaction scheme (6)–(8), and by using the bond graph elements and modeling rules, a bond graph model of the process is obtained see Figure 3.

As it is mentioned previously, the meanings of the effort and flow variables of the bond graph model are concentration and mass flow, respectively. The directions of the half-arrows in the bond graph correspond to the progress of the reactions, going out from the components 𝑆1 and 𝑆2 towards 𝑃2 and 𝑃3 for the first reaction, from 𝑆2 to 𝑃1 and 𝑃3 for the second reaction, and from 𝑃2 towards 𝑃1 and 𝑆1 for the third reaction, respectively. In bond graph terms, the mass balances of the components involved in the bioprocess are represented by five 0-junctions: 01,2,3,4,33 (mass balance for 𝑆1), 06,7,8,9,11 (mass balance for 𝑆2), 015,16,17,18,31 (mass balance for 𝑃1), 020,21,22,27 (mass balance for 𝑃2), and 024,25,26,36 (mass balance for 𝑃3). The constitutive relations of these junctions are characterized by the equality to zero of the sum of flow variables corresponding to the junction bonds; therefore, the next relations are obtained:𝑓1𝑓2𝑓3𝑓4+𝑓33=0,𝑓6𝑓7𝑓8𝑓9𝑓11=0,𝑓15𝑓16𝑓17+𝑓18+𝑓31=0,𝑓20𝑓21𝑓22𝑓27=0,𝑓24𝑓25𝑓26+𝑓36=0.(9)

The accumulations of components 𝑆1, 𝑆2, 𝑃1, 𝑃2, and 𝑃3 in the bioreactor are represented by bonds 2, 7, 16, 22, and 25, and they are modeled using capacitive elements C. The constitutive equations of C-elements are as follows:𝑒2=1𝐶2𝑞2=1𝐶2𝑡𝑓1𝑓3𝑓4+𝑓33𝑑𝑡,(10)𝑒7=1𝐶7𝑞7=1𝐶7𝑡𝑓6𝑓8𝑓9𝑓11𝑑𝑡,(11)𝑒16=1𝐶16𝑞16=1𝐶16𝑡𝑓15𝑓17+𝑓18+𝑓31𝑑𝑡,(12)𝑒22=1𝐶22𝑞22=1𝐶22𝑡𝑓20𝑓21𝑓27𝑑𝑡,(13)𝑒25=1𝐶25𝑞25=1𝐶25𝑡𝑓24𝑓26+𝑓36𝑑𝑡,(14)

where 𝑒2,𝑒7,𝑒16,𝑒22,𝑒25 are the concentrations of components 𝑆1, 𝑆2, 𝑃1, 𝑃2, 𝑃3 (all in mM = 10-3 mol/L), and 𝐶2,𝐶7,𝐶16,𝐶22,𝐶25 are the parameters of C-elements: 𝐶2=𝐶7=𝐶16=𝐶22=𝐶25=𝑉, with 𝑉 the bioreactor volume (L).

The output flows of the components exiting from the reactions are modeled by using flow source elements Sf represented by bonds 3, 8, 17, 21, and 26. The constitutive equations of these elements are as follows: 𝑓3=𝑆𝑓3,𝑓8=𝑆𝑓8,𝑓17=𝑆𝑓17,𝑓21=𝑆𝑓21,𝑓26=𝑆𝑓26, where 𝑆𝑓3,𝑆𝑓8,𝑆𝑓17,𝑆𝑓21,𝑆𝑓26 are the parameters of Sf-elements. Therefore we have 𝑆𝑓3=𝑆𝑓8=𝑆𝑓17=𝑆𝑓21=𝑆𝑓26=𝐹0, where 𝐹0 is the output flow (L/min). Mass flows of the components entering the reactions are modeled using source flow elements 𝑆𝑓1, 𝑆𝑓6, and 𝑆𝑓18. Consequently, we have 𝑓1=𝑉𝐹1,𝑓6=𝑉𝐹2,𝑓18=𝑉𝐹3, where 𝐹1,𝐹2 and 𝐹3 (all in mM/min) are the feed rates of 6-APA, PGME, and PG, respectively. The transformer elements TF4,5, TF9,10, TF11,12, TF14,15, TF19,20, TF23,24, TF27,28, TF30,31,TF32,33, TF35,36 were introduced to model the yield coefficients. For the modeling of the reaction rates we used three two-port modulated R elements: MR1, MR2, and MR3. From the constitutive relations of the three 1-junction elements, 15,10,19,34, 112,13,23, and 128,29,32 we obtain: 𝑓5=𝑓10=𝑓19=𝑓34, 𝑓12=𝑓13=𝑓23, 𝑓28=𝑓29=𝑓32, where the constitutive relations of MR elements imply that 𝑓34=𝜑1𝑉, 𝑓13=𝜑2𝑉, and 𝑓29=𝜑3𝑉. Also, from the constitutive relations of transformers we obtain the following relations:𝑓4=𝑘4,5𝑓5,𝑓9=𝑘9,10𝑓10,𝑓11=𝑘11,12𝑓12,𝑓15=1𝑘14,15𝑓14,𝑓20=1𝑘19,20𝑓19,𝑓24=1𝑘23,24𝑓23,𝑓27=𝑘27,28𝑓28,𝑓31=1𝑘30,31𝑓30,𝑓33=1𝑘32,33𝑓33,𝑓36=1𝑘35,36𝑓36,(15)

with 𝑘4,5, 𝑘9,10, 𝑘11,12, 𝑘14,15, 𝑘19,20, 𝑘23,24, 𝑘27,28, 𝑘30,31, 𝑘32,33, and 𝑘35,36 the transformers modulus, which are in fact yield coefficients of the bioprocess.

Using these notations, from (10)–(14) and the above relationships, the following dynamical model of the bioprocess is obtained:𝑉̇𝑆1=𝑉𝐹1𝐹0𝑆1𝑘4,5𝜑1𝑉+1𝑘32,33𝜑3𝑉,𝑉̇𝑆2=𝑉𝐹2𝐹0𝑆2𝑘9,10𝜑1𝑉𝑘11,12𝜑2𝑉,𝑉̇𝑃1=1𝑘14,15𝜑2𝑉𝐹0𝑃1+𝑉𝐹3+1𝑘30,31𝜑3𝑉,𝑉̇𝑃2=1𝑘19,20𝜑1𝑉𝐹0𝑃2𝑘27,28𝜑3𝑉,𝑉̇𝑃3=1𝑘23,24𝜑2𝑉𝐹0𝑃3+1𝑘35,36𝜑1𝑉.(16)

Taking into account that 𝑘4,5=𝑘1, 𝑘32,33=1/𝑘2, 𝑘9,10=𝑘11,12=1, 𝑘14,15=1/𝑘3, 𝑘30,31=1/𝑘4, 𝑘19,20=1/𝑘5, 𝑘27,28=1, 𝑘35,36=1/𝑘6, 𝑘23,24=1/𝑘7, and using the so-called dilution rate 𝐷=𝐹0/𝑉=1/𝑡𝑟, with 𝑡𝑟 : medium residence time, the equations (16) can be written in the next form:̇𝑆1=𝑘1𝜑1+𝑘2𝜑3𝐷𝑆1+𝐹1,̇𝑆2=𝜑1𝜑2𝐷𝑆2+𝐹2,̇𝑃1=𝑘3𝜑2+𝑘4𝜑3𝐷𝑃1+𝐹3,̇𝑃2=𝑘5𝜑1𝜑3𝐷𝑃2,̇𝑃3=𝑘6𝜑2+𝑘7𝜑1𝐷𝑃3.(17)

The model of this bioprocess, obtained via bond graph approach, is equivalent with the model obtained via classical method (see e.g., [31]). The model (17) can be expressed in the form:𝑑𝑑𝑡𝑆1𝑆2𝑃1𝑃2𝑃3=𝑘10𝑘21100𝑘3𝑘4𝑘501𝑘6𝑘70𝐾𝜑1𝜑2𝜑3𝐷𝑆1𝑆2𝑃1𝑃2𝑃3+𝐹1𝐹2𝐹300.(18)

The state vector of the system (18) will be denoted as: 𝜉=[𝑆1𝑆2𝑃1𝑃2𝑃3]𝑇. The vector of reaction rates is 𝜑=[𝜑1𝜑2𝜑3]𝑇, 𝐾 is the matrix of dimensionless yield coefficients, and the vector of feed rates is denoted with 𝐹=[𝐹1𝐹2𝐹300]𝑇. By using these notations, the dynamical nonlinear model (18) can be compactly written as:̇𝜉=𝐾𝜑(𝜉)𝐷𝜉+𝐹.(19)

The dynamical model of the enzymatic synthesis of ampicillin (19) belongs to a large class of nonlinear bioprocesses carried out in bioreactors and is referred as general dynamical state-space model of this class of bioprocesses [1].

2.2. On-Line Estimation of Unknown Kinetics with High Gain Observers

The most difficult task for the construction of the dynamical model (19) is the modeling of the reaction rates. The form of kinetics is complex, nonlinear, and in many cases partial or completely unknown. A realistic assumption is that a reaction can take place only if all reactants are presented in the reactor [1]. Thus, the reaction rates are necessarily zero whenever the concentration of one of reactants is zero. Taking into consideration these aspects, the reaction rates can be written as follows:𝜑(𝜉)=𝜑1𝜑2𝜑3=𝑆1000𝑆2000𝑃2𝐻(𝜉)𝜇1𝜇2𝜇3=𝐻(𝜉)𝜇(𝜉),(20)

where 𝜇() is the vector of specific reaction rates. A possible structure of the nonlinear specific growth rates is of Monod-type model, and it is given in [22, 23, 34]. Consequently, the reaction rates can be modeled as follows:(a)for the ampicillin synthesis:𝜑1(𝜉)=𝑆1𝜇1(𝜉)=𝑆1𝑘EN+𝑆1𝑘cat1𝐶EZ𝑆2𝐾𝑚11+𝑃2/𝑘AE+𝑆2(21)(b) for the phenylglycine methyl ester hydrolysis:𝜑2(𝜉)=𝑆2𝜇2(𝜉)=𝑘cat1𝐶EZ𝑆2𝐾m11+𝑃2/𝑘AE+𝑆2(22)(c) for the ampicillin hydrolysis:𝜑3(𝜉)=𝑃2𝜇3(𝜉)=𝑘cat2𝐶EZ𝑃2𝐾m21+𝑆2/𝑘EA+𝑃2,(23)

where 𝐶EZ represents the enzyme activity (UI/mlgel), 𝑘EN, 𝑘AE, and 𝑘EA are inhibition constants (mM), 𝑘cat1, and 𝑘cat2 are kinetic constants (mM/UI min), 𝐾𝑚1, and 𝐾𝑚2 are Michaelis-Menten constants (mM).

However, in practice the reaction rates and/or the specific reaction rates given by the relations (21)–(23) are imprecisely known. For on-line estimation of these kinetic rates, high gain observers can be designed. Next, the nonlinear model (19) is expressed as:̇𝜉=𝐾𝐻(𝜉)𝜌(𝑡)𝐷𝜉+𝐹,(24) where 𝜌(𝑡) represents the unknown kinetics of the process. If we suppose that the reaction rates are totally unknown, then 𝜌(𝑡)=𝜑(𝑡) and 𝐻(𝜉)=1. If the structure of the reaction rates is known 𝜑(𝜉)=𝐻(𝜉)𝜇(𝜉), but the specific reaction rates are unknown, then 𝜌(𝑡)=𝜇(𝑡) and 𝐻(𝜉) is the matrix given in (20).

The high gain observers design necessitates a factorization of the model (24) [13, 14, 20]. We will consider that the yield matrix 𝐾 is of full rank, which is true for our particular model, and for general class of bioprocesses’ models is a generic property. We shall suppose that all state variables are measured (contrarily, a state estimator can be used). Since the yield matrix 𝐾 is of full rank, then the partition (𝐾𝑎,𝐾𝑏) can be considered, such that the submatrix 𝐾𝑎 has full rank. Therefore, a partition (𝜉𝑎,𝜉𝑏) of the state vector is obtained, and consequently a partition for 𝐹 is achieved: (𝐹𝑎,𝐹𝑏). Then, the system (24) can be written as follows:̇𝜉𝑎=𝐾𝑎𝐻𝜉𝑎,𝜉𝑏𝜌(𝑡)𝐷𝜉𝑎+𝐹𝑎,̇𝜉𝑏=𝐾𝑏𝐻𝜉𝑎,𝜉𝑏𝜌(𝑡)𝐷𝜉𝑏+𝐹𝑏,(25)

By using this factorization, a highgain observer can be implemented. The design of highgain observers is done in [13, 14], with supplementary assumptions regarding global Lipschitz conditions, the boundedness of 𝐻(𝜉) diagonal elements’ away from zero, and so forth. The equations of the nonlinear high gain observer for (24) are obtained as [14]:̇̂𝜉𝑎=𝐾𝑎𝐻𝜉𝑎,𝜉𝑏̂𝜌𝐷̂𝜉𝑎+𝐹𝑎2𝜃̂𝜉𝑎𝜉𝑎,̇̂𝜌=𝜃2𝐾𝑎H(̂𝜉𝑎,𝜉𝑏)1̂𝜉𝑎𝜉𝑎.(26)

The high gain observer (26) provides on-line estimates ̂𝜌 for the unknown kinetics. This on-line estimation algorithm is in fact a copy of the process model, with a corrective term. The observer is simple and the tuning of the gain can be done by modifying only one design parameter: 𝜃. It should be noticed that ̂𝜉𝑎 is an “estimate” of 𝜉𝑎, provided by the algorithm in order to be compared with the real state (𝜉𝑎 is measured or provided by a state observer), and the resulting error to be used in (26).

In order to obtain the equations of the observers for our bioprocess, the next factorization of yield matrix and corresponding partition are considered [20]:𝐾𝑎=𝑘10𝑘21100𝑘3𝑘4,𝐾𝑏=𝑘501𝑘6𝑘70,𝜉𝑎=𝑆1𝑆2𝑃1,𝜉𝑏=𝑃2𝑃3,𝐹𝑎=𝐹1𝐹2𝐹3,𝐹𝑏=00.(27)

Then, for the enzymatic synthesis of ampicillin, two high-gain estimators can be derived from (26) [20].

(a) an estimator for the specific reaction rates. In this case 𝜌(𝑡)=𝜇(𝑡), and 𝐻(𝜉) is the matrix given in (20). The equations of the high-gain observer are:̇𝑆1̇𝑆1̇𝑃1=𝐾𝑎𝑆1000𝑆2000𝑃2𝜇1𝜇2𝜇3𝐷𝑆1𝑆2𝑃1+𝐹1𝐹2𝐹32𝜃𝑆1𝑆1𝑆2𝑆2𝑃1𝑃1̇𝜇1̇𝜇2̇𝜇3=𝜃2𝐾𝑎𝑆1000𝑆2000𝑃21𝑆1𝑆1𝑆2𝑆2𝑃1𝑃1,(28)

(b) a second estimator can be obtained if the entire reaction rate vector is considered unknown. In this case 𝜌(𝑡)=𝜑(𝑡) and 𝐻(𝜉)=1. Then, the equations of the highgain observer are as follows:̇𝑆1̇𝑆1̇𝑃1=𝐾𝑎𝜑1𝜑2𝜑3𝐷𝑆1𝑆2𝑃1+𝐹1𝐹2𝐹32𝜃𝑆1𝑆1𝑆2𝑆2𝑃1𝑃1,̇𝜑1̇𝜑2̇𝜑3=𝜃2𝐾𝑎1𝑆1𝑆1𝑆2𝑆2𝑃1𝑃1.(29)

The high gain observer (28) needs the on-line measurements of 𝑆1, 𝑆2, 𝑃1, and 𝑃2. Usually, only the first three concentrations are available. Therefore, a state observer is required in order to reconstitute the measurements of 𝑃2. For example, an asymptotic state observer is designed in [31]. In such a case, the estimates of 𝑃2 provided by the asymptotic observer will be used in (28). In the case of the high gain observer (29), only the measurements of 𝑆1, 𝑆2, and 𝑃1 are needed.

2.3. Adaptive Control Law Design

Concerning the fed-batch bioprocess control, a typical problem is that of generating the substrate feed rate profile to optimize a performance criterion [1]. For our process, the main objective is to obtain a high level of the ampicillin concentration. This goal can be achieved through an optimal control, that is, the calculation of a feeding rate optimal profile. This is unsatisfactory when the kinetics is imprecisely known. A possible suboptimal alternative is the adaptive control [1]. In this section, firstly, an exact linearizing control law is obtained. Then, adaptive versions are implemented, considering that the kinetics are unknown, and by using the kinetics estimators described before.

The exact linearizing control law for the model (18) (or the model written in the compact form (19)) is obtained in a classical three steps strategy (see [32] for the general point of view and [1] for bioprocesses). The control goal is that the ampicillin concentration 𝑦(𝑡)=𝜉4(𝑡)=𝑃2(𝑡) to track the desired substrate trajectory 𝑦(𝑡)=𝑃2(𝑡), with the dilution rate as control action: 𝑢(𝑡)=𝐷(𝑡). The first step consists in the achievement of an input-output model of the bioprocess, which is obtained directly from (18):̇𝑦=̇𝑃2=̇𝜉4=𝑘5𝜑1(𝜉)𝜑3(𝜉)𝑢𝑦.(30)

Second, we consider a stable and linear reference model for the tracking error 𝑦𝑦: ̇𝑦̇𝑦+𝜆𝑦𝑦=0,𝜆>0.(31)

Finally, the exact linearizing control law is obtained by calculus of 𝑢such that (30) has the same behavior as (31):𝑢(𝑡)=1𝑦𝑘5𝜑1(𝜉)𝜑3(𝜉)𝜆𝑦𝑦=1𝑦𝑘5𝜇1(𝜉)𝜉1𝜇3(𝜉)𝑦𝜆𝑦𝑦=1𝑦𝑘5𝜉1𝑘EN+𝜉1𝑘cat1𝐶EZ𝜉2𝐾𝑚11+𝑦/𝑘AE+𝜉2𝑘cat2𝐶EZ𝑦𝐾𝑚21+𝜉2/𝑘EA+𝑦𝜆𝑦𝑦,(32)

where we consider 𝑦=const.

The exact linearizing control (32) can ensure the achievement of control goal only if the involved concentrations are on-line measurable and if the reaction rates (or the specific growth rates, resp.) are known. Contrarily, the estimations provided by the estimators are needed, and if they are used in the exact linearizing control law, some adaptive versions of the nonlinear law are obtained. For example, if the estimations ̂𝜌(𝑡)=𝜇(𝑡) provided by (28) are used in the control law (32), an adaptive version of this law is obtained as follows:𝑢(𝑡)=1𝑦𝑘5𝜇1(𝑡)𝜉1𝜇3(𝑡)𝑦𝜆𝑦𝑦.(33)

The entire adaptive control algorithm consists of (28) and (33). Regarding the stability and convergence properties of the controlled system, these are widely discussed for a general class of bioprocesses in [1]. Another version of the adaptive control law (33) is obtained if the full vector of reaction rates is considered as unknown. In this case, the high gain estimator (29) is used, and the adaptive control law takes the following form:𝑢(𝑡)=1𝑦𝑘5𝜑1(𝑡)𝜑3(𝑡)𝜆𝑦𝑦.(34)

Therefore, the complete adaptive control algorithm consists now of (29) and (34). Moreover, when the ampicillin concentration cannot be on-line measured, then an asymptotic observer [31] can be used in order to provide the estimates 𝑦est, and consequently a version of the adaptive controller (33) is obtained as follows:𝑢(𝑡)=1𝑦est𝑘5𝜇1(𝑡)𝜉1𝜇3(𝑡)𝑦est𝜆𝑦𝑦est.(35)

The adaptive control algorithm consists of (28), (35), plus the asymptotic observer.

The design of asymptotic observers is based on mass and energy balances without the knowledge of the process kinetics being necessary [1]. More precisely, the design is based on some useful changes of coordinates, which lead to a submodel of the process which is independent of the kinetics. Next, the fundaments of the design of an asymptotic observer for the process (24) will be presented. The maximum state information which can be reconstituted is obtained by using the states 𝜉1=[𝑆1𝑃1]𝑇 considered as measurable. Therefore, the vector of unavailable states is 𝜉2=[𝑆2𝑃2𝑃3]𝑇; these states will be estimated. In order to achieve the change of coordinates, the partition (𝜉1,𝜉2)induces partitions of the yield matrix 𝐾: (𝐾1, 𝐾2), also of the rate vector (𝐹1,𝐹2) accordingly. The state partition was chosen such that the submatrix 𝐾1 is full rank and dim(𝜉1)=rank(𝐾1)=rank(𝐾). Then a linear change of coordinates can be defined as follows:𝑧=𝐺𝜉1+𝜉2,(36)

with 𝑧 an auxiliary state vector and G the solution of the matrix equation 𝐺𝐾1+𝐾2=0. In the new coordinates, model (19) can be rewritten aṡ𝜉1=𝐾1𝜑𝜉1,𝑧𝐺𝜉1𝐷𝜉1+𝐹1,̇𝑧=𝐷𝑧+𝐺𝐹1+𝐹2.(37)

The main achievement of the change of coordinates is that the dynamics of the auxiliary state variables is independent of the reaction kinetics. The asymptotic observer equations are derived as follows (from (36) and (37)) [31]:̇𝑧1esṫ𝑧2esṫ𝑧3est=𝐷𝑧1est𝑧2est𝑧3est+1𝑘11𝑘3𝑘5𝑘10𝑘6𝑘1𝑘7𝑘3𝐹1𝐹3+𝐹200,(38)𝑢(𝑡)=1𝑦𝑘5𝜑1(𝜉)𝜑3(𝜉)𝜆𝑦𝑦=1𝑦𝑘5𝜇1(𝜉)𝜉1𝜇3(𝜉)𝑦𝜆𝑦𝑦=1𝑦𝑘5𝜉1𝑘EN+𝜉1𝑘cat1𝐶EZ𝜉2𝐾𝑚11+𝑦/𝑘AE+𝜉2𝑘cat2𝐶EZ𝑦𝐾𝑚21+𝜉2/𝑘EA+𝑦𝜆𝑦𝑦,(39)

The asymptotic observer can be used for the implementation of the adaptive law (35).

3. Results and Discussion

The behavior and the performance of the proposed estimation and control algorithms were analyzed by using intensive simulations. The simulations were performed in MATLAB environment (registered trademark of The MathWorks Inc., USA). The fed-batch bioprocess has been simulated by numerical integration of the basic model equations (18), (21)–(23). The values of kinetic parameters and of yield coefficients used in simulations are presented in Table 1 [23, 31].

Three simulation scenarios were taken into consideration.

(i) The exact linearizing control law (32) was implemented for the bioprocess (18), with the design parameter 𝜆=3. The closed loop system was tested for a step profile of the ampicillin concentration reference. This simulation case is a kind of benchmark, because all the parameters and the reaction rates are considered to be known (and given by the relations (21)–(23)). A parametric disturbance was considered in the feed rate 𝐹2, which has a 20% decrease of its nominal value (between 𝑡=50 min and 𝑡=100 min). The simulation results are presented in Figure 4. Panel (a) shows the time profiles of 𝜉1=𝑆1, 𝜉2=𝑆2, 𝜉3=𝑃1, and 𝜉5=𝑃3 (i.e., 6-APA, PGME, PG, and methanol concentrations, resp.). In panel (b) the evolution of the specific reaction rates is depicted, while in panel (c) the output (ampicillin concentration) versus the reference profile is shown. Panel (d) presents the control action, that is, the evolution of the dilution rate. From these simulation results, it can be seen a very good behavior of the controlled bioprocess.

(ii) In the second simulation scenario, an adaptive version of the control law was implemented in the same conditions as in previous case. This adaptive controller consists of the high gain observer (28) and the control law (33). Therefore, the specific growth rates 𝜇1, 𝜇2, and 𝜇3 were considered to be unknown. The kinetic expressions (21)–(23) were introduced only for simulation; so these models were not used in the process of observer design. The main goal of the estimator (28) is to reconstitute the time evolution of 𝜇1, 𝜇2, and 𝜇3 from the measurements of 𝑆1, 𝑆2, 𝑃1, and 𝑃2 obtained from the simulation.

The value of the tuning parameter was set to 𝜃=2. The on-line estimations provided by the high gain observer (28) were used in the control law (33)—in fact only 𝜇1and 𝜇3 are used here. The results in this simulation case are shown in Figure 5. Panel (a) presents the output versus the reference profile, and panels (b), (c), and (d) show the time evolution of the estimated specific reaction rates versus their “true” profiles. In this scenario, the obtained results are good, despite the uncertainty in the bioprocess kinetics.

(iii) In order to test the robustness of the proposed estimation and control algorithms to noisy measurements, the behavior of the controlled bioprocess was also analyzed for noisy data of 𝑆1 and 𝑆2. The measurements of these concentrations are considered to be vitiated by an additive Gaussian noise, with zero mean and amplitude equal to 5% of the free-noise values. The same version of the adaptive control law (28), (33) was used in this case. The obtained results are presented in Figure 6. As in previous case, panel (a) shows the output versus the reference profile, and panels (b), (c), and (d) depict the time evolution of the estimated specific reaction rates versus their “true” profiles.

It can be seen that the behavior of the controlled process is quite good, in spite of the combined action of noisy measurements, parametric disturbance, and kinetics uncertainty. The specific reaction rates 𝜇1 and 𝜇3 seem to be a little bit more sensible to noise.

A lot of supplementary simulations were performed for the other versions of adaptive control laws, such as (29), (34) and (28), (35). In all situations, a good behavior of the closed loop system was obtained. The results illustrate that the high-gain observer provides accurate estimates of the kinetic rates. It can be seen that the noisy measurement induces some noisy estimates of the kinetics, but the noise effect is limited (however, this effect can be reduced for lower values of the tuning parameter). Several comparisons and comments regarding the behavior and the performance of the on-line estimation strategy can be achieved. Some remarks can be done by visualization of estimation errors 𝜇1=𝜇1𝜇1, 𝜇2=𝜇2𝜇2 and 𝜇3=𝜇3𝜇3. However, accurate comparisons can be realized by considering a criterion, for example, one based on averaged square estimation errors [3]:𝐼1=1𝑇𝑆𝑇𝑆0𝜇21(𝑡)𝑑𝑡,𝐼2=1𝑇𝑆𝑇𝑆0𝜇22(𝑡)𝑑𝑡,𝐼3=1𝑇𝑆𝑇𝑆0𝜇23(𝑡)𝑑𝑡,(40) where 𝑇𝑆 is the total simulation time.

The values of 𝐼1, 𝐼2, and 𝐼3 computed for different values of tuning parameter and free noise data are given in Table 2, and for vitiated measurements in Table 3. It results that the precision can be increased if the tuning parameter is bigger. The problem for a large value of 𝜃 is that the observer becomes noise sensitive. Notice that the estimation error can be made as small as wished if we choose greater values of 𝜃. The problem for a large value of 𝜃 is that the observer becomes noise sensitive. Therefore, the value of the tuning parameter is a compromise between a good estimation and the noise rejection. The obtained results concerning the noise sensitivity of the high gain observers are similar with those discussed in several works, such as [3538].

4. Conclusions

The bond graph modeling approach constitutes a noteworthy option to the classical modeling in the case of complex bioprocesses. The ampicillin synthesis process was modeled in a natural way via pseudo bond graphs, and the obtained model was used for estimators and controllers design. One of the key advantages of the bond graph modeling of bioprocesses is the possibility to reuse the models, for example, in the interconnected bioreactors. The application of this feature is beyond of the scope of the present paper, but it is of crucial importance in other bioprocesses. However, it should be mentioned that the obtained model is only validated for the specific enzyme preparation used (but the proposed method can be utilized with adequate modifications when the enzyme is changed).

To overcome problems such as the kinetics uncertainties and the lack of on-line measurements, a high gain observer was designed and implemented for the on-line reconstruction of the specific reaction rates. The advantages of this kind of estimator are the simplicity of design, the good convergence and stability properties, and the accuracy of estimates (especially for free noise data). Another important advantage is the fact that the tuning of one single design parameter is necessary. The estimation results can be improved if the tuning parameter is chosen higher in value, but only if the measurements are free noise. Contrarily, the observer becomes noise sensitive and it is possible that the estimates of kinetics cannot be utilized in the control law design.

The simulation results show a good behavior of the adaptive controlled ampicillin synthesis bioprocess. The proposed adaptive control law was obtained by combining an exact linearizing control law with the kinetics estimator. The control goal, that is, the preservation of a high ampicillin concentration, is achieved despite the action of disturbances and noisy measurements. The bond graph modeling estimation and control strategies can be also applied to other processes belonging to the nonlinear class of bioprocesses considered in the present study.

Acknowledgment

This work was supported by CNCSIS UEFISCDI, Romania, Projects PNII—IDEI 548/2008 and PNII—RU 108/2010.