Real time implementation of embedded devices as a security system in intelligent vehicles connected via vanets

ABSTRACT


INTRODUCTION
The excessive demand of vehicles has elevated the user risks and road injuries. This design is a system which can discover obstacles in substantially less time and that can send the basic information to the driver within some seconds producing the noise signals as alerts. The primary goal of these activities is the growth of road protection and transportation efficiency, In addition to reducing the harmful effects of transportation on the external surroundings which can even be caused due to collisions. For instance, lowering the range of injuries can in turn lessen the number of visitor jams, which should reduce the level of damage on the Infrastructure. Due to the significance of those actions for both the individual and the system [4][5][6].
The Dramatic increase within the traffic waft raises call for on progressive technologies which can enhance protection and efficiency of transportation structures. Street safety may be substantially stronger with the aid of the deployment of speed calculating technologies for vehicular systems, which would allow the driver to control and regulate the speed of the vehicle and thus allow the driver to maintain the speed of the vehicle within the speed limit of any particular road. This can be of immense advantage for drivers particularly driving during the night time. As the population of urban vehicles grows unexpectedly with the improvement of the purchasing power of average citizens and improvement within the economy in a country, humans are becoming concerned about vehicle theft protection, which creates greater market opportunities for vehicle anti-theft systems. Numerous automobile anti theft devices have been designed with many advanced features, however the result remains disappointing due to the fact all these devices have its drawbacks. Domestic and distant places car anti-robbery products are primarily technologically classified into three categories which are mechanical lock devices, automobile alarm gadgets, and automobile tracking systems, chiefly aiming at stopping vehicles to be broken in and driven away. The most generally used mechanical lock tool is a common wheel lock, which is extraordinarily reasonably-priced but inconvenient to use and at the same time can easily be disassembled by the professionals. These mechanical devices are often very bulky to handle and often very much inconvenient. A resolution to this problem would be to use Vehicle alarm gadgets which are very common these days. This is mostly because facts show that most of the public are conscious when they listen an alarm and also this makes the resident neighbours alerted as well. These vehicle alarm systems do have a massive range as well, some well designed can reach up to distances of up to 400 meters from the source of the alarm hence making it very hard for someone to steal a car with a motion detection alarm antitheft system [7]. In cities as soon as the automobile is tried to access, the police will easily be notified by the antitheft alarm sounding from the device and the location of such a disturbance hence making it impossible for anyone to steal the vehicle. In addition to this having a car alarm can add additional benefits to the system which would include a fall in the insurance expenditure for the vehicle as security is one of the major constraint that authorities look into while providing insurance to any customer vehicle. Moreover, this will totally prevent the vehicle from the major risk of being stolen. Also it would improve the resale value of the vehicle. These days security alarm devices can be connected to smart phone applications and thus the user can easily monitor the activity of the vehicle from anywhere around making it easy and convenient.
The device that's setup consists of a passive infra red (PIR) motion detection sensor which is attached to the system. The PIR motion detection sensor essentially calculates the Infra red light which is given out from things that are kept in its field of view. Within the PIR sensor system a pyro electric crystal is placed which would measure the heat that is given out from any object, and in case of humans the heat that's given out from the human body. The heat energy is in fact emitted as radiations from any object. The hotter the object or a body the more the radiations or heat energy that's dissipated from the body and these are transmitted in infra red wavelengths. Once these infra red waves enter the sensor it can essentially detect the presence of an object in its vicinity. A PIR sensor would record the movements from people around it. Once a person comes near the sensor there would be a kind of variation within the temperature that is sensed by the sensor as there would be difference between the body temperature and the room temperature, and once this difference is detected within the sensors field of range it can stimulate a change in voltage within its output which would result in producing alarm. A differential detection method is implemented by the PIR sensor. Usually the crystals and the sensors are covered by Fresnel lenses which is transparent to IR waves and would prevent the chance of getting any false alarms that can be caused due to unwanted particles getting near the sensor. And also a fresnel lens can help to focus the IR waves to the sensor source. The variety of the accidents that's occurring worldwide is increasing very rapidly but the amount of fatalities has reduced because of development of new generation devices developed by the automobile industry [8], Engineers had been chipping away on the surprising numbers of centres for a long term by designing air luggage and seat belts, more potent frame and special indoors designs to increase the protection of vehicles. However, the most effective way to secure a vehicle is to preserve vehicles from smashing into each other in the first place. To serve this purpose an obstacle detection gadget can be attached to the vehicle to prevent any kind of collision such that it can detect it way before the incident happens [9][10].
Obstacle detection gadget uses Ultra sonic sensor for distance calculation. Advanced driver assistance machine use radar because of its merits like longer detection range, angular position, variety and ensured safety. A vision primarily based sensor is implanted for detecting the obstacle and fending off collision. The two crucial parts, which is the navigation and the obstacle avoidance part are processed on the equal time growing the efficiency of the system. The important objective is to detect the obstacles present beforehand of the automobile. The device alarms the transferring car to prevent collision. In this system ultrasonic sensor is implanted for the detection purpose as they can stumble on the object from the shifting vehicle even as the distance among the automobile and obstacle is detected and the gap is also accurately measured. The obstacle detection system is interfaced with a system which would voice commands at the output such the user will be aware of the surroundings while driving and if any obstacle is found particular voice commands can help the driver to easily navigate the vehicle. This can be of immense help particularly while trying the park the vehicle in a secure location and also while driving through heavy traffic. This is achieved by connecting the microcontroller to an Arduino android shield which when connected to an Android device through Bluetooth can give out voice commands through the connected speaker [11][12].
To be able to avoid collision between the vehicles the sensor that is set up should measure the accurate distance from the obstacle and transmit the measured readings to the main component of the gadget. The ultrasonic sensor is hooked up in a manner in such that boundaries and obstacles which are present in the front side of the vehicle are being detected. The obstacles and objects which are present in the rear side is also detected by the ultrasonic sensors. One of the predominant part of this concept is to analyse any type of obstacle on the road. For instance, desk bound objects, human beings travelling that get in the passage of the vehicle can also be additionally taken into consideration as obstacles. Those objects are detected via the system and signals the car for secure and easy navigation. This brief process alerts the driver to respond very quickly. However there are a few drawbacks within the sensing technologies like failure in action in the presence of horrific weather conditions consisting of fog, snow and rain [13][14].

RESEARCH METHOD 2.1. The hardware requirements include
-Arduino Microcontroller -LED -Buzzer -PIR motion sensor -Ultra sonic sensor -LCD Display module 16x2 -Jumper cables -IR sensor -The Arduino shield -Bluetooth connected andriod mobile phone -1Sheeld Android shield for Arduino

Software requirement 1Sheeld Android shield for Arduino
A PIR motion sensor is an electronic device that would compute the Infra red waves that are emitted from objects which are present in its field of view and thus would identify any kind of motion that happens in front of the sensor. It's very commonly used in antitheft alarm systems which can sense the movement of people in front of the sensor. Here the PIR sensor that's present within the main device would recognise the quantity of IR waves which are falling on the device. As a person approaches the device there would be a variation within the temperature readings between the person's body and the surroundings and this in turn can stimulate a voltage within the device which would give out alarm as the output.
An Ultra sonic sensor or a distance sensor would calculate the distance from the source using the waves, In particular the ultra sonic waves. The sensor would release ultra sonic waves and then it would collect the reflected waves from the source. Here time is used as a constraint to measure the time between the processes of emission and reception. An IR sensor is primarily used to sense the surrounding objects and conditions. It makes use of the Infra red waves. Infra waves would essentially record the amount of heat given out from a particular object. The hotter the body, the more the heat will be given out from it. At the same time the IR sensor can also detect the motion which would happen in its field of view.
Here an Infra red LED would be the emitter and the detector would be an IR photo diode.
A buzzer is an audio signalling device and are commonly used in alarms and which would come with a particular confirmation. There can be many different types of buzzers which can be mechanical, electromechanical or piezoelectric. An Arduino shield is a modular and compact circuit boards which would enhance and add new features to the existing arduino system. There exists certain libraries which are associated with certain arduino shields with separate functionalities.   Figure 1 shown a anti theft system using PIR motion sensors and Figure 2 is shown a obstacle and collision avoidance system. The proposed system consists of three sub systems which are a Motion detection system, System for rpm and speed calculation and voice enabled obstacle and collision avoidance system. The Figure 3 shows the overall system design.  A system for calculating the RPM which would later lead to the speed of the vehicle was computed using Arduino and IR Sensors. The value which was produced was later produced on a LCD screen which in fact can be displayed to the driver by installing it in the cockpit. To setup such a system sensors and associated components like potentiometers and LCD display segments are required. The IR sensors once interfaced with the Arduino will produce the values which can also be displayed on the serial monitor of the Arduino IDE. RPM is essentially the number of times the shaft of a motor in a minute would rotate. In the case of a vehicle it would be the crankshaft of the engine. The system is designed as such when the input from the IR sensor changes from low to high it would then compute the time difference. Once the time required for one revolution is calculated this can essentially produce the rpm of the vehicle and finally the speed is computed. In practical application the IR sensor can be setup near the wheel of the vehicle.

(III) For the Collision detection and avoidance system
To ensure the safety of the vehicle additional sensors are also included within the setup, and such a setup can create an anti-theft device. This include the motion detection PIR or the passive infra red sensor which when interfaced with arduino and connected to a led bulb and a buzzer would produce alert noises and glows warning lights once a person comes near the proximity of the sensor. The system would become activated when it would sense any kind of movement. This can be effectively be activated when the vehicle is parked in an unknown location or during the night time. To setup such a system many of the components would include the PIR sensor module, Arduino, Connecting wires, LED, Buzzer, Breadboard and 330 ohm resistors. Within the sensor a pyro electric crystal is present which would read the heat given out from a particular living being. The effect of the sensor is amplified by using component like Fresnel lens which is mounted on the system. There are two different potentiometers which are present on the sensor which would help to regulate the sensitivity and the trigger of the sensor. The module can essentially work in two different modes which are the H and the I modes. The H mode is powered by a 3.3 V power supply and it would go high when a person is detected within the range and after a certain period of time the output would go low. While within the I mode the output would go high as long as the person is in the range and it would remain as such as long as the person is in the range of the sensor. Figure 4 shows the blueprint of anti theft motion detection system and Figure 5 is shown a blueprint of the rpm-speed calculation system. The Figures 6-8 shows the completely implemented circuit of the rpm-speedometer calculation system and anti-theft motion detection system.

RESULTS AND ANALYSIS
The device was well assembled and all of the integrated sensors did respond ably to the regular tests that were carried out. The motion detection alarm system worked satisfactorily well and it was able to identify the obejcts accurately. Whenever a person approached near the sensor an alarm was triggered with warning LED lights in response to this event. The speedometer was exceptionallt functional in computing the rpm and the speed. The speed limit was set, the device was able to give out the warning signals and display it to the driver which was attached at the drivers cockpit. Once this was setup the driver was alereted about overspeeding and thus was able to fend off any kind of violations that might happen when tested in a freeway. In aditton to this to provide further safety to the vehicle, the distance sensor was able to detect the nearby obstacleswithin the range specified and then produce alarm signals using the buzzer alerting the driver about the event. This was repeatedly tested by keeping artificial objects nearby the vehicle. The results of the various tests that were carried out is shown in the Figures 9-14 Figure 9. LCD displaying message reading RPM Figure 10. LCD displaying speed to the user Figure 11. Reduce speed warning signal being displayed Figure 12. Warning signal displayed by the LCD Figure 13. The PIR anti-theft motion detection system before activating Figure 14. The PIR motion anti theft motion detection system after activating, the LED is seen glowing giving out the warning signal

CONCLUSION
The device that's developed is optimal in the road in any instance, and this system consisting of many associated sensors and the microcontroller can serve as a reliable and secure safety system for any vehicle. It will be very conveneient for people living in the city as heavy traffic is quite common event in daily life. To avoid collisions of any sort, to protect the vehicle from theft, and to control the speed under the limit and to eventually experience a safe travel avoiding any collisions which might lead to accidents this would be best ideal alternative for any driver. In future work, many more sensors can be added to this system such as accelerometer, drowsiness sensor, Tire pressure sensor, object detection camera, which can additionally upgrade the protection features making it an exemplary safety gadget.