A Mechanism to Prevent Stuff Bits in CAN for Achieving Jitterless Communication

The bit stuffing mechanism adopted in controller area networks leads to unwanted jitter on frame reception times, which worsens timing accuracy, even if countermeasures are adopted to avoid contentions on the bus. Several solutions have been proposed so far for dealing with stuff bits in the payload of messages, but they are not effective for the cyclic redundancy check. In this paper, a mechanism is presented that prevents the occurrence of stuff bits in the whole frame completely. It makes the duration of frame transmissions fixed and, hence, it achieves very accurate reception times. An optimized codec has been implemented to demonstrate that this approach is feasible and can be profitably adopted in low-cost networked embedded systems with demanding timing constraints.

[1]  Thomas Nolte,et al.  Minimizing CAN response-time jitter by message manipulation , 2002, Proceedings. Eighth IEEE Real-Time and Embedded Technology and Applications Symposium.

[2]  Yang Wang,et al.  Holistic Scheduling of Real-Time Applications in Time-Triggered In-Vehicle Networks , 2014, IEEE Transactions on Industrial Informatics.

[3]  Julian Proenza,et al.  Design and Verification of a Media Redundancy Management Driver for a CAN Star Topology , 2013, IEEE Transactions on Industrial Informatics.

[4]  Gianluca Cena,et al.  Software-based assessment of the synchronization and error handling behavior of a real CAN controller , 2013, 2013 IEEE 18th Conference on Emerging Technologies & Factory Automation (ETFA).

[5]  Joachim Charzinski Performance of the Error Detection Mechanisms in CAN , 1994 .

[6]  Yuanqing Xia,et al.  Stability Analysis of Discrete-Time Systems With Quantized Feedback and Measurements , 2013, IEEE Transactions on Industrial Informatics.

[7]  Alberto L. Sangiovanni-Vincentelli,et al.  Using Statistical Methods to Compute the Probability Distribution of Message Response Time in Controller Area Network , 2010, IEEE Transactions on Industrial Informatics.

[8]  Mo-Yuen Chow,et al.  Networked Control System: Overview and Research Trends , 2010, IEEE Transactions on Industrial Electronics.

[9]  Wolfgang Schröder-Preikschat,et al.  Sloth on Time: Efficient Hardware-Based Scheduling for Time-Triggered RTOS , 2012, 2012 IEEE 33rd Real-Time Systems Symposium.

[10]  Huijun Gao,et al.  Network-Induced Constraints in Networked Control Systems—A Survey , 2013, IEEE Transactions on Industrial Informatics.

[11]  Gianluca Cena,et al.  On a family of run length limited, block decodable codes to prevent payload-induced jitter in Controller Area Networks , 2013, Comput. Stand. Interfaces.

[12]  Michael Short,et al.  Improving information throughput and transmission predictability in Controller Area Networks , 2010, 2010 IEEE International Symposium on Industrial Electronics.

[13]  Thomas Nolte,et al.  Using bit-stuffing distributions in CAN analysis , 2001 .

[14]  Gianluca Cena,et al.  Performance evaluation and improvement of the CPU-CAN controller interface for low-jitter communication , 2012, Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012).

[15]  Michael J. Pont,et al.  Reducing message-length variations in resource-constrained embedded systems implemented using the Controller Area Network (CAN) protocol , 2009, J. Syst. Archit..

[16]  Gianluca Cena,et al.  Effect of jitter-reducing encoders on CAN error detection mechanisms , 2014, 2014 10th IEEE Workshop on Factory Communication Systems (WFCS 2014).

[17]  Gianluca Cena,et al.  Fixed-Length Payload Encoding for Low-Jitter Controller Area Network Communication , 2013, IEEE Transactions on Industrial Informatics.

[18]  Manel Velasco,et al.  Runtime Allocation of Optional Control Jobs to a Set of CAN-Based Networked Control Systems , 2010, IEEE Transactions on Industrial Informatics.

[19]  Gianluca Cena,et al.  Performance comparison of mechanisms to reduce bit stuffing jitters in controller area networks , 2012, Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012).