
Mbps (over copper cable) and distances from 200
meters up to 2 kilometers. Usually the physical
medium is a pair of wires with EIA RS-485
interface, although there are applications over
optical fiber, coaxial cable, infrared, radiofrequency
and electrical power lines.
The lack of standardization is a problem in the
area of industrial communication networks. It
implies that there are a lot of different commercial
solutions and protocols, making difficult the
compatibility between equipment of different
manufacturers. Thus, in this paper the authors
propose the implementation of fieldbus
communication processors using reconfigurable
circuits. In this way a communication protocol can
be modified without changes in the hardware
support that implies an economic saving. In this line
the authors have implemented a communication
processor based on a FPGA (Field Programmable
Gate Array) supporting two important fieldbus
standards in the area of industrial control such as
WorldFIP and Profibus. The chosen FPGA for this
project was the FLEX 10K20RC240-4 from the
ALTERA company [Lías, 2000].
2 PROFIBUS AND WORLDFIP
Profibus (Process field bus) is a fieldbus protocol
proposed by the German manufacturers (ABB,
AEG, Siemens, Bauer, etc.) in 1987. It was
standardized as DIN 19245 in 1991 [PROFIBUS,
1991] and the CENELEC (Comité Européen de
Normalisation ELECtrotechnique) included this
protocol in the standard EN 50170 (Volume 2) in
1996 [CENELEC, 1996].
The French manufacturers (Cegelec,
Telemecanique, Efisystem, Gespac, etc.) have driven
the WorldFIP protocol. First, it was standardized
with the denomination FIP (Factory Instrumentation
Protocol) in the French standard NFC 46 601 to 605
[AFNOR, 1990]. Afterwards this protocol was
described by CENELEC into its standard EN 50170
(Volume 3) with the name WorldFIP (World Factory
Instrumentation Protocol) [CENELEC, 1996], being
the same than the former French standard but with
little difference such as the adoption of the
international standard IEC 1158-2 (now renamed as
61158-2) for the physical level [IEC, 1993].
A comparison between these two protocols and
with other important fieldbuses used in different
areas (industrial control, automotive industry,
microcontrollers, aircrafts, electronic wheelchairs,
ships, home automation) is shown in Table 1
[Domínguez, 2000].
Profibus and WorldFIP are two of the most
important fieldbuses used in industrial control
automation in Europe. They have a lot of
differences. The most significant ones are:
- Data rates: WorldFIP achieves higher data
rates than Profibus (among the standardized
ones because there are Profibus devices from
Siemens that can achieved up to 12 Mbps).
- Types of stations: A Profibus network can
have several master stations (make up a
logical ring and can transfer messages
without remote request) and also slave
stations (only transmit data after the reception
of a request from a master station). WorldFIP
networks have a single active bus arbitrator
(manages the access to the transmission
medium) and the other nodes have
consumer/producer functionality.
- Medium access method: Profibus has a
hybrid method (token passing for the master
stations and master-slave polling for the slave
stations) but WorldFIP uses a centralized
method (access managed by a bus arbitrator
station).
- Timers: Profibus is a protocol with a lot of
timers and then the management of timing
information and the implementation of timers
are more complicated than in WorldFIP.
- Frame format: In the data link level the
protocols are completely different and also
the frame format is not the same.
- Signal level and coding: Profibus uses a RS-
485 communication in the physical level and
WorldFIP uses a Manchester coding. Thus, it
is necessary different circuits to adapt the
signals between the bus and the device.
It can be observed that although Profibus and
WorldFIP have a same philosophy (to provide a
real-time communication oriented to the
transmission of variables with a predictable polling
time), the differences between both protocols are
important and then it forces to implement different
software and hardware for each communication
interface. Thus, all this features must be borne in
mind in the implementation of a compatible device
for these protocols using a FPGA that is proposed
and reported in this paper.
IMPLEMENTATION OF A DEVICE COMPATIBLE WITH DIFFERENT FIELDBUSES USING RECONFIGURABLE
CIRCUITS
47