MEDIA ACCESS PROTOCOL FOR TDM BUS NETWORK

Abstract: A media access protocol provides a fixed frame length and limited arbitration among certain predetermined users by providing limited arbitration during certain fixed time slots of a table driven proportional access system.

Description: Medla access protocol for TDM bus network BACKGROUND OF THE INVENTION The present invention is related to media access protocol systems and mor particularly to a protocol system which combines features of a table driven proportiona access system and a slotted arbitration system. DESCRIPTION OF THE PRIOR ART The prior art media access protocols have included a strict time division multipl access protocol wherein each user is allocated a fixed equal period of time during which to transmit on the common bus, and table driven proportional access protocols wherein specific time period is allocated for each user from a table which controls both the orde and length of time period which each user is allowed to transmit on the common data bus. The strict time division multiple access system provides a functioning access to common bus by multiple users, but causes inefficiencies when various users do not use the time during their allocated access period. This inefficiency may not be a problem fo slower systems or those which have a relatively small number of users, however this ha become a problem when the time response for specific users becomes critical, or syste capacity is approached. The table driven proportional access system provides some improvement in tha for a given node, the table may determine an arbitrary size and order for the transmissio times. While this does at least allow some flexibility in the order of the transmissions an the duration of each transmission; the specific transmission allocations, once selected, ar not changeable. In addition there is no provision for allowing a user other than the specific, table-designated user access to the bus during any given specific transmissio period. An alternative method of allocating time periods for multiple access to the bu system is a slotted arbitration system wherein the designated users are simply allocated priority and attempt, and are granted, access to the system for each time period on a stric priority basis. This system does provide certain time efficiencies in that potential user who do not attempt access during a given time frame do not use up an allocated time slot. However, when the number of users varies from frame to frame the total frame length wil vary causing a timing variation, or time jitter, from one frame to the next. SI JMMARY OF THE INVENTION In accordance with the principals of the present invention a media access protocol is provided which combines the fixed time slot length of the table driven proportional access system with certain predetermined slots therein having a limited slotted arbitration capability. For certain users of the common digital bus there will be a simple assignment of a specific time period to a specific user. For certain other predetermined time periods of the total frame time, there is a slotted arbitration among two or more assigned users which occurs during a fixed time period. This time period is of sufficient length to allow the longest of the assigned prioritized users to complete its transmission plus a number of delta times as required to accomplished the arbitration among the competing users within the specific time period. This combination provides for a system which allows certain of the competing users access during an arbitrated time period, while keeping the overall total time for access by all users to a fixed time period thereby eliminating the time jitter ordinarily associated with a slotted timing variation. The advantages of the inventive system will be understood more fully from the following description in combination with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a timing diagram illustrating the user access time segments within a sample frame for the prior art Time Division Multiple Access (TDMA) and Table Driven Proportional Access systems (TDPA); Figure 2 is a timing diagram illustrating the time slots allocated within a sample frame to the various users for a prior art slotted arbitration system; Figure 3 is a timing diagram illustrating the user access time segments within a sample time frame of the present invention; and Figure 4 is a timing diagram illustrating in further detail the slotted arbitration portion of the system of present invention. DESCRIPTION OF THE PREFERRED EMBODIMENT Shown in Figure 1 is an illustration of the time division multiple access protocol (TDMA) which allocates a fixed, specific length, equal length, time of access to each of the eight designated users. As illustrated, the order of use of the eight users remains constant in the numerical sequence shown and the amount of time allocated to each of the specific users is equal for this prior art protocol system. Also illustrated in Figure 1, is a table driven proportional access (TDPA) protocol system wherein both the order of access and the specific length of time of access for any given user may be varied according to a predetermined table. At each communication node, the specific table dictates which user can transmit and at what times and for how long. While this table driven protocol improves the efficiency of the transmission system by allowing arbitrary length and order of transmissions, it does not allow for arbitrated transmission among competing users within a given designated time slot. A strict priority arbitration system is illustrated in Figure 2. In the top sample time frame of Figure 2, there is illustrated a system wherein users 1-8 are allowed access to the communication media in descending order priority. The lower sample time frame of Figure 2 illustrates a particular instance where users 4 and 6 have not attempted any transmission and therefore have deleted their time allocation for transmission. In addition, the transmission time length for user 1 has decreased while the transmission time length for user 8 has increased. These variations cause a variation in timing, or jitter, from one frame to the next. As illustrated, the total transmission or frame time for a given cycle is therefore decreased allowing for increased efficiency for the total time available. This does however prevent the use of a synchronized system in that for each given cycle, the total frame time will be different depending on how many of the prioritized users actually utilize an access time period in the total frame time. For example, as shown in the bottom sample frame of Figure 2, the total frame time is substantially less when users 4 and 6 do not utilize their allocated access time. While this results in an overall increase in efficiency by not allocating time to users who do not require access, a significant disadvantage results from a variation in total frame time from one cycle to the next, which may not be determined in advance. In the prior art protocol systems of Figure 1, the allocated time for a specific user will remain allocated even if the user does not access the bus during that allocated specific time. The present invention augments the TDPA by allowing slotted arbitration in certain predetermined allocated time periods. An entry into the table of the present invention, which controls the media for a specific duration of time, may assign a singl transmitter, as in the prior art TDPA, or may assign a set of transmitters, each with predetermined assigned priority. Within the predetermined time slot, the transmitter with the highest priority start transmitting immediately at the beginning of the time period controlled by the table entry If the transmitter with the highest priority fails to transmit, the second highest priorit transmitter is allowed to transmit after a predetermined delta time has elapsed. If in tur the second transmitter fails to transmit, the third priority transmitter is allowed to transmi after two delta times have elapsed from the beginning of the controlled time period. The delta time is fixed at a duration which is sufficient for each succeedin transmitter to perceive that the next highest priority transmitters have not transmitted. Th total time slot controlled by the table entry is selected to be long enough to accommodat the longest of the possible messages to be transmitted by the given set of transmitters, plu an additional N - 1 times the delta time, where N is the number of transmitters in the set. This method allows priority arbitration for exclusive use of the media withou changing the timing (i.e., the start of the transmission time) for the next transmitter. Neither of the discussed prior art systems allow for any arbitration within the allocate time slots. Those prior art slotted protocols which do allow for arbitration do not have fixed start time or timing mechanism for the start the next frame. As illustrated in Figure 3, certain of the users would be allocated specific time slot such as those illustrated as users 7, 3, 5, 8 and 4. However, within the time slots labeled and B of Figure 3, there is allowed a limited arbitration among the potential users shown. For example, within time slot A user 1 will have first priority and begi transmitting at the exact start of time slot A. User 4 would wait a single delta time t determine whether or not user 1 has begun transmitting. If user 1 has not begu transmitting after the expiration of the predetermined delta time, then user 4 begin transmission for time slot A. In a similar fashion, user 6 will wait two delta times t determine whether or not either user 1 or user 4 has begun transmission. If neither of thes higher priority users have started transmission after the two delta time periods, then user will begin transmitting for the remainder of time slot A. This slotted arbitration is illustrated further in Figure 4 wherein there are shown master user having priority one and two shadow users having priorities two and three. Fo the example of Figure 3 user 1 would be the master, user 4 would be the shadow user having priority two, and user 6 would be the second shadow user having priority 3 as illustrated in Figure 4. The competing prioritized users need not have the same designated period of use, as illustrated in time slot B of Figure 3. There are numerous uses for the arbitration which is allowed within the designated time slots of the illustrated protocol process system. For example/in time slot A of Figure 3 the competing users may be duplicate or redundant versions of the same data. In this fashion, a selected one of several duplicate signals may be selected to be transmitted over the communications bus. As shown in Figure 3, the overall time for the total frame remains constant with a very small portion of time being utilized within time slots A and B to accomplish the arbitration. This allows the overall cycle time to be fixed and repeatable while at the same time allowing a limited amount of arbitration within slots A and B, without causing the time frame jitter of prior art, strictly arbitrated priority systems. Time slots A and B are of a fixed length which does not change regardless of which of the competing users actually uses the allocated time or how much of the allocated time is used. For example, time slot B would run for the entire fixed allocated time shown even if user 1 doesn't require the entire time. By holding the annunciation of reception of message until the end of the window, no time jitter is seen by the receiver. There are therefore no observable timing variations from one frame to the next, and no jitter results from different ones of the arbitrated users transmitting during successive time frames. The prior art and inventive system have been illustrated with eight users solely for purposes of illustration. In a particular actual system, the number of users would be as required with a particular application, and may in some cases total several hundred. In a similar fashion, the arbitration within time slots A and B has been illustrated using three potential users for each time slot. In a partictilar application there may be any number of potential users greater than two, with the only limit being the number of delta times which would accrue in order to accomplish the desired arbitration period. It will be recognized that as an alternative, when the number of arbiters is large for a particular application, other prior art arbitration protocols may be used within the fixed, arbitrated time slots to accomplish the arbitration, while retaining the benefits of the fixed time slot. Those skilled in the art will recognize that many specific implementations are possible without departing from the scope of the claimed invention. What is claimed is:

Claims: CLAIMS 1) A method for allocating access to a communications bus among a plurality of users for repeatable time frames comprising the steps of: dividing each of said time frames into a predetermined number of time slots, each having a fixed, predetermined duration, for designated ones of said predetermined time slots, assigning at least two of said users to each of said designated time slots, arbitrating among said at least two of said users, for each of said designated time slots, to allow access to said commumcations bus during said designated time slots by only one of said at least two of said users. 2) The method of claim 1 wherein said arbitrating step further comprises the steps of: assigning a priority to each of said at least two users, thereby creating prioritized users; and allowing access to the communication bus during said designated time slots by the one of said prioritized users having the highest priority. 3) The method of claim 2 wherein said arbitrating step is accomplished by allowing each of said prioritized users, in the order of priority, access to the communications bus only if a predetermined time has elapsed, and none of said prioritized users having a higher priority is transmitting. 4) The method of claim 1 further comprising the step of: for each of said users not assigned to one of said designated time slots, allowing access to said commumcations bus during an assigned one of said time slots other than said designated time slots.

Inventors: DRISCOLL KEVIN R, DRISCOLL, KEVIN, R.
Applicants: HONEYWELL INC, HONEYWELL INC.
Application year: 1994
Main classification: H04L12
IPC codes: H04L12, H04L29