23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Network-Based Control 20-5<br />

message (token) that gives rights to its receiving node to transmit one or more queued messages. The<br />

token is usually sent to an ordered and cycled list of nodes. The result is that the network gives an<br />

ordered access to all the nodes and each node can know in advance the maximum delay a given message<br />

will incur before arriving to its destination.<br />

The random access scheme allows any node to transmit whenever it needs to send a queued message<br />

provided not any other node is sending a message. If there is a message being sent through the network,<br />

the node waits till the end of this message and then it attempts to send its queued message after an<br />

active wait, where a competition between the waiting nodes will give the message access to only one of<br />

them. The result is that a random access scheme is generally nondeterministic.<br />

On top of the access scheme is the end-to-end <strong>communication</strong> relationship between nodes. The most<br />

common relationships are the master–slave, producer–consumer, and client–server.<br />

• Master–Slave: The network has master nodes and slave nodes. Slave nodes only react to master<br />

nodes commands. Master nodes share the channel access by using a round-robin (i.e., token passing)<br />

scheme. Profibus is an example of this scheme.<br />

• Producer–Consumer: The network has nodes that are producers, consumers, or both. A producer<br />

node when it has a message to send looks for the first opportunity to send it in a broadcast way.<br />

Consumer nodes pick up this message contents as soon as they need it. As an example, Control<br />

Area Network (CAN) uses this paradigm. CAN is one of the accepted fieldbus standards—a<br />

serial, asynchronous, multi-master <strong>communication</strong> protocol designed for applications needing<br />

high-level data integrity and data rates of up to 1 Mbps.<br />

• Client–Server: In this case, the network has client nodes and server nodes. The client nodes send<br />

requests to the server nodes for services. Based on the best effort, the server provides this service<br />

and notifies the completion. This scheme is not necessarily deterministic as the server node takes<br />

as much time as it needs.<br />

The result of application of those access and relationship schemes is that a given <strong>industrial</strong> network may<br />

partially use a client–server paradigm and a producer–consumer or master–slave in conjunction with any<br />

of the access schemes. How the relationship is to be operated depends on the transaction to be done. For<br />

example, in an <strong>industrial</strong> application, during the commissioning phase, a client application installs an<br />

automation program into a Programmable Logic Controller (PLC), which acts as a server, while during<br />

the PLC cyclic operation, it connects to sensors and actuators based on a master–slave scheme.<br />

There is a wide variety of concurring fieldbus standards and, therefore, many times interoperability<br />

becomes an issue. Another <strong>communication</strong>s network used in NCS—Ethernet—has evolved into the<br />

most widely implemented physical and link layer protocol today mainly because of the low cost of the<br />

network components and their backward compatibility with the existing Ethernet infrastructure. Now<br />

we have fast Ethernet (10–100.Mbps) and Gigabit Ethernet (1000.Mbps) [5]. Recently, switched Ethernet<br />

became a very promising alternative for real-time <strong>industrial</strong> application because it eleminates the collision<br />

in traditional Ethernet [4].<br />

Overall, the choice of network depends upon the desired application. Today, with the help of technologies<br />

like GPS, electronics atlas (Google maps), we are looking at multi-agent traffic control in urban<br />

areas with efficient vehicle <strong>communication</strong> [7]. Military, surgical, and other emergency medical applications<br />

can use dedicated optical networks to ensure fast-speed and reliable data <strong>communication</strong>. The<br />

Internet is the most suitable and inexpensive choice for many applications, where the plant and the controller<br />

are far away from each other [6].<br />

20.3.1.2.2 Sampling and Messaging in NBC<br />

Sampling is the activity of measuring the feedback control variable to be sent to the controller. The cyclic<br />

control conceptual scheme follows the order: sampling, control law computation, order to actuator. The<br />

most usual requirement for this sequence is that it has to be executed based on a fixed clock cycle time.<br />

General control law models assume that the time spent between successive samples is a constant, called<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!