Beruflich Dokumente
Kultur Dokumente
The fear of theft and burglary always annoys many people. When lock and keys become
less safe, one can seek the help of electronic security systems.
Such a portable security system is described here.
This electronic setup auto activated whenever the intruder enters to the unauthorized no
entry area. It auto activate the landline number and redial the last dialed number from the
conventional telephone. All we need is to do minor changes to activate this telephone as it
works as to become auto dialer circuit.
Thus whenever the intruder enters to the area, it activates the sensor circuit of either sound
activation or infrared light beam obstruction circuit, the redial circuit become active and
give a ring tone to the receiving end. It may be a mobile phone or any landline phone or
even police control room.
CHAPTER :- 1
Introduction of Project
Introduction
The objective of this project is to make a controller based model to count number of
persons visiting particular room and accordingly light up the room. Here we can use sensor
and can know present number of persons.
In todays world, there is a continuous need for automatic appliances with the increase in
standard of living, there is a sense of urgency for developing circuits that would ease the
complexity of life.Also if at all one wants to know the number of people present in room so
as not to have congestion. This circuit proves to be helpful.
This Project Automatic Room Light Controller with Visitor Counter using Microcontroller
is a reliable circuit that takes over the task of controlling the room lights as well us counting
number of persons/ visitors in the room very accurately. When somebody enters into the
room then the counter is incremented by one and the light in the room will be switched ON
and when any one leaves the room then the counter is decremented by one. The light will
be only switched OFF until all the persons in the room go out. The total number of persons
inside the room is also displayed on the seven segment displays.
The microcontroller does the above job. It receives the signals from the sensors, and this
signal is operated under the control of software which is stored in ROM. Microcontroller
AT89S52 continuously monitor the Infrared Receivers, When any object pass through the
IR Receiver's then the IR Rays falling on the receiver are obstructed , this obstruction is
sensed by the Microcontroller.
CHAPTER :- 2
BLOCK DIAGRAM AND ITS DESCRIPTION
2.1
Enter
Enter Sensor
Exit Sensor
Exit
Signal
Conditioning
Relay Driver
7
4
F
1
9
2
Signal
Conditioning
Power Supply
LCD
INTERFACING
Light
2.2.1 Power Supply:Here we used +12V and +5V dc power supply. The main function of this block is to provide
the required amount of voltage to essential circuits. +12 voltage is given. +12V is given to
relay driver. To get the +5V dc power supply we have used here IC 7805, which provides
the +5V dc regulated power supply.
2.2.2 Enter and Exit Circuits:This is one of the main part of our project. The main intention of this block
is to sense
the person. For sensing the person and light we are using the light dependent register
(LDR).
2.2.3 74LS192 UP/DOWN DECADE COUNTER:It is an up/down modulo -16 binary counter. It uses up/down clocks in either
counting mode and the circuit operates synchronously . The o/p change the state
4
a) Low Power : 95 mw
b) High Speed :40MHz
c) Synchronous counting
d) Asynchronous Master Reset and parallel Load
e) Individual preset inputs
f) Cascading Circuitry Internally
This block has the potential to drive the various controlled devices. In this block mainly we
are using the transistor and the relays. One relay driver circuit we are using to control the
light. Output signal from AT89S52 is given to the base of the transistor, which we are
further energizing the particular relay. Because of this appropriate device is selected and it
do its allotted function
The output voltage can only be held roughly constant; the regulation is specified by two
measurements:
a)
Load regulation is the change in output voltage for a given change in load current
(for example: "typically 15 mV, maximum 100 mV for load currents between 5 mA and
1.4 A, at some specified temperature and input voltage").
b)
Line regulation or input regulation is the degree to which output voltage changes
with input (supply) voltage changes - as a ratio of output to input change (for example
"typically 13 mV/V"), or the output voltage change over the entire specified input voltage
~8~
range (for example "plus or minus 2% for input voltages between 90 V and 260 V, 5060 Hz").
b)
Initial accuracy of a voltage regulator (or simply "the voltage accuracy") reflects the
error in output voltage for a fixed regulator without taking into account temperature or
aging effects on output accuracy.
c)
Dropout voltage is the minimum difference between input voltage and output voltage
for which the regulator can still supply the specified current. A low drop-out (LDO)
regulator is designed to work well even with an input supply only a volt or so above the
output voltage. The input-output differential at which the voltage regulator will no longer
maintain regulation is the dropout voltage. Further reduction in input voltage will result
in reduced output voltage. This value is dependent on load current and junction
temperature.
d)
Absolute maximum ratings are defined for regulator components, specifying the
continuous and peak output currents that may be used (sometimes internally limited), the
maximum input voltage, maximum power dissipation at a given temperature, etc.
e)
Output noise (thermal white noise) and output dynamic impedance may be
specified as graphs versus frequency, while output ripple noise (mains "hum" or switchmode "hash" noise) may be given as peak-to-peak or RMS voltages, or in terms of their
spectra.
f)
Quiescent current in a regulator circuit is the current drawn internally, not available
to the load, normally measured as the input current while no load is connected (and hence
a source of inefficiency; some linear regulators are, surprisingly, more efficient at very
low current loads than switch-mode designs because of this).
g)
Transient response is the reaction of a regulator when a (sudden) change of the load
current (called the load transient) or input voltage (called the line transient) occurs. Some
regulators will tend to oscillate or have a slow response time which in some cases might
~9~
lead to undesired results. This value is different from the regulation parameters, as that is
the stable situation definition. The transient response shows the behaviour of the regulator
on a change. This data is usually provided in the technical documentation of a regulator
and is also dependent on output capacitance.
h)
Mirror-image insertion protection means that a regulator is designed for use when a
voltage, usually not higher than the maximum input voltage of the regulator, is applied to
its output pin while its input terminal is at a low voltage, volt-free or grounded. Some
regulators can continuously withstand this situation; others might only manage it for a
limited time such as 60 seconds, as usually specified in the datasheet. This situation can
occur when a three terminal regulator is incorrectly mounted for example on a PCB, with
the output terminal connected to the unregulated DC input and the input connected to the
load. Mirror-image insertion protection is also important when a regulator circuit is used
in battery charging circuits, when external power fails or is not turned on and the output
terminal remains at battery voltage.
~ 10 ~
the input voltage (for linear series regulators and buck switching regulators), or to draw input
current for longer periods (boost-type switching regulators); if the output voltage is too
high, the regulation element will normally be commanded to produce a lower voltage.
However, many regulators have over-current protection, so that they will entirely stop
sourcing current (or limit the current in some way) if the output current is too high, and some
regulators may also shut down if the input voltage is outside a given range
7805 is a voltage regulator integrated circuit. It is a member of 78xx series of fixed linear
voltage regulator ICs. The voltage source in a circuit may have fluctuations and would not
give the fixed voltage output. The voltage regulator IC maintains the output voltage at a
constant value. The xx in 78xx indicates the fixed output voltage it is designed to provide.
7805 provides +5V regulated power supply. Capacitors of suitable values can be connected at
input and output pins depending upon the respective voltage levels.
Pin
No
1
2
3
Function
Name
Input
Ground
Output
~ 11 ~
Design
~ 12 ~
The IC was designed in 1971 by Hans Camenzind under contract to Signetics, which was
later acquired by Philips (now NXP).
Depending on the manufacturer, the standard 555 package includes 25 transistors,
2 diodes and 15 resistors on a silicon chip installed in an 8-pin mini dual-in-line package
(DIP-8). Variants available include the 556 (a 14-pin DIP combining two 555s on one chip),
and the two 558 & 559s (both a 16-pin DIP combining four slightly modified 555s with DIS
& THR connected internally, and TR is falling edge sensitive instead of level sensitive).
The NE555 parts were commercial temperature range, 0 C to +70 C, and the SE555 part
number designated the military temperature range, 55 C to +125 C. These were available
in both high-reliability metal can (T package) and inexpensive epoxy plastic (V package)
packages. Thus the full part numbers were NE555V, NE555T, SE555V, and SE555T. It has
been hypothesized that the 555 got its name from the three 5 k resistors used within, but
Hans Camenzind has stated that the number was arbitrary.
Low-power versions of the 555 are also available, such as the 7555 and CMOS TLC555. The
7555 is designed to cause less supply noise than the classic 555 and the manufacturer claims
that it usually does not require a "control" capacitor and in many cases does not require
a decoupling capacitor on the power supply. Those parts should generally be included,
however, because noise produced by the timer or variation in power supply voltage might
interfere with other parts of a circuit or influence its threshold voltage.
The connection of the pins for a DIP package is as follows:
Pi
Name Purpose
n
1
GND
TRIG
The OUT pin goes high and a timing interval starts when this input falls below
1/2 of CTRL voltage (which is typically 1/3 ofVCC, when CTRL is open).
OUT
~ 13 ~
A timing interval may be reset by driving this input to GND, but the timing
RESE
does not begin again until RESET rises above approximately 0.7 volts.
T
Overrides TRIG which overrides THR.
CTRL Provides "control" access to the internal voltage divider (by default, 2/3 VCC).
THR
The timing (OUT high) interval ends when the voltage at THR is greater than
that at CTRL (2/3 VCC if CTRL is open).
DIS
VCC
Pin 5 is also sometimes called the CONTROL VOLTAGE pin. By applying a voltage to the
CONTROL VOLTAGE input one can alter the timing characteristics of the device. In most
applications, the CONTROL VOLTAGE input is not used. It is usual to connect a 10 nF
capacitor between pin 5 and 0 V to prevent interference. The CONTROL VOLTAGE input
can be used to build an astable with a frequency modulated output.
3.1 Modes
The 555 has three operating modes:
a)
Monostable mode: In this mode, the 555 functions as a "one-shot" pulse generator.
Applications include timers, missing pulse detection, bounce free switches, touch
switches, frequency divider, capacitance measurement, pulse-width modulation (PWM)
and so on.
~ 14 ~
b)
c)
Bistable mode or Schmitt trigger: The 555 can operate as a flip-flop, if the DIS pin
is not connected and no capacitor is used. Uses include bounce-free latched switches.
3.1.1Monostable
In the monostable mode, the 555 timer acts as a "one-shot" pulse generator. The pulse begins
when the 555 timer receives a signal at the trigger input that falls below a third of the voltage
supply. The width of the output pulse is determined by the time constant of an RC network,
which consists of a capacitor (C) and a resistor (R). The output pulse ends when the voltage
on the capacitor equals 2/3 of the supply voltage. The output pulse width can be lengthened
or shortened to the need of the specific application by adjusting the values of R and C.
The output pulse width of time t, which is the time it takes to charge C to 2/3 of the supply
voltage, is given by
.(3.1)
where t is in seconds, R is in ohms and C is in farads.
While using the timer IC in monostable mode, the main disadvantage is that the time span
between any two triggering pulses must be greater than the RC time constant.
~ 15 ~
~ 16 ~
3.1.2 Bistable
In bistable (also called Schmitt trigger) mode, the 555 timer acts as a basic flip-flop. The
trigger and reset inputs (pins 2 and 4 respectively on a 555) are held high via Pull-up
resistors while the threshold input (pin 6) is simply floating. Thus configured, pulling the
trigger momentarily to ground acts as a 'set' and transitions the output pin (pin 3) to Vcc (high
state). Pulling the reset input to ground acts as a 'reset' and transitions the output pin to
ground (low state). No timing capacitors are required in a bistable configuration. Pin 5
(control voltage) is connected to ground via a small-value capacitor (usually 0.01 to 0.1 uF);
pin 7 (discharge) is left floating.
3.1.3 Astable
In astable mode, the 555 timer puts out a continuous stream of rectangular pulses having a
specified frequency. Resistor R1 is connected between VCC and the discharge pin (pin 7) and
~ 17 ~
another resistor (R2) is connected between the discharge pin (pin 7), and the trigger (pin 2)
and threshold (pin 6) pins that share a common node. Hence the capacitor is charged through
R1 and R2, and discharged only through R2, since pin 7 has low impedance to ground during
output low intervals of the cycle, therefore discharging the capacitor.
In the astable mode, the frequency of the pulse stream depends on the values of R1, R2 and C:
.(3.2)
..(3.5)
~ 18 ~
where Vdiode is when the diode has a current of 1/2 of V cc/R1 which can be determined from its
datasheet or by testing. As an extreme example, when Vcc= 5 and Vdiode= 0.7, high time = 1.00
R1C which is 45% longer than the "expected" 0.693 R1C. At the other extreme, when Vcc= 15
and Vdiode= 0.3, the high time = 0.725 R1C which is closer to the expected 0.693 R1C. The
equation reduces to the expected 0.693 R1C if Vdiode= 0.
The operation of RESET in this mode is not well defined, some manufacturers' parts will hold
the output state to what it was when RESET is taken low, others will send the output either
high or low.
Specifications
These specifications apply to the NE555. Other 555 timers can have different specifications
depending on the grade (military, medical, etc.).
4.5 to 15 V
3 to 6 mA
10 to 15 mA
200 mA
600 mW
Operating temperature
0 to 70 C
~ 19 ~
3.2 RECTIFIER
A rectifier is an electrical device that converts alternating current (AC), which periodically
reverses direction, to direct current (DC), which flows in only one direction. The process is
known as rectification. Physically, rectifiers take a number of forms, including vacuum
tube diodes, mercury-arc valves, copper and selenium oxide rectifiers, semiconductor
diodes, silicon-controlled rectifiers and other silicon-based semiconductor switches.
Rectifiers have many uses, but are often found serving as components of DC power
supplies and high-voltage direct current power transmission systems. Rectification may serve
in roles other than to generate direct current for use as a source of power. As noted,
detectors of radio signals serve as rectifiers. In gas heating systems flame rectification is used
to detect presence of flame.
Because of the alternating nature of the input AC sine wave, the process of rectification alone
produces a DC current that, though unidirectional, consists of pulses of current. Many
applications of rectifiers, such as power supplies for radio, television and computer
equipment, require a steady constant DC current (as would be produced by a battery). In
these applications the output of the rectifier is smoothed by an electronic filter to produce a
steady current.
A more complex circuitry device that performs the opposite function, converting DC to AC,
is called an inverter.
~ 20 ~
A full-wave rectifier converts the whole of the input waveform to one of constant polarity
(positive or negative) at its output. Full-wave rectification converts both polarities of the
input waveform to pulsating DC (direct current), and yields a higher average output voltage.
Two diodes and a center tapped transformer, or four diodes in a bridge configurationand any
AC source (including a transformer without center tap), are needed.[3] Single semiconductor
diodes, double diodes with common cathode or common anode, and four-diode bridges, are
manufactured as single components.
~ 21 ~
..(3.7)
Very common double-diode rectifier vacuum tubes contained a single common cathode and
two anodes inside a single envelope, achieving full-wave rectification with positive output.
The 5U4 and 5Y3 were popular examples of this configuration.
For an uncontrolled three-phase bridge rectifier, six diodes are used, and the circuit again has
a pulse number of six. For this reason, it is also commonly referred to as a six-pulse
bridge.For low-power applications, double diodes in series, with the anode of the first diode
connected to the cathode of the second, are manufactured as a single component for this
purpose. Some commercially available double diodes have all four terminals available so the
user can configure them for single-phase split supply use, half a bridge, or three-phase
rectifier.
~ 22 ~
For higher-power applications, a single discrete device is usually used for each of the six
arms of the bridge. For the very highest powers, each arm of the bridge may consist of tens or
hundreds of separate devices in parallel (where very high current is needed, for example
in aluminium smelting) or in series (where very high voltages are needed, for example
in high-voltage direct current power transmission).
~ 23 ~
.
(3.11)
The overlap angle is directly related to the DC current, and the above equation may be reexpressed as:
.
(3.12)
Where: Lc, the commutating inductance per phase
Id, the direct current
~ 24 ~
CHAPTER :- 4
CIRCUIT DESCRIPTION
There are two main parts of the circuits.
1. Transmission Circuits (Infrared LEDs)
2. Receiver Circuit (Sensors)
4.1Transmission Circuit:
~ 25 ~
This circuit diagram shows how a 555 timer IC is configured to function as a basic
monostable multivibrator. A monostable multivibrator is a timing circuit that changes state
once triggered, but returns to its original state after a certain time delay. It got its name from
the fact that only one of its output states is stable. It is also known as a 'one-shot'.
In this circuit, a negative pulse applied at pin 2 triggers an internal flip-flop that turns off pin
7's discharge transistor, allowing C1 to charge up through
R1. At the same time, the flip-flop brings the output (pin 3) level to 'high'. When capacitor
C1 as charged up to about 2/3 Vcc, the flip-flop is triggered once again, this time making the
pin 3 output 'low' and turning on pin 7's discharge transistor, which discharges C1 to ground.
This circuit, in effect, produces a pulse at pin 3 whose width t is just the product of R1 and
C1, i.e., t=R1C1.
IR Transmission circuit is used to generate the modulated 36 kHz IR signal. The IC555 in the
transmitter side is to generate 36 kHz square wave. Adjust the preset in the transmitter to get
a 38 kHz signal at the o/p. around 1.4K we get a 38 kHz signal. Then you point it over the
sensor and its o/p will go low when it senses the IR signal of 38 kHz.
4.2Receiver Circuit:
~ 26 ~
The IR transmitter will emit modulated 38 kHz IR signal and at the receiver we use
TSOP1738 (Infrared Sensor). The output goes high when the there is an interruption and it
return back to low after the time period determined by the capacitor and resistor in the circuit.
I.e. around 1 second. CL100 is to trigger the IC555 which is configured as monostable
multivibrator. Input is given to the Port 1 of the microcontroller. Port 0 is used for the 7Segment display purpose. Port 2 is used for the Relay Turn On and Turn off Purpose.LTS 542
(Common Anode) is used for 7-Segment display. And that time Relay will get Voltage and
triggered so light will get voltage and it will turn on. And when counter will be 00 that time
Relay will be turned off. Reset button will reset the microcontroller.
~ 27 ~
CHAPTER :- 5
HARDWARE DESIGN& DESCRIPTIONS
Hardware Design:-
UP/DOWN
COUNTER
74LS192
~ 28 ~
Infrared Sensor
TSOP1738
Relay
Timer IC
555
7-Segment
Display
~ 29 ~
Still the desired output was not obtained and so troubleshooting was done. In the process of
troubleshooting I found the circuit aptly soldered and connected and hence came to
conclusion that there was error in programming section which was later rectified and the
desired results were obtained.
CHAPTER:-6
CIRCUIT DESCRIPTION- PART B
6.1
~ 30 ~
Block Diagram:
~ 31 ~
Description:
~ 32 ~
The LM555 is a highly stable device for generating accurate time delays or oscillation.
Additional terminals are provided for triggering or resetting if desired. In the time delay
mode of operation, the time is precisely controlled by one external resistor and capacitor. For
astable operation as an oscillator, the free running frequency and duty cycle are accurately
controlled with two external resistors and one capacitor. The circuit may be triggered and
reset on falling waveforms, and the output circuit can source or sink up to 200mA or drive
TTL circuits.
Features:
a)
b)
c)
d)
e)
f)
g)
h)
a)
b)
c)
d)
e)
f)
g)
Precision timing
Pulse generation
Sequential timing
Time delay generation
Pulse width modulation
Pulse position modulation
Linear ramp generator
Applications:
~ 33 ~
Features:
a)
b)
c)
d)
e)
f)
g)
Common Anode
0.52 Inch Digit Height
Continuous Uniform Segments
Low power Requirement
Excellent Characters Appearance
High Brightness & High Contrast
Wide Viewing Angle
~ 34 ~
Features:
a)
b)
c)
d)
e)
Output Current up to 1A
Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V
Thermal Overload Protection
Short Circuit Protection
Output Transistor Safe Operating Area Protection
~ 35 ~
6.6 CAPACITOR
A capacitor (originally
known
as
a condenser)
is
component used to store energy electro statically in an electric field. The forms of practical
capacitors vary widely, but all contain at least two electrical conductors (plates) separated by
a dielectric (i.e., insulator). The conductors can be thin films of metal aluminum foil or disks,
etc. The 'non conducting' dielectric acts to increase the capacitor's charge capacity. A
dielectric can be glass, ceramic, plastic film, air, paper, mica, etc. Capacitors are widely used
as parts of electrical circuits in many common electrical devices. Unlike a resistor, a capacitor
does not dissipate energy. Instead, a capacitor stores energy in the form of an electrostatic
field between its plates.
~ 36 ~
Class 1 ceramic capacitors offer high stability and low losses for resonant circuit
applications.
b)
Class 2 ceramic capacitors offer high volumetric efficiency for buffer, by-pass and
coupling applications.
~ 37 ~
~ 38 ~
Schottky diode
Another type of junction diode, the Schottky diode, is formed from a metalsemiconductor
junction rather than a pn junction, which reduces capacitance and increases switching speed.
~ 39 ~
1. At very large reverse bias, beyond the peak inverse voltage or PIV, a process
called reverse breakdown occurs that causes a large increase in current (i.e., a large
number of electrons and holes are created at, and move away from the pn junction)
that usually damages the device permanently. At reverse biases more positive than the
PIV, has only a very small reverse saturation current. In the reverse bias region for a
normal PN rectifier diode, the current through the device is very low (in the A
range). However, this is temperature dependent, and at sufficiently high temperatures,
a substantial amount of reverse current can be observed (mA or more).
2. With a small forward bias, where only a small forward current is conducted, the
currentvoltage curve is exponential in accordance with the ideal diode equation.
There is a definite forward voltage at which the diode starts to conduct significantly.
This is called the knee voltage or cut-in voltage and is equal to the barrier potential of
the p-n junction.
3. At larger forward currents the current-voltage curve starts to be dominated by the
ohmic resistance of the bulk semiconductor. The curve is no longer exponential; it is
asymptotic to a straight line whose slope is the bulk resistance. This region is
particularly important for power diodes. The effect can be modeled as an ideal diode
in series with a fixed resistor.
In a small silicon diode at rated currents, the voltage drop is about 0.6 to 0.7 volts. The value
is different for other diodes.
At higher currents the forward voltage drop of the diode increases. A drop of 1 V to 1.5 V is
typical at full rated current for power diodes.
6.8 RESISTOR
A resistor is
component that
implements electrical
resistance as a circuit element. Resistors act to reduce current flow, and, at the same time, act
to lower voltage levels within circuits. Resistors may have fixed resistances or variable
resistances,
such
as
those
found
Units
The ohm (symbol: ) is the SI unit of electrical resistance, named after George Simon Ohm.
An ohm is equivalent to a volt per ampere. Since resistors are specified and manufactured
over a very large range of values, the derived units of milliohm (1 m = 10 3 ), kilohm (1
k = 103 ), and megohm (1 M = 106 ) are also in common usage.
The reciprocal of resistance R is called conductance G = 1/R and is measured
in siemens (SI unit), sometimes referred to as a mho. Hence, siemens is the reciprocal of an
~ 41 ~
ohm:. Although the concept of conductance is often used in circuit analysis, practical resistors
are always specified in terms of their resistance (ohms) rather than conductance.
6.8.1 Potentiometers
A common element in electronic devices ia a three-terminal resistop with a continuously
adjustable tapping point controlled by rotation of shaft or knob.
These variable resistors are known as potentiometer which act as potential divider.
~ 42 ~
Color code
The axial lead carbon resistors measured by the color codes marked on them. Information
such as resistance value, tolerance, temperature co-efficient measured by the color codes, and
the amount of power (wattage) identified by the size.
The color bands of the carbon resistors can be four, five or, six bands, for all the first two
bands represent first two digits to measure their value in ohms. The third band of a fourbanded resistor represents multiplier and the fourth band as tolerance. Whereas, the five and
six color-banded resistors, the third band rather represents as third digit but the fourth and
fifth bands represent as multiplier and tolerance respectively. Only the sixth band represents
temperature co-efficient in a six-banded resistor.
~ 43 ~
has a voltage that is more positive than its cathode lead by at least the LED's forward voltage
drop, current flows. Electrons are able to recombine with holes within the device, releasing
energy in the form of photons. This effect is called electroluminescence, and the color of the
light (corresponding to the energy of the photon) is determined by the energy band gap of the
semiconductor.
An LED is often small in area (less than 1 mm2), and integrated optical components may be
used to shape its radiation pattern.
Appearing as practical electronic components in 1962, the earliest LEDs emitted lowintensity infrared light. Infrared LEDs are still frequently used as transmitting elements in
remote-control circuits, such as those in remote controls for a wide variety of consumer
electronics. The first visible-light LEDs were also of low intensity, and limited to red.
Modern LEDs are available across the visible,ultraviolet, and infrared wavelengths, with very
high brightness.
Early LEDs were often used as indicator lamps for electronic devices, replacing small
incandescent bulbs. They were soon packaged into numeric readouts in the form of sevensegment displays, and were commonly seen in digital clocks.
Recent developments in LEDs permit them to be used in environmental and task lighting.
LEDs have many advantages over incandescent light sources including lower energy
consumption, longer lifetime, improved physical robustness, smaller size, and faster
switching. Light-emitting diodes are now used in applications as diverse as aviation
lighting, automotive headlamps, advertising,general lighting, traffic signals, and camera
flashes. However, LEDs powerful enough for room lighting are still relatively expensive, and
require more precise current and heat management than compact fluorescent lamp sources of
comparable output.
LEDs have allowed new text, video displays, and sensors to be developed, while their high
switching rates are also useful in advanced communications technology.
~ 44 ~
Current bright blue LEDs are based on the wide band gap semiconductors GaN (gallium
nitride) and InGaN (indium gallium nitride). They can be added to existing red and green
LEDs to produce the impression of white light. Modules combining the three colors are used
in bigvideo screens and in adjustable-color fixtures.
The first blue LEDs using gallium nitride were made in 1971 by Jacques Pankove at RCA
Laboratories. These devices had too little light output to be of practical use and research into
gallium nitride devices slowed. In August 1989, Cree Inc. introduced the first commercially
available blue LED based on the indirect bandgap semiconductor, silicon carbide.[ SiC LEDs
had very low efficiency, no more than about 0.03%, but did emit in the blue portion of the
visible light spectrum.
In the late 1980s, key breakthroughs in GaN epitaxial growth and p-type doping ushered in
the modern era of GaN-based optoelectronic devices. Building upon this foundation, in 1993
high-brightness blue LEDs were demonstrated. High-brightness blue LEDs invented by Shuji
Nakamura of Nichia Corporation using gallium nitride revolutionized LED lighting, making
high-power light sources practical.
By the late 1990s, blue LEDs had become widely available. They have an active region
consisting of one or more InGaN quantum wellssandwiched between thicker layers of GaN,
called cladding layers. By varying the relative In/Ga fraction in the InGaN quantum wells, the
light emission can in theory be varied from violet to amber. Aluminium gallium
nitride (AlGaN) of varying Al/Ga fraction can be used to manufacture the cladding and
quantum well layers for ultraviolet LEDs, but these devices have not yet reached the level of
efficiency and technological maturity of InGaN/GaN blue/green devices. If un-alloyed GaN
is used in this case to form the active quantum well layers, the device will emit nearultraviolet light with a peak wavelength centred around 365 nm. Green LEDs manufactured
from the InGaN/GaN system are far more efficient and brighter than green LEDs produced
with non-nitride material systems, but practical devices still exhibit efficiency too low for
high-brightness applications.
~ 45 ~
With nitrides containing aluminium, most often AlGaN and AlGaInN, even shorter
wavelengths are achievable. Ultraviolet LEDs in a range of wavelengths are becoming
available on the market. Near-UV emitters at wavelengths around 375395 nm are already
cheap and often encountered, for example, as black light lamp replacements for inspection of
anti-counterfeiting UV watermarks in some documents and paper currencies. Shorterwavelength diodes, while substantially more expensive, are commercially available for
wavelengths down to 240 nm. As the photosensitivity of microorganisms approximately
matches the absorption spectrum of DNA, with a peak at about 260 nm, UV LED emitting at
250270 nm are to be expected in prospective disinfection and sterilization devices. Recent
research has shown that commercially available UVA LEDs (365 nm) are already effective
disinfection and sterilization devices.
Deep-UV
wavelengths
were
obtained
in
laboratories
using aluminium
nitride (210 nm), boron nitride (215 nm) and diamond (235 nm).[
White light
There are two primary ways of producing white light-emitting diodes (WLEDs), LEDs that
generate high-intensity white light. One is to use individual LEDs that emit three primary
colorsred, green, and blueand then mix all the colors to form white light. The other is to
use a phosphor material to convert monochromatic light from a blue or UV LED to broadspectrum white light, much in the same way a fluorescent light bulb works.
There are three main methods of mixing colors to produce white light from an LED:
a)
blue LED + green LED + red LED (color mixing; can be used as backlighting for
displays)
b)
near-UV or UV LED + RGB phosphor (an LED producing light with a wavelength
shorter than blue's is used to excite an RGB phosphor)
c)
blue LED + yellow phosphor (two complementary colors combine to form white
light; more efficient than first two methods and more commonly used)
Because of metamerism, it is possible to have quite different spectra that appear white.
However, the appearance of objects illuminated by that light may vary as the spectrum varies.
~ 46 ~
~ 47 ~
diffuse light, which is desirable for many applications. Remote phosphor designs are also
more tolerant of variations in the LED emissions spectrum. A common yellow phosphor
material is cerium-doped yttrium aluminium garnet (Ce3+:YAG).
White LEDs can also be made by coating near-ultraviolet (NUV) LEDs with a mixture of
high-efficiency europium-based phosphors that emit red and blue, plus copper and
aluminium-doped zinc sulfide (ZnS:Cu, Al) that emits green. This is a method analogous to
the way fluorescent lamps work. This method is less efficient than blue LEDs with YAG:Ce
phosphor, as the Stokes shift is larger, so more energy is converted to heat, but yields light
with better spectral characteristics, which render color better. Due to the higher radiative
output of the ultraviolet LEDs than of the blue ones, both methods offer comparable
brightness. A concern is that UV light may leak from a malfunctioning light source and cause
harm to human eyes or skin.
~ 48 ~
the molecule, and the material therefore functions as an organic semiconductor. The organic
materials can be small organic moleculesin a crystalline phase, or polymers.
The potential advantages of OLEDs include thin, low-cost displays with a low driving
voltage, wide viewing angle, and high contrast and color gamut. Polymer LEDs have the
added benefit of printable and flexible displays. OLEDs have been used to make visual
displays for portable electronic devices such as cellphones, digital cameras, and MP3 players
while possible future uses include lighting and televisions.
A printed circuit board (PCB) mechanically supports and electrically connects electronic
components using conductive tracks,
pads
and
other
copper
sheets laminated onto a non-conductive substrate. PCBs can be single sided (one copper
layer), double sided (two copper layers) or multi-layer. Conductors on different layers are
connected with plated-through holes calledvias. Advanced PCBs may contain components capacitors, resistors or active devices - embedded in the substrate.
Printed circuit boards are used in all but the simplest electronic products. Alternatives to
PCBs include wire wrap and point-to-point construction. PCBs require the additional design
effort to lay out the circuit but manufacturing and assembly can be automated. Manufacturing
circuits with PCBs is cheaper and faster than with other wiring methods as component are
mounted and wired with one single part. Furthermore, operator wiring errors are eliminated.
When the board has only copper connections and no embedded components it is more
correctly called a printed wiring board (PWB) or etched wiring board. Although more
accurate, the term printed wiring board has fallen into disuse. A PCB populated with
electronic components is called a printed circuit assembly (PCA), printed circuit board
assembly or PCB assembly (PCBA). The IPC preferred term for assembled boards is circuit
card assembly (CCA),[1] for assembled backplanes it is backplane assemblies. The term PCB
is used informally both for bare and assembled boards.
6.10.1 DESIGN
Printed circuit board artwork generation was initially a fully manual process done on clearS
mylar sheets at a scale of usually 2 or 4 times the desired size. The schematic diagram was
first converted into a layout of components pin pads, then traces were routed to provide the
required interconnections. Pre-printed non-reproducing mylar grids assisted in layout, and
rub-on dry transfers of common arrangements of circuit elements (pads, contact fingers,
integrated circuit profiles, and so on) helped standardize the layout. Traces between devices
were made with self-adhesive tape. The finished layout "artwork" was then photographically
reproduced on the resist layers of the blank coated copper-clad boards.
~ 50 ~
Modern practice is less labor-intensive since computers can automatically perform many of
the layout steps. The general progression for a commercial printed circuit board design would
include:
1. Schematic capture through an electronic design automation tool.
2. Card dimensions and template are decided based on required circuitry and case of the
PCB. Determine the fixed components andheat sinks if required.
3. Deciding stack layers of the PCB. 1 to 12 layers or more depending on design
complexity. Ground plane and power plane are decided. Signal planes where signals
are routed are in top layer as well as internal layers.
4. Line impedance determination using dielectric layer thickness, routing copper
thickness and trace-width. Trace separation also taken into account in case of
differential signals. Microstrip, stripline or dual stripline can be used to route signals.
5. Placement of the components. Thermal considerations and geometry are taken into
account. Vias and
lands
are
marked.Routing
the signal
traces.
For
optimal EMI performance high frequency signals are routed in internal layers
between power or ground planes as power planes behave as ground for AC.
6. Gerber file generation for manufacturing.In the design of the PCB artwork, a power
plane is the counterpart to the ground plane and behaves as an AC signal ground,
while providing DC voltage for powering circuits mounted on the PCB. In electronic
design automation (EDA) design tools, power planes (and ground planes) are usually
drawn automatically as a negative layer, with clearances or connections to the plane
created automatically.
~ 51 ~
CHAPTER :- 7
FLOW CHART
~ 52 ~
a) If the sensor 1 is interrupted first then the microcontroller will look for the sensor and
if it is interrupted then the microcontroller will increment the count and switch on the
relay, if it is first time interrupted.
b) If the sensor 2 is interrupted first then the microcontroller will look for the sensor and
if it is interrupted then the microcontroller will decrement the count.
c) When the last person leaves the room then counter goes to 0 and that time the relay
will turn off. And light will be turn off.
~ 53 ~
CHAPTER :- 8
TESTING AND RESULTS
We started our project by making power supply. That is easy for me but when we turn toward
the main circuit, there are many problems and issues related to it, which we faced, like
component selection, which components is better than other and its feature and cost wise a
We started our project by making power supply. That is easy for me but when I turn toward
the main circuit, there are many problems and issues related to it, which are I faced, like
component selection, which components is better than other and its feature and cost wise
also, then refer the data books and other materials related to its.
I had issues with better or correct result, which I desired. And also the software problem.
I also had some soldering issues which were resolved using continuity checks performed on
the hardware.
We had issues with better or correct result, which we desired. And also the software problem.
We also had some soldering issues which were resolved using continuity checks performed
on the hardware.
We started testing the circuit from the power supply. There we got over first
trouble. After getting 9V from the transformer it was not converted to 5V and the circuit
received 9V.
As the solder was shorted IC 7805 got burnt. So we replaced the IC7805.also the circuit part
around the IC7805 were completely damaged..with the help of the solder we made the
necessary paths.
~ 54 ~
CHAPTER :- 9
FUTURE EXPANSION
a) By using this circuit and proper power supply we can implement various
applications
Such as fans, tube lights, etc.
b) By modifying this circuit and using two relays we can achieve a task of opening
and closing the door.
~ 55 ~
CHAPTER :- 10
APPLICATIONS
CHAPTER :- 11
~ 56 ~
REFERENCES
2. Microelectronics circuit by SEDRA & SMITH 5th edition
Page nos. : 139-146, 761-852 & 1198-1214
3. Electronics devices & circuit by BOLYESTAD
Page nos. : 843-896 & 987-1002
~ 57 ~