Design and Implementation of CAN Based A
Design and Implementation of CAN Based A
Research
www.ijmter.com
e-ISSN No.:2349-9745, Date: 28-30 April, 2016
Abstract: In controlling the vehicle autonomously using various electronic control modules
(ECU‟s), usually need to make some decisions with integrated actions in real time with only
incomplete information. The CAN (Controller Area Network) serial bus system makes a crucial
contribution here with to its specific properties. This paper describes about development of CAN
based automobile control system which includes Body control and comfort electronics subsystem of
automobile to address comfort in drive feature.
Keywords: CAN Bus, ECU, Node, CAN controller, Host controller, CAN transceiver, NHTSA,
HMI.
I.INTRODUCTION
The modern automobile has progressed greatly in the last few years. Just as our everyday consumer
life has become sophisticated, our transportation has followed suit. Just how complex the modern
automobile has become, though, is most likely not known by the average person. Here is an effort
made in design and implementation of CAN protocol based Automobile control system for better
understanding the automobile system. Automobile instrument assembly consist of various nodes
linked with each other by CAN bus. Nodes are nothing but ECU‟s(electronic control unit) that
consisting of CAN controller and micro-controller to which various I/O devices as sensors, actuators
are attached, identifies and processes the required data. Modern motor vehicles can contains over
hundred ECUs which are interconnected by the CAN Bus network. The system could be well
illustrated by figure 1 below, showing In-Vehicle CAN Bus Network joining various ECUs.
The TJA1050 is the third Philips high-speed CAN transceiver fully compatible with ISO 11898 CAN
standard. The transceiver is a transmitter and receiver amplifier. It converts the serial bit stream of
the CAN module into electrical voltage values and vice versa. CAN bus uses two dedicated wires for
communication. The wires are called CAN high and CAN low. When the CAN bus is in idle mode,
both lines carry 2.5V. When data bits are being transmitted, the CAN high line goes to 3.75V and the
CAN low drops to 1.25V due to the resistance of 120ohm used at the termination thereby generating
a 2.5V differential voltage between the lines. A dominant bit is represented by CAN_H going to
about 3.5 V and CAN_L going to about 1.5 V and recessive bit when voltage difference is zero.
TJA1050 supports CAN 2.0B protocol.
4. LDR Sensor
A photo-resistor or light-dependent resistor (LDR) or photocell is a light control variable resistor.
The resistance of a photo-resistor decreases with increasing incident light intensity; in other words, it
exhibits photoconductivity. LDR sensor is used in system for detection of light or dark in order to
automatic dome light on.
5. Limit Switch
Limit switch is a switch operated by the motion of a machine part or presence of an object to make or
break an electrical connection. They are used for controlling machinery as part of a control system,
as a safety interlocks, or to count objects passing a point. Here limit switch is used for indication of
seat belt lock or unlock.
6. Rain Sensor
It was found that the rain sensor is the expensive unit in the present system so an effort is done in
making a sensor which is reasonable by price, the Cup Sensor. The sensing device used here is
basically a conical shaped cup with a tray on the top of the cup to collect maximum possible amount
of water. Based on level of water in the cup wiper will be operated.
7. GSM Module
SIM900D GSM Module uses AT commands for sms, calls and gprs. Here GSM Module will send
owner massage of probable vehicle thief in case of unauthorized person‟s interference is detected.
8. LCD
There are two LCD (Liquid Crystal Display)Modules are required in system in which one is 16*8
matrix attached at node 1 display data received at node 1 and other 16*2 matrix display at node 2 to
display data received at node 2. Also communication over CAN Bus also can be verified using LCD
displaying CAN massages transmitted or received via CAN Bus.
9. DC Motor
There are three DC Motors are to be used in the system in which two for driving vehicle used as
engine motor prototype and one for wiper to wipe rain water present on windshield.
10. Locks Key
Two types of key as electronic and physical key i.e. traditional key are required to validate the entry.
Electronic key used here is based on RF module consisting of transmitter chip embedded at the
physical key and receiver chip fixed on door. After validation of both key persons entry will get
authorized.
11. Dome light
Series LED‟s are used here as a dome light having advantage of energy efficiency and additional
feature as light dimmer over the existing system in which Florescent tube used for dome light.
12. Proteus
Proteus software is to be use to design circuit diagram for the system.
13. AVR Studio 4
AVR Studio version 4 software is to be use to develop code for the system. Embedded C is the
coding language use for coding in AVR Studio.
V. CONCLUSION
When taken into account that CAN is still at the beginning of a global market penetration, even
conservative estimates show further growth for this bus system for the next ten to fifteen years [6].
So the project on CAN implementation makes major significance here. Proposed system is designed
in a way having advantage of feasibility, expandability, energy efficiency, cost effectiveness and
reasonable data speed upto 1MBPS with the only limitation of regulation of cable length as data
transmission rate decreases with increase in cable length. This paper describes about design and
development of automobile control system using CAN protocol which will not only make driving
simpler but also increase vehicle safety and security.
REFERENCES
[1] Thomas Noltet, Hans Hanssont, Lucia Department of Computer Science and Electronics, Mdlardalen University,
Vasteras, Sweden Department of Computer Engineering and Telecommunications, University of Catania, Catania,
Italy, ”Automotive Communications - Past, Current and Future”, published in IEEE proceeding, 2005.
[2] Jadsonlee da Silva Sá, Jaidilson Jó da Silva, Miguel Gonçalves Wanzeller, ‟‟Monitoring of Temperature Using
Smart Sensors Based on CAN Architecture‟‟, IEEE Proceedings of the 15th International Conference on Electronics,
Communications and Computer, 2005.
[3] S. Vijayalakshmi, “Vehicle control system implementation Using CAN protocol “,International Journal of Advanced
Research in Electrical, Electronics and Instrumentation Engineering Vol. 2, Issue 6, June 2013.
[4] Vikash Kumar Singh, Kumari Archana, ”Implementation of 'CAN' Protocol in Automobiles Using Advance
Embedded System”, International Journal of Engineering Trends and Technology (IJETT), Vol 4 Issue 10, Oct 2013.
[5] Sathya Narayanan, Ms. Monica P. Suresh, “Design and Implementation of ARM Microcontroller Based Vehicle
Monitoring and Controlling System Using Controller Area Network (CAN) Protocol”, International Journal of
Innovative Research in Science, Engineering and Technology, March 2014.
[6] H. F. Othman, Y. R. Aji, F. T. Fakhreddin, A. R. Al-Ali, Computer Engineering Department American University of
Sharjah, UAE, “Controller Area Networks: Evolution and Applications”, IEEE proceeding, 2016.
[7] A. S. Shinde, Prof. V. B. Dharmadhikari, „‟Controller Network Area for vehicle automation‟‟, International Journal
of Emerging Technology and Advanced Engineering, Volume 2, Issue 2, February 2012.
[8] B. Praveen Kumar, B V Satyanarayana, Dr. N S Murthy Sarma, “Design of Automatic Automobile using CAN Bus”,
International Journal of Research in Computer and Communication technology, Vol 1, Issue 7, Dec 2012.
[9] Lakshmi Narasimha C., Praveen Kumar S, ‟‟Anti-Theft Control using CAN Protocol‟‟, IJEDR, Vol. 3, Issue 2, 2005.
[10] Nakade M. J., Shrivastava K.., ‟‟International Journal of Modern Trends in Engineering and Research” , July 2015.
[11] Renjun Li, Chu Liu and Feng Luo, “A Design for Automotive CAN Bus Monitoring System”, IEEE Vehicle Power
and Propulsion Conference (VPPC), September 3-5, 2008.
[12] Mayer, E., “Serial bus systems in the automobile- Architecture, tasks and advantages”, Elektronik Automotive
7/2006, pp. 70ff.
[13] Ashwini S. Shinde, Prof. Vidhyadhar B. Dharmadhikari, “Controller Area Network for Vehicle Automation”, Inter-
national Journal of Emerging Technology and Advanced Engineering, Vol. 2, Feb 2012
[14] http://en.wikipedia.org/wiki/CAN_bus
[15] http://www.can-cia.org
[16] http://www.sae.org
[17] https://www.cars.com/articles/2012/12/nhtsa-fatalities-go-down-as-seat-belt-use-goes-up/
[18] http://indpaedia.com/ind/index.php/Automobile_thefts:_India