An Architecture For The Interconnecting Heterogeneous Fieldbuses

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Proceedings 2003 IEEE International Symposium on

Computational Intelligence in Robotics and Automation


July 16-20,2003, Kobe, Japan

An Architecture for the Interconnecting Heterogeneous Fieldbuses


in Industrial Automation
R.T. Qu, Roland Lim
Singapore Institute of Manufacturing Technology,
71 Nanyang Drive, Singapore, 638075
Email: rtau@SMTech.a-star.edu.sg

Abstract maintained well into the fnture. (Ideally these solutions


would also he buly interoperable -the point of having
A wide variety of fieldbuses have been set up in the any standard- but today’s reality dictates otherwise 151.
industrial automation system in different time periods
under different environment. Therefore, during the The concept behind fieldbus interconnection deals with
development of industrial automation systems and the convergence of heterogeneous fieldbus networks and
control applications, the developer has to consider the services, allowing interoperation and a uniform access to
interconnection of heterogeneous fieldbuses. In the paper, users. This is an increasing demand fiom industrial
a Heterogeneous Fieldbuses Interconnection automation. Industrial automation is now facing the
Architecture (HFIA) is presented to interconnect challenge of interconnecting its resources to meet the
heterogeneous fieldbuses in wide area industrial growing needs of the information society [6].
automation system. The HFIA provides an integrated
software hmework to interconnect heterogeneous This paper describes some of our recent work in
fieldbuses. With the help of the HFIA, it is easy and fast developing the HFIA. The rest of this paper is structured
to interconnect heterogeneous fieldbuses. At the same as follows. In Section 2, we introduce current status of
time, the HFIA can be used for high-level industrial research in the interconnecting of heterogeneous
applications to control, monitor and optimize the fieldhuses. Two strategies of interconnection are
operations of the fieldbuses systems. F’rofilbus, CANbus discussed. Section 3 describes the HFIA used to
and Ethemem are adopted as case studies for the HFIA interconnect the fieldbuses. In section 4, we present the
architecture. detail design and implementation of the HFIA. In section
5, we give case studies based on Profilbus, CANbus and
1. Introduction Ethemem. Finally we give a conclusion.

The research on fieldbus, at its beginning, focused on the 2. Current status in the area of fieldbuses
definition of the services and of new protocols to provide interconnection research
the right quality of service for given kinds of application,
and for given distributions of control systems [l]. For The aim of distribution in industrial automation is to
some years, the research has been oriented towards the increase modularity and flexibility, which is needed
interoperability problems, the quality of service and while supplying highly customized products and systems
towards the design of system architectures [2]. [7].Distributed industrial automation systems often use
fieldbus-based network solution. When the field devices
A wide variety of fieldbuses are available in the market, are interconnected with the same fieldbus, the design of
each one with its own special capabilities on the industrial automation application is an easy task. Data
different levels of ‘the hierarchical structure of industrial and event interactions are mapped to the specific’s
automation [3]. Among the most famous fieldbuses are fieldbus communication mechanisms. However, thiigs
Foundation Fieldbus, CAN, Profilbus, WorldFP and are going to become more complicated, when the
LonWorks. In spite of the technological advances, application must be distributed among devices resided
industrial automation lacks of the hymony that other on different fieldbuses. This is a common situation in the
areas of industries have. The final effort for an industrial automation, where a lot of heterogeneous
interoperable standard among the fieldbuses that was fieldbuses have been installed in different time periods
carried on by the ISA’S SP50 standards committee under different situation [7]. The purpose of the
ended last year and resulted in an &standards standard interconnection of heterogeneous fieldbuses is to
~41. improve the interoperability in fieldbus level to solve the
problem.
There are a lot of political disagreement and wrestling
for market share in fieldbus standards war. However, the What is meant by interoperability in the fieldbus level is
end users in the industrial automation business have a the ability of interconnecting independent fieldbus
clear need for interoperability and they want proven segments, even from different vendors, in the ,
solutions that can be deployed economically and enterprise’s intranet backbone [SI. The solution is to use

0-7S03-7866-0/03/$17.W 02003 lEEE 396


Ius between each fieldbus and the enterprise i n m e t , by industrial automation. The second problem is all
leaving unchanged in this way the already defined those frameworks only supported and investigated one
process of each bus, and transfemng only the necessary kind of fieldbus. It is more meaningful if two or more
data through the intranet. With the availability of cheap kinds of heterogeneous fieldbus can be interconnected
memory and processing power, it is far more practical to together. The thud problem is the implementation of
make a whole range of devices work with any bus tiameworks omitted the communication protocol
through an IU, without the need for converting the entire between interworking units, which is important to
product line to operate with an “alien” bus and all its improve the performance of the interconnection. The last
attendant hidden proprietary features. Ius will problem is those frameworks did not consider the issue
theoretically appear to have intrinsic delays and of interconnection of different kinds of fieldbus through
performance limitations -but practically, can be made to one IU. The industry is more interested in a cost-
operate with very little disadvantage. [3] effective, real-time and powerful solution for the
interconnection of heterogeneous fieldbus in real
The Extended Fieldbus (EF) concept was first shown in industrial environment.
[9]. It enables several fieldbus segments to work
together by means of gateway nodes called IU through In this paper we present our architecture and
network backbone [IO]. The functions performed by the implementation for interconnecting heterogeneous
IU are basically: routing according to the address fieldbuses.
scheme pertormed by the EF; encapsulation and de-
encapsulation of fieldbus messages; and service 3. The Architecture of the Heterogeneous Fieldbuses
scheduling for pending requests and responses [6]. The Interconnection
IUS, or gateways, are interconnected through a common
network backbone. ATM as the network backbone was The first step to set up the HFIA is to choose a network
proved to be a good solution for interconnecting backbone. Although most researchers selected ATM as
fieldbuses [ l l ] . backbone for heterogeneous fieldbus interconnection, we
still argue that Switched Fast-Ethernet should be another
There are two strategies to interconnect fieldbus good choice. There are compelling reasons to utilize the
segments via a network backbone in the EF architecture Intemet Protocol (IP) for real-time systems. IP is quickly
[6]. The fust one is called Virtual Fieldbus (VF). The becoming the lingua franca of the information age,
second is called Independent Fieldbus (IF). reaching into every area of modern life. Designs using IP
networking will be able to take advantage of this
VF mainly focuses on the increase of the maximum connectivity, for instance by monitoring and debugging
extension a fieldbus segment can reach. Two or more systems remotely, collecting usage statistics, and even
segments of the fieldbus was organized as a virtual notifying service personnel of impending failures 1131.
fieldbus, that is mean there will be only one token for
token based fieldbus. The problem of the VF strategies is We chose Fast-Switched Ethernet as our backbone
it can only work for interconnecting of same kind of network for HFIA due to its popularity, wide acceptance
fieldbus. Moreover, the evaluation results in [6] also and low cost. The network Architecture is shown in
show IF has a better behavior over VF. Figure 1.

In the IF strategy, every fieldbus segments operate


independently. In case of token-based fieldbus, each
segment has its own token. In the IF h e w o r k , the Iu
can be treated as a normal fieldbus node in one fieldbus
segment. It should work as a master station in case of
master-slave structure. The UJ will also be a part of a
virtual IU network. A communication and messaging
protocol should be carefully designed for the
interworking unit network.

Although some kameworks for interconnecting were


proposed [6, 9, 121, their applications in industry are
very limited. There are four main problems of those
6ameworks. The first problem is those h e w o r k s FIBMIUS A F3dbUIB
adopted ATM as network backbone to overcome the
real-time issue 19, 121. But ATM network is costly and Figure 1. Network Architecture of HFIA
not broadly applied in industrial automation. In paper [6],
TCP/IP was used to interconnect the fieldbus segments. The next step is to select a strategy to interconnect the
However, capacity restrictions of TCPAP make it fieldbus segments. The IF strategy was chosen that based
impossible to meet the real-time requirements imposed on the requirement to interconnect different kinds of

397
fieldbus, the ease of the IF strategy and performance underline Ethemet can provide real-time communication.
consideration. Analysis results in [I31 show quite promising of using
UDPfIF’ to support real-time communication over
The strict timing constraints imposed by the application Ethemet. Therefore, to provide real-time communication
domain make the IU should operate as hard real-time. In in Ethernet environmenf a real-time messaging protocol
paper [SI,Function Block based mechanism was used to must be designed and implemented.
implement the IU components. Thus, all data processing
is expected to recognize and to react to events. Although The AI module will provide a unified interface for high-
this design methodology meets the IEC standard, the level application to communication with the IU.
heavy object model of FB makes it very difficult to meet Basically, two type of AI are exposed. One OPC client
hard-real-time requirement. The key issue in the will talk to commercial OPC server to provide real-time
implementation of the IU is how efficiently the IUScan data. Another AI will provide connectivity to factory
handle requests from remote and local fieldbuses. database. All data that is available from local fieldbuses
and remote fieldbuses can be got from the two types of
Figure 2 shows our IU’s high-level software architecture AI. In paper [7],an OPC server module was designed for
Y iesigned. the application interface. Again we drop this
IU
methodology due to the efficiency consideration.

The Web based HMI enables the IU to be remotely


monitored and configured through Internet using web
browser. Thus user can access the IU from anywhere.
Based on Windows CE built-in web server, a web based
HMI was developed using ISAPI. This design is an
important step to make the IU to be deployed as an
embedded system without keyboard, mouse, monitor and
etc.

4. From Architecture to Implementation

4.1 Implementation of the IUEE


Figure 2 Software Architecture of IU
The WEE is actually a specified time-critical control
It is composed of the following modules: application. As the brain of IU, an efficient IUEE served
1. IU Execution Engine (IUEE) as the key issue of the success of the whole HFIA. It
2. Etbemet-based Real-time Message Bus (ERMB) reads and writes data frondto fieldbuses and ERMB. The
3. Universal Fieldbus Interface (UFI) implement the IUEE will be very complex without the
4. Application Interface (AI) support of engineering tools. Engineering tools to
5 . Web based Human Machine Interface (HMI) support develop real-time control application in
Windows CE based embedded system is quite limited.
The IUEE is the brain of the IU. It controls the overall Luckily, we have such an efficient toolkit. The tool
execution of the IU.It is also responsible for generating, oficial called SmartBox was jointly developed by Tata
coniigwing and recoofiguring the IU.When the IU starts Consultancy Services (TCS), Asia’s largest global
up, the WEE will read in the entire configuration file, software solutions and consultancy services provider and
which is in XML format, to memory. The configuration Singapore Institute of Manufacturing Technology [14].
information is used for WEE to encapsulate and de- The SmartBox Toolkit will be available for industrial
encapsulate of fieldbus messages. market in the coming April. An evaluation copy can be
got from TCS now. The detail of the SmartBox product
The UFI is defined to adopt the proprietiuy fieldbus. is available o n l i e through http://smartc.Simtecb.a-
The UFI is designed to translate the different commands star.edu.sg.
and data structures from different fieldbuses into the
commands and data structures that can be recognized by With the support of SmartBox, development of control
the WEE. At the same time, if the IUEE needs to access application in Embedded Windows CE is fast and easy
the fieldbuses, the UFI will translate the commands and by using the Application Builder of the SmartBox. The
data structuresback to the formats that the fieldbuses can performance of the execution is also guaranteed by the
accept. SmartBox platform. The detail of how to develop
control application using the Application Builder of
In other frameworks, [9][12] real-time channel is SmartBox is included in the manual of the SmartBox.
provided by ATM network with quality of Service (QoS) Only a few core module of the SmartBox is deployed
naturally. Since Ethernet was selected for the backbone into the WEE based on its requirement.
of the HFIA, one of key issue of the decision is bow the

398
4.2 Implement of the ERMB
5. CaseStudy
As discussed in the previous section, an ERMB is
needed to enable real-time commyication over Ethemet.
An event-driven communication model was provided to Two Profilbus segments, one CANbus segment and one
decouple interactions between different m E s . This Ethemem are selected to do the case study for the
model is based on puhlisblsubscribe paradigm, and is HFL4. Figure 5 presents the experimental network for
used to distribute data in the form of events. In the HFIA.
publisher/subscriber (producer-consumer) interactions ERMB
driven by events (usually the arrival or creation of data),
data producers are decoupled from data consumers---
they do not coordinate data &ansmission with each other,
except by using the same subject name. Producers
publish data to the network at large. Consumers place a
standing request for data by subscribing. Consumers can U1
1J"c IU2

listen for messages on any subject(,) on the network; a


subscription is an implicit request for messages.
Publishers anonymously broadcast messages onto the E
network and subscribers anonymously receive messages
without having to request them. The detail of the
implement ofthe ERMB is documented in [15].
Figure 5. Case Study Network Setup
4.3 Universal Fieldbus Interface (UFO
Two embedded PC was selected to implement the IUS.
Facing the problem of interconnecting different kinds of IU1 is linked to one Profilbus segment and one CANbus
fieldbus, the IU has to be able to provide a unified UFI segment. IU2 is linked to one Profilbus Segment and on
to the RTEE. A unified interface is developed for the EthemeUIP segment. Here the Profilbus card and
WEE to communicate with devices in order to execute CANbus card are from Applicom intemational.
the request. The Figure 4 shows the architecture of the
UFI. The device connected to ProfilBusl is ABPLCS. It has a
total of 32 Digital Input and 32 Digital Output, 2
IUEE Analogue Inputs and 2 Analogue Outputs through four
AB's Digital VO modules 8-PT SIM A-B, and one AB's
Analogue VO Module 1771 NB4SC. The salve device
Universal Fieldbus Interface
connected to Profilbus2 is OMRON PRTI-COM. It has
16 Digital Input and 16 Digital Output. Both Profilbus
run at a baud rate of 12 Mbits/sec. The CANBus devices
connected to CANBus are six PowerCube linear
modules. They are lid together to worked as a modular
Robot. The device connected through Ethemet is
EDAS1001. It has 32 configurable Digital VO. Some I10
Figure 4 Architecture of the Universal Fieldbus in this device can also be configured to work as pulse
Interface input or output.

Six types of interconnection activity are identified in the


The UFI enables IUEEs to talk to the devices in different system. They are:
communication protocols over different fieldbuses in
1) ABPLCS to OMRON through Profilbus, W1,
industry. The UFI includes a universal interface and a ERMB, IU2 and Profilbus and vise versa.
communication proxy for different communication 2) ABPLC5 to PowerCube modules though
protocols. The proxy talks to the MI provided by the Profilbus, Tu1, CANbus and vise versa.
fieldbus card. We have already implemented three types 3) ABPLCS to EDAS though Profilbus, IU1,
of protocols: EthemeUIP, CANBus and Profibus. ERMB, IU2 and Ethemet and vise versa.
4) PowerCube to EDASlOOlE through CANbus,
4.4AI and HMI IU1, E M , IU2 and Ethemet and vise versa.
5 ) PowerCube to OMRON through CANbus, IUl,
Two types of AI are implemented for the IU in the HFIA. ERMB, IU2 and h f i l b u s and vise versa.
The two types of AI are implemented based on OPC and
6) OMRON to EDAS though Profilbus, IU2 and
Database technology respectively. Based on Windows Ethemet and vise versa.
CE built-in web server, a web based HMI was also
developed using ISAPI.

399
The performance charactenstics of the six types of Jim Pinto, Fieldbus-Conflicting “Standards”
interconnection activity are shown in Table 1. In the Emerge, but Interoperability is Still Elusive,
table TI to T6 stand for the delay of the six types of Design Engineering magazine, UK, Oct.99
interconnection activity. Those results are mean values Jim Pinto, The great Fieldbus debate is Over!,
obtained 6om the case study. proceedings of Industrial Control Intelligence, Nov.
1999
David March, Surviving the fieldbus wars, EDN
I T1 I 7.lmsec magazine, April, 1999
4.5msec Victor M.Sempere, Jorge Mataix Oltra, Estanislao
39.5msec Utrilla Gines, Modelling of Systems for the
28.4msec InterConnection of Industrial Communication
6msec Netwoks Through Intemet, EUNICE’99
I 28.lmsec I K.Thramboulidis, C.Tranoris, An Architecture for
Table 1. Performance characteristicsof the development of Function Block Orient
interconnection activities Engineering Support Systems, IEEE International
The performance charactenstics of intemal module of Symposium on Computational Intelligence in
the HFlA are shown in Table2. In table2, TI” stands for Robotics and Automation, August ,Canada 200 1.
the delay of IU, TmB stands for the delay of ERMB; C.Tranoris, S . aslanis, K.Thramboulidis, Using
Tppstands for the delay of the proxy of Profilbus; TPC RT-Lmux for The Interconnection of Industrial
stands for the delay time of CANbus; Tw stand for the Fieldbuses, proceedings of Fist National
delay of proxy of the Ethemet. Those results are mean Conference on Recent Advances in Mechanical
values obtained fiom the case study. Engineering, AMSE Intemational-Greek Section,
Patras, Greece, Sep. 2001.
0.3msec Kunert (o.), Interworking field buses through
1.2msec ATM: Proceedings of 2nd IEEE Workshop on
2.6msec Factory Communication Systems 1997, Barcelona,
TPC 1Smsec Spain, 1-3 Oct. 1997
TPE 25msec Victor M.Sempere, Jorge Mataix Oltra, Estanislao
Table 2. Performance characteristics of intemal Utrilla Gines, “Simulating a Wide Fieldbus
modules Interconnected through ATM for its Real-time
Performance Evaluation”, European Conference on
From the above two tables, we can see the real-time Networks & Optical Communication. ISBN-90-
performance is quite promising of most of the module. 51994001(IOS Press) June 23-25, 1998,
The long time delay of the proxy of Ethernet is Manchester (UK).
investigated. The reason is due to the response time of Cseb, C. et al., “ATM network for factoxy
the EDAS device. communication”, proceedings ETFA’99
C.Tranoris, K.Thramboulidis, Interconnecting
6. Conclusion Heterogeneous Fieldbuses in Wide Area Industxial
Environments, WSCEAS, Multiconference, Greece,
This paper bas presented our architecture for the July, 2001
heterogeneous fieldbuses interconnection. The HFIA can G. Pardo-Castellote, and A.S. Schneider The
simplify the effort to interconnect heterogeneous Network Data Delivery Service: Real-Time
fieldbuses. The software framework for the IU was Connectivity for Distributed Control
implemented based on Windows CE real-time OS. Applications,” IEEE lntemational Conference on
Robotics and Automation, San Diego, CA, 1994
References Z.Q. Ding, A. Aendenroomer and H.He,
Development of a federated embedded controller,
Decotignie J. D., Some future directions in fieldbus technique report of Singapore Institute of
research and development. In Fieldbus Manufacturing Technolo&, wwwS1MTech.a-
~

Technology, Systems Integration;Networking and star.edu.sp 2002


Engineering, Proceedings of the fieldbus R.T. Qu, A. Aendenroomer, Distributed Multi-
Conference FeT’99, Springer, pp 308-3 12 Level Real-Time Message Bus lnh.struchue Over
Jean-Pierre Tbomesse, open issues in fieldbus Etbemet, technique report of Singapore Institute of
based systems, 15* Triennial World Congress, Manufacturing Technology, www.SIMTecb.a-
Barcelona,Spain,2002 star.edu.sq, 2002

400

You might also like