Comparative Analysis of Controller Area Network’s Migration Code in a “Shared-Clock” Environment

Migration Code Metric Analysis

Authors

  • Muhammad Amir Electrical Engineering Department, University of Engineering and Technology, Peshawar
  • Syed Waqar Shah Electrical Engineering Department, University of Engineering and Technology, Peshawar
  • Bilal ur Rehman Electrical Engineering Department, University of Engineering and Technology, Peshawar
  • Michael J. Pont SafeTTy Systems Ltd, United Kingdom

Keywords:

CAN, Topology, Migration, Code-Volume

Abstract

Industrial and automotive applications since long have been utilizing the Controller Area Network (CAN) protocol for their communications needs. History relating to the use of CAN suggests that although it is cost-effective and less complex; a lack of flexibility and an incomprehensive fault-management strategy makes its use scarce in safety-critical applications. This scarcity of CAN in safety related applications is primarily due the fact that this protocol was originally implemented using a bus-topology. Previously, through our research, a migration of CAN from bus to star topology was suggested. The results of which exhibited that such a migration positively impacted the flexibility and fault-management capability of CAN. Here, in this paper, a comparative analysis of the codes used for both CAN architectures (bus and star) is presented. The analysis exhibits that such a fruitful migration can be achieved through almost the same software-overhead and complexity as was in the original CANbus-based architecture.

References

Bosch, R. Controller Area Network Specifications 2.0. Postfach, Stuttgart, Germany, (1991).

Farsi, M. & M. Barbosa. CANopen Implementation: Application to Industrial Networks. UK Research Studies Press, Ltd. (2000).

Fredriksson, L. B. Controller Area Networks and Migration Code Metric Analysis 27 the protocol CAN for machine control systems. Mechatronics. 4(2): 59-192 (1994).

Etschberger, K. Controller Area Network: Basic Protocols, Chips and Applications. IXXAT Automation GmbH, (2001).

Pazul, K. Controller Area Network (CAN) Basics. Microchip Technology Inc, Preliminary DS00713A,Page-1 AN713, (1999).

Kelkar, S. & R. Kamal. Adaptive Fault Diagnosis Algorithm for Controller Area Network. IEEE Transactions on Industrial Electronics. 61(10):5527-5537 (2014).

Mary, G. I., A. C. Zachariah, & J. Lawrence. Reliability Analysis of Controller Area Network Based Systems – A Review. International Journal of Communications, Networks and System Sciences. 6 (4): 155-166 (2013).

Ayavoo, D., M. J. Pont, M. J. Short, & S. Parker, Two novel shared-clock scheduling algorithms for use with ‘Controller Area Network’ and related protocols. Journal of Microprocessors and Microsystems. 31 (5): 326-334 (2007).

Giuseppe, B., P. Juan, & Z. Alberto. Overcoming babbling-idiot failures in CAN networks: a simple and effective Bus Guardian solution for the FlexCAN architecture. IEEE Transactions on Industrial Informatics. 3 (3): 225-233 (2007).

Short, M. J. & M. J. Pont. Fault-tolerant timetriggered communication using CAN. IEEE Transactions on Industrial Informatics. 3(2): 131-142 (2007).

Manuel, B. P. Julian, N. Guillermo, & A. Luis. An active star topology for improving fault confinement in CAN networks. IEEE Transactions on Industrial Informatics. 2 (2): (2006).

TTA-Group. Time-Triggered Protocol TTP/C High-Level Specification Document. Protocol Version.1.1, 1.4.3 ed. Vienna, Austria, TTTECH. (2003).

FlexRay. FlexRay Communication System Protocol Specification Version 2.0. FlexRay Consortium.(2004).

Amir, M. Ayavoo, D. & Pont, M. J. A novel sharedclock scheduling protocol for fault-confinement in CAN-based distributed systems. Proceedings of the 5th IEEE International Conference on System of Systems, University of Loughborough, UK, pp. 1-6, 22nd-24th June, (2010).

Amir, M. & M. J. Pont. A time-triggered communication protocol for CAN-based networks with a fault-tolerant star topology. International Symposium on Advanced Topics on Embedded Systems and Applications (ESA2010) in conjunction with the 7th IEEE International Conference on Embedded Software & Systems, University of Bradford, UK, 29th June-July 1st, 2010.

Amir, M. & M. J. Pont. Improving flexibility and fault-management in CAN-based “Shared-Clock” architectures. Journal of Microprocessors and Microsystems. 37: 9-23 (2013).

http://www.feedback-instruments.com/products/education/process_control website accessed:09/04/2019.

Philips. LPC2119/2129/2194/2292/2294 Microcontroller User Manual. Philips Semiconductor, 2004.

https://www.olimex.com/Products/ website accessed: 09/04/2019.

McCabe, T. J. A complexity measure. IEEE Transactions on Software Engineering. 2 (4): (1976).

Elaine, J. W. Evaluating software complexity measures. IEEE Transactions on Software Engineering, 14(9): (1988).

Geoffrey, K. G. & F. K. Chris. Cyclomatic complexity density and software maintenance productivity. IEEE Transactions on Software Engineering. 17(12): (1991).

https://scitools.com/feature-category/metricsreports/website accessed: 09/04/2019.

https://scitools.com/ website accessed: 09/04/2019

Downloads

Published

2021-03-31

How to Cite

Amir, M. ., Shah, S. W. ., Rehman, B. ur ., & Pont, M. J. . (2021). Comparative Analysis of Controller Area Network’s Migration Code in a “Shared-Clock” Environment: Migration Code Metric Analysis. Proceedings of the Pakistan Academy of Sciences: A. Physical and Computational Sciences, 56(1), 21–28. Retrieved from http://www.ppaspk.org/index.php/PPAS-A/article/view/148

Issue

Section

Articles