Adaptive Lighting System For Automobiles
Adaptive Lighting System For Automobiles
AUTOMOBILES
Abstract
Our project Adaptive Lighting System for Automobiles is a
smart solution for safe and convenient night driving without the
intense dazzling effect and aftermaths. Adaptive Lighting
System for Automobiles needs no manual operation for
switching ON and OFF headlight/down light (Bright/Dim) when
there is a vehicle coming from front at night. It detects itself
whether there is light from the front coming vehicle or not.
When there is light from front coming vehicle, it automatically
switches to the down light and when the vehicle passes it
automatically switch back to headlight. The user can adjust the
light detection sensitivity of this Adaptive Lighting System.
INTRODUCTION
Adaptive Lighting System for Automobiles needs no manual
operation for switching ON and OFF headlight/downlight when
there is vehicle coming from front at night. It detects itself
weather there is light from front coming vehicle or not. When
there is light from front coming vehicle it automatically
switches to the downlight and when the vehicle passes it
automatically switch back to head light. The sensitiveness of the
Adaptive Lighting System for Automobiles can be adjusted. In
our project we have used four L.E.D for indication of
headlight/downlight but for high power lamp switching one can
connect Relay (electromagnetic switch) at the output of pin 1 of
I.C LM358 Then it will be possible to turn ON/OFF high power
headlight/downlight of the vehicle.
PRINCIPLE:
This circuit uses a popular timer I.C LM 358. I.C LM358 is
connected as comparator with pin-6 connected with positive rail,
the output goes high (1) when the trigger pin 3 is at lower then
voltage level at pin no 2. Conversely the output goes low (0)
when it is above pin no 2 level. So small change in the voltage
of pin-2 is enough to change the level of output (pin-1) from 1
to 0 and 0 to 1. The output has only two states high and low and
cannot remain in any intermediate stage. It is powered by a 12V
power supply. The circuit is economic in power consumption.
Pin 4 is ground and pin 8 is connected to the positive supply and
pin 1 is grounded.
To detect the present of an object we have used LDR and a
source of light.
LDR is a special type of resistance whose value depends on the
brightness of the light, which is falling on it. It has resistance of
about 1 mega ohm when in total darkness, but a resistance of
only about 5k ohms when brightness illuminated. It responds to
a large part of light spectrum. We have made a potential divider
circuit with LDR and 10K variable resistance connected in
series. We know that voltage is directly proportional to
conductance so low voltage we will get from this divider when
LDR is getting light and high voltage in darkness. This divided
Component used
1) Voltage Regulator 7812
2) 12 V transformer
3) Diode IN4007
4) LM358
5) Relay
6) Switch
7) General Purpose PCB
8) LEDs
9) Variable Resistance
10) Resistor, capacitors etc.
COMPONENTS
a) Power Supply: For 12v power supply we can use 12 v step
down transformer, bridge rectifier, 12 v regulator.
b) Switch: Any general-purpose switch can be used. Switch is
used as circuit breaker.
c) L.D.R: (Light Depending Resistance) it is a special type of
resistance whose value
depends on the brightness of light, which is falling on it. It has
resistance of about 1mega ohm when in total darkness, but a
resistance of only about 5k ohms when brightness illuminated. It
responds to a large part of light spectrum.
d) L.E.D: A diode is a component that only allows electricity to
flow one way. It can be thought as a sort of one way street for
electrons. Because of this characteristic, diode are used to
transform or rectify AC voltage into a DC voltage. Diodes
have two connections, an anode and a cathode. The cathode is
the end on the schematic with the point of the triangle pointing
towards a line. In other words, the triangle points toward that
cathode. The anode is, of course, the opposite end. Current
flows from the anode to the cathode. Light emitting diodes, or
LEDs, differ from regular diodes in that when a voltage is
applied, they emit light.
written with K
(kilohms) after the number value. This means that there are that
many thousands of ohms. For example, 1K is 1000 ohm, 2K is
2000 ohm, 3.3K is 3300 ohm, etc. You may also see the suffix
M (mega ohms). This simply means million. Resistors are also
rated by their power handling capability. This is the amount of
POWER SUPPLY
The power supply designed for catering a fixed demand
connected in this project. The basic requirement for designing
a power supply is as follows,
1. The voltage levels required for operating the devices is
+5volt. Here +5Volt required for operating microcontroller.
And as well as required for drivers and amplifiers and ir
transmitters and receivers.
2. The current requirement of each device or load must be
added to estimate the final capacity of the power supply.
The power supply always specified with one or multiple
voltage outputs along with a current capacity. As it is estimate
the requirement of power is approximately as follows,
Out Put Voltage = +5Volt, Capacity = 1000mA
The power supply is basically consisting of three sections as
follows,
1.
2.
Rectifier Section
3.
Regulator section
Design principle:
There are two methods for designing power supply, the
average value method and peak value method. In case of
small power supply peak value method is quit economical, for
a particular value of DC output the in put AC requirement is
appreciably less. In this method the DC out put is
approximately equal to Vm. A full wave bridge rectifier is
designed using two diodes and the output of the rectifier is
filtered with a low pass filter. The capacitor value is decided
so that it will back up for the voltage and current during the
Circuit connection: - In this we are using Transformer (12-012) v / 1mA, IC 7805 , diodes IN 4007,LED & resistors.
Here 230V, 50 Hz ac signal is given as input to the primary of
the transformer and the secondary of the transformer is given
to the bridge rectification diode. The positive out put of the
bridge rectifier is given as i/p to the IC regulator (7805)
connected to the o/p of the diodes (D1 & D2). Which removes
the unwanted ac signal and thus a pure dc is obtained. Here
we need a fixed voltage, thats for we are using IC regulators
(7805).Voltage regulation is a circuit that supplies a constant
voltage regardless of changes in load current. This ICs are
designed as fixed voltage regulators and with adequate heat
sinking can deliver output current in excess of 1A. The o/p
the full wave rectifier is given as input to the IC regulator
through low pass filter with respect to GND and thus a fixed
o/p is obtained. The o/p of the IC regulator (7805) is given to
the LED for indication purpose through resistor. Due to the
forward bias of the LED, the LED glows ON state, and the
o/p are obtained from the pin no-3.
MICROCONTROLLER
BLOCK DIAGRAM
PB0-PB7
PD0-PD7
This allows very fast start-up combined with lowpower consumption. In Extended Standby mode, both the
main Oscillator and the Asynchronous Timer continue to run.
Pin Descriptions
inputs and are externally pulled low, they will source current
if the internal pull-up resistors are activated. The Port A pins
are tri-stated when a reset condition becomes active, even if
the clock is not running.
Port B (PB7..PB0) Port B is an 8-bit bi-directional I/O port
with internal pull-up resistors (selected for each bit). The Port
B output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port B pins
that are externally pulled low will source current if the pullup resistors are activated. The Port B pins are tri-stated when
a reset
condition becomes active, even if the clock is not
running.Port B also serves the functions of various special
features of the ATmega16 .
Port C (PC7..PC0) Port C is an 8-bit bi-directional I/O port
with internal pull-up resistors (selected for each bit). The Port
C output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port C pins
that are externally pulled low will source current if the pullup resistors are activated. The Port C pins are tri-stated when
a reset
condition becomes active, even if the clock is not running. If
the JTAG interface is enabled, the pull-up resistors on pins
PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even
if a reset occurs.
RESET Reset Input. A low level on this pin for longer than
the minimum pulse length will generate a reset, even if the
clock is not running. The minimum pulse length is 0.1 vcc.
Shorter pulses are not guaranteed to generate a reset.
XTAL1 Input to the inverting Oscillator amplifier and input
to the internal clock operating circuit.
XTAL2 Output from the inverting Oscillator amplifier.
AVCC AVCC is the supply voltage pin for Port A and the
A/D Converter. It should be externally
connected to VCC, even if the ADC is not used. If the ADC is
used, it should be connected
to VCC through a low-pass filter.
AREF AREF is the analog reference pin for the A/D
Converter.
Adc
10-bit Resolution
0.5 LSB Integral Non-linearity
2 LSB Absolute Accuracy
13 - 260 s Conversion Time
Up to 15 kSPS at Maximum Resolution
8 Multiplexed Single Ended Input Channels
7 Differential Input Channels
2 Differential Input Channels with Optional Gain of 10x and
200x(1)
Optional Left adjustment for ADC Result Readout
0 - VCC ADC Input Voltage Range
Selectable 2.56V ADC Reference Voltage
Free Running or Single Conversion Mode
ADC Start Conversion by Auto Triggering on Interrupt
Sources
Interrupt on ADC Conversion Complete
Sleep Mode Noise Canceler
BLOCK DIAGRAM
POWER SUPPLY
LDR
RALAY
8051
MICROCONT
ROLLER
Prominent Features
Parts list
IC: NE555 1
IC Socket 8 Pin 1
Transistor: BC547 1
Diode: 1N4007 2
Resistors: 100K Trimpot 1, 47K 1/4W 1 ,22K 1/4W
1 ,10K 1/4W 1 , 1K 1/4W 2
Capacitors: 10uF/25V 1, 100uF/25V 1
LEDs: 5mm Red /Green 2
LDR: 20mm Encapsulated Type 1
Relay: 12VDC SPDT 1
Switch: SPST Rocker Switch 2
the relay. Now the down lights are powered by the N/O contacts
of the relay and stays in this condition until the light level on
LDR is reversed. The second LED (LED2) indicates this
condition. Note that, switch for the ASM mode (S2), directly
grounds pin 6 and 2 of IC1, when it is in on mode and hence
the stable function of IC1 is in disabled state. If S2 is in off
mode, the ASM function turns to on and this flashes
headlights and down lights rapidly, as long as strong light level
(from another headlight) is detected by the LDR.
Referance
Michael Sivak, Brandon Schoettle, Optimal strategies for adaptive curve lighting
[J].
Journal
of
Safety
Research,
2005,
36(3):281-288.
[CrossRef]
H. shadeed, J. Wallaschek. Concept of an Intelligent Adaptive Vehicle FrontLighting Assistance System. Proceedings of the 2007 IEEE Intelligent Vehicles
Symposium Istanbul, Turkey June-13-15, 2007: 1118-1121.
Wu Qing, Lei Ling, ChenJianlin, Wang Weifeng. Research on Hardware-in-the
Loop Simulation for Advanced Front-lighting System [J]. 2008 Pacific-Asia
Workshop on Computational Intelligence and Industrial Applications, 671-675.
Fang ying-lan, Zhu xiang-bing. The adaptive headlight's function and
implementation [J]. The Lighting of China, 2010(7):11-17
Marc Bodson, John N. Chiasson, Robert T. Novotnak, Ronald B. Rekowski. HighPerformance Nonlinear Feedback Control of a Permanent Magnet Step Motor [J].
IEEE Trans. on Control Systems Technology, 1993, 1(1):5-14.
Clarkson P J, Acarnley P P. Closed-loop Control of Stepping Motor Systems [J].
IEEE Trans on Industry Application, 1998, 24(4):685-691.