ABSTRACT
With wide application of fieldbus in the industrial-controlling areas, how to
communicate in a speedy, stable and highly effective way has now become one of hot
topics in fieldbus area. In this thesis, we adopt FTTCAN protocol as the transfer
protocol of CAN bus system, and advance two improved algorithm----LVDF algorithm
and ELVDF algorithm, based on LLF algorithm and HVDF algorithm.
Aimed at the defect of LLF algorithm and HVDF algorithm, we make some
improvement to advance LVDF algorithm, which synthesize laxity and value density to
design the priority assign strategy. LVDF algorithm is a middle algorithm between LLF
algorithm and HVDF algorithm, the scheduling performance of LLF algorithm and
HVDF algorithm reduce in some special conditions, but LVDF algorithm doesn’t.
Aimed at the deficiency of LVDF algorithm, we make further improvement to advance
ELVDF algorithm, when a task is scheduled in the scheduling process of this algorithm,
we must check the task before its schedule.
Meanwhile, we design the CAN node and build the experiment platform, then
design the program of the CAN node according to the different function of it in the
experiment platform to finish the software configuration of it. Based on it, we design
the experiment message and do the scheduling experiments of LLF algorithm, HVDF
algorithm, LVDF algorithm and ELVDF algorithm under 5 different system load
conditions. At last, we record experimental data, then do the statistics and analysis of it.
The experimental results indicate that LVDF algorithm and ELVDF algorithm
achieve their anticipative effect, the scheduling performance of ELVDF algorithm is
much better, especially under the condition of comparatively serious system overload,
the realized value ratio of ELVDF algorithm is 8% higher than LVDF algorithm at least,
the waste time of it is much less.
Key Word: CAN, scheduling algorithm, LLF,HVDF,LVDF,ELVDF