USPatent applicationPatented

Method for optimizing bandwidth utilization in bus systems

Granted 23 Feb 2010 · 3 office actions

Current assignee: SIEMENS AKTIENGESELL SCHAFT · originally Siemens AG

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Andreas Albrecht, Dimitri Lomakin, Günter Steindl · Examiner: Thomas J Cleary

Life of the application

14 dated events
⤢ drag to zoom20062008201020122014201620182020202220242026ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

In accordance to one aspect, a method for optimizing the effective data transmission rate in a bus system, in particular in automation technology is provided. A data telegram used in higher-order data networks based on the Internet protocol, with at least one data telegram, at least one data segment and/or at least one data section being generated and/or modified and/or deleted by at least one slave. The topology of the bus system can hereby be selected according to the application and is taken into account in the configuration of the data contained in the data telegrams, without infringing the protocol characteristics of the higher-order data network. The number of data telegrams required is hereby significantly reduced, in particular on communication links with maximum loading.

Description

8 parts
›CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority of European application No. 05016465.6 EP filed Jul. 28, 2005, which is incorporated by reference herein in its entirety.

›FIELD OF INVENTION

The invention relates to a method for optimizing the effective data transmission rate in a bus system, in particular in automation technology, the bus system having a master and at least one slave, data transmission being provided by means of data telegrams of a higher-order data network, in particular a data network based on the Internet Protocol, the data telegram containing a data segment provided for useful data, the data segment for useful data containing at least one data section, provided for the master and/or slaves, the data telegrams being generated and/or modified and/or deleted by the master. The invention also relates to an automation system, which is provided using such a method for optimizing the effective data transmission rate in a bus system with automation devices that communicate with each other.

›BACKGROUND OF INVENTION

Such a method is used in bus systems, also referred to as data bus systems, such as fieldbus systems, which are to be Internet Protocol-enabled to guarantee direct data traffic into the Internet, corporate network or similar higher-order data networks, etc, with the bus systems operating on an input/output level, like for example PROFINET or similar systems, which can be used for automation systems. This allows automation components, sensors, actuators or similar technical components for example to be controlled or data to be exchanged directly from the higher-order data network (Internet, etc.).

The term automation system here and in the document as a whole refers to a system which uses technical means to carry out specific operations partially or wholly according to predetermined programs without human intervention. Operations in this context refer for example to manufacturing processes, assembly processes, transport processes, quality control processes, etc., which operate in particular in the industrial environment.

Conversely Internet technologies are also available in the bus system. This technology thus joins the Internet and the bus system together to form a network in a virtual manner for the user, the transparency of the bus system being increased in a sustainable manner in the process.

The most important protocol for network coupling at present is the Internet Protocol, the principal task of which is to provide cross-network addressing. However it does not improve services in the underlying networks or layers to any significant degree. The Internet protocol operates in a connectionless manner by exchanging data telegrams, also referred to as datagrams or frames. Datagrams thereby comprise data packets, provided with an IP header, which contains information relating to length, sender and recipient addresses and protocol designator.

Sender and recipient addresses are specified in 32-bit fields and comprise details of the network and the line located therein. In such cases a datagram comprises an IP header and an IP data field. The IP header contains for example the address of the end recipient. If said end recipient is in a different network from the sender, direct transmission is not possible. Instead a router (also referred to as a gateway in the Internet) in the sender's own network is addressed and this forwards the information based on what are known as routing tables. The encapsulation principle can be used here, with the datagram of the other network being encapsulated in the IP data field, to be “extracted” at the gateway for forwarding in the other network.

A network coupler is known from WO 2004/071025 A1, which is connected on the one hand to a network, on which Ethernet telegrams can be transmitted, and on the other hand to a number of subscribers, who are connected to the network coupler via an internal interface. To exchange data, an Ethernet telegram received via the external interface of the network coupler is forwarded to the internal Ethernet interface of the network coupler and output on the ring transmission path, with each subscriber connected to the interface exchanging the useful data intended for the respective subscriber using the Ethernet telegram circulating on the ring transmission path.

›SUMMARY OF INVENTION · 1 of 2

An object underlying the invention is to enhance effective bandwidth utilization during data transmission in bus systems based on an Internet Protocol, in particular in the field of automation technology.

This object is achieved by the independent claims.

It allows the data in the data segments and/or the data sections contained therein to be configured in the data telegram, as a result of which the topology of the bus system can be taken into account to achieve an effective data transmission rate. Also a higher effective data transmission rate can be achieved by time synchronization with the aid of the data telegrams themselves instead of with synchronization telegrams provided specifically for the purposes of synchronization.

The invention is based on the knowledge that Ethernet technology is becoming increasingly important in automation technology. The coupling of a few processing units, also referred to as masters, and a large number of peripheral units, also referred to as slaves, is characteristic of communication structures in automation technology. The data volume per slave is very small but the transmission frequency is very high. Under such conditions the negative aspects of the protocol characteristics of Ethernet become apparent. The bus system is thus Ethernet-enabled but at the expense of the effective data rate. The effective data rate decreases, due to the minimum length of an Ethernet frame and due to the prescribed address and status information, which is part of what is known as the overhead not the useful data. The communication links, which either go to the master or from the master, are particularly affected and prove to be a bottleneck in communication throughput. There are solutions to the bottleneck problem but these violate Ethernet requirements during transmission. It is therefore not possible to use or incorporate Ethernet standard components there without additional outlay.

With the method for optimizing the effective data transmission rate in a bus system, it is possible for a subscriber to generate and/or modify and/or delete at least one data segment and/or at least one data section. Bus system subscribers here include the master, which predetermines the clock pulse of the bus system and which also communicates with a higher-order network, for example the Internet. Within the bus system the master predetermines the clock pulse but apart from this feature it has the same rights as a slave in respect of generating, modifying and deleting data telegrams. It is thus possible to optimize the optimization of the effective data rate in respect of the respective structure or topology of the bus system. Tailoring to the respective topology results in a specific subdivision of the data segment of the useful data of the data telegram, which can be determined in a different manner for each transmission from one subscriber to the next. This makes the method extremely flexible and allows it to be used on a large number of topologies, e.g. linear, ring, star-shaped and possible combinations thereof.

An automation system with automation devices communicating via a bus system, with a first automation device being configured as the master and at least a second automation device being configured as the slave, benefits from at least one slave to generate and/or modify and/or delete at least one data telegram, at least one data segment and/or at least one data section, in such a manner that the effective data rate of the bus system is increased and the automation devices can be inspected or controlled more quickly. This avoids unprofitable waiting periods, during which the automation devices wait for control commands, and results in a significant production increase.

The data telegram is given a so to speak circular letter character in the bus system, it being possible for the readers or neighbors or slaves to modify the circular letter. This method can also be used in the converse direction (from slave to master), with each subscriber adding their data and forwarding the data telegram with the parts that are not of relevance to them. The structure of the part of the data telegram provided for the useful data is tailored to the respective topology.

The effective data transmission between subscribers can be further optimized by the clock pulse synchronization of the method. According to the method the respective send times of the individual subscribers are coordinated such that the data of the adjacent slave arrives in each instance at the optimum time for its own send process. It is thereby also possible to forward error information, if the data telegrams do not arrive on time. The fieldbus system can optimize the send times of the respective neighbors based on the error information. The data telegrams are used for optimization purposes. The aim is to refine and then maintain the time synchronization of the relevant components during operation, after a run-up with relatively rough synchronization. For the individual components this means that when a frame, which originates from a component with higher-order time, is received, this time is compared with the target time and its own clock is corrected correspondingly. The higher-order time of the other component or neighbor is hereby read from the received Ethernet frame. The higher-order time is thereby known through configuration. It is possible for every possible topology of the fieldbus system to define a neighbor for every subscriber, said neighbor predetermining the time for the said subscriber. This establishes a time hierarchy among the subscribers, which makes it possible to go over to time-synchronous mode at any time from any initial situation of the control bus system. According to the invention the second method is directly dependent on the first method, as it requires the above-mentioned, higher-order time, also referred to as a time stamp, of the neighbor for actual synchronization, with the time stamp having to be provided within the useful data of the Ethernet frame.

›SUMMARY OF INVENTION · 2 of 2

The described method results in a significant reduction in the number of data telegrams or frames, particularly on the critical link directly adjacent to the processing unit (master) (ideally to one data telegram) and the protocol-related disadvantages are thus dramatically reduced. A further advantage of time synchronization is the resulting very short equidistant transmission cycle, in addition to the high level of bandwidth efficiency.

One advantageous embodiment of the method for optimizing the effective data transmission rate in a bus system is a method, wherein a subscriber transmits the data telegram to the adjacent subscriber. When networking adjacent subscribers, the shortest possible distances are covered, the resulting topology being secondary. The topology is then taken into account in the data telegram. Long transmission paths that only results with a specified topology (ring, linear, etc.) do not have to be taken into account. This minimizes the transit times of the data telegrams between subscribers.

As a subscriber does not address the end recipient directly, always simply addressing its adjacent subscriber on the path to the end recipient, shared use of the data telegram reduces the number of data telegrams drastically. Ideally to one data telegram per link. This reduction in the number of data telegrams has a positive impact, particularly on the links to the master, also referred to as the processing unit.

A further advantageous embodiment is a method, wherein the slave stores measurement data and/or status data and/or control commands and/or process data in at least one data section of the data telegram. In other words it is possible to communicate with other subscribers or even to use their assigned data section in the data telegram in a shared manner if required. Data configuration is thus not simply dependent on topology but can also be based on other aspects of automation technology.

A further advantageous embodiment is a method, wherein the topology of the bus system is configured at least partially as a linear, ring, and/or tree-type structure. The topology can hereby be selected according to criteria other than the positions of subscribers in relation to each other. For example, depending on the application, a tree-type, presorted topology can result in fast contact with a specific subscriber.

In a further advantageous embodiment the data telegrams are used for clock pulse synchronization of the bus system. Equidistant transmission cycles can be achieved by means of time synchronization. The use of the configurable data telegram for time synchronization means that additional data telegrams are not required for synchronization during operation. Every subscriber is able to compare their own clock pulse with that of the adjacent subscriber and time synchronization with the master is possible taking into account the fixed data telegram transit times between subscribers. Subscribers first execute clock pulse detection and then their own time synchronization.

Further advantageous embodiments and preferred developments of the invention will emerge from the dependent claims.

›BRIEF DESCRIPTION OF THE DRAWINGS

The invention is described and explained in more detail below with reference to the exemplary embodiments illustrated in the figures, in which:

FIG. 1 shows a time structure of a conventional Ethernet data telegram,

FIG. 2 shows a fieldbus system of linear topology of a first exemplary embodiment,

FIG. 3 shows data telegrams for the first exemplary embodiment from FIG. 2 ,

FIG. 4 shows a fieldbus system of circular topology of a second exemplary embodiment,

FIG. 5 shows data telegrams for the second exemplary embodiment from FIG. 4 ,

FIG. 6 shows a fieldbus system of star-shaped topology of a third exemplary embodiment,

FIG. 7 shows data telegrams for the third exemplary embodiment from FIG. 6 ,

FIG. 8 shows two subscribers of a fieldbus systems of a fourth exemplary embodiment, and

FIG. 9 shows a possible time sequence of a synchronization process for the data telegrams of the two subscribers in the fourth exemplary embodiment shown in FIG. 8 .

›DETAILED DESCRIPTION OF INVENTION · 1 of 2

FIG. 1 shows a time structure of a conventional Ethernet data telegram, as used by most Internet protocol-based networks. The first data segment is what is known as the header (HDR) 1 , containing the Ethernet destination address as well as the Ethernet source address. This is followed by the data segment 5 of the useful data, which can contain 46 to 1500 bytes. Then follows a data segment 10 , taking up a total of four bytes and containing what is known as the checksum (CRC). This checksum is created by the sending subscriber, by carrying out a CRC calculation over the entire bit sequence of the preceding data segments. This allows the recipient to verify the content of the CRC checksum using the same calculation. If the values do not correspond, the recipient assumes incorrect transmission and the frame is rejected. The fourth data segment 15 contains zeros and ones used for what is known as collision detection. The data segments 1 , 10 and 15 are generally referred to as the overhead in contrast to the data segment 5 of the useful data.

FIG. 2 shows a fieldbus system of linear topology of a first exemplary embodiment with a master M 2 . 0 and four slaves (S 2 . 1 , S 2 . 2 , S 2 . 3 and S 2 . 4 ). FIG. 2 should be considered in conjunction with FIG. 3 , with FIG. 3 showing the data telegrams used in the topology in FIG. 2 . It is assumed that all five subscribers, i.e. the processing unit (master) and the four peripheral units (slaves) start to send data telegrams at the same time. In practice start points with a time offset can be agreed. The data segment 5 provided for useful data is subdivided in this exemplary embodiment. The neighbors of the higher-order time are first determined in the linear topology. It is advantageous to take the left neighbor as reference in each instance. In other words, more specifically, the relevant slave or subscriber S 2 . 1 aligns itself with the clock pulse of the master M 2 . 0 and the subscriber S 2 . 2 aligns itself with the clock pulse of its neighbor S 2 . 1 etc. The time hierarchy is therefore determined as a function of the topology of the fieldbus system.

FIG. 3 shows data telegrams for the first exemplary embodiment from FIG. 2 . The data sections arranged within the data segment 5 of the useful data can have the letter 0 for output or 1 for input. Output and input always relate here, and in the following figures, to the master. In the data segments 1 , 10 and 15 the overhead is combined. The data segment of the useful data 5 is divided into four data sections (OS 2 . 4 , OS 2 . 3 , OS 2 . 2 and OS 2 . 1 ) in this example. These sections contain information, commands or data, which are sent by the master M 2 . 0 to the respective slave. OS 2 . 4 here refers to the output to the subscriber S 2 . 4 and OS 2 . 3 refers to the output to the subscriber S 2 . 3 , etc. The data telegram with the reference 2 . 1 is sent by the master to the subscriber S 2 . 1 .

The subscriber S 2 . 1 extracts from the data telegram the data that is in the section OS 2 . 1 intended for it. It also adds a new section with the reference IS 2 . 1 containing input data for the master M 2 . 0 . The data sections are hereby displaced cyclically within the data segment 5 of the useful data. The reference IS 2 . 1 refers to an input (input data) from the subscriber S 2 . 1 from the point of view of the master M 2 . 0 . The subscriber S 2 . 2 proceeds in the same manner and extracts the data of the section OS 2 . 2 and adds a new section IS 2 . 2 with new input data. The data telegram 2 . 5 only contains input data in the section IS 2 . 4 . The subscriber S 2 . 3 uses the data of this section IS 2 . 4 further and adds a further section IS 2 . 3 to the data telegram. The subscribers S 2 . 2 and S 2 . 1 also proceed in the same manner. The master M 2 . 0 thus receives a data telegram with four sections containing input data from the four subscribers respectively. Only one data telegram is sent per cycle at a point to point connection, so what is known as the overhead only occurs once. This significantly improves bandwidth utilization. Interestingly the cross-traffic occurring with line topology does not influence cycle time. Also the otherwise normal transfer delays in the nodes are unimportant. Therefore what are known as full duplex connections can be utilized optimally.

FIG. 4 shows a fieldbus system of circular topology of a second exemplary embodiment. The fieldbus system comprises five subscribers, one being a master M 4 . 0 and four being slaves S 4 . 1 , S 4 . 2 , S 4 . 3 and S 4 . 4 . The data telegrams exchanged between the individual subscribers are assigned references 4 . 1 to 4 . 10 and are described in detail in FIG. 5 .

FIG. 5 shows data telegrams for the second exemplary embodiment from FIG. 4 . The data telegrams 4 . 1 to 4 . 5 originate in a similar manner to the first data telegrams in the first exemplary embodiment in FIG. 3 . The essential difference is that the master M 4 . 0 now has two neighbors, so it can direct a data telegram in both directions. Therefore the data telegram 4 . 6 , sent by the master M 4 . 0 to the subscriber S 4 . 4 , has the same structure as the data telegram 4 . 1 . This means that the telegram 4 . 6 is handled in the same manner, only anti-cyclically, as the data telegram 4 . 1 . Each subsequent subscriber extracts the data from the section allocated to them and adds data, which is to be sent by the respective subscriber to the master M 4 . 0 . This also means that the master receives two data telegrams with the same input content. This can create the necessary redundancy for security purposes, for example in the event that a subscriber should fail and break the ring. Also data in the circular topology is available more quickly than in the linear topology of exemplary embodiment 1.

FIG. 6 shows a fieldbus system of star-shaped topology of a third exemplary embodiment. In this example there is a master M 6 . 0 and three slaves S 6 . 1 , S 6 . 2 and S 6 . 3 . The time hierarchy is clearly predetermined in this exemplary embodiment. The subscriber S 6 . 1 aligns itself with the data telegram inputs of the master M 6 . 0 and the subscribers S 6 . 2 and S 6 . 3 align themselves with the subscriber S 6 . 1 .

›DETAILED DESCRIPTION OF INVENTION · 2 of 2

FIG. 7 shows data telegrams for the third exemplary embodiment from FIG. 6 . Two diagrams show two possible structures of the data diagrams to be used for the star-shaped topology in FIG. 6 . As in the preceding figures, the data segments 1 , 10 and 15 refer to what is known as the overhead. The data segment 5 of the useful data is divided as a maximum into three sections in the third exemplary embodiment. According to the top diagram in FIG. 7 the subscriber S 6 . 1 receives the data telegram 6 . 1 from the master M 6 . 0 . The subscriber S 6 . 1 extracts the data or section OS 6 . 1 , intended for it. When generating the data telegrams 6 . 2 and 6 . 3 it also adds a section IS 6 . 1 of the input data for the master M 6 . 0 . In other words, 6 . 2 and 6 . 3 are identical in this exemplary embodiment. The subscribers S 6 . 2 and S 6 . 3 respectively transmit the data telegrams 6 . 4 and 6 . 5 , which only contain one section IS 6 . 3 or IS 6 . 2 in the data segment 5 of the useful data. The subscriber S 6 . 1 integrates both sections from the telegrams 6 . 4 and 6 . 5 into the data telegram 6 . 6 , adding a new section IS 6 . 1 . Bandwidth utilization is improved significantly in this example too, in that the overhead only occurs once. Also the cross-traffic occurring with this cyclical topology does not influence the cycle time. Also the transfer delays of the nodes are unimportant, so full duplex connections can be supported optimally.

FIG. 8 shows two subscribers of a fieldbus system of a fourth exemplary embodiment. The subscriber S 8 . 1 is the time reference for the subscriber S 8 . 2 here. This fourth exemplary embodiment does not relate to a particular fieldbus topology but focuses on the method for time synchronization of two adjacent subscribers. It is also assumed that the subscriber S 8 . 1 is synchronized optimally with the fieldbus system or master (not shown). The time sequence of data telegrams sent is shown in FIG. 9 .

FIG. 9 shows a possible time sequence of a synchronization process for the data telegrams or clock pulse of the two subscribers of the fourth exemplary embodiment shown in FIG. 8 . As the subscriber S 8 . 1 is higher in the clock pulse hierarchy than the subscriber S 8 . 2 , the subscriber S 8 . 1 is considered to be already fully synchronized with the system clock pulse or with the master clock pulse. The clock pulse of the subscriber S 8 . 1 should therefore be seen by way of example as a reference for the subscriber S 8 . 2 . Both subscribers measure the time difference between transmission of their own data telegram 20 and receipt of the data telegram 20 from their neighbor. For transmission of the data telegrams 20 , both subscribers follow their own counter or their own clock beat (referred to in FIG. 8 as “Clock pulse 1 ” and “Clock pulse 2 ”) and store the counter reading at the time of receipt of the data telegram from their neighbor. These times are marked with arrows in FIG. 8 . The actual transmission time of the telegrams between the two subscribers is also taken into account for the subsequent clock pulse correction. The information thus obtained about the time difference of the clock pulses is notified to the respective neighbor in the data segment of the useful data 5 of the data telegram 20 . The hierarchically lower-order subscriber S 8 . 2 extracts its correction information from this. Once the subscriber S 8 . 2 has the correction information, it forces premature clocking compared with its own clock pulse, thereby synchronizing with the clock pulse of the adjacent subscriber S 8 . 1 . This method assumes that the subscribers send their real-time data telegrams at the same time or with a fixed time offset in respect of each other (isochronous operation, as for example with ProfiNET IRT). The fixed time offset, due to transmission between the subscribers, can hereby be measured by the subscribers themselves, or by transmission of the data telegrams 20 . All the subscribers measure the time difference between the transmission of their own telegram to a port and the arrival of the telegram at the same port (in the case of full duplex links). This measured difference is transmitted in the current data telegram and disseminated in this manner in the same clock pulse through the entire clock domain. Every subscriber can thus determine their own actual time difference in relation to the master and correct it or readjust it accordingly. No synchronization telegrams are required with this method, so there is no additional load on the bus. Also a very high level of temporal accuracy can be achieved, as the information required for the adjustment is available in very up to date form in the current cycle.

To summarize, the invention relates to a method for optimizing the effective data transmission rate in a bus system, in particular in automation technology, it being possible to use the data telegram used in higher-order data networks, based on the Internet protocol, with at least one data telegram, at least one data segment and/or at least one data section being generated and/or modified and/or deleted by at least one slave. The topology of the bus system can hereby be selected according to the application and is taken into account when configuring the data contained in the data telegrams, without infringing the protocol characteristics of the higher-order data network. The number of data telegrams required is hereby significantly reduced, in particular on communication links with maximum loading.

Claims as granted

17 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section G — Physics
  • G06F13/00
USPC · US Patent Classification
710/110710/305713/600

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2006Jan 2007Jul 2007Jan 2008Jul 2008Jan 2009Jul 2009Jan 2010USPTOApplicantNon-final rejectionResponse after non-finalFinal rejectionNon-final rejectionNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
3.6 y
1,307 days filing → grant
Office actions
3
non-final + final
Responses
4
1 RCE
Examiner
Thomas J Cleary
art unit —
Citations: 8 back · 8 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20062008201020122014201620182020202220242026Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock