Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
IMPLEMENTATION
AIM:
The main aim of the project is to implement a security interface for vehicle
with can protocol for inter ECU communication.
PURPOSE:
An Advance Security Interface for Vehicle is a system of sensors that is
placed within a car to warn its driver of any dangers that may lie ahead on
the road. Some of the dangers that these sensors can pick up on include how
close the car is to other cars surrounding it, how much its speed needs to be
reduced while going around a curve, and how close the car is to going off the
road. The system uses sensors that send and receive signals from things like
other
cars;
obstacles
in
the
road,
traffic
lights,
and
even
central database are placed within the car and tell it of any weather or traffic
precautions.
BLOCK DIAGRAM:
LCD
Front End
Rear End
Ultrasonic
Sensor
Lane
Sensor
Alcoholic
Sensor
Speed
C
2
C
CAN-1
CAN-2
Ultrasonic
A
D
Sensor
Rear End
Camera
Buzzer
Sensor
POWER SUPPLY
DESCRIPTION:
First select the pins of ADC, CAN and UART channels using PINSEL0 and
PINSEL1 registers in LPC2129. Configure 9600 baud rate for serial ports with
8 bit communication mode and 125 Kbps for CAN channel If time is required
then we can use internal RTC by setting control registers. ADC in ARM7 can
be configured by using ADCR register and data can be converted in to ADDR
register. Monitor the person status weather he is normal or drunken. Permit
for the ignition, after checking the status of the vehicle. Now connect two
ultrasonic sensors to the ADC of ARM7 controllers and place them at front
and rear ends. Whatever the data is coming from these sensors monitor it
and send continuously using CAN1 channel to CAN2 through bus. Based on
the data coming to CAN2 channel through the bus, the controller will decide
what operation should perform. If any object is very near to the vehicle then
the vehicle will be stopped automatically. By using Kalman algorithm we can
find out the relative speed between the nearby vehicles and monitor it
continuously. All these information we are displaying on the LCD and at the
same time we can send to a PC.
Power Supply
Micro controller
LPC2129-philips.
Protocol
Devices
CAN BUS.
MCP2551
Speed sensor
Alcoholic sensor
Lane sensor
Camera
LCD
16*2 Display
SOFTWARE USED
Embedded C
Philips Flash utility
Keil vision 3(IDE)