Professional Documents
Culture Documents
Project report
On
“PASSWORD BASED CIRCUIT BREAKER”
Submitted to
‘SHIVAJI UNIVERSITY,KOLHAPUR’
per the rules of ‘SHIVAJI UNIVERSITY KOLHAPUR’for the academic year 2012-13.This
project report is the record of students own work carried out by them under by my
(H.O.D) (guide)
ACKNOWLEDGEMENT
Our sincere thanks go to ………….. our guide for his guidance and valueable
Lastly we would like to express our sincere gratitude tpwards our teaching staff,non
Your sincerely,
……….
……………
…………….
………………
DECLARATION
CLASS:…………..
PLACE:…………
DATE:
……………
…………….
………………….
……………………
………………
INDEX
Contents Page No
1 Introduction 3
2 Block Diagram 7
3 Block Diagram Description 8
4 Circuit Diagram 10
5 System Hardware designing 11
6 System software designing 12
7 PCB Layout 25
8 Advantages and Limitations 30
9 Future Enhancement 31
10 Component Description 32
11 Conclusion 49
12 References 50
13 Data sheet 53
INTRODUCTION
This project is designed to control a circuit breaker with help of a Password &
Thumb only. In this project the Password & Thumb is enter by using keypad. Fatal
electrical accidents are happen due to the line man are increase during the electrical line
repair due to the lack of communication and miscommunication between the
maintenance staff and the electric substation staff. This project provides a solution,
which can ensure the safety of the maintenance staff e.g. line man. This project is used to
control to turn ON/OFF the line with the line man only. This system required Password
& Thumb to operate the circuit breaker (ON/OFF). This system is fully controlled by a
8bit microcontroller which is from 8051 families. The entered Password & Thumb is
compared with the Password & Thumb store in the ROM of the microcontroller. If the
entered Password & Thumb is correct, then only the line can be turn ON/OFF.
Activation or deactivation of the circuit breaker is indicated by a lamp (ON/OFF). This
project is designed to operate the system by only authorized person to avoid such
accidents.
Block Diagram
3. BLOCK DIAGRAM DESCRIPTION:
B. Microcontroller
Circuit Diagram
LCDs mostly connected to the microcontrollers are 16x2 and 20x2 displays.
That means 16 characters per line by 2 lines and 20 characters per line by 2 lines, respectively.
LCD having 16 pins for interfacing & signalling & VCCS & GNDS.
There are three control lines are EN, RS, and RW etc.
RS=Register Select (When RS is High (1),then data being sent is text data)
E. Matrix Keypad
A keypad is a set of buttons arranged in a block or “pad” which usually bear digits, symbols
and usually a complete set of alphabetical letters. If it mostly contains numbers then it can also be
called a numeric keypad. In order to detect which key is pressed from the matrix, the row lines are to
be made low one by one and read the columns. Assume that if Row1 is made low, then read the
columns. If any of the key in row1 is pressed then correspondingly the column 1will give low that is
if second key is pressed in Row1, then column2 will give low.
Fig. 5. Matrix Keypad.
F. Relay
NC = Normally Closed, when the relay coil is off then the COM is connected to the NC.
NO = Normally Open, when the relay coil is on then the COM is connected to the NO.
Fig. 6. Circuit Diagram of Relay
G. Power Supply
Algorithm
Step 1:.Start.
Step 6: Stop.
1. Power supply
For getting +5 volts supply, the + 12 volts supply from power supply output is
taken. And it is given to 7805. The minimum input to 7805 is +7 Vdc and Maximum
input is + 35 vdc. And we are giving + 12 Vdc as input to the 7805. Therefore the
output of the 7805 is constant regulated +5 Vdc.
When we switch ON the power supply of the CPU board then micro-
controller must be RESET to start the program execution from 0000H memory
location. Therefore POR is must. POR means Power On Reset. For this purpose we
have to use RC differentiator circuit. RC differentiator circuit will provide logic High
pulse to RESET pin of 89C51, when you switch ON the power supply.
Some times we requires manual RESET. For this purpose one push to ON tact
switch is used. When you press this tact switch then logic high signal is given to the
RESET pin of the Micro-controller 89C51.
In INPUT board we have to select the operation mode. The selection switches
are used to select the following modes PCB Etching machine Start And PCB Etching
machine stop.
Again in input mode we are using limit switches. They are normally open.
When direction is detected then they will close. We will gate logic one for direction
detection, otherwise logic zero.
To drive the motor we are using the special ICL293D. The L293D are quad
push-pull drivers capable of delivering output currents to 1A or 600mA per channel
respectively. Each channel is controlled by a TTL-compatible logic input. This IC is
used to drive the motor. Which drives the PCB etching machine.
Pin Description
VCC: - Supply Voltage
GND: - Ground
Port 0:-
Port 1:-
Port 2:-
ALE / PROG:-
Address Latch Enable output pulse for latching the low byte of the address
during accesses to external memory. This pin is also the program pulse input (PROG)
during Flash programming. In normal operation ALE is emitted at a constant rate 1 /
6 the oscillator frequency, and may be used for external timing or clocking purposes.
Note, however, that one ALE pulse is skipped during each access to external Data
Memory. If desired, ALE operation can be disabled by setting bit 0 of SFR location
8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction.
Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if
the Microcontroller is in external execution mode.
Program Store Enable is the read strobe to external program memory. When
the AT89C51 is executing code from external program memory, PSEN is activated
twice each cycle, except that two PSEN activations are skipped during each access to
external data memory.
EA / VPP:-
XTAL1:-
Input to the inverting oscillator amplifier and input to the internal clock
operating circuit.
XTAL2:-
General Features: -
A three terminal voltage regulator is a regulator in which the output voltage is
set at some predetermined value. Such regulators do not
require an external feedback connection. Hence, only three
terminals are required for device of such types, input (Vin)
output (Vo) and a ground terminal. Since the regulator
operates at a preset output voltage the current limiting
resistor is also internal to the device. The main advantages
of such regulators are the simplicity of connections to the external circuit and the
minimum of external components. Fig. Shows the basic circuit configuration of the
three terminal voltage regulator. Although, the three terminal regulators offers only
fixed output voltages, there are wide variety of voltages available, both positive and
negative. The output current range from 100 mA to 3 A.
General description: -
The LX78MXX series of three terminal regulators is available with several
fixed output voltages making them useful in a wide range of applications. The voltage
available allows these regulators to be used in logic system, instrumentation, Hi – Fi
and other solid state electronic equipment. Although designed primarily devices can
be used with external component to obtain adjustable voltage and current.
Features:
Internal thermal overload protection.
NO external components required.
Output transistor safe area protection.
Internal short circuit current limit.
Capacitors store electric charge. They are used to smooth varying DC supplies
by acting as a reservoir of charge. They are also used in filter circuits because
capacitors easily pass AC (changing) signals but they block DC (constant) signals.
10.4 Diodes
Electricity uses up a little energy pushing its way through the diode, rather
like a person pushing through a door with a spring. This means that there is a small
voltage across a conducting diode, it is called the forward voltage drop and is about
0.7V for all normal diodes, which are made from silicon. The forward voltage drop of
a diode is almost constant whatever the current passing through the diode so they
have a very steep characteristic (current-voltage graph).
When a reverse voltage is applied a perfect diode does not conduct, but all
real diodes leak a very tiny current of a few µA or less. This can be ignored in most
circuits because it will be very much smaller than the current flowing in the forward
direction. However, all diodes have a maximum reverse voltage (usually 50V or
more) and if this is exceeded the diode will fail and pass a large current in the reverse
direction, this is called breakdown.
Ordinary diodes can be split into two types: Signal diodes which pass small
currents of 100mA or less and Rectifier diodes which can pass large currents. In
addition there are LED (which have their own page) and Zener diodes (at the bottom
of this page).
LEDs are available in red, orange, amber, yellow, green, blue and white. Blue
and white LEDs are much more expensive than the other colours.
The colour of an LED is determined by the semiconductor material, not by the
colouring of the 'package' (the plastic body). LEDs of all colours are available in
uncoloured packages which may be diffused (milky) or clear (often described as
'water clear'). The coloured packages are also available as diffused (the standard type)
or transparent.
10.6 Presets
These are miniature versions of the standard
variable resistor. They are designed to be mounted directly
onto the circuit board and adjusted only when the circuit is
built. For example to set the frequency of an alarm tone or
the sensitivity of a light-sensitive circuit. A small
screwdriver or similar tool is required to adjust presets.
Presets are much cheaper than standard variable resistors so they are
sometimes used in projects where a standard variable resistor would normally be
used.
Multi-turn presets are used where very precise adjustments must be made. The
screw must be turned many times (10+) to move the slider from one end of the track
to the other, giving very fine control.
10.7 Transistors
Types of transistor
The L293 and L293D are quad push-pull drivers capable of delivering output
currents to 1A or 600mA per channel respectively. Each channel is controlled by a
TTL-compatible logic input and each pair of drivers (a full bridge) is equipped with
an inhibit input which turns off all four transistors. A separate supply input is
provided for the logic so that it may be run off a lower voltage to reduce dissipation.
Additionally the L293D includes the output clamping diodes within the IC for
complete interfacing with inductive loads. Both devices are available in 16-pin
Batwing DIP packages. They are also available in Power S0IC and Hermetic DIL
packages
FEATURES
For designing the PCB we had used Express PCB software. This software is
downloaded from NET. This is user friendly and very simple. We made the PCB
layouts in this Software. The main disadvantage of this software is, we can’t take the
mirror image directly.
To eliminate this disadvantage we have to take the print out on tracing paper.
After taking the printout, reverse the tracing paper you will get the mirror image of
the PCB layout. After getting the PCB layout give it to screen printer. The screen
printer will paint that mirror image on Cu clad. After painting it wait for drying it.
After that using FeCl3 solution remove the unwanted Cu. Process of removing
the unwanted Cu is known as etching. After etching process removes the color by
using blade. After removing color, using PCB hand drill machine make the drills.
After drilling your PCB is ready for soldering.
Password & Thumb Based Circuit Breaker Control the Line Man’s Safety.
This system provides a solution, which can improve the safety of the project. It is
designed to control a circuit breaker with the help of a Password & Thumb. The
maintenance staff e.g. Line man’s for control to turn ON/OFF. The line works with the
line man only this system is arrangement such that a Password & Thumb is required to
operate the circuit breaker (ON/OFF). Line man can turn off the supply and
comfortably repair it, and return to the substation, then turn on the line by entering the
correct or same Password & Thumb. The system fully controlled by a AT89C51 IC. If
the Password & Thumb entered is correct, then the line can be turned (ON/OFF).
Security is prime concern in our day-to-day life. Everyone wants to be more secure as to
be possible. This system provides a new approach to a lineman security for their life.
The circuit can be used without any fail of a lineman. The circuit can be used without
any load can also be controlled when required.
1. Principles Of Electronics
By V.K. Mehta.
2. Electronic Instrumentation
By H.S. Kalsi.
By A.K. Sawhney
4 Veena, “Electric line man safety system with OTP based circuit breaker”, SR
Engineering College, Volume: 2, May 2015
5 Muhaad Ali Mazidi and Janice Gillisllispie Mazid, “The Microcontroller and
embedded system”, Person Education, 2nd edition, Issue: 1999
6 Dr.Neelam Rup, Prakash, “International Journal of Engineering Trends and
Technology”, (IJETT), Volume 13, page: 261, Issue: 3 – Jul 2014.
7 Mark Halpin: “National Code Committee”, Volume40, page: 228, Issue: 2002
8 Deepak Sharma & Major Sing Goraga: “International Journal Of Current
Engineering And Scientific Research (IJCESR)” Volume2, issue-May 2015
9.Software used
i. EDIT.com - Editor
ii. ASM31.exe - Assembler
iii. Express PCB - For PCB
iv. uC Flash - Microcontroller Programmer
2)GND
Ground.
3)Port 0
Port 0 is an 8-bit open drain bidirectional I/O port. As an output port each pin can sink eight
TTL inputs. When 1s are written to port 0 pins, the pins can be used as highimpedance
inputs.
Port 0 may also be configured to be the multiplexed low order address/data bus during
accesses to external program
and data memory. In this mode P0 has internal pullups. Port 0 also receives the code bytes
during Flash programming, and outputs the code bytes during program verification.
External pullups are required during program verification.
4)Port 1
Port 1 is an 8-bit bidirectional I/O port with internal pull ups. The Port 1 output buffers can
sink/source four TTL inputs. When 1s are written to Port 1 pins they are pulled high by
the internal pullups and can be used as inputs. As inputs, Port 1 pins that are externally being
pulled low will source current (IIL) because of the internal pullups. Port 1 also receives the
low-order address bytes during
Flash programming and verification.
5)Port 2
Port 2 is an 8-bit bidirectional I/O port with internal pullups. The Port 2 output buffers can
sink/source four TTL inputs. When 1s are written to Port 2 pins they are pulled high by
the internal pullups and can be used as inputs. As inputs, Port 2 pins that are externally being
pulled low will source current (IIL) because of the internal pullups. Port 2 emits the high-
order address byte during fetches from external program memory and during accesses to
external data memory that use 16-bit addresses (MOVX @DPTR). In this application it uses
strong internal pullupswhen emitting 1s. During accesses to external data memory
that use 8-bit addresses (MOVX @ RI), Port 2 emits the contents of the P2 Special Function
Register. Port 2 also receives the high-order address bits and some
control signals during Flash programming and verification.
6)Port 3
Port 3 is an 8-bit bidirectional I/O port with internal pullups. The Port 3 output buffers can
sink/source four TTL inputs.When 1s are written to Port 3 pins they are pulled high by
the internal pullups and can be used as inputs. As inputs, Port 3 pins that are externally being
pulled low will source current (IIL) because of the pullups. Port 3 also serves the functions of
various special features of the AT89C51 as listed below:
Port 3 also receives some control signals for Flash programming and verification.
8)ALE/PROG
Address Latch Enable output pulse for latching the low byte of the address during accesses to
external memory. This pin is also the program pulse input (PROG) during Flash
programming. In normal operation ALE is emitted at a constant rate of 1/6 the oscillator
frequency, and may be used for external timing or clocking purposes. Note, however, that
one ALE pulse is skipped during each access to external Data Memory.If desired, ALE
operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is
active only during a MOVX or MOVC instruction. Otherwise, the pin is
weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in
external execution mode.
9)PSEN
Program Store Enable is the read strobe to external program When the AT89C51 is executing
code from external program memory, PSEN is activated twice each machine cycle, except
that two PSEN activations are skipped during each access to external data memory.
10)EA/VPP
External Access Enable. EA must be strapped to GND in order to enable the device to fetch
code from external program memory locations starting at 0000H up to FFFFH.Note,
however, that if lock bit 1 is programmed, EA will be internally latched on reset. EA should
be strapped to VCC for internal program executions. This pin also receives the 12-volt
programming enable voltage (VPP) during Flash programming, for parts that require
12-volt VPP.
11)XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating circuit.
12)XTAL2
Output from the inverting oscillator amplifier.
Oscillator Characteristics
XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier which
can be configured for use as an on-chip oscillator, as shown in Figure 1. Either a quartz
crystal or ceramic resonator may be used. To drive the device from an external clock source,
XTAL2 should be left unconnected while XTAL1 is driven as shown in Figure 2.
There are no requirements on the duty cycle of the external clock signal, since the input to
the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and
maximum voltage high and low time specifications must be
observed.
Idle Mode
Programming Algorithm:
Before programming the AT89C51, the address, data and control signals should be
set up according to the Flash programming mode table and Figures 3 and 4. To program the
AT89C51, take the following steps.
1. Input the desired memory location on the address lines.
2. Input the appropriate data byte on the data lines.
3. Activate the correct combination of control signals.
4. Raise EA/VPP to 12V for the high-voltage programming mode.
5. Pulse ALE/PROG once to program a byte in the Flash array or the lock bits.
The byte-write cycle is self-timed and typically takes no more than 1.5 ms. Repeat steps1
through 5, changing the address and data for the entire array or until the end of the object file
is reached.
Data Polling: The AT89C51 features Data Polling to indicate the end of a write cycle.
During a write cycle, an attempted read of the last byte written will result in the complement
of the written datum on PO.7. Once the write cycle has been completed, true data are valid on
all outputs, and the next cycle may begin. Data Polling may begin any time after a write
cycle has been initiated.
Ready/Busy: The progress of byte programming can also be monitored by the RDY/BSY
output signal. P3.4 is pulled low after ALE goes high during programming to indicate
BUSY. P3.4 is pulled high.
The LM78XX series of three terminal regulators is available with several fixed output
voltages making them useful in a wide range of applications. One of these is local on card
regulation, eliminating the distribution problems associated with single point regulation. The
voltages available allow these regulators to be used in logic systems, instrumentation,
HiFi, and other solid state electronic equipment. Although designed primarily as fixed
voltage regulators these devices can be used with external components to obtain
adjustable voltages and currents.
The LM78XX series is available in an aluminum TO-3 package which will allow over 1.0A
load current if adequate heat sinking is provided. Current limiting is included to limit the
peak output current to a safe value. Safe area protection for the output transistor is provided
to limit internal power dissipation. If internal power dissipation becomes too high for
the heat sinking provided, the thermal shutdown circuit takes over preventing the IC from
overheating. Considerable effort was expanded to make the LM78XX series
of regulators easy to use and mininize the number of external components. It is not necessary
to bypass the output, although this does improve transient response. Input
bypassing is needed only if the regulator is located far from the filter capacitor of the power
supply. For output voltage other than 5V, 12V and 15V the LM117 series provides an output
voltage range from 1.2V to 57V.
Features:
Y Output current in excess of 1A
Y Internal thermal overload protection
Y No external components required
Y Output transistor safe area protection
Y Internal short circuit current limit
Y Available in the aluminum TO-3 package
Voltage Range
LM7805C 5V
LM7812C 12V
LM7815C 15V
FATURES:
· Inhibit Facility
· Over-Temperature Protection
DESCRIPTION
The L293 and L293D are quad push-pull drivers capable of delivering output currents to 1A
or 600mA per channel respectively. Each channel is controlled by a TTL-compatible logic
input and each pair of drivers (a full bridge) is equipped with an inhibit input which turns off
all four transistors. A separate supply input is provided for the logic so that it may be run off
a lower voltage to reduce dissipation. Additionally the L293D includes the output clamping
diodes within the IC for complete interfacing with inductive loads. Both devices are available
in 16-pin Batwing DIP packages. They are also available in Power S0IC and Hermetic DIL
packages.