Fieldbus & Industrial Networking


Interbus- increased communication efficiency

April 2000 Fieldbus & Industrial Networking

Since the discussion began about the extent to which Ethernet can be applied to automation technology and perform the tasks of the classical fieldbus in that environment, manufacturers and users alike have been paying a great deal of attention to the question of speed. Talk of 100 Mbs or even of gigabits suggests almost unlimited possibilities for transferring data at increasing speeds.

The considerable difficulties involved in both operation and installation are however, often not mentioned. The approach of designing more efficient protocols, and thus achieving high net data rates at the lowest possible transfer rates, seems to have fallen into neglect. This article provides an overview of the efficiency of common fieldbus protocols, and shows that the performance of a system cannot usefully be measured by its transmission rate.

Topology of common fieldbus systems

The following observations and calculations are related to application within an automation environment. Market studies such as ARC indicate that as far as Germany and Europe are concerned, CAN, Interbus and Profibus are the systems most relevant to the market. The number of devices networked in each application is, according to information provided by the corresponding fieldbus organisations, generally in the region of 10 or 20 - with a tendency to increase. This has also been taken into account in our analyses. No reliable data is yet available about the sizes of networks and the data quantity involved in Ethernet applications in automation. For the purposes of comparison, therefore, the same system parameters have been assumed for Ethernet.

Consideration of the efficiency of various

protocol types

In order to calculate efficiency, the ratio of user data to the total data transmitted is determined, where user data refers to the information that a device has to transmit. Efficiency is calculated for two different network topologies. Topology 1 contains 50 devices, each of which has 8 bits of information. This represents an example of a highly distributed structure. The second topology assumes 20 devices, each of which has 32 bits of information, as an example of a typical network today.

CAN - controller area network

Figure 1 shows the structure of the CAN protocol. The data width can be between 0 and 64 bits. This information data is compared with an overhead of 47 bits, assuming that the interframe space is 3 bits. This yields the following efficiency figures:

Topology 1 (50 devices, each with 8 bits

of information)

Total user data: 50 x 8 bits = 400 bits

Total data transmitted: 50 x 55 (47 + 8) bits

= 2750 bits

Efficiency: 400/2750 = 14%

Topology 2 (20 devices, each with 32 bits

of information)

Total user data: 20 x 32 bits = 640 bits

Total data transmitted: 20 x 79 (47 + 32) bits

= 1580

Efficiency: 640/1580 = 40%

Ethernet/TCP/IP

The messages exchanged over the transmission medium are based on Ethernet packets. An Ethernet packet itself (Figure 2) transports a minimum of 46 and a maximum of 1500 data bytes. As Ethernet involves unchecked data exchange (there are no acknowledgements, nor is data repeated in the event of an error), reliable transmission can only be ensured if communication software is used. TCP/IP is suitable for use here, and its structure is also illustrated in Figure 2. The following calculations can be used to evaluate efficiency.

Topology 1 (50 devices, each with 8 bits of information)

Total user data: 50 x 8 bits = 400 bits

Total data transmitted: 50 x 576 bits = 28 800 bits

Efficiency: 400/28 800 = 1%

Topology 2 (20 devices, each with 32 bits of information)

Total user data: 20 x 32 bits = 640 bits

Total data transmitted: 20 x 576 bits = 11 520 bits

Efficiency: 640/11 520 = 5%

These calculations have assumed minimum header size, so that the messages are 72 bytes in length.

Interbus

Figure 3 illustrates the structure of the Interbus protocol, whose most important components consist of the loop-back word (LB), the process data, the frame-check sequence (FCS) and the end marker. The Interbus ring structure means that the message is only sent once, regardless of the number of devices. Overhead in the form of addresses is only present once, independently of how many devices there may be, each byte having an additional 5 bits. This yields the following efficiency figures:

Topology 1 (50 devices, each with 8 bits of information)

Total user data: 50 x 8 bits = 400 bits

Total data transmitted: [50 x 13 (8 + 5 bits)] + 78 bits = 728 bits

Efficiency: 400/728 = 55%

Topology 2 (20 devices, each with 32 bits of information)

Total user data: 20 x 32 bits = 640 bits

Total data transmitted: [20 x 4 (8 + 5 bits)] + 78 bits = 1118 bits

Efficiency: 640/1118 = 57%

Profibus DP

Figure 4 shows the structure of the Profibus DP protocol. This is based on the variable information length data format. The efficiency can be calculated as follows:

Topology 1 (50 devices, each with 8 bits

of information)

Total user data: 50 x 8 bits = 400 bits

Total data transmitted: 50 x 80 (72 + 8) bits

= 4000 bits

Efficiency: 400/4000 = 10%

Topology 2 (20 devices, each with 32 bits

of information)Total user data: 20 x 32 bits = 640 bits Total data transmitted: 20 x 104 (72+32) bits

= 2080 bits

Efficiency: 640/2080 = 31%

Effects on the cycle time

The cycle time of a system is mainly determined by the data transmission time and the running time of the software. In order to show the effect of the efficiency on the cycle time, the running time of the software must be ignored, even though, depending on the particular implementation, it can be quite significant (0,2–1,5 ms). Making that assumption, the following transmission times* are found for the various systems for topology 1:

CAN (1 Mbps): 2,62 ms

Ethernet/TCP/IP (10 Mbps): 2,75 ms

Interbus (0,5 Mbps): 1,39 ms

Interbus (2 Mbps): 0,35 ms

Profibus DP (1,5 Mbps): 2,54 ms

Profibus DP (12 Mbps): 0,32 ms

*Neither software running times nor delays caused by collisions were taken into account.

Summary

The calculations performed indicate considerable differences in the ratios of the total transmitted data to the user data. Systems with an efficiency between 1% and 30% should, in the topologies described, only be used when the time restrictions are very loose or when correspondingly high transmission rates are available. Depending on the access method and the topology, a limit has already been reached here. If the topologies of serial fieldbus systems at high transmission rates are compared, it is seen that, for data rates above 10 Mbps, a point-to-point topology is always preferable from an electrical point of view. Only Interbus and Ethernet offer this topology. Moreover, the user pays for a high transmission rate through restrictions on cable length and in the choice of transmission medium (eg infrared transmission, radio). Manufacturers of automation equipment must invest more in developing the circuitry, the layout and the connection methods of products if they are to achieve acceptable EMC performance. The effect of the efficiency on the cycle time is considerable. In particular, when medium data quantities per device are combined with a high device count, it can be seen that other systems, having transmission rates 20 times greater (Ethernet) or six times greater (Profibus), do not in fact offer any speed advantage over Interbus.





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Introduction to Part 2 loop signatures and process transfer functions
Fieldbus & Industrial Networking
The previous series of loop signature articles dealt with the basics of control loop optimisation, and concentrated on troubleshooting and ‘SWAG’ tuning of simple processes. In this new series, consideration will be given to dealing practically with more difficult issues like interactive processes, and with processes with much more complex dynamics.

Read more...
Siemens sets new standards in drive technology
Fieldbus & Industrial Networking
Siemens is setting new standards in industrial drive technology with the launch of its new high-performance drive system, Sinamics S220. This offers a seamless and innovative drive system with comprehensive simulation and analysis capabilities and advanced connectivity features that enable full integration into digital work processes.

Read more...
PC-based control in the plastics industry
Beckhoff Automation Fieldbus & Industrial Networking
Nissei Plastic, an injection moulding machine manufacturer based in Japan is implementing a worldwide tend towards open automation systems from experienced specialists using PC and EtherCAT-based control technology from Beckhoff.

Read more...
Loop Signature 31: Non-linearity in control loops (Part 2)
Michael Brown Control Engineering Fieldbus & Industrial Networking
This article is a continuation of Loop Signature 30 published in the last issue in this series, exploring reasons for non-linearities which may be encountered in feedback control loops

Read more...
PC-based control optimises robotic parts handling on plastics machinery
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
NEO is a cartesian robot developed by INAUTOM Robótica in Portugal for parts removal on plastics machinery. Its aim is to increase system productivity. NAUTOM Robótica has entered into a strategic partnership with Bresimar Automação to increase the working speed of the cartesian robots using advanced control and motion solutions from Beckhoff. The result is a comprehensive, future-proof automation solution for its entire family of cartesian robots.

Read more...
PC-based control for flat wire motors for electric vehicles
Beckhoff Automation Fieldbus & Industrial Networking
Special machine manufacturer, ruhlamat Huarui Automation Technologies unveiled the second generation of its mass production line for flexible stators with bar winding. This enables extremely short production cycle and line changeover times, supported by PC- and EtherCAT-based control technology from Beckhoff.

Read more...
Case History 200: The final case history – desuperheater control problem.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
For this final article I have chosen to relate a problem that existed in a desuperheater temperature control on a boiler in a petrochemical refinery.

Read more...
PC-based control technology in additive manufacturing
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
As an open control platform, PC-based control supports different engineering approaches, including low-code programming. The machine builder, Additive Industries uses this to create the code for the TwinCAT runtime of its 3D printers.

Read more...
Suppression and safety solutions for fire and gas in mission-critical industries
Fieldbus & Industrial Networking
By representing world-leading brands and focusing on fully integrated, certified systems, HMA South Africa is positioning itself as a trusted partner in fire detection, suppression and explosion-proof safety solutions across the continent.

Read more...
Integrating fire alarm systems into building management systems
Beckhoff Automation Fieldbus & Industrial Networking
Fire alarm systems work independently of the building automation system. Schrack Seconet has developed a flexible gateway using ultra-compact industrial PCs and TwinCAT from Beckhoff, which can be used to flexibly convert a customer-specific communication protocol to a wide range of transmission standards.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved