Professional Documents
Culture Documents
RNMPC Applied To A Nonlinear Model of A
RNMPC Applied To A Nonlinear Model of A
RNMPC Applied To A Nonlinear Model of A
Abstract: This paper presents simulation results of applying robust nonlinear model predictive
control (RNMPC) to a nonlinear model of a run-of-mine (ROM) ore milling circuit. The model
consists of nonlinear modules for the individual process units of the milling circuit, which allow
arbitrary milling circuit configurations to be modelled. This study aims to cast a complex
problem of a run-of-mine ore milling circuit into a robust nonlinear model predictive control
framework without losing the flexibility of the modularised nonlinear model and implement the
robust nonlinear model predictive controller using open-source software modules.
Keywords: Robust nonlinear model predictive control, run-of-mine ore milling circuit,
RNMPC, ROM
The RNMPC is implemented using open source modules Cyclone Feed (CFF)
that have good numerical stability. Open source software
has the added advantage of allowing tight integration of Sump Water
the software modules for optimisation purposes by mod- (SFW)
ifying the source code, which is not always possible with
proprietary software. Furthermore, open source software
is usually available free of charge. Implementing the con- Solids Feed (MFS)
troller with open source modules reduces the time needed Mill Water (MIW) Mill Load
to obtain a working controller compared to writing all the (LOAD) Sump
software modules in-house. Steel Balls (MFB) Level
(SLEV)
This study aims to (1) cast a complex problem of a
ROM ore milling circuit into a RNMPC framework, (2)
implement the RNMPC efficiently using open-source soft-
ware components, and (3) describes practically motivated
Fig. 1. Run-of-mine ore milling circuit.
simulation results of the mill model being controlled by a
RNMPC controller. 1a and 2) as well as power consumption and throughput
(objectives 2 and 4).
2. ROM MILLING CIRCUIT DESCRIPTION
2.2 Milling Circuit Model
The circuit is fed gold-bearing ore at about 100 tons/hour
and grinds it down to a product with a particle size The variables of the milling circuit (Fig. 1) that are typ-
of 80% smaller than 75 µm (P80 = 75µm). The ROM ically controlled are the product particle-size (PSE), the
mill is operated in closed circuit with a hydrocyclone fraction of mill volume filled with material (LOAD) and
that separates the fine material (product) from the coarse the level of slurry in the sump (SLEV). The inputs to the
material (out-of-specification material), which is recycled milling circuit that are typically manipulated automati-
to the mill. The gold is then extracted through a leaching cally are the volumetric flowrate of water to the sump
process downstream. (SFW), the volumetric flowrate of slurry to the cyclone
A typical mill has dimensions of 5 m in diameter and (CFF), the mass feed rate of solids to the mill (MFS), the
a length of 9 m. The mill is supported by pressurised- volumetric flowrate of water to the mill inlet (MIW) and
oil circumferential bearings. The mill features lifter bars mass feed rate of steel balls to the mill (MFB). Steel balls,
and solid white-iron liners and it is operated at 90% of which are usually added to the mill feed by the operator
critical speed (Stanley, 1987). The mill discharges slurry in discrete quantities, will for this study be treated as a
through an end-discharge grate into a sump. The slurry continuous variable.
is diluted with water in the sump and pumped to the The feed ore consists of rocks (that do not discharge from
hydrocyclone for classification. The hydrocyclone has an the mill), coarse ore (out-of-specification that do discharge
internal diameter of 1 m. The underflow of the cyclone, from the mill) and fine ore (in-specification material). The
water and feed ore constitute the mill feed. composition of the feed is described by the fraction that
consists of fines (αf ) and fraction that consists of rock
2.1 Objectives in Mill Control (αr ).
A complete description of the model is given in Coetzee
The control of the milling circuit has multiple objectives,
et al. (2009). The parameters that describe the ore and
firstly to stabilise the system and secondly to optimise
steel ball hardness (φf , φr and φb ) inside the mill, the cy-
the economics of the process (Hulbert, 1989). The eco-
clone classification (εc and αsu ) and the feed composition
nomic objective is divided into sub-objectives that each
(αf and αr ) are shown in Table 1.
contributes to the overall economic objective of the milling
process. A set of possible sub-objectives for the milling
circuit are to (Craig and MacLeod, 1995): 3. ROBUST NONLINEAR MODEL PREDICTIVE
CONTROL
(1) improve product quality
(a) by increasing grind fineness, and
NMPC utilises a nonlinear model to predict the behaviour
(b) decreasing the fluctuations in product size,
of the plant and calculate the optimal control moves or
(2) maximise throughput,
control laws with regard to a specified objective function.
(3) minimise the amount of steel that is consumed for
NMPC is derived from nonlinear optimal control over a
each ton of fines produced, and
constant or varying time interval into the future [tk , tk +T ].
(4) to minimise the power consumed for each ton of fines
Only the first control move or control law is implemented
produced, etc.
and a new state measurement is taken. The nonlinear
The objectives above are interrelated and require trade- optimal control problem is then recalculated for the new
offs to be made. The main trade-offs are between particle time interval [tk+1 , tk+1 + T ], which leads to receding
size of the product and the throughput of solids (objectives horizon control (Mayne et al., 2000).
can be solved efficiently by casting it into a form that MFS 0 200 100 0.01 tons/hour
preserves the sparsity of the problem as well as smooth MFB 0 4 2 0.01 tons/hour
3
CFF 400 500 442 0.01 m /hour
objective and constraint functions (Diehl et al., 2006). m3/hour
SFW 0 400 267 0.01
PSE 60 90 80 100 % < 75µm
4. SIMULATION AND RESULTS LOAD 30 50 45 100 m3
SLEV 2 9.5 5.0 1 m3
In this simulation scenario the “actual” plant differs from ϕ 0 1 0.51 0 dimensionless
the nominal model. The prediction horizon, sampling time, THROUGHPUT 100 0 200 1 tons/hour
number of nodes and simulation time are summarised in Pmill 0 2000 2000 0 kW
(m / hour)
80
CFF
70
3
PSE
60 0
0 50 100 150 200 250 0 50 100 150 200 250
200
(tons / hour)
(% Full)
40
LOAD
100
MFS
20 0
0 50 100 150 200 250 0 50 100 150 200 250
100 500
(m / hour)
(% Full)
SLEV
50
SFW
3
0 0
0 50 100 150 200 250 0 50 100 150 200 250
100
THROUGHPUT
200
(m / hour)
(tons / hour)
100 50
MIW
3
0 0
0 50 100 150 200 250 0 50 100 150 200 250
1 5
(m / hour)
Rheology
Factor
0.5
MFB
3
0 0
0 50 100 150 200 250 0 50 100 150 200 250
2000
Pmill (kW)
(kg/m )
1.4
3
CFD
1000
1.3
0 1.2
0 50 100 150 200 250 0 50 100 150 200 250
Time (minutes) Time (minutes)
Fig. 2. RNMPC: Controlled variables (PSE, LOAD, SLEV and THROUGHPUT ), manipulated variables (CFF, MFS,
SFW, MIW and MFB) and other important variables (Rheology Factor, Pmill and CFD). The dashed lines indicate
the constraints on the variable and the vertical dotted lines indicate the start of the disturbance events. The
dash-dot line indicates the setpoint.
the same. The throughput settles at a lower value, because ore hardness disturbance by increasing MIW relative to
the feed ore hardness was increased, thus deviating from MFS in order to reduce the mill discharge density to
the nominal operating conditions. The controller reduces maintain PSE at setpoint. The increase of MIW relative
THROUGHPUT in order to maintain PSE at setpoint, to MFS leads to an increase in the rheology factor and
which is weighted as being more important. the RNMPC increases MFB (see Fig. 2) to compensate
for the higher rheology factor in order to maintain proper
The PSE setpoint is lowered from 80% to 70% at time 100
breakage conditions inside the mill.
min to increase THROUGHPUT, because THROUGH-
PUT and PSE is inversely proportional. At time 100 min, the controller further increases MIW
and as a result increases the rheology factor that leads
PSE (see Fig. 2) is controlled through changing the cut
to a decrease in MPOW. The drop in MPOW results in
of the cyclone. The cut of the cyclone is changed through
a coarser grind and, therefore, a decrease in PSE from
the CFF (see Fig. 2) and the cyclone feed density (CFD).
80% to 70%. This strategy is not ideal, because reducing
The CFD (see Fig. 2) can be changed by changing the mill
grinding efficiency decreases THROUGHPUT when the
discharge density through the ratio of MIW (see Fig. 2) to
PSE setpoint is lowered, but the strategy is consistent with
MFS and, more importantly, by changing the sump slurry
the weightings of the variables (see Table 3). The control
density through SFW (see Fig. 2). The controller therefore
strategy can be corrected by removing the weighting on
has three degrees of freedom with which to control the
SLEV and increasing the weighting on MIW relative to the
PSE. The SLEV (see Fig. 2) is given a setpoint, because
other MVs, which should result in the RNMPC changing
most operators do not trust the controller if it allows SLEV
PSE with SFW and CFF, rather than MIW and CFF, and,
to vary too much. The weighting on SLEV is, however,
therefore, maintain grinding efficiency of the mill and as a
very low (see Table 3) to allow the controller to vary SLEV
result increase THROUGHPUT when the PSE setpoint is
when needed in order to control more important variables,
lowered.
such as PSE.
PSE and LOAD are maintained at their desired setpoints
under RNMPC (see Fig. 2) regardless of the active distur- 5. CONCLUSIONS
bances.
The rheology factor (see Fig. 2) is a function of the The results of a practically motivated simulation show that
water and solids inside the mill. The RNMPC manipulates an RNMPC controller can successfully control important
MIW and MFS to maximise throughput by maintaining milling circuit variables in the face of large disturbances
optimum breakage conditions inside the mill, which are that are not uncommon in practice. The simulation results
obtained when the rheology factor is at the optimum show that the correct weightings of the variables in the
value of 0.51. The controller compensates for the feed RNMPC objective function is very important to produce
the correct behaviour.