Professional Documents
Culture Documents
MASTER'S THESIS
Lars Persson
Abstract
New technology arises in all areas. Some just last for a few years before someone else develops a better technology. This makes it hard to decide whether and when to use new technology. Being a contractor for the process industry, like Outokumpu Technology, does not make
it easier to decide since these systems usually runs for at least 15 years.
The aim for this Thesis is to provide information about fieldbus technology for the process
industry. Although it has existed for several years far from everyone uses it. The Thesis focus
on fieldbuses at instrument level. The knowledge, both of the contractor and the buyer, is of
great importance. Both advantages and disadvantages have been identified with fieldbuses
that can be used to decide whether to use fieldbuses or not.
The examiner of this Thesis was Per Lindgren at Lule University of Technology
II
Preface
This Masters Thesis is the final part required for my Master of Science degree in Electrical
Engineering at Lule University of Technology. The work has been carried out during the
winter 2005/2006 at Outokumpu Technology AB in Skellefte. The aim with this Thesis is to
identify advantages and disadvantages with fieldbus technology in Industrial applications.
I would like to thank the following persons who have helped me with this Thesis: my supervisor Pr Norman at Outokumpu Technology for his time, support and ideas; Leif Nyberg,
Manager of the Electrical and automation department at Outokumpu Technology and Per
Lindgren at LTU for allowing me to do this Thesis; Leif Karlsson from ABB who has answered a lot of my questions; Jan stensson, Mats Ntsaari and Jan Malmstrm at Husum
and Magnus Normell at Eurocon for the interviews; my sweet girlfriend Freja for proofreading and correcting my English; and finally the rest of the staff at Outokumpu Technology for
help and support throughout the work on this Thesis.
Skellefte, 17th December 2006
Lars Persson
III
IV
Table of content
1 Introduction ........................................................................................................................... 1
1.1 Background ...................................................................................................................... 1
1.2 Purpose ............................................................................................................................. 1
1.3 Delimitations .................................................................................................................... 1
1.4 Outokumpu Technology AB, Skellefte .......................................................................... 1
2 Method.................................................................................................................................... 3
2.1 Literature review .............................................................................................................. 3
2.2 Interview........................................................................................................................... 3
2.3 Test system....................................................................................................................... 3
3 Literature review................................................................................................................... 5
3.1 Communication levels in a plant...................................................................................... 5
3.2 History.............................................................................................................................. 5
3.3 Fieldbus in general ........................................................................................................... 7
3.4 4-20 mA vs. fieldbus instrument technology ................................................................. 10
3.5 Wireless fieldbus ............................................................................................................ 11
3.6 Description of Profibus, Foundation Fieldbus, DeviceNet and Interbus ....................... 13
3.7 Practical experience from fieldbus installations............................................................. 22
4 Interview .............................................................................................................................. 27
4.1 Background .................................................................................................................... 27
4.2 Result.............................................................................................................................. 27
5 Test system ........................................................................................................................... 31
5.1 Background and problem ............................................................................................... 31
5.2 Material .......................................................................................................................... 32
5.3 Method ........................................................................................................................... 34
5.4 Result.............................................................................................................................. 34
5.5 Problems......................................................................................................................... 41
6 Result .................................................................................................................................... 43
6.1 Comparing fieldbuses with remote I/O .......................................................................... 43
6.2 Requirement of knowledge ............................................................................................ 43
6.3 Differences between Foundation Fieldbus H1 and Profibus PA.................................... 43
6.4 Wireless fieldbuses......................................................................................................... 44
7 Discussion and Conclusion ................................................................................................. 45
8 Future work ......................................................................................................................... 47
References ............................................................................................................................... 49
Appendix A: AS-Interface (Actuator-Sensor Interface)
Appendix B: Test system specification
Appendix C: GSD file
Appendix D: Interview questions
Appendix E: Abbreviations
VI
1 Introduction
1.1 Background
The society is constantly developing and changing and therefore we have to adapt to the
changes. The automation of metal process industry is no exception. The 4-20 mA analogue
standard for instrumentation is still used at most plants in Sweden, but the standard has been
around since the 1960s. However, the time of change seems to have reached the process industry as well. In the early 1990s, digital communication between instruments and the control system began to develop. Still, new developments, improvements and changes are made
every year, making it problematic to decide when to invest time and money into the new systems. It has to be taken into consideration that a control system for the process industry runs
for at least 15 years. The research question of this thesis is: is it time for new technology to
take over?
1.2 Purpose
Outokumpu Technology AB in Skellefte (OTSk) is currently trying to decide whether the
company should learn how to use fieldbuses and recommend it to their costumers. A fieldbus
is like a data bus where several devices are connected to the same cable and communicate
through digital messages. If the answer to the previous question is yes, which fieldbus should
be used? Should OTSk recommend different fieldbuses depending on for example where in
the world the installation is taking place? To facilitate the decision, OTSk wants to know
which advantages fieldbuses can give regarding installation, operation and maintenance. Additionally to this, this thesis includes a limited search of wireless fieldbus solutions.
The thesis will
1. Identify advantages and disadvantages with fieldbuses compared to remote I/O
2. Describe the differences between the fieldbuses
3. Identify advantages and disadvantages with wireless fieldbuses and make a study of
wireless products and their manufacturers.
The purpose is not to give a recommendation, but to provide data for decision-making.
1.3 Delimitations
Due to time limits, the thesis will only look at four different fieldbuses for field devices.
These are DeviceNet, Foundation Fieldbus H1, Interbus and Profibus PA. This thesis will
then focus on two of them, Foundation Fieldbus H1 and Profibus PA, since these are operating at the instrument level.
To know more about how a fieldbus functions in a plant, visits will be arranged to Husum and
ETEK. Interviews will be performed with installation, maintenance and operation personnel
at both plants. They are both located near rnskldsvik in Sweden.
A system was provided by OTSk to evaluate Profibus PA. It included an ABB AC 800F control system and selected instruments from different manufacturers.
nology is a part of the Outokumpu group, which mainly sells technology for the metal and
mineral process industry. This includes designing, developing and supplying tailored plants,
processes and equipment.
Outokumpu Technology in Skellefte, Sweden was formerly owned by Boliden and was
known as Boliden Contech AB. The company provide engineering and project services in
Sweden and the rest of the world. The contact between OTSk and Boliden is still strong and
Boliden is the major customer. With time new customers have been acquired and Outokumpu
now have customers worldwide. China has fast become an important market due to the rapidly growing metal process industry. Outokumpu has an area of knowledge stretching from
mining to melting and chemical activities. Around 100 employees are located in Skellefte
and about 25 of these works at the Electrical and Automation department.
2 Method
2.1 Literature review
The Thesis began with a literature review of fieldbuses and their advantages compared to remote I/O, which is currently used. The information was mainly taken from technical descriptions and from the standard-makers official homepages. Articles discussing advantages and
disadvantages were also searched for on the Internet.
The information about wireless fieldbus instruments has been found on the Internet. Mainly
www.google.com and homepages of instrument manufacturers, like www.abb.com, have
been used. In addition to the two above Internet sources, www.scholar.google.com and ieeexplore.ieee.org, have been used to find general information about fieldbuses and information
about fieldbuses in practice.
2.2 Interview
A number of questions were prepared in advance and used as base for the interviews. The
question sheet was constructed in cooperation with my supervisor and sent to the interviewees
in advance.
3 Literature review
3.1 Communication levels in a plant
The amount of data sent in a plant is increasing. Not only are the plants growing larger and
the number of instruments increasing, the size of data retrieved from each device is also increasing. This puts higher demands on the communication. Industrial communication can be
divided into three levels: Cell, Field and Sensor/Actuator level, see Figure 1. The communication can be both vertical and sometimes pass a level as well as horizontal. Binary signals are
sent on the Sensor/Actuator level and the devices are usually powered and communicating on
the same cable. At the Field level lie the distributed devices such as transmitters, drive units
and I/O modules. Some devices at the Field level like a transmitter send a limited amount of
data and can be powered by the bus while others like a driver have external power but send a
lot of data. At Cell level we have the process stations which usually send lots of data. However, the data is not as time critical as the data sent at Field and Sensor/Actuator level. All
fieldbuses studied in this Thesis communicate at the field level.
Cell Level
Field Level
Sensor/Actuator
Level
Figure 1. The different communication levels in a plant.
3.2 History
In a conventional DCS (Distributed Control System) each device is connected with two wires,
see Figure 2. A device can be an instrument for measuring temperature, pressure etc. or an
actuator that act on the system like a valve. In conventional communication, an instrument
sends its measured values with an analog signal. In a similar way, an actuator is controlled by
varying the current sent to it. If the device does not have large power consumption, it can be
fed through the cable. The instrument sends its measured value by varying the current it uses
between 4 and 20 mA. It is a standard that will be referred to as 4-20 mA in this Thesis. If 420 mA instruments are used in a large plant, lots of cables have to be installed. Even if several
devices are located at the same place each one has its own cable, containing two wires.
DCS
Figure 2. The conventional way to connect devices. Every device has its own cable to the DCS.
One step towards fieldbuses and digital communication came with remote I/O. It was mainly
used to reduce the cables that have to be installed. In remote I/O, the I/O cards are moved
from the DCS and placed closer to the instrument, see Figure 3. These I/O cabinets are then
connected to the control system with a single cable. To be able to send several measured values across this cable the communication is made digital.
DCS
10110110
Figure 3. Remote I/O. Devices located close to each other are connected to the same remote I/O cabinet.
The cabinet is then connected to the DCS with a bus cable.
However, the remote I/O did not change the communication between the instrument and
DCS. The devices still gave an analogue value that had to be interpreted. And no data could
be sent to the device, which is needed to configure it out in the field. Another step towards
digital communication came with the HART protocol.
Highway Addressable Remote Transducer (HART) was a first step towards intelligent instruments. It uses the conventional 4-20 mA to send the process value but it also sends a digital message in the same cable. Information can be sent in both directions and be used for diagnostics or to calibrate the device. It sends a low frequency, FM (Frequency Modulated)
sinusoidal signal superimposed on the analog signal, see Figure 4. It has to use a point-topoint connection, and has a speed of 1200 bps. It is a widely used technology and can be used
with new remote I/O systems. Before it was supported by remote I/O, a handheld device was
used to communicate with the instrument. [1]
By sending the process value as an analog signal, the device is still compatible to older systems and whether to use the advantages or not is up to the user. A problem is that special instruments have to be bought to communicate with HART devices, and the operator had to go
out on the field and connect it to the cable for the device. [1], [2], [3]
device. These reductions in cable and number of instruments can reduce installation time and
cost. Fieldbus devices can also be made more advanced, like a thermal camera, which measures several points. The devices can also signal when they are about to break down or if there
is something else wrong, for example a valve that can not close. Since all devices share the
same cable, it enables direct communication between the devices. This can be used to move
the control from the central system and put it out in the field. By doing this, important segments can work properly, even if process station stops or a cable breaks between the device
and process station. The data can also be shared to operators by connecting the host to an ordinary intranet (Ethernet) or even Internet. In this way the electrician does not have to be at
the site to do for example diagnostics.
Fieldbus
Controller
10110110
The cable can be of different types depending on desired speed, electromagnetic interference,
cable length etc. Copper, fibre optics or even radio links can be used in some cases. Some
fieldbuses are bound to use one type while other supports several.
Fieldbus gives the opportunity to use multivariable devices, which is devices that can measure
more than one process variable. One example is the multivariable transmitter 2100T from
ABB that measures mass flow with absolute pressure and temperature compensation. The
additional information can be used both to get a more accurate reading, by compensating for
temperature, and also send more information to the operator thus reducing the number of devices. [2], [4]
and money developing their fieldbus to give it up. Several articles, like [5] and [6], have studied what could be called the fieldbus war. It all resulted in a compromise standard (IEC
61158), which included 8 fieldbuses, all of them incompatible with each other. The fieldbuses
are Foundation Fieldbus H1, Controlnet, Profibus, P-net, Foundation Fieldbus HSE, Swiftnet,
World-FIP and Interbus-S. [7]
The different fieldbuses where supported in different parts of the world and therefore, there
are geographical differences between them. Below are the geographical locations of the four
fieldbuses studied in this Thesis. [5], [6]
Profibus originates from Germany (Siemens) and it is therefore natural that it has a strong
hold in Germany and the whole of Europe. It is growing in the rest of the world as well. It has
about 20% of the worlds fieldbus market and is used in a wide range of industries, such as
automotive, production machinery and metal processing. PNO (PROFIBUS Nutzer Organization) is the organization that controls Profibus.
DeviceNet comes from the US (Allen-Bradley), which is also its main market. It is especially
developed for the factory automation and is competing with fieldbuses like Profibus DP and
Interbus. It is used in general production machinery, automotives etc. It is also found in factories in Asia.
Interbus originates from Germany (Phoenix Contact) with Europe as the main market. Interbus was developed in 1990 and was the first fieldbus that was manufacturer independent. It is
controlled by Interbus Club. The fieldbus is mainly used by automotive manufacturers.
Interoperable System Project (ISP) and WorldFIP North America created Fieldbus Foundation, as a result of that the Europeans could not agree to one standard. It is a rather new fieldbus and therefore not as large as the others, but they are growing rapidly. The main market is
North America. For the process industry, for which Foundation Fieldbus was specified, they
have equal shares with Profibus PA in Asia. [8], [9], [10]
cal part. Motors are other devices where faults can be and has been predicted. Motors, however, sends lots of data and is usually not connected to Profibus PA or Foundation Fieldbus
H1. Since these are the fieldbuses focused on in this thesis no more effort will be put into predictive maintenance for motors. [11], [12]
In theory, the fieldbus is not a requirement for diagnostics of intelligent devices. HART devices are fully capable of sending diagnostics, but the problem is to get the information into
the control system. The usual way to get diagnostics from a HART device it to connect a
handheld device directly to the analog line connecting the I/O and device. It can however be
sent to the operator or engineer from the I/O cabinet by using fieldbuses like Profibus DP
[13]. With fieldbus connected instruments, the diagnostic data is available to the operator or
engineer with little or none work, which is not the case for HART devices. [14]
Two articles have been found, each describing a plant that practice predictive maintenance
[15], [14]. The first one, Cargill Vitamin E Plant in Eddyville, Iowa has been using predictive
maintenance since 2001. They have documented savings through improved maintenance
which resulted in better reliability. The software they are using is the AMS Suit from Emerson, which is capable of instrument commissioning, configuration and trouble shooting. All
maintenance activities are also automatically documented, like which changes are made in an
instrument configuration. This reduces documentation time and makes it easier to track
changes. [15]
An example, where diagnostics were used, was a travel deviation alert from a control valve
sent to the engineer. From the control room it seemed to work properly. When the technicians
checked out the valve, they found that the air supply line of plastic was melted, because it was
too close to a steam line. It resulted in a collapse of the line, which limited the air supply to
the valve, which caused it to respond very slowly. This increased the variability of the process, without the operators knowing why. [15]
In [15] the importance of knowledge is told. They recommend that one person should be asset
manager, with good knowledge about the process, instruments and the software used. Another
recommendation is not to expect immediate result, because it takes time to learn the system,
software and how to work with predictive maintenance.
The Total Solvants' Oudalle plant in the Normandy region of France is another example of a
plant that uses predictive maintenance. Like the Vitamin E Plant, this plant uses AMS from
Emerson for diagnostics. They have also found that the documentation is easier since the
software documents all changes of the device settings. Before they used predictive maintenance, all of their 100 control valves were checked annually. Today, only 10 valves have to
be checked each year, saving 90% of the maintenance work on control valves. [14]
10
process itself and not some noise picked up on the way. This gives the opportunity to analyse
the process itself, with greater extend.
4-20 mA
Fieldbus
Control
system
Control
system
A/D
A/D
Unidirectional
Bidirectional
D/A
D/A
Micro
processor
Micro
processor
Micro
processor
Micro
processor
A/D
A/D
A/D
A/D
Sensor
Sensor
Sensor
Sensor
Figure 6. Comparison of communication link between the sensor and control system with 4-20mA (left)
and fieldbus (right).
The diagnostic functions of a fieldbus device can warn the operator before an accident or a
breakdown occurs that could cause an unplanned standstill. The factories are growing bigger
and so is the cost for a standstill. In case of a breakdown, either a cable or a device, a fieldbus
can in some cases make the error detection easier. In hazardous areas, the enhanced diagnostic
abilities mean fewer visits to devices in hazardous areas thus minimizing personnel risks.
Some fieldbuses have the ability to distribute the control out to the devices instead of using a
centralized control. By doing that, the central system only needs to monitor the process. The
system becomes less dependent on a single computer or PLC and by creating independent
subsections, each of these can be shut down and maintenance can be preformed individually,
if the process allows it.
However, there are drawbacks as well. 4-20 mA is an industrial standard that is used everywhere. It is simple to understand and easy to use. Even if the support groups of different
fieldbuses states that they are an international standard, there are several of them. Currently,
they do not seem to come together to form one united standard, but instead make their bus
more unique to push it forward. [3]
11
Profibus, DeviceNet and Ethernet. Each modem also has eight discrete I/O that can be configured as either input or output. The modems support the same transfer rates as the fieldbus.
[22]
Figure 7. Area of usage for the different fieldbuses. Source: [23], page 15, figure 6
3.6.1 Profibus
Profibus consists of three different busses, Profibus PA, Profibus DP and PROFInet. Profibus
PA and Profibus DP are used at the field level. Profibus PA has a lower speed but instead it
can supply power in the cable. Profibus DP is more suited to send lots of data from for example drivers. PROFInet is used to connect the different networks and can be used to give the
operators information about the system on their PC through the local network (Ethernet). This
also gives the opportunity for the electrician to configure the devices from any PC connected
to the intranet. [24], [25]
PROFInet
PROFInet is a wide automation concept that has been developed due to the increased use of
modular, decentralized control. PROFInet is both a specification and an open, system independent software that handles the run time communication.
13
Transmission
speed
(kbit/s)
3 000 12 000
1 500
500
187.5
93,75 9,6
Maximum
segment length
(m)
100
200
400
1000
1200
14
process values and acyclical communication, DP-V1, for diagnostic and configuration values.
[24], [27]
Communication protocol DP
Profibus uses the communication protocol DP to communicate between the devices and the
process station. There are three different versions, DP-V0, DP-V1 and DP-V2. They are compatible with each other and can be used on the same bus. Profibus DP can use either of them
while Profibus PA uses DP-V0 and DP-V1. A higher version supports all functions from the
versions below.
The functions are:
DP-V0
DP-V1
DP-V2
[26]
Acyclic data transfer enables data to be transferred in between the cyclic data. By using it, setting parameters
and calibration of instruments are possible in runtime.
2
With isochronous mode, highly precise positioning process with less than one microsecond in clock deviation
is possible. This works independent of the busload.
15
As there are several devices sharing the same bus, rules are needed to control which one is
allowed to send. Otherwise, conflicts can occur if two devices send at the same time. It is
solved by using a MAC (Medium Access Control) protocol. Profibus usually works on a master/slave system where the master asks a slave for data and the slave immediately respond.
The slave does not initiate any communication without being allowed by a master. Profibus
allows several masters on the same bus and therefore need to control which master that is allowed to send. It is controlled by a timed token that is passed between the masters. Only one
token exists on the bus and the master that has it is allowed to pull data from its slaves. When
all slaves have been pulled for data or the maximum allowed time has elapsed the token is
passed to the next master. [26]
Process value diagnostics
Process values in a Profibus system are sent as a 32-bit floating-point number (IEEE 754).
The value is calculated as follows
Process value = (-1)sign * 2(E-127) * (1 + F)
Where sign, E and F are in the bits shown in Figure 9.
Bit
31
30 29 28
Sign Exponent (E)
27
Bit
27
26
25
24
23
26
25
24
23
22
21
20
15
14 13
Fraction (F)
12
11
10
2-11
2-12
2-13
2-14
2-15
2-8
2-9
2-10
22 21 20
Fraction (F)
19
18
17
16
2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-16
2-17
2-18
2-19
2-20
2-21
2-22
2-23
Together with the process value, a status code is sent which is one byte. This diagnostic byte
gives an easy access to the status of the device, especially for transmitters with limited diagnostics. Valves have more diagnostics where this byte is not enough. Examples of useful information sent with the byte are; the process value has exceeded a limit, the thermo element is
not connected or the device is out of service. The first two bits, 0 and 1, represent the quality,
bit 2 to bit 5 is sub-quality and bit 6 and 7 shows limit status. The errors that are reported depend on the device. Some status codes are the same for all devices like Good value and Out of
service while other are device specific like lead breakage of the sensor for the temperature
transmitter. Table 2 shows some common status codes.
Table 2. Common status codes for Profibus
Status
0x00
0x1F
0x80
0x89
0x8A
0x8D
0x8E
Description
Bad value
Device Out of Service
Good value
Good, LOW_LIM alarm active
Good, HI_LIM alarm active
Good, LOW_LOW_LIM alarm active
Good, HI_HI_LIM alarm active
PROFIsafe
Tasks with high demands on security like emergency stop buttons usually have to use a special bus or conventional technology. To be able to connect these devices to Profibus DP,
16
PROFISafe was developed. It defines how security devices should communicate with each
other on the Profibus so that it can be used for secure automation. PROFISafe checks for several errors that can occur on a serial link like delays, lost or repeat of data, data in the wrong
order, wrongly addressed data or corrupt data.
PROFISafe is a software that put itself on top of the Profibus DP protocol, in the ISO/OSI
model. It can work with devices that do not use PROFISafe without disturbing the rest of the
devices. It uses acyclic transmission to communicate and works on MBP, RS485 and fibre
optic cable. [24]
Interaction with HART
Because of the large number of HART devices installed in the industry today, it has been
made possible to connect it to Profibus. The HART software is implemented into the slave
and master and can be send on the Profibus. The HART devices can be connected to the
Profibus via a HMD (HART Master Device). Several HART devices can be connected to one
HMD. [26]
Device configuration
To be able to communicate with different devices, a GSD (General Station Data) file is used
to specify the communication properties for a device. For the application functions of a device, like configuration of parameters and variable ranges, EDDL (Electronic Device Description Language) can be used. For more complex applications, FDT/DTM is used.
GSD is a plain text file with information about the communication with a specific device.
There are both required data, like Vendor_Name, and optional data depending on if it is a
master or a slave. Other information that can be stored in a GSD file is parameters, with data
type and range, and product identification number. Diagnostic messages can also be set in this
file. The GSD files belong to a product and should come with the device. There are also general GSD files, which makes it possible to connect for example a pressure transmitter from
any manufacturer to the bus. GSD is not suitable for application related parameters and functions for field devices. Therefore EDDL is used for a more precise description of the device.
The main reason for developing EDDL is its ability to describe functions for a fieldbus.
EDDL and GDS are limited in use and are not useful for describing complex devices and not
standardized, specialized properties in intelligent devices. With FDT (Field Device Tool), a
DTM (Device Type Manager) is written by the manufacturer and can contain specific device
information. DTM can be compared with a PC driver, like a driver for a printer. Once installed, the PC can communicate directly to the printer and also use its special features. In the
same way, the electrician can access all parameters and diagnostic data from the device, if the
correct DTM is used. The DTM also specifies the Human Machine Interface (HMI) for the
device. The FDT program is needed to use the DTM files and connects the device with the
electrician. [26], [28]
the same time reduces the work for the process station. One advantage of putting the control
in each actuator is that the entire system does not have to go down if the process station loose
contact with the segment.
H1
The H1 bus, like Profibus PA is based on MBP, see chapter 3.5.1 for details. The following
applies to the Foundation Fieldbus H1 bus.
Each device should have at least nine Volts to work properly. Without repeaters, the maximum length of a one segment is 1900m. With up to four repeaters, five segments can be connected can reach 9500m. Maximum numbers of devices per segment is 32. By using repeaters, 240 devices can be connected to the network. But there can be no more than four repeaters between two devices. The bus speed is 31.25 kbit/s. [29], [30]
Foundation Fieldbus supports both scheduled and unscheduled transmission. Real-time applications that are time critical, like the control of valves, uses scheduled transmission to assure
they are executed in time. Tasks like parameterization and diagnostics, which are less time
critical uses unscheduled communication services and uses the time between the scheduled
once.
As stated earlier the control can be done directly by the actuators. It can contain a PD (Proportional/Derivative) or PID (Proportional/Integral/Derivative) function block that can be connected to an instrument. If they are on the same bus, actuators can read the instruments whenever they send their data. However, there is still need for controlling access to the bus. A LAS
(Link Active Scheduler) is used to control the transmission. It is a device that has a schedule
of all scheduled transmission and controls the communication by polling information from the
instruments.
There are two types of devices on a H1 bus, basic devices and Link Masters. Link Master devices are devices that have the potential to become a LAS. Therefore, each Link Master is
configured with the same schedule. If the active LAS goes down another Link Master takes
over. This makes the bus less dependent on one device. To synchronize the time of all devices
the LAS sends out a Time Distribution on the bus.
When the engineer configures the system, a schedule is made for each device. It states when
scheduled tasks should be preformed. For an instrument it could be 1: reading the Analog In
(AI) and 2: sending the information. The second task should be executed a fixed time after the
first to ensure that the value has been received. From the configuration of all devices a schedule is created, specifying when a device is allowed to send.
The LAS also polls for unassigned device addresses in between the cyclical communication,
which makes it possible to connect devices during operation and integrate them into the system. [30], [31]
Example of a scheduled data transmission
To give an example of how a scheduled data transmission is handled by the H1 bus, one cycle
of the system in Figure 10 will be described. Assume we have two instruments and one actuator that depend on the instruments. The tasks should be executed at time offset in Table 3.
18
Device
S1
S2
A1
Type
Action
Instrument Read AI
Transmit read data
Instrument Read AI
Transmit read data
Actuator
Execute PID
Set AO
Offset
0
30
0
40
50
79
3.6.3 DeviceNet
DeviceNet is an open standard that is controlled by Open DeviceNet Vendor Association,
ODVA. It uses the CAN (Controller Area Network) bus to send information across the network and CIP (Common Industrial Protocol) for interpretation of the data. As with Profibus
and Foundation Fieldbus, several manufacturers supply the same product and these are inter19
changeable. Interchangeable means that a device from one manufacturer can be replaced with
one from another.
DeviceNet supports multidrop topology and can provide power through the cable. But it has
four wires, two for power and two for sending signals. The communication over the bus is
controlled by CAN, which uses a priority system to avoid several devices to send messages on
the bus at the same time. The system can use either master-slave or a peer-to-peer if the control is distributed throughout the system. Multimaster and change-of-state, which is an event
driven message, are also allowed. Several devices, independent on which buss communication
is used can receive one message.
Devices can be added or removed from the network and new data paths can be added while
the system is on-line. Power taps can be added at any point on the network and can therefore
give redundant power supply. The maximum speed depends on the length of the bus and the
drop lines, which is shown in Table 4.
Table 4. The end-to-end network distance varies with data rate and cable thickness. (Source:
http://www.odva.org/10_2/05_tech/PUB00026R1.pdf, page 2, table 2)
Data Rates
Thick trunk length (m)
Thin trunk length (m)
Flat trunk cable (m)
Maximum drop length (m)
Cumulative drop length (m)
125 KBPS
500
100
380
6
156
250 KBPS
250
100
200
6
78
500 KBPS
100
100
75
6
39
According to the CAN specification the bus can be in two states: dominant (logic 0) or recessive (logic 1). Any device can put the bus in dominant state, while recessive is only possible
when no device is in dominant state. All devices listens on the bus, even when they are sending, and if the state they receive is not the same as it sends, another device is sending at the
same time. This is used to make a priority system that makes sure there are no collisions on
the bus. An 11-bit identifier is being sent at the beginning of each transmission and that is
where the priority is put. Each packet contains 0-8 bytes of data, which is enough for most
devices. But if longer messages are needed, DeviceNet has a fragmentation protocol that handles larger data amount. At the end of the frame, a CRC field is used to check for transmission
errors. There is also an ACK bit that is used by the receiving devices to acknowledge that the
message has been received.
The data is sent with the CIP which is object oriented. An object has attributes, services and
behaviour. In common devices there are a standardized set of objects. These devices can then
be exchanged with devices from different manufactures without changing the programming.
CIP is not dependent on a specific transport network, like a CAN bus or Ethernet, and can
therefore travel between these.
Even if DeviceNet fundamentally uses peer-to-peer communication, it also has a communication schedule for Master/Slave connections. This can be used when the data communication
links are known at power-up. The data can be either polled, where one or several can receive
the message, cyclic, where the data is produced at a predefined rate or change-of-state, where
the data is sent when it changes. The last option also has settings for minimum and maximum
time between transmission, to give an alive signal and avoid flooding the bus. [32]
20
3.6.4 Interbus
Interbus is a fieldbus that has well developed diagnostic abilities. It is always build with a ring
topology. This is however not always shown out in the field, because the bus passes the devices twice, on its way out and on the way back. Because of this, the communication is virtually bidirectional. Smaller loops, often containing simple devices, can use a true ring topology. Figure 11 shown what an Interbus connection can look like.
Because of the ring topology, the devices have point-to-point connections with their
neighbors, which means it can cover long distances. Interbus is a mono master system and
one frame send through the entire system contains information to and from all devices. The
addressing of the devices is automatically assigned, by using their position in the ring. The
engineer is able to assign aliases for the device addresses, which makes it easier to add or remove devices without re-addressing existing devices.
The system is divided into three different structure types, Remote Bus, Local Bus and Loop.
The controller board is the master in the system and controls the data traffic. It is the connection between Interbus and a higher-level network like Ethernet. It also handles diagnostic
messages and if it has a display it can display these messages there. The controller board is
connected to the Remote Bus. The data can be transmitted using several medias, copper (RS485), fiber optics, infrared etc. It can also supply current to devices connected to it. The
transmission speed is 500 kbps and the maximum distance between Remote Bus devices is
400m. This can be achieved since each device works as a repeater and allows a total maxi21
mum bus length of 13 km. If fiber optic cable is used instead, the maximum length is 80 km.
Bus terminals are connected on the Remote Bus and can branch out Local Buses. These also
divide the system into subsystems, which can be individually closed. Decentralized instruments and actuators are connected by a loop. These have to be connected as a ring and the bus
does not pass it twice. They are connected by a two wire cable which both supply power and
transports data. 63 devices can be connected in the loop at a maximum distance of 20 m between two of them and a total distance of 200 m.
To integrate planning, configuration, diagnostics etc. into one tool Interbus uses CMD (Configuration, Monitoring and Diagnostic). After the system is finally connected, it starts up
automatically and can be configured with the CMD tool. Each subsystem can be tested separately using the monitor function. The controller board can be programmed to do limited
processing by using IEC 61131 programming language, Function Block Diagram. It can be
used to do time critical control tasks and reduce the load of the control system. To connect/configure a device most manufacturers provide electronic device description. There are
also standard profiles for these that make it possible to change a device from one manufacture
to another without changing the programming.
When a bus error occur, like a broken wire or device, the ring structure makes it possible to
both localize the error and continue to run the part not effected by the error. This is done by
letting the device closes to the error send the information back instead of sending it to the
faulty link. A CRC is used on each point-to-point transmission between devices to make sure
the received information is correct. By looking at the error statistics from these, parts with
large disturbances caused by for example a weary slip ring can be detected and replaced in
time. [33], [34]
missioning. One reason for the large cuts can be that the plant has a sister plant that was
commissioned one year before. The experience from that was used in constructing the new
one. However, it reveals that there are huge potential savings if fieldbuses are used with experience. The electronic installation gave a cut of 25%. The cut was not larger because the
fieldbus has to be protected from disturbance, grounded correctly and a more expensive cable
has to be used. The documentation is another area where a lot of time was saved, because the
number of circuit diagrams was reduced.
At Bo01 the commission was a part that saved a lot of time. Mainly because when one device
was configured, that information could be reused for the other devices of the same sort. The
fieldbus is therefore more profitable the larger the plant is. There where some problems, but it
was not worse than if conventional I/O would have been used. The fieldbus devices are a little
more expensive but the reduction in commissioning time makes the fieldbus installation
cheaper than remote I/O.
At Barsebcksverket the modernisation would be taking place during operation. Another condition was that a lot of the existing equipment should be used, for example cables and instruments. Because of it, the savings in commissioning was very small, since the fieldbus had to
be adapted to the existing installation. Barsebcksverket estimate that the cost was slightly
higher compared to a conventional installation.
For Scanraff, the instrumentation went faster than conventional technology, while the time for
meetings and work with construction, configuration and layout took more time.
The theoretical calculations conducted in FuRIOS estimate the cost reduction to 4.2%. They
state that a reduction of up to 20% suggested in former studies is due to the fact that they
compare to conventional wiring and not remote I/O. The cost reduction when changing from
conventional wiring to remote I/O is therefore roughly 15%. The greatest cut in cost where
the I/O system, with a reduction of 18.1%. This was mainly because the I/O cabinets and their
power supply were replaced with fieldbus barriers. The fieldbus barriers are light, small and
easy to install compared to remote I/O cabinets that have to be carefully assembled. The
fieldbus is more dynamic since it does not have to be decided in advance where each device
has to be connected. The barriers are more decentralized which can make the spurs to the devices shorter. The cost for fieldbus devices where slightly increased (+0.6%). However, the
devices where replaced by an equal one, and if multivariable devices where used instead, it
could have lowered the cost. The use of standards, reduction of error sources and easier fault
diagnostics due to transparency have the potential to make commissioning much faster. It is
not necessary to make a loop check. The device just has to be connected and checked whether
it shows a sign of life. For a 12-18 month project, the FuRIOS report estimate the reduction
in time to 10 days. This report uses prudent calculations and it is fair to assume that some areas can save more time and money.
some problems occurred. One GSD file did not work in DeltaV, which is a Digital Automation System from Emerson Process Management. It was also problematic to find correct information about the memory mapping, which defines where in the memory different parameters are stored.
Barsebcksverket experienced minor problems during commissioning but no worse then if
conventional technology would have been used. It is important to have the right version of the
GSD file and suppliers were unfortunately not good at either giving a GSD file nor give the
right one. They also found that a segment can work properly, even without termination, but
intermittent errors can occur that are hard to trace.
Since the signal cable is more sensitive to interference, Nimrod decided to use a separate cable ladder for fieldbus cables. They also made it easy to identify and follow a buss segment by
using different colors for the different segments.
At Scanraff there were problems with finding the driver for the devices. There have also been
problems with the first generation DeltaV H1 cards that were not stable. It stopped to respond
and had to be restarted. Upgrading the software solved the problem.
The sodium cyanide plant in Australia experienced a lot of problems, mainly because they
could not find a contractor with fieldbus experience. During installation, they made sure the
screening was properly connected since they thought it to be a possible issue during commissioning. When commissioning the host vendors pressure and differential pressure transmitters, it was fairly straightforward. However, the third party devices, for example valves from
three different vendors, took longer time. This was mainly a result from lack of experience
with third party Foundation Fieldbus devices. They where also more advanced devices where
data was sent in both directions. While the commissioning of host transmitters took minutes,
it took on average one day to commission each valve.
In FuRIOS 2, the plant build on the FuRIOS report confirmed that there are saving potentials
in commissioning. They also found that the installation gets more flexible since it does not
have to be decided in advance, exactly which and where the devices should be placed.
24
Another communication disturbance occurred at Scanraff when they got moisture in an outlet,
which stopped the communication on that segment. This short circuit was not enough to
trigger the short circuit protection but it disturbed the communication. All devices can be configured to send alarms, but to avoid a lot of alarms showing up at the operator station, only
critical alarms and sum alarms are presented at the operator station. More specific alarms and
diagnostics can then be reached from the engineering station.
25
26
4 Interview
4.1 Background
The literature review, of sites with fieldbuses installed, provided information about the installation of a fieldbus. However, the information about operation of a fieldbus system was insufficient. To complement this with more information, two sites in rnskldsvik, Sweden, were
visited. The sites were ETEK, a pilot plant for ethanol, which has been running for about a
year, and Husum, a paper mill that has been using fieldbuses for several years. The interviews
where conducted in November 2005.
4.2 Result
4.2.1 ETEK
ETEK is a pilot plant for ethanol production with forest residues as raw material. They use
DeltaV from Emerson as control system. Foundation Fieldbus H1 is used to connect instruments and valves, AS-I for discrete valves and motor on/off and Profibus DP for AC drivers
and interlocking controllers. ETEKs reasons for choosing to use a fieldbus were easy changes
and less cable, compared to conventional I/O. It reduced the number of cable ladders by half
and also made the cross-connection rooms unnecessary. Since ETEK is a pilot plant they constantly change the process and therefore have to add, move or remove instruments and valves.
The system is build to be dynamic and all segments have spare outlets to be able to add devices while online. At ETEK they are satisfied with the fieldbus and think that the fieldbus
have lived up to its expectations.
There are two areas where a fieldbus could not be used. The first one is security applications,
which has high demands on reliability. The other is the small Ex area where it would be too
expensive to use Foundation Fieldbus H1 Ex-barriers on only a few devices (about 10 devices).
On the Foundation Fieldbus H1 bus ETEK connects up to 16 devices, but no more than 4 can
be valves. This is because the load of the bus would otherwise be too great, resulting in long
cycle times. The devices are connected to the bus through a multibarrier box, which has overload protection. This is used to avoid a shortcut or electrical fault to make the bus unusable.
ETEK has experienced some problems with commissioning, where some devices were lost
from the system after the bus had been without power. They found that these devices had lost
their address. This was due to different initiation procedures for different manufacturers,
which resulted in that devices did not store the given address. Another drawback was that the
cost for programming the system got somewhat higher than planned.
Finding faults on the Foundation Fieldbus H1 bus is done in two different ways. The first is
with diagnostics that is sent from the device, through the bus and into the engineering station.
The second is with a hand held device Field communicator connected to a specific device.
It is mainly used when a device is in the workshop for inspection. Although some diagnostics
where available before, with HARTS, it is being more used now with the fieldbus.
27
4.2.2 HUSUM
Husum is a paper mill in the north of Sweden that began to be built in 1915. The mill produces both market pulp and paper, coated and uncoated. 1450 people are employed at the
mill.
The personnel at Husum have always been curious about new control technology and have
been using fieldbuses for several years. They have both upgraded from 4-20 mA to fieldbus as
well as built a new fieldbus installation. The control systems used for the fieldbuses are Freelance 2000 from ABB and Siemens PCS7. As fieldbus advantages they see additional diagnostics, faster commissioning and easier configuration. An I/O card has to be set up individually and mistakes can be done because the signal has to be converted from analog to digital,
and the range has to be set both on the instrument and the I/O card. With a Profibus PA device, a 32 bit value is sent to the operator station and does not have to be interpreted. As soon
as a connection with the device is established, there is usually no problem with commissioning.
The personnel have found that it is not always possible to exchange an instrument while
online. With some systems it is possible to replace it online if the devices are of the same type
and manufacturer. However, if the configuration (DTM) file has to be changed, the system
must be reprogrammed. The maintenance personnel experiences fewer small errors (like sensor drifting), but in total it is not that much of a difference.
One good thing with fieldbus instruments is that the devices can show the actual value, and
not only values inside their calibration range. A pressure transmitter can have a physical range
0 200 kPa but a working range of 20-40 kPa. While the 4-20 mA transmitter would only
show values within this range and the accuracy depends on the width of the calibration range,
a fieldbus can show the entire physical range at very high accuracy.
Husum uses Fieldcare to diagnose and configure their devices. One reason is that DTMs, from
other manufacturers than ABB, has problems working properly in the Freelance control system. Therefore the system uses GSD files. A new segment does however use DTM in Freelance as well. A diagnose device is connected to the Profibus DP bus and can, if the system is
transparent, be used to diagnose several Profibus PA segments. When an instrument has been
exchanged, a configuration file can be downloaded to commission it as fast as possible. To
make it easier to find errors and configure devices, they always order the devices with displays.
A maximum of twelve devices on each segment is used to keep the cycle time low, about 500
ms. Even if the cyclic data exchange takes about half of it, the rest is used for acyclic exchange like alarms. When an alarm occurs it is not unusual with consequence alarms, which
then cause a high load on the bus. To minimize the risk of disturbing the Profibus PA bus
when adding, moving, removing and even when commissioned, multibarrier boxes are used.
All Profibus PA segments have the same cycle time although some of them could have
shorter. Husums reason for using the same cycle time is that they want to be able to connect
new devices to any segment, without having to check which cycle time it has. Up to 4
Profibus PA segment are connected to one Profibus DP/PA segment coupler.
As for education, the operators got none while the maintenance personnel got 3 to 4 days. The
errors occur seldom resulting in the personnel forgetting how to find the errors.
28
The devices themselves are robust and have very few errors. The reason for changing a device
is usually wear, vibrations or other unplanned physical accidents with the device. These errors
occur both on fieldbus devices and 4-20 mA in about the same amount. However, the bus
communication can cause problems. When a 4-20 mA system was replaced with fieldbus, the
grounding was not done correct, which caused devices to temporary loose connection and
send an alarm. There were also sections where the bus cable was placed close to the voltage
cable for motors, when for example passing through a hole in the wall. To avoid this, the installer should have the knowledge about how to install a fieldbus and inspect the bus prior to
commission. Husum recommend that a good cable is used, with well-made connections, and
not reuse old 4-20 mA, unless shielded.
29
30
5 Test system
5.1 Background and problem
The aim for this system test is to test a number of possible scenarios that might occur when
installing and maintaining a Profibus PA system. The result can be used to compare with
similar situations when conventional I/O is used instead. The test should also try to find and
prepare system engineers for problems that might occur. The test consists of several tasks
divided into two groups, installation and maintenance. The result will describe how to accomplish these tasks in the specified control system with the specified software. Parts of the result
should therefore not be used to draw conclusions about fieldbuses in general. However, it can
show problems that might occur in other control systems as well.
These tasks where defined after a meeting with Per Norman, my supervisor. The first two
tasks are related to installation and commissioning of fieldbus devices and the remaining are
related to maintenance and function of fieldbus devices. These are the tasks
31
5.2 Material
To conduct the test, a system was borrowed from ABB. It was an AC 800F control system,
which consists of one process station and a DP/PA segment coupler. A positioner, a temperature transmitter and a pressure transmitter were also borrowed from ABB. To test instruments
from other manufacturers, a temperature transmitter was borrowed from ALNAB and a pressure transmitter from Endress+Hauser. The hardware was set up as shown in Figure 12
32
A PC was used both as engineering and operator station, and the software used consisted of
CBF (Control Builder F 8.1) and DigiVis, an operator station software. CBF runs on Windows XP and therefore it was installed on the PC. The PC was connected to the process station with Ethernet. The process station had one Profibus DP card, which was connected to the
segment coupler.
This test will not evaluate the performance of the bus or how it can be connected. Therefore
the connections can be made as simple as possible. All devices were connected in parallel to
the same point, where a terminal block with screw connections where used, to make it easy to
add or remove devices on the bus. No terminators were included in the test system and therefore none were used on the Profibus PA bus. The limited length of the bus and number of devices connected on it made it possible to use without termination. No lost of devices or communication has been noticed during the tests.
To conduct the test, a GSD and DTM file is needed for each device. With most of the devices
came a GSD file, but the DTM had to be downloaded from the Internet. For the ABB devices,
the DTMs could not be downloaded separately and the file was large, about 350 MB. It also
included ABBs configuration and diagnostic program SMART VISION. A similar file had to
be downloaded from Endress+Hauser, but it was not available for everyone. The device from
ALNAB did not actually have a DTM, but after talking to them over the phone, they sent a
beta version of the DTM for their transmitter.
33
5.3 Method
To be able to conduct these tests, knowledge of both software and hardware is needed. Most
of the information was learned from manuals, data sheets and similar documentation. CBF
has been used by two employers at Outokumpu (but not with Profibus PA), which were asked
when specific problems occur. Leif Karlsson at ABB had experience from both DTMs and
GSD files in CBF.
5.4 Result
5.4.1 Connecting and installing devices on the fieldbus:
How to install and configure a device with a GSD file
To be able to communicate with a Profibus device the master has to have a GSD file, which is
like a driver for the device. These are the same for both Profibus DP and Profibus PA. A GSD
file is a plain text file that describes how to communicate with the device. Each row has one
variable and a value for that variable, see Figure 13. Examples of variables are Vendor_Name
and Model_Name. A variable of importance is the Ident_Number. These numbers are given
by PNO when a company wants to have a device validated for Profibus. If the Ident number
of the GSD file and device are not the same, the wrong GSD file is used and no communication will be set up. The GSD file also specifies the speed supported by the device. Since
Profibus PA only supports the lowest speed, 31.25 kbit/s, therefore these variables are only
useful for Profibus DP devices. The GSD file specifies what cyclic data that can be received
from it and what the process station should send to retrieve it. The meaning of the different
diagnostic bits are also described in the file.
34
The GSD file only specifies how the communication is done, which cyclic data that can be
retrieved and description of diagnostic bits. Therefore, when using GSD files, there are other
ways to configure the device with acyclic data through the bus. DPV1 is the acyclic service of
Profibus and here variables can be read or written to in different blocks of the device.
CBF has its own way of reading and writing the acyclical data. The user can specify a slot and
index for a variable, which is a memory position, and the data type. This variable can then be
read and, if allowed, written to. This is however not as easy as it sounds. The table that specifies slot and index is long and it is not easy to find which variable to change. It depends
mostly on the vendor and how well documented their device is. The pressure device from
Endress+Hauser was well documented and the memory table was send with the manual. As
for the ABB devices, none came with the devices and it could not be found on their homepage. However, after a call to Lars Forslund, ABB technical support Sweden I got memory
maps for the ABB devices as well. Although it seem to work well with acyclic communication with CBF it is time consuming and hard to find the interesting variables. A good thing is
that once the variables has been identified and set up for one device, the configuration can be
exported and used on other devices. It can also be exported between different PCs. These files
could not be downloaded from the ABB website but Leif Karlsson sent me a hardware structure file for the TZID-110. It is probably worth the time to call around and try to find an existing file instead of writing a new one.
How to install and configure a device with a DTM file
The DTM, unlike GSD, is not only a file. It is a program that has to be installed on the computer it should be used on. When a DTM is used in the ABB 800F system it does not only
handle the acyclic communication but also set up the cyclical. This is not specified in the
FDT/DTM standard and the DTM files has to be adapted to do this, which can cause DTMs
not to work in the system even if they follow the standard. When starting the DTM for the
first time it asks for which cyclical data that should be retrieved.
If the device has not been configured before, the address is usually 126 and does not correspond to the address set in the hardware structure. The address 126 is not allowed except fr
new devices that will be given a new address. While in commissioning mode, the device address can be easily changed by right-clicking in the hardware structure in the right window
and choose Set Address.... Here it asks for the current device address, in this case 126. It can
also be changed from any other address as long as that address does not have a device configured on it in the hardware structure. If the devices address is set using this function, the devices have to be connected one by one since only one device can have address 126. These
addresses can also be set in advance either by ordering them with a specific address, if possible, or setting up the devices with a separate configuration tool like SMARTVISION. For
some devices the address can be set either by DIP switches or software.
When the system is online and the address has been configured, the online configuration can
be brought up by starting the DTM. This will open a separate window, see Figure 14. For the
TF12, the data is not automatically downloaded from the device and therefore click on Load
from device in the Device menu. The device can now be configured and when all changes
have been made, it can be uploaded to the device.
35
DTMs data can be saved and loaded from the project. The configurations can be saved as
templates and used several times in the same project. That means that if the settings should be
the same, the configuration can be reused. This function was not available at this test since
only a demo version was used. Whether or not it is sufficient to keep the data saved in the
project cannot be said, since it could not be done in this test. If the device is replaced with
another which is not identical, the DTM has to be replaced and it is unlikely that the configuration can be reused in the new one. It would therefore be recommended to have it stored in
some other way as well. Most DTMs tested here even has a documentation option, where all
settings of the device can be printed out.
Comparison between GSD and DTM
While a GSD file only specifies how to communicate with a device and which cyclic communication is available, a DTM can also configure a device. One advantage with GSD when using CBF is that it is a part of the project. That means that if the project is moved to another
computer, it would still work there. If DTM is used, the same DTM has to be installed on that
computer. This has not been tested but Leif Karlsson, ABB Skellefte, informed me about it.
There have been some problems saving the DTM configuration in the project. This can be
avoided by configuring the devices with a FDT program specially written for configuration
and diagnostics, like SMARTVISION or Fieldcare. These programs need a special card in the
PC that can be connected directly to the Profibus DP bus and where unfortunately not available for this test.
IEC 61131-3 which describes five programming languages. FBD is a graphical language
where blocks are placed and connected to each other. The execution order of the blocks has to
be set as well. The operator station is also programmed in a graphical programming language,
where objects and their properties are connected to the variables in the system. The task specifies that a faceplate should be present for the PID controller. CBF already have a faceplate for
it that will be used.
The system was simulated by a first order system, see Figure 15, and works as follows. The
valve position runs through a delay block which works like a low pass filter, which has a delay time of 5s. It is then multiplied with fifteen to make the valve able to give a pressure of
1500 mbar when fully opened. To make the process more real, a sinusoidal disturbance is
added. The disturbance has two parameters that can be changed, the amplitude and the period.
To make it easy to access these variables they are displayed and can be changed from the operator station. The resulting value is added with the value from the pressure transmitter before
it is send to the controller. The delay and counter blocks has properties not showed here but
can be accessed by double-clicking on it. The counter adds up the value on pin IN at a specific time interval, in this case every second.
When the system was configured, the hardware was connected and installed as described earlier. When setting the set point for the valve, a status byte should be send as well. Unless a
good value is send, like 16#80, the positioner will not accept the set point. In DigiVis 16#80
means the number 80 with base 16, which is 128 with base 10. Values like 16#00 and 16#1F
(out of service) results in a set point not valid error in the valve, which then enters FAIL
SAFE mode. This can be used to avoid the positioner to act on an invalid value. In this system, the status from the pressure transmitter could be sent to the valve. If the pressure sensor
would stop working, which means not sending a good process value, the valve would not act
on this value. Status codes like warning and alarm for high values are considered valid data.
When configuring the TZID-110 with the DTM program, one problem occurred. When trying
to write changes to the device an error message was displayed "Write access denied! Please
check the Operation Mode of the Device". After a call to Lars Forslund, ABB technical support in Sweden it was found out that the positioner has to be in "Out of Service" mode to be
configured. It can be found in the menu Operate and then choose Positioner. After all
changes have been made, the mode should be changed back to Automatic.
37
Figure 16. The screen of the operator station. In the graph the set point is red (dots) and process value is
blue (squares).
Figure 16 shows the operator station view for the test system. The pressure measured is absolute pressure and is added to the simulated value. The PID controller has its own faceplate
seen to the right in the figure. To be able to send different status messages to the positioner, a
status field was created. The PID controls the positioner, and the read back value form that,
which is its actual position, is used to calculate the simulated value.
The valve has some additional diagnostics besides the process values status, called
CHECK_BACK. It consists of 3 bytes where 11 bits are used to indicate different statuses,
like simulation or local operation. To make the data easy to interpret, a user function block
was created which had 3 byte inputs and 11 Boolean outputs, each indicating a status. A faceplate was also build to show the value of each status bit, see Figure 17.
38
Figure 17. Faceplate of the positioners extended status. A red dot indicates an active status.
One status is Travel time limit exceeded. A travel time limit can be specified using the DTM
and if the positioner has not reached the desired position within this time, the bit is set. It is
not indicated on the process value status that one of the CHECK_BACK bits are set and
therefore the user function block also has a sum output indicating that at least one
CHECK_BACK bit is set. This has then been connected to a red or green light on the operator
display in the positioner square. A click on this light will bring up the faceplate.
39
on a CD beside the device. Since the DTM has to be installed on every computer using it, it is
probably a good idea to have them beside the device even if the DTM is installed on the engineering station. After the new DTM has been installed in the system, the device should be
configured as the device it is replacing.
when programming the operator station to tell the operator what has happened. In this case it
makes the background of the status field red. Besides the changed status, an alarm message is
send as well, telling that the unit has a diagnostic fault.
The following is shown at the engineering station. In the Hardware structure the error can be
traced down because all parent object to the faulty object becomes red. Beside the faulty object, an icon is visible telling that diagnostic data is available, see Figure 18. To find out more
the DTM for the device is run. In the diagnostic tab, there is a status for each sensor that tells
the engineer that the sensor has a lead breakage, see Figure 19.
Figure 19. The DTM shows a lead breakage of the Temperature sensor.
I have not been able to find a setting for which value to send when an error occurs, it automatically sends the last valid value. However, it is not always good to do so. One time when
the sensor was detached, the last valid value became 80 C instead of the 23 C that the room
was. It was probably caused by a reading when the wire was removed which increased the
resistance. The value to send when an error occur can still be solved in the process station, by
looking at the status of the process value.
5.5 Problems
Upon the arrival of the test system the included software was CBF version 7.2. The software
requirements for CBF 7.2 to run DTM files where Windows 2000 SP 4. It was installed on
one computer to be able to run it. Everything except the DTMs was working. Several calls
where made to Leif Karlsson, who had it working on his PC, to try to identify the problem.
After several reinstallations of both the program and the operating system, it still did not
41
work. One possibility was to use a later version, CBF 8.1, which had been ordered by Leif
Karlsson. This delayed the tests but the time was used to learn how to use and program in
CBF. GSD files were used to read data from the devices. When CBF 8.1 arrived and installed,
the DTMs worked right away. CBF 8.1 runs in Windows XP.
When trying to save the settings for the positioner for the first time, a popup appeared informing that the positioner is in the wrong operation mode. After a call to ABB it was found that
the positioner has to be in Out of Service as Target Mode to be configured. This was not
found in the documentation, and generally, the documentation for DTMs is very limited.
There have been problems using DTMs from other manufacturers than ABB in CBF 8.1. One
from Endress+Hauser and one from PRelectronics (beta) has been installed and tried in CBF.
These are having problems setting up the cyclical communication for the devices and no solution was found. GSD files were used instead. The answer was found several weeks later,
when contacting Endress+Hauser. I was told that the cyclic communication set up that CBF
needs, is not a part of the DTM standard. Endress+Hauser offered to investigate whether to,
and how long time it would take to make their DTM work in CBF. Due to the little time left
of the thesis their offer was declined.
At first it was not clear why the settings of the DTM could not bee saved. It was not until the
end of the Thesis that it was found that it was because it was only a demo version. Unfortunately no solution to the problem could be found and one of the tests could not be evaluated.
42
6 Result
6.1 Comparing fieldbuses with remote I/O
One advantage of fieldbuses is faster and easier installation and commission. Fieldbuses can
give huge cuts in both installation and commissioning time and cost, if the contractor has experience from fieldbus installations. Nimrod refrigeration plant is one example. They reduced
their time with up to 50% and cost with 30%. I believe the main reason for them having such
a good result, compared to the other is because a sister plant using the same technology was
commissioned one year before. The experience gathered with that project was used in Nimrod. This shows that with the right knowledge and experience the savings are huge. The sodium cyanide plant in Australia however, shows that without experience the fieldbus commissioning can be difficult. Most places have found it easier or at least not harder to install and
commission a fieldbus system. It also becomes more flexible during the planning, since the
final placement of devices and which I/O cabinet to connect it to can be changed.
Another advantage of fieldbuses is the diagnostic ability. Several articles show that there are
savings both by increasing the availability of the plant and increasing the quality of the final
product. The diagnostics from positioners can be used to replace valves before they break
down by counting the number of full strokes. All positioners also have a read back value, corresponding to the actual position of the valve. This can be compared with 4-20 mA positioners, where most of them do not send back a value. Instead a flow transmitter somewhere else
on the pipe is used to validate that it is open or closed. The diagnostic can help the maintenance personnel, by giving a hint of what is wrong and even be used for predictive maintenance. However, since so much data is available, it is also important to decide which data to
present and how to present it to the operator or maintenance person.
43
timed token between the masters and the masters pull data from the slaves. Foundation Fieldbus H1 has a schedule which includes not only when data will be sent on the bus but also
when function blocks are executed inside the devices. The access to the bus is however still
controlled by a master (LAS), which allows slaves to send their data at the scheduled time. In
between the scheduled transmissions, the LAS send a token to each device in turn, allowing
them to send for example diagnostic messages.
The geographical differences are noticeable, Profibus are large in Europe, Foundation Fieldbus in North America and they have equal shares in Asia. It is therefore likely that a costumer
in Europe will ask for Profibus. However, like ETEK, some choose Foundation Fieldbus.
Which fieldbus to learn to use therefore depends on where in the world the installation will be
done. For Asia, where metal process industry is growing rapidly, it is more difficult to speculate which fieldbus a company would prefer.
44
45
46
8 Future work
The question whether to use fieldbuses or not is not an easy one to answer, and which one to
use might be even harder. For the instrument level there are mainly two buses that are interesting, Profibus PA and Foundation Fieldbus H1. This thesis has a simple practical test on one
of them, Profibus PA, and a future work could be to test the Foundation Fieldbus H1 as well.
The DTMs are not working perfectly in CBF 8.1 but they should work in a separate
FDT/DTM program like SMARTVISION or Fieldcare. These should therefore be tested to
make use of DTM files.
Although a test system can give hints of some of the problems that can occur, it is a totally
different thing to install it into a real plant. To learn how it can be integrated with other systems it should be installed in a section of a plant.
47
48
References
[1] HART official homepage
<http://www.hartcomm.org/> (Accessed 2005-10-27)
[2] Relcom Inc. (2004) Fieldbus wiring guide Doc nr. 501-123, Rev. D Available online at
<http://www.relcominc.com/pdf/501-123%20Fieldbus%20Wiring%20Guide.pdf> (Accessed
2005-09-19)
[3] Samson (1999) Communication in the field Available online at
<http://www.samson.de/pdf_en/l450en.pdf> (Accessed 2005-09-28)
[4] ABB Homepage
<www.abb.com> (Accessed 2005-10-10)
[5] Thomesse J.-P. (2005) Fieldbus Technology in Industrial Automation Proceedings of
the IEEE, Vol 93, Issue 6, Page 1073-1101.
[6] Felser, M. & Sautler, T. (2002) The Fieldbus War: History or short break between battles? Factory Communication Systems, 2002. 4th IEEE International Workshop on; 28-30
Aug. 2002; Vsters, Sweden. Page 73-80
[7] Sang G. P. (2002) Fieldbus in IEC61158 Standard Proceedings of the 15th CISL Winter
Workshop; February 2002; Kushu, Japan. Available online at
<http://icat.snu.ac.kr:3333/ww/pdf/ww_2002_8.pdf>
(Accessed 2005-11-03)
[8] Montague J. (2004) Fellowship of the fieldbuses? Control Engineering. Available online
at <http://www.manufacturing.net/ctl/article/CA425928> (Accessed 2005-10-12)
[9] Control Techniques (last update 2006) Fieldbus Guide Available online at
<http://www.controltechniques.com/data/issue_guides/CTFieldbusGuide.pdf> (Accessed
2006-02-16)
[10] Nordbladh, F. (2002) versikt av fltbussar och deras kommunikation med
kringutrustning VRMEFORSK Service AB, ISSN: 0282-3772 Available online at
<http://rapporter.varmeforsk.se/publish/getfile.phtml?id=4352&file=report>
(Accessed 2005-09-23)
[11] Fornaro, O.; Magro, M.C.; Pinceti, P. (2004) Diagnostics for measure transmitters [predictive maintenance] Instrumentation and Measurement Technology Conference, 2004.
IMTC 04. Proceedings of the 21st IEEE; Vol. 2; 18-20 May 2004; Como; Italy; pages 14501453.
[12] Gkmen B., Eldem V., Wetherilt A. J. & Duyar A. (2005) MCM: A New Technology in
Predictive Maintenance (Revised: 20th Oct 2005) Available online at <http://www.plantmaintenance.com/articles/mcm_intro.shtml> (Accessed 2006-02-07)
49
[13] Softing (2005) Fieldbus kit for HART devices Available online at
<http://www.softing.com/en/pdf/communications/fieldbus/F_IA_16E_0508_FIB_from_HAR
T_to_FF_Z.pdf> (Accessed 2006-02-16)
[14] Control Engineering (2001) Total Solvants achieves 100% predictive maintenance
Control Engineering Europe June 1, 2001. Available online at
<http://www.manufacturing.net/ctl/article/CA186171> (Accessed 2006-02-07)
[15] Howarth W. (2006) Predictive Maintenance Saves Money, Improves Plant Reliability
Pharmaceutical Processing. Available online at
<http://www.pharmpro.com/ShowPR.aspx?PUBCODE=021&ACCT=0000100&ISSUE=040
5&RELTYPE=PR&ORIGRELTYPE=ATO&PRODCODE=0000&PRODLETT=V> (Accessed 2006-02-07)
[16] Willig A., Matheus K. & Wolisz A. (2005) Wireless technology in industrial networks
in Proceedings of the IEEE, Vol. 93, No. 6, Page. 1130-1151. Available online at
<http://www.tkn.tu-berlin.de/publications/papers/wireless_fieldbus.pdf> (Accessed 2005-1103)
[17] Aslanis S., Koulamas C., Koubias S, Papadopoulos G (2001) Architectures for an integrated hybrid (wired/wireless) fieldbus ETF Journal of Electrical Engineering, Vol 9-10 October 2001, pp. 5-13 Available online at
<http://www.apel.ee.upatras.gr/the_lab/faculty/koubias_papers/ij12.pdf> (Accessed 2005-1103)
[18] Omron Europe B.V. (2003) Omron improves DeviceNet Communications reliability
through wireless technology Technology Trends Magazine 11/2003. Available online at
<http://www.europe.omron.com/Images/DK_da/193_24618.pdf> (Accessed 2005-11-02)
[19] ABB United Kingdom (2005). New ABB wireless sensor takes machine control to the
next level (last changed 2005-05-19) Available online at
<http://www.abb.com/global/gbabb/gbabb901.nsf!OpenDatabase&db=/global/gbabb/gbabb90
5.nsf&v=F4A&e=us&url=/global/seitp/seitp202.nsf/0/7CEE4F52C2174D6180257006002C5
227!OpenDocument> (Accessed 2005-10-07)
[20] Vector InfoTech. (2005) IZD Profi 01. Available online at
<http://www.vectorinfotech.com/_doc/0902a.pdf> (Accessed 2005-11-02)
[21] OMRON Sverige. (2006), Wireless DeviceNet units with detachable antennas Available online at
<http://www.europe.omron.com/SE_sv/cor/iab/home/product_highlights/Wireless_DeviceNet
.asp> (Accessed 2005-11-02)
[22] ELPRO Technologies. (2005) 905U-G Wireless Gateway. Available online at
<http://www.industrialnetworking.com/products/spec_sheets/905ug_1.2.pdf> (Accessed
2005-09-28)
[23] Brkert Fluid Control System (2004) Fieldbus Technology Available online at
<http://www.buerkert.com/media/Fieldbus_Technology.pdf> (Accessed 2005-09-27)
50
51
[37] Hargan A. & Orton S. (2003) Installing & Commissioning a Fieldbus / Profibus Process
Control System Available online at
<http://www.fieldbus.org/generalassembly/installpaper.pdf> (Accessed 2005-10-05)
52
Version
Max number of slaves
Number of I/Os
Signals
Medium
Max. cycle time
Analog value
Transmission
Number of analog values
2.0 (previous)
31
124 I + 124 O
Data and power supply up to
8 A (dependent on power
supply module)
Non-shielded, non-twisted
cable 2 x 1.5 mm2
5 ms
Via function block
2.1
62
248 I + 186 O
Data and power supply up to
8 A (dependent on power
supply module)
Non-shielded, non-twisted
cable 2 x 1.5 mm2
10 ms
Integrated in master
Windows 2000 SP 2
Engineering software:
DTMs:
Hardware
Process station:
Segment Coupler:
Positioner:
Transmitters:
;===========================================================================
Implementation_Type = "SPC41/ITEC"
Bitmap_Device
= "TF12___N"
Bitmap_Diag
= "TF12___D"
Bitmap_SF
= "TF12___S"
Slave_Family = 12@ABB
;===========================================================================
; Limitations
;===========================================================================
Max_Module
=1
Max_Input_Len
= 15
Max_Output_Len
=0
Max_Data_Len
= 15
Max_Diag_Data_Len = 17
;===========================================================================
; User Parameter preset
;===========================================================================
User_Prm_Data_Len = 0
;===========================================================================
; Device related diagnostics
;===========================================================================
Unit_Diag_Bit( 0) = "Hardware failure electronics"
Unit_Diag_Bit( 4) = "Memory error"
Unit_Diag_Bit( 5) = "Measurement failure"
Unit_Diag_Bit( 6) = "Device not initialized"
Unit_Diag_Bit(10) = "Configuration invalid"
Unit_Diag_Bit(11) = "Restart"
Unit_Diag_Bit(12) = "Coldstart"
Unit_Diag_Bit(15) = "Ident_Number violation"
Unit_Diag_Bit(32) = "ADC_Calibration error"
;===========================================================================
; Module Definition
;===========================================================================
Module = "Calculated Temperature" 0x42, 0x84, 0x08, 0x05,0x00, 0x00
1
Info_Text = "Primary Variable"
EndModule
;--------------------------------------------------------------------------Module = "Temperature 1" 0x00, 0x42, 0x84, 0x08, 0x05, 0x00
2
Info_Text = "Secondary Variable 1 (Channel 1)"
EndModule
;--------------------------------------------------------------------------Module = "Temperature 2" 0x00, 0x00, 0x42, 0x84, 0x08, 0x05
3
Info_Text = "Secondary Variable 2 (Channel 2)"
EndModule
;--------------------------------------------------------------------------Module = "Calculated Temp. & Temperature 1" 0x42, 0x84, 0x08, 0x05, 0x42, 0x84, 0x08, 0x05, 0x00
4
Info_Text = "Primary Variable + Secondary Variable 1 (Channel 1)"
EndModule
;--------------------------------------------------------------------------Module = "Temperature 1 & Temperature 2" 0x00, 0x42, 0x84, 0x08, 0x05, 0x42, 0x84, 0x08, 0x05
5
Info_Text = "Secondary Variable 1 (Channel 1) + Secondary Variable 2 (Channel 2)"
EndModule
;--------------------------------------------------------------------------Module = "Calculated Temp. & Temperature 2" 0x42, 0x84, 0x08, 0x05, 0x00, 0x42, 0x84, 0x08, 0x05
6
Info_Text = "Primary Variable + Secondary Variable 2 (Channel 2)"
EndModule
;--------------------------------------------------------------------------Module = "Calculated Temp. & Temp 1&2" 0x42, 0x84, 0x08, 0x05, 0x42, 0x84, 0x08, 0x05, 0x42, 0x84, 0x08,
0x05
7
Info_Text = "Primary Variable + Secondary Variable 1 (Channel 1) + Secondary Variable 2 (Channel 2)"
EndModule
;--------------------------------------------------------------------------Module = "Calc.Temp. & Difference-Temp 2-1" 0x42, 0x84, 0x08, 0x05, 0x00, 0x00, 0x42, 0x84, 0x08, 0x05
8
Info_Text = "Primary Variable + Difference Secondary Variable 2 (Channel 2) - Secondary Variable 1 (Channel
1)"
EndModule
;--------------------------------------------------------------------------;===========================================================================
; Module Definition
;===========================================================================
Appendix E: Abbreviations
AI
AO
AS-I
CAN
CBF
CIP
DCS
DI
DM
DO
DP
DTM
EDDL
FB
FBD
FF
GSD
HART
HMI
HSE
I/O
ISP
LAS
LD
MBP
ODVA
OSI
PA
PB
PD Controller
PID Controller
PLC
Profibus
PS
TB
TD
Analog In
Analog Out
Actuator Sensor-Interface
Controller Area Network
Control Builder F
Common Industrial Protocol
Distributed Control System
Digital In
Device Manager
Digital Out
Decentralized Periphery
Device Type Manager
Electronic Device Description Language
Function Block
Function Block Diagram
Foundation Fieldbus/Fieldbus Foundation
General Station Data
Highway Addressable Remote Transducer
Human Machine Interface
High Speed Ethernet
Input/output
Interoperable System Project
Link Active Scheduler
Linking Device
Manchester coded - Bus Powered
Open DeviceNet Vendor Association
Open System Interconnect
Process Automation
Physical Block
Proportional/Derivative Controller
Proportional/Integral/Derivative Controller
Programmable Logic Controller
PROcess FIeld BUS
Process Station
Transducer Block
Time Distribution