SAAD FAROOQ
(0110140-22)
TALAL AHMAD
(0110140-41)
13 JAN 2015
GROUP #
NUMBER
OF
MEMBERS
TITLE
SUPERVISOR
NAME
TERNAL / EXTERNAL
MEMBER NAME
REG. NO.
EMAIL ADDRESS
CHECKLIST:
Number of pages in this report
I/We have enclosed the soft-copy of this document
along-with the codes and scripts created by
myself/ourselves
YES / NO
YES / NO
YES / NO
MEMBERS SIGNATURES
Supervisors Signature
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
Date
Head of Department:
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
First of all we are great full to ALLAH ALMIGHTY for giving us the strength and knowledge to
complete this project.
We sincerely thanks to our project advisor Mr. Naveel Qayyum for guiding and helping us throughout the
project, without whose support and encouragement we could not have completed the project. We would
also like to thank Dr. K.H Qamar, and Mr. Tariq Sadiq and of EE Department for helping us and giving
every possible help.
We would also like to thank the lab attendants and other staff of FYP lab for providing assistance and
help.
Last but not the least we would greatly like to thank our parents who have always supported us morally
and financially.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
The Purpose of this project is basically to improve the power factor of Industrial loads as well as domestic
loads.In A.C circuits there is a phase difference between current and voltage. The cosine of this angle
is known as power factor. There are mostly inductive loads and current lags behind the voltage so the
power factor is lagging and less than unity. For economical point of view this is very problematic and the
energy will not be transmitted efficiently. If we put some devices across load which give leading VARs to
the system the power factor can be improved.
In our projecting we have done this by switching capacitors across the load with the help of
microcontroller. The microcontroller which we used PIC 16F877A. We have done the programming of
these microcontrollers in Micro C. Then we implement our circuit on the proteous. The circuits
implemented on the Proteous are real time circuits.
This makes device capable of sensing power factor and apply correction as when needed in correct
amount by switching capacitor banks with the assistance of microcontroller. The Power factor and the
powers are then displayed on the LCD. Actual power factor was 0.28 and after the capacitor bank
switching we improve the power factor and made it 0.81 which is near to unity. Thus power factor can
always be kept at a fixed near to unity. Thus effort is made to make an ordinary capacitor bank an
automatic and controllable power factor correcting device. By improving power factor the current can be
reduced and hence the losses also reduced in all parts of the Power system.
This project is for single phase loads but it can be extended for three phase balanced and unbalanced
loads by using same devices for each phase separately.
Table of Contents
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
1.
INTRODUCTION..........................................................................................11
2.
LITERATURE REVIEW...................................................................................12
2.1.
STATIC CAPACITORS:................................................................................12
2.2.
SYNCHRONOUS CONDENSER:...................................................................13
2.3.
PHASE ADVANCER:..................................................................................14
3.
BACKGROUND:...........................................................................................16
4.
CLIENT REQUIREMENTS..............................................................................17
5.
BASIC CONCEPTS:.......................................................................................17
6.
OBJECTIVES OF PROJECT:............................................................................17
7.
ELECTRICAL POWERS..................................................................................18
8.
8.1.
9.
POWER TRIANGLE:...................................................................................21
DISADVANTAGES OF LOW POWER FACTOR:..................................................23
9.1.
9.2.
9.3.
10.
PROJECT SPECIFICATIONS........................................................................31
13.
CAPACITOR BANKS..................................................................................42
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
8
14.
15.1. APPLICATION........................................................................................... 45
15.2. DISADVANTAGES OF LOW POWER FACTOR................................................45
15.3. CONCLUSION...........................................................................................46
15.4. REFERENCES:..........................................................................................47
16.
17.
18.
19.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
List of Figures
FIGURE 1: STATIC CAPACITOR....................................................................................................... 12
FIGURE 2: SYNCHRONOUS CONDENSER..........................................................................................13
FIGURE 3: PHASE ADVANCE......................................................................................................... 15
FIGURE 4: POWER TRIANGLE....................................................................................................... 18
FIGURE 5: PHASE DIFFERENCE B/W CURRENT & VOLTAGE.................................................................19
FIGURE 6: POWER TRIANGLE OF POWERS.......................................................................................20
FIGURE 7: POWER TRIANGLE....................................................................................................... 21
FIGURE 8: EXAMPLE................................................................................................................... 26
FIGURE 9: EXAMPLE CIRCUIT DIAGRAM WITH CAPACITOR...................................................................29
FIGURE 10: POWER TRIANGLE BEFORE AND POWER FACTOR IMPROVEMENT..........................................30
FIGURE 11: CURRENT TRANSFORMER............................................................................................31
FIGURE 12: POTENTIAL TRANSFORMER.......................................................................................... 32
FIGURE 13:CURRENT ZERO CROSSING DETECTOR................................................................................33
FIGURE 14: VOLTAGE ZERO CROSSING DETECTOR...............................................................................34
FIGURE 15: PIC 16F877A......................................................................................................... 34
FIGURE 16: BLOCK DIAGRAM OF 16F877A....................................................................................35
FIGURE 17: POWER SUPPLY FOR MICROCONTROLLER........................................................................39
FIGURE 18: VOLTAGE REGULATOR................................................................................................. 39
FIGURE 19: LCD 16*2.............................................................................................................. 40
FIGURE 20: RELAY JQX 76F....................................................................................................... 41
FIGURE 21: CAPACITOR BANK...................................................................................................... 42
FIGURE 22: OPTO COUPLER........................................................................................................ 43
FIGURE 23: INDUCTION MOTOR.................................................................................................... 44
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
10
List of Tables
TABLE 1: COMPONENTS................................................................................................................ 52
TABLE 2: GHANT CHART ACTIVITY.................................................................................................. 53
TABLE 3: SCHEDULE PHASE 1........................................................................................................ 54
TABLE 4: SCHEDULE PHASE 2........................................................................................................ 54
TABLE 5: SCHEDULE PHASE 3....................................................................................................... 54
TABLE 6: SCHEDULE PHASE 4........................................................................................................ 55
TABLE 7: COMPLETE GHANTT CHART...............................................................................................55
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
11
CHAPTER 1
PROJECT OVERVIEW
Objectives
In this chapter, the main focus is on describing the general structure. This chapter is mainly
concentrated on:
1.)
EE01
Introduction
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
12
1. Introduction
Most of the loads are inductive in nature like induction motors. There are some resistive loads like
incandescent bulb and there are very rarely capacitive loads like synchronousmotor. Inductive
Load cause a poor power factor. This poor power factor if not corrected will become the cause of
decrease in the efficiency of the system resulting in more demand of power from electricity supplier plus
it wil cause the penalty for the poor power factor. For this purpose we have installed capacitor bank to
compensate the inductive nature of load which in our case is an induction motor.
This report contains the detailed description and working of our final year project. It includes the
hardware architecture, the basic design of the product, research and study that was done for the designing
of the project.
We have designed and built a module of power factor improvement that is supported by bank of
capacitors to increase the efficiency of the system. Its functionality is described by a control algorithm
that has been specifically designed for this project. The idea behind the whole project is to utilize power
as efficiently as possible.
There are various techniques for power factor improvement including synchronous condenser and phase
advancer. We are using capacitor bank system.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
13
CHAPTER 2
Literature Review
Objectives
In this chapter, the need for a Power Factor Improvement and the various earlier technologies
available so far for Power Factor Improvement of electricity and is being discussed to find its
possibility in actual practices, their advantages, disadvantages and economical consideration.
This chapter is mainly concentrated on:
1.)
2.)
Background
3.)
Basic Concept
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
14
2. Literature Review
Normally, the power factor of the whole load on a large generation station varies from 0.8 to
0.9. However, sometime it is lower and in such cases it is generally desirable to take special steps to
improve the power factor. It is done by the following techniques.
1. Static Capacitors
2. Synchronous Condenser
3. Phase Advancers
2.1.
Static Capacitors:
The power factor can be improved by connecting capacitors in parallel with the equipment operating at
lagging power factor. The capacitor (generally known as static capacitor) draws a leading current and
partly or completely compensates the lagging reactive component of load current. This results in the
increase of the power factor of the load. The capacitors can be installed in delta or star in case of threephase loads. Static capacitors are invariably used for power factor improvement in factories .
Advantages:
1).They have low losses.
2). They required little maintenance as there are no rotating parts.
3). They can be easily installed as they are light and require no
foundation.
4). They can work under ordinary atmospheric condition.
Disadvantages:
1).They have short service life ranging from 8 to 10 years.
2). They can easily damages if the voltage exceeds the rated value.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
15
2.2.
Synchronous Condenser:
A synchronous motor when over-excited behaves as a capacitor and takes the leading current. An overexcited synchronous motor working on no load is called as synchronous condenser. When it is attached in
parallel with the supply, current leads which partly compensates the lagging reactive component of the
load. Hence in this way the power factor is improved.
These are generally used at major bulk supply substations for power factor improvement.
Advantages:
1) if we vary the field excitation, the magnitude of current which is drawn by the motor can also be varied
by any amount. This helps in achieving control of power factor.
2) The motor windings have high terminal stability to short circuit currents.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
16
Disadvantages:
1) There are considerable losses in the motor.
2) The maintenance cost is high.
3) It produces noise.
4) Except in size above 500 kVA, the cost is greater than that of static capacitors of the same rating.
5) As a synchronous motor has no self-starting torque, therefore, auxiliary equipment has to be provided
for this purpose.
Note:
The reactive power taken by a synchronous motor depends upon two factors,one of them is the D.C.,
field excitation and the other is mechanical load delivered by the motor.A synchronous motor takes the
Maximum leading power with maximum excitation and zero loads.
2.3.
EE01
Phase Advancer:
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
17
Advantages:
1) Phase advancers have two principal advantages.
2) As the excited ampere turns are supplied at slip frequency, lagging kVAR drawn by the motor are
considerably reduced.
3)Phase advancer can be conveniently used where the use of
synchronous motors is inadmissible.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
18
Disadvantages:
They are not economical for motors below 200 H.P.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
19
3. Background:
In industry the load that is being increased is inductive in nature, which affects the power factor as a
result the efficiency of the system is disturbed.Companies are there in the market that are developing
modules to improve or compensate the power factor. If we talk about the present trend the designs are
there in the market that involve programmable device in them. When we talk about any programmable
devices then the embedded technology comes into our mind. The embedded is now a day very much
popular and most the product are developed with Microcontroller based embedded technology. This
technology not only saves the cost but also saves us from using the extra hardware like RAM,ROM or
even ADC.. This technology is very fast so controlling of multiple parameters is possible.
electrical
engineering is considered to be one of the oldest branch of Engineering along with its
applications. These systems are quite trust-worthy and inexpensive, still they have got few
disadvantages. The electro mechanical protection relays are too bulky and need regular maintenance.
Recently,due to new innovations embedded technology is much cheaper now, so now it is being applied
to all the fields. The pioneer manufactures of Power system and protection system such as
SIMENS, LARSON & TUBRO, and CUTLER HAMPER etc. are manufacturing power factor
improvement devices on embedded technology. The apfc device is a very useful device for
transmitting
active power efficiently. If the consumer connects inductive load, then the power
factor lags.. So it is necessary to improve the power factor of that inductive load.The module takes the
values of line current and line voltage ,calculates the power factor and then switches on the capacitor
bank to compensate the lagging power factor.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
20
4. Client Requirements
4.1.
4.2.
4.3.
5. Basic Concepts:
Generation, transmission and distribution of electrical energy is done in the form of alternating current. So
the power factor is never out of sight. Most of the loads (e.g. induction motors and arc lamps) are
inductive in nature and hence have low power factor. The low power factor is is never desired as it causes
an increase in current, which results into increased amount of losses of active power in all the elements of
power system from generation to utilization devices. In order to ensure most favorable conditions for a
supply system from engineering and economical standpoint, it is impossible to have power factor as close to
unity as possible.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
21
CHAPTER 3
PROJECT METHODOLOGY
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
22
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
23
5.1.
The improvement of the power factor is very important for both consumers and generating stations as
discussed below:
For Consumer:
A consumer has to pay electricity charges for his maximum demand in kVA plus the units consumed. If
the consumer improves the power factor, then there is a reduction in his maximum kVA demand and
consequently there will be annual saving due to maximum demand charges. Although power factor
improvement involves extra annual expenditure on account of p.f. correction equipment, yet improvement
of p.f. to proper value results in the net annual saving for the consumer.
6. Objectives of Project:
The main Objectives of our project are,
1. To improve the power factor of the inductive load using capacitor banks.
2. Automatic switching of capacitor banks with the help of microcontroller whenever the power factor is
low.
3. To show the power factor on the LCD before and after the improvement.
4. And also show the Real, Reactive and Complex Power on LCD.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
24
7. Electrical Powers
There are 3 types of Electrical Power,
1. Real Power
2. Reactive Power
3. Complex Power
Real Power
Real Power is the actual Power from which a machine does work. More technically. The product of VI
cos is called real power and is indicated by the symbol P. where is the angle between voltage and
current. The units of P are Watts or kilowatts.
In terms of Resistance R ,Voltage (rms) E and Current I ,The relation of Real power or True power is :
P=I2R
(1.1)
P=V2/R
(1.2)
Reactive power
Reactive power is the Power oscillate from load to source. More technically,The product of VI sin is
called reactive power and is indicated by the symbol Q. The units of Q are volt-ampere-reactive (VAR) or
kilovolt-ampere-reactive (kVAR).
In terms of reactance X ,Voltage(rms) E and Current I ,The relation of reactive power is :
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
25
Q=I2X
(1.3)
Q=V2/X
(1.4)
S=I2Z
(1.5)
S=VI
(1.6)
S=V2/Z
(1.7)
7.1.
Power Factor
The cosine of angle between voltage and current in an a.c. circuit is known as power factor.
Power factor tells how efficiently power is being consumed by the load supplied by the source The
relation of Power Factor with Real n Apparent Power is shown below,
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
26
Consider an inductive circuit taking a lagging current I from supply voltage V the angle of lag being .
The phasor diagram of the circuit is shown in Fig 2.1. The circuit current I can be resolved into two
perpendicular components, namely,
a) I cos in phase with V
b) I sin out of phase with V
The component I cos is known as active or Wattful component, where as component I sin is called
the reactive or wattles component. The active component is the measure of power factor. If the active
component is small, the phase angle is small and hence power factor cos will be high. Thus a circuit
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
27
with a small reactive current (i.e., I sin ) will have high power factor and a circuit which has a high
reactive current will have a low power factor. Maximum value of power factor can be unity.
1) It is a usual practice to attach the word lagging or leading with the numerical value of power factor
to signify whether the current lags or leads the voltage. Thus is the current has a p.f of 0.5 and the current
lags the voltage, we generally write p.f as 0.5 lagging.
2) Sometime power factor is expressed as a percentage. Thus 0.8 lagging power factor may be expressed
as 80 % lagging.
8.1.
Power Triangle:
The power triangle related to Power factor,Real power and Complex power is shown in the figure with
vertex OAB as shown in the figure 7.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
28
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
29
The power factor plays an important role in a.c. circuits since power consumed depend uponthis factor.
P = VL IL cos (For Single Phase Supply)
(2.1)
IL = P/ VL cos
(2.2)
(2.3)
IL = P/ 3VL cos
(2.4)
It is clear from above that for fixed power and voltage, load current is inversely proportional to the power
factor. Lower the power factor, higher is the load current and vice-versa. A power factor less then unity
results in the following disadvantages.
(i)
The electrical machinery (e.g. alternators, transformers, switchgear) is always rated in kVA.
Now, kVA = kW/cos
kVA rating of the equation is inversely proportional to power factor. The smaller power factor, the larger
is the kVA rating. Therefore, at low power factor, the kVA rating of the equipment has to be made more,
making the equipment larger and expensive.
(ii)
To transmit or distribute a fixed amount of power at constant voltage, the conductor will have to carry
more current at low power factor. This necessitates large conductor size. For example, take the case of a
single phase a.c. motor having an input of 10 kW on full load, the terminal voltage being 250 V. at unity
p.f., the input full load current would be 10,000/250 = 40 A. At 0.8 p.f., the kVA input would be10/0.8 =
12.5 and the current input 12,500/250 = 50 A. If the motor is worked at low power factor of
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
30
0.8, the cross-sectional area of the supply cables and motor conductor would have to be based upon a
current of 50 A instead of 40 A which would be required at unity power factor.
(iii)
The large current at low power factor causes more IR losses in all the elements of the supply system.
This result is poor efficiency.
(iv)
The large current at low lagging power factor causes greater voltage drops in alternator, transformer,
transmission lines and distributors. These results in the decreased voltage available at the supply end, thus
impairing the performance of utilization devices. In order to keep the receiving end voltage within
permissible limits, extra equipment (i.e., voltage regulator) is required.
9.1.
Low power factor is undesirable from economic point of view. Normally, the power factor of the whole
load on the supply system in lower than 0.8. The following are the causes of low power factor.
(i). Most of the A.C motors are of inductive type (1 and 3 induction motor) which
Have low lagging power factor. These motors work at a power factor which is extremely small
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
31
(ii)Arc lamps, electric discharge lamps and industrial heating furnaces operate at low lagging
power factor.
(iii). The load on the power system is varying; being high during morning and evening and low
at other times. During low load period, supply voltage is increased which increases
magnetization current. This results in the decreased power factor.
9.2.
The low power factor is mainly due to the fact that most of the power loads are inductive and, therefore,
take lagging current. In order to improve the power factor, some device taking leading power should be
connected in parallel with the load. One of such devices can be a capacitive. The capacitor draws a
leading current and partly or completely neutralizes the lagging reactive component of load current. This
raises the power factor of the load.
Illustration:
To illustrate the Power Factor improvement using Capacitor, Consider an AC Circuit in which lagging
load is connected with 240 Volt rms Supply. The Wattmeter and ammeter are connected with the Circuit
which gives real power and and the current passing through the Load as shown in the figure
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
32
Figure 8: Example
Wattmeter reads true Power; product of voltmeter and ammeter readings yields apparent power. First, we
need to calculate the apparent power in kVA. We can do this by multiplying load voltage by load current:
S = IE
S = (9.615 A)(240 V)
S = 2.308 KVA
Where E is the rms Voltage and S is the apparent Power
As we can see, 2.308 kVA is a much larger figure than 1.5 kW, which tells us that the power factor in this
circuit is rather poor (substantially less than 1). Now, we figure the power factor of this load by dividing
the true power by the apparent power:
Power Factor =
P
S
Power Factor =
1.5 KW
2.308 KVA
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
33
Using this value for power factor, we can draw a power triangle, and from that determine the reactive
power of this load: (Figure below)
Reactive power may be calculated from true power and apparent power.
To determine the unknown (reactive power triangle quantity, we use the Pythagorean Theorem
backwards, given the length of the hypotenuse (apparent power ) and the length of the adjacent side
(true power):
2
2
Reactive Power = Apparent Power True Power
Q = 1.754 KVAR
If this load is an electric motor, or most any other industrial AC load, it will have a lagging (inductive)
power factor which means that we'll have to correct for it with a capacitor of appropriate size, wired in
parallel. Now that we know the amount of reactive power (1.754 kVAR), we can calculate the size of
capacitor needed to counteract its effects:
Q=
EE01
E2
X
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
34
Solving fox X
X=
E2
Q
X=
240
1.754 KVAR
; Xc =
1
2 fC
Solving For C
X= 32.845
C=
1
2 fXc
C=
1
2 ( 60 Hz ) (32.845)
C=80.761F
Rounding this answer off to 80 F, we can place that size of capacitor in the circuit and calculate the
results: (Figure below)
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
35
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
36
The new apparent power can be found from the true and new reactive power values, using the standard
form of the Pythagorean Theorem:
Apparent Power =
This gives a corrected power factor of (1.5kW / 1.5009 kVA), or 0.99994, and a new total current of
(1.50009 kVA / 240 Volts), or 6.25 amps, a substantial improvement over the uncorrected value of 9.615
amps! This lower total current will translate to less heat losses in the circuit wiring, meaning greater
system efficiency (less power wasted).
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
37
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
38
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
39
10.2.Potential Transformer:
Potential transformers are used to reduce the system voltage at levels low
10.3.
A Potential Transformer is used here to step down the voltage to a suitable value
that can be handled by the electronic circuit. In this project 220/12V single phase
potential transformer is used.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
40
I.
II.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
41
The input to this circuit is a voltage waveform of milli volts from the Current Transformer which is
sinusoidal and is in phase with the current .The output of this circuit is a square wave .At positive zero
crossing the output of this circuit is 5v and at negative zero crossing it is 0v. LM358 Comparator is used
in it which takes an input upto milli volts. R1 and R2 is used for biasing.+Vcc and -Vcc is also supplied to
the comparator .The values of all components are shown in the diagram. The output wave form of current
zero crossing detector will be given to the microcontroller and the microcontroller will use this waveform
to sense PF and real and reactive power of the load.
The input to this circuit is a sinusoidal voltage waveform of 12 volt rms from the Potential Transformer.
The output of this circuit is a square wave .At positive zero crossing the output of this circuit is 5v and at
negative zero crossing it is 0v.The comparator is not used in it and simple BJTs fullfil the purpose of zero
crossing detection .The values of all components are shown in the diagram
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
42
10.6.
PIC 16F877A:
10.7.
Figur
e 15: PIC
16F877A
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
43
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
44
The Special Function Register are registers used by the CPU and peripheral module for controlling the
desired operations of the device. That registers are implement as static RAM. The Special Function
Register can be classified into 2 sets; core (CPU) & peripheral. That registers associated with the core
function are described in details in this section. Those relate to the operations of the peripheral feature are
described in details in the peripheral feature section .
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
45
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
46
ANALOG FEATURES
10-bit, 8-channel A/D Converter
Analog Comparator module
2 analog comparators
The Programmable on-chips voltage reference module
The Programmable inputs multiplexing from device I/P and internal VREF
The Comparator O/P are externally accessible
PERIPHERAL FEATURES
The Timer0 to 8-bit timer/counter with 8-bit prescaler
The Timer1to 16-bit timer/counter with prescaler,can be incremented during SLEEP via external
crystal/clock
The Timer2To 8-bit timer/counter with 8bit period register, pre scaler and post scaler
Two Capture, Compare, PWM modules
10bit multi-channel Analog to Digital converter
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
47
The
input
230v
AC
supply
is
converted
into
9v
DC
supply
with
a bridge rectifier and it is filtered through a capacitor to get pure dc supply, and avoltage
the
help
of
regulator
u2
7805 is placed in order to give a constant 5v dc, hence the microcontroller works with 5v dc supply. And a
LED is placed in parallel to the microcontroller in order to know whether the microcontroller is given the
input.
11.8. Resistor
A resistor is a two-terminalelectricalor electroniccomponent that opposes anelectric currentby producing a
voltage drop between its terminals in proportion to thecurrent, that is, in accordance withOhm's law: V =
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
48
IR. Theelectrical resistanceR isequal to thevoltagedrop V across the resistor divided by the current I
through
theresistor.
Resistors
are
used
as
part
of electrical
networksand
electronic
circuits.The power dissipated by a resistor is the voltage across the resistor multiplied by thecurrent
through the resistor
P=
I2 R
= IV =
V2
R
LCD (Liquid Crystal Display) screen is an electronic display module. A 16x2 LCD display is very basic
module and is very commonly used in various devices and circuits. These modules are preferred
over seven segment and other multi segment LEDs
RELAY
When a current flows through the coil, the resulting magneticfield attracts an armature that is
mechanically linked to a moving contact. The movement either makesor breaks a connection with a fixed
contact. When the current to the coil is switched off, the armature is returned by a force approximately
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
49
half as strong as the magneticforce to its relaxed position. Usually this is a spring, but gravity is also
usedcommonly in industrial motor starters. Most relays are manufactured to operatequickly. In a low
voltage application, this is to reduce noise. In a high voltage or highcurrent application, this is to reduce
arcing.
If the coil is energized with DC, adiode is frequently installed across the coil,to dissipate the energy from
the collapsing magnetic field at deactivation, whichwould otherwise generate a spike of voltage and might
cause damage to circuitcomponents. Some automotive relays already include that diode inside the relay
case.Alternatively a contact protection network, consisting of a capacitor and resistor inseries, may absorb
the surge. If the coil is designed to be energized with AC, a smallcopper ring can be crimped to the end of
the solenoid. This "shading ring" creates asmall out-of-phase current, which increases the minimum pull
on the armature duringthe AC.
JQX 76F
It is double pole double through relay.
It has 10 amp switching capacity.
13. Capacitor
Banks
Distribution
power
capacitor in parallel
in series. The function of shunt power capacitor is to provide leading(capacitive) kVARs to an electrical
system when and where needed. Lagging(inductive) kVARs appear when there are inductors (coils) exist
within electrical (e.g. motor) or electronic (personal computer) equipments, as the amount grows, the
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
50
increment of inductive kVARs will increase as well, thus the demand of capacitivekVARs to compensate
is pretty much required in order to reduce unnecessary lost.Capacitors are common components of
electronic circuits, used almost as frequentlyas resistors. Basic difference between the two is the fact that
capacitor resistance(called reactance) depends on voltage frequency, not only on capacitors'
features.Common mark for reactance is Xc and it can be calculated using the following formulae
Xc =
1
2 FC
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
51
groupconnected between the phase wire and the neutral of a 3-phase bank. This method issued to mitigate
any resonant circuit, while reduction of induction triple harmonicfrequency current can be made.
14.Optocoupler:
In electronics, optocoupler is a component that transfers electrical signals between two isolated circuits
by using light. Opto-isolators prevent high voltages from affecting the system receiving the signal.
An opto-isolator contains a source (emitter) of light, almost always a near infrared light-emitting
diode (LED), that converts electrical input signal into light, a closed optical channel (also called
dielectrical channel[7]), and a photosensor, which detects incoming light and either generates
electric energy directly, or modulates electric current flowing from an external power supply. The sensor
can be a photoresistor, a photodiode, a phototransistor, a silicon-controlled rectifier (SCR) or a triac.
Because LEDs can sense light in addition to emitting it, construction of symmetrical, bidirectional optoisolators is possible. An optocoupled solid state relay contains a photodiode opto-isolator which drives a
power switch, usually a complementary pair of MOSFETs. A slotted optical switch contains a source of
light and a sensor, but its optical channel is open, allowing modulation of light by external
objectsobstructing the path of light or reflecting light into the sensor.
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
52
Power: 0.4kW
Amps: 3.0
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
53
15.1. Application
The power utility company,
Power Quality Improvement, Voltage Balancing
The commercial and residential consumer,
And manufacturers of applications that generate reactive power.
15.3. CONCLUSION
The system design implementation and testing were The testing process did not run test on power
converter based systems or synchronous motor due to required huge amount of expense may need to
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
54
further enhance the system to that feature, financial is a critical issues upon further enhancement. Besides
systems that containserious harmonic current or ill non-sinusoidal current would mostly exist in
systemswith huge amount of active elements.By observing all aspects of the power factor it is clear that
power factor is the most significant part for the utility Company as well as for the consumer.
Utility
company rid of from the power losses while the consumer free from low power factor penalty charges.
By installing the suitably sized power capacitor into the circuit, the Power Factor is
improved and value becomes nearer to 1 thus minimise line losses and improving the efficiency of the
plant.
15.4. References:
1. Murad Ali (2013) Design and Implementation of Microcontroller -Based Controlling of
Power Factor using Capacitor Banks with Load Monitoring Global Journal of Researches in
Engineering Electrical and Electronics Engineering (USA)
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
55
2. B.C. Kok, C.Uttraphan and H.H Goh(2009) A Conceptual Design of Microcontroller Based
Power Factor Correction Circuit pursued in practical applications.
3. Kim, T.W.; Choi, J.H.; Kwon, B.H. (2004) High Performance the Line Conditioners with
Output Voltage Regulations and Power Factor Corection, IEEE Proceedings on Electric Power
Applications.
4. J.R. Fisher & Carla Beaudet (April26,2005) Functional Description of PIC16F877A Functions
and Interfaces to GBTRFI Monitor Station,Electronics Division Technical Note No.208
5. SA02607001E (2010) Power factor correction a guide for the plant engineer Capacitor banks
and passive harmonic filters
6. Ian PooleLinear Load Power Factor Correction http://www.radio-electronics.com/info/powermanagement/power-factor-correction-pfc/linear-load-pfc.php
7. Fuld et al. 1991 berthold fuld, Siegfried kern; ray ridley (1991) A combined buck and boost
Power-Factor controller for three phase input, IEEE europeon conference on power electronics
and applications.
8. Dallago , Esasone , G stori, M venchi (1998) Experiment analysis and comparison on a power
factor controller including a Delta- Sigma Pressing stage, IEEE transaction industrial
electronics.
9. [wiki] en , Wikipedia.org/wiki/Power_Factor_Correction
10. J. M. Bourgeois Circuit for power factor corrections with regards to mainsfiltering, ST Micro
electronics, Italy retrieved August 23rd, 2006
11. H. Saadat Power System Analysis Mc Graw Hill
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
56
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
57
}
while(1);
a = (TMR1L | (TMR1H<<8)) * 2;
TMR1L=0;
TMR1H=0;
do
{
if(PORTA.F0 == 1)
{
T1CON.F0=1;
if(PORTA.F1==1)
{
T1CON.F0=0;
break;
}
}
}
while(1);
b = TMR1L | (TMR1H<<8);
tm = (float)b/a;
pf = cos(tm*2*3.14);
x=abs(ceil(pf*100));
return x;
}
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
58
void main()
{
char c[]="0.00";
int a,b,d,x,f,e;
float tm,pf;
Lcd_Init();
Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
while(1)
{
a = powerFactor();
Delay_us(50);
b = powerFactor();
Delay_us(50);
d = powerFactor();
Delay_us(50);
e = powerFactor();
Delay_us(50);
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
59
f = powerFactor();
x = (a+b+d+f+e)/5;
c[3]=x%10 + 0x30;
x=x/10;
c[2]=x%10 + 0x30;
x=x/10;
c[0]=x%10 + 0x30;
Lcd_Out(1,1,"Power Factor");
Lcd_Out(2,1,c);
if(x<90)
{
PORTD.F0 = 1;
PORTD.F1 = 1;
Delay_ms(2000);
}
else
{
PORTD.F0 = 0;
PORTD.F1 = 0;
}
Delay_ms(250);
}
}
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
60
17.
18.
Table 1: Components
PIC 16F877A
Opto-coupler PC 817
Relays
Transistor C945
Capacitor Bank
LCD 16*2
CT & PT
Voltage Regulator
Crystal Oscillator
Induction motor
Resistor
Activity:
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
61
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
62
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
63
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)
64
EE01
Roshan Farooq(0110140-23)
Saad Farooq(0110140-22)
Talal Ahmad(0110140-08)