mobile | classic
Dataweek Electronics & Communications Technology Magazine

Follow us on:
Follow us on Facebook Share via Twitter Share via LinkedIn


Electronics Buyers' Guide

Electronics Manufacturing & Production Handbook 2019


10 issues to consider before installing industrial Ethernet - Part III
17 July 2002, Computer/Embedded Technology

After having a look at speed and distance issues in Part II, we now turn our attention to a consideration between hubs vs switches.

Some hubs and converters are shown here
Some hubs and converters are shown here

Repeating hubs

Modern Ethernet networks must be wired in a star topology utilising either twisted-pair or fibre-optic cabling. Links, consisting of only two devices, are established between a single Ethernet device and a port on a hub. Hubs are multiport devices usually capable of having 4, 8 or 12 ports. Hubs can be cascaded with a hub-to-hub connection.

Repeating hubs must conform to the requirements for IEEE-802.3 repeater units. These requirements include preamble regeneration, symmetry and amplitude compensation. Repeaters must re-time signals so that jitter, introduced by transceivers and cabling, does not accumulate over multiple segments. These devices detect runt packets and react to collisions by generating a JAM signal. They automatically partition jabbering ports to maintain network operability.

A point to remember: there is a limit to the number of hubs that can be cascaded. Ethernet's contention-based station arbitration method requires that all stations note if a collision has occurred on the network. The limit of this detection is called the collision domain, and it restricts the network's overall size. Exceeding the collision domain by introducing too many repeating hubs creates an unstable network with lost messages and generally poor performance. However, on a properly designed network, repeating hubs are simple to understand and use, not to mention very effective.

Repeating hubs have been criticised because they do not improve the determinism of Ethernet. With contention-based networks, such as Ethernet, it is impossible to predict the amount of time it takes for a station-to-station message when collisions occur since the backoff time is variable. A potential solution to this problem is to avoid collisions altogether.

Industrial automation systems frequently utilise master/slave protocols where a response from a slave only occurs after a command is initiated by the master. This type of protocol tends to limit collisions and thereby improves determinism. Repeating hubs will function quite well in this situation.

Media converters

Another class of physical devices are the media converters. Sometimes called transceivers, these devices convert one type of media to another. The most important conversion is from twisted-pair cable to fibre optics. Since some hubs do not have any fibre-optic ports, media converters are required in order to support fibre-optic cable in a network. Media converters should appear to the network as transparent devices. They are two-port devices that do not store frames or detect collisions. They only convert the signals sent over one medium to compatible signals over another.

Switching hubs

It is possible to replace repeating hubs with switching hubs and achieve higher network performance. Unlike repeating hubs, which are physical layer devices, the switching hub is actually a bridge that connects two data links together. By doing so, collision domains terminate at each switch port. Therefore, adding a switch doubles the possible geographic limit of the network. Switches can be cascaded for an even larger network.

Switches are much more complex than repeating hubs. Each twisted-pair port automatically negotiates with its attached device the data rate for that port, be it 10 or 100 Mbps. The flow control mechanism is also negotiated. For full-duplex segments, the PAUSE scheme is used. For half-duplex segments, the backpressure approach is used. The switch learns the port locations of Ethernet devices by reading complete Ethernet frames and observing source addresses. The switch then creates and maintains a table of source addresses and corresponding port assignments. From that time on, traffic is restricted to only those ports involved in a transmission. This allows for improved throughput since simultaneous transmissions can be initiated on those ports without activity. Table values are aged to automatically accommodate changes to field wiring.

If a broadcast, multicast or unicast transmission to an unknown destination is received on a port, all other ports are flooded with the transmission.

In Figure 1 we have the same identical network as the preceding example except that all the repeating hubs have been replaced by switching hubs. The result is that instead of one overall collision domain we have several collision domains allowing us to have a much greater overall network diameter. Within each collision domain you must follow the same rules as stated earlier. You could add repeating hubs connected to switch ports. You could also make it easy on yourself by only specifying switching hubs and not repeating hubs. If you do that, the maximum twisted-pair segment length remains at 100 m; however, switches can be cascaded with little concern. If you want the same flexibility using fibre optics, we need to address the half-/full-duplex issue first.

Figure 1. Because switches break the network into multiple collision domains, the physical size of the network is virtually unlimited
Figure 1. Because switches break the network into multiple collision domains, the physical size of the network is virtually unlimited

Repeating hub vs switching hub debate

From the above discussion it would seem like switching hubs are an all-round best choice over repeating hubs. However, repeating hubs have their advantages. Repeating hubs are simple to understand and you can connect a network analyser to any transmission. A 'flood' port on the switch is required in order to observe all traffic on the network. Switching hubs are bridges that store and forward complete Ethernet frames, creating a degree of data latency. Cascading switches aggravate the problem. Therefore, you can see that repeating hubs, as well as switching hubs, have their place with industrial Ethernet.

Part IV will continue in a subsequent issue (10 September, 2002) and will look at half-duplex and full-duplex issues.

Supplied By: Electronic Products Design
Tel: +27 12 661 4748
Fax: +27 12 661 6145
  Share on Facebook Share via Twitter Share via LinkedIn    

Further reading:

  • Rugged USB Flash drives and SD cards
    28 August 2019, IPD Electronics, Computer/Embedded Technology
    Datakey Electronics’ new RUGGEDrive line of portable memory solutions offers the data storage and transfer capabilities of consumer-grade USB Flash drives and SD cards in a more reliable and secure package. The ...
  • Embedded recorder for extreme environments
    26 June 2019, Rugged Interconnect Technologies, Computer/Embedded Technology
    Pentek announced the most recent addition to the Talon RTX 25xx series, a new high-performance, small form-factor (SFF) recorder product line for extreme operating environments. Optimised for SWaP (size, ...
  • CompactPCI Serial/Classic backplane bridge
    26 June 2019, Rugged Interconnect Technologies, Computer/Embedded Technology
    Available as companion boards, the PCX/SXP-JAM assembly from EKF is a bridging and expansion solution for CompactPCI Serial systems that need to integrate CompactPCI Classic cards. While the SXP-JAM ...
  • Fingerprint sensor module
    31 July 2019, Altron Arrow, Computer/Embedded Technology
    The One Touch Access 100-USB from NEXT Biometrics is a high-quality, bezel-less USB fingerprint area sensor module designed for integration into custom application products such as notebooks, tablets, ...
  • Exploring the embedded systems of the future
    31 July 2019, Computer/Embedded Technology
    The embedded systems market is at a key point in its evolution. Smart electronic products are becoming fundamental to the way people live, and embedded systems now permeate everyday life. Microprocessors ...
  • Embedded system for aerospace/defence
    31 July 2019, Rugged Interconnect Technologies, Computer/Embedded Technology
    Connect Tech has added a rugged embedded system to its Nvidia Jetson AGX Xavier line of products. The Jetson AGX Xavier is a powerful ‘AI’ computer that provides high-end GPU workstation performance ...
  • CompactPCI Serial board
    31 July 2019, Rugged Interconnect Technologies, Computer/Embedded Technology
    The Pentek SY8-Cyclone is a CompactPCI Serial peripheral board, equipped with a powerful FPGA and up to ten RJ45 connectors for 100BASE-TX Ethernet. With its PCI Express x4 interface, the Cyclone-V ...
  • eSPI-to-LPC bridge
    26 June 2019, Avnet South Africa, Computer/Embedded Technology
    Microchip Technology’s new ECE1200 bridge allows developers to implement the eSPI standard in boards with legacy LPC connectors and peripherals. Product longevity is critical in industrial computing ...
  • Fingerprint sensor module
    26 June 2019, Altron Arrow, Computer/Embedded Technology
    The One Touch Access 100-USB from NEXT Biometrics is a high-quality, bezel-less USB fingerprint area sensor module designed for integration into custom application products such as notebooks, tablets, ...
  • Raspberry Pi 4 gets a Model B boost
    26 June 2019, Electrocomp Express, Computer/Embedded Technology
    The Raspberry Pi Foundation has released a new ‘Model B’ of the Raspberry Pi single-board computer (SBC). This is the first time a choice of memory capacities is being offered, and although local pricing ...
  • Embedded computing solutions for IIoT
    26 June 2019, Rugged Interconnect Technologies, Computer/Embedded Technology
    TQ-Embedded introduced its latest processor technologies with QorIQ Layerscape, i.MX8 and AM57xx to SMARC as the link between ARM and x86 and solutions for the Industrial Internet of Things (IIoT). The ...
  • Library of parts added to Proteus software
    26 June 2019, Dizzy Enterprises, Computer/Embedded Technology
    The version 8.9 update to the Proteus EDA software suite sees the integration of a growing online library – currently listing over 1,5 million parts – into its part selection dialog. This follows the ...

Technews Publishing (Pty) Ltd
1st Floor, Stabilitas House
265 Kent Ave, Randburg, 2194
South Africa
Publications by Technews
Dataweek Electronics & Communications Technology
Electronics Buyers’ Guide (EBG)

Hi-Tech Security Solutions
Hi-Tech Security Business Directory

Motion Control in Southern Africa
Motion Control Buyers’ Guide (MCBG)

South African Instrumentation & Control
South African Instrumentation & Control Buyers’ Guide (IBG)
Terms & conditions of use, including privacy policy
PAIA Manual


    Classic | Mobile

Copyright © Technews Publishing (Pty) Ltd. All rights reserved.