Escolar Documentos
Profissional Documentos
Cultura Documentos
Abstract: Heap bioleaching processes are of increasing interest in the mining industry to recover
metals from secondary ores. Recently, it has been proposed to use feedback control to improve
the rate of mineral extraction. In this paper we compare two feedback approaches, namely Model
Predictive Control (MPC) and Extremum Seeking Control (ESC), to improve copper extraction
in a heap bioleaching process. Simplified linear models obtained in previous work are used to
design an MPC strategy incorporating input constraints. ESC is tuned to maximise copper
extraction rate using aeration rate. Simulation results run on a high complexity model of the
process show that similar copper extraction rates can be obtained using either strategy. While
better control efforts are obtained with MPC, ESC achieves similar results and shows potential
for this intrinsically complex process, requiring little knowledge about the plant.
1. INTRODUCTION the heap is reached, which can lapse for 300 to 400 days
[Brierley and Brierley, 1999].
This paper proposes and compares two feedback control Despite important progress on the mathematical mod-
approaches to improve copper extraction rates in heap elling aspects of the process in recent years [e.g. Petersen
bioleaching processes for sulphidic ores. Heap bioleaching and Dixon, 2003, Leahy et al., 2007], the performance of
is a mining technology based on the dissolution of minerals real commercial facilities has not shown significant im-
by a percolating raffinate solution through large piles of provements, which has been attributed to the complexity
crushed ore. Naturally occurring microorganisms, such as of the process and the lack of information about the pro-
Thiobacillus Ferrooxidans, can significantly enhance ex- cess in full-scale operation [Lizama, 2004, Watling, 2006].
traction rates in these processes under appropriate condi- Setup values for the process parameters, such as aeration
tions of temperature, acidity and humidity of the medium. rates and raffinate solution composition, are typically cho-
A flow of air typically blown from the base of the heap is sen empirically [Dixon, 2000], and kept constant for the
also known to improve cooper extraction rates. entire life of the heap.
As compared to the traditional smelting technology for In Godoy et al. [2007a], the authors propose the im-
copper extraction, heap bioleaching offers a number of plementation of a model-based feedback control strategy
advantages [Rawlings et al., 2003, Brierley and Brierley, to manipulate the bioleaching process parameters during
2001]: operation to improve extraction performance. To design
• Heap bioleaching facilities are simpler and more eco- a basic feedback control law, simplified linear models of
nomical to construct and operate. the process—valid incrementally around a slowly varying
• Heap bioleaching can operate on low-grade ores that section of the heap nominal response—are estimated us-
are not economically viable for smelting. ing state-of-the-art system identification techniques. Such
• Heap bioleaching appears as more environmentally simple models are used to design a linear control law
friendly than smelting, since it has minimal energy that yields moderate improvements in extraction rates.
requirements and produces no emissions of hazardous These were demonstrated by simulation studies on a black-
gases such as sulphur dioxide, associated with smelt- box high complexity mathematical model of the process
ing of sulphidic ores. developed by BHP Billiton (here referred to as the BHPB
model). The main contribution of the work in Godoy et al.
An important limitation of the heap bioleaching technol- [2007a] is to explore and demonstrate the potential of
ogy is the slow dynamics of the process, characterised by feedback strategies in the operation of a heap bioleaching
slow start-ups and lower than expected extraction rates process. To the authors’ best knowledge, no other similar
[Watling, 2006, Petersen and Dixon, 2007, Dreisinger, study has been reported in the literature.
2006, Lizama, 2004]. Start-up periods are typically of the
order of 60 days, after which the extraction of the target The present paper builds on the work in Godoy et al.
mineral is carried out until a pre-determined percentage [2007a] by evaluating and comparing a model-based pre-
(typically 80-85 %) of the original estimated mineral in dictive control (MPC) strategy, a modern standard in
? This work was supported in part by BHP-Billiton Innovation and
process control applications [Camacho and Bordons, 2003,
Maciejowsky, 2002], and an extremum seeking control
the Australian Research Council.
(ESC) strategy, an adaptive technique that has received kinetics of chemical reactions and promotes the mineral-
increased attention in recent years [Ariyur and Krstić, extracting microorganisms that enhance the extraction
2003]. ESC has been traditionally applied to systems where process [Dixon, 2000, Rawlings et al., 2003, Nemati et al.,
there are no models, or existing models are unreliable or 1998]. Two macroscopic variables that can be used to drive
difficult to obtain. In recent works, ESC has also been used the average temperature of the heap are the influx rate
to find unknown parameters in nonlinear models, where an of raffinate solution, and the aeration rate [Godoy et al.,
explicit structure information for the objective function is 2007a, Petersen and Dixon, 2007].
required [Guay and Zhang, 2003].
In a typical response of a heap bioleaching process to fixed
For simplicity, we consider heap average temperature and set-point values, the heap undergoes an initial phase of
copper extraction as target regulated variables, using heat development after which a peak in temperature is
raffinate solution rate and aeration flow as manipulated produced by the dominant action of thermophile microor-
variables. These variables are known key factors in the ganisms. A slower varying phase of decreasing biological
process dynamics [e.g. Dixon, 2000]. activity and decreasing temperature follows this peak until
heap exhaustion.
Using the linear models estimated in Godoy et al. [2007a],
our simulations on the high complexity model developed In Godoy et al. [2007a], linear maximum likelihood incre-
by BHP Billiton show that MPC and ESC achieve similar mental models were estimated around this slow varying
improvements in total copper extraction with respect to section of the nominal temperature response using expec-
that obtained by (open-loop) fixed set-point operation. tation maximisation methods and data generated with the
These improvements are modest, but may be increased BHPB model. These models describe with acceptable ac-
by incorporating more detailed process information in the curacy small variations of the response around the nominal
design of MPC and the tuning of ESC. Since ESC can be (fixed set-point) trajectory, and were used to increase the
implemented without recourse of a mathematical model heap average temperature by manipulating raffinate influx
of the process, it thus appears as simpler and potentially and aeration rate in a simple feedback loop. In the present
more robust alternative for practical implementations. paper we use these models to test and compare imple-
mentations of MPC and ESC using the same selection of
2. THE PROCESS regulated and manipulated variables.
9369
17th IFAC World Congress (IFAC'08)
Seoul, Korea, July 6-11, 2008
N
X −1 The constrained optimal solution is uopt (x) in the form
VN,M = 12 x̌TN P x̌N + 1
2 x̌Tk C T QC x̌k + 1
k=0 uopt = arg min [uT Hu] + uT [F (xo − xs ) − Gus ]. (10)
Lu≤W 2
N
X −1 N
X −1 M
X −1
ǔTk DT QC x̌k + 1
2 ǔTk DT QDǔk + 1
2 ǔTk Rǔk , There are standard numerical procedures to solve the QP
k=0 k=0 k=0 problem, as for example, Active Set Methods and Interior
(2) Point Methods [Fletcher, 1987]. In conjunction with a
where N is the prediction horizon, N ≥ M , ek = yk − ys receding horizon strategy, the QP problem is solved at
is the error with respect to a set-point ys , ǔk = uk − us is every sampling time, which yields a control law in the form
the control effort with respect to a set-point us , x̌N is the uk = K(x, ys ), (11)
corresponding final state, and P ≥ 0, Q ≥ 0 and R > 0
are weighting matrices. where xk = x is the current value of the state x. The same
procedure is done at the next sampling time keeping the
With the cost function (2), the optimisation problem can same optimisation horizon length.
be re-written as [see Godoy et al., 2007b, for details]
ȳ
1 -
min VN,M = uT Hu + uT [F (x0 − xs ) − Gus ], (3) constraints ū +
BHPB + ∆ybhpb
u 2 + model
9370
17th IFAC World Congress (IFAC'08)
Seoul, Korea, July 6-11, 2008
3.5
Heap Bioleaching Process
contrained MPC
3 unconstrained MPC
Aeration [kg/h .m2]
nominal θk yk
2.5 xk+1 = f (xk , α(xk , θ))
2 yk = h(xk )
1.5
0.5 + θ̂k γ
0 50 100 150 200 250 300 350 LPF × HPF
Time [days] z−1
+
100
% Copper Extraction
80
60
A sin(ωk)
40
20
Fig. 5. A general ESC scheme for a discrete-time non-linear
100 150 200 250 300 350
Time [days] system.
Fig. 3. Aeration rate for a target heap average temperature One key assumption for the nonlinear system to be con-
increase ∆r = 12o C (top), and corresponding per- trolled by ESC is that it has an extremum in the map
centage of copper extraction (bottom) produced by between the input uk and the output yk [Ariyur and
unconstrained and constrained MPC strategies. Also Krstić, 2003, Chapter 5]. If that extremum exists, then
shown: response to nominal (fixed) aeration an external sustained excitation, (A sin ωk ) in Figure 5,
is used to find the extremum value of the system output
strategy produces a reduction in flow to obtain an increase by making the system to oscillate around its operating
in temperature, which is consistent with previous studies point. The frequency of such oscillatory behaviour needs
[Dixon, 2000]. to be in a faster time scale than that of the dynamics of
4.2 the operating point, which thus is gradually driven to its
4 optimal value.
3.8
Influx [L/h.m2]
3
constrained MPC
nominal
shown in Figure 5. We will consider the simplified case of
2.8
0 50 100 150 200 250 300 350
a control law not directly dependent on the system state,
Time [days]
that is, uk = θk . Hence, the closed loop equation for the
system (12) is given by
Fig. 4. Influx raffinate for a target heap average tempera-
ture increase ∆r = 12o C. This reduction in irrigation xk+1 = f (xk , θk ). (13)
for heat conservation in the heap is consistent with where θk is slowly driving the system operating point.
previous studies [Dixon, 2000]
4.2 Application of ESC to the heap bioleaching process
4. EXTREMUM SEEKING CONTROL
In the bioleaching process, an extreme in extraction rates
4.1 Overview arises with respect to aeration. As is known, aeration
increases copper extraction Dixon [2000], but an excess
Extremum Seeking Control (ESC) is an adaptive feedback of aeration tends to cool down the heap, reducing micro-
control strategy that can be applied without the need of a bial activity and extraction rates. The existence of such
model to an important class of nonlinear control problems extremum is shown in a sensitivity study performed using
[Ariyur and Krstić, 2003]. The goal of this control strategy the BHPB model and reported in Godoy et al. [2007a].
is to drive an observable system output or objective cost to
an optimal extremum value by use of adaptive feedback. We implement the ESC strategy to find the value of
aeration that maximises concentration of sulphate copper
Figure 5 shows a typical discrete-time scheme implementa- Cu SO4 in the pregnant leaching solution (PLS). We
tion structure of an ESC strategy. The plant is a stable (or use the scheme shown in Figure 5, and evaluate it by
stabilisable) nonlinear system assumed to be represented simulations using the BHPB model as the actual plant.
by state equations of the form
The implementation of ESC requires adequate selection of
xk+1 = f (xk , uk )
(12) the exciting input signal, with parameters A and ω, and
yk = h(xk ), the cut-off frequency ωc for the high-pass filter (HPF). The
where xk ∈ Rn is the state, uk ∈ R is the input, yk ∈ R is low-pass filter (LPF) is not strictly necessary, and was not
the output, and f , h are smooth functions, not necessarily used in the present implementation. These parameters are
known for the implementation of ESC. chosen as follows
ESC implements a real-time optimisation using the system • Frequency of the exciting signal, ω: the frequency
observed output yk to estimate and drive the gradient of the exciting signal should be chosen large as
of the objective cost to zero by imposing a probing compared with the system dynamics. Given that the
(oscillatory) behaviour in the system to seek and maintain dynamics of the system with aeration as the input and
the optimising input, uopt . Cu SO4 concentration as the output is dominated by
9371
17th IFAC World Congress (IFAC'08)
Seoul, Korea, July 6-11, 2008
a frequency fo ≈ 1 [day−1 ], we choose ω ≤ 2πfo , and the appropriate tuning of the parameters given in a general
in particular ω = 2 [rad/day]. ESC scheme. One disadvantage of the ESC strategy is that
• Amplitude of the exciting signal, A: the amplitude input constraints are not intrinsically dealt with, which is
of the exciting signal should be chosen small as possible with MPC.
compared to the nominal value of the output, in order 7
!c = 0.01 [rad/day]
to get small steady state output error. We select it as 6
!c = 0.05 [rad/day]
Aeration [kg/h.m2]
a 10% of the magnitude order of the output variable, 5
! = 0.1 [rad/day]
c
4
namely, A = 0.1. 3
0
by trial-and-error. A sensitivity analysis carried out 0 50 100 150 200
Time [days]
250 300 350
% Copper Extraction
80
below. 60
• Gain γ: without loss of generality, this value is chosen
γ = 1. 40
20
The results of the simulations are shown in Figures 6 100 150 200
Time [days]
250 300 350
nominal
5
2
process. We have also tuned and simulated an implementa-
1
0
tion of ESC that does not require a mathematical model
0 50 100 150 200 250 300 350
Time [days] to operate. Both feedback strategies show improvements
6
in copper extraction with respect to the fixed set-point
5
process performance.
Aeration [kg/h.m ]
2
4
The incremental model used in the MPC design describes
3
the relation between the variations of the average temper-
2
ature in the heap (as the output), and the variations of
1
0
the influx raffinate and aeration rate (as the inputs). The
0 50 100 150 200
Time [days]
250 300 350
results show that, for the MPC strategy, the differences of
having constraints on one of the inputs has a little effect on
Fig. 6. ESC applied to maximise concentration of [CuS O4 ] the final copper extraction, as shown in Figure 3. However,
(top) by manipulating aeration (bottom) if the constraints exist, then they can be easily included
in the MPC algorithm.
100
Although ESC was implemented using little knowledge
about the process, it provided improvements in extraction
% Copper Extraction
80
60
ES Control
nominal
comparable to those with MPC, as shown in Figure 7. One
disadvantage of the proposed ESC implementation is its
40
inability to deal with constraints, in contrast with MPC.
20
100 150 200 250 300 350
Further work can improve the proposed implementation of
Time [days]
ESC by including an anti-windup scheme.
Fig. 7. Total copper extraction [%] for ESC to maximise Percentages of copper extraction and aeration curves for
concentration of [CuS O4 ] using aeration MPC and ESC strategies are shown together in Figure 9.
The performance improvements with respect to the fixed
Thus, ESC shows potential to improve copper extraction set-point strategy are noticeable but modest in both cases.
in the bioleaching process (≈ 5% of improvement), with For MPC, this may be attributed to the use of simple linear
9372
17th IFAC World Congress (IFAC'08)
Seoul, Korea, July 6-11, 2008
time-invariant models for the design, which only describe D.G. Dixon. Analysis of heat conservation during copper
small variations around nominal trajectories. In the case sulphide heap leaching. Journal of Hydrometallurgy, 58
of ESC, we can also say that the tuning procedure was (84):27–41, 2000.
based on simple model assumptions derived from the step- F. J. Doyle III, R. K. Pearson, and B. A. Ogunnaike. Iden-
response of the BHPB model. tification and Control Using Volterra Models. Springer,
2002.
100
90
D. Dreisinger. Copper leaching from primary sulfides:
Options for biological and chemical extraction copper.
% Copper Extraction
80
70
constrained MPC
Hydrometallurgy, 83(5):10–20, 2006.
60
50
ESC
nominal
R. Fletcher. Practical Methods of Optimization. John
40
Wiley and Sons, second edition, 1987.
30
0 50 100 150 200 250 300 350
B.I. Godoy, J.H. Braslavsky, and J.C. Agüero. A model-
Time [days]
based feedback control strategy for heap bioleaching
3.5 processes. In 46th IEEE Conference on Decision and
3 Control, New Orleans, LA, USA, 2007a.
Aeration [kg/h.m2]
9373