International Journal of Engineering Trends and Technology (IJETT) – Volume 10 Number 8 - Apr 2014 Diagnosing the Intermittent Failures in a Vehicle& Intelligent Vehicle Control and Monitoring Using CAN and ARM 7 1]SippeeBharadwaj, 2]Mrs Anita R (GUIDE) M.TechIn VLSI &Embedded System (EPCET) Area Network) is a serial bus system, which was Abstract—Taking into account the modern insecure world vehicle safety is a challenging task. This paper presents a design of a system which will prevent the vehicle from accidents and diagnose the intermittent failures in a vehicle by using CAN protocol and ARM7 with the help of sensors .With the help of BLUETOOTH and GSM connect to an android mobile and develop anGoogle app for vehicle parameters and send to vehicle maintenance dept. originally developed for automotive applications in the early 1980's.Controller Area Network (CAN) is a serial communication protocol that may be used to transfer up to 8 data bytes within a single message. CAN offers high-speed communication rate up to 1M bits/sec thus allows in real-time control applications. In addition, the error confinementand the error detection feature make it Keywords-ARM7,CAN, GSM,SENSORS,Bluetooth more reliable in noise critical environment. Common sensor data such as Engine control unit, Anti Lock INTRODUCTION System and etc., are available on the network, so the data As the increasing of the amount of electronic can be shared, thus eliminating the need for redundant controller and instruments in the modern automotive, the sensors. vehicle reliability is largely influenced by the complexity of circuit deployed in the control system. The high III.THE WHOLE ARCHITECTURE OF THE SYSTEM quality vehicles use CAN (Controller Area network) bus A. Block Diagram system to link all the controllers in a system to achieve unified management. This leads to easy data sharing and ANDROID ARM7 interoperability between different control systems. CAN CONTROLLER MOBILE LCD However, due to the complexity of vehicles, for example, DEVICE sensors are deployed throughout the entire vehicle with CAN MOTOR DEIVER diversified standards, the data within an automotive LED&BUZZER system are varied such as complex data format, heterogeneous data so to fulfill the gap among different systems one gateway is used which is a bridge to connect various CAN bus with different speed ratio. Furthermore, the vehicle system requires the information for the maintainer and driver. It is necessary to design an CAN Eye- CONTROLLER efficient, reliable gateway as well as its data processing AV R blinking( sensor) CAN CONTROLL ER AV R Alcohol- sensor CAN system. The most important is the physical connectivity CAN reduction. Only two wires are required to manage a TRANSCEIVER Gas TRANSCEI VER different system, which necessitates an exchange of data between them. This is only done by networking using Fig1.B. Block diagram description CAN (Controller Area Network) bus. CAN (Controller ISSN: 2231-5381 http://www.ijettjournal.org Page 415 Tempsensor International Journal of Engineering Trends and Technology (IJETT) – Volume 10 Number 8 - Apr 2014 1)CAN:CAN stand for controller area network.CAN is a two-wire, Half duplex, high-speed network system and is well suited for high-speed applications using short messages 2) MicrocontrollerIn this project ARM7 is the heart of the system. ARM7 microcontroller is 32bit/64bit microcontroller .It is RISC processor and consist of 16bit thumb instruction set .It consists of in-built ADC channels where sensors will connected. on board GSM modem with help of AT commands& connect to a vehicle maintenance dept. IV. ALGORITHM AND WORKFLOW OF THE SYSTEM A. Algorithm of System Work 1) Start(initialization of microcontrollers) 2) Waiting for message 3) AVRmicrocontroler is also usedin this project . 3) Message received than check for ID Through inbuilt ADC, sensors are connected. Programming is done in ARM7 microcontroller when sense the parameters from other nodes and certain set points will be there in programming if it crosses that certain set poitnt led will be on and if again it crosses than buzzer will be on than speed of the motor will be slow it depends upon PWM and connected to GSM. 4) Alcohol Sensor& Eye-blinking sensor: AVR sends and ARM-7 microcontroller first reads the value of alcohol sensor if any alcohol is detected in the driver’s cabin, the ignition is turned off. If in case of eye blinking sensor depending upon PWM if the blink decreases of a certain point than ARM7 sends the message to reduce the speed of the motor. 5) LPG gas sensor : 5) Send to the arm7 controller with message ID OF the nodes. 6) If the value exceeds the set point 7) Vehicle speed decrease 8) Else(continue) 9) Exit IV.ADVANTAGES&DISADVANTAGES A. Advantages 1) Security of vehicle. ARM-7 reads the value of gas concentration if its below the set point than motor will continue its speed and if it crosses the set point than motor speed decreases. 6) Temperature-SENSORIt continuously monitors the temperature of engine as well as cabin & sends its value to microcontroller. If temperature of engine or cabin exceeds desire value then system alerts to driver. 7) DC motor unit: I am designing my own vehicle unit which consists of 2 DC motor based wheels. These wheels are operated using 12v DC motor. The µC works at 5v and the DC motors operate at 12V, so to match the voltages we are interfacing a DC motor driver circuit L293D which will in turn drive the DC motors.The speed of the motors depends upon PWM. 8) GPS and GSM unit: The GPS unit sends the coordinates to the µC which stores these co-ordinates in its ram location. Also various other parameters are also stored in µC. Then after a specific time µC sends this data to the base unit (surveillance unit) with the help of ISSN: 2231-5381 4) Store the sense parameter in some variables 2) Record driving data, collision data and position data 3) Analyze the accidents detail. 4) Send location of car and its maintenance to base station through GPS & GSM technique 5) Sense gas & fuel leakage and display its status on car monitoring system. 6) Detect if the driver is drunk or not. 7) Detect if the driver is feeling sleepy. 8) Shows engine temperature. 9) Remote place data can be acquiescing. 10) Various difficult data like vibration can be measured. B. Disadvantages 1) Damage of sensor cannot be detected http://www.ijettjournal.org Page 416 International Journal of Engineering Trends and Technology (IJETT) – Volume 10 Number 8 - Apr 2014 V. APPLICATION & FUTURE SCOPE CONCLUSION This paper gives an effective solution for the safety of vehicle by designing and monitoring the vehicle different parameters in a vehicle when the vehicle is in moving state .Those parameters or dangers are send by different sensors and send the information to the driver of vehicle before any accident occur and also send those values to an android mobile and then to vehicle maintenance dept. A. Application 1) For Personal vehicle 2) Insurance companies. 3Research and development 4) Military REFERENCES: EYE-BLINKING COUNT 1]Automotive-electronicsWilliamRibbens(sixth-edition) 2] Zhang Jimmie, Li Wending, SA Cao, Wang Deming. The control system remote Control automatic pruning machine [J].Beijing Forestry University, 2007.7:33-36 [3] Shan Changing. The design of ultrasonic obstacle avoidance system based on S3C2410 [J].Computer and digital engineering, 2009.2:55-57. [4] Embedded system design book- Raj Kamal. [5] www.keil.com/arm/ [6] www.embedded arm.com DETECTION-SYSTEM FAILURES) (INTERMITTENT- BIBLIOGRAPHY 1) Miss SippeeBharadwaj, currently pursuing M.TECH 2014 in VLSI&EMBEDDED SYSTEM from VTU,BELGAUM. 2)MRS ANITA R(GUIDE) Associate Professor, ECE DEPT Working in EPCET,VTU,BANGALORE ISSN: 2231-5381 http://www.ijettjournal.org Page 417