WO2004040866A2 - Method for optimizing a link schedule - Google Patents

Method for optimizing a link schedule Download PDF

Info

Publication number
WO2004040866A2
WO2004040866A2 PCT/US2003/033577 US0333577W WO2004040866A2 WO 2004040866 A2 WO2004040866 A2 WO 2004040866A2 US 0333577 W US0333577 W US 0333577W WO 2004040866 A2 WO2004040866 A2 WO 2004040866A2
Authority
WO
WIPO (PCT)
Prior art keywords
group
function block
publication
block
calculation
Prior art date
Application number
PCT/US2003/033577
Other languages
French (fr)
Other versions
WO2004040866A3 (en
Inventor
William R. Hodson
Original Assignee
Honeywell International Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honeywell International Inc. filed Critical Honeywell International Inc.
Priority to AU2003282997A priority Critical patent/AU2003282997B2/en
Priority to JP2004548427A priority patent/JP2006505189A/en
Priority to EP03774930A priority patent/EP1566021A2/en
Publication of WO2004040866A2 publication Critical patent/WO2004040866A2/en
Publication of WO2004040866A3 publication Critical patent/WO2004040866A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K15/00Devices for taming animals, e.g. nose-rings or hobbles; Devices for overturning animals in general; Training or exercising equipment; Covering boxes
    • A01K15/02Training or exercising equipment, e.g. mazes or labyrinths for animals ; Electric shock devices ; Toys specially adapted for animals
    • A01K15/025Toys specially adapted for animals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2475Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/4026Bus for use in automation systems

Definitions

  • the invention relates generally to communications networks and more particularly to communications networks that operate on a periodically executed schedule.
  • FOUNDATIONTM FIELDBUS technology is an open technology provided by the FIELDBUS Foundation of Austin, Texas, USA. It is a local area network type of communications BUS based on the International Electro-Technical Commission 61158 FIELDBUS standard. That standard calls for some of the periodic communications on the BUS to be scheduled within a periodically executed schedule.
  • Foundation FIELDBUS technology permits interactive communication among devices, scheduling is restricted to some degree. For instance, only one function block in a single application processor device may execute at a time. Further, only one device may publish (that is, a publication or back- calculation publication) on the link at a time, and client-server activity may only take place between publications.
  • Function blocks are typically scheduled in "natural order", from input to output, following primary connections. Particularly when many devices are sharing a link, "natural order” scheduling tends to produce a large number of relatively “short” publication gaps. These “short” gaps often reflect wasted bandwidth because large queued communications, and all communications queued behind them, are delayed until a large enough gap arises in the schedule. For example, display call-ups and operator station display call— ups are often most severely affected since they typically require relatively large gaps to satisfy their heavy information transfer demands. Accordingly, the number of client-server messages transmitted per macrocycle is limited, and less than optimum application performance is achieved.
  • Such a method should allow for greater communications usage from a fixed bandwidth; shorten the overall scheduled portion of the link schedule; and, minimize loop latencies to achieve better control.
  • a mixed scheduled/unscheduled network schedule including a FIELDBUS and, particularly, a Foundation FIELDBUS.
  • the present invention therefore, provides a method of creating a schedule for a network that communicates in accordance to a periodically executed schedule, which includes the steps of first identifying a plurality of function blocks requiring execution and then identifying each of the function blocks as members of one or more groups. Next, the groups are prioritized such that each group has a priority relative to the other group, and then each of the groups containing at least one unscheduled function block is scheduled, one group at a time, in an order based on the priority of each group for communication on the network.
  • the present invention reduces the scheduled portion of the link schedule (that is, for example, as compared with "natural scheduling"). Consequently, more activities can be accommodated and the macrocyle may be shortened.
  • publications are also grouped in order to eliminate potential publication gaps. Alternatively, since larger gaps have a greater potential of permitting longer unscheduled messages to be issued, a publication may be positioned between two other publications so that the two publication gaps formed provide a very large and a very small gap. For instance, since back-calculation publications do not have critical timing requirements, they can often be scheduled to execute immediately before or after back-calculation publications and non-back-calculation publications. In this way, less bandwidth is wasted and application performance is increased.
  • FIG. 1 is a block diagram associated with Example 1.
  • FIG. 2 is a timing diagram associated with the natural schedule of Example 1.
  • FIG. 3 is a timing diagram associated with the optimized schedule of Example 1.
  • FIG. 4 is a block diagram associated with Example 2.
  • FIG. 5 is a timing diagram associated with the natural schedule of Example 2.
  • FIG. 6 is a timing diagram associated with the optimized schedule of Example 2.
  • FIG. 7 is a block diagram associated with Example 3.
  • FIG. 8 is a timing diagram associated with the natural schedule of Example 3.
  • FIG. 9 is a timing diagram associated with the optimized schedule of Example 3. '
  • FIG. 10 is a block diagram associated with Example 4.
  • FIG. 11 is a timing diagram associated with the natural schedule of Example 4.
  • FIG. 12 is a timing diagram associated with the optimized schedule of Example 4. DETAILED DESCRIPTION OF THE INVENTION
  • Loop Latency The time that elapses between the input function block's process sampling until the control element is commanded to correct a deviation by the output function block.
  • Critical Loop Latency The time that elapses in the highest priority loop between the input function block's process sampling until the control element is commanded to correct a deviation by the output function block.
  • Latency Factor Ratio of "optimized” Critical Loop Latencies to "natural” Critical Loop Latencies.
  • Latency Improvement 100% minus the Latency Factor, expressed as a percentage.
  • Publication a message, often scheduled, made available on a network to one or more nodes at the same time.
  • Non-Back-Calculation Publication a publication that is not associated with back-calculation information.
  • Back-Calculation Publication a publication which is associated with back- calculation information, usually used on a subsequent execution cycle by a previously executed block to initialize, prevent reset windup, and provide status information.
  • Publication Gap Time between the end of one publication and the start of the next scheduled publication.
  • Extra Time Associated With Any Communication (or "Associated Time”): An estimate average length of time lost with any message. This may include, for example, the time attributed to access delays, average time lost due to a next-queued message that exceeds available time, conflicts with "housekeeping" activities such as passing tokens, probing nodes, distributing time, etc. It is assumed that the Associated Time is 15 ms in the examples in this document.
  • Usable Publication Gap (or Usable Gap): The portion of the publication gap available for messages other than publications or back-calculation publications.
  • the Usable Gap is calculated by subtracting the "Associated Time” from the "Publication Gap".
  • Minimum Time Needed For Unscheduled Communication (or “Minimum Time”): The minimum length of time that unscheduled communication on the link, including client server interaction, requires in order to fully execute. It is assumed that the Minimum Time Needed For Any Communication is greater than 30 ms for the examples in this document.
  • Publication Gap Factor Ratio of the usable gaps of the natural macrocycle to the usable gaps of the optimized macrocycle.
  • Macrocycle Utilization Factor Ratio of the of the optimized macrocycle time to the natural macrocycle time, expressed as a percentage.
  • Macrocycle Improvement 100% minus the Macrocycle Utilization Factor, expressed as a percentage.
  • Natural Macrocycle The macrocycle created by arranging function block executions in the order of input to output, following primary connections, with each publication occurring immediately after execution of the function block that calculates it.
  • Function Block An object that has inputs and/or outputs that may be interconnected to or from other function blocks and executes an algorithm on its inputs to produce its outputs.
  • Input Function Block (or Input Class Function Block): A function block that usually originates with a value derived from a process (e.g., Al, DI, PI). The term "usually” is employed because in most cases, the input block is at the beginning of the string of blocks. There are, however, obscure cases that someone skilled in the art would recognize.
  • Output Function Block (or Output Class Function Block): A function block that usually terminates with a value provided to a process (e.g., AO, DO, CAO, CDO).
  • a value provided to a process (e.g., AO, DO, CAO, CDO).
  • the term "usually” is employed because in most cases, the output block is at the end of the string of blocks. However, it is possible to take the output value and connect it to another block to do auxiliary calculations or even to loop it back as a simulated plant value for demonstration or test purposes. These are obscure uses that someone skilled in the art would recognize.
  • Control Function Block A function block whose primary function is to compare a process-influenced value to a setpoint, or target value, and provide one or more outputs that are somehow directed to control the process to the setpoint, or target value, usually through an output function block.
  • Sequence in this document is defined as a series of function blocks wherein the term sequence is defined as:
  • Control Loop Sequence A Sequence of Function Blocks that starts with an input block and ends with an output block.
  • Monitoring Sequence A sequence of one or more Function Blocks that starts with an input block and does not contain a control block or an output block. Accordingly, a "Monitoring Sequence” is any sequence that is not a Control Loop Sequence or a Cascade Loop Sequence.
  • Primary Connection Input A "Primary Input", “Process Variable”, or “Cascade Input” as defined by the formal models of the FOUNDATION FIELDBUS Function Block Application Process Specifications and as designated by the authors of each type of block or as otherwise designated by a user for a particular application.
  • Primary Connection Output A "Primary Output" as defined by the formal models of the FOUNDATION FIELDBUS Function Block Application Process Specifications and as designated by the authors of each type of block or as otherwise designated by a user for a particular application. For example, OUT, OUT_D, etc.
  • Primary Connection A reference by a "Primary Connection Input” to a “Primary Connection Output”, as defined by the formal models of the FOUNDATION FIELDBUS Function Block Application Process Specifications or as otherwise designated by a user for a particular application.
  • Cascade Loop Sequence A Sequence of Function Blocks that starts with an input block and ends with a control function block, the control function block in turn providing an output (directly or indirectly) to a block in a downstream control loop sequence.
  • Setpoint (or Control Target): The value that a downstream, or inner, control block uses as a target for the primary process variable it also receives.
  • An upstream, or outer, cascade loop sequence's control function block provides a setpoint to a downstream, or inner, cascade loop sequence's control function block.
  • Downstream refers to a function block or sequence of function blocks whose input is provided by an output of the referenced function block.
  • Upstream refers to a function block or sequence of function blocks whose output is provided to an input of a referencing function block.
  • Inner Control Loop A control loop sequence or cascade loop sequence that is provided a setpoint (control target) by another sequence. Inner control loops are downstream relative to outer control loops.
  • Outer Control Loop A control loop sequence or cascade loop sequence that provides a setpoint (control target) to another sequence. Outer control loops are upstream relative to inner control loops.
  • Sample-Skew A time difference between the sampling times of set of multiple inputs (or samples). When a group of input function blocks are used together, as in a calculation involving each (e.g., average of several sampling locations or mass flow involving temperature, pressure, and differential pressure) or as in a comparison (minimum, maximum, median) of several sampling locations, the times of each of the samplings relative to each other may or may not be important to the application. "Sample-Skew" indicates that relative times of each sampling are not important to the application.
  • No-Sample-Skew No time difference between the sampling times of set of multiple inputs (or samples).
  • a group of input function blocks are used together, as in a calculation involving each (e.g., average of several sampling locations or mass flow involving temperature, pressure, and differential pressure) or as in a comparison (minimum, maximum, median) of several sampling locations, the times of each of the samplings relative to each other may or may not be important to the application.
  • “No-Sample-Skew” indicates that relative times of each sampling are important to the application.
  • sequences, or other groups of function blocks may be identified in numerous, less preferable ways that will be apparent to one skilled in the art. Moreover, each individual block could be considered a separate group in alternative embodiments.
  • each sequence preferably one sequence at a time, by starting at each input class function block and following each primary connection from the input class function block's primary connection output to the output's use by a subsequent "referencing" block (through the "referencing" block's primary connection input, such as IN, IN_D, PV, PV_D, CASJN, CAS_IN_D, SEL_n, etc.). If there is no reference to a primary connection output, consider the single block-whether it is an input class function block, a block via Section 1.4, etc.-a sequence.
  • referencing block has already been included in this sequence, do not include the referencing block, as it would form an unwanted circular reference. 1.1.2 If the referencing block's input connection is a cascade setpoint connection of a control block, other than a Control Selector block or an Output Splitter block (or the like), terminate the sequence without including the referencing block because it will be included in another control loop sequence.
  • the "old referencing” block is the input class function block.
  • the "new referencing” block essentially becomes the "old referencing” block.
  • a manually-controlled output class block or function block sequence used for a specialized purpose could have a sequence starting with a non-input-class block.
  • Section 1.5 is primarily, but not exclusively, intended to address circular function block references.
  • sequences are prioritized.
  • the sequences are prioritized according to both period type and period length.
  • Control Loop Sequences and Cascade Loop Sequences are higher priority than Monitoring Sequences.
  • Control Loop Sequences have higher priority than Cascade Loop Sequences. This is because the Control Sequences are in direct control, whereas the Cascade Sequences control indirectly by providing a setpoint to a downstream Control Loop Sequence or another Cascade Loop Sequence.
  • sequences are scheduled by assigning block executions and publications to the link schedule, based on priorities as set forth below.
  • the schedule is preferably normalized after the sequences are scheduled, but alternative embodiments may perform normalizing at other times.
  • the macrocycle length (i.e., the time duration) is determined before scheduling.
  • the length is preferably the least common multiple of contributing function block's periods. However, this may be performed at other times, and such options will readily be known to those skilled in the art.
  • publication and block executions are preferably scheduled to minimize delays between:
  • 3.2(C) A function block execution that produces an output that does not require a publication and a function block execution that directly inputs such output.
  • 3.2(D) An execution of a publication-producing block, and the publication produced by that publication-producing block.
  • the first (i.e., highest priority) function block sequence is scheduled first at relative time "zero" in the macrocycle.
  • other options will be known to those skilled in the art.
  • provisos 3.2(A) and 3.2(B) operate such that the "to be scheduled" element is retreated appropriately to minimize the delay between the elements in conflict. That is:
  • Reverse order scheduling involves first scheduling the start of the execution of the function block, or publication, in the "to be scheduled” sequence as close as possible to the element already in the schedule that requires it. (Accordingly, reverse order scheduling is to a large degree the opposite of forward order scheduling, as described in Section 3.2.3.1.) That is, the end of the execution of the "to be scheduled” function block is scheduled as close as possible to the beginning of the element that requires it. It should thus be evident that this scheduling requires the start of these "to be scheduled” elements be defined such that the time duration of each element is considered.
  • a function block sequence that directly utilizes an output of a previously assigned function block within the link schedule, or directly utilizes a publication, is scheduled in forward order (as set forth in 3.2.3.1.), one at a time, with minimal delay, from that need. Further, the scheduling should proceed from the beginning to end of the "to be scheduled" function block sequence with preferably minimal delays.
  • provisos 3.2(A) and 3.2(B) operate such that:
  • 3.2.3(B) Since the schedule time of any two publications may not overlap, the publication is scheduled as soon as possible after this conflict. Thus, 3.2.3(A) and 3.2.3(B) operate such that the "to be scheduled" element is advanced appropriately to minimize the delay between the elements in conflict.
  • Forward order scheduling involves first scheduling the start of the execution of the first function block in the "to be scheduled” sequence as close as possible to the block (or publication) that provides the required output (or publication).
  • a function block sequence that does not directly utilize an output of a function block that is already assigned to the link schedule (or directly utilize a publication) and does not provide an output connection (or produce a publication) that is received by a previously scheduled function block, is considered independent for latency purposes. Therefore, it is assigned to the link schedule-with minimal delays between any of the sequence's elements- as close to the beginning of the macrocycle as possible.
  • any portion of the "to be scheduled” sequence is preferably adjusted within the macrocycle so as to minimize delay between the elements of the "to be scheduled” sequence.
  • another-but less-preferable-option compared to minimizing latency would be to arrange the new sequence such that as many of the new publication(s) are placed immediately adjacent to (either before or after) another already-assigned publication. In this way, one or more publication gaps may be eliminated. This should most preferably be performed according to 3.3.
  • each back-calculation publication is scheduled. Each of these may be scheduled to occur at any time after its availability and before its usage (usually within the next execution cycle). Publication gaps meeting this criterion are qualifying publication gaps.
  • the optimization objective is to arrange, if possible, for the back-calculation publication to be immediately adjacent to (either before or after) another already-assigned publication (that is, of either sort) so as to minimize a "potential publication gap" (as defined in the context of Section 3.3).
  • the publication should preferably be placed adjacent to another previously- scheduled publication so as to minimize (i.e., eliminate completely) one of the two "potential publication gaps" inherent in this situation. If the publication cannot be placed adjacent to a previously-scheduled publication, it should be placed so that the larger of the two “potential publication gaps” is maximized. That is, if publication adjacency not possible, it is better to position it such that the two "potential publication gaps" created by its presence are as different in size as possible (i.e., one large and one small).
  • the back-calculation publication should be placed in the smallest publication gap to leave the larger publication gap unbroken for longer messages.
  • the larger of the two “potential publication gaps” inherent in the smaller "not perfectly sized publication gap” is maximized.
  • the underlying rationale is that a large “potential publication gap” has a greater potential of usage than two smaller ones since unscheduled messages vary in length, and longer messages can block other messages that are waiting in a queue to be transmitted over the network.
  • step 3.3 the scheduling of back-publications according to step 3.3 can be performed in conjunction with other scheduling algorithms.
  • the natural link schedule set forth below, and reflected in FIG. 2, indicates that the blocks of the first loop are executed first, in natural sequence.
  • the optimized link schedule is set forth below and is reflected in FIG. 3.
  • the second sequence is assigned via 3.2.4 to the link at the beginning of the macrocycle. It then is adjusted via 3.2.4.1 to minimize the delay between the elements. In this way, and as reflected below and in FIG. 3, the entire scheduled portion of the macrocycle is shortened significantly. (The time offsets are in milliseconds.)
  • Example 2 Two Simple Loops, Control in Transmitter Although the functionality is identical to the previous example (two simple control loops), the link scheduling differs. When simple loop control is coresident with the transmitter, there are two publications: one, the output from the controller to the actuator, and a second, the back-calculation parameter from the actuator back to the controller. As indicated in FIG. 4, these occur for each of the two loops.
  • the natural link schedule executes the blocks of the first loop first with the publication of the PIDI's output done as soon as the value is calculated, and the back-calculation of the actuator published as soon as it is available.
  • the second loop sequences identically, but does not start until the first loop completes its execution in its entirety, including the back-calculation.
  • the back-calculation publications are adjacent to one another. Accordingly, the original publication gap that they severed cannot be made any more unequal given that the back-calculation publications cannot be issued earlier than the completion of their respective PID function block executions; and issuing them just before their respective requiring PID function block executions in the next cycle would form less unequal publication gaps.
  • an input-selector block chooses one- -or the average of some or all of the inputs— depending on the goals of the configuration.
  • FIG. 7 sets forth an example using a triple signal selector.
  • the natural link schedule executes the first Al block that immediately publishes its output. Then, the second Al block is executed, publishing its output immediately. Next, the third Al block is executed, publishing its output immediately. Finally, the Input-Selector block executes, followed by the PID and AO blocks.
  • FIG. 10 sets forth an example of a typical application.
  • the natural link schedule executes the first Al function block and its controller and then follows the path of connections within each device, beginning with Al function block, towards the AO function block. It also includes the execution of the integrator function block in its natural diagrammatic location.
  • Sequences of input-to-output blocks are control loop sequences
  • Sequences of input-to-control blocks are cascade loop sequences
  • Sequences of input alone or input-to-other blocks are monitoring sequences
  • the optimized link schedule is created using the sequence chart above and the steps described below.
  • the optimized link schedule set forth below, and reflected in FIG. 12, is created as follows:
  • Sequence ID #1 is scheduled first since it is the highest priority unscheduled sequence. It is the highest priority in light of its speed (.5 seconds) and its type (control).
  • Sequence ID #5 was chosen as the second sequence since it possessed the "smallest" (fastest) period of the remaining non-monitoring type sequences (i.e., sequences 3, 5, and 6) and is a "cascade" sequence.
  • the output of the sequence's blocks (AI2-PID2) is needed by PID3 exec, just prior to execution, so PID2 PUB is scheduled in reverse order from that need.
  • Sequences ID #3 and #6 are both involved in control and unassigned portions execute at a 2-second period. Sequence ID #3 takes precedence, however, since it is a control sequence and ID #6 is a cascade sequence. Since the output of the sequence is used by the Arithmetic block, it is scheduled in reverse from that need. However, since AI3 publishes its output immediately prior to the execution of the Arithmetic block, AI4's publication is retreated so that it completes just prior to the start of AI3's publication.
  • sequence #6 The only remaining sequence involved in control is identified to be sequence #6. This cascade sequence ends with PIDI's publication, which is needed by the previously scheduled PID2 block. Hence, PID1 PUB is scheduled to complete immediately before the execution of PID2. Further, PID1 is scheduled so as to complete just before the publication is scheduled; and the AH block is scheduled to execute completely just before the PID1 block executes.
  • the monitoring sequences with unscheduled blocks are next scheduled (i.e., sequences #2 and #4). Since AI3, AI4, and the Arithmetic block have already been scheduled, the Integrator block is the only remaining unscheduled block in both of these sequences. Accordingly, either may be selected for scheduling next.
  • the Integrator's input is dependent on the execution of the Arithmetic block, it is scheduled to execute as soon as possible after the Arithmetic block has completed execution.
  • the Integrator since the Integrator resides in the same single-application processor as PID3 and AO, which have been previously scheduled in accordance with their higher priority, the Integrator cannot be scheduled until immediately after the AO completes its execution.
  • PID3 is the innermost of the cascaded control blocks so it is higher priority, with PID2 next. (PID1 need not publish its back-calculation output because there are no blocks that require it.)
  • PID3 BK is available for publication when PID3 completes its execution and its publication must be completed by the time PID2 starts its execution. Accordingly, it can be scheduled after PID3 completes until the end of the macrocycle or from the start of the macrocycle up to the time that PID2 starts execution (less its publication duration time).
  • PIDI's publication Since it cannot be published after that (i.e., it is too late), it is scheduled just prior to PID1 PUB. Accordingly, this adjacency eliminates a "potential publication gap" in accordance with Section 3.3.
  • PID2 BK is available for publication when PID2 completes its execution and its publication must be completed by the time PID1 , its user, starts its execution. It can be scheduled from PID2's completion until the end of the macrocycle, or between the start of the macrocycle and the time that PID1 starts its execution (less the publication duration time). There is only one other publication already scheduled within those bounds, and that is PID2's publication. Since it cannot be published before PID2's publication (i.e., it is not ready yet), it is scheduled just after PID2's publication in order to eliminate a "potential publication gap" in accordance with Section 3.3.
  • the present invention has been described herein primarily as a method for optimising a Foundation FIELDBUS link schedule. However, it will be appreciated by those skilled in the art that the invention is not limited to this particular field of use and can be applicable and used to advantage in any communication network that operates on a periodically-executed schedule.

Abstract

A method for improving a link schedule used in a communication network is disclosed. While the method applies generally to networks that operate on a scheduled communications basis, it is described in the context of a Foundation FIELDBUS. The method includes: scheduling sequences and their associated publications according to their relative priority, per application; minimizing delays between certain function blocks, and between certain function blocks and publications; and grouping certain publications. Accordingly, advantages such as latency reduction, schedule length reduction, and improved communications capacity are gained.

Description

METHOD FOR OPTIMIZING A LINK SCHEDULE
BACKGROUND OF THE INVENTION
1. Field of the Invention:
The invention relates generally to communications networks and more particularly to communications networks that operate on a periodically executed schedule.
2: Discussion of the Related Art:
FOUNDATION™ FIELDBUS technology is an open technology provided by the FIELDBUS Foundation of Austin, Texas, USA. It is a local area network type of communications BUS based on the International Electro-Technical Commission 61158 FIELDBUS standard. That standard calls for some of the periodic communications on the BUS to be scheduled within a periodically executed schedule.
While Foundation FIELDBUS technology permits interactive communication among devices, scheduling is restricted to some degree. For instance, only one function block in a single application processor device may execute at a time. Further, only one device may publish (that is, a publication or back- calculation publication) on the link at a time, and client-server activity may only take place between publications.
Function blocks are typically scheduled in "natural order", from input to output, following primary connections. Particularly when many devices are sharing a link, "natural order" scheduling tends to produce a large number of relatively "short" publication gaps. These "short" gaps often reflect wasted bandwidth because large queued communications, and all communications queued behind them, are delayed until a large enough gap arises in the schedule. For example, display call-ups and operator station display call— ups are often most severely affected since they typically require relatively large gaps to satisfy their heavy information transfer demands. Accordingly, the number of client-server messages transmitted per macrocycle is limited, and less than optimum application performance is achieved.
"Natural order" scheduling also often yields relatively long schedules and frequently produces significant loop latencies. Since large latencies reflect older samplings and ineffectual performance, their appearance in critical control applications is often a matter of great concern.
Thus, an improved method for scheduling is needed. Such a method should allow for greater communications usage from a fixed bandwidth; shorten the overall scheduled portion of the link schedule; and, minimize loop latencies to achieve better control.
SUMMARY OF THE INVENTION
It is an object of the present invention, at least in the preferred embodiment, to overcome or substantially ameliorate one or more of the disadvantages of the prior art, or to provide a useful alternative.
It is also an object of the present invention to set forth a method for optimizing a mixed scheduled/unscheduled network schedule (a mixed network being one in which some of the bandwidth is scheduled and some of the bandwidth is unscheduled), including a FIELDBUS and, particularly, a Foundation FIELDBUS. For example, by prioritizing the scheduling of sequences of function blocks and their associated publications, and by minimizing certain delays during the scheduling process, the invention's methodology produces a link schedule that reduces loop latencies.
The present invention, therefore, provides a method of creating a schedule for a network that communicates in accordance to a periodically executed schedule, which includes the steps of first identifying a plurality of function blocks requiring execution and then identifying each of the function blocks as members of one or more groups. Next, the groups are prioritized such that each group has a priority relative to the other group, and then each of the groups containing at least one unscheduled function block is scheduled, one group at a time, in an order based on the priority of each group for communication on the network.
By scheduling certain function blocks, in different devices, such that their respective schedule times at least partially overlap, the present invention reduces the scheduled portion of the link schedule (that is, for example, as compared with "natural scheduling"). Consequently, more activities can be accommodated and the macrocyle may be shortened. Under the invention's methodology, publications are also grouped in order to eliminate potential publication gaps. Alternatively, since larger gaps have a greater potential of permitting longer unscheduled messages to be issued, a publication may be positioned between two other publications so that the two publication gaps formed provide a very large and a very small gap. For instance, since back-calculation publications do not have critical timing requirements, they can often be scheduled to execute immediately before or after back-calculation publications and non-back-calculation publications. In this way, less bandwidth is wasted and application performance is increased.
Finally, it is important to note that although the ideas in this document are explained in the context of a single application processor device, the methodology is also applicable to multi-processor devices. In the multiprocessor context, more than one function block in a device may execute at one time. On the other hand, multi-processor devices would still be treated as "single" devices with respect to the above-stated limitation on concurrent, or partially concurrent, publications.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
Other objects, features, and advantages of the present invention will be apparent from the following description of a preferred embodiment thereof, taken in conjunction with the sheets of drawings, in which:
FIG. 1 is a block diagram associated with Example 1.
FIG. 2 is a timing diagram associated with the natural schedule of Example 1.
FIG. 3 is a timing diagram associated with the optimized schedule of Example 1.
FIG. 4 is a block diagram associated with Example 2.
FIG. 5 is a timing diagram associated with the natural schedule of Example 2.
FIG. 6 is a timing diagram associated with the optimized schedule of Example 2.
FIG. 7 is a block diagram associated with Example 3.
FIG. 8 is a timing diagram associated with the natural schedule of Example 3.
FIG. 9 is a timing diagram associated with the optimized schedule of Example 3. '
FIG. 10 is a block diagram associated with Example 4.
FIG. 11 is a timing diagram associated with the natural schedule of Example 4.
FIG. 12 is a timing diagram associated with the optimized schedule of Example 4. DETAILED DESCRIPTION OF THE INVENTION
DEFINITIONS
The following terms, grouped by general category for convenience, are used throughout the document with the meanings defined as follows:
a. Latency
Loop Latency: The time that elapses between the input function block's process sampling until the control element is commanded to correct a deviation by the output function block.
Critical Loop Latency: The time that elapses in the highest priority loop between the input function block's process sampling until the control element is commanded to correct a deviation by the output function block.
Latency Factor: Ratio of "optimized" Critical Loop Latencies to "natural" Critical Loop Latencies.
Latency Improvement: 100% minus the Latency Factor, expressed as a percentage.
b. Publication
Publication: a message, often scheduled, made available on a network to one or more nodes at the same time.
Non-Back-Calculation Publication: a publication that is not associated with back-calculation information.
Back-Calculation Publication: a publication which is associated with back- calculation information, usually used on a subsequent execution cycle by a previously executed block to initialize, prevent reset windup, and provide status information. Publication Gap: Time between the end of one publication and the start of the next scheduled publication.
Extra Time Associated With Any Communication (or "Associated Time"): An estimate average length of time lost with any message. This may include, for example, the time attributed to access delays, average time lost due to a next-queued message that exceeds available time, conflicts with "housekeeping" activities such as passing tokens, probing nodes, distributing time, etc. It is assumed that the Associated Time is 15 ms in the examples in this document.
Usable Publication Gap (or Usable Gap): The portion of the publication gap available for messages other than publications or back-calculation publications. When the publication gap is equal to or greater than the "Minimum Time Needed For Any Communication", the Usable Gap is calculated by subtracting the "Associated Time" from the "Publication Gap"., This definition is based on the assumption that the shortest non-scheduled transaction takes approximately 15 milliseconds and that the "extra time associated with any communication" is assumed to be about 15 milliseconds, and a publication gap becomes usable when it is greater than 30 milliseconds. Accordingly, the "Minimum Time Needed For Any Communication" is 30 milliseconds in the examples in this document.
Minimum Time Needed For Unscheduled Communication (or "Minimum Time"): The minimum length of time that unscheduled communication on the link, including client server interaction, requires in order to fully execute. It is assumed that the Minimum Time Needed For Any Communication is greater than 30 ms for the examples in this document.
Publication Gap Factor: Ratio of the usable gaps of the natural macrocycle to the usable gaps of the optimized macrocycle.
Publication Improvement: 100% minus the Publication Gap Factor, expressed as a percentage. c. Macrocycle
Macrocycle Utilization Factor: Ratio of the of the optimized macrocycle time to the natural macrocycle time, expressed as a percentage.
Macrocycle Improvement: 100% minus the Macrocycle Utilization Factor, expressed as a percentage.
Natural Macrocycle: The macrocycle created by arranging function block executions in the order of input to output, following primary connections, with each publication occurring immediately after execution of the function block that calculates it.
d. Function Blocks/Sequences
Function Block (or Block): An object that has inputs and/or outputs that may be interconnected to or from other function blocks and executes an algorithm on its inputs to produce its outputs.
Input Function Block (or Input Class Function Block): A function block that usually originates with a value derived from a process (e.g., Al, DI, PI). The term "usually" is employed because in most cases, the input block is at the beginning of the string of blocks. There are, however, obscure cases that someone skilled in the art would recognize.
Output Function Block (or Output Class Function Block): A function block that usually terminates with a value provided to a process (e.g., AO, DO, CAO, CDO). The term "usually" is employed because in most cases, the output block is at the end of the string of blocks. However, it is possible to take the output value and connect it to another block to do auxiliary calculations or even to loop it back as a simulated plant value for demonstration or test purposes. These are obscure uses that someone skilled in the art would recognize.
Control Function Block: A function block whose primary function is to compare a process-influenced value to a setpoint, or target value, and provide one or more outputs that are somehow directed to control the process to the setpoint, or target value, usually through an output function block.
Function Block Sequence (or Sequence or Sequence of Function Blocks): A "sequence" in this document is defined as a series of function blocks wherein the term sequence is defined as:
(a) a group of function blocks wherein one input associated with each function block - except the function block beginning the sequence - is dependent on an output of an immediately preceding function block; and
(b) a single function block that does not input another block's output, or output another block's input.
Control Loop Sequence: A Sequence of Function Blocks that starts with an input block and ends with an output block.
Monitoring Sequence: A sequence of one or more Function Blocks that starts with an input block and does not contain a control block or an output block. Accordingly, a "Monitoring Sequence" is any sequence that is not a Control Loop Sequence or a Cascade Loop Sequence.
Primary Connection Input: A "Primary Input", "Process Variable", or "Cascade Input" as defined by the formal models of the FOUNDATION FIELDBUS Function Block Application Process Specifications and as designated by the authors of each type of block or as otherwise designated by a user for a particular application.
Primary Connection Output: A "Primary Output" as defined by the formal models of the FOUNDATION FIELDBUS Function Block Application Process Specifications and as designated by the authors of each type of block or as otherwise designated by a user for a particular application. For example, OUT, OUT_D, etc. Primary Connection: A reference by a "Primary Connection Input" to a "Primary Connection Output", as defined by the formal models of the FOUNDATION FIELDBUS Function Block Application Process Specifications or as otherwise designated by a user for a particular application.
e. Cascades
Cascade Loop Sequence: A Sequence of Function Blocks that starts with an input block and ends with a control function block, the control function block in turn providing an output (directly or indirectly) to a block in a downstream control loop sequence.
Setpoint (or Control Target): The value that a downstream, or inner, control block uses as a target for the primary process variable it also receives. An upstream, or outer, cascade loop sequence's control function block provides a setpoint to a downstream, or inner, cascade loop sequence's control function block.
Downstream: Refers to a function block or sequence of function blocks whose input is provided by an output of the referenced function block.
Upstream: Refers to a function block or sequence of function blocks whose output is provided to an input of a referencing function block.
Inner Control Loop: A control loop sequence or cascade loop sequence that is provided a setpoint (control target) by another sequence. Inner control loops are downstream relative to outer control loops.
Outer Control Loop: A control loop sequence or cascade loop sequence that provides a setpoint (control target) to another sequence. Outer control loops are upstream relative to inner control loops.
f. Sample-Skew/No-Sample-Skew
Sample-Skew: A time difference between the sampling times of set of multiple inputs (or samples). When a group of input function blocks are used together, as in a calculation involving each (e.g., average of several sampling locations or mass flow involving temperature, pressure, and differential pressure) or as in a comparison (minimum, maximum, median) of several sampling locations, the times of each of the samplings relative to each other may or may not be important to the application. "Sample-Skew" indicates that relative times of each sampling are not important to the application.
No-Sample-Skew: No time difference between the sampling times of set of multiple inputs (or samples). When a group of input function blocks are used together, as in a calculation involving each (e.g., average of several sampling locations or mass flow involving temperature, pressure, and differential pressure) or as in a comparison (minimum, maximum, median) of several sampling locations, the times of each of the samplings relative to each other may or may not be important to the application. "No-Sample-Skew" indicates that relative times of each sampling are important to the application.
ABBREVIATIONS
The following abbreviations are used throughout the document with the meanings defined as follows:
Al -Analog Input Function Block
Arith - Arithmetic Calculation Function Block
AO - Analog Output Function Block
CAO - Complex Analog Output Function Block
DI - Discrete Input Function Block
DO - Discrete Output Function Block
CDO - Complex Discrete Output Function Block
PI - Pulse Input Function Block
Integrator - Integrator Function Block
ISel - Input-Selector Function Block
PID - Proportional-lntegral-Derivative Control Function
SP (CASJN) - Set Point input.
PV (IN) - Process or Primary Variable (or Value) Input. OPERATION OF THE PREFERED EMBODIMENTS
While the steps and sub-steps described below are in a sequential order, it will be apparent to those skilled in the art that it is possible for the steps and sub-steps to be performed in alternative sequences.
1. Identify Function Block Sequences
In order to begin the scheduling process, certain groups of function blocks must be identified. Preferably, those groups are "sequences" of function blocks. However, it will be apparent to those skilled in the art that there are numerous other "groups", other than "sequences", that could be identified in alternate embodiments.
Further, while the method for identifying sequences presented above is the preferred method, sequences, or other groups of function blocks, may be identified in numerous, less preferable ways that will be apparent to one skilled in the art. Moreover, each individual block could be considered a separate group in alternative embodiments.
1.1 Create each sequence, preferably one sequence at a time, by starting at each input class function block and following each primary connection from the input class function block's primary connection output to the output's use by a subsequent "referencing" block (through the "referencing" block's primary connection input, such as IN, IN_D, PV, PV_D, CASJN, CAS_IN_D, SEL_n, etc.). If there is no reference to a primary connection output, consider the single block-whether it is an input class function block, a block via Section 1.4, etc.-a sequence.
1.1.1 If the referencing block has already been included in this sequence, do not include the referencing block, as it would form an unwanted circular reference. 1.1.2 If the referencing block's input connection is a cascade setpoint connection of a control block, other than a Control Selector block or an Output Splitter block (or the like), terminate the sequence without including the referencing block because it will be included in another control loop sequence.
1.1.3 If more than one primary connection exists out of the input block, consider and evaluate each as a "separate" sequence according to Section 1.1 , preferably after this sequence is identified completely.
1.2 Then, follow each primary connection from the "old referencing" block's primary connection output to the output's use by a "new referencing" block. However, the output of output class blocks should not be followed.
Accordingly, if this subsection is arrived directly from Section 1.1 , the "old referencing" block is the input class function block. On the other hand, if this subsection is arrived directly from Section 1.3, then the "new referencing" block essentially becomes the "old referencing" block.
1.2.1 Do not include the referencing block because it would form an unwanted circular reference if the new referencing block has already been included in this sequence.
1.2.2 If the "new referencing" block's input connection is a cascade setpoint connection of a control block, other than a Control Selector block or an Output Splitter block (or the like), terminate the sequence without including the new referencing block since it will be included in another control loop sequence.
1.2.3 If more than one primary connection exists out of the "old referencing" block, i.e., the new "referenced" block, consider and evaluate each as a separate sequence according to Section 1.1 after this sequence is identified completely. 1.3 Repeat step 1.2 until there is no reference to a primary connection output.
1.4 If there are any function blocks remaining that have not been identified in a sequence per the above rules: find each one that does not have an input connection; start a new function block sequence as with step 1.1; and, process as per rules 1.1 through 1.3 above, treating it as if it were an input class function block.
For example, although most function block sequences start with an input class block, a manually-controlled output class block or function block sequence used for a specialized purpose, such as a demonstration or a test, could have a sequence starting with a non-input-class block.
1.5 After evaluating 1.4, if there are still any function blocks remaining that have not been identified in a sequence per the above rules, choose any one of the remaining blocks and start a new function block sequence as with step 1.1. Process as per rules 1.1 through 1.3 above, treating the block as if it was an input class function block. Accordingly, Section 1.5 is primarily, but not exclusively, intended to address circular function block references.
1.6 Repeat 1.5 until no blocks remain that have not been identified as part of a function block sequence.
For example, although most function block sequences start with an input class block or a block with no input connections, a sequence could theoretically be composed of a series of blocks that form a loop, such that every block in the sequence has an input connection.
2. Prioritize Function Block Sequences
Next, the sequences are prioritized. In the preferred embodiment, the sequences are prioritized according to both period type and period length.
2.1 Sequences involved in control are higher priority than all sequences not involved in control. For example, Control Loop Sequences and Cascade Loop Sequences are higher priority than Monitoring Sequences.
2.2 Within each of the classifications involved in control (e.g., Control Loop Sequences and Cascade Loop Sequences) and those not involved in control (e.g., Monitoring Sequences), function block sequences that execute faster (i.e., those having shorter periods) are higher priority than those that execute slower (i.e., those having longer periods).
2.3 When a Control Sequence and a Cascade Sequence have identical period lengths, Control Loop Sequences have higher priority than Cascade Loop Sequences. This is because the Control Sequences are in direct control, whereas the Cascade Sequences control indirectly by providing a setpoint to a downstream Control Loop Sequence or another Cascade Loop Sequence.
2.4 For those function block sequences of equal priority based on 2.1 to 2.3 (for example, two Cascade Sequences both having two second periods), those whose unscheduled blocks and publications require larger contributions to the link schedule (i.e., function block execution times plus associated publication times) are higher priority than those that provide shorter contributions. The rationale underlying this "tie-breaking" provision is that sequences with larger contributions are more likely to have a greater number of scheduling conflicts.
Other embodiments use type alone; period length alone; the implementer's discretion; and/or any factor or combination of factors relevant to sequences, function blocks, and/or scheduling to break "ties". Such other methods are numerous and readily apparent to those skilled in the art.
3. Create the Link Schedule
Next, the sequences are scheduled by assigning block executions and publications to the link schedule, based on priorities as set forth below. The schedule is preferably normalized after the sequences are scheduled, but alternative embodiments may perform normalizing at other times.
3.1 Preferably, the macrocycle length (i.e., the time duration) is determined before scheduling. The length is preferably the least common multiple of contributing function block's periods. However, this may be performed at other times, and such options will readily be known to those skilled in the art.
3.2 Add non-back-calculation elements related to sequences (i.e., function blocks and non-back-calculation publications) to the link schedule one at a time, starting with the highest priority function block sequence remaining, continuing until all sequences are assigned. Accordingly, each of the "not yet scheduled" elements associated with every block in a function block sequence is assigned before starting to assign the "not yet scheduled" elements associated with the blocks of the next highest priority function block sequence. In this way, each block and each required block publication are assigned only once.
"Publication", as employed in Section 3.2, means non-back-calculation publication. Further, all scheduling in Section 3 is subject to the following provisos:
3.2(A) The schedule execution time of any two blocks within any given device may not overlap.
3.2(B) The schedule time of any two publications may not overlap.
In addition, publication and block executions are preferably scheduled to minimize delays between:
3.2(C) A function block execution that produces an output that does not require a publication and a function block execution that directly inputs such output. 3.2(D) An execution of a publication-producing block, and the publication produced by that publication-producing block.
3.2(E) A function block execution that inputs a publication, and the publication input by the publication-inputting block.
3.2.1 The first (i.e., highest priority) function block sequence is scheduled first at relative time "zero" in the macrocycle. However, other options will be known to those skilled in the art.
3.2.2 A function block sequence that provides an output, or produces a publication, that is received by a previously-assigned function block within the link schedule, is scheduled in reverse order, via reverse order scheduling set forth in 3.2.2.1, from that need. That is, the scheduling should proceed from the end to the beginning of the "to be scheduled" function block sequence with, preferably, minimal delays in accordance with Sections 3.2(C), 3.2(D), and 3.2(E).
Accordingly, provisos 3.2(A) and 3.2(B) operate such that the "to be scheduled" element is retreated appropriately to minimize the delay between the elements in conflict. That is:
3.2.2(A) Since the schedule times of two blocks in a device may not overlap, the "to be scheduled" block is started as soon as possible before this conflict.
3.2.2(B) Since the schedule time of any two publications may not overlap, the publication is scheduled as soon as possible before this conflict.
3.2.2.1 Reverse order scheduling involves first scheduling the start of the execution of the function block, or publication, in the "to be scheduled" sequence as close as possible to the element already in the schedule that requires it. (Accordingly, reverse order scheduling is to a large degree the opposite of forward order scheduling, as described in Section 3.2.3.1.) That is, the end of the execution of the "to be scheduled" function block is scheduled as close as possible to the beginning of the element that requires it. It should thus be evident that this scheduling requires the start of these "to be scheduled" elements be defined such that the time duration of each element is considered.
All of the other blocks and publications that require scheduling in, or associated with, the "to be scheduled" sequence are then scheduled, in reverse order, one at a time. Again, scheduling is performed to minimize delays between the blocks and publications in the "to be scheduled" sequence vis-a-vis Sections 3.2(C), 3.2(D), and 3.2(E), but is subject to Sections 3.2.2(A) and 3.2.2(B) as stated above.
3.2.2.2 If the No-Sample-Skew option is selected, function blocks that have multiple primary inputs should be inspected to see if the execution times of the immediately preceding providing blocks are identical. If not, the later one or ones should be adjusted to coincide with the earliest one, consistent with avoiding conflicts in execution times and publications.
3.2.3 A function block sequence that directly utilizes an output of a previously assigned function block within the link schedule, or directly utilizes a publication, is scheduled in forward order (as set forth in 3.2.3.1.), one at a time, with minimal delay, from that need. Further, the scheduling should proceed from the beginning to end of the "to be scheduled" function block sequence with preferably minimal delays.
Accordingly, provisos 3.2(A) and 3.2(B) operate such that:
3.2.3(A) Since the schedule times of two blocks in a device may not overlap, the "to be scheduled" block is started as soon as possible after this conflict.
3.2.3(B) Since the schedule time of any two publications may not overlap, the publication is scheduled as soon as possible after this conflict. Thus, 3.2.3(A) and 3.2.3(B) operate such that the "to be scheduled" element is advanced appropriately to minimize the delay between the elements in conflict.
3.2.3.1 Forward order scheduling involves first scheduling the start of the execution of the first function block in the "to be scheduled" sequence as close as possible to the block (or publication) that provides the required output (or publication).
All of the blocks and publications, that require scheduling, in, or associated with, the "to be scheduled" sequence are then scheduled, in forward order, one at a time, with minimal delay, from the element providing the required output or publication. Again, scheduling is performed to minimize delays between the blocks and publications in the "to be scheduled" sequence visa-vis Sections 3.2(C), 3.2(D), and 3.2(E), but subject to Sections 3.2.3(A) and 3.2.3(B). Accordingly, conflicts simply require the "next element" be scheduled as close as possible to the element it should follow.
3.2.3.2 If the No-Sample-Skew option is selected, function blocks that have multiple primary inputs should be inspected to see if the execution times of the immediately preceding providing blocks are identical. If not, the later one or ones should be adjusted to coincide with the earliest one, consistent with avoiding conflicts in execution times and publications.
3.2.4 A function block sequence that does not directly utilize an output of a function block that is already assigned to the link schedule (or directly utilize a publication) and does not provide an output connection (or produce a publication) that is received by a previously scheduled function block, is considered independent for latency purposes. Therefore, it is assigned to the link schedule-with minimal delays between any of the sequence's elements- as close to the beginning of the macrocycle as possible.
3.2.4.1 Further, any portion of the "to be scheduled" sequence is preferably adjusted within the macrocycle so as to minimize delay between the elements of the "to be scheduled" sequence. Alternatively, if publications are involved, another-but less-preferable-option compared to minimizing latency would be to arrange the new sequence such that as many of the new publication(s) are placed immediately adjacent to (either before or after) another already-assigned publication. In this way, one or more publication gaps may be eliminated. This should most preferably be performed according to 3.3.
3.2.4.2 If the No-Sample-Skew option is selected, function blocks that have multiple primary inputs should be inspected to see if the execution times of the immediately preceding providing blocks are identical. If not, the later one or ones should be adjusted to coincide with the earliest one, consistent with avoiding conflicts in execution times and publications.
3.3 After the non-back-calculation publication scheduled elements of all function block sequences have been assigned to the schedule (that is, blocks and non-back-calculation publications), each back-calculation publication is scheduled. Each of these may be scheduled to occur at any time after its availability and before its usage (usually within the next execution cycle). Publication gaps meeting this criterion are qualifying publication gaps.
The optimization objective is to arrange, if possible, for the back-calculation publication to be immediately adjacent to (either before or after) another already-assigned publication (that is, of either sort) so as to minimize a "potential publication gap" (as defined in the context of Section 3.3).
If any one qualifying publication gap exists where the to-be-scheduled publication fits exactly, the publication should be placed in any one of the perfectly-fitting gaps. This way, "a potential publication gap" is minimized; actually, it is minimized completely via elimination.
If one qualifying publication gap is available and it is not a "perfect fit", the publication should preferably be placed adjacent to another previously- scheduled publication so as to minimize (i.e., eliminate completely) one of the two "potential publication gaps" inherent in this situation. If the publication cannot be placed adjacent to a previously-scheduled publication, it should be placed so that the larger of the two "potential publication gaps" is maximized. That is, if publication adjacency not possible, it is better to position it such that the two "potential publication gaps" created by its presence are as different in size as possible (i.e., one large and one small).
Likewise, if more than one qualifying publication gap is available and none are perfect fits, the back-calculation publication should be placed in the smallest publication gap to leave the larger publication gap unbroken for longer messages. Further, as above, the larger of the two "potential publication gaps" inherent in the smaller "not perfectly sized publication gap" is maximized. The underlying rationale is that a large "potential publication gap" has a greater potential of usage than two smaller ones since unscheduled messages vary in length, and longer messages can block other messages that are waiting in a queue to be transmitted over the network.
Finally, while it is preferable that the methodology include both steps 3.2 and 3.3, the scheduling of back-publications according to step 3.3 can be performed in conjunction with other scheduling algorithms.
3.4 After all schedule elements have been assigned, find the schedule element that is earliest in time (which may be negative), and adjust it to have an offset within the macrocycle of zero and adjust all other elements by the same amount so as to retain the same relative positions within the schedule. Moreover, as not all schedules may be short enough in time duration to fit within a given macrocycle period validity checks should ideally be made and errors presented to the user.
EXAMPLES OF THE PREFERED EMBODIMENTS
The examples that follow illustrate the application of this methodology and serve to highlight the benefits. 4.0 Example 1 : Two Simple Loops, Control in Actuator
As shown in FIG. 1 , when simple loop control is co-resident with the actuator, there is only one publication from the transmitter to the actuator for each loop.
4.1 Natural Link Schedule
The natural link schedule set forth below, and reflected in FIG. 2, indicates that the blocks of the first loop are executed first, in natural sequence. The second loop sequences identically, but does not start until the first loop completes its execution in its entirety. (The time offsets are in milliseconds.)
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
AM PUB 30 14 44 827 812
PID1 exec 44 70 114
AO1 exec 114 45 159
AI2 exec 159 30 189
AI2 PUB 189 14 203 145 130
PID2 exec 203 70 273 '
AO2 exec 273 45 318
972 942
4.2 Optimized Link Schedule
The optimized link schedule is set forth below and is reflected in FIG. 3. Under the assumption that the first sequence is assigned to the schedule before the second sequence, the second sequence is assigned via 3.2.4 to the link at the beginning of the macrocycle. It then is adjusted via 3.2.4.1 to minimize the delay between the elements. In this way, and as reflected below and in FIG. 3, the entire scheduled portion of the macrocycle is shortened significantly. (The time offsets are in milliseconds.)
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
AM PUB 30 14 44 972 957
PID1 exec 44 70 114
AO1 exec 114 45 159
AI2 exec 14 30 44
AI2 PUB 44 14 58 0 0
PID2 exec 58 70 128
AO2 exec 128 45 173
972 957
4.3 Ratios of Improvement
Since the two publications are placed adjacent to one another, there is a slight improvement in the publication factor. Most dramatic, however, is the 46% improvement in macrocycle utilization.
Latency Factor: 100%
Latency Improvement: 0%
Publication gap Factor: 98%
Publication Improvement: 2%
Macrocycle Utilization Factor: 54%
Macrocycle Utilization Improvement: 46%
5.0 Example 2: Two Simple Loops, Control in Transmitter Although the functionality is identical to the previous example (two simple control loops), the link scheduling differs. When simple loop control is coresident with the transmitter, there are two publications: one, the output from the controller to the actuator, and a second, the back-calculation parameter from the actuator back to the controller. As indicated in FIG. 4, these occur for each of the two loops.
5.1 Natural Link Schedule
As indicated below, and as reflected in FIG. 5, the natural link schedule executes the blocks of the first loop first with the publication of the PIDI's output done as soon as the value is calculated, and the back-calculation of the actuator published as soon as it is available. The second loop sequences identically, but does not start until the first loop completes its execution in its entirety, including the back-calculation.
Schedule
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
PID1 exec 30 70 100
PID1 PUB 100 14 114 754 739
AO1 Exec 114 45 159
AO1-BK PUB 159 14 173 45 30
AI2 exec 173 30 203
PID2 exec 203 70 273
PID2 PUB 273 14 287 100 85
AO2 Exec 287 45 332
AO2-BK PUB 332 14 346 45 30
944 884
5.2 Optimized Link Schedule Under the assumption that the first sequence is assigned to the schedule before the second sequence, the second sequence is assigned via 3.2.4 to the link at the beginning of the macrocycle. It then is adjusted via 3.2.4.1 to minimize the delay between the elements. Therefore, as shown below and reflected in FIG. 6, the entire scheduled portion of the macrocycle is shortened significantly, permitting more to be done within it.
The back-calculation publications are adjacent to one another. Accordingly, the original publication gap that they severed cannot be made any more unequal given that the back-calculation publications cannot be issued earlier than the completion of their respective PID function block executions; and issuing them just before their respective requiring PID function block executions in the next cycle would form less unequal publication gaps.
Schedule
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
PID1 exec 30 70 100
PID1 PUB 100 14 114 913 898
AO1 Exec 114 45 159
AO1-BK PUB 159 14 173 31 16
AI2 exec 14 30 44
PID2 exec 44 70 114
PID2 PUB 114 14 128 0 0
AO2 Exec 128 45 173
AO2-BK PUB 173 14 187 0 0
944 914
5.3 Ratios of Improvement
Since neither loop has removable latency, no latency improvement is attained. However, because the two publications are placed adjacent to one another, there is a slight improvement in the publication factor. Most dramatic, however, is the 46% improvement in macrocycle utilization.
Latency Factor: 100%
Latency Improvement: 0%
Publication gap Factor: 98%
Publication Improvement: 2%
Macrocycle Utilization Factor: 54%
Macrocycle Utilization Improvement: 46%
6.0 Example 3: Triple Signal Selector
/
When triple redundant inputs are used, an input-selector block chooses one- -or the average of some or all of the inputs— depending on the goals of the configuration. FIG. 7 sets forth an example using a triple signal selector.
6.1 Natural Link Schedule
As shown below, and as reflected in FIG. 8, the natural link schedule executes the first Al block that immediately publishes its output. Then, the second Al block is executed, publishing its output immediately. Next, the third Al block is executed, publishing its output immediately. Finally, the Input-Selector block executes, followed by the PID and AO blocks.
Schedule
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
AH PUB 30 14 44 898 883
AI2 exec 44 30 74
AI2 PUB 74 14 88 30 0
AI3 exec 88 30 118
AI3 PUB 118 14 132 30 0 ISel exec 132 30 162
PID exec 162 70 232
AO exec 232 45 277
958 883
6.2 Optimized Link Schedule
To minimize skew, "No-Sample-Skew" can be selected and all three values can be simultaneously sampled in the three independent devices. Hence, as shown below and as reflected in FIG. 9, all three Al blocks execute at the same phase of 0ms. Then, the ISel, PID, and AO execute in sequence. Accordingly, blocks utilizing the data do not encounter differing latencies from the various inputs and macrocycle utilization is improved significantly.
if on the other hand, No-Sample-Skew been set to OFF, AH , AI2, and AI3 would start to execute at 0, 14, and 28ms respectively, and their respective publications would be remain scheduled in sequence immediately after each Al had finished executing, i.e., at 30, 44, and 58ms. Nevertheless, whether or not the Al block executions are simultaneous or skewed, they always must be published individually, in order of priority.
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
AH PUB 30 14 44 958 943
AI2 exec 0 30 30
AI2 PUB 44 14 58 0 0
AI3 exec 0 30 30
AI3 PUB 58 14 72 0 0
ISel Exec 72 30 102
PID Exec 102 70 172 AO Exec 172 45 217
958 913
6.3 Ratios of Improvement
By executing all Als in parallel, the latency and macrocycle utilization factors improved by 22%. By publishing all three publications adjacent to one another, the two small gaps were removed, improving the availability of the link bandwidth for other uses.
Latency factor: 78%
Latency Improvement: 22%
Publication gap factor: 94%
Publication Improvement: 6%
Macrocycle Utilization Factor: 78%
Macrocycle Improvement: 22%
7.0 Example 4: Triple Cascade
In a cascade application, the outermost Al function blocks typically sample the slowest moving process variables (such as temperature) and the innermost Al function blocks typically sample the fastest moving process variables (such as pressure or flow). FIG. 10 sets forth an example of a typical application.
7.1 Natural Link Schedule
As shown below and reflected in FIG. 11 , the natural link schedule executes the first Al function block and its controller and then follows the path of connections within each device, beginning with Al function block, towards the AO function block. It also includes the execution of the integrator function block in its natural diagrammatic location.
Schedule Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
PID1 exec 30 60 90
PID1 PUB 90 14 104 136 121
AI4 exec 104 30 134
AI4 PUB 134 14 148 30 0
AI2 exec 148 30 178
PID2 exec 178 60 238
PID2 PUB 238 14 252 90 75
PID2-BK PUB 252 14 266 0 0
AI3 exec 266 30 296
AI3 PUB 296 14 310 30 0
Arith exec 310 35 345
Integrator exec 345 35 380
PID3 exec 380 60 440
PID3-BK PUB 440 14 454 130 115
AO exec 454 45 499
416 311
7.2 Optimized Link Schedule
The sequence chart below sets forth and prioritizes the sequences in Example 4.
Sequence Chart: Including Type and Period Based on FIG. .0
Figure imgf000030_0001
Figure imgf000031_0001
t Sequences of input-to-output blocks are control loop sequences Sequences of input-to-control blocks are cascade loop sequences Sequences of input alone or input-to-other blocks are monitoring sequences
The optimized link schedule is created using the sequence chart above and the steps described below. The optimized link schedule set forth below, and reflected in FIG. 12, is created as follows:
A. Sequence ID #1 is scheduled first since it is the highest priority unscheduled sequence. It is the highest priority in light of its speed (.5 seconds) and its type (control).
1. AI3 exec
2. AI3 PUB
3. Arith exec
4. PID3 exec
5. AO exec
B. The loop with the next highest priority and its associated publications, ID #5, is then "pulled into" the existing schedule relative to the input needs of PID3, avoiding any potential conflicts with executions and publications. Sequence ID #5 was chosen as the second sequence since it possessed the "smallest" (fastest) period of the remaining non-monitoring type sequences (i.e., sequences 3, 5, and 6) and is a "cascade" sequence. The output of the sequence's blocks (AI2-PID2) is needed by PID3 exec, just prior to execution, so PID2 PUB is scheduled in reverse order from that need.
6. PID2 PUB
7. PID2 exec
8. AI2 exec
C. Sequences ID #3 and #6 are both involved in control and unassigned portions execute at a 2-second period. Sequence ID #3 takes precedence, however, since it is a control sequence and ID #6 is a cascade sequence. Since the output of the sequence is used by the Arithmetic block, it is scheduled in reverse from that need. However, since AI3 publishes its output immediately prior to the execution of the Arithmetic block, AI4's publication is retreated so that it completes just prior to the start of AI3's publication.
9. AI4 PUB
10. AI4 exec
D. The only remaining sequence involved in control is identified to be sequence #6. This cascade sequence ends with PIDI's publication, which is needed by the previously scheduled PID2 block. Hence, PID1 PUB is scheduled to complete immediately before the execution of PID2. Further, PID1 is scheduled so as to complete just before the publication is scheduled; and the AH block is scheduled to execute completely just before the PID1 block executes.
11. PID1 PUB
12. PID1 exec
13. AH exec
E. At this point, there are no remaining sequences involved in control with unscheduled blocks. Thus, the monitoring sequences with unscheduled blocks are next scheduled (i.e., sequences #2 and #4). Since AI3, AI4, and the Arithmetic block have already been scheduled, the Integrator block is the only remaining unscheduled block in both of these sequences. Accordingly, either may be selected for scheduling next.
Since the Integrator's input is dependent on the execution of the Arithmetic block, it is scheduled to execute as soon as possible after the Arithmetic block has completed execution. However, since the Integrator resides in the same single-application processor as PID3 and AO, which have been previously scheduled in accordance with their higher priority, the Integrator cannot be scheduled until immediately after the AO completes its execution.
12. Integrator exec
F. Finally, back-calculation publications are scheduled within their "available"-to-"needed" time range so that they are placed adjacent to other publications in accordance with 3.3. PID3 is the innermost of the cascaded control blocks so it is higher priority, with PID2 next. (PID1 need not publish its back-calculation output because there are no blocks that require it.)
More specifically, PID3 BK is available for publication when PID3 completes its execution and its publication must be completed by the time PID2 starts its execution. Accordingly, it can be scheduled after PID3 completes until the end of the macrocycle or from the start of the macrocycle up to the time that PID2 starts execution (less its publication duration time). There is only one other publication already scheduled within those bounds, and that is PIDI's publication. Since it cannot be published after that (i.e., it is too late), it is scheduled just prior to PID1 PUB. Accordingly, this adjacency eliminates a "potential publication gap" in accordance with Section 3.3.
PID2 BK is available for publication when PID2 completes its execution and its publication must be completed by the time PID1 , its user, starts its execution. It can be scheduled from PID2's completion until the end of the macrocycle, or between the start of the macrocycle and the time that PID1 starts its execution (less the publication duration time). There is only one other publication already scheduled within those bounds, and that is PID2's publication. Since it cannot be published before PID2's publication (i.e., it is not ready yet), it is scheduled just after PID2's publication in order to eliminate a "potential publication gap" in accordance with Section 3.3.
13. PID3 BK PUB
14. PID2 BK PUB
Accordingly, the Optimized Link Schedule is as follows:
Schedule
Pub Usable
Function Start Length End Gap Gap
AH exec 0 30 30
PID1 exec 30 60 90
PID1 PUB 90 14 104 0 0
AI4 exec 85 30 115
AI4 PUB 115 14 129 11 0
AI2 exec 74 30 104
PID2 exec 104 60 164
PID2 PUB 164 14 178 21 0
PID2-BK PUB 178 14 192 0 0
AI3 exec 99 30 129
AI3 PUB 129 14 143 0 0
Arith exec 143 35 178
Integrator exec 283 35 318
PID3 exec 178 60 238
PID3-BK PUB 76 14 90 384 369
AO exec 238 45 283
416 369
7.3 Ratios of Improvement By utilizing parallel executions and moving the executions of the integrator and PID3-BKPUB until after the execution of the final control element, the latency of the most critical loop improved by 21% and the macrocycle utilization factor improved by 43%. By executing publications adjacent to one another, there was a publication improvement of 4%.
Latency factor: 79%
Latency Improvement: 21%
Publication gap factor: 96%
Publication improvement: 4%
Macrocycle Utilization Factor: 57%
Macrocycle Improvement: 43%
The present invention has been described herein primarily as a method for optimising a Foundation FIELDBUS link schedule. However, it will be appreciated by those skilled in the art that the invention is not limited to this particular field of use and can be applicable and used to advantage in any communication network that operates on a periodically-executed schedule.
It, therefore, will be obvious to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims

CLAIMSWhat is clamed is: :
1. A method for creating a link schedule for a network that communicates in accordance to a periodically executed schedule, the method including the steps of: identifying a plurality of function blocks requiring execution; identifying each of the function blocks as a member of one or more groups; prioritizing the groups such that each group has a priority relative to the other groups; and scheduling each of the groups containing at least one unscheduled function block, one group at a time, in an order based on the priority of each group for communication on the network.
2. The method of claim 1 further including the step of:
identifying each non-back-calculation publication associated with each function block.
3. The method of claim 2 wherein the group scheduling further includes minimizing delays between one or more elements within each group.
4. The method of claim 3 wherein the group scheduling further includes minimizing delays between certain groups.
5. The method of claim 4 wherein the group scheduling further includes minimizing delays between: a) the completion of execution of a primary connection output- producing function block and the initiation of execution of the function block directly inputting the primary connection output produced by the primary connection output producing function block; b) the completion of execution of a non-back-calculation publication- producing function block, and the non-back-calculation publication produced by the non-back-calculation publication producing function block; and c) the initiation of execution of a non-back-calculation publication- inputting function block, and the non-back-calculation publication input by the non-back-calculation inputting block.
6. The method of claim 5 wherein the delay minimizing is subject to: a) a function block scheduling limitation prohibiting the execution times of two function blocks associated with one single-application processor device from overlapping; and b) a publication scheduling limitation prohibiting the execution times of any two publications from at least partially overlapping such that each of the following is prohibited: two non-back-calculation publications at least partially overlapping, two back-calculation publications at least partially overlapping, and a non-back-calculation publication at least partially overlapping with a back-calculation publication.
7. A method for creating a link schedule for a network that communicates in accordance to a periodically executed schedule, the method including the steps of: identifying a plurality of function blocks requiring execution; identifying each of the function blocks as a member of one or more groups; prioritizing the groups such that each group has a priority relative to the other group based on at least one of: a group type associated with each respective group; a period length associated with each respective group; and scheduling each of the groups containing at least one unscheduled function block, one group at a time, in an order based on the priority of each group for communication on the network.
8. The method of claim 7 wherein the groups are further prioritized such that each group has a priority relative to the other group based on a group type that is within a period length associated with each respective group.
9. The method of claim 8 wherein the group prioritizing is based on a period length associated with each respective group and a group type associated with each respective group, wherein: each of the period lengths that is relatively shorter has higher priority than each of the period lengths that is relatively longer; each of the groups that is a monitoring type has a lower priority than each of the groups that is not a monitoring type; and when a cascade type group and a control type group have period lengths of equal size, the control type group has a higher priority than the cascade type group.
10. The method of claim 9 wherein the group scheduling further includes scheduling each group containing at least one scheduled function block as early in the schedule as possible when all of the unscheduled blocks in the group are independent and that each respective unscheduled block in the independent group: does not produce a primary connection output that is directly input by a function block having an execution time within the schedule; does not produce a non-back-calculation publication directly input by a function block having an execution time within the schedule; does not directly input a non-back-calculation publication produced by a function block having an execution time within the schedule; and does not directly input a primary connection output produced by a function block having an execution time within the schedule.
11. The method of claim 10 wherein the early scheduling further includes adjusting the unscheduled blocks in each respective independent group within the schedule to minimize any delay between one or more elements within each respective independent group.
12. The method of claim 11 wherein the early scheduling further includes adjusting the independent unscheduled blocks in each respective independent group within the schedule to minimize any delay between: a) the completion of execution of a primary connection output producing function block, and the initiation of execution of the function block directly inputting the primary connection output produced by the primary connection output producing function block; b) the completion of execution of a non-back-calculation publication producing function block, and the non-back-calculation publication produced by the non-back-calculation publication producing function block; and c) the initiation of execution of a non-back-calculation publication inputting function block, and the completion of the non-back-calculation publication input by the non-back-calculation inputting block.
13. A method for creating a link schedule for a network that communicates in accordance to a periodically executed schedule, the method including the steps of: identifying a plurality of function blocks requiring execution; identifying each of the function blocks as a member of one or more groups; prioritizing the groups such that each group has a priority relative to the other group based on at least one of: a group type associated with each respective group; a period length associated with each respective group; scheduling each of the groups containing at least one unscheduled function block, one group at a time, in an order based on the priority of each group; identifying any back-calculation publication associated with each respective function block requiring execution; and assigning each respective back-calculation publication a publication time within the schedule, within a time window of eligibility associated with the respective back-calculation publication, such that at least a first potential publication gap is minimized, or alternatively a second potential publication gap is maximized.
14. The method of claim 13 wherein the groups are further prioritized such that each group has a priority relative to the other group based on a group type that is within a period length associated with each respective group.
15. The method of claim 14 wherein each group is a sequence and each sequence is a group of function blocks wherein an input associated with each function block is dependent on a primary connection output associated with an immediately-preceding function block, except for the function block beginning the sequence.
16. The method of claim 15 wherein each group is a sequence and each sequence is a single function block that does not input another function block's primary connection output and does not produce a primary connection output that is input by another function block.
17. The method of claim 16 wherein each sequence is formed by one of: identifying a function block that does not input another block's primary connection output as the beginning block, and following a path of function blocks from the beginning block such that an input associated with each function block, except the beginning block, is dependent on a primary connection output associated with an immediately-preceding function block; and determining if a function block is single, and does not input another function block's primary connection output and does not produce a primary connection output that is input by another function block.
18. The method of claim 17 wherein at least one of the identified beginning function blocks is an input class function block.
19. The method of claim 18 wherein the link schedule communicates on a mixed network that includes at least one FIELDBUS.
20. The method of claim 19 wherein the FIELDBUS is a FOUNDATION™ FIELDBUS.
21. The method of claim 12 wherein the link scheduled communicates on a mixed network that includes at least one FIELDBUS.
22. The method of claim 21 wherein the FIELDBUS is a FOUNDATION™ FIELDBUS.
23. The method of claim 6 wherein the link schedule communicates on a mixed network that includes at least one FIELDBUS.
24. The method of claim 23 wherein the FIELDBUS is a FOUNDATION™ FIELDBUS.
PCT/US2003/033577 2002-10-29 2003-10-22 Method for optimizing a link schedule WO2004040866A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
AU2003282997A AU2003282997B2 (en) 2002-10-29 2003-10-22 Method for optimizing a link schedule
JP2004548427A JP2006505189A (en) 2002-10-29 2003-10-22 How to optimize the link schedule
EP03774930A EP1566021A2 (en) 2002-10-29 2003-10-22 Method for optimizing a link schedule

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/283,766 2002-10-29
US10/283,766 US7363380B2 (en) 2002-10-29 2002-10-29 Method for optimizing a link schedule

Publications (2)

Publication Number Publication Date
WO2004040866A2 true WO2004040866A2 (en) 2004-05-13
WO2004040866A3 WO2004040866A3 (en) 2004-08-05

Family

ID=32107552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2003/033577 WO2004040866A2 (en) 2002-10-29 2003-10-22 Method for optimizing a link schedule

Country Status (6)

Country Link
US (2) US7363380B2 (en)
EP (1) EP1566021A2 (en)
JP (1) JP2006505189A (en)
CN (1) CN1729653A (en)
AU (1) AU2003282997B2 (en)
WO (1) WO2004040866A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442709C (en) * 2005-06-17 2008-12-10 华为技术有限公司 Apparatus operation method in network management system

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7822060B2 (en) * 2004-07-14 2010-10-26 Coppergate Communications Ltd. Maximal resource utilization in networks
US7743192B2 (en) * 2007-03-18 2010-06-22 Moxa Inc. Method of determining request transmission priority subject to request content and transmitting request subject to such request transmission priority in application of Fieldbus communication framework
FR2931603B1 (en) * 2008-05-21 2010-08-13 Peugeot Citroen Automobiles Sa METHOD FOR THE TIME-SPREAD MANAGEMENT OF MESSAGE EMISSIONS OF EQUIPMENT CONNECTED TO A MULTIPLEX BUS, AND ASSOCIATED DEVICE
CN101534230B (en) * 2009-04-15 2012-02-01 中控科技集团有限公司 A method for sending data based on Ethernet, Ethernet nodes and a control system
US8229578B2 (en) * 2009-09-21 2012-07-24 Fisher-Rosemount Systems, Inc. Methods and apparatus to manage module run sequences in a process control environment
US8418182B2 (en) 2010-08-16 2013-04-09 Clear Channel Managment Services, Inc. Method and system for controlling a scheduling order per category in a music scheduling system
US9898499B2 (en) 2010-08-16 2018-02-20 Iheartmedia Management Services, Inc. Multimedia scheduling for airplay with alternate category support
US10908794B2 (en) 2010-08-16 2021-02-02 Iheartmedia Management Services, Inc. Automated scheduling of multimedia content avoiding adjacency conflicts
US8490099B2 (en) 2010-08-16 2013-07-16 Clear Channel Management Services, Inc. Method and system for controlling a scheduling order per daypart category in a music scheduling system
CN110658832B (en) * 2019-09-17 2021-04-20 华中科技大学 Underwater unmanned ship communication system suitable for complex working conditions

Family Cites Families (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615236A (en) * 1995-03-29 1997-03-25 Trimble Navigation Limited Method and apparatus for direct re-acquisition of precision-code after a short power interruption
US5768119A (en) * 1996-04-12 1998-06-16 Fisher-Rosemount Systems, Inc. Process control system including alarm priority adjustment
US5995916A (en) * 1996-04-12 1999-11-30 Fisher-Rosemount Systems, Inc. Process control system for monitoring and displaying diagnostic information of multiple distributed devices
US7146230B2 (en) * 1996-08-23 2006-12-05 Fieldbus Foundation Integrated fieldbus data server architecture
US6424872B1 (en) * 1996-08-23 2002-07-23 Fieldbus Foundation Block oriented control system
US6047222A (en) * 1996-10-04 2000-04-04 Fisher Controls International, Inc. Process control network with redundant field devices and buses
BR9712194A (en) * 1996-10-04 1999-08-31 Fisher Controls Int Interface between a communications network and a process control system, software program that implements an interface between a communications network and a process control system to run on a processor, manufacturing article implementing a software program interface between a communications network and a process control system to run on a processor; and, an interface adapted to be coupled between a remote communications network and a process control system.
US6044305A (en) * 1996-10-04 2000-03-28 Fisher Controls International, Inc. Method and apparatus for debugging and tuning a process control network having distributed control functions
US5970430A (en) * 1996-10-04 1999-10-19 Fisher Controls International, Inc. Local device and process diagnostics in a process control network having distributed control functions
CN101135906A (en) * 1996-10-04 2008-03-05 费希尔控制产品国际有限公司 Maintenance interface device for use in a process control network
US5854890A (en) * 1996-10-15 1998-12-29 National Instruments Corporation Fieldbus function block shell with user selectable data ownership
US5978850A (en) * 1997-07-02 1999-11-02 National Instruments Corporation System and method for accessing parameters in a fieldbus network using a tag parameters interface
US6114991A (en) * 1997-09-11 2000-09-05 Lucent Technologies, Inc. Auxiliary system for assisting a wireless terminal in determining its position from signals transmitted from a navigation satellite
US5971581A (en) * 1997-09-17 1999-10-26 National Instruments Corp. Fieldbus network configuration utility with improved scheduling and looping
US6076952A (en) * 1997-09-17 2000-06-20 National Instruments, Corp. Fieldbus network configuration utility with improved parameter control
US6014612A (en) * 1997-10-02 2000-01-11 Fisher Controls International, Inc. Remote diagnostics in a process control network having distributed control functions
US6088665A (en) * 1997-11-03 2000-07-11 Fisher Controls International, Inc. Schematic generator for use in a process control network having distributed control functions
US6133873A (en) * 1998-06-03 2000-10-17 Krasner; Norman F. Method and apparatus for adaptively processing GPS signals in a GPS receiver
US6285966B1 (en) * 1998-06-25 2001-09-04 Fisher Controls International, Inc. Function block apparatus for viewing data in a process control system
US6738388B1 (en) * 1998-09-10 2004-05-18 Fisher-Rosemount Systems, Inc. Shadow function block interface for use in a process control network
US6298454B1 (en) * 1999-02-22 2001-10-02 Fisher-Rosemount Systems, Inc. Diagnostics in a process control system
US6633782B1 (en) * 1999-02-22 2003-10-14 Fisher-Rosemount Systems, Inc. Diagnostic expert in a process control system
US6915364B1 (en) * 1999-07-02 2005-07-05 Fisher Rosemount Systems, Inc. Automatically downloaded link active schedule
US6618745B2 (en) * 1999-09-10 2003-09-09 Fisher Rosemount Systems, Inc. Linking device in a process control system that allows the formation of a control loop having function blocks in a controller and in field devices
US6721609B1 (en) * 2000-06-14 2004-04-13 Fisher-Rosemount Systems, Inc. Integrated optimal model predictive control in a process control system
US7069580B1 (en) * 2000-06-16 2006-06-27 Fisher-Rosemount Systems, Inc. Function-based process control verification and security in a process control system
US6947389B1 (en) * 2000-06-30 2005-09-20 Fisher-Rosemount Systems, Inc. Two-mode foundation fieldbus device configurator
US6944681B1 (en) * 2000-09-08 2005-09-13 Fisher-Rosemount Systems, Inc. Probing algorithm for foundation fieldbus protocol
US7200448B2 (en) * 2001-11-27 2007-04-03 Rockwell Automation Technologies, Inc. System and method for function block execution order generation
US6978186B2 (en) * 2002-03-22 2005-12-20 International Rectifier Corporation Modular functional block for an electronic control system
US7062580B2 (en) * 2002-09-20 2006-06-13 Smar Research Corporation Logic arrangement, system and method for configuration and control in fieldbus applications

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CAVALIERI S ET AL: "Enhancing performance in FieldBus communication systems" , EMERGING TECHNOLOGIES AND FACTORY AUTOMATION, 1996. EFTA '96. PROCEEDINGS., 1996 IEEE CONFERENCE ON KAUAI, HI, USA 18-21 NOV. 1996, NEW YORK, NY, USA,IEEE, US, PAGE(S) 609-615 XP010204173 ISBN: 0-7803-3685-2 the whole document *
HODSON W R: "CONFIGURATION TOOLS TO EXPLOIT FIELDBUS" , ISA TECH/EXPO TECHNOLOGY UPDATE, INSTRUMENT SOCIETY OF AMERICA, SALEM, MA, US, VOL. 2, NR. PART 5, PAGE(S) 15-22 XP000875222 ISSN: 1054-0032 the whole document *
RAJA P ET AL: "Priority polling and dynamic time-window mechanisms in a multicycle Fieldbus" , COMPEURO '93. 'COMPUTERS IN DESIGN, MANUFACTURING, AND PRODUCTION', PROCEEDINGS. PRIS-EVRY, FRANCE 24-27 MAY 1993, LOS ALAMITOS, CA, USA,IEEE COMPUT. SOC, US, PAGE(S) 452-460 XP010096105 ISBN: 0-8186-4030-8 figures 1-5 page 452 -page 456 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442709C (en) * 2005-06-17 2008-12-10 华为技术有限公司 Apparatus operation method in network management system

Also Published As

Publication number Publication date
AU2003282997B2 (en) 2008-03-06
EP1566021A2 (en) 2005-08-24
US20080229317A1 (en) 2008-09-18
US20040081162A1 (en) 2004-04-29
CN1729653A (en) 2006-02-01
US7363380B2 (en) 2008-04-22
WO2004040866A3 (en) 2004-08-05
JP2006505189A (en) 2006-02-09
US7945682B2 (en) 2011-05-17
AU2003282997A1 (en) 2004-05-25

Similar Documents

Publication Publication Date Title
US7945682B2 (en) Method for optimizing a link schedule
EP1244963B1 (en) Task scheduling and message passing
US8924976B2 (en) Task scheduling method and apparatus
Lonn et al. A comparison of fixed-priority and static cyclic scheduling for distributed automotive control applications
KR100330952B1 (en) Method and system for replication supported in a remote method invocation system
Lu et al. A class of on-line scheduling algorithms to minimize total completion time
Peha Heterogeneous-criteria scheduling: minimizing weighted number of tardy jobs and weighted completion time
Lehoczky Using real-time queueing theory to control lateness in real-time systems
Quan et al. On-line traffic scheduling optimization in IEEE 802.1 Qch based time-sensitive networks
Towsley et al. Optimality of the stochastic earliest deadline policy for the G/M/c queue serving customers with deadlines
EP0880094A2 (en) Control system
Henderson et al. Improving the accuracy of scheduling analysis applied to distributed systems computing minimal response times and reducing jitter
Sun et al. Bounding completion times of jobs with arbitrary release times, variable execution times and resource sharing
Chatterjee et al. Distributed pipeline scheduling: end-to-end analysis of heterogeneous, multi-resource real-time systems
Jonsson et al. Robust adaptive metrics for deadline assignment in distributed hard real-time systems
Dutot et al. Online non-preemptive scheduling to optimize max stretch on a single machine
Han et al. Online scheduling switch for maintaining data freshness in flexible real-time systems
Sarkar et al. Frame-based proportional round-robin
Atif et al. On-line optimization techniques for dynamic scheduling of real-time tasks
US11895037B2 (en) Processing device, relocation method, and relocation program
Zuberek Analysis of performance bottlenecks in multithreaded multiprocessor systems
Kim et al. Period and priority assignment method for DCS design
Gu et al. Design and analysis for dual priority scheduling
Le Lann et al. Real-time local area networks: some design and modeling issues
Jin et al. Scheduling design of controllers with fuzzy deadline

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2004548427

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2003282997

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: 2003774930

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 20038A72115

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2003774930

Country of ref document: EP