Basics of industrial Ethernet
Jack Smith, Senior Editor, Plant Engineering magazine -- Plant Engineering, 8/1/2004
Ethernet is not the internet; Ethernet is not a fieldbus; and Ethernet is not a control system. Ethernet is a networking standard. Period.
Ethernet componentsAn Ethernet network can have up to 1024 nodes, hundreds of cables, and many combinations of network management devices. In order of complexity, these network management devices have evolved to include:
- Hubs or repeaters
- Bridges
- Routers
- Switches.
The difference among these devices is the protocol layer with which it is designed to operate (See "Ethernet, OSI, and TCP/IP").
HubsThe terms hub and repeater typically are interchangeable. A hub simply redistributes data; it does not interpret or sort the messages that pass through them. Hubs extend the length of the network by repeating the signal, connect LAN segments together to form a single network, and allow conversion between cable types such as from unshielded twisted-pair (UTP) to fiber optic.
Since hubs are designed to regenerate signals without filtering or directing them, they offer little or no network protection. Some simple hubs amount to little more than electrical buffers with some basic noise filtering thrown in. However, some have limited store-and-forward capability.
Hubs work at the physical layer only (layer 1). They are not assigned MAC or IP addresses. Although they connect Ethernet nodes, all of the nodes share the same bandwidth. This means that if more nodes are added to the network, they have to compete for finite bandwidth.
But the primary reason that hubs are not reliable on the plant floor is that they forward data packets to all nodes simultaneously, making data collisions inevitable. Because data collisions create network delays of undeterminable duration, hubs are useless for control applications, which require that data packet transmission time is <100 msec.
BridgesBridges connect separate networks. They operate on the physical (layer 1) and data-link (layer 2) layers and manage data traffic between networks of the same type, such as between Ethernet networks. Accounting and plant engineering departments may be on separate networks. However, a bridge can connect them. Bridges also provide protocol conversion between related networks, such as between Modbus and Modbus+.
Bridges differ from hubs because they open and check the data packets they receive. Most bridges can learn node addresses, so that they allow only necessary data traffic making forwarding decisions based on MAC addresses. Another helpful function of bridges is the ability to work with error-detection schemes such as CRC to prevent ill-formed packets from passing to other networks, and passing only the healthy packets. Some intelligent bridges can learn which devices are connected to each side, and determine which messages to forward and which ones to block.
RoutersA router is similar to a bridge because it routes information. However, routers operate at the network layer (layer 3), make forwarding decisions based on the IP address instead of the MAC address, connect complex networks such as the internet and corporate LAN, and divide large networks into logical subnetworks, such as geographically separated plants, offices, or divisions.
Whereas bridges route information among addresses on a single network, routers contain information on both networks and individual addresses in a network by maintaining tables of IP addresses on each segment. Routers open data packets to determine initial and final destinations, and purpose. They can filter messages based on specific applications and users.
A bridge can control data packets within a factory network. However, routers can manage factory network data packets as well as determine which data packets should be sent to different networks — including those connected directly to the internet. They learn the most efficient paths for sending messages to their destinations. The internet itself is made up of routers that control traffic among its stations.
SwitchesA switch is more complex than a hub. It provides full bandwidth and storage to each node or node group. A switch directs data packets to the appropriate node or port instead of broadcasting to every node simultaneously like hubs do. Typically, switches operate on layers 2 and 3.
Because switches are multiport devices with fast backplanes and inherent intelligence, they can act as both bridges and routers. They accept multiple concurrent data packets and feed them onto the high-speed Ethernet backbone or between ports.
Switches can convert 10-Mbps Ethernet and high-speed Ethernet. They divide a large network into many smaller networks and can dedicate one port per device.
A switch directs, or switches, messages between the input port and an output port. It can operate in half-duplex or full-duplex mode. In half-duplex mode, a port cannot receive and transmit at the same time. If it tries to do both, the received signal is detected as a collision. However, full-duplex mode allows the switch to transmit and receive at the same time — effectively doubling the network bandwidth.
Switches used in full-duplex mode are not subject to
collisions, therefore offering deterministic operation for industrial networks.
An industrial Ethernet switch increases network bandwidth and provides network
determinism for industrial control applications, and provides the most cost
effective solution for industrial environments (Fig. 1).
Primarily, the cable types used for Ethernet are coaxial, twisted pair, and fiber optic. In the early days of Ethernet, coaxial cable was used primarily. Since coax is a closed transmission line, a terminator must be used at the end of the line to prevent reflected waves, which could cause a host of problems on an Ethernet network. The system is called closed because the shield is supposed to keep energy trapped within the cable.
Originally, coax used for Ethernet had a 50-V impedance and used an N-type connector. Its large diameter made the cable stiff and unwieldy and perhaps is why it was called "Thicknet." In 1998, a newer version of Ethernet was developed that uses a thinner, more flexible 50-V cable — RG-58A/U, which uses a stranded center conductor, a single-layer braided or foil shield, and BNC-type connectors. This version became known as "Thinnet" or "cheapernet."
The next Ethernet standard was Category 5 (Cat-5) unshielded twisted pair (UTP), which is still commonly used for 10BASE-T and 100BASE-T Ethernet - referring to IEEE cable nomenclature- in office environments (See "Regular, fast, and ultrafast Ethernet"). However, UTP typically is not suited for the plant floor in many applications because its pull strength is low (about 25 lb), it is not crush resistant (typical tie-wraps could damage it), its bend radius must be >1 in., and its maximum run length is 100 m.
About the time Cat-5 was standardized, Category 5e was introduced. Category 5e is known as enhanced Ethernet as well as Gigabit Ethernet. It works by dividing the signal among its 4 pr of cable, transmitting 250 Mbps on each pair, and allowing full-duplex operation.
In 2002, Category 5i was proposed as a Telecommunications Industry Association (TIA)/Electronic Industries Alliance (EIA) standard. The idea was to standardize a Cat-5 version for industry. However, the proposal never became a standard because it did not accommodate the IP67 requirement for Ethernet cabling in harsh environments. IP67 represents ingress protection from a 1.0-mm object and and temporary immersion in water.
Category 6 can carry higher frequencies than 5e. This property makes it superior for the industrial Ethernet, right? Not necessarily. Because Category 6 has such a high frequency-carrying characteristic, it may be more sensitive to electrical noise from motors, drives, arc welders, and other equipment found in most plants. Shielded twisted pair (STP) cable resists electrical noise and is preferable to unshielded twisted pair or UTP in typical plants.
Fiber optic cable uses glass strands to transmit signals on a carrier of light. It is the best transmission medium of the three types of cable because it can carry higher data rates over longer distances. Fiber optic cable is more expensive than coax, UPT or STP, but it circumvents electrical problems such as noise, harmonic distortion, and grounding — problems that are compounded in high-speed networks.
Ethernet standards specify the RJ-45 connector for
10BASE-T and 100BASE-T. However, as with Cat-5, standard RJ-45 connectors fall
short of many plant floor applications because they are not rugged, waterproof,
or vibration proof. However, sealed RJ-45 connectors with IP67 rating have
emerged recently (Fig. 2). Several vendors offer this and the M-12 connector,
which has an IP68 rating (continual immersion), and recently was adopted as a
standard by Open DeviceNet Vendor Association (ODVA).
If you think that your corner office supply can outfit your factory floor, think again. Installing Ethernet in an industrial environment is not the same as hooking up an office LAN. To make Ethernet work on the plant floor, issues such as determinism, topology, equipment robustness, power, and redundancy must be considered.
Network configuration and speed affect determinism. Office environments can tolerate occasional data packet collisions, along with the associated error recovery delays. Industrial equipment — especially control systems — is not that forgiving. Depending on the network requirements, topologies can be configured to ensure deterministic operation. Switches, along with star and ring configurations virtually eliminate data packet collisions making the technology aspect of industrial Ethernet possible. Much more can be said about redundancy and topologies — so much more, in fact, that it will take a series of articles to do them justice.
Equipment used for office LANs is not robust enough for the plant floor in most industrial applications. However, vendors are rapidly introducing Ethernet products specifically for use in industrial settings. Compared to standard office-type Ethernet products, industrial Ethernet offerings have higher temperature ratings, higher tolerance to shock and vibration, resilient industrial cases, DIN rail mounting, industrial power input — with redundancy if necessary, and in some cases, hazardous location certification. Although not every application requires waterproof connections, sealed RJ-45 and M-12 connectors are available for those that do.
There may be light industrial applications where one could get by with commercial off-the-shelf (COTS) Ethernet products. But since industrial Ethernet products are available now, why take the chance?
PLANT ENGINEERING magazine extends its appreciation to Automation Direct; Comtrol Corp.; Hirschmann; N-TRON Corp.,; ODVA; Phoenix Contact Inc.; Rockwell Automation; and Schneider Electric for the use of their materials in the preparation of this article.
| |||||||||||||||||||||||||||||||||||||||||||






















