Professional Documents
Culture Documents
Use of An Industrial Distributed Control System in Conjunction With Matlab/Simulink For Process Control Education
Use of An Industrial Distributed Control System in Conjunction With Matlab/Simulink For Process Control Education
Use of An Industrial Distributed Control System in Conjunction With Matlab/Simulink For Process Control Education
Education
The International Federation of Automatic Control
Nizhny Novgorod, Russia, June 19-21, 2012
Abstract: The paper demonstrates how a four-tank laboratory process equipped with a modern distributed
control system (DCS) is used in different control engineering laboratories for the undergraduate and
graduate levels. This includes the utilization of commercial tools for DCS engineering as well as the
design and commissioning of traditional and advanced control solutions. Matlab/Simulink tools are
connected via OPC to extend the laboratory scope with rapid control prototyping and hardware-in-the-loop
simulation. Using the same pilot plant, DCS and scientific computing environment in different courses
lowers the costs, allows the reutilization of results and enables an efficient lab organization. It also
supports the process of learning the inner context of different process control related subjects.
industrial-scale DCS, and a number of Matlab/Simulink The structure of the DCS connected to the quadruple tank
tools. Using the same pilot plant, control system and system is shown in Fig. 2.
programming environment in different modules lowers the
costs, allows the reutilization of results and enables an
efficient lab organization. It also supports the process of
learning the inner context of different process control related
subjects.
This paper is organized as follows: the pilot plant and DCS
configurations are described in Section 2. In Section 3,
selected lab exercises carried out with this equipment will be
presented which reflect the specific needs of control
education at a UAS. Section 4 presents how the scope of the
laboratory was extended with the help of Matlab/Simulink
tools connected via an OPC interface.
students can get hands-on experience with a “real” DCS The AAI path of the Bachelor program next to classes in
as one of the most important forms of industrial-scale Signals and Systems, Process Dynamics and Control,
control system equipment, in particular for the process Computer Networks and Bus Systems, Software Engineering,
industries, Sensors and Measurement, Power Electronics/Electrical
the same equipment can be used in different laboratory machines and Drives, includes a course in Industrial Control
courses for different tasks, i.e. the costs are shared by a Systems/PLCs and DCS. It is taught in the 4 th semester and
number of labs (note that - in contrast to the ASU lab - includes 3h lectures, 1h exercises and 4h lab per week.
the cost of our DCS plus pilot plant installation is less
than 50.000 EUR).
379
9th IFAC Symposium Advances in Control Education
Nizhny Novgorod, Russia, June 19-21, 2012
The structure of the three semester collaborative Master training programs for engineering professionals. Students can
program “Industrial Automation” is shown in Table 1. use the comprehensive DCS user manuals. In addition, a
Additional elective courses offered include Building hand-out is provided where all steps of DCS engineering are
Automation, Modelling of Dynamic Systems, Real-Time described in detail.
Software Technology, and Enterprise Resource
Planning/Manufacturing Execution Systems. The specific tasks to be solved in the lab exercises are
Again, all mandatory courses include lab exercises or student to design a cascade control loop including feedforward
projects, respectively. In the following subsections, examples action for a simulated industrial furnace using the CFC
for the use of the DCS/Pilot plant in a selected course of the environment (“Control Builder” in Honeywell
Bachelor and Master programs will be presented in detail. terminology)
to develop a graphical interface to visualize and to
Table 1: Master program Industrial Automation operate the control functions using the “Graphics
(mandatory classes) Builder”
to perform a “virtual commissioning” of the control
Winter Semester Advanced Process Control, Motion functions.
Control, Computer Networks and
A simplified P&I diagram of the process and the control
Security, Industrial Image Processing,
configuration is presented in Fig. 3. The product temperature
General Management
is controlled by the primary controller which sets the setpoint
Summer Semester Sensor Systems, Robotics, for the secondary fuel gas pressure controller. The feed flow
Microcontroller Technology, Compu- rate is considered the main measurable disturbance variable.
tational Engineering, Quality and The feedforward path is designed as a corrective action for
Project Management the pressure setpoint. Fast students can extend this problem
and replace the pressure control by a fuel gas to air flow ratio
3rd Semester Master Thesis (in industry) control structure, and/or include an exhaust gas oxygen
controller.
The furnace dynamics is simulated on the DCS itself based
on simple standard function blocks. The design of the control
3.1 Bachelor program: Industrial Control Systems/DCS
structure is based on standard library PID blocks as well.. In
course
contrast to the industrial environment, the pressure controller
output is connected with the furnace simulation and not sent
In the AAI path of the Electrical and Information Engineering
to an actuator. Similar, the pressure, temperature and flow
Bachelor program, the DCS (without the four-tank system) is
signals are taken from the simulation, and not from
used in the Industrial Control Systems/PLCs and DCS course
transmitters.
(4th semester). It is organized as a sequence of 4h lab
exercises in the computer lab every alternate week (i.e.
2h/week in average, with 14 weeks/semester), maximum
twelve students in parallel. During the same semester,
students visit a 1h/week DCS lecture. Due to the large
number of students normally taking this course, the four-tank
system is demonstrated but not used as part of the lab
exercises. The lab workload amounts to 60 hours per
semester including preparation.
The objectives of the lab are
to help understanding the purpose, structure, properties
and engineering tools of industrial control systems used
in the process industry
to gain experience in using the main engineering tools
such as continuous and sequential function chart
(CFC/SFC) design of typical control functions, and tools Fig. 3: Simplified P&I diagram of a furnace control problem
for operator screen design
to give an overview of other tools used for DCS The functionality of the design can be tested by switching the
engineering such as alarm and event management, OPC Control Builder from “project view” to “monitoring view”. In
interface, management of DCS security and others. this view, it is possible to pursuit all signals in real-time.
The specific DCS used is of minor importance in this course,
since the basic principles are the same for DCSs of different For the design of the operator screen, the students use the so-
vendors, and knowledge acquired can easily be transferred to called “Graphics Builder”. Their tasks are
other systems. And of course, it cannot be the objective of to draw the P&I diagram using the graphics library
this lab to replace Honeywell’s or other vendors’ DCS
380
9th IFAC Symposium Advances in Control Education
Nizhny Novgorod, Russia, June 19-21, 2012
to create a “dynamic shape” for the PID controller (a instrumentation in the process industries, where single-loop
typical which can be used for all PID controllers in the PID controllers are designed to control inherently
project) displaying PV, SP, OP and controller mode multivariable processes.
to include a call of PID controller standard faceplates
generated by the DCS itself Similar to an industrial setting, the following steps have to be
executed before the controllers can be tuned:
to include trend displays to monitor the signals
Fig. 4 presents an example of an operator screen designed by design of two PID loops in the Control Builder (CFC) of
a student group. the DCS using standard data acquisition and PID
function blocks
execution of step tests for the individual loops by
manipulating the controller outputs in manual mode
identification of simple process models (first or second
order plus deadtime) by manual techniques and/or by
using system identification packages (either Matlab
System Identification Toolbox or identification part of
model based tuning tools).
In the next steps, students may compare different approaches
to PI controller tuning, namely
single-loop tuning without consideration of process
interactions, i.e. the two controllers are treated
independently from each other. For controller tuning,
either tuning rules or commercially available PID tuning
software may be applied.
simultaneous or multi-loop tuning of PI controllers
taking into account the process interactions.
averaging level control tuning.
Fig. 4: Furnace operator screen example 2) Design of static or dynamic decoupling control structures.
Another student project is focused on the design of a
The tasks to be solved are intentionally chosen to consolidate simplified decoupling control structure as shown in the
and to deepen students’ knowledge in process dynamics and “inverted decoupling” version in Fig. 5 (Gagnon et al., 1998).
control taught one semester earlier. In particular, practical
problems such as simple methods of process identification,
PID controller tuning, selection of the specific PID control
algorithm, controller modes and bumpless transfer are
stressed.
381
9th IFAC Symposium Advances in Control Education
Nizhny Novgorod, Russia, June 19-21, 2012
382
9th IFAC Symposium Advances in Control Education
Nizhny Novgorod, Russia, June 19-21, 2012
4.2 HIL simulation: Multi-loop PID control of a simulated = lowest rating to 5 = highest rating). Comments were given
FCC unit regarding the improvement of DCS documentation. Students
have found the experience both challenging and worth-wile
During the last decades, a substantial number of Matlab/ for their prospective work as control engineers in industry,
Simulink based process plant simulators for education and and a necessary endorsement to the lectures. Based on a lot of
research have been published. For another student project in discussions with alumni and control engineers in industry, a
the APC course of the Master program, the simplified FCCU positive feedback is given to the use of industrial-scale
model described in (Bequette, 2003) has been adopted. It is a equipment and commercial software in UAS education. Since
fully coupled two-input, two-output system including a lot of graduates of the department apply for jobs in
nonlinearities, unusual process dynamics, large process noise, engineering and project execution groups of the neighbouring
and one order of magnitude different settling times for the process industry companies and in automation engineering
two control variables. Nevertheless, this FCCU model is offices, they valuate the control lab as a great help to easily
much easier to handle than a full-blown FCCU dynamic integrate in their later teams and to avoid the “reality shock”
simulator used for e.g. operator training systems. when making the transition from academia to industry. In the
future, the laboratory will be modified and possibly extended
Steps of the student project include: to cover requirements and additional content for continuing
establishing and testing a connection between the control education in the process industry.
Simulink FCCU model and Experion PKS via the Matlab
OPC Toolbox/Simulink OPC blockset REFERENCES
the design of the control structure with PID or Profit Bencomo, D. (2004). Control learning – present and future.
Loop function blocks using the CFC environment Annual Reviews in Control, 28, 115 – 136.
(Control Builder) of Experion PKS Bequette, W.B. (2003). Process Control – Modeling, Design
the identification of the multivariable (2x2) process and Simulation, Prentice Hall, Upper Saddle River.
model using the Matlab System Identification Toolbox BMBF (2003). Universities of Applied Sciences in Germany.
tuning the PID controllers with different multi-loop Published by the Federal Ministry of Education and
tuning methods, and Research (BMBF) of Germany. Bonn
closed-loop simulations to analyse the response to Edgar, T.F., et al. (2006a). Renovating the undergraduate
reference signals and load disturbances, and to study the process control course. Computers and Chemical
robustness with regard to plant-model mismatch. Engineering, 153, 254 – 261.
As an example, Fig. 8 presents the Simulink block diagram Edgar, T.F., Ogunnaike, B.A., Muske, K.R. (2006b). A
containing the FCCU model subsystem and OPC Toolbox global view of graduate process control education.
Simulink blocks for the configuration of the interface, for Computers and Chemical Engineering, 30, 1763 – 1774.
reading Experion PKS PID controller output signals, and for Felder, J. et al. (2008). Praktikum Mess- und Regel-technik:
writing simulated process values to the DCS. Anleitung zum Versuch Quadruple Tank, Institut für
Mess- und Regeltechnik, ETH Zürich. (in German)
Gagnon, E., Pomerleau, A., Desbiens, A. (1998). Simplified,
ideal or inverted decoupling. ISA Transactions, 37, 265 –
276.
Johansson, K.H.. (2000). The Quadruple-Tank Process: A
Multivariable Laboratory Process with an Adjustable
Zero. IEEE Trans. on Control Systems Technology, 8,
256 – 265.
Rivera, D.E. et al. (1996). Teaching Process Dynamics and
Control using an industrial-scale real-time computing
environment. Computer Applications in Engineering
Education, 4, 191 – 205.
Richalet, J., O’Donovan, D. (2009). Predictive Functional
Control, Springer, London.
Rusli, E., Ang, S., Braatz, R.D. (2004). A quadruple tank
Fig. 8. Simulink block diagram for the OPC interface process control experiment. Chemical Engineering
between FCCU simulation and Experion PKS Education, 38, 174 – 187.
Shin, J. et al. (2008). Analytical design of a PI controller for
5. CONCLUSION constrained optimal regulatory control of inventory loop.
Control Engineering Practice, 16, 1391 – 1397.
The control laboratory experiments and projects documented
Vadigepalli, E.P. Gatzke, F.J. Doyle III (2001). Robust
in this paper have been developed over the last four years. control of a multivariable experimental four-tank system.
Student response data for the laboratory courses was obtained Industrial and Engineering Chemistry Research, 40,
from departmental surveys administered at the end of the 1916 – 1927.
semester. The results of this survey were an average score of
4.1 for the overall value of the lab courses (on a range from 1
383