![]() |
|||||||||||||||||
|
Table 1 Along with the increased
bandwidth and tight synchronisation, real-time Ethernet gives manufacturers
the security of using a physical and data-link layer technology that
has been standardised by both the IEEE and the ISO. Ethernet can provide
reduced complexity with all the attributes required of a field, control
or device network - in operations having up to 30 different networks
installed at this level [2]. Furthermore, Ethernet devices can also
support TCP/IP stacks so that Ethernet can easily gate to the Internet.
This feature is attractive to users since it allows remote diagnostics,
control, and observation of their plant network from any Internet-connected
device around the world with a license-free web browser. Although Ethernet
does introduce overhead through its minimum message data size (46 bytes),
which is large in comparison to existing control network standards,
its increased bandwidth, standardisation and integration with existing
plant technology should generate good reasons to consider Ethernet as
a control network solution. |
|||||||||||||||||
Ethernet and CSMA/CD
With CSMA/CD, each node can detect if another node is transmitting on the medium (Carrier Sense). When a node's Carrier Sense is on, it will defer transmission until it determines that the medium is free. If two nodes transmit simultaneously (Multiple Access), the network experiences a collision and all frames are destroyed. Nodes can detect collisions (Collision Detection) by monitoring the collisionDetect signal provided by the physical layer. When a collision occurs, the node transmits a jam sequence. When a node begins transmission on the medium there is a certain time interval, called the Collision Window, during which a collision can occur. This window is large enough to allow the signal to propagate around the entire network/segment. When this time window is over, all (functioning) nodes should have their Carrier Sense on, and so would not attempt to commence transmission. When a collision occurs, the truncated binary exponential backoff algorithm is employed at each 'colliding' node. The algorithm works as follows:
When a collision occurs, the node enters the algorithm:
One advantage of this backoff algorithm is that it controls the medium load. If the medium is heavily loaded, the likelihood of collisions increases, and the algorithm increases the interval from which the random delay time is chosen. This should lighten the load and reduce further collisions. Ethernet's CSMA/CD with truncated exponential binary algorithm introduces the possibility of complete transmission failure as well as the possibility of a random transmission time, hence IEEE 802.3's non-determinism and unsuitability for real-time communications especially on heavily-loaded networks. Re-definition of the media access protocol would solve the problem but would leave the new nodes unable to interoperate with legacy Ethernet nodes. Ethernet is non-deterministic only if collisions can occur. To implement a completely deterministic Ethernet, it is necessary to avoid all collisions. A collision domain is a CSMA/CD segment where simultaneous transmissions can result in a collision. The probability of collision increases with the number of nodes transmitting on a single collision domain. Completely avoiding collisions in the Ethernet network, therefore, gives a network with a relatively large bandwidth and popularity an opportunity to be developed for the real-time domain. The most common way of implementing a collision-free Ethernet is through the use of hardware. A solution where two or more nodes compete for medium access to a network segment is called Shared Ethernet. |
|||||||||||||||||