D-sub connectors and their practical application in the industry of the 21st century
Communication between individual devices is the basis of automation — both home and industrial. Wireless connections are now being strongly developed. These, however, are susceptible to interference and are characterised by a certain delay in signal transmission, which is why they are used primarily in smart home systems and much less frequently in industry.
Expectations regarding communication between the industrial equipment used have changed over the years as new technologies emerged. It is now common to use Ethernet cables for communication between different network elements. They allow very fast data transfer (up to 40 Gbps) and are therefore able to pass complex instructions between computers or drivers and actuators or operator panels. However, before twisted-pair cables became a permanent feature of industrial halls, connections based on D-sub connectors were predominant.
D-sub (D\subminiature) is a whole family of connectors used for communication between electronic devices. The letter ‘D’ in the name comes from the characteristic shape of the plug or socket itself, reminiscent of that letter. There are many types of D-sub connectors. The smallest in the standard version have nine pins, the largest 104 pins.
The history of D-sub connectors dates back to the ’50s, and yet they are quite widely used to this day. This is partly due to the fact that many places are still using equipment produced in the last century, when it was most common. The most common application of D-sub connectors is communication using RS-232 and RS-485 interfaces. They allow you to build extensive networks of connections between devices used in industrial halls.
The former, RS-232, was used in the past mainly to connect terminal devices and various peripheral devices, such as printers or keyboards, to the computer. It was used to connect computers to modems. In everyday use, it has been replaced by the now widely used USB connectors and Ethernet.
D-sub connectors and RS-232 and RS-485 interfaces
However, RS-232 is still used in industry. In areas where it has not been replaced by a twisted pair, it is still used for communication between the computer and PLC or HMI. However, it has a drawback. Since the transmitted voltage levels from -3 to -15 V are logical ‘1’, +3 to +15 V are logical ‘0’, and the voltages -3 to 3 V are unused, the use of the RS-232 interface is possible over a maximum length of 15 m, at a speed of 20 Kbps. In the case of longer cables, the voltage drops may be too great to effectively transmit the signal to the connected device. Initially, RS-232 was used to run the Modbus protocol, but with time this function was taken over by RS-485.
RS -485 is in a way a development of the RS-232 interface. It is a communication system in which multiple devices on the same bus can communicate. It is faster than the aforementioned interface and is more resistant to interference. RS-485 can operate at 35 Mbps over a length of up to 10 m, but depending on your needs, a single cable can be up to 1200 metres long. Then the data rate drops to 100 Kbps, which is still several times higher than in the case of RS-232. Additionally, up to 32 devices can be connected using the RS-485. These numbers (both regarding the length of sections and the number of connected devices) can be increased.
The repeater allows you to connect additional devices on a single channel or to increase the distance between individual devices by another 1200 m.
Unlike RS-232, the RS-485 uses a differential voltage, which allows it to operate over greater distances than the simpler RS-232 interface. It recognises any differential voltage below +200 mV as a logic 1, and any differential voltage below -200 mV as a logic 0.
Application of D-sub connectors in industry
Since in many cases networks based on RS-232 or RS-485 still serve their purpose, companies still use D-sub connectors. Many older machines and equipment do not support Ethernet control and are still fully operational and fit for purpose. So, there is no need to rebuild what works perfectly.
In addition to Modbus RTU networks, R-232 and RS-485 connectors, ie, D-sub connectors, are used in Profibus DP networks. In both cases, operation using the RS-485 interface is similar.
D-sub connectors can be used wherever the equipment does not require complex commands. An excellent example is valve island control. In this case, a high state of the pin is responsible for activating one of the coils.
A distinctive feature of the D-sub connector is the screws on both sides of the plug. They help to properly fix the plug in the socket, but also protect against accidental unplugging. This is one of the reasons why D-sub connectors are still common in the rail industry.
The fact that the connection is secured with screws reduces the risk of the cable coming loose due to vibration. When we talk about a moving train, it cannot be denied that the vibrations are not small and may indeed, in extreme cases, cause the plugs to come loose, which is by no means a good thing — particularly when it comes to an industry where mistakes can lead to rail disaster.
The most popular, but at the same time becoming obsolete, application of D-sub connectors is the classic VGA connector used to connect monitors. It was initially replaced with DVI, but over time it was HDMI that became the most common way of connecting a computer monitor to the computer.
The future of D-sub connectors in industry
Progress is a must, and industrial innovation is of paramount importance. It can hardly be said that twisted-pair communication is inferior to decades-old protocols using D-sub connectors. It should be noted, however, that in the industrial sector, revolutions come much slower than it might seem. Innovation often involves very high costs and a certain risk that not every company can afford. Technological changes may also force modifications in the organisation of work and building infrastructure. Despite the passage of years, many devices still use outdated technologies. Moreover, new devices that use D-sub connectors are still being produced. This allows you to easily replace elements that were included in the network years ago with new ones, eg, a twisted pair, without the need to change the communication method.
Originally published here.
When it comes to testing a cabling installation, there are essentially three choices:...
Adjusting a jumper cable length by as little as 1 cm can significantly influence passive...
USB Type-C promises to make all other cables and connectors redundant as it delivers power and...