Final Draft of Pfi On 2005e-1
Final Draft of Pfi On 2005e-1
Final Draft of Pfi On 2005e-1
Firstly, we would like to thank our almighty God who helped us for the completion of this
partial fulfillment of BSC project. Next we would like to express our heartily gratitude to our
supervisor Alula Mebratu (MSc) for his guidance and enthusiasm given throughout the
progress of this project. Our appreciation also goes to Ato Asefa Megu, a technician in the
Substation and head of all electronics workshop. In addition Ato Belay Wosene head of the
planning department of the Hawassa textile factory. We would also like to thank Hawassa
University Electrical and Computer Engineering Department that involves directly or
indirectly in this project fulfillment.
ABSTRACT
Power factor improvement (PFI) is a technique of counteracting the undesirable effects of
electric loads that create a power factor that less than one. Power factor improvement may be
applied either by an electrical power transmission supply to improve the stability and
efficiency of the transmission network or correction may be installed by individual electrical
customers or factories to reduce the costs charged to them by their electricity supplier. Many
control methods for the Power Factor Correction have been proposed. This work describes
the design and development of a power factor corrector using PIC (Programmable Interface
Controller) microcontroller chip. Measuring of power factor from load is achieved by using
PIC Microcontroller-based developed algorithm to determine and trigger sufficient switching
of capacitors in order to compensate demand of excessive reactive power locally, thus
bringing power factor near to unity. In order to install sufficient capacitor bank we would
analyzed reactive and active power flow of the factory. These power factor improvement
method to automatic as well as capacitor bank would be protected from heat which developed
during the charging of capacitor units, by using reactors connected in series with capacitor
units.
Contents
ACKNOWLEDGMENT ................................................................................................................................ I
ABSTRACT................................................................................................................................................ II
ABBREVIATION ....................................................................................................................................... VI
CHAPTER ONE ......................................................................................................................................... 1
INTRODUCTION ....................................................................................................................................... 1
1.1 BACKGROUND OF THE PROJECT .......................................................................................... 1
1.2 MOTIVATION ............................................................................................................................. 1
1.3 STATEMENT OF THE PROBLEM ............................................................................................ 2
1.4. OBJECTIVE ................................................................................................................................ 3
1.4.1 General Objective .................................................................................................................. 3
1.4.2 Specific Objective .................................................................................................................. 3
1.5 METHODOLOGY ....................................................................................................................... 3
1.5.1. LITERATURE REVIEW ..................................................................................................... 3
1.5.2. DATA COLLECTION ................................................................................................................ 3
1.5.3 STUDY THE CAMPANY PROBLEM ........................................................................................... 4
1.5.4 DESIGN SOLUTION BASED ON THE STUDY ............................................................................. 4
1.5.5 SIMULATING THE PROPOSED SOLUTION ............................................................................... 4
1.5.6 DESIGNING THE COMPONENTS OF THE MICROCONTROLLER BASED RELAY ........................ 4
1.5.7 ANALYSIS OF RESULTS ............................................................................................................ 4
CHAPTER TWO ........................................................................................................................................ 5
THEORY ................................................................................................................................................... 5
2.1 POWER FACTOR ............................................................................................................................ 5
2.2 POWER FACTOR IMPROVEMENT .................................................................................................. 5
2.3 REACTIVE POWER IN TEXTAIL INDUSTORY ................................................................................... 8
2.4 PROBLEM OF POOR FOWER FACTOR ............................................................................................ 8
2.5 HOW TO STUDY PF PROBLEM ....................................................................................................... 9
2.5.1 METHODS OF CORRECTION ................................................................................................... 9
2.5.2 METHODS OF POWER FACTOR IMPROVMENT ...................................................................... 9
2.5.3 REACTIVE POWER COMPENSATION METHODS ................................................................... 10
2.5.4 ADVANTAGES OF IMPROVED POWER FACTOR .................................................................... 11
2.5.5 DISADVANTAGE OF STATIC POWER FACTOR CORRECTION ................................................. 11
2.6 How Capacitors Work ................................................................................................................. 12
2.7 SUPPLY HARMONICS ................................................................................................................... 13
LIST OF TABLES
Table 2.1, Advantage and disadvantage of PFC methods……………………………………12
Table 3.1, machines operating time………………………………………………..…………17
Table 3.2, Power consumption of the factory for March, 2013………………..……………18
Table 3.3, converged power flow of each bus………………………………….……………19
LIST OF FIGURES
Figure 2.1: Power triangle…………………………………………………………….……….5
Figure 2.2: Phase diagram of current ……………………………………..…….……………7
Figure 2.3, Illustration of fixed power factor correction………………………....….…….....10
Figure 2.4, Illustration of group power factor correction……………………………..…….10
Figure 2.5, Capacitor bank connection with phases …………………………….…………11
Figure 2.6, Principle of capacitor work …………………………………………….……….12
Figure 2.7, detuned filter reactors………....…………………………………….…..……..13
Figure 2.8, Connection of detuned reactor with capacitor unit……………………….……..14
Figure 2.9, Relay……………………………………………………………………………..16
Figure 3.1, Reactive power compensation in the factory…………………………..………...19
Figure 4.1, illustrates the major power system components of the factory…………….…….20
Figure 4.2, block diagram of automatic PFI………………………………………………...22
Figure 4.3, Voltage regulator……………………………………………………….………..23
Figure 4.4, detail of current transformer……………………………………..………………23
Figure 4.5, Relay driver …………………………………………………………………….24
Figure 4.6, show the capacitor…………………………………………………………….……..25
Figure 4.7, block schema of zero cross detection…………………………………….......…..25
Figure 4.8, General circuit diagram………………………………………………..…….…..26
Figure 4.9, Flow chart for the proposed automatic power factor controlling……………......27
Figure 4.10, Temperature controller flow chart……………………………………………………….29
ABBREVIATION
AC1, 2......................................Air conditioning room
ACPF…………………………….Automatic controlling of power factor
EEPCo……………………………Ethiopian electric power corporation.
KVA…………………………….. Kilo volt ampere
KVAR…………………………... Kilo volt ampere reactive
KW……………………………… Kilo watt
LCD………………………………Liquid crystal display
PFC……………………………….Power factor correction
PFI………………………………..Power factor improvement
PIC………………………………..programmable interface controller
ZCD………………………………Zero cross detection
CHAPTER ONE
INTRODUCTION
1.1 BACKGROUND OF THE PROJECT
Power factor is the ratio between the KW and the KVA drawn by an electrical load where the
KW is the actual load power and the KVA is the apparent load power. It is a measure of how
effectively the current is being converted into useful work output and more particularly is a
good indicator of the effect of the load current on the efficiency of the supply system. When
an electric load has a PF. lower than 1, the apparent power delivered to the load is greater
than the real power that the load consumes voltage. All currents will cause losses in the
supply and distribution system. A load with a power factor of 1.0 provides most efficient
loading of the supply and a load with a power factor of 0.5 will result in much higher losses
in the supply system. A poor power factor can be the result of a significant phase difference
between the voltage and current at the load terminals. Poor load current phase angle is
generally the result of an inductive load such as an induction motor, power transformer,
lighting ballasts, welder or induction furnace. An improved power factor AC output is the
main target of our project. This paper focuses on the power factor improvement using
Microcontroller based relay switching of capacitor banks.
The main reason we are interested about the project is it contains most of the courses we have
taken. The aim of the project is to improve power factor by analyzing the inductive loads in
the factory. Suitable capacitor unit is selected to compensate reactive power flow. As well as
using microcontroller based relay to be automatic capacitor bank switch ON by sensing
increment of inductive load. Microcontroller is a computing device capable of executing a
program so we program in c high level language.
1.2 MOTIVATION
As we are power students we are motivated to do project around power system. Analyzing
and controlling of active and reactive power while stabilizing voltage drop are need in every
power system. Recently scenario industries are increasing so; the consumption of active and
reactive power will be supported by new designed technologies. There for power factor
improvement would be the most important idea when we think to use power consumptions to
our factory and household loads. Power factor improvement will need to every inductive
loads, then we will make it digitalized controlling system by using microcontroller based
relay for reactive power compensation to switch the capacitor banks as the inductive load
increases.
This will have direct impact on energy losses and unimproved power factor. This project
focuses on the design and simulation of power factor improvement using PIC Micro-
controller based relay on switching of capacitor bank. Because, switching of capacitor bank is
not automatically. So, power factor is not reliable to inductive power compaction. Capacitor
bank also needs external cooling system as well as temperature sensor relay.
Recently, the technical revolution made embedded technology cheaper, so that it can be
applied to all the fields this can be achieved in a product by using programmable device.
Whenever we are thinking about any programmable devices then Microcontroller based
technology are the most preferable once. This technology is very fast. Therefore, controlling
of multiple parameters is possible and the Parameters are field programmable by the user.
The automatic power factor correction device is a very useful device for improving efficient
transmission of active power. If the consumer connect inductive load, then the power factor
lags, when the power factor goes below 0.95(lag) then the Electric supply company charge
penalty to the consumer. So it is essential to maintain the Power factor below with in a limit.
Automatic Power factor improvement device reads the power factor from line voltage and
line current, calculating the compensation requirement switch on different capacitor banks.
1.4. OBJECTIVE
1.4.1 General Objective
To design methods of automatic controlling capacitor bank through microcontroller
based relay, for improvement of power factor in Hawassa textile factory. In addition,
to design system for cooling of capacitor bank ventilation fun with temperature
sensors.
CHAPTER TWO
THEORY
2.1 POWER FACTOR
Power factor is the ration between the KW and the KVA drawn by an electrical load where
the KW is the actual load power and the KVA is the apparent load power. It is a measure of
how effectively the current is being converted into useful work output and more particularly
is a good indicator of the effect of the load current on the efficiency of the supply system
[11].
Apparent Power
Reactive Power
Active Power
Figure 2.1: Power triangle
All current will cause losses in the supply and distribution system.
A load with a power factor of 1.0 result in the most efficient loading of the supply and a load
with a power factor of 0.5 will result in much higher losses in the supply system.
A poor power factor can be the result of either a significant phase difference between the
voltage and current at the load terminals, or it can be due to a high harmonic content or
distorted/discontinuous current waveform. Poor load current phase angle is generally the
result of an inductive load such as an induction motor, power transformer, lighting ballasts,
welder or induction furnace. A distorted current waveform can be the result of a rectifier,
variable speed drive, switched mode power supply, discharge lighting or other electronic
load.
A poor power factor due to an inductive load can be improved by the addition of power factor
correction, but, a poor power factor due to a distorted current waveform requires a change in
equipment design or expensive harmonic filters to gain an appreciable improvement. Many
inverters are quoted as having a power factor of better than 0.95 when in reality, the true
power factor is between 0.5 and 0.75. The figure of 0.95 is based on the Cosine of the angle
between the voltage and current but does not take into account that the current waveform is
discontinuous and therefore contributes to increased losses on the supply.
the same real (average) power supplied. This leads to a release in some of the generation and
transmission capability so that it can be used to serve more customers [6]
Generally, power is distributed through transmission lines and the voltage at one end of these
lines is maintained constant. It can be inferred that as the power factor falls, for a fixed
amount of power, the magnitude of current flowing through these lines increases. As a result
the voltage at the load end drops. Also, loss in the transmission line increases thereby
decreasing the overall efficiency. Hence, to improve the power factor, capacitors in three-
phase banks are connected to the system, such that the combination of the plant load and the
capacitor banks presents a load to the serving utility which is nearer to unity power factor. In
the R-L load is being supplied by the source and a capacitor is connected across the load. It is
known that the capacitor draws a leading current (or supplies lagging current) from the
source. If the magnitude of the current drawn by the capacitor is equal to the quadrature
component of the load current (Iy = IL sin µ), the source will then supply only the active
component of current (Ix). In that case there is a significant reduction in the current flowing
through the trans-mission line (without the capacitor the current flowing in the transmission
line is “IL” and with the capacitor it is IL cos µ). This results in the decrease in voltage drop
and power loss in the transmission [6]
Capacitive Power Factor correction is applied to circuits which include induction motors as a
means of reducing the inductive component of the current and thereby reduce the losses in
the supply. There should be no effect on the operation of the motor itself.
An induction motor draws current from the supply that is made up of resistive components
and inductive components.
The resistive components are:
(i)Load current
(ii)Loss current
The inductive components are
(i)Leakage reactance
(ii)Magnetizing current
2. Group power factor correction – this method is more effective than the previous one.
Group PFC assumes compensation of a group of loads supplied by the same switchgear.
Capacitor bank is usually controlled by the microprocessor based device called power factor
regulator, beside this method force applying protection for power capacitors.
Static power factor correction can be applied at each individual motor by connecting the
correction capacitors to the motor starter. A disadvantage can occur when the load on the
motor changes and can result in under or over correction. Static power factor correction must
not be applied at the output of a variable speed drive, solid state soft starter or inverter as the
capacitors can cause serious damage to the electronic components.
Over-correction should not occur if the power factor correction is correctly sized. Typically
the power factor correction for an individual motor is based on the non load (magnetizing)
power since the reactive load of a motor is comparatively constant compared to actual kW
load over compensation should be avoided. Care should be taken when applying power factor
correction star/delta type control so that the capacitors are not subjected to rapid on-off-on
conditions. Typically the correction would be placed on either the Main or Delta contactor
circuits. But the power factor correction to the large factory is very difficult because of many
inductive motors are present. So, common correction used for some of inductive loads in
commonly. Power factor correction applied at the origin of the installation consists of a
controller monitoring the VAR’s and this controller switches capacitors in or out to maintain
the power factor better than a preset limit (typically 0.95).
Power Factor
Correction Unit
By using these types of detuned reactors it is possible to avoid following negative effects on
system.
Over current during switching on the capacitor banks.
Overload of capacitor banks because of the harmonic resonance.
Short lifetime on capacitors.
Overheating of the utility transmission cables.
Overheating of the distribution transformer.
Unintended triggering of the protective devices.
Distortion of supply voltage waveform and problems on voltage sensitive devices.
Interferences on data transmission systems.
Unexplainable faults in electronic boards.
Choosing the correct detuned filter reactor and capacitor value on power factor correction
systems is very important. To obtain optimum performance form a power factor correction
system following criteria must be controlled and met during the pairing of the reactors and
capacitors.
Adding the inductance in series with the capacitors will reduce their effective capacitance at
the supply frequency. Reducing the resonant or tuned frequency will reduce the effective
capacitance further. The object is to make the circuit look as inductive as possible at the 5th
harmonic and higher, but as capacitive as possible at the fundamental frequency. Detuning
reactors will also reduce the chance of the tuned circuit formed by the capacitors and the
inductive supply being resonant on a supply harmonic frequency, thereby reducing damage
due to supply resonance amplifying harmonic voltages caused by non linear loads.
N.B: Bear in mind that this diagram shows for a single transformer supply. This to mean we
have four Microcontroller based relay since we have four transformers.
Controller
Visual indication of incorrect CT polarity.
Digital display of power factor and number of energized banks.
Automatic setting of c/k value (sensitivity based on CT ratio and kvar available).
Visual indication of insufficient KVAR to reach target power factor.
Capacitors disabled in steps within 35 milliseconds of main power interruption.
Automatic sensing of KVAR values per step.
Optional communications capable (RS-485/Modbus) from controller.
Optional metering capability
Contactor
Fully rated for capacitor switching up to 150 KVAR at 600 V.
Integral pre-charge/pre-insertion module standard. The contactor reduces damaging
switching transients. This provides safety and durability for the system:
Lessens the chance of disrupting sensitive electronic equipment.
Reduced inrush current extends the life of the capacitor cells.
Most microcontrollers also contain read- only memory (ROM), programmable read- only
memory (PROM), or erasable programmable read –only memory (EPROME). All of these
memories are permanent: they retain what is programmable into them even during loss of
power. They are used to store the firmware that tells the microcontroller how to operate. They
are also used to store permanent lookup tables. Often these memories do not reside in the
microcontroller; instead, they are contained in external ICs, and the instructions are fetched
as the microcontroller runs. This enables quick and low-cost updates to the firmware by
replacing the ROM. Most microcontroller runs contain circuitry to generate the system clock.
This square wave is the heart beat of the microcontroller and all operations are synchronized
to it. Obviously, it controls the speed at which the microcontroller functions. All that needed
to complete the clock circuit would be the crystal or RC components. We can, therefore
precisely the operating speed critical to many applications.
Automatic power factor correction device reads power factor from line voltage and line
current by determining the delay in the arrival of the current signal with respect to voltage
signal from the function generator with high accuracy by using an internal timer.
This time values are then calibrated as phase angle and corresponding power factor. Then the
values are displayed in the LCD modules. Then the microcontroller calculates the
compensation requirement and accordingly switches on different capacitor banks through
electromagnetic relay. This work describes the design and development of a power factor
corrector using PIC (Programmable Interface Controller) microcontroller chip. Measuring of
power factor from load is achieved by using PIC Microcontroller-based developed algorithm
to determine and trigger sufficient switching of capacitors in order to compensate demand of
excessive reactive power locally, thus bringing power factor near to unity.
2.9.2 RELAY
A relay is an electrical switch that opens and closes under the 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. Because a relay is able to control an output circuit of higher power
than the input circuit, it can be considered, in a broad sense, to be a form of an electrical
amplifier. Current flowing through the coil of the relay creates a magnetic field which attracts
and changes the switch contacts. The coil current can be on or off so relays have two switch
positions and they are double throw (changeover) switches. Usually this is a spring, but
gravity is also used commonly in industrial motor starters. Most relays are manufactured to
operate quickly. In a low voltage application, it is used to reduce noise. In a high voltage or
high current application, it is used to reduce arcing.
CHAPTER THREE
SYSTEM STUDY
3.1 DISTRIBUTION SYSTEM OF THE FACTORY
Line two(L2) and Line three (L3) are tow three phase supplied by sub-district of Hawassa
EEPCO to the factory, when it arrives the textile factory at substation of the factory both lines
are rearranged parallel on one bas bare with sequence of R-S-T. All supply lines are 15kv.
After it shunts on main bas bare, it would take to primary side of four step-down
transformers. The transformers are rated as, 2500Kva, delta- star connected, and three phases
and have approximately 400v secondary.
Transformer one (T1), was supplied to all FINISHING department loads as well as taped to
important power consumption of emergency generator, and all lighting system of finishing
with their own sub distribution board.
Transformer two (T2), was supplied to all UTILITY loads such as boiler, chiller, milling (air
condition) for each rooms, water pump, water heater………etc.
Transformer three (T3), was supplied to all WIVING department with sub distribution board,
for above hundred smooth shuttles machines.
Transformer four (T4), was supplied to different machines of SPINNING department with
each have their own sub distribution board, such as ,Blowing section ( blain feeder, waste
feeder, combined feeder and polestar feeder) and Silber as well as yarn section ( carding,
drawing farm, roving farm, ring farm, open end ,warping and sizing machines).
power factor above specified amount (usually 0.9 or higher) or be subject to additional
charges; electricity supplier measure reactive power used by high demand consumers and
charges higher rats accordingly.
Table 3.2, Power consumption of the factory for March, 2013
Initial reading Final reading Consumption
Reactive Active Reactive Active Reactive Active
Lin
e (Kvar.h) (KWh) (Kvar.h) (KWh) (Kvarh) (KWh)
223 252
From this table we get billing of the factory and sending ending of reactive and active power
supplied to it.
Power consumption=252kwh x 3000 x 0.4086birr/kwh=30,890.6birr
Penalty billing =223 x 3000x 0.408birr=27,355birrr
The real and reactive power would be:
For L2; Q=36498kvarh/720h=50.692kvar
P=49409kwh/720h=68.624kw
For L3; Q=28370kvarh/720h=39.403kvar
P=45632kwh/720h=63.40kw is supplied power.
The factory must install power factor correction schemes at their factories to cut down on
these higher costs. In addition to the increased operating costs, reactive power can require the
use of wiring, switches, circuit breakers, transformers and transmission lines with higher
current capacities. Power world simulator is very important to analysis reactive and active
power flow of the power system. As we show in below power flow diagram, L2 and L3 are
lines which are supplied by sub-district of Hawassa EEPCO, so we would take as generators
on simulation which connected to bus one. In practical bus one is the common bus to all
transformers of primary supply; three phases are shunted on bus one then takes to each
transformer with their arrangements of R-S-T.
The power consumption in each department with maximum and minimum reactive and active
power of the loads is shown in the following table above. It also shows the appropriate shunt
capacitors values.
CHAPTER FOUR
SIMULATION AND DESIGN
Figure 4.1, illustrates the major power system components of the factory
The method of connecting a capacitor in parallel with an inductive load is known as power
factor correction. The effect of the capacitor is to increase the power factor of the source that
delivers power load. Also, the source apparent power Ss decreases.
The source current Is = Ss/V also decreases. When line impedance between the source and
load is included, the decrease in source current results in lower line losses and lower line –
voltage drops. The result of power factor correction is improved efficiency and improved
voltage regulation.
1) Voltage Regulator
When the 12V through voltage regulator, the supply
will be fixing to 5V and divide it to switch ON the PIC
16F877a and relays. The type of the voltage regulator
is LM 7805(see Figure 4.3. Voltage regulator
2) Current Transformer
There are several types of current detector such as current
transducer and current transformer which are use for detected
current by sensing the AC current. Below is an example figure 4.4, for current detector.
3) Potential Transformer
The standards define a voltage transformer as one in which "the secondary voltage is
substantially proportional to the primary voltage and differs in phase from it by an angle
which is approximately zero for an appropriate direction of the connections.
This, in essence, means that the voltage transformer has to be as close as possible to the
"ideal" transformer. In an "ideal" transformer, the secondary voltage vector is exactly
opposite and equal to the primary voltage vector, when multiplied by the turn’s ratio.
In a "practical" transformer, errors are introduced because some current is drawn for the
magnetization of the core and because of drops in the primary and secondary windings due to
leakage reactance and winding resistance. One can thus talk of a voltage error, which is the
amount by which the voltage is less than the applied primary voltage, and the phase error,
which is the phase angle by which the reversed secondary voltage vector is displaced from
the primary voltage.
Logic Diagram
Description
The ULN2003 is a monolithic high voltage and high current Darlington transistor arrays. It
consists of seven NPN Darlington pairs that feature high-voltage outputs with common-
cathode clamp diode for switching inductive loads. The collector-current rating of a single
Darlington pair is 500mA. The Darlington pairs may be paralleled for higher current
capability. The ULN2003 has a series base resistor for each darlington pair for
operation2.7k directly with TTL or 5V CMOS devices.
Features:
* 500mA rated collector current (Single output)
* High-voltage outputs: 50V
* Inputs compatible with various types of logic.
* Relay driver application.
5) Capacitor
This capacitor we use to correct level power factor. This part is very import in the circuit. With
capacitor, we cannot the power factor. A capacitor is an electrical/electronic device that can store
energy in the electric field between a pair of conductors (called "plates"). The process of storing
energy in the capacitor is known as "charging",
and involves electric charges of equal
magnitude, but opposite polarity, building up on
each plate.
voltage and current signals acquired by the microcontroller points out that V and I signals are
not in phase and power factor of load is less then set referenced value of 0.95 lagging then
Microcontroller instructs for switching action to involve the required value of capacitor to
counterbalance the power factor of running load through developed microcontroller algorithm
to set reference value. Microcontroller does not execute any action if both the voltage and
current square-waves provided to capture module of the microcontroller’s pin are in phase or
the measured power factor is 0.95 set as referenced value.LCD displayed the measured values
of low power factor, corrected power factor, required value of capacitor to correct the power
factor.
Figure 4.9, Shows the flow chart of the proposed automatic power factor controlling and load
monitoring.
The followings are conditions needed for simulation on proteus software [8].
Vrms and Irms are read by the Microcontroller using ADC ports.
After the zero crossing of voltage and current signals, which are converted to square-
waves, are provided to Microcontroller.
Power Factor is measured by the Microcontroller from manipulating of capture
module for V and I signals.
Real Power is measure as: P=IrmsVrms Cosф
For angle detection by taking the cos inverse of phi (φ) and getting the angle theta
(θ).
Set the Phi (φ2) as a reference value equal to 0.95.and taking the cos inverse of 0.95 getting
reference theta (θ1).
From the power angle diagram, the reactive power (VAR) utilized in circuit is given
as: VAR1 =P×tan θ1
For reference VAR, VAR 2 =P×tan θ 1
Required reactive power of the load is: VAR =VAR1 – VAR2
VAR
Current required for new VAR by load is: 𝑰required = Vrms
Vrms
Required value of impedance Xc is: 𝑋𝑐 =
Irequired
4.4.8 Ventilation
Except for series of systems, all capacitor banks are equipped with a ventilation system
specially selected for their duration longevity. The capacitor bank ventilation system consists
of fans with temperature-dependent probes which provide the fans with the necessary thermal
data. In case of temporary overheating, the capacitor bank is automatically deactivated. The
following flow chart is for temperature sensor in capacitor bank during operation period.
Start
Initializing system
To above NO
30 deg.c Fun OFF
YES
Fun ON
End
Figure 4.10, Temperature controller flow chart.
When an inductive load of 1.119kw is ON, there is large phase delay in between current and
voltage signals. Microcontroller senses the delay produced by the load, and according to the
delay, it inserts the desired value of capacitor by the development of Microcontroller
algorithm to improve the power factor of the system to desired value.
Case 5: When both resistive and inductive load are ON.
When both resistive (400W) and inductive load 1.119kw is ON, there is large phase delay in
between current and voltage signals. Microcontroller senses the delay produced by the load,
and according to the delay, it inserts the desired value of capacitor by the development of
Microcontroller algorithm to improve the power factor of the system to desired value.
CHAPTER FIVE
CONCLUSTION AND RECOMMENDATION
5.1 CONCLUSION
A PIC microcontroller based relay power factor controller is capable of adding capacitor
banks across the load automatically when the power factor is lagging. It is capable of
removing capacitor banks from the load when there is leading power factor. This work also
facilitates to monitor the power factor changes on LCD in real time basis. This is suitable for
applications where manual switching of capacitors is to be replaced by automatic switching.
5.2 RECOMMENDATION
We would like to recommend Hawassa textile factory to improve its power factor correction
using latest means of technology. We would also like to recommend EEPCo just to provide
latest means of power factor improvement rather than taking penalty of reactive power as the
can sell the power to other customer. In addition, we like to recommend researchers that it is
better to do projects on the latest means of power factor improvement. This is due to sense
induction load at fast and takes the required measure efficiently than the normal operation.
Also our department has to buy latest soft ware’s for more efficient work of the student.
Since the available simulation soft ware has limitation and they are student version.
REFERENCE
[1], Digitallibrary.srmuniv.ac.in/ dspacel bitstreaml/ Programming of PIC microcontroller for
power factor correction.
[3], Ethesis.nitricll.ac.in/4159/1/automatic-powre-factor.pdf.
[9], Power system analysis and design-glover (Fourth edition), J.Duncan Glover.Mulukutla.S
&Thomas J. Overbye.
[12], WWW. codeforge. Com /.... / Microcontroller based power factor correction.
APPENDIX:
1. MICRO C-PROGRAMMING
//LCD Module Connections
sbit LCD_RS at RB2_bit;
sbit LCD_EN at RB3_bit;
sbit LCD_D7 at RB7_bit;
sbit LCD_D6 at RB6_bit;
sbit LCD_D5 at RB5_bit;
sbit LCD_D4 at RB4_bit;
// Pin direction
sbit LCD_RS_Direction at TRISB2_bit;
sbit LCD_EN_Direction at TRISB3_bit;
sbit LCD_D7_Direction at TRISB7_bit;
sbit LCD_D6_Direction at TRISB6_bit;
sbit LCD_D5_Direction at TRISB5_bit;
sbit LCD_D4_Direction at TRISB4_bit;
int powerfactor();
TMR1L=0;
TMR1H=0;
int powerFactor()
{
int a=0,b=0,t=0,x=0;
float tm,pf;
void cos();
do
{
if(PORTD.F0 == 1)
{
T1CON.F0 = 1;
}
else if(PORTD.F0 == 0 )
{
T1CON.F0 = 0;
delay_ms(1000);
}
}
while(1);
a = (TMR1L / (TMR1H<<8)) * 2;
TMR1L=0;
TMR1H=0;
do
{
if(PORTD.F0 == 1)
{
T1CON.F0=1;
}
if(PORTD.F1==1)
{
T1CON.F0=0;
33 For Hawassa textile factory
Microcontroller based PF improvement 2013
break;
}
}
while(1);
b = TMR1L | (TMR1H<<8);
tm = (float)b/a;
pf = cos(tm*2*3.14);
x=abs(ceil(pf*100));
return x;
}
void main()
{
char c[]="0.00";
int a,b,c,d,x;
float tm,pf;
Lcd_Init();
Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
ADCON1 = 0x08; // To configure PORTA pins as digital
TRISA.F0 = 1; // Makes First pin of PORTA as input
TRISA.F1 = 1; //Makes Second pin of PORTA as input
TRISD.F0 = 0; //Makes Fist pin of PORTD as output
TRISD.F1 = 0; //Makes Second pin of PORTD as output
while(1)
{
a = powerFactor();
Delay_us(50);
b = powerFactor();
Delay_us(50);
c = powerFactor();
Delay_us(50);
d = powerFactor();
Delay_us(50);
e = powerFactor();
x = (a+b+c+d+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.F0 = 1;
Delay_ms(2000);
}
else
34 For Hawassa textile factory
Microcontroller based PF improvement 2013
{
PORTD.F0 = 0;
PORTD.F0 = 0;
}
Delay_ms(250);
}}