The impact of bit stuffing on the real-time performance of a distributed control system

The bit-stuffing mechanism utilised by CAN causes the message transmission time to become (in part) a complex function of the contents of the data fields. This variation in transmission times makes it difficult to predict the precise behaviour of real-time systems implemented using CAN. Previous work in our laboratory has led to the development of a software-based compensation method which significantly reduces the impact of CAN bit stuffing on message transmission times. In the present paper, we focus on the impact of bit stuffing on a system implemented using a “SharedClock” scheduling method. We use a detailed Hardware-in-the-Loop (HIL) testbed to explore the behaviour of an Adaptive Cruise Control (ACC) system for use in a passenger car. Through the use of the testbed, we present quantitative results which demonstrate the impact of variations in the message transmission times on the performance of the ACC system. We go on to demonstrate the improvement in performance which results when the previously-mentioned compensation technique is employed. Finally, the memory and CPU resources required to implement this compensation are discussed.

[1]  Mark S. Young,et al.  Drive-by-wire: The case of driver workload and reclaiming control with adaptive cruise control , 1997 .

[2]  Michael J. Pont,et al.  Simulation of Vehicle Longitudinal Dynamics , 2004 .

[3]  Michael J. Pont Supporting the Development of Time-Triggered Co-Operatively Scheduled (TTCS) Embedded Software Using Design Patterns , 2003, Informatica.

[4]  Kang G. Shin,et al.  Non-preemptive scheduling of messages on controller area network for real-time control applications , 1995, Proceedings Real-Time Technology and Applications Symposium.

[5]  Michael J. Pont,et al.  Designing embedded systems using patterns: A case study , 2004, J. Syst. Softw..

[6]  José Luis Sevillano,et al.  Analysis of channel utilization for controller area networks , 1998, Comput. Commun..

[7]  Michael J. Pont,et al.  Development of a Hardware-in-the-Loop Test Facility for Distributed Embedded Systems , 2004 .

[8]  Lars-Berno Fredriksson Controller area networks and the protocol can for machine control systems , 1994 .

[9]  Syed Misbahuddin,et al.  Efficient data communication techniques for controller area network (CAN) protocol , 2003 .

[10]  Manuel Barbosa,et al.  CANopen Implementation: Application to Industrial Networks , 2000 .

[11]  Kyongsu Yi,et al.  A Throttle/Brake Control Law for Vehicle Intelligent Cruise Control , 2000 .

[12]  Thomas Nolte Reducing Pessimism and Increasing Flexibility in the Controller Area Network , 2003 .

[13]  Jean Pierre Thomesse,et al.  A review of the fieldbuses , 1998 .

[14]  Michael J. Pont Patterns for Time-Triggered Embedded Systems: Building Reliable Applications with the 8051 Family of Microcontrollers , 2001 .