Академический Документы
Профессиональный Документы
Культура Документы
CHAPTER 1
INTRODUCTION
INTRODUCTION
The circuit mainly comprises Transmitter & Receiver which are built with
the 555 Timer. Both require 5 volts D.C. Supply. The IR rays continuously
emitted by the transmitter fall on the receiver. We have used an IR sensor –
TSOP1738 and an infra-red LED. A relay is used in the circuit along with
the free-wheeling diode to drive the solenoid. Solenoid is used to lift up the
valve fitted in the pipe to let the water flow out of the tap. The circuit is
simple, economical and finds wide application in daily life.
The aim of this project is to design an Automatic Wash Basin Tap Controller
using 555 timer, IR LED and infrared sensor. The overall module should be
miniature to allow portability and should be economical.
CHAPTER 2
POWER SUPPLY
2.1 Building the 5V Regulated Power Supply
2.2Transformer Output
2.3Rectifier Output
2.4Smoother Output
POWER SUPPLY
A simple power supply circuit that includes each of these blocks in given in
figure 4. The following articles in this series look at each block of the
Power Supply in detail, but if you just want to build a 5V regulated Power
Supply.
If the input voltage is 9V AC, you will be able to draw 1A from the power
supply. For the maximum input voltage of 35V you will be able to draw
0.1A.
If the unit does not have a fuse or a cut-out on the output of the transformer,
you will also need to add a fuse of an appropriate rating. This fuse is in
addition to the mains fuse in the unit's plug and is needed to protect the low
voltage winding of the transformer and any circuits you connect to it.
Although we won't be building the transformer block of our 5V regulated
power supply, it is interesting to know how it works.
The iron core is laminated to prevent 'eddy currents' flowing in the core.
These are currents produced by the alternating magnetic field inducing a
small voltage in the core, just like that induced in the secondary coil. Eddy
currents waste power by needlessly heating up the core but they are reduced
to a negligible amount by laminating the iron because this increases the
electrical resistance of the core without affecting its magnetic properties.
The circuit in figure addresses the second of these problems since at no time
is the output voltage 0V. This time four diodes are arranged so that both the
positive and negative parts of the AC waveform are converted to DC. The
resulting waveform is shown in figure.
The output waveform in figure shows how smoothing works. During the
first half of the voltage peaks from the rectifier, when the voltage increases,
the capacitor charges up. Then, while the voltage decreases to zero in the
second half of the peaks, the capacitor releases its stored energy to keep the
output voltage as constant as possible. Such a capacitor is called a
'smoothing' or 'reservoir' capacitor when it is used in this application.
RIPPLE
If the voltage peaks from the rectifier were not continually charging up the
capacitor, it would eventually discharge and the output voltage would
decrease all the way down to 0V. The discharging that does occur between
peaks gives rise to a small 'ripple' voltage. The amount of ripple is affected
by a combination of three factors:
The value of the capacitor. The larger the capacitor value, the more charge it
can store, and the slower it will discharge. Therefore, smoothing capacitors
are normally electrolytic capacitors with values over 470μF.
The amount of current used by the circuit. If the circuit connected to the
power supply takes a lot of current, the capacitor will discharge more
quickly and there will be a higher ripple voltage. The frequency of the
peaks. The more frequent the voltage peaks from the rectifier, the more
often the capacitor will be charged, and the lower the ripple voltage will be.
If you want to calculate the ripple voltage, you can use this formula...
Where Vr is the ripple voltage in Volts, I is the current taken by the circuit in
Amps, C is the value of the smoothing capacitor in Farads, and F is the
frequency of the peaks from the full-wave rectifier, in Hertz. This frequency
will be double the normal mains frequency, i.e. 100Hz in the case of the UK
mains supply, or 120Hz in the case of the US mains supply.
The ripple voltage should not be more than 10% of Vs - if it is, increase the
value of the smoothing capacitor.
Lots of circuits will work fine from a smoothed power supply, but some
must have a completely regular supply with no ripple voltage
There are seven regulators in the 78xx series, and each can pass up to 1A to
any connected circuit. There are also regulators with similar type numbers
that can pass a higher or lower current, as shown in the table below. In
addition, variable regulators are available, as are regulators that can provide
negative regulation voltages for circuits that require them.
CHAPTER 3
PRINTED CIRCUIT BOARD
3.1 Materials
3.2 Steps for PCB Designing
3.1 Materials
Conducting layers are typically made of thin copper foil. Insulating
materials have a wider scale: Phenolic paper, glass fiber and different
plastics are commonly used. Usually PCB factories use prepregs (short for
preimpregnated), which are a combination of glass fibre mat, nonwoven
material and resin. Copper foil and prepreg are typically laminated together
with epoxy resin. Well known prepreg materials used in the PCB industry
are FR-2 (Phenolic cotton paper), FR-3 (Cotton paper and epoxy), FR-4
(Woven glass and epoxy), FR-5 (Woven glass and epoxy), FR-6 (Matte glass
and polyester), G-10 (Woven glass and epoxy), CEM-1 (Cotton paper and
epoxy), CEM-2 (Cotton paper and epoxy), CEM-3 (Woven glass and
epoxy), CEM-4 (Woven glass and epoxy), CEM-5 (Woven glass and
polyester). Other widely used materials are polyimide, Teflon and some
ceramics.
The vast majority of printed circuit boards are made by bonding a layer of
copper over the entire substrate, sometimes on both sides, (creating a "blank
PCB") then removing unwanted copper after applying a temporary mask
(eg. by etching), leaving only the desired copper traces. A few PCBs are
made by adding traces to the bare substrate (or a substrate with a very thin
layer of copper) usually by a complex process of multiple electroplating
steps.
2. Drilling
Holes, or vias, through a PCB are typically drilled with tiny drill bits made
of solid tungsten carbide. Automated drilling machines perform the drilling
with placement controlled by a drill tape or drill file. These computer-
generated files are also called numerically controlled drill (NCD) files or
"Excellon files". The drill file describes the location and size of each drilled
hole.
When very small vias are required, drilling with mechanical bits is costly
because of high rates of wear and breakage. In this case, the vias may be
evaporated by lasers. Laser-drilled vias typically have an inferior surface
finish inside the hole. These holes are called micro vias.
The walls of the holes, for boards with 2 or more layers, are plated with
copper to form plated-through holes that electrically connect the conducting
layers of the PCB. For multilayer boards, those with 4 layers or more,
drilling typically produces a smear comprised of the bonding agent in the
Laminate system. Before the holes can be plated through, this smear must be
removed by a chemical de-smear process, or by plasma-etch.
3. Solder resist
Areas that should not be soldered to may be covered with a polymer solder
resist (solder mask) coating. The solder resist prevents solder from bridging
between conductors and thereby creating short circuits. Solder resist also
provides some protection from the environment.
To facilitate these tests, PCBs may be designed with extra pads to make
temporary connections. Sometimes these pads must be isolated with
resistors. The in-circuit test may also exercise boundary scan test features of
some components. In-circuit test systems may also be used to program
nonvolatile memory components on the board.
In boundary scan testing, test circuits integrated into various ICs on the
board form temporary connections between the PCB traces to test that the
ICs are mounted correctly. Boundary scan testing requires that all the ICs to
be tested use a standard test configuration procedure, the most common one
being the Joint Test Action Group (JTAG) standard.
CHAPTER 4
DESIGN OBJECTIVE
DESIGN OBJECTIVE
The aim of this project is to design an Automatic Wash Basin Tap Controller
using 555 timer, IR LED and infrared sensor (TSOP1738). The overall
module should be miniature to allow portability. It has the following
features.
• Easy to use
• Economical
• Compact and portable
The main advantage of this device is its miniature size and satisfactory
performance, considering its low cost and small size.
CHAPTER 5
SPECIFICATIONS
5.1 IC 555 Timer
5.2 IR Sensor TSOP 1738
5.3 IR LED 38
SPECIFICATIONS
REL Relay - 1
IC 555 Timer - 2
TRANS Transistor - 2
BC548
CHAPTER 6
CIRCUIT COMPONENTS
6.1 IC 555 Timer
6.2 IR Light Emitting Diodes (LEDs)
6.3 IR Sensor TSOP 1738
6.4 Relay
6.5 Solenoid
6.6 Resistors
6.7 Free Wheeling Diode
6.8 Capacitors
6.9 Transistors
CIRCUIT COMPONENTS
DESCRIPTION
The 555 timer IC was first introduced around 1971 by the Signetics
Corporation as the SE555/NE555 and was called "The IC Time Machine"
and was also the very first and only commercial timer IC available. The 555
is a monolithic timing circuit that can produce accurate and highly stable
time delays or oscillations. It has an adjustable duty cycle ,timing is from
microseconds to hours. It has a high current output ,it can source or sink 200
miliamperes . It can operate in one of the two modes either as a monostable
(one-shot) multivibrator or as an astable (free running) multivibrator .It can
be used in dc-dc converters, digital logic probes, waveform generators,
analog frequency meters and tachometers, temperature measurement and
control ,infrared transmitters ,burglar and toxic gas alarms ,voltage
regulators ,electric eyes and many others.
PIN OUT
The 555 comes in 2 packages, either the round metal-can called the 'T'
package or the more familiar 8-pin DIP 'V' package. The 556 timer is a dual
555 version and comes in a 14-pin DIP package, the 558 is a quad version
with four 555's also in a 14 pin DIP package.
PIN DESCRIPTION
Pin1: Ground. All voltages are measured with respect to this terminal.
Pin2: Trigger. The output of the timer depends on the amplitude of the
external trigger pulse applied to this pin. The output is low if the voltage at
this pin is greater than 2/3 VCC. When a negative going pulse of amplitude
greater than 1/3 VCC is applied to this pin, comparator 2 output goes low,
which in turn switches the output of the timer high. The output remains high
as long as the trigger terminal is held at a low voltage.
Pin3: Output. There are two ways by which a load can be connected to the
output terminal: either between pin 3 and ground or between pin 3 and
supply voltage +VCC. When the output is low the load current flows through
the load connected between pin 3 and +VCC into the output terminal and is
called sink current. The current through the grounded load is zero when the
output is low. For this reason the load connected between pin 3 and +VCC is
called the normally on load and that connected between pin 3 and ground is
called normally off-load. On the other hand, when the output is high the
current through the load connected between pin 3 and +VCC is zero. The
output terminal supplies current to the normally off load. This current is
called source current. The maximum value of sink or source current is
200mA.
Pin4: Reset. The 555 timer can be reset (disabled) by applying a negative
pulse to this pin. When the reset function is not in use, the reset terminal
should be connected to +VCC to avoid any possibility of false triggering.
Pin8: +VCC. The supply voltage of +5V to + 18V is applied to this pin with
respect to ground.
OPERATION
Initially when the circuit is in the stable state i.e , when the output is low,
transistor Q1 is ON and the capacitor C is shorted to ground. Upon the
application of a negative trigger pulse to pin 2, transistor Q1 is turned OFF,
which releases the short circuit across the external capacitor C and drives the
output high. The capacitor C now starts charging up towards VCC through R.
When the voltage across the capacitor equals 2/3 VCC, comparator 1’s output
switches from low to high, which in turn drives the output to its low state via
the output of the flip-flop. At the same time the output of the flip-flop turns
transistor Q1 ON and hence the capacitor C rapidly discharges through the
transistor. The output of the monostable remains low until a trigger pulse is
again applied. Then the cycle repeats.
The pulse width of the trigger input must be smaller than the expected pulse
width of the output waveform. Also the trigger pulse must be a negative
going input signal with amplitude larger than 1/3 VCC.
T= 1.1 RC seconds.
Once triggered, the circuit’s output will remain in the high state until the set
time, T elapses. The output will not change its state even if an input trigger
is applied again during this time interval T. The circuit can be reset during
the timing cycle by applying negative pulse to the reset terminal. The output
will remain in the low state until a trigger is again applied.
OPERATING MODES
The 555 timer has two basic operational modes: one shot and astable. In the
one-shot mode, the 555 acts like a monostable multivibrator. A monostable
is said to have a single stable state--that is the off state. Whenever it is
triggered by an input pulse, the monostable switches to its temporary state. It
remains in that state for a period of time determined by an RC network. It
then returns to its stable state. In other words, the monostable circuit
generates a single pulse of fixed time duration each time it receives and
input trigger pulse. Thus the name one-shot. One-shot multivibrators are
used for turning some circuit or external component on or off for a specific
length of time. It is also used to generate delays. When multiple one-shots
are cascaded, a variety of sequential timing pulses can be generated.
MONOSTABLE OPERATION
ASTABLE OPERATION
Fig shows the 555 connected as an astable multivibrator. Both the trigger
and threshold inputs to the two comparators are connected together and to
the external capacitor. The capacitor charges toward the supply voltage
through the two resistors, R1 and R2. The discharge pin (7) connected to the
internal transistor is connected to the junction of those two resistors. When
power is first applied to the circuit, the capacitor will be uncharged;
therefore, both the trigger and threshold inputs will be near zero volts. The
lower comparator sets the control flip-flop causing the output to switch high.
That also turns off transistor T1. That allows the capacitor to begin charging
through R1 and R2. As soon as the charge on the capacitor reaches 2/3 of the
supply voltage, the upper comparator will trigger causing the flip-flop to
reset. That causes the output to switch low. Transistor T1 also conducts. The
effect of T1 conducting causes resistor R2 to be connected across the
external capacitor. Resistor R2 is effectively connected to ground through
internal transistor T1. The result of that is that the capacitor now begins to
discharge through R2.The voltage across the capacitor reaches 1/3 of the
supply voltage, the lower comparator is triggered. The control flip-flop to
set and the output to go high.T1 cuts off and again the capacitor begins to
charge. The cycle continues to repeat with the capacitor alternately charging
The time intervals for the on and off portions of the output depend upon the
values of R1 and R2. The ratio of the time duration when the output pulse is
high to the total period is known as the duty-cycle. The duty-cycle can be
calculated with the formula:
t1 = .693(R1+R2)C
t2 = .693 x R2 x C
Circuit symbol:
THERMAL RUN-AWAY
When a junction gets warmer, the current through it at a given voltage will
increase. The increased current in turn heats the junction further, and the
problem gets worse. Eventually, if nothing limits the current, the junction
will fail due to the heat. Because of thermal runaway, it’s important to use
some current limiting circuit even with a regulated voltage source.
High sensitivity.
6.4 RELAY
A relay is an electrical switch that opens and closes under control of another
electrical circuit. In the original form, the switch is operated by an
electromagnet to open or close one or many sets of contacts. These contacts
can be either Normally Open (NO), Normally Closed (NC), or change-over
contacts.
Normally-open contacts connect the circuit when the relay is activated; the
circuit is disconnected when the relay is inactive. It is also called Form A
contact or "make" contact. Form A contact is ideal for applications that
require to switch a high-current power source from a remote device.
OPERATION
When a current flows through the coil, the resulting magnetic field attracts
an armature that is mechanically linked to a moving contact. The movement
either makes or breaks a connection with a fixed contact. When the current
to the coil is switched off, the armature is returned by a force that is half as
strong as the magnetic force to its relaxed position. The magnetic flux in the
armature induces a current in opposition to the current provided to the coil
called 'back emf'. There is a rush of current to operate the coil and move the
contacts, but once the armature is closed, the current required to hold the
armature closed is a small fraction of that, typically a tenth. Relays are
manufactured to operate quickly. In a low voltage application, this is to
reduce noise. In a high voltage or high current application, this is to reduce
arcing.
6.5 SOLENOIDS
A solenoid is a loop of wire, often wrapped around a metallic core, which
produces a magnetic field when an electrical current is passed through it.
Solenoids are important because they can create controlled magnetic fields
and can be used as electromagnets. The term is also often used to refer to a
solenoid valve, which is an integrated device containing an
electromechanical solenoid which actuates either a pneumatic or hydraulic
valve.
FUNCTION:
Solenoid used in the circuit lifts up the valve fitted in the pipe to let water
flow out of the tap .Solenoids valves are used specifically for this purpose .
Solenoid valves are devices that use a solenoid to control valve activation.
Actuation methods include electric, electro-hydraulic, electro pneumatic,
and pneumatic. Unpowered states include normally open and normally
closed. In a tandem center solenoid valve, the pressure and tank ports are
connected while the service ports are blanked. This allows system unloading
while still providing isolation of the service lines. In a float center solenoid
valve, the supply pressure port is closed. All others ports are interconnected.
This allows the supply to be shut off while enabling the load to move or free
wheel with flow available to other services.
6.6 RESISTORS
Function: Resistors restrict the flow of electric current, for example a
resistor is placed in series with a light-emitting diode (LED) to limit the
current passing through the LED.
Circuit symbol:
Function: In the circuit diode protects the relay from damage by high
voltages generated by back emf when the relay is de-energized.
6.8 CAPACITOR
A capacitor is a device that stores an electrical charge or energy on it's
plates. These plates, a positive and a negative plate, are placed very close
together with an insulator in between to prevent the plates from touching
each other. A capacitor can carry a voltage equal to the battery or input
voltage.
6.9 TRANSISTORS
Transistors fall into the category of bipolar transistor, either the more
common NPN bipolar transistors or the less common PNP transistor types.
There is a further type known as a FET transistor which is an inherently high
input impedance transistor with behavior somewhat comparable to valves.
In the circuit NPN transistor (T1) BC548 is used to drive the IR LED and
(T2) BC548 is used to drive the relay(RL1) .
CHAPTER 7
WORKING
7.1 Transmitter
7.2 Receiver
WORKING
The circuit comprises a transmitter and a receiver, both are built around 555
timer. The IR rays continuously emitted by the transmitter fall on the
receiver. As soon as an obstacle comes in between the receiver and the
transmitter, interrupting the IR rays, the output of the IR rays sensor goes
momentarily low to trigger the timer circuit in the receiver and water comes
out for 11 seconds through the tap.
7.1 TRANSMITTER
It is built around timer IC 555 which is used as an astable multivibrator to
generate around 38 kHz of frequency .The timer output is fed to transistor T
1 which drives the IR LED (LED 1).Its transmission wavelength of 900-
1100 nm lies in the peak receptivity range of TSOP1738 receiver module.
7.2 RECEIVER
It comprises the sensor module, monostable timer and relay driver circuit.
The sensor module TSOP1738 is sensitive to IR radiation modulated at 38
kHz. Its normally high output goes momentarily low when any IR radiation
detected or interrupted, it triggers the timer IC 555 (IC2). The output of
timer goes high for 11 seconds and relay drives the solenoid .During this
time period, energization of solenoid lifts up the valve fitted in the pipe to
let water flow out of the tap.
The relay driver circuit consists of resistor R8, transistor BC548 (T2) and
free-wheeling diode D1. Diode protects the relay from damage by high
voltages generated by the back emf when the relay is de- energized.
The time period for which the timer goes high can be calculated as follows
Ton = 1.1 R6 C5
= 1.1 * 100 * 103 * 100 * 10-6
= 11 seconds
When we put our hands between IR LED and IR sensor, the relay energizes
to make the solenoid open up the valve and water flows out of the tap.
CHAPTER 8
APPLICATIONS
APPLICATIONS
The design objective has been fulfilled and the system is showing proper
output. For future work, the circuit can be used as a subsystem in circuits
where automatic control of various mechanical instruments is required by
using electronic circuit.
The circuit was designed keeping in mind the automatic control of various
mechanical devices by using electronic circuit’s .Thus trying to signify the
applications of electronics and instrumentation. By adding timer to the
circuit enhance the idea and operate the device in a more broader sense.
This circuit finds wide applications in our daily life. This circuit is not only
used for automatically controlling the tap of wash-basin but it can be used
for controlling the dryers ,blowers and door opening and closing by
replacing the solenoid.
The key learning of the project is to understand the basic working of the IC
555 timer, in monostable and astable mode and IR TSOP1738 sensor.
CHAPTER 9
APPENDIX
9.1 Datasheet of IC 555 Timer
9.2 Datasheet of IR LED
9.3 Datasheet of IR Sensor TSOP 1738
9.4 Datasheet of Relay
9.5 Datasheet of Free Wheeling Diode
9.6 Datasheet of Transistor BC548
APPENDIX
9.1 Datasheet of IC 555 Timer
BIBLIOGRAPHY
BIBLIOGRAPHY
Op-Amps and linear integrated circuits by Ramakant A.
Gayakwad.
Internet Sites:
www.google.com
www.wikepidia.com
www.msnencarta.com
www.howstuffworks.com