Design and Implementation of Intelligent Headlight System For Improvised Safety in Vehicles
Design and Implementation of Intelligent Headlight System For Improvised Safety in Vehicles
Pi camera is the most suitable camera for image processing The LED lights attached to the Servomotors via an
via Raspberry Pi. Pi Camera used in monitoring the road for attachment, which helps in the swivel movement. Now first
any vehicle and tracking the distance from it. In addition, the Rotatory Potentiometer gives out the values according
this assists to find the maximum intensity of light in that to the rotation whether left or right. First, that reading sent
area. to MCP-3008 ADC to convert it to the digital values for
processing by Raspberry Pi. The MPU6050 module
(3) Potentiometer:
provides the YPR (Yaw, Pitch, and Roll) which when
A 10 k rotatory potentiometer acts as the steering wheel in combined with the potentiometer data give the exact
the implementation. Even in ECU (Electronic control unit) rotation of car on corners. This change in steering
[10]
, a rotatory potentiometer is attached at the end of perceived by Raspberry Pi and that gives the PWM signal
steering column. to the corresponding servomotors to turn. While turning
(4) Servomotors (SG-90): one servomotor will have to move a larger degree when
compared to other, that is decided by the direction, as we
Servomotors used for movement involving higher precision know that from [5], the degree of rotation in the horizontal
and smaller divisions. These motors turn to a certain angle direction for LEDs is +150 to -150, while in the vertical
depending on the PWM (Pulse Width Modulation)
duration. Mostly they turn total angle of 1800 in total. direction it’s 0 to 70.
Next module consists of LDR, which gives the output in
analog, here we cannot use the analog values directly and
(5) Accelerometer and Gyroscope (MPU6050): hence ADC is required for getting the resistance value, as
This module helps in finding the rotation angle w.r.t a static one channel used for rotatory potentiometer, 2 more
car, and act as the input to the Raspberry pi for YPR (Yaw, channels are for LDRs. These LDRs are kept facing on
Pitch, and Roll) to use this data further for swiveling of sides of the car, which continuously keep track of light
motors along with potentiometer.
intensity. There are different levels of brightness in LEDs, location[i] gives the location of the contour box, which
which can be set using the PWM time cycle. keeps on searching for the perfect match of a Car in the
frame processing.
As an upgrade, a camera [7] used to find the vehicle, track it
and continuously find a distance value, which uses Haar
Cascaded classifier for recognizing the car. The coding
done is in C++ language. After getting the result as the
distance in meters, we go on for controlling the servo motor
and LED intensity. There is distance threshold, which
maintains and looks for new objects in that range only.
Several image-processing techniques used to arrive at the
final frame result.
Figure 5: Region of interest in video
IV. RESULTS
to be turning in the same way to provide illumination in the V. CONCLUSION AND FUTURE WORK
“blind spot” region. In this paper, we mainly focus on assisting the driver during the
night by providing proper illumination on the road at turnings
especially with the help of servomotors along with LEDs and
reducing the glare effect from the oncoming vehicles by using
LDR or Pi Camera for detection. The intensity of headlamps
controlled based on the distance of the oncoming vehicles.
There are certain modes provided based on the speed of the
vehicle to control the shape and intensity of light from
headlamps. We are working towards recognizing the road
signs, traffic signals, pedestrians to ensure safety and this work
will make improvement in ADAS (Advanced Driver
Assistance System). This kind of system will be helpful in
Autonomous cars.
REFERENCES
[1] Design & Implementation of Adaptive Front Light System of Vehicle
Using FPGA Based LIN Controller)
[2] J. Clerk Maxwell, A Treatise on Electricity and Magnetism, 3rd ed., vol.
2. Oxford: Clarendon, 1892, pp.68–73.
[3] Meftah Hrairi and Anwar B. Abu Bakar, “ Development of an Adaptive
Headlamp Systems”, International Conference On Computer And
Communication Engineering (ICCCE 2010), 11-13 May 2010, Kuala
Lumpur.
Figure 8: Hardware System Design [4] Steering Wheel-based Adaptive Headlight Controller with Symmetric
Angle Sensor Compensator for Functional Safety Requirement. Jiae
Youn, Meng Di Yin, Jeonghun Cho, and Daejin Park.
[5] Yali Guo, Qinmu Wu And Honglei Wang, “ Design and Implementation
of Intelligent Headlamps Control System based on CAN Bus”, 2012
International Conference on Systems and Informatics (ICSAI2012).
[6] Hyeongyun Moon, Jeonghun Cho, and Daejin Park “Effective Validation
Framework Using Wheel-Microcontroller Co-Emulation of Safe
Adaptive Front Light Controller”.
[7] Snehal G. Magar. “Adaptive Front Light Systems of Vehicle for Road
Safety”.
[8] Xu pingping, Song jianguo, Shen Guangdi. “The design on Adaptive
Front Lighting System (AFS) Based on Brushless DC Motor”.
[9] Guo Dong, Gao Song, Wang Hongpei, Wang Jing. “Study on Adaptive
Front-lighting System of Automobile Based on Microcontroller”.
[10] Jiae Youn , Men Di Yin , Jeonghun Cho , and Daejin Park “Embedded
ECU Emulation Platform for Safe Adaptive Front-Light System Control
Algorithm Development”.
[11] Jun Ho Lee, Jina Byeon, Dong Jin Go and Jong Ryul Park “Automotive
Adaptive Front Lighting Requiring Only On/Off Modulation of Multi-
array LEDs”.
[12] Li Lifu, Yang Mingjun and Zhang Jinyong, “The Bending Mode Control
Method Of Afs System Based On Preview Control”.