Automatic Power Factor Correction Using Capacitive Bank
Automatic Power Factor Correction Using Capacitive Bank
Automatic Power Factor Correction Using Capacitive Bank
CHAPTER 1
1. INTRODUCTION
DEPT-EEE,SBIT,KMM. Page - 1 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Real and reactive powers can also be calculated directly from the
apparent power, when the current and voltage are both sinusoids with a
known phase angle between them:
DEPT-EEE,SBIT,KMM. Page - 2 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
alternate up and down 50 times per second (not necessarily at the same
time). In that sense, these are pulsating quantities. Because of this, the
power being transmitted down a single line also “pulsates” - although it
goes up and down 100 times per second rather than 50. This power goes
up and down around some “average” value - this average value is called
the “real” power and over time you pay for this in kilowatt-hours of
energy. If this average value is zero, then all of the power being
transmitted is called “reactive” power. You would not normally be charged
for using reactive power because you are consuming some energy half the
time, and giving it all back the other half of the time - for a net use of
zero. To distinguish reactive power from real power, we use the reactive
power unit called “VAR” - which stands for Volt-Ampere-Reactive. Voltage
in an electrical system is analogous to pressure in a water system.
Current in an electrical system is analogous to the flow of water in a water
system.
1.3. A physical analogy for reactive power
While there are numerous physical analogies for this quantity called
reactive power, one that is reasonably accurate is the process of filling a
water tower tank with water - one bucket at a time. Suppose you want to
fill a water tower tank with water, and the only way that you can do that
is by climbing up a ladder carrying a bucket of water and then dumping
the water into the tank. You then have to go back down the ladder to get
more water. Strictly speaking, if you simply go up a ladder (not carrying
anything) and come back down (not carrying anything), you have not done
any work in the process. But, since it did take work to go up the ladder,
you must have gotten all that energy back when you came down. While
you may not feel that coming down the ladder completely restores you to
the condition you were in before you went up, ideally, from an energy
conversion viewpoint, you should! If you don’t agree, get out your physics
book and check out the official definition of doing work.
OK, if you still don’t agree that walking up a ladder and coming
back down does not require any net work, then think of it this way. Would
you pay anyone to walk up a ladder and back down without doing
DEPT-EEE,SBIT,KMM. Page - 3 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
anything at the top? Probably not. But, if they dumped a bucket of water
in the tank while they were at the top, then that would be something
worth paying for.
When you carry a bucket of water up the ladder you do a certain amount
of work. If you dump the water at the top and carry an empty bucket
down, then you have not gotten all your energy back (because your total
weight coming down is less than going up), and you have done work
during that process. The energy that it takes to go up and down a ladder
carrying nothing either way requires reactive power, but no real power.
The energy that it takes to go up a ladder carrying something and come
down without carrying anything requires both real power and reactive
power.
To make the system more reliable, we might put two sets of three
ladders leading up to the tank on the tower. Then, if one set fails (maybe
the water plus the person get too heavy and the ladder breaks), the other
set picks up the slack (that is, has to carry more water). But, this could
eventually overload the second set so that it too fails. This is a cascading
outage due to the overloading of ladders.
1.4 How is reactive power related to the problem of
voltage collapse?
In terms of this water-carrying analogy, the frequency of going up
and down the ladder should be nearly constant (that, is like our 50 cycles
per second electrical frequency). So, when more water is needed, the
amount that each person carries up the ladder must get bigger (since they
are not allowed to go faster or slower). Well, if this water gets too heavy,
either the ladder might break, or the person might get too tired to carry it.
We could argue that if the ladder breaks, that is like the outage of a
transmission line that either sags or breaks under the stress of too much
current. There are devices called relays in an electrical system that are
supposed to sense when the load is too much and send a signal to a
“circuit breaker” to remove the line from service (like removing the set of
three ladders). If the person gets too tired, we could again stretch this
analogy to say that this is like not having enough reactive power (resulting
DEPT-EEE,SBIT,KMM. Page - 4 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
in low voltage). In the extreme case, the person might “collapse” under the
weight of the water that the person is being asked to carry. If it happens
to one person, it will probably happen to many of them. In the electrical
system this could be considered a “voltage collapse”. While there are
“under voltage relays,” there are no relays in the system to directly
sense the problem that the voltage is about to collapse.
In summary, a voltage collapse occurs when the system is
trying to serve more load than the voltage can support. A simulation
has been prepared to illustrate voltage collapse by simply using a system
with an Eastern generator and customer load, a Western generator and
customer load, and East to West transmission lines. In the simulation,
the Eastern generator has a constrained supply of reactive power and
progressive line outages for unspecified reasons lead to a voltage collapse
even when reactive power supply is ample at the Western generator.
In contrast to all of this, you could route a hose up the side of the
water tower and simply turn on the water and let the water flow in the
hose to fill up the tank. The water pressure is like voltage, and the water
flow is like current. This type of system would be a direct current (DC)
system and would not involve reactive power at all. However, the concept
of voltage collapse is not unique to AC systems. A simple DC system
consisting of a battery serving light bulbs can be used to illustrate how
too much load on a system can lead to a condition where voltages drop to
a critical point where “adding more load” results in less power
transmission - a form of voltage collapse.
DEPT-EEE,SBIT,KMM. Page - 5 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CHAPTER-2
2. WHAT IS POWER FACTOR ?
DEPT-EEE,SBIT,KMM. Page - 6 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
φ is the phase angle between the current and voltage, then the power
factor is equal to cosine(φ), and: Since the units are consistent, the
power factor is by definition a dimensionless number between 0 and 1.
DEPT-EEE,SBIT,KMM. Page - 7 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
So, now that we understand some basic terms, we are ready to learn
about power factor:
Thus, for a given KVA: The more foam you have (the higher the
percentage of KVAR), the lower your ratio of KW (beer) to KVA (beer plus
foam). Thus, the lower your power factor.
The less foam you have (the lower the percentage of KVAR), the
higher your ratio of KW (beer) to KVA (beer plus foam). In fact, as your
foam (or KVAR) approaches zero, your power factor approaches 1.0.Our
beer mug analogy is a bit simplistic. In reality, when we calculate KVA, we
must determine the vectorial summation of KVAR and KW. Therefore, we
must go one step further and look at the angle between these vector
Let’s look at another analogy
Mac here is dragging a heavy load (Figure 2). Mac s Working Power
(or Actual Power) in the forward direction, where he most wants his load
to travel, is KW. Unfortunately, Mac can t drag his load on a perfect
DEPT-EEE,SBIT,KMM. Page - 8 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 9 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Effect on Generators: With the low power factor the kVA as well
as kW capacities are lowered. The power supplied by the exciter is
increased, as well as the generator copper losses are increased, so
their efficiency decreased.
DEPT-EEE,SBIT,KMM. Page - 10 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 11 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
There are some other methods other than the above mentioned one, they
are as follows
We already talked about the fact that low power factor is caused by
the presence of induction motors. But, more specifically, low power
factor is caused by running induction motors lightly loaded.
DEPT-EEE,SBIT,KMM. Page - 12 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 13 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CHAPTER-3
3. NEED FOR AUTOMATIC POWER FACTOR
CORRECTION
DEPT-EEE,SBIT,KMM. Page - 14 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 15 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CHAPTER-4
4.EMBEDDED SYSTEMS
DEPT-EEE,SBIT,KMM. Page - 16 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
4.1 CLASSIFICATION:
Real Time Systems.
RTS is one which has to respond to events within a specified
deadline.
A right answer after the dead line is a wrong answer
RTS classification
Hard Real Time Systems
Soft Real Time System
DEPT-EEE,SBIT,KMM. Page - 17 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
4.2.BLOCK DIAGRAM:
Microcontroller
Transformer
Light Emitting Diode
Voltage Regulator Unit
LCD Display
Relay
Crystal Oscillator
Inductive load Choke Coil
Bulb
DEPT-EEE,SBIT,KMM. Page - 18 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 19 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
History
DEPT-EEE,SBIT,KMM. Page - 20 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 21 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CPU Architecture:
The CPU uses Harvard architecture with separate Program and
Variable (data) memory interface. This facilitates instruction fetch and
the operation on data/accessing of variables simultaneously.
Architecture of PIC microcontroller
Microcontroller PIC16F73
DEPT-EEE,SBIT,KMM. Page - 23 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
• In-
2 analog comparators
CMOS Technology:
• Low power, high speed CMOS FLASH technology
• Fully static design
• Wide operating voltage range: 2.0V to 5.5V
• High Sink/Source Current: 25 mA
• Industrial temperature range
• Low power consumption:
DEPT-EEE,SBIT,KMM. Page - 24 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CISC, RISC
It has already been said that PIC16F73 has RISC architecture. This term
is often found in computer literature, and it needs to be explained here in
more detail. Harvard architecture is a newer concept than von-Neumann.
It rose out of the need to speed up the work of a microcontroller. In
Harvard architecture, data bus and address bus are separate. Thus a
greater flow of data is possible through the central processing unit, and of
course, a greater speed of work. Separating a program from data memory
makes it further possible for instructions not to have to be 8-bit words.
PIC16F73 uses 14 bits for instructions which allows for all instructions to
be one word instructions. It is also typical for Harvard architecture to
DEPT-EEE,SBIT,KMM. Page - 25 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Crystal oscillator:
DEPT-EEE,SBIT,KMM. Page - 26 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Clock from the oscillator enters a microcontroller via OSC1 pin where
internal circuit of a microcontroller divides the clock into four even clocks
Q1, Q2, Q3, and Q4 which do not overlap. These four clocks make up one
instruction cycle (also called machine cycle) during which one instruction
is executed.
Pipelining
Instruction cycle consists of cycles Q1, Q2, Q3 and Q4. Cycles of calling
and executing instructions are connected in such a way that in order to
make a call, one instruction cycle is needed, and one more is needed for
decoding and execution. However, due to pipelining, each instruction is
effectively executed in one cycle. If instruction causes a change on
program counter, and PC doesn't point to the following but to some other
address (which can be the case with jumps or with calling subprograms),
DEPT-EEE,SBIT,KMM. Page - 27 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Pin description
DEPT-EEE,SBIT,KMM. Page - 28 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Ports
All port pins can be designated as input or output, according to the needs
of a device that's being developed. In order to define a pin as input or
output pin, the right combination of zeros and ones must be written in
TRIS register. If the appropriate bit of TRIS register contains logical "1",
then that pin is an input pin, and if the opposite is true, it's an output
pin. Every port has its proper TRIS register. Thus, port A has TRISA, and
port B has TRISB. Pin direction can be changed during the course of work
which is particularly fitting for one-line communication where data flow
constantly changes direction. PORTA and PORTB state registers are
located in bank 0, while TRISA and TRISB pin direction registers are
located in bank 1.
PORTB has adjoined 8 pins. The appropriate register for data direction is
TRISB. Setting a bit in TRISB register defines the corresponding port pin
as input, and resetting a bit in TRISB register defines the corresponding
port pin as output.
DEPT-EEE,SBIT,KMM. Page - 29 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Each PORTB pin has a weak internal pull-up resistor (resistor which
defines a line to logic one) which can be activated by resetting the seventh
bit RBPU in OPTION register. These 'pull-up' resistors are automatically
being turned off when port pin is configured as an output. When a
microcontroller is started, pull-ups are disabled.
Four pins PORTB, RB7:RB4 can cause an interrupt which occurs when
their status changes from logical one into logical zero and opposite. Only
pins configured as input can cause this interrupt to occur (if any
RB7:RB4 pin is configured as an output, an interrupt won't be generated
at the change of status.) This interrupt option along with internal pull-up
resistors makes it easier to solve common problems we find in practice
like for instance that of matrix keyboard. If rows on the keyboard are
connected to these pins, each push on a key will then cause an interrupt.
A microcontroller will determine which key is at hand while processing an
interrupt It is not recommended to refer to port B at the same time that
interrupt is being processed
DEPT-EEE,SBIT,KMM. Page - 30 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
PORTA has 5 adjoining pins. The corresponding register for data direction
is TRISA at address 85h. Like with port B, setting a bit in TRISA register
defines also the corresponding port pin as input, and clearing a bit in
TRISA register defines the corresponding port pin as output.
It is important to note that PORTA pin RA4 can be input only. On that pin
is also situated an external input for timer TMR0. Whether RA4 will be a
standard input or an input for a counter depends on T0CS bit (TMR0
Clock Source Select bit). This pin enables the timer TMR0 to increment
either from internal oscillator or via external impulses on RA4/T0CKI pin.
Memory organization
PIC16F73 has two separate memory blocks, one for data and the other for
program. EEPROM memory with GPR and SFR registers in RAM memory
make up the data block, while FLASH memory makes up the program
block.
DEPT-EEE,SBIT,KMM. Page - 31 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
Program memory
Program memory has been carried out in FLASH technology which makes
it possible to program a microcontroller many times before it's installed
into a device, and even after its installment if eventual changes in
program or process parameters should occur. The size of program
memory is 1024 locations with 14 bits width where locations zero and
four are reserved for reset and interrupt vector.
Rectifiers:
DEPT-EEE,SBIT,KMM. Page - 32 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
D2 and D4 will be in series with the load resistance RL and hence the
current flows through RL in the same direction as in the previous half
cycle. Thus a bi-directional wave is converted into a unidirectional wave.
Input Output
DB107:
DEPT-EEE,SBIT,KMM. Page - 33 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CHAPTER-5
5. FLOW CHART
Start
YES Switch on 4
If P.f < 0.71
Capacitors
NO
NO
NO
NO
Is there
YES any change NO
in Load
current
DEPT-EEE,SBIT,KMM. Page - 34 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CHAPTER-6
6.CIRCUIT DIAGRAM
DEPT-EEE,SBIT,KMM. Page - 35 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
DEPT-EEE,SBIT,KMM. Page - 36 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
CONCLUSION
DEPT-EEE,SBIT,KMM. Page - 37 -
AUTOMATIC POWER FACTOR CORRECTION USING CAPACITIVE BANK
REFERENCES
1. An Introduction to Embedded Systems Florian Lechner, Daniel
Walter [email protected], [email protected] November 8,
2006 .
2. www.britanica.com
3. www.howstuffworks.com
4. What is Reactive Power? Peter W. Sauer Department of Electrical
and Computer Engineering University of Illinois at Urbana-
Champaign September 16, 2003
5. Electric Power Systems by S.L.Uppal.
6. Utilization of Electric Power and Electric Traction by J.B.Gupta.
DEPT-EEE,SBIT,KMM. Page - 38 -