Sei sulla pagina 1di 6

c   


  




     

  


O  

    









Ê À   Ê -  
 !"#$%!&'( ! ./ !)$%!&'(
)*) +, )++  )
B.E.,ELECTRONICS & B.E.,ELECTRONICS &
INSTRUMENTATION INSTRUMENTATION
III YEAR III YEAR


 
O0  their interoperation, and the promise ZigBee
-   
 
 holds for industrial automation as it gains a
foothold as a mainstream technology.
 1

12 O0   -  
0  
 
3
 
The promise of ZigBee is now starting to ZigBee is designed to support easily
be realized in industrial automation networks; as deployed, redundant path, low-cost systems for
with any other new technology, ZigBee users integrating even the simplest end devices into
must be sufficiently educated in the technology wireless automation. While its potential
to be able to deploy it successfully. Much of what usefulness extends to a wide range of
has been written and said about ZigBee has been applications that include home as well as
focused around home automation, especially industrial, it offers three inherent characteristics
lighting control and building automation. that are especially desirable in industrial settings:
However, what is needed for a residential
deployment is very different from what is (4'(: The typical ZigBee radio costs far less
required for an industrial deployment. This paper than most sensors and signal conditioners, adding
provides an overview of ZigBee from the about $30 to the cost of any device incorporating
perspective of industrial automation including one. This provides an economic justification for
when ZigBee is appropriate and when ZigBee is automating even the simplest of sensors,
not appropriate. The paper then discusses the extending wireless networking¶s reach
components needed to add ZigBee networks to throughout the factory floor.
existing industrial automation networks. Special
attention is given to the topic of gateways and 5 54( % Traditional wireless networks
options for integrating the ZigBee network with are point-to-multipoint, with a programmable
existing industrial automation application logic controller (PLC) communicating directly
software. A methodology is also presented that with various devices on the factory floor.
can be used to design ZigBee networks for Challenges arise when there is a barrier in the
situations commonly found on the factory floor. line of sight between a PLC and a given end
The paper concludes with an overview of the device. ZigBee introduces a mesh networking
nearterm advancements expected in the technology, in which some or all of the end
marketplace in relation to ZigBee. devices with which a PLC communicates also
function as routers that can communicate with

-
 each other. The ability to automatically route
 communications around barriers as a self-healing
Companies are increasingly relying on network eliminates line-of-sight concerns.
wireless networks in applications that monitor
factory floor conditions and control automated &6('5 7(/' As an open standard,
systems. The move to wireless is fueled by the ZigBee provides customers with the ability to
fact that wiring runs are expensive, in terms of choose vendors as needed. ZigBee Alliance
both initial runs and reconfiguration, as well as working groups define interoperability profiles to
by ongoing performance improvements and cost which ZigBee-certified devices must adhere,
reductions in industrial wireless technology. organized by class. A ZigBee-certified modem
ZigBee, a new low-cost, standards-based, will communicate with any other ZigBee-
wireless mesh networking technology created by certified modem in its class, promoting
the ZigBee Alliance, holds tremendous promise competition and the ability for end users to
for advancing wireless further in industrial choose the most effective device for each
settings, and products supporting the ZigBee particular network node, regardless of
standard are just beginning to enter the market. manufacturer.
This paper examines the unique needs of wireless
industrial automation, the ZigBee components 
that come together to address those needs and 
 outputs, and that generate alarms when process
O0 -   
 
 variables exceed preset levels.
 1 --   
 



c

  1


It¶s important in discussing industrial In a wired industrial automation network,
automation to make a distinction between control electrical cabling is run between the PLC and
applications and monitoring applications. each of the sensors and actuators with which it
Monitoring applications are those that report such communicates. By far the most popular
conditions as fluid level, pressure, and communications protocol for this link is Modbus,
temperature for the purposes of recording and of which is an openly published communications
issuing alarms when a condition has exceeded a bus designed specifically for use with PLCs and
specific acceptable level. Control applications are supported by the vast majority of industrial
those that direct automation devices to take electronic devices. The PLC also typically has a
action, which can be as simple as opening or wired connection to the computer system running
closing a valve or as complex as performing real- the monitoring application to provide the human-
The distinction between monitoring and machine interface, with Ethernet as the
controlling is worth noting because ZigBee, as a networking technology for that link.
mesh networking technology, introduces latency
when communication is handed off from one
routing device to another.

-   
 



 
The typical industrial automation system
consists of one or more Programmable Logic
Controllers(PLC) plus sensors and actuators
working in concert to monitor and/or control a
discrete or continuous process.
The PLC is the brain of an automation
system, programmed to orchestrate network
activities. Controllers run ladder logic programs
and communicate with end devices to receive
O0 1  -  
information or to instruct them to perform an

 

action. PLCs receive information from sensors,

which are end devices that sense and report such
In a ZigBee industrial automation
conditions as temperature, sound, pressure,
network, ZigBee devices provide an over-the air
strain, and vibration. Sensors are the primary end
network interface between the PLC and the
devices in monitoring applications and provide
sensors and actuators with which it
the inputs upon which control decisions are
communicates. ZigBee sensor modems provide a
based.
combination multichannel signal conditioner and
PLCs send instructions to actuators,
ZigBee module for sensors. Individual versions
which are such electromechanical devices as
of ZigBee sensor modems can support various
valves, motors, solenoids, and relays that perform
input types, such as 4-20mA and full-wave
actions (which may depend on the state of sensor
bridge, and can provide 4-20mA transmitters,
inputs). Actuators are the primary end devices in
digital I/O, and excitation voltages.
control applications, and a number of them may
work in close coordination to carry out a complex ZigBee Modbus modems connect to
task. The human-machine interface (HMI) to actuators, and combine the function of a serial
these systems is provided by software programs output device with a ZigBee module. Modbus
that keep a watch on sensor inputs and PLC commands issued by the PLC are transported
over the ZigBee network and relayed to the I/O
module.

ZigBee Modbus gateways provide the


takeout point for the ZigBee network, mapping
Modbus addresses to ZigBee addresses and
formatting responses from ZigBee remote
devices into the Modbus protocol. These
mappings prevent the Master PLC from having to
be ZigBee-aware, and preserve the functionality
of existing PLCs, sensors, actuators, and
monitoring programs. The application functions
exactly as before, except that wireless links have
replaced wired connections.
(/. '(! / All inputs and outputs at
ZigBee sensor modems and Modbus modems are
expressed as properly formatted Modbus
commands, which includes fields for Modbus
address, function code, and register address, plus
a fourth field for number of registers to read for
inputs or for ON of OFF values for outputs. For
example, to read the analog-to-digital channel 0
input of a ZigBee sensor modem which has been
assigned Modbus address 4, the following
Modbus command would be sent to the ZigBee
Modbus gateway.

O%055 (/. !//5 !% 5  The


mapping of Modbus commands to ZigBee The following Modbus command would be sent
addresses at the ZigBee Modbus gateway is a to turn digital output 1 ON at a ZigBee sensor
straightforward process. Modbus assigns a single modem
address to each device in the network, as does
ZigBee. The device can be an I/O block that has
many sensors and actuator, or an individual
sensor or actuator. The only operation required is O0   1

to convert that address from Modbus conventions 
to ZigBee conventions, which is performed in the ZigBee Modbus modems and sensor
Modbus gateway¶s controller software. modems can operate as routers (while still
providing I/O), capable of communicating with
8
 !77 % Modbus uses a standard set of other routers, gateways, or end devices. The
registers to read and write input and output presence of routers is what makes a ZigBee
values. Thus, the various I/O of the ZigBee network self-healing. Should a router or end
sensor modem must be mapped to the standard device become unable to communicate directly
Modbus registers to allow standard Modbus with the coordinator or primary router due to a
commands to be used. In addition to the device dropped link, it will automatically establish an
address resolution, the Modbus gateway also RF link with another router and transmit its data
translates the Modbus register specified in the back to the gateway through this second router.
Modbus command to the appropriate I/O of the
ZigBee sensor modem. The mapping used by the
ZN-2401 ZigBee Sensor Modem is provided in
the table below.
Between the HMI application server and the
industrial automation hardware is where things
get interesting. The HMI vendor typically
provides industrial automation hardware too.
Thus the interface between the application and
the hardware is written for the specific vendor¶s
products. Users, however, demand the flexibility
to mix and match HMI applications and hardware
from multiple vendors. To avoid having to write
drivers for each HMI/hardware combination, the
industry formed the OPC Foundation to develop
a standard interface for HMI applications and
industrial automation hardware. This interface is
implemented using a server-based software

 component called an OPC server. The OPC
O0  1   - 0 - server abstracts the specifics of the HMI


 1
 application and the hardware, allowing products
 that support OPC to be used in combination. The
A second common industrial automation OPC server allows the ZigBee Ethernet gateway
architecture is Distributed Control System to communicate seamlessly with any HMI
(DCS), in which multiple PLCs provide local application that supports OPC.
process control. This provides easy segmentation
The OPC server communicates with the
of control functions, especially when there is
ZigBee Ethernet gateway. While in theory, this
infrequent interaction between process functions.
communication could use the ZigBee command
There is still the need for central monitoring if
set used by the ZigBee module in the gateway,
not supervisory control of the system. The figure
that command set is not optimized for
below shows data flow between DCS
communications over an Ethernet network.
components, including various ³languages´ used.
Therefore, an intermediate or ³meta´ language
(For a simplified DCS network, see Figure 5.).
was developed to communicate with the gateway
over an Ethernet connection. The OPC server
knows and uses this meta language to
communicate with the gateway.

The ZigBee gateway communicates with


remote devices using the ZigBee command
language. The gateway accepts the meta
language from the OPC server encapsulated in
TCP/IP packets, removes the TCP/IP packet, and
translates the meta language commands into the
ZigBee command language. For data coming
from the ZigBee endpoint devices, the gateway
formats the data into the meta language format
and encapsulates the message in a TCP/IP
datagram. The datagram is then sent to the OPC
Each HMI application uses its own server over the Ethernet network.
language to communicate between the

application client workstation and application

server. This language is proprietary to each

application vendor and, in truth, there is very

little need for third parties to be knowledgeable

about this language.
-   
 
 O0  


9  
As a very well-designed standard created
As ZigBee is a very new standard, the with specific applications in mind, ZigBee has
most useful ZigBee products available today are much to offer industrial automation applications.
designed to introduce ZigBee benefits to existing Low-cost deployment and redeployment, mesh
networks. The ZigBee gateways, sensor modems, networking to cover entire industrial plants and
and Modbus modems discussed so far do exactly factories, and an open standard with multiple
that, preserving existing investments while vendors make ZigBee especially adept at
replacing expensive and cumbersome wiring with addressing the needs of industrial automation
low-cost and flexible wireless connections. applications. As the industrial communications
As ZigBee becomes a mainstream equipment industry continues its embrace of
technology, we will see the introduction of off- ZigBee, we will see ZigBee devices optimized to
the-shelf ZigBee enabled sensors, actuators, and meet the unique needs of industrial automation.
PLCs. Rather than needing modems attached to This will mean products that function well in
these devices, they will contain ZigBee radios settings with high RF noise floor, extreme
themselves to enable cost-effective, ready-to-use temperatures, and rough handling.
devices for creating green field ZigBee networks.
Yet even as the industry evolves toward
this optimization, there will for many years be a
need for ZigBee products that address existing
industrial automation networks and existing
applications, and the current crop of solutions ±
ZigBee modules, sensor modems, and gateways ±
will likely be keys to implementing ZigBee
networks for some time to come.

9  


ÔÊ ZigBee Takes It Easy: Short-range


wireless "ZigBee" networks are ready to
As this happens, ZigBee gateways will unwire your house, Technology Review
continue to be key components, providing article by Eric S. Brown, August 19, 2004
interfaces to get ZigBee data off the ZigBee
network and onto wired networks that host ÔÊ Ember.com
human-machine interface applications and other
applications that make use of the ZigBee data. ÔÊ Zigbeenetworks.com
However, the function of these gateways will
change as applications become ZigBee aware,
streamlining the mapping process.


1
9O0 1  
 

2





Potrebbero piacerti anche