Black Box for vehicle diagnostics
Abstract This project is an implementation of black box for vehicular safety. Key features: Diagnostic check of vehicle parameters at IGNITION ON. Store the recorded parameters in a data base. Detect CAN bus failure. Diagnose the critical parameters while vehicle is moving. Indicate the failure parameters on the car dash board instantly. Interfaced GSM and GPS to locate the position of vehicle in case of accident. Take appropriate measures while switching the lane to avoid accident.
Vehicle Host Receiver Controller Side block diagram: DC Motor1 L293D PWM1 PWM2 UART1 LPC2148 DC Motor2 Ignition ON key GSM MODULE Relay and relay driver Brake Control Module Lane Detector & control Module IR Sensor Module Detectors Ultrasonic sensor GPS MODULE Buzzer LCD RF receiver
Transmitter Controller Side block diagram: Remote RF transmitter
Overview of the system Features of the black box: parameters. 1. At “power on” run the power on self test, to check the Host controller parameters. 2. In case of failure print the failure parameters on the LCD. 3. Categorize the CAN failure into two categories. a. Low level failures: Vehicle can start and move. b. Severe failures. Vehicle should not start till rectified. A. Low level failures: Wiper failure. Abnormal temperature. Low tire pressure.
Overview of the system contd B. Severe / critical Level failures: Brake failure. Seat belt. Engine temperature. CAN bus failure. Wrong key insertion to open or start the car. GSM and GPS failure.
Functioning of the system Diagnostic features: 1. At “Power ON” run the self test to check the controller and its features working. In case of any failure give a LED status indication or beep. 2. At “Ignition ON” run the CAN self test to test the vehicle status. 3. Store the diagnostic test result in a data base (EEPROM) and display on the dash board for the user. 4. Do not allow the vehicle to start in case of any major failure. Give an audible alarm to the user. 5. In the diagnostic test is passed then Turn ON the engine. 6. Check for the speed of the vehicle constantly and indicate if the speed is beyond 100Kmph.
Functioning of the system contd GSM and GPS application: GPS sending the position of the vehicle to the database or to the mobile or the vehicle display. GSM to connect to phone sevice’s. Connect GSM phone to blue tooth at “Power On”. In case of accident, the incoming calls the GSM phone should be blocked. An SMS along with GPS data is to be sent to the service provider automatically. Service provider then sends an SMS to check the severity of the accident, and informs to the relatives about the position and severity of the accident. Sends the message to the police control room and ambulance for quick service.
Functioning of the system contd Lane detector and speed indication: In case the vehicle positioned between 2 other vehicles and needs to change the lane, the Ultra-sonic sensor must give the location of the front and back vehicles to check if vehicle can take reverse without touching other vehicles and while changing the lane it should check for the vehicles in the other lane and slow down or send an information to the speeding vehicle about its lane changing information.
Hardware requirement ARM7 based LPC 2148. 1 number of 8 bit controller with serial interface. GSM, GPS modules with SIM card. IR, jumpers for seat belt and wiper sensor, temperature sensor, Ultrasonic sensor. Power supply 12v /1Amp, 3 numbers. RF transmitter and receiver. Toy vehicle car. Relay driver circuit.
Software requirement Windows XP Keil micro-vision 3. Hyper-terminal. Philips Flash utility software.