Professional Documents
Culture Documents
Synopsis
A practical printed circuit board is designed with the required inputs and outputs
to monitor and protect the branch connecting solid state transformer to the closed
loop zones in the FREEDM system. A special program is designed using software
package and easily integrated to the hardware card. To validate the proposed relay,
the inverse, very inverse and extremely inverse overcurrent relay characteristics are
tested using the proposed system simulator and compared with the characteristic
recorded by the wellknown IEC 60255-151standard. In order to guarantee the
effectiveness of the system, a practical circuit including the proposed relay is
formed, connected to a small load and normally inverse relay characteristic is
tested. The proposed protection scheme proves high performance and accurate
results.
CHAPTER – I
INTRODUCTION
Background
Thus a device called Protective Relay is created to serve the purpose. The
protective relay is most often relay coupled with Circuit Breaker such that it can
isolate the abnormal condition in the system. In the interest of reliable and
effective protection, some designers of power distribution/power controllers select
relay as opposed to electro-magnetic circuit breakers as a method of circuit
protection.
Objective
PROPOSED SYSTEM
The value of current flows from supply to the load is sensed by hall effect
current transformer. The current signal is converted to dc voltage using shunt
resistance to suite the microcontroller requirements. The produced voltage signal
which is proportional to this current value is fed to Arduino Uno microcontroller.
The voltage signal is varied based on the actual current value in the main circuit. If
value of current exceeds the pre-set value, an output signal is generated to trip the
solid-state switch to disconnect the load and to display the fault current on the
LCD.
CHAPTER – III
COMPONENT DETAILS
4.1 ARDUINO
WHAT IS ARDUINO?
Anyone can buy this device through online auction site or search engine.Since
the Arduino is an open-source hardware designs and ccreate their own clones of the
Arduino and sell them,so the market for the boards is competitive.An official
Arduino costs about $30,and a clone often less than $20.
The name “Arduino” is reserved by the original makers. However, clone Arduino
designs often
have the letters “duino” on the end of their name, for example, Freeduino or
DFRduino. The software for programming your Arduino is easy to use and also
freely available for Windows, Mac, and LINUX computers at no cost.
Microcontroller
Open-source hardware
The Arduino software is also oen-source.The source code for the Java
environment is released under the GPL and the C/C++ microcontroller libraries are
under the LGPL
HISTORY OF ARDUINO
“…we started to figure out how could we make the whole platform even simpler,
even cheaper, even easier to
use. And then we started to essentially reimplement the whole thing as an open
source project.”
Once they had a prototype, a student wrote the software that would allow wiring
programs to run on the new platform. Upon seeing the project, visiting professor
Casey Reas suggested that there might be wider applications than just design
schools for the new product. The prototype was redesigned for mass production
and a test run of 200 boards was made. Orders began coming in from other design
schools and the students looking for Arduinos, and the Arduino project was born
and Massimo Banzi and David Cuartielles became its founders.”ARDUINO” is
an Italian word,meaning “STRONG FRIEND”.The English version of the name is
“Hardwin”. As of May 2011,more than 300,000 Arduino units are “in the wild”.
Design Goals
Business Models
Since the entire project is open source, anyone can build and sell Arduino-
compatible devices. So in this sense, the Arduino project relies heavily on its
branding for it’s financial success . Other projects manufacture compatible and
cheaper boards, however people are loyal to the Arduino branded boards because
they associate quality and a certain image to the
final product .
By the Numbers
2005 200
2006 10 000
of the Arduino and the size of its community are large barriers for new platforms
to overcome.
As the project is aimed at students and hobbyists who may not have any formal
electronics background, there are many excellent guides online covering
everything from making a light blink to creating a laser harp. The official forum
has almost 60 000 registered users, and along with helping users with their
projects, is extremely active in developing new libraries to extend the functionality
of the Arduino . The open-source share and share alike sentiment is very strong,
and the vast majority of users freely publish the code to their projects.
PHYSICAL COMPUTING
PLATFORM
HARDWARE
ATmega8(Microcontroller)
16 MHz
8 Kbyte Flash RAM(1K taken by the boot loader)
1 Kbyte RAM(eg.for auto/local variables and stack)
14 digital Input/Output Ports
Figure 5 ATmega8
Single chip USB to async. Serial data transfer interface
The Arduino's on-board regulator can actually handle up to 20V or more, so you
can actually use an adapter that puts out 20V DC. The reasons you don't want to do
that are twofold: you'll lose most of that
voltage in heat, which is terribly inefficient.
Secondly, the nice 9V pin on the Arduino
board will actually be putting out 20V or so,
which could lead to potential disaster when you
connect something expensive to what you
thought was the 9V pin. Our advice is to stick
with the 9V or 12V DC adapter.
ARDUINO flavors!!
There have been many revisions of the USB Arduino.some of them are
1. Arduino UNO:
This is the latest revision of the basic Arduino USB board. It connects to the
computer with a standard USB cable and contains everything else you need to
program and use the board. It can be extended
with a variety of shields: custom daughter-
boards with specific features. It is similar to the
Duemilanove, but has a different USB-to-serial
chip the ATMega8U2, and newly designed
labeling to make inputs and outputs easier to
identify.
3. Arduino Duemilanove:
The Duemilanove automatically selects the appropriate power supply
(USB or external power), eliminating the need for the power selection
jumper found on previous boards. It also adds an easiest to cut trace for
disabling the auto-reset, along with a solder jumper for re-enabling it.
Note: around March 1st, 2009, the Duemilanove started to ship with
the ATmega328p instead of theATmega168.
4. Arduino Fio:
An Arduino intended for use as a
wireless node. Has a header for
an XBee radio, a connector for
a LiPobattery, and a battery
chargingcircuit.
5. LilyPad Arduino:
6. Arduino Diecimila:
7. Lilypad Arduino 03
This revision has a 6-pin programming header that's compatible with FTDI
USB cables and the Sparkfun FTDI Basic Breakout. It adds support for
automatic reset, allowing sketches to be
uploaded without pressing the reset
button on the board. The header is
surface mounted, meaning that the board
has no pokey bits sticking out the back.
8. Arduino NG Rev.C
9. Arduino Extreme
10.Arduino Mini 04
Still
there are
,Arduino
LANGUAGE REFERENCES:
Wiring
Processing
The Arduino IDE comes with a C/C++ library called "Wiring" (from the project of
the same name), which makes many common input/output operations much easier.
Arduino programs are written in C/C++, although users only need define two
functions to make a runnable program:
setup() – a function run once at the start of a program that can initialize
settings
loop() – a function called repeatedly until the board powers off
The essential feature of this arrangement is that for both polarities of the voltage at
the bridge input, the polarity of the output is constant.
When the input connected at the left corner of the diamond is positive with
respect to the one connected at the right hand corner, current flows to the right
along the upper colored path to the output, and returns to the input supply via the
lower one.
operation of diode bridge rectifier
When the right hand corner is positive relative to the left hand corner, current
flows along the upper colored path and returns to the supply via the lower colored
path.
In each case, the upper right output remains positive with respect to the
lower right one. Since this is true whether the input is AC or DC, this circuit not
only produces DC power when supplied with AC power: it also can provide what
is sometimes called "reverse polarity protection". That is, it permits normal
functioning when batteries are installed backwards or DC input-power supply
wiring "has its wires crossed" (and protects the circuitry it powers against damage
that might occur without this circuit in place).
In the bridge rectifier the diodes may be of variable types like 1N4001, 1N4003,
1N4004, 1N4005, IN4007 etc… can be used . But here we use 1N4007, because it can
withstand up to 1000v.
FILTERS: In order to obtain a dc voltage of 0 Hz, we have to use a low pass filter. so
that a capacitive filter circuit is used where a capacitor is connected at the rectifier
output& a dc is obtained across it. The filtered waveform is essentially a dc voltage
with negligible ripples & it is ultimately fed to the load.
REGULATORS: The output voltage from the capacitor is more filtered & finally
regulated. The voltage regulator is a device, which maintains the output voltage
constant irrespective of the change in supply variations, load variations & temperature
changes. Here we use fixed voltage regulator namely LM7805.The IC LM7805 is a
+5v regulator which is used for microcontroller.
Circuit Diagram:
• Output Current up to 1A
• Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V
CURRENT TRANSFORMER:
The most common design of CT consists of a length of wire wrapped many times around a
silicon steel ring passed over the circuit being measured. The CT's primary circuit therefore
consists of a single 'turn' of conductor, with a secondary of many tens or hundreds of turns. The
primary winding may be a permanent part of the current transformer, with a heavy copper bar to
carry current through the magnetic core. Window-type current transformers are also common,
which can have circuit cables run through the middle of an opening in the core to provide a
single-turn primary winding. When conductors passing through a CT are not centered in the
circular (or oval) opening, slight inaccuracies may occur.
Shapes and sizes can vary depending on the end user or switchgear manufacturer. Typical
examples of low voltage single ratio metering current transformers are either ring type or plastic
moulded case. High-voltage current transformers are mounted on porcelain bushings to insulate
them from ground. Some CT configurations slip around the bushing of a high-voltage
transformer or circuit breaker, which automatically centers the conductor inside the CT window.
The primary circuit is largely unaffected by the insertion of the CT. The rated secondary current
is commonly standardized at 1 or 5 amperes. For example, a 4000:5 CT would provide an output
current of 5 amperes when the primary was passing 4000 amperes. The secondary winding can
be single ratio or multi ratio, with five taps being common for multi ratio CTs. The load, or
burden, of the CT should be of low resistance. If the voltage time integral area is higher than the
core's design rating, the core goes into saturation towards the end of each cycle, distorting the
waveform and affecting accuracy.
USES:
Current transformers are used extensively for measuring current and monitoring the operation of
the power grid. Along with voltage leads, revenue-grade CTs drive the electrical utility's watt-
hour meter on virtually every building with three-phase service and single-phase services greater
than 200 amps.
The CT is typically described by its current ratio from primary to secondary. Often, multiple CTs
are installed as a "stack" for various uses. For example, protection devices and revenue metering
may use separate CTs to provide isolation between metering and protection circuits, and allows
current transformers with different characteristics (accuracy, overload performance) to be used
for the devices
Introduction:
Therefore, code and hardware made for one size/type display can be
painlessly adapted to work for any HD44780 compatible. Information about these
displays can be easily obtained on the web by including “HD44780” in our search
keywords. Because of their widespread use, these displays can be purchased
surplus with typical prices of $3 for small displays to $20 for large ones.
The first three pins provide power to the LCD module. Pin 1 is GND and
should be grounded to the power supply. Pin 2 is VCC and should be connected to
+5V power. Pin 3 is the LCD Display Bias. By adjusting the voltage or duty cycle
of pin 3, the contrast of the display can be adjusted. Most character LCDs can
achieve good display contrast with a voltage between 5V and 0V on pin 3. Note
that greater contrast comes with lower voltage and we should never apply a VLCD
higher than VCC. Some displays, which are specially made to work over a large
temperature range, may require a negative voltage to achieve readable contrast.
Description:
Pin Description: The most commonly used LCDs found in the market today are 1
Line, 2 Line or 4 Line LCDs which have only 1 controller and support at most of
80 characters, whereas LCDs supporting more than 80 characters make use of 2
HD44780 controllers.
Most LCDs with 1 controller has 14 Pins and LCDs with 2 controller has 16
Pins (two pins are extra in both for back-light LED connections). Pin description is
shown in the table below.
Figure 3.4.3: Character LCD type HD44780 Pin diagram
Frequently, an 8051 program must interact with the outside world using
input and output devices that communicate directly with a human being. One of the
most common devices attached to an 8051 is an LCD display. Some of the most
common LCDs connected to the 8051 are 16x2 and 20x2 displays. This means 16
characters per line by 2 lines and 20 characters per line by 2 lines, respectively.
Description: This is the first interfacing example for the Parallel Port. We will
start with something simple. This example doesn't use the Bi-directional feature
found on newer ports, thus it should work with most, if no all Parallel Ports. It
however doesn't show the use of the Status Port as an input. A 16 Character x 2
Line LCD Modules to the Parallel Port. These LCD Modules are very common
these days, and are quite simple to work with, as all the logic required running
them is on board.
Schematic:
Fig 3.4.4 Schematic Diagram of 2 line 16 character LCD display
Circuit Description:
Above is the quite simple schematic. The LCD panel's Enable and Register
Select is connected to the Control Port. The Control Port is an open collector /
open drain output. While most Parallel Ports have internal pull-up resistors, there is
a few which don't. Therefore by incorporating the two 10K external pull up
resistors, the circuit is more portable for a wider range of computers, some of
which may have no internal pull up resistors. We make no effort to place the Data
bus into reverse direction. Therefore we hard wire the R/W line of the LCD panel,
into write mode. This will cause no bus conflicts on the data lines. As a result we
cannot read back the LCD's internal Busy Flag which tells us if the LCD has
accepted and finished processing the last instruction. This problem is overcome by
inserting known delays into our program.
The 10k Potentiometer controls the contrast of the LCD panel. Nothing fancy here.
As with all the examples, I've left the power supply out. We can use a bench power
supply set to 5v or use an onboard +5 regulator. Remember a few de-coupling
capacitors, especially if we have trouble with the circuit working properly.
4.4 LED
FEATURES
High reliability
APPLICATIONS
Visual signals where light goes more or less directly from the source to
the human eye, to convey a message or meaning.
Illumination where light is reflected from objects to give visual response
of these objects.
PCB FABRICATION
` The PCB manufacturing process involves use of expensive equipments, but homebrew
PCB fabrication is less expensive .It requires Intel Pentium PC,600-1200dpi laser printer with
premium-quality paper or butter-paper and miscellaneous items like single side copper laminated
board, Lacquer thinner, sand paper and others. The various steps involves in PCB fabrication are
PC BASED ARTWORK
The PC based artwork consists of drawing the conductor pattern. For putting artwork on
the component side of the board, flip the whole image before or while taking the print. When the
pattern has been drawn, take the print out in 600 to 1200 dpi on a translucent or butter paper.
Keep the paper side on which the toner is deposited facing down over the copper laminated
boards copper side and then when the board is turned component side up, the pattern on the
conductor will be found properly aligned with the components. Finally we take the printout of
the PCB.
Take the printout of the circuit layout from a laser printer. The idea is to use a coated
paper so that the toner comes loose when heated which would transfer a sharp black print on to
copper laminate. Print for each of the required layers should be taken on separate paper.
Scrub The Copper Side Of The Copper Clad Laminated Used For The PCB Board
With A Sponge. The Scrubbing Involves Removes Oxidation, Stains, Etc. And It Also Makes
The Copper Surface Some-What Rough Which Helps The Toner To Adhere To The Copper
Surface. The Next Step Is To Degrease The Board Thoroughly Using A Paper Towel Soaked
With Acetone Solvent. Keep Doing It Until No More Discoloration Is Seen On The Paper
Towel. Rub Hard And Keep Switching To Clean Parts Of Towel. Place And Align The Paper On
The Copper Side, Using An Iron Box To Maximum Setting On The Back Of The Paper For At
Least Half A Minute. If You Don't Apply Enough Heat, The Film Or Toner May No Stick Or Be
Dark Enough. The Removal Of Paper From PCB Is Done By Putting It Into Hot Water For 10 Or
More Minutes. Check Whether It Has Transferred Properly Onto Copper Plate.
Dig The Bristles On The Tip Of A Smooth Tooth Brush Into The Holes, Remove The Paper Part
From The Tight Areas Like Drill-Holes. Now Cut The PCB To Required Size By Using A
Hacksaw.
ETCHING
Etch the unwanted copper from the board using the ferric chloride solution for 20 or
more minutes. One pint can etch at least 3.6 sq. meters of the 28gm board. Heating the etchant
will speeds up the etching process. The PCB is attached to a wooden piece and dip in to the
solution. Lift the PCB up and Check whether all the unwanted copper is removed. Then it is
immersed in to cold water to clean. When etching is complete, board is removed from the
solution and rinse it under running tap water .Acetone or lacquer thinner is used to remove the
toner .Lacquer thinner is used as a solvent in painting industry. Wash the board in lacquer thinner
solvent, rubbing with a paper towel, to remove the toner instantly.
In this we had used a PCB hand drill .Use 0.8mm PCB drill bit to drill out all of the
component holes. After drilling the holes scrub sponge is used to clean before soldering .After
drilling and cleaning, wash the board in cold water and then dry it.
CAUTION
Lacquer thinner is extremely volatile, inflammable and explosive. Acetone can irritate
eyes and respiratory system .Ferric chloride is corrosive, so avoid skin and eye contact.
PIC16F877A PCB DESIGN
SOLDERING
Soldering is the process of joining metals by using lower melting point metal to wet or
alloy with the joined surfaces. Solder is the joining material. It melts below 427’C. Soldered
joints in electronic circuits will establish strong electrical connections between component leads.
The popularly used solders are alloys of tin and lead that melt below the melting point of tin.
In order to make the surfaces accept the solder readily, the component terminals should
be cleaned chemically or by abrasion using blades or knives. Small amount of lead coating can
be done on the cleaned portion of the leads using soldering iron. This process is called tinning.
Zinc chloride or ammonium chloride separately or in combination are the most commonly used
fluxes. These are available in petroleum jelly as paste flux. A solder joint can at first glance to be
okay, but under close examination it could be a ‘Dry Joint’. A dry joint is when either the circuit
board or the leg of the component has not been properly heated to allow the solder to flow
between the surfaces freely. This creates an intermittent or no electrical connection. This can also
be caused by a lack of flux or if you reuse old solder.
Quite often, reheating a bad join will cure the problem but in a lot of cases, the old solder
will need to be removed and some new solder applied. The residues, which remain after the
soldering, may be washed out with more water, accompanied by brushing.
Soldering iron is the tool used to melt the solder and apply at the joints in the circuit. It operates
in 230V mains supply. The iron bit at the tip of it gets heated up within a few minutes. 50W and
25W soldering irons are commonly used for soldering purposes.
PROCEDURE
Straighten and clean the component leads using blade or knife. Apply a little flux on
the leads. Take a little solder on soldering iron and apply the molten solder on the leads.
Mount the components on the PCB by bending the leads of the components using
nose-pliers.
Apply flux on the joints and solder the joints. Soldering must be done in minimum
time to avoid dry soldering and heating up of components. Wash the residue using water and
brush.
ADVANTAGES
CONCLUSION
CHAPTER - VII
REFERENCES
[1] A. Huang, "FREEDM System - A Vision for the Future Grid," IEEE Power and
Energy Society General Meeting, Providence, USA, 25-29 July 2010, pp.1-4
[2] N Sharma, "Novel Directional Protection Scheme for the FREEDM Smart Grid
System," M. Sc. Thesis submitted to Arizona State University, August 2015.
[3] https://www.freedm.ncsu.edu/