## Services on Demand

## Journal

## Article

## Indicators

- Cited by SciELO
- Access statistics

## Related links

- Cited by Google
- Similars in SciELO
- Similars in Google
- uBio

## Share

## Brazilian Archives of Biology and Technology

##
*Print version* ISSN 1516-8913*On-line version* ISSN 1678-4324

### Braz. arch. biol. technol. vol.52 no.4 Curitiba July\Aug. 2009

#### http://dx.doi.org/10.1590/S1516-89132009000400020

**ENGINEERING, TECHNOLOGY AND TECHNIQUES**

**Neural network based control of an absorption column in the process of bioethanol production**

**Eduardo Eyng ^{I,}^{*}; Flávio Vasconcelos da Silva^{I}; Fernando Palú^{II}; Ana Maria Frattini Fileti^{I}**

^{I}Faculdade de Engenharia Química; Universidade Estadual de Campinas; C. P.: 6066; 13083-970; Campinas - SP - Brasil

^{II}Universidade Estadual do Oeste do Paraná; C. P.: 520; 85903-000; Toledo - PR - Brasil

**ABSTRACT**

Gaseous ethanol may be recovered from the effluent gas mixture of the sugar cane fermentation process using a staged absorption column. In the present work, the development of a nonlinear controller, based on a neural network inverse model (ANN controller), was proposed and tested to manipulate the absorbent flow rate in order to control the residual ethanol concentration in the effluent gas phase. Simulation studies were carried out, in which a noise was applied to the ethanol concentration signals from the rigorous model. The ANN controller outperformed the dynamic matrix control (DMC) when step disturbances were imposed to the gas mixture composition. A security device, based on a conventional feedback algorithm, and a digital filter were added to the proposed strategy to improve the system robustness when unforeseen operating and environmental conditions occured. The results demonstrated that ANN controller was a robust and reliable tool to control the absorption column.

**Key words:** Absorption column, Artificial neural network, Feedforward control

**RESUMO**

Deseja-se recuperar o etanol perdido por evaporação durante o processo de fermentação da cana-de-açúcar. Para tanto, faz-se uso de uma coluna de absorção. O controle da concentração de etanol no efluente gasoso da coluna é realizado pela manipulação da vazão de solvente, sendo esta determinada pelo controlador não linear proposto, baseado em um modelo inverso de redes neurais (controlador ANN). Foram feitas simulações adicionando-se um sinal de ruído a medida de concentração de etanol na fase gasosa. Quando perturbações degrau foram inseridas na mistura gasosa afluente, o controlador ANN demonstrou desempenho superior ao controle por matriz dinâmica (DMC). Um dispositivo de segurança, baseado em um controlador *feedback* convencional, e um filtro digital foram implementados à estratégia de controle proposta para agregar robustez no tratamento de distúrbios ocorridos no ambiente operacional. Os resultados demonstraram que o controlador ANN é uma ferramenta robusta e confiável no controle de uma coluna de absorção.

**INTRODUCTION**

Gas-liquid absorption columns are largely employed in chemical industry separation units. In the bioethanol production, a column is used to recover the evaporated alcohol from the sugar fermentation process, increasing the overall process productivity and improving the plant safety.

The principal fuel used in Brazil as a petroleum substitute for road transportation vehicles is bioethanol. As bioethanol has a number of advantages over the conventional fuels, its demand is increasing. Some of these advantages are: bioethanol is biodegradable and far less toxic than fossil fuels; it reduces greenhouse gas emissions and comes from a renewable resource.

The amount of alcohol evaporated from the fermentation processes depend on the concentration and temperature of the fermentation broth, and also on the especific features of fermentation tanks. In order to recover this waste alcohol, the vapor containing mostly ethanol and carbon dioxide is collected at the top of the tanks and fed to an absorption column (Sherwood, 1975). Absorption process nonlinearities and environment variations are such that a fixed parameter conventional feedback controller cannot adequately achieve satisfactory performance (Palú et al, 2004).

Several linear control applications for absorption columns are found in the literature. Palú et al (2004) studied the application of a linear dynamic matrix control (DMC) to a staged absorption column. In the studied system, bioethanol is separated from carbon dioxide in a nine stage column. The residual alcohol concentration in the waste gas is the controlled variable. The DMC outperformed the PI conventional controller.

Najim and Ruiz (1995) presented first principles modeling and a long-range predictive control of an absorption packed column. This equipment was used to decrease the concentration of CO_{2} in a gas mixture below a desired value. A solution of diethanolamine (DEA) was used as the absorbent. The flow rate of the absorbent and the concentration of CO_{2} were selected, respectively, as manipulated and controlled variables. An extended horizon control policy, based on the minimization of a quadratic criterion function of the input and output tracking errors, was used for the feedback control. The simulation studies highlighted the applicability of this adaptive control algorithm to packed columns.

Nunes et al (2003) developed a rigorous method for analyzing the stability of unconstrained multivariable predictive controllers, using polynomial operators and coprime matrix factorizations. The technique permits deriving explicit expressions for the closed-loop transfer functions that describe the relevant system dynamics. Therefore, the closed-loop poles can be determined by finding the roots of two characteristic polynomial equations, hence allowing the complete characterizations of the asymptotic stability of the system. The controllers require the specification of a large number of tuning parameters, including prediction and control horizons for every input and output signal as well as the elements of input and output weighing matrices. The proposed stability analysis tools lend significant support to the tuning task because the sets of parameters that produce unstable poles can be identified and rejected. Through a simulator, this technique was successfully applied to control a multistage gas-liquid absorption column.

Modeling of an absorption column performance using feedforward neural network was presented by Roj and Wilk (2004). The input and output data for training of the neural network were obtained from a rigorous model of a sieve plate absorption column. The results obtained from the neural network models were then compared with the results obtained from the simulation calculations. The results showed that relatively simple neural network models can be used to model the column steady state behavior.

Meleiro et al (2005) used neural networks for the control of the fermentation step of an alcohol production process. The internal model of the nonlinear predictive controller was represented by two Functional Link Networks (FLN). This structure presented the advantages of fast training and guaranteed convergence. The performance of the proposed controller was evaluated for servo and regulatory problems, and in both cases, it showed satisfactory results.

An off-line smoothing algorithm in the monitoring system for the partial hydrolysis of cheese whey proteins using enzymes, which used penalized least squares, was implemented by Pinto et al (2005). Different algorithms for on-line signals filtering were compared: artificial neural networks, moving average and smoothing algorithm. The filters based on neural networks were implemented in the on-line pH control system, promoting a smoother control action and did not affect the inference system.

In order to set a satisfactory real time control for the ethanol concentration in a staged absorption column, neural modeling was employed in the present work. The main contribution was the development of a nonlinear controller, based on a dynamic inverse artificial neural network model, and its application to a staged absorption column used in the bioethanol production process. Simulation studies were performed, in which noise was introduced to ethanol concentration signals from a rigorous model. A security device, based on a conventional feedback algorithm, was added to the proposed strategy in order to achieve a robust controller when unforeseen operating and environmental conditions occur.

**MATERIAL AND METHODS**

**Process description**

The gas mixture (CO_{2} + ethanol) from the sugar cane fermentation tanks is fed to the bottom and the absorbent liquid to the top of the column. The two streams flow countercurrently. A distillation column supplies the absorbent water stream containing some alcohol (around 100 ppm). The absorption column is composed of nine stages, and operates at 40 ºC and 1 atm. The column processes 61.9 mol/s of the gas mixture in order to reduce the alcohol concentration from approximately 10000 ppm to 200 ppm. The former concentration depends on the fermentation broth conditions and also on specific features of the fermentation tanks. As it varies, it is a disturbance to the absorption process and the absorbent flow rate must be manipulated to keep the expected ethanol recovery.

*Absorption column dynamic modeling*

For the simulation studies, a mathematical model was obtained from the global mass balances for each stage, equilibrium equations and the Francis equation for hydrodynamic calculation. For the operating conditions previously described, the ethanol solubility in water was calculated by the equation Y = 1.0682 X, based on the Van Laar equation for vapor pressure data of isothermal systems (Sherwood, 1975). This is the equilibrium equation used, in which X is the alcohol molar fraction in the liquid phase and Y is the alcohol molar fraction in the gas phase.

• The following assumptions were considered:

• Just one component is transferred between phases;

• Isothermal absorption;

• Ideal stages;

• The mass transfer does not modify gas and liquid flow rates;

• Constant pressure;

• Negligible gas hold-up.

The parameters involved in the absorption column model are listed in Table 1.

The dynamic model, used on the computational simulations is described here.

The Equation 1 represents the global mass balance at the n stage:

Where:

M = Liquid molar mass at each stage.

L = Absorbent flow rate at each stage.

Global mass balance at n stage, for the absorbed component.

The Equation 3 is employed to calculate the average specific molar mass for a binary mixture.

The hold up at each stage is given by the Francis Equation:

Where:

ρ_{n} = Average specific molar mass of the mixture (mols/cm^{3})

c = Constant (cm^{-1/3}s^{2/3})

The output liquid flow for each stage is obtained from the Equation 5.

**Neural network**

*Theory*

Artificial neural networks (ANNs) are mathematical models composed of several neurons, arranged in different layers (input, hidden and output), interconnected by a complex network. According to Equation (6), the neuron is responsible for the summation of all signals from previous layer neurons, *y _{j}* (amplified or weakened by weight values,

*w*) and a value called bias,

_{k,j}*b*A transfer function,

_{k}.*f*- such as hyperbolic tangent, sigmoid or linear function - is used for the activation of the neuron output,

*y*

_{k}.The multi-layer feedforward network, which is the most suitable topology for empirical modeling and engineering applications, was used in this work.

*Training the ANN*

The training procedure requires a set of the process inputs and outputs. During the training process, the weights and biases are iteratively adjusted to minimize an objective function. The conventional training algorithm - backpropagation - moves the network parameters towards the direction of the negative gradient (Demuth and Baele, 2002). The Levenberg-Marquardt optimization is a very useful alternative method of training. However, both the methods could lead to data overfitting, if carelessly implemented.

One of the most important methods for improving the generalization and to avoid overfitting is called regularization. This involves modifying the objective function, which usually computes only the sum of the squared errors (SSE) of the training set. In the regularization method, a term that consists of the mean of the sum of the squared weights (SSW) is added to the SSE calculation in the objective function (Equation 7)

in which *β* and *α* are fitted parameters (Demuth and Baele, 2002).

According to Hagan and Foresse (1997), using this objective function coupled with the Levenberg-Marquardt algorithm will cause the network to have smaller weights and this will force the network response to be smoother and less likely to overfit. Another important feature of this algorithm is that it provides a measure of how many network parameters (weights and biases) are being effectively used by the network. This effective number of parameters is called γ and is different from the total number of parameters in the network, *N.* The best number of neurons of the hidden layer could be found when the effective number of parameters remains the same no matter the increase in the number of hidden neurons.

*Normalization of the data set*

Neural network training is more efficient when a preprocessing normalization is carried out for input and target output variables. Then, before network training, the data set was normalized in the range [-1,1], as follows:

in which *x _{n}* is the normalized value for the variable, and

*x*and

_{min}*x*are the minimum and maximum of each variable '

_{max}*x*'.

**Absorption column control**

The main goal of the control system was to reduce the ethanol concentration in the effluent gas phase to 200 ppm (set point) by manipulating the absorbent flow rate. Sample time was set to three seconds - approximately 15% of the time constant of the process. Figure 1 shows the proposed control scheme for the absorption column.

*ANN controller*

The proposed strategy, based on an inverse neural network model, was successfully employed by Fileti et al. (2006) to control an industrial steelmaking process. The controller design may be split into two distinct steps:

• Neural modeling and network training: Definition of the input/output variables. A data set is presented to the network that extracts the process information required to create a black-box model of the operational environment. This knowledge is stored into the network parameters (weights and biases). This first step should be repeated every time the data set is updated;

• Control action determination: The trained neural network receives current values of the input variables and computes the control action to be implemented.

*Neural modeling and data set*

The nonlinear control strategy (AIC-102) is based on a dynamic ANN composed of five input variables and one output variable. A moving window of the main input variable measurements (AT-101 and AT-102) is employed to calculate the future control action. Table 2 shows the variables involved.

Operating data were obtained through a computational program based on the rigorous mathematical model previously described (see 2.1.1). Step disturbances on the gas mixture composition (between -10% and +10% of the original ethanol concentration) were imposed. Both, open and closed loop simulations were carried out. Dynamic matrix control was the strategy used in the closed loop simulations to change the absorbent flow rate and capture the process dynamics. The training and validation sets contained 800 and 500 input/output relations, respectively.

Different network architectures were tested, in which the number of hidden layers and their neurons were modified. Performance indexes as the Sum of Square Error (SSE), Average Square Error (ASE) and the Hagan and Foresse criterion (1997) were employed in the search for the best architecture.

*Feedback action*

The success of the proposed nonlinear control strategy depends on the neural network efficiency. As mentioned before, during the training procedure, the neural network captures the process dynamics in the operating range employed. However, if the ANN must work on a different operating condition, the error probability increases.

Sometimes, the environmental and process conditions may reach values unexpected by the network. Therefore, a security device based on a feedback control was coupled to the ANN control strategy. If this controller performance decreased to a critical limit, the device was activated (AY-101). This critical limit was arbitrarily defined as 5% of the absolute error. In case of error measurement above the critical limit, a PID controller (AIC-101) droved the absorbent flow rate manipulation.

To test this arrangement, disturbances on the absorbent ethanol concentration were imposed to the process. This kind of disturbance was not taken into account for the network training purpose.

**Noisy signal and filter implementation**

In order to approximate simulation to real world, noisy signals were added to the measurements of ethanol concentrations (*Y _{1}* and

*Y*). This noise was the product of a random number between 0 and 1 and a sine function with high frequency and controlled amplitude. The noise was applied only to the tests of the control system performance and not during the network training.

_{N+1}After analyzing the control system behavior with noisy input data, another test was done: the input data was filtered. The filter used was composed of a weighed sum of the input variable at different sample times. Current time *k,* besides the previous sample times, *k-1, k-2,..., k-NA* were used. *NA* represents the last sample time before *k,* that is used in the sum. The filtered variable value was obtained by Equation (9).

in which:

= Filtered variable.

*Y* = Variable supposed to be filtered.

α_{i} = Filter parameter,

**RESULTS AND DISCUSSION**

**Assessment of the neural network**

Many arrangements were tested to find an ANN architecture that provided a satisfactory performance without high computational effort. Table 3 and 4 showed the SSE and ASE parameter values for both data sets used (training and validation) when the ANN architecture was changed.

It was observed that when using more than five neurons in the hidden layer and more than one hidden layer, there were no significant changes on the SSE and ASE values. Therefore, architectures with more than one hidden layer should be eliminated, because it would cause just an increase on computational effort.

Furthermore, according to the Hagan and Foresse criterion (1997), the best number of neurons in the hidden layer is reached when the effective number of network parameters remains the same, no matter the increase in the number of neurons. This criterion pointed out the architecture of 5-9-1 as the best network and was the adopted topology.

**Performance of the ANN controller versus DMC**

Table 5 compares the performance of the ANN controller and the DMC strategy (Palú, 2004). Step disturbances were imposed to the gas mixture composition, *Y _{N+!}.*

The ANN controller provided smaller ISE (integral of square error) values, which mean that the controlled variable remained closer to the set point than that obtained under the DMC strategy. The parameter ISE was expressed in square concentration (ppm^{2}) and consequently presented small values. The controllers used similar amounts of the absorbent to carry out the task.

Figures 2a and 2b showed the behavior of the controlled variable, *Y _{1},* and the manipulated variable,

*L*when a step disturbance of 8.6% was imposed to the ethanol concentration in the feed mixture,

_{0},*Y*

_{N+1}.According to Figure 2a, the ANN controller outperformed the DMC strategy because the controlled variable behavior presented smaller overshoot and the response time decreased from 125 to 90 seconds.

**Security device (feedback action)**

Figure 3 showed the controlled variable behavior when the system was submitted to a step disturbance of 30% in the ethanol concentration of the liquid absorbent (*X _{0}*). As this kind of disturbance was not taken into account for network training purpose, the ANN control performance decreased below the critical limit. As expected, the security device (PID controller) was activated. An off-set was observed when this device was not present. The PID controller was tuned for this specific situation and eliminated the off-set.

**Noisy data, filter implementation and the ANN controller performance**

Figure 4a and 4b show the noisy signal of the gas phase ethanol concentration, , and the respective filtered variable, . Without the filter action, the input variable presented oscillation band amplitude of 3 ppm, except initially when a step disturbance of 10% was imposed to *Y _{N+1}.* The amplitude of this input variable decreased to 0.5 ppm, when the digital filter was applied.

The *α** _{i}* and

*NA*(Equation 10) were determined through a trial-and-error procedure. Observing the controlled variable overshoot and oscillation band, the best results were obtained when 15 sample times before

*k*were used (

*NA*=15). The

*α*

*=1,2...,*

_{i}(i*NA*) values employed were:

*α*

*= 0.20,*

_{1}*α*

*= 0.10,*

_{2}*α*

*= 0.05,*

_{3}*α*

*= 0.05,*

_{4}*α*

*= 0.05,*

_{5}*α*

*= 0.05,*

_{6}*α*

*= 0.05,*

_{7}*α*

*= 0.05,*

_{8}*α*

*= 0.05,*

_{9}*α*

*= 0.05,*

_{10}*α*

*= 0.05,*

_{11}*α*

*= 0.05,*

_{12}*α*

*= 0.05,*

_{13}*α*

*14*= 0.05, α

*= 0.05 and*

_{15}*α*

*= 0.05.*

_{16}Figure 5 showed the process response when the ANN controller was fed with noisy data: noisy signals between +1 ppm and -1 ppm were added to the ethanol concentrations of the gas phase (, and ). Furthermore, a step disturbance of 10% was imposed to *Y _{N+1}* at initial time. Control system without filtering were compared to the control system in which the input variables were filtered before their presentation to the ANN control.

In spite of that the ANN controller did not get the controlled variable stabilization in the first case (without filter), its oscillation band was reduced to half of the noisy signal employed: 2 ppm to 1 ppm. For the second case, the ANN controller performance was even better because the filter decreased the oscillation by 75%.

The security device was not required and the ANN controller was considered robust to deal with this kind of data distortion.

**CONCLUSIONS**

The main contribution of this work is the development and the application of a nonlinear controller, based on an inverse neural network model, to an absorption column. This column recovered the bioethanol evaporated from a fermentation process. The nonlinear behavior of the process challenged the control system design and suggested that conventional techniques did not work properly. The ANN controller developed provided a satisfactory control, in spite of the system characteristics.

Many ANN architectures were tested. According to the Hagan and Foresse criterion (1997), a 5-9-1 network was chosen and the parameters sum of square error and average square error confirmed the choice. Therefore, this was the architecture employed in the ANN controller.

The proposed controller outperformed the DMC strategy (Palú, 2004) because the controlled variable behavior presented smaller overshoot and the response time decreased from 125 to 90 seconds. Furthermore, the ANN controller superiority was also noted through the integral of the square error criterion that became smaller under ANN control.

When disturbances not predicted on the training procedure were inserted, the ANN controlled performance decreased below a critical limit. Therefore a PID controller implementation as a security device was necessary. This arrangement worked very successfully.

The robustness of the ANN controller was also tested for situations in which the gas concentration variables were distorted by the noisy signal. The controlled variable oscillation amplitude was reduced to half of the noisy amplitude applied to ANN input variables. When a digital filter was applied to these data, the results were even better, because the oscillation was reduced to almost 75% of original noisy amplitude.

The present work demonstrated that the nonlinear controller based on an inverse neural network model was very useful to control the absorption column studied. This control technique proved to be successful when the operating conditions were the same that was employed for training purposes. In addition, the ANN controller worked properly when the ANN input variables were distorted by a noisy signal. The security device implemented turned the control system more robust when unexpected environmental and operating conditions occurred.

**ACKNOWLEDGMENTS**

The authors would like to thank FAPESP for the financial support (Process number 05/02536-9).

**REFERENCES**

Demuth, H., Beale, M. (2002), Neural Network Toolbox User's Guide for Use with MATLAB^{®}. Version 4, Reading: Hagan, M. Cap. 5: Backpropagation. URL: http://www.mathworks.com/support/product/NN/. [ Links ]

Hagan, M. T., Foresse, F. D. (1997), Gauss-Newton Approximation to Bayesian Learning. In Proceedings of the 1997 International Joint Conference on Neural Networks, URL: http://elec-engr.okstate.edu/mhagan/. [ Links ]

Fileti, A. M. F., Pacianotto, T. A., Cunha, A. P. (2006), Neural modeling helps the BOS process to achieve aimed end-point conditions in liquid steel, *Engineering Applications of Artificial Intelligence,* v. 19, pp.9-17. [ Links ]

Meleiro, L. A. da C., Costa, A. C. da, Maciel, R. Filho (2005), Non-linear multivariable control of an alcoholic fermentation process using functional link networks, *Brazilian Archives of Biology and Technology,* **48,** 7-18. [ Links ]

Najim, K., Ruiz, V. (1995), Long-range predictive control of an absorption packed column. *Appl. Math. Modelling.* **19,** 39-45. [ Links ]

Nunes, G. C., Kincal, S., Crisalle (2003), O. A polynomial perspective on the stability of multivariable predictive controllers. *Computers and Chemical Engineering.* **27,** 1097-1111. [ Links ]

Palú, F., Fileti, A. M. F., Pereira, J. A F. R. (2004) Controle preditivo de colunas de absorção com o método de controle por matriz dinâmica. .Paper presented at XV Brazilian Congress of Chemical Engineering (COBEQ), CD-ROM, *in portuguese. [ Links ]*

Pinto, G. A., Sousa Jr, R., Giordano, R. C. (2005) Comparison of performance of different algorithms in noisy signals filtering of process in enzymatic hydrolysis of cheese whey. *Brazilian. Archives of Biology and Technoogy,* **48,** 151-159. [ Links ]

Roj, E., Wilk (2004), M. Neural network based simulation of the sieve plate absorption column in nitric acid industry. Paper presented at 7^{th} International Conference on Artificial Intelligence and Soft Computing (ICAISC), pp 1181-1186. [ Links ]

Sherwood, T. K., Pigford, R. L., Wilke, C. R. (1975), Mass Transfer. McGraw-Hill. [ Links ]

Received: April 23, 2007; Revised: November 26, 2007; Accepted: November 18, 2008.

* Author for correspondence: eduardoeyng@hotmail.com