Abstract

This work presents a control strategy for a continuous bioreactor for heavy metal removal. For this aim, regulation of the sulfate concentration, which is considered the measured and controlled state variable, allowed diminishing the cadmium concentration in the bioreactor, where the corresponding controller was designed via nonlinear bounded function. Furthermore, a nonlinear controllability analysis was done, which proved the closed-loop instability of the inner or uncontrolled dynamics of the bioreactor. A mathematical model, experimentally corroborated for cadmium removal, was employed as a benchmark for the proposed controller. Numerical experiments clearly illustrated the successful implementation of this methodology; therefore, cadmium removal amounted to more than 99%, when the initial cadmium concentration was up to 170 mg/L in continuous operating mode.

1. Introduction

Attention to bioremediation processes has greatly increased during the last decade. Anaerobic reduction has been used as a means for treating a variety of sulfate-containing industrial water generated from various industrial activities, such as food processing, pulp and paper industries, mining and mineral processing, scrubbing of flue gases, and petrochemical industries [1]. Moreover, the existing sulfate can be reduced to hydrogen sulfide resulting in unfavorable ecological effects. Therefore, the use of biological sulfate reduction (BSR) is an attractive alternative or supplement for the simultaneous removal of heavy metals and sulfate from wastewaters. In BSR, the produced sulfide forms insoluble precipitates with the metal ions; the extremely low solubility of the formed sulfide metal (bioprecipitation) allows for the removal of heavy metals from the wastewater [2, 3].

To achieve the full biological potential of cells, optimal environmental conditions for cell growth and product formation must be maintained in the bioreactor, at least, regarding the most important key parameters. The wide use of anaerobic sulfate-reducing bioreactors has been addressing the necessity of robust, flexible, and efficient operation modes, where the corresponding control strategies play key roles. The anaerobic sulfate-reducing systems are affected by many factors, including temperature, retention time, pH, and chemical composition of the wastewater [4, 5]. Much emphasis has been placed on the control of continuous and fed-batch bioreactors because of their traditional prevalence in industry; however, if production of cell mass or product is to be optimized, then continuous operation is desirable for the development of bioprocess engineering. Unforeseen disturbances in a continuous bioreactor may result in a failure in the reactor’s operation, which requires a new start-up procedure.

The key objective of a continuous bioreactor control system is usually washout; this can be avoided by closing one feedback loop and controlling cell mass or substrate concentrations. Besides, to optimize the reaction and maintain the quality of the product, it could be essential to keep biomass, substrate, and some products at desired values [6, 7]. To this date, PID-type controllers are the most applied in the process industries. However, because of (i) rapid development in biotechnology, (ii) the computational capabilities of controllers, (iii) the industrial demands, (iv) process optimization in upscaling, and (v) complexity of biosystems, control actions have had to be increased, so the challenge is to implement advanced control algorithms [8, 9].

A number of papers, dealing with the new controller design under the framework of gain scheduling, have been published in the open literature dealing with predictive, optimal, and nonlinear control theories [10, 11]. Unfortunately, because of their mathematical complexity, most of them cannot be applied to industrial plants. In order to solve this problem, control engineers have had to design ad hoc control schemes to be able to deal with demanding operating conditions. For example, Aguilar et al. [12] have proposed novel approaches to design nonlinear PI- and PID-type controllers using more sophisticated techniques that allow developing new friendly tuning rules for the controller’s gains and assuring semiglobal robust performance. Another successful control approach is related to sliding mode, which shows some robust properties against model uncertainties and external disturbances when the system reaches the named sliding surface; however, the chattering problem can induce, in the worst case, system’s instabilities. A way to avoid the above chattering is the use of high order sliding-mode controllers, which have been proposed to provide smoothness performance to the corresponding output injection and improve the closed-loop system behavior; however, the theoretical frame to prove closed-loop convergence is complex [13]. Under this frame, a class of sigmoid functions has been proposed to substitute the discontinuous terms of the sliding-mode controllers [14]. In order to solve the problems described, in this paper, a class of nonlinear controller with bounded output feedback is proposed to provide stabilization for a class of continuous sulfate-reducing bioreactor. This model was employed as a benchmark system to implement a nonlinear controller, where the corresponding feedback is related to bound sigmoid functions. Furthermore, a nonlinear controllability analysis was done. Bioreactor regulation was achieved via sulfate concentration, which is considered as the measured and controlled state variable; this allowed diminishing the cadmium concentration in the bioreactor. Besides, a theoretical frame of the closed-loop stability was provided, which ensured loop stability.

2. Materials and Methods

The presented model was based on a previous work of López-Pérez et al. [15]. The strain Desulfovibrio alaskensis 6SR was used [16]. Inoculation and analysis procedures and media used have been described elsewhere [1719]. The proposed model considers the inhibitory effect of cadmium and H2S on microbial growth. Furthermore, the model includes four processes: (1) carbon source consumption, (2) microbial sulfate reduction, (3) biofilm formation, and (4) cadmium removal. The mathematical model describes the kinetics of cadmium removal in batch systems. A straightforward estimate of acetate production with lactate consumption was obtained by the combination of the Moser-Boulton models and biomass concentration, according to (1) and (2). The Levenspiel inhibition model was modified to describe the reduction of sulfate; the classical growth with the reduction of sulfate to H2S is described by (3)–(5). The mass balance, describing the biofilm formation, is given by (6). The mass balance describing the removal of cadmium is specified by a modified Levenspiel-Haldane model [20] (see (7)). Therefore, the mathematical model of the bioreactor can be expressed bylactate mass balance as follows:acetate mass balance as follows:sulfate mass balance as follows:biomass balance as follows:sulfide mass balance as follows:  biofilm mass balance as follows:cadmium in liquid form mass balance as follows:Here, , , and are the exponential terms of the Luong model; is the exponential term for lactate concentration; and are the exponential terms of the Moser model; is the dilution rate; is the mortality constant; is the initial cadmium concentration; is the saturation coefficient; and is the inhibition constant for Haldane; is the yield constant; is the Monod saturation constant for sulfate (); is the inhibition constant for nondissipated hydrogen sulfide (H2S); is the inhibition parameter of lactate; is the inhibition parameter of acetate; is the inhibition constant for cadmium; is the lactate/biomass yield coefficient; is the acetate/biomass yield coefficient.

3. Controller Design

This methodology allows regulating to a desired set point; therefore, regulation is achieved via sulfate concentration, which is considered the measured and controlled state variable; this allows diminishing the cadmium concentration in the bioreactor, where the corresponding feedback is related to the given dilution rate (input flow) (see Figure 1).

Let us consider a generalized space state representation of systems (1)–(7):where is the corresponding state vector, is the output, is the vector control input, is a nonlinear, continuously differentiable vector field, and is an invertible matrix.

Now, consider the set ; therefore,Let us assume as the desired trajectory, sp means set point, and .

Defining the vector error as and , therefore ; here, it is considered that ; this means that the proposed trajectory obeys the mass conservation principle under the action of the considered control law. From the above, the corresponding equation for the control error dynamics is as follows:Because the system is physically bounded (there are no infinite concentrations), the following assumption is considered: (A1); that is, the system is Lipschitz bounded.Condition (A1) can be fully satisfied if the following supremum is finite:where is the Jacobian matrix of the vector field and is the Euclidian norm.

Proposition 1. Suppose that is defined for all , and (A1) is satisfied. The control input is proposed as follows:wherewhere and are the corresponding controller’s gains.

Then, the estimation error is bounded by .

Sketch of Proof. To prove the closed loop of the proposed controller, let us consider the dynamic equation of the control error , as follows:Considering the Cauchy-Schwarz inequality to (15) by applying (A1), the quota for the error was obtained as follows:Therefore, (16) can be rewritten as follows:Consider that the term because its argument belongs to a class of sigmoid function.

By solving (17) and considering for , by a proper selection of the control’s gain , it can be concluded that the control error belongs to a closed ball ; that is, there exists a closed set with radius , where all trajectories of remain inside.

4. Internal Dynamics for Nonlinear System

Now, to analyze the inner dynamics of a system, it is necessary to find the dynamics of its inverse [21]. For nonlinear systems, fulfillment of this inverse process is often impossible. However, for control affine systems that are partially controlled, it is possible to assess stability features of the zero dynamics when the system is regulated by the control of a subset of states , following the dynamics of the (n-q) uncontrolled states (18):

Here, , , , , , and .

Now, it is necessary to find theoretical values of manipulated input, , assuming that the regulated variables will remain steady at the desired set point as a consequence of the control action (9). If the evolution of the dynamic behavior of the uncontrolled variables (20) is not stable, it is possible to conclude that the zero dynamic is neither stable [21]; hence, the control will exhibit poor performance during closed-loop operation:Therefore, all the balance for the uncontrolled variables should tend to an attractor in order to ensure complete stability of the zero dynamics and, of course, the control at the desired set point. The policy proposed is to ask for all the balance to exhibit a negative sign (decreasing trend) when operating at the set point.

Defining , with . The controller of the system will be stable , if and only if , (see [22]).

5. Results and Discussion

Numerical simulations were done employing the 23s Matlab R2009 library to solve ordinary differential equations. The initial conditions for the corresponding concentrations were considered as  mg/L,  mg/L,  mg/L,  mg/L,  mg/L,  mg/L, and  mg/L. The anaerobic bioreactor model is simulated to evaluate the benefits of the proposed control law through comparison between open-loop and closed-loop performances. The local stability analysis of the bioreactor was determined for a dilution rate  L/h, for which the corresponding eigenvalues were , , , , , , and ; from the above, it can be concluded that the corresponding steady state is locally stable according to Lyapunov criteria [23].

Considering that sulfate concentration can be measured easily via spectrometric devices, it is considered as the corresponding measured system output and the controlled variable [24]. Dynamic interactions among variables play important roles in control action; hence, multiple stationary states will be detected in the system. Figure 2 shows the effect of the initial sulfate concentration on the removal of cadmium.

Therefore, the aim of the simulation was to select the concentration of sulfate to reach a cadmium concentration below 0.05 mg/L; hence, the desired concentration was 1400 mg/L of residual sulfate. This analysis led to indirect removal of cadmium in liquid form via bioprecipitation, taking as reference the following reaction mechanism:

At the beginning of the simulation, the bioreactor was conducted in an open-loop operation and then the controller was on. For comparison purposes, a well-tuned linear PI and sliding-mode controller were implemented too. For the linear PI controller, the corresponding gains were and , whereas the controller’s gain for the sliding mode was .

Figure 3 shows the close-loop performance of the controlled variable (sulfate) for the regulation case. A fast response of the system can be seen when the controller acted and forced the trajectory to the desired set point; on the contrary, the performances of the sliding-mode and PI controllers were not satisfactory because the set point was not reached; this situation is clearly reflected by the behavior of the control effort shown in Figure 4.

Note that the sulfate concentration set point leads the cadmium concentration to the desirable levels given by the environmental regulations (lower than 0.05 mg/L), which is the main task of this process; therefore, cadmium removal amounted to more than 99%, when its initial concentration was 170 mg/L, in continuous operating mode (Figure 5).

Finally, Figure 6 shows the result of zero dynamics; these dynamics of nonlinear systems indicate the stability properties of the closed system when the output is forced to be zero [22]. Thus, it is essential to assure that uncontrolled states reach a stable or unstable behavior. Figure 6(a) shows a negative behavior of uncontrolled variables that tend to stabilize (sulfide, biomass, and biofilm). It should be noted that the time-derivatives converge to zero for cadmium, lactate, and acetate concentrations, therefore stabilizing the concentration of cadmium (Figure 6(b)).

6. Concluding Remarks

In this paper, we propose a new approach to control sulfate concentration in an anaerobic bioreactor. The selected sulfate concentration set point led indirectly to a diminution of cadmium concentration low enough to agree with environmental regulations. The control strategy is based on the feedback sigmoid functions. The presented controller was tested by computer simulations on a nonlinear model of a continuous anaerobic bioreactor for cadmium removal purposes. Simulation results demonstrated the applicability of the presented control strategy and its usefulness, especially for performance comparison with proportional integral (PI) and sliding-mode controllers.

Competing Interests

The authors declare that they have no competing interests.