Arbitration method and bus for serial data transmission
AssigneeTelemecanique
InventorsBernard Aguilhon, Rene Doucet, Jean-Francois Karcher
Life of this patent
Estimating the term…
Abstract
Arbitration between collisions is performed by means of a special arbitration path ARB conveying access requests expressed in the form of arbitration frames ARB %. An arbitration frame includes a priority field defining different classes of traffic, and a numerical field identifying each station, together with bits that relax priority constraints. The application of arbitration frames is subordinate to recognizing that a delimiter channel of the data path DATA is in an active state. The invention is applicable to industrial networks or buses.
Claims11
An arbitration method for gaining access to a serial data transmission path having a plurality of stations connected thereto, said data transmission path defining a delimiter channel having an active state corresponding to the transmission of a data sequence and an inactive state corresponding to non-transmission of data, each station being capable of determining the state of said delimiter channel, the method being implemented on a separate arbitration path in the form of a serial collision-type arbitration line which interconnects the various stations and which defines a dominant state and a recessive state, each station being capable of applying to said arbitration path an arbitration frame comprised of elementary bits each having a value corresponding to either of said dominant and recessive states, a plurality of said bits defining a priority level for accessing to said data transmission path, the method including, for each station seeking to have or keep said data transmission path allocated thereto and to transmit data on said data transmission path, the following steps:
- (a) applying to said arbitration path an arbitration frame according to the following rules:
- if no arbitration frame is currently being applied by another station, said application step is started at any time,
- however, if the state of said delimiter channel passes from inactive to active state during the application of said arbitration frame, then said application of arbitration frame is stopped and started again later, and
- if said station already has said data transmission path allocated thereto, said arbitration path is listened to and an arbitration frame is applied to said arbitration path as soon as another station has started applying to said arbitration path another arbitration frame, the application of said arbitration frame on said arbitration path being synchronized with the beginning of application of said other arbitration frame by said other station,
- (b) reading of the value Of the bit present on said arbitration path after a predetermined time delay following the application of each bit of said arbitration frame,
- (c) ceasing to apply said arbitration frame as soon as the value of the bit read is different from the value of the corresponding bit it currently applies to said arbitration path, whereby, at the end of said arbitration frame, only one station which has not ceased to apply its arbitration frame is entitled to gain access to said data transmission path, and
- (d) said only one station transmitting data on said data transmission path after any data sequence currently transmitted has ended, whereby no data sequence re-transmission is required after an arbitration has occurred.
An arbitration method for gaining access to a serial data transmission path having a plurality of stations connected thereto, the method being implemented on a separate arbitration path in the form of a serial collision-type arbitration line which interconnects the various stations and which defines a dominant state and a recessive state, each station being capable of applying to said arbitration path an arbitration frame comprised of elementary bits each having a value corresponding to either of said dominant and recessive state, each arbitration frame including a priority field defining a priority level followed by a numerical field uniquely identifying the station which applies the arbitration frame, and the application of colliding arbitration frames by each station being synchronized with the start of the first applied arbitration frame, the method including, for each station seeking to have or keep said data transmission path allocated thereto and to transmit data on said data path, the following steps:
- (a) applying to said arbitration path an arbitration frame,
- (b) reading of the value of the bit present on said arbitration path after a predetermined time delay following the application of each bit of said arbitration frame,
- (c) ceasing to apply said arbitration frame as soon as the value of the bit read is different from the value of the corresponding bit it currently applies to said arbitration path, whereby, at the end of said arbitration frame, only one station which has not ceased to apply its arbitration frame is entitled to gain access to said data transmission path, and further including in each station the following steps:
- (d) inverting a priority level changing signal between the application of two successive arbitration frames, and
- (e) prior to applying an arbitration frame, generating the priority field of said frame as a function of the state of said priority level changing signal and as a function of a priority value allocated to the requested data transmission.
A communications system including a plurality of stations and a bus, interconnecting said stations, said bus including a digital data transmission path defining a delimiter channel having an active state and an inactive state corresponding to the transmission and non-transmission of a data sequence, each station being capable of determining the state of said delimiter channel, said bus further including a separate arbitration path in the form of a serial collision-type arbitration line, which defines a dominant state and a recessive state, each station being capable of applying to said arbitration path an arbitration frame comprised of a plurality of bits each having a value corresponding to either of said dominant and recessive states, and of transmitting data on said data transmission path,
- each station comprising:
- means for determining the presence or absence of an arbitration frame applied by another station on said arbitration path,
- means for determining the state of said delimiter channel,
- means for applying to said arbitration path an arbitration frame that includes a plurality of bits defining a priority level of t, he data to be transmitted whenever the station seeks to have or keep said data transmission path allocated thereto and to transmit data on said data path, said applying means operating according to the following rules:
- if no arbitration frame is in the course of being applied to said arbitration path by another station, the arbitration frame application is started at any time,
- however, if the state of said delimiter channel passes from inactive to active state during the application of said arbitration frame, then said application of the arbitration frame is stopped and started again later, and
- if a station already has said data transmission path allocated thereto, said arbitration path is watched and an arbitration frame is applied to-said arbitration path as soon as another station has started applying to said arbitration path another arbitration frame, the application of said arbitration frame on said arbitration path being synchronized on the beginning of application of said other arbitration frame, and
- means for reading of the value of the bit present on said arbitration path after a predetermined time delay following the application of each bit of said arbitration frame, the application of said arbitration frame being interrupted by the station as soon as the value of the bit read is different from the value of the corresponding bit it currently applies to said arbitration path, whereby, at the end of said arbitration frame, only one station which has not ceased to apply its arbitration frame is entitled to gain access to said data transmission path, and said only one station transmitting data on said data transmission path after a data sequence currently transmitted has ended, whereby no data sequence retransmission is required when an arbitration has occurred.
A communications system including a plurality of stations and a bus, said bus including a digital data transmission path interconnecting said stations, said data transmission path defining a delimiter channel having an active state corresponding to the transmission of a data sequence and an inactive state corresponding to non-transmission of data,said bus further including a separate arbitration path in the form of a serial collision-type arbitration line which also interconnects said stations and which defines a dominant state and a recessive state, each station being capable of applying to said arbitration path an arbitration frame comprised of a plurality of bits each having a value corresponding to either of said dominant and recessive states, each station comprising:
- means for determining the presence or absence of an arbitration frame applied by another station on said arbitration path,
- means for determining the state of said delimiter channel,
- means for applying to said arbitration path an arbitration frame including a priority field defining a priority level of the data to be transmitted, followed by a numerical field which uniquely identifies the station, in synchronism with arbitration frames applied to said arbitration path by other stations,
- means for reading of the value of the bit present on said arbitration path after a predetermined time delay following the application of each bit of said arbitration frame, the application of said arbitration frame being interrupted by the station as soon as the value of the bit read is different from the value of the corresponding bit it currently applies to said arbitration path, whereby, at the end of said arbitration frame, only one station which has not ceased to apply its arbitration frame is entitled to gain access to said data transmission path, each station further including:
- a bistable,
- means for inverting the logic state of said bistable between the application of two successive arbitration frames, and
- means for generating the priority fields of each arbitration frame as a function of the logic state of said bistable and of a priority value allocated to the requested data transmission.
Dependencies are inferred from the claim text.