Improved Automotive CAN Protocol Based on Payload Reduction and Selective Bit Stuffing
- 1 Department of Electronics and Communication Engineering, Sri Shakthi Institute of Engineering and Technology, Coimbatore, India
- 2 Department of Electronics and Communication Engineering, PSG College of Technology, Coimbatore, India
Abstract
In this research paper, the implementation strategies of automotive controller area network protocol are investigated and the short messaging scheme with selective bit stuffing method to improve the effective utilization of its bandwidth has been proposed. There would be a sharp decrease in the performance of traditional CAN protocol because of considerable increase in the number of ECUs (Electronic Control Units) and infotainment gadgets connected in the vehicle architecture. The demand for safety, emission, diagnostics and comfort norms has steeply increased the number of messages in the 250 Kbps CAN network as the computational power of ECUs has gone up. To overcome this problem, the short CAN method has been proposed and the work is benchmarked with SAEJ1939 Heavy commercial vehicle CAN standard. The Matlab Simulink based short CAN has been modeled and the performance of the proposed system has evaluated using virtual instrument cluster. Experimental results have shown that compared to the traditional CAN, the proposed method has reduced the worst case response time of CAN extended frame from 160 μ sec to 144 μ sec. Selective bit stuffing technique has reduced the impact of bit stuffing over the payload and improved the utilization factor for the CAN bus without affecting the CAN message ID properties. The proposed algorithm has been modeled and simulated using CAN Matlab model Simulink and it has been verified using virtual CAN tool and real time CAN bus hardware.
- Najafzadeh, S., Ithnin, N., Razak, S.A. and Karimi, R. (2014) BSM: Broadcasting of Safety Messages in Vehicular Ad Hoc Networks. Arabian Journal for Science and Engineering, 29, 777-782. http://dx.doi.org/10.1007/s13369-013-0686-y
- Hao, P. and Shun, Y. (2010) Computing Utilization Rate of Rate Monotonic Scheduling Mechanism in Controller Area Network. 2010 IEEE International Conference on Vehicular Electronics and Safety (ICVES), Qingdao, 15-17 July 2010, 133-137. http://dx.doi.org/10.1109/ICVES.2010.5550934
- Steve C. Talbot and ShangpingRen (2009) Comparison of Field Bus Systems, CAN, TTCAN, Flex Ray and LIN in Passenger Vehicles. 29th IEEE International Conference on Distributed Computing Systems Workshops, ICDCS Workshops’09, Montreal, 22-26 June 2009, 26-31. http://dx.doi.org/10.1109/ICDCSW.2009.15
- Nahas, M., Pont, M. and Short, M. (2009) Reducing Message Length Variations in Resource Constrained Embedded Systems Implemented Using CAN Protocol. Journal of Systems Architecture, 55, 344-354. http://dx.doi.org/10.1016/j.sysarc.2009.03.004
- Nolte, T., Hansson, H., Norstrom, C. and Punnekkat, S. (2001) Using Bit Stuffing Distribution in CAN Analysis. IEEE/IEE Real-Time Embedded Systems Workshop, London.
- Hassan, M.M. (2015) Bit Stuffing Techniques Analysis and a Novel Bit Stuffing Algorithm for Controller Area Network. International Journal of Computer Systems, 2, 80-87.
- Sheik, I. and Short, M. (2009) Improving Information Throughput in Controller Area Networks: Implementing the Dual Speed Approach. Proceedings of 8th International Workshop on Real Time Networks, Dublin, June 2009, 57-62.
- Sheikh, I. (2011). Doctor Thesis of Philosophy, University of Leicester, Leicester.
- Bosch, R. CAN Specification 2.0. Technical Report, Robert Bosch-Gmbh.
- Tindell, K., Burns, A. and Wellings, A.J. (1995) Calculating Controller Area Network (CAN) Message Response Times. Control Engineering Practice, 3, 1163-1169. http://dx.doi.org/10.1016/0967-0661(95)00112-8
- Vinodh Kumar, B. and Ramesh, J. (2014) Automotive in Vehicle Network Protocols. 2014 International Conference on Computer Communication and Informatics, Coimbatore, 3-5 January 2014, 1-5.
- Kokkolaras, M. (2004) Simulation-Based Optimal Design of Heavy Trucks by Model-Based Decomposition. International Journal of Heavy Vehicle Systems, 11.