Sunteți pe pagina 1din 3

REAL TIME COMMUNICATION BASED ON

PROFIBUS
Francisco Grijalva

Karen Rodrguez

Tcnica del Norte University


Mechatronic Engineering
Imbabura, Ibarra
Email: fxgrijalvam@utn.edu.ec

Tcnica del Norte University


Mechatronic Engineering
Imbabura, Cotacachi
Email: kerodriguezb1@utn.edu.ec

AbstractSome types of fieldbus are used in the industry


in order to communicate the parts of processes. However the
fieldbus protocol is not standardized so it is difficult to share
information in real time between process. In this paper we are
going to show a real time communication solution based on
PROFIBUS, which users can control the data in real time with
the PC target and PROFIBUS devices through the user control
program in the hostPC. The result will show that the execution
can satisfy the requirement of real time an accurate data transfer.

PROFIBUS-FMS: Profibus-FMS is designed to the communication at the cellular level. At this level programmable
controller communicate with each other in principle. In this
application area a high degree of functionality is more important than a fast system response time.

I. I NTRODUCTION
M2M s a generic concept that refers to the exchange
of information or communication data format between
two remote machines. M2M communication technology
is a bridge connecting intelligent devices with the control
system. According to the connecting devices communication
technology in mainly divided into wired network and wireless
network, the wired communication is highly used in the
industrial control and automation.
Real-Timesystems have advantages of reliability data, good
and accurate time constraint, so that the accuracy of the data
can be certified.
Crate a user control program in the host computer, they
can control real-time data from devices on the PROFIBUS
network by interacting with the target computer.
II. PROFIBUS
A. Designation communication bus
Profibus is a European standard EN 50170 an international
IEC 61158 can be used for both time critical transmission
of data and high speed. This versatility is given by the three
compatible versions that make up the PROFIBUS family.
PROFIBUS-PA: Is the PROFIBUS solution for automation
process.PA connects automation systems and control system
process, with the field devices, such as pressure transmitters,
temperature an level.PA can be used as a substitute for the
analogue 4 to 20 mA.
PROFIBUS-DP: Profibus-DP is designed for data communication at high-speed at the device level. the central controllers (PLCs/PCs) communicate with field devices distributed
through a high-speed serial link.

Fig. 1. PROFIBUS architecture

According to the communication requirement and functionality, this communication requires three parts.
1 Communication between host computer and server.
2 Communication between host computer and PROFIBUS
devices.
3 Communication on PROFIBUS network.

Users can do follow from host computer to target computer,


users can create a instance to target computer, which will
bring a real time communication with PROFIBUS. In the
PROFIBUS network we can connect multiplies PLCs sensors
and others devices.
B. Communication Technology
The real time data have higher requirements in the control
field and industrial automation.
1) Communication between host computer an target
computer: Communication between the host computer
and the target computer is based on the physical layer
connection, you must go through the certification process of
communication nodes, once identified PROFIBUS equipment
and error detection, the host sends information through the
diagnostic frame.

which only allows an access at the same time.


The real-time communication with PROFIBUS use dp ram
devices to communicate with PROFIBUS network in order to
ensure the validity, real-time data and run the communication
at high speed.
One of the data structures include data type, the address and
size, which are encapsulated in agree with the requirements
of PROFIBUS and sent it to the DPRAM which also
encapsulates to send to PROFIBUS DP. The receiving process
is a reverse process to analyse the data and send them to the
application.
3) PROFIBUS COMMUNICATION NETWORK: You can
connect the devices with network nodes that are distributed
and they have capacity of connection, so all of nodes are able
to form a control network, communication PROFIBUS-DP
network it is a parallel communication structure. finally the
host can control devices in the PROFIBUS net terminal,
communicating in high-speed.
III. DATA COMMUNICATION MECHANISM
The base of this mechanism is PROFIBUS-DP communication and the users through DPRAM. Exchange of information
takes place in the DPRAM memory with the help of two
programs one for one to send or receive data from the users
application and other that reads and writes data in the area of
memory allocation. The architecture of communication consists of three layers: hardware, communication, and application
layer.

Fig. 2. PROFIBUS Diagnostic Telegram

The target computer manage multiple interfaces in real time


to users.
The operation functions may depend on a simulation
environment such as Matlab or Simulink, moreover interfaces
with commands are poor reliability and hard to understand
for users, there are libraries that are in the target computer
that they do that the user can develop its own program
and this will be efficient and easy to use, control programs
can be developed in the labVIEW environment. Which
develops programs in graphic programming language, is
mainly used for the collection of data, will be used to
develop a program of user which is more direct control and
practical, the communication will be handled by the TCP/IP
communication protocol.
2) Communication
between
target
computer
an
PROFIBUS: PROFIBUS DP is a high-speed communication
protocol and low cost, is designed to achieve communications
at high speeds entering them sensors and actuators. The cycle
of PROFIBUS communication is faster than a CPU program
cycle.
DPRAM. It is a kind of random access memory that allows
multiple reads and writes at the same time unlike the RAM

Fig. 3. LAYERS DIAGRAM

In the PROFIBUS network, hardware information is important


to data transmission. When the users application data is

received, the program analyses it according to the information


of the devices.
In accordance with the data structure, they are encapsulated
and are written in the communication area, the corresponding
communication program reads the data, analyses and sends
to the next layer of this way is complete the communication
layer.
The communication layer has two stages the sending and
receipt of data, there are two programs of communication
application program and the bus communication, which are
used for the exchange of information, ACP packaging data
and sends it to the area of sending data, BCP allocates the
data on the DPRAM according to the direction f the servers.
DPRAM sends data to the PROFIBUS network. The inverse
process is similar.

IV. C ONCLUSION
PROFIBUS is a high speed Protocol and low cost, which
is used to carry out a communication in real time, in this case
used the DPRAM memory which helps to have multiple reads
and writes at the same time, in order to have a collection
of information in real time of the sensors and actuators.
Since users become difficult the creation of interfaces with
command lines which would be poor and inefficient, graphics
that would be much more versatile interfaces were created.
R EFERENCES
[1] Yi Chen, Xiaokun Shi. A real time communication solution based on
profibus. College of Computer and Information Engineering, Beijing,
100048, China
[2] Guang Li and Guorong Zhou, Design of Communication Network
for Multi-motor Synchronization Control Based on PROFIBUS-DP,
Modern Manufacturing Technology and Equipment, vol. 3, 2009.
[3] Pisani D, Machine-to-Machine:Let your Machines Talk, Nokia White
Paper, 2004.

[4] Hong-Hee Lee, Gwan-Su Kim. Real time data communication using gateway for can and Profibus, School of electrical engineering an automation
university of Ulsan , 2004 IEEE.

S-ar putea să vă placă și