Professional Documents
Culture Documents
17th
Mining, Mineral
IFAC and Metal
Symposium
Mineral and Metal Processing
on Control, Optimization and Automation in
Processing
17th IFAC
Vienna,
Mining, Symposium
Austria.
Mineral Aug
and 31on Control,
-- Sept
Metal 2, Optimization and Automation in
2016
Processing
17th IFAC
Vienna, Symposium
Austria. Aug 31on Control,
Sept 2, Optimization and Automation in
2016
Mining, Mineral
Vienna, Mineral
Mining,
and
Austria. and Metal
AugMetal
31 - Sept 2, 2016Available online at www.sciencedirect.com
Processing
Processing
Vienna, Austria. Aug 31 - Sept 2, 2016
Vienna, Austria. Aug 31 - Sept 2, 2016
ScienceDirect
Real-Time
Real-Time Simulation
IFAC-PapersOnLine and
49-20 (2016) 061066
Simulation and Control
Control of
of a
a
Real-Time
Real-Time Simulation and Control of a
Real-Time Simulation SAG
Simulation
SAG
SAG
Mill
Mill
Mill
and
and Control
Control of
of a
a
SAG
SAG Mill
Mill
F. Guerrero J. Bouchard
E. Poulin D. Sbarbaro
F. Guerrero J. Bouchard E. Poulin D. Sbarbaro
F. Guerrero J. Bouchard E. Poulin D. Sbarbaro
F.
F. Guerrero
Guerrero J. Bouchard E. Poulin D. Sbarbaro
J. Bouchard E. Poulin D.deSbarbaro
Department of Electrical Engineering, Universidad Concepcion,
Department of Electrical Engineering, Universidad de Concepcion,
Department
Concepcion,
Concepcion,of Electrical
Chile,
Chile, Engineering,
(e-mail:
(e-mail: Universidad
daniel.sbarbaro@udec.cl)
daniel.sbarbaro@udec.cl) de Concepcion,
Department
Department of
ofofElectrical Engineering, Universidad de Concepcion,
Concepcion,
Department
Department
Concepcion, ofElectrical
Mining,
Chile,
Engineering,
Chile, Metallurgical
Mining, Metallurgical
(e-mail:
Universidad
(e-mail: daniel.sbarbaro@udec.cl)
and
and Materials
Materials
daniel.sbarbaro@udec.cl)
deEngineering.
Concepcion,
Engineering.
Concepcion,
Department
Universite
Universite of Chile,
Mining,
Laval, (e-mail:
Metallurgical
Quebec
Laval, Quebec daniel.sbarbaro@udec.cl)
(Quebec),
(Quebec),and Materials
Canada,
Canada, Engineering.
(e-mail:
(e-mail:
Department of Mining, Metallurgical and Materials Engineering.
Department
Universite ofjocelyn.bouchard@gmn.ulaval.cal)
Mining, Metallurgical
Laval, Quebec (Quebec),
jocelyn.bouchard@gmn.ulaval.cal) andCanada,
Materials Engineering.
(e-mail:
Universite
Universite
Department
Laval,
Laval, Quebec
Quebec (Quebec),
(Quebec),
jocelyn.bouchard@gmn.ulaval.cal)
of Electrical Canada,
Canada, (e-mail:
(e-mail:
Department of Electrical and Computer Engineering, Universite
and Computer
jocelyn.bouchard@gmn.ulaval.cal)
Engineering, Universite
Department
Laval,
Laval,
Quebec
Quebec jocelyn.bouchard@gmn.ulaval.cal)
of Electrical
(Quebec),
(Quebec), Canada
Canada and (e-mail:
Computer
(e-mail: Engineering, Universite
eric.poulin@gel.ulaval.ca)
eric.poulin@gel.ulaval.ca)
Department of Electrical and Computer Engineering, Universite
Department
Laval, of Electrical
Quebec (Quebec), Canada and (e-mail:
Computer Engineering, Universite
eric.poulin@gel.ulaval.ca)
Laval,
Laval, Quebec
Quebec (Quebec),
(Quebec), CanadaCanada (e-mail:
(e-mail: eric.poulin@gel.ulaval.ca)
eric.poulin@gel.ulaval.ca)
Abstract:
Abstract: Real-time
Real-time simulation
simulation plays plays an an important
important role role not
not only
only in in the
the design
design and and commis-
commis-
Abstract:
sioning of
sioning of new Real-time
new control simulation
strategies,
control simulation
strategies, but plays
but an
also
also important
in
in training
training the role
the not only
operators
operators in the
before
before design
the actual
the actual and commis-
system
system is
is
Abstract:
Abstract:
sioning
installed. Real-time
Real-time
of There
new
There controlin simulation
are in strategies,
the market but plays
plays an
also
several important
ansimulation
important
in role not
trainingenvironments
simulation the
environments only
role operators
not onlyfor in
in the
before
for carrying design
the design
the actual and
outand commis-
commis-
system
these tasks.is
installed.
sioning of new are
control the market
strategies, several
but also in training the operators carrying
before the out
actual these
system tasks.is
sioning
installed.
However, of
However, There new
There
there control
isare
there isare in
still
still astrategies,
the
need
athe
needmarket
of but
having
of having also
severalmore
more in training
simulation
flexible the operators
environments
environments
flexible environments before
for
that
that carrying
can the
be actual
out
easily
can be easily system
these tasks.
integrated
integrated is
installed.
installed.
However,
with other There
there is
systems are in
in
still
and athe
need
toolsmarket
market
of
such several
several
having
as more simulation
simulation
real-time flexible environments
environments
environments
optimization and for
for
that
advanced carrying
carrying
can be
data out
out
easily these
these
analysis. tasks.
tasks.
integrated
In this
with otherthere
However, systems
is and tools such as real-time optimization and advanced data analysis. In this
However,
with
work,other
work, there
several
several is still
systems
standard
standardanda
still need
a tools
tools
of
of having
need such
tools such having
as
as
more
more flexible
real-time
Simulink
Simulink
flexible
R
R
environments
optimization
/Simulink
/Simulink
environments
R ,and
R
, OPC
OPC
that
that
advanced
toolbox,
toolbox,
can
candata be
be easily
easily
analysis.
RSLogix
RSLogix
integrated
integrated
5000,
5000, In this
and
and
with
with other
work,other
several
FactoryTalk systems
systems
R standard
R and
are integratedtools
and tools
integrated such
tools such as
to simulate real-time
as real-time
Simulink
simulate
Roptimization
a control strategy
optimization
/Simulink
control R and
,and
forOPC advanced
a advanced
SAG data
mill data
toolbox, analysis.
analysis.
RSLogix
designed to5000,
keepIn
In this
this
and
the
FactoryTalk
work, several are to
R standard tools such as Simulink
a
R strategy
R /Simulink
R for
a SAG mill designed
R , OPC toolbox, RSLogix 5000, and
to keep the
work,
mill
mill several
FactoryTalk
operating
operating standard
are tools
integrated such
to as Simulink
simulate a /Simulink
control strategy ,
forOPCa
R in the stable region by manipulating the fresh ore feed. The implementation of
in the stable region by manipulating the fresh ore SAG toolbox,
feed. mill
The RSLogix
designed to
implementation5000,
keep and
the
of
FactoryTalk
FactoryTalk
mill
this operating
strategy R are integrated to simulate a control strategy for a SAG mill designed to keep the
isare
in integrated
the
based stable
on to
region
standard simulate
by a control
manipulating
control blocks strategy
the
available for
fresh
in a
ore
the SAGfeed. mill
The
ControlLogix designed to
implementation keep
Programmable the
of
this
mill strategy
operating isinbased
the on
stablestandard
region control
by blocks
manipulating available
the in
fresh the
ore ControlLogix
feed. The Programmable
implementation of
mill
this
Logic
Logic operating
strategy
Controllers
Controllersisin the
based stable
(PLCs).
(PLCs).on region
standard
Experimental
Experimental by manipulating
control blocks
results
results show
show the
available
the fresh
in ore
the
effectiveness
the effectiveness feed. The
ControlLogix
of the implementation
Programmable
proposed
of the proposed approach
approach of
this
this
Logic
to strategy
strategy
Controllers
integrate is
is based
based
standard(PLCs).on
on standard
standard
tools,Experimental
and control
control
open new blocks
blocks
results available
available
show
possibilitiesthe in
in the
the
effectiveness
for further ControlLogix
ControlLogix
of the
developments Programmable
Programmable
proposed in approach
the design
to
Logicintegrate standard
Controllers (PLCs).tools, and open
Experimental new possibilities
results show the for further
effectiveness developments
of in the design
Logic
to
of
of Controllers
integrate
advanced
advanced standard(PLCs).
monitoring
monitoring tools,
and
andExperimental
and
control
controlopen newresults
strategies
strategies show
possibilities
for
for thefor
industrial
industrialeffectiveness
further
processes.
processes. of thethe proposed
developments proposed in the approach
approach
design
to
to integrate standard
integrate monitoring
of advanced standard tools,tools,
and andand
controlopen
open new possibilities
new possibilities
strategies for further
for further
for industrial processes. developments
developments in the design
in the design
of
of advanced
advanced monitoring
monitoring and
and control
control strategies
strategies for
for industrial
industrial processes.
processes.
2016, 1. IFAC (International
1. INTRODUCTION Federation of Automatic Control) Hosting
operability by Elsevier Ltd. All rights reserved.
INTRODUCTION operability (HAZOP)
(HAZOP) analysis, analysis, and and on-line
on-line optimization
optimization
1. INTRODUCTION operability
[Parthasarathi
[Parthasarathi (HAZOP)
et
et al.,
al., analysis,
2009].
2009]. A
A and
summary
summary on-lineof of optimization
the
the current
current
1. INTRODUCTION
1. INTRODUCTION operability
operability (HAZOP)
(HAZOP) analysis,
analysis, and
and on-line
on-line optimization
optimization
The interest of using analytical models to support
The interest of using analytical models to support process alternatives process [Parthasarathi
alternatives for
for etthe
the al., 2009].
development
development A summary
of
of industrial
industrial of the current
plant
plant sim-
sim-
The interest of using analytical models to support process [Parthasarathi
[Parthasarathi
alternatives
ulators is for
presentedet
etthe al.,
al., 2009].
2009].
development
in Carrasco A
A summary
summary
of
and industrial
Dormido of
of the
the current
current
plant
[2006]. sim-
control
control developments
developments for mineral
for mineral processing
processing plants
plants goes
goes ulators is presented in Carrasco and Dormido [2006].
The
The interest
interest
control of
of
developmentsusing
using analytical
analytical
for mineral models
models to
to
processing support
supportplants process
process
goes alternatives
alternatives
ulators is for
for
presented the
the development
development
in Carrasco of
of
and industrial
industrial
Dormido plant
plant
[2006]. sim-
sim-
back to the beginning
back to developments
the beginning of of the
the 1970s with
1970sprocessing the
with the early early work
work of
of Belanger
control
control developments for
for mineral
mineral processing plants
plants goes
goes ulators is
Belangeris et
ulators et al.
presented[2010] in explain
al. [2010]inexplain
presented Carrasco
Carrasco how
how and
and simulation
Dormido
simulation
Dormido of
of electrical
[2006].
electrical
[2006].
back to
Scrimgeour
Scrimgeour the beginning
et
et al. [1970] ofon
al. [1970]ofonthethe 1970s
flotation
flotation with the
simulation.
simulation. early
A work
plethora
A plethora of
back
back to
to the
Scrimgeour
of the et
academic beginning
beginning
al. [1970]ofonthe
developments 1970s with
1970s simulation.
flotation
followed with
over the
the
the early
early
years,work
work
A plethora of Belanger
of
ever-
systems
systems
Belanger
et al.been
have
have
et
[2010]
been explain
used
used how simulation
extensively
extensively for
for decades
decades of electrical
in
in engi-
engi-
of academic
Scrimgeour etdevelopments
al. [1970] on followed
flotation over the
simulation. years,
A ever-
plethora Belanger
systems
neering.
neering. et al.
have
They
They
[2010]
al.been
[2010]
also
also
explain
explain
used
emphasize
emphasize
how
how
extensively
that
that
simulation
simulation
for decades
real-time
real-time
of electrical
ofsimulation
electrical
in engi-
simulation
Scrimgeour
of academic
growing et al. [1970]
developments
computational on flotation
followed
capabilities simulation.
over the
constantly A plethora
years, ever-
enabling systems have been used extensively for decades in
growing
of academic computational
developments capabilities
followed constantly
over the enabling
years, ever- systems
neering.
environments
environments have been
also used
Theyallowing
allowing emphasize extensively
aa virtual
virtual that
plant forto decades
plantreal-time
to be
be connected in engi-
connected engi-
simulation to
to
of academic
growing
new
new possibilities, developments
computational
possibilities, and more
and more followed
capabilities over
sophistication.
sophistication. the
constantly
In years,
the last
In the enabling ever-
enabling two
last two neering.neering. They also emphasize that real-time simulation
growing computational capabilities constantly environments
either
either a
a They
simulated
simulated also
allowing or
oremphasize
a virtual
physical
physical that
plant
controller,
controller,real-time
to be
are
are simulation
connected
particularly
particularly to
growing
new
decades,
decades, computational
possibilities,
the and
programming
the programming morecapabilities
sophistication.
platform constantly
In the
Matlab/Simulink
platform Matlab/Simulink enabling
last two
R
environments allowing aadesign
virtual plant to be connected to
new possibilities, and more sophistication. In the last R
two environments
either a
interesting
interesting allowing
simulated
during
during the or
the virtual
physical
design andandplant
controller, to be
are
commissioning
commissioning connected
particularly
phases
phasesto
new possibilities,
decades,
progressively
progressively and more sophistication.
the programming
overshadowed
overshadowed platform
all
all other
other In the last lan-
Matlab/Simulink
programming
programming two
R
lan- either a simulated or physical controller, are particularly
decades, the programming platform Matlab/Simulink
R either
of
of a
a a
interesting simulated
project
project during
as
as they
theyor
the physical
design
enable
enable controller,
and
powerful
powerful are
commissioning
early
early particularly
testing
testing phases
and
and
decades,in
guages in the
progressively programming
overshadowed
universities and platform
all other
and research Matlab/Simulink
programming
centres, but
but specialized
lan- interesting during the design and
and commissioning phases
R
guages
progressively universities
overshadowed research
all centres,
other programming specializedlan- interesting
of a project
debugging during
as they
capabilities. the enabledesign
This powerful commissioning
notwithstanding, phases
early applications
testing and
progressively
guages in
off-the-shelf overshadowed
universities
toolkits and
started all
research other
emerging programming
centres,
more but specialized
recently forlan-
in- debugging
of a project capabilities.
as they This
enable notwithstanding,
powerful early applications
testing and
off-the-shelf
guages in toolkits started
universities and emerging
research more but
centres, recently for in- of
specialized in a
debuggingproject
mineral as they
capabilities.
processing enable
This
are powerful
notwithstanding,
still rather early
scarce, testing
applications
but and
Nees
guages
dustrial
dustrial inapplications,
off-the-shelf universities
applications, and
toolkits started
with
with research
emerging
companies
companies centres,
more
like
like but
recently
Outotec
Outotec for in- in
specialized
[Roine
[Roine
mineralcapabilities.
debugging processing This are still rather scarce,
notwithstanding, but Nees
applications
off-the-shelf toolkits started emerging more recently for in- debugging
in
and mineral
Gamarano capabilities.
processing
[2011] This
are
clearly notwithstanding,
still rather
demonstrated scarce, applications
the but Nees
potential
off-the-shelf
dustrial
et al.,
al., 2011], toolkits
applications,
and
and Andritz started
with emerging more
companies
[Parthasarathi like
et recently
Outotec
et al., for
2009,[Roine
2009, Schugin- and in Gamarano [2011] clearly demonstrated the butpotential
et
dustrial
dustrial
2011],
applications,
applications,
Andritzwith
with
[Parthasarathi
companies
companies like
like
al.,
Outotec
Outotec
Schug
[Roine
[Roine for mineral
in
and
for mineral
Gamarano
risk
risk
processing
processing
mitigation
mitigation [2011]with
are
the still
are
withclearlythe still
example
example
rather
rather
demonstrated scarce,
scarce,
of Newmont
of Newmontthe but Nees
Nees
potential
Mining
Mining
et
et al.,
al., 2011],
2012].
al.,2011], and
2012].and These
TheseAndritz [Parthasarathi
simulation
simulation platforms
platforms et al., 2009,
typically
typically Schug
inte-
inte- and and Gamarano [2011] clearly demonstrated the potential
et al., Andritz [Parthasarathi et al., 2009, Schug for Gamarano
risk
the mitigation
Conga [2011]with
project. clearly
the
The demonstrated
example
plant of Newmont
real-time the potential
Mining
simulation
et al.,
grate a2011],
al.,a
grate 2012]. and
graphical
graphicalTheseAndritz
programming[Parthasarathi
simulation
programming platforms
environment,
environment, et al., 2009,aa Schug
typically
and
and set
set of and
inte-
of for
for
themitigation
risk
risk
Conga project.
mitigation with
with
Theexample
the
the
plant real-time
example of
of Newmont
Newmont
simulation
Mining
Mining
et
et al.,
al., 2012].
2012]. These
These simulation
simulation platforms
platforms typically
typically inte-
inte- and
model,
model, theprogrammed
Conga project.
programmed in
in the
the The plant IDEAS
platform
platform real-time
IDEAS simulation
(Andritz)
(Andritz) was
was
grate a graphical
configurable
configurable programming
preprogrammed
preprogrammed environment,
unmodifiable
unmodifiable unit
unit and a set
operation
operation of and the Conga project. The plant real-time simulation
grate a graphical programming environment, and a set of and
model, the
developed
developed Conga
programmed
and usedproject.
in the
throughout
and used throughout The plant
platform the real-time
IDEAS
project
the IDEAS life
project (Andritz) simulation
(Andritz)
life cycle, was
cycle, i.e.
i.e.
grate
models.
models. a graphical
configurable programming
preprogrammed environment,
unmodifiable unit and a set
operation of model, programmed in the platform was
model, programmed invalidation
the platform IDEAS (Andritz) was
configurable
configurable
models. preprogrammed unmodifiable unit operation developed and used throughout the project life cycle, i.e.
preprogrammed unmodifiable unit operation developed
for
for P&ID
P&ID and
and
and used
design
design throughout
validation the
(phase
(phase project
1),
1), life
control
control cycle,
system
system
i.e.
The
The development
development of
models.
models. of dynamic
dynamic simulation
simulation environments
environments in in developed
for P&ID
testing
testing
for P&ID
and design
and
(phase
(phase
and
used
2),
2),
design
and
and throughout
validation
operator
operator training
validation
the project
(phase
training
(phase
1),
(phase
1),
life 3).
control
(phase
control
cycle,
3). i.e.
system
system
The development
mineral
mineral processing
processingofhasof
hasdynamic
mainly simulation
been
mainlysimulation justified
been justified environments
by advanced
by advanced in for P&ID
testing and
(phase design
2), and validation
operator (phase
training 1), control
(phase 3). system
The
The development
development
mineral
process
process processing
control dynamic
ofhas
control purposes, dynamic
purposes, i.e. simulation
mainly
i.e. been justified
designing
designing
environments
environments
by advanced
control
control systems
systems in Proprietary
in testing
Proprietary
testing (phase
(phase simulation
2),
2), and
simulationand operatorenvironments
environments
operator training
training such
such as
as IDEAS
(phase
(phase 3).
IDEAS
3). can
can
mineral
mineral processing
processing has
has mainly
mainly been
been justified
justified by
by advanced
advanced Proprietary
be
be configured
configured simulation
relatively
relatively environments
easily
easily as
as only
only such
the
the as IDEAS
parameters
parameters canof
of
process
allowing control
allowing increased purposes,
increased productivity, i.e. designing
productivity, improved control
improved product systems
product qual- qual- Proprietary simulation environments such as IDEAS can
process control purposes, i.e. designing control systems Proprietary
be
the
the configured
unit simulation
operation
unit operation relatively
models
models environments
easily
are as only
required
are required such
the
to as
be
to be IDEAS
parameters
provided
provided by canof
by
process
allowing
ity,
ity, and control
increased
reduced
and increased purposes,
reduced power i.e.
productivity,
power designing
consumption
consumption improved control
product
[Sbarbaro,
[Sbarbaro, systems
qual-
2010].
2010]. be configured relatively easily as only the parameters of
allowing productivity, improved product qual- be
the
the configured
unit
user. operation
On
user.operation relatively
the
On the other models
other easily
are
hand,
hand, as
the only
required model
the model the
to beparameters
provided
structures
structures of
by
are
are
allowing
ity,
New
New and increased
reduced
applications
applications productivity,
power
nowadays
nowadays consumption
aim
aim improved
at
at product
[Sbarbaro,
addressing
addressing a
a qual-
2010].
much
much the unit models are required to be provided by
ity, and reduced power consumption [Sbarbaro, the unit
user.
predeterminedoperation
On the
and models
other
cannot are
hand,
be required
the
modified. model to
This be provided
structures
could be by
are
lim-
ity,
New and
broader reduced
applications
range of power
nowadays
of engineering consumption
aim [Sbarbaro,
at addressing
issues, such as a 2010].
as equipment much predetermined
2010]. the user. On andother cannothand, be modified. Thisstructures
could be lim-
broader
New range
applications engineering
nowadays issues,
aim at such
addressing equipment
aa much the
iting
iting user.
predetermined
for
for On the
advanced
advanced the other
cannothand,
andapplications
applications in
in
the
the
be modified.
which
which
model
model This structures
aa fine
fine could
and are
are
be lim-
and detailed
detailed
New
broader
sizing,
sizing, applications
range
commissioning
commissioningof nowadays
engineering
of
of aim
control
control at
issues, addressing
such
programs,
programs, as equipment
development
developmentmuch predetermined and cannot be modified. This could be lim-
broader range of engineering issues, such as equipment predetermined
iting for
understanding
understandingadvanced and
of the
of the cannot
applications
process be modified.
in which
behavior
process behavior isThis
a fine
needed.
is needed. could
and be lim-
detailed
Problems
Problems
broader
sizing,
of rangeprocedures,
commissioning
operating of engineering
of control issues,
operator such asdevelopment
programs,
training, equipment
hazard and
and iting for
of operating
sizing, procedures,
commissioning of operator training, hazard iting for advanced
understanding
will arise advanced
if theof
if the theapplications
applications in
in which
whichisaaneeded.
process (simplifying)
underlying behavior fine
fine and detailed
andProblems
assumptionsdetailed of
sizing,
of
commissioning
operating procedures, of control
control
operator programs,
programs,
training, development
development
hazard and will arise
understanding of underlying
the process (simplifying)
behavior is assumptions
needed. Problems of
This
of work
operating
This was
work was supported
procedures,
supported by by the
operator cooperation
training,
the cooperation program
hazard
program PFLA
and
PFLA understanding
will
the
the arise if
programmed
programmed the of the
model
model process
underlying behavior
(simplifying)
neglect
neglect certain
certain is needed.
phenomena Problems
assumptions
phenomena pre-
pre-of
of
operating
(Programme des procedures,
futurs leaders operator
dans les training,
Ameriques) hazard
Canada-Chile. and will arise if the underlying (simplifying) assumptions of
This
(Programmework was
des supported
futurs leaders by the
dans cooperation
les Ameriques)
This work was supported by the cooperation program PFLA program PFLA
Canada-Chile. will
the
vailing
vailingarise
in if
programmed
the the underlying
studied
in the studied model case,
case, (simplifying)
neglect
thus certain
preventing
thus preventing assumptions
phenomena
deterministic
deterministicpre-of
We
We also
(Programme
This
also acknowledge
work des
was
acknowledgefuturs the
supported
the kind
leaders by
kind support
dans
the les
support of Rockwell
Ameriques)
cooperation
of Rockwell Automation
Canada-Chile.
program PFLA
Automation
the
the
vailingprogrammed
programmed
responses in the studied
observed model
model
in case,
theneglect
neglect
thus
plant certain
certain
preventing
to be phenomena
phenomena
deterministic
reproduced. pre-
pre-
This
(Programme des futursthe leaders
kinddans les Ameriques)
of RockwellCanada-Chile. responses
vailing in observed in case,
the plant to be reproduced. This
through
We also its
(Programme
through
We also its
educational
des futurs program.
acknowledge
educational
acknowledge
leaders
program. support
dans les Ameriques) Automation
Canada-Chile. vailing
responses in the
the studied
studied
observed in case, thus
thus preventing
the plant preventing
to be reproduced. deterministic
deterministicThis
educationalthe kind support of Rockwell Automation responses
through
We also its
acknowledge program.
the
through its educational program.
kind support of Rockwell Automation responses observed in the plant to be reproduced. This
observed in the plant to be reproduced. This
through its educational
Copyright program.
Copyright 2016
2016 IFAC
IFAC 65
65
2405-8963
Copyright 2016, IFAC (International Federation of Automatic Control)
2016 IFAC 65 Hosting by Elsevier Ltd. All rights reserved.
Copyright
Peer reviewunder
2016 responsibility
IFAC of International Federation of 65 Control.
Automatic
Copyright 2016 IFAC 65
10.1016/j.ifacol.2016.10.097
IFAC MMM 2016
62
Vienna, Austria. Aug 31 - Sept 2, 2016 F. Guerrero et al. / IFAC-PapersOnLine 49-20 (2016) 061066
justifies the need for more flexible open source simulation feature, as it has been pointed out by Meciner et al.
environments. [1992], is essential to have the acceptance of the
process and control design engineers, and translate
The integration of heterogeneous hardware and software
into practical applications by plant personnel. In this
is a challenging task. Fortunately, the OPC (Open Plat-
work, the Simulink R
block diagram simulation en-
form Communications) technology was developed in or-
vironment has been selected. It provides a graphical
der to ease the integration of the different components.
editor, customizable block libraries, and solvers for
OPC is an open hardware and software interface standard
modeling and simulation of dynamic systems. The
using Client/Server models based on COM (Component
simulator is integrated with Matlab R
, enabling the
Object Model)/DCOM (Distributed Component Object
user to incorporate algorithms into models and export
Model). This general standard supports the development
simulation results for further analysis.
of network distributed applications as well as applications
Communication interface. The integration of the sim-
integrating different software platforms. There are many
ulator and the control system is carried out using
applications illustrating the integration of control systems
RSLinxTM and OPC ToolboxTM . This toolbox en-
and simulation environments for simple systems. For in-
ables reading, writing, and logging OPC data from
stance, Mahmoud et al. [2015] present the use of OPC
applications that conform to the OPC Foundation
technology as a cost effective and flexible research tool
Data Access standard. The OPC Toolbox provides
based on Matlab R
and Labview R
for the development three options to implement an OPC Data Acces
and testing of advanced process control (APC) techniques Client:
in university research. Lieping et al. [2007] describe an 1. Execute all OPC Toolbox functions directly from
application integrating Matlab R
and a S7-300 PLC. More the Matlab R
command line or incorporate them
complex applications are described by Santos et al. [2005]. into the Matlab R
applications.
In addition, the problems concerning real-time data inter- 2. Use the graphical user interface (GUI) to connect
change and synchronization are also addressed. Lu et al. OPC servers, create and configure OPC Toolbox
[2014] developed and implemented NEUSimMill, a real- objects, and read, write, and log data.
time ball mill grinding circuit simulator, for testing and 3. Use the Simulink Blockset library to read and
verification of real-time control system. In this work, a write data to and from the OPC server while
methodology for the development of distributed process simulating a system.
simulation using OPC is presented. The Simulink R
OPC toolbox offers a configuration
The case of semi-autogenous grinding (SAG) mill circuit block to specify the OPC clients used in the model, to
control discussed in this paper provides a good example define the behavior for OPC errors and events and to
of an application in which an open source simulation set the real-time behavior. During the simulation, the
platform can be required as models for this unit op- model is executed in pseudo real-time, matching the
eration in proprietary codes are generally rudimentary. system clock as closely as possible by automatically
Section 2 describes the software-in-the-loop environment slowing down the simulation. The block parameters
used which integrates a Matlab/Simulink R model with can also be configured so that the simulation runs
standard tools such as an industrial control platform, more slowly than the system clock. It must be em-
and human machine interface. A SAG mill control system phasized that the real-time control settings do not
implementation is presented in Section 3. The discussion guarantee real-time behavior. If the model runs slower
emphasizes on the SAG mill simulation model, and pro- than real-time, a pseudo real-time latency violation
posed control strategy. error occurs. It is possible to control how Simulink R
66
IFAC MMM 2016
Vienna, Austria. Aug 31 - Sept 2, 2016 F. Guerrero et al. / IFAC-PapersOnLine 49-20 (2016) 061066 63
V-01
WT
JT
M-01 M M-03
M-04
WT
04
WATER
SUPPLY
FT
02
SUMP
AT
01
P-01
UNDERSIZED VIBRATORY
SCREEN TO
HYDROCYCLONE
67
IFAC MMM 2016
64
Vienna, Austria. Aug 31 - Sept 2, 2016 F. Guerrero et al. / IFAC-PapersOnLine 49-20 (2016) 061066
68
IFAC MMM 2016
Vienna, Austria. Aug 31 - Sept 2, 2016 F. Guerrero et al. / IFAC-PapersOnLine 49-20 (2016) 061066 65
V-01
WIC
02
OVERSIZED
SP_LOAD ST VIBRATORY SCREEN
01
WT TO CONE CRUSHER
03
WIC WT M-01 AIC SP_%SOL
< 01 01 SIC M M-03
M
01 01
JT
01 M WATER
JIC SP_POWER SP_SPEED WT SUPPLY
01 M-04 04 FT
V-02 02
WT LIC SP_LEVEL
SUMP 04 01
AT
01
FT
03
M UNDERSIZED VIBRATORY
P-01 SCREEN TO
HYDROCYCLONE
the controller starts increasing the ore feed rate until the Results of this work open the possibility of expanding both
mill reaches its maximum load. Then if the mill speed the process models and control strategies to address com-
is decreased, the controller decreases the ore feed rate in plex operational scenarios. In addition, it also represents
order to maintain the mill operating at the set-point of the an excellent tool for bridging the gap between university
power draw. The second scenario illustrates the effect of research and industrial practice.
step changes in the ball charge in the mill. The controller
is quite effective in keeping the SAG mill operating under REFERENCES
controlled conditions, as seen in Figure 9, despite the
strong disturbance introduced by the ball addition rate. L.G. Austin. Mill power equation for SAG mills. Minerals
and Metallurgical Processing, 7(1):57 63, 1990.
4. FINAL REMARKS J. Belanger, P. Venne, and J.-N. Paquin. The what, where
and why of real-time simulation. Technical report, Opal-
The integration of different standard simulation and con- RT, 2010.
trol tools by means of OPC servers opens the possibility to J. A. Carrasco and S. Dormido. Analysis of the use of
build flexible real-time simulation environments. The real- industrial control systems in simulators: State of the art
time simulation of a SAG mill and the design of a simple and basic guidelines. ISA Transactions, 45(2):295 312,
control strategy using standard industrial control tools has 2006.
demonstrated that tools such as Simulink R
and industrial A.H. Glattfelder and W. Schaufelberger. Control Systems
control software can be combined in an integrated real- with Input and Output Constraints. Advanced Text-
time simulation environment. This environment not only is books in Control and Signal Processing. Springer, 2003.
useful for designing and testing industrial control systems Z. Lieping, Z. Aiqun, and Z. Yunsheng. On remote
but also for teaching and research on the implementation real-time communication between MATLAB and PLC
of advanced control systems in industrial platforms. based on OPC technology. In Control Conference, 2007.
69
IFAC MMM 2016
Vienna, Austria. Aug 31 - Sept 2, 2016
66 F. Guerrero et al. / IFAC-PapersOnLine 49-20 (2016) 061066
WIC_01_PIDE
PIDE
1-F4 AutotuneTag ?
Low_Select
ESEL ...
1-F4
JIC_01_PIDE
PIDE ...
Enhanced PID
BOR_03 12482.747 1650.8666
JT_01 PV CVEU JIC_01_CV
BOR 82.54333
Ball [%]
...
SPProg CV JIC_01_CV_ref
Boolean Or 12500.0
SPOper SP JIC_01_SP 1-C4 1-C5
0 0 17.138672
WIC_02_AM In1 Out CVInitReq E 1-C3
0 1650.7994 1
WIC_02_RL In2 WIC_02_SP CVInitValue ProgOper
0
CVProg CasRat
1
CVOverride Auto
0
CVPrevious Manual
0 0
AlwaysOn CVSetPrevious Override
0
windupH_WIC_02 WindupHIn
windupL_WIC_02
0
1
WindupLIn Time [min]
1 ProgProgReq
GRT_02
GRT ...
ProgOperReq Fig. 9. Override Control under step changes in the ball
ProgAutoReq
JIC_01_CV_ref
1-F4
82.54333 Greater Than (A>B)
SourceA Dest
0
ProgManualReq
ProgOverrideReq
charge.
82.52416
WIC_01_CV_ref SourceB AutotuneTag ?
1-F1
W.P. Meciner, M.S. Ma, F.G. Powell, and M.F. McGarry.
High-fidelity real time dynamic process simulation with
Fig. 7. Block diagram of a selector based control strategy. object-oriented programming part 1: The tool. In Pro-
ceedings of the Control Systems Conference, Whistler,
BC, 1992.
M. R. Nees and T. V. Gamarano. The use of advanced
!
simulation software for the development of the virtual
process plant. In Procemin2011, November 2011.
Mill Power [Kw]
!
Mill weight [Ton]
70