Title :
Scheduling the CAN bus with earliest deadline techniques
Author :
Natale, Marco Di
Author_Institution :
Pisa Univ., Italy
Abstract :
Controller area networks (CANs) are widely used in real-time automobile control and are gaining wider acceptance as a standard for factory automation. This paper discusses the applicability of earliest-deadline-first (EDF) techniques to the scheduling of CAN messages. EDF can guarantee higher network utilization than fixed-priority schemes like deadline- or rate-monotonic (DM, RM), but it is difficult to implement in local area networks or local buses. The reason is the need for updating the deadlines (priorities) at each scheduling round and the limited number of priority levels offered by the arbitration protocol. This deadline encoding problem results in an additional priority inversion factor when considering the schedulability analysis of hard real-time messages. This paper describes an effective deadline encoding method and discusses its implementation and its effects on the guarantee analysis. In spite of a limited processor overhead (less than 5% of CPU time), the proposed EDF implementation allows an increase (up to 20%) in the feasible network workload. This tradeoff will be made more convenient as controller technology evolves
Keywords :
automotive electronics; controller area networks; encoding; factory automation; field buses; real-time systems; scheduling; CAN bus scheduling; CAN message scheduling; arbitration protocol; controller area networks; controller technology; deadline encoding method; deadline updating; deadline-monotonic scheduling; earliest-deadline-first techniques; factory automation; feasible network workload; fixed-priority scheduling; guarantee analysis; hard real-time messages; local area networks; local buses; network utilization; priority inversion; priority levels; priority updating; processor overhead; rate-monotonic scheduling; real-time automobile control; schedulability analysis; tradeoff; Automatic control; Automation; Automobiles; Bandwidth; Delta modulation; Dynamic scheduling; Encoding; Local area networks; Processor scheduling; Protocols;
Conference_Titel :
Real-Time Systems Symposium, 2000. Proceedings. The 21st IEEE
Conference_Location :
Orlando, FL
Print_ISBN :
0-7695-0900-2
DOI :
10.1109/REAL.2000.896015